@emilgroup/action-sdk 1.2.0 → 1.2.1-beta.10

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
  }
@@ -562,7 +562,7 @@ var ActionsApiAxiosParamCreator = function (configuration) {
562
562
  });
563
563
  },
564
564
  /**
565
- * Updates an existing action configuration (patch semantics) **Required Permissions** \"action-management.actions.update\" **Required Permissions** \"action-management.actions.view\"
565
+ * Updates an existing action configuration (patch semantics) **Required Permissions** \"action-management.actions.update\"
566
566
  * @summary Update the action
567
567
  * @param {string} code Action code
568
568
  * @param {UpdateActionRequestDto} updateActionRequestDto
@@ -614,59 +614,6 @@ var ActionsApiAxiosParamCreator = function (configuration) {
614
614
  });
615
615
  });
616
616
  },
617
- /**
618
- * Updates an existing action configuration (patch semantics) **Required Permissions** \"action-management.actions.update\" **Required Permissions** \"action-management.actions.view\"
619
- * @summary Update the action
620
- * @param {string} code Action code
621
- * @param {UpdateActionRequestDto} updateActionRequestDto
622
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
623
- * @param {*} [options] Override http request option.
624
- * @throws {RequiredError}
625
- */
626
- updateAction_1: function (code, updateActionRequestDto, authorization, options) {
627
- if (options === void 0) { options = {}; }
628
- return __awaiter(_this, void 0, void 0, function () {
629
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
630
- return __generator(this, function (_a) {
631
- switch (_a.label) {
632
- case 0:
633
- // verify required parameter 'code' is not null or undefined
634
- (0, common_1.assertParamExists)('updateAction_1', 'code', code);
635
- // verify required parameter 'updateActionRequestDto' is not null or undefined
636
- (0, common_1.assertParamExists)('updateAction_1', 'updateActionRequestDto', updateActionRequestDto);
637
- localVarPath = "/actionservice/v1/actions/{code}"
638
- .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
639
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
640
- if (configuration) {
641
- baseOptions = configuration.baseOptions;
642
- baseAccessToken = configuration.accessToken;
643
- }
644
- localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
645
- localVarHeaderParameter = {};
646
- localVarQueryParameter = {};
647
- // authentication bearer required
648
- // http bearer authentication required
649
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
650
- case 1:
651
- // authentication bearer required
652
- // http bearer authentication required
653
- _a.sent();
654
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
655
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
656
- }
657
- localVarHeaderParameter['Content-Type'] = 'application/json';
658
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
659
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
660
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
661
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateActionRequestDto, localVarRequestOptions, configuration);
662
- return [2 /*return*/, {
663
- url: (0, common_1.toPathString)(localVarUrlObj),
664
- options: localVarRequestOptions,
665
- }];
666
- }
667
- });
668
- });
669
- },
670
617
  };
671
618
  };
672
619
  exports.ActionsApiAxiosParamCreator = ActionsApiAxiosParamCreator;
@@ -867,7 +814,7 @@ var ActionsApiFp = function (configuration) {
867
814
  });
868
815
  },
869
816
  /**
870
- * Updates an existing action configuration (patch semantics) **Required Permissions** \"action-management.actions.update\" **Required Permissions** \"action-management.actions.view\"
817
+ * Updates an existing action configuration (patch semantics) **Required Permissions** \"action-management.actions.update\"
871
818
  * @summary Update the action
872
819
  * @param {string} code Action code
873
820
  * @param {UpdateActionRequestDto} updateActionRequestDto
@@ -888,28 +835,6 @@ var ActionsApiFp = function (configuration) {
888
835
  });
889
836
  });
890
837
  },
891
- /**
892
- * Updates an existing action configuration (patch semantics) **Required Permissions** \"action-management.actions.update\" **Required Permissions** \"action-management.actions.view\"
893
- * @summary Update the action
894
- * @param {string} code Action code
895
- * @param {UpdateActionRequestDto} updateActionRequestDto
896
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
897
- * @param {*} [options] Override http request option.
898
- * @throws {RequiredError}
899
- */
900
- updateAction_1: function (code, updateActionRequestDto, authorization, options) {
901
- return __awaiter(this, void 0, void 0, function () {
902
- var localVarAxiosArgs;
903
- return __generator(this, function (_a) {
904
- switch (_a.label) {
905
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateAction_1(code, updateActionRequestDto, authorization, options)];
906
- case 1:
907
- localVarAxiosArgs = _a.sent();
908
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
909
- }
910
- });
911
- });
912
- },
913
838
  };
914
839
  };
915
840
  exports.ActionsApiFp = ActionsApiFp;
@@ -1030,7 +955,7 @@ var ActionsApiFactory = function (configuration, basePath, axios) {
1030
955
  return localVarFp.listAllActionVersions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
1031
956
  },
1032
957
  /**
1033
- * Updates an existing action configuration (patch semantics) **Required Permissions** \"action-management.actions.update\" **Required Permissions** \"action-management.actions.view\"
958
+ * Updates an existing action configuration (patch semantics) **Required Permissions** \"action-management.actions.update\"
1034
959
  * @summary Update the action
1035
960
  * @param {string} code Action code
1036
961
  * @param {UpdateActionRequestDto} updateActionRequestDto
@@ -1041,18 +966,6 @@ var ActionsApiFactory = function (configuration, basePath, axios) {
1041
966
  updateAction: function (code, updateActionRequestDto, authorization, options) {
1042
967
  return localVarFp.updateAction(code, updateActionRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
1043
968
  },
1044
- /**
1045
- * Updates an existing action configuration (patch semantics) **Required Permissions** \"action-management.actions.update\" **Required Permissions** \"action-management.actions.view\"
1046
- * @summary Update the action
1047
- * @param {string} code Action code
1048
- * @param {UpdateActionRequestDto} updateActionRequestDto
1049
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1050
- * @param {*} [options] Override http request option.
1051
- * @throws {RequiredError}
1052
- */
1053
- updateAction_1: function (code, updateActionRequestDto, authorization, options) {
1054
- return localVarFp.updateAction_1(code, updateActionRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
1055
- },
1056
969
  };
1057
970
  };
1058
971
  exports.ActionsApiFactory = ActionsApiFactory;
@@ -1166,7 +1079,7 @@ var ActionsApi = /** @class */ (function (_super) {
1166
1079
  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); });
1167
1080
  };
1168
1081
  /**
1169
- * Updates an existing action configuration (patch semantics) **Required Permissions** \"action-management.actions.update\" **Required Permissions** \"action-management.actions.view\"
1082
+ * Updates an existing action configuration (patch semantics) **Required Permissions** \"action-management.actions.update\"
1170
1083
  * @summary Update the action
1171
1084
  * @param {ActionsApiUpdateActionRequest} requestParameters Request parameters.
1172
1085
  * @param {*} [options] Override http request option.
@@ -1177,18 +1090,6 @@ var ActionsApi = /** @class */ (function (_super) {
1177
1090
  var _this = this;
1178
1091
  return (0, exports.ActionsApiFp)(this.configuration).updateAction(requestParameters.code, requestParameters.updateActionRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1179
1092
  };
1180
- /**
1181
- * Updates an existing action configuration (patch semantics) **Required Permissions** \"action-management.actions.update\" **Required Permissions** \"action-management.actions.view\"
1182
- * @summary Update the action
1183
- * @param {ActionsApiUpdateAction0Request} requestParameters Request parameters.
1184
- * @param {*} [options] Override http request option.
1185
- * @throws {RequiredError}
1186
- * @memberof ActionsApi
1187
- */
1188
- ActionsApi.prototype.updateAction_1 = function (requestParameters, options) {
1189
- var _this = this;
1190
- return (0, exports.ActionsApiFp)(this.configuration).updateAction_1(requestParameters.code, requestParameters.updateActionRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1191
- };
1192
1093
  return ActionsApi;
1193
1094
  }(base_1.BaseAPI));
1194
1095
  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
@@ -86,10 +86,10 @@ var common_1 = require("../common");
86
86
  // @ts-ignore
87
87
  var base_1 = require("../base");
88
88
  /**
89
- * DefaultApi - axios parameter creator
89
+ * HealthApi - axios parameter creator
90
90
  * @export
91
91
  */
92
- var DefaultApiAxiosParamCreator = function (configuration) {
92
+ var HealthApiAxiosParamCreator = function (configuration) {
93
93
  var _this = this;
94
94
  return {
95
95
  /**
@@ -124,13 +124,13 @@ var DefaultApiAxiosParamCreator = function (configuration) {
124
124
  },
125
125
  };
126
126
  };
127
- exports.DefaultApiAxiosParamCreator = DefaultApiAxiosParamCreator;
127
+ exports.HealthApiAxiosParamCreator = HealthApiAxiosParamCreator;
128
128
  /**
129
- * DefaultApi - functional programming interface
129
+ * HealthApi - functional programming interface
130
130
  * @export
131
131
  */
132
- var DefaultApiFp = function (configuration) {
133
- var localVarAxiosParamCreator = (0, exports.DefaultApiAxiosParamCreator)(configuration);
132
+ var HealthApiFp = function (configuration) {
133
+ var localVarAxiosParamCreator = (0, exports.HealthApiAxiosParamCreator)(configuration);
134
134
  return {
135
135
  /**
136
136
  * 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.
@@ -153,13 +153,13 @@ var DefaultApiFp = function (configuration) {
153
153
  },
154
154
  };
155
155
  };
156
- exports.DefaultApiFp = DefaultApiFp;
156
+ exports.HealthApiFp = HealthApiFp;
157
157
  /**
158
- * DefaultApi - factory interface
158
+ * HealthApi - factory interface
159
159
  * @export
160
160
  */
161
- var DefaultApiFactory = function (configuration, basePath, axios) {
162
- var localVarFp = (0, exports.DefaultApiFp)(configuration);
161
+ var HealthApiFactory = function (configuration, basePath, axios) {
162
+ var localVarFp = (0, exports.HealthApiFp)(configuration);
163
163
  return {
164
164
  /**
165
165
  * 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.
@@ -172,16 +172,16 @@ var DefaultApiFactory = function (configuration, basePath, axios) {
172
172
  },
173
173
  };
174
174
  };
175
- exports.DefaultApiFactory = DefaultApiFactory;
175
+ exports.HealthApiFactory = HealthApiFactory;
176
176
  /**
177
- * DefaultApi - object-oriented interface
177
+ * HealthApi - object-oriented interface
178
178
  * @export
179
- * @class DefaultApi
179
+ * @class HealthApi
180
180
  * @extends {BaseAPI}
181
181
  */
182
- var DefaultApi = /** @class */ (function (_super) {
183
- __extends(DefaultApi, _super);
184
- function DefaultApi() {
182
+ var HealthApi = /** @class */ (function (_super) {
183
+ __extends(HealthApi, _super);
184
+ function HealthApi() {
185
185
  return _super !== null && _super.apply(this, arguments) || this;
186
186
  }
187
187
  /**
@@ -189,12 +189,12 @@ var DefaultApi = /** @class */ (function (_super) {
189
189
  * @summary Health Check
190
190
  * @param {*} [options] Override http request option.
191
191
  * @throws {RequiredError}
192
- * @memberof DefaultApi
192
+ * @memberof HealthApi
193
193
  */
194
- DefaultApi.prototype.check = function (options) {
194
+ HealthApi.prototype.check = function (options) {
195
195
  var _this = this;
196
- return (0, exports.DefaultApiFp)(this.configuration).check(options).then(function (request) { return request(_this.axios, _this.basePath); });
196
+ return (0, exports.HealthApiFp)(this.configuration).check(options).then(function (request) { return request(_this.axios, _this.basePath); });
197
197
  };
198
- return DefaultApi;
198
+ return HealthApi;
199
199
  }(base_1.BaseAPI));
200
- exports.DefaultApi = DefaultApi;
200
+ 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
@@ -102,6 +102,7 @@ var Environment;
102
102
  Environment["Staging"] = "https://apiv2-staging.emil.de";
103
103
  Environment["Development"] = "https://apiv2-dev.emil.de";
104
104
  Environment["ProductionZurich"] = "https://eu-central-2.apiv2.emil.de";
105
+ Environment["StagingZurich"] = "https://eu-central-2.apiv2-staging.emil.de";
105
106
  })(Environment = exports.Environment || (exports.Environment = {}));
106
107
  var _retry_count = 0;
107
108
  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