@emilgroup/public-api-sdk 1.29.0 → 1.30.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 (31) hide show
  1. package/.openapi-generator/FILES +5 -0
  2. package/README.md +2 -2
  3. package/dist/models/card-details-dto.d.ts +42 -0
  4. package/dist/models/card-details-dto.js +15 -0
  5. package/dist/models/complete-adyen-payment-setup-request-dto.d.ts +80 -0
  6. package/dist/models/complete-adyen-payment-setup-request-dto.js +15 -0
  7. package/dist/models/complete-payment-setup-request-dto.d.ts +7 -0
  8. package/dist/models/index.d.ts +5 -0
  9. package/dist/models/index.js +5 -0
  10. package/dist/models/initiate-adyen-payment-setup-request-dto.d.ts +30 -0
  11. package/dist/models/initiate-adyen-payment-setup-request-dto.js +15 -0
  12. package/dist/models/initiate-adyen-payment-setup-response-class.d.ts +42 -0
  13. package/dist/models/initiate-adyen-payment-setup-response-class.js +15 -0
  14. package/dist/models/initiate-payment-setup-request-dto.d.ts +7 -0
  15. package/dist/models/initiate-payment-setup-response-class.d.ts +7 -0
  16. package/dist/models/link-lead-partner-request-dto.d.ts +2 -2
  17. package/dist/models/payment-method-class.d.ts +24 -0
  18. package/dist/models/sepa-direct-dto.d.ts +24 -0
  19. package/dist/models/sepa-direct-dto.js +15 -0
  20. package/models/card-details-dto.ts +48 -0
  21. package/models/complete-adyen-payment-setup-request-dto.ts +86 -0
  22. package/models/complete-payment-setup-request-dto.ts +7 -0
  23. package/models/index.ts +5 -0
  24. package/models/initiate-adyen-payment-setup-request-dto.ts +36 -0
  25. package/models/initiate-adyen-payment-setup-response-class.ts +48 -0
  26. package/models/initiate-payment-setup-request-dto.ts +7 -0
  27. package/models/initiate-payment-setup-response-class.ts +7 -0
  28. package/models/link-lead-partner-request-dto.ts +2 -2
  29. package/models/payment-method-class.ts +24 -0
  30. package/models/sepa-direct-dto.ts +30 -0
  31. package/package.json +1 -1
@@ -23,6 +23,8 @@ models/address-field-score-class.ts
23
23
  models/booking-funnel-class.ts
24
24
  models/calculate-product-fields-request-dto.ts
25
25
  models/calculate-product-fields-response-class.ts
26
+ models/card-details-dto.ts
27
+ models/complete-adyen-payment-setup-request-dto.ts
26
28
  models/complete-braintree-payment-setup-request-dto.ts
27
29
  models/complete-email-verification-dto.ts
28
30
  models/complete-email-verification-response-class.ts
@@ -50,6 +52,8 @@ models/get-lead-response-class.ts
50
52
  models/get-product-document-download-url-response-class.ts
51
53
  models/get-public-psp-settings-response-class.ts
52
54
  models/index.ts
55
+ models/initiate-adyen-payment-setup-request-dto.ts
56
+ models/initiate-adyen-payment-setup-response-class.ts
53
57
  models/initiate-braintree-payment-setup-request-dto.ts
54
58
  models/initiate-braintree-payment-setup-response-class.ts
55
59
  models/initiate-email-verification-dto.ts
@@ -91,6 +95,7 @@ models/product-field-class.ts
91
95
  models/product-version-class.ts
92
96
  models/send-notification-request-dto.ts
93
97
  models/send-notification-response-class.ts
98
+ models/sepa-direct-dto.ts
94
99
  models/sepa-dto.ts
95
100
  models/structured-address-class.ts
96
101
  models/suggested-address-details-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/public-api-sdk@1.29.0 --save
20
+ npm install @emilgroup/public-api-sdk@1.30.0 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/public-api-sdk@1.29.0
24
+ yarn add @emilgroup/public-api-sdk@1.30.0
25
25
  ```
26
26
 
27
27
  And then you can import `PublicApi`.
@@ -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 CardDetailsDto
16
+ */
17
+ export interface CardDetailsDto {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof CardDetailsDto
22
+ */
23
+ 'encryptedCardNumber': string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof CardDetailsDto
28
+ */
29
+ 'encryptedExpiryMonth': string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof CardDetailsDto
34
+ */
35
+ 'encryptedExpiryYear': string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof CardDetailsDto
40
+ */
41
+ 'encryptedSecurityCode': 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,80 @@
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 { CardDetailsDto } from './card-details-dto';
13
+ import { SepaDirectDto } from './sepa-direct-dto';
14
+ /**
15
+ *
16
+ * @export
17
+ * @interface CompleteAdyenPaymentSetupRequestDto
18
+ */
19
+ export interface CompleteAdyenPaymentSetupRequestDto {
20
+ /**
21
+ * Unique identifier for the shopper on Adyen.
22
+ * @type {string}
23
+ * @memberof CompleteAdyenPaymentSetupRequestDto
24
+ */
25
+ 'shopperReference': string;
26
+ /**
27
+ * The payment method type on Adyen.
28
+ * @type {string}
29
+ * @memberof CompleteAdyenPaymentSetupRequestDto
30
+ */
31
+ 'paymentMethodType': string;
32
+ /**
33
+ * Unique identifier of the lead that this object belongs to.
34
+ * @type {string}
35
+ * @memberof CompleteAdyenPaymentSetupRequestDto
36
+ */
37
+ 'leadCode'?: string;
38
+ /**
39
+ * The account\'s type.
40
+ * @type {string}
41
+ * @memberof CompleteAdyenPaymentSetupRequestDto
42
+ */
43
+ 'accountType': string;
44
+ /**
45
+ * The accounts holder\'s first name.
46
+ * @type {string}
47
+ * @memberof CompleteAdyenPaymentSetupRequestDto
48
+ */
49
+ 'firstName'?: string;
50
+ /**
51
+ * The account holder\'s last name.
52
+ * @type {string}
53
+ * @memberof CompleteAdyenPaymentSetupRequestDto
54
+ */
55
+ 'lastName'?: string;
56
+ /**
57
+ * The account\'s company name.
58
+ * @type {string}
59
+ * @memberof CompleteAdyenPaymentSetupRequestDto
60
+ */
61
+ 'companyName'?: string;
62
+ /**
63
+ * The account\'s email address
64
+ * @type {string}
65
+ * @memberof CompleteAdyenPaymentSetupRequestDto
66
+ */
67
+ 'email': string;
68
+ /**
69
+ *
70
+ * @type {CardDetailsDto}
71
+ * @memberof CompleteAdyenPaymentSetupRequestDto
72
+ */
73
+ 'cardDetails'?: CardDetailsDto;
74
+ /**
75
+ *
76
+ * @type {SepaDirectDto}
77
+ * @memberof CompleteAdyenPaymentSetupRequestDto
78
+ */
79
+ 'sepaDetails'?: SepaDirectDto;
80
+ }
@@ -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 });
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { CompleteAdyenPaymentSetupRequestDto } from './complete-adyen-payment-setup-request-dto';
12
13
  import { CompleteBraintreePaymentSetupRequestDto } from './complete-braintree-payment-setup-request-dto';
13
14
  import { CompleteStripePaymentSetupRequestDto } from './complete-stripe-payment-setup-request-dto';
14
15
  /**
@@ -35,4 +36,10 @@ export interface CompletePaymentSetupRequestDto {
35
36
  * @memberof CompletePaymentSetupRequestDto
36
37
  */
37
38
  'productSlug'?: string;
39
+ /**
40
+ *
41
+ * @type {CompleteAdyenPaymentSetupRequestDto}
42
+ * @memberof CompletePaymentSetupRequestDto
43
+ */
44
+ 'adyen'?: CompleteAdyenPaymentSetupRequestDto;
38
45
  }
@@ -4,6 +4,8 @@ export * from './address-field-score-class';
4
4
  export * from './booking-funnel-class';
5
5
  export * from './calculate-product-fields-request-dto';
6
6
  export * from './calculate-product-fields-response-class';
7
+ export * from './card-details-dto';
8
+ export * from './complete-adyen-payment-setup-request-dto';
7
9
  export * from './complete-braintree-payment-setup-request-dto';
8
10
  export * from './complete-email-verification-dto';
9
11
  export * from './complete-email-verification-response-class';
@@ -30,6 +32,8 @@ export * from './get-custom-css-response-class';
30
32
  export * from './get-lead-response-class';
31
33
  export * from './get-product-document-download-url-response-class';
32
34
  export * from './get-public-psp-settings-response-class';
35
+ export * from './initiate-adyen-payment-setup-request-dto';
36
+ export * from './initiate-adyen-payment-setup-response-class';
33
37
  export * from './initiate-braintree-payment-setup-request-dto';
34
38
  export * from './initiate-braintree-payment-setup-response-class';
35
39
  export * from './initiate-email-verification-dto';
@@ -71,6 +75,7 @@ export * from './product-field-class';
71
75
  export * from './product-version-class';
72
76
  export * from './send-notification-request-dto';
73
77
  export * from './send-notification-response-class';
78
+ export * from './sepa-direct-dto';
74
79
  export * from './sepa-dto';
75
80
  export * from './structured-address-class';
76
81
  export * from './suggested-address-details-class';
@@ -20,6 +20,8 @@ __exportStar(require("./address-field-score-class"), exports);
20
20
  __exportStar(require("./booking-funnel-class"), exports);
21
21
  __exportStar(require("./calculate-product-fields-request-dto"), exports);
22
22
  __exportStar(require("./calculate-product-fields-response-class"), exports);
23
+ __exportStar(require("./card-details-dto"), exports);
24
+ __exportStar(require("./complete-adyen-payment-setup-request-dto"), exports);
23
25
  __exportStar(require("./complete-braintree-payment-setup-request-dto"), exports);
24
26
  __exportStar(require("./complete-email-verification-dto"), exports);
25
27
  __exportStar(require("./complete-email-verification-response-class"), exports);
@@ -46,6 +48,8 @@ __exportStar(require("./get-custom-css-response-class"), exports);
46
48
  __exportStar(require("./get-lead-response-class"), exports);
47
49
  __exportStar(require("./get-product-document-download-url-response-class"), exports);
48
50
  __exportStar(require("./get-public-psp-settings-response-class"), exports);
51
+ __exportStar(require("./initiate-adyen-payment-setup-request-dto"), exports);
52
+ __exportStar(require("./initiate-adyen-payment-setup-response-class"), exports);
49
53
  __exportStar(require("./initiate-braintree-payment-setup-request-dto"), exports);
50
54
  __exportStar(require("./initiate-braintree-payment-setup-response-class"), exports);
51
55
  __exportStar(require("./initiate-email-verification-dto"), exports);
@@ -87,6 +91,7 @@ __exportStar(require("./product-field-class"), exports);
87
91
  __exportStar(require("./product-version-class"), exports);
88
92
  __exportStar(require("./send-notification-request-dto"), exports);
89
93
  __exportStar(require("./send-notification-response-class"), exports);
94
+ __exportStar(require("./sepa-direct-dto"), exports);
90
95
  __exportStar(require("./sepa-dto"), exports);
91
96
  __exportStar(require("./structured-address-class"), exports);
92
97
  __exportStar(require("./suggested-address-details-class"), exports);
@@ -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 InitiateAdyenPaymentSetupRequestDto
16
+ */
17
+ export interface InitiateAdyenPaymentSetupRequestDto {
18
+ /**
19
+ * Unique identifier of the lead that this object belongs to.
20
+ * @type {string}
21
+ * @memberof InitiateAdyenPaymentSetupRequestDto
22
+ */
23
+ 'leadCode'?: string;
24
+ /**
25
+ * Unique identifier of the account that this object belongs to.
26
+ * @type {string}
27
+ * @memberof InitiateAdyenPaymentSetupRequestDto
28
+ */
29
+ 'accountCode'?: 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,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 InitiateAdyenPaymentSetupResponseClass
16
+ */
17
+ export interface InitiateAdyenPaymentSetupResponseClass {
18
+ /**
19
+ * The client key associated with the Adyen account.
20
+ * @type {string}
21
+ * @memberof InitiateAdyenPaymentSetupResponseClass
22
+ */
23
+ 'clientKey': string;
24
+ /**
25
+ * A unique reference for the shopper.
26
+ * @type {string}
27
+ * @memberof InitiateAdyenPaymentSetupResponseClass
28
+ */
29
+ 'shopperReference': string;
30
+ /**
31
+ * The environment in which the payment request is being made (e.g., \"TEST\" or \"LIVE\").
32
+ * @type {string}
33
+ * @memberof InitiateAdyenPaymentSetupResponseClass
34
+ */
35
+ 'environment': string;
36
+ /**
37
+ * The country code associated with the shopper\'s payment details.
38
+ * @type {string}
39
+ * @memberof InitiateAdyenPaymentSetupResponseClass
40
+ */
41
+ 'country'?: 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 });
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { InitiateAdyenPaymentSetupRequestDto } from './initiate-adyen-payment-setup-request-dto';
12
13
  import { InitiateBraintreePaymentSetupRequestDto } from './initiate-braintree-payment-setup-request-dto';
13
14
  import { InitiateStripePaymentSetupRequestDto } from './initiate-stripe-payment-setup-request-dto';
14
15
  /**
@@ -35,4 +36,10 @@ export interface InitiatePaymentSetupRequestDto {
35
36
  * @memberof InitiatePaymentSetupRequestDto
36
37
  */
37
38
  'productSlug'?: string;
39
+ /**
40
+ *
41
+ * @type {InitiateAdyenPaymentSetupRequestDto}
42
+ * @memberof InitiatePaymentSetupRequestDto
43
+ */
44
+ 'adyen'?: InitiateAdyenPaymentSetupRequestDto;
38
45
  }
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { InitiateAdyenPaymentSetupResponseClass } from './initiate-adyen-payment-setup-response-class';
12
13
  import { InitiateBraintreePaymentSetupResponseClass } from './initiate-braintree-payment-setup-response-class';
13
14
  import { InitiateStripePaymentSetupResponseClass } from './initiate-stripe-payment-setup-response-class';
14
15
  /**
@@ -29,4 +30,10 @@ export interface InitiatePaymentSetupResponseClass {
29
30
  * @memberof InitiatePaymentSetupResponseClass
30
31
  */
31
32
  'braintree': InitiateBraintreePaymentSetupResponseClass;
33
+ /**
34
+ * The Adyen response after initiating the payment setup.
35
+ * @type {InitiateAdyenPaymentSetupResponseClass}
36
+ * @memberof InitiatePaymentSetupResponseClass
37
+ */
38
+ 'adyen': InitiateAdyenPaymentSetupResponseClass;
32
39
  }
@@ -16,13 +16,13 @@
16
16
  */
17
17
  export interface LinkLeadPartnerRequestDto {
18
18
  /**
19
- * The code of the partner with which the lead will be linked.
19
+ * The code of the partner with which the lead will be linked. Either this field or \'partnerNumber\' must be passed (\'partnerNumber\' is preferred).
20
20
  * @type {string}
21
21
  * @memberof LinkLeadPartnerRequestDto
22
22
  */
23
23
  'partnerCode': string;
24
24
  /**
25
- * The code of role that the partner will have in the established link between the lead and the partner.
25
+ * The code of role that the partner will have in the established link between the lead and the partner. Either this field or \'partnerRoleSlug\' must be passed (\'partnerRoleSlug\' is preferred).
26
26
  * @type {string}
27
27
  * @memberof LinkLeadPartnerRequestDto
28
28
  */
@@ -57,4 +57,28 @@ export interface PaymentMethodClass {
57
57
  * @memberof PaymentMethodClass
58
58
  */
59
59
  'createdAt': string;
60
+ /**
61
+ * Identifier of the user who created the record.
62
+ * @type {string}
63
+ * @memberof PaymentMethodClass
64
+ */
65
+ 'createdBy': string;
66
+ /**
67
+ * Identifier of the user who last updated the record.
68
+ * @type {string}
69
+ * @memberof PaymentMethodClass
70
+ */
71
+ 'updatedBy': string;
72
+ /**
73
+ * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
74
+ * @type {string}
75
+ * @memberof PaymentMethodClass
76
+ */
77
+ 'productSlug'?: string;
78
+ /**
79
+ * Optional field contain extra information.
80
+ * @type {object}
81
+ * @memberof PaymentMethodClass
82
+ */
83
+ 'metadata'?: object;
60
84
  }
@@ -0,0 +1,24 @@
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 SepaDirectDto
16
+ */
17
+ export interface SepaDirectDto {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof SepaDirectDto
22
+ */
23
+ 'iban': string;
24
+ }
@@ -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,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 CardDetailsDto
21
+ */
22
+ export interface CardDetailsDto {
23
+ /**
24
+ *
25
+ * @type {string}
26
+ * @memberof CardDetailsDto
27
+ */
28
+ 'encryptedCardNumber': string;
29
+ /**
30
+ *
31
+ * @type {string}
32
+ * @memberof CardDetailsDto
33
+ */
34
+ 'encryptedExpiryMonth': string;
35
+ /**
36
+ *
37
+ * @type {string}
38
+ * @memberof CardDetailsDto
39
+ */
40
+ 'encryptedExpiryYear': string;
41
+ /**
42
+ *
43
+ * @type {string}
44
+ * @memberof CardDetailsDto
45
+ */
46
+ 'encryptedSecurityCode': string;
47
+ }
48
+
@@ -0,0 +1,86 @@
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 { CardDetailsDto } from './card-details-dto';
17
+ import { SepaDirectDto } from './sepa-direct-dto';
18
+
19
+ /**
20
+ *
21
+ * @export
22
+ * @interface CompleteAdyenPaymentSetupRequestDto
23
+ */
24
+ export interface CompleteAdyenPaymentSetupRequestDto {
25
+ /**
26
+ * Unique identifier for the shopper on Adyen.
27
+ * @type {string}
28
+ * @memberof CompleteAdyenPaymentSetupRequestDto
29
+ */
30
+ 'shopperReference': string;
31
+ /**
32
+ * The payment method type on Adyen.
33
+ * @type {string}
34
+ * @memberof CompleteAdyenPaymentSetupRequestDto
35
+ */
36
+ 'paymentMethodType': string;
37
+ /**
38
+ * Unique identifier of the lead that this object belongs to.
39
+ * @type {string}
40
+ * @memberof CompleteAdyenPaymentSetupRequestDto
41
+ */
42
+ 'leadCode'?: string;
43
+ /**
44
+ * The account\'s type.
45
+ * @type {string}
46
+ * @memberof CompleteAdyenPaymentSetupRequestDto
47
+ */
48
+ 'accountType': string;
49
+ /**
50
+ * The accounts holder\'s first name.
51
+ * @type {string}
52
+ * @memberof CompleteAdyenPaymentSetupRequestDto
53
+ */
54
+ 'firstName'?: string;
55
+ /**
56
+ * The account holder\'s last name.
57
+ * @type {string}
58
+ * @memberof CompleteAdyenPaymentSetupRequestDto
59
+ */
60
+ 'lastName'?: string;
61
+ /**
62
+ * The account\'s company name.
63
+ * @type {string}
64
+ * @memberof CompleteAdyenPaymentSetupRequestDto
65
+ */
66
+ 'companyName'?: string;
67
+ /**
68
+ * The account\'s email address
69
+ * @type {string}
70
+ * @memberof CompleteAdyenPaymentSetupRequestDto
71
+ */
72
+ 'email': string;
73
+ /**
74
+ *
75
+ * @type {CardDetailsDto}
76
+ * @memberof CompleteAdyenPaymentSetupRequestDto
77
+ */
78
+ 'cardDetails'?: CardDetailsDto;
79
+ /**
80
+ *
81
+ * @type {SepaDirectDto}
82
+ * @memberof CompleteAdyenPaymentSetupRequestDto
83
+ */
84
+ 'sepaDetails'?: SepaDirectDto;
85
+ }
86
+
@@ -13,6 +13,7 @@
13
13
  */
14
14
 
15
15
 
16
+ import { CompleteAdyenPaymentSetupRequestDto } from './complete-adyen-payment-setup-request-dto';
16
17
  import { CompleteBraintreePaymentSetupRequestDto } from './complete-braintree-payment-setup-request-dto';
17
18
  import { CompleteStripePaymentSetupRequestDto } from './complete-stripe-payment-setup-request-dto';
18
19
 
@@ -40,5 +41,11 @@ export interface CompletePaymentSetupRequestDto {
40
41
  * @memberof CompletePaymentSetupRequestDto
41
42
  */
42
43
  'productSlug'?: string;
44
+ /**
45
+ *
46
+ * @type {CompleteAdyenPaymentSetupRequestDto}
47
+ * @memberof CompletePaymentSetupRequestDto
48
+ */
49
+ 'adyen'?: CompleteAdyenPaymentSetupRequestDto;
43
50
  }
44
51
 
package/models/index.ts CHANGED
@@ -4,6 +4,8 @@ export * from './address-field-score-class';
4
4
  export * from './booking-funnel-class';
5
5
  export * from './calculate-product-fields-request-dto';
6
6
  export * from './calculate-product-fields-response-class';
7
+ export * from './card-details-dto';
8
+ export * from './complete-adyen-payment-setup-request-dto';
7
9
  export * from './complete-braintree-payment-setup-request-dto';
8
10
  export * from './complete-email-verification-dto';
9
11
  export * from './complete-email-verification-response-class';
@@ -30,6 +32,8 @@ export * from './get-custom-css-response-class';
30
32
  export * from './get-lead-response-class';
31
33
  export * from './get-product-document-download-url-response-class';
32
34
  export * from './get-public-psp-settings-response-class';
35
+ export * from './initiate-adyen-payment-setup-request-dto';
36
+ export * from './initiate-adyen-payment-setup-response-class';
33
37
  export * from './initiate-braintree-payment-setup-request-dto';
34
38
  export * from './initiate-braintree-payment-setup-response-class';
35
39
  export * from './initiate-email-verification-dto';
@@ -71,6 +75,7 @@ export * from './product-field-class';
71
75
  export * from './product-version-class';
72
76
  export * from './send-notification-request-dto';
73
77
  export * from './send-notification-response-class';
78
+ export * from './sepa-direct-dto';
74
79
  export * from './sepa-dto';
75
80
  export * from './structured-address-class';
76
81
  export * from './suggested-address-details-class';
@@ -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 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,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 InitiateAdyenPaymentSetupResponseClass
21
+ */
22
+ export interface InitiateAdyenPaymentSetupResponseClass {
23
+ /**
24
+ * The client key associated with the Adyen account.
25
+ * @type {string}
26
+ * @memberof InitiateAdyenPaymentSetupResponseClass
27
+ */
28
+ 'clientKey': string;
29
+ /**
30
+ * A unique reference for the shopper.
31
+ * @type {string}
32
+ * @memberof InitiateAdyenPaymentSetupResponseClass
33
+ */
34
+ 'shopperReference': string;
35
+ /**
36
+ * The environment in which the payment request is being made (e.g., \"TEST\" or \"LIVE\").
37
+ * @type {string}
38
+ * @memberof InitiateAdyenPaymentSetupResponseClass
39
+ */
40
+ 'environment': string;
41
+ /**
42
+ * The country code associated with the shopper\'s payment details.
43
+ * @type {string}
44
+ * @memberof InitiateAdyenPaymentSetupResponseClass
45
+ */
46
+ 'country'?: string;
47
+ }
48
+
@@ -13,6 +13,7 @@
13
13
  */
14
14
 
15
15
 
16
+ import { InitiateAdyenPaymentSetupRequestDto } from './initiate-adyen-payment-setup-request-dto';
16
17
  import { InitiateBraintreePaymentSetupRequestDto } from './initiate-braintree-payment-setup-request-dto';
17
18
  import { InitiateStripePaymentSetupRequestDto } from './initiate-stripe-payment-setup-request-dto';
18
19
 
@@ -40,5 +41,11 @@ export interface InitiatePaymentSetupRequestDto {
40
41
  * @memberof InitiatePaymentSetupRequestDto
41
42
  */
42
43
  'productSlug'?: string;
44
+ /**
45
+ *
46
+ * @type {InitiateAdyenPaymentSetupRequestDto}
47
+ * @memberof InitiatePaymentSetupRequestDto
48
+ */
49
+ 'adyen'?: InitiateAdyenPaymentSetupRequestDto;
43
50
  }
44
51
 
@@ -13,6 +13,7 @@
13
13
  */
14
14
 
15
15
 
16
+ import { InitiateAdyenPaymentSetupResponseClass } from './initiate-adyen-payment-setup-response-class';
16
17
  import { InitiateBraintreePaymentSetupResponseClass } from './initiate-braintree-payment-setup-response-class';
17
18
  import { InitiateStripePaymentSetupResponseClass } from './initiate-stripe-payment-setup-response-class';
18
19
 
@@ -34,5 +35,11 @@ export interface InitiatePaymentSetupResponseClass {
34
35
  * @memberof InitiatePaymentSetupResponseClass
35
36
  */
36
37
  'braintree': InitiateBraintreePaymentSetupResponseClass;
38
+ /**
39
+ * The Adyen response after initiating the payment setup.
40
+ * @type {InitiateAdyenPaymentSetupResponseClass}
41
+ * @memberof InitiatePaymentSetupResponseClass
42
+ */
43
+ 'adyen': InitiateAdyenPaymentSetupResponseClass;
37
44
  }
38
45
 
@@ -21,13 +21,13 @@
21
21
  */
22
22
  export interface LinkLeadPartnerRequestDto {
23
23
  /**
24
- * The code of the partner with which the lead will be linked.
24
+ * The code of the partner with which the lead will be linked. Either this field or \'partnerNumber\' must be passed (\'partnerNumber\' is preferred).
25
25
  * @type {string}
26
26
  * @memberof LinkLeadPartnerRequestDto
27
27
  */
28
28
  'partnerCode': string;
29
29
  /**
30
- * The code of role that the partner will have in the established link between the lead and the partner.
30
+ * The code of role that the partner will have in the established link between the lead and the partner. Either this field or \'partnerRoleSlug\' must be passed (\'partnerRoleSlug\' is preferred).
31
31
  * @type {string}
32
32
  * @memberof LinkLeadPartnerRequestDto
33
33
  */
@@ -62,5 +62,29 @@ export interface PaymentMethodClass {
62
62
  * @memberof PaymentMethodClass
63
63
  */
64
64
  'createdAt': string;
65
+ /**
66
+ * Identifier of the user who created the record.
67
+ * @type {string}
68
+ * @memberof PaymentMethodClass
69
+ */
70
+ 'createdBy': string;
71
+ /**
72
+ * Identifier of the user who last updated the record.
73
+ * @type {string}
74
+ * @memberof PaymentMethodClass
75
+ */
76
+ 'updatedBy': string;
77
+ /**
78
+ * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
79
+ * @type {string}
80
+ * @memberof PaymentMethodClass
81
+ */
82
+ 'productSlug'?: string;
83
+ /**
84
+ * Optional field contain extra information.
85
+ * @type {object}
86
+ * @memberof PaymentMethodClass
87
+ */
88
+ 'metadata'?: object;
65
89
  }
66
90
 
@@ -0,0 +1,30 @@
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 SepaDirectDto
21
+ */
22
+ export interface SepaDirectDto {
23
+ /**
24
+ *
25
+ * @type {string}
26
+ * @memberof SepaDirectDto
27
+ */
28
+ 'iban': string;
29
+ }
30
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/public-api-sdk",
3
- "version": "1.29.0",
3
+ "version": "1.30.0",
4
4
  "description": "OpenAPI client for @emilgroup/public-api-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [