@emilgroup/public-api-sdk-node 1.34.2-beta.5 → 1.34.2-beta.7

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 (35) hide show
  1. package/.openapi-generator/FILES +7 -0
  2. package/README.md +2 -2
  3. package/dist/models/bank-transfer-response-class.d.ts +25 -0
  4. package/dist/models/bank-transfer-response-class.js +15 -0
  5. package/dist/models/billing-address-response-class.d.ts +54 -0
  6. package/dist/models/billing-address-response-class.js +15 -0
  7. package/dist/models/create-lead-request-dto.d.ts +1 -1
  8. package/dist/models/create-payment-method-request-dto.d.ts +7 -1
  9. package/dist/models/eis-sepa-debit-response-class.d.ts +55 -0
  10. package/dist/models/eis-sepa-debit-response-class.js +15 -0
  11. package/dist/models/index.d.ts +7 -0
  12. package/dist/models/index.js +7 -0
  13. package/dist/models/lead-class.d.ts +3 -3
  14. package/dist/models/mandate-hash-data-response-class.d.ts +42 -0
  15. package/dist/models/mandate-hash-data-response-class.js +15 -0
  16. package/dist/models/mandate-response-class.d.ts +43 -0
  17. package/dist/models/mandate-response-class.js +15 -0
  18. package/dist/models/payment-method-response-class.d.ts +56 -0
  19. package/dist/models/payment-method-response-class.js +20 -0
  20. package/dist/models/sepa-dto.d.ts +2 -2
  21. package/dist/models/sepa-response-class.d.ts +30 -0
  22. package/dist/models/sepa-response-class.js +15 -0
  23. package/models/bank-transfer-response-class.ts +31 -0
  24. package/models/billing-address-response-class.ts +60 -0
  25. package/models/create-lead-request-dto.ts +1 -1
  26. package/models/create-payment-method-request-dto.ts +7 -1
  27. package/models/eis-sepa-debit-response-class.ts +61 -0
  28. package/models/index.ts +7 -0
  29. package/models/lead-class.ts +3 -3
  30. package/models/mandate-hash-data-response-class.ts +48 -0
  31. package/models/mandate-response-class.ts +49 -0
  32. package/models/payment-method-response-class.ts +65 -0
  33. package/models/sepa-dto.ts +2 -2
  34. package/models/sepa-response-class.ts +36 -0
  35. package/package.json +1 -1
@@ -22,7 +22,9 @@ models/address-completion-item-class.ts
22
22
  models/address-completion-response-class.ts
23
23
  models/address-field-score-class.ts
24
24
  models/bank-transfer-dto.ts
25
+ models/bank-transfer-response-class.ts
25
26
  models/billing-address-dto.ts
27
+ models/billing-address-response-class.ts
26
28
  models/booking-funnel-class.ts
27
29
  models/calculate-product-fields-request-dto.ts
28
30
  models/calculate-product-fields-response-class.ts
@@ -51,6 +53,7 @@ models/create-presigned-post-response-class.ts
51
53
  models/document-class.ts
52
54
  models/eis-sepa-debit-config-response-class.ts
53
55
  models/eis-sepa-debit-dto.ts
56
+ models/eis-sepa-debit-response-class.ts
54
57
  models/filter-named-range-response-class.ts
55
58
  models/get-booking-funnel-response-class.ts
56
59
  models/get-custom-css-response-class.ts
@@ -88,10 +91,13 @@ models/list-product-documents-response-class.ts
88
91
  models/list-products-response-class.ts
89
92
  models/mandate-dto.ts
90
93
  models/mandate-hash-data-dto.ts
94
+ models/mandate-hash-data-response-class.ts
95
+ models/mandate-response-class.ts
91
96
  models/partner-class.ts
92
97
  models/partner-link-class.ts
93
98
  models/partner-role-class.ts
94
99
  models/payment-method-class.ts
100
+ models/payment-method-response-class.ts
95
101
  models/policy-object-request-dto.ts
96
102
  models/policy-object-response-class.ts
97
103
  models/premium-override-dto.ts
@@ -107,6 +113,7 @@ models/send-notification-request-dto.ts
107
113
  models/send-notification-response-class.ts
108
114
  models/sepa-direct-dto.ts
109
115
  models/sepa-dto.ts
116
+ models/sepa-response-class.ts
110
117
  models/structured-address-class.ts
111
118
  models/suggested-address-details-class.ts
112
119
  models/update-lead-request-dto.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/public-api-sdk-node@1.34.2-beta.5 --save
20
+ npm install @emilgroup/public-api-sdk-node@1.34.2-beta.7 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/public-api-sdk-node@1.34.2-beta.5
24
+ yarn add @emilgroup/public-api-sdk-node@1.34.2-beta.7
25
25
  ```
26
26
 
27
27
  And then you can import `PublicApi`.
@@ -0,0 +1,25 @@
1
+ /**
2
+ * Emil PublicAPI
3
+ * The Emil Public 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 { BillingAddressResponseClass } from './billing-address-response-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface BankTransferResponseClass
17
+ */
18
+ export interface BankTransferResponseClass {
19
+ /**
20
+ * Billing address for bank transfer
21
+ * @type {BillingAddressResponseClass}
22
+ * @memberof BankTransferResponseClass
23
+ */
24
+ 'billingAddress'?: BillingAddressResponseClass;
25
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Emil PublicAPI
6
+ * The Emil Public 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,54 @@
1
+ /**
2
+ * Emil PublicAPI
3
+ * The Emil Public 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 BillingAddressResponseClass
16
+ */
17
+ export interface BillingAddressResponseClass {
18
+ /**
19
+ * First name for billing address
20
+ * @type {string}
21
+ * @memberof BillingAddressResponseClass
22
+ */
23
+ 'firstName': string;
24
+ /**
25
+ * Last name for billing address
26
+ * @type {string}
27
+ * @memberof BillingAddressResponseClass
28
+ */
29
+ 'lastName': string;
30
+ /**
31
+ * Street name for billing address
32
+ * @type {string}
33
+ * @memberof BillingAddressResponseClass
34
+ */
35
+ 'street': string;
36
+ /**
37
+ * House number for billing address
38
+ * @type {string}
39
+ * @memberof BillingAddressResponseClass
40
+ */
41
+ 'houseNumber': string;
42
+ /**
43
+ * ZIP/Postal code for billing address
44
+ * @type {string}
45
+ * @memberof BillingAddressResponseClass
46
+ */
47
+ 'zipCode': string;
48
+ /**
49
+ * City name for billing address
50
+ * @type {string}
51
+ * @memberof BillingAddressResponseClass
52
+ */
53
+ 'city': string;
54
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Emil PublicAPI
6
+ * The Emil Public 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 });
@@ -95,7 +95,7 @@ export interface CreateLeadRequestDto {
95
95
  */
96
96
  'premiumOverride'?: PremiumOverrideRequestDto;
97
97
  /**
98
- * Payment method, used to for payment method support, such as SEPA, invoice, etc. The payment method content will be validated if the \'validate\' flag is set to true.
98
+ *
99
99
  * @type {CreatePaymentMethodRequestDto}
100
100
  * @memberof CreateLeadRequestDto
101
101
  */
@@ -19,11 +19,17 @@ import { SepaDto } from './sepa-dto';
19
19
  */
20
20
  export interface CreatePaymentMethodRequestDto {
21
21
  /**
22
- *
22
+ * Payment method type
23
23
  * @type {string}
24
24
  * @memberof CreatePaymentMethodRequestDto
25
25
  */
26
26
  'type': CreatePaymentMethodRequestDtoTypeEnum;
27
+ /**
28
+ * Indicator if payment method was created in booking funnel
29
+ * @type {boolean}
30
+ * @memberof CreatePaymentMethodRequestDto
31
+ */
32
+ 'isPaymentMethodCreatedInBf'?: boolean;
27
33
  /**
28
34
  *
29
35
  * @type {SepaDto}
@@ -0,0 +1,55 @@
1
+ /**
2
+ * Emil PublicAPI
3
+ * The Emil Public 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 { MandateResponseClass } from './mandate-response-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface EisSepaDebitResponseClass
17
+ */
18
+ export interface EisSepaDebitResponseClass {
19
+ /**
20
+ * First name of account holder
21
+ * @type {string}
22
+ * @memberof EisSepaDebitResponseClass
23
+ */
24
+ 'firstName': string;
25
+ /**
26
+ * Last name of account holder
27
+ * @type {string}
28
+ * @memberof EisSepaDebitResponseClass
29
+ */
30
+ 'lastName': string;
31
+ /**
32
+ * International Bank Account Number
33
+ * @type {string}
34
+ * @memberof EisSepaDebitResponseClass
35
+ */
36
+ 'iban': string;
37
+ /**
38
+ * Bank Identifier Code
39
+ * @type {string}
40
+ * @memberof EisSepaDebitResponseClass
41
+ */
42
+ 'bic': string;
43
+ /**
44
+ * Bank name
45
+ * @type {string}
46
+ * @memberof EisSepaDebitResponseClass
47
+ */
48
+ 'bankName': string;
49
+ /**
50
+ * SEPA mandate details
51
+ * @type {MandateResponseClass}
52
+ * @memberof EisSepaDebitResponseClass
53
+ */
54
+ 'mandate'?: MandateResponseClass;
55
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Emil PublicAPI
6
+ * The Emil Public 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 });
@@ -2,7 +2,9 @@ export * from './address-completion-item-class';
2
2
  export * from './address-completion-response-class';
3
3
  export * from './address-field-score-class';
4
4
  export * from './bank-transfer-dto';
5
+ export * from './bank-transfer-response-class';
5
6
  export * from './billing-address-dto';
7
+ export * from './billing-address-response-class';
6
8
  export * from './booking-funnel-class';
7
9
  export * from './calculate-product-fields-request-dto';
8
10
  export * from './calculate-product-fields-response-class';
@@ -31,6 +33,7 @@ export * from './create-presigned-post-response-class';
31
33
  export * from './document-class';
32
34
  export * from './eis-sepa-debit-config-response-class';
33
35
  export * from './eis-sepa-debit-dto';
36
+ export * from './eis-sepa-debit-response-class';
34
37
  export * from './filter-named-range-response-class';
35
38
  export * from './get-booking-funnel-response-class';
36
39
  export * from './get-custom-css-response-class';
@@ -67,10 +70,13 @@ export * from './list-product-documents-response-class';
67
70
  export * from './list-products-response-class';
68
71
  export * from './mandate-dto';
69
72
  export * from './mandate-hash-data-dto';
73
+ export * from './mandate-hash-data-response-class';
74
+ export * from './mandate-response-class';
70
75
  export * from './partner-class';
71
76
  export * from './partner-link-class';
72
77
  export * from './partner-role-class';
73
78
  export * from './payment-method-class';
79
+ export * from './payment-method-response-class';
74
80
  export * from './policy-object-request-dto';
75
81
  export * from './policy-object-response-class';
76
82
  export * from './premium-override-dto';
@@ -86,6 +92,7 @@ export * from './send-notification-request-dto';
86
92
  export * from './send-notification-response-class';
87
93
  export * from './sepa-direct-dto';
88
94
  export * from './sepa-dto';
95
+ export * from './sepa-response-class';
89
96
  export * from './structured-address-class';
90
97
  export * from './suggested-address-details-class';
91
98
  export * from './update-lead-request-dto';
@@ -18,7 +18,9 @@ __exportStar(require("./address-completion-item-class"), exports);
18
18
  __exportStar(require("./address-completion-response-class"), exports);
19
19
  __exportStar(require("./address-field-score-class"), exports);
20
20
  __exportStar(require("./bank-transfer-dto"), exports);
21
+ __exportStar(require("./bank-transfer-response-class"), exports);
21
22
  __exportStar(require("./billing-address-dto"), exports);
23
+ __exportStar(require("./billing-address-response-class"), exports);
22
24
  __exportStar(require("./booking-funnel-class"), exports);
23
25
  __exportStar(require("./calculate-product-fields-request-dto"), exports);
24
26
  __exportStar(require("./calculate-product-fields-response-class"), exports);
@@ -47,6 +49,7 @@ __exportStar(require("./create-presigned-post-response-class"), exports);
47
49
  __exportStar(require("./document-class"), exports);
48
50
  __exportStar(require("./eis-sepa-debit-config-response-class"), exports);
49
51
  __exportStar(require("./eis-sepa-debit-dto"), exports);
52
+ __exportStar(require("./eis-sepa-debit-response-class"), exports);
50
53
  __exportStar(require("./filter-named-range-response-class"), exports);
51
54
  __exportStar(require("./get-booking-funnel-response-class"), exports);
52
55
  __exportStar(require("./get-custom-css-response-class"), exports);
@@ -83,10 +86,13 @@ __exportStar(require("./list-product-documents-response-class"), exports);
83
86
  __exportStar(require("./list-products-response-class"), exports);
84
87
  __exportStar(require("./mandate-dto"), exports);
85
88
  __exportStar(require("./mandate-hash-data-dto"), exports);
89
+ __exportStar(require("./mandate-hash-data-response-class"), exports);
90
+ __exportStar(require("./mandate-response-class"), exports);
86
91
  __exportStar(require("./partner-class"), exports);
87
92
  __exportStar(require("./partner-link-class"), exports);
88
93
  __exportStar(require("./partner-role-class"), exports);
89
94
  __exportStar(require("./payment-method-class"), exports);
95
+ __exportStar(require("./payment-method-response-class"), exports);
90
96
  __exportStar(require("./policy-object-request-dto"), exports);
91
97
  __exportStar(require("./policy-object-response-class"), exports);
92
98
  __exportStar(require("./premium-override-dto"), exports);
@@ -102,6 +108,7 @@ __exportStar(require("./send-notification-request-dto"), exports);
102
108
  __exportStar(require("./send-notification-response-class"), exports);
103
109
  __exportStar(require("./sepa-direct-dto"), exports);
104
110
  __exportStar(require("./sepa-dto"), exports);
111
+ __exportStar(require("./sepa-response-class"), exports);
105
112
  __exportStar(require("./structured-address-class"), exports);
106
113
  __exportStar(require("./suggested-address-details-class"), exports);
107
114
  __exportStar(require("./update-lead-request-dto"), exports);
@@ -9,12 +9,12 @@
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 { InvoiceClass } from './invoice-class';
14
13
  import { LeadAccountClass } from './lead-account-class';
15
14
  import { LeadBankAccountClass } from './lead-bank-account-class';
16
15
  import { LeadPolicyClass } from './lead-policy-class';
17
16
  import { PartnerLinkClass } from './partner-link-class';
17
+ import { PaymentMethodResponseClass } from './payment-method-response-class';
18
18
  import { PremiumOverrideDto } from './premium-override-dto';
19
19
  import { UploadedDocumentDto } from './uploaded-document-dto';
20
20
  /**
@@ -91,10 +91,10 @@ export interface LeadClass {
91
91
  'ern': string;
92
92
  /**
93
93
  * Payment method. When a payment method is provided, it needs to be handled in the workflow based on its type.
94
- * @type {CreatePaymentMethodRequestDto}
94
+ * @type {PaymentMethodResponseClass}
95
95
  * @memberof LeadClass
96
96
  */
97
- 'paymentMethod': CreatePaymentMethodRequestDto;
97
+ 'paymentMethod': PaymentMethodResponseClass;
98
98
  /**
99
99
  * Partner links.
100
100
  * @type {PartnerLinkClass}
@@ -0,0 +1,42 @@
1
+ /**
2
+ * Emil PublicAPI
3
+ * The Emil Public 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 MandateHashDataResponseClass
16
+ */
17
+ export interface MandateHashDataResponseClass {
18
+ /**
19
+ * Date when mandate was signed
20
+ * @type {string}
21
+ * @memberof MandateHashDataResponseClass
22
+ */
23
+ 'date'?: string;
24
+ /**
25
+ * Location where mandate was signed
26
+ * @type {string}
27
+ * @memberof MandateHashDataResponseClass
28
+ */
29
+ 'location': string;
30
+ /**
31
+ * First name of mandate signer
32
+ * @type {string}
33
+ * @memberof MandateHashDataResponseClass
34
+ */
35
+ 'firstName': string;
36
+ /**
37
+ * Last name of mandate signer
38
+ * @type {string}
39
+ * @memberof MandateHashDataResponseClass
40
+ */
41
+ 'lastName': string;
42
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Emil PublicAPI
6
+ * The Emil Public 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,43 @@
1
+ /**
2
+ * Emil PublicAPI
3
+ * The Emil Public 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 { MandateHashDataResponseClass } from './mandate-hash-data-response-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface MandateResponseClass
17
+ */
18
+ export interface MandateResponseClass {
19
+ /**
20
+ * Creditor identifier for SEPA debit
21
+ * @type {string}
22
+ * @memberof MandateResponseClass
23
+ */
24
+ 'creditorId': string;
25
+ /**
26
+ * Unique mandate reference
27
+ * @type {string}
28
+ * @memberof MandateResponseClass
29
+ */
30
+ 'mandateReference': string;
31
+ /**
32
+ * Date when mandate was created
33
+ * @type {string}
34
+ * @memberof MandateResponseClass
35
+ */
36
+ 'mandateCreatedAt'?: string;
37
+ /**
38
+ * Optional mandate hash data containing signature details
39
+ * @type {MandateHashDataResponseClass}
40
+ * @memberof MandateResponseClass
41
+ */
42
+ 'mandateHashData'?: MandateHashDataResponseClass;
43
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Emil PublicAPI
6
+ * The Emil Public 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,56 @@
1
+ /**
2
+ * Emil PublicAPI
3
+ * The Emil Public 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 { BankTransferResponseClass } from './bank-transfer-response-class';
13
+ import { EisSepaDebitResponseClass } from './eis-sepa-debit-response-class';
14
+ import { SepaResponseClass } from './sepa-response-class';
15
+ /**
16
+ *
17
+ * @export
18
+ * @interface PaymentMethodResponseClass
19
+ */
20
+ export interface PaymentMethodResponseClass {
21
+ /**
22
+ * Payment method type
23
+ * @type {string}
24
+ * @memberof PaymentMethodResponseClass
25
+ */
26
+ 'type': PaymentMethodResponseClassTypeEnum;
27
+ /**
28
+ * SEPA debit payment details
29
+ * @type {SepaResponseClass}
30
+ * @memberof PaymentMethodResponseClass
31
+ */
32
+ 'sepa'?: SepaResponseClass;
33
+ /**
34
+ * Bank transfer payment details
35
+ * @type {BankTransferResponseClass}
36
+ * @memberof PaymentMethodResponseClass
37
+ */
38
+ 'bankTransfer'?: BankTransferResponseClass;
39
+ /**
40
+ * EIS SEPA debit payment details
41
+ * @type {EisSepaDebitResponseClass}
42
+ * @memberof PaymentMethodResponseClass
43
+ */
44
+ 'eisSepaDebit'?: EisSepaDebitResponseClass;
45
+ /**
46
+ * Indicator if payment method was created in booking funnel
47
+ * @type {boolean}
48
+ * @memberof PaymentMethodResponseClass
49
+ */
50
+ 'isPaymentMethodCreatedInBf'?: boolean;
51
+ }
52
+ export declare const PaymentMethodResponseClassTypeEnum: {
53
+ readonly Sepa: "sepa";
54
+ readonly Invoice: "invoice";
55
+ };
56
+ export type PaymentMethodResponseClassTypeEnum = typeof PaymentMethodResponseClassTypeEnum[keyof typeof PaymentMethodResponseClassTypeEnum];
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Emil PublicAPI
6
+ * The Emil Public 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 });
16
+ exports.PaymentMethodResponseClassTypeEnum = void 0;
17
+ exports.PaymentMethodResponseClassTypeEnum = {
18
+ Sepa: 'sepa',
19
+ Invoice: 'invoice'
20
+ };
@@ -16,13 +16,13 @@
16
16
  */
17
17
  export interface SepaDto {
18
18
  /**
19
- *
19
+ * International Bank Account Number
20
20
  * @type {string}
21
21
  * @memberof SepaDto
22
22
  */
23
23
  'iban': string;
24
24
  /**
25
- *
25
+ * Account holder name
26
26
  * @type {string}
27
27
  * @memberof SepaDto
28
28
  */
@@ -0,0 +1,30 @@
1
+ /**
2
+ * Emil PublicAPI
3
+ * The Emil Public 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 SepaResponseClass
16
+ */
17
+ export interface SepaResponseClass {
18
+ /**
19
+ * International Bank Account Number
20
+ * @type {string}
21
+ * @memberof SepaResponseClass
22
+ */
23
+ 'iban': string;
24
+ /**
25
+ * Account holder name
26
+ * @type {string}
27
+ * @memberof SepaResponseClass
28
+ */
29
+ 'holderName'?: string;
30
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Emil PublicAPI
6
+ * The Emil Public 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,31 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Emil PublicAPI
5
+ * The Emil Public 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 { BillingAddressResponseClass } from './billing-address-response-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface BankTransferResponseClass
22
+ */
23
+ export interface BankTransferResponseClass {
24
+ /**
25
+ * Billing address for bank transfer
26
+ * @type {BillingAddressResponseClass}
27
+ * @memberof BankTransferResponseClass
28
+ */
29
+ 'billingAddress'?: BillingAddressResponseClass;
30
+ }
31
+
@@ -0,0 +1,60 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Emil PublicAPI
5
+ * The Emil Public 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 BillingAddressResponseClass
21
+ */
22
+ export interface BillingAddressResponseClass {
23
+ /**
24
+ * First name for billing address
25
+ * @type {string}
26
+ * @memberof BillingAddressResponseClass
27
+ */
28
+ 'firstName': string;
29
+ /**
30
+ * Last name for billing address
31
+ * @type {string}
32
+ * @memberof BillingAddressResponseClass
33
+ */
34
+ 'lastName': string;
35
+ /**
36
+ * Street name for billing address
37
+ * @type {string}
38
+ * @memberof BillingAddressResponseClass
39
+ */
40
+ 'street': string;
41
+ /**
42
+ * House number for billing address
43
+ * @type {string}
44
+ * @memberof BillingAddressResponseClass
45
+ */
46
+ 'houseNumber': string;
47
+ /**
48
+ * ZIP/Postal code for billing address
49
+ * @type {string}
50
+ * @memberof BillingAddressResponseClass
51
+ */
52
+ 'zipCode': string;
53
+ /**
54
+ * City name for billing address
55
+ * @type {string}
56
+ * @memberof BillingAddressResponseClass
57
+ */
58
+ 'city': string;
59
+ }
60
+
@@ -100,7 +100,7 @@ export interface CreateLeadRequestDto {
100
100
  */
101
101
  'premiumOverride'?: PremiumOverrideRequestDto;
102
102
  /**
103
- * Payment method, used to for payment method support, such as SEPA, invoice, etc. The payment method content will be validated if the \'validate\' flag is set to true.
103
+ *
104
104
  * @type {CreatePaymentMethodRequestDto}
105
105
  * @memberof CreateLeadRequestDto
106
106
  */
@@ -24,11 +24,17 @@ import { SepaDto } from './sepa-dto';
24
24
  */
25
25
  export interface CreatePaymentMethodRequestDto {
26
26
  /**
27
- *
27
+ * Payment method type
28
28
  * @type {string}
29
29
  * @memberof CreatePaymentMethodRequestDto
30
30
  */
31
31
  'type': CreatePaymentMethodRequestDtoTypeEnum;
32
+ /**
33
+ * Indicator if payment method was created in booking funnel
34
+ * @type {boolean}
35
+ * @memberof CreatePaymentMethodRequestDto
36
+ */
37
+ 'isPaymentMethodCreatedInBf'?: boolean;
32
38
  /**
33
39
  *
34
40
  * @type {SepaDto}
@@ -0,0 +1,61 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Emil PublicAPI
5
+ * The Emil Public 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 { MandateResponseClass } from './mandate-response-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface EisSepaDebitResponseClass
22
+ */
23
+ export interface EisSepaDebitResponseClass {
24
+ /**
25
+ * First name of account holder
26
+ * @type {string}
27
+ * @memberof EisSepaDebitResponseClass
28
+ */
29
+ 'firstName': string;
30
+ /**
31
+ * Last name of account holder
32
+ * @type {string}
33
+ * @memberof EisSepaDebitResponseClass
34
+ */
35
+ 'lastName': string;
36
+ /**
37
+ * International Bank Account Number
38
+ * @type {string}
39
+ * @memberof EisSepaDebitResponseClass
40
+ */
41
+ 'iban': string;
42
+ /**
43
+ * Bank Identifier Code
44
+ * @type {string}
45
+ * @memberof EisSepaDebitResponseClass
46
+ */
47
+ 'bic': string;
48
+ /**
49
+ * Bank name
50
+ * @type {string}
51
+ * @memberof EisSepaDebitResponseClass
52
+ */
53
+ 'bankName': string;
54
+ /**
55
+ * SEPA mandate details
56
+ * @type {MandateResponseClass}
57
+ * @memberof EisSepaDebitResponseClass
58
+ */
59
+ 'mandate'?: MandateResponseClass;
60
+ }
61
+
package/models/index.ts CHANGED
@@ -2,7 +2,9 @@ export * from './address-completion-item-class';
2
2
  export * from './address-completion-response-class';
3
3
  export * from './address-field-score-class';
4
4
  export * from './bank-transfer-dto';
5
+ export * from './bank-transfer-response-class';
5
6
  export * from './billing-address-dto';
7
+ export * from './billing-address-response-class';
6
8
  export * from './booking-funnel-class';
7
9
  export * from './calculate-product-fields-request-dto';
8
10
  export * from './calculate-product-fields-response-class';
@@ -31,6 +33,7 @@ export * from './create-presigned-post-response-class';
31
33
  export * from './document-class';
32
34
  export * from './eis-sepa-debit-config-response-class';
33
35
  export * from './eis-sepa-debit-dto';
36
+ export * from './eis-sepa-debit-response-class';
34
37
  export * from './filter-named-range-response-class';
35
38
  export * from './get-booking-funnel-response-class';
36
39
  export * from './get-custom-css-response-class';
@@ -67,10 +70,13 @@ export * from './list-product-documents-response-class';
67
70
  export * from './list-products-response-class';
68
71
  export * from './mandate-dto';
69
72
  export * from './mandate-hash-data-dto';
73
+ export * from './mandate-hash-data-response-class';
74
+ export * from './mandate-response-class';
70
75
  export * from './partner-class';
71
76
  export * from './partner-link-class';
72
77
  export * from './partner-role-class';
73
78
  export * from './payment-method-class';
79
+ export * from './payment-method-response-class';
74
80
  export * from './policy-object-request-dto';
75
81
  export * from './policy-object-response-class';
76
82
  export * from './premium-override-dto';
@@ -86,6 +92,7 @@ export * from './send-notification-request-dto';
86
92
  export * from './send-notification-response-class';
87
93
  export * from './sepa-direct-dto';
88
94
  export * from './sepa-dto';
95
+ export * from './sepa-response-class';
89
96
  export * from './structured-address-class';
90
97
  export * from './suggested-address-details-class';
91
98
  export * from './update-lead-request-dto';
@@ -13,12 +13,12 @@
13
13
  */
14
14
 
15
15
 
16
- import { CreatePaymentMethodRequestDto } from './create-payment-method-request-dto';
17
16
  import { InvoiceClass } from './invoice-class';
18
17
  import { LeadAccountClass } from './lead-account-class';
19
18
  import { LeadBankAccountClass } from './lead-bank-account-class';
20
19
  import { LeadPolicyClass } from './lead-policy-class';
21
20
  import { PartnerLinkClass } from './partner-link-class';
21
+ import { PaymentMethodResponseClass } from './payment-method-response-class';
22
22
  import { PremiumOverrideDto } from './premium-override-dto';
23
23
  import { UploadedDocumentDto } from './uploaded-document-dto';
24
24
 
@@ -96,10 +96,10 @@ export interface LeadClass {
96
96
  'ern': string;
97
97
  /**
98
98
  * Payment method. When a payment method is provided, it needs to be handled in the workflow based on its type.
99
- * @type {CreatePaymentMethodRequestDto}
99
+ * @type {PaymentMethodResponseClass}
100
100
  * @memberof LeadClass
101
101
  */
102
- 'paymentMethod': CreatePaymentMethodRequestDto;
102
+ 'paymentMethod': PaymentMethodResponseClass;
103
103
  /**
104
104
  * Partner links.
105
105
  * @type {PartnerLinkClass}
@@ -0,0 +1,48 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Emil PublicAPI
5
+ * The Emil Public 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 MandateHashDataResponseClass
21
+ */
22
+ export interface MandateHashDataResponseClass {
23
+ /**
24
+ * Date when mandate was signed
25
+ * @type {string}
26
+ * @memberof MandateHashDataResponseClass
27
+ */
28
+ 'date'?: string;
29
+ /**
30
+ * Location where mandate was signed
31
+ * @type {string}
32
+ * @memberof MandateHashDataResponseClass
33
+ */
34
+ 'location': string;
35
+ /**
36
+ * First name of mandate signer
37
+ * @type {string}
38
+ * @memberof MandateHashDataResponseClass
39
+ */
40
+ 'firstName': string;
41
+ /**
42
+ * Last name of mandate signer
43
+ * @type {string}
44
+ * @memberof MandateHashDataResponseClass
45
+ */
46
+ 'lastName': string;
47
+ }
48
+
@@ -0,0 +1,49 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Emil PublicAPI
5
+ * The Emil Public 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 { MandateHashDataResponseClass } from './mandate-hash-data-response-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface MandateResponseClass
22
+ */
23
+ export interface MandateResponseClass {
24
+ /**
25
+ * Creditor identifier for SEPA debit
26
+ * @type {string}
27
+ * @memberof MandateResponseClass
28
+ */
29
+ 'creditorId': string;
30
+ /**
31
+ * Unique mandate reference
32
+ * @type {string}
33
+ * @memberof MandateResponseClass
34
+ */
35
+ 'mandateReference': string;
36
+ /**
37
+ * Date when mandate was created
38
+ * @type {string}
39
+ * @memberof MandateResponseClass
40
+ */
41
+ 'mandateCreatedAt'?: string;
42
+ /**
43
+ * Optional mandate hash data containing signature details
44
+ * @type {MandateHashDataResponseClass}
45
+ * @memberof MandateResponseClass
46
+ */
47
+ 'mandateHashData'?: MandateHashDataResponseClass;
48
+ }
49
+
@@ -0,0 +1,65 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Emil PublicAPI
5
+ * The Emil Public 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 { BankTransferResponseClass } from './bank-transfer-response-class';
17
+ import { EisSepaDebitResponseClass } from './eis-sepa-debit-response-class';
18
+ import { SepaResponseClass } from './sepa-response-class';
19
+
20
+ /**
21
+ *
22
+ * @export
23
+ * @interface PaymentMethodResponseClass
24
+ */
25
+ export interface PaymentMethodResponseClass {
26
+ /**
27
+ * Payment method type
28
+ * @type {string}
29
+ * @memberof PaymentMethodResponseClass
30
+ */
31
+ 'type': PaymentMethodResponseClassTypeEnum;
32
+ /**
33
+ * SEPA debit payment details
34
+ * @type {SepaResponseClass}
35
+ * @memberof PaymentMethodResponseClass
36
+ */
37
+ 'sepa'?: SepaResponseClass;
38
+ /**
39
+ * Bank transfer payment details
40
+ * @type {BankTransferResponseClass}
41
+ * @memberof PaymentMethodResponseClass
42
+ */
43
+ 'bankTransfer'?: BankTransferResponseClass;
44
+ /**
45
+ * EIS SEPA debit payment details
46
+ * @type {EisSepaDebitResponseClass}
47
+ * @memberof PaymentMethodResponseClass
48
+ */
49
+ 'eisSepaDebit'?: EisSepaDebitResponseClass;
50
+ /**
51
+ * Indicator if payment method was created in booking funnel
52
+ * @type {boolean}
53
+ * @memberof PaymentMethodResponseClass
54
+ */
55
+ 'isPaymentMethodCreatedInBf'?: boolean;
56
+ }
57
+
58
+ export const PaymentMethodResponseClassTypeEnum = {
59
+ Sepa: 'sepa',
60
+ Invoice: 'invoice'
61
+ } as const;
62
+
63
+ export type PaymentMethodResponseClassTypeEnum = typeof PaymentMethodResponseClassTypeEnum[keyof typeof PaymentMethodResponseClassTypeEnum];
64
+
65
+
@@ -21,13 +21,13 @@
21
21
  */
22
22
  export interface SepaDto {
23
23
  /**
24
- *
24
+ * International Bank Account Number
25
25
  * @type {string}
26
26
  * @memberof SepaDto
27
27
  */
28
28
  'iban': string;
29
29
  /**
30
- *
30
+ * Account holder name
31
31
  * @type {string}
32
32
  * @memberof SepaDto
33
33
  */
@@ -0,0 +1,36 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Emil PublicAPI
5
+ * The Emil Public 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 SepaResponseClass
21
+ */
22
+ export interface SepaResponseClass {
23
+ /**
24
+ * International Bank Account Number
25
+ * @type {string}
26
+ * @memberof SepaResponseClass
27
+ */
28
+ 'iban': string;
29
+ /**
30
+ * Account holder name
31
+ * @type {string}
32
+ * @memberof SepaResponseClass
33
+ */
34
+ 'holderName'?: string;
35
+ }
36
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/public-api-sdk-node",
3
- "version": "1.34.2-beta.5",
3
+ "version": "1.34.2-beta.7",
4
4
  "description": "OpenAPI client for @emilgroup/public-api-sdk-node",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [