@emilgroup/customer-sdk-node 1.46.1-beta.1 → 1.46.1-beta.3

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 (52) hide show
  1. package/.openapi-generator/FILES +6 -0
  2. package/README.md +2 -2
  3. package/api/authentication-api.ts +4 -2
  4. package/dist/api/authentication-api.d.ts +4 -3
  5. package/dist/api/authentication-api.js +23 -60
  6. package/dist/api/claims-api.js +17 -46
  7. package/dist/api/customers-api.js +20 -53
  8. package/dist/api/default-api.js +5 -18
  9. package/dist/api/documents-api.d.ts +3 -3
  10. package/dist/api/documents-api.js +11 -32
  11. package/dist/api/invites-api.js +14 -39
  12. package/dist/api/invoices-api.js +5 -18
  13. package/dist/api/leads-api.js +14 -39
  14. package/dist/api/payments-api.js +8 -25
  15. package/dist/api/policies-api.js +23 -60
  16. package/dist/api/products-api.js +8 -25
  17. package/dist/base.js +15 -25
  18. package/dist/common.d.ts +1 -1
  19. package/dist/common.js +2 -2
  20. package/dist/models/complete-eis-payment-setup-request-dto.d.ts +36 -0
  21. package/dist/models/complete-eis-payment-setup-request-dto.js +15 -0
  22. package/dist/models/complete-payment-setup-psp-request.d.ts +7 -0
  23. package/dist/models/create-lead-request-dto.d.ts +1 -1
  24. package/dist/models/customer-product-class.d.ts +6 -0
  25. package/dist/models/index.d.ts +6 -0
  26. package/dist/models/index.js +6 -0
  27. package/dist/models/initiate-adyen-payment-setup-request-dto.d.ts +30 -0
  28. package/dist/models/initiate-adyen-payment-setup-request-dto.js +15 -0
  29. package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +30 -0
  30. package/dist/models/initiate-braintree-payment-setup-request-dto.js +15 -0
  31. package/dist/models/initiate-eis-payment-setup-request-dto.d.ts +30 -0
  32. package/dist/models/initiate-eis-payment-setup-request-dto.js +15 -0
  33. package/dist/models/initiate-payment-setup-request-dto.d.ts +28 -0
  34. package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +30 -0
  35. package/dist/models/initiate-stripe-payment-setup-request-dto.js +15 -0
  36. package/dist/models/shared-invoice-status-class.d.ts +2 -0
  37. package/dist/models/shared-invoice-status-class.js +3 -1
  38. package/dist/models/verify-reset-password-token-response-class.d.ts +36 -0
  39. package/dist/models/verify-reset-password-token-response-class.js +15 -0
  40. package/models/complete-eis-payment-setup-request-dto.ts +42 -0
  41. package/models/complete-payment-setup-psp-request.ts +7 -0
  42. package/models/create-lead-request-dto.ts +1 -1
  43. package/models/customer-product-class.ts +6 -0
  44. package/models/index.ts +6 -0
  45. package/models/initiate-adyen-payment-setup-request-dto.ts +36 -0
  46. package/models/initiate-braintree-payment-setup-request-dto.ts +36 -0
  47. package/models/initiate-eis-payment-setup-request-dto.ts +36 -0
  48. package/models/initiate-payment-setup-request-dto.ts +28 -0
  49. package/models/initiate-stripe-payment-setup-request-dto.ts +36 -0
  50. package/models/shared-invoice-status-class.ts +3 -1
  51. package/models/verify-reset-password-token-response-class.ts +42 -0
  52. package/package.json +4 -4
package/models/index.ts CHANGED
@@ -8,6 +8,7 @@ export * from './change-password-response-class';
8
8
  export * from './claim-class';
9
9
  export * from './complete-adyen-payment-setup-request-dto';
10
10
  export * from './complete-braintree-payment-setup-request-dto';
11
+ export * from './complete-eis-payment-setup-request-dto';
11
12
  export * from './complete-payment-setup-psp-request';
12
13
  export * from './complete-payment-setup-response-class';
13
14
  export * from './complete-stripe-payment-setup-request-dto';
@@ -33,12 +34,16 @@ export * from './get-lead-response-class';
33
34
  export * from './get-policy-response-class';
34
35
  export * from './get-product-response-class';
35
36
  export * from './grpc-update-lead-request-dto';
37
+ export * from './initiate-adyen-payment-setup-request-dto';
36
38
  export * from './initiate-adyen-payment-setup-response-class';
37
39
  export * from './initiate-auth-request-dto';
38
40
  export * from './initiate-auth-response-class';
41
+ export * from './initiate-braintree-payment-setup-request-dto';
39
42
  export * from './initiate-braintree-payment-setup-response-class';
43
+ export * from './initiate-eis-payment-setup-request-dto';
40
44
  export * from './initiate-payment-setup-request-dto';
41
45
  export * from './initiate-payment-setup-response-class';
46
+ export * from './initiate-stripe-payment-setup-request-dto';
42
47
  export * from './initiate-stripe-payment-setup-response-class';
43
48
  export * from './inline-response200';
44
49
  export * from './inline-response503';
@@ -98,4 +103,5 @@ export * from './uploaded-document-dto';
98
103
  export * from './verify-change-email-token-request-dto';
99
104
  export * from './verify-change-email-token-response-class';
100
105
  export * from './verify-customer-invite-response-class';
106
+ export * from './verify-reset-password-token-response-class';
101
107
  export * from './withdraw-customer-policy-response-class';
@@ -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 InitiateAdyenPaymentSetupRequestDto
21
+ */
22
+ export interface InitiateAdyenPaymentSetupRequestDto {
23
+ /**
24
+ * Unique identifier of the lead that this object belongs to.
25
+ * @type {string}
26
+ * @memberof InitiateAdyenPaymentSetupRequestDto
27
+ */
28
+ 'leadCode'?: string;
29
+ /**
30
+ * Unique identifier of the account that this object belongs to.
31
+ * @type {string}
32
+ * @memberof InitiateAdyenPaymentSetupRequestDto
33
+ */
34
+ 'accountCode'?: 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 InitiateBraintreePaymentSetupRequestDto
21
+ */
22
+ export interface InitiateBraintreePaymentSetupRequestDto {
23
+ /**
24
+ * Unique identifier of the lead that this object belongs to.
25
+ * @type {string}
26
+ * @memberof InitiateBraintreePaymentSetupRequestDto
27
+ */
28
+ 'leadCode'?: string;
29
+ /**
30
+ * Unique identifier of the account that this object belongs to.
31
+ * @type {string}
32
+ * @memberof InitiateBraintreePaymentSetupRequestDto
33
+ */
34
+ 'accountCode'?: 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 InitiateEisPaymentSetupRequestDto
21
+ */
22
+ export interface InitiateEisPaymentSetupRequestDto {
23
+ /**
24
+ * Unique identifier of the lead that this object belongs to.
25
+ * @type {string}
26
+ * @memberof InitiateEisPaymentSetupRequestDto
27
+ */
28
+ 'leadCode'?: string;
29
+ /**
30
+ * Unique identifier of the account that this object belongs to.
31
+ * @type {string}
32
+ * @memberof InitiateEisPaymentSetupRequestDto
33
+ */
34
+ 'accountCode'?: string;
35
+ }
36
+
@@ -13,6 +13,10 @@
13
13
  */
14
14
 
15
15
 
16
+ import { InitiateAdyenPaymentSetupRequestDto } from './initiate-adyen-payment-setup-request-dto';
17
+ import { InitiateBraintreePaymentSetupRequestDto } from './initiate-braintree-payment-setup-request-dto';
18
+ import { InitiateEisPaymentSetupRequestDto } from './initiate-eis-payment-setup-request-dto';
19
+ import { InitiateStripePaymentSetupRequestDto } from './initiate-stripe-payment-setup-request-dto';
16
20
 
17
21
  /**
18
22
  *
@@ -32,5 +36,29 @@ export interface InitiatePaymentSetupRequestDto {
32
36
  * @memberof InitiatePaymentSetupRequestDto
33
37
  */
34
38
  'productSlug'?: string;
39
+ /**
40
+ *
41
+ * @type {InitiateStripePaymentSetupRequestDto}
42
+ * @memberof InitiatePaymentSetupRequestDto
43
+ */
44
+ 'stripe'?: InitiateStripePaymentSetupRequestDto;
45
+ /**
46
+ *
47
+ * @type {InitiateBraintreePaymentSetupRequestDto}
48
+ * @memberof InitiatePaymentSetupRequestDto
49
+ */
50
+ 'braintree'?: InitiateBraintreePaymentSetupRequestDto;
51
+ /**
52
+ *
53
+ * @type {InitiateAdyenPaymentSetupRequestDto}
54
+ * @memberof InitiatePaymentSetupRequestDto
55
+ */
56
+ 'adyen'?: InitiateAdyenPaymentSetupRequestDto;
57
+ /**
58
+ *
59
+ * @type {InitiateEisPaymentSetupRequestDto}
60
+ * @memberof InitiatePaymentSetupRequestDto
61
+ */
62
+ 'eis'?: InitiateEisPaymentSetupRequestDto;
35
63
  }
36
64
 
@@ -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 InitiateStripePaymentSetupRequestDto
21
+ */
22
+ export interface InitiateStripePaymentSetupRequestDto {
23
+ /**
24
+ * Unique identifier of the lead that this object belongs to.
25
+ * @type {string}
26
+ * @memberof InitiateStripePaymentSetupRequestDto
27
+ */
28
+ 'leadCode'?: string;
29
+ /**
30
+ * Unique identifier of the account that this object belongs to.
31
+ * @type {string}
32
+ * @memberof InitiateStripePaymentSetupRequestDto
33
+ */
34
+ 'accountCode'?: string;
35
+ }
36
+
@@ -48,7 +48,9 @@ export interface SharedInvoiceStatusClass {
48
48
 
49
49
  export const SharedInvoiceStatusClassStatusEnum = {
50
50
  Open: 'open',
51
- Paid: 'paid'
51
+ Paid: 'paid',
52
+ PartiallyPaid: 'partially-paid',
53
+ Refunded: 'refunded'
52
54
  } as const;
53
55
 
54
56
  export type SharedInvoiceStatusClassStatusEnum = typeof SharedInvoiceStatusClassStatusEnum[keyof typeof SharedInvoiceStatusClassStatusEnum];
@@ -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 VerifyResetPasswordTokenResponseClass
21
+ */
22
+ export interface VerifyResetPasswordTokenResponseClass {
23
+ /**
24
+ * User\'s email address
25
+ * @type {string}
26
+ * @memberof VerifyResetPasswordTokenResponseClass
27
+ */
28
+ 'email': string;
29
+ /**
30
+ * User\'s reset token
31
+ * @type {string}
32
+ * @memberof VerifyResetPasswordTokenResponseClass
33
+ */
34
+ 'resetToken': string;
35
+ /**
36
+ * tenant slug
37
+ * @type {string}
38
+ * @memberof VerifyResetPasswordTokenResponseClass
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.46.1-beta.1",
3
+ "version": "1.46.1-beta.3",
4
4
  "description": "OpenAPI client for @emilgroup/customer-sdk-node",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [
@@ -18,12 +18,12 @@
18
18
  "prepare": "npm run build"
19
19
  },
20
20
  "dependencies": {
21
- "axios": "^1.9.0",
21
+ "axios": "^0.27.2",
22
22
  "form-data": "^4.0.0",
23
23
  "url": "^0.11.0"
24
24
  },
25
25
  "devDependencies": {
26
- "@types/node": "^22.15.18",
27
- "typescript": "^5.8"
26
+ "@types/node": "^12.11.5",
27
+ "typescript": "^4.0"
28
28
  }
29
29
  }