@emilgroup/action-sdk 1.8.1-beta.14 → 1.8.1-beta.15
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 +2 -2
- package/api/action-client-api.ts +24 -48
- package/api/actions-api.ts +18 -36
- package/api/executions-api.ts +6 -12
- package/base.ts +41 -174
- package/common.ts +2 -3
- package/configuration.ts +0 -20
- package/dist/api/action-client-api.d.ts +12 -12
- package/dist/api/action-client-api.js +41 -63
- package/dist/api/actions-api.d.ts +9 -9
- package/dist/api/actions-api.js +31 -48
- package/dist/api/executions-api.d.ts +3 -3
- package/dist/api/executions-api.js +10 -15
- package/dist/api/health-api.d.ts +1 -1
- package/dist/base.d.ts +0 -24
- package/dist/base.js +59 -178
- package/dist/common.d.ts +1 -1
- package/dist/common.js +0 -1
- package/dist/configuration.d.ts +0 -17
- package/dist/configuration.js +0 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
|
|
|
17
17
|
Navigate to the folder of your consuming project and run one of the following commands:
|
|
18
18
|
|
|
19
19
|
```
|
|
20
|
-
npm install @emilgroup/action-sdk@1.8.1-beta.
|
|
20
|
+
npm install @emilgroup/action-sdk@1.8.1-beta.15 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/action-sdk@1.8.1-beta.
|
|
24
|
+
yarn add @emilgroup/action-sdk@1.8.1-beta.15
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `ActionsApi`.
|
package/api/action-client-api.ts
CHANGED
|
@@ -79,10 +79,8 @@ export const ActionClientApiAxiosParamCreator = function (configuration?: Config
|
|
|
79
79
|
// http bearer authentication required
|
|
80
80
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
81
81
|
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
if (authorizationValue) {
|
|
85
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
82
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
83
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
86
84
|
}
|
|
87
85
|
|
|
88
86
|
|
|
@@ -129,10 +127,8 @@ export const ActionClientApiAxiosParamCreator = function (configuration?: Config
|
|
|
129
127
|
// http bearer authentication required
|
|
130
128
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
131
129
|
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
if (authorizationValue) {
|
|
135
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
130
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
131
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
136
132
|
}
|
|
137
133
|
|
|
138
134
|
|
|
@@ -176,10 +172,8 @@ export const ActionClientApiAxiosParamCreator = function (configuration?: Config
|
|
|
176
172
|
// http bearer authentication required
|
|
177
173
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
178
174
|
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
if (authorizationValue) {
|
|
182
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
175
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
176
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
183
177
|
}
|
|
184
178
|
|
|
185
179
|
|
|
@@ -228,10 +222,8 @@ export const ActionClientApiAxiosParamCreator = function (configuration?: Config
|
|
|
228
222
|
localVarQueryParameter['expand'] = expand;
|
|
229
223
|
}
|
|
230
224
|
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
if (authorizationValue) {
|
|
234
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
225
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
226
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
235
227
|
}
|
|
236
228
|
|
|
237
229
|
|
|
@@ -281,10 +273,8 @@ export const ActionClientApiAxiosParamCreator = function (configuration?: Config
|
|
|
281
273
|
localVarQueryParameter['correlationId'] = correlationId;
|
|
282
274
|
}
|
|
283
275
|
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
if (authorizationValue) {
|
|
287
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
276
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
277
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
288
278
|
}
|
|
289
279
|
|
|
290
280
|
|
|
@@ -333,10 +323,8 @@ export const ActionClientApiAxiosParamCreator = function (configuration?: Config
|
|
|
333
323
|
localVarQueryParameter['expand'] = expand;
|
|
334
324
|
}
|
|
335
325
|
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
if (authorizationValue) {
|
|
339
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
326
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
327
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
340
328
|
}
|
|
341
329
|
|
|
342
330
|
|
|
@@ -411,10 +399,8 @@ export const ActionClientApiAxiosParamCreator = function (configuration?: Config
|
|
|
411
399
|
localVarQueryParameter['filters'] = filters;
|
|
412
400
|
}
|
|
413
401
|
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
if (authorizationValue) {
|
|
417
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
402
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
403
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
418
404
|
}
|
|
419
405
|
|
|
420
406
|
|
|
@@ -493,10 +479,8 @@ export const ActionClientApiAxiosParamCreator = function (configuration?: Config
|
|
|
493
479
|
localVarQueryParameter['filters'] = filters;
|
|
494
480
|
}
|
|
495
481
|
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
if (authorizationValue) {
|
|
499
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
482
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
483
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
500
484
|
}
|
|
501
485
|
|
|
502
486
|
|
|
@@ -571,10 +555,8 @@ export const ActionClientApiAxiosParamCreator = function (configuration?: Config
|
|
|
571
555
|
localVarQueryParameter['filters'] = filters;
|
|
572
556
|
}
|
|
573
557
|
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
if (authorizationValue) {
|
|
577
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
558
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
559
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
578
560
|
}
|
|
579
561
|
|
|
580
562
|
|
|
@@ -649,10 +631,8 @@ export const ActionClientApiAxiosParamCreator = function (configuration?: Config
|
|
|
649
631
|
localVarQueryParameter['filters'] = filters;
|
|
650
632
|
}
|
|
651
633
|
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
if (authorizationValue) {
|
|
655
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
634
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
635
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
656
636
|
}
|
|
657
637
|
|
|
658
638
|
|
|
@@ -695,10 +675,8 @@ export const ActionClientApiAxiosParamCreator = function (configuration?: Config
|
|
|
695
675
|
// http bearer authentication required
|
|
696
676
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
697
677
|
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
if (authorizationValue) {
|
|
701
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
678
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
679
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
702
680
|
}
|
|
703
681
|
|
|
704
682
|
|
|
@@ -748,10 +726,8 @@ export const ActionClientApiAxiosParamCreator = function (configuration?: Config
|
|
|
748
726
|
// http bearer authentication required
|
|
749
727
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
750
728
|
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
if (authorizationValue) {
|
|
754
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
729
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
730
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
755
731
|
}
|
|
756
732
|
|
|
757
733
|
|
package/api/actions-api.ts
CHANGED
|
@@ -71,10 +71,8 @@ export const ActionsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
71
71
|
// http bearer authentication required
|
|
72
72
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
73
73
|
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
if (authorizationValue) {
|
|
77
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
74
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
75
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
78
76
|
}
|
|
79
77
|
|
|
80
78
|
|
|
@@ -121,10 +119,8 @@ export const ActionsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
121
119
|
// http bearer authentication required
|
|
122
120
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
123
121
|
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
if (authorizationValue) {
|
|
127
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
122
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
123
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
128
124
|
}
|
|
129
125
|
|
|
130
126
|
|
|
@@ -168,10 +164,8 @@ export const ActionsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
168
164
|
// http bearer authentication required
|
|
169
165
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
170
166
|
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
if (authorizationValue) {
|
|
174
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
167
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
168
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
175
169
|
}
|
|
176
170
|
|
|
177
171
|
|
|
@@ -220,10 +214,8 @@ export const ActionsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
220
214
|
localVarQueryParameter['expand'] = expand;
|
|
221
215
|
}
|
|
222
216
|
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
if (authorizationValue) {
|
|
226
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
217
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
218
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
227
219
|
}
|
|
228
220
|
|
|
229
221
|
|
|
@@ -272,10 +264,8 @@ export const ActionsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
272
264
|
localVarQueryParameter['expand'] = expand;
|
|
273
265
|
}
|
|
274
266
|
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
if (authorizationValue) {
|
|
278
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
267
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
268
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
279
269
|
}
|
|
280
270
|
|
|
281
271
|
|
|
@@ -354,10 +344,8 @@ export const ActionsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
354
344
|
localVarQueryParameter['filters'] = filters;
|
|
355
345
|
}
|
|
356
346
|
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
if (authorizationValue) {
|
|
360
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
347
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
348
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
361
349
|
}
|
|
362
350
|
|
|
363
351
|
|
|
@@ -432,10 +420,8 @@ export const ActionsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
432
420
|
localVarQueryParameter['filters'] = filters;
|
|
433
421
|
}
|
|
434
422
|
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
if (authorizationValue) {
|
|
438
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
423
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
424
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
439
425
|
}
|
|
440
426
|
|
|
441
427
|
|
|
@@ -510,10 +496,8 @@ export const ActionsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
510
496
|
localVarQueryParameter['filters'] = filters;
|
|
511
497
|
}
|
|
512
498
|
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
if (authorizationValue) {
|
|
516
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
499
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
500
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
517
501
|
}
|
|
518
502
|
|
|
519
503
|
|
|
@@ -560,10 +544,8 @@ export const ActionsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
560
544
|
// http bearer authentication required
|
|
561
545
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
562
546
|
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
if (authorizationValue) {
|
|
566
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
547
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
548
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
567
549
|
}
|
|
568
550
|
|
|
569
551
|
|
package/api/executions-api.ts
CHANGED
|
@@ -70,10 +70,8 @@ export const ExecutionsApiAxiosParamCreator = function (configuration?: Configur
|
|
|
70
70
|
localVarQueryParameter['correlationId'] = correlationId;
|
|
71
71
|
}
|
|
72
72
|
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
if (authorizationValue) {
|
|
76
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
73
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
74
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
77
75
|
}
|
|
78
76
|
|
|
79
77
|
|
|
@@ -148,10 +146,8 @@ export const ExecutionsApiAxiosParamCreator = function (configuration?: Configur
|
|
|
148
146
|
localVarQueryParameter['filters'] = filters;
|
|
149
147
|
}
|
|
150
148
|
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
if (authorizationValue) {
|
|
154
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
149
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
150
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
155
151
|
}
|
|
156
152
|
|
|
157
153
|
|
|
@@ -194,10 +190,8 @@ export const ExecutionsApiAxiosParamCreator = function (configuration?: Configur
|
|
|
194
190
|
// http bearer authentication required
|
|
195
191
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
196
192
|
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
if (authorizationValue) {
|
|
200
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
193
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
194
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
201
195
|
}
|
|
202
196
|
|
|
203
197
|
|