n8n-nodes-listbee 0.13.0 → 0.13.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -80,6 +80,12 @@ Starts workflows when ListBee events occur. Automatically registers and cleans u
80
80
  | Fulfill | Mark an order as fulfilled, optionally pushing digital deliverables to the buyer |
81
81
  | Refund | Issue a full refund for a paid order |
82
82
 
83
+ ### Plan
84
+
85
+ | Operation | Description |
86
+ |-----------|-------------|
87
+ | List | List all available plans with pricing (public endpoint, no authentication required) |
88
+
83
89
  ### Utility
84
90
 
85
91
  | Operation | Description |
@@ -45,6 +45,7 @@ class ListBee {
45
45
  { name: 'File', value: 'file' },
46
46
  { name: 'Listing', value: 'listing' },
47
47
  { name: 'Order', value: 'order' },
48
+ { name: 'Plan', value: 'plan' },
48
49
  { name: 'Stripe', value: 'stripe' },
49
50
  { name: 'Utility', value: 'utility' },
50
51
  { name: 'Webhook', value: 'webhook' },
@@ -63,6 +64,8 @@ class ListBee {
63
64
  ...resources_1.listingFields,
64
65
  ...resources_1.orderOperations,
65
66
  ...resources_1.orderFields,
67
+ ...resources_1.planOperations,
68
+ ...resources_1.planFields,
66
69
  ...resources_1.stripeOperations,
67
70
  ...resources_1.stripeFields,
68
71
  ...resources_1.utilityOperations,
@@ -1 +1 @@
1
- {"version":3,"file":"ListBee.node.js","sourceRoot":"","sources":["../../../nodes/ListBee/ListBee.node.ts"],"names":[],"mappings":";;;AAAA,+CAIsB;AAEtB,2CAmBqB;AAErB,MAAa,OAAO;IAApB;QACE,gBAAW,GAAyB;YAClC,WAAW,EAAE,SAAS;YACtB,IAAI,EAAE,SAAS;YACf,IAAI,EAAE,kBAAkB;YACxB,KAAK,EAAE,CAAC,OAAO,CAAC;YAChB,OAAO,EAAE,CAAC;YACV,QAAQ,EAAE,8DAA8D;YACxE,WAAW,EAAE,sDAAsD;YACnE,QAAQ,EAAE;gBACR,IAAI,EAAE,SAAS;aAChB;YAC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sBAAU;gBACb,GAAG,6BAAiB;gBACpB,GAAG,yBAAa;gBAChB,GAAG,2BAAe;gBAClB,GAAG,uBAAW;gBACd,GAAG,4BAAgB;gBACnB,GAAG,wBAAY;gBACf,GAAG,6BAAiB;gBACpB,GAAG,yBAAa;gBAChB,GAAG,6BAAiB;gBACpB,GAAG,yBAAa;aACjB;SACF,CAAC;IACJ,CAAC;CAAA;AAnED,0BAmEC"}
1
+ {"version":3,"file":"ListBee.node.js","sourceRoot":"","sources":["../../../nodes/ListBee/ListBee.node.ts"],"names":[],"mappings":";;;AAAA,+CAIsB;AAEtB,2CAqBqB;AAErB,MAAa,OAAO;IAApB;QACE,gBAAW,GAAyB;YAClC,WAAW,EAAE,SAAS;YACtB,IAAI,EAAE,SAAS;YACf,IAAI,EAAE,kBAAkB;YACxB,KAAK,EAAE,CAAC,OAAO,CAAC;YAChB,OAAO,EAAE,CAAC;YACV,QAAQ,EAAE,8DAA8D;YACxE,WAAW,EAAE,sDAAsD;YACnE,QAAQ,EAAE;gBACR,IAAI,EAAE,SAAS;aAChB;YACD,MAAM,EAAE,CAAC,kCAAmB,CAAC,IAAI,CAAC;YAClC,OAAO,EAAE,CAAC,kCAAmB,CAAC,IAAI,CAAC;YACnC,YAAY,EAAE,IAAI;YAClB,WAAW,EAAE;gBACX;oBACE,IAAI,EAAE,YAAY;oBAClB,QAAQ,EAAE,IAAI;iBACf;aACF;YACD,eAAe,EAAE;gBACf,OAAO,EAAE,wBAAwB;gBACjC,OAAO,EAAE;oBACP,MAAM,EAAE,kBAAkB;oBAC1B,cAAc,EAAE,kBAAkB;iBACnC;aACF;YACD,UAAU,EAAE;gBACV;oBACE,WAAW,EAAE,UAAU;oBACvB,IAAI,EAAE,UAAU;oBAChB,IAAI,EAAE,SAAS;oBACf,gBAAgB,EAAE,IAAI;oBACtB,OAAO,EAAE;wBACP,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,EAAE;wBACrC,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,QAAQ,EAAE;wBACpC,EAAE,IAAI,EAAE,UAAU,EAAE,KAAK,EAAE,UAAU,EAAE;wBACvC,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE;wBAC/B,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,EAAE;wBACrC,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE;wBACjC,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE;wBAC/B,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE;wBACnC,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,EAAE;wBACrC,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,EAAE;qBACtC;oBACD,OAAO,EAAE,SAAS;iBACnB;gBACD,GAAG,6BAAiB;gBACpB,GAAG,yBAAa;gBAChB,GAAG,4BAAgB;gBACnB,GAAG,wBAAY;gBACf,GAAG,8BAAkB;gBACrB,GAAG,0BAAc;gBACjB,GAAG,0BAAc;gBACjB,GAAG,sBAAU;gBACb,GAAG,6BAAiB;gBACpB,GAAG,yBAAa;gBAChB,GAAG,2BAAe;gBAClB,GAAG,uBAAW;gBACd,GAAG,0BAAc;gBACjB,GAAG,sBAAU;gBACb,GAAG,4BAAgB;gBACnB,GAAG,wBAAY;gBACf,GAAG,6BAAiB;gBACpB,GAAG,yBAAa;gBAChB,GAAG,6BAAiB;gBACpB,GAAG,yBAAa;aACjB;SACF,CAAC;IACJ,CAAC;CAAA;AAtED,0BAsEC"}
@@ -4,6 +4,7 @@ export { customerOperations, customerFields } from './customer';
4
4
  export { fileOperations, fileFields } from './file';
5
5
  export { listingOperations, listingFields } from './listing';
6
6
  export { orderOperations, orderFields } from './order';
7
+ export { planOperations, planFields } from './plans';
7
8
  export { stripeOperations, stripeFields } from './stripe';
8
9
  export { utilityOperations, utilityFields } from './utility';
9
10
  export { webhookOperations, webhookFields } from './webhook';
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.webhookFields = exports.webhookOperations = exports.utilityFields = exports.utilityOperations = exports.stripeFields = exports.stripeOperations = exports.orderFields = exports.orderOperations = exports.listingFields = exports.listingOperations = exports.fileFields = exports.fileOperations = exports.customerFields = exports.customerOperations = exports.apiKeyFields = exports.apiKeyOperations = exports.accountFields = exports.accountOperations = void 0;
3
+ exports.webhookFields = exports.webhookOperations = exports.utilityFields = exports.utilityOperations = exports.stripeFields = exports.stripeOperations = exports.planFields = exports.planOperations = exports.orderFields = exports.orderOperations = exports.listingFields = exports.listingOperations = exports.fileFields = exports.fileOperations = exports.customerFields = exports.customerOperations = exports.apiKeyFields = exports.apiKeyOperations = exports.accountFields = exports.accountOperations = void 0;
4
4
  var account_1 = require("./account");
5
5
  Object.defineProperty(exports, "accountOperations", { enumerable: true, get: function () { return account_1.accountOperations; } });
6
6
  Object.defineProperty(exports, "accountFields", { enumerable: true, get: function () { return account_1.accountFields; } });
@@ -19,6 +19,9 @@ Object.defineProperty(exports, "listingFields", { enumerable: true, get: functio
19
19
  var order_1 = require("./order");
20
20
  Object.defineProperty(exports, "orderOperations", { enumerable: true, get: function () { return order_1.orderOperations; } });
21
21
  Object.defineProperty(exports, "orderFields", { enumerable: true, get: function () { return order_1.orderFields; } });
22
+ var plans_1 = require("./plans");
23
+ Object.defineProperty(exports, "planOperations", { enumerable: true, get: function () { return plans_1.planOperations; } });
24
+ Object.defineProperty(exports, "planFields", { enumerable: true, get: function () { return plans_1.planFields; } });
22
25
  var stripe_1 = require("./stripe");
23
26
  Object.defineProperty(exports, "stripeOperations", { enumerable: true, get: function () { return stripe_1.stripeOperations; } });
24
27
  Object.defineProperty(exports, "stripeFields", { enumerable: true, get: function () { return stripe_1.stripeFields; } });
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../nodes/ListBee/resources/index.ts"],"names":[],"mappings":";;;AAAA,qCAA6D;AAApD,4GAAA,iBAAiB,OAAA;AAAE,wGAAA,aAAa,OAAA;AACzC,qCAA2D;AAAlD,2GAAA,gBAAgB,OAAA;AAAE,uGAAA,YAAY,OAAA;AACvC,uCAAgE;AAAvD,8GAAA,kBAAkB,OAAA;AAAE,0GAAA,cAAc,OAAA;AAC3C,+BAAoD;AAA3C,sGAAA,cAAc,OAAA;AAAE,kGAAA,UAAU,OAAA;AACnC,qCAA6D;AAApD,4GAAA,iBAAiB,OAAA;AAAE,wGAAA,aAAa,OAAA;AACzC,iCAAuD;AAA9C,wGAAA,eAAe,OAAA;AAAE,oGAAA,WAAW,OAAA;AACrC,mCAA0D;AAAjD,0GAAA,gBAAgB,OAAA;AAAE,sGAAA,YAAY,OAAA;AACvC,qCAA6D;AAApD,4GAAA,iBAAiB,OAAA;AAAE,wGAAA,aAAa,OAAA;AACzC,qCAA6D;AAApD,4GAAA,iBAAiB,OAAA;AAAE,wGAAA,aAAa,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../nodes/ListBee/resources/index.ts"],"names":[],"mappings":";;;AAAA,qCAA6D;AAApD,4GAAA,iBAAiB,OAAA;AAAE,wGAAA,aAAa,OAAA;AACzC,qCAA2D;AAAlD,2GAAA,gBAAgB,OAAA;AAAE,uGAAA,YAAY,OAAA;AACvC,uCAAgE;AAAvD,8GAAA,kBAAkB,OAAA;AAAE,0GAAA,cAAc,OAAA;AAC3C,+BAAoD;AAA3C,sGAAA,cAAc,OAAA;AAAE,kGAAA,UAAU,OAAA;AACnC,qCAA6D;AAApD,4GAAA,iBAAiB,OAAA;AAAE,wGAAA,aAAa,OAAA;AACzC,iCAAuD;AAA9C,wGAAA,eAAe,OAAA;AAAE,oGAAA,WAAW,OAAA;AACrC,iCAAqD;AAA5C,uGAAA,cAAc,OAAA;AAAE,mGAAA,UAAU,OAAA;AACnC,mCAA0D;AAAjD,0GAAA,gBAAgB,OAAA;AAAE,sGAAA,YAAY,OAAA;AACvC,qCAA6D;AAApD,4GAAA,iBAAiB,OAAA;AAAE,wGAAA,aAAa,OAAA;AACzC,qCAA6D;AAApD,4GAAA,iBAAiB,OAAA;AAAE,wGAAA,aAAa,OAAA"}
@@ -0,0 +1,3 @@
1
+ import type { INodeProperties } from 'n8n-workflow';
2
+ export declare const planOperations: INodeProperties[];
3
+ export declare const planFields: INodeProperties[];
@@ -0,0 +1,38 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.planFields = exports.planOperations = void 0;
4
+ const fields_1 = require("../utils/fields");
5
+ const errors_1 = require("../utils/errors");
6
+ exports.planOperations = [
7
+ {
8
+ displayName: 'Operation',
9
+ name: 'operation',
10
+ type: 'options',
11
+ noDataExpression: true,
12
+ displayOptions: {
13
+ show: { resource: ['plan'] },
14
+ },
15
+ options: [
16
+ {
17
+ name: 'List',
18
+ value: 'list',
19
+ action: 'List all plans',
20
+ description: 'List all available plans with pricing. Public endpoint — no authentication required.',
21
+ routing: {
22
+ request: {
23
+ method: 'GET',
24
+ url: '/v1/plans',
25
+ },
26
+ output: {
27
+ postReceive: [errors_1.handleApiError],
28
+ },
29
+ },
30
+ },
31
+ ],
32
+ default: 'list',
33
+ },
34
+ ];
35
+ exports.planFields = [
36
+ ...(0, fields_1.paginationFields)('list'),
37
+ ];
38
+ //# sourceMappingURL=plans.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plans.js","sourceRoot":"","sources":["../../../../nodes/ListBee/resources/plans.ts"],"names":[],"mappings":";;;AACA,4CAAmD;AACnD,4CAAiD;AAEpC,QAAA,cAAc,GAAsB;IAC/C;QACE,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,gBAAgB,EAAE,IAAI;QACtB,cAAc,EAAE;YACd,IAAI,EAAE,EAAE,QAAQ,EAAE,CAAC,MAAM,CAAC,EAAE;SAC7B;QACD,OAAO,EAAE;YACP;gBACE,IAAI,EAAE,MAAM;gBACZ,KAAK,EAAE,MAAM;gBACb,MAAM,EAAE,gBAAgB;gBACxB,WAAW,EAAE,sFAAsF;gBACnG,OAAO,EAAE;oBACP,OAAO,EAAE;wBACP,MAAM,EAAE,KAAK;wBACb,GAAG,EAAE,WAAW;qBACjB;oBACD,MAAM,EAAE;wBACN,WAAW,EAAE,CAAC,uBAAc,CAAC;qBAC9B;iBACF;aACF;SACF;QACD,OAAO,EAAE,MAAM;KAChB;CACF,CAAC;AAEW,QAAA,UAAU,GAAsB;IAE3C,GAAG,IAAA,yBAAgB,EAAC,MAAM,CAAC;CAC5B,CAAC"}
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n8n-nodes-listbee",
3
- "version": "0.13.0",
3
+ "version": "0.13.1",
4
4
  "description": "n8n community node for the ListBee commerce API",
5
5
  "license": "MIT",
6
6
  "homepage": "https://listbee.so",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n8n-nodes-listbee",
3
- "version": "0.13.0",
3
+ "version": "0.13.1",
4
4
  "description": "n8n community node for the ListBee commerce API",
5
5
  "license": "MIT",
6
6
  "homepage": "https://listbee.so",