@emilgroup/customer-sdk-node 1.47.1-beta.0 → 1.47.1-beta.2

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 (32) hide show
  1. package/.openapi-generator/FILES +6 -1
  2. package/README.md +2 -2
  3. package/dist/models/{create-payment-method-request-dto.d.ts → bank-transfer-dto.d.ts} +6 -12
  4. package/dist/models/billing-address-dto.d.ts +54 -0
  5. package/dist/models/billing-address-dto.js +15 -0
  6. package/dist/models/create-lead-request-dto.d.ts +3 -3
  7. package/dist/models/grpc-mandate-dto.d.ts +43 -0
  8. package/dist/models/grpc-mandate-dto.js +15 -0
  9. package/dist/models/grpc-update-lead-request-dto.d.ts +3 -3
  10. package/dist/models/index.d.ts +6 -1
  11. package/dist/models/index.js +6 -1
  12. package/dist/models/lead-class.d.ts +3 -3
  13. package/dist/models/shared-create-payment-method-request-dto.d.ts +45 -0
  14. package/dist/models/shared-create-payment-method-request-dto.js +15 -0
  15. package/dist/models/shared-eis-sepa-debit-dto.d.ts +55 -0
  16. package/dist/models/shared-eis-sepa-debit-dto.js +15 -0
  17. package/dist/models/shared-mandate-hash-data-dto.d.ts +42 -0
  18. package/dist/models/shared-mandate-hash-data-dto.js +15 -0
  19. package/dist/models/update-lead-request-dto.d.ts +3 -3
  20. package/models/{create-payment-method-request-dto.ts → bank-transfer-dto.ts} +6 -12
  21. package/models/billing-address-dto.ts +60 -0
  22. package/models/create-lead-request-dto.ts +3 -3
  23. package/models/grpc-mandate-dto.ts +49 -0
  24. package/models/grpc-update-lead-request-dto.ts +3 -3
  25. package/models/index.ts +6 -1
  26. package/models/lead-class.ts +3 -3
  27. package/models/shared-create-payment-method-request-dto.ts +51 -0
  28. package/models/shared-eis-sepa-debit-dto.ts +61 -0
  29. package/models/shared-mandate-hash-data-dto.ts +48 -0
  30. package/models/update-lead-request-dto.ts +3 -3
  31. package/package.json +1 -1
  32. /package/dist/models/{create-payment-method-request-dto.js → bank-transfer-dto.js} +0 -0
@@ -22,6 +22,8 @@ index.ts
22
22
  models/account-class.ts
23
23
  models/account-policy-class.ts
24
24
  models/authentication-result-class.ts
25
+ models/bank-transfer-dto.ts
26
+ models/billing-address-dto.ts
25
27
  models/card-details-dto.ts
26
28
  models/change-customer-email-request-dto.ts
27
29
  models/change-password-request-dto.ts
@@ -41,7 +43,6 @@ models/create-customer-request-dto.ts
41
43
  models/create-customer-response-class.ts
42
44
  models/create-lead-request-dto.ts
43
45
  models/create-lead-response-class.ts
44
- models/create-payment-method-request-dto.ts
45
46
  models/create-policy-request-dto.ts
46
47
  models/create-presigned-post-response-class.ts
47
48
  models/customer-class.ts
@@ -54,6 +55,7 @@ models/get-customer-response-class.ts
54
55
  models/get-lead-response-class.ts
55
56
  models/get-policy-response-class.ts
56
57
  models/get-product-response-class.ts
58
+ models/grpc-mandate-dto.ts
57
59
  models/grpc-update-lead-request-dto.ts
58
60
  models/index.ts
59
61
  models/initiate-adyen-payment-setup-request-dto.ts
@@ -105,9 +107,12 @@ models/respond-to-auth-challenge-class.ts
105
107
  models/respond-to-auth-challenge-request-dto.ts
106
108
  models/sepa-direct-dto.ts
107
109
  models/sepa-dto.ts
110
+ models/shared-create-payment-method-request-dto.ts
108
111
  models/shared-customer-policy-object-request-dto.ts
112
+ models/shared-eis-sepa-debit-dto.ts
109
113
  models/shared-invoice-item-class.ts
110
114
  models/shared-invoice-status-class.ts
115
+ models/shared-mandate-hash-data-dto.ts
111
116
  models/terminate-customer-policy-request-dto.ts
112
117
  models/terminate-customer-policy-response-class.ts
113
118
  models/timeslice-class.ts
package/README.md CHANGED
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
17
17
  Navigate to the folder of your consuming project and run one of the following commands:
18
18
 
19
19
  ```
20
- npm install @emilgroup/customer-sdk-node@1.47.1-beta.0 --save
20
+ npm install @emilgroup/customer-sdk-node@1.47.1-beta.2 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/customer-sdk-node@1.47.1-beta.0
24
+ yarn add @emilgroup/customer-sdk-node@1.47.1-beta.2
25
25
  ```
26
26
 
27
27
  And then you can import `CustomersApi`.
@@ -9,23 +9,17 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { SepaDto } from './sepa-dto';
12
+ import { BillingAddressDto } from './billing-address-dto';
13
13
  /**
14
14
  *
15
15
  * @export
16
- * @interface CreatePaymentMethodRequestDto
16
+ * @interface BankTransferDto
17
17
  */
18
- export interface CreatePaymentMethodRequestDto {
18
+ export interface BankTransferDto {
19
19
  /**
20
20
  *
21
- * @type {string}
22
- * @memberof CreatePaymentMethodRequestDto
21
+ * @type {BillingAddressDto}
22
+ * @memberof BankTransferDto
23
23
  */
24
- 'type': string;
25
- /**
26
- *
27
- * @type {SepaDto}
28
- * @memberof CreatePaymentMethodRequestDto
29
- */
30
- 'sepa'?: SepaDto;
24
+ 'billingAddress'?: BillingAddressDto;
31
25
  }
@@ -0,0 +1,54 @@
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 BillingAddressDto
16
+ */
17
+ export interface BillingAddressDto {
18
+ /**
19
+ * First name for billing address
20
+ * @type {string}
21
+ * @memberof BillingAddressDto
22
+ */
23
+ 'firstName': string;
24
+ /**
25
+ * Last name for billing address
26
+ * @type {string}
27
+ * @memberof BillingAddressDto
28
+ */
29
+ 'lastName': string;
30
+ /**
31
+ * Street name for billing address
32
+ * @type {string}
33
+ * @memberof BillingAddressDto
34
+ */
35
+ 'street': string;
36
+ /**
37
+ * House number for billing address
38
+ * @type {string}
39
+ * @memberof BillingAddressDto
40
+ */
41
+ 'houseNumber': string;
42
+ /**
43
+ * ZIP/Postal code for billing address
44
+ * @type {string}
45
+ * @memberof BillingAddressDto
46
+ */
47
+ 'zipCode': string;
48
+ /**
49
+ * City name for billing address
50
+ * @type {string}
51
+ * @memberof BillingAddressDto
52
+ */
53
+ 'city': string;
54
+ }
@@ -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 });
@@ -10,10 +10,10 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import { CreateBankAccountRequestDto } from './create-bank-account-request-dto';
13
- import { CreatePaymentMethodRequestDto } from './create-payment-method-request-dto';
14
13
  import { LinkLeadPartnerRequestDto } from './link-lead-partner-request-dto';
15
14
  import { PolicyObjectDto } from './policy-object-dto';
16
15
  import { PremiumOverrideRequestDto } from './premium-override-request-dto';
16
+ import { SharedCreatePaymentMethodRequestDto } from './shared-create-payment-method-request-dto';
17
17
  import { UploadedDocumentDto } from './uploaded-document-dto';
18
18
  /**
19
19
  *
@@ -77,10 +77,10 @@ export interface CreateLeadRequestDto {
77
77
  'premiumOverride'?: PremiumOverrideRequestDto;
78
78
  /**
79
79
  * Payment method
80
- * @type {CreatePaymentMethodRequestDto}
80
+ * @type {SharedCreatePaymentMethodRequestDto}
81
81
  * @memberof CreateLeadRequestDto
82
82
  */
83
- 'paymentMethod'?: CreatePaymentMethodRequestDto;
83
+ 'paymentMethod'?: SharedCreatePaymentMethodRequestDto;
84
84
  /**
85
85
  * Optional partner object contains necessary information to link a partner to the policy.
86
86
  * @type {LinkLeadPartnerRequestDto}
@@ -0,0 +1,43 @@
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
+ import { SharedMandateHashDataDto } from './shared-mandate-hash-data-dto';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface GrpcMandateDto
17
+ */
18
+ export interface GrpcMandateDto {
19
+ /**
20
+ * Creditor identifier for SEPA debit
21
+ * @type {string}
22
+ * @memberof GrpcMandateDto
23
+ */
24
+ 'creditorId': string;
25
+ /**
26
+ * Unique mandate reference
27
+ * @type {string}
28
+ * @memberof GrpcMandateDto
29
+ */
30
+ 'mandateReference': string;
31
+ /**
32
+ * Date when mandate was created
33
+ * @type {string}
34
+ * @memberof GrpcMandateDto
35
+ */
36
+ 'mandateCreatedAt'?: string;
37
+ /**
38
+ * Optional mandate hash data containing signature details
39
+ * @type {SharedMandateHashDataDto}
40
+ * @memberof GrpcMandateDto
41
+ */
42
+ 'mandateHashData'?: SharedMandateHashDataDto;
43
+ }
@@ -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 });
@@ -9,9 +9,9 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { CreatePaymentMethodRequestDto } from './create-payment-method-request-dto';
13
12
  import { LinkLeadPartnerRequestDto } from './link-lead-partner-request-dto';
14
13
  import { PolicyObjectDto } from './policy-object-dto';
14
+ import { SharedCreatePaymentMethodRequestDto } from './shared-create-payment-method-request-dto';
15
15
  /**
16
16
  *
17
17
  * @export
@@ -38,10 +38,10 @@ export interface GrpcUpdateLeadRequestDto {
38
38
  'status'?: string;
39
39
  /**
40
40
  * Payment method
41
- * @type {CreatePaymentMethodRequestDto}
41
+ * @type {SharedCreatePaymentMethodRequestDto}
42
42
  * @memberof GrpcUpdateLeadRequestDto
43
43
  */
44
- 'paymentMethod': CreatePaymentMethodRequestDto;
44
+ 'paymentMethod': SharedCreatePaymentMethodRequestDto;
45
45
  /**
46
46
  * Optional partner object contains necessary information to link a partner to the policy.
47
47
  * @type {LinkLeadPartnerRequestDto}
@@ -1,6 +1,8 @@
1
1
  export * from './account-class';
2
2
  export * from './account-policy-class';
3
3
  export * from './authentication-result-class';
4
+ export * from './bank-transfer-dto';
5
+ export * from './billing-address-dto';
4
6
  export * from './card-details-dto';
5
7
  export * from './change-customer-email-request-dto';
6
8
  export * from './change-password-request-dto';
@@ -20,7 +22,6 @@ export * from './create-customer-request-dto';
20
22
  export * from './create-customer-response-class';
21
23
  export * from './create-lead-request-dto';
22
24
  export * from './create-lead-response-class';
23
- export * from './create-payment-method-request-dto';
24
25
  export * from './create-policy-request-dto';
25
26
  export * from './create-presigned-post-response-class';
26
27
  export * from './customer-class';
@@ -33,6 +34,7 @@ export * from './get-customer-response-class';
33
34
  export * from './get-lead-response-class';
34
35
  export * from './get-policy-response-class';
35
36
  export * from './get-product-response-class';
37
+ export * from './grpc-mandate-dto';
36
38
  export * from './grpc-update-lead-request-dto';
37
39
  export * from './initiate-adyen-payment-setup-request-dto';
38
40
  export * from './initiate-adyen-payment-setup-response-class';
@@ -83,9 +85,12 @@ export * from './respond-to-auth-challenge-class';
83
85
  export * from './respond-to-auth-challenge-request-dto';
84
86
  export * from './sepa-direct-dto';
85
87
  export * from './sepa-dto';
88
+ export * from './shared-create-payment-method-request-dto';
86
89
  export * from './shared-customer-policy-object-request-dto';
90
+ export * from './shared-eis-sepa-debit-dto';
87
91
  export * from './shared-invoice-item-class';
88
92
  export * from './shared-invoice-status-class';
93
+ export * from './shared-mandate-hash-data-dto';
89
94
  export * from './terminate-customer-policy-request-dto';
90
95
  export * from './terminate-customer-policy-response-class';
91
96
  export * from './timeslice-class';
@@ -17,6 +17,8 @@ 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("./bank-transfer-dto"), exports);
21
+ __exportStar(require("./billing-address-dto"), exports);
20
22
  __exportStar(require("./card-details-dto"), exports);
21
23
  __exportStar(require("./change-customer-email-request-dto"), exports);
22
24
  __exportStar(require("./change-password-request-dto"), exports);
@@ -36,7 +38,6 @@ __exportStar(require("./create-customer-request-dto"), exports);
36
38
  __exportStar(require("./create-customer-response-class"), exports);
37
39
  __exportStar(require("./create-lead-request-dto"), exports);
38
40
  __exportStar(require("./create-lead-response-class"), exports);
39
- __exportStar(require("./create-payment-method-request-dto"), exports);
40
41
  __exportStar(require("./create-policy-request-dto"), exports);
41
42
  __exportStar(require("./create-presigned-post-response-class"), exports);
42
43
  __exportStar(require("./customer-class"), exports);
@@ -49,6 +50,7 @@ __exportStar(require("./get-customer-response-class"), exports);
49
50
  __exportStar(require("./get-lead-response-class"), exports);
50
51
  __exportStar(require("./get-policy-response-class"), exports);
51
52
  __exportStar(require("./get-product-response-class"), exports);
53
+ __exportStar(require("./grpc-mandate-dto"), exports);
52
54
  __exportStar(require("./grpc-update-lead-request-dto"), exports);
53
55
  __exportStar(require("./initiate-adyen-payment-setup-request-dto"), exports);
54
56
  __exportStar(require("./initiate-adyen-payment-setup-response-class"), exports);
@@ -99,9 +101,12 @@ __exportStar(require("./respond-to-auth-challenge-class"), exports);
99
101
  __exportStar(require("./respond-to-auth-challenge-request-dto"), exports);
100
102
  __exportStar(require("./sepa-direct-dto"), exports);
101
103
  __exportStar(require("./sepa-dto"), exports);
104
+ __exportStar(require("./shared-create-payment-method-request-dto"), exports);
102
105
  __exportStar(require("./shared-customer-policy-object-request-dto"), exports);
106
+ __exportStar(require("./shared-eis-sepa-debit-dto"), exports);
103
107
  __exportStar(require("./shared-invoice-item-class"), exports);
104
108
  __exportStar(require("./shared-invoice-status-class"), exports);
109
+ __exportStar(require("./shared-mandate-hash-data-dto"), exports);
105
110
  __exportStar(require("./terminate-customer-policy-request-dto"), exports);
106
111
  __exportStar(require("./terminate-customer-policy-response-class"), exports);
107
112
  __exportStar(require("./timeslice-class"), exports);
@@ -10,12 +10,12 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import { CreateAccountRequestDto } from './create-account-request-dto';
13
- import { CreatePaymentMethodRequestDto } from './create-payment-method-request-dto';
14
13
  import { CreatePolicyRequestDto } from './create-policy-request-dto';
15
14
  import { InvoiceClass } from './invoice-class';
16
15
  import { LeadBankAccountClass } from './lead-bank-account-class';
17
16
  import { PartnerLinkClass } from './partner-link-class';
18
17
  import { PremiumOverrideRequestClass } from './premium-override-request-class';
18
+ import { SharedCreatePaymentMethodRequestDto } from './shared-create-payment-method-request-dto';
19
19
  import { UploadedDocumentDto } from './uploaded-document-dto';
20
20
  /**
21
21
  *
@@ -103,10 +103,10 @@ export interface LeadClass {
103
103
  'quote': InvoiceClass;
104
104
  /**
105
105
  * Payment method. When a payment method is provided, it needs to be handled in the workflow based on its type.
106
- * @type {CreatePaymentMethodRequestDto}
106
+ * @type {SharedCreatePaymentMethodRequestDto}
107
107
  * @memberof LeadClass
108
108
  */
109
- 'paymentMethod': CreatePaymentMethodRequestDto;
109
+ 'paymentMethod': SharedCreatePaymentMethodRequestDto;
110
110
  /**
111
111
  * Time at which the object was created.
112
112
  * @type {string}
@@ -0,0 +1,45 @@
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
+ import { BankTransferDto } from './bank-transfer-dto';
13
+ import { SepaDto } from './sepa-dto';
14
+ import { SharedEisSepaDebitDto } from './shared-eis-sepa-debit-dto';
15
+ /**
16
+ *
17
+ * @export
18
+ * @interface SharedCreatePaymentMethodRequestDto
19
+ */
20
+ export interface SharedCreatePaymentMethodRequestDto {
21
+ /**
22
+ *
23
+ * @type {string}
24
+ * @memberof SharedCreatePaymentMethodRequestDto
25
+ */
26
+ 'type': string;
27
+ /**
28
+ *
29
+ * @type {SepaDto}
30
+ * @memberof SharedCreatePaymentMethodRequestDto
31
+ */
32
+ 'sepa'?: SepaDto;
33
+ /**
34
+ *
35
+ * @type {BankTransferDto}
36
+ * @memberof SharedCreatePaymentMethodRequestDto
37
+ */
38
+ 'bankTransfer'?: BankTransferDto;
39
+ /**
40
+ *
41
+ * @type {SharedEisSepaDebitDto}
42
+ * @memberof SharedCreatePaymentMethodRequestDto
43
+ */
44
+ 'eisSepaDebit'?: SharedEisSepaDebitDto;
45
+ }
@@ -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,55 @@
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
+ import { GrpcMandateDto } from './grpc-mandate-dto';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface SharedEisSepaDebitDto
17
+ */
18
+ export interface SharedEisSepaDebitDto {
19
+ /**
20
+ * First name of account holder
21
+ * @type {string}
22
+ * @memberof SharedEisSepaDebitDto
23
+ */
24
+ 'firstName': string;
25
+ /**
26
+ * Last name of account holder
27
+ * @type {string}
28
+ * @memberof SharedEisSepaDebitDto
29
+ */
30
+ 'lastName': string;
31
+ /**
32
+ * International Bank Account Number
33
+ * @type {string}
34
+ * @memberof SharedEisSepaDebitDto
35
+ */
36
+ 'iban': string;
37
+ /**
38
+ * Bank Identifier Code
39
+ * @type {string}
40
+ * @memberof SharedEisSepaDebitDto
41
+ */
42
+ 'bic': string;
43
+ /**
44
+ * Bank name
45
+ * @type {string}
46
+ * @memberof SharedEisSepaDebitDto
47
+ */
48
+ 'bankName': string;
49
+ /**
50
+ * SEPA mandate details
51
+ * @type {GrpcMandateDto}
52
+ * @memberof SharedEisSepaDebitDto
53
+ */
54
+ 'mandate'?: GrpcMandateDto;
55
+ }
@@ -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,42 @@
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 SharedMandateHashDataDto
16
+ */
17
+ export interface SharedMandateHashDataDto {
18
+ /**
19
+ * Date when mandate was signed
20
+ * @type {string}
21
+ * @memberof SharedMandateHashDataDto
22
+ */
23
+ 'date'?: string;
24
+ /**
25
+ * Location where mandate was signed
26
+ * @type {string}
27
+ * @memberof SharedMandateHashDataDto
28
+ */
29
+ 'location': string;
30
+ /**
31
+ * First name of mandate signer
32
+ * @type {string}
33
+ * @memberof SharedMandateHashDataDto
34
+ */
35
+ 'firstName': string;
36
+ /**
37
+ * Last name of mandate signer
38
+ * @type {string}
39
+ * @memberof SharedMandateHashDataDto
40
+ */
41
+ 'lastName': string;
42
+ }
@@ -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 });
@@ -9,9 +9,9 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { CreatePaymentMethodRequestDto } from './create-payment-method-request-dto';
13
12
  import { LinkLeadPartnerRequestDto } from './link-lead-partner-request-dto';
14
13
  import { PolicyObjectDto } from './policy-object-dto';
14
+ import { SharedCreatePaymentMethodRequestDto } from './shared-create-payment-method-request-dto';
15
15
  /**
16
16
  *
17
17
  * @export
@@ -38,10 +38,10 @@ export interface UpdateLeadRequestDto {
38
38
  'status'?: string;
39
39
  /**
40
40
  * Payment method
41
- * @type {CreatePaymentMethodRequestDto}
41
+ * @type {SharedCreatePaymentMethodRequestDto}
42
42
  * @memberof UpdateLeadRequestDto
43
43
  */
44
- 'paymentMethod': CreatePaymentMethodRequestDto;
44
+ 'paymentMethod': SharedCreatePaymentMethodRequestDto;
45
45
  /**
46
46
  * Optional partner object contains necessary information to link a partner to the policy. The partner content will be validated if the \'validate\' flag is set to true.
47
47
  * @type {LinkLeadPartnerRequestDto}
@@ -13,25 +13,19 @@
13
13
  */
14
14
 
15
15
 
16
- import { SepaDto } from './sepa-dto';
16
+ import { BillingAddressDto } from './billing-address-dto';
17
17
 
18
18
  /**
19
19
  *
20
20
  * @export
21
- * @interface CreatePaymentMethodRequestDto
21
+ * @interface BankTransferDto
22
22
  */
23
- export interface CreatePaymentMethodRequestDto {
23
+ export interface BankTransferDto {
24
24
  /**
25
25
  *
26
- * @type {string}
27
- * @memberof CreatePaymentMethodRequestDto
26
+ * @type {BillingAddressDto}
27
+ * @memberof BankTransferDto
28
28
  */
29
- 'type': string;
30
- /**
31
- *
32
- * @type {SepaDto}
33
- * @memberof CreatePaymentMethodRequestDto
34
- */
35
- 'sepa'?: SepaDto;
29
+ 'billingAddress'?: BillingAddressDto;
36
30
  }
37
31
 
@@ -0,0 +1,60 @@
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 BillingAddressDto
21
+ */
22
+ export interface BillingAddressDto {
23
+ /**
24
+ * First name for billing address
25
+ * @type {string}
26
+ * @memberof BillingAddressDto
27
+ */
28
+ 'firstName': string;
29
+ /**
30
+ * Last name for billing address
31
+ * @type {string}
32
+ * @memberof BillingAddressDto
33
+ */
34
+ 'lastName': string;
35
+ /**
36
+ * Street name for billing address
37
+ * @type {string}
38
+ * @memberof BillingAddressDto
39
+ */
40
+ 'street': string;
41
+ /**
42
+ * House number for billing address
43
+ * @type {string}
44
+ * @memberof BillingAddressDto
45
+ */
46
+ 'houseNumber': string;
47
+ /**
48
+ * ZIP/Postal code for billing address
49
+ * @type {string}
50
+ * @memberof BillingAddressDto
51
+ */
52
+ 'zipCode': string;
53
+ /**
54
+ * City name for billing address
55
+ * @type {string}
56
+ * @memberof BillingAddressDto
57
+ */
58
+ 'city': string;
59
+ }
60
+
@@ -14,10 +14,10 @@
14
14
 
15
15
 
16
16
  import { CreateBankAccountRequestDto } from './create-bank-account-request-dto';
17
- import { CreatePaymentMethodRequestDto } from './create-payment-method-request-dto';
18
17
  import { LinkLeadPartnerRequestDto } from './link-lead-partner-request-dto';
19
18
  import { PolicyObjectDto } from './policy-object-dto';
20
19
  import { PremiumOverrideRequestDto } from './premium-override-request-dto';
20
+ import { SharedCreatePaymentMethodRequestDto } from './shared-create-payment-method-request-dto';
21
21
  import { UploadedDocumentDto } from './uploaded-document-dto';
22
22
 
23
23
  /**
@@ -82,10 +82,10 @@ export interface CreateLeadRequestDto {
82
82
  'premiumOverride'?: PremiumOverrideRequestDto;
83
83
  /**
84
84
  * Payment method
85
- * @type {CreatePaymentMethodRequestDto}
85
+ * @type {SharedCreatePaymentMethodRequestDto}
86
86
  * @memberof CreateLeadRequestDto
87
87
  */
88
- 'paymentMethod'?: CreatePaymentMethodRequestDto;
88
+ 'paymentMethod'?: SharedCreatePaymentMethodRequestDto;
89
89
  /**
90
90
  * Optional partner object contains necessary information to link a partner to the policy.
91
91
  * @type {LinkLeadPartnerRequestDto}
@@ -0,0 +1,49 @@
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 { SharedMandateHashDataDto } from './shared-mandate-hash-data-dto';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface GrpcMandateDto
22
+ */
23
+ export interface GrpcMandateDto {
24
+ /**
25
+ * Creditor identifier for SEPA debit
26
+ * @type {string}
27
+ * @memberof GrpcMandateDto
28
+ */
29
+ 'creditorId': string;
30
+ /**
31
+ * Unique mandate reference
32
+ * @type {string}
33
+ * @memberof GrpcMandateDto
34
+ */
35
+ 'mandateReference': string;
36
+ /**
37
+ * Date when mandate was created
38
+ * @type {string}
39
+ * @memberof GrpcMandateDto
40
+ */
41
+ 'mandateCreatedAt'?: string;
42
+ /**
43
+ * Optional mandate hash data containing signature details
44
+ * @type {SharedMandateHashDataDto}
45
+ * @memberof GrpcMandateDto
46
+ */
47
+ 'mandateHashData'?: SharedMandateHashDataDto;
48
+ }
49
+
@@ -13,9 +13,9 @@
13
13
  */
14
14
 
15
15
 
16
- import { CreatePaymentMethodRequestDto } from './create-payment-method-request-dto';
17
16
  import { LinkLeadPartnerRequestDto } from './link-lead-partner-request-dto';
18
17
  import { PolicyObjectDto } from './policy-object-dto';
18
+ import { SharedCreatePaymentMethodRequestDto } from './shared-create-payment-method-request-dto';
19
19
 
20
20
  /**
21
21
  *
@@ -43,10 +43,10 @@ export interface GrpcUpdateLeadRequestDto {
43
43
  'status'?: string;
44
44
  /**
45
45
  * Payment method
46
- * @type {CreatePaymentMethodRequestDto}
46
+ * @type {SharedCreatePaymentMethodRequestDto}
47
47
  * @memberof GrpcUpdateLeadRequestDto
48
48
  */
49
- 'paymentMethod': CreatePaymentMethodRequestDto;
49
+ 'paymentMethod': SharedCreatePaymentMethodRequestDto;
50
50
  /**
51
51
  * Optional partner object contains necessary information to link a partner to the policy.
52
52
  * @type {LinkLeadPartnerRequestDto}
package/models/index.ts CHANGED
@@ -1,6 +1,8 @@
1
1
  export * from './account-class';
2
2
  export * from './account-policy-class';
3
3
  export * from './authentication-result-class';
4
+ export * from './bank-transfer-dto';
5
+ export * from './billing-address-dto';
4
6
  export * from './card-details-dto';
5
7
  export * from './change-customer-email-request-dto';
6
8
  export * from './change-password-request-dto';
@@ -20,7 +22,6 @@ export * from './create-customer-request-dto';
20
22
  export * from './create-customer-response-class';
21
23
  export * from './create-lead-request-dto';
22
24
  export * from './create-lead-response-class';
23
- export * from './create-payment-method-request-dto';
24
25
  export * from './create-policy-request-dto';
25
26
  export * from './create-presigned-post-response-class';
26
27
  export * from './customer-class';
@@ -33,6 +34,7 @@ export * from './get-customer-response-class';
33
34
  export * from './get-lead-response-class';
34
35
  export * from './get-policy-response-class';
35
36
  export * from './get-product-response-class';
37
+ export * from './grpc-mandate-dto';
36
38
  export * from './grpc-update-lead-request-dto';
37
39
  export * from './initiate-adyen-payment-setup-request-dto';
38
40
  export * from './initiate-adyen-payment-setup-response-class';
@@ -83,9 +85,12 @@ export * from './respond-to-auth-challenge-class';
83
85
  export * from './respond-to-auth-challenge-request-dto';
84
86
  export * from './sepa-direct-dto';
85
87
  export * from './sepa-dto';
88
+ export * from './shared-create-payment-method-request-dto';
86
89
  export * from './shared-customer-policy-object-request-dto';
90
+ export * from './shared-eis-sepa-debit-dto';
87
91
  export * from './shared-invoice-item-class';
88
92
  export * from './shared-invoice-status-class';
93
+ export * from './shared-mandate-hash-data-dto';
89
94
  export * from './terminate-customer-policy-request-dto';
90
95
  export * from './terminate-customer-policy-response-class';
91
96
  export * from './timeslice-class';
@@ -14,12 +14,12 @@
14
14
 
15
15
 
16
16
  import { CreateAccountRequestDto } from './create-account-request-dto';
17
- import { CreatePaymentMethodRequestDto } from './create-payment-method-request-dto';
18
17
  import { CreatePolicyRequestDto } from './create-policy-request-dto';
19
18
  import { InvoiceClass } from './invoice-class';
20
19
  import { LeadBankAccountClass } from './lead-bank-account-class';
21
20
  import { PartnerLinkClass } from './partner-link-class';
22
21
  import { PremiumOverrideRequestClass } from './premium-override-request-class';
22
+ import { SharedCreatePaymentMethodRequestDto } from './shared-create-payment-method-request-dto';
23
23
  import { UploadedDocumentDto } from './uploaded-document-dto';
24
24
 
25
25
  /**
@@ -108,10 +108,10 @@ export interface LeadClass {
108
108
  'quote': InvoiceClass;
109
109
  /**
110
110
  * Payment method. When a payment method is provided, it needs to be handled in the workflow based on its type.
111
- * @type {CreatePaymentMethodRequestDto}
111
+ * @type {SharedCreatePaymentMethodRequestDto}
112
112
  * @memberof LeadClass
113
113
  */
114
- 'paymentMethod': CreatePaymentMethodRequestDto;
114
+ 'paymentMethod': SharedCreatePaymentMethodRequestDto;
115
115
  /**
116
116
  * Time at which the object was created.
117
117
  * @type {string}
@@ -0,0 +1,51 @@
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 { BankTransferDto } from './bank-transfer-dto';
17
+ import { SepaDto } from './sepa-dto';
18
+ import { SharedEisSepaDebitDto } from './shared-eis-sepa-debit-dto';
19
+
20
+ /**
21
+ *
22
+ * @export
23
+ * @interface SharedCreatePaymentMethodRequestDto
24
+ */
25
+ export interface SharedCreatePaymentMethodRequestDto {
26
+ /**
27
+ *
28
+ * @type {string}
29
+ * @memberof SharedCreatePaymentMethodRequestDto
30
+ */
31
+ 'type': string;
32
+ /**
33
+ *
34
+ * @type {SepaDto}
35
+ * @memberof SharedCreatePaymentMethodRequestDto
36
+ */
37
+ 'sepa'?: SepaDto;
38
+ /**
39
+ *
40
+ * @type {BankTransferDto}
41
+ * @memberof SharedCreatePaymentMethodRequestDto
42
+ */
43
+ 'bankTransfer'?: BankTransferDto;
44
+ /**
45
+ *
46
+ * @type {SharedEisSepaDebitDto}
47
+ * @memberof SharedCreatePaymentMethodRequestDto
48
+ */
49
+ 'eisSepaDebit'?: SharedEisSepaDebitDto;
50
+ }
51
+
@@ -0,0 +1,61 @@
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 { GrpcMandateDto } from './grpc-mandate-dto';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface SharedEisSepaDebitDto
22
+ */
23
+ export interface SharedEisSepaDebitDto {
24
+ /**
25
+ * First name of account holder
26
+ * @type {string}
27
+ * @memberof SharedEisSepaDebitDto
28
+ */
29
+ 'firstName': string;
30
+ /**
31
+ * Last name of account holder
32
+ * @type {string}
33
+ * @memberof SharedEisSepaDebitDto
34
+ */
35
+ 'lastName': string;
36
+ /**
37
+ * International Bank Account Number
38
+ * @type {string}
39
+ * @memberof SharedEisSepaDebitDto
40
+ */
41
+ 'iban': string;
42
+ /**
43
+ * Bank Identifier Code
44
+ * @type {string}
45
+ * @memberof SharedEisSepaDebitDto
46
+ */
47
+ 'bic': string;
48
+ /**
49
+ * Bank name
50
+ * @type {string}
51
+ * @memberof SharedEisSepaDebitDto
52
+ */
53
+ 'bankName': string;
54
+ /**
55
+ * SEPA mandate details
56
+ * @type {GrpcMandateDto}
57
+ * @memberof SharedEisSepaDebitDto
58
+ */
59
+ 'mandate'?: GrpcMandateDto;
60
+ }
61
+
@@ -0,0 +1,48 @@
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 SharedMandateHashDataDto
21
+ */
22
+ export interface SharedMandateHashDataDto {
23
+ /**
24
+ * Date when mandate was signed
25
+ * @type {string}
26
+ * @memberof SharedMandateHashDataDto
27
+ */
28
+ 'date'?: string;
29
+ /**
30
+ * Location where mandate was signed
31
+ * @type {string}
32
+ * @memberof SharedMandateHashDataDto
33
+ */
34
+ 'location': string;
35
+ /**
36
+ * First name of mandate signer
37
+ * @type {string}
38
+ * @memberof SharedMandateHashDataDto
39
+ */
40
+ 'firstName': string;
41
+ /**
42
+ * Last name of mandate signer
43
+ * @type {string}
44
+ * @memberof SharedMandateHashDataDto
45
+ */
46
+ 'lastName': string;
47
+ }
48
+
@@ -13,9 +13,9 @@
13
13
  */
14
14
 
15
15
 
16
- import { CreatePaymentMethodRequestDto } from './create-payment-method-request-dto';
17
16
  import { LinkLeadPartnerRequestDto } from './link-lead-partner-request-dto';
18
17
  import { PolicyObjectDto } from './policy-object-dto';
18
+ import { SharedCreatePaymentMethodRequestDto } from './shared-create-payment-method-request-dto';
19
19
 
20
20
  /**
21
21
  *
@@ -43,10 +43,10 @@ export interface UpdateLeadRequestDto {
43
43
  'status'?: string;
44
44
  /**
45
45
  * Payment method
46
- * @type {CreatePaymentMethodRequestDto}
46
+ * @type {SharedCreatePaymentMethodRequestDto}
47
47
  * @memberof UpdateLeadRequestDto
48
48
  */
49
- 'paymentMethod': CreatePaymentMethodRequestDto;
49
+ 'paymentMethod': SharedCreatePaymentMethodRequestDto;
50
50
  /**
51
51
  * Optional partner object contains necessary information to link a partner to the policy. The partner content will be validated if the \'validate\' flag is set to true.
52
52
  * @type {LinkLeadPartnerRequestDto}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/customer-sdk-node",
3
- "version": "1.47.1-beta.0",
3
+ "version": "1.47.1-beta.2",
4
4
  "description": "OpenAPI client for @emilgroup/customer-sdk-node",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [