@emilgroup/public-api-sdk-node 1.3.0 → 1.4.0
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 +174 -0
- package/dist/api/products-api.d.ts +101 -0
- package/dist/api/products-api.js +123 -0
- package/dist/models/create-account-request-dto.d.ts +19 -2
- package/dist/models/create-account-request-dto.js +5 -1
- package/dist/models/create-document-request-dto.d.ts +1 -1
- package/dist/models/document-class.d.ts +1 -1
- package/dist/models/index.d.ts +3 -0
- package/dist/models/index.js +3 -0
- package/dist/models/insured-object-type-class.d.ts +1 -1
- package/dist/models/list-products-response-class.d.ts +31 -0
- package/dist/models/list-products-response-class.js +15 -0
- package/dist/models/premium-override-dto.d.ts +1 -0
- package/dist/models/premium-override-dto.js +2 -1
- package/dist/models/product-class.d.ts +74 -0
- package/dist/models/product-class.js +15 -0
- package/dist/models/product-version-class.d.ts +61 -0
- package/dist/models/product-version-class.js +22 -0
- package/dist/models/send-notification-request-dto.d.ts +1 -1
- package/models/create-account-request-dto.ts +20 -2
- package/models/create-document-request-dto.ts +1 -1
- package/models/document-class.ts +1 -1
- package/models/index.ts +3 -0
- package/models/insured-object-type-class.ts +1 -1
- package/models/list-products-response-class.ts +37 -0
- package/models/premium-override-dto.ts +2 -1
- package/models/product-class.ts +80 -0
- package/models/product-version-class.ts +70 -0
- package/models/send-notification-request-dto.ts +1 -1
- package/package.json +2 -2
package/.openapi-generator/FILES
CHANGED
|
@@ -48,12 +48,15 @@ models/lead-class.ts
|
|
|
48
48
|
models/lead-policy-class.ts
|
|
49
49
|
models/lead-policy-object-class.ts
|
|
50
50
|
models/list-documents-response-class.ts
|
|
51
|
+
models/list-products-response-class.ts
|
|
51
52
|
models/payment-method-class.ts
|
|
52
53
|
models/policy-object-request-dto.ts
|
|
53
54
|
models/premium-override-dto.ts
|
|
54
55
|
models/premium-override-request-dto.ts
|
|
56
|
+
models/product-class.ts
|
|
55
57
|
models/product-factor-class.ts
|
|
56
58
|
models/product-field-class.ts
|
|
59
|
+
models/product-version-class.ts
|
|
57
60
|
models/send-notification-request-dto.ts
|
|
58
61
|
models/send-notification-response-class.ts
|
|
59
62
|
models/update-lead-request-dto.ts
|
package/README.md
CHANGED
|
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
|
|
|
17
17
|
Navigate to the folder of your consuming project and run one of the following commands:
|
|
18
18
|
|
|
19
19
|
```
|
|
20
|
-
npm install @emilgroup/public-api-sdk-node@1.
|
|
20
|
+
npm install @emilgroup/public-api-sdk-node@1.4.0 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/public-api-sdk-node@1.
|
|
24
|
+
yarn add @emilgroup/public-api-sdk-node@1.4.0
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `PublicApi`.
|
package/api/products-api.ts
CHANGED
|
@@ -35,6 +35,8 @@ import { InsuredObjectClass } from '../models';
|
|
|
35
35
|
// @ts-ignore
|
|
36
36
|
import { InsuredObjectTypeClass } from '../models';
|
|
37
37
|
// @ts-ignore
|
|
38
|
+
import { ListProductsResponseClass } from '../models';
|
|
39
|
+
// @ts-ignore
|
|
38
40
|
import { ProductFactorClass } from '../models';
|
|
39
41
|
// URLSearchParams not necessarily used
|
|
40
42
|
// @ts-ignore
|
|
@@ -322,6 +324,77 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
322
324
|
|
|
323
325
|
|
|
324
326
|
|
|
327
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
328
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
329
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
330
|
+
|
|
331
|
+
return {
|
|
332
|
+
url: toPathString(localVarUrlObj),
|
|
333
|
+
options: localVarRequestOptions,
|
|
334
|
+
};
|
|
335
|
+
},
|
|
336
|
+
/**
|
|
337
|
+
* 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.
|
|
338
|
+
* @summary List products
|
|
339
|
+
* @param {string} [authorization] Bearer Token
|
|
340
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
341
|
+
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
342
|
+
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
343
|
+
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
344
|
+
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
345
|
+
* @param {any} [expand] You can expand product versions and insured object types list in this endpoint.
|
|
346
|
+
* @param {*} [options] Override http request option.
|
|
347
|
+
* @throws {RequiredError}
|
|
348
|
+
*/
|
|
349
|
+
listProducts: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
350
|
+
const localVarPath = `/publicapi/v1/products`;
|
|
351
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
352
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
353
|
+
let baseOptions;
|
|
354
|
+
let baseAccessToken;
|
|
355
|
+
if (configuration) {
|
|
356
|
+
baseOptions = configuration.baseOptions;
|
|
357
|
+
baseAccessToken = configuration.accessToken;
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
361
|
+
const localVarHeaderParameter = {} as any;
|
|
362
|
+
const localVarQueryParameter = {} as any;
|
|
363
|
+
|
|
364
|
+
// authentication bearer required
|
|
365
|
+
// http bearer authentication required
|
|
366
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
367
|
+
|
|
368
|
+
if (pageSize !== undefined) {
|
|
369
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
if (pageToken !== undefined) {
|
|
373
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
if (filter !== undefined) {
|
|
377
|
+
localVarQueryParameter['filter'] = filter;
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
if (search !== undefined) {
|
|
381
|
+
localVarQueryParameter['search'] = search;
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
if (order !== undefined) {
|
|
385
|
+
localVarQueryParameter['order'] = order;
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
if (expand !== undefined) {
|
|
389
|
+
localVarQueryParameter['expand'] = expand;
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
393
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
|
|
397
|
+
|
|
325
398
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
326
399
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
327
400
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -415,6 +488,23 @@ export const ProductsApiFp = function(configuration?: Configuration) {
|
|
|
415
488
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getProductFactors(productCode, allValues, authorization, options);
|
|
416
489
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
417
490
|
},
|
|
491
|
+
/**
|
|
492
|
+
* 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.
|
|
493
|
+
* @summary List products
|
|
494
|
+
* @param {string} [authorization] Bearer Token
|
|
495
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
496
|
+
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
497
|
+
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
498
|
+
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
499
|
+
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
500
|
+
* @param {any} [expand] You can expand product versions and insured object types list in this endpoint.
|
|
501
|
+
* @param {*} [options] Override http request option.
|
|
502
|
+
* @throws {RequiredError}
|
|
503
|
+
*/
|
|
504
|
+
async listProducts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListProductsResponseClass>> {
|
|
505
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listProducts(authorization, pageSize, pageToken, filter, search, order, expand, options);
|
|
506
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
507
|
+
},
|
|
418
508
|
}
|
|
419
509
|
};
|
|
420
510
|
|
|
@@ -493,6 +583,22 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
|
|
|
493
583
|
getProductFactors(productCode: string, allValues: string, authorization?: string, options?: any): AxiosPromise<Array<ProductFactorClass>> {
|
|
494
584
|
return localVarFp.getProductFactors(productCode, allValues, authorization, options).then((request) => request(axios, basePath));
|
|
495
585
|
},
|
|
586
|
+
/**
|
|
587
|
+
* 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.
|
|
588
|
+
* @summary List products
|
|
589
|
+
* @param {string} [authorization] Bearer Token
|
|
590
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
591
|
+
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
592
|
+
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
593
|
+
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
594
|
+
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
595
|
+
* @param {any} [expand] You can expand product versions and insured object types list in this endpoint.
|
|
596
|
+
* @param {*} [options] Override http request option.
|
|
597
|
+
* @throws {RequiredError}
|
|
598
|
+
*/
|
|
599
|
+
listProducts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<ListProductsResponseClass> {
|
|
600
|
+
return localVarFp.listProducts(authorization, pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
|
|
601
|
+
},
|
|
496
602
|
};
|
|
497
603
|
};
|
|
498
604
|
|
|
@@ -636,6 +742,62 @@ export interface ProductsApiGetProductFactorsRequest {
|
|
|
636
742
|
readonly authorization?: string
|
|
637
743
|
}
|
|
638
744
|
|
|
745
|
+
/**
|
|
746
|
+
* Request parameters for listProducts operation in ProductsApi.
|
|
747
|
+
* @export
|
|
748
|
+
* @interface ProductsApiListProductsRequest
|
|
749
|
+
*/
|
|
750
|
+
export interface ProductsApiListProductsRequest {
|
|
751
|
+
/**
|
|
752
|
+
* Bearer Token
|
|
753
|
+
* @type {string}
|
|
754
|
+
* @memberof ProductsApiListProducts
|
|
755
|
+
*/
|
|
756
|
+
readonly authorization?: string
|
|
757
|
+
|
|
758
|
+
/**
|
|
759
|
+
* A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
760
|
+
* @type {any}
|
|
761
|
+
* @memberof ProductsApiListProducts
|
|
762
|
+
*/
|
|
763
|
+
readonly pageSize?: any
|
|
764
|
+
|
|
765
|
+
/**
|
|
766
|
+
* A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
767
|
+
* @type {any}
|
|
768
|
+
* @memberof ProductsApiListProducts
|
|
769
|
+
*/
|
|
770
|
+
readonly pageToken?: any
|
|
771
|
+
|
|
772
|
+
/**
|
|
773
|
+
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
774
|
+
* @type {any}
|
|
775
|
+
* @memberof ProductsApiListProducts
|
|
776
|
+
*/
|
|
777
|
+
readonly filter?: any
|
|
778
|
+
|
|
779
|
+
/**
|
|
780
|
+
* Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
781
|
+
* @type {any}
|
|
782
|
+
* @memberof ProductsApiListProducts
|
|
783
|
+
*/
|
|
784
|
+
readonly search?: any
|
|
785
|
+
|
|
786
|
+
/**
|
|
787
|
+
* The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
788
|
+
* @type {any}
|
|
789
|
+
* @memberof ProductsApiListProducts
|
|
790
|
+
*/
|
|
791
|
+
readonly order?: any
|
|
792
|
+
|
|
793
|
+
/**
|
|
794
|
+
* You can expand product versions and insured object types list in this endpoint.
|
|
795
|
+
* @type {any}
|
|
796
|
+
* @memberof ProductsApiListProducts
|
|
797
|
+
*/
|
|
798
|
+
readonly expand?: any
|
|
799
|
+
}
|
|
800
|
+
|
|
639
801
|
/**
|
|
640
802
|
* ProductsApi - object-oriented interface
|
|
641
803
|
* @export
|
|
@@ -714,4 +876,16 @@ export class ProductsApi extends BaseAPI {
|
|
|
714
876
|
public getProductFactors(requestParameters: ProductsApiGetProductFactorsRequest, options?: AxiosRequestConfig) {
|
|
715
877
|
return ProductsApiFp(this.configuration).getProductFactors(requestParameters.productCode, requestParameters.allValues, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
716
878
|
}
|
|
879
|
+
|
|
880
|
+
/**
|
|
881
|
+
* 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.
|
|
882
|
+
* @summary List products
|
|
883
|
+
* @param {ProductsApiListProductsRequest} requestParameters Request parameters.
|
|
884
|
+
* @param {*} [options] Override http request option.
|
|
885
|
+
* @throws {RequiredError}
|
|
886
|
+
* @memberof ProductsApi
|
|
887
|
+
*/
|
|
888
|
+
public listProducts(requestParameters: ProductsApiListProductsRequest = {}, options?: AxiosRequestConfig) {
|
|
889
|
+
return ProductsApiFp(this.configuration).listProducts(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
|
|
890
|
+
}
|
|
717
891
|
}
|
|
@@ -19,6 +19,7 @@ import { CreateEstimatedInvoiceResponseClass } from '../models';
|
|
|
19
19
|
import { GetCustomCssResponseClass } from '../models';
|
|
20
20
|
import { InsuredObjectClass } from '../models';
|
|
21
21
|
import { InsuredObjectTypeClass } from '../models';
|
|
22
|
+
import { ListProductsResponseClass } from '../models';
|
|
22
23
|
import { ProductFactorClass } from '../models';
|
|
23
24
|
/**
|
|
24
25
|
* ProductsApi - axios parameter creator
|
|
@@ -81,6 +82,20 @@ export declare const ProductsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
81
82
|
* @throws {RequiredError}
|
|
82
83
|
*/
|
|
83
84
|
getProductFactors: (productCode: string, allValues: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
85
|
+
/**
|
|
86
|
+
* 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.
|
|
87
|
+
* @summary List products
|
|
88
|
+
* @param {string} [authorization] Bearer Token
|
|
89
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
90
|
+
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
91
|
+
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
92
|
+
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
93
|
+
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
94
|
+
* @param {any} [expand] You can expand product versions and insured object types list in this endpoint.
|
|
95
|
+
* @param {*} [options] Override http request option.
|
|
96
|
+
* @throws {RequiredError}
|
|
97
|
+
*/
|
|
98
|
+
listProducts: (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
84
99
|
};
|
|
85
100
|
/**
|
|
86
101
|
* ProductsApi - functional programming interface
|
|
@@ -143,6 +158,20 @@ export declare const ProductsApiFp: (configuration?: Configuration) => {
|
|
|
143
158
|
* @throws {RequiredError}
|
|
144
159
|
*/
|
|
145
160
|
getProductFactors(productCode: string, allValues: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ProductFactorClass>>>;
|
|
161
|
+
/**
|
|
162
|
+
* 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.
|
|
163
|
+
* @summary List products
|
|
164
|
+
* @param {string} [authorization] Bearer Token
|
|
165
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
166
|
+
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
167
|
+
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
168
|
+
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
169
|
+
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
170
|
+
* @param {any} [expand] You can expand product versions and insured object types list in this endpoint.
|
|
171
|
+
* @param {*} [options] Override http request option.
|
|
172
|
+
* @throws {RequiredError}
|
|
173
|
+
*/
|
|
174
|
+
listProducts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListProductsResponseClass>>;
|
|
146
175
|
};
|
|
147
176
|
/**
|
|
148
177
|
* ProductsApi - factory interface
|
|
@@ -205,6 +234,20 @@ export declare const ProductsApiFactory: (configuration?: Configuration, basePat
|
|
|
205
234
|
* @throws {RequiredError}
|
|
206
235
|
*/
|
|
207
236
|
getProductFactors(productCode: string, allValues: string, authorization?: string, options?: any): AxiosPromise<Array<ProductFactorClass>>;
|
|
237
|
+
/**
|
|
238
|
+
* 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.
|
|
239
|
+
* @summary List products
|
|
240
|
+
* @param {string} [authorization] Bearer Token
|
|
241
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
242
|
+
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
243
|
+
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
244
|
+
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
245
|
+
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
246
|
+
* @param {any} [expand] You can expand product versions and insured object types list in this endpoint.
|
|
247
|
+
* @param {*} [options] Override http request option.
|
|
248
|
+
* @throws {RequiredError}
|
|
249
|
+
*/
|
|
250
|
+
listProducts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<ListProductsResponseClass>;
|
|
208
251
|
};
|
|
209
252
|
/**
|
|
210
253
|
* Request parameters for createEstimatedInvoice operation in ProductsApi.
|
|
@@ -332,6 +375,55 @@ export interface ProductsApiGetProductFactorsRequest {
|
|
|
332
375
|
*/
|
|
333
376
|
readonly authorization?: string;
|
|
334
377
|
}
|
|
378
|
+
/**
|
|
379
|
+
* Request parameters for listProducts operation in ProductsApi.
|
|
380
|
+
* @export
|
|
381
|
+
* @interface ProductsApiListProductsRequest
|
|
382
|
+
*/
|
|
383
|
+
export interface ProductsApiListProductsRequest {
|
|
384
|
+
/**
|
|
385
|
+
* Bearer Token
|
|
386
|
+
* @type {string}
|
|
387
|
+
* @memberof ProductsApiListProducts
|
|
388
|
+
*/
|
|
389
|
+
readonly authorization?: string;
|
|
390
|
+
/**
|
|
391
|
+
* A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
392
|
+
* @type {any}
|
|
393
|
+
* @memberof ProductsApiListProducts
|
|
394
|
+
*/
|
|
395
|
+
readonly pageSize?: any;
|
|
396
|
+
/**
|
|
397
|
+
* A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
398
|
+
* @type {any}
|
|
399
|
+
* @memberof ProductsApiListProducts
|
|
400
|
+
*/
|
|
401
|
+
readonly pageToken?: any;
|
|
402
|
+
/**
|
|
403
|
+
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
404
|
+
* @type {any}
|
|
405
|
+
* @memberof ProductsApiListProducts
|
|
406
|
+
*/
|
|
407
|
+
readonly filter?: any;
|
|
408
|
+
/**
|
|
409
|
+
* Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
410
|
+
* @type {any}
|
|
411
|
+
* @memberof ProductsApiListProducts
|
|
412
|
+
*/
|
|
413
|
+
readonly search?: any;
|
|
414
|
+
/**
|
|
415
|
+
* The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
416
|
+
* @type {any}
|
|
417
|
+
* @memberof ProductsApiListProducts
|
|
418
|
+
*/
|
|
419
|
+
readonly order?: any;
|
|
420
|
+
/**
|
|
421
|
+
* You can expand product versions and insured object types list in this endpoint.
|
|
422
|
+
* @type {any}
|
|
423
|
+
* @memberof ProductsApiListProducts
|
|
424
|
+
*/
|
|
425
|
+
readonly expand?: any;
|
|
426
|
+
}
|
|
335
427
|
/**
|
|
336
428
|
* ProductsApi - object-oriented interface
|
|
337
429
|
* @export
|
|
@@ -393,4 +485,13 @@ export declare class ProductsApi extends BaseAPI {
|
|
|
393
485
|
* @memberof ProductsApi
|
|
394
486
|
*/
|
|
395
487
|
getProductFactors(requestParameters: ProductsApiGetProductFactorsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ProductFactorClass[], any>>;
|
|
488
|
+
/**
|
|
489
|
+
* 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.
|
|
490
|
+
* @summary List products
|
|
491
|
+
* @param {ProductsApiListProductsRequest} requestParameters Request parameters.
|
|
492
|
+
* @param {*} [options] Override http request option.
|
|
493
|
+
* @throws {RequiredError}
|
|
494
|
+
* @memberof ProductsApi
|
|
495
|
+
*/
|
|
496
|
+
listProducts(requestParameters?: ProductsApiListProductsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListProductsResponseClass, any>>;
|
|
396
497
|
}
|
package/dist/api/products-api.js
CHANGED
|
@@ -396,6 +396,74 @@ var ProductsApiAxiosParamCreator = function (configuration) {
|
|
|
396
396
|
});
|
|
397
397
|
});
|
|
398
398
|
},
|
|
399
|
+
/**
|
|
400
|
+
* 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.
|
|
401
|
+
* @summary List products
|
|
402
|
+
* @param {string} [authorization] Bearer Token
|
|
403
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
404
|
+
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
405
|
+
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
406
|
+
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
407
|
+
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
408
|
+
* @param {any} [expand] You can expand product versions and insured object types list in this endpoint.
|
|
409
|
+
* @param {*} [options] Override http request option.
|
|
410
|
+
* @throws {RequiredError}
|
|
411
|
+
*/
|
|
412
|
+
listProducts: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
413
|
+
if (options === void 0) { options = {}; }
|
|
414
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
415
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
416
|
+
return __generator(this, function (_a) {
|
|
417
|
+
switch (_a.label) {
|
|
418
|
+
case 0:
|
|
419
|
+
localVarPath = "/publicapi/v1/products";
|
|
420
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
421
|
+
if (configuration) {
|
|
422
|
+
baseOptions = configuration.baseOptions;
|
|
423
|
+
baseAccessToken = configuration.accessToken;
|
|
424
|
+
}
|
|
425
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
426
|
+
localVarHeaderParameter = {};
|
|
427
|
+
localVarQueryParameter = {};
|
|
428
|
+
// authentication bearer required
|
|
429
|
+
// http bearer authentication required
|
|
430
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
431
|
+
case 1:
|
|
432
|
+
// authentication bearer required
|
|
433
|
+
// http bearer authentication required
|
|
434
|
+
_a.sent();
|
|
435
|
+
if (pageSize !== undefined) {
|
|
436
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
437
|
+
}
|
|
438
|
+
if (pageToken !== undefined) {
|
|
439
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
440
|
+
}
|
|
441
|
+
if (filter !== undefined) {
|
|
442
|
+
localVarQueryParameter['filter'] = filter;
|
|
443
|
+
}
|
|
444
|
+
if (search !== undefined) {
|
|
445
|
+
localVarQueryParameter['search'] = search;
|
|
446
|
+
}
|
|
447
|
+
if (order !== undefined) {
|
|
448
|
+
localVarQueryParameter['order'] = order;
|
|
449
|
+
}
|
|
450
|
+
if (expand !== undefined) {
|
|
451
|
+
localVarQueryParameter['expand'] = expand;
|
|
452
|
+
}
|
|
453
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
454
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
455
|
+
}
|
|
456
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
457
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
458
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
459
|
+
return [2 /*return*/, {
|
|
460
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
461
|
+
options: localVarRequestOptions,
|
|
462
|
+
}];
|
|
463
|
+
}
|
|
464
|
+
});
|
|
465
|
+
});
|
|
466
|
+
},
|
|
399
467
|
};
|
|
400
468
|
};
|
|
401
469
|
exports.ProductsApiAxiosParamCreator = ProductsApiAxiosParamCreator;
|
|
@@ -534,6 +602,32 @@ var ProductsApiFp = function (configuration) {
|
|
|
534
602
|
});
|
|
535
603
|
});
|
|
536
604
|
},
|
|
605
|
+
/**
|
|
606
|
+
* 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.
|
|
607
|
+
* @summary List products
|
|
608
|
+
* @param {string} [authorization] Bearer Token
|
|
609
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
610
|
+
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
611
|
+
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
612
|
+
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
613
|
+
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
614
|
+
* @param {any} [expand] You can expand product versions and insured object types list in this endpoint.
|
|
615
|
+
* @param {*} [options] Override http request option.
|
|
616
|
+
* @throws {RequiredError}
|
|
617
|
+
*/
|
|
618
|
+
listProducts: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
619
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
620
|
+
var localVarAxiosArgs;
|
|
621
|
+
return __generator(this, function (_a) {
|
|
622
|
+
switch (_a.label) {
|
|
623
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listProducts(authorization, pageSize, pageToken, filter, search, order, expand, options)];
|
|
624
|
+
case 1:
|
|
625
|
+
localVarAxiosArgs = _a.sent();
|
|
626
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
627
|
+
}
|
|
628
|
+
});
|
|
629
|
+
});
|
|
630
|
+
},
|
|
537
631
|
};
|
|
538
632
|
};
|
|
539
633
|
exports.ProductsApiFp = ProductsApiFp;
|
|
@@ -612,6 +706,22 @@ var ProductsApiFactory = function (configuration, basePath, axios) {
|
|
|
612
706
|
getProductFactors: function (productCode, allValues, authorization, options) {
|
|
613
707
|
return localVarFp.getProductFactors(productCode, allValues, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
614
708
|
},
|
|
709
|
+
/**
|
|
710
|
+
* 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.
|
|
711
|
+
* @summary List products
|
|
712
|
+
* @param {string} [authorization] Bearer Token
|
|
713
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
714
|
+
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
715
|
+
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
716
|
+
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
717
|
+
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
718
|
+
* @param {any} [expand] You can expand product versions and insured object types list in this endpoint.
|
|
719
|
+
* @param {*} [options] Override http request option.
|
|
720
|
+
* @throws {RequiredError}
|
|
721
|
+
*/
|
|
722
|
+
listProducts: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
723
|
+
return localVarFp.listProducts(authorization, pageSize, pageToken, filter, search, order, expand, options).then(function (request) { return request(axios, basePath); });
|
|
724
|
+
},
|
|
615
725
|
};
|
|
616
726
|
};
|
|
617
727
|
exports.ProductsApiFactory = ProductsApiFactory;
|
|
@@ -699,6 +809,19 @@ var ProductsApi = /** @class */ (function (_super) {
|
|
|
699
809
|
var _this = this;
|
|
700
810
|
return (0, exports.ProductsApiFp)(this.configuration).getProductFactors(requestParameters.productCode, requestParameters.allValues, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
701
811
|
};
|
|
812
|
+
/**
|
|
813
|
+
* 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.
|
|
814
|
+
* @summary List products
|
|
815
|
+
* @param {ProductsApiListProductsRequest} requestParameters Request parameters.
|
|
816
|
+
* @param {*} [options] Override http request option.
|
|
817
|
+
* @throws {RequiredError}
|
|
818
|
+
* @memberof ProductsApi
|
|
819
|
+
*/
|
|
820
|
+
ProductsApi.prototype.listProducts = function (requestParameters, options) {
|
|
821
|
+
var _this = this;
|
|
822
|
+
if (requestParameters === void 0) { requestParameters = {}; }
|
|
823
|
+
return (0, exports.ProductsApiFp)(this.configuration).listProducts(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
824
|
+
};
|
|
702
825
|
return ProductsApi;
|
|
703
826
|
}(base_1.BaseAPI));
|
|
704
827
|
exports.ProductsApi = ProductsApi;
|
|
@@ -70,17 +70,29 @@ export interface CreateAccountRequestDto {
|
|
|
70
70
|
*/
|
|
71
71
|
'houseNumber': string;
|
|
72
72
|
/**
|
|
73
|
-
* Customer birth date
|
|
73
|
+
* Customer birth date (Required for account of type person).
|
|
74
74
|
* @type {string}
|
|
75
75
|
* @memberof CreateAccountRequestDto
|
|
76
76
|
*/
|
|
77
|
-
'birthDate'
|
|
77
|
+
'birthDate'?: string;
|
|
78
78
|
/**
|
|
79
79
|
* Customer phone number
|
|
80
80
|
* @type {string}
|
|
81
81
|
* @memberof CreateAccountRequestDto
|
|
82
82
|
*/
|
|
83
83
|
'phone': string;
|
|
84
|
+
/**
|
|
85
|
+
* Optional field to enter the type of the account.
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof CreateAccountRequestDto
|
|
88
|
+
*/
|
|
89
|
+
'type'?: CreateAccountRequestDtoTypeEnum;
|
|
90
|
+
/**
|
|
91
|
+
* Customer company name (Required for account of type org).
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof CreateAccountRequestDto
|
|
94
|
+
*/
|
|
95
|
+
'companyName'?: string;
|
|
84
96
|
/**
|
|
85
97
|
* Account number
|
|
86
98
|
* @type {string}
|
|
@@ -113,3 +125,8 @@ export declare const CreateAccountRequestDtoGenderEnum: {
|
|
|
113
125
|
readonly Unspecified: "unspecified";
|
|
114
126
|
};
|
|
115
127
|
export type CreateAccountRequestDtoGenderEnum = typeof CreateAccountRequestDtoGenderEnum[keyof typeof CreateAccountRequestDtoGenderEnum];
|
|
128
|
+
export declare const CreateAccountRequestDtoTypeEnum: {
|
|
129
|
+
readonly Person: "person";
|
|
130
|
+
readonly Org: "org";
|
|
131
|
+
};
|
|
132
|
+
export type CreateAccountRequestDtoTypeEnum = typeof CreateAccountRequestDtoTypeEnum[keyof typeof CreateAccountRequestDtoTypeEnum];
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.CreateAccountRequestDtoGenderEnum = exports.CreateAccountRequestDtoTitleEnum = void 0;
|
|
16
|
+
exports.CreateAccountRequestDtoTypeEnum = exports.CreateAccountRequestDtoGenderEnum = exports.CreateAccountRequestDtoTitleEnum = void 0;
|
|
17
17
|
exports.CreateAccountRequestDtoTitleEnum = {
|
|
18
18
|
Empty: '',
|
|
19
19
|
Dr: 'Dr.',
|
|
@@ -25,3 +25,7 @@ exports.CreateAccountRequestDtoGenderEnum = {
|
|
|
25
25
|
Female: 'female',
|
|
26
26
|
Unspecified: 'unspecified'
|
|
27
27
|
};
|
|
28
|
+
exports.CreateAccountRequestDtoTypeEnum = {
|
|
29
|
+
Person: 'person',
|
|
30
|
+
Org: 'org'
|
|
31
|
+
};
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface CreateDocumentRequestDto {
|
|
18
18
|
/**
|
|
19
|
-
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
19
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof CreateDocumentRequestDto
|
|
22
22
|
*/
|
|
@@ -28,7 +28,7 @@ export interface DocumentClass {
|
|
|
28
28
|
*/
|
|
29
29
|
'code': string;
|
|
30
30
|
/**
|
|
31
|
-
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
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
32
|
* @type {string}
|
|
33
33
|
* @memberof DocumentClass
|
|
34
34
|
*/
|
package/dist/models/index.d.ts
CHANGED
|
@@ -32,12 +32,15 @@ export * from './lead-class';
|
|
|
32
32
|
export * from './lead-policy-class';
|
|
33
33
|
export * from './lead-policy-object-class';
|
|
34
34
|
export * from './list-documents-response-class';
|
|
35
|
+
export * from './list-products-response-class';
|
|
35
36
|
export * from './payment-method-class';
|
|
36
37
|
export * from './policy-object-request-dto';
|
|
37
38
|
export * from './premium-override-dto';
|
|
38
39
|
export * from './premium-override-request-dto';
|
|
40
|
+
export * from './product-class';
|
|
39
41
|
export * from './product-factor-class';
|
|
40
42
|
export * from './product-field-class';
|
|
43
|
+
export * from './product-version-class';
|
|
41
44
|
export * from './send-notification-request-dto';
|
|
42
45
|
export * from './send-notification-response-class';
|
|
43
46
|
export * from './update-lead-request-dto';
|
package/dist/models/index.js
CHANGED
|
@@ -48,12 +48,15 @@ __exportStar(require("./lead-class"), exports);
|
|
|
48
48
|
__exportStar(require("./lead-policy-class"), exports);
|
|
49
49
|
__exportStar(require("./lead-policy-object-class"), exports);
|
|
50
50
|
__exportStar(require("./list-documents-response-class"), exports);
|
|
51
|
+
__exportStar(require("./list-products-response-class"), exports);
|
|
51
52
|
__exportStar(require("./payment-method-class"), exports);
|
|
52
53
|
__exportStar(require("./policy-object-request-dto"), exports);
|
|
53
54
|
__exportStar(require("./premium-override-dto"), exports);
|
|
54
55
|
__exportStar(require("./premium-override-request-dto"), exports);
|
|
56
|
+
__exportStar(require("./product-class"), exports);
|
|
55
57
|
__exportStar(require("./product-factor-class"), exports);
|
|
56
58
|
__exportStar(require("./product-field-class"), exports);
|
|
59
|
+
__exportStar(require("./product-version-class"), exports);
|
|
57
60
|
__exportStar(require("./send-notification-request-dto"), exports);
|
|
58
61
|
__exportStar(require("./send-notification-response-class"), exports);
|
|
59
62
|
__exportStar(require("./update-lead-request-dto"), exports);
|
|
@@ -28,7 +28,7 @@ export interface InsuredObjectTypeClass {
|
|
|
28
28
|
*/
|
|
29
29
|
'name': string;
|
|
30
30
|
/**
|
|
31
|
-
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
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
32
|
* @type {string}
|
|
33
33
|
* @memberof InsuredObjectTypeClass
|
|
34
34
|
*/
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Emil PublicAPI
|
|
3
|
+
* The Emil Public API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { ProductClass } from './product-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ListProductsResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface ListProductsResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* List of products.
|
|
21
|
+
* @type {Array<ProductClass>}
|
|
22
|
+
* @memberof ListProductsResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'items': Array<ProductClass>;
|
|
25
|
+
/**
|
|
26
|
+
* Next page token.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ListProductsResponseClass
|
|
29
|
+
*/
|
|
30
|
+
'nextPageToken': string;
|
|
31
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Emil PublicAPI
|
|
6
|
+
* The Emil Public API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -49,5 +49,6 @@ export declare const PremiumOverrideDtoUnitEnum: {
|
|
|
49
49
|
readonly Week: "week";
|
|
50
50
|
readonly Month: "month";
|
|
51
51
|
readonly Year: "year";
|
|
52
|
+
readonly OneTimePayment: "oneTimePayment";
|
|
52
53
|
};
|
|
53
54
|
export type PremiumOverrideDtoUnitEnum = typeof PremiumOverrideDtoUnitEnum[keyof typeof PremiumOverrideDtoUnitEnum];
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Emil PublicAPI
|
|
3
|
+
* The Emil Public API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { InsuredObjectTypeClass } from './insured-object-type-class';
|
|
13
|
+
import { ProductVersionClass } from './product-version-class';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface ProductClass
|
|
18
|
+
*/
|
|
19
|
+
export interface ProductClass {
|
|
20
|
+
/**
|
|
21
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
22
|
+
* @type {number}
|
|
23
|
+
* @memberof ProductClass
|
|
24
|
+
*/
|
|
25
|
+
'id': number;
|
|
26
|
+
/**
|
|
27
|
+
* Unique identifier for the object.
|
|
28
|
+
* @type {string}
|
|
29
|
+
* @memberof ProductClass
|
|
30
|
+
*/
|
|
31
|
+
'code': string;
|
|
32
|
+
/**
|
|
33
|
+
* Product\'s name.
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof ProductClass
|
|
36
|
+
*/
|
|
37
|
+
'name': string;
|
|
38
|
+
/**
|
|
39
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof ProductClass
|
|
42
|
+
*/
|
|
43
|
+
'slug': string;
|
|
44
|
+
/**
|
|
45
|
+
* Insured object types covered under product.
|
|
46
|
+
* @type {Array<InsuredObjectTypeClass>}
|
|
47
|
+
* @memberof ProductClass
|
|
48
|
+
*/
|
|
49
|
+
'insuredObjectTypes': Array<InsuredObjectTypeClass>;
|
|
50
|
+
/**
|
|
51
|
+
* Contract duration in days.
|
|
52
|
+
* @type {number}
|
|
53
|
+
* @memberof ProductClass
|
|
54
|
+
*/
|
|
55
|
+
'contractDurationDays': number;
|
|
56
|
+
/**
|
|
57
|
+
* Product versions.
|
|
58
|
+
* @type {Array<ProductVersionClass>}
|
|
59
|
+
* @memberof ProductClass
|
|
60
|
+
*/
|
|
61
|
+
'versions': Array<ProductVersionClass>;
|
|
62
|
+
/**
|
|
63
|
+
* Time at which the object was created.
|
|
64
|
+
* @type {string}
|
|
65
|
+
* @memberof ProductClass
|
|
66
|
+
*/
|
|
67
|
+
'createdAt': string;
|
|
68
|
+
/**
|
|
69
|
+
* Time at which the object was updated.
|
|
70
|
+
* @type {string}
|
|
71
|
+
* @memberof ProductClass
|
|
72
|
+
*/
|
|
73
|
+
'updatedAt': string;
|
|
74
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Emil PublicAPI
|
|
6
|
+
* The Emil Public API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Emil PublicAPI
|
|
3
|
+
* The Emil Public API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface ProductVersionClass
|
|
16
|
+
*/
|
|
17
|
+
export interface ProductVersionClass {
|
|
18
|
+
/**
|
|
19
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof ProductVersionClass
|
|
22
|
+
*/
|
|
23
|
+
'id': number;
|
|
24
|
+
/**
|
|
25
|
+
* Unique identifier referencing the product.
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof ProductVersionClass
|
|
28
|
+
*/
|
|
29
|
+
'productId': number;
|
|
30
|
+
/**
|
|
31
|
+
* Product version description.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ProductVersionClass
|
|
34
|
+
*/
|
|
35
|
+
'description': string;
|
|
36
|
+
/**
|
|
37
|
+
* Product version status.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof ProductVersionClass
|
|
40
|
+
*/
|
|
41
|
+
'status': ProductVersionClassStatusEnum;
|
|
42
|
+
/**
|
|
43
|
+
* Time at which the object was created.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof ProductVersionClass
|
|
46
|
+
*/
|
|
47
|
+
'createdAt': string;
|
|
48
|
+
/**
|
|
49
|
+
* Time at which the object was updated.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof ProductVersionClass
|
|
52
|
+
*/
|
|
53
|
+
'updatedAt': string;
|
|
54
|
+
}
|
|
55
|
+
export declare const ProductVersionClassStatusEnum: {
|
|
56
|
+
readonly Draft: "draft";
|
|
57
|
+
readonly Active: "active";
|
|
58
|
+
readonly Passive: "passive";
|
|
59
|
+
readonly Archived: "archived";
|
|
60
|
+
};
|
|
61
|
+
export type ProductVersionClassStatusEnum = typeof ProductVersionClassStatusEnum[keyof typeof ProductVersionClassStatusEnum];
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Emil PublicAPI
|
|
6
|
+
* The Emil Public API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.ProductVersionClassStatusEnum = void 0;
|
|
17
|
+
exports.ProductVersionClassStatusEnum = {
|
|
18
|
+
Draft: 'draft',
|
|
19
|
+
Active: 'active',
|
|
20
|
+
Passive: 'passive',
|
|
21
|
+
Archived: 'archived'
|
|
22
|
+
};
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface SendNotificationRequestDto {
|
|
18
18
|
/**
|
|
19
|
-
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
19
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof SendNotificationRequestDto
|
|
22
22
|
*/
|
|
@@ -75,17 +75,29 @@ export interface CreateAccountRequestDto {
|
|
|
75
75
|
*/
|
|
76
76
|
'houseNumber': string;
|
|
77
77
|
/**
|
|
78
|
-
* Customer birth date
|
|
78
|
+
* Customer birth date (Required for account of type person).
|
|
79
79
|
* @type {string}
|
|
80
80
|
* @memberof CreateAccountRequestDto
|
|
81
81
|
*/
|
|
82
|
-
'birthDate'
|
|
82
|
+
'birthDate'?: string;
|
|
83
83
|
/**
|
|
84
84
|
* Customer phone number
|
|
85
85
|
* @type {string}
|
|
86
86
|
* @memberof CreateAccountRequestDto
|
|
87
87
|
*/
|
|
88
88
|
'phone': string;
|
|
89
|
+
/**
|
|
90
|
+
* Optional field to enter the type of the account.
|
|
91
|
+
* @type {string}
|
|
92
|
+
* @memberof CreateAccountRequestDto
|
|
93
|
+
*/
|
|
94
|
+
'type'?: CreateAccountRequestDtoTypeEnum;
|
|
95
|
+
/**
|
|
96
|
+
* Customer company name (Required for account of type org).
|
|
97
|
+
* @type {string}
|
|
98
|
+
* @memberof CreateAccountRequestDto
|
|
99
|
+
*/
|
|
100
|
+
'companyName'?: string;
|
|
89
101
|
/**
|
|
90
102
|
* Account number
|
|
91
103
|
* @type {string}
|
|
@@ -121,5 +133,11 @@ export const CreateAccountRequestDtoGenderEnum = {
|
|
|
121
133
|
} as const;
|
|
122
134
|
|
|
123
135
|
export type CreateAccountRequestDtoGenderEnum = typeof CreateAccountRequestDtoGenderEnum[keyof typeof CreateAccountRequestDtoGenderEnum];
|
|
136
|
+
export const CreateAccountRequestDtoTypeEnum = {
|
|
137
|
+
Person: 'person',
|
|
138
|
+
Org: 'org'
|
|
139
|
+
} as const;
|
|
140
|
+
|
|
141
|
+
export type CreateAccountRequestDtoTypeEnum = typeof CreateAccountRequestDtoTypeEnum[keyof typeof CreateAccountRequestDtoTypeEnum];
|
|
124
142
|
|
|
125
143
|
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
*/
|
|
22
22
|
export interface CreateDocumentRequestDto {
|
|
23
23
|
/**
|
|
24
|
-
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
24
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
25
25
|
* @type {string}
|
|
26
26
|
* @memberof CreateDocumentRequestDto
|
|
27
27
|
*/
|
package/models/document-class.ts
CHANGED
|
@@ -33,7 +33,7 @@ export interface DocumentClass {
|
|
|
33
33
|
*/
|
|
34
34
|
'code': string;
|
|
35
35
|
/**
|
|
36
|
-
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
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
37
|
* @type {string}
|
|
38
38
|
* @memberof DocumentClass
|
|
39
39
|
*/
|
package/models/index.ts
CHANGED
|
@@ -32,12 +32,15 @@ export * from './lead-class';
|
|
|
32
32
|
export * from './lead-policy-class';
|
|
33
33
|
export * from './lead-policy-object-class';
|
|
34
34
|
export * from './list-documents-response-class';
|
|
35
|
+
export * from './list-products-response-class';
|
|
35
36
|
export * from './payment-method-class';
|
|
36
37
|
export * from './policy-object-request-dto';
|
|
37
38
|
export * from './premium-override-dto';
|
|
38
39
|
export * from './premium-override-request-dto';
|
|
40
|
+
export * from './product-class';
|
|
39
41
|
export * from './product-factor-class';
|
|
40
42
|
export * from './product-field-class';
|
|
43
|
+
export * from './product-version-class';
|
|
41
44
|
export * from './send-notification-request-dto';
|
|
42
45
|
export * from './send-notification-response-class';
|
|
43
46
|
export * from './update-lead-request-dto';
|
|
@@ -33,7 +33,7 @@ export interface InsuredObjectTypeClass {
|
|
|
33
33
|
*/
|
|
34
34
|
'name': string;
|
|
35
35
|
/**
|
|
36
|
-
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
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
37
|
* @type {string}
|
|
38
38
|
* @memberof InsuredObjectTypeClass
|
|
39
39
|
*/
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Emil PublicAPI
|
|
5
|
+
* The Emil Public API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import { ProductClass } from './product-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface ListProductsResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface ListProductsResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* List of products.
|
|
26
|
+
* @type {Array<ProductClass>}
|
|
27
|
+
* @memberof ListProductsResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'items': Array<ProductClass>;
|
|
30
|
+
/**
|
|
31
|
+
* Next page token.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ListProductsResponseClass
|
|
34
|
+
*/
|
|
35
|
+
'nextPageToken': string;
|
|
36
|
+
}
|
|
37
|
+
|
|
@@ -55,7 +55,8 @@ export const PremiumOverrideDtoUnitEnum = {
|
|
|
55
55
|
Day: 'day',
|
|
56
56
|
Week: 'week',
|
|
57
57
|
Month: 'month',
|
|
58
|
-
Year: 'year'
|
|
58
|
+
Year: 'year',
|
|
59
|
+
OneTimePayment: 'oneTimePayment'
|
|
59
60
|
} as const;
|
|
60
61
|
|
|
61
62
|
export type PremiumOverrideDtoUnitEnum = typeof PremiumOverrideDtoUnitEnum[keyof typeof PremiumOverrideDtoUnitEnum];
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Emil PublicAPI
|
|
5
|
+
* The Emil Public API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import { InsuredObjectTypeClass } from './insured-object-type-class';
|
|
17
|
+
import { ProductVersionClass } from './product-version-class';
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @export
|
|
22
|
+
* @interface ProductClass
|
|
23
|
+
*/
|
|
24
|
+
export interface ProductClass {
|
|
25
|
+
/**
|
|
26
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof ProductClass
|
|
29
|
+
*/
|
|
30
|
+
'id': number;
|
|
31
|
+
/**
|
|
32
|
+
* Unique identifier for the object.
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof ProductClass
|
|
35
|
+
*/
|
|
36
|
+
'code': string;
|
|
37
|
+
/**
|
|
38
|
+
* Product\'s name.
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof ProductClass
|
|
41
|
+
*/
|
|
42
|
+
'name': string;
|
|
43
|
+
/**
|
|
44
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof ProductClass
|
|
47
|
+
*/
|
|
48
|
+
'slug': string;
|
|
49
|
+
/**
|
|
50
|
+
* Insured object types covered under product.
|
|
51
|
+
* @type {Array<InsuredObjectTypeClass>}
|
|
52
|
+
* @memberof ProductClass
|
|
53
|
+
*/
|
|
54
|
+
'insuredObjectTypes': Array<InsuredObjectTypeClass>;
|
|
55
|
+
/**
|
|
56
|
+
* Contract duration in days.
|
|
57
|
+
* @type {number}
|
|
58
|
+
* @memberof ProductClass
|
|
59
|
+
*/
|
|
60
|
+
'contractDurationDays': number;
|
|
61
|
+
/**
|
|
62
|
+
* Product versions.
|
|
63
|
+
* @type {Array<ProductVersionClass>}
|
|
64
|
+
* @memberof ProductClass
|
|
65
|
+
*/
|
|
66
|
+
'versions': Array<ProductVersionClass>;
|
|
67
|
+
/**
|
|
68
|
+
* Time at which the object was created.
|
|
69
|
+
* @type {string}
|
|
70
|
+
* @memberof ProductClass
|
|
71
|
+
*/
|
|
72
|
+
'createdAt': string;
|
|
73
|
+
/**
|
|
74
|
+
* Time at which the object was updated.
|
|
75
|
+
* @type {string}
|
|
76
|
+
* @memberof ProductClass
|
|
77
|
+
*/
|
|
78
|
+
'updatedAt': string;
|
|
79
|
+
}
|
|
80
|
+
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Emil PublicAPI
|
|
5
|
+
* The Emil Public API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface ProductVersionClass
|
|
21
|
+
*/
|
|
22
|
+
export interface ProductVersionClass {
|
|
23
|
+
/**
|
|
24
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof ProductVersionClass
|
|
27
|
+
*/
|
|
28
|
+
'id': number;
|
|
29
|
+
/**
|
|
30
|
+
* Unique identifier referencing the product.
|
|
31
|
+
* @type {number}
|
|
32
|
+
* @memberof ProductVersionClass
|
|
33
|
+
*/
|
|
34
|
+
'productId': number;
|
|
35
|
+
/**
|
|
36
|
+
* Product version description.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof ProductVersionClass
|
|
39
|
+
*/
|
|
40
|
+
'description': string;
|
|
41
|
+
/**
|
|
42
|
+
* Product version status.
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof ProductVersionClass
|
|
45
|
+
*/
|
|
46
|
+
'status': ProductVersionClassStatusEnum;
|
|
47
|
+
/**
|
|
48
|
+
* Time at which the object was created.
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof ProductVersionClass
|
|
51
|
+
*/
|
|
52
|
+
'createdAt': string;
|
|
53
|
+
/**
|
|
54
|
+
* Time at which the object was updated.
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof ProductVersionClass
|
|
57
|
+
*/
|
|
58
|
+
'updatedAt': string;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
export const ProductVersionClassStatusEnum = {
|
|
62
|
+
Draft: 'draft',
|
|
63
|
+
Active: 'active',
|
|
64
|
+
Passive: 'passive',
|
|
65
|
+
Archived: 'archived'
|
|
66
|
+
} as const;
|
|
67
|
+
|
|
68
|
+
export type ProductVersionClassStatusEnum = typeof ProductVersionClassStatusEnum[keyof typeof ProductVersionClassStatusEnum];
|
|
69
|
+
|
|
70
|
+
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
*/
|
|
22
22
|
export interface SendNotificationRequestDto {
|
|
23
23
|
/**
|
|
24
|
-
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
24
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
25
25
|
* @type {string}
|
|
26
26
|
* @memberof SendNotificationRequestDto
|
|
27
27
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@emilgroup/public-api-sdk-node",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.0",
|
|
4
4
|
"description": "OpenAPI client for @emilgroup/public-api-sdk-node",
|
|
5
5
|
"author": "OpenAPI-Generator Contributors",
|
|
6
6
|
"keywords": [
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"url": "^0.11.0"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
|
|
26
|
+
"@types/node": "^12.11.5",
|
|
27
27
|
"typescript": "^4.0"
|
|
28
28
|
}
|
|
29
29
|
}
|