@affeldt28/n8n-nodes-weclapp 1.2.0 → 1.2.3
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/dist/credentials/WeclappApi.credentials.d.ts +1 -1
- package/dist/credentials/WeclappApi.credentials.js +2 -2
- package/dist/credentials/WeclappApi.credentials.js.map +1 -1
- package/dist/nodes/Weclapp/Weclapp.node.js +10 -10
- package/dist/nodes/Weclapp/Weclapp.node.js.map +1 -1
- package/dist/nodes/Weclapp/descriptions/article/Article.resource.js +1 -1
- package/dist/nodes/Weclapp/descriptions/article/Article.resource.js.map +1 -1
- package/dist/nodes/Weclapp/descriptions/article/queryId.operation.js +1 -1
- package/dist/nodes/Weclapp/descriptions/article/queryId.operation.js.map +1 -1
- package/dist/nodes/Weclapp/descriptions/party/Party.resource.js +1 -1
- package/dist/nodes/Weclapp/descriptions/party/Party.resource.js.map +1 -1
- package/dist/nodes/Weclapp/descriptions/party/create.operation.js +544 -544
- package/dist/nodes/Weclapp/descriptions/party/create.operation.js.map +1 -1
- package/dist/nodes/Weclapp/descriptions/recurringInvoice/RecurringInvoice.resource.js +2 -2
- package/dist/nodes/Weclapp/descriptions/recurringInvoice/RecurringInvoice.resource.js.map +1 -1
- package/dist/nodes/Weclapp/descriptions/shared/BodyProperties/customAttributes.js +25 -65
- package/dist/nodes/Weclapp/descriptions/shared/BodyProperties/customAttributes.js.map +1 -1
- package/dist/nodes/Weclapp/descriptions/shared/QueryParameter/additionalProperties.js +4 -4
- package/dist/nodes/Weclapp/descriptions/shared/QueryParameter/additionalProperties.js.map +1 -1
- package/dist/nodes/Weclapp/descriptions/shared/QueryParameter/dryRun.js +1 -1
- package/dist/nodes/Weclapp/descriptions/shared/QueryParameter/dryRun.js.map +1 -1
- package/dist/nodes/Weclapp/descriptions/shared/QueryParameter/filter.js +32 -59
- package/dist/nodes/Weclapp/descriptions/shared/QueryParameter/filter.js.map +1 -1
- package/dist/nodes/Weclapp/descriptions/shared/QueryParameter/includeReferencedEntities.js +3 -3
- package/dist/nodes/Weclapp/descriptions/shared/QueryParameter/includeReferencedEntities.js.map +1 -1
- package/dist/nodes/Weclapp/descriptions/shared/QueryParameter/options.js +1 -1
- package/dist/nodes/Weclapp/descriptions/shared/QueryParameter/options.js.map +1 -1
- package/dist/nodes/Weclapp/descriptions/shared/QueryParameter/pagination.js +4 -4
- package/dist/nodes/Weclapp/descriptions/shared/QueryParameter/pagination.js.map +1 -1
- package/dist/nodes/Weclapp/descriptions/shared/QueryParameter/properties.js +3 -3
- package/dist/nodes/Weclapp/descriptions/shared/QueryParameter/properties.js.map +1 -1
- package/dist/nodes/Weclapp/descriptions/shared/QueryParameter/serializeNulls.js +1 -1
- package/dist/nodes/Weclapp/descriptions/shared/QueryParameter/serializeNulls.js.map +1 -1
- package/dist/nodes/Weclapp/descriptions/shared/QueryParameter/sort.js +5 -5
- package/dist/nodes/Weclapp/descriptions/shared/QueryParameter/sort.js.map +1 -1
- package/dist/nodes/Weclapp/descriptions/shared/enum.js +1 -1
- package/dist/nodes/Weclapp/descriptions/ticket/Ticket.resource.js +26 -26
- package/dist/nodes/Weclapp/descriptions/ticket/Ticket.resource.js.map +1 -1
- package/dist/nodes/Weclapp/descriptions/ticket/shared.properties.js +63 -64
- package/dist/nodes/Weclapp/descriptions/ticket/shared.properties.js.map +1 -1
- package/dist/nodes/Weclapp/descriptions/user/User.resource.js +1 -1
- package/dist/nodes/Weclapp/descriptions/user/User.resource.js.map +1 -1
- package/dist/nodes/Weclapp/descriptions/user/create.operation.js +76 -76
- package/dist/nodes/Weclapp/descriptions/user/create.operation.js.map +1 -1
- package/dist/nodes/Weclapp/descriptions/webhook/Webhook.resource.js +23 -23
- package/dist/nodes/Weclapp/descriptions/webhook/Webhook.resource.js.map +1 -1
- package/dist/nodes/Weclapp/descriptions/webhook/shared.properties.js +15 -15
- package/dist/nodes/Weclapp/descriptions/webhook/shared.properties.js.map +1 -1
- package/dist/package.json +5 -3
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +5 -3
|
@@ -7,98 +7,81 @@ const QueryParameter_1 = require("../shared/QueryParameter");
|
|
|
7
7
|
const properties = [
|
|
8
8
|
QueryParameter_1.dryRunQueryParameter,
|
|
9
9
|
{
|
|
10
|
-
name: 'attributes',
|
|
11
10
|
displayName: 'Attributes',
|
|
11
|
+
name: 'attributes',
|
|
12
12
|
type: 'collection',
|
|
13
13
|
default: {},
|
|
14
14
|
placeholder: 'Add Attribute',
|
|
15
15
|
options: [
|
|
16
16
|
{
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
description: '
|
|
20
|
-
type: '
|
|
21
|
-
default: '',
|
|
22
|
-
placeholder: 'e.g. jane.doe',
|
|
23
|
-
routing: {
|
|
24
|
-
send: {
|
|
25
|
-
type: 'body',
|
|
26
|
-
property: 'username',
|
|
27
|
-
},
|
|
28
|
-
},
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
name: 'firstName',
|
|
32
|
-
displayName: 'First Name',
|
|
33
|
-
description: 'The first name of the user',
|
|
34
|
-
type: 'string',
|
|
17
|
+
displayName: 'Birth Date',
|
|
18
|
+
name: 'birthDate',
|
|
19
|
+
description: 'Birth date of the user',
|
|
20
|
+
type: 'dateTime',
|
|
35
21
|
typeOptions: {
|
|
36
|
-
|
|
22
|
+
dateOnly: true,
|
|
37
23
|
},
|
|
38
24
|
default: '',
|
|
39
|
-
placeholder: 'e.g. Jane',
|
|
40
25
|
routing: {
|
|
41
26
|
send: {
|
|
42
27
|
type: 'body',
|
|
43
|
-
property: '
|
|
28
|
+
property: 'birthDate',
|
|
29
|
+
value: '={{ Date.parse($value) }}',
|
|
44
30
|
},
|
|
45
31
|
},
|
|
46
32
|
},
|
|
47
33
|
{
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
description: '
|
|
34
|
+
displayName: 'Email',
|
|
35
|
+
name: 'email',
|
|
36
|
+
description: 'Email address of the user',
|
|
51
37
|
type: 'string',
|
|
52
|
-
typeOptions: {
|
|
53
|
-
maxLength: 50,
|
|
54
|
-
},
|
|
55
38
|
default: '',
|
|
56
|
-
placeholder: 'e.g.
|
|
39
|
+
placeholder: 'e.g. jane.doe@example.com',
|
|
57
40
|
routing: {
|
|
58
41
|
send: {
|
|
59
42
|
type: 'body',
|
|
60
|
-
property: '
|
|
43
|
+
property: 'email',
|
|
61
44
|
},
|
|
62
45
|
},
|
|
63
46
|
},
|
|
64
47
|
{
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
description: '
|
|
48
|
+
displayName: 'Fax Number',
|
|
49
|
+
name: 'faxNumber',
|
|
50
|
+
description: 'Fax number of the user',
|
|
68
51
|
type: 'string',
|
|
69
52
|
typeOptions: {
|
|
70
|
-
maxLength:
|
|
53
|
+
maxLength: 100,
|
|
71
54
|
},
|
|
72
55
|
default: '',
|
|
73
|
-
placeholder: 'e.g.
|
|
56
|
+
placeholder: 'e.g. +49 30 12345678',
|
|
74
57
|
routing: {
|
|
75
58
|
send: {
|
|
76
59
|
type: 'body',
|
|
77
|
-
property: '
|
|
60
|
+
property: 'faxNumber',
|
|
78
61
|
},
|
|
79
62
|
},
|
|
80
63
|
},
|
|
81
64
|
{
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
description: '
|
|
85
|
-
type: '
|
|
65
|
+
displayName: 'First Name',
|
|
66
|
+
name: 'firstName',
|
|
67
|
+
description: 'The first name of the user',
|
|
68
|
+
type: 'string',
|
|
86
69
|
typeOptions: {
|
|
87
|
-
|
|
70
|
+
maxLength: 50,
|
|
88
71
|
},
|
|
89
72
|
default: '',
|
|
73
|
+
placeholder: 'e.g. Jane',
|
|
90
74
|
routing: {
|
|
91
75
|
send: {
|
|
92
76
|
type: 'body',
|
|
93
|
-
property: '
|
|
94
|
-
value: '={{ Date.parse($value) }}',
|
|
77
|
+
property: 'firstName',
|
|
95
78
|
},
|
|
96
79
|
},
|
|
97
80
|
},
|
|
98
81
|
{
|
|
82
|
+
displayName: 'Image ID',
|
|
99
83
|
name: 'imageId',
|
|
100
|
-
|
|
101
|
-
description: 'Id of the image of the user',
|
|
84
|
+
description: 'ID of the image of the user',
|
|
102
85
|
type: 'string',
|
|
103
86
|
default: '',
|
|
104
87
|
placeholder: 'e.g. 12345',
|
|
@@ -110,39 +93,39 @@ const properties = [
|
|
|
110
93
|
},
|
|
111
94
|
},
|
|
112
95
|
{
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
description: '
|
|
96
|
+
displayName: 'Last Name',
|
|
97
|
+
name: 'lastName',
|
|
98
|
+
description: 'The last name of the user',
|
|
116
99
|
type: 'string',
|
|
100
|
+
typeOptions: {
|
|
101
|
+
maxLength: 50,
|
|
102
|
+
},
|
|
117
103
|
default: '',
|
|
118
|
-
placeholder: 'e.g.
|
|
104
|
+
placeholder: 'e.g. Doe',
|
|
119
105
|
routing: {
|
|
120
106
|
send: {
|
|
121
107
|
type: 'body',
|
|
122
|
-
property: '
|
|
108
|
+
property: 'lastName',
|
|
123
109
|
},
|
|
124
110
|
},
|
|
125
111
|
},
|
|
126
112
|
{
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
description: '
|
|
130
|
-
type: '
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
},
|
|
134
|
-
default: '',
|
|
135
|
-
placeholder: 'e.g. +49 30 12345678',
|
|
113
|
+
displayName: 'Licenses',
|
|
114
|
+
name: 'licenses',
|
|
115
|
+
description: 'Licenses assigned to the user as a JSON array',
|
|
116
|
+
type: 'json',
|
|
117
|
+
default: '[]',
|
|
118
|
+
placeholder: 'e.g. ["CRM", "ERP"]',
|
|
136
119
|
routing: {
|
|
137
120
|
send: {
|
|
138
121
|
type: 'body',
|
|
139
|
-
property: '
|
|
122
|
+
property: 'licenses',
|
|
140
123
|
},
|
|
141
124
|
},
|
|
142
125
|
},
|
|
143
126
|
{
|
|
144
|
-
name: 'mobilePhoneNumber',
|
|
145
127
|
displayName: 'Mobile Phone Number',
|
|
128
|
+
name: 'mobilePhoneNumber',
|
|
146
129
|
description: 'Mobile phone number of the user',
|
|
147
130
|
type: 'string',
|
|
148
131
|
typeOptions: {
|
|
@@ -158,9 +141,9 @@ const properties = [
|
|
|
158
141
|
},
|
|
159
142
|
},
|
|
160
143
|
{
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
description: '
|
|
144
|
+
displayName: 'Phone Number',
|
|
145
|
+
name: 'phoneNumber',
|
|
146
|
+
description: 'Phone number of the user',
|
|
164
147
|
type: 'string',
|
|
165
148
|
typeOptions: {
|
|
166
149
|
maxLength: 100,
|
|
@@ -170,16 +153,16 @@ const properties = [
|
|
|
170
153
|
routing: {
|
|
171
154
|
send: {
|
|
172
155
|
type: 'body',
|
|
173
|
-
property: '
|
|
156
|
+
property: 'phoneNumber',
|
|
174
157
|
},
|
|
175
158
|
},
|
|
176
159
|
},
|
|
177
160
|
{
|
|
178
|
-
name: 'status',
|
|
179
161
|
displayName: 'Status',
|
|
162
|
+
name: 'status',
|
|
180
163
|
description: 'Status of the user',
|
|
181
164
|
type: 'options',
|
|
182
|
-
default: '',
|
|
165
|
+
default: 'ACTIVE',
|
|
183
166
|
options: [
|
|
184
167
|
{
|
|
185
168
|
name: 'Active',
|
|
@@ -202,26 +185,29 @@ const properties = [
|
|
|
202
185
|
},
|
|
203
186
|
},
|
|
204
187
|
{
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
description: '
|
|
208
|
-
type: '
|
|
209
|
-
|
|
210
|
-
|
|
188
|
+
displayName: 'Title',
|
|
189
|
+
name: 'title',
|
|
190
|
+
description: 'Title of the user',
|
|
191
|
+
type: 'string',
|
|
192
|
+
typeOptions: {
|
|
193
|
+
maxLength: 1000,
|
|
194
|
+
},
|
|
195
|
+
default: '',
|
|
196
|
+
placeholder: 'e.g. Dr.',
|
|
211
197
|
routing: {
|
|
212
198
|
send: {
|
|
213
199
|
type: 'body',
|
|
214
|
-
property: '
|
|
200
|
+
property: 'title',
|
|
215
201
|
},
|
|
216
202
|
},
|
|
217
203
|
},
|
|
218
204
|
{
|
|
219
|
-
name: 'userRoles',
|
|
220
205
|
displayName: 'User Roles',
|
|
206
|
+
name: 'userRoles',
|
|
221
207
|
description: 'User roles as a JSON array',
|
|
222
208
|
type: 'json',
|
|
223
209
|
default: '[]',
|
|
224
|
-
placeholder: 'e.g. [{"
|
|
210
|
+
placeholder: 'e.g. [{"ID":"12345"}]',
|
|
225
211
|
routing: {
|
|
226
212
|
send: {
|
|
227
213
|
type: 'body',
|
|
@@ -229,6 +215,20 @@ const properties = [
|
|
|
229
215
|
},
|
|
230
216
|
},
|
|
231
217
|
},
|
|
218
|
+
{
|
|
219
|
+
displayName: 'Username',
|
|
220
|
+
name: 'username',
|
|
221
|
+
description: 'Username of the user',
|
|
222
|
+
type: 'string',
|
|
223
|
+
default: '',
|
|
224
|
+
placeholder: 'e.g. jane.doe',
|
|
225
|
+
routing: {
|
|
226
|
+
send: {
|
|
227
|
+
type: 'body',
|
|
228
|
+
property: 'username',
|
|
229
|
+
},
|
|
230
|
+
},
|
|
231
|
+
},
|
|
232
232
|
],
|
|
233
233
|
},
|
|
234
234
|
BodyProperties_1.customAttributesBodyProperties,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create.operation.js","sourceRoot":"","sources":["../../../../../nodes/Weclapp/descriptions/user/create.operation.ts"],"names":[],"mappings":";;;AAAA,+CAA0E;AAC1E,6DAA0E;AAC1E,6DAAgE;AAEhE,MAAM,UAAU,GAAsB;IACrC,qCAAoB;IACpB;QACC,
|
|
1
|
+
{"version":3,"file":"create.operation.js","sourceRoot":"","sources":["../../../../../nodes/Weclapp/descriptions/user/create.operation.ts"],"names":[],"mappings":";;;AAAA,+CAA0E;AAC1E,6DAA0E;AAC1E,6DAAgE;AAEhE,MAAM,UAAU,GAAsB;IACrC,qCAAoB;IACpB;QACC,WAAW,EAAE,YAAY;QACzB,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE,YAAY;QAClB,OAAO,EAAE,EAAE;QACX,WAAW,EAAE,eAA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AAQ,EAAE,WAAW;qBACrB;iBACD;aACD;YACD;gBACC,WAAW,EAAE,UAAU;gBACvB,IAAI,EAAE,UAAU;gBAChB,WAAW,EAAE,sBAAsB;gBACnC,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,EAAE;gBACX,WAAW,EAAE,eAAe;gBAC5B,OAAO,EAAE;oBACR,IAAI,EAAE;wBACL,IAAI,EAAE,MAAM;wBACZ,QAAQ,EAAE,UAAU;qBACpB;iBACD;aACD;SACD;KACD;IACD,+CAA8B;CAC9B,CAAC;AAEF,MAAM,cAAc,GAAG;IACtB,IAAI,EAAE;QACL,QAAQ,EAAE,CAAC,MAAM,CAAC;QAClB,SAAS,EAAE,CAAC,QAAQ,CAAC;KACrB;CACD,CAAC;AAEW,QAAA,WAAW,GAAG,IAAA,mCAAoB,EAAC,cAAc,EAAE,UAAU,CAAC,CAAC"}
|
|
@@ -42,9 +42,9 @@ const queryId = __importStar(require("./queryId.operation"));
|
|
|
42
42
|
const update = __importStar(require("./update.operation"));
|
|
43
43
|
exports.description = [
|
|
44
44
|
{
|
|
45
|
-
name: 'operation',
|
|
46
45
|
displayName: 'Operation',
|
|
47
46
|
type: 'options',
|
|
47
|
+
name: 'operation',
|
|
48
48
|
default: 'count',
|
|
49
49
|
noDataExpression: true,
|
|
50
50
|
displayOptions: {
|
|
@@ -54,16 +54,16 @@ exports.description = [
|
|
|
54
54
|
},
|
|
55
55
|
options: [
|
|
56
56
|
{
|
|
57
|
-
name: '
|
|
58
|
-
description: '
|
|
59
|
-
value: '
|
|
57
|
+
name: 'Count',
|
|
58
|
+
description: 'Count webhooks',
|
|
59
|
+
value: 'count',
|
|
60
60
|
routing: {
|
|
61
61
|
request: {
|
|
62
62
|
method: 'GET',
|
|
63
|
-
url: '/webhook',
|
|
63
|
+
url: '/webhook/count',
|
|
64
64
|
},
|
|
65
65
|
},
|
|
66
|
-
action: '
|
|
66
|
+
action: 'Count webhooks',
|
|
67
67
|
},
|
|
68
68
|
{
|
|
69
69
|
name: 'Create',
|
|
@@ -78,16 +78,16 @@ exports.description = [
|
|
|
78
78
|
action: 'Create a webhook',
|
|
79
79
|
},
|
|
80
80
|
{
|
|
81
|
-
name: '
|
|
82
|
-
description: '
|
|
83
|
-
value: '
|
|
81
|
+
name: 'Delete',
|
|
82
|
+
description: 'Delete a webhook',
|
|
83
|
+
value: 'delete',
|
|
84
84
|
routing: {
|
|
85
85
|
request: {
|
|
86
|
-
method: '
|
|
87
|
-
url: '
|
|
86
|
+
method: 'DELETE',
|
|
87
|
+
url: '=/webhook/id/{{ $parameter.webhookId.value }}',
|
|
88
88
|
},
|
|
89
89
|
},
|
|
90
|
-
action: '
|
|
90
|
+
action: 'Delete a webhook',
|
|
91
91
|
},
|
|
92
92
|
{
|
|
93
93
|
name: 'Get',
|
|
@@ -102,28 +102,28 @@ exports.description = [
|
|
|
102
102
|
action: 'Get webhook',
|
|
103
103
|
},
|
|
104
104
|
{
|
|
105
|
-
name: '
|
|
106
|
-
description: '
|
|
107
|
-
value: '
|
|
105
|
+
name: 'Get Many',
|
|
106
|
+
description: 'Retrieve a list of webhooks',
|
|
107
|
+
value: 'query',
|
|
108
108
|
routing: {
|
|
109
109
|
request: {
|
|
110
|
-
method: '
|
|
111
|
-
url: '
|
|
110
|
+
method: 'GET',
|
|
111
|
+
url: '/webhook',
|
|
112
112
|
},
|
|
113
113
|
},
|
|
114
|
-
action: '
|
|
114
|
+
action: 'Get many webhooks',
|
|
115
115
|
},
|
|
116
116
|
{
|
|
117
|
-
name: '
|
|
118
|
-
description: '
|
|
119
|
-
value: '
|
|
117
|
+
name: 'Update',
|
|
118
|
+
description: 'Update a webhook',
|
|
119
|
+
value: 'update',
|
|
120
120
|
routing: {
|
|
121
121
|
request: {
|
|
122
|
-
method: '
|
|
122
|
+
method: 'PUT',
|
|
123
123
|
url: '=/webhook/id/{{ $parameter.webhookId.value }}',
|
|
124
124
|
},
|
|
125
125
|
},
|
|
126
|
-
action: '
|
|
126
|
+
action: 'Update a webhook',
|
|
127
127
|
},
|
|
128
128
|
],
|
|
129
129
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Webhook.resource.js","sourceRoot":"","sources":["../../../../../nodes/Weclapp/descriptions/webhook/Webhook.resource.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AACA,yDAA2C;AAC3C,2DAA6C;AAC7C,4DAA8C;AAC9C,yDAA2C;AAC3C,6DAA+C;AAC/C,2DAA6C;AAEhC,QAAA,WAAW,GAAsB;IAC7C;QACC,
|
|
1
|
+
{"version":3,"file":"Webhook.resource.js","sourceRoot":"","sources":["../../../../../nodes/Weclapp/descriptions/webhook/Webhook.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,SAAS;QACf,IAAI,EAAE,WAAW;QACjB,OAAO,EAAE,OAAO;QAChB,gBAAgB,EAAE,IAAI;QACtB,cAAc,EAAE;YACf,IAAI,EAAE;gBACL,QAAQ,EAAE,CAAC,SAAS,CAAC;aACrB;SACD;QACD,OAAO,EAAE;YACR;gBACC,IAAI,EAAE,OAAO;gBACb,WAAW,EAAE,gBAAgB;gBAC7B,KAAK,EAAE,OAAO;gBACd,OAAO,EAAE;oBACR,OAAO,EAAE;wBACR,MAAM,EAAE,KAAK;wBACb,GAAG,EAAE,gBAAgB;qBACrB;iBACD;gBACD,MAAM,EAAE,gBAAgB;aACxB;YACD;gBACC,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,kBAAkB;gBAC/B,KAAK,EAAE,QAAQ;gBACf,OAAO,EAAE;oBACR,OAAO,EAAE;wBACR,MAAM,EAAE,MAAM;wBACd,GAAG,EAAE,UAAU;qBACf;iBACD;gBACD,MAAM,EAAE,kBAAkB;aAC1B;YACD;gBACC,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,kBAAkB;gBAC/B,KAAK,EAAE,QAAQ;gBACf,OAAO,EAAE;oBACR,OAAO,EAAE;wBACR,MAAM,EAAE,QAAQ;wBAChB,GAAG,EAAE,+CAA+C;qBACpD;iBACD;gBACD,MAAM,EAAE,kBAAkB;aAC1B;YACD;gBACC,IAAI,EAAE,KAAK;gBACX,WAAW,EAAE,oBAAoB;gBACjC,KAAK,EAAE,SAAS;gBAChB,OAAO,EAAE;oBACR,OAAO,EAAE;wBACR,MAAM,EAAE,KAAK;wBACb,GAAG,EAAE,+CAA+C;qBACpD;iBACD;gBACD,MAAM,EAAE,aAAa;aACrB;YACD;gBACC,IAAI,EAAE,UAAU;gBAChB,WAAW,EAAE,6BAA6B;gBAC1C,KAAK,EAAE,OAAO;gBACd,OAAO,EAAE;oBACR,OAAO,EAAE;wBACR,MAAM,EAAE,KAAK;wBACb,GAAG,EAAE,UAAU;qBACf;iBACD;gBACD,MAAM,EAAE,mBAAmB;aAC3B;YACD;gBACC,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,kBAAkB;gBAC/B,KAAK,EAAE,QAAQ;gBACf,OAAO,EAAE;oBACR,OAAO,EAAE;wBACR,MAAM,EAAE,KAAK;wBACb,GAAG,EAAE,+CAA+C;qBACpD;iBACD;gBACD,MAAM,EAAE,kBAAkB;aAC1B;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"}
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.createUpdateProperties = exports.webhookIdParameter = void 0;
|
|
4
4
|
exports.webhookIdParameter = {
|
|
5
|
-
name: 'webhookId',
|
|
6
5
|
displayName: 'Webhook ID',
|
|
6
|
+
name: 'webhookId',
|
|
7
7
|
type: 'resourceLocator',
|
|
8
8
|
default: {
|
|
9
9
|
mode: 'id',
|
|
@@ -20,16 +20,16 @@ exports.webhookIdParameter = {
|
|
|
20
20
|
required: true,
|
|
21
21
|
};
|
|
22
22
|
exports.createUpdateProperties = {
|
|
23
|
-
name: 'attributes',
|
|
24
23
|
displayName: 'Attributes',
|
|
24
|
+
name: 'attributes',
|
|
25
25
|
type: 'collection',
|
|
26
26
|
default: {},
|
|
27
27
|
placeholder: 'Add Attribute',
|
|
28
28
|
options: [
|
|
29
29
|
{
|
|
30
|
-
name: 'atCreate',
|
|
31
30
|
displayName: 'At Create',
|
|
32
|
-
|
|
31
|
+
name: 'atCreate',
|
|
32
|
+
description: 'Whether the webhook will be triggered when the resource is created',
|
|
33
33
|
type: 'boolean',
|
|
34
34
|
default: false,
|
|
35
35
|
routing: {
|
|
@@ -40,9 +40,9 @@ exports.createUpdateProperties = {
|
|
|
40
40
|
},
|
|
41
41
|
},
|
|
42
42
|
{
|
|
43
|
-
name: 'atDelete',
|
|
44
43
|
displayName: 'At Delete',
|
|
45
|
-
|
|
44
|
+
name: 'atDelete',
|
|
45
|
+
description: 'Whether the webhook will be triggered when the resource is deleted',
|
|
46
46
|
type: 'boolean',
|
|
47
47
|
default: false,
|
|
48
48
|
routing: {
|
|
@@ -53,9 +53,9 @@ exports.createUpdateProperties = {
|
|
|
53
53
|
},
|
|
54
54
|
},
|
|
55
55
|
{
|
|
56
|
-
name: 'atUpdate',
|
|
57
56
|
displayName: 'At Update',
|
|
58
|
-
|
|
57
|
+
name: 'atUpdate',
|
|
58
|
+
description: 'Whether the webhook will be triggered when the resource is updated',
|
|
59
59
|
type: 'boolean',
|
|
60
60
|
default: false,
|
|
61
61
|
routing: {
|
|
@@ -66,9 +66,9 @@ exports.createUpdateProperties = {
|
|
|
66
66
|
},
|
|
67
67
|
},
|
|
68
68
|
{
|
|
69
|
-
name: 'deactivatedDate',
|
|
70
69
|
displayName: 'Deactivated Date',
|
|
71
|
-
|
|
70
|
+
name: 'deactivatedDate',
|
|
71
|
+
description: 'The date when the resource was deactivated',
|
|
72
72
|
type: 'dateTime',
|
|
73
73
|
default: '',
|
|
74
74
|
routing: {
|
|
@@ -80,8 +80,8 @@ exports.createUpdateProperties = {
|
|
|
80
80
|
},
|
|
81
81
|
},
|
|
82
82
|
{
|
|
83
|
-
name: 'entityName',
|
|
84
83
|
displayName: 'Entity Name',
|
|
84
|
+
name: 'entityName',
|
|
85
85
|
description: 'Name of the entity',
|
|
86
86
|
type: 'string',
|
|
87
87
|
typeOptions: {
|
|
@@ -97,8 +97,8 @@ exports.createUpdateProperties = {
|
|
|
97
97
|
},
|
|
98
98
|
},
|
|
99
99
|
{
|
|
100
|
-
name: 'errorMessage',
|
|
101
100
|
displayName: 'Error Message',
|
|
101
|
+
name: 'errorMessage',
|
|
102
102
|
description: 'Message describing the error',
|
|
103
103
|
type: 'string',
|
|
104
104
|
typeOptions: {
|
|
@@ -114,11 +114,11 @@ exports.createUpdateProperties = {
|
|
|
114
114
|
},
|
|
115
115
|
},
|
|
116
116
|
{
|
|
117
|
-
name: 'requestMethod',
|
|
118
117
|
displayName: 'Request Method',
|
|
118
|
+
name: 'requestMethod',
|
|
119
119
|
description: 'The HTTP method for the request',
|
|
120
120
|
type: 'options',
|
|
121
|
-
default: '',
|
|
121
|
+
default: 'GET',
|
|
122
122
|
options: [
|
|
123
123
|
{
|
|
124
124
|
name: 'GET',
|
|
@@ -137,8 +137,8 @@ exports.createUpdateProperties = {
|
|
|
137
137
|
},
|
|
138
138
|
},
|
|
139
139
|
{
|
|
140
|
-
name: 'url',
|
|
141
140
|
displayName: 'URL',
|
|
141
|
+
name: 'url',
|
|
142
142
|
description: 'The URL to which the webhook will be sent',
|
|
143
143
|
type: 'string',
|
|
144
144
|
typeOptions: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shared.properties.js","sourceRoot":"","sources":["../../../../../nodes/Weclapp/descriptions/webhook/shared.properties.ts"],"names":[],"mappings":";;;AAEa,QAAA,kBAAkB,GAAoB;IAClD,
|
|
1
|
+
{"version":3,"file":"shared.properties.js","sourceRoot":"","sources":["../../../../../nodes/Weclapp/descriptions/webhook/shared.properties.ts"],"names":[],"mappings":";;;AAEa,QAAA,kBAAkB,GAAoB;IAClD,WAAW,EAAE,YAAY;IACzB,IAAI,EAAE,WAAW;IACjB,IAAI,EAAE,iBAAiB;IACvB,OAAO,EAAE;QACR,IAAI,EAAE,IAAI;QACV,KAAK,EAAE,EAAE;KACT;IACD,KAAK,EAAE;QACN;YACC,WAAW,EAAE,OAAO;YACpB,IAAI,EAAE,IAAI;YACV,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,YAAY;SACzB;KACD;IACD,QAAQ,EAAE,IAAI;CACd,CAAC;AAEW,QAAA,sBAAsB,GAAoB;IACtD,WAAW,EAAE,YAAY;IACzB,IAAI,EAAE,YAAY;IAClB,IAAI,EAAE,YAAY;IAClB,OAAO,EAAE,EAAE;IACX,WAAW,EAAE,eAAe;IAC5B,OAAO,EAAE;QACR;YACC,WAAW,EAAE,WAAW;YACxB,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,oEAAoE;YACjF,IAAI,EAAE,SAAS;YACf,OAAO,EAAE,KAAK;YACd,OAAO,EAAE;gBACR,IAAI,EAAE;oBACL,IAAI,EAAE,MAAM;oBACZ,QAAQ,EAAE,UAAU;iBACpB;aACD;SACD;QACD;YACC,WAAW,EAAE,WAAW;YACxB,IAAI,EAAE,UAAU;YAChB,WAAW,EAAE,oEAAoE;YACjF,IAAI,EAAE,SAAS;YACf,OAAO,EAAE,KAAK;YACd,OAAO,EAAE;gBACR,IAAI,EAAE;oBACL,IAAI,EAAE,MAAM;oBACZ,QAAQ,EAAE,UAAU;iBACpB;aACD;SACD;QACD;YACC,WAAW,EAAE,W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BACC,IAAI,EAAE,KAAK;oBACX,KAAK,EAAE,KAAK;iBACZ;gBACD;oBACC,IAAI,EAAE,MAAM;oBACZ,KAAK,EAAE,MAAM;iBACb;aACD;YACD,OAAO,EAAE;gBACR,IAAI,EAAE;oBACL,IAAI,EAAE,MAAM;oBACZ,QAAQ,EAAE,eAAe;iBACzB;aACD;SACD;QACD;YACC,WAAW,EAAE,KAAK;YAClB,IAAI,EAAE,KAAK;YACX,WAAW,EAAE,2CAA2C;YACxD,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE;gBACZ,SAAS,EAAE,IAAI;aACf;YACD,OAAO,EAAE,EAAE;YACX,WAAW,EAAE,WAAW;YACxB,OAAO,EAAE;gBACR,IAAI,EAAE;oBACL,IAAI,EAAE,MAAM;oBACZ,QAAQ,EAAE,KAAK;iBACf;aACD;SACD;KACD;CACD,CAAC"}
|
package/dist/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@affeldt28/n8n-nodes-weclapp",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.3",
|
|
4
4
|
"description": "n8n node for Weclapp",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://github.com/affeldt28/n8n-nodes-weclapp",
|
|
@@ -19,6 +19,7 @@
|
|
|
19
19
|
"url": "git+https://github.com/affeldt28/n8n-nodes-weclapp.git"
|
|
20
20
|
},
|
|
21
21
|
"scripts": {
|
|
22
|
+
"install:hook": "husky",
|
|
22
23
|
"build": "n8n-node build",
|
|
23
24
|
"build:watch": "tsc --watch",
|
|
24
25
|
"dev": "n8n-node dev",
|
|
@@ -46,8 +47,9 @@
|
|
|
46
47
|
"access": "public"
|
|
47
48
|
},
|
|
48
49
|
"devDependencies": {
|
|
49
|
-
"@biomejs/biome": "2.5.
|
|
50
|
-
"@n8n/node-cli": "
|
|
50
|
+
"@biomejs/biome": "2.5.10",
|
|
51
|
+
"@n8n/node-cli": "0.44.5",
|
|
52
|
+
"husky": "9.1.7",
|
|
51
53
|
"release-it": "20.2.1",
|
|
52
54
|
"typescript": "6.0.3"
|
|
53
55
|
},
|