@skriptfabrik/n8n-nodes-fulfillmenttools 0.1.0 → 0.1.2
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/.eslintignore +1 -0
- package/.eslintrc.json +30 -0
- package/CHANGELOG.md +25 -0
- package/jest.config.ts +11 -0
- package/package.json +3 -3
- package/project.json +37 -0
- package/src/api.d.ts +37084 -0
- package/src/credentials/FulfillmenttoolsApi.credentials.spec.ts +101 -0
- package/src/credentials/FulfillmenttoolsApi.credentials.ts +166 -0
- package/src/nodes/Fulfillmenttools/Fulfillmenttools.node.spec.ts +1149 -0
- package/src/nodes/Fulfillmenttools/Fulfillmenttools.node.ts +390 -0
- package/src/nodes/Fulfillmenttools/FulfillmenttoolsTrigger.node.spec.ts +386 -0
- package/src/nodes/Fulfillmenttools/FulfillmenttoolsTrigger.node.ts +396 -0
- package/src/nodes/Fulfillmenttools/GenericFunctions.spec.ts +279 -0
- package/src/nodes/Fulfillmenttools/GenericFunctions.ts +156 -0
- package/src/nodes/Fulfillmenttools/descriptions/FacilityCarrierDescription.ts +335 -0
- package/src/nodes/Fulfillmenttools/descriptions/FacilityDescription.ts +621 -0
- package/src/nodes/Fulfillmenttools/descriptions/OrderDescription.ts +338 -0
- package/tsconfig.json +22 -0
- package/tsconfig.lib.json +10 -0
- package/tsconfig.spec.json +13 -0
- package/src/credentials/FulfillmenttoolsApi.credentials.d.ts +0 -13
- package/src/credentials/FulfillmenttoolsApi.credentials.js +0 -126
- package/src/credentials/FulfillmenttoolsApi.credentials.js.map +0 -1
- package/src/nodes/Fulfillmenttools/Fulfillmenttools.node.d.ts +0 -5
- package/src/nodes/Fulfillmenttools/Fulfillmenttools.node.js +0 -174
- package/src/nodes/Fulfillmenttools/Fulfillmenttools.node.js.map +0 -1
- package/src/nodes/Fulfillmenttools/FulfillmenttoolsTrigger.node.d.ts +0 -12
- package/src/nodes/Fulfillmenttools/FulfillmenttoolsTrigger.node.js +0 -330
- package/src/nodes/Fulfillmenttools/FulfillmenttoolsTrigger.node.js.map +0 -1
- package/src/nodes/Fulfillmenttools/GenericFunctions.d.ts +0 -3
- package/src/nodes/Fulfillmenttools/GenericFunctions.js +0 -91
- package/src/nodes/Fulfillmenttools/GenericFunctions.js.map +0 -1
- package/src/nodes/Fulfillmenttools/descriptions/FacilityCarrierDescription.d.ts +0 -3
- package/src/nodes/Fulfillmenttools/descriptions/FacilityCarrierDescription.js +0 -322
- package/src/nodes/Fulfillmenttools/descriptions/FacilityCarrierDescription.js.map +0 -1
- package/src/nodes/Fulfillmenttools/descriptions/FacilityDescription.d.ts +0 -3
- package/src/nodes/Fulfillmenttools/descriptions/FacilityDescription.js +0 -610
- package/src/nodes/Fulfillmenttools/descriptions/FacilityDescription.js.map +0 -1
- package/src/nodes/Fulfillmenttools/descriptions/OrderDescription.d.ts +0 -3
- package/src/nodes/Fulfillmenttools/descriptions/OrderDescription.js +0 -328
- package/src/nodes/Fulfillmenttools/descriptions/OrderDescription.js.map +0 -1
@@ -0,0 +1,338 @@
|
|
1
|
+
import type { INodeProperties } from 'n8n-workflow';
|
2
|
+
|
3
|
+
export const orderOperations: INodeProperties[] = [
|
4
|
+
{
|
5
|
+
displayName: 'Operation',
|
6
|
+
name: 'operation',
|
7
|
+
type: 'options',
|
8
|
+
noDataExpression: true,
|
9
|
+
displayOptions: {
|
10
|
+
show: {
|
11
|
+
resource: ['order'],
|
12
|
+
},
|
13
|
+
},
|
14
|
+
options: [
|
15
|
+
{
|
16
|
+
name: 'Create',
|
17
|
+
value: 'create',
|
18
|
+
description: 'Add a new order for future fulfillment',
|
19
|
+
action: 'Create order',
|
20
|
+
},
|
21
|
+
{
|
22
|
+
name: 'Get',
|
23
|
+
value: 'get',
|
24
|
+
description: 'Get a order with the given ID',
|
25
|
+
action: 'Get order',
|
26
|
+
},
|
27
|
+
{
|
28
|
+
name: 'List',
|
29
|
+
value: 'list',
|
30
|
+
description: 'Return all orders',
|
31
|
+
action: 'List orders',
|
32
|
+
},
|
33
|
+
],
|
34
|
+
default: 'create',
|
35
|
+
},
|
36
|
+
];
|
37
|
+
|
38
|
+
export const orderFields: INodeProperties[] = [
|
39
|
+
/* -------------------------------------------------------------------------- */
|
40
|
+
/* order:create */
|
41
|
+
/* -------------------------------------------------------------------------- */
|
42
|
+
{
|
43
|
+
displayName: 'Order',
|
44
|
+
name: 'order',
|
45
|
+
type: 'json',
|
46
|
+
required: true,
|
47
|
+
default: JSON.stringify(
|
48
|
+
{
|
49
|
+
orderDate: '2023-03-11T08:16:07.000Z',
|
50
|
+
consumer: {
|
51
|
+
email: 'ulf.steinke@ocff.de',
|
52
|
+
addresses: [
|
53
|
+
{
|
54
|
+
street: 'Schanzenstr.',
|
55
|
+
houseNumber: '30',
|
56
|
+
postalCode: '51063',
|
57
|
+
city: 'Köln',
|
58
|
+
country: 'DE',
|
59
|
+
phoneNumbers: [
|
60
|
+
{
|
61
|
+
value: '0177-555-6273',
|
62
|
+
label: 'private',
|
63
|
+
type: 'MOBILE',
|
64
|
+
},
|
65
|
+
],
|
66
|
+
additionalAddressInfo: '3. Etage',
|
67
|
+
salutation: 'Herr',
|
68
|
+
firstName: 'Ulf',
|
69
|
+
lastName: 'Steinke',
|
70
|
+
},
|
71
|
+
],
|
72
|
+
},
|
73
|
+
tenantOrderId: 'FC-4711-2361',
|
74
|
+
status: 'OPEN',
|
75
|
+
orderLineItems: [
|
76
|
+
{
|
77
|
+
article: {
|
78
|
+
tenantArticleId: '2020249',
|
79
|
+
title: 'T-Shirt "Am Sonnenhut"',
|
80
|
+
imageUrl:
|
81
|
+
'https://d358g9injarr4u.cloudfront.net/res/product_1000/240eadd8-8f50-479d-b0d8-74412bd4a9f9.jpg',
|
82
|
+
attributes: [
|
83
|
+
{
|
84
|
+
category: 'miscellaneous',
|
85
|
+
key: 'BRAND',
|
86
|
+
value: 'Adidas',
|
87
|
+
},
|
88
|
+
{
|
89
|
+
category: 'descriptive',
|
90
|
+
priority: 100,
|
91
|
+
key: '%%subtitle%%',
|
92
|
+
value: 'Neu!',
|
93
|
+
},
|
94
|
+
{
|
95
|
+
category: 'descriptive',
|
96
|
+
priority: 200,
|
97
|
+
key: 'Mitgliederpreis',
|
98
|
+
value: '17,96 EUR',
|
99
|
+
},
|
100
|
+
{
|
101
|
+
category: 'descriptive',
|
102
|
+
priority: 300,
|
103
|
+
key: 'Schnitt',
|
104
|
+
value: 'Frauen',
|
105
|
+
},
|
106
|
+
{
|
107
|
+
category: 'descriptive',
|
108
|
+
priority: 400,
|
109
|
+
key: 'Material',
|
110
|
+
value: '100% Baumwolle',
|
111
|
+
},
|
112
|
+
{
|
113
|
+
category: 'descriptive',
|
114
|
+
priority: 500,
|
115
|
+
key: 'Artikelnummer',
|
116
|
+
value: '2020249',
|
117
|
+
},
|
118
|
+
{
|
119
|
+
category: 'descriptive',
|
120
|
+
priority: 600,
|
121
|
+
key: 'Größe',
|
122
|
+
value: 'S',
|
123
|
+
},
|
124
|
+
{
|
125
|
+
category: 'descriptive',
|
126
|
+
priority: 700,
|
127
|
+
key: 'Beschreibung',
|
128
|
+
value:
|
129
|
+
'Rotes T-Shirt mit weißen Streifen an den Ärmeln, Blockdruck mit Schriftzug auf der Brust',
|
130
|
+
},
|
131
|
+
],
|
132
|
+
},
|
133
|
+
quantity: 1,
|
134
|
+
scannableCodes: ['2020249'],
|
135
|
+
},
|
136
|
+
{
|
137
|
+
article: {
|
138
|
+
tenantArticleId: '2010681',
|
139
|
+
title: 'Steppjacke "Mühlenbach"',
|
140
|
+
imageUrl:
|
141
|
+
'https://d358g9injarr4u.cloudfront.net/res/product_1000/9fcb7e42-7c84-4ab0-999a-869efe077e0a.jpg',
|
142
|
+
attributes: [
|
143
|
+
{
|
144
|
+
category: 'descriptive',
|
145
|
+
priority: 100,
|
146
|
+
key: '%%subtitle%%',
|
147
|
+
value: 'Neu!',
|
148
|
+
},
|
149
|
+
{
|
150
|
+
category: 'descriptive',
|
151
|
+
priority: 200,
|
152
|
+
key: 'Größe',
|
153
|
+
value: 'L',
|
154
|
+
},
|
155
|
+
{
|
156
|
+
category: 'descriptive',
|
157
|
+
priority: 300,
|
158
|
+
key: 'Oberstoff',
|
159
|
+
value: '100% Polyester',
|
160
|
+
},
|
161
|
+
{
|
162
|
+
category: 'descriptive',
|
163
|
+
priority: 400,
|
164
|
+
key: 'Futter',
|
165
|
+
value: '100% Polyester',
|
166
|
+
},
|
167
|
+
{
|
168
|
+
category: 'descriptive',
|
169
|
+
priority: 500,
|
170
|
+
key: 'Füllung',
|
171
|
+
value: '100% Polyester',
|
172
|
+
},
|
173
|
+
{
|
174
|
+
category: 'descriptive',
|
175
|
+
priority: 600,
|
176
|
+
key: 'Beschreibung',
|
177
|
+
value:
|
178
|
+
'Dreifarbige Steppjacke mit verstaubarer Kapuze, Zwei Eingriffstaschen, Gesticktes Logo auf der Brust',
|
179
|
+
},
|
180
|
+
{
|
181
|
+
category: 'descriptive',
|
182
|
+
priority: 700,
|
183
|
+
key: 'Artikelnummer',
|
184
|
+
value: '2010681',
|
185
|
+
},
|
186
|
+
],
|
187
|
+
},
|
188
|
+
quantity: 1,
|
189
|
+
scannableCodes: ['2010681'],
|
190
|
+
},
|
191
|
+
{
|
192
|
+
article: {
|
193
|
+
tenantArticleId: '5020064',
|
194
|
+
title: 'Wandtattoo Stadion',
|
195
|
+
imageUrl:
|
196
|
+
'https://d358g9injarr4u.cloudfront.net/res/product_1000/343f4569-66bb-4b0c-aa2b-20011a51b620.jpg',
|
197
|
+
attributes: [
|
198
|
+
{
|
199
|
+
category: 'descriptive',
|
200
|
+
priority: 100,
|
201
|
+
key: 'Maße',
|
202
|
+
value: '70 x 50 cm',
|
203
|
+
},
|
204
|
+
{
|
205
|
+
category: 'descriptive',
|
206
|
+
priority: 200,
|
207
|
+
key: 'Beschreibung',
|
208
|
+
value:
|
209
|
+
'Wandtattoo in Ziegelwand-Optik, Mit tollem Blick aufs Stadion',
|
210
|
+
},
|
211
|
+
{
|
212
|
+
category: 'descriptive',
|
213
|
+
priority: 300,
|
214
|
+
key: 'Anwendung',
|
215
|
+
value:
|
216
|
+
'Für die Beklebung sollte die Fläche staub- und fetfrei sein. Bringen Sie den Aufkleber in Position und reiben Sie diese gleichmäßig mit der flachen Hand an den Untergrund, um sie zu fixieren. Jede Stelle nochmals gest andrücken. Fertig! Für auftretende Schäden nach der Verklebung auf dem Untergrund etc. ist eine Haftung ausgeschlossen.',
|
217
|
+
},
|
218
|
+
{
|
219
|
+
category: 'descriptive',
|
220
|
+
priority: 400,
|
221
|
+
key: 'Artikelnummer',
|
222
|
+
value: '5020064',
|
223
|
+
},
|
224
|
+
],
|
225
|
+
},
|
226
|
+
quantity: 2,
|
227
|
+
scannableCodes: ['5020064'],
|
228
|
+
},
|
229
|
+
],
|
230
|
+
paymentInfo: {
|
231
|
+
currency: 'EUR',
|
232
|
+
},
|
233
|
+
},
|
234
|
+
undefined,
|
235
|
+
2,
|
236
|
+
),
|
237
|
+
displayOptions: {
|
238
|
+
show: {
|
239
|
+
resource: ['order'],
|
240
|
+
operation: ['create'],
|
241
|
+
},
|
242
|
+
},
|
243
|
+
description: 'Order object supplied by your shop instance',
|
244
|
+
},
|
245
|
+
/* -------------------------------------------------------------------------- */
|
246
|
+
/* order:get */
|
247
|
+
/* -------------------------------------------------------------------------- */
|
248
|
+
{
|
249
|
+
displayName: 'Order ID',
|
250
|
+
name: 'orderId',
|
251
|
+
type: 'string',
|
252
|
+
required: true,
|
253
|
+
default: '',
|
254
|
+
displayOptions: {
|
255
|
+
show: {
|
256
|
+
resource: ['order'],
|
257
|
+
operation: ['get'],
|
258
|
+
},
|
259
|
+
},
|
260
|
+
description: 'ID of order you want to get',
|
261
|
+
},
|
262
|
+
/* -------------------------------------------------------------------------- */
|
263
|
+
/* order:list */
|
264
|
+
/* -------------------------------------------------------------------------- */
|
265
|
+
{
|
266
|
+
displayName: 'Return All',
|
267
|
+
name: 'returnAll',
|
268
|
+
type: 'boolean',
|
269
|
+
displayOptions: {
|
270
|
+
show: {
|
271
|
+
resource: ['order'],
|
272
|
+
operation: ['list'],
|
273
|
+
},
|
274
|
+
},
|
275
|
+
default: false,
|
276
|
+
description: 'Whether to return all results or only up to a given limit',
|
277
|
+
},
|
278
|
+
{
|
279
|
+
displayName: 'Limit',
|
280
|
+
name: 'limit',
|
281
|
+
type: 'number',
|
282
|
+
displayOptions: {
|
283
|
+
show: {
|
284
|
+
resource: ['order'],
|
285
|
+
operation: ['list'],
|
286
|
+
returnAll: [false],
|
287
|
+
},
|
288
|
+
},
|
289
|
+
typeOptions: {
|
290
|
+
minValue: 1,
|
291
|
+
},
|
292
|
+
default: 50,
|
293
|
+
description: 'Max number of results to return',
|
294
|
+
},
|
295
|
+
{
|
296
|
+
displayName: 'Start After ID',
|
297
|
+
name: 'startAfterId',
|
298
|
+
type: 'string',
|
299
|
+
displayOptions: {
|
300
|
+
show: {
|
301
|
+
resource: ['order'],
|
302
|
+
operation: ['list'],
|
303
|
+
returnAll: [false],
|
304
|
+
},
|
305
|
+
},
|
306
|
+
default: '',
|
307
|
+
description: 'All results after given ID will be returned',
|
308
|
+
},
|
309
|
+
{
|
310
|
+
displayName: 'Size',
|
311
|
+
name: 'size',
|
312
|
+
type: 'number',
|
313
|
+
displayOptions: {
|
314
|
+
show: {
|
315
|
+
resource: ['order'],
|
316
|
+
operation: ['list'],
|
317
|
+
},
|
318
|
+
},
|
319
|
+
typeOptions: {
|
320
|
+
minValue: 1,
|
321
|
+
},
|
322
|
+
default: 25,
|
323
|
+
description: 'Number of results to show',
|
324
|
+
},
|
325
|
+
{
|
326
|
+
displayName: 'Tenant Order ID',
|
327
|
+
name: 'tenantOrderId',
|
328
|
+
type: 'string',
|
329
|
+
displayOptions: {
|
330
|
+
show: {
|
331
|
+
resource: ['order'],
|
332
|
+
operation: ['list'],
|
333
|
+
},
|
334
|
+
},
|
335
|
+
default: '',
|
336
|
+
description: 'Allows you to filter results by tenant order ID',
|
337
|
+
},
|
338
|
+
];
|
package/tsconfig.json
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
{
|
2
|
+
"extends": "../../tsconfig.base.json",
|
3
|
+
"compilerOptions": {
|
4
|
+
"module": "commonjs",
|
5
|
+
"forceConsistentCasingInFileNames": true,
|
6
|
+
"strict": true,
|
7
|
+
"noImplicitOverride": true,
|
8
|
+
"noPropertyAccessFromIndexSignature": true,
|
9
|
+
"noImplicitReturns": true,
|
10
|
+
"noFallthroughCasesInSwitch": true
|
11
|
+
},
|
12
|
+
"files": [],
|
13
|
+
"include": [],
|
14
|
+
"references": [
|
15
|
+
{
|
16
|
+
"path": "./tsconfig.lib.json"
|
17
|
+
},
|
18
|
+
{
|
19
|
+
"path": "./tsconfig.spec.json"
|
20
|
+
}
|
21
|
+
]
|
22
|
+
}
|
@@ -1,13 +0,0 @@
|
|
1
|
-
import { type IAuthenticateGeneric, type ICredentialDataDecryptedObject, type ICredentialTestRequest, type ICredentialType, type IHttpRequestHelper, type INodeProperties } from 'n8n-workflow';
|
2
|
-
export declare class FulfillmenttoolsApi implements ICredentialType {
|
3
|
-
name: string;
|
4
|
-
displayName: string;
|
5
|
-
documentationUrl: string;
|
6
|
-
properties: INodeProperties[];
|
7
|
-
preAuthentication(this: IHttpRequestHelper, credentials: ICredentialDataDecryptedObject): Promise<{
|
8
|
-
idToken: string;
|
9
|
-
refreshToken: string;
|
10
|
-
}>;
|
11
|
-
authenticate: IAuthenticateGeneric;
|
12
|
-
test: ICredentialTestRequest;
|
13
|
-
}
|
@@ -1,126 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.FulfillmenttoolsApi = void 0;
|
4
|
-
const tslib_1 = require("tslib");
|
5
|
-
const crypto_1 = require("crypto");
|
6
|
-
class FulfillmenttoolsApi {
|
7
|
-
constructor() {
|
8
|
-
this.name = 'fulfillmenttoolsApi';
|
9
|
-
this.displayName = 'fulfillmenttools API';
|
10
|
-
this.documentationUrl = 'https://docs.fulfillmenttools.com/api-docs/getting-started/make-your-first-api-call';
|
11
|
-
this.properties = [
|
12
|
-
{
|
13
|
-
displayName: 'Username',
|
14
|
-
name: 'username',
|
15
|
-
type: 'string',
|
16
|
-
required: true,
|
17
|
-
default: undefined,
|
18
|
-
},
|
19
|
-
{
|
20
|
-
displayName: 'Password',
|
21
|
-
name: 'password',
|
22
|
-
type: 'string',
|
23
|
-
typeOptions: {
|
24
|
-
password: true,
|
25
|
-
},
|
26
|
-
required: true,
|
27
|
-
default: undefined,
|
28
|
-
},
|
29
|
-
{
|
30
|
-
displayName: 'API Key',
|
31
|
-
name: 'apiKey',
|
32
|
-
type: 'string',
|
33
|
-
typeOptions: {
|
34
|
-
password: true,
|
35
|
-
},
|
36
|
-
required: true,
|
37
|
-
default: undefined,
|
38
|
-
},
|
39
|
-
{
|
40
|
-
displayName: 'Sub Domain',
|
41
|
-
name: 'subDomain',
|
42
|
-
type: 'string',
|
43
|
-
required: true,
|
44
|
-
default: undefined,
|
45
|
-
},
|
46
|
-
{
|
47
|
-
displayName: 'Webhook Token',
|
48
|
-
name: 'webhookToken',
|
49
|
-
type: 'string',
|
50
|
-
typeOptions: {
|
51
|
-
password: true,
|
52
|
-
},
|
53
|
-
required: true,
|
54
|
-
default: (0, crypto_1.randomBytes)(16).toString('hex'),
|
55
|
-
},
|
56
|
-
{
|
57
|
-
displayName: 'ID Token',
|
58
|
-
name: 'idToken',
|
59
|
-
type: 'hidden',
|
60
|
-
typeOptions: {
|
61
|
-
expirable: true,
|
62
|
-
},
|
63
|
-
default: undefined,
|
64
|
-
},
|
65
|
-
{
|
66
|
-
displayName: 'Refresh Token',
|
67
|
-
name: 'refreshToken',
|
68
|
-
type: 'hidden',
|
69
|
-
default: undefined,
|
70
|
-
},
|
71
|
-
];
|
72
|
-
this.authenticate = {
|
73
|
-
type: 'generic',
|
74
|
-
properties: {
|
75
|
-
headers: {
|
76
|
-
Authorization: '=Bearer {{$credentials.idToken}}',
|
77
|
-
},
|
78
|
-
},
|
79
|
-
};
|
80
|
-
this.test = {
|
81
|
-
request: {
|
82
|
-
baseURL: '=https://{{$credentials.subDomain}}.api.fulfillmenttools.com/api',
|
83
|
-
url: '/health',
|
84
|
-
},
|
85
|
-
};
|
86
|
-
}
|
87
|
-
preAuthentication(credentials) {
|
88
|
-
return tslib_1.__awaiter(this, void 0, void 0, function* () {
|
89
|
-
if (!credentials['refreshToken']) {
|
90
|
-
const responseData = (yield this.helpers.httpRequest({
|
91
|
-
method: 'POST',
|
92
|
-
url: 'https://identitytoolkit.googleapis.com/v1/accounts:signInWithPassword',
|
93
|
-
body: {
|
94
|
-
email: `${credentials['username']}@${credentials['subDomain']}.com`,
|
95
|
-
password: credentials['password'],
|
96
|
-
returnSecureToken: true,
|
97
|
-
},
|
98
|
-
qs: {
|
99
|
-
key: credentials['apiKey'],
|
100
|
-
},
|
101
|
-
}));
|
102
|
-
return {
|
103
|
-
idToken: responseData.idToken,
|
104
|
-
refreshToken: responseData.refreshToken,
|
105
|
-
};
|
106
|
-
}
|
107
|
-
const responseData = (yield this.helpers.httpRequest({
|
108
|
-
method: 'POST',
|
109
|
-
url: 'https://securetoken.googleapis.com/v1/token',
|
110
|
-
body: {
|
111
|
-
grant_type: 'refresh_token',
|
112
|
-
refresh_token: credentials['refreshToken'],
|
113
|
-
},
|
114
|
-
qs: {
|
115
|
-
key: credentials['apiKey'],
|
116
|
-
},
|
117
|
-
}));
|
118
|
-
return {
|
119
|
-
idToken: responseData.id_token,
|
120
|
-
refreshToken: responseData.refresh_token,
|
121
|
-
};
|
122
|
-
});
|
123
|
-
}
|
124
|
-
}
|
125
|
-
exports.FulfillmenttoolsApi = FulfillmenttoolsApi;
|
126
|
-
//# sourceMappingURL=FulfillmenttoolsApi.credentials.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"FulfillmenttoolsApi.credentials.js","sourceRoot":"","sources":["../../../../../nodes/fulfillmenttools/src/credentials/FulfillmenttoolsApi.credentials.ts"],"names":[],"mappings":";;;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AC;iBAC3B;aACF,CAAC,CAAyB,CAAC;YAE5B,OAAO;gBACL,OAAO,EAAE,YAAY,CAAC,QAAQ;gBAC9B,YAAY,EAAE,YAAY,CAAC,aAAa;aACzC,CAAC;QACJ,CAAC;KAAA;CAkBF;AAhID,kDAgIC"}
|
@@ -1,5 +0,0 @@
|
|
1
|
-
import type { IExecuteFunctions, INodeExecutionData, INodeType, INodeTypeDescription } from 'n8n-workflow';
|
2
|
-
export declare class Fulfillmenttools implements INodeType {
|
3
|
-
description: INodeTypeDescription;
|
4
|
-
execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]>;
|
5
|
-
}
|