@emilgroup/public-api-sdk-node 1.4.0 → 1.5.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 +0 -3
- package/README.md +2 -2
- package/api/products-api.ts +0 -174
- package/api.ts +1 -0
- package/dist/api/products-api.d.ts +0 -101
- package/dist/api/products-api.js +0 -123
- package/dist/api.d.ts +2 -1
- package/dist/api.js +1 -0
- package/dist/models/create-account-request-dto.d.ts +2 -19
- package/dist/models/create-account-request-dto.js +1 -5
- 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 +0 -3
- package/dist/models/index.js +0 -3
- package/dist/models/insured-object-type-class.d.ts +1 -1
- package/dist/models/premium-override-dto.d.ts +0 -1
- package/dist/models/premium-override-dto.js +1 -2
- package/dist/models/send-notification-request-dto.d.ts +1 -1
- package/models/create-account-request-dto.ts +2 -20
- package/models/create-document-request-dto.ts +1 -1
- package/models/document-class.ts +1 -1
- package/models/index.ts +0 -3
- package/models/insured-object-type-class.ts +1 -1
- package/models/premium-override-dto.ts +1 -2
- package/models/send-notification-request-dto.ts +1 -1
- package/package.json +2 -2
- package/dist/models/list-products-response-class.d.ts +0 -31
- package/dist/models/list-products-response-class.js +0 -15
- package/dist/models/product-class.d.ts +0 -74
- package/dist/models/product-class.js +0 -15
- package/dist/models/product-version-class.d.ts +0 -61
- package/dist/models/product-version-class.js +0 -22
- package/models/list-products-response-class.ts +0 -37
- package/models/product-class.ts +0 -80
- package/models/product-version-class.ts +0 -70
package/.openapi-generator/FILES
CHANGED
|
@@ -48,15 +48,12 @@ 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
|
|
52
51
|
models/payment-method-class.ts
|
|
53
52
|
models/policy-object-request-dto.ts
|
|
54
53
|
models/premium-override-dto.ts
|
|
55
54
|
models/premium-override-request-dto.ts
|
|
56
|
-
models/product-class.ts
|
|
57
55
|
models/product-factor-class.ts
|
|
58
56
|
models/product-field-class.ts
|
|
59
|
-
models/product-version-class.ts
|
|
60
57
|
models/send-notification-request-dto.ts
|
|
61
58
|
models/send-notification-response-class.ts
|
|
62
59
|
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.5.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.5.0
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `PublicApi`.
|
package/api/products-api.ts
CHANGED
|
@@ -35,8 +35,6 @@ 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
|
|
40
38
|
import { ProductFactorClass } from '../models';
|
|
41
39
|
// URLSearchParams not necessarily used
|
|
42
40
|
// @ts-ignore
|
|
@@ -324,77 +322,6 @@ export const ProductsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
324
322
|
|
|
325
323
|
|
|
326
324
|
|
|
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
|
-
|
|
398
325
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
399
326
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
400
327
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -488,23 +415,6 @@ export const ProductsApiFp = function(configuration?: Configuration) {
|
|
|
488
415
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getProductFactors(productCode, allValues, authorization, options);
|
|
489
416
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
490
417
|
},
|
|
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
|
-
},
|
|
508
418
|
}
|
|
509
419
|
};
|
|
510
420
|
|
|
@@ -583,22 +493,6 @@ export const ProductsApiFactory = function (configuration?: Configuration, baseP
|
|
|
583
493
|
getProductFactors(productCode: string, allValues: string, authorization?: string, options?: any): AxiosPromise<Array<ProductFactorClass>> {
|
|
584
494
|
return localVarFp.getProductFactors(productCode, allValues, authorization, options).then((request) => request(axios, basePath));
|
|
585
495
|
},
|
|
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
|
-
},
|
|
602
496
|
};
|
|
603
497
|
};
|
|
604
498
|
|
|
@@ -742,62 +636,6 @@ export interface ProductsApiGetProductFactorsRequest {
|
|
|
742
636
|
readonly authorization?: string
|
|
743
637
|
}
|
|
744
638
|
|
|
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
|
-
|
|
801
639
|
/**
|
|
802
640
|
* ProductsApi - object-oriented interface
|
|
803
641
|
* @export
|
|
@@ -876,16 +714,4 @@ export class ProductsApi extends BaseAPI {
|
|
|
876
714
|
public getProductFactors(requestParameters: ProductsApiGetProductFactorsRequest, options?: AxiosRequestConfig) {
|
|
877
715
|
return ProductsApiFp(this.configuration).getProductFactors(requestParameters.productCode, requestParameters.allValues, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
878
716
|
}
|
|
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
|
-
}
|
|
891
717
|
}
|
package/api.ts
CHANGED
|
@@ -19,7 +19,6 @@ 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';
|
|
23
22
|
import { ProductFactorClass } from '../models';
|
|
24
23
|
/**
|
|
25
24
|
* ProductsApi - axios parameter creator
|
|
@@ -82,20 +81,6 @@ export declare const ProductsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
82
81
|
* @throws {RequiredError}
|
|
83
82
|
*/
|
|
84
83
|
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>;
|
|
99
84
|
};
|
|
100
85
|
/**
|
|
101
86
|
* ProductsApi - functional programming interface
|
|
@@ -158,20 +143,6 @@ export declare const ProductsApiFp: (configuration?: Configuration) => {
|
|
|
158
143
|
* @throws {RequiredError}
|
|
159
144
|
*/
|
|
160
145
|
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>>;
|
|
175
146
|
};
|
|
176
147
|
/**
|
|
177
148
|
* ProductsApi - factory interface
|
|
@@ -234,20 +205,6 @@ export declare const ProductsApiFactory: (configuration?: Configuration, basePat
|
|
|
234
205
|
* @throws {RequiredError}
|
|
235
206
|
*/
|
|
236
207
|
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>;
|
|
251
208
|
};
|
|
252
209
|
/**
|
|
253
210
|
* Request parameters for createEstimatedInvoice operation in ProductsApi.
|
|
@@ -375,55 +332,6 @@ export interface ProductsApiGetProductFactorsRequest {
|
|
|
375
332
|
*/
|
|
376
333
|
readonly authorization?: string;
|
|
377
334
|
}
|
|
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
|
-
}
|
|
427
335
|
/**
|
|
428
336
|
* ProductsApi - object-oriented interface
|
|
429
337
|
* @export
|
|
@@ -485,13 +393,4 @@ export declare class ProductsApi extends BaseAPI {
|
|
|
485
393
|
* @memberof ProductsApi
|
|
486
394
|
*/
|
|
487
395
|
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>>;
|
|
497
396
|
}
|
package/dist/api/products-api.js
CHANGED
|
@@ -396,74 +396,6 @@ 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
|
-
},
|
|
467
399
|
};
|
|
468
400
|
};
|
|
469
401
|
exports.ProductsApiAxiosParamCreator = ProductsApiAxiosParamCreator;
|
|
@@ -602,32 +534,6 @@ var ProductsApiFp = function (configuration) {
|
|
|
602
534
|
});
|
|
603
535
|
});
|
|
604
536
|
},
|
|
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
|
-
},
|
|
631
537
|
};
|
|
632
538
|
};
|
|
633
539
|
exports.ProductsApiFp = ProductsApiFp;
|
|
@@ -706,22 +612,6 @@ var ProductsApiFactory = function (configuration, basePath, axios) {
|
|
|
706
612
|
getProductFactors: function (productCode, allValues, authorization, options) {
|
|
707
613
|
return localVarFp.getProductFactors(productCode, allValues, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
708
614
|
},
|
|
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
|
-
},
|
|
725
615
|
};
|
|
726
616
|
};
|
|
727
617
|
exports.ProductsApiFactory = ProductsApiFactory;
|
|
@@ -809,19 +699,6 @@ var ProductsApi = /** @class */ (function (_super) {
|
|
|
809
699
|
var _this = this;
|
|
810
700
|
return (0, exports.ProductsApiFp)(this.configuration).getProductFactors(requestParameters.productCode, requestParameters.allValues, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
811
701
|
};
|
|
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
|
-
};
|
|
825
702
|
return ProductsApi;
|
|
826
703
|
}(base_1.BaseAPI));
|
|
827
704
|
exports.ProductsApi = ProductsApi;
|
package/dist/api.d.ts
CHANGED
|
@@ -16,5 +16,6 @@ export * from './api/payments-setup-api';
|
|
|
16
16
|
export * from './api/products-api';
|
|
17
17
|
export declare enum Environment {
|
|
18
18
|
Production = "https://apiv2.emil.de",
|
|
19
|
-
Test = "https://apiv2-test.emil.de"
|
|
19
|
+
Test = "https://apiv2-test.emil.de",
|
|
20
|
+
Development = "https://apiv2-dev.emil.de"
|
|
20
21
|
}
|
package/dist/api.js
CHANGED
|
@@ -37,4 +37,5 @@ var Environment;
|
|
|
37
37
|
(function (Environment) {
|
|
38
38
|
Environment["Production"] = "https://apiv2.emil.de";
|
|
39
39
|
Environment["Test"] = "https://apiv2-test.emil.de";
|
|
40
|
+
Environment["Development"] = "https://apiv2-dev.emil.de";
|
|
40
41
|
})(Environment = exports.Environment || (exports.Environment = {}));
|
|
@@ -70,29 +70,17 @@ export interface CreateAccountRequestDto {
|
|
|
70
70
|
*/
|
|
71
71
|
'houseNumber': string;
|
|
72
72
|
/**
|
|
73
|
-
* Customer birth date
|
|
73
|
+
* Customer birth date
|
|
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;
|
|
96
84
|
/**
|
|
97
85
|
* Account number
|
|
98
86
|
* @type {string}
|
|
@@ -125,8 +113,3 @@ export declare const CreateAccountRequestDtoGenderEnum: {
|
|
|
125
113
|
readonly Unspecified: "unspecified";
|
|
126
114
|
};
|
|
127
115
|
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.
|
|
16
|
+
exports.CreateAccountRequestDtoGenderEnum = exports.CreateAccountRequestDtoTitleEnum = void 0;
|
|
17
17
|
exports.CreateAccountRequestDtoTitleEnum = {
|
|
18
18
|
Empty: '',
|
|
19
19
|
Dr: 'Dr.',
|
|
@@ -25,7 +25,3 @@ 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. In this case, the template used for the document.
|
|
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. In this case, the template used for the document.
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof DocumentClass
|
|
34
34
|
*/
|
package/dist/models/index.d.ts
CHANGED
|
@@ -32,15 +32,12 @@ 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';
|
|
36
35
|
export * from './payment-method-class';
|
|
37
36
|
export * from './policy-object-request-dto';
|
|
38
37
|
export * from './premium-override-dto';
|
|
39
38
|
export * from './premium-override-request-dto';
|
|
40
|
-
export * from './product-class';
|
|
41
39
|
export * from './product-factor-class';
|
|
42
40
|
export * from './product-field-class';
|
|
43
|
-
export * from './product-version-class';
|
|
44
41
|
export * from './send-notification-request-dto';
|
|
45
42
|
export * from './send-notification-response-class';
|
|
46
43
|
export * from './update-lead-request-dto';
|
package/dist/models/index.js
CHANGED
|
@@ -48,15 +48,12 @@ __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);
|
|
52
51
|
__exportStar(require("./payment-method-class"), exports);
|
|
53
52
|
__exportStar(require("./policy-object-request-dto"), exports);
|
|
54
53
|
__exportStar(require("./premium-override-dto"), exports);
|
|
55
54
|
__exportStar(require("./premium-override-request-dto"), exports);
|
|
56
|
-
__exportStar(require("./product-class"), exports);
|
|
57
55
|
__exportStar(require("./product-factor-class"), exports);
|
|
58
56
|
__exportStar(require("./product-field-class"), exports);
|
|
59
|
-
__exportStar(require("./product-version-class"), exports);
|
|
60
57
|
__exportStar(require("./send-notification-request-dto"), exports);
|
|
61
58
|
__exportStar(require("./send-notification-response-class"), exports);
|
|
62
59
|
__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. In this case, the template used for the undefined.
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof InsuredObjectTypeClass
|
|
34
34
|
*/
|
|
@@ -49,6 +49,5 @@ export declare const PremiumOverrideDtoUnitEnum: {
|
|
|
49
49
|
readonly Week: "week";
|
|
50
50
|
readonly Month: "month";
|
|
51
51
|
readonly Year: "year";
|
|
52
|
-
readonly OneTimePayment: "oneTimePayment";
|
|
53
52
|
};
|
|
54
53
|
export type PremiumOverrideDtoUnitEnum = typeof PremiumOverrideDtoUnitEnum[keyof typeof PremiumOverrideDtoUnitEnum];
|
|
@@ -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. In this case, the template used for the email.
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof SendNotificationRequestDto
|
|
22
22
|
*/
|
|
@@ -75,29 +75,17 @@ export interface CreateAccountRequestDto {
|
|
|
75
75
|
*/
|
|
76
76
|
'houseNumber': string;
|
|
77
77
|
/**
|
|
78
|
-
* Customer birth date
|
|
78
|
+
* Customer birth date
|
|
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;
|
|
101
89
|
/**
|
|
102
90
|
* Account number
|
|
103
91
|
* @type {string}
|
|
@@ -133,11 +121,5 @@ export const CreateAccountRequestDtoGenderEnum = {
|
|
|
133
121
|
} as const;
|
|
134
122
|
|
|
135
123
|
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];
|
|
142
124
|
|
|
143
125
|
|
|
@@ -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. In this case, the template used for the document.
|
|
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. In this case, the template used for the document.
|
|
37
37
|
* @type {string}
|
|
38
38
|
* @memberof DocumentClass
|
|
39
39
|
*/
|
package/models/index.ts
CHANGED
|
@@ -32,15 +32,12 @@ 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';
|
|
36
35
|
export * from './payment-method-class';
|
|
37
36
|
export * from './policy-object-request-dto';
|
|
38
37
|
export * from './premium-override-dto';
|
|
39
38
|
export * from './premium-override-request-dto';
|
|
40
|
-
export * from './product-class';
|
|
41
39
|
export * from './product-factor-class';
|
|
42
40
|
export * from './product-field-class';
|
|
43
|
-
export * from './product-version-class';
|
|
44
41
|
export * from './send-notification-request-dto';
|
|
45
42
|
export * from './send-notification-response-class';
|
|
46
43
|
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. In this case, the template used for the undefined.
|
|
37
37
|
* @type {string}
|
|
38
38
|
* @memberof InsuredObjectTypeClass
|
|
39
39
|
*/
|
|
@@ -55,8 +55,7 @@ export const PremiumOverrideDtoUnitEnum = {
|
|
|
55
55
|
Day: 'day',
|
|
56
56
|
Week: 'week',
|
|
57
57
|
Month: 'month',
|
|
58
|
-
Year: 'year'
|
|
59
|
-
OneTimePayment: 'oneTimePayment'
|
|
58
|
+
Year: 'year'
|
|
60
59
|
} as const;
|
|
61
60
|
|
|
62
61
|
export type PremiumOverrideDtoUnitEnum = typeof PremiumOverrideDtoUnitEnum[keyof typeof PremiumOverrideDtoUnitEnum];
|
|
@@ -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. In this case, the template used for the email.
|
|
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.5.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
|
}
|
|
@@ -1,31 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
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 });
|
|
@@ -1,74 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
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 });
|
|
@@ -1,61 +0,0 @@
|
|
|
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];
|
|
@@ -1,22 +0,0 @@
|
|
|
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
|
-
};
|
|
@@ -1,37 +0,0 @@
|
|
|
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
|
-
|
package/models/product-class.ts
DELETED
|
@@ -1,80 +0,0 @@
|
|
|
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
|
-
|
|
@@ -1,70 +0,0 @@
|
|
|
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
|
-
|