@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.
- package/README.md +3 -2
- package/dist/nodes/Weclapp/descriptions/article/Article.resource.js +7 -77
- package/dist/nodes/Weclapp/descriptions/article/Article.resource.js.map +1 -1
- package/dist/nodes/Weclapp/descriptions/article/count.operation.d.ts +4 -3
- package/dist/nodes/Weclapp/descriptions/article/count.operation.js +14 -2
- package/dist/nodes/Weclapp/descriptions/article/count.operation.js.map +1 -1
- package/dist/nodes/Weclapp/descriptions/article/query.operation.d.ts +4 -3
- package/dist/nodes/Weclapp/descriptions/article/query.operation.js +14 -2
- package/dist/nodes/Weclapp/descriptions/article/query.operation.js.map +1 -1
- package/dist/nodes/Weclapp/descriptions/article/queryId.operation.d.ts +4 -3
- package/dist/nodes/Weclapp/descriptions/article/queryId.operation.js +14 -2
- package/dist/nodes/Weclapp/descriptions/article/queryId.operation.js.map +1 -1
- package/dist/nodes/Weclapp/descriptions/party/Party.resource.js +9 -77
- package/dist/nodes/Weclapp/descriptions/party/Party.resource.js.map +1 -1
- package/dist/nodes/Weclapp/descriptions/party/count.operation.d.ts +4 -3
- package/dist/nodes/Weclapp/descriptions/party/count.operation.js +14 -2
- package/dist/nodes/Weclapp/descriptions/party/count.operation.js.map +1 -1
- package/dist/nodes/Weclapp/descriptions/party/create.operation.d.ts +4 -3
- package/dist/nodes/Weclapp/descriptions/party/create.operation.js +14 -2
- package/dist/nodes/Weclapp/descriptions/party/create.operation.js.map +1 -1
- package/dist/nodes/Weclapp/descriptions/party/query.operation.d.ts +4 -3
- package/dist/nodes/Weclapp/descriptions/party/query.operation.js +14 -2
- package/dist/nodes/Weclapp/descriptions/party/query.operation.js.map +1 -1
- package/dist/nodes/Weclapp/descriptions/party/queryId.operation.d.ts +29 -0
- package/dist/nodes/Weclapp/descriptions/party/queryId.operation.js +44 -0
- package/dist/nodes/Weclapp/descriptions/party/queryId.operation.js.map +1 -0
- package/dist/nodes/Weclapp/descriptions/recurringInvoice/RecurringInvoice.resource.js +5 -63
- package/dist/nodes/Weclapp/descriptions/recurringInvoice/RecurringInvoice.resource.js.map +1 -1
- package/dist/nodes/Weclapp/descriptions/recurringInvoice/count.operation.d.ts +4 -3
- package/dist/nodes/Weclapp/descriptions/recurringInvoice/count.operation.js +14 -2
- package/dist/nodes/Weclapp/descriptions/recurringInvoice/count.operation.js.map +1 -1
- package/dist/nodes/Weclapp/descriptions/recurringInvoice/query.operation.d.ts +4 -3
- package/dist/nodes/Weclapp/descriptions/recurringInvoice/query.operation.js +14 -2
- package/dist/nodes/Weclapp/descriptions/recurringInvoice/query.operation.js.map +1 -1
- package/dist/nodes/Weclapp/descriptions/shared/QueryParameter/pagination.d.ts +2 -1
- package/dist/nodes/Weclapp/descriptions/shared/QueryParameter/pagination.js +38 -0
- package/dist/nodes/Weclapp/descriptions/shared/QueryParameter/pagination.js.map +1 -1
- package/dist/nodes/Weclapp/descriptions/ticket/Ticket.resource.js +18 -117
- package/dist/nodes/Weclapp/descriptions/ticket/Ticket.resource.js.map +1 -1
- package/dist/nodes/Weclapp/descriptions/ticket/count.operation.d.ts +4 -3
- package/dist/nodes/Weclapp/descriptions/ticket/count.operation.js +14 -2
- package/dist/nodes/Weclapp/descriptions/ticket/count.operation.js.map +1 -1
- package/dist/nodes/Weclapp/descriptions/ticket/create.operation.d.ts +4 -3
- package/dist/nodes/Weclapp/descriptions/ticket/create.operation.js +14 -2
- package/dist/nodes/Weclapp/descriptions/ticket/create.operation.js.map +1 -1
- package/dist/nodes/Weclapp/descriptions/ticket/delete.operation.d.ts +4 -3
- package/dist/nodes/Weclapp/descriptions/ticket/delete.operation.js +14 -2
- package/dist/nodes/Weclapp/descriptions/ticket/delete.operation.js.map +1 -1
- package/dist/nodes/Weclapp/descriptions/ticket/query.operation.d.ts +4 -3
- package/dist/nodes/Weclapp/descriptions/ticket/query.operation.js +14 -2
- package/dist/nodes/Weclapp/descriptions/ticket/query.operation.js.map +1 -1
- package/dist/nodes/Weclapp/descriptions/ticket/queryId.operation.d.ts +4 -3
- package/dist/nodes/Weclapp/descriptions/ticket/queryId.operation.js +14 -2
- package/dist/nodes/Weclapp/descriptions/ticket/queryId.operation.js.map +1 -1
- package/dist/nodes/Weclapp/descriptions/ticket/update.operation.d.ts +4 -3
- package/dist/nodes/Weclapp/descriptions/ticket/update.operation.js +14 -2
- package/dist/nodes/Weclapp/descriptions/ticket/update.operation.js.map +1 -1
- package/dist/nodes/Weclapp/descriptions/user/User.resource.js +7 -81
- package/dist/nodes/Weclapp/descriptions/user/User.resource.js.map +1 -1
- package/dist/nodes/Weclapp/descriptions/user/count.operation.d.ts +4 -3
- package/dist/nodes/Weclapp/descriptions/user/count.operation.js +14 -2
- package/dist/nodes/Weclapp/descriptions/user/count.operation.js.map +1 -1
- package/dist/nodes/Weclapp/descriptions/user/create.operation.d.ts +4 -3
- package/dist/nodes/Weclapp/descriptions/user/create.operation.js +18 -2
- package/dist/nodes/Weclapp/descriptions/user/create.operation.js.map +1 -1
- package/dist/nodes/Weclapp/descriptions/user/query.operation.d.ts +4 -3
- package/dist/nodes/Weclapp/descriptions/user/query.operation.js +14 -2
- package/dist/nodes/Weclapp/descriptions/user/query.operation.js.map +1 -1
- package/dist/nodes/Weclapp/descriptions/webhook/Webhook.resource.js +18 -117
- package/dist/nodes/Weclapp/descriptions/webhook/Webhook.resource.js.map +1 -1
- package/dist/nodes/Weclapp/descriptions/webhook/count.operation.d.ts +4 -3
- package/dist/nodes/Weclapp/descriptions/webhook/count.operation.js +14 -2
- package/dist/nodes/Weclapp/descriptions/webhook/count.operation.js.map +1 -1
- package/dist/nodes/Weclapp/descriptions/webhook/create.operation.d.ts +4 -3
- package/dist/nodes/Weclapp/descriptions/webhook/create.operation.js +14 -2
- package/dist/nodes/Weclapp/descriptions/webhook/create.operation.js.map +1 -1
- package/dist/nodes/Weclapp/descriptions/webhook/delete.operation.d.ts +4 -3
- package/dist/nodes/Weclapp/descriptions/webhook/delete.operation.js +14 -2
- package/dist/nodes/Weclapp/descriptions/webhook/delete.operation.js.map +1 -1
- package/dist/nodes/Weclapp/descriptions/webhook/query.operation.d.ts +4 -3
- package/dist/nodes/Weclapp/descriptions/webhook/query.operation.js +14 -2
- package/dist/nodes/Weclapp/descriptions/webhook/query.operation.js.map +1 -1
- package/dist/nodes/Weclapp/descriptions/webhook/queryId.operation.d.ts +4 -3
- package/dist/nodes/Weclapp/descriptions/webhook/queryId.operation.js +14 -2
- package/dist/nodes/Weclapp/descriptions/webhook/queryId.operation.js.map +1 -1
- package/dist/nodes/Weclapp/descriptions/webhook/update.operation.d.ts +4 -3
- package/dist/nodes/Weclapp/descriptions/webhook/update.operation.js +14 -2
- package/dist/nodes/Weclapp/descriptions/webhook/update.operation.js.map +1 -1
- package/dist/package.json +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -46,7 +46,7 @@ This node currently supports the following weclapp resources and operations:
|
|
|
46
46
|
| Query party | [GET /party](https://www.weclapp.com/api/#get-/party) | ✅ |
|
|
47
47
|
| Create party | [POST /party](https://www.weclapp.com/api/#post-/party) | ✅ |
|
|
48
48
|
| Count parties | [GET /party/count](https://www.weclapp.com/api/#get-/party/count) | ✅ |
|
|
49
|
-
| Query party by id | [GET /party/id/{id}](https://www.weclapp.com/api/#get-/party/id/-id-) |
|
|
49
|
+
| Query party by id | [GET /party/id/{id}](https://www.weclapp.com/api/#get-/party/id/-id-) | ✅ |
|
|
50
50
|
| Update party | [PUT /party/id/{id}](https://www.weclapp.com/api/#put-/party/id/-id-) | 🚫 |
|
|
51
51
|
| Delete party | [DELETE /party/id/{id}](https://www.weclapp.com/api/#delete-/party/id/-id-) | 🚫 |
|
|
52
52
|
| Create public page | [POST /party/id/{id}/createPublicPage](https://www.weclapp.com/api/#post-/party/id/-id-/createPublicPage) | 🚫 |
|
|
@@ -152,7 +152,8 @@ the ticket ID from the event if you need the full ticket details.
|
|
|
152
152
|
|
|
153
153
|
For query operations, use the available query parameters to shape the weclapp request:
|
|
154
154
|
|
|
155
|
-
* **
|
|
155
|
+
* **Return All** automatically fetches every page and outputs each matching record as an n8n item. Filters, sorting, and selected properties still apply.
|
|
156
|
+
* With **Return All** off (the default), enable **Use Pagination** to control **Page**, **Page Size**, and **Offset** manually.
|
|
156
157
|
* **Sort** adds one or more sort criteria.
|
|
157
158
|
* **Filter Mode** supports basic n8n filters or advanced weclapp filter operators.
|
|
158
159
|
* **Properties** limits the returned fields.
|
|
@@ -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
|
|
38
|
-
const
|
|
39
|
-
const
|
|
4
|
+
const count_operation_1 = require("./count.operation");
|
|
5
|
+
const query_operation_1 = require("./query.operation");
|
|
6
|
+
const queryId_operation_1 = require("./queryId.operation");
|
|
40
7
|
exports.description = [
|
|
41
8
|
{
|
|
42
9
|
displayName: 'Operation',
|
|
@@ -49,47 +16,10 @@ exports.description = [
|
|
|
49
16
|
resource: ['article'],
|
|
50
17
|
},
|
|
51
18
|
},
|
|
52
|
-
options: [
|
|
53
|
-
{
|
|
54
|
-
name: 'Get Many',
|
|
55
|
-
description: 'Retrieve a list of articles',
|
|
56
|
-
value: 'query',
|
|
57
|
-
routing: {
|
|
58
|
-
request: {
|
|
59
|
-
method: 'GET',
|
|
60
|
-
url: '/article',
|
|
61
|
-
},
|
|
62
|
-
},
|
|
63
|
-
action: 'Get many articles',
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
name: 'Count',
|
|
67
|
-
description: 'Count articles',
|
|
68
|
-
value: 'count',
|
|
69
|
-
routing: {
|
|
70
|
-
request: {
|
|
71
|
-
method: 'GET',
|
|
72
|
-
url: '/article/count',
|
|
73
|
-
},
|
|
74
|
-
},
|
|
75
|
-
action: 'Count articles',
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
name: 'Get',
|
|
79
|
-
description: 'Retrieve an article',
|
|
80
|
-
value: 'queryId',
|
|
81
|
-
routing: {
|
|
82
|
-
request: {
|
|
83
|
-
method: 'GET',
|
|
84
|
-
url: '=/article/id/{{ $parameter.articleId }}',
|
|
85
|
-
},
|
|
86
|
-
},
|
|
87
|
-
action: 'Get article',
|
|
88
|
-
},
|
|
89
|
-
],
|
|
19
|
+
options: [query_operation_1.queryOption, count_operation_1.countOption, queryId_operation_1.queryIdOption],
|
|
90
20
|
},
|
|
91
|
-
...
|
|
92
|
-
...
|
|
93
|
-
...
|
|
21
|
+
...query_operation_1.queryDescription,
|
|
22
|
+
...count_operation_1.countDescription,
|
|
23
|
+
...queryId_operation_1.queryIdDescription,
|
|
94
24
|
];
|
|
95
25
|
//# sourceMappingURL=Article.resource.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Article.resource.js","sourceRoot":"","sources":["../../../../../nodes/Weclapp/descriptions/article/Article.resource.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Article.resource.js","sourceRoot":"","sources":["../../../../../nodes/Weclapp/descriptions/article/Article.resource.ts"],"names":[],"mappings":";;;AACA,uDAAkE;AAClE,uDAAkE;AAClE,2DAAwE;AAE3D,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,SAAS,CAAC;aACrB;SACD;QACD,OAAO,EAAE,CAAC,6BAAW,EAAE,6BAAW,EAAE,iCAAa,CAAC;KAClD;IACD,GAAG,kCAAgB;IACnB,GAAG,kCAAgB;IACnB,GAAG,sCAAkB;CACrB,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { type INodeProperties } from 'n8n-workflow';
|
|
2
|
-
export declare const
|
|
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.
|
|
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 articles',
|
|
9
|
+
value: 'count',
|
|
10
|
+
routing: {
|
|
11
|
+
request: {
|
|
12
|
+
method: 'GET',
|
|
13
|
+
url: '/article/count',
|
|
14
|
+
},
|
|
15
|
+
},
|
|
16
|
+
action: 'Count articles',
|
|
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.
|
|
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/article/count.operation.ts"],"names":[],"mappings":";;;AAAA,+
|
|
1
|
+
{"version":3,"file":"count.operation.js","sourceRoot":"","sources":["../../../../../nodes/Weclapp/descriptions/article/count.operation.ts"],"names":[],"mappings":";;;AAAA,+CAIsB;AACtB,6DAAiE;AAEpD,QAAA,WAAW,GAAyB;IAChD,IAAI,EAAE,OAAO;IACb,WAAW,EAAE,gBAAgB;IAC7B,KAAK,EAAE,OAAO;IACd,OAAO,EAAE;QACR,OAAO,EAAE;YACR,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,gBAAgB;SACrB;KACD;IACD,MAAM,EAAE,gBAAgB;CACxB,CAAC;AAEF,MAAM,UAAU,GAAsB,CAAC,GAAG,sCAAqB,CAAC,CAAC;AAEjE,MAAM,cAAc,GAAG;IACtB,IAAI,EAAE;QACL,QAAQ,EAAE,CAAC,SAAS,CAAC;QACrB,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
|
|
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.
|
|
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 articles',
|
|
9
|
+
value: 'query',
|
|
10
|
+
routing: {
|
|
11
|
+
request: {
|
|
12
|
+
method: 'GET',
|
|
13
|
+
url: '/article',
|
|
14
|
+
},
|
|
15
|
+
},
|
|
16
|
+
action: 'Get many articles',
|
|
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.
|
|
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/article/query.operation.ts"],"names":[],"mappings":";;;AAAA,+
|
|
1
|
+
{"version":3,"file":"query.operation.js","sourceRoot":"","sources":["../../../../../nodes/Weclapp/descriptions/article/query.operation.ts"],"names":[],"mappings":";;;AAAA,+CAIsB;AACtB,6DAKkC;AAErB,QAAA,WAAW,GAAyB;IAChD,IAAI,EAAE,UAAU;IAChB,WAAW,EAAE,6BAA6B;IAC1C,KAAK,EAAE,OAAO;IACd,OAAO,EAAE;QACR,OAAO,EAAE;YACR,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,UAAU;SACf;KACD;IACD,MAAM,EAAE,mBAAmB;CAC3B,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,SAAS,CAAC;QACrB,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
|
|
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,7 +1,19 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.queryIdDescription = exports.queryIdOption = void 0;
|
|
4
4
|
const n8n_workflow_1 = require("n8n-workflow");
|
|
5
|
+
exports.queryIdOption = {
|
|
6
|
+
name: 'Get',
|
|
7
|
+
description: 'Retrieve an article',
|
|
8
|
+
value: 'queryId',
|
|
9
|
+
routing: {
|
|
10
|
+
request: {
|
|
11
|
+
method: 'GET',
|
|
12
|
+
url: '=/article/id/{{ $parameter.articleId }}',
|
|
13
|
+
},
|
|
14
|
+
},
|
|
15
|
+
action: 'Get article',
|
|
16
|
+
};
|
|
5
17
|
const properties = [
|
|
6
18
|
{
|
|
7
19
|
displayName: 'Article ID',
|
|
@@ -28,5 +40,5 @@ const displayOptions = {
|
|
|
28
40
|
operation: ['queryId'],
|
|
29
41
|
},
|
|
30
42
|
};
|
|
31
|
-
exports.
|
|
43
|
+
exports.queryIdDescription = (0, n8n_workflow_1.updateDisplayOptions)(displayOptions, properties);
|
|
32
44
|
//# sourceMappingURL=queryId.operation.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"queryId.operation.js","sourceRoot":"","sources":["../../../../../nodes/Weclapp/descriptions/article/queryId.operation.ts"],"names":[],"mappings":";;;AAAA,+
|
|
1
|
+
{"version":3,"file":"queryId.operation.js","sourceRoot":"","sources":["../../../../../nodes/Weclapp/descriptions/article/queryId.operation.ts"],"names":[],"mappings":";;;AAAA,+CAIsB;AAET,QAAA,aAAa,GAAyB;IAClD,IAAI,EAAE,KAAK;IACX,WAAW,EAAE,qBAAqB;IAClC,KAAK,EAAE,SAAS;IAChB,OAAO,EAAE;QACR,OAAO,EAAE;YACR,MAAM,EAAE,KAAK;YACb,GAAG,EAAE,yCAAyC;SAC9C;KACD;IACD,MAAM,EAAE,aAAa;CACrB,CAAC;AAEF,MAAM,UAAU,GAAsB;IACrC;QACC,WAAW,EAAE,YAAY;QACzB,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,iBAAiB;QACvB,OAAO,EAAE;YACR,IAAI,EAAE,IAAI;YACV,KAAK,EAAE,EAAE;SACT;QACD,KAAK,EAAE;YACN;gBACC,WAAW,EAAE,OAAO;gBACpB,IAAI,EAAE,IAAI;gBACV,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,YAAY;aACzB;SACD;QACD,QAAQ,EAAE,IAAI;KACd;CACD,CAAC;AAEF,MAAM,cAAc,GAAG;IACtB,IAAI,EAAE;QACL,QAAQ,EAAE,CAAC,SAAS,CAAC;QACrB,SAAS,EAAE,CAAC,SAAS,CAAC;KACtB;CACD,CAAC;AAEW,QAAA,kBAAkB,GAAG,IAAA,mCAAoB,EAAC,cAAc,EAAE,UAAU,CAAC,CAAC"}
|
|
@@ -1,42 +1,10 @@
|
|
|
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
|
|
38
|
-
const
|
|
39
|
-
const
|
|
4
|
+
const count_operation_1 = require("./count.operation");
|
|
5
|
+
const create_operation_1 = require("./create.operation");
|
|
6
|
+
const query_operation_1 = require("./query.operation");
|
|
7
|
+
const queryId_operation_1 = require("./queryId.operation");
|
|
40
8
|
exports.description = [
|
|
41
9
|
{
|
|
42
10
|
displayName: 'Operation',
|
|
@@ -49,47 +17,11 @@ exports.description = [
|
|
|
49
17
|
resource: ['party'],
|
|
50
18
|
},
|
|
51
19
|
},
|
|
52
|
-
options: [
|
|
53
|
-
{
|
|
54
|
-
name: 'Get Many',
|
|
55
|
-
description: 'Retrieve a list of parties',
|
|
56
|
-
value: 'query',
|
|
57
|
-
routing: {
|
|
58
|
-
request: {
|
|
59
|
-
method: 'GET',
|
|
60
|
-
url: '/party',
|
|
61
|
-
},
|
|
62
|
-
},
|
|
63
|
-
action: 'Get many parties',
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
name: 'Create',
|
|
67
|
-
description: 'Create a party',
|
|
68
|
-
value: 'create',
|
|
69
|
-
routing: {
|
|
70
|
-
request: {
|
|
71
|
-
method: 'POST',
|
|
72
|
-
url: '/party',
|
|
73
|
-
},
|
|
74
|
-
},
|
|
75
|
-
action: 'Create party',
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
name: 'Count',
|
|
79
|
-
description: 'Count parties',
|
|
80
|
-
value: 'count',
|
|
81
|
-
routing: {
|
|
82
|
-
request: {
|
|
83
|
-
method: 'GET',
|
|
84
|
-
url: '/party/count',
|
|
85
|
-
},
|
|
86
|
-
},
|
|
87
|
-
action: 'Count parties',
|
|
88
|
-
},
|
|
89
|
-
],
|
|
20
|
+
options: [queryId_operation_1.queryIdOption, query_operation_1.queryOption, create_operation_1.createOption, count_operation_1.countOption],
|
|
90
21
|
},
|
|
91
|
-
...
|
|
92
|
-
...
|
|
93
|
-
...
|
|
22
|
+
...query_operation_1.queryDescription,
|
|
23
|
+
...queryId_operation_1.queryIdDescription,
|
|
24
|
+
...create_operation_1.createDescription,
|
|
25
|
+
...count_operation_1.countDescription,
|
|
94
26
|
];
|
|
95
27
|
//# sourceMappingURL=Party.resource.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Party.resource.js","sourceRoot":"","sources":["../../../../../nodes/Weclapp/descriptions/party/Party.resource.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Party.resource.js","sourceRoot":"","sources":["../../../../../nodes/Weclapp/descriptions/party/Party.resource.ts"],"names":[],"mappings":";;;AACA,uDAAkE;AAClE,yDAAqE;AACrE,uDAAkE;AAClE,2DAAwE;AAE3D,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,OAAO,CAAC;aACnB;SACD;QACD,OAAO,EAAE,CAAC,iCAAa,EAAE,6BAAW,EAAE,+BAAY,EAAE,6BAAW,CAAC;KAChE;IACD,GAAG,kCAAgB;IACnB,GAAG,sCAAkB;IACrB,GAAG,oCAAiB;IACpB,GAAG,kCAAgB;CACnB,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { type INodeProperties } from 'n8n-workflow';
|
|
2
|
-
export declare const
|
|
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.
|
|
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 parties',
|
|
9
|
+
value: 'count',
|
|
10
|
+
routing: {
|
|
11
|
+
request: {
|
|
12
|
+
method: 'GET',
|
|
13
|
+
url: '/party/count',
|
|
14
|
+
},
|
|
15
|
+
},
|
|
16
|
+
action: 'Count parties',
|
|
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.
|
|
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/party/count.operation.ts"],"names":[],"mappings":";;;AAAA,+
|
|
1
|
+
{"version":3,"file":"count.operation.js","sourceRoot":"","sources":["../../../../../nodes/Weclapp/descriptions/party/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,cAAc;SACnB;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,OAAO,CAAC;QACnB,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
|
|
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.
|
|
3
|
+
exports.createDescription = exports.createOption = void 0;
|
|
4
4
|
const n8n_workflow_1 = require("n8n-workflow");
|
|
5
5
|
const enum_1 = require("../shared/enum");
|
|
6
6
|
const QueryParameter_1 = require("../shared/QueryParameter");
|
|
7
|
+
exports.createOption = {
|
|
8
|
+
name: 'Create',
|
|
9
|
+
description: 'Create a party',
|
|
10
|
+
value: 'create',
|
|
11
|
+
routing: {
|
|
12
|
+
request: {
|
|
13
|
+
method: 'POST',
|
|
14
|
+
url: '/party',
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
action: 'Create party',
|
|
18
|
+
};
|
|
7
19
|
const properties = [
|
|
8
20
|
QueryParameter_1.dryRunQueryParameter,
|
|
9
21
|
{
|
|
@@ -1650,5 +1662,5 @@ const displayOptions = {
|
|
|
1650
1662
|
operation: ['create'],
|
|
1651
1663
|
},
|
|
1652
1664
|
};
|
|
1653
|
-
exports.
|
|
1665
|
+
exports.createDescription = (0, n8n_workflow_1.updateDisplayOptions)(displayOptions, properties);
|
|
1654
1666
|
//# sourceMappingURL=create.operation.js.map
|