@rlvt/workflows-openapi-client 1.0.132 → 1.0.135
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/build/api.d.ts +322 -156
- package/build/api.js +7 -1
- package/build/definitions.d.ts +18 -0
- package/package.json +1 -1
package/build/api.d.ts
CHANGED
|
@@ -14,15 +14,16 @@ export default class {
|
|
|
14
14
|
private duplicateWorkflow;
|
|
15
15
|
private publishWorkflow;
|
|
16
16
|
private run;
|
|
17
|
+
private listParameterValuesUsage;
|
|
17
18
|
private listWorkflowsWithContentUsage;
|
|
18
19
|
private updateWorkflowsWithContentUsage;
|
|
19
20
|
get Workflow(): {
|
|
20
21
|
listTemplates: (params: {
|
|
21
|
-
name?: string;
|
|
22
|
-
categories?: string;
|
|
23
|
-
page?: number;
|
|
24
|
-
perPage?: number;
|
|
25
|
-
}, options?: AxiosRequestConfig<any>) => Promise<import("axios").AxiosResponse<{
|
|
22
|
+
name?: string | undefined;
|
|
23
|
+
categories?: string | undefined;
|
|
24
|
+
page?: number | undefined;
|
|
25
|
+
perPage?: number | undefined;
|
|
26
|
+
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
|
|
26
27
|
paginationCount: number;
|
|
27
28
|
paginationPage: number;
|
|
28
29
|
paginationLimit: number;
|
|
@@ -30,21 +31,21 @@ export default class {
|
|
|
30
31
|
program: string;
|
|
31
32
|
version: string;
|
|
32
33
|
datetime: string;
|
|
33
|
-
code?: number;
|
|
34
|
+
code?: number | undefined;
|
|
34
35
|
message: string;
|
|
35
36
|
data: {
|
|
36
|
-
description?: string;
|
|
37
|
+
description?: string | undefined;
|
|
37
38
|
readonly id: string & {
|
|
38
|
-
readonly?: "__readonly";
|
|
39
|
-
};
|
|
40
|
-
readonly companyId?: string & {
|
|
41
|
-
readonly?: "__readonly";
|
|
39
|
+
readonly?: "__readonly" | undefined;
|
|
42
40
|
};
|
|
41
|
+
readonly companyId?: (string & {
|
|
42
|
+
readonly?: "__readonly" | undefined;
|
|
43
|
+
}) | undefined;
|
|
43
44
|
name: string;
|
|
44
45
|
icon: string;
|
|
45
|
-
slug?: string;
|
|
46
|
+
slug?: string | undefined;
|
|
46
47
|
categories: string[];
|
|
47
|
-
feature?: string;
|
|
48
|
+
feature?: string | undefined;
|
|
48
49
|
template: {
|
|
49
50
|
entrypoints: {
|
|
50
51
|
node: string;
|
|
@@ -77,28 +78,28 @@ export default class {
|
|
|
77
78
|
};
|
|
78
79
|
metadata?: {
|
|
79
80
|
[x: string]: unknown;
|
|
80
|
-
};
|
|
81
|
+
} | undefined;
|
|
81
82
|
}[];
|
|
82
83
|
}, any>>;
|
|
83
|
-
listTemplateCategories: (params: Record<string, never>, options?: AxiosRequestConfig<any>) => Promise<import("axios").AxiosResponse<{
|
|
84
|
+
listTemplateCategories: (params: Record<string, never>, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
|
|
84
85
|
status: "success";
|
|
85
86
|
program: string;
|
|
86
87
|
version: string;
|
|
87
88
|
datetime: string;
|
|
88
|
-
code?: number;
|
|
89
|
+
code?: number | undefined;
|
|
89
90
|
message: string;
|
|
90
91
|
data: string[];
|
|
91
92
|
}, any>>;
|
|
92
93
|
list: (params: {
|
|
93
|
-
ids?: string[];
|
|
94
|
-
name?: string;
|
|
95
|
-
resourceGroupIds?: string[];
|
|
96
|
-
status?: WorkflowStatus[];
|
|
97
|
-
sortBy?: "updatedAt" | "createdAt";
|
|
98
|
-
sortOrder?: "desc" | "asc";
|
|
99
|
-
page?: number;
|
|
100
|
-
perPage?: number;
|
|
101
|
-
}, options?: AxiosRequestConfig<any>) => Promise<import("axios").AxiosResponse<{
|
|
94
|
+
ids?: string[] | undefined;
|
|
95
|
+
name?: string | undefined;
|
|
96
|
+
resourceGroupIds?: string[] | undefined;
|
|
97
|
+
status?: WorkflowStatus[] | undefined;
|
|
98
|
+
sortBy?: "updatedAt" | "createdAt" | undefined;
|
|
99
|
+
sortOrder?: "desc" | "asc" | undefined;
|
|
100
|
+
page?: number | undefined;
|
|
101
|
+
perPage?: number | undefined;
|
|
102
|
+
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
|
|
102
103
|
paginationCount: number;
|
|
103
104
|
paginationPage: number;
|
|
104
105
|
paginationLimit: number;
|
|
@@ -106,40 +107,40 @@ export default class {
|
|
|
106
107
|
program: string;
|
|
107
108
|
version: string;
|
|
108
109
|
datetime: string;
|
|
109
|
-
code?: number;
|
|
110
|
+
code?: number | undefined;
|
|
110
111
|
message: string;
|
|
111
112
|
data: {
|
|
112
|
-
description?: string;
|
|
113
|
+
description?: string | undefined;
|
|
113
114
|
readonly id: string & {
|
|
114
|
-
readonly?: "__readonly";
|
|
115
|
+
readonly?: "__readonly" | undefined;
|
|
115
116
|
};
|
|
116
117
|
readonly companyId: string & {
|
|
117
|
-
readonly?: "__readonly";
|
|
118
|
+
readonly?: "__readonly" | undefined;
|
|
118
119
|
};
|
|
119
120
|
name: string;
|
|
120
121
|
readonly updatedAt: Date & {
|
|
121
|
-
readonly?: "__readonly";
|
|
122
|
+
readonly?: "__readonly" | undefined;
|
|
122
123
|
};
|
|
123
124
|
readonly createdAt: Date & {
|
|
124
|
-
readonly?: "__readonly";
|
|
125
|
+
readonly?: "__readonly" | undefined;
|
|
125
126
|
};
|
|
126
127
|
resourceGroupIds: string[];
|
|
127
128
|
readonly versions: {
|
|
128
129
|
metadata?: {
|
|
129
130
|
[x: string]: unknown;
|
|
130
|
-
};
|
|
131
|
+
} | undefined;
|
|
131
132
|
readonly updatedAt: Date & {
|
|
132
|
-
readonly?: "__readonly";
|
|
133
|
+
readonly?: "__readonly" | undefined;
|
|
133
134
|
};
|
|
134
135
|
readonly createdAt: Date & {
|
|
135
|
-
readonly?: "__readonly";
|
|
136
|
+
readonly?: "__readonly" | undefined;
|
|
136
137
|
};
|
|
137
138
|
readonly state: (WorkflowVersionState.DRAFT & {
|
|
138
|
-
readonly?: "__readonly";
|
|
139
|
+
readonly?: "__readonly" | undefined;
|
|
139
140
|
}) | (WorkflowVersionState.LIVE & {
|
|
140
|
-
readonly?: "__readonly";
|
|
141
|
+
readonly?: "__readonly" | undefined;
|
|
141
142
|
}) | (WorkflowVersionState.INACTIVE & {
|
|
142
|
-
readonly?: "__readonly";
|
|
143
|
+
readonly?: "__readonly" | undefined;
|
|
143
144
|
});
|
|
144
145
|
definition: {
|
|
145
146
|
entrypoints: {
|
|
@@ -172,7 +173,7 @@ export default class {
|
|
|
172
173
|
};
|
|
173
174
|
};
|
|
174
175
|
readonly analyze: {
|
|
175
|
-
readonly?: "__readonly";
|
|
176
|
+
readonly?: "__readonly" | undefined;
|
|
176
177
|
branches: string[];
|
|
177
178
|
individualizedBranches: string[];
|
|
178
179
|
defaultBranches: string[];
|
|
@@ -187,65 +188,74 @@ export default class {
|
|
|
187
188
|
};
|
|
188
189
|
};
|
|
189
190
|
}[];
|
|
191
|
+
parameterValues: {
|
|
192
|
+
[x: string]: {
|
|
193
|
+
entrypointIndex: number | null;
|
|
194
|
+
value: string;
|
|
195
|
+
}[];
|
|
196
|
+
};
|
|
190
197
|
readonly urls?: {
|
|
191
198
|
click: string;
|
|
192
199
|
display: string;
|
|
193
200
|
type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image";
|
|
194
|
-
|
|
201
|
+
parameters: {
|
|
202
|
+
[x: string]: string;
|
|
203
|
+
};
|
|
204
|
+
}[] | undefined;
|
|
195
205
|
readonly status: (WorkflowStatus.DRAFT & {
|
|
196
|
-
readonly?: "__readonly";
|
|
206
|
+
readonly?: "__readonly" | undefined;
|
|
197
207
|
}) | (WorkflowStatus.PUBLISHING & {
|
|
198
|
-
readonly?: "__readonly";
|
|
208
|
+
readonly?: "__readonly" | undefined;
|
|
199
209
|
}) | (WorkflowStatus.PUBLISHED & {
|
|
200
|
-
readonly?: "__readonly";
|
|
210
|
+
readonly?: "__readonly" | undefined;
|
|
201
211
|
}) | (WorkflowStatus.ERROR & {
|
|
202
|
-
readonly?: "__readonly";
|
|
212
|
+
readonly?: "__readonly" | undefined;
|
|
203
213
|
});
|
|
204
214
|
}[];
|
|
205
215
|
}, any>>;
|
|
206
216
|
create: (params: Record<string, never>, data: {
|
|
207
|
-
description?: string;
|
|
217
|
+
description?: string | undefined;
|
|
208
218
|
name: string;
|
|
209
219
|
resourceGroupIds: string[];
|
|
210
|
-
}, options?: AxiosRequestConfig<any>) => Promise<import("axios").AxiosResponse<{
|
|
220
|
+
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
|
|
211
221
|
status: "success";
|
|
212
222
|
program: string;
|
|
213
223
|
version: string;
|
|
214
224
|
datetime: string;
|
|
215
|
-
code?: number;
|
|
225
|
+
code?: number | undefined;
|
|
216
226
|
message: string;
|
|
217
227
|
data: {
|
|
218
|
-
description?: string;
|
|
228
|
+
description?: string | undefined;
|
|
219
229
|
readonly id: string & {
|
|
220
|
-
readonly?: "__readonly";
|
|
230
|
+
readonly?: "__readonly" | undefined;
|
|
221
231
|
};
|
|
222
232
|
readonly companyId: string & {
|
|
223
|
-
readonly?: "__readonly";
|
|
233
|
+
readonly?: "__readonly" | undefined;
|
|
224
234
|
};
|
|
225
235
|
name: string;
|
|
226
236
|
readonly updatedAt: Date & {
|
|
227
|
-
readonly?: "__readonly";
|
|
237
|
+
readonly?: "__readonly" | undefined;
|
|
228
238
|
};
|
|
229
239
|
readonly createdAt: Date & {
|
|
230
|
-
readonly?: "__readonly";
|
|
240
|
+
readonly?: "__readonly" | undefined;
|
|
231
241
|
};
|
|
232
242
|
resourceGroupIds: string[];
|
|
233
243
|
readonly versions: {
|
|
234
244
|
metadata?: {
|
|
235
245
|
[x: string]: unknown;
|
|
236
|
-
};
|
|
246
|
+
} | undefined;
|
|
237
247
|
readonly updatedAt: Date & {
|
|
238
|
-
readonly?: "__readonly";
|
|
248
|
+
readonly?: "__readonly" | undefined;
|
|
239
249
|
};
|
|
240
250
|
readonly createdAt: Date & {
|
|
241
|
-
readonly?: "__readonly";
|
|
251
|
+
readonly?: "__readonly" | undefined;
|
|
242
252
|
};
|
|
243
253
|
readonly state: (WorkflowVersionState.DRAFT & {
|
|
244
|
-
readonly?: "__readonly";
|
|
254
|
+
readonly?: "__readonly" | undefined;
|
|
245
255
|
}) | (WorkflowVersionState.LIVE & {
|
|
246
|
-
readonly?: "__readonly";
|
|
256
|
+
readonly?: "__readonly" | undefined;
|
|
247
257
|
}) | (WorkflowVersionState.INACTIVE & {
|
|
248
|
-
readonly?: "__readonly";
|
|
258
|
+
readonly?: "__readonly" | undefined;
|
|
249
259
|
});
|
|
250
260
|
definition: {
|
|
251
261
|
entrypoints: {
|
|
@@ -278,7 +288,7 @@ export default class {
|
|
|
278
288
|
};
|
|
279
289
|
};
|
|
280
290
|
readonly analyze: {
|
|
281
|
-
readonly?: "__readonly";
|
|
291
|
+
readonly?: "__readonly" | undefined;
|
|
282
292
|
branches: string[];
|
|
283
293
|
individualizedBranches: string[];
|
|
284
294
|
defaultBranches: string[];
|
|
@@ -293,64 +303,73 @@ export default class {
|
|
|
293
303
|
};
|
|
294
304
|
};
|
|
295
305
|
}[];
|
|
306
|
+
parameterValues: {
|
|
307
|
+
[x: string]: {
|
|
308
|
+
entrypointIndex: number | null;
|
|
309
|
+
value: string;
|
|
310
|
+
}[];
|
|
311
|
+
};
|
|
296
312
|
readonly urls?: {
|
|
297
313
|
click: string;
|
|
298
314
|
display: string;
|
|
299
315
|
type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image";
|
|
300
|
-
|
|
316
|
+
parameters: {
|
|
317
|
+
[x: string]: string;
|
|
318
|
+
};
|
|
319
|
+
}[] | undefined;
|
|
301
320
|
readonly status: (WorkflowStatus.DRAFT & {
|
|
302
|
-
readonly?: "__readonly";
|
|
321
|
+
readonly?: "__readonly" | undefined;
|
|
303
322
|
}) | (WorkflowStatus.PUBLISHING & {
|
|
304
|
-
readonly?: "__readonly";
|
|
323
|
+
readonly?: "__readonly" | undefined;
|
|
305
324
|
}) | (WorkflowStatus.PUBLISHED & {
|
|
306
|
-
readonly?: "__readonly";
|
|
325
|
+
readonly?: "__readonly" | undefined;
|
|
307
326
|
}) | (WorkflowStatus.ERROR & {
|
|
308
|
-
readonly?: "__readonly";
|
|
327
|
+
readonly?: "__readonly" | undefined;
|
|
309
328
|
});
|
|
310
329
|
};
|
|
311
330
|
}, any>>;
|
|
312
331
|
get: (params: {
|
|
313
332
|
id: string;
|
|
314
|
-
versions?: WorkflowVersionState[];
|
|
315
|
-
}, options?: AxiosRequestConfig<any>) => Promise<import("axios").AxiosResponse<{
|
|
333
|
+
versions?: WorkflowVersionState[] | undefined;
|
|
334
|
+
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
|
|
316
335
|
status: "success";
|
|
317
336
|
program: string;
|
|
318
337
|
version: string;
|
|
319
338
|
datetime: string;
|
|
320
|
-
code?: number;
|
|
339
|
+
code?: number | undefined;
|
|
321
340
|
message: string;
|
|
322
341
|
data: {
|
|
323
|
-
description?: string;
|
|
342
|
+
description?: string | undefined;
|
|
324
343
|
readonly id: string & {
|
|
325
|
-
readonly?: "__readonly";
|
|
344
|
+
readonly?: "__readonly" | undefined;
|
|
326
345
|
};
|
|
327
346
|
readonly companyId: string & {
|
|
328
|
-
readonly?: "__readonly";
|
|
347
|
+
readonly?: "__readonly" | undefined;
|
|
329
348
|
};
|
|
330
349
|
name: string;
|
|
331
350
|
readonly updatedAt: Date & {
|
|
332
|
-
readonly?: "__readonly";
|
|
351
|
+
readonly?: "__readonly" | undefined;
|
|
333
352
|
};
|
|
334
353
|
readonly createdAt: Date & {
|
|
335
|
-
readonly?: "__readonly";
|
|
354
|
+
readonly?: "__readonly" | undefined;
|
|
336
355
|
};
|
|
337
356
|
resourceGroupIds: string[];
|
|
338
357
|
readonly versions: {
|
|
339
358
|
metadata?: {
|
|
340
359
|
[x: string]: unknown;
|
|
341
|
-
};
|
|
360
|
+
} | undefined;
|
|
342
361
|
readonly updatedAt: Date & {
|
|
343
|
-
readonly?: "__readonly";
|
|
362
|
+
readonly?: "__readonly" | undefined;
|
|
344
363
|
};
|
|
345
364
|
readonly createdAt: Date & {
|
|
346
|
-
readonly?: "__readonly";
|
|
365
|
+
readonly?: "__readonly" | undefined;
|
|
347
366
|
};
|
|
348
367
|
readonly state: (WorkflowVersionState.DRAFT & {
|
|
349
|
-
readonly?: "__readonly";
|
|
368
|
+
readonly?: "__readonly" | undefined;
|
|
350
369
|
}) | (WorkflowVersionState.LIVE & {
|
|
351
|
-
readonly?: "__readonly";
|
|
370
|
+
readonly?: "__readonly" | undefined;
|
|
352
371
|
}) | (WorkflowVersionState.INACTIVE & {
|
|
353
|
-
readonly?: "__readonly";
|
|
372
|
+
readonly?: "__readonly" | undefined;
|
|
354
373
|
});
|
|
355
374
|
definition: {
|
|
356
375
|
entrypoints: {
|
|
@@ -383,7 +402,7 @@ export default class {
|
|
|
383
402
|
};
|
|
384
403
|
};
|
|
385
404
|
readonly analyze: {
|
|
386
|
-
readonly?: "__readonly";
|
|
405
|
+
readonly?: "__readonly" | undefined;
|
|
387
406
|
branches: string[];
|
|
388
407
|
individualizedBranches: string[];
|
|
389
408
|
defaultBranches: string[];
|
|
@@ -398,32 +417,124 @@ export default class {
|
|
|
398
417
|
};
|
|
399
418
|
};
|
|
400
419
|
}[];
|
|
420
|
+
parameterValues: {
|
|
421
|
+
[x: string]: {
|
|
422
|
+
entrypointIndex: number | null;
|
|
423
|
+
value: string;
|
|
424
|
+
}[];
|
|
425
|
+
};
|
|
401
426
|
readonly urls?: {
|
|
402
427
|
click: string;
|
|
403
428
|
display: string;
|
|
404
429
|
type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image";
|
|
405
|
-
|
|
430
|
+
parameters: {
|
|
431
|
+
[x: string]: string;
|
|
432
|
+
};
|
|
433
|
+
}[] | undefined;
|
|
406
434
|
readonly status: (WorkflowStatus.DRAFT & {
|
|
407
|
-
readonly?: "__readonly";
|
|
435
|
+
readonly?: "__readonly" | undefined;
|
|
408
436
|
}) | (WorkflowStatus.PUBLISHING & {
|
|
409
|
-
readonly?: "__readonly";
|
|
437
|
+
readonly?: "__readonly" | undefined;
|
|
410
438
|
}) | (WorkflowStatus.PUBLISHED & {
|
|
411
|
-
readonly?: "__readonly";
|
|
439
|
+
readonly?: "__readonly" | undefined;
|
|
412
440
|
}) | (WorkflowStatus.ERROR & {
|
|
413
|
-
readonly?: "__readonly";
|
|
441
|
+
readonly?: "__readonly" | undefined;
|
|
414
442
|
});
|
|
415
443
|
};
|
|
416
444
|
}, any>>;
|
|
417
445
|
update: (params: {
|
|
418
446
|
id: string;
|
|
419
447
|
}, data: {
|
|
420
|
-
description?: string;
|
|
421
|
-
|
|
422
|
-
|
|
448
|
+
description?: string | undefined;
|
|
449
|
+
readonly id?: (string & {
|
|
450
|
+
readonly?: "__readonly" | undefined;
|
|
451
|
+
}) | undefined;
|
|
452
|
+
readonly companyId?: (string & {
|
|
453
|
+
readonly?: "__readonly" | undefined;
|
|
454
|
+
}) | undefined;
|
|
455
|
+
name?: string | undefined;
|
|
456
|
+
readonly updatedAt?: (Date & {
|
|
457
|
+
readonly?: "__readonly" | undefined;
|
|
458
|
+
}) | undefined;
|
|
459
|
+
readonly createdAt?: (Date & {
|
|
460
|
+
readonly?: "__readonly" | undefined;
|
|
461
|
+
}) | undefined;
|
|
462
|
+
resourceGroupIds?: string[] | undefined;
|
|
463
|
+
readonly versions?: {
|
|
464
|
+
metadata?: {
|
|
465
|
+
[x: string]: unknown;
|
|
466
|
+
} | undefined;
|
|
467
|
+
definition: {
|
|
468
|
+
entrypoints: {
|
|
469
|
+
node: string;
|
|
470
|
+
type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image";
|
|
471
|
+
}[];
|
|
472
|
+
nodes: {
|
|
473
|
+
[x: string]: {
|
|
474
|
+
name: string;
|
|
475
|
+
metadata: {
|
|
476
|
+
[x: string]: unknown;
|
|
477
|
+
};
|
|
478
|
+
dependencies: string[];
|
|
479
|
+
edges: {
|
|
480
|
+
node: string;
|
|
481
|
+
config: {
|
|
482
|
+
[x: string]: unknown;
|
|
483
|
+
};
|
|
484
|
+
}[];
|
|
485
|
+
} | {
|
|
486
|
+
name: string;
|
|
487
|
+
metadata: {
|
|
488
|
+
[x: string]: unknown;
|
|
489
|
+
};
|
|
490
|
+
dependencies: string[];
|
|
491
|
+
config: {
|
|
492
|
+
[x: string]: unknown;
|
|
493
|
+
};
|
|
494
|
+
};
|
|
495
|
+
};
|
|
496
|
+
};
|
|
497
|
+
}[] | undefined;
|
|
498
|
+
parameterValues?: {
|
|
499
|
+
[x: string]: {
|
|
500
|
+
entrypointIndex: number | null;
|
|
501
|
+
value: string;
|
|
502
|
+
}[];
|
|
503
|
+
} | undefined;
|
|
504
|
+
readonly urls?: {
|
|
505
|
+
click: string;
|
|
506
|
+
display: string;
|
|
507
|
+
type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image";
|
|
508
|
+
parameters: {
|
|
509
|
+
[x: string]: string;
|
|
510
|
+
};
|
|
511
|
+
}[] | undefined;
|
|
512
|
+
readonly status?: (WorkflowStatus.DRAFT & {
|
|
513
|
+
readonly?: "__readonly" | undefined;
|
|
514
|
+
}) | (WorkflowStatus.PUBLISHING & {
|
|
515
|
+
readonly?: "__readonly" | undefined;
|
|
516
|
+
}) | (WorkflowStatus.PUBLISHED & {
|
|
517
|
+
readonly?: "__readonly" | undefined;
|
|
518
|
+
}) | (WorkflowStatus.ERROR & {
|
|
519
|
+
readonly?: "__readonly" | undefined;
|
|
520
|
+
}) | undefined;
|
|
423
521
|
} & {
|
|
424
522
|
metadata?: {
|
|
425
523
|
[x: string]: unknown;
|
|
426
|
-
};
|
|
524
|
+
} | undefined;
|
|
525
|
+
readonly updatedAt?: (Date & {
|
|
526
|
+
readonly?: "__readonly" | undefined;
|
|
527
|
+
}) | undefined;
|
|
528
|
+
readonly createdAt?: (Date & {
|
|
529
|
+
readonly?: "__readonly" | undefined;
|
|
530
|
+
}) | undefined;
|
|
531
|
+
readonly state?: (WorkflowVersionState.DRAFT & {
|
|
532
|
+
readonly?: "__readonly" | undefined;
|
|
533
|
+
}) | (WorkflowVersionState.LIVE & {
|
|
534
|
+
readonly?: "__readonly" | undefined;
|
|
535
|
+
}) | (WorkflowVersionState.INACTIVE & {
|
|
536
|
+
readonly?: "__readonly" | undefined;
|
|
537
|
+
}) | undefined;
|
|
427
538
|
definition?: {
|
|
428
539
|
entrypoints: {
|
|
429
540
|
node: string;
|
|
@@ -453,46 +564,61 @@ export default class {
|
|
|
453
564
|
};
|
|
454
565
|
};
|
|
455
566
|
};
|
|
456
|
-
};
|
|
457
|
-
|
|
567
|
+
} | undefined;
|
|
568
|
+
readonly analyze?: {
|
|
569
|
+
readonly?: "__readonly" | undefined;
|
|
570
|
+
branches: string[];
|
|
571
|
+
individualizedBranches: string[];
|
|
572
|
+
defaultBranches: string[];
|
|
573
|
+
outputsForEntrypoint: {
|
|
574
|
+
[x: string]: string[];
|
|
575
|
+
};
|
|
576
|
+
entrypointsForNode: {
|
|
577
|
+
[x: string]: string[];
|
|
578
|
+
};
|
|
579
|
+
datasForEntrypoint: {
|
|
580
|
+
[x: string]: string[];
|
|
581
|
+
};
|
|
582
|
+
} | undefined;
|
|
583
|
+
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
|
|
458
584
|
status: "success";
|
|
459
585
|
program: string;
|
|
460
586
|
version: string;
|
|
461
587
|
datetime: string;
|
|
462
|
-
code?: number;
|
|
588
|
+
code?: number | undefined;
|
|
463
589
|
message: string;
|
|
464
590
|
data: {
|
|
465
|
-
description?: string;
|
|
591
|
+
description?: string | undefined;
|
|
466
592
|
readonly id: string & {
|
|
467
|
-
readonly?: "__readonly";
|
|
593
|
+
readonly?: "__readonly" | undefined;
|
|
468
594
|
};
|
|
469
595
|
readonly companyId: string & {
|
|
470
|
-
readonly?: "__readonly";
|
|
596
|
+
readonly?: "__readonly" | undefined;
|
|
471
597
|
};
|
|
472
598
|
name: string;
|
|
473
599
|
readonly updatedAt: Date & {
|
|
474
|
-
readonly?: "__readonly";
|
|
600
|
+
readonly?: "__readonly" | undefined;
|
|
475
601
|
};
|
|
476
602
|
readonly createdAt: Date & {
|
|
477
|
-
readonly?: "__readonly";
|
|
603
|
+
readonly?: "__readonly" | undefined;
|
|
478
604
|
};
|
|
479
605
|
resourceGroupIds: string[];
|
|
480
606
|
readonly versions: {
|
|
481
607
|
metadata?: {
|
|
482
608
|
[x: string]: unknown;
|
|
483
|
-
};
|
|
609
|
+
} | undefined;
|
|
484
610
|
readonly updatedAt: Date & {
|
|
485
|
-
readonly?: "__readonly";
|
|
611
|
+
readonly?: "__readonly" | undefined;
|
|
486
612
|
};
|
|
487
613
|
readonly createdAt: Date & {
|
|
488
|
-
readonly?: "__readonly";
|
|
614
|
+
readonly?: "__readonly" | undefined;
|
|
489
615
|
};
|
|
490
616
|
readonly state: (WorkflowVersionState.DRAFT & {
|
|
491
|
-
readonly?: "__readonly";
|
|
617
|
+
readonly?: "__readonly" | undefined;
|
|
492
618
|
}) | (WorkflowVersionState.LIVE & {
|
|
493
|
-
readonly?: "__readonly";
|
|
619
|
+
readonly?: "__readonly" | undefined;
|
|
494
620
|
}) | (WorkflowVersionState.INACTIVE & {
|
|
495
|
-
readonly?: "__readonly";
|
|
621
|
+
readonly?: "__readonly" | undefined;
|
|
496
622
|
});
|
|
497
623
|
definition: {
|
|
498
624
|
entrypoints: {
|
|
@@ -525,7 +651,7 @@ export default class {
|
|
|
525
651
|
};
|
|
526
652
|
};
|
|
527
653
|
readonly analyze: {
|
|
528
|
-
readonly?: "__readonly";
|
|
654
|
+
readonly?: "__readonly" | undefined;
|
|
529
655
|
branches: string[];
|
|
530
656
|
individualizedBranches: string[];
|
|
531
657
|
defaultBranches: string[];
|
|
@@ -540,74 +666,83 @@ export default class {
|
|
|
540
666
|
};
|
|
541
667
|
};
|
|
542
668
|
}[];
|
|
669
|
+
parameterValues: {
|
|
670
|
+
[x: string]: {
|
|
671
|
+
entrypointIndex: number | null;
|
|
672
|
+
value: string;
|
|
673
|
+
}[];
|
|
674
|
+
};
|
|
543
675
|
readonly urls?: {
|
|
544
676
|
click: string;
|
|
545
677
|
display: string;
|
|
546
678
|
type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image";
|
|
547
|
-
|
|
679
|
+
parameters: {
|
|
680
|
+
[x: string]: string;
|
|
681
|
+
};
|
|
682
|
+
}[] | undefined;
|
|
548
683
|
readonly status: (WorkflowStatus.DRAFT & {
|
|
549
|
-
readonly?: "__readonly";
|
|
684
|
+
readonly?: "__readonly" | undefined;
|
|
550
685
|
}) | (WorkflowStatus.PUBLISHING & {
|
|
551
|
-
readonly?: "__readonly";
|
|
686
|
+
readonly?: "__readonly" | undefined;
|
|
552
687
|
}) | (WorkflowStatus.PUBLISHED & {
|
|
553
|
-
readonly?: "__readonly";
|
|
688
|
+
readonly?: "__readonly" | undefined;
|
|
554
689
|
}) | (WorkflowStatus.ERROR & {
|
|
555
|
-
readonly?: "__readonly";
|
|
690
|
+
readonly?: "__readonly" | undefined;
|
|
556
691
|
});
|
|
557
692
|
};
|
|
558
693
|
}, any>>;
|
|
559
694
|
delete: (params: {
|
|
560
695
|
id: string;
|
|
561
|
-
}, options?: AxiosRequestConfig<any>) => Promise<import("axios").AxiosResponse<{
|
|
696
|
+
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
|
|
562
697
|
status: "success";
|
|
563
698
|
program: string;
|
|
564
699
|
version: string;
|
|
565
700
|
datetime: string;
|
|
566
|
-
code?: number;
|
|
701
|
+
code?: number | undefined;
|
|
567
702
|
message: string;
|
|
568
703
|
data: {};
|
|
569
704
|
}, any>>;
|
|
570
705
|
duplicate: (params: Record<string, never>, data: {
|
|
571
706
|
sourceId: string;
|
|
572
|
-
}, options?: AxiosRequestConfig<any>) => Promise<import("axios").AxiosResponse<{
|
|
707
|
+
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
|
|
573
708
|
status: "success";
|
|
574
709
|
program: string;
|
|
575
710
|
version: string;
|
|
576
711
|
datetime: string;
|
|
577
|
-
code?: number;
|
|
712
|
+
code?: number | undefined;
|
|
578
713
|
message: string;
|
|
579
714
|
data: {
|
|
580
|
-
description?: string;
|
|
715
|
+
description?: string | undefined;
|
|
581
716
|
readonly id: string & {
|
|
582
|
-
readonly?: "__readonly";
|
|
717
|
+
readonly?: "__readonly" | undefined;
|
|
583
718
|
};
|
|
584
719
|
readonly companyId: string & {
|
|
585
|
-
readonly?: "__readonly";
|
|
720
|
+
readonly?: "__readonly" | undefined;
|
|
586
721
|
};
|
|
587
722
|
name: string;
|
|
588
723
|
readonly updatedAt: Date & {
|
|
589
|
-
readonly?: "__readonly";
|
|
724
|
+
readonly?: "__readonly" | undefined;
|
|
590
725
|
};
|
|
591
726
|
readonly createdAt: Date & {
|
|
592
|
-
readonly?: "__readonly";
|
|
727
|
+
readonly?: "__readonly" | undefined;
|
|
593
728
|
};
|
|
594
729
|
resourceGroupIds: string[];
|
|
595
730
|
readonly versions: {
|
|
596
731
|
metadata?: {
|
|
597
732
|
[x: string]: unknown;
|
|
598
|
-
};
|
|
733
|
+
} | undefined;
|
|
599
734
|
readonly updatedAt: Date & {
|
|
600
|
-
readonly?: "__readonly";
|
|
735
|
+
readonly?: "__readonly" | undefined;
|
|
601
736
|
};
|
|
602
737
|
readonly createdAt: Date & {
|
|
603
|
-
readonly?: "__readonly";
|
|
738
|
+
readonly?: "__readonly" | undefined;
|
|
604
739
|
};
|
|
605
740
|
readonly state: (WorkflowVersionState.DRAFT & {
|
|
606
|
-
readonly?: "__readonly";
|
|
741
|
+
readonly?: "__readonly" | undefined;
|
|
607
742
|
}) | (WorkflowVersionState.LIVE & {
|
|
608
|
-
readonly?: "__readonly";
|
|
743
|
+
readonly?: "__readonly" | undefined;
|
|
609
744
|
}) | (WorkflowVersionState.INACTIVE & {
|
|
610
|
-
readonly?: "__readonly";
|
|
745
|
+
readonly?: "__readonly" | undefined;
|
|
611
746
|
});
|
|
612
747
|
definition: {
|
|
613
748
|
entrypoints: {
|
|
@@ -640,7 +775,7 @@ export default class {
|
|
|
640
775
|
};
|
|
641
776
|
};
|
|
642
777
|
readonly analyze: {
|
|
643
|
-
readonly?: "__readonly";
|
|
778
|
+
readonly?: "__readonly" | undefined;
|
|
644
779
|
branches: string[];
|
|
645
780
|
individualizedBranches: string[];
|
|
646
781
|
defaultBranches: string[];
|
|
@@ -655,63 +790,72 @@ export default class {
|
|
|
655
790
|
};
|
|
656
791
|
};
|
|
657
792
|
}[];
|
|
793
|
+
parameterValues: {
|
|
794
|
+
[x: string]: {
|
|
795
|
+
entrypointIndex: number | null;
|
|
796
|
+
value: string;
|
|
797
|
+
}[];
|
|
798
|
+
};
|
|
658
799
|
readonly urls?: {
|
|
659
800
|
click: string;
|
|
660
801
|
display: string;
|
|
661
802
|
type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image";
|
|
662
|
-
|
|
803
|
+
parameters: {
|
|
804
|
+
[x: string]: string;
|
|
805
|
+
};
|
|
806
|
+
}[] | undefined;
|
|
663
807
|
readonly status: (WorkflowStatus.DRAFT & {
|
|
664
|
-
readonly?: "__readonly";
|
|
808
|
+
readonly?: "__readonly" | undefined;
|
|
665
809
|
}) | (WorkflowStatus.PUBLISHING & {
|
|
666
|
-
readonly?: "__readonly";
|
|
810
|
+
readonly?: "__readonly" | undefined;
|
|
667
811
|
}) | (WorkflowStatus.PUBLISHED & {
|
|
668
|
-
readonly?: "__readonly";
|
|
812
|
+
readonly?: "__readonly" | undefined;
|
|
669
813
|
}) | (WorkflowStatus.ERROR & {
|
|
670
|
-
readonly?: "__readonly";
|
|
814
|
+
readonly?: "__readonly" | undefined;
|
|
671
815
|
});
|
|
672
816
|
};
|
|
673
817
|
}, any>>;
|
|
674
818
|
publish: (params: {
|
|
675
819
|
id: string;
|
|
676
|
-
}, options?: AxiosRequestConfig<any>) => Promise<import("axios").AxiosResponse<{
|
|
820
|
+
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
|
|
677
821
|
status: "success";
|
|
678
822
|
program: string;
|
|
679
823
|
version: string;
|
|
680
824
|
datetime: string;
|
|
681
|
-
code?: number;
|
|
825
|
+
code?: number | undefined;
|
|
682
826
|
message: string;
|
|
683
827
|
data: {
|
|
684
|
-
description?: string;
|
|
828
|
+
description?: string | undefined;
|
|
685
829
|
readonly id: string & {
|
|
686
|
-
readonly?: "__readonly";
|
|
830
|
+
readonly?: "__readonly" | undefined;
|
|
687
831
|
};
|
|
688
832
|
readonly companyId: string & {
|
|
689
|
-
readonly?: "__readonly";
|
|
833
|
+
readonly?: "__readonly" | undefined;
|
|
690
834
|
};
|
|
691
835
|
name: string;
|
|
692
836
|
readonly updatedAt: Date & {
|
|
693
|
-
readonly?: "__readonly";
|
|
837
|
+
readonly?: "__readonly" | undefined;
|
|
694
838
|
};
|
|
695
839
|
readonly createdAt: Date & {
|
|
696
|
-
readonly?: "__readonly";
|
|
840
|
+
readonly?: "__readonly" | undefined;
|
|
697
841
|
};
|
|
698
842
|
resourceGroupIds: string[];
|
|
699
843
|
readonly versions: {
|
|
700
844
|
metadata?: {
|
|
701
845
|
[x: string]: unknown;
|
|
702
|
-
};
|
|
846
|
+
} | undefined;
|
|
703
847
|
readonly updatedAt: Date & {
|
|
704
|
-
readonly?: "__readonly";
|
|
848
|
+
readonly?: "__readonly" | undefined;
|
|
705
849
|
};
|
|
706
850
|
readonly createdAt: Date & {
|
|
707
|
-
readonly?: "__readonly";
|
|
851
|
+
readonly?: "__readonly" | undefined;
|
|
708
852
|
};
|
|
709
853
|
readonly state: (WorkflowVersionState.DRAFT & {
|
|
710
|
-
readonly?: "__readonly";
|
|
854
|
+
readonly?: "__readonly" | undefined;
|
|
711
855
|
}) | (WorkflowVersionState.LIVE & {
|
|
712
|
-
readonly?: "__readonly";
|
|
856
|
+
readonly?: "__readonly" | undefined;
|
|
713
857
|
}) | (WorkflowVersionState.INACTIVE & {
|
|
714
|
-
readonly?: "__readonly";
|
|
858
|
+
readonly?: "__readonly" | undefined;
|
|
715
859
|
});
|
|
716
860
|
definition: {
|
|
717
861
|
entrypoints: {
|
|
@@ -744,7 +888,7 @@ export default class {
|
|
|
744
888
|
};
|
|
745
889
|
};
|
|
746
890
|
readonly analyze: {
|
|
747
|
-
readonly?: "__readonly";
|
|
891
|
+
readonly?: "__readonly" | undefined;
|
|
748
892
|
branches: string[];
|
|
749
893
|
individualizedBranches: string[];
|
|
750
894
|
defaultBranches: string[];
|
|
@@ -759,19 +903,28 @@ export default class {
|
|
|
759
903
|
};
|
|
760
904
|
};
|
|
761
905
|
}[];
|
|
906
|
+
parameterValues: {
|
|
907
|
+
[x: string]: {
|
|
908
|
+
entrypointIndex: number | null;
|
|
909
|
+
value: string;
|
|
910
|
+
}[];
|
|
911
|
+
};
|
|
762
912
|
readonly urls?: {
|
|
763
913
|
click: string;
|
|
764
914
|
display: string;
|
|
765
915
|
type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image";
|
|
766
|
-
|
|
916
|
+
parameters: {
|
|
917
|
+
[x: string]: string;
|
|
918
|
+
};
|
|
919
|
+
}[] | undefined;
|
|
767
920
|
readonly status: (WorkflowStatus.DRAFT & {
|
|
768
|
-
readonly?: "__readonly";
|
|
921
|
+
readonly?: "__readonly" | undefined;
|
|
769
922
|
}) | (WorkflowStatus.PUBLISHING & {
|
|
770
|
-
readonly?: "__readonly";
|
|
923
|
+
readonly?: "__readonly" | undefined;
|
|
771
924
|
}) | (WorkflowStatus.PUBLISHED & {
|
|
772
|
-
readonly?: "__readonly";
|
|
925
|
+
readonly?: "__readonly" | undefined;
|
|
773
926
|
}) | (WorkflowStatus.ERROR & {
|
|
774
|
-
readonly?: "__readonly";
|
|
927
|
+
readonly?: "__readonly" | undefined;
|
|
775
928
|
});
|
|
776
929
|
};
|
|
777
930
|
}, any>>;
|
|
@@ -780,32 +933,45 @@ export default class {
|
|
|
780
933
|
run: (params: {
|
|
781
934
|
id: string;
|
|
782
935
|
index: number;
|
|
783
|
-
'rlvt-u'?: string | string[];
|
|
784
|
-
mode?: "debug" | "click" | "display";
|
|
785
|
-
'no-cache'?: boolean;
|
|
786
|
-
'dry-run'?: boolean;
|
|
787
|
-
}, options?: AxiosRequestConfig<any>) => Promise<import("axios").AxiosResponse<unknown, any>>;
|
|
936
|
+
'rlvt-u'?: string | string[] | undefined;
|
|
937
|
+
mode?: "debug" | "click" | "display" | undefined;
|
|
938
|
+
'no-cache'?: boolean | undefined;
|
|
939
|
+
'dry-run'?: boolean | undefined;
|
|
940
|
+
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<unknown, any>>;
|
|
788
941
|
};
|
|
789
942
|
get Usage(): {
|
|
943
|
+
listParameterValues: (params: {
|
|
944
|
+
names: string[];
|
|
945
|
+
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
|
|
946
|
+
status: "success";
|
|
947
|
+
program: string;
|
|
948
|
+
version: string;
|
|
949
|
+
datetime: string;
|
|
950
|
+
code?: number | undefined;
|
|
951
|
+
message: string;
|
|
952
|
+
data: {
|
|
953
|
+
[key: string]: string[];
|
|
954
|
+
};
|
|
955
|
+
}, any>>;
|
|
790
956
|
listWorkflowsWithContent: (params: {
|
|
791
957
|
id: string;
|
|
792
|
-
}, options?: AxiosRequestConfig<any>) => Promise<import("axios").AxiosResponse<{
|
|
958
|
+
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
|
|
793
959
|
status: "success";
|
|
794
960
|
program: string;
|
|
795
961
|
version: string;
|
|
796
962
|
datetime: string;
|
|
797
|
-
code?: number;
|
|
963
|
+
code?: number | undefined;
|
|
798
964
|
message: string;
|
|
799
965
|
data: string[];
|
|
800
966
|
}, any>>;
|
|
801
967
|
updateWorkflowsWithContent: (params: {
|
|
802
968
|
id: string;
|
|
803
|
-
}, options?: AxiosRequestConfig<any>) => Promise<import("axios").AxiosResponse<{
|
|
969
|
+
}, options?: AxiosRequestConfig<any> | undefined) => Promise<import("axios").AxiosResponse<{
|
|
804
970
|
status: "success";
|
|
805
971
|
program: string;
|
|
806
972
|
version: string;
|
|
807
973
|
datetime: string;
|
|
808
|
-
code?: number;
|
|
974
|
+
code?: number | undefined;
|
|
809
975
|
message: string;
|
|
810
976
|
data: {};
|
|
811
977
|
}, any>>;
|
package/build/api.js
CHANGED
|
@@ -61,6 +61,11 @@ class default_1 {
|
|
|
61
61
|
params: pick(params, "rlvt-u", "mode", "no-cache", "dry-run"),
|
|
62
62
|
}, options));
|
|
63
63
|
}
|
|
64
|
+
listParameterValuesUsage(params, options) {
|
|
65
|
+
return this.axios.get("/workflows/usage/parameter-values", Object.assign({}, {
|
|
66
|
+
params: pick(params, "names"),
|
|
67
|
+
}, options));
|
|
68
|
+
}
|
|
64
69
|
listWorkflowsWithContentUsage(params, options) {
|
|
65
70
|
return this.axios.get("/workflows/usage/content/{id}".replace(/{id}/, String(params["id"])), options);
|
|
66
71
|
}
|
|
@@ -87,6 +92,7 @@ class default_1 {
|
|
|
87
92
|
}
|
|
88
93
|
get Usage() {
|
|
89
94
|
return {
|
|
95
|
+
listParameterValues: this.listParameterValuesUsage.bind(this),
|
|
90
96
|
listWorkflowsWithContent: this.listWorkflowsWithContentUsage.bind(this),
|
|
91
97
|
updateWorkflowsWithContent: this.updateWorkflowsWithContentUsage.bind(this)
|
|
92
98
|
};
|
|
@@ -101,4 +107,4 @@ function pick(obj, ...keys) {
|
|
|
101
107
|
});
|
|
102
108
|
return ret;
|
|
103
109
|
}
|
|
104
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
110
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBpLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vYXBpLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ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UFBSSxNQUFNLENBQUMsSUFBSSxDQUFDLEdBQUcsQ0FBQyxDQUFDLFFBQVEsQ0FBQyxHQUFhLENBQUM7WUFDL0MsR0FBRyxDQUFDLEdBQUcsQ0FBQyxHQUFHLEdBQUcsQ0FBQyxHQUFHLENBQUMsQ0FBQztJQUM1QixDQUFDLENBQUMsQ0FBQztJQUNILE9BQU8sR0FBRyxDQUFDO0FBQ2YsQ0FBQyJ9
|
package/build/definitions.d.ts
CHANGED
|
@@ -109,8 +109,17 @@ export declare type SerializedWorkflow = {
|
|
|
109
109
|
readonly updatedAt: (Date) & readonlyP;
|
|
110
110
|
name: string;
|
|
111
111
|
description?: string;
|
|
112
|
+
parameterValues: {
|
|
113
|
+
[key: string]: {
|
|
114
|
+
entrypointIndex: number | null;
|
|
115
|
+
value: string;
|
|
116
|
+
}[];
|
|
117
|
+
};
|
|
112
118
|
readonly urls?: ({
|
|
113
119
|
type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image";
|
|
120
|
+
parameters: {
|
|
121
|
+
[key: string]: string;
|
|
122
|
+
};
|
|
114
123
|
display: string;
|
|
115
124
|
click: string;
|
|
116
125
|
}[]) & readonlyP;
|
|
@@ -131,8 +140,17 @@ export declare type Partial_SerializedWorkflow = {
|
|
|
131
140
|
readonly updatedAt?: (Date) & readonlyP;
|
|
132
141
|
name?: string;
|
|
133
142
|
description?: string;
|
|
143
|
+
parameterValues?: {
|
|
144
|
+
[key: string]: {
|
|
145
|
+
entrypointIndex: number | null;
|
|
146
|
+
value: string;
|
|
147
|
+
}[];
|
|
148
|
+
};
|
|
134
149
|
readonly urls?: ({
|
|
135
150
|
type: "email" | "raw" | "mobile-push-image" | "mobile-app-image" | "web-image";
|
|
151
|
+
parameters: {
|
|
152
|
+
[key: string]: string;
|
|
153
|
+
};
|
|
136
154
|
display: string;
|
|
137
155
|
click: string;
|
|
138
156
|
}[]) & readonlyP;
|
package/package.json
CHANGED