@emilgroup/insurance-sdk 1.0.2 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +3 -0
- package/README.md +2 -2
- package/api/products-api.ts +562 -0
- package/dist/api/products-api.d.ts +308 -0
- package/dist/api/products-api.js +481 -0
- package/dist/models/index.d.ts +3 -0
- package/dist/models/index.js +3 -0
- package/dist/models/update-premium-formula-response-class.d.ts +25 -0
- package/dist/models/update-premium-formula-response-class.js +15 -0
- package/dist/models/update-product-field-response-class.d.ts +25 -0
- package/dist/models/update-product-field-response-class.js +15 -0
- package/dist/models/update-product-version-response-class.d.ts +25 -0
- package/dist/models/update-product-version-response-class.js +15 -0
- package/models/index.ts +3 -0
- package/models/update-premium-formula-response-class.ts +31 -0
- package/models/update-product-field-response-class.ts +31 -0
- package/models/update-product-version-response-class.ts +31 -0
- package/package.json +1 -1
|
@@ -31,8 +31,14 @@ import { ListProductFieldTypesResponseClass } from '../models';
|
|
|
31
31
|
import { ListProductFieldsResponseClass } from '../models';
|
|
32
32
|
import { ListProductsResponseClass } from '../models';
|
|
33
33
|
import { StoreProductFactorsResponseClass } from '../models';
|
|
34
|
+
import { UpdatePremiumFormulaRequestDto } from '../models';
|
|
35
|
+
import { UpdatePremiumFormulaResponseClass } from '../models';
|
|
36
|
+
import { UpdateProductFieldRequestDto } from '../models';
|
|
37
|
+
import { UpdateProductFieldResponseClass } from '../models';
|
|
34
38
|
import { UpdateProductRequestDto } from '../models';
|
|
35
39
|
import { UpdateProductResponseClass } from '../models';
|
|
40
|
+
import { UpdateProductVersionRequestDto } from '../models';
|
|
41
|
+
import { UpdateProductVersionResponseClass } from '../models';
|
|
36
42
|
/**
|
|
37
43
|
* ProductsApi - axios parameter creator
|
|
38
44
|
* @export
|
|
@@ -65,6 +71,15 @@ export declare const ProductsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
65
71
|
* @throws {RequiredError}
|
|
66
72
|
*/
|
|
67
73
|
createProductField: (createProductFieldRequestDto: CreateProductFieldRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
74
|
+
/**
|
|
75
|
+
* Permanently deletes the premium formula. Supply the unique id that was returned when you created the premium formula and this will delete it.
|
|
76
|
+
* @summary Delete the premium formula
|
|
77
|
+
* @param {number} id
|
|
78
|
+
* @param {string} [authorization] Bearer Token
|
|
79
|
+
* @param {*} [options] Override http request option.
|
|
80
|
+
* @throws {RequiredError}
|
|
81
|
+
*/
|
|
82
|
+
deletePremiumFormula: (id: number, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
68
83
|
/**
|
|
69
84
|
* Permanently deletes the product. Supply the unique id that was returned when you created the product and this will delete it.
|
|
70
85
|
* @summary Delete the product
|
|
@@ -74,6 +89,15 @@ export declare const ProductsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
74
89
|
* @throws {RequiredError}
|
|
75
90
|
*/
|
|
76
91
|
deleteProduct: (id: number, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
92
|
+
/**
|
|
93
|
+
* Permanently deletes the product. Supply the unique id that was returned when you created the product and this will delete it.
|
|
94
|
+
* @summary Delete the product
|
|
95
|
+
* @param {string} id
|
|
96
|
+
* @param {string} [authorization] Bearer Token
|
|
97
|
+
* @param {*} [options] Override http request option.
|
|
98
|
+
* @throws {RequiredError}
|
|
99
|
+
*/
|
|
100
|
+
deleteProductField: (id: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
77
101
|
/**
|
|
78
102
|
* Retrieves the details of the premium formula that was previously created. Supply the unique premium formula id that was returned when you created it and Emil Api will return the corresponding premium formula information.
|
|
79
103
|
* @summary Retrieve the premium formula
|
|
@@ -217,6 +241,16 @@ export declare const ProductsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
217
241
|
* @throws {RequiredError}
|
|
218
242
|
*/
|
|
219
243
|
storeProductFactors: (authorization?: string, productVersionId?: number, factors?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
244
|
+
/**
|
|
245
|
+
* Updates the specified premium formula by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
246
|
+
* @summary Update the premium formula
|
|
247
|
+
* @param {number} id
|
|
248
|
+
* @param {UpdatePremiumFormulaRequestDto} updatePremiumFormulaRequestDto
|
|
249
|
+
* @param {string} [authorization] Bearer Token
|
|
250
|
+
* @param {*} [options] Override http request option.
|
|
251
|
+
* @throws {RequiredError}
|
|
252
|
+
*/
|
|
253
|
+
updatePremiumFormula: (id: number, updatePremiumFormulaRequestDto: UpdatePremiumFormulaRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
220
254
|
/**
|
|
221
255
|
* Updates the specified product by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
222
256
|
* @summary Update the product
|
|
@@ -227,6 +261,26 @@ export declare const ProductsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
227
261
|
* @throws {RequiredError}
|
|
228
262
|
*/
|
|
229
263
|
updateProduct: (id: number, updateProductRequestDto: UpdateProductRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
264
|
+
/**
|
|
265
|
+
* Updates the specified product by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
266
|
+
* @summary Update the product
|
|
267
|
+
* @param {string} id
|
|
268
|
+
* @param {UpdateProductFieldRequestDto} updateProductFieldRequestDto
|
|
269
|
+
* @param {string} [authorization] Bearer Token
|
|
270
|
+
* @param {*} [options] Override http request option.
|
|
271
|
+
* @throws {RequiredError}
|
|
272
|
+
*/
|
|
273
|
+
updateProductField: (id: string, updateProductFieldRequestDto: UpdateProductFieldRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
274
|
+
/**
|
|
275
|
+
* Updates the specified product version by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
276
|
+
* @summary Update the product version
|
|
277
|
+
* @param {number} id
|
|
278
|
+
* @param {UpdateProductVersionRequestDto} updateProductVersionRequestDto
|
|
279
|
+
* @param {string} [authorization] Bearer Token
|
|
280
|
+
* @param {*} [options] Override http request option.
|
|
281
|
+
* @throws {RequiredError}
|
|
282
|
+
*/
|
|
283
|
+
updateProductVersion: (id: number, updateProductVersionRequestDto: UpdateProductVersionRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
230
284
|
/**
|
|
231
285
|
* Validate a CSV file containing all product factors. The columns must be in the following order: group,label,key,name,value.
|
|
232
286
|
* @summary Validate product factors
|
|
@@ -269,6 +323,15 @@ export declare const ProductsApiFp: (configuration?: Configuration) => {
|
|
|
269
323
|
* @throws {RequiredError}
|
|
270
324
|
*/
|
|
271
325
|
createProductField(createProductFieldRequestDto: CreateProductFieldRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateProductFieldResponseClass>>;
|
|
326
|
+
/**
|
|
327
|
+
* Permanently deletes the premium formula. Supply the unique id that was returned when you created the premium formula and this will delete it.
|
|
328
|
+
* @summary Delete the premium formula
|
|
329
|
+
* @param {number} id
|
|
330
|
+
* @param {string} [authorization] Bearer Token
|
|
331
|
+
* @param {*} [options] Override http request option.
|
|
332
|
+
* @throws {RequiredError}
|
|
333
|
+
*/
|
|
334
|
+
deletePremiumFormula(id: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
272
335
|
/**
|
|
273
336
|
* Permanently deletes the product. Supply the unique id that was returned when you created the product and this will delete it.
|
|
274
337
|
* @summary Delete the product
|
|
@@ -278,6 +341,15 @@ export declare const ProductsApiFp: (configuration?: Configuration) => {
|
|
|
278
341
|
* @throws {RequiredError}
|
|
279
342
|
*/
|
|
280
343
|
deleteProduct(id: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
344
|
+
/**
|
|
345
|
+
* Permanently deletes the product. Supply the unique id that was returned when you created the product and this will delete it.
|
|
346
|
+
* @summary Delete the product
|
|
347
|
+
* @param {string} id
|
|
348
|
+
* @param {string} [authorization] Bearer Token
|
|
349
|
+
* @param {*} [options] Override http request option.
|
|
350
|
+
* @throws {RequiredError}
|
|
351
|
+
*/
|
|
352
|
+
deleteProductField(id: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
281
353
|
/**
|
|
282
354
|
* Retrieves the details of the premium formula that was previously created. Supply the unique premium formula id that was returned when you created it and Emil Api will return the corresponding premium formula information.
|
|
283
355
|
* @summary Retrieve the premium formula
|
|
@@ -421,6 +493,16 @@ export declare const ProductsApiFp: (configuration?: Configuration) => {
|
|
|
421
493
|
* @throws {RequiredError}
|
|
422
494
|
*/
|
|
423
495
|
storeProductFactors(authorization?: string, productVersionId?: number, factors?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StoreProductFactorsResponseClass>>;
|
|
496
|
+
/**
|
|
497
|
+
* Updates the specified premium formula by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
498
|
+
* @summary Update the premium formula
|
|
499
|
+
* @param {number} id
|
|
500
|
+
* @param {UpdatePremiumFormulaRequestDto} updatePremiumFormulaRequestDto
|
|
501
|
+
* @param {string} [authorization] Bearer Token
|
|
502
|
+
* @param {*} [options] Override http request option.
|
|
503
|
+
* @throws {RequiredError}
|
|
504
|
+
*/
|
|
505
|
+
updatePremiumFormula(id: number, updatePremiumFormulaRequestDto: UpdatePremiumFormulaRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdatePremiumFormulaResponseClass>>;
|
|
424
506
|
/**
|
|
425
507
|
* Updates the specified product by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
426
508
|
* @summary Update the product
|
|
@@ -431,6 +513,26 @@ export declare const ProductsApiFp: (configuration?: Configuration) => {
|
|
|
431
513
|
* @throws {RequiredError}
|
|
432
514
|
*/
|
|
433
515
|
updateProduct(id: number, updateProductRequestDto: UpdateProductRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateProductResponseClass>>;
|
|
516
|
+
/**
|
|
517
|
+
* Updates the specified product by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
518
|
+
* @summary Update the product
|
|
519
|
+
* @param {string} id
|
|
520
|
+
* @param {UpdateProductFieldRequestDto} updateProductFieldRequestDto
|
|
521
|
+
* @param {string} [authorization] Bearer Token
|
|
522
|
+
* @param {*} [options] Override http request option.
|
|
523
|
+
* @throws {RequiredError}
|
|
524
|
+
*/
|
|
525
|
+
updateProductField(id: string, updateProductFieldRequestDto: UpdateProductFieldRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateProductFieldResponseClass>>;
|
|
526
|
+
/**
|
|
527
|
+
* Updates the specified product version by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
528
|
+
* @summary Update the product version
|
|
529
|
+
* @param {number} id
|
|
530
|
+
* @param {UpdateProductVersionRequestDto} updateProductVersionRequestDto
|
|
531
|
+
* @param {string} [authorization] Bearer Token
|
|
532
|
+
* @param {*} [options] Override http request option.
|
|
533
|
+
* @throws {RequiredError}
|
|
534
|
+
*/
|
|
535
|
+
updateProductVersion(id: number, updateProductVersionRequestDto: UpdateProductVersionRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateProductVersionResponseClass>>;
|
|
434
536
|
/**
|
|
435
537
|
* Validate a CSV file containing all product factors. The columns must be in the following order: group,label,key,name,value.
|
|
436
538
|
* @summary Validate product factors
|
|
@@ -473,6 +575,15 @@ export declare const ProductsApiFactory: (configuration?: Configuration, basePat
|
|
|
473
575
|
* @throws {RequiredError}
|
|
474
576
|
*/
|
|
475
577
|
createProductField(createProductFieldRequestDto: CreateProductFieldRequestDto, authorization?: string, options?: any): AxiosPromise<CreateProductFieldResponseClass>;
|
|
578
|
+
/**
|
|
579
|
+
* Permanently deletes the premium formula. Supply the unique id that was returned when you created the premium formula and this will delete it.
|
|
580
|
+
* @summary Delete the premium formula
|
|
581
|
+
* @param {number} id
|
|
582
|
+
* @param {string} [authorization] Bearer Token
|
|
583
|
+
* @param {*} [options] Override http request option.
|
|
584
|
+
* @throws {RequiredError}
|
|
585
|
+
*/
|
|
586
|
+
deletePremiumFormula(id: number, authorization?: string, options?: any): AxiosPromise<object>;
|
|
476
587
|
/**
|
|
477
588
|
* Permanently deletes the product. Supply the unique id that was returned when you created the product and this will delete it.
|
|
478
589
|
* @summary Delete the product
|
|
@@ -482,6 +593,15 @@ export declare const ProductsApiFactory: (configuration?: Configuration, basePat
|
|
|
482
593
|
* @throws {RequiredError}
|
|
483
594
|
*/
|
|
484
595
|
deleteProduct(id: number, authorization?: string, options?: any): AxiosPromise<object>;
|
|
596
|
+
/**
|
|
597
|
+
* Permanently deletes the product. Supply the unique id that was returned when you created the product and this will delete it.
|
|
598
|
+
* @summary Delete the product
|
|
599
|
+
* @param {string} id
|
|
600
|
+
* @param {string} [authorization] Bearer Token
|
|
601
|
+
* @param {*} [options] Override http request option.
|
|
602
|
+
* @throws {RequiredError}
|
|
603
|
+
*/
|
|
604
|
+
deleteProductField(id: string, authorization?: string, options?: any): AxiosPromise<void>;
|
|
485
605
|
/**
|
|
486
606
|
* Retrieves the details of the premium formula that was previously created. Supply the unique premium formula id that was returned when you created it and Emil Api will return the corresponding premium formula information.
|
|
487
607
|
* @summary Retrieve the premium formula
|
|
@@ -625,6 +745,16 @@ export declare const ProductsApiFactory: (configuration?: Configuration, basePat
|
|
|
625
745
|
* @throws {RequiredError}
|
|
626
746
|
*/
|
|
627
747
|
storeProductFactors(authorization?: string, productVersionId?: number, factors?: any, options?: any): AxiosPromise<StoreProductFactorsResponseClass>;
|
|
748
|
+
/**
|
|
749
|
+
* Updates the specified premium formula by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
750
|
+
* @summary Update the premium formula
|
|
751
|
+
* @param {number} id
|
|
752
|
+
* @param {UpdatePremiumFormulaRequestDto} updatePremiumFormulaRequestDto
|
|
753
|
+
* @param {string} [authorization] Bearer Token
|
|
754
|
+
* @param {*} [options] Override http request option.
|
|
755
|
+
* @throws {RequiredError}
|
|
756
|
+
*/
|
|
757
|
+
updatePremiumFormula(id: number, updatePremiumFormulaRequestDto: UpdatePremiumFormulaRequestDto, authorization?: string, options?: any): AxiosPromise<UpdatePremiumFormulaResponseClass>;
|
|
628
758
|
/**
|
|
629
759
|
* Updates the specified product by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
630
760
|
* @summary Update the product
|
|
@@ -635,6 +765,26 @@ export declare const ProductsApiFactory: (configuration?: Configuration, basePat
|
|
|
635
765
|
* @throws {RequiredError}
|
|
636
766
|
*/
|
|
637
767
|
updateProduct(id: number, updateProductRequestDto: UpdateProductRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateProductResponseClass>;
|
|
768
|
+
/**
|
|
769
|
+
* Updates the specified product by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
770
|
+
* @summary Update the product
|
|
771
|
+
* @param {string} id
|
|
772
|
+
* @param {UpdateProductFieldRequestDto} updateProductFieldRequestDto
|
|
773
|
+
* @param {string} [authorization] Bearer Token
|
|
774
|
+
* @param {*} [options] Override http request option.
|
|
775
|
+
* @throws {RequiredError}
|
|
776
|
+
*/
|
|
777
|
+
updateProductField(id: string, updateProductFieldRequestDto: UpdateProductFieldRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateProductFieldResponseClass>;
|
|
778
|
+
/**
|
|
779
|
+
* Updates the specified product version by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
780
|
+
* @summary Update the product version
|
|
781
|
+
* @param {number} id
|
|
782
|
+
* @param {UpdateProductVersionRequestDto} updateProductVersionRequestDto
|
|
783
|
+
* @param {string} [authorization] Bearer Token
|
|
784
|
+
* @param {*} [options] Override http request option.
|
|
785
|
+
* @throws {RequiredError}
|
|
786
|
+
*/
|
|
787
|
+
updateProductVersion(id: number, updateProductVersionRequestDto: UpdateProductVersionRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateProductVersionResponseClass>;
|
|
638
788
|
/**
|
|
639
789
|
* Validate a CSV file containing all product factors. The columns must be in the following order: group,label,key,name,value.
|
|
640
790
|
* @summary Validate product factors
|
|
@@ -702,6 +852,25 @@ export interface ProductsApiCreateProductFieldRequest {
|
|
|
702
852
|
*/
|
|
703
853
|
readonly authorization?: string;
|
|
704
854
|
}
|
|
855
|
+
/**
|
|
856
|
+
* Request parameters for deletePremiumFormula operation in ProductsApi.
|
|
857
|
+
* @export
|
|
858
|
+
* @interface ProductsApiDeletePremiumFormulaRequest
|
|
859
|
+
*/
|
|
860
|
+
export interface ProductsApiDeletePremiumFormulaRequest {
|
|
861
|
+
/**
|
|
862
|
+
*
|
|
863
|
+
* @type {number}
|
|
864
|
+
* @memberof ProductsApiDeletePremiumFormula
|
|
865
|
+
*/
|
|
866
|
+
readonly id: number;
|
|
867
|
+
/**
|
|
868
|
+
* Bearer Token
|
|
869
|
+
* @type {string}
|
|
870
|
+
* @memberof ProductsApiDeletePremiumFormula
|
|
871
|
+
*/
|
|
872
|
+
readonly authorization?: string;
|
|
873
|
+
}
|
|
705
874
|
/**
|
|
706
875
|
* Request parameters for deleteProduct operation in ProductsApi.
|
|
707
876
|
* @export
|
|
@@ -721,6 +890,25 @@ export interface ProductsApiDeleteProductRequest {
|
|
|
721
890
|
*/
|
|
722
891
|
readonly authorization?: string;
|
|
723
892
|
}
|
|
893
|
+
/**
|
|
894
|
+
* Request parameters for deleteProductField operation in ProductsApi.
|
|
895
|
+
* @export
|
|
896
|
+
* @interface ProductsApiDeleteProductFieldRequest
|
|
897
|
+
*/
|
|
898
|
+
export interface ProductsApiDeleteProductFieldRequest {
|
|
899
|
+
/**
|
|
900
|
+
*
|
|
901
|
+
* @type {string}
|
|
902
|
+
* @memberof ProductsApiDeleteProductField
|
|
903
|
+
*/
|
|
904
|
+
readonly id: string;
|
|
905
|
+
/**
|
|
906
|
+
* Bearer Token
|
|
907
|
+
* @type {string}
|
|
908
|
+
* @memberof ProductsApiDeleteProductField
|
|
909
|
+
*/
|
|
910
|
+
readonly authorization?: string;
|
|
911
|
+
}
|
|
724
912
|
/**
|
|
725
913
|
* Request parameters for getPremiumFormula operation in ProductsApi.
|
|
726
914
|
* @export
|
|
@@ -1159,6 +1347,31 @@ export interface ProductsApiStoreProductFactorsRequest {
|
|
|
1159
1347
|
*/
|
|
1160
1348
|
readonly factors?: any;
|
|
1161
1349
|
}
|
|
1350
|
+
/**
|
|
1351
|
+
* Request parameters for updatePremiumFormula operation in ProductsApi.
|
|
1352
|
+
* @export
|
|
1353
|
+
* @interface ProductsApiUpdatePremiumFormulaRequest
|
|
1354
|
+
*/
|
|
1355
|
+
export interface ProductsApiUpdatePremiumFormulaRequest {
|
|
1356
|
+
/**
|
|
1357
|
+
*
|
|
1358
|
+
* @type {number}
|
|
1359
|
+
* @memberof ProductsApiUpdatePremiumFormula
|
|
1360
|
+
*/
|
|
1361
|
+
readonly id: number;
|
|
1362
|
+
/**
|
|
1363
|
+
*
|
|
1364
|
+
* @type {UpdatePremiumFormulaRequestDto}
|
|
1365
|
+
* @memberof ProductsApiUpdatePremiumFormula
|
|
1366
|
+
*/
|
|
1367
|
+
readonly updatePremiumFormulaRequestDto: UpdatePremiumFormulaRequestDto;
|
|
1368
|
+
/**
|
|
1369
|
+
* Bearer Token
|
|
1370
|
+
* @type {string}
|
|
1371
|
+
* @memberof ProductsApiUpdatePremiumFormula
|
|
1372
|
+
*/
|
|
1373
|
+
readonly authorization?: string;
|
|
1374
|
+
}
|
|
1162
1375
|
/**
|
|
1163
1376
|
* Request parameters for updateProduct operation in ProductsApi.
|
|
1164
1377
|
* @export
|
|
@@ -1184,6 +1397,56 @@ export interface ProductsApiUpdateProductRequest {
|
|
|
1184
1397
|
*/
|
|
1185
1398
|
readonly authorization?: string;
|
|
1186
1399
|
}
|
|
1400
|
+
/**
|
|
1401
|
+
* Request parameters for updateProductField operation in ProductsApi.
|
|
1402
|
+
* @export
|
|
1403
|
+
* @interface ProductsApiUpdateProductFieldRequest
|
|
1404
|
+
*/
|
|
1405
|
+
export interface ProductsApiUpdateProductFieldRequest {
|
|
1406
|
+
/**
|
|
1407
|
+
*
|
|
1408
|
+
* @type {string}
|
|
1409
|
+
* @memberof ProductsApiUpdateProductField
|
|
1410
|
+
*/
|
|
1411
|
+
readonly id: string;
|
|
1412
|
+
/**
|
|
1413
|
+
*
|
|
1414
|
+
* @type {UpdateProductFieldRequestDto}
|
|
1415
|
+
* @memberof ProductsApiUpdateProductField
|
|
1416
|
+
*/
|
|
1417
|
+
readonly updateProductFieldRequestDto: UpdateProductFieldRequestDto;
|
|
1418
|
+
/**
|
|
1419
|
+
* Bearer Token
|
|
1420
|
+
* @type {string}
|
|
1421
|
+
* @memberof ProductsApiUpdateProductField
|
|
1422
|
+
*/
|
|
1423
|
+
readonly authorization?: string;
|
|
1424
|
+
}
|
|
1425
|
+
/**
|
|
1426
|
+
* Request parameters for updateProductVersion operation in ProductsApi.
|
|
1427
|
+
* @export
|
|
1428
|
+
* @interface ProductsApiUpdateProductVersionRequest
|
|
1429
|
+
*/
|
|
1430
|
+
export interface ProductsApiUpdateProductVersionRequest {
|
|
1431
|
+
/**
|
|
1432
|
+
*
|
|
1433
|
+
* @type {number}
|
|
1434
|
+
* @memberof ProductsApiUpdateProductVersion
|
|
1435
|
+
*/
|
|
1436
|
+
readonly id: number;
|
|
1437
|
+
/**
|
|
1438
|
+
*
|
|
1439
|
+
* @type {UpdateProductVersionRequestDto}
|
|
1440
|
+
* @memberof ProductsApiUpdateProductVersion
|
|
1441
|
+
*/
|
|
1442
|
+
readonly updateProductVersionRequestDto: UpdateProductVersionRequestDto;
|
|
1443
|
+
/**
|
|
1444
|
+
* Bearer Token
|
|
1445
|
+
* @type {string}
|
|
1446
|
+
* @memberof ProductsApiUpdateProductVersion
|
|
1447
|
+
*/
|
|
1448
|
+
readonly authorization?: string;
|
|
1449
|
+
}
|
|
1187
1450
|
/**
|
|
1188
1451
|
* Request parameters for validateProductFactors operation in ProductsApi.
|
|
1189
1452
|
* @export
|
|
@@ -1237,6 +1500,15 @@ export declare class ProductsApi extends BaseAPI {
|
|
|
1237
1500
|
* @memberof ProductsApi
|
|
1238
1501
|
*/
|
|
1239
1502
|
createProductField(requestParameters: ProductsApiCreateProductFieldRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateProductFieldResponseClass, any>>;
|
|
1503
|
+
/**
|
|
1504
|
+
* Permanently deletes the premium formula. Supply the unique id that was returned when you created the premium formula and this will delete it.
|
|
1505
|
+
* @summary Delete the premium formula
|
|
1506
|
+
* @param {ProductsApiDeletePremiumFormulaRequest} requestParameters Request parameters.
|
|
1507
|
+
* @param {*} [options] Override http request option.
|
|
1508
|
+
* @throws {RequiredError}
|
|
1509
|
+
* @memberof ProductsApi
|
|
1510
|
+
*/
|
|
1511
|
+
deletePremiumFormula(requestParameters: ProductsApiDeletePremiumFormulaRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
|
|
1240
1512
|
/**
|
|
1241
1513
|
* Permanently deletes the product. Supply the unique id that was returned when you created the product and this will delete it.
|
|
1242
1514
|
* @summary Delete the product
|
|
@@ -1246,6 +1518,15 @@ export declare class ProductsApi extends BaseAPI {
|
|
|
1246
1518
|
* @memberof ProductsApi
|
|
1247
1519
|
*/
|
|
1248
1520
|
deleteProduct(requestParameters: ProductsApiDeleteProductRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
|
|
1521
|
+
/**
|
|
1522
|
+
* Permanently deletes the product. Supply the unique id that was returned when you created the product and this will delete it.
|
|
1523
|
+
* @summary Delete the product
|
|
1524
|
+
* @param {ProductsApiDeleteProductFieldRequest} requestParameters Request parameters.
|
|
1525
|
+
* @param {*} [options] Override http request option.
|
|
1526
|
+
* @throws {RequiredError}
|
|
1527
|
+
* @memberof ProductsApi
|
|
1528
|
+
*/
|
|
1529
|
+
deleteProductField(requestParameters: ProductsApiDeleteProductFieldRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1249
1530
|
/**
|
|
1250
1531
|
* Retrieves the details of the premium formula that was previously created. Supply the unique premium formula id that was returned when you created it and Emil Api will return the corresponding premium formula information.
|
|
1251
1532
|
* @summary Retrieve the premium formula
|
|
@@ -1354,6 +1635,15 @@ export declare class ProductsApi extends BaseAPI {
|
|
|
1354
1635
|
* @memberof ProductsApi
|
|
1355
1636
|
*/
|
|
1356
1637
|
storeProductFactors(requestParameters?: ProductsApiStoreProductFactorsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<StoreProductFactorsResponseClass, any>>;
|
|
1638
|
+
/**
|
|
1639
|
+
* Updates the specified premium formula by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
1640
|
+
* @summary Update the premium formula
|
|
1641
|
+
* @param {ProductsApiUpdatePremiumFormulaRequest} requestParameters Request parameters.
|
|
1642
|
+
* @param {*} [options] Override http request option.
|
|
1643
|
+
* @throws {RequiredError}
|
|
1644
|
+
* @memberof ProductsApi
|
|
1645
|
+
*/
|
|
1646
|
+
updatePremiumFormula(requestParameters: ProductsApiUpdatePremiumFormulaRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdatePremiumFormulaResponseClass, any>>;
|
|
1357
1647
|
/**
|
|
1358
1648
|
* Updates the specified product by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
1359
1649
|
* @summary Update the product
|
|
@@ -1363,6 +1653,24 @@ export declare class ProductsApi extends BaseAPI {
|
|
|
1363
1653
|
* @memberof ProductsApi
|
|
1364
1654
|
*/
|
|
1365
1655
|
updateProduct(requestParameters: ProductsApiUpdateProductRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateProductResponseClass, any>>;
|
|
1656
|
+
/**
|
|
1657
|
+
* Updates the specified product by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
1658
|
+
* @summary Update the product
|
|
1659
|
+
* @param {ProductsApiUpdateProductFieldRequest} requestParameters Request parameters.
|
|
1660
|
+
* @param {*} [options] Override http request option.
|
|
1661
|
+
* @throws {RequiredError}
|
|
1662
|
+
* @memberof ProductsApi
|
|
1663
|
+
*/
|
|
1664
|
+
updateProductField(requestParameters: ProductsApiUpdateProductFieldRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateProductFieldResponseClass, any>>;
|
|
1665
|
+
/**
|
|
1666
|
+
* Updates the specified product version by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
1667
|
+
* @summary Update the product version
|
|
1668
|
+
* @param {ProductsApiUpdateProductVersionRequest} requestParameters Request parameters.
|
|
1669
|
+
* @param {*} [options] Override http request option.
|
|
1670
|
+
* @throws {RequiredError}
|
|
1671
|
+
* @memberof ProductsApi
|
|
1672
|
+
*/
|
|
1673
|
+
updateProductVersion(requestParameters: ProductsApiUpdateProductVersionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateProductVersionResponseClass, any>>;
|
|
1366
1674
|
/**
|
|
1367
1675
|
* Validate a CSV file containing all product factors. The columns must be in the following order: group,label,key,name,value.
|
|
1368
1676
|
* @summary Validate product factors
|