@affeldt28/n8n-nodes-weclapp 1.3.2 → 1.4.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.
Files changed (91) hide show
  1. package/README.md +3 -2
  2. package/dist/nodes/Weclapp/descriptions/article/Article.resource.js +7 -77
  3. package/dist/nodes/Weclapp/descriptions/article/Article.resource.js.map +1 -1
  4. package/dist/nodes/Weclapp/descriptions/article/count.operation.d.ts +4 -3
  5. package/dist/nodes/Weclapp/descriptions/article/count.operation.js +14 -2
  6. package/dist/nodes/Weclapp/descriptions/article/count.operation.js.map +1 -1
  7. package/dist/nodes/Weclapp/descriptions/article/query.operation.d.ts +4 -3
  8. package/dist/nodes/Weclapp/descriptions/article/query.operation.js +14 -2
  9. package/dist/nodes/Weclapp/descriptions/article/query.operation.js.map +1 -1
  10. package/dist/nodes/Weclapp/descriptions/article/queryId.operation.d.ts +4 -3
  11. package/dist/nodes/Weclapp/descriptions/article/queryId.operation.js +14 -2
  12. package/dist/nodes/Weclapp/descriptions/article/queryId.operation.js.map +1 -1
  13. package/dist/nodes/Weclapp/descriptions/party/Party.resource.js +9 -77
  14. package/dist/nodes/Weclapp/descriptions/party/Party.resource.js.map +1 -1
  15. package/dist/nodes/Weclapp/descriptions/party/count.operation.d.ts +4 -3
  16. package/dist/nodes/Weclapp/descriptions/party/count.operation.js +14 -2
  17. package/dist/nodes/Weclapp/descriptions/party/count.operation.js.map +1 -1
  18. package/dist/nodes/Weclapp/descriptions/party/create.operation.d.ts +4 -3
  19. package/dist/nodes/Weclapp/descriptions/party/create.operation.js +14 -2
  20. package/dist/nodes/Weclapp/descriptions/party/create.operation.js.map +1 -1
  21. package/dist/nodes/Weclapp/descriptions/party/query.operation.d.ts +4 -3
  22. package/dist/nodes/Weclapp/descriptions/party/query.operation.js +14 -2
  23. package/dist/nodes/Weclapp/descriptions/party/query.operation.js.map +1 -1
  24. package/dist/nodes/Weclapp/descriptions/party/queryId.operation.d.ts +29 -0
  25. package/dist/nodes/Weclapp/descriptions/party/queryId.operation.js +44 -0
  26. package/dist/nodes/Weclapp/descriptions/party/queryId.operation.js.map +1 -0
  27. package/dist/nodes/Weclapp/descriptions/recurringInvoice/RecurringInvoice.resource.js +5 -63
  28. package/dist/nodes/Weclapp/descriptions/recurringInvoice/RecurringInvoice.resource.js.map +1 -1
  29. package/dist/nodes/Weclapp/descriptions/recurringInvoice/count.operation.d.ts +4 -3
  30. package/dist/nodes/Weclapp/descriptions/recurringInvoice/count.operation.js +14 -2
  31. package/dist/nodes/Weclapp/descriptions/recurringInvoice/count.operation.js.map +1 -1
  32. package/dist/nodes/Weclapp/descriptions/recurringInvoice/query.operation.d.ts +4 -3
  33. package/dist/nodes/Weclapp/descriptions/recurringInvoice/query.operation.js +14 -2
  34. package/dist/nodes/Weclapp/descriptions/recurringInvoice/query.operation.js.map +1 -1
  35. package/dist/nodes/Weclapp/descriptions/shared/QueryParameter/pagination.d.ts +2 -1
  36. package/dist/nodes/Weclapp/descriptions/shared/QueryParameter/pagination.js +38 -0
  37. package/dist/nodes/Weclapp/descriptions/shared/QueryParameter/pagination.js.map +1 -1
  38. package/dist/nodes/Weclapp/descriptions/ticket/Ticket.resource.js +18 -117
  39. package/dist/nodes/Weclapp/descriptions/ticket/Ticket.resource.js.map +1 -1
  40. package/dist/nodes/Weclapp/descriptions/ticket/count.operation.d.ts +4 -3
  41. package/dist/nodes/Weclapp/descriptions/ticket/count.operation.js +14 -2
  42. package/dist/nodes/Weclapp/descriptions/ticket/count.operation.js.map +1 -1
  43. package/dist/nodes/Weclapp/descriptions/ticket/create.operation.d.ts +4 -3
  44. package/dist/nodes/Weclapp/descriptions/ticket/create.operation.js +14 -2
  45. package/dist/nodes/Weclapp/descriptions/ticket/create.operation.js.map +1 -1
  46. package/dist/nodes/Weclapp/descriptions/ticket/delete.operation.d.ts +4 -3
  47. package/dist/nodes/Weclapp/descriptions/ticket/delete.operation.js +14 -2
  48. package/dist/nodes/Weclapp/descriptions/ticket/delete.operation.js.map +1 -1
  49. package/dist/nodes/Weclapp/descriptions/ticket/query.operation.d.ts +4 -3
  50. package/dist/nodes/Weclapp/descriptions/ticket/query.operation.js +14 -2
  51. package/dist/nodes/Weclapp/descriptions/ticket/query.operation.js.map +1 -1
  52. package/dist/nodes/Weclapp/descriptions/ticket/queryId.operation.d.ts +4 -3
  53. package/dist/nodes/Weclapp/descriptions/ticket/queryId.operation.js +14 -2
  54. package/dist/nodes/Weclapp/descriptions/ticket/queryId.operation.js.map +1 -1
  55. package/dist/nodes/Weclapp/descriptions/ticket/update.operation.d.ts +4 -3
  56. package/dist/nodes/Weclapp/descriptions/ticket/update.operation.js +14 -2
  57. package/dist/nodes/Weclapp/descriptions/ticket/update.operation.js.map +1 -1
  58. package/dist/nodes/Weclapp/descriptions/user/User.resource.js +7 -81
  59. package/dist/nodes/Weclapp/descriptions/user/User.resource.js.map +1 -1
  60. package/dist/nodes/Weclapp/descriptions/user/count.operation.d.ts +4 -3
  61. package/dist/nodes/Weclapp/descriptions/user/count.operation.js +14 -2
  62. package/dist/nodes/Weclapp/descriptions/user/count.operation.js.map +1 -1
  63. package/dist/nodes/Weclapp/descriptions/user/create.operation.d.ts +4 -3
  64. package/dist/nodes/Weclapp/descriptions/user/create.operation.js +18 -2
  65. package/dist/nodes/Weclapp/descriptions/user/create.operation.js.map +1 -1
  66. package/dist/nodes/Weclapp/descriptions/user/query.operation.d.ts +4 -3
  67. package/dist/nodes/Weclapp/descriptions/user/query.operation.js +14 -2
  68. package/dist/nodes/Weclapp/descriptions/user/query.operation.js.map +1 -1
  69. package/dist/nodes/Weclapp/descriptions/webhook/Webhook.resource.js +18 -117
  70. package/dist/nodes/Weclapp/descriptions/webhook/Webhook.resource.js.map +1 -1
  71. package/dist/nodes/Weclapp/descriptions/webhook/count.operation.d.ts +4 -3
  72. package/dist/nodes/Weclapp/descriptions/webhook/count.operation.js +14 -2
  73. package/dist/nodes/Weclapp/descriptions/webhook/count.operation.js.map +1 -1
  74. package/dist/nodes/Weclapp/descriptions/webhook/create.operation.d.ts +4 -3
  75. package/dist/nodes/Weclapp/descriptions/webhook/create.operation.js +14 -2
  76. package/dist/nodes/Weclapp/descriptions/webhook/create.operation.js.map +1 -1
  77. package/dist/nodes/Weclapp/descriptions/webhook/delete.operation.d.ts +4 -3
  78. package/dist/nodes/Weclapp/descriptions/webhook/delete.operation.js +14 -2
  79. package/dist/nodes/Weclapp/descriptions/webhook/delete.operation.js.map +1 -1
  80. package/dist/nodes/Weclapp/descriptions/webhook/query.operation.d.ts +4 -3
  81. package/dist/nodes/Weclapp/descriptions/webhook/query.operation.js +14 -2
  82. package/dist/nodes/Weclapp/descriptions/webhook/query.operation.js.map +1 -1
  83. package/dist/nodes/Weclapp/descriptions/webhook/queryId.operation.d.ts +4 -3
  84. package/dist/nodes/Weclapp/descriptions/webhook/queryId.operation.js +14 -2
  85. package/dist/nodes/Weclapp/descriptions/webhook/queryId.operation.js.map +1 -1
  86. package/dist/nodes/Weclapp/descriptions/webhook/update.operation.d.ts +4 -3
  87. package/dist/nodes/Weclapp/descriptions/webhook/update.operation.js +14 -2
  88. package/dist/nodes/Weclapp/descriptions/webhook/update.operation.js.map +1 -1
  89. package/dist/package.json +1 -1
  90. package/dist/tsconfig.tsbuildinfo +1 -1
  91. package/package.json +1 -1
@@ -1,45 +1,12 @@
1
1
  "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || (function () {
19
- var ownKeys = function(o) {
20
- ownKeys = Object.getOwnPropertyNames || function (o) {
21
- var ar = [];
22
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
- return ar;
24
- };
25
- return ownKeys(o);
26
- };
27
- return function (mod) {
28
- if (mod && mod.__esModule) return mod;
29
- var result = {};
30
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
- __setModuleDefault(result, mod);
32
- return result;
33
- };
34
- })();
35
2
  Object.defineProperty(exports, "__esModule", { value: true });
36
3
  exports.description = void 0;
37
- const count = __importStar(require("./count.operation"));
38
- const create = __importStar(require("./create.operation"));
39
- const delete_ = __importStar(require("./delete.operation"));
40
- const query = __importStar(require("./query.operation"));
41
- const queryId = __importStar(require("./queryId.operation"));
42
- const update = __importStar(require("./update.operation"));
4
+ const count_operation_1 = require("./count.operation");
5
+ const create_operation_1 = require("./create.operation");
6
+ const delete_operation_1 = require("./delete.operation");
7
+ const query_operation_1 = require("./query.operation");
8
+ const queryId_operation_1 = require("./queryId.operation");
9
+ const update_operation_1 = require("./update.operation");
43
10
  exports.description = [
44
11
  {
45
12
  displayName: 'Operation',
@@ -53,85 +20,19 @@ exports.description = [
53
20
  },
54
21
  },
55
22
  options: [
56
- {
57
- name: 'Count',
58
- description: 'Count tickets',
59
- value: 'count',
60
- routing: {
61
- request: {
62
- method: 'GET',
63
- url: '/ticket/count',
64
- },
65
- },
66
- action: 'Count tickets',
67
- },
68
- {
69
- name: 'Create',
70
- description: 'Create a ticket',
71
- value: 'create',
72
- routing: {
73
- request: {
74
- method: 'POST',
75
- url: '/ticket',
76
- },
77
- },
78
- action: 'Create a ticket',
79
- },
80
- {
81
- name: 'Delete',
82
- description: 'Delete a ticket',
83
- value: 'delete',
84
- routing: {
85
- request: {
86
- method: 'DELETE',
87
- url: '=/ticket/id/{{ $parameter.ticketId }}',
88
- },
89
- },
90
- action: 'Delete a ticket',
91
- },
92
- {
93
- name: 'Get',
94
- description: 'Retrieve a ticket',
95
- value: 'queryId',
96
- routing: {
97
- request: {
98
- method: 'GET',
99
- url: '=/ticket/id/{{ $parameter.ticketId }}',
100
- },
101
- },
102
- action: 'Get ticket',
103
- },
104
- {
105
- name: 'Get Many',
106
- description: 'Retrieve a list of tickets',
107
- value: 'query',
108
- routing: {
109
- request: {
110
- method: 'GET',
111
- url: '/ticket',
112
- },
113
- },
114
- action: 'Get many tickets',
115
- },
116
- {
117
- name: 'Update',
118
- description: 'Update a ticket',
119
- value: 'update',
120
- routing: {
121
- request: {
122
- method: 'PUT',
123
- url: '=/ticket/id/{{ $parameter.ticketId }}',
124
- },
125
- },
126
- action: 'Update a ticket',
127
- },
23
+ count_operation_1.countOption,
24
+ create_operation_1.createOption,
25
+ delete_operation_1.deleteOption,
26
+ queryId_operation_1.queryIdOption,
27
+ query_operation_1.queryOption,
28
+ update_operation_1.updateOption,
128
29
  ],
129
30
  },
130
- ...count.description,
131
- ...create.description,
132
- ...delete_.description,
133
- ...query.description,
134
- ...queryId.description,
135
- ...update.description,
31
+ ...count_operation_1.countDescription,
32
+ ...create_operation_1.createDescription,
33
+ ...delete_operation_1.deleteDescription,
34
+ ...query_operation_1.queryDescription,
35
+ ...queryId_operation_1.queryIdDescription,
36
+ ...update_operation_1.updateDescription,
136
37
  ];
137
38
  //# sourceMappingURL=Ticket.resource.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Ticket.resource.js","sourceRoot":"","sources":["../../../../../nodes/Weclapp/descriptions/ticket/Ticket.resource.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,yDAA2C;AAC3C,2DAA6C;AAC7C,4DAA8C;AAC9C,yDAA2C;AAC3C,6DAA+C;AAC/C,2DAA6C;AAEhC,QAAA,WAAW,GAAsB;IAC7C;QACC,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,OAAO,EAAE,OAAO;QAChB,gBAAgB,EAAE,IAAI;QACtB,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,QAAQ,CAAC;aACpB;SACD;QACD,OAAO,EAAE;YACR;gBACC,IAAI,EAAE,OAAO;gBACb,WAAW,EAAE,eAAe;gBAC5B,KAAK,EAAE,OAAO;gBACd,OAAO,EAAE;oBACR,OAAO,EAAE;wBACR,MAAM,EAAE,KAAK;wBACb,GAAG,EAAE,eAAe;qBACpB;iBACD;gBACD,MAAM,EAAE,eAAe;aACvB;YACD;gBACC,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,iBAAiB;gBAC9B,KAAK,EAAE,QAAQ;gBACf,OAAO,EAAE;oBACR,OAAO,EAAE;wBACR,MAAM,EAAE,MAAM;wBACd,GAAG,EAAE,SAAS;qBACd;iBACD;gBACD,MAAM,EAAE,iBAAiB;aACzB;YACD;gBACC,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,iBAAiB;gBAC9B,KAAK,EAAE,QAAQ;gBACf,OAAO,EAAE;oBACR,OAAO,EAAE;wBACR,MAAM,EAAE,QAAQ;wBAChB,GAAG,EAAE,uCAAuC;qBAC5C;iBACD;gBACD,MAAM,EAAE,iBAAiB;aACzB;YACD;gBACC,IAAI,EAAE,KAAK;gBACX,WAAW,EAAE,mBAAmB;gBAChC,KAAK,EAAE,SAAS;gBAChB,OAAO,EAAE;oBACR,OAAO,EAAE;wBACR,MAAM,EAAE,KAAK;wBACb,GAAG,EAAE,uCAAuC;qBAC5C;iBACD;gBACD,MAAM,EAAE,YAAY;aACpB;YACD;gBACC,IAAI,EAAE,UAAU;gBAChB,WAAW,EAAE,4BAA4B;gBACzC,KAAK,EAAE,OAAO;gBACd,OAAO,EAAE;oBACR,OAAO,EAAE;wBACR,MAAM,EAAE,KAAK;wBACb,GAAG,EAAE,SAAS;qBACd;iBACD;gBACD,MAAM,EAAE,kBAAkB;aAC1B;YACD;gBACC,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,iBAAiB;gBAC9B,KAAK,EAAE,QAAQ;gBACf,OAAO,EAAE;oBACR,OAAO,EAAE;wBACR,MAAM,EAAE,KAAK;wBACb,GAAG,EAAE,uCAAuC;qBAC5C;iBACD;gBACD,MAAM,EAAE,iBAAiB;aACzB;SACD;KACD;IACD,GAAG,KAAK,CAAC,WAAW;IACpB,GAAG,MAAM,CAAC,WAAW;IACrB,GAAG,OAAO,CAAC,WAAW;IACtB,GAAG,KAAK,CAAC,WAAW;IACpB,GAAG,OAAO,CAAC,WAAW;IACtB,GAAG,MAAM,CAAC,WAAW;CACrB,CAAC"}
1
+ {"version":3,"file":"Ticket.resource.js","sourceRoot":"","sources":["../../../../../nodes/Weclapp/descriptions/ticket/Ticket.resource.ts"],"names":[],"mappings":";;;AACA,uDAAkE;AAClE,yDAAqE;AACrE,yDAAqE;AACrE,uDAAkE;AAClE,2DAAwE;AACxE,yDAAqE;AAExD,QAAA,WAAW,GAAsB;IAC7C;QACC,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,OAAO,EAAE,OAAO;QAChB,gBAAgB,EAAE,IAAI;QACtB,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,QAAQ,CAAC;aACpB;SACD;QACD,OAAO,EAAE;YACR,6BAAW;YACX,+BAAY;YACZ,+BAAY;YACZ,iCAAa;YACb,6BAAW;YACX,+BAAY;SACZ;KACD;IACD,GAAG,kCAAgB;IACnB,GAAG,oCAAiB;IACpB,GAAG,oCAAiB;IACpB,GAAG,kCAAgB;IACnB,GAAG,sCAAkB;IACrB,GAAG,oCAAiB;CACpB,CAAC"}
@@ -1,5 +1,6 @@
1
- import { type INodeProperties } from 'n8n-workflow';
2
- export declare const description: {
1
+ import { type INodeProperties, type INodePropertyOptions } from 'n8n-workflow';
2
+ export declare const countOption: INodePropertyOptions;
3
+ export declare const countDescription: {
3
4
  displayOptions: import("n8n-workflow").IDisplayOptions;
4
5
  displayName: string;
5
6
  name: string;
@@ -10,7 +11,7 @@ export declare const description: {
10
11
  hint?: string;
11
12
  builderHint?: import("n8n-workflow").IParameterBuilderHint;
12
13
  disabledOptions?: import("n8n-workflow").IDisplayOptions;
13
- options?: Array<import("n8n-workflow").INodePropertyOptions | INodeProperties | import("n8n-workflow").INodePropertyCollection>;
14
+ options?: Array<import("n8n-workflow/dist/esm/interfaces.js").INodePropertyOptions | INodeProperties | import("n8n-workflow").INodePropertyCollection>;
14
15
  placeholder?: string;
15
16
  isNodeSetting?: boolean;
16
17
  noDataExpression?: boolean;
@@ -1,8 +1,20 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.description = void 0;
3
+ exports.countDescription = exports.countOption = void 0;
4
4
  const n8n_workflow_1 = require("n8n-workflow");
5
5
  const QueryParameter_1 = require("../shared/QueryParameter");
6
+ exports.countOption = {
7
+ name: 'Count',
8
+ description: 'Count tickets',
9
+ value: 'count',
10
+ routing: {
11
+ request: {
12
+ method: 'GET',
13
+ url: '/ticket/count',
14
+ },
15
+ },
16
+ action: 'Count tickets',
17
+ };
6
18
  const properties = [...QueryParameter_1.filterQueryParameters];
7
19
  const displayOptions = {
8
20
  show: {
@@ -10,5 +22,5 @@ const displayOptions = {
10
22
  operation: ['count'],
11
23
  },
12
24
  };
13
- exports.description = (0, n8n_workflow_1.updateDisplayOptions)(displayOptions, properties);
25
+ exports.countDescription = (0, n8n_workflow_1.updateDisplayOptions)(displayOptions, properties);
14
26
  //# sourceMappingURL=count.operation.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"count.operation.js","sourceRoot":"","sources":["../../../../../nodes/Weclapp/descriptions/ticket/count.operation.ts"],"names":[],"mappings":";;;AAAA,+CAA0E;AAC1E,6DAAiE;AAEjE,MAAM,UAAU,GAAsB,CAAC,GAAG,sCAAqB,CAAC,CAAC;AAEjE,MAAM,cAAc,GAAG;IACtB,IAAI,EAAE;QACL,QAAQ,EAAE,CAAC,QAAQ,CAAC;QACpB,SAAS,EAAE,CAAC,OAAO,CAAC;KACpB;CACD,CAAC;AAEW,QAAA,WAAW,GAAG,IAAA,mCAAoB,EAAC,cAAc,EAAE,UAAU,CAAC,CAAC"}
1
+ {"version":3,"file":"count.operation.js","sourceRoot":"","sources":["../../../../../nodes/Weclapp/descriptions/ticket/count.operation.ts"],"names":[],"mappings":";;;AAAA,+CAIsB;AACtB,6DAAiE;AAEpD,QAAA,WAAW,GAAyB;IAChD,IAAI,EAAE,OAAO;IACb,WAAW,EAAE,eAAe;IAC5B,KAAK,EAAE,OAAO;IACd,OAAO,EAAE;QACR,OAAO,EAAE;YACR,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,eAAe;SACpB;KACD;IACD,MAAM,EAAE,eAAe;CACvB,CAAC;AAEF,MAAM,UAAU,GAAsB,CAAC,GAAG,sCAAqB,CAAC,CAAC;AAEjE,MAAM,cAAc,GAAG;IACtB,IAAI,EAAE;QACL,QAAQ,EAAE,CAAC,QAAQ,CAAC;QACpB,SAAS,EAAE,CAAC,OAAO,CAAC;KACpB;CACD,CAAC;AAEW,QAAA,gBAAgB,GAAG,IAAA,mCAAoB,EAAC,cAAc,EAAE,UAAU,CAAC,CAAC"}
@@ -1,5 +1,6 @@
1
- import { type INodeProperties } from 'n8n-workflow';
2
- export declare const description: {
1
+ import { type INodeProperties, type INodePropertyOptions } from 'n8n-workflow';
2
+ export declare const createOption: INodePropertyOptions;
3
+ export declare const createDescription: {
3
4
  displayOptions: import("n8n-workflow").IDisplayOptions;
4
5
  displayName: string;
5
6
  name: string;
@@ -10,7 +11,7 @@ export declare const description: {
10
11
  hint?: string;
11
12
  builderHint?: import("n8n-workflow").IParameterBuilderHint;
12
13
  disabledOptions?: import("n8n-workflow").IDisplayOptions;
13
- options?: Array<import("n8n-workflow").INodePropertyOptions | INodeProperties | import("n8n-workflow").INodePropertyCollection>;
14
+ options?: Array<import("n8n-workflow/dist/esm/interfaces.js").INodePropertyOptions | INodeProperties | import("n8n-workflow").INodePropertyCollection>;
14
15
  placeholder?: string;
15
16
  isNodeSetting?: boolean;
16
17
  noDataExpression?: boolean;
@@ -1,9 +1,21 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.description = void 0;
3
+ exports.createDescription = exports.createOption = void 0;
4
4
  const n8n_workflow_1 = require("n8n-workflow");
5
5
  const QueryParameter_1 = require("../shared/QueryParameter");
6
6
  const shared_properties_1 = require("./shared.properties");
7
+ exports.createOption = {
8
+ name: 'Create',
9
+ description: 'Create a ticket',
10
+ value: 'create',
11
+ routing: {
12
+ request: {
13
+ method: 'POST',
14
+ url: '/ticket',
15
+ },
16
+ },
17
+ action: 'Create a ticket',
18
+ };
7
19
  const properties = [QueryParameter_1.dryRunQueryParameter, shared_properties_1.createUpdateProperties];
8
20
  const displayOptions = {
9
21
  show: {
@@ -11,5 +23,5 @@ const displayOptions = {
11
23
  operation: ['create'],
12
24
  },
13
25
  };
14
- exports.description = (0, n8n_workflow_1.updateDisplayOptions)(displayOptions, properties);
26
+ exports.createDescription = (0, n8n_workflow_1.updateDisplayOptions)(displayOptions, properties);
15
27
  //# sourceMappingURL=create.operation.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"create.operation.js","sourceRoot":"","sources":["../../../../../nodes/Weclapp/descriptions/ticket/create.operation.ts"],"names":[],"mappings":";;;AAAA,+CAA0E;AAC1E,6DAAgE;AAChE,2DAA6D;AAE7D,MAAM,UAAU,GAAsB,CAAC,qCAAoB,EAAE,0CAAsB,CAAC,CAAC;AAErF,MAAM,cAAc,GAAG;IACtB,IAAI,EAAE;QACL,QAAQ,EAAE,CAAC,QAAQ,CAAC;QACpB,SAAS,EAAE,CAAC,QAAQ,CAAC;KACrB;CACD,CAAC;AAEW,QAAA,WAAW,GAAG,IAAA,mCAAoB,EAAC,cAAc,EAAE,UAAU,CAAC,CAAC"}
1
+ {"version":3,"file":"create.operation.js","sourceRoot":"","sources":["../../../../../nodes/Weclapp/descriptions/ticket/create.operation.ts"],"names":[],"mappings":";;;AAAA,+CAIsB;AACtB,6DAAgE;AAChE,2DAA6D;AAEhD,QAAA,YAAY,GAAyB;IACjD,IAAI,EAAE,QAAQ;IACd,WAAW,EAAE,iBAAiB;IAC9B,KAAK,EAAE,QAAQ;IACf,OAAO,EAAE;QACR,OAAO,EAAE;YACR,MAAM,EAAE,MAAM;YACd,GAAG,EAAE,SAAS;SACd;KACD;IACD,MAAM,EAAE,iBAAiB;CACzB,CAAC;AAEF,MAAM,UAAU,GAAsB,CAAC,qCAAoB,EAAE,0CAAsB,CAAC,CAAC;AAErF,MAAM,cAAc,GAAG;IACtB,IAAI,EAAE;QACL,QAAQ,EAAE,CAAC,QAAQ,CAAC;QACpB,SAAS,EAAE,CAAC,QAAQ,CAAC;KACrB;CACD,CAAC;AAEW,QAAA,iBAAiB,GAAG,IAAA,mCAAoB,EAAC,cAAc,EAAE,UAAU,CAAC,CAAC"}
@@ -1,5 +1,6 @@
1
- import { type INodeProperties } from 'n8n-workflow';
2
- export declare const description: {
1
+ import { type INodeProperties, type INodePropertyOptions } from 'n8n-workflow';
2
+ export declare const deleteOption: INodePropertyOptions;
3
+ export declare const deleteDescription: {
3
4
  displayOptions: import("n8n-workflow").IDisplayOptions;
4
5
  displayName: string;
5
6
  name: string;
@@ -10,7 +11,7 @@ export declare const description: {
10
11
  hint?: string;
11
12
  builderHint?: import("n8n-workflow").IParameterBuilderHint;
12
13
  disabledOptions?: import("n8n-workflow").IDisplayOptions;
13
- options?: Array<import("n8n-workflow").INodePropertyOptions | INodeProperties | import("n8n-workflow").INodePropertyCollection>;
14
+ options?: Array<import("n8n-workflow/dist/esm/interfaces.js").INodePropertyOptions | INodeProperties | import("n8n-workflow").INodePropertyCollection>;
14
15
  placeholder?: string;
15
16
  isNodeSetting?: boolean;
16
17
  noDataExpression?: boolean;
@@ -1,9 +1,21 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.description = void 0;
3
+ exports.deleteDescription = exports.deleteOption = void 0;
4
4
  const n8n_workflow_1 = require("n8n-workflow");
5
5
  const QueryParameter_1 = require("../shared/QueryParameter");
6
6
  const shared_properties_1 = require("./shared.properties");
7
+ exports.deleteOption = {
8
+ name: 'Delete',
9
+ description: 'Delete a ticket',
10
+ value: 'delete',
11
+ routing: {
12
+ request: {
13
+ method: 'DELETE',
14
+ url: '=/ticket/id/{{ $parameter.ticketId }}',
15
+ },
16
+ },
17
+ action: 'Delete a ticket',
18
+ };
7
19
  const properties = [shared_properties_1.ticketIdParameter, QueryParameter_1.dryRunQueryParameter];
8
20
  const displayOptions = {
9
21
  show: {
@@ -11,5 +23,5 @@ const displayOptions = {
11
23
  operation: ['delete'],
12
24
  },
13
25
  };
14
- exports.description = (0, n8n_workflow_1.updateDisplayOptions)(displayOptions, properties);
26
+ exports.deleteDescription = (0, n8n_workflow_1.updateDisplayOptions)(displayOptions, properties);
15
27
  //# sourceMappingURL=delete.operation.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"delete.operation.js","sourceRoot":"","sources":["../../../../../nodes/Weclapp/descriptions/ticket/delete.operation.ts"],"names":[],"mappings":";;;AAAA,+CAA0E;AAC1E,6DAAgE;AAChE,2DAAwD;AAExD,MAAM,UAAU,GAAsB,CAAC,qCAAiB,EAAE,qCAAoB,CAAC,CAAC;AAEhF,MAAM,cAAc,GAAG;IACtB,IAAI,EAAE;QACL,QAAQ,EAAE,CAAC,QAAQ,CAAC;QACpB,SAAS,EAAE,CAAC,QAAQ,CAAC;KACrB;CACD,CAAC;AAEW,QAAA,WAAW,GAAG,IAAA,mCAAoB,EAAC,cAAc,EAAE,UAAU,CAAC,CAAC"}
1
+ {"version":3,"file":"delete.operation.js","sourceRoot":"","sources":["../../../../../nodes/Weclapp/descriptions/ticket/delete.operation.ts"],"names":[],"mappings":";;;AAAA,+CAIsB;AACtB,6DAAgE;AAChE,2DAAwD;AAE3C,QAAA,YAAY,GAAyB;IACjD,IAAI,EAAE,QAAQ;IACd,WAAW,EAAE,iBAAiB;IAC9B,KAAK,EAAE,QAAQ;IACf,OAAO,EAAE;QACR,OAAO,EAAE;YACR,MAAM,EAAE,QAAQ;YAChB,GAAG,EAAE,uCAAuC;SAC5C;KACD;IACD,MAAM,EAAE,iBAAiB;CACzB,CAAC;AAEF,MAAM,UAAU,GAAsB,CAAC,qCAAiB,EAAE,qCAAoB,CAAC,CAAC;AAEhF,MAAM,cAAc,GAAG;IACtB,IAAI,EAAE;QACL,QAAQ,EAAE,CAAC,QAAQ,CAAC;QACpB,SAAS,EAAE,CAAC,QAAQ,CAAC;KACrB;CACD,CAAC;AAEW,QAAA,iBAAiB,GAAG,IAAA,mCAAoB,EAAC,cAAc,EAAE,UAAU,CAAC,CAAC"}
@@ -1,5 +1,6 @@
1
- import { type INodeProperties } from 'n8n-workflow';
2
- export declare const description: {
1
+ import { type INodeProperties, type INodePropertyOptions } from 'n8n-workflow';
2
+ export declare const queryOption: INodePropertyOptions;
3
+ export declare const queryDescription: {
3
4
  displayOptions: import("n8n-workflow").IDisplayOptions;
4
5
  displayName: string;
5
6
  name: string;
@@ -10,7 +11,7 @@ export declare const description: {
10
11
  hint?: string;
11
12
  builderHint?: import("n8n-workflow").IParameterBuilderHint;
12
13
  disabledOptions?: import("n8n-workflow").IDisplayOptions;
13
- options?: Array<import("n8n-workflow").INodePropertyOptions | INodeProperties | import("n8n-workflow").INodePropertyCollection>;
14
+ options?: Array<import("n8n-workflow/dist/esm/interfaces.js").INodePropertyOptions | INodeProperties | import("n8n-workflow").INodePropertyCollection>;
14
15
  placeholder?: string;
15
16
  isNodeSetting?: boolean;
16
17
  noDataExpression?: boolean;
@@ -1,8 +1,20 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.description = void 0;
3
+ exports.queryDescription = exports.queryOption = void 0;
4
4
  const n8n_workflow_1 = require("n8n-workflow");
5
5
  const QueryParameter_1 = require("../shared/QueryParameter");
6
+ exports.queryOption = {
7
+ name: 'Get Many',
8
+ description: 'Retrieve a list of tickets',
9
+ value: 'query',
10
+ routing: {
11
+ request: {
12
+ method: 'GET',
13
+ url: '/ticket',
14
+ },
15
+ },
16
+ action: 'Get many tickets',
17
+ };
6
18
  const properties = [
7
19
  ...QueryParameter_1.paginationQueryParameters,
8
20
  QueryParameter_1.optionsQueryParameter,
@@ -15,5 +27,5 @@ const displayOptions = {
15
27
  operation: ['query'],
16
28
  },
17
29
  };
18
- exports.description = (0, n8n_workflow_1.updateDisplayOptions)(displayOptions, properties);
30
+ exports.queryDescription = (0, n8n_workflow_1.updateDisplayOptions)(displayOptions, properties);
19
31
  //# sourceMappingURL=query.operation.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"query.operation.js","sourceRoot":"","sources":["../../../../../nodes/Weclapp/descriptions/ticket/query.operation.ts"],"names":[],"mappings":";;;AAAA,+CAA0E;AAC1E,6DAKkC;AAElC,MAAM,UAAU,GAAsB;IACrC,GAAG,0CAAyB;IAC5B,sCAAqB;IACrB,mCAAkB;IAClB,GAAG,sCAAqB;CACxB,CAAC;AAEF,MAAM,cAAc,GAAG;IACtB,IAAI,EAAE;QACL,QAAQ,EAAE,CAAC,QAAQ,CAAC;QACpB,SAAS,EAAE,CAAC,OAAO,CAAC;KACpB;CACD,CAAC;AAEW,QAAA,WAAW,GAAG,IAAA,mCAAoB,EAAC,cAAc,EAAE,UAAU,CAAC,CAAC"}
1
+ {"version":3,"file":"query.operation.js","sourceRoot":"","sources":["../../../../../nodes/Weclapp/descriptions/ticket/query.operation.ts"],"names":[],"mappings":";;;AAAA,+CAIsB;AACtB,6DAKkC;AAErB,QAAA,WAAW,GAAyB;IAChD,IAAI,EAAE,UAAU;IAChB,WAAW,EAAE,4BAA4B;IACzC,KAAK,EAAE,OAAO;IACd,OAAO,EAAE;QACR,OAAO,EAAE;YACR,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,SAAS;SACd;KACD;IACD,MAAM,EAAE,kBAAkB;CAC1B,CAAC;AAEF,MAAM,UAAU,GAAsB;IACrC,GAAG,0CAAyB;IAC5B,sCAAqB;IACrB,mCAAkB;IAClB,GAAG,sCAAqB;CACxB,CAAC;AAEF,MAAM,cAAc,GAAG;IACtB,IAAI,EAAE;QACL,QAAQ,EAAE,CAAC,QAAQ,CAAC;QACpB,SAAS,EAAE,CAAC,OAAO,CAAC;KACpB;CACD,CAAC;AAEW,QAAA,gBAAgB,GAAG,IAAA,mCAAoB,EAAC,cAAc,EAAE,UAAU,CAAC,CAAC"}
@@ -1,5 +1,6 @@
1
- import { type INodeProperties } from 'n8n-workflow';
2
- export declare const description: {
1
+ import { type INodeProperties, type INodePropertyOptions } from 'n8n-workflow';
2
+ export declare const queryIdOption: INodePropertyOptions;
3
+ export declare const queryIdDescription: {
3
4
  displayOptions: import("n8n-workflow").IDisplayOptions;
4
5
  displayName: string;
5
6
  name: string;
@@ -10,7 +11,7 @@ export declare const description: {
10
11
  hint?: string;
11
12
  builderHint?: import("n8n-workflow").IParameterBuilderHint;
12
13
  disabledOptions?: import("n8n-workflow").IDisplayOptions;
13
- options?: Array<import("n8n-workflow").INodePropertyOptions | INodeProperties | import("n8n-workflow").INodePropertyCollection>;
14
+ options?: Array<import("n8n-workflow/dist/esm/interfaces.js").INodePropertyOptions | INodeProperties | import("n8n-workflow").INodePropertyCollection>;
14
15
  placeholder?: string;
15
16
  isNodeSetting?: boolean;
16
17
  noDataExpression?: boolean;
@@ -1,8 +1,20 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.description = void 0;
3
+ exports.queryIdDescription = exports.queryIdOption = void 0;
4
4
  const n8n_workflow_1 = require("n8n-workflow");
5
5
  const shared_properties_1 = require("./shared.properties");
6
+ exports.queryIdOption = {
7
+ name: 'Get',
8
+ description: 'Retrieve a ticket',
9
+ value: 'queryId',
10
+ routing: {
11
+ request: {
12
+ method: 'GET',
13
+ url: '=/ticket/id/{{ $parameter.ticketId }}',
14
+ },
15
+ },
16
+ action: 'Get ticket',
17
+ };
6
18
  const properties = [shared_properties_1.ticketIdParameter];
7
19
  const displayOptions = {
8
20
  show: {
@@ -10,5 +22,5 @@ const displayOptions = {
10
22
  operation: ['queryId'],
11
23
  },
12
24
  };
13
- exports.description = (0, n8n_workflow_1.updateDisplayOptions)(displayOptions, properties);
25
+ exports.queryIdDescription = (0, n8n_workflow_1.updateDisplayOptions)(displayOptions, properties);
14
26
  //# sourceMappingURL=queryId.operation.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"queryId.operation.js","sourceRoot":"","sources":["../../../../../nodes/Weclapp/descriptions/ticket/queryId.operation.ts"],"names":[],"mappings":";;;AAAA,+CAA0E;AAC1E,2DAAwD;AAExD,MAAM,UAAU,GAAsB,CAAC,qCAAiB,CAAC,CAAC;AAE1D,MAAM,cAAc,GAAG;IACtB,IAAI,EAAE;QACL,QAAQ,EAAE,CAAC,QAAQ,CAAC;QACpB,SAAS,EAAE,CAAC,SAAS,CAAC;KACtB;CACD,CAAC;AAEW,QAAA,WAAW,GAAG,IAAA,mCAAoB,EAAC,cAAc,EAAE,UAAU,CAAC,CAAC"}
1
+ {"version":3,"file":"queryId.operation.js","sourceRoot":"","sources":["../../../../../nodes/Weclapp/descriptions/ticket/queryId.operation.ts"],"names":[],"mappings":";;;AAAA,+CAIsB;AACtB,2DAAwD;AAE3C,QAAA,aAAa,GAAyB;IAClD,IAAI,EAAE,KAAK;IACX,WAAW,EAAE,mBAAmB;IAChC,KAAK,EAAE,SAAS;IAChB,OAAO,EAAE;QACR,OAAO,EAAE;YACR,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,uCAAuC;SAC5C;KACD;IACD,MAAM,EAAE,YAAY;CACpB,CAAC;AAEF,MAAM,UAAU,GAAsB,CAAC,qCAAiB,CAAC,CAAC;AAE1D,MAAM,cAAc,GAAG;IACtB,IAAI,EAAE;QACL,QAAQ,EAAE,CAAC,QAAQ,CAAC;QACpB,SAAS,EAAE,CAAC,SAAS,CAAC;KACtB;CACD,CAAC;AAEW,QAAA,kBAAkB,GAAG,IAAA,mCAAoB,EAAC,cAAc,EAAE,UAAU,CAAC,CAAC"}
@@ -1,5 +1,6 @@
1
- import { type INodeProperties } from 'n8n-workflow';
2
- export declare const description: {
1
+ import { type INodeProperties, type INodePropertyOptions } from 'n8n-workflow';
2
+ export declare const updateOption: INodePropertyOptions;
3
+ export declare const updateDescription: {
3
4
  displayOptions: import("n8n-workflow").IDisplayOptions;
4
5
  displayName: string;
5
6
  name: string;
@@ -10,7 +11,7 @@ export declare const description: {
10
11
  hint?: string;
11
12
  builderHint?: import("n8n-workflow").IParameterBuilderHint;
12
13
  disabledOptions?: import("n8n-workflow").IDisplayOptions;
13
- options?: Array<import("n8n-workflow").INodePropertyOptions | INodeProperties | import("n8n-workflow").INodePropertyCollection>;
14
+ options?: Array<import("n8n-workflow/dist/esm/interfaces.js").INodePropertyOptions | INodeProperties | import("n8n-workflow").INodePropertyCollection>;
14
15
  placeholder?: string;
15
16
  isNodeSetting?: boolean;
16
17
  noDataExpression?: boolean;
@@ -1,9 +1,21 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.description = void 0;
3
+ exports.updateDescription = exports.updateOption = void 0;
4
4
  const n8n_workflow_1 = require("n8n-workflow");
5
5
  const QueryParameter_1 = require("../shared/QueryParameter");
6
6
  const shared_properties_1 = require("./shared.properties");
7
+ exports.updateOption = {
8
+ name: 'Update',
9
+ description: 'Update a ticket',
10
+ value: 'update',
11
+ routing: {
12
+ request: {
13
+ method: 'PUT',
14
+ url: '=/ticket/id/{{ $parameter.ticketId }}',
15
+ },
16
+ },
17
+ action: 'Update a ticket',
18
+ };
7
19
  const properties = [
8
20
  shared_properties_1.ticketIdParameter,
9
21
  QueryParameter_1.dryRunQueryParameter,
@@ -15,5 +27,5 @@ const displayOptions = {
15
27
  operation: ['update'],
16
28
  },
17
29
  };
18
- exports.description = (0, n8n_workflow_1.updateDisplayOptions)(displayOptions, properties);
30
+ exports.updateDescription = (0, n8n_workflow_1.updateDisplayOptions)(displayOptions, properties);
19
31
  //# sourceMappingURL=update.operation.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"update.operation.js","sourceRoot":"","sources":["../../../../../nodes/Weclapp/descriptions/ticket/update.operation.ts"],"names":[],"mappings":";;;AAAA,+CAA0E;AAC1E,6DAAgE;AAChE,2DAAgF;AAEhF,MAAM,UAAU,GAAsB;IACrC,qCAAiB;IACjB,qCAAoB;IACpB,0CAAsB;CACtB,CAAC;AAEF,MAAM,cAAc,GAAG;IACtB,IAAI,EAAE;QACL,QAAQ,EAAE,CAAC,QAAQ,CAAC;QACpB,SAAS,EAAE,CAAC,QAAQ,CAAC;KACrB;CACD,CAAC;AAEW,QAAA,WAAW,GAAG,IAAA,mCAAoB,EAAC,cAAc,EAAE,UAAU,CAAC,CAAC"}
1
+ {"version":3,"file":"update.operation.js","sourceRoot":"","sources":["../../../../../nodes/Weclapp/descriptions/ticket/update.operation.ts"],"names":[],"mappings":";;;AAAA,+CAIsB;AACtB,6DAAgE;AAChE,2DAAgF;AAEnE,QAAA,YAAY,GAAyB;IACjD,IAAI,EAAE,QAAQ;IACd,WAAW,EAAE,iBAAiB;IAC9B,KAAK,EAAE,QAAQ;IACf,OAAO,EAAE;QACR,OAAO,EAAE;YACR,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,uCAAuC;SAC5C;KACD;IACD,MAAM,EAAE,iBAAiB;CACzB,CAAC;AAEF,MAAM,UAAU,GAAsB;IACrC,qCAAiB;IACjB,qCAAoB;IACpB,0CAAsB;CACtB,CAAC;AAEF,MAAM,cAAc,GAAG;IACtB,IAAI,EAAE;QACL,QAAQ,EAAE,CAAC,QAAQ,CAAC;QACpB,SAAS,EAAE,CAAC,QAAQ,CAAC;KACrB;CACD,CAAC;AAEW,QAAA,iBAAiB,GAAG,IAAA,mCAAoB,EAAC,cAAc,EAAE,UAAU,CAAC,CAAC"}
@@ -1,42 +1,9 @@
1
1
  "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || (function () {
19
- var ownKeys = function(o) {
20
- ownKeys = Object.getOwnPropertyNames || function (o) {
21
- var ar = [];
22
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
- return ar;
24
- };
25
- return ownKeys(o);
26
- };
27
- return function (mod) {
28
- if (mod && mod.__esModule) return mod;
29
- var result = {};
30
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
- __setModuleDefault(result, mod);
32
- return result;
33
- };
34
- })();
35
2
  Object.defineProperty(exports, "__esModule", { value: true });
36
3
  exports.description = void 0;
37
- const count = __importStar(require("./count.operation"));
38
- const create = __importStar(require("./create.operation"));
39
- const query = __importStar(require("./query.operation"));
4
+ const count_operation_1 = require("./count.operation");
5
+ const create_operation_1 = require("./create.operation");
6
+ const query_operation_1 = require("./query.operation");
40
7
  exports.description = [
41
8
  {
42
9
  displayName: 'Operation',
@@ -49,51 +16,10 @@ exports.description = [
49
16
  resource: ['user'],
50
17
  },
51
18
  },
52
- options: [
53
- {
54
- name: 'Count',
55
- description: 'Count users',
56
- value: 'count',
57
- routing: {
58
- request: {
59
- method: 'GET',
60
- url: '/user/count',
61
- },
62
- },
63
- action: 'Count users',
64
- },
65
- {
66
- name: 'Create',
67
- description: 'Create a user',
68
- value: 'create',
69
- routing: {
70
- request: {
71
- method: 'POST',
72
- url: '/user',
73
- headers: {
74
- 'Content-Type': 'application/json',
75
- },
76
- json: true,
77
- },
78
- },
79
- action: 'Create user',
80
- },
81
- {
82
- name: 'Get Many',
83
- description: 'Retrieve a list of users',
84
- value: 'query',
85
- routing: {
86
- request: {
87
- method: 'GET',
88
- url: '/user',
89
- },
90
- },
91
- action: 'Get many users',
92
- },
93
- ],
19
+ options: [count_operation_1.countOption, create_operation_1.createOption, query_operation_1.queryOption],
94
20
  },
95
- ...count.description,
96
- ...create.description,
97
- ...query.description,
21
+ ...count_operation_1.countDescription,
22
+ ...create_operation_1.createDescription,
23
+ ...query_operation_1.queryDescription,
98
24
  ];
99
25
  //# sourceMappingURL=User.resource.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"User.resource.js","sourceRoot":"","sources":["../../../../../nodes/Weclapp/descriptions/user/User.resource.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,yDAA2C;AAC3C,2DAA6C;AAC7C,yDAA2C;AAE9B,QAAA,WAAW,GAAsB;IAC7C;QACC,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,OAAO,EAAE,OAAO;QAChB,gBAAgB,EAAE,IAAI;QACtB,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,MAAM,CAAC;aAClB;SACD;QACD,OAAO,EAAE;YACR;gBACC,IAAI,EAAE,OAAO;gBACb,WAAW,EAAE,aAAa;gBAC1B,KAAK,EAAE,OAAO;gBACd,OAAO,EAAE;oBACR,OAAO,EAAE;wBACR,MAAM,EAAE,KAAK;wBACb,GAAG,EAAE,aAAa;qBAClB;iBACD;gBACD,MAAM,EAAE,aAAa;aACrB;YACD;gBACC,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,eAAe;gBAC5B,KAAK,EAAE,QAAQ;gBACf,OAAO,EAAE;oBACR,OAAO,EAAE;wBACR,MAAM,EAAE,MAAM;wBACd,GAAG,EAAE,OAAO;wBACZ,OAAO,EAAE;4BACR,cAAc,EAAE,kBAAkB;yBAClC;wBACD,IAAI,EAAE,IAAI;qBACV;iBACD;gBACD,MAAM,EAAE,aAAa;aACrB;YACD;gBACC,IAAI,EAAE,UAAU;gBAChB,WAAW,EAAE,0BAA0B;gBACvC,KAAK,EAAE,OAAO;gBACd,OAAO,EAAE;oBACR,OAAO,EAAE;wBACR,MAAM,EAAE,KAAK;wBACb,GAAG,EAAE,OAAO;qBACZ;iBACD;gBACD,MAAM,EAAE,gBAAgB;aACxB;SACD;KACD;IACD,GAAG,KAAK,CAAC,WAAW;IACpB,GAAG,MAAM,CAAC,WAAW;IACrB,GAAG,KAAK,CAAC,WAAW;CACpB,CAAC"}
1
+ {"version":3,"file":"User.resource.js","sourceRoot":"","sources":["../../../../../nodes/Weclapp/descriptions/user/User.resource.ts"],"names":[],"mappings":";;;AACA,uDAAkE;AAClE,yDAAqE;AACrE,uDAAkE;AAErD,QAAA,WAAW,GAAsB;IAC7C;QACC,WAAW,EAAE,WAAW;QACxB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,SAAS;QACf,OAAO,EAAE,OAAO;QAChB,gBAAgB,EAAE,IAAI;QACtB,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,MAAM,CAAC;aAClB;SACD;QACD,OAAO,EAAE,CAAC,6BAAW,EAAE,+BAAY,EAAE,6BAAW,CAAC;KACjD;IACD,GAAG,kCAAgB;IACnB,GAAG,oCAAiB;IACpB,GAAG,kCAAgB;CACnB,CAAC"}
@@ -1,5 +1,6 @@
1
- import { type INodeProperties } from 'n8n-workflow';
2
- export declare const description: {
1
+ import { type INodeProperties, type INodePropertyOptions } from 'n8n-workflow';
2
+ export declare const countOption: INodePropertyOptions;
3
+ export declare const countDescription: {
3
4
  displayOptions: import("n8n-workflow").IDisplayOptions;
4
5
  displayName: string;
5
6
  name: string;
@@ -10,7 +11,7 @@ export declare const description: {
10
11
  hint?: string;
11
12
  builderHint?: import("n8n-workflow").IParameterBuilderHint;
12
13
  disabledOptions?: import("n8n-workflow").IDisplayOptions;
13
- options?: Array<import("n8n-workflow").INodePropertyOptions | INodeProperties | import("n8n-workflow").INodePropertyCollection>;
14
+ options?: Array<import("n8n-workflow/dist/esm/interfaces.js").INodePropertyOptions | INodeProperties | import("n8n-workflow").INodePropertyCollection>;
14
15
  placeholder?: string;
15
16
  isNodeSetting?: boolean;
16
17
  noDataExpression?: boolean;