feat: initial n8n community node for billbee
This commit is contained in:
@@ -0,0 +1,2 @@
|
|||||||
|
dist
|
||||||
|
node_modules
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
node_modules/
|
||||||
|
tsconfig.json
|
||||||
|
.gitignore
|
||||||
|
openapi.json
|
||||||
@@ -0,0 +1,51 @@
|
|||||||
|
module.exports = {
|
||||||
|
/**
|
||||||
|
* https://prettier.io/docs/en/options.html#semicolons
|
||||||
|
*/
|
||||||
|
semi: true,
|
||||||
|
|
||||||
|
/**
|
||||||
|
* https://prettier.io/docs/en/options.html#trailing-commas
|
||||||
|
*/
|
||||||
|
trailingComma: 'all',
|
||||||
|
|
||||||
|
/**
|
||||||
|
* https://prettier.io/docs/en/options.html#bracket-spacing
|
||||||
|
*/
|
||||||
|
bracketSpacing: true,
|
||||||
|
|
||||||
|
/**
|
||||||
|
* https://prettier.io/docs/en/options.html#tabs
|
||||||
|
*/
|
||||||
|
useTabs: true,
|
||||||
|
|
||||||
|
/**
|
||||||
|
* https://prettier.io/docs/en/options.html#tab-width
|
||||||
|
*/
|
||||||
|
tabWidth: 2,
|
||||||
|
|
||||||
|
/**
|
||||||
|
* https://prettier.io/docs/en/options.html#arrow-function-parentheses
|
||||||
|
*/
|
||||||
|
arrowParens: 'always',
|
||||||
|
|
||||||
|
/**
|
||||||
|
* https://prettier.io/docs/en/options.html#quotes
|
||||||
|
*/
|
||||||
|
singleQuote: true,
|
||||||
|
|
||||||
|
/**
|
||||||
|
* https://prettier.io/docs/en/options.html#quote-props
|
||||||
|
*/
|
||||||
|
quoteProps: 'as-needed',
|
||||||
|
|
||||||
|
/**
|
||||||
|
* https://prettier.io/docs/en/options.html#end-of-line
|
||||||
|
*/
|
||||||
|
endOfLine: 'lf',
|
||||||
|
|
||||||
|
/**
|
||||||
|
* https://prettier.io/docs/en/options.html#print-width
|
||||||
|
*/
|
||||||
|
printWidth: 100,
|
||||||
|
};
|
||||||
Vendored
+7
@@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"recommendations": [
|
||||||
|
"dbaeumer.vscode-eslint",
|
||||||
|
"EditorConfig.EditorConfig",
|
||||||
|
"esbenp.prettier-vscode"
|
||||||
|
]
|
||||||
|
}
|
||||||
Vendored
+14
@@ -0,0 +1,14 @@
|
|||||||
|
{
|
||||||
|
"version": "0.2.0",
|
||||||
|
"configurations": [
|
||||||
|
{
|
||||||
|
"name": "Attach to running n8n",
|
||||||
|
"processId": "${command:PickProcess}",
|
||||||
|
"request": "attach",
|
||||||
|
"skipFiles": [
|
||||||
|
"<node_internals>/**"
|
||||||
|
],
|
||||||
|
"type": "node"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
@@ -0,0 +1,238 @@
|
|||||||
|
# @n8n-dev/n8n-nodes-billbee
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
[](https://www.npmjs.com/package/@n8n-dev/n8n-nodes-billbee)
|
||||||
|
[](https://opensource.org/licenses/MIT)
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
**Stop writing billbee API integrations by hand.**
|
||||||
|
|
||||||
|
Every time you connect n8n to billbee, you waste hours mapping endpoints, defining parameters, and debugging schemas. You copy-paste from docs, fix edge cases, and pray nothing breaks.
|
||||||
|
|
||||||
|
**What if connecting n8n to billbee took 5 minutes, not half a day?**
|
||||||
|
|
||||||
|
This node gives you **12+ resources** out of the box: **Provisioning**, **Cloud Storage**, **Customer Addresses**, **Customers**, **Enum API**, and 7 more: with full CRUD operations, typed parameters, and zero manual configuration.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## What You Get
|
||||||
|
|
||||||
|
- **Zero boilerplate**: Resources, operations, and fields are pre-configured and ready to use
|
||||||
|
- **Full CRUD**: Create, read, update, and delete support where the API allows it
|
||||||
|
- **Typed parameters**: No more guessing field types
|
||||||
|
- **Built-in auth**: API key authentication, ready to go
|
||||||
|
- **Declarative**: Native n8n performance, no custom execute() overhead
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Install
|
||||||
|
|
||||||
|
```bash
|
||||||
|
npm install @n8n-dev/n8n-nodes-billbee
|
||||||
|
```
|
||||||
|
|
||||||
|
**Or in n8n:**
|
||||||
|
1. **Settings → Community Nodes → Install**
|
||||||
|
2. Search: `@n8n-dev/n8n-nodes-billbee`
|
||||||
|
3. Click **Install**
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Quick Start
|
||||||
|
|
||||||
|
1. Install the node (above)
|
||||||
|
2. Add credentials: **billbee API** → paste your API key
|
||||||
|
3. Drag the **billbee** node into your workflow
|
||||||
|
4. Pick a resource → pick an operation → done.
|
||||||
|
|
||||||
|
That's it. No configuration files. No code. It just works.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Resources
|
||||||
|
|
||||||
|
<details>
|
||||||
|
<summary><b>Provisioning</b> (2 operations)</summary>
|
||||||
|
|
||||||
|
- Post Creates a new Billbee user account with the data passed
|
||||||
|
- Get Returns infos about Billbee terms and conditions
|
||||||
|
|
||||||
|
</details>
|
||||||
|
|
||||||
|
<details>
|
||||||
|
<summary><b>Cloud Storage</b> (1 operations)</summary>
|
||||||
|
|
||||||
|
- Get s a list of all connected cloud storage devices
|
||||||
|
|
||||||
|
</details>
|
||||||
|
|
||||||
|
<details>
|
||||||
|
<summary><b>Customer Addresses</b> (4 operations)</summary>
|
||||||
|
|
||||||
|
- Get a list of all customer addresses
|
||||||
|
- Post Creates a new customer address
|
||||||
|
- Get Queries a single customer address by ID
|
||||||
|
- Put Updates a customer address by ID
|
||||||
|
|
||||||
|
</details>
|
||||||
|
|
||||||
|
<details>
|
||||||
|
<summary><b>Customers</b> (11 operations)</summary>
|
||||||
|
|
||||||
|
- Get a list of all customers
|
||||||
|
- Post Creates a new customer
|
||||||
|
- Get Queries a single address from a customer
|
||||||
|
- Patch Updates one or more fields of an address
|
||||||
|
- Put Updates all fields of an address
|
||||||
|
- Get Queries a single customer by ID
|
||||||
|
- Put Updates a customer by ID
|
||||||
|
- Get Queries a list of addresses from a customer
|
||||||
|
- Post Adds a new address to a customer
|
||||||
|
- Get Queries a list of orders from a customer
|
||||||
|
- Post Search for products customers and orders Type can be order product and or customer Term can contains lucene query syntax
|
||||||
|
|
||||||
|
</details>
|
||||||
|
|
||||||
|
<details>
|
||||||
|
<summary><b>Enum API</b> (4 operations)</summary>
|
||||||
|
|
||||||
|
- Get Returns a list with all defined orderstates
|
||||||
|
- Get Returns a list with all defined paymenttypes
|
||||||
|
- Get Returns a list with all defined shipmenttypes
|
||||||
|
- Get Returns a list with all defined shippingcarriers
|
||||||
|
|
||||||
|
</details>
|
||||||
|
|
||||||
|
<details>
|
||||||
|
<summary><b>Events</b> (1 operations)</summary>
|
||||||
|
|
||||||
|
- Get a list of all events optionally filtered by date This request is extra throttled to 2 calls per page per hour
|
||||||
|
|
||||||
|
</details>
|
||||||
|
|
||||||
|
<details>
|
||||||
|
<summary><b>Orders</b> (18 operations)</summary>
|
||||||
|
|
||||||
|
- Get Layout API Get List
|
||||||
|
- Get a list of all orders optionally filtered by date
|
||||||
|
- Post Creates a new order in the Billbee account
|
||||||
|
- Post 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
|
||||||
|
- Post 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
|
||||||
|
- Get Returns a list of fields which can be updated with the orders ID patch call
|
||||||
|
- Get a single order by its external order number
|
||||||
|
- Get a list of all invoices optionally filtered by date This request ist throttled to 1 per 1 minute for same page and minInvoiceDate
|
||||||
|
- Get a single order by its internal billbee ID This request is throttled to 6 calls per order in one minute
|
||||||
|
- Patch Updates one or more fields of an order
|
||||||
|
- Put Changes the main state of a single order
|
||||||
|
- Post Parses a text and replaces all placeholders
|
||||||
|
- Post Sends a message to the buyer
|
||||||
|
- Post Add a shipment to a given order
|
||||||
|
- Post Attach one or more tags to an order
|
||||||
|
- Put Sets the tags attached to an order
|
||||||
|
- Post Triggers a rule event
|
||||||
|
- Post Search for products customers and orders Type can be order product and or customer Term can contains lucene query syntax
|
||||||
|
|
||||||
|
</details>
|
||||||
|
|
||||||
|
<details>
|
||||||
|
<summary><b>Delivery Note</b> (1 operations)</summary>
|
||||||
|
|
||||||
|
- Post 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
|
||||||
|
|
||||||
|
</details>
|
||||||
|
|
||||||
|
<details>
|
||||||
|
<summary><b>Invoice</b> (2 operations)</summary>
|
||||||
|
|
||||||
|
- Post 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
|
||||||
|
- Get a list of all invoices optionally filtered by date This request ist throttled to 1 per 1 minute for same page and minInvoiceDate
|
||||||
|
|
||||||
|
</details>
|
||||||
|
|
||||||
|
<details>
|
||||||
|
<summary><b>Products</b> (23 operations)</summary>
|
||||||
|
|
||||||
|
- Get a list of all products
|
||||||
|
- Post Creates a new product
|
||||||
|
- Get Returns a list of fields which can be updated with the patch call
|
||||||
|
- Get s a list of all defined categories
|
||||||
|
- Get Queries a list of all custom fields
|
||||||
|
- Get Queries a single custom field
|
||||||
|
- Post Delete multiple images by ID
|
||||||
|
- Delete s a single image by ID
|
||||||
|
- Get Returns a single image by ID
|
||||||
|
- Get Queries the reserved amount for a single article by ID or by sku
|
||||||
|
- Get Query all defined stock locations
|
||||||
|
- Post Update the stock qty of an article
|
||||||
|
- Post Update the stock code of an article
|
||||||
|
- Post Update the stock qty for multiple articles at once
|
||||||
|
- Delete s a product
|
||||||
|
- Get Queries a single article by ID or by sku
|
||||||
|
- Patch Updates one or more fields of a product
|
||||||
|
- Get Returns a list of all images of the product
|
||||||
|
- Put Add multiple images to a product or replace the product images by the given images
|
||||||
|
- Delete s a single image from a product
|
||||||
|
- Get Returns a single image by ID
|
||||||
|
- Put Add or update an existing image of a product
|
||||||
|
- Post Search for products customers and orders Type can be order product and or customer Term can contains lucene query syntax
|
||||||
|
|
||||||
|
</details>
|
||||||
|
|
||||||
|
<details>
|
||||||
|
<summary><b>Shipments</b> (6 operations)</summary>
|
||||||
|
|
||||||
|
- Get Shipment Get Ping
|
||||||
|
- Post Creates a new shipment with the selected Shippingprovider
|
||||||
|
- Get a list of all shipments optionally filtered by date All parameters are optional
|
||||||
|
- Get Queries the currently available shipping carriers
|
||||||
|
- Get Query all defined shipping providers
|
||||||
|
- Post Creates a shipment for an order in billbee
|
||||||
|
|
||||||
|
</details>
|
||||||
|
|
||||||
|
<details>
|
||||||
|
<summary><b>Webhooks</b> (7 operations)</summary>
|
||||||
|
|
||||||
|
- Delete s all existing WEBHOOK registrations
|
||||||
|
- Get s all registered WebHooks for a given user
|
||||||
|
- Post Registers a new WEBHOOK for a given user
|
||||||
|
- Get Returns a list of all known filters you can use to register webhooks
|
||||||
|
- Delete s an existing WEBHOOK registration
|
||||||
|
- Get Looks up a registered WEBHOOK with the given ID for a given user
|
||||||
|
- Put Updates an existing WEBHOOK registration
|
||||||
|
|
||||||
|
</details>
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Why This Node?
|
||||||
|
|
||||||
|
**Without this node:**
|
||||||
|
- Hours of manual API integration
|
||||||
|
- Copy-pasting from billbee docs
|
||||||
|
- Debugging auth, pagination, error handling
|
||||||
|
- Maintaining your own client code
|
||||||
|
|
||||||
|
**With this node:**
|
||||||
|
- Install → configure → use. 5 minutes.
|
||||||
|
- Auto-generated from the official billbee OpenAPI spec
|
||||||
|
- Always up to date when the API changes
|
||||||
|
- Native n8n performance
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
## Auto-Generated
|
||||||
|
This node was auto-generated from the official **billbee** OpenAPI specification using
|
||||||
|
[@n8n-dev/n8n-openapi-node-ultimate](https://github.com/kelvinzer0/n8n-openapi-node-ultimate),
|
||||||
|
then validated against the live API so you get accurate types and real parameters, not guesswork.
|
||||||
|
|
||||||
|
When the billbee API updates, this node updates too.
|
||||||
|
|
||||||
|
---
|
||||||
|
|
||||||
|
|
||||||
|
## License
|
||||||
|
|
||||||
|
MIT © [kelvinzer0](https://github.com/n8n-code)
|
||||||
+125
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 57 KiB |
@@ -0,0 +1,48 @@
|
|||||||
|
import type {
|
||||||
|
IAuthenticateGeneric,
|
||||||
|
Icon,
|
||||||
|
ICredentialType,
|
||||||
|
INodeProperties,
|
||||||
|
} from 'n8n-workflow';
|
||||||
|
|
||||||
|
export class BillbeeApi implements ICredentialType {
|
||||||
|
name = 'N8nDevBillbeeApi';
|
||||||
|
|
||||||
|
displayName = 'Billbee API';
|
||||||
|
|
||||||
|
icon: Icon = { light: 'file:../nodes/Billbee/billbee.png', dark: 'file:../nodes/Billbee/billbee.dark.png' };
|
||||||
|
|
||||||
|
documentationUrl = '';
|
||||||
|
|
||||||
|
properties: INodeProperties[] = [
|
||||||
|
{
|
||||||
|
displayName: 'Base URL',
|
||||||
|
name: 'url',
|
||||||
|
type: 'string',
|
||||||
|
default: 'https://app.billbee.io',
|
||||||
|
required: true,
|
||||||
|
placeholder: 'https://app.billbee.io',
|
||||||
|
description: 'The base URL of your Billbee API server',
|
||||||
|
},
|
||||||
|
{
|
||||||
|
displayName: 'API Key',
|
||||||
|
name: 'apiKey',
|
||||||
|
type: 'string',
|
||||||
|
typeOptions: { password: true },
|
||||||
|
default: '',
|
||||||
|
required: false,
|
||||||
|
},
|
||||||
|
|
||||||
|
];
|
||||||
|
|
||||||
|
authenticate: IAuthenticateGeneric = {
|
||||||
|
type: 'generic',
|
||||||
|
properties: {
|
||||||
|
headers: {
|
||||||
|
'X-Billbee-Api-Key': '={{$credentials.apiKey}}',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
import { config } from '@n8n/node-cli/eslint';
|
||||||
|
|
||||||
|
export default config;
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 12 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 12 KiB |
@@ -0,0 +1,20 @@
|
|||||||
|
{
|
||||||
|
"node": "N8nDevBillbee",
|
||||||
|
"nodeVersion": "1.0",
|
||||||
|
"codexVersion": "1.0",
|
||||||
|
"categories": [
|
||||||
|
"Development"
|
||||||
|
],
|
||||||
|
"resources": {
|
||||||
|
"primaryDocumentation": [
|
||||||
|
{
|
||||||
|
"url": "https://github.com/n8n-code/n8n-nodes-billbee"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"credentialDocumentation": [
|
||||||
|
{
|
||||||
|
"url": "https://github.com/n8n-code/n8n-nodes-billbee?tab=readme-ov-file#credentials"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,125 @@
|
|||||||
|
import { NodeConnectionTypes, type INodeType, type INodeTypeDescription } from 'n8n-workflow';
|
||||||
|
import { provisioningDescription } from './resources/provisioning';
|
||||||
|
import { cloudStorageDescription } from './resources/cloud-storage';
|
||||||
|
import { customerAddressesDescription } from './resources/customer-addresses';
|
||||||
|
import { customersDescription } from './resources/customers';
|
||||||
|
import { enumApiDescription } from './resources/enum-api';
|
||||||
|
import { eventsDescription } from './resources/events';
|
||||||
|
import { ordersDescription } from './resources/orders';
|
||||||
|
import { deliveryNoteDescription } from './resources/delivery-note';
|
||||||
|
import { invoiceDescription } from './resources/invoice';
|
||||||
|
import { productsDescription } from './resources/products';
|
||||||
|
import { shipmentsDescription } from './resources/shipments';
|
||||||
|
import { webhooksDescription } from './resources/webhooks';
|
||||||
|
|
||||||
|
export class Billbee implements INodeType {
|
||||||
|
description: INodeTypeDescription = {
|
||||||
|
displayName: 'Billbee',
|
||||||
|
name: 'N8nDevBillbee',
|
||||||
|
icon: { light: 'file:./billbee.png', dark: 'file:./billbee.dark.png' },
|
||||||
|
group: ['input'],
|
||||||
|
version: 1,
|
||||||
|
subtitle: '={{\$parameter["operation"] + ": " + \$parameter["resource"]}}',
|
||||||
|
description: 'Billbee REST API documentation for external application integration.',
|
||||||
|
defaults: { name: 'Billbee' },
|
||||||
|
usableAsTool: true,
|
||||||
|
inputs: [NodeConnectionTypes.Main],
|
||||||
|
outputs: [NodeConnectionTypes.Main],
|
||||||
|
credentials: [
|
||||||
|
{
|
||||||
|
name: 'N8nDevBillbeeApi',
|
||||||
|
required: true,
|
||||||
|
},
|
||||||
|
],
|
||||||
|
requestDefaults: {
|
||||||
|
baseURL: '={{\$credentials.url}}',
|
||||||
|
headers: {
|
||||||
|
Accept: 'application/json',
|
||||||
|
'Content-Type': 'application/json',
|
||||||
|
},
|
||||||
|
},
|
||||||
|
properties: [
|
||||||
|
{
|
||||||
|
"displayName": "Resource",
|
||||||
|
"name": "resource",
|
||||||
|
"type": "options",
|
||||||
|
"noDataExpression": true,
|
||||||
|
"options": [
|
||||||
|
{
|
||||||
|
"name": "Provisioning",
|
||||||
|
"value": "Provisioning",
|
||||||
|
"description": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Cloud Storage",
|
||||||
|
"value": "Cloud Storage",
|
||||||
|
"description": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Customer Addresses",
|
||||||
|
"value": "Customer Addresses",
|
||||||
|
"description": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Customers",
|
||||||
|
"value": "Customers",
|
||||||
|
"description": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Enum API",
|
||||||
|
"value": "Enum API",
|
||||||
|
"description": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Events",
|
||||||
|
"value": "Events",
|
||||||
|
"description": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Orders",
|
||||||
|
"value": "Orders",
|
||||||
|
"description": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Delivery Note",
|
||||||
|
"value": "Delivery Note",
|
||||||
|
"description": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Invoice",
|
||||||
|
"value": "Invoice",
|
||||||
|
"description": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Products",
|
||||||
|
"value": "Products",
|
||||||
|
"description": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Shipments",
|
||||||
|
"value": "Shipments",
|
||||||
|
"description": ""
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Webhooks",
|
||||||
|
"value": "Webhooks",
|
||||||
|
"description": ""
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"default": ""
|
||||||
|
},
|
||||||
|
...provisioningDescription,
|
||||||
|
...cloudStorageDescription,
|
||||||
|
...customerAddressesDescription,
|
||||||
|
...customersDescription,
|
||||||
|
...enumApiDescription,
|
||||||
|
...eventsDescription,
|
||||||
|
...ordersDescription,
|
||||||
|
...deliveryNoteDescription,
|
||||||
|
...invoiceDescription,
|
||||||
|
...productsDescription,
|
||||||
|
...shipmentsDescription,
|
||||||
|
...webhooksDescription
|
||||||
|
],
|
||||||
|
};
|
||||||
|
}
|
||||||
Binary file not shown.
|
After Width: | Height: | Size: 12 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 12 KiB |
@@ -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"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
];
|
||||||
@@ -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"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
];
|
||||||
@@ -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"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
];
|
||||||
@@ -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';
|
||||||
@@ -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
@@ -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"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
];
|
||||||
+8977
File diff suppressed because it is too large
Load Diff
Generated
+7811
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,62 @@
|
|||||||
|
{
|
||||||
|
"name": "@n8n-dev/n8n-nodes-billbee",
|
||||||
|
"version": "1.0.0",
|
||||||
|
"description": "Billbee REST API documentation for external application integration.",
|
||||||
|
"license": "MIT",
|
||||||
|
"homepage": "https://n8n-code.github.io/n8n-dev/#/n8n-nodes-billbee",
|
||||||
|
"keywords": [
|
||||||
|
"n8n",
|
||||||
|
"n8n-community-node",
|
||||||
|
"n8n-node",
|
||||||
|
"n8n-community-node-package",
|
||||||
|
"openapi",
|
||||||
|
"swagger",
|
||||||
|
"API",
|
||||||
|
"automation",
|
||||||
|
"workflow",
|
||||||
|
"billbee"
|
||||||
|
],
|
||||||
|
"author": {
|
||||||
|
"name": "kelvinzer0",
|
||||||
|
"email": ""
|
||||||
|
},
|
||||||
|
"repository": {
|
||||||
|
"type": "git",
|
||||||
|
"url": "https://github.com/n8n-code/n8n-nodes-billbee.git"
|
||||||
|
},
|
||||||
|
"scripts": {
|
||||||
|
"build": "n8n-node build",
|
||||||
|
"build:watch": "tsc --watch",
|
||||||
|
"dev": "n8n-node dev",
|
||||||
|
"lint": "n8n-node lint",
|
||||||
|
"lint:fix": "n8n-node lint --fix",
|
||||||
|
"release": "n8n-node release",
|
||||||
|
"prepublishOnly": "npm run build"
|
||||||
|
},
|
||||||
|
"files": [
|
||||||
|
"dist"
|
||||||
|
],
|
||||||
|
"n8n": {
|
||||||
|
"n8nNodesApiVersion": 1,
|
||||||
|
"strict": true,
|
||||||
|
"credentials": [
|
||||||
|
"dist/credentials/BillbeeApi.credentials.js"
|
||||||
|
],
|
||||||
|
"nodes": [
|
||||||
|
"dist/nodes/Billbee/Billbee.node.js"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"dependencies": {
|
||||||
|
"n8n-workflow": "*"
|
||||||
|
},
|
||||||
|
"devDependencies": {
|
||||||
|
"@n8n/node-cli": "*",
|
||||||
|
"eslint": "*",
|
||||||
|
"prettier": "3.8.3",
|
||||||
|
"release-it": "20.2.0",
|
||||||
|
"typescript": "5.9.3"
|
||||||
|
},
|
||||||
|
"peerDependencies": {
|
||||||
|
"n8n-workflow": "*"
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,34 @@
|
|||||||
|
{
|
||||||
|
"compilerOptions": {
|
||||||
|
"strict": true,
|
||||||
|
"module": "commonjs",
|
||||||
|
"moduleResolution": "node",
|
||||||
|
"target": "es2019",
|
||||||
|
"lib": [
|
||||||
|
"es2019",
|
||||||
|
"es2020",
|
||||||
|
"es2022.error"
|
||||||
|
],
|
||||||
|
"removeComments": true,
|
||||||
|
"useUnknownInCatchVariables": false,
|
||||||
|
"forceConsistentCasingInFileNames": true,
|
||||||
|
"noImplicitAny": true,
|
||||||
|
"noImplicitReturns": true,
|
||||||
|
"noUnusedLocals": true,
|
||||||
|
"strictNullChecks": true,
|
||||||
|
"preserveConstEnums": true,
|
||||||
|
"esModuleInterop": true,
|
||||||
|
"resolveJsonModule": true,
|
||||||
|
"incremental": true,
|
||||||
|
"declaration": true,
|
||||||
|
"sourceMap": true,
|
||||||
|
"skipLibCheck": true,
|
||||||
|
"outDir": "./dist/"
|
||||||
|
},
|
||||||
|
"include": [
|
||||||
|
"credentials/**/*",
|
||||||
|
"nodes/**/*",
|
||||||
|
"nodes/**/*.json",
|
||||||
|
"package.json"
|
||||||
|
]
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user