mirror of
https://github.com/n8n-io/n8n-nodes-starter.git
synced 2025-12-04 12:28:07 -06:00
new folder structure
This commit is contained in:
parent
1b79d21dbd
commit
5831230d13
14 changed files with 262 additions and 96 deletions
16
nodes/S4DSMain/actions/authentication/generateToken.json
Normal file
16
nodes/S4DSMain/actions/authentication/generateToken.json
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
"name": "generateToken",
|
||||
"method": "POST",
|
||||
"endpoint": "/login/generateToken",
|
||||
"description": "Generate authentication token using credentials.",
|
||||
"parameters": [],
|
||||
"requiresAuth": false,
|
||||
"response": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"token": "string",
|
||||
"token_type": "string",
|
||||
"expires_in": "number"
|
||||
}
|
||||
}
|
||||
}
|
||||
18
nodes/S4DSMain/actions/customers/createCustomer.json
Normal file
18
nodes/S4DSMain/actions/customers/createCustomer.json
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
"name": "createCustomer",
|
||||
"method": "POST",
|
||||
"endpoint": "/customer",
|
||||
"description": "Create a new customer.",
|
||||
"parameters": [],
|
||||
"requiresAuth": true,
|
||||
"requestBody": {
|
||||
"schema": "SetNewCustomerDTO",
|
||||
"required": true
|
||||
},
|
||||
"response": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"customer": "object"
|
||||
}
|
||||
}
|
||||
}
|
||||
29
nodes/S4DSMain/actions/customers/getCustomerByDocument.json
Normal file
29
nodes/S4DSMain/actions/customers/getCustomerByDocument.json
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{
|
||||
"name": "getCustomerByDocument",
|
||||
"method": "GET",
|
||||
"endpoint": "/customer/specificCustomer",
|
||||
"description": "Get customer information by document ID and type.",
|
||||
"parameters": [
|
||||
{
|
||||
"name": "documentId",
|
||||
"type": "string",
|
||||
"required": false,
|
||||
"description": "Document ID of the customer.",
|
||||
"in": "query"
|
||||
},
|
||||
{
|
||||
"name": "documentType",
|
||||
"type": "string",
|
||||
"required": false,
|
||||
"description": "Type of document (e.g., CC, CE, NIT).",
|
||||
"in": "query"
|
||||
}
|
||||
],
|
||||
"requiresAuth": true,
|
||||
"response": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"customer": "object"
|
||||
}
|
||||
}
|
||||
}
|
||||
18
nodes/S4DSMain/actions/customers/updateCustomer.json
Normal file
18
nodes/S4DSMain/actions/customers/updateCustomer.json
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
{
|
||||
"name": "updateCustomer",
|
||||
"method": "PATCH",
|
||||
"endpoint": "/customer",
|
||||
"description": "Update an existing customer.",
|
||||
"parameters": [],
|
||||
"requiresAuth": true,
|
||||
"requestBody": {
|
||||
"schema": "SetNewCustomerDTO",
|
||||
"required": true
|
||||
},
|
||||
"response": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"result": "object"
|
||||
}
|
||||
}
|
||||
}
|
||||
14
nodes/S4DSMain/actions/products/getProductCount.json
Normal file
14
nodes/S4DSMain/actions/products/getProductCount.json
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
"name": "getProductCount",
|
||||
"method": "GET",
|
||||
"endpoint": "/product/count",
|
||||
"description": "Get the total count of products.",
|
||||
"parameters": [],
|
||||
"requiresAuth": true,
|
||||
"response": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"count": "number"
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue