@emilgroup/insurance-sdk-node 1.31.0 → 1.32.1

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.
@@ -47,22 +47,25 @@ export declare const ProductsApiAxiosParamCreator: (configuration?: Configuratio
47
47
  * @summary Retrieve the product
48
48
  * @param {string} code Unique identifier for the object.
49
49
  * @param {number} id Unique identifier referencing the product.
50
+ * @param {string} slug A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
50
51
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
51
52
  * @param {string} [expand] Fields to expand response by
52
53
  * @param {*} [options] Override http request option.
53
54
  * @throws {RequiredError}
54
55
  */
55
- getProductByCode: (code: string, id: number, authorization?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
56
+ getProductByCode: (code: string, id: number, slug: string, authorization?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
56
57
  /**
57
58
  * Retrieves the details of the product that was previously created. Supply the unique product code that was returned when you created it and Emil Api will return the corresponding product information.
58
59
  * @summary Retrieve the product
59
60
  * @param {number} id Unique identifier referencing the product.
61
+ * @param {string} code Unique identifier of the product that this object belongs to.
62
+ * @param {string} slug A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
60
63
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
61
64
  * @param {string} [expand] Fields to expand response by
62
65
  * @param {*} [options] Override http request option.
63
66
  * @throws {RequiredError}
64
67
  */
65
- getProductByIdentifier: (id: number, authorization?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
68
+ getProductByIdentifier: (id: number, code: string, slug: string, authorization?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
66
69
  /**
67
70
  * Returns a list of products you have previously created. The products are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
68
71
  * @summary List products
@@ -116,22 +119,25 @@ export declare const ProductsApiFp: (configuration?: Configuration) => {
116
119
  * @summary Retrieve the product
117
120
  * @param {string} code Unique identifier for the object.
118
121
  * @param {number} id Unique identifier referencing the product.
122
+ * @param {string} slug A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
119
123
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
120
124
  * @param {string} [expand] Fields to expand response by
121
125
  * @param {*} [options] Override http request option.
122
126
  * @throws {RequiredError}
123
127
  */
124
- getProductByCode(code: string, id: number, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetProductResponseClass>>;
128
+ getProductByCode(code: string, id: number, slug: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetProductResponseClass>>;
125
129
  /**
126
130
  * Retrieves the details of the product that was previously created. Supply the unique product code that was returned when you created it and Emil Api will return the corresponding product information.
127
131
  * @summary Retrieve the product
128
132
  * @param {number} id Unique identifier referencing the product.
133
+ * @param {string} code Unique identifier of the product that this object belongs to.
134
+ * @param {string} slug A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
129
135
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
130
136
  * @param {string} [expand] Fields to expand response by
131
137
  * @param {*} [options] Override http request option.
132
138
  * @throws {RequiredError}
133
139
  */
134
- getProductByIdentifier(id: number, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetProductResponseClass>>;
140
+ getProductByIdentifier(id: number, code: string, slug: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetProductResponseClass>>;
135
141
  /**
136
142
  * Returns a list of products you have previously created. The products are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
137
143
  * @summary List products
@@ -185,22 +191,25 @@ export declare const ProductsApiFactory: (configuration?: Configuration, basePat
185
191
  * @summary Retrieve the product
186
192
  * @param {string} code Unique identifier for the object.
187
193
  * @param {number} id Unique identifier referencing the product.
194
+ * @param {string} slug A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
188
195
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
189
196
  * @param {string} [expand] Fields to expand response by
190
197
  * @param {*} [options] Override http request option.
191
198
  * @throws {RequiredError}
192
199
  */
193
- getProductByCode(code: string, id: number, authorization?: string, expand?: string, options?: any): AxiosPromise<GetProductResponseClass>;
200
+ getProductByCode(code: string, id: number, slug: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetProductResponseClass>;
194
201
  /**
195
202
  * Retrieves the details of the product that was previously created. Supply the unique product code that was returned when you created it and Emil Api will return the corresponding product information.
196
203
  * @summary Retrieve the product
197
204
  * @param {number} id Unique identifier referencing the product.
205
+ * @param {string} code Unique identifier of the product that this object belongs to.
206
+ * @param {string} slug A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
198
207
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
199
208
  * @param {string} [expand] Fields to expand response by
200
209
  * @param {*} [options] Override http request option.
201
210
  * @throws {RequiredError}
202
211
  */
203
- getProductByIdentifier(id: number, authorization?: string, expand?: string, options?: any): AxiosPromise<GetProductResponseClass>;
212
+ getProductByIdentifier(id: number, code: string, slug: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetProductResponseClass>;
204
213
  /**
205
214
  * Returns a list of products you have previously created. The products are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
206
215
  * @summary List products
@@ -282,6 +291,12 @@ export interface ProductsApiGetProductByCodeRequest {
282
291
  * @memberof ProductsApiGetProductByCode
283
292
  */
284
293
  readonly id: number;
294
+ /**
295
+ * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
296
+ * @type {string}
297
+ * @memberof ProductsApiGetProductByCode
298
+ */
299
+ readonly slug: string;
285
300
  /**
286
301
  * Bearer Token: provided by the login endpoint under the name accessToken.
287
302
  * @type {string}
@@ -307,6 +322,18 @@ export interface ProductsApiGetProductByIdentifierRequest {
307
322
  * @memberof ProductsApiGetProductByIdentifier
308
323
  */
309
324
  readonly id: number;
325
+ /**
326
+ * Unique identifier of the product that this object belongs to.
327
+ * @type {string}
328
+ * @memberof ProductsApiGetProductByIdentifier
329
+ */
330
+ readonly code: string;
331
+ /**
332
+ * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
333
+ * @type {string}
334
+ * @memberof ProductsApiGetProductByIdentifier
335
+ */
336
+ readonly slug: string;
310
337
  /**
311
338
  * Bearer Token: provided by the login endpoint under the name accessToken.
312
339
  * @type {string}
@@ -198,12 +198,13 @@ var ProductsApiAxiosParamCreator = function (configuration) {
198
198
  * @summary Retrieve the product
199
199
  * @param {string} code Unique identifier for the object.
200
200
  * @param {number} id Unique identifier referencing the product.
201
+ * @param {string} slug A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
201
202
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
202
203
  * @param {string} [expand] Fields to expand response by
203
204
  * @param {*} [options] Override http request option.
204
205
  * @throws {RequiredError}
205
206
  */
206
- getProductByCode: function (code, id, authorization, expand, options) {
207
+ getProductByCode: function (code, id, slug, authorization, expand, options) {
207
208
  if (options === void 0) { options = {}; }
208
209
  return __awaiter(_this, void 0, void 0, function () {
209
210
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -214,6 +215,8 @@ var ProductsApiAxiosParamCreator = function (configuration) {
214
215
  (0, common_1.assertParamExists)('getProductByCode', 'code', code);
215
216
  // verify required parameter 'id' is not null or undefined
216
217
  (0, common_1.assertParamExists)('getProductByCode', 'id', id);
218
+ // verify required parameter 'slug' is not null or undefined
219
+ (0, common_1.assertParamExists)('getProductByCode', 'slug', slug);
217
220
  localVarPath = "/insuranceservice/v1/products/code/{code}"
218
221
  .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
219
222
  localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -234,6 +237,9 @@ var ProductsApiAxiosParamCreator = function (configuration) {
234
237
  if (id !== undefined) {
235
238
  localVarQueryParameter['id'] = id;
236
239
  }
240
+ if (slug !== undefined) {
241
+ localVarQueryParameter['slug'] = slug;
242
+ }
237
243
  if (expand !== undefined) {
238
244
  localVarQueryParameter['expand'] = expand;
239
245
  }
@@ -255,12 +261,14 @@ var ProductsApiAxiosParamCreator = function (configuration) {
255
261
  * Retrieves the details of the product that was previously created. Supply the unique product code that was returned when you created it and Emil Api will return the corresponding product information.
256
262
  * @summary Retrieve the product
257
263
  * @param {number} id Unique identifier referencing the product.
264
+ * @param {string} code Unique identifier of the product that this object belongs to.
265
+ * @param {string} slug A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
258
266
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
259
267
  * @param {string} [expand] Fields to expand response by
260
268
  * @param {*} [options] Override http request option.
261
269
  * @throws {RequiredError}
262
270
  */
263
- getProductByIdentifier: function (id, authorization, expand, options) {
271
+ getProductByIdentifier: function (id, code, slug, authorization, expand, options) {
264
272
  if (options === void 0) { options = {}; }
265
273
  return __awaiter(_this, void 0, void 0, function () {
266
274
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -269,6 +277,10 @@ var ProductsApiAxiosParamCreator = function (configuration) {
269
277
  case 0:
270
278
  // verify required parameter 'id' is not null or undefined
271
279
  (0, common_1.assertParamExists)('getProductByIdentifier', 'id', id);
280
+ // verify required parameter 'code' is not null or undefined
281
+ (0, common_1.assertParamExists)('getProductByIdentifier', 'code', code);
282
+ // verify required parameter 'slug' is not null or undefined
283
+ (0, common_1.assertParamExists)('getProductByIdentifier', 'slug', slug);
272
284
  localVarPath = "/insuranceservice/v1/products/get-by-identifier";
273
285
  localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
274
286
  if (configuration) {
@@ -288,6 +300,12 @@ var ProductsApiAxiosParamCreator = function (configuration) {
288
300
  if (id !== undefined) {
289
301
  localVarQueryParameter['id'] = id;
290
302
  }
303
+ if (code !== undefined) {
304
+ localVarQueryParameter['code'] = code;
305
+ }
306
+ if (slug !== undefined) {
307
+ localVarQueryParameter['slug'] = slug;
308
+ }
291
309
  if (expand !== undefined) {
292
310
  localVarQueryParameter['expand'] = expand;
293
311
  }
@@ -483,17 +501,18 @@ var ProductsApiFp = function (configuration) {
483
501
  * @summary Retrieve the product
484
502
  * @param {string} code Unique identifier for the object.
485
503
  * @param {number} id Unique identifier referencing the product.
504
+ * @param {string} slug A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
486
505
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
487
506
  * @param {string} [expand] Fields to expand response by
488
507
  * @param {*} [options] Override http request option.
489
508
  * @throws {RequiredError}
490
509
  */
491
- getProductByCode: function (code, id, authorization, expand, options) {
510
+ getProductByCode: function (code, id, slug, authorization, expand, options) {
492
511
  return __awaiter(this, void 0, void 0, function () {
493
512
  var localVarAxiosArgs;
494
513
  return __generator(this, function (_a) {
495
514
  switch (_a.label) {
496
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getProductByCode(code, id, authorization, expand, options)];
515
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getProductByCode(code, id, slug, authorization, expand, options)];
497
516
  case 1:
498
517
  localVarAxiosArgs = _a.sent();
499
518
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -505,17 +524,19 @@ var ProductsApiFp = function (configuration) {
505
524
  * Retrieves the details of the product that was previously created. Supply the unique product code that was returned when you created it and Emil Api will return the corresponding product information.
506
525
  * @summary Retrieve the product
507
526
  * @param {number} id Unique identifier referencing the product.
527
+ * @param {string} code Unique identifier of the product that this object belongs to.
528
+ * @param {string} slug A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
508
529
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
509
530
  * @param {string} [expand] Fields to expand response by
510
531
  * @param {*} [options] Override http request option.
511
532
  * @throws {RequiredError}
512
533
  */
513
- getProductByIdentifier: function (id, authorization, expand, options) {
534
+ getProductByIdentifier: function (id, code, slug, authorization, expand, options) {
514
535
  return __awaiter(this, void 0, void 0, function () {
515
536
  var localVarAxiosArgs;
516
537
  return __generator(this, function (_a) {
517
538
  switch (_a.label) {
518
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getProductByIdentifier(id, authorization, expand, options)];
539
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getProductByIdentifier(id, code, slug, authorization, expand, options)];
519
540
  case 1:
520
541
  localVarAxiosArgs = _a.sent();
521
542
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -608,25 +629,28 @@ var ProductsApiFactory = function (configuration, basePath, axios) {
608
629
  * @summary Retrieve the product
609
630
  * @param {string} code Unique identifier for the object.
610
631
  * @param {number} id Unique identifier referencing the product.
632
+ * @param {string} slug A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
611
633
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
612
634
  * @param {string} [expand] Fields to expand response by
613
635
  * @param {*} [options] Override http request option.
614
636
  * @throws {RequiredError}
615
637
  */
616
- getProductByCode: function (code, id, authorization, expand, options) {
617
- return localVarFp.getProductByCode(code, id, authorization, expand, options).then(function (request) { return request(axios, basePath); });
638
+ getProductByCode: function (code, id, slug, authorization, expand, options) {
639
+ return localVarFp.getProductByCode(code, id, slug, authorization, expand, options).then(function (request) { return request(axios, basePath); });
618
640
  },
619
641
  /**
620
642
  * Retrieves the details of the product that was previously created. Supply the unique product code that was returned when you created it and Emil Api will return the corresponding product information.
621
643
  * @summary Retrieve the product
622
644
  * @param {number} id Unique identifier referencing the product.
645
+ * @param {string} code Unique identifier of the product that this object belongs to.
646
+ * @param {string} slug A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
623
647
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
624
648
  * @param {string} [expand] Fields to expand response by
625
649
  * @param {*} [options] Override http request option.
626
650
  * @throws {RequiredError}
627
651
  */
628
- getProductByIdentifier: function (id, authorization, expand, options) {
629
- return localVarFp.getProductByIdentifier(id, authorization, expand, options).then(function (request) { return request(axios, basePath); });
652
+ getProductByIdentifier: function (id, code, slug, authorization, expand, options) {
653
+ return localVarFp.getProductByIdentifier(id, code, slug, authorization, expand, options).then(function (request) { return request(axios, basePath); });
630
654
  },
631
655
  /**
632
656
  * Returns a list of products you have previously created. The products are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
@@ -704,7 +728,7 @@ var ProductsApi = /** @class */ (function (_super) {
704
728
  */
705
729
  ProductsApi.prototype.getProductByCode = function (requestParameters, options) {
706
730
  var _this = this;
707
- return (0, exports.ProductsApiFp)(this.configuration).getProductByCode(requestParameters.code, requestParameters.id, requestParameters.authorization, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
731
+ return (0, exports.ProductsApiFp)(this.configuration).getProductByCode(requestParameters.code, requestParameters.id, requestParameters.slug, requestParameters.authorization, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
708
732
  };
709
733
  /**
710
734
  * Retrieves the details of the product that was previously created. Supply the unique product code that was returned when you created it and Emil Api will return the corresponding product information.
@@ -716,7 +740,7 @@ var ProductsApi = /** @class */ (function (_super) {
716
740
  */
717
741
  ProductsApi.prototype.getProductByIdentifier = function (requestParameters, options) {
718
742
  var _this = this;
719
- return (0, exports.ProductsApiFp)(this.configuration).getProductByIdentifier(requestParameters.id, requestParameters.authorization, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
743
+ return (0, exports.ProductsApiFp)(this.configuration).getProductByIdentifier(requestParameters.id, requestParameters.code, requestParameters.slug, requestParameters.authorization, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
720
744
  };
721
745
  /**
722
746
  * Returns a list of products you have previously created. The products are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
@@ -21,7 +21,7 @@ export interface CreatePaymentMethodRequestDto {
21
21
  * @type {string}
22
22
  * @memberof CreatePaymentMethodRequestDto
23
23
  */
24
- 'type': CreatePaymentMethodRequestDtoTypeEnum;
24
+ 'type': string;
25
25
  /**
26
26
  *
27
27
  * @type {SepaDto}
@@ -29,8 +29,3 @@ export interface CreatePaymentMethodRequestDto {
29
29
  */
30
30
  'sepa'?: SepaDto;
31
31
  }
32
- export declare const CreatePaymentMethodRequestDtoTypeEnum: {
33
- readonly Sepa: "sepa";
34
- readonly Invoice: "invoice";
35
- };
36
- export type CreatePaymentMethodRequestDtoTypeEnum = typeof CreatePaymentMethodRequestDtoTypeEnum[keyof typeof CreatePaymentMethodRequestDtoTypeEnum];
@@ -13,8 +13,3 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.CreatePaymentMethodRequestDtoTypeEnum = void 0;
17
- exports.CreatePaymentMethodRequestDtoTypeEnum = {
18
- Sepa: 'sepa',
19
- Invoice: 'invoice'
20
- };
@@ -23,16 +23,16 @@ export interface GetProductRequestDto {
23
23
  'id': number;
24
24
  /**
25
25
  * Unique identifier of the product that this object belongs to.
26
- * @type {object}
26
+ * @type {string}
27
27
  * @memberof GetProductRequestDto
28
28
  */
29
- 'code': object;
29
+ 'code': string;
30
30
  /**
31
31
  * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
32
- * @type {object}
32
+ * @type {string}
33
33
  * @memberof GetProductRequestDto
34
34
  */
35
- 'slug': object;
35
+ 'slug': string;
36
36
  /**
37
37
  * Fields to expand response by
38
38
  * @type {string}
@@ -23,32 +23,32 @@ export interface InlineResponse200 {
23
23
  'status'?: string;
24
24
  /**
25
25
  *
26
- * @type {{ [key: string]: { [key: string]: string; }; }}
26
+ * @type {{ [key: string]: { [key: string]: object; }; }}
27
27
  * @memberof InlineResponse200
28
28
  */
29
29
  'info'?: {
30
30
  [key: string]: {
31
- [key: string]: string;
31
+ [key: string]: object;
32
32
  };
33
33
  } | null;
34
34
  /**
35
35
  *
36
- * @type {{ [key: string]: { [key: string]: string; }; }}
36
+ * @type {{ [key: string]: { [key: string]: object; }; }}
37
37
  * @memberof InlineResponse200
38
38
  */
39
39
  'error'?: {
40
40
  [key: string]: {
41
- [key: string]: string;
41
+ [key: string]: object;
42
42
  };
43
43
  } | null;
44
44
  /**
45
45
  *
46
- * @type {{ [key: string]: { [key: string]: string; }; }}
46
+ * @type {{ [key: string]: { [key: string]: object; }; }}
47
47
  * @memberof InlineResponse200
48
48
  */
49
49
  'details'?: {
50
50
  [key: string]: {
51
- [key: string]: string;
51
+ [key: string]: object;
52
52
  };
53
53
  };
54
54
  }
@@ -23,32 +23,32 @@ export interface InlineResponse503 {
23
23
  'status'?: string;
24
24
  /**
25
25
  *
26
- * @type {{ [key: string]: { [key: string]: string; }; }}
26
+ * @type {{ [key: string]: { [key: string]: object; }; }}
27
27
  * @memberof InlineResponse503
28
28
  */
29
29
  'info'?: {
30
30
  [key: string]: {
31
- [key: string]: string;
31
+ [key: string]: object;
32
32
  };
33
33
  } | null;
34
34
  /**
35
35
  *
36
- * @type {{ [key: string]: { [key: string]: string; }; }}
36
+ * @type {{ [key: string]: { [key: string]: object; }; }}
37
37
  * @memberof InlineResponse503
38
38
  */
39
39
  'error'?: {
40
40
  [key: string]: {
41
- [key: string]: string;
41
+ [key: string]: object;
42
42
  };
43
43
  } | null;
44
44
  /**
45
45
  *
46
- * @type {{ [key: string]: { [key: string]: string; }; }}
46
+ * @type {{ [key: string]: { [key: string]: object; }; }}
47
47
  * @memberof InlineResponse503
48
48
  */
49
49
  'details'?: {
50
50
  [key: string]: {
51
- [key: string]: string;
51
+ [key: string]: object;
52
52
  };
53
53
  };
54
54
  }
@@ -65,5 +65,6 @@ export declare const UpdatePolicyRequestDtoStatusEnum: {
65
65
  readonly Withdrawn: "WITHDRAWN";
66
66
  readonly Terminated: "TERMINATED";
67
67
  readonly Suspended: "SUSPENDED";
68
+ readonly Pending: "PENDING";
68
69
  };
69
70
  export type UpdatePolicyRequestDtoStatusEnum = typeof UpdatePolicyRequestDtoStatusEnum[keyof typeof UpdatePolicyRequestDtoStatusEnum];
@@ -18,5 +18,6 @@ exports.UpdatePolicyRequestDtoStatusEnum = {
18
18
  Active: 'ACTIVE',
19
19
  Withdrawn: 'WITHDRAWN',
20
20
  Terminated: 'TERMINATED',
21
- Suspended: 'SUSPENDED'
21
+ Suspended: 'SUSPENDED',
22
+ Pending: 'PENDING'
22
23
  };
@@ -26,7 +26,7 @@ export interface CreatePaymentMethodRequestDto {
26
26
  * @type {string}
27
27
  * @memberof CreatePaymentMethodRequestDto
28
28
  */
29
- 'type': CreatePaymentMethodRequestDtoTypeEnum;
29
+ 'type': string;
30
30
  /**
31
31
  *
32
32
  * @type {SepaDto}
@@ -35,11 +35,3 @@ export interface CreatePaymentMethodRequestDto {
35
35
  'sepa'?: SepaDto;
36
36
  }
37
37
 
38
- export const CreatePaymentMethodRequestDtoTypeEnum = {
39
- Sepa: 'sepa',
40
- Invoice: 'invoice'
41
- } as const;
42
-
43
- export type CreatePaymentMethodRequestDtoTypeEnum = typeof CreatePaymentMethodRequestDtoTypeEnum[keyof typeof CreatePaymentMethodRequestDtoTypeEnum];
44
-
45
-
@@ -28,16 +28,16 @@ export interface GetProductRequestDto {
28
28
  'id': number;
29
29
  /**
30
30
  * Unique identifier of the product that this object belongs to.
31
- * @type {object}
31
+ * @type {string}
32
32
  * @memberof GetProductRequestDto
33
33
  */
34
- 'code': object;
34
+ 'code': string;
35
35
  /**
36
36
  * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
37
- * @type {object}
37
+ * @type {string}
38
38
  * @memberof GetProductRequestDto
39
39
  */
40
- 'slug': object;
40
+ 'slug': string;
41
41
  /**
42
42
  * Fields to expand response by
43
43
  * @type {string}
@@ -28,21 +28,21 @@ export interface InlineResponse200 {
28
28
  'status'?: string;
29
29
  /**
30
30
  *
31
- * @type {{ [key: string]: { [key: string]: string; }; }}
31
+ * @type {{ [key: string]: { [key: string]: object; }; }}
32
32
  * @memberof InlineResponse200
33
33
  */
34
- 'info'?: { [key: string]: { [key: string]: string; }; } | null;
34
+ 'info'?: { [key: string]: { [key: string]: object; }; } | null;
35
35
  /**
36
36
  *
37
- * @type {{ [key: string]: { [key: string]: string; }; }}
37
+ * @type {{ [key: string]: { [key: string]: object; }; }}
38
38
  * @memberof InlineResponse200
39
39
  */
40
- 'error'?: { [key: string]: { [key: string]: string; }; } | null;
40
+ 'error'?: { [key: string]: { [key: string]: object; }; } | null;
41
41
  /**
42
42
  *
43
- * @type {{ [key: string]: { [key: string]: string; }; }}
43
+ * @type {{ [key: string]: { [key: string]: object; }; }}
44
44
  * @memberof InlineResponse200
45
45
  */
46
- 'details'?: { [key: string]: { [key: string]: string; }; };
46
+ 'details'?: { [key: string]: { [key: string]: object; }; };
47
47
  }
48
48
 
@@ -28,21 +28,21 @@ export interface InlineResponse503 {
28
28
  'status'?: string;
29
29
  /**
30
30
  *
31
- * @type {{ [key: string]: { [key: string]: string; }; }}
31
+ * @type {{ [key: string]: { [key: string]: object; }; }}
32
32
  * @memberof InlineResponse503
33
33
  */
34
- 'info'?: { [key: string]: { [key: string]: string; }; } | null;
34
+ 'info'?: { [key: string]: { [key: string]: object; }; } | null;
35
35
  /**
36
36
  *
37
- * @type {{ [key: string]: { [key: string]: string; }; }}
37
+ * @type {{ [key: string]: { [key: string]: object; }; }}
38
38
  * @memberof InlineResponse503
39
39
  */
40
- 'error'?: { [key: string]: { [key: string]: string; }; } | null;
40
+ 'error'?: { [key: string]: { [key: string]: object; }; } | null;
41
41
  /**
42
42
  *
43
- * @type {{ [key: string]: { [key: string]: string; }; }}
43
+ * @type {{ [key: string]: { [key: string]: object; }; }}
44
44
  * @memberof InlineResponse503
45
45
  */
46
- 'details'?: { [key: string]: { [key: string]: string; }; };
46
+ 'details'?: { [key: string]: { [key: string]: object; }; };
47
47
  }
48
48
 
@@ -70,7 +70,8 @@ export const UpdatePolicyRequestDtoStatusEnum = {
70
70
  Active: 'ACTIVE',
71
71
  Withdrawn: 'WITHDRAWN',
72
72
  Terminated: 'TERMINATED',
73
- Suspended: 'SUSPENDED'
73
+ Suspended: 'SUSPENDED',
74
+ Pending: 'PENDING'
74
75
  } as const;
75
76
 
76
77
  export type UpdatePolicyRequestDtoStatusEnum = typeof UpdatePolicyRequestDtoStatusEnum[keyof typeof UpdatePolicyRequestDtoStatusEnum];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/insurance-sdk-node",
3
- "version": "1.31.0",
3
+ "version": "1.32.1",
4
4
  "description": "OpenAPI client for @emilgroup/insurance-sdk-node",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [