@affeldt28/n8n-nodes-weclapp 1.1.0 → 1.2.0
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 +16 -0
- package/dist/nodes/Weclapp/Weclapp.node.js +5 -0
- package/dist/nodes/Weclapp/Weclapp.node.js.map +1 -1
- package/dist/nodes/Weclapp/descriptions/index.d.ts +1 -0
- package/dist/nodes/Weclapp/descriptions/index.js +2 -1
- package/dist/nodes/Weclapp/descriptions/index.js.map +1 -1
- package/dist/nodes/Weclapp/descriptions/ticket/Ticket.resource.d.ts +2 -0
- package/dist/nodes/Weclapp/descriptions/ticket/Ticket.resource.js +137 -0
- package/dist/nodes/Weclapp/descriptions/ticket/Ticket.resource.js.map +1 -0
- package/dist/nodes/Weclapp/descriptions/ticket/count.operation.d.ts +28 -0
- package/dist/nodes/Weclapp/descriptions/ticket/count.operation.js +14 -0
- package/dist/nodes/Weclapp/descriptions/ticket/count.operation.js.map +1 -0
- package/dist/nodes/Weclapp/descriptions/ticket/create.operation.d.ts +28 -0
- package/dist/nodes/Weclapp/descriptions/ticket/create.operation.js +15 -0
- package/dist/nodes/Weclapp/descriptions/ticket/create.operation.js.map +1 -0
- package/dist/nodes/Weclapp/descriptions/ticket/delete.operation.d.ts +28 -0
- package/dist/nodes/Weclapp/descriptions/ticket/delete.operation.js +15 -0
- package/dist/nodes/Weclapp/descriptions/ticket/delete.operation.js.map +1 -0
- package/dist/nodes/Weclapp/descriptions/ticket/query.operation.d.ts +28 -0
- package/dist/nodes/Weclapp/descriptions/ticket/query.operation.js +19 -0
- package/dist/nodes/Weclapp/descriptions/ticket/query.operation.js.map +1 -0
- package/dist/nodes/Weclapp/descriptions/ticket/queryId.operation.d.ts +28 -0
- package/dist/nodes/Weclapp/descriptions/ticket/queryId.operation.js +14 -0
- package/dist/nodes/Weclapp/descriptions/ticket/queryId.operation.js.map +1 -0
- package/dist/nodes/Weclapp/descriptions/ticket/shared.properties.d.ts +3 -0
- package/dist/nodes/Weclapp/descriptions/ticket/shared.properties.js +693 -0
- package/dist/nodes/Weclapp/descriptions/ticket/shared.properties.js.map +1 -0
- package/dist/nodes/Weclapp/descriptions/ticket/update.operation.d.ts +28 -0
- package/dist/nodes/Weclapp/descriptions/ticket/update.operation.js +19 -0
- package/dist/nodes/Weclapp/descriptions/ticket/update.operation.js.map +1 -0
- package/dist/nodes/Weclapp/descriptions/webhook/create.operation.js +2 -2
- package/dist/nodes/Weclapp/descriptions/webhook/create.operation.js.map +1 -1
- package/dist/nodes/Weclapp/descriptions/webhook/delete.operation.js +2 -2
- package/dist/nodes/Weclapp/descriptions/webhook/delete.operation.js.map +1 -1
- package/dist/nodes/Weclapp/descriptions/webhook/queryId.operation.js +2 -2
- package/dist/nodes/Weclapp/descriptions/webhook/queryId.operation.js.map +1 -1
- package/dist/nodes/Weclapp/descriptions/webhook/{shared.js → shared.properties.js} +1 -1
- package/dist/nodes/Weclapp/descriptions/webhook/shared.properties.js.map +1 -0
- package/dist/nodes/Weclapp/descriptions/webhook/update.operation.js +3 -3
- 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/dist/nodes/Weclapp/descriptions/webhook/shared.js.map +0 -1
- /package/dist/nodes/Weclapp/descriptions/webhook/{shared.d.ts → shared.properties.d.ts} +0 -0
package/README.md
CHANGED
|
@@ -82,6 +82,22 @@ This node currently supports the following weclapp resources and operations:
|
|
|
82
82
|
| User image | [GET /user/id/{id}/userImage](https://www.weclapp.com/api/#get-/user/id/-id-/userImage) | 🚫 |
|
|
83
83
|
| User image thumbnail | [GET /user/id/{id}/userImageThumbnail](https://www.weclapp.com/api/#get-/user/id/-id-/userImageThumbnail) | 🚫 |
|
|
84
84
|
|
|
85
|
+
### Ticket
|
|
86
|
+
|
|
87
|
+
| Operation | API | Implemented |
|
|
88
|
+
| ------------------------- | ------------------------------------------------------------------------------------------------------------------------- | ----------- |
|
|
89
|
+
| Query tickets | [GET /ticket](https://www.weclapp.com/api/#get-/ticket) | ✅ |
|
|
90
|
+
| Create ticket | [POST /ticket](https://www.weclapp.com/api/#post-/ticket) | ✅ |
|
|
91
|
+
| Count tickets | [GET /ticket/count](https://www.weclapp.com/api/#get-/ticket/count) | ✅ |
|
|
92
|
+
| Get ticket | [GET /ticket/id/{id}](https://www.weclapp.com/api/#get-/ticket/id/-id-) | ✅ |
|
|
93
|
+
| Update ticket | [PUT /ticket/id/{id}](https://www.weclapp.com/api/#put-/ticket/id/-id-) | ✅ |
|
|
94
|
+
| Delete ticket | [DELETE /ticket/id/{id}](https://www.weclapp.com/api/#delete-/ticket/id/-id-) | ✅ |
|
|
95
|
+
| Create performance record | [POST /ticket/id/{id}/createPerformanceRecord](https://www.weclapp.com/api/#post-/ticket/id/-id-/createPerformanceRecord) | 🚫 |
|
|
96
|
+
| Create public page | [POST /ticket/id/{id}/createPublicPage](https://www.weclapp.com/api/#post-/ticket/id/-id-/createPublicPage) | 🚫 |
|
|
97
|
+
| Disable public page | [POST /ticket/id/{id}/disablePublicPage](https://www.weclapp.com/api/#post-/ticket/id/-id-/disablePublicPage) | 🚫 |
|
|
98
|
+
| Link sales order | [POST /ticket/id/{id}/linkSalesOrder](https://www.weclapp.com/api/#post-/ticket/id/-id-/linkSalesOrder) | 🚫 |
|
|
99
|
+
| Unlink sales order | [POST /ticket/id/{id}/unlinkSalesOrder](https://www.weclapp.com/api/#post-/ticket/id/-id-/unlinkSalesOrder) | 🚫 |
|
|
100
|
+
|
|
85
101
|
### Webhook
|
|
86
102
|
|
|
87
103
|
| Operation | API | Implemented |
|
|
@@ -51,6 +51,10 @@ class Weclapp {
|
|
|
51
51
|
name: 'Party',
|
|
52
52
|
value: 'party',
|
|
53
53
|
},
|
|
54
|
+
{
|
|
55
|
+
name: 'Ticket',
|
|
56
|
+
value: 'ticket',
|
|
57
|
+
},
|
|
54
58
|
{
|
|
55
59
|
name: 'Webhook',
|
|
56
60
|
value: 'webhook',
|
|
@@ -62,6 +66,7 @@ class Weclapp {
|
|
|
62
66
|
...descriptions_1.party.description,
|
|
63
67
|
...descriptions_1.recurringInvoice.description,
|
|
64
68
|
...descriptions_1.user.description,
|
|
69
|
+
...descriptions_1.ticket.description,
|
|
65
70
|
...descriptions_1.webhook.description,
|
|
66
71
|
],
|
|
67
72
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Weclapp.node.js","sourceRoot":"","sources":["../../../nodes/Weclapp/Weclapp.node.ts"],"names":[],"mappings":";;;AAAA,+CAA8F;AAC9F,
|
|
1
|
+
{"version":3,"file":"Weclapp.node.js","sourceRoot":"","sources":["../../../nodes/Weclapp/Weclapp.node.ts"],"names":[],"mappings":";;;AAAA,+CAA8F;AAC9F,iDAAyF;AAEzF,MAAa,OAAO;IAApB;QACC,gBAAW,GAAyB;YACnC,WAAW,EAAE,SAAS;YACtB,IAAI,EAAE,SAAS;YACf,IAAI,EAAE,EAAE,KAAK,EAAE,8BAA8B,EAAE,IAAI,EAAE,8BAA8B,EAAE;YACrF,KAAK,EAAE,CAAC,OAAO,CAAC;YAChB,QAAQ,EAAE,gEAAgE;YAC1E,OAAO,EAAE,CAAC;YACV,WAAW,EAAE,2BAA2B;YACxC,QAAQ,EAAE;gBACT,IAAI,EAAE,SAAS;aACf;YACD,YAAY,EAAE,IAAI;YAClB,MAAM,EAAE,CAAC,kCAAmB,CAAC,IAAI,CAAC;YAClC,OAAO,EAAE,CAAC,kCAAmB,CAAC,IAAI,CAAC;YACnC,WAAW,EAAE;gBACZ;oBACC,IAAI,EAAE,YAAY;oBAClB,QAAQ,EAAE,IAAI;iBACd;aACD;YACD,eAAe,EAAE;gBAChB,OAAO,EAAE,8DAA8D;aACvE;YACD,UAAU,EAAE;gBACX;oBACC,WAAW,EAAE,UAAU;oBACvB,IAAI,EAAE,UAAU;oBAChB,IAAI,EAAE,SAAS;oBACf,gBAAgB,EAAE,IAAI;oBACtB,OAAO,EAAE;wBACR;4BACC,IAAI,EAAE,MAAM;4BACZ,KAAK,EAAE,MAAM;yBACb;wBACD;4BACC,IAAI,EAAE,SAAS;4BACf,KAAK,EAAE,SAAS;yBAChB;wBACD;4BACC,IAAI,EAAE,mBAAmB;4BACzB,KAAK,EAAE,kBAAkB;yBACzB;wBACD;4BACC,IAAI,EAAE,OAAO;4BACb,KAAK,EAAE,OAAO;yBACd;wBACD;4BACC,IAAI,EAAE,QAAQ;4BACd,KAAK,EAAE,QAAQ;yBACf;wBACD;4BACC,IAAI,EAAE,SAAS;4BACf,KAAK,EAAE,SAAS;yBAChB;qBACD;oBACD,OAAO,EAAE,MAAM;iBACf;gBAED,GAAG,sBAAO,CAAC,WAAW;gBACtB,GAAG,oBAAK,CAAC,WAAW;gBACpB,GAAG,+BAAgB,CAAC,WAAW;gBAC/B,GAAG,mBAAI,CAAC,WAAW;gBACnB,GAAG,qBAAM,CAAC,WAAW;gBACrB,GAAG,sBAAO,CAAC,WAAW;aACtB;SACD,CAAC;QACF,YAAO,GAAG,EAAE,CAAC;IACd,CAAC;CAAA;AApED,0BAoEC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export * as article from './article/Article.resource';
|
|
2
2
|
export * as party from './party/Party.resource';
|
|
3
3
|
export * as recurringInvoice from './recurringInvoice/RecurringInvoice.resource';
|
|
4
|
+
export * as ticket from './ticket/Ticket.resource';
|
|
4
5
|
export * as user from './user/User.resource';
|
|
5
6
|
export * as webhook from './webhook/Webhook.resource';
|
|
@@ -33,10 +33,11 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.webhook = exports.user = exports.recurringInvoice = exports.party = exports.article = void 0;
|
|
36
|
+
exports.webhook = exports.user = exports.ticket = exports.recurringInvoice = exports.party = exports.article = void 0;
|
|
37
37
|
exports.article = __importStar(require("./article/Article.resource"));
|
|
38
38
|
exports.party = __importStar(require("./party/Party.resource"));
|
|
39
39
|
exports.recurringInvoice = __importStar(require("./recurringInvoice/RecurringInvoice.resource"));
|
|
40
|
+
exports.ticket = __importStar(require("./ticket/Ticket.resource"));
|
|
40
41
|
exports.user = __importStar(require("./user/User.resource"));
|
|
41
42
|
exports.webhook = __importStar(require("./webhook/Webhook.resource"));
|
|
42
43
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../nodes/Weclapp/descriptions/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAsD;AACtD,gEAAgD;AAChD,iGAAiF;AACjF,6DAA6C;AAC7C,sEAAsD"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../nodes/Weclapp/descriptions/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAsD;AACtD,gEAAgD;AAChD,iGAAiF;AACjF,mEAAmD;AACnD,6DAA6C;AAC7C,sEAAsD"}
|
|
@@ -0,0 +1,137 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
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"));
|
|
43
|
+
exports.description = [
|
|
44
|
+
{
|
|
45
|
+
name: 'operation',
|
|
46
|
+
displayName: 'Operation',
|
|
47
|
+
type: 'options',
|
|
48
|
+
default: 'count',
|
|
49
|
+
noDataExpression: true,
|
|
50
|
+
displayOptions: {
|
|
51
|
+
show: {
|
|
52
|
+
resource: ['ticket'],
|
|
53
|
+
},
|
|
54
|
+
},
|
|
55
|
+
options: [
|
|
56
|
+
{
|
|
57
|
+
name: 'Get Many',
|
|
58
|
+
description: 'Retrieve a list of tickets',
|
|
59
|
+
value: 'query',
|
|
60
|
+
routing: {
|
|
61
|
+
request: {
|
|
62
|
+
method: 'GET',
|
|
63
|
+
url: '/ticket',
|
|
64
|
+
},
|
|
65
|
+
},
|
|
66
|
+
action: 'Get many 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: 'Count',
|
|
82
|
+
description: 'Count tickets',
|
|
83
|
+
value: 'count',
|
|
84
|
+
routing: {
|
|
85
|
+
request: {
|
|
86
|
+
method: 'GET',
|
|
87
|
+
url: '/ticket/count',
|
|
88
|
+
},
|
|
89
|
+
},
|
|
90
|
+
action: 'Count tickets',
|
|
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.value }}',
|
|
100
|
+
},
|
|
101
|
+
},
|
|
102
|
+
action: 'Get ticket',
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
name: 'Update',
|
|
106
|
+
description: 'Update a ticket',
|
|
107
|
+
value: 'update',
|
|
108
|
+
routing: {
|
|
109
|
+
request: {
|
|
110
|
+
method: 'PUT',
|
|
111
|
+
url: '=/ticket/id/{{ $parameter.ticketId.value }}',
|
|
112
|
+
},
|
|
113
|
+
},
|
|
114
|
+
action: 'Update a ticket',
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
name: 'Delete',
|
|
118
|
+
description: 'Delete a ticket',
|
|
119
|
+
value: 'delete',
|
|
120
|
+
routing: {
|
|
121
|
+
request: {
|
|
122
|
+
method: 'DELETE',
|
|
123
|
+
url: '=/ticket/id/{{ $parameter.ticketId.value }}',
|
|
124
|
+
},
|
|
125
|
+
},
|
|
126
|
+
action: 'Delete a ticket',
|
|
127
|
+
},
|
|
128
|
+
],
|
|
129
|
+
},
|
|
130
|
+
...query.description,
|
|
131
|
+
...create.description,
|
|
132
|
+
...count.description,
|
|
133
|
+
...queryId.description,
|
|
134
|
+
...update.description,
|
|
135
|
+
...delete_.description,
|
|
136
|
+
];
|
|
137
|
+
//# sourceMappingURL=Ticket.resource.js.map
|
|
@@ -0,0 +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,IAAI,EAAE,WAAW;QACjB,WAAW,EAAE,WAAW;QACxB,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,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,MAAM;wBACd,GAAG,EAAE,SAAS;qBACd;iBACD;gBACD,MAAM,EAAE,iBAAiB;aACzB;YACD;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,KAAK;gBACX,WAAW,EAAE,mBAAmB;gBAChC,KAAK,EAAE,SAAS;gBAChB,OAAO,EAAE;oBACR,OAAO,EAAE;wBACR,MAAM,EAAE,KAAK;wBACb,GAAG,EAAE,6CAA6C;qBAClD;iBACD;gBACD,MAAM,EAAE,YAAY;aACpB;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,6CAA6C;qBAClD;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,6CAA6C;qBAClD;iBACD;gBACD,MAAM,EAAE,iBAAiB;aACzB;SACD;KACD;IACD,GAAG,KAAK,CAAC,WAAW;IACpB,GAAG,MAAM,CAAC,WAAW;IACrB,GAAG,KAAK,CAAC,WAAW;IACpB,GAAG,OAAO,CAAC,WAAW;IACtB,GAAG,MAAM,CAAC,WAAW;IACrB,GAAG,OAAO,CAAC,WAAW;CACtB,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { type INodeProperties } from 'n8n-workflow';
|
|
2
|
+
export declare const description: {
|
|
3
|
+
displayOptions: import("n8n-workflow").IDisplayOptions;
|
|
4
|
+
displayName: string;
|
|
5
|
+
name: string;
|
|
6
|
+
type: import("n8n-workflow").NodePropertyTypes;
|
|
7
|
+
typeOptions?: import("n8n-workflow").INodePropertyTypeOptions;
|
|
8
|
+
default: import("n8n-workflow").NodeParameterValueType;
|
|
9
|
+
description?: string;
|
|
10
|
+
hint?: string;
|
|
11
|
+
builderHint?: import("n8n-workflow").IParameterBuilderHint;
|
|
12
|
+
disabledOptions?: import("n8n-workflow").IDisplayOptions;
|
|
13
|
+
options?: Array<import("n8n-workflow").INodePropertyOptions | INodeProperties | import("n8n-workflow").INodePropertyCollection>;
|
|
14
|
+
placeholder?: string;
|
|
15
|
+
isNodeSetting?: boolean;
|
|
16
|
+
noDataExpression?: boolean;
|
|
17
|
+
required?: boolean;
|
|
18
|
+
routing?: import("n8n-workflow").INodePropertyRouting;
|
|
19
|
+
credentialTypes?: Array<"extends:oAuth2Api" | "extends:oAuth1Api" | "has:authenticate" | "has:genericAuth">;
|
|
20
|
+
extractValue?: import("n8n-workflow").INodePropertyValueExtractor;
|
|
21
|
+
modes?: import("n8n-workflow").INodePropertyMode[];
|
|
22
|
+
requiresDataPath?: "single" | "multiple";
|
|
23
|
+
doNotInherit?: boolean;
|
|
24
|
+
validateType?: import("n8n-workflow").FieldType;
|
|
25
|
+
ignoreValidationDuringExecution?: boolean;
|
|
26
|
+
allowArbitraryValues?: boolean;
|
|
27
|
+
resolvableField?: boolean;
|
|
28
|
+
}[];
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.description = void 0;
|
|
4
|
+
const n8n_workflow_1 = require("n8n-workflow");
|
|
5
|
+
const QueryParameter_1 = require("../shared/QueryParameter");
|
|
6
|
+
const properties = [...QueryParameter_1.filterQueryParameters];
|
|
7
|
+
const displayOptions = {
|
|
8
|
+
show: {
|
|
9
|
+
resource: ['ticket'],
|
|
10
|
+
operation: ['count'],
|
|
11
|
+
},
|
|
12
|
+
};
|
|
13
|
+
exports.description = (0, n8n_workflow_1.updateDisplayOptions)(displayOptions, properties);
|
|
14
|
+
//# sourceMappingURL=count.operation.js.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { type INodeProperties } from 'n8n-workflow';
|
|
2
|
+
export declare const description: {
|
|
3
|
+
displayOptions: import("n8n-workflow").IDisplayOptions;
|
|
4
|
+
displayName: string;
|
|
5
|
+
name: string;
|
|
6
|
+
type: import("n8n-workflow").NodePropertyTypes;
|
|
7
|
+
typeOptions?: import("n8n-workflow").INodePropertyTypeOptions;
|
|
8
|
+
default: import("n8n-workflow").NodeParameterValueType;
|
|
9
|
+
description?: string;
|
|
10
|
+
hint?: string;
|
|
11
|
+
builderHint?: import("n8n-workflow").IParameterBuilderHint;
|
|
12
|
+
disabledOptions?: import("n8n-workflow").IDisplayOptions;
|
|
13
|
+
options?: Array<import("n8n-workflow").INodePropertyOptions | INodeProperties | import("n8n-workflow").INodePropertyCollection>;
|
|
14
|
+
placeholder?: string;
|
|
15
|
+
isNodeSetting?: boolean;
|
|
16
|
+
noDataExpression?: boolean;
|
|
17
|
+
required?: boolean;
|
|
18
|
+
routing?: import("n8n-workflow").INodePropertyRouting;
|
|
19
|
+
credentialTypes?: Array<"extends:oAuth2Api" | "extends:oAuth1Api" | "has:authenticate" | "has:genericAuth">;
|
|
20
|
+
extractValue?: import("n8n-workflow").INodePropertyValueExtractor;
|
|
21
|
+
modes?: import("n8n-workflow").INodePropertyMode[];
|
|
22
|
+
requiresDataPath?: "single" | "multiple";
|
|
23
|
+
doNotInherit?: boolean;
|
|
24
|
+
validateType?: import("n8n-workflow").FieldType;
|
|
25
|
+
ignoreValidationDuringExecution?: boolean;
|
|
26
|
+
allowArbitraryValues?: boolean;
|
|
27
|
+
resolvableField?: boolean;
|
|
28
|
+
}[];
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.description = void 0;
|
|
4
|
+
const n8n_workflow_1 = require("n8n-workflow");
|
|
5
|
+
const QueryParameter_1 = require("../shared/QueryParameter");
|
|
6
|
+
const shared_properties_1 = require("./shared.properties");
|
|
7
|
+
const properties = [QueryParameter_1.dryRunQueryParameter, shared_properties_1.createUpdateProperties];
|
|
8
|
+
const displayOptions = {
|
|
9
|
+
show: {
|
|
10
|
+
resource: ['ticket'],
|
|
11
|
+
operation: ['create'],
|
|
12
|
+
},
|
|
13
|
+
};
|
|
14
|
+
exports.description = (0, n8n_workflow_1.updateDisplayOptions)(displayOptions, properties);
|
|
15
|
+
//# sourceMappingURL=create.operation.js.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { type INodeProperties } from 'n8n-workflow';
|
|
2
|
+
export declare const description: {
|
|
3
|
+
displayOptions: import("n8n-workflow").IDisplayOptions;
|
|
4
|
+
displayName: string;
|
|
5
|
+
name: string;
|
|
6
|
+
type: import("n8n-workflow").NodePropertyTypes;
|
|
7
|
+
typeOptions?: import("n8n-workflow").INodePropertyTypeOptions;
|
|
8
|
+
default: import("n8n-workflow").NodeParameterValueType;
|
|
9
|
+
description?: string;
|
|
10
|
+
hint?: string;
|
|
11
|
+
builderHint?: import("n8n-workflow").IParameterBuilderHint;
|
|
12
|
+
disabledOptions?: import("n8n-workflow").IDisplayOptions;
|
|
13
|
+
options?: Array<import("n8n-workflow").INodePropertyOptions | INodeProperties | import("n8n-workflow").INodePropertyCollection>;
|
|
14
|
+
placeholder?: string;
|
|
15
|
+
isNodeSetting?: boolean;
|
|
16
|
+
noDataExpression?: boolean;
|
|
17
|
+
required?: boolean;
|
|
18
|
+
routing?: import("n8n-workflow").INodePropertyRouting;
|
|
19
|
+
credentialTypes?: Array<"extends:oAuth2Api" | "extends:oAuth1Api" | "has:authenticate" | "has:genericAuth">;
|
|
20
|
+
extractValue?: import("n8n-workflow").INodePropertyValueExtractor;
|
|
21
|
+
modes?: import("n8n-workflow").INodePropertyMode[];
|
|
22
|
+
requiresDataPath?: "single" | "multiple";
|
|
23
|
+
doNotInherit?: boolean;
|
|
24
|
+
validateType?: import("n8n-workflow").FieldType;
|
|
25
|
+
ignoreValidationDuringExecution?: boolean;
|
|
26
|
+
allowArbitraryValues?: boolean;
|
|
27
|
+
resolvableField?: boolean;
|
|
28
|
+
}[];
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.description = void 0;
|
|
4
|
+
const n8n_workflow_1 = require("n8n-workflow");
|
|
5
|
+
const QueryParameter_1 = require("../shared/QueryParameter");
|
|
6
|
+
const shared_properties_1 = require("./shared.properties");
|
|
7
|
+
const properties = [shared_properties_1.ticketIdParameter, QueryParameter_1.dryRunQueryParameter];
|
|
8
|
+
const displayOptions = {
|
|
9
|
+
show: {
|
|
10
|
+
resource: ['ticket'],
|
|
11
|
+
operation: ['delete'],
|
|
12
|
+
},
|
|
13
|
+
};
|
|
14
|
+
exports.description = (0, n8n_workflow_1.updateDisplayOptions)(displayOptions, properties);
|
|
15
|
+
//# sourceMappingURL=delete.operation.js.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { type INodeProperties } from 'n8n-workflow';
|
|
2
|
+
export declare const description: {
|
|
3
|
+
displayOptions: import("n8n-workflow").IDisplayOptions;
|
|
4
|
+
displayName: string;
|
|
5
|
+
name: string;
|
|
6
|
+
type: import("n8n-workflow").NodePropertyTypes;
|
|
7
|
+
typeOptions?: import("n8n-workflow").INodePropertyTypeOptions;
|
|
8
|
+
default: import("n8n-workflow").NodeParameterValueType;
|
|
9
|
+
description?: string;
|
|
10
|
+
hint?: string;
|
|
11
|
+
builderHint?: import("n8n-workflow").IParameterBuilderHint;
|
|
12
|
+
disabledOptions?: import("n8n-workflow").IDisplayOptions;
|
|
13
|
+
options?: Array<import("n8n-workflow").INodePropertyOptions | INodeProperties | import("n8n-workflow").INodePropertyCollection>;
|
|
14
|
+
placeholder?: string;
|
|
15
|
+
isNodeSetting?: boolean;
|
|
16
|
+
noDataExpression?: boolean;
|
|
17
|
+
required?: boolean;
|
|
18
|
+
routing?: import("n8n-workflow").INodePropertyRouting;
|
|
19
|
+
credentialTypes?: Array<"extends:oAuth2Api" | "extends:oAuth1Api" | "has:authenticate" | "has:genericAuth">;
|
|
20
|
+
extractValue?: import("n8n-workflow").INodePropertyValueExtractor;
|
|
21
|
+
modes?: import("n8n-workflow").INodePropertyMode[];
|
|
22
|
+
requiresDataPath?: "single" | "multiple";
|
|
23
|
+
doNotInherit?: boolean;
|
|
24
|
+
validateType?: import("n8n-workflow").FieldType;
|
|
25
|
+
ignoreValidationDuringExecution?: boolean;
|
|
26
|
+
allowArbitraryValues?: boolean;
|
|
27
|
+
resolvableField?: boolean;
|
|
28
|
+
}[];
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.description = void 0;
|
|
4
|
+
const n8n_workflow_1 = require("n8n-workflow");
|
|
5
|
+
const QueryParameter_1 = require("../shared/QueryParameter");
|
|
6
|
+
const properties = [
|
|
7
|
+
...QueryParameter_1.paginationQueryParameters,
|
|
8
|
+
QueryParameter_1.optionsQueryParameter,
|
|
9
|
+
QueryParameter_1.sortQueryParameter,
|
|
10
|
+
...QueryParameter_1.filterQueryParameters,
|
|
11
|
+
];
|
|
12
|
+
const displayOptions = {
|
|
13
|
+
show: {
|
|
14
|
+
resource: ['ticket'],
|
|
15
|
+
operation: ['query'],
|
|
16
|
+
},
|
|
17
|
+
};
|
|
18
|
+
exports.description = (0, n8n_workflow_1.updateDisplayOptions)(displayOptions, properties);
|
|
19
|
+
//# sourceMappingURL=query.operation.js.map
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { type INodeProperties } from 'n8n-workflow';
|
|
2
|
+
export declare const description: {
|
|
3
|
+
displayOptions: import("n8n-workflow").IDisplayOptions;
|
|
4
|
+
displayName: string;
|
|
5
|
+
name: string;
|
|
6
|
+
type: import("n8n-workflow").NodePropertyTypes;
|
|
7
|
+
typeOptions?: import("n8n-workflow").INodePropertyTypeOptions;
|
|
8
|
+
default: import("n8n-workflow").NodeParameterValueType;
|
|
9
|
+
description?: string;
|
|
10
|
+
hint?: string;
|
|
11
|
+
builderHint?: import("n8n-workflow").IParameterBuilderHint;
|
|
12
|
+
disabledOptions?: import("n8n-workflow").IDisplayOptions;
|
|
13
|
+
options?: Array<import("n8n-workflow").INodePropertyOptions | INodeProperties | import("n8n-workflow").INodePropertyCollection>;
|
|
14
|
+
placeholder?: string;
|
|
15
|
+
isNodeSetting?: boolean;
|
|
16
|
+
noDataExpression?: boolean;
|
|
17
|
+
required?: boolean;
|
|
18
|
+
routing?: import("n8n-workflow").INodePropertyRouting;
|
|
19
|
+
credentialTypes?: Array<"extends:oAuth2Api" | "extends:oAuth1Api" | "has:authenticate" | "has:genericAuth">;
|
|
20
|
+
extractValue?: import("n8n-workflow").INodePropertyValueExtractor;
|
|
21
|
+
modes?: import("n8n-workflow").INodePropertyMode[];
|
|
22
|
+
requiresDataPath?: "single" | "multiple";
|
|
23
|
+
doNotInherit?: boolean;
|
|
24
|
+
validateType?: import("n8n-workflow").FieldType;
|
|
25
|
+
ignoreValidationDuringExecution?: boolean;
|
|
26
|
+
allowArbitraryValues?: boolean;
|
|
27
|
+
resolvableField?: boolean;
|
|
28
|
+
}[];
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.description = void 0;
|
|
4
|
+
const n8n_workflow_1 = require("n8n-workflow");
|
|
5
|
+
const shared_properties_1 = require("./shared.properties");
|
|
6
|
+
const properties = [shared_properties_1.ticketIdParameter];
|
|
7
|
+
const displayOptions = {
|
|
8
|
+
show: {
|
|
9
|
+
resource: ['ticket'],
|
|
10
|
+
operation: ['queryId'],
|
|
11
|
+
},
|
|
12
|
+
};
|
|
13
|
+
exports.description = (0, n8n_workflow_1.updateDisplayOptions)(displayOptions, properties);
|
|
14
|
+
//# sourceMappingURL=queryId.operation.js.map
|
|
@@ -0,0 +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"}
|