@emilgroup/customer-sdk-node 1.36.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 (29) hide show
  1. package/.openapi-generator/FILES +5 -0
  2. package/README.md +2 -2
  3. package/api/customers-api.ts +310 -4
  4. package/base.ts +5 -5
  5. package/dist/api/customers-api.d.ts +174 -4
  6. package/dist/api/customers-api.js +253 -4
  7. package/dist/base.d.ts +2 -2
  8. package/dist/base.js +1 -2
  9. package/dist/models/change-customer-email-request-dto.d.ts +30 -0
  10. package/dist/models/change-customer-email-request-dto.js +15 -0
  11. package/dist/models/index.d.ts +5 -0
  12. package/dist/models/index.js +5 -0
  13. package/dist/models/request-change-email-by-customer-request-dto.d.ts +24 -0
  14. package/dist/models/request-change-email-by-customer-request-dto.js +15 -0
  15. package/dist/models/request-change-email-by-customer-response-class.d.ts +24 -0
  16. package/dist/models/request-change-email-by-customer-response-class.js +15 -0
  17. package/dist/models/update-account-request-dto.d.ts +0 -6
  18. package/dist/models/verify-change-email-token-request-dto.d.ts +24 -0
  19. package/dist/models/verify-change-email-token-request-dto.js +15 -0
  20. package/dist/models/verify-change-email-token-response-class.d.ts +36 -0
  21. package/dist/models/verify-change-email-token-response-class.js +15 -0
  22. package/models/change-customer-email-request-dto.ts +36 -0
  23. package/models/index.ts +5 -0
  24. package/models/request-change-email-by-customer-request-dto.ts +30 -0
  25. package/models/request-change-email-by-customer-response-class.ts +30 -0
  26. package/models/update-account-request-dto.ts +0 -6
  27. package/models/verify-change-email-token-request-dto.ts +30 -0
  28. package/models/verify-change-email-token-response-class.ts +42 -0
  29. package/package.json +1 -1
@@ -0,0 +1,30 @@
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 ChangeCustomerEmailRequestDto
16
+ */
17
+ export interface ChangeCustomerEmailRequestDto {
18
+ /**
19
+ * Change email token that was provided by the request email change endpoint
20
+ * @type {string}
21
+ * @memberof ChangeCustomerEmailRequestDto
22
+ */
23
+ 'token': string;
24
+ /**
25
+ * Customer password. This can be the same as previous password or new.
26
+ * @type {string}
27
+ * @memberof ChangeCustomerEmailRequestDto
28
+ */
29
+ 'password': string;
30
+ }
@@ -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 });
@@ -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';
@@ -61,6 +62,8 @@ export * from './premium-override-dto';
61
62
  export * from './premium-override-request-class';
62
63
  export * from './premium-override-request-dto';
63
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';
64
67
  export * from './request-policy-update-request-dto';
65
68
  export * from './request-policy-update-response-class';
66
69
  export * from './reset-password-by-customer-request-dto';
@@ -83,5 +86,7 @@ export * from './update-lead-response-class';
83
86
  export * from './upload-customer-claim-documents-request-dto';
84
87
  export * from './upload-customer-policy-documents-request-dto';
85
88
  export * from './uploaded-document-dto';
89
+ export * from './verify-change-email-token-request-dto';
90
+ export * from './verify-change-email-token-response-class';
86
91
  export * from './verify-customer-invite-response-class';
87
92
  export * from './withdraw-customer-policy-response-class';
@@ -17,6 +17,7 @@ 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);
20
21
  __exportStar(require("./claim-class"), exports);
21
22
  __exportStar(require("./complete-braintree-payment-setup-request-dto"), exports);
22
23
  __exportStar(require("./complete-payment-setup-psp-request"), exports);
@@ -77,6 +78,8 @@ __exportStar(require("./premium-override-dto"), exports);
77
78
  __exportStar(require("./premium-override-request-class"), exports);
78
79
  __exportStar(require("./premium-override-request-dto"), exports);
79
80
  __exportStar(require("./refresh-token-dto"), exports);
81
+ __exportStar(require("./request-change-email-by-customer-request-dto"), exports);
82
+ __exportStar(require("./request-change-email-by-customer-response-class"), exports);
80
83
  __exportStar(require("./request-policy-update-request-dto"), exports);
81
84
  __exportStar(require("./request-policy-update-response-class"), exports);
82
85
  __exportStar(require("./reset-password-by-customer-request-dto"), exports);
@@ -99,5 +102,7 @@ __exportStar(require("./update-lead-response-class"), exports);
99
102
  __exportStar(require("./upload-customer-claim-documents-request-dto"), exports);
100
103
  __exportStar(require("./upload-customer-policy-documents-request-dto"), exports);
101
104
  __exportStar(require("./uploaded-document-dto"), exports);
105
+ __exportStar(require("./verify-change-email-token-request-dto"), exports);
106
+ __exportStar(require("./verify-change-email-token-response-class"), exports);
102
107
  __exportStar(require("./verify-customer-invite-response-class"), exports);
103
108
  __exportStar(require("./withdraw-customer-policy-response-class"), exports);
@@ -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}
@@ -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
+
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';
@@ -61,6 +62,8 @@ export * from './premium-override-dto';
61
62
  export * from './premium-override-request-class';
62
63
  export * from './premium-override-request-dto';
63
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';
64
67
  export * from './request-policy-update-request-dto';
65
68
  export * from './request-policy-update-response-class';
66
69
  export * from './reset-password-by-customer-request-dto';
@@ -83,5 +86,7 @@ export * from './update-lead-response-class';
83
86
  export * from './upload-customer-claim-documents-request-dto';
84
87
  export * from './upload-customer-policy-documents-request-dto';
85
88
  export * from './uploaded-document-dto';
89
+ export * from './verify-change-email-token-request-dto';
90
+ export * from './verify-change-email-token-response-class';
86
91
  export * from './verify-customer-invite-response-class';
87
92
  export * from './withdraw-customer-policy-response-class';
@@ -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}
@@ -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.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": [