@emilgroup/customer-sdk-node 1.9.0-beta.0 → 1.9.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 -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 +2 -2
- package/dist/models/index.js +2 -2
- package/dist/models/list-policies-response-class.d.ts +4 -4
- 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 +2 -2
- package/models/list-policies-response-class.ts +4 -4
- 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
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
import {
|
|
16
|
+
import { CustomerProductClass } from './customer-product-class';
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
19
|
*
|
|
@@ -22,11 +22,11 @@ import { PolicyClass } from './policy-class';
|
|
|
22
22
|
*/
|
|
23
23
|
export interface ListPoliciesResponseClass {
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {Array<
|
|
25
|
+
* Products
|
|
26
|
+
* @type {Array<CustomerProductClass>}
|
|
27
27
|
* @memberof ListPoliciesResponseClass
|
|
28
28
|
*/
|
|
29
|
-
'items': Array<
|
|
29
|
+
'items': Array<CustomerProductClass>;
|
|
30
30
|
/**
|
|
31
31
|
* Next page token
|
|
32
32
|
* @type {string}
|
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
|
-
|