@emilgroup/customer-sdk-node 1.9.0-beta.0 → 1.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +4 -2
- package/README.md +2 -2
- package/api/customers-api.ts +85 -0
- package/api/policies-api.ts +128 -4
- package/api/products-api.ts +357 -0
- package/api.ts +2 -0
- package/dist/api/customers-api.d.ts +47 -0
- package/dist/api/customers-api.js +76 -0
- package/dist/api/policies-api.d.ts +77 -4
- package/dist/api/policies-api.js +97 -3
- package/dist/api/products-api.d.ts +215 -0
- package/dist/api/products-api.js +341 -0
- package/dist/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/models/{shared-customer-product-class.d.ts → customer-product-class.d.ts} +8 -8
- package/dist/models/{shared-customer-product-class.js → customer-product-class.js} +0 -0
- package/dist/models/get-product-response-class.d.ts +25 -0
- package/dist/models/{to-grpc-customer-product-class.js → get-product-response-class.js} +0 -0
- package/dist/models/index.d.ts +3 -2
- package/dist/models/index.js +3 -2
- package/dist/models/list-products-response-class.d.ts +31 -0
- package/dist/models/list-products-response-class.js +15 -0
- package/dist/models/policy-class.d.ts +3 -3
- package/models/{shared-customer-product-class.ts → customer-product-class.ts} +8 -8
- package/models/get-product-response-class.ts +31 -0
- package/models/index.ts +3 -2
- package/models/list-products-response-class.ts +37 -0
- package/models/policy-class.ts +3 -3
- package/package.json +1 -1
- package/dist/models/to-grpc-customer-product-class.d.ts +0 -54
- package/models/to-grpc-customer-product-class.ts +0 -60
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL CustomerService
|
|
5
|
+
* The EMIL CustomerService 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 { CustomerProductClass } from './customer-product-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface GetProductResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface GetProductResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* Product
|
|
26
|
+
* @type {CustomerProductClass}
|
|
27
|
+
* @memberof GetProductResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'product': CustomerProductClass;
|
|
30
|
+
}
|
|
31
|
+
|
package/models/index.ts
CHANGED
|
@@ -12,10 +12,12 @@ export * from './create-customer-response-class';
|
|
|
12
12
|
export * from './create-presigned-post-response-class';
|
|
13
13
|
export * from './customer-class';
|
|
14
14
|
export * from './customer-document-class';
|
|
15
|
+
export * from './customer-product-class';
|
|
15
16
|
export * from './forgot-password-request-dto';
|
|
16
17
|
export * from './get-customer-document-download-url-response-class';
|
|
17
18
|
export * from './get-customer-response-class';
|
|
18
19
|
export * from './get-policy-response-class';
|
|
20
|
+
export * from './get-product-response-class';
|
|
19
21
|
export * from './initiate-auth-request-dto';
|
|
20
22
|
export * from './initiate-auth-response-class';
|
|
21
23
|
export * from './initiate-braintree-payment-setup-response-class';
|
|
@@ -29,6 +31,7 @@ export * from './invoice-class';
|
|
|
29
31
|
export * from './list-documents-response-class';
|
|
30
32
|
export * from './list-invoices-response-class';
|
|
31
33
|
export * from './list-policies-response-class';
|
|
34
|
+
export * from './list-products-response-class';
|
|
32
35
|
export * from './policy-class';
|
|
33
36
|
export * from './policy-object-class';
|
|
34
37
|
export * from './policy-premium-class';
|
|
@@ -41,12 +44,10 @@ export * from './reset-password-by-customer-request-dto';
|
|
|
41
44
|
export * from './respond-to-auth-challenge-class';
|
|
42
45
|
export * from './respond-to-auth-challenge-request-dto';
|
|
43
46
|
export * from './shared-customer-policy-object-request-dto';
|
|
44
|
-
export * from './shared-customer-product-class';
|
|
45
47
|
export * from './shared-invoice-item-class';
|
|
46
48
|
export * from './terminate-customer-policy-request-dto';
|
|
47
49
|
export * from './terminate-customer-policy-response-class';
|
|
48
50
|
export * from './timeslice-class';
|
|
49
|
-
export * from './to-grpc-customer-product-class';
|
|
50
51
|
export * from './update-account-request-dto';
|
|
51
52
|
export * from './update-customer-claim-request-dto';
|
|
52
53
|
export * from './update-customer-request-dto';
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL CustomerService
|
|
5
|
+
* The EMIL CustomerService 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 { CustomerProductClass } from './customer-product-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface ListProductsResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface ListProductsResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* Products
|
|
26
|
+
* @type {Array<CustomerProductClass>}
|
|
27
|
+
* @memberof ListProductsResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'items': Array<CustomerProductClass>;
|
|
30
|
+
/**
|
|
31
|
+
* Next page token
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ListProductsResponseClass
|
|
34
|
+
*/
|
|
35
|
+
'nextPageToken': string;
|
|
36
|
+
}
|
|
37
|
+
|
package/models/policy-class.ts
CHANGED
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
import { CustomerProductClass } from './customer-product-class';
|
|
16
17
|
import { PolicyVersionClass } from './policy-version-class';
|
|
17
|
-
import { ToGrpcCustomerProductClass } from './to-grpc-customer-product-class';
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
20
|
*
|
|
@@ -48,10 +48,10 @@ export interface PolicyClass {
|
|
|
48
48
|
'versions': Array<PolicyVersionClass>;
|
|
49
49
|
/**
|
|
50
50
|
* Product details
|
|
51
|
-
* @type {
|
|
51
|
+
* @type {CustomerProductClass}
|
|
52
52
|
* @memberof PolicyClass
|
|
53
53
|
*/
|
|
54
|
-
'product'?:
|
|
54
|
+
'product'?: CustomerProductClass;
|
|
55
55
|
/**
|
|
56
56
|
* Date created
|
|
57
57
|
* @type {string}
|
package/package.json
CHANGED
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* EMIL CustomerService
|
|
3
|
-
* The EMIL CustomerService 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 ToGrpcCustomerProductClass
|
|
16
|
-
*/
|
|
17
|
-
export interface ToGrpcCustomerProductClass {
|
|
18
|
-
/**
|
|
19
|
-
* Product code
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof ToGrpcCustomerProductClass
|
|
22
|
-
*/
|
|
23
|
-
'code': string;
|
|
24
|
-
/**
|
|
25
|
-
* Product\'s name
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof ToGrpcCustomerProductClass
|
|
28
|
-
*/
|
|
29
|
-
'name': string;
|
|
30
|
-
/**
|
|
31
|
-
* Product\'s slug
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof ToGrpcCustomerProductClass
|
|
34
|
-
*/
|
|
35
|
-
'slug': string;
|
|
36
|
-
/**
|
|
37
|
-
* Contract duration in days
|
|
38
|
-
* @type {number}
|
|
39
|
-
* @memberof ToGrpcCustomerProductClass
|
|
40
|
-
*/
|
|
41
|
-
'contractDurationDays': number;
|
|
42
|
-
/**
|
|
43
|
-
* Date created
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof ToGrpcCustomerProductClass
|
|
46
|
-
*/
|
|
47
|
-
'createdAt': string;
|
|
48
|
-
/**
|
|
49
|
-
* Date updated
|
|
50
|
-
* @type {string}
|
|
51
|
-
* @memberof ToGrpcCustomerProductClass
|
|
52
|
-
*/
|
|
53
|
-
'updatedAt': string;
|
|
54
|
-
}
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* EMIL CustomerService
|
|
5
|
-
* The EMIL CustomerService 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 ToGrpcCustomerProductClass
|
|
21
|
-
*/
|
|
22
|
-
export interface ToGrpcCustomerProductClass {
|
|
23
|
-
/**
|
|
24
|
-
* Product code
|
|
25
|
-
* @type {string}
|
|
26
|
-
* @memberof ToGrpcCustomerProductClass
|
|
27
|
-
*/
|
|
28
|
-
'code': string;
|
|
29
|
-
/**
|
|
30
|
-
* Product\'s name
|
|
31
|
-
* @type {string}
|
|
32
|
-
* @memberof ToGrpcCustomerProductClass
|
|
33
|
-
*/
|
|
34
|
-
'name': string;
|
|
35
|
-
/**
|
|
36
|
-
* Product\'s slug
|
|
37
|
-
* @type {string}
|
|
38
|
-
* @memberof ToGrpcCustomerProductClass
|
|
39
|
-
*/
|
|
40
|
-
'slug': string;
|
|
41
|
-
/**
|
|
42
|
-
* Contract duration in days
|
|
43
|
-
* @type {number}
|
|
44
|
-
* @memberof ToGrpcCustomerProductClass
|
|
45
|
-
*/
|
|
46
|
-
'contractDurationDays': number;
|
|
47
|
-
/**
|
|
48
|
-
* Date created
|
|
49
|
-
* @type {string}
|
|
50
|
-
* @memberof ToGrpcCustomerProductClass
|
|
51
|
-
*/
|
|
52
|
-
'createdAt': string;
|
|
53
|
-
/**
|
|
54
|
-
* Date updated
|
|
55
|
-
* @type {string}
|
|
56
|
-
* @memberof ToGrpcCustomerProductClass
|
|
57
|
-
*/
|
|
58
|
-
'updatedAt': string;
|
|
59
|
-
}
|
|
60
|
-
|