@emilgroup/customer-sdk-node 1.36.1-beta.0 → 1.38.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 (48) hide show
  1. package/.openapi-generator/FILES +8 -0
  2. package/README.md +2 -2
  3. package/api/authentication-api.ts +116 -0
  4. package/api/customers-api.ts +310 -4
  5. package/api/leads-api.ts +38 -38
  6. package/base.ts +5 -5
  7. package/dist/api/authentication-api.d.ts +66 -0
  8. package/dist/api/authentication-api.js +89 -0
  9. package/dist/api/customers-api.d.ts +174 -4
  10. package/dist/api/customers-api.js +253 -4
  11. package/dist/api/leads-api.d.ts +24 -24
  12. package/dist/api/leads-api.js +34 -34
  13. package/dist/base.d.ts +2 -2
  14. package/dist/base.js +1 -2
  15. package/dist/models/change-customer-email-request-dto.d.ts +30 -0
  16. package/dist/models/change-customer-email-request-dto.js +15 -0
  17. package/dist/models/change-password-request-dto.d.ts +30 -0
  18. package/dist/models/change-password-request-dto.js +15 -0
  19. package/dist/models/change-password-response-class.d.ts +24 -0
  20. package/dist/models/change-password-response-class.js +15 -0
  21. package/dist/models/grpc-update-lead-request-dto.d.ts +50 -0
  22. package/dist/models/grpc-update-lead-request-dto.js +15 -0
  23. package/dist/models/index.d.ts +8 -0
  24. package/dist/models/index.js +8 -0
  25. package/dist/models/lead-class.d.ts +1 -1
  26. package/dist/models/request-change-email-by-customer-request-dto.d.ts +24 -0
  27. package/dist/models/request-change-email-by-customer-request-dto.js +15 -0
  28. package/dist/models/request-change-email-by-customer-response-class.d.ts +24 -0
  29. package/dist/models/request-change-email-by-customer-response-class.js +15 -0
  30. package/dist/models/update-account-request-dto.d.ts +0 -6
  31. package/dist/models/update-lead-request-dto.d.ts +0 -6
  32. package/dist/models/verify-change-email-token-request-dto.d.ts +24 -0
  33. package/dist/models/verify-change-email-token-request-dto.js +15 -0
  34. package/dist/models/verify-change-email-token-response-class.d.ts +36 -0
  35. package/dist/models/verify-change-email-token-response-class.js +15 -0
  36. package/models/change-customer-email-request-dto.ts +36 -0
  37. package/models/change-password-request-dto.ts +36 -0
  38. package/models/change-password-response-class.ts +30 -0
  39. package/models/grpc-update-lead-request-dto.ts +56 -0
  40. package/models/index.ts +8 -0
  41. package/models/lead-class.ts +1 -1
  42. package/models/request-change-email-by-customer-request-dto.ts +30 -0
  43. package/models/request-change-email-by-customer-response-class.ts +30 -0
  44. package/models/update-account-request-dto.ts +0 -6
  45. package/models/update-lead-request-dto.ts +0 -6
  46. package/models/verify-change-email-token-request-dto.ts +30 -0
  47. package/models/verify-change-email-token-response-class.ts +42 -0
  48. package/package.json +1 -1
@@ -1,6 +1,9 @@
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';
5
+ export * from './change-password-request-dto';
6
+ export * from './change-password-response-class';
4
7
  export * from './claim-class';
5
8
  export * from './complete-braintree-payment-setup-request-dto';
6
9
  export * from './complete-payment-setup-psp-request';
@@ -27,6 +30,7 @@ export * from './get-customer-response-class';
27
30
  export * from './get-lead-response-class';
28
31
  export * from './get-policy-response-class';
29
32
  export * from './get-product-response-class';
33
+ export * from './grpc-update-lead-request-dto';
30
34
  export * from './initiate-auth-request-dto';
31
35
  export * from './initiate-auth-response-class';
32
36
  export * from './initiate-braintree-payment-setup-response-class';
@@ -60,6 +64,8 @@ export * from './premium-override-dto';
60
64
  export * from './premium-override-request-class';
61
65
  export * from './premium-override-request-dto';
62
66
  export * from './refresh-token-dto';
67
+ export * from './request-change-email-by-customer-request-dto';
68
+ export * from './request-change-email-by-customer-response-class';
63
69
  export * from './request-policy-update-request-dto';
64
70
  export * from './request-policy-update-response-class';
65
71
  export * from './reset-password-by-customer-request-dto';
@@ -82,5 +88,7 @@ export * from './update-lead-response-class';
82
88
  export * from './upload-customer-claim-documents-request-dto';
83
89
  export * from './upload-customer-policy-documents-request-dto';
84
90
  export * from './uploaded-document-dto';
91
+ export * from './verify-change-email-token-request-dto';
92
+ export * from './verify-change-email-token-response-class';
85
93
  export * from './verify-customer-invite-response-class';
86
94
  export * from './withdraw-customer-policy-response-class';
@@ -17,6 +17,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./account-class"), exports);
18
18
  __exportStar(require("./account-policy-class"), exports);
19
19
  __exportStar(require("./authentication-result-class"), exports);
20
+ __exportStar(require("./change-customer-email-request-dto"), exports);
21
+ __exportStar(require("./change-password-request-dto"), exports);
22
+ __exportStar(require("./change-password-response-class"), exports);
20
23
  __exportStar(require("./claim-class"), exports);
21
24
  __exportStar(require("./complete-braintree-payment-setup-request-dto"), exports);
22
25
  __exportStar(require("./complete-payment-setup-psp-request"), exports);
@@ -43,6 +46,7 @@ __exportStar(require("./get-customer-response-class"), exports);
43
46
  __exportStar(require("./get-lead-response-class"), exports);
44
47
  __exportStar(require("./get-policy-response-class"), exports);
45
48
  __exportStar(require("./get-product-response-class"), exports);
49
+ __exportStar(require("./grpc-update-lead-request-dto"), exports);
46
50
  __exportStar(require("./initiate-auth-request-dto"), exports);
47
51
  __exportStar(require("./initiate-auth-response-class"), exports);
48
52
  __exportStar(require("./initiate-braintree-payment-setup-response-class"), exports);
@@ -76,6 +80,8 @@ __exportStar(require("./premium-override-dto"), exports);
76
80
  __exportStar(require("./premium-override-request-class"), exports);
77
81
  __exportStar(require("./premium-override-request-dto"), exports);
78
82
  __exportStar(require("./refresh-token-dto"), exports);
83
+ __exportStar(require("./request-change-email-by-customer-request-dto"), exports);
84
+ __exportStar(require("./request-change-email-by-customer-response-class"), exports);
79
85
  __exportStar(require("./request-policy-update-request-dto"), exports);
80
86
  __exportStar(require("./request-policy-update-response-class"), exports);
81
87
  __exportStar(require("./reset-password-by-customer-request-dto"), exports);
@@ -98,5 +104,7 @@ __exportStar(require("./update-lead-response-class"), exports);
98
104
  __exportStar(require("./upload-customer-claim-documents-request-dto"), exports);
99
105
  __exportStar(require("./upload-customer-policy-documents-request-dto"), exports);
100
106
  __exportStar(require("./uploaded-document-dto"), exports);
107
+ __exportStar(require("./verify-change-email-token-request-dto"), exports);
108
+ __exportStar(require("./verify-change-email-token-response-class"), exports);
101
109
  __exportStar(require("./verify-customer-invite-response-class"), exports);
102
110
  __exportStar(require("./withdraw-customer-policy-response-class"), exports);
@@ -84,7 +84,7 @@ export interface LeadClass {
84
84
  */
85
85
  'premiumOverride'?: PremiumOverrideRequestClass;
86
86
  /**
87
- * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
87
+ * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
88
88
  * @type {string}
89
89
  * @memberof LeadClass
90
90
  */
@@ -0,0 +1,24 @@
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 RequestChangeEmailByCustomerRequestDto
16
+ */
17
+ export interface RequestChangeEmailByCustomerRequestDto {
18
+ /**
19
+ * New customer email address
20
+ * @type {string}
21
+ * @memberof RequestChangeEmailByCustomerRequestDto
22
+ */
23
+ 'newEmail': string;
24
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL CustomerService
6
+ * The EMIL CustomerService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,24 @@
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 RequestChangeEmailByCustomerResponseClass
16
+ */
17
+ export interface RequestChangeEmailByCustomerResponseClass {
18
+ /**
19
+ *
20
+ * @type {object}
21
+ * @memberof RequestChangeEmailByCustomerResponseClass
22
+ */
23
+ 'response': object;
24
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL CustomerService
6
+ * The EMIL CustomerService 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 });
@@ -33,12 +33,6 @@ export interface UpdateAccountRequestDto {
33
33
  * @memberof UpdateAccountRequestDto
34
34
  */
35
35
  'type'?: UpdateAccountRequestDtoTypeEnum;
36
- /**
37
- * The account\'s email address. It is displayed alongside the account in the admin dashboard and can be useful for searching and tracking.
38
- * @type {string}
39
- * @memberof UpdateAccountRequestDto
40
- */
41
- 'email'?: string;
42
36
  /**
43
37
  * The account\'s gender.
44
38
  * @type {string}
@@ -41,10 +41,4 @@ export interface UpdateLeadRequestDto {
41
41
  * @memberof UpdateLeadRequestDto
42
42
  */
43
43
  'paymentMethod': CreatePaymentMethodRequestDto;
44
- /**
45
- *
46
- * @type {string}
47
- * @memberof UpdateLeadRequestDto
48
- */
49
- 'code': string;
50
44
  }
@@ -0,0 +1,24 @@
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 VerifyChangeEmailTokenRequestDto
16
+ */
17
+ export interface VerifyChangeEmailTokenRequestDto {
18
+ /**
19
+ * Change email token that was provided by the request email change endpoint
20
+ * @type {string}
21
+ * @memberof VerifyChangeEmailTokenRequestDto
22
+ */
23
+ 'token': string;
24
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL CustomerService
6
+ * The EMIL CustomerService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,36 @@
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 VerifyChangeEmailTokenResponseClass
16
+ */
17
+ export interface VerifyChangeEmailTokenResponseClass {
18
+ /**
19
+ * New customer email address
20
+ * @type {string}
21
+ * @memberof VerifyChangeEmailTokenResponseClass
22
+ */
23
+ 'newEmail': string;
24
+ /**
25
+ * Change email token
26
+ * @type {string}
27
+ * @memberof VerifyChangeEmailTokenResponseClass
28
+ */
29
+ 'token': string;
30
+ /**
31
+ * Tenant slug
32
+ * @type {string}
33
+ * @memberof VerifyChangeEmailTokenResponseClass
34
+ */
35
+ 'tenantSlug': string;
36
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL CustomerService
6
+ * The EMIL CustomerService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,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,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 ChangePasswordRequestDto
21
+ */
22
+ export interface ChangePasswordRequestDto {
23
+ /**
24
+ * Current customer password.
25
+ * @type {string}
26
+ * @memberof ChangePasswordRequestDto
27
+ */
28
+ 'oldPassword': string;
29
+ /**
30
+ * New customer password. Must be at least 8 characters and contain one uppercase letter, one lowercase letter and one number
31
+ * @type {string}
32
+ * @memberof ChangePasswordRequestDto
33
+ */
34
+ 'newPassword': string;
35
+ }
36
+
@@ -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 ChangePasswordResponseClass
21
+ */
22
+ export interface ChangePasswordResponseClass {
23
+ /**
24
+ *
25
+ * @type {object}
26
+ * @memberof ChangePasswordResponseClass
27
+ */
28
+ 'response': object;
29
+ }
30
+
@@ -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,9 @@
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';
5
+ export * from './change-password-request-dto';
6
+ export * from './change-password-response-class';
4
7
  export * from './claim-class';
5
8
  export * from './complete-braintree-payment-setup-request-dto';
6
9
  export * from './complete-payment-setup-psp-request';
@@ -27,6 +30,7 @@ export * from './get-customer-response-class';
27
30
  export * from './get-lead-response-class';
28
31
  export * from './get-policy-response-class';
29
32
  export * from './get-product-response-class';
33
+ export * from './grpc-update-lead-request-dto';
30
34
  export * from './initiate-auth-request-dto';
31
35
  export * from './initiate-auth-response-class';
32
36
  export * from './initiate-braintree-payment-setup-response-class';
@@ -60,6 +64,8 @@ export * from './premium-override-dto';
60
64
  export * from './premium-override-request-class';
61
65
  export * from './premium-override-request-dto';
62
66
  export * from './refresh-token-dto';
67
+ export * from './request-change-email-by-customer-request-dto';
68
+ export * from './request-change-email-by-customer-response-class';
63
69
  export * from './request-policy-update-request-dto';
64
70
  export * from './request-policy-update-response-class';
65
71
  export * from './reset-password-by-customer-request-dto';
@@ -82,5 +88,7 @@ export * from './update-lead-response-class';
82
88
  export * from './upload-customer-claim-documents-request-dto';
83
89
  export * from './upload-customer-policy-documents-request-dto';
84
90
  export * from './uploaded-document-dto';
91
+ export * from './verify-change-email-token-request-dto';
92
+ export * from './verify-change-email-token-response-class';
85
93
  export * from './verify-customer-invite-response-class';
86
94
  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.38.0",
4
4
  "description": "OpenAPI client for @emilgroup/customer-sdk-node",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [