@emilgroup/action-sdk 1.8.1-beta.19 → 1.8.1-beta.21
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 +36 -96
- package/api/actions-api.ts +27 -72
- package/api/executions-api.ts +9 -24
- package/api/health-api.ts +1 -1
- package/base.ts +43 -239
- 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 +89 -152
- package/dist/api/actions-api.d.ts +9 -9
- package/dist/api/actions-api.js +67 -115
- package/dist/api/executions-api.d.ts +3 -3
- package/dist/api/executions-api.js +22 -37
- package/dist/api/health-api.d.ts +1 -1
- package/dist/api/health-api.js +1 -1
- package/dist/base.d.ts +0 -26
- package/dist/base.js +60 -243
- 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.21 --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.21
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `ActionsApi`.
|
package/api/action-client-api.ts
CHANGED
|
@@ -79,13 +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
|
-
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
85
|
-
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
86
|
-
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
87
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
88
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
82
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
83
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
89
84
|
}
|
|
90
85
|
|
|
91
86
|
|
|
@@ -132,13 +127,8 @@ export const ActionClientApiAxiosParamCreator = function (configuration?: Config
|
|
|
132
127
|
// http bearer authentication required
|
|
133
128
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
134
129
|
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
138
|
-
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
139
|
-
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
140
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
141
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
130
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
131
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
142
132
|
}
|
|
143
133
|
|
|
144
134
|
|
|
@@ -182,13 +172,8 @@ export const ActionClientApiAxiosParamCreator = function (configuration?: Config
|
|
|
182
172
|
// http bearer authentication required
|
|
183
173
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
184
174
|
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
188
|
-
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
189
|
-
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
190
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
191
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
175
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
176
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
192
177
|
}
|
|
193
178
|
|
|
194
179
|
|
|
@@ -237,13 +222,8 @@ export const ActionClientApiAxiosParamCreator = function (configuration?: Config
|
|
|
237
222
|
localVarQueryParameter['expand'] = expand;
|
|
238
223
|
}
|
|
239
224
|
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
243
|
-
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
244
|
-
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
245
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
246
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
225
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
226
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
247
227
|
}
|
|
248
228
|
|
|
249
229
|
|
|
@@ -293,13 +273,8 @@ export const ActionClientApiAxiosParamCreator = function (configuration?: Config
|
|
|
293
273
|
localVarQueryParameter['correlationId'] = correlationId;
|
|
294
274
|
}
|
|
295
275
|
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
299
|
-
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
300
|
-
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
301
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
302
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
276
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
277
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
303
278
|
}
|
|
304
279
|
|
|
305
280
|
|
|
@@ -348,13 +323,8 @@ export const ActionClientApiAxiosParamCreator = function (configuration?: Config
|
|
|
348
323
|
localVarQueryParameter['expand'] = expand;
|
|
349
324
|
}
|
|
350
325
|
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
354
|
-
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
355
|
-
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
356
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
357
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
326
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
327
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
358
328
|
}
|
|
359
329
|
|
|
360
330
|
|
|
@@ -429,13 +399,8 @@ export const ActionClientApiAxiosParamCreator = function (configuration?: Config
|
|
|
429
399
|
localVarQueryParameter['filters'] = filters;
|
|
430
400
|
}
|
|
431
401
|
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
435
|
-
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
436
|
-
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
437
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
438
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
402
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
403
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
439
404
|
}
|
|
440
405
|
|
|
441
406
|
|
|
@@ -514,13 +479,8 @@ export const ActionClientApiAxiosParamCreator = function (configuration?: Config
|
|
|
514
479
|
localVarQueryParameter['filters'] = filters;
|
|
515
480
|
}
|
|
516
481
|
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
520
|
-
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
521
|
-
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
522
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
523
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
482
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
483
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
524
484
|
}
|
|
525
485
|
|
|
526
486
|
|
|
@@ -595,13 +555,8 @@ export const ActionClientApiAxiosParamCreator = function (configuration?: Config
|
|
|
595
555
|
localVarQueryParameter['filters'] = filters;
|
|
596
556
|
}
|
|
597
557
|
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
601
|
-
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
602
|
-
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
603
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
604
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
558
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
559
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
605
560
|
}
|
|
606
561
|
|
|
607
562
|
|
|
@@ -676,13 +631,8 @@ export const ActionClientApiAxiosParamCreator = function (configuration?: Config
|
|
|
676
631
|
localVarQueryParameter['filters'] = filters;
|
|
677
632
|
}
|
|
678
633
|
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
682
|
-
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
683
|
-
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
684
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
685
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
634
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
635
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
686
636
|
}
|
|
687
637
|
|
|
688
638
|
|
|
@@ -725,13 +675,8 @@ export const ActionClientApiAxiosParamCreator = function (configuration?: Config
|
|
|
725
675
|
// http bearer authentication required
|
|
726
676
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
727
677
|
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
731
|
-
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
732
|
-
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
733
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
734
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
678
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
679
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
735
680
|
}
|
|
736
681
|
|
|
737
682
|
|
|
@@ -781,13 +726,8 @@ export const ActionClientApiAxiosParamCreator = function (configuration?: Config
|
|
|
781
726
|
// http bearer authentication required
|
|
782
727
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
783
728
|
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
787
|
-
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
788
|
-
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
789
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
790
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
729
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
730
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
791
731
|
}
|
|
792
732
|
|
|
793
733
|
|
|
@@ -1632,7 +1572,7 @@ export class ActionClientApi extends BaseAPI {
|
|
|
1632
1572
|
* @memberof ActionClientApi
|
|
1633
1573
|
*/
|
|
1634
1574
|
public createAction(requestParameters: ActionClientApiCreateActionRequest, options?: AxiosRequestConfig) {
|
|
1635
|
-
return ActionClientApiFp(this.configuration).createAction(requestParameters.createActionRequestDto, requestParameters.authorization,
|
|
1575
|
+
return ActionClientApiFp(this.configuration).createAction(requestParameters.createActionRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1636
1576
|
}
|
|
1637
1577
|
|
|
1638
1578
|
/**
|
|
@@ -1644,7 +1584,7 @@ export class ActionClientApi extends BaseAPI {
|
|
|
1644
1584
|
* @memberof ActionClientApi
|
|
1645
1585
|
*/
|
|
1646
1586
|
public deleteAction(requestParameters: ActionClientApiDeleteActionRequest, options?: AxiosRequestConfig) {
|
|
1647
|
-
return ActionClientApiFp(this.configuration).deleteAction(requestParameters.code, requestParameters.authorization,
|
|
1587
|
+
return ActionClientApiFp(this.configuration).deleteAction(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1648
1588
|
}
|
|
1649
1589
|
|
|
1650
1590
|
/**
|
|
@@ -1656,7 +1596,7 @@ export class ActionClientApi extends BaseAPI {
|
|
|
1656
1596
|
* @memberof ActionClientApi
|
|
1657
1597
|
*/
|
|
1658
1598
|
public deleteActionVersion(requestParameters: ActionClientApiDeleteActionVersionRequest, options?: AxiosRequestConfig) {
|
|
1659
|
-
return ActionClientApiFp(this.configuration).deleteActionVersion(requestParameters.versionCode, requestParameters.authorization,
|
|
1599
|
+
return ActionClientApiFp(this.configuration).deleteActionVersion(requestParameters.versionCode, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1660
1600
|
}
|
|
1661
1601
|
|
|
1662
1602
|
/**
|
|
@@ -1668,7 +1608,7 @@ export class ActionClientApi extends BaseAPI {
|
|
|
1668
1608
|
* @memberof ActionClientApi
|
|
1669
1609
|
*/
|
|
1670
1610
|
public getAction(requestParameters: ActionClientApiGetActionRequest, options?: AxiosRequestConfig) {
|
|
1671
|
-
return ActionClientApiFp(this.configuration).getAction(requestParameters.code, requestParameters.authorization, requestParameters.expand,
|
|
1611
|
+
return ActionClientApiFp(this.configuration).getAction(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
|
|
1672
1612
|
}
|
|
1673
1613
|
|
|
1674
1614
|
/**
|
|
@@ -1680,7 +1620,7 @@ export class ActionClientApi extends BaseAPI {
|
|
|
1680
1620
|
* @memberof ActionClientApi
|
|
1681
1621
|
*/
|
|
1682
1622
|
public getActionExecutionStatus(requestParameters: ActionClientApiGetActionExecutionStatusRequest = {}, options?: AxiosRequestConfig) {
|
|
1683
|
-
return ActionClientApiFp(this.configuration).getActionExecutionStatus(requestParameters.authorization, requestParameters.executionCode, requestParameters.correlationId,
|
|
1623
|
+
return ActionClientApiFp(this.configuration).getActionExecutionStatus(requestParameters.authorization, requestParameters.executionCode, requestParameters.correlationId, options).then((request) => request(this.axios, this.basePath));
|
|
1684
1624
|
}
|
|
1685
1625
|
|
|
1686
1626
|
/**
|
|
@@ -1692,7 +1632,7 @@ export class ActionClientApi extends BaseAPI {
|
|
|
1692
1632
|
* @memberof ActionClientApi
|
|
1693
1633
|
*/
|
|
1694
1634
|
public getActionVersion(requestParameters: ActionClientApiGetActionVersionRequest, options?: AxiosRequestConfig) {
|
|
1695
|
-
return ActionClientApiFp(this.configuration).getActionVersion(requestParameters.versionCode, requestParameters.authorization, requestParameters.expand,
|
|
1635
|
+
return ActionClientApiFp(this.configuration).getActionVersion(requestParameters.versionCode, requestParameters.authorization, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
|
|
1696
1636
|
}
|
|
1697
1637
|
|
|
1698
1638
|
/**
|
|
@@ -1704,7 +1644,7 @@ export class ActionClientApi extends BaseAPI {
|
|
|
1704
1644
|
* @memberof ActionClientApi
|
|
1705
1645
|
*/
|
|
1706
1646
|
public listActionExecutions(requestParameters: ActionClientApiListActionExecutionsRequest = {}, options?: AxiosRequestConfig) {
|
|
1707
|
-
return ActionClientApiFp(this.configuration).listActionExecutions(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters,
|
|
1647
|
+
return ActionClientApiFp(this.configuration).listActionExecutions(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
1708
1648
|
}
|
|
1709
1649
|
|
|
1710
1650
|
/**
|
|
@@ -1716,7 +1656,7 @@ export class ActionClientApi extends BaseAPI {
|
|
|
1716
1656
|
* @memberof ActionClientApi
|
|
1717
1657
|
*/
|
|
1718
1658
|
public listActionVersions(requestParameters: ActionClientApiListActionVersionsRequest, options?: AxiosRequestConfig) {
|
|
1719
|
-
return ActionClientApiFp(this.configuration).listActionVersions(requestParameters.code, requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters,
|
|
1659
|
+
return ActionClientApiFp(this.configuration).listActionVersions(requestParameters.code, requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
1720
1660
|
}
|
|
1721
1661
|
|
|
1722
1662
|
/**
|
|
@@ -1728,7 +1668,7 @@ export class ActionClientApi extends BaseAPI {
|
|
|
1728
1668
|
* @memberof ActionClientApi
|
|
1729
1669
|
*/
|
|
1730
1670
|
public listActions(requestParameters: ActionClientApiListActionsRequest = {}, options?: AxiosRequestConfig) {
|
|
1731
|
-
return ActionClientApiFp(this.configuration).listActions(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters,
|
|
1671
|
+
return ActionClientApiFp(this.configuration).listActions(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
1732
1672
|
}
|
|
1733
1673
|
|
|
1734
1674
|
/**
|
|
@@ -1740,7 +1680,7 @@ export class ActionClientApi extends BaseAPI {
|
|
|
1740
1680
|
* @memberof ActionClientApi
|
|
1741
1681
|
*/
|
|
1742
1682
|
public listAllActionVersions(requestParameters: ActionClientApiListAllActionVersionsRequest = {}, options?: AxiosRequestConfig) {
|
|
1743
|
-
return ActionClientApiFp(this.configuration).listAllActionVersions(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters,
|
|
1683
|
+
return ActionClientApiFp(this.configuration).listAllActionVersions(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
1744
1684
|
}
|
|
1745
1685
|
|
|
1746
1686
|
/**
|
|
@@ -1752,7 +1692,7 @@ export class ActionClientApi extends BaseAPI {
|
|
|
1752
1692
|
* @memberof ActionClientApi
|
|
1753
1693
|
*/
|
|
1754
1694
|
public triggerAction(requestParameters: ActionClientApiTriggerActionRequest, options?: AxiosRequestConfig) {
|
|
1755
|
-
return ActionClientApiFp(this.configuration).triggerAction(requestParameters.triggerActionRequestDto, requestParameters.authorization,
|
|
1695
|
+
return ActionClientApiFp(this.configuration).triggerAction(requestParameters.triggerActionRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1756
1696
|
}
|
|
1757
1697
|
|
|
1758
1698
|
/**
|
|
@@ -1764,6 +1704,6 @@ export class ActionClientApi extends BaseAPI {
|
|
|
1764
1704
|
* @memberof ActionClientApi
|
|
1765
1705
|
*/
|
|
1766
1706
|
public updateAction(requestParameters: ActionClientApiUpdateActionRequest, options?: AxiosRequestConfig) {
|
|
1767
|
-
return ActionClientApiFp(this.configuration).updateAction(requestParameters.code, requestParameters.updateActionRequestDto, requestParameters.authorization,
|
|
1707
|
+
return ActionClientApiFp(this.configuration).updateAction(requestParameters.code, requestParameters.updateActionRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1768
1708
|
}
|
|
1769
1709
|
}
|
package/api/actions-api.ts
CHANGED
|
@@ -71,13 +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
|
-
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
77
|
-
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
78
|
-
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
79
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
80
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
74
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
75
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
81
76
|
}
|
|
82
77
|
|
|
83
78
|
|
|
@@ -124,13 +119,8 @@ export const ActionsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
124
119
|
// http bearer authentication required
|
|
125
120
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
126
121
|
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
130
|
-
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
131
|
-
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
132
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
133
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
122
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
123
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
134
124
|
}
|
|
135
125
|
|
|
136
126
|
|
|
@@ -174,13 +164,8 @@ export const ActionsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
174
164
|
// http bearer authentication required
|
|
175
165
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
176
166
|
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
180
|
-
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
181
|
-
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
182
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
183
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
167
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
168
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
184
169
|
}
|
|
185
170
|
|
|
186
171
|
|
|
@@ -229,13 +214,8 @@ export const ActionsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
229
214
|
localVarQueryParameter['expand'] = expand;
|
|
230
215
|
}
|
|
231
216
|
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
235
|
-
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
236
|
-
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
237
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
238
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
217
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
218
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
239
219
|
}
|
|
240
220
|
|
|
241
221
|
|
|
@@ -284,13 +264,8 @@ export const ActionsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
284
264
|
localVarQueryParameter['expand'] = expand;
|
|
285
265
|
}
|
|
286
266
|
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
290
|
-
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
291
|
-
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
292
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
293
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
267
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
268
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
294
269
|
}
|
|
295
270
|
|
|
296
271
|
|
|
@@ -369,13 +344,8 @@ export const ActionsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
369
344
|
localVarQueryParameter['filters'] = filters;
|
|
370
345
|
}
|
|
371
346
|
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
375
|
-
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
376
|
-
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
377
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
378
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
347
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
348
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
379
349
|
}
|
|
380
350
|
|
|
381
351
|
|
|
@@ -450,13 +420,8 @@ export const ActionsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
450
420
|
localVarQueryParameter['filters'] = filters;
|
|
451
421
|
}
|
|
452
422
|
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
456
|
-
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
457
|
-
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
458
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
459
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
423
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
424
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
460
425
|
}
|
|
461
426
|
|
|
462
427
|
|
|
@@ -531,13 +496,8 @@ export const ActionsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
531
496
|
localVarQueryParameter['filters'] = filters;
|
|
532
497
|
}
|
|
533
498
|
|
|
534
|
-
|
|
535
|
-
|
|
536
|
-
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
537
|
-
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
538
|
-
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
539
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
540
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
499
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
500
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
541
501
|
}
|
|
542
502
|
|
|
543
503
|
|
|
@@ -584,13 +544,8 @@ export const ActionsApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
584
544
|
// http bearer authentication required
|
|
585
545
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
586
546
|
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
const authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
|
|
590
|
-
const authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
|
|
591
|
-
const authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !baseOptions?.headers?.['X-Emil-Account'];
|
|
592
|
-
if (authorizationValue || authorizationKeepEmpty) {
|
|
593
|
-
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
547
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
548
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
594
549
|
}
|
|
595
550
|
|
|
596
551
|
|
|
@@ -1240,7 +1195,7 @@ export class ActionsApi extends BaseAPI {
|
|
|
1240
1195
|
* @memberof ActionsApi
|
|
1241
1196
|
*/
|
|
1242
1197
|
public createAction(requestParameters: ActionsApiCreateActionRequest, options?: AxiosRequestConfig) {
|
|
1243
|
-
return ActionsApiFp(this.configuration).createAction(requestParameters.createActionRequestDto, requestParameters.authorization,
|
|
1198
|
+
return ActionsApiFp(this.configuration).createAction(requestParameters.createActionRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1244
1199
|
}
|
|
1245
1200
|
|
|
1246
1201
|
/**
|
|
@@ -1252,7 +1207,7 @@ export class ActionsApi extends BaseAPI {
|
|
|
1252
1207
|
* @memberof ActionsApi
|
|
1253
1208
|
*/
|
|
1254
1209
|
public deleteAction(requestParameters: ActionsApiDeleteActionRequest, options?: AxiosRequestConfig) {
|
|
1255
|
-
return ActionsApiFp(this.configuration).deleteAction(requestParameters.code, requestParameters.authorization,
|
|
1210
|
+
return ActionsApiFp(this.configuration).deleteAction(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1256
1211
|
}
|
|
1257
1212
|
|
|
1258
1213
|
/**
|
|
@@ -1264,7 +1219,7 @@ export class ActionsApi extends BaseAPI {
|
|
|
1264
1219
|
* @memberof ActionsApi
|
|
1265
1220
|
*/
|
|
1266
1221
|
public deleteActionVersion(requestParameters: ActionsApiDeleteActionVersionRequest, options?: AxiosRequestConfig) {
|
|
1267
|
-
return ActionsApiFp(this.configuration).deleteActionVersion(requestParameters.versionCode, requestParameters.authorization,
|
|
1222
|
+
return ActionsApiFp(this.configuration).deleteActionVersion(requestParameters.versionCode, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1268
1223
|
}
|
|
1269
1224
|
|
|
1270
1225
|
/**
|
|
@@ -1276,7 +1231,7 @@ export class ActionsApi extends BaseAPI {
|
|
|
1276
1231
|
* @memberof ActionsApi
|
|
1277
1232
|
*/
|
|
1278
1233
|
public getAction(requestParameters: ActionsApiGetActionRequest, options?: AxiosRequestConfig) {
|
|
1279
|
-
return ActionsApiFp(this.configuration).getAction(requestParameters.code, requestParameters.authorization, requestParameters.expand,
|
|
1234
|
+
return ActionsApiFp(this.configuration).getAction(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
|
|
1280
1235
|
}
|
|
1281
1236
|
|
|
1282
1237
|
/**
|
|
@@ -1288,7 +1243,7 @@ export class ActionsApi extends BaseAPI {
|
|
|
1288
1243
|
* @memberof ActionsApi
|
|
1289
1244
|
*/
|
|
1290
1245
|
public getActionVersion(requestParameters: ActionsApiGetActionVersionRequest, options?: AxiosRequestConfig) {
|
|
1291
|
-
return ActionsApiFp(this.configuration).getActionVersion(requestParameters.versionCode, requestParameters.authorization, requestParameters.expand,
|
|
1246
|
+
return ActionsApiFp(this.configuration).getActionVersion(requestParameters.versionCode, requestParameters.authorization, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
|
|
1292
1247
|
}
|
|
1293
1248
|
|
|
1294
1249
|
/**
|
|
@@ -1300,7 +1255,7 @@ export class ActionsApi extends BaseAPI {
|
|
|
1300
1255
|
* @memberof ActionsApi
|
|
1301
1256
|
*/
|
|
1302
1257
|
public listActionVersions(requestParameters: ActionsApiListActionVersionsRequest, options?: AxiosRequestConfig) {
|
|
1303
|
-
return ActionsApiFp(this.configuration).listActionVersions(requestParameters.code, requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters,
|
|
1258
|
+
return ActionsApiFp(this.configuration).listActionVersions(requestParameters.code, requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
1304
1259
|
}
|
|
1305
1260
|
|
|
1306
1261
|
/**
|
|
@@ -1312,7 +1267,7 @@ export class ActionsApi extends BaseAPI {
|
|
|
1312
1267
|
* @memberof ActionsApi
|
|
1313
1268
|
*/
|
|
1314
1269
|
public listActions(requestParameters: ActionsApiListActionsRequest = {}, options?: AxiosRequestConfig) {
|
|
1315
|
-
return ActionsApiFp(this.configuration).listActions(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters,
|
|
1270
|
+
return ActionsApiFp(this.configuration).listActions(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
1316
1271
|
}
|
|
1317
1272
|
|
|
1318
1273
|
/**
|
|
@@ -1324,7 +1279,7 @@ export class ActionsApi extends BaseAPI {
|
|
|
1324
1279
|
* @memberof ActionsApi
|
|
1325
1280
|
*/
|
|
1326
1281
|
public listAllActionVersions(requestParameters: ActionsApiListAllActionVersionsRequest = {}, options?: AxiosRequestConfig) {
|
|
1327
|
-
return ActionsApiFp(this.configuration).listAllActionVersions(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters,
|
|
1282
|
+
return ActionsApiFp(this.configuration).listAllActionVersions(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
1328
1283
|
}
|
|
1329
1284
|
|
|
1330
1285
|
/**
|
|
@@ -1336,6 +1291,6 @@ export class ActionsApi extends BaseAPI {
|
|
|
1336
1291
|
* @memberof ActionsApi
|
|
1337
1292
|
*/
|
|
1338
1293
|
public updateAction(requestParameters: ActionsApiUpdateActionRequest, options?: AxiosRequestConfig) {
|
|
1339
|
-
return ActionsApiFp(this.configuration).updateAction(requestParameters.code, requestParameters.updateActionRequestDto, requestParameters.authorization,
|
|
1294
|
+
return ActionsApiFp(this.configuration).updateAction(requestParameters.code, requestParameters.updateActionRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1340
1295
|
}
|
|
1341
1296
|
}
|