@emilgroup/action-sdk-node 1.0.1-beta.51 → 1.1.1-beta.12

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.
@@ -119,7 +119,7 @@ export declare const ActionsApiAxiosParamCreator: (configuration?: Configuration
119
119
  */
120
120
  listAllActionVersions: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
121
121
  /**
122
- * Updates an existing action configuration (patch semantics) **Required Permissions** \"action-management.actions.update\" **Required Permissions** \"action-management.actions.view\"
122
+ * Updates an existing action configuration (patch semantics) **Required Permissions** \"action-management.actions.update\"
123
123
  * @summary Update the action
124
124
  * @param {string} code Action code
125
125
  * @param {UpdateActionRequestDto} updateActionRequestDto
@@ -128,16 +128,6 @@ export declare const ActionsApiAxiosParamCreator: (configuration?: Configuration
128
128
  * @throws {RequiredError}
129
129
  */
130
130
  updateAction: (code: string, updateActionRequestDto: UpdateActionRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
131
- /**
132
- * Updates an existing action configuration (patch semantics) **Required Permissions** \"action-management.actions.update\" **Required Permissions** \"action-management.actions.view\"
133
- * @summary Update the action
134
- * @param {string} code Action code
135
- * @param {UpdateActionRequestDto} updateActionRequestDto
136
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
137
- * @param {*} [options] Override http request option.
138
- * @throws {RequiredError}
139
- */
140
- updateAction_1: (code: string, updateActionRequestDto: UpdateActionRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
141
131
  };
142
132
  /**
143
133
  * ActionsApi - functional programming interface
@@ -238,7 +228,7 @@ export declare const ActionsApiFp: (configuration?: Configuration) => {
238
228
  */
239
229
  listAllActionVersions(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListActionVersionsResponseClass>>;
240
230
  /**
241
- * Updates an existing action configuration (patch semantics) **Required Permissions** \"action-management.actions.update\" **Required Permissions** \"action-management.actions.view\"
231
+ * Updates an existing action configuration (patch semantics) **Required Permissions** \"action-management.actions.update\"
242
232
  * @summary Update the action
243
233
  * @param {string} code Action code
244
234
  * @param {UpdateActionRequestDto} updateActionRequestDto
@@ -247,16 +237,6 @@ export declare const ActionsApiFp: (configuration?: Configuration) => {
247
237
  * @throws {RequiredError}
248
238
  */
249
239
  updateAction(code: string, updateActionRequestDto: UpdateActionRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateActionResponseClass>>;
250
- /**
251
- * Updates an existing action configuration (patch semantics) **Required Permissions** \"action-management.actions.update\" **Required Permissions** \"action-management.actions.view\"
252
- * @summary Update the action
253
- * @param {string} code Action code
254
- * @param {UpdateActionRequestDto} updateActionRequestDto
255
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
256
- * @param {*} [options] Override http request option.
257
- * @throws {RequiredError}
258
- */
259
- updateAction_1(code: string, updateActionRequestDto: UpdateActionRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateActionResponseClass>>;
260
240
  };
261
241
  /**
262
242
  * ActionsApi - factory interface
@@ -357,7 +337,7 @@ export declare const ActionsApiFactory: (configuration?: Configuration, basePath
357
337
  */
358
338
  listAllActionVersions(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListActionVersionsResponseClass>;
359
339
  /**
360
- * Updates an existing action configuration (patch semantics) **Required Permissions** \"action-management.actions.update\" **Required Permissions** \"action-management.actions.view\"
340
+ * Updates an existing action configuration (patch semantics) **Required Permissions** \"action-management.actions.update\"
361
341
  * @summary Update the action
362
342
  * @param {string} code Action code
363
343
  * @param {UpdateActionRequestDto} updateActionRequestDto
@@ -366,16 +346,6 @@ export declare const ActionsApiFactory: (configuration?: Configuration, basePath
366
346
  * @throws {RequiredError}
367
347
  */
368
348
  updateAction(code: string, updateActionRequestDto: UpdateActionRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateActionResponseClass>;
369
- /**
370
- * Updates an existing action configuration (patch semantics) **Required Permissions** \"action-management.actions.update\" **Required Permissions** \"action-management.actions.view\"
371
- * @summary Update the action
372
- * @param {string} code Action code
373
- * @param {UpdateActionRequestDto} updateActionRequestDto
374
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
375
- * @param {*} [options] Override http request option.
376
- * @throws {RequiredError}
377
- */
378
- updateAction_1(code: string, updateActionRequestDto: UpdateActionRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateActionResponseClass>;
379
349
  };
380
350
  /**
381
351
  * Request parameters for createAction operation in ActionsApi.
@@ -680,31 +650,6 @@ export interface ActionsApiUpdateActionRequest {
680
650
  */
681
651
  readonly authorization?: string;
682
652
  }
683
- /**
684
- * Request parameters for updateAction_1 operation in ActionsApi.
685
- * @export
686
- * @interface ActionsApiUpdateAction0Request
687
- */
688
- export interface ActionsApiUpdateAction0Request {
689
- /**
690
- * Action code
691
- * @type {string}
692
- * @memberof ActionsApiUpdateAction0
693
- */
694
- readonly code: string;
695
- /**
696
- *
697
- * @type {UpdateActionRequestDto}
698
- * @memberof ActionsApiUpdateAction0
699
- */
700
- readonly updateActionRequestDto: UpdateActionRequestDto;
701
- /**
702
- * Bearer Token: provided by the login endpoint under the name accessToken.
703
- * @type {string}
704
- * @memberof ActionsApiUpdateAction0
705
- */
706
- readonly authorization?: string;
707
- }
708
653
  /**
709
654
  * ActionsApi - object-oriented interface
710
655
  * @export
@@ -785,7 +730,7 @@ export declare class ActionsApi extends BaseAPI {
785
730
  */
786
731
  listAllActionVersions(requestParameters?: ActionsApiListAllActionVersionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListActionVersionsResponseClass, any, {}>>;
787
732
  /**
788
- * Updates an existing action configuration (patch semantics) **Required Permissions** \"action-management.actions.update\" **Required Permissions** \"action-management.actions.view\"
733
+ * Updates an existing action configuration (patch semantics) **Required Permissions** \"action-management.actions.update\"
789
734
  * @summary Update the action
790
735
  * @param {ActionsApiUpdateActionRequest} requestParameters Request parameters.
791
736
  * @param {*} [options] Override http request option.
@@ -793,13 +738,4 @@ export declare class ActionsApi extends BaseAPI {
793
738
  * @memberof ActionsApi
794
739
  */
795
740
  updateAction(requestParameters: ActionsApiUpdateActionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateActionResponseClass, any, {}>>;
796
- /**
797
- * Updates an existing action configuration (patch semantics) **Required Permissions** \"action-management.actions.update\" **Required Permissions** \"action-management.actions.view\"
798
- * @summary Update the action
799
- * @param {ActionsApiUpdateAction0Request} requestParameters Request parameters.
800
- * @param {*} [options] Override http request option.
801
- * @throws {RequiredError}
802
- * @memberof ActionsApi
803
- */
804
- updateAction_1(requestParameters: ActionsApiUpdateAction0Request, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateActionResponseClass, any, {}>>;
805
741
  }
@@ -566,7 +566,7 @@ var ActionsApiAxiosParamCreator = function (configuration) {
566
566
  });
567
567
  },
568
568
  /**
569
- * Updates an existing action configuration (patch semantics) **Required Permissions** \"action-management.actions.update\" **Required Permissions** \"action-management.actions.view\"
569
+ * Updates an existing action configuration (patch semantics) **Required Permissions** \"action-management.actions.update\"
570
570
  * @summary Update the action
571
571
  * @param {string} code Action code
572
572
  * @param {UpdateActionRequestDto} updateActionRequestDto
@@ -618,59 +618,6 @@ var ActionsApiAxiosParamCreator = function (configuration) {
618
618
  });
619
619
  });
620
620
  },
621
- /**
622
- * Updates an existing action configuration (patch semantics) **Required Permissions** \"action-management.actions.update\" **Required Permissions** \"action-management.actions.view\"
623
- * @summary Update the action
624
- * @param {string} code Action code
625
- * @param {UpdateActionRequestDto} updateActionRequestDto
626
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
627
- * @param {*} [options] Override http request option.
628
- * @throws {RequiredError}
629
- */
630
- updateAction_1: function (code, updateActionRequestDto, authorization, options) {
631
- if (options === void 0) { options = {}; }
632
- return __awaiter(_this, void 0, void 0, function () {
633
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
634
- return __generator(this, function (_a) {
635
- switch (_a.label) {
636
- case 0:
637
- // verify required parameter 'code' is not null or undefined
638
- (0, common_1.assertParamExists)('updateAction_1', 'code', code);
639
- // verify required parameter 'updateActionRequestDto' is not null or undefined
640
- (0, common_1.assertParamExists)('updateAction_1', 'updateActionRequestDto', updateActionRequestDto);
641
- localVarPath = "/actionservice/v1/actions/{code}"
642
- .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
643
- localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
644
- if (configuration) {
645
- baseOptions = configuration.baseOptions;
646
- baseAccessToken = configuration.accessToken;
647
- }
648
- localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
649
- localVarHeaderParameter = {};
650
- localVarQueryParameter = {};
651
- // authentication bearer required
652
- // http bearer authentication required
653
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
654
- case 1:
655
- // authentication bearer required
656
- // http bearer authentication required
657
- _a.sent();
658
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
659
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
660
- }
661
- localVarHeaderParameter['Content-Type'] = 'application/json';
662
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
663
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
664
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
665
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateActionRequestDto, localVarRequestOptions, configuration);
666
- return [2 /*return*/, {
667
- url: (0, common_1.toPathString)(localVarUrlObj),
668
- options: localVarRequestOptions,
669
- }];
670
- }
671
- });
672
- });
673
- },
674
621
  };
675
622
  };
676
623
  exports.ActionsApiAxiosParamCreator = ActionsApiAxiosParamCreator;
@@ -871,7 +818,7 @@ var ActionsApiFp = function (configuration) {
871
818
  });
872
819
  },
873
820
  /**
874
- * Updates an existing action configuration (patch semantics) **Required Permissions** \"action-management.actions.update\" **Required Permissions** \"action-management.actions.view\"
821
+ * Updates an existing action configuration (patch semantics) **Required Permissions** \"action-management.actions.update\"
875
822
  * @summary Update the action
876
823
  * @param {string} code Action code
877
824
  * @param {UpdateActionRequestDto} updateActionRequestDto
@@ -892,28 +839,6 @@ var ActionsApiFp = function (configuration) {
892
839
  });
893
840
  });
894
841
  },
895
- /**
896
- * Updates an existing action configuration (patch semantics) **Required Permissions** \"action-management.actions.update\" **Required Permissions** \"action-management.actions.view\"
897
- * @summary Update the action
898
- * @param {string} code Action code
899
- * @param {UpdateActionRequestDto} updateActionRequestDto
900
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
901
- * @param {*} [options] Override http request option.
902
- * @throws {RequiredError}
903
- */
904
- updateAction_1: function (code, updateActionRequestDto, authorization, options) {
905
- return __awaiter(this, void 0, void 0, function () {
906
- var localVarAxiosArgs;
907
- return __generator(this, function (_a) {
908
- switch (_a.label) {
909
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateAction_1(code, updateActionRequestDto, authorization, options)];
910
- case 1:
911
- localVarAxiosArgs = _a.sent();
912
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
913
- }
914
- });
915
- });
916
- },
917
842
  };
918
843
  };
919
844
  exports.ActionsApiFp = ActionsApiFp;
@@ -1034,7 +959,7 @@ var ActionsApiFactory = function (configuration, basePath, axios) {
1034
959
  return localVarFp.listAllActionVersions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
1035
960
  },
1036
961
  /**
1037
- * Updates an existing action configuration (patch semantics) **Required Permissions** \"action-management.actions.update\" **Required Permissions** \"action-management.actions.view\"
962
+ * Updates an existing action configuration (patch semantics) **Required Permissions** \"action-management.actions.update\"
1038
963
  * @summary Update the action
1039
964
  * @param {string} code Action code
1040
965
  * @param {UpdateActionRequestDto} updateActionRequestDto
@@ -1045,18 +970,6 @@ var ActionsApiFactory = function (configuration, basePath, axios) {
1045
970
  updateAction: function (code, updateActionRequestDto, authorization, options) {
1046
971
  return localVarFp.updateAction(code, updateActionRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
1047
972
  },
1048
- /**
1049
- * Updates an existing action configuration (patch semantics) **Required Permissions** \"action-management.actions.update\" **Required Permissions** \"action-management.actions.view\"
1050
- * @summary Update the action
1051
- * @param {string} code Action code
1052
- * @param {UpdateActionRequestDto} updateActionRequestDto
1053
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1054
- * @param {*} [options] Override http request option.
1055
- * @throws {RequiredError}
1056
- */
1057
- updateAction_1: function (code, updateActionRequestDto, authorization, options) {
1058
- return localVarFp.updateAction_1(code, updateActionRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
1059
- },
1060
973
  };
1061
974
  };
1062
975
  exports.ActionsApiFactory = ActionsApiFactory;
@@ -1170,7 +1083,7 @@ var ActionsApi = /** @class */ (function (_super) {
1170
1083
  return (0, exports.ActionsApiFp)(this.configuration).listAllActionVersions(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
1171
1084
  };
1172
1085
  /**
1173
- * Updates an existing action configuration (patch semantics) **Required Permissions** \"action-management.actions.update\" **Required Permissions** \"action-management.actions.view\"
1086
+ * Updates an existing action configuration (patch semantics) **Required Permissions** \"action-management.actions.update\"
1174
1087
  * @summary Update the action
1175
1088
  * @param {ActionsApiUpdateActionRequest} requestParameters Request parameters.
1176
1089
  * @param {*} [options] Override http request option.
@@ -1181,18 +1094,6 @@ var ActionsApi = /** @class */ (function (_super) {
1181
1094
  var _this = this;
1182
1095
  return (0, exports.ActionsApiFp)(this.configuration).updateAction(requestParameters.code, requestParameters.updateActionRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1183
1096
  };
1184
- /**
1185
- * Updates an existing action configuration (patch semantics) **Required Permissions** \"action-management.actions.update\" **Required Permissions** \"action-management.actions.view\"
1186
- * @summary Update the action
1187
- * @param {ActionsApiUpdateAction0Request} requestParameters Request parameters.
1188
- * @param {*} [options] Override http request option.
1189
- * @throws {RequiredError}
1190
- * @memberof ActionsApi
1191
- */
1192
- ActionsApi.prototype.updateAction_1 = function (requestParameters, options) {
1193
- var _this = this;
1194
- return (0, exports.ActionsApiFp)(this.configuration).updateAction_1(requestParameters.code, requestParameters.updateActionRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1195
- };
1196
1097
  return ActionsApi;
1197
1098
  }(base_1.BaseAPI));
1198
1099
  exports.ActionsApi = ActionsApi;
@@ -14,10 +14,10 @@ import { Configuration } from '../configuration';
14
14
  import { RequestArgs, BaseAPI } from '../base';
15
15
  import { InlineResponse200 } from '../models';
16
16
  /**
17
- * DefaultApi - axios parameter creator
17
+ * HealthApi - axios parameter creator
18
18
  * @export
19
19
  */
20
- export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration) => {
20
+ export declare const HealthApiAxiosParamCreator: (configuration?: Configuration) => {
21
21
  /**
22
22
  * Returns the health status of the ActionService service. This endpoint is used to monitor the operational status of the ActionService service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
23
23
  * @summary Health Check
@@ -27,10 +27,10 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
27
27
  check: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
28
28
  };
29
29
  /**
30
- * DefaultApi - functional programming interface
30
+ * HealthApi - functional programming interface
31
31
  * @export
32
32
  */
33
- export declare const DefaultApiFp: (configuration?: Configuration) => {
33
+ export declare const HealthApiFp: (configuration?: Configuration) => {
34
34
  /**
35
35
  * Returns the health status of the ActionService service. This endpoint is used to monitor the operational status of the ActionService service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
36
36
  * @summary Health Check
@@ -40,10 +40,10 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
40
40
  check(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InlineResponse200>>;
41
41
  };
42
42
  /**
43
- * DefaultApi - factory interface
43
+ * HealthApi - factory interface
44
44
  * @export
45
45
  */
46
- export declare const DefaultApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
46
+ export declare const HealthApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
47
47
  /**
48
48
  * Returns the health status of the ActionService service. This endpoint is used to monitor the operational status of the ActionService service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
49
49
  * @summary Health Check
@@ -53,18 +53,18 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
53
53
  check(options?: any): AxiosPromise<InlineResponse200>;
54
54
  };
55
55
  /**
56
- * DefaultApi - object-oriented interface
56
+ * HealthApi - object-oriented interface
57
57
  * @export
58
- * @class DefaultApi
58
+ * @class HealthApi
59
59
  * @extends {BaseAPI}
60
60
  */
61
- export declare class DefaultApi extends BaseAPI {
61
+ export declare class HealthApi extends BaseAPI {
62
62
  /**
63
63
  * Returns the health status of the ActionService service. This endpoint is used to monitor the operational status of the ActionService service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
64
64
  * @summary Health Check
65
65
  * @param {*} [options] Override http request option.
66
66
  * @throws {RequiredError}
67
- * @memberof DefaultApi
67
+ * @memberof HealthApi
68
68
  */
69
69
  check(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InlineResponse200, any, {}>>;
70
70
  }
@@ -78,7 +78,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
78
78
  return (mod && mod.__esModule) ? mod : { "default": mod };
79
79
  };
80
80
  Object.defineProperty(exports, "__esModule", { value: true });
81
- exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = void 0;
81
+ exports.HealthApi = exports.HealthApiFactory = exports.HealthApiFp = exports.HealthApiAxiosParamCreator = void 0;
82
82
  var axios_1 = __importDefault(require("axios"));
83
83
  // Some imports not used depending on template conditions
84
84
  // @ts-ignore
@@ -90,10 +90,10 @@ var base_1 = require("../base");
90
90
  var url_1 = require("url");
91
91
  var FormData = require('form-data');
92
92
  /**
93
- * DefaultApi - axios parameter creator
93
+ * HealthApi - axios parameter creator
94
94
  * @export
95
95
  */
96
- var DefaultApiAxiosParamCreator = function (configuration) {
96
+ var HealthApiAxiosParamCreator = function (configuration) {
97
97
  var _this = this;
98
98
  return {
99
99
  /**
@@ -128,13 +128,13 @@ var DefaultApiAxiosParamCreator = function (configuration) {
128
128
  },
129
129
  };
130
130
  };
131
- exports.DefaultApiAxiosParamCreator = DefaultApiAxiosParamCreator;
131
+ exports.HealthApiAxiosParamCreator = HealthApiAxiosParamCreator;
132
132
  /**
133
- * DefaultApi - functional programming interface
133
+ * HealthApi - functional programming interface
134
134
  * @export
135
135
  */
136
- var DefaultApiFp = function (configuration) {
137
- var localVarAxiosParamCreator = (0, exports.DefaultApiAxiosParamCreator)(configuration);
136
+ var HealthApiFp = function (configuration) {
137
+ var localVarAxiosParamCreator = (0, exports.HealthApiAxiosParamCreator)(configuration);
138
138
  return {
139
139
  /**
140
140
  * Returns the health status of the ActionService service. This endpoint is used to monitor the operational status of the ActionService service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
@@ -157,13 +157,13 @@ var DefaultApiFp = function (configuration) {
157
157
  },
158
158
  };
159
159
  };
160
- exports.DefaultApiFp = DefaultApiFp;
160
+ exports.HealthApiFp = HealthApiFp;
161
161
  /**
162
- * DefaultApi - factory interface
162
+ * HealthApi - factory interface
163
163
  * @export
164
164
  */
165
- var DefaultApiFactory = function (configuration, basePath, axios) {
166
- var localVarFp = (0, exports.DefaultApiFp)(configuration);
165
+ var HealthApiFactory = function (configuration, basePath, axios) {
166
+ var localVarFp = (0, exports.HealthApiFp)(configuration);
167
167
  return {
168
168
  /**
169
169
  * Returns the health status of the ActionService service. This endpoint is used to monitor the operational status of the ActionService service. It typically returns a simple status indicator, such as \'UP\' or \'OK\', confirming that the service is operational and available.
@@ -176,16 +176,16 @@ var DefaultApiFactory = function (configuration, basePath, axios) {
176
176
  },
177
177
  };
178
178
  };
179
- exports.DefaultApiFactory = DefaultApiFactory;
179
+ exports.HealthApiFactory = HealthApiFactory;
180
180
  /**
181
- * DefaultApi - object-oriented interface
181
+ * HealthApi - object-oriented interface
182
182
  * @export
183
- * @class DefaultApi
183
+ * @class HealthApi
184
184
  * @extends {BaseAPI}
185
185
  */
186
- var DefaultApi = /** @class */ (function (_super) {
187
- __extends(DefaultApi, _super);
188
- function DefaultApi() {
186
+ var HealthApi = /** @class */ (function (_super) {
187
+ __extends(HealthApi, _super);
188
+ function HealthApi() {
189
189
  return _super !== null && _super.apply(this, arguments) || this;
190
190
  }
191
191
  /**
@@ -193,12 +193,12 @@ var DefaultApi = /** @class */ (function (_super) {
193
193
  * @summary Health Check
194
194
  * @param {*} [options] Override http request option.
195
195
  * @throws {RequiredError}
196
- * @memberof DefaultApi
196
+ * @memberof HealthApi
197
197
  */
198
- DefaultApi.prototype.check = function (options) {
198
+ HealthApi.prototype.check = function (options) {
199
199
  var _this = this;
200
- return (0, exports.DefaultApiFp)(this.configuration).check(options).then(function (request) { return request(_this.axios, _this.basePath); });
200
+ return (0, exports.HealthApiFp)(this.configuration).check(options).then(function (request) { return request(_this.axios, _this.basePath); });
201
201
  };
202
- return DefaultApi;
202
+ return HealthApi;
203
203
  }(base_1.BaseAPI));
204
- exports.DefaultApi = DefaultApi;
204
+ exports.HealthApi = HealthApi;
package/dist/api.d.ts CHANGED
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ export * from './api/action-client-api';
12
13
  export * from './api/actions-api';
13
- export * from './api/default-api';
14
14
  export * from './api/executions-api';
15
+ export * from './api/health-api';
package/dist/api.js CHANGED
@@ -27,6 +27,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
27
27
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
28
28
  };
29
29
  Object.defineProperty(exports, "__esModule", { value: true });
30
+ __exportStar(require("./api/action-client-api"), exports);
30
31
  __exportStar(require("./api/actions-api"), exports);
31
- __exportStar(require("./api/default-api"), exports);
32
32
  __exportStar(require("./api/executions-api"), exports);
33
+ __exportStar(require("./api/health-api"), exports);
package/dist/base.d.ts CHANGED
@@ -39,7 +39,8 @@ export declare enum Environment {
39
39
  Test = "https://apiv2-test.emil.de",
40
40
  Staging = "https://apiv2-staging.emil.de",
41
41
  Development = "https://apiv2-dev.emil.de",
42
- ProductionZurich = "https://eu-central-2.apiv2.emil.de"
42
+ ProductionZurich = "https://eu-central-2.apiv2.emil.de",
43
+ StagingZurich = "https://eu-central-2.apiv2-staging.emil.de"
43
44
  }
44
45
  export declare function resetRetry(): void;
45
46
  /**
package/dist/base.js CHANGED
@@ -132,6 +132,7 @@ var Environment;
132
132
  Environment["Staging"] = "https://apiv2-staging.emil.de";
133
133
  Environment["Development"] = "https://apiv2-dev.emil.de";
134
134
  Environment["ProductionZurich"] = "https://eu-central-2.apiv2.emil.de";
135
+ Environment["StagingZurich"] = "https://eu-central-2.apiv2-staging.emil.de";
135
136
  })(Environment = exports.Environment || (exports.Environment = {}));
136
137
  var _retry_count = 0;
137
138
  var _retry = null;
@@ -17,27 +17,27 @@ import { ActionExecutionClass } from './action-execution-class';
17
17
  */
18
18
  export interface ListActionExecutionsResponseClass {
19
19
  /**
20
- * List of action executions
21
- * @type {Array<ActionExecutionClass>}
20
+ * Next page token.
21
+ * @type {string}
22
22
  * @memberof ListActionExecutionsResponseClass
23
23
  */
24
- 'items': Array<ActionExecutionClass>;
24
+ 'nextPageToken': string;
25
25
  /**
26
- * Token for the next page
27
- * @type {string}
26
+ * Total amount of items.
27
+ * @type {number}
28
28
  * @memberof ListActionExecutionsResponseClass
29
29
  */
30
- 'nextPageToken': string;
30
+ 'totalItems': number;
31
31
  /**
32
- * Number of items per page
32
+ * Items per page.
33
33
  * @type {number}
34
34
  * @memberof ListActionExecutionsResponseClass
35
35
  */
36
36
  'itemsPerPage': number;
37
37
  /**
38
- * Total number of items
39
- * @type {number}
38
+ * List of action executions
39
+ * @type {Array<ActionExecutionClass>}
40
40
  * @memberof ListActionExecutionsResponseClass
41
41
  */
42
- 'totalItems': number;
42
+ 'items': Array<ActionExecutionClass>;
43
43
  }
@@ -17,27 +17,27 @@ import { ActionVersionClass } from './action-version-class';
17
17
  */
18
18
  export interface ListActionVersionsResponseClass {
19
19
  /**
20
- * List of action versions
21
- * @type {Array<ActionVersionClass>}
20
+ * Next page token.
21
+ * @type {string}
22
22
  * @memberof ListActionVersionsResponseClass
23
23
  */
24
- 'items': Array<ActionVersionClass>;
24
+ 'nextPageToken': string;
25
25
  /**
26
- * Token for next page
27
- * @type {string}
26
+ * Total amount of items.
27
+ * @type {number}
28
28
  * @memberof ListActionVersionsResponseClass
29
29
  */
30
- 'nextPageToken': string;
30
+ 'totalItems': number;
31
31
  /**
32
- * Number of items per page
32
+ * Items per page.
33
33
  * @type {number}
34
34
  * @memberof ListActionVersionsResponseClass
35
35
  */
36
36
  'itemsPerPage': number;
37
37
  /**
38
- * Total number of versions
39
- * @type {number}
38
+ * List of action versions
39
+ * @type {Array<ActionVersionClass>}
40
40
  * @memberof ListActionVersionsResponseClass
41
41
  */
42
- 'totalItems': number;
42
+ 'items': Array<ActionVersionClass>;
43
43
  }
@@ -17,27 +17,27 @@ import { ActionClass } from './action-class';
17
17
  */
18
18
  export interface ListActionsResponseClass {
19
19
  /**
20
- * List of action configurations
21
- * @type {Array<ActionClass>}
20
+ * Next page token.
21
+ * @type {string}
22
22
  * @memberof ListActionsResponseClass
23
23
  */
24
- 'items': Array<ActionClass>;
24
+ 'nextPageToken': string;
25
25
  /**
26
- * Token for retrieving the next page
27
- * @type {string}
26
+ * Total amount of items.
27
+ * @type {number}
28
28
  * @memberof ListActionsResponseClass
29
29
  */
30
- 'nextPageToken': string;
30
+ 'totalItems': number;
31
31
  /**
32
- * Number of items per page
32
+ * Items per page.
33
33
  * @type {number}
34
34
  * @memberof ListActionsResponseClass
35
35
  */
36
36
  'itemsPerPage': number;
37
37
  /**
38
- * Total number of items across all pages
39
- * @type {number}
38
+ * List of action configurations
39
+ * @type {Array<ActionClass>}
40
40
  * @memberof ListActionsResponseClass
41
41
  */
42
- 'totalItems': number;
42
+ 'items': Array<ActionClass>;
43
43
  }
@@ -22,28 +22,28 @@ import { ActionExecutionClass } from './action-execution-class';
22
22
  */
23
23
  export interface ListActionExecutionsResponseClass {
24
24
  /**
25
- * List of action executions
26
- * @type {Array<ActionExecutionClass>}
25
+ * Next page token.
26
+ * @type {string}
27
27
  * @memberof ListActionExecutionsResponseClass
28
28
  */
29
- 'items': Array<ActionExecutionClass>;
29
+ 'nextPageToken': string;
30
30
  /**
31
- * Token for the next page
32
- * @type {string}
31
+ * Total amount of items.
32
+ * @type {number}
33
33
  * @memberof ListActionExecutionsResponseClass
34
34
  */
35
- 'nextPageToken': string;
35
+ 'totalItems': number;
36
36
  /**
37
- * Number of items per page
37
+ * Items per page.
38
38
  * @type {number}
39
39
  * @memberof ListActionExecutionsResponseClass
40
40
  */
41
41
  'itemsPerPage': number;
42
42
  /**
43
- * Total number of items
44
- * @type {number}
43
+ * List of action executions
44
+ * @type {Array<ActionExecutionClass>}
45
45
  * @memberof ListActionExecutionsResponseClass
46
46
  */
47
- 'totalItems': number;
47
+ 'items': Array<ActionExecutionClass>;
48
48
  }
49
49