feat: initial n8n community node for billbee

This commit is contained in:
github-actions[bot]
2026-06-13 08:46:46 +00:00
commit f2bb08f85c
32 changed files with 32233 additions and 0 deletions
@@ -0,0 +1,51 @@
import type { INodeProperties } from 'n8n-workflow';
export const cloudStorageDescription: INodeProperties[] = [
{
"displayName": "Operation",
"name": "operation",
"type": "options",
"noDataExpression": true,
"displayOptions": {
"show": {
"resource": [
"Cloud Storage"
]
}
},
"options": [
{
"name": "Cloud Storage API Get List",
"value": "Cloud Storage API Get List",
"action": "Gets a list of all connected cloud storage devices",
"description": "Gets a list of all connected cloud storage devices",
"routing": {
"request": {
"method": "GET",
"url": "=/api/v1/cloudstorages"
}
}
}
],
"default": ""
},
{
"displayName": "GET /api/v1/cloudstorages",
"name": "operation",
"type": "notice",
"typeOptions": {
"theme": "info"
},
"default": "",
"displayOptions": {
"show": {
"resource": [
"Cloud Storage"
],
"operation": [
"Cloud Storage API Get List"
]
}
}
},
];
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,119 @@
import type { INodeProperties } from 'n8n-workflow';
export const deliveryNoteDescription: INodeProperties[] = [
{
"displayName": "Operation",
"name": "operation",
"type": "options",
"noDataExpression": true,
"displayOptions": {
"show": {
"resource": [
"Delivery Note"
]
}
},
"options": [
{
"name": "Order API Create Delivery Note",
"value": "Order API Create Delivery Note",
"action": "Create an delivery note for an existing order. This request is extra throttled by order and api key to a maximum of 1 per 5 minutes.",
"description": "Create an delivery note for an existing order. This request is extra throttled by order and api key to a maximum of 1 per 5 minutes.",
"routing": {
"request": {
"method": "POST",
"url": "=/api/v1/orders/CreateDeliveryNote/{{$parameter[\"id\"]}}"
}
}
}
],
"default": ""
},
{
"displayName": "POST /api/v1/orders/CreateDeliveryNote/{id}",
"name": "operation",
"type": "notice",
"typeOptions": {
"theme": "info"
},
"default": "",
"displayOptions": {
"show": {
"resource": [
"Delivery Note"
],
"operation": [
"Order API Create Delivery Note"
]
}
}
},
{
"displayName": "ID",
"name": "id",
"required": true,
"description": "The internal billbee id of the order",
"default": 0,
"type": "number",
"displayOptions": {
"show": {
"resource": [
"Delivery Note"
],
"operation": [
"Order API Create Delivery Note"
]
}
}
},
{
"displayName": "Include PDF",
"name": "includePdf",
"description": "If true, the PDF is included in the response as base64 encoded string",
"default": true,
"type": "boolean",
"routing": {
"send": {
"type": "query",
"property": "includePdf",
"value": "={{ $value }}",
"propertyInDotNotation": false
}
},
"displayOptions": {
"show": {
"resource": [
"Delivery Note"
],
"operation": [
"Order API Create Delivery Note"
]
}
}
},
{
"displayName": "Send To Cloud ID",
"name": "sendToCloudId",
"description": "Optionally specify the id of a billbee connected cloud device to send the pdf to",
"default": 0,
"type": "number",
"routing": {
"send": {
"type": "query",
"property": "sendToCloudId",
"value": "={{ $value }}",
"propertyInDotNotation": false
}
},
"displayOptions": {
"show": {
"resource": [
"Delivery Note"
],
"operation": [
"Order API Create Delivery Note"
]
}
}
},
];
+144
View File
@@ -0,0 +1,144 @@
import type { INodeProperties } from 'n8n-workflow';
export const enumApiDescription: INodeProperties[] = [
{
"displayName": "Operation",
"name": "operation",
"type": "options",
"noDataExpression": true,
"displayOptions": {
"show": {
"resource": [
"Enum API"
]
}
},
"options": [
{
"name": "Enum API Get Order States",
"value": "Enum API Get Order States",
"action": "Returns a list with all defined orderstates",
"description": "Returns a list with all defined orderstates",
"routing": {
"request": {
"method": "GET",
"url": "=/api/v1/enums/orderstates"
}
}
},
{
"name": "Enum API Get Payment Types",
"value": "Enum API Get Payment Types",
"action": "Returns a list with all defined paymenttypes",
"description": "Returns a list with all defined paymenttypes",
"routing": {
"request": {
"method": "GET",
"url": "=/api/v1/enums/paymenttypes"
}
}
},
{
"name": "Enum API Get Shipment Types",
"value": "Enum API Get Shipment Types",
"action": "Returns a list with all defined shipmenttypes",
"description": "Returns a list with all defined shipmenttypes",
"routing": {
"request": {
"method": "GET",
"url": "=/api/v1/enums/shipmenttypes"
}
}
},
{
"name": "Enum API Get Shipping Carriers",
"value": "Enum API Get Shipping Carriers",
"action": "Returns a list with all defined shippingcarriers",
"description": "Returns a list with all defined shippingcarriers",
"routing": {
"request": {
"method": "GET",
"url": "=/api/v1/enums/shippingcarriers"
}
}
}
],
"default": ""
},
{
"displayName": "GET /api/v1/enums/orderstates",
"name": "operation",
"type": "notice",
"typeOptions": {
"theme": "info"
},
"default": "",
"displayOptions": {
"show": {
"resource": [
"Enum API"
],
"operation": [
"Enum API Get Order States"
]
}
}
},
{
"displayName": "GET /api/v1/enums/paymenttypes",
"name": "operation",
"type": "notice",
"typeOptions": {
"theme": "info"
},
"default": "",
"displayOptions": {
"show": {
"resource": [
"Enum API"
],
"operation": [
"Enum API Get Payment Types"
]
}
}
},
{
"displayName": "GET /api/v1/enums/shipmenttypes",
"name": "operation",
"type": "notice",
"typeOptions": {
"theme": "info"
},
"default": "",
"displayOptions": {
"show": {
"resource": [
"Enum API"
],
"operation": [
"Enum API Get Shipment Types"
]
}
}
},
{
"displayName": "GET /api/v1/enums/shippingcarriers",
"name": "operation",
"type": "notice",
"typeOptions": {
"theme": "info"
},
"default": "",
"displayOptions": {
"show": {
"resource": [
"Enum API"
],
"operation": [
"Enum API Get Shipping Carriers"
]
}
}
},
];
+201
View File
@@ -0,0 +1,201 @@
import type { INodeProperties } from 'n8n-workflow';
export const eventsDescription: INodeProperties[] = [
{
"displayName": "Operation",
"name": "operation",
"type": "options",
"noDataExpression": true,
"displayOptions": {
"show": {
"resource": [
"Events"
]
}
},
"options": [
{
"name": "Event API Get List",
"value": "Event API Get List",
"action": "Get a list of all events optionally filtered by date. This request is extra throttled to 2 calls per page per hour.",
"description": "Get a list of all events optionally filtered by date. This request is extra throttled to 2 calls per page per hour.",
"routing": {
"request": {
"method": "GET",
"url": "=/api/v1/events"
}
}
}
],
"default": ""
},
{
"displayName": "GET /api/v1/events",
"name": "operation",
"type": "notice",
"typeOptions": {
"theme": "info"
},
"default": "",
"displayOptions": {
"show": {
"resource": [
"Events"
],
"operation": [
"Event API Get List"
]
}
}
},
{
"displayName": "Min Date",
"name": "minDate",
"description": "Specifies the oldest date to include in the response",
"default": "",
"type": "string",
"routing": {
"send": {
"type": "query",
"property": "minDate",
"value": "={{ $value }}",
"propertyInDotNotation": false
}
},
"displayOptions": {
"show": {
"resource": [
"Events"
],
"operation": [
"Event API Get List"
]
}
}
},
{
"displayName": "Max Date",
"name": "maxDate",
"description": "Specifies the newest date to include in the response",
"default": "",
"type": "string",
"routing": {
"send": {
"type": "query",
"property": "maxDate",
"value": "={{ $value }}",
"propertyInDotNotation": false
}
},
"displayOptions": {
"show": {
"resource": [
"Events"
],
"operation": [
"Event API Get List"
]
}
}
},
{
"displayName": "Page",
"name": "page",
"description": "Specifies the page to request",
"default": 0,
"type": "number",
"routing": {
"send": {
"type": "query",
"property": "page",
"value": "={{ $value }}",
"propertyInDotNotation": false
}
},
"displayOptions": {
"show": {
"resource": [
"Events"
],
"operation": [
"Event API Get List"
]
}
}
},
{
"displayName": "Page Size",
"name": "pageSize",
"description": "Specifies the pagesize. Defaults to 50, max value is 250",
"default": 0,
"type": "number",
"routing": {
"send": {
"type": "query",
"property": "pageSize",
"value": "={{ $value }}",
"propertyInDotNotation": false
}
},
"displayOptions": {
"show": {
"resource": [
"Events"
],
"operation": [
"Event API Get List"
]
}
}
},
{
"displayName": "Type ID",
"name": "typeId",
"description": "Filter for specific event types",
"default": "[\n null\n]",
"type": "json",
"routing": {
"send": {
"type": "query",
"property": "typeId",
"value": "={{ $value }}",
"propertyInDotNotation": false
}
},
"displayOptions": {
"show": {
"resource": [
"Events"
],
"operation": [
"Event API Get List"
]
}
}
},
{
"displayName": "Order ID",
"name": "orderId",
"description": "Filter for specific order id",
"default": 0,
"type": "number",
"routing": {
"send": {
"type": "query",
"property": "orderId",
"value": "={{ $value }}",
"propertyInDotNotation": false
}
},
"displayOptions": {
"show": {
"resource": [
"Events"
],
"operation": [
"Event API Get List"
]
}
}
},
];
+12
View File
@@ -0,0 +1,12 @@
export { provisioningDescription } from './provisioning';
export { cloudStorageDescription } from './cloud-storage';
export { customerAddressesDescription } from './customer-addresses';
export { customersDescription } from './customers';
export { enumApiDescription } from './enum-api';
export { eventsDescription } from './events';
export { ordersDescription } from './orders';
export { deliveryNoteDescription } from './delivery-note';
export { invoiceDescription } from './invoice';
export { productsDescription } from './products';
export { shipmentsDescription } from './shipments';
export { webhooksDescription } from './webhooks';
+446
View File
@@ -0,0 +1,446 @@
import type { INodeProperties } from 'n8n-workflow';
export const invoiceDescription: INodeProperties[] = [
{
"displayName": "Operation",
"name": "operation",
"type": "options",
"noDataExpression": true,
"displayOptions": {
"show": {
"resource": [
"Invoice"
]
}
},
"options": [
{
"name": "Order API Create Invoice",
"value": "Order API Create Invoice",
"action": "Create an invoice for an existing order. This request is extra throttled by order and api key to a maximum of 1 per 5 minutes.",
"description": "Create an invoice for an existing order. This request is extra throttled by order and api key to a maximum of 1 per 5 minutes.",
"routing": {
"request": {
"method": "POST",
"url": "=/api/v1/orders/CreateInvoice/{{$parameter[\"id\"]}}"
}
}
},
{
"name": "Order API Get Invoice List",
"value": "Order API Get Invoice List",
"action": "Get a list of all invoices optionally filtered by date. This request ist throttled to 1 per 1 minute for same page and minInvoiceDate",
"description": "Get a list of all invoices optionally filtered by date. This request ist throttled to 1 per 1 minute for same page and minInvoiceDate",
"routing": {
"request": {
"method": "GET",
"url": "=/api/v1/orders/invoices"
}
}
}
],
"default": ""
},
{
"displayName": "POST /api/v1/orders/CreateInvoice/{id}",
"name": "operation",
"type": "notice",
"typeOptions": {
"theme": "info"
},
"default": "",
"displayOptions": {
"show": {
"resource": [
"Invoice"
],
"operation": [
"Order API Create Invoice"
]
}
}
},
{
"displayName": "ID",
"name": "id",
"required": true,
"description": "The internal billbee id of the order",
"default": 0,
"type": "number",
"displayOptions": {
"show": {
"resource": [
"Invoice"
],
"operation": [
"Order API Create Invoice"
]
}
}
},
{
"displayName": "Include Invoice PDF",
"name": "includeInvoicePdf",
"description": "If true, the PDF is included in the response as base64 encoded string",
"default": true,
"type": "boolean",
"routing": {
"send": {
"type": "query",
"property": "includeInvoicePdf",
"value": "={{ $value }}",
"propertyInDotNotation": false
}
},
"displayOptions": {
"show": {
"resource": [
"Invoice"
],
"operation": [
"Order API Create Invoice"
]
}
}
},
{
"displayName": "Template ID",
"name": "templateId",
"description": "You can pass the id of an invoice template to overwrite the assigned template for invoice creation",
"default": 0,
"type": "number",
"routing": {
"send": {
"type": "query",
"property": "templateId",
"value": "={{ $value }}",
"propertyInDotNotation": false
}
},
"displayOptions": {
"show": {
"resource": [
"Invoice"
],
"operation": [
"Order API Create Invoice"
]
}
}
},
{
"displayName": "Send To Cloud ID",
"name": "sendToCloudId",
"description": "You can pass the id of a connected cloud printer/storage to send the invoice to it",
"default": 0,
"type": "number",
"routing": {
"send": {
"type": "query",
"property": "sendToCloudId",
"value": "={{ $value }}",
"propertyInDotNotation": false
}
},
"displayOptions": {
"show": {
"resource": [
"Invoice"
],
"operation": [
"Order API Create Invoice"
]
}
}
},
{
"displayName": "GET /api/v1/orders/invoices",
"name": "operation",
"type": "notice",
"typeOptions": {
"theme": "info"
},
"default": "",
"displayOptions": {
"show": {
"resource": [
"Invoice"
],
"operation": [
"Order API Get Invoice List"
]
}
}
},
{
"displayName": "Min Invoice Date",
"name": "minInvoiceDate",
"description": "Specifies the oldest invoice date to include",
"default": "",
"type": "string",
"routing": {
"send": {
"type": "query",
"property": "minInvoiceDate",
"value": "={{ $value }}",
"propertyInDotNotation": false
}
},
"displayOptions": {
"show": {
"resource": [
"Invoice"
],
"operation": [
"Order API Get Invoice List"
]
}
}
},
{
"displayName": "Max Invoice Date",
"name": "maxInvoiceDate",
"description": "Specifies the newest invoice date to include",
"default": "",
"type": "string",
"routing": {
"send": {
"type": "query",
"property": "maxInvoiceDate",
"value": "={{ $value }}",
"propertyInDotNotation": false
}
},
"displayOptions": {
"show": {
"resource": [
"Invoice"
],
"operation": [
"Order API Get Invoice List"
]
}
}
},
{
"displayName": "Page",
"name": "page",
"description": "Specifies the page to request",
"default": 0,
"type": "number",
"routing": {
"send": {
"type": "query",
"property": "page",
"value": "={{ $value }}",
"propertyInDotNotation": false
}
},
"displayOptions": {
"show": {
"resource": [
"Invoice"
],
"operation": [
"Order API Get Invoice List"
]
}
}
},
{
"displayName": "Page Size",
"name": "pageSize",
"description": "Specifies the pagesize. Defaults to 50, max value is 250",
"default": 0,
"type": "number",
"routing": {
"send": {
"type": "query",
"property": "pageSize",
"value": "={{ $value }}",
"propertyInDotNotation": false
}
},
"displayOptions": {
"show": {
"resource": [
"Invoice"
],
"operation": [
"Order API Get Invoice List"
]
}
}
},
{
"displayName": "Shop ID",
"name": "shopId",
"description": "Specifies a list of shop ids for which invoices should be included",
"default": "[\n null\n]",
"type": "json",
"routing": {
"send": {
"type": "query",
"property": "shopId",
"value": "={{ $value }}",
"propertyInDotNotation": false
}
},
"displayOptions": {
"show": {
"resource": [
"Invoice"
],
"operation": [
"Order API Get Invoice List"
]
}
}
},
{
"displayName": "Order State ID",
"name": "orderStateId",
"description": "Specifies a list of state ids to include in the response",
"default": "[\n null\n]",
"type": "json",
"routing": {
"send": {
"type": "query",
"property": "orderStateId",
"value": "={{ $value }}",
"propertyInDotNotation": false
}
},
"displayOptions": {
"show": {
"resource": [
"Invoice"
],
"operation": [
"Order API Get Invoice List"
]
}
}
},
{
"displayName": "Tag",
"name": "tag",
"default": "[\n null\n]",
"type": "json",
"routing": {
"send": {
"type": "query",
"property": "tag",
"value": "={{ $value }}",
"propertyInDotNotation": false
}
},
"displayOptions": {
"show": {
"resource": [
"Invoice"
],
"operation": [
"Order API Get Invoice List"
]
}
}
},
{
"displayName": "Min Pay Date",
"name": "minPayDate",
"default": "",
"type": "string",
"routing": {
"send": {
"type": "query",
"property": "minPayDate",
"value": "={{ $value }}",
"propertyInDotNotation": false
}
},
"displayOptions": {
"show": {
"resource": [
"Invoice"
],
"operation": [
"Order API Get Invoice List"
]
}
}
},
{
"displayName": "Max Pay Date",
"name": "maxPayDate",
"default": "",
"type": "string",
"routing": {
"send": {
"type": "query",
"property": "maxPayDate",
"value": "={{ $value }}",
"propertyInDotNotation": false
}
},
"displayOptions": {
"show": {
"resource": [
"Invoice"
],
"operation": [
"Order API Get Invoice List"
]
}
}
},
{
"displayName": "Include Positions",
"name": "includePositions",
"default": true,
"type": "boolean",
"routing": {
"send": {
"type": "query",
"property": "includePositions",
"value": "={{ $value }}",
"propertyInDotNotation": false
}
},
"displayOptions": {
"show": {
"resource": [
"Invoice"
],
"operation": [
"Order API Get Invoice List"
]
}
}
},
{
"displayName": "Exclude Tags",
"name": "excludeTags",
"description": "If true the list of tags passed to the call are used to filter orders to not include these tags",
"default": true,
"type": "boolean",
"routing": {
"send": {
"type": "query",
"property": "excludeTags",
"value": "={{ $value }}",
"propertyInDotNotation": false
}
},
"displayOptions": {
"show": {
"resource": [
"Invoice"
],
"operation": [
"Order API Get Invoice List"
]
}
}
},
];
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,358 @@
import type { INodeProperties } from 'n8n-workflow';
export const provisioningDescription: INodeProperties[] = [
{
"displayName": "Operation",
"name": "operation",
"type": "options",
"noDataExpression": true,
"displayOptions": {
"show": {
"resource": [
"Provisioning"
]
}
},
"options": [
{
"name": "Automatic Provisioning Create Account",
"value": "Automatic Provisioning Create Account",
"action": "Creates a new Billbee user account with the data passed",
"description": "Creates a new Billbee user account with the data passed",
"routing": {
"request": {
"method": "POST",
"url": "=/api/v1/automaticprovision/createaccount"
}
}
},
{
"name": "Automatic Provisioning Terms Info",
"value": "Automatic Provisioning Terms Info",
"action": "Returns infos about Billbee terms and conditions",
"description": "Returns infos about Billbee terms and conditions",
"routing": {
"request": {
"method": "GET",
"url": "=/api/v1/automaticprovision/termsinfo"
}
}
}
],
"default": ""
},
{
"displayName": "POST /api/v1/automaticprovision/createaccount",
"name": "operation",
"type": "notice",
"typeOptions": {
"theme": "info"
},
"default": "",
"displayOptions": {
"show": {
"resource": [
"Provisioning"
],
"operation": [
"Automatic Provisioning Create Account"
]
}
}
},
{
"displayName": "Accept Terms",
"name": "AcceptTerms",
"type": "boolean",
"default": true,
"description": "Set to true, if the user has accepted the Billbee terms & conditions",
"routing": {
"send": {
"property": "AcceptTerms",
"propertyInDotNotation": false,
"type": "body",
"value": "={{ $value }}"
}
},
"displayOptions": {
"show": {
"resource": [
"Provisioning"
],
"operation": [
"Automatic Provisioning Create Account"
]
}
}
},
{
"displayName": "Address",
"name": "Address",
"type": "json",
"default": "{}",
"description": "Represents the invoice address of a Billbee user",
"routing": {
"send": {
"property": "Address",
"propertyInDotNotation": false,
"type": "body",
"value": "={{ JSON.parse($value) }}"
}
},
"displayOptions": {
"show": {
"resource": [
"Provisioning"
],
"operation": [
"Automatic Provisioning Create Account"
]
}
}
},
{
"displayName": "Affiliate Coupon Code",
"name": "AffiliateCouponCode",
"type": "string",
"default": "",
"description": "Specifies an billbee affiliate code to attach to the user",
"routing": {
"send": {
"property": "AffiliateCouponCode",
"propertyInDotNotation": false,
"type": "body",
"value": "={{ $value }}"
}
},
"displayOptions": {
"show": {
"resource": [
"Provisioning"
],
"operation": [
"Automatic Provisioning Create Account"
]
}
}
},
{
"displayName": "Default Currrency",
"name": "DefaultCurrrency",
"type": "string",
"default": "",
"description": "Optionally specify the default currency of the user",
"routing": {
"send": {
"property": "DefaultCurrrency",
"propertyInDotNotation": false,
"type": "body",
"value": "={{ $value }}"
}
},
"displayOptions": {
"show": {
"resource": [
"Provisioning"
],
"operation": [
"Automatic Provisioning Create Account"
]
}
}
},
{
"displayName": "Default Vat Index",
"name": "DefaultVatIndex",
"type": "number",
"default": 0,
"description": "Optionally specify the default vat index of the user",
"routing": {
"send": {
"property": "DefaultVatIndex",
"propertyInDotNotation": false,
"type": "body",
"value": "={{ $value }}"
}
},
"displayOptions": {
"show": {
"resource": [
"Provisioning"
],
"operation": [
"Automatic Provisioning Create Account"
]
}
}
},
{
"displayName": "Default Vat Mode",
"name": "DefaultVatMode",
"type": "options",
"default": 0,
"description": "Optionally specify the default vat mode of the user",
"options": [
{
"name": "0",
"value": 0
},
{
"name": "1",
"value": 1
},
{
"name": "2",
"value": 2
},
{
"name": "3",
"value": 3
},
{
"name": "4",
"value": 4
},
{
"name": "5",
"value": 5
}
],
"routing": {
"send": {
"property": "DefaultVatMode",
"propertyInDotNotation": false,
"type": "body",
"value": "={{ $value }}"
}
},
"displayOptions": {
"show": {
"resource": [
"Provisioning"
],
"operation": [
"Automatic Provisioning Create Account"
]
}
}
},
{
"required": true,
"displayName": "E Mail",
"name": "EMail",
"type": "string",
"default": "",
"description": "The Email address of the user to create",
"routing": {
"send": {
"property": "EMail",
"propertyInDotNotation": false,
"type": "body",
"value": "={{ $value }}"
}
},
"displayOptions": {
"show": {
"resource": [
"Provisioning"
],
"operation": [
"Automatic Provisioning Create Account"
]
}
}
},
{
"displayName": "Password",
"name": "Password",
"type": "string",
"default": "",
"routing": {
"send": {
"property": "Password",
"propertyInDotNotation": false,
"type": "body",
"value": "={{ $value }}"
}
},
"displayOptions": {
"show": {
"resource": [
"Provisioning"
],
"operation": [
"Automatic Provisioning Create Account"
]
}
}
},
{
"displayName": "Vat 1 Rate",
"name": "Vat1Rate",
"type": "number",
"default": 0,
"description": "Optionally specify the vat1 (normal) rate of the user",
"routing": {
"send": {
"property": "Vat1Rate",
"propertyInDotNotation": false,
"type": "body",
"value": "={{ $value }}"
}
},
"displayOptions": {
"show": {
"resource": [
"Provisioning"
],
"operation": [
"Automatic Provisioning Create Account"
]
}
}
},
{
"displayName": "Vat 2 Rate",
"name": "Vat2Rate",
"type": "number",
"default": 0,
"description": "Optionally specify the vat2 (reduced) rate of the user",
"routing": {
"send": {
"property": "Vat2Rate",
"propertyInDotNotation": false,
"type": "body",
"value": "={{ $value }}"
}
},
"displayOptions": {
"show": {
"resource": [
"Provisioning"
],
"operation": [
"Automatic Provisioning Create Account"
]
}
}
},
{
"displayName": "GET /api/v1/automaticprovision/termsinfo",
"name": "operation",
"type": "notice",
"typeOptions": {
"theme": "info"
},
"default": "",
"displayOptions": {
"show": {
"resource": [
"Provisioning"
],
"operation": [
"Automatic Provisioning Terms Info"
]
}
}
},
];
File diff suppressed because it is too large Load Diff
+678
View File
@@ -0,0 +1,678 @@
import type { INodeProperties } from 'n8n-workflow';
export const webhooksDescription: INodeProperties[] = [
{
"displayName": "Operation",
"name": "operation",
"type": "options",
"noDataExpression": true,
"displayOptions": {
"show": {
"resource": [
"Webhooks"
]
}
},
"options": [
{
"name": "Web Hook Management Delete All",
"value": "Web Hook Management Delete All",
"action": "Deletes all existing WebHook registrations.",
"description": "Deletes all existing WebHook registrations.",
"routing": {
"request": {
"method": "DELETE",
"url": "=/api/v1/webhooks"
}
}
},
{
"name": "Web Hook Management Get",
"value": "Web Hook Management Get",
"action": "Gets all registered WebHooks for a given user.",
"description": "Gets all registered WebHooks for a given user.",
"routing": {
"request": {
"method": "GET",
"url": "=/api/v1/webhooks"
}
}
},
{
"name": "Web Hook Management Post",
"value": "Web Hook Management Post",
"action": "Registers a new WebHook for a given user.",
"description": "Registers a new WebHook for a given user.",
"routing": {
"request": {
"method": "POST",
"url": "=/api/v1/webhooks"
}
}
},
{
"name": "Web Hook Management Get Filters",
"value": "Web Hook Management Get Filters",
"action": "Returns a list of all known filters you can use to register webhooks",
"description": "Returns a list of all known filters you can use to register webhooks",
"routing": {
"request": {
"method": "GET",
"url": "=/api/v1/webhooks/filters"
}
}
},
{
"name": "Web Hook Management Delete",
"value": "Web Hook Management Delete",
"action": "Deletes an existing WebHook registration.",
"description": "Deletes an existing WebHook registration.",
"routing": {
"request": {
"method": "DELETE",
"url": "=/api/v1/webhooks/{{$parameter[\"id\"]}}"
}
}
},
{
"name": "Web Hook Management Lookup",
"value": "Web Hook Management Lookup",
"action": "Looks up a registered WebHook with the given {id} for a given user.",
"description": "Looks up a registered WebHook with the given {id} for a given user.",
"routing": {
"request": {
"method": "GET",
"url": "=/api/v1/webhooks/{{$parameter[\"id\"]}}"
}
}
},
{
"name": "Web Hook Management Put",
"value": "Web Hook Management Put",
"action": "Updates an existing WebHook registration.",
"description": "Updates an existing WebHook registration.",
"routing": {
"request": {
"method": "PUT",
"url": "=/api/v1/webhooks/{{$parameter[\"id\"]}}"
}
}
}
],
"default": ""
},
{
"displayName": "DELETE /api/v1/webhooks",
"name": "operation",
"type": "notice",
"typeOptions": {
"theme": "info"
},
"default": "",
"displayOptions": {
"show": {
"resource": [
"Webhooks"
],
"operation": [
"Web Hook Management Delete All"
]
}
}
},
{
"displayName": "GET /api/v1/webhooks",
"name": "operation",
"type": "notice",
"typeOptions": {
"theme": "info"
},
"default": "",
"displayOptions": {
"show": {
"resource": [
"Webhooks"
],
"operation": [
"Web Hook Management Get"
]
}
}
},
{
"displayName": "POST /api/v1/webhooks",
"name": "operation",
"type": "notice",
"typeOptions": {
"theme": "info"
},
"default": "",
"displayOptions": {
"show": {
"resource": [
"Webhooks"
],
"operation": [
"Web Hook Management Post"
]
}
}
},
{
"displayName": "Description",
"name": "Description",
"type": "string",
"default": "",
"routing": {
"send": {
"property": "Description",
"propertyInDotNotation": false,
"type": "body",
"value": "={{ $value }}"
}
},
"displayOptions": {
"show": {
"resource": [
"Webhooks"
],
"operation": [
"Web Hook Management Post"
]
}
}
},
{
"displayName": "Filters",
"name": "Filters",
"type": "json",
"default": "[\n null\n]",
"routing": {
"send": {
"property": "Filters",
"propertyInDotNotation": false,
"type": "body",
"value": "={{ JSON.parse($value) }}"
}
},
"displayOptions": {
"show": {
"resource": [
"Webhooks"
],
"operation": [
"Web Hook Management Post"
]
}
}
},
{
"displayName": "Headers",
"name": "Headers",
"type": "json",
"default": "{}",
"routing": {
"send": {
"property": "Headers",
"propertyInDotNotation": false,
"type": "body",
"value": "={{ JSON.parse($value) }}"
}
},
"displayOptions": {
"show": {
"resource": [
"Webhooks"
],
"operation": [
"Web Hook Management Post"
]
}
}
},
{
"displayName": "ID",
"name": "Id",
"type": "string",
"default": "",
"routing": {
"send": {
"property": "Id",
"propertyInDotNotation": false,
"type": "body",
"value": "={{ $value }}"
}
},
"displayOptions": {
"show": {
"resource": [
"Webhooks"
],
"operation": [
"Web Hook Management Post"
]
}
}
},
{
"displayName": "Is Paused",
"name": "IsPaused",
"type": "boolean",
"default": true,
"routing": {
"send": {
"property": "IsPaused",
"propertyInDotNotation": false,
"type": "body",
"value": "={{ $value }}"
}
},
"displayOptions": {
"show": {
"resource": [
"Webhooks"
],
"operation": [
"Web Hook Management Post"
]
}
}
},
{
"displayName": "Properties",
"name": "Properties",
"type": "json",
"default": "{}",
"routing": {
"send": {
"property": "Properties",
"propertyInDotNotation": false,
"type": "body",
"value": "={{ JSON.parse($value) }}"
}
},
"displayOptions": {
"show": {
"resource": [
"Webhooks"
],
"operation": [
"Web Hook Management Post"
]
}
}
},
{
"required": true,
"displayName": "Secret",
"name": "Secret",
"type": "string",
"default": "",
"routing": {
"send": {
"property": "Secret",
"propertyInDotNotation": false,
"type": "body",
"value": "={{ $value }}"
}
},
"displayOptions": {
"show": {
"resource": [
"Webhooks"
],
"operation": [
"Web Hook Management Post"
]
}
}
},
{
"required": true,
"displayName": "Web Hook Uri",
"name": "WebHookUri",
"type": "string",
"default": "",
"routing": {
"send": {
"property": "WebHookUri",
"propertyInDotNotation": false,
"type": "body",
"value": "={{ $value }}"
}
},
"displayOptions": {
"show": {
"resource": [
"Webhooks"
],
"operation": [
"Web Hook Management Post"
]
}
}
},
{
"displayName": "GET /api/v1/webhooks/filters",
"name": "operation",
"type": "notice",
"typeOptions": {
"theme": "info"
},
"default": "",
"displayOptions": {
"show": {
"resource": [
"Webhooks"
],
"operation": [
"Web Hook Management Get Filters"
]
}
}
},
{
"displayName": "DELETE /api/v1/webhooks/{id}",
"name": "operation",
"type": "notice",
"typeOptions": {
"theme": "info"
},
"default": "",
"displayOptions": {
"show": {
"resource": [
"Webhooks"
],
"operation": [
"Web Hook Management Delete"
]
}
}
},
{
"displayName": "ID",
"name": "id",
"required": true,
"description": "The WebHook ID.",
"default": "",
"type": "string",
"displayOptions": {
"show": {
"resource": [
"Webhooks"
],
"operation": [
"Web Hook Management Delete"
]
}
}
},
{
"displayName": "GET /api/v1/webhooks/{id}",
"name": "operation",
"type": "notice",
"typeOptions": {
"theme": "info"
},
"default": "",
"displayOptions": {
"show": {
"resource": [
"Webhooks"
],
"operation": [
"Web Hook Management Lookup"
]
}
}
},
{
"displayName": "ID",
"name": "id",
"required": true,
"default": "",
"type": "string",
"displayOptions": {
"show": {
"resource": [
"Webhooks"
],
"operation": [
"Web Hook Management Lookup"
]
}
}
},
{
"displayName": "PUT /api/v1/webhooks/{id}",
"name": "operation",
"type": "notice",
"typeOptions": {
"theme": "info"
},
"default": "",
"displayOptions": {
"show": {
"resource": [
"Webhooks"
],
"operation": [
"Web Hook Management Put"
]
}
}
},
{
"displayName": "ID",
"name": "id",
"required": true,
"description": "The WebHook ID.",
"default": "",
"type": "string",
"displayOptions": {
"show": {
"resource": [
"Webhooks"
],
"operation": [
"Web Hook Management Put"
]
}
}
},
{
"displayName": "Description",
"name": "Description",
"type": "string",
"default": "",
"routing": {
"send": {
"property": "Description",
"propertyInDotNotation": false,
"type": "body",
"value": "={{ $value }}"
}
},
"displayOptions": {
"show": {
"resource": [
"Webhooks"
],
"operation": [
"Web Hook Management Put"
]
}
}
},
{
"displayName": "Filters",
"name": "Filters",
"type": "json",
"default": "[\n null\n]",
"routing": {
"send": {
"property": "Filters",
"propertyInDotNotation": false,
"type": "body",
"value": "={{ JSON.parse($value) }}"
}
},
"displayOptions": {
"show": {
"resource": [
"Webhooks"
],
"operation": [
"Web Hook Management Put"
]
}
}
},
{
"displayName": "Headers",
"name": "Headers",
"type": "json",
"default": "{}",
"routing": {
"send": {
"property": "Headers",
"propertyInDotNotation": false,
"type": "body",
"value": "={{ JSON.parse($value) }}"
}
},
"displayOptions": {
"show": {
"resource": [
"Webhooks"
],
"operation": [
"Web Hook Management Put"
]
}
}
},
{
"displayName": "ID",
"name": "Id",
"type": "string",
"default": "",
"routing": {
"send": {
"property": "Id",
"propertyInDotNotation": false,
"type": "body",
"value": "={{ $value }}"
}
},
"displayOptions": {
"show": {
"resource": [
"Webhooks"
],
"operation": [
"Web Hook Management Put"
]
}
}
},
{
"displayName": "Is Paused",
"name": "IsPaused",
"type": "boolean",
"default": true,
"routing": {
"send": {
"property": "IsPaused",
"propertyInDotNotation": false,
"type": "body",
"value": "={{ $value }}"
}
},
"displayOptions": {
"show": {
"resource": [
"Webhooks"
],
"operation": [
"Web Hook Management Put"
]
}
}
},
{
"displayName": "Properties",
"name": "Properties",
"type": "json",
"default": "{}",
"routing": {
"send": {
"property": "Properties",
"propertyInDotNotation": false,
"type": "body",
"value": "={{ JSON.parse($value) }}"
}
},
"displayOptions": {
"show": {
"resource": [
"Webhooks"
],
"operation": [
"Web Hook Management Put"
]
}
}
},
{
"required": true,
"displayName": "Secret",
"name": "Secret",
"type": "string",
"default": "",
"routing": {
"send": {
"property": "Secret",
"propertyInDotNotation": false,
"type": "body",
"value": "={{ $value }}"
}
},
"displayOptions": {
"show": {
"resource": [
"Webhooks"
],
"operation": [
"Web Hook Management Put"
]
}
}
},
{
"required": true,
"displayName": "Web Hook Uri",
"name": "WebHookUri",
"type": "string",
"default": "",
"routing": {
"send": {
"property": "WebHookUri",
"propertyInDotNotation": false,
"type": "body",
"value": "={{ $value }}"
}
},
"displayOptions": {
"show": {
"resource": [
"Webhooks"
],
"operation": [
"Web Hook Management Put"
]
}
}
},
];