@emilgroup/customer-sdk-node 1.36.1-beta.0 → 1.37.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.
Files changed (39) hide show
  1. package/.openapi-generator/FILES +6 -0
  2. package/README.md +2 -2
  3. package/api/customers-api.ts +310 -4
  4. package/api/leads-api.ts +38 -38
  5. package/base.ts +5 -5
  6. package/dist/api/customers-api.d.ts +174 -4
  7. package/dist/api/customers-api.js +253 -4
  8. package/dist/api/leads-api.d.ts +24 -24
  9. package/dist/api/leads-api.js +34 -34
  10. package/dist/base.d.ts +2 -2
  11. package/dist/base.js +1 -2
  12. package/dist/models/change-customer-email-request-dto.d.ts +30 -0
  13. package/dist/models/change-customer-email-request-dto.js +15 -0
  14. package/dist/models/grpc-update-lead-request-dto.d.ts +50 -0
  15. package/dist/models/grpc-update-lead-request-dto.js +15 -0
  16. package/dist/models/index.d.ts +6 -0
  17. package/dist/models/index.js +6 -0
  18. package/dist/models/lead-class.d.ts +1 -1
  19. package/dist/models/request-change-email-by-customer-request-dto.d.ts +24 -0
  20. package/dist/models/request-change-email-by-customer-request-dto.js +15 -0
  21. package/dist/models/request-change-email-by-customer-response-class.d.ts +24 -0
  22. package/dist/models/request-change-email-by-customer-response-class.js +15 -0
  23. package/dist/models/update-account-request-dto.d.ts +0 -6
  24. package/dist/models/update-lead-request-dto.d.ts +0 -6
  25. package/dist/models/verify-change-email-token-request-dto.d.ts +24 -0
  26. package/dist/models/verify-change-email-token-request-dto.js +15 -0
  27. package/dist/models/verify-change-email-token-response-class.d.ts +36 -0
  28. package/dist/models/verify-change-email-token-response-class.js +15 -0
  29. package/models/change-customer-email-request-dto.ts +36 -0
  30. package/models/grpc-update-lead-request-dto.ts +56 -0
  31. package/models/index.ts +6 -0
  32. package/models/lead-class.ts +1 -1
  33. package/models/request-change-email-by-customer-request-dto.ts +30 -0
  34. package/models/request-change-email-by-customer-response-class.ts +30 -0
  35. package/models/update-account-request-dto.ts +0 -6
  36. package/models/update-lead-request-dto.ts +0 -6
  37. package/models/verify-change-email-token-request-dto.ts +30 -0
  38. package/models/verify-change-email-token-response-class.ts +42 -0
  39. package/package.json +1 -1
@@ -0,0 +1,36 @@
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 ChangeCustomerEmailRequestDto
21
+ */
22
+ export interface ChangeCustomerEmailRequestDto {
23
+ /**
24
+ * Change email token that was provided by the request email change endpoint
25
+ * @type {string}
26
+ * @memberof ChangeCustomerEmailRequestDto
27
+ */
28
+ 'token': string;
29
+ /**
30
+ * Customer password. This can be the same as previous password or new.
31
+ * @type {string}
32
+ * @memberof ChangeCustomerEmailRequestDto
33
+ */
34
+ 'password': string;
35
+ }
36
+
@@ -0,0 +1,56 @@
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 { CreatePaymentMethodRequestDto } from './create-payment-method-request-dto';
17
+ import { PolicyObjectDto } from './policy-object-dto';
18
+
19
+ /**
20
+ *
21
+ * @export
22
+ * @interface GrpcUpdateLeadRequestDto
23
+ */
24
+ export interface GrpcUpdateLeadRequestDto {
25
+ /**
26
+ * Policy objects.
27
+ * @type {Array<PolicyObjectDto>}
28
+ * @memberof GrpcUpdateLeadRequestDto
29
+ */
30
+ 'policyObjects': Array<PolicyObjectDto>;
31
+ /**
32
+ * Unique identifier of the product that this object belongs to.
33
+ * @type {string}
34
+ * @memberof GrpcUpdateLeadRequestDto
35
+ */
36
+ 'productCode': string;
37
+ /**
38
+ * Status of the lead.
39
+ * @type {string}
40
+ * @memberof GrpcUpdateLeadRequestDto
41
+ */
42
+ 'status'?: string;
43
+ /**
44
+ * Payment method
45
+ * @type {CreatePaymentMethodRequestDto}
46
+ * @memberof GrpcUpdateLeadRequestDto
47
+ */
48
+ 'paymentMethod': CreatePaymentMethodRequestDto;
49
+ /**
50
+ *
51
+ * @type {string}
52
+ * @memberof GrpcUpdateLeadRequestDto
53
+ */
54
+ 'code': string;
55
+ }
56
+
package/models/index.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  export * from './account-class';
2
2
  export * from './account-policy-class';
3
3
  export * from './authentication-result-class';
4
+ export * from './change-customer-email-request-dto';
4
5
  export * from './claim-class';
5
6
  export * from './complete-braintree-payment-setup-request-dto';
6
7
  export * from './complete-payment-setup-psp-request';
@@ -27,6 +28,7 @@ export * from './get-customer-response-class';
27
28
  export * from './get-lead-response-class';
28
29
  export * from './get-policy-response-class';
29
30
  export * from './get-product-response-class';
31
+ export * from './grpc-update-lead-request-dto';
30
32
  export * from './initiate-auth-request-dto';
31
33
  export * from './initiate-auth-response-class';
32
34
  export * from './initiate-braintree-payment-setup-response-class';
@@ -60,6 +62,8 @@ export * from './premium-override-dto';
60
62
  export * from './premium-override-request-class';
61
63
  export * from './premium-override-request-dto';
62
64
  export * from './refresh-token-dto';
65
+ export * from './request-change-email-by-customer-request-dto';
66
+ export * from './request-change-email-by-customer-response-class';
63
67
  export * from './request-policy-update-request-dto';
64
68
  export * from './request-policy-update-response-class';
65
69
  export * from './reset-password-by-customer-request-dto';
@@ -82,5 +86,7 @@ export * from './update-lead-response-class';
82
86
  export * from './upload-customer-claim-documents-request-dto';
83
87
  export * from './upload-customer-policy-documents-request-dto';
84
88
  export * from './uploaded-document-dto';
89
+ export * from './verify-change-email-token-request-dto';
90
+ export * from './verify-change-email-token-response-class';
85
91
  export * from './verify-customer-invite-response-class';
86
92
  export * from './withdraw-customer-policy-response-class';
@@ -89,7 +89,7 @@ export interface LeadClass {
89
89
  */
90
90
  'premiumOverride'?: PremiumOverrideRequestClass;
91
91
  /**
92
- * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
92
+ * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
93
93
  * @type {string}
94
94
  * @memberof LeadClass
95
95
  */
@@ -0,0 +1,30 @@
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 RequestChangeEmailByCustomerRequestDto
21
+ */
22
+ export interface RequestChangeEmailByCustomerRequestDto {
23
+ /**
24
+ * New customer email address
25
+ * @type {string}
26
+ * @memberof RequestChangeEmailByCustomerRequestDto
27
+ */
28
+ 'newEmail': string;
29
+ }
30
+
@@ -0,0 +1,30 @@
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 RequestChangeEmailByCustomerResponseClass
21
+ */
22
+ export interface RequestChangeEmailByCustomerResponseClass {
23
+ /**
24
+ *
25
+ * @type {object}
26
+ * @memberof RequestChangeEmailByCustomerResponseClass
27
+ */
28
+ 'response': object;
29
+ }
30
+
@@ -38,12 +38,6 @@ export interface UpdateAccountRequestDto {
38
38
  * @memberof UpdateAccountRequestDto
39
39
  */
40
40
  'type'?: UpdateAccountRequestDtoTypeEnum;
41
- /**
42
- * The account\'s email address. It is displayed alongside the account in the admin dashboard and can be useful for searching and tracking.
43
- * @type {string}
44
- * @memberof UpdateAccountRequestDto
45
- */
46
- 'email'?: string;
47
41
  /**
48
42
  * The account\'s gender.
49
43
  * @type {string}
@@ -46,11 +46,5 @@ export interface UpdateLeadRequestDto {
46
46
  * @memberof UpdateLeadRequestDto
47
47
  */
48
48
  'paymentMethod': CreatePaymentMethodRequestDto;
49
- /**
50
- *
51
- * @type {string}
52
- * @memberof UpdateLeadRequestDto
53
- */
54
- 'code': string;
55
49
  }
56
50
 
@@ -0,0 +1,30 @@
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 VerifyChangeEmailTokenRequestDto
21
+ */
22
+ export interface VerifyChangeEmailTokenRequestDto {
23
+ /**
24
+ * Change email token that was provided by the request email change endpoint
25
+ * @type {string}
26
+ * @memberof VerifyChangeEmailTokenRequestDto
27
+ */
28
+ 'token': string;
29
+ }
30
+
@@ -0,0 +1,42 @@
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 VerifyChangeEmailTokenResponseClass
21
+ */
22
+ export interface VerifyChangeEmailTokenResponseClass {
23
+ /**
24
+ * New customer email address
25
+ * @type {string}
26
+ * @memberof VerifyChangeEmailTokenResponseClass
27
+ */
28
+ 'newEmail': string;
29
+ /**
30
+ * Change email token
31
+ * @type {string}
32
+ * @memberof VerifyChangeEmailTokenResponseClass
33
+ */
34
+ 'token': string;
35
+ /**
36
+ * Tenant slug
37
+ * @type {string}
38
+ * @memberof VerifyChangeEmailTokenResponseClass
39
+ */
40
+ 'tenantSlug': string;
41
+ }
42
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/customer-sdk-node",
3
- "version": "1.36.1-beta.0",
3
+ "version": "1.37.0",
4
4
  "description": "OpenAPI client for @emilgroup/customer-sdk-node",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [