@emilgroup/customer-sdk-node 1.40.0 → 1.42.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 (84) hide show
  1. package/.openapi-generator/FILES +7 -0
  2. package/README.md +2 -2
  3. package/api/claims-api.ts +28 -28
  4. package/api/customers-api.ts +28 -28
  5. package/api/documents-api.ts +51 -34
  6. package/api/invoices-api.ts +28 -28
  7. package/api/leads-api.ts +36 -36
  8. package/api/payments-api.ts +23 -6
  9. package/api/policies-api.ts +28 -28
  10. package/api/products-api.ts +28 -28
  11. package/base.ts +14 -23
  12. package/dist/api/claims-api.d.ts +20 -20
  13. package/dist/api/claims-api.js +18 -18
  14. package/dist/api/customers-api.d.ts +20 -20
  15. package/dist/api/customers-api.js +18 -18
  16. package/dist/api/documents-api.d.ts +33 -23
  17. package/dist/api/documents-api.js +31 -24
  18. package/dist/api/invoices-api.d.ts +20 -20
  19. package/dist/api/invoices-api.js +18 -18
  20. package/dist/api/leads-api.d.ts +28 -28
  21. package/dist/api/leads-api.js +26 -26
  22. package/dist/api/payments-api.d.ts +13 -3
  23. package/dist/api/payments-api.js +13 -6
  24. package/dist/api/policies-api.d.ts +20 -20
  25. package/dist/api/policies-api.js +18 -18
  26. package/dist/api/products-api.d.ts +20 -20
  27. package/dist/api/products-api.js +18 -18
  28. package/dist/base.d.ts +3 -4
  29. package/dist/base.js +29 -37
  30. package/dist/models/account-class.d.ts +1 -1
  31. package/dist/models/account-class.js +1 -1
  32. package/dist/models/card-details-dto.d.ts +42 -0
  33. package/dist/models/card-details-dto.js +15 -0
  34. package/dist/models/complete-adyen-payment-setup-request-dto.d.ts +80 -0
  35. package/dist/models/complete-adyen-payment-setup-request-dto.js +15 -0
  36. package/dist/models/complete-payment-setup-psp-request.d.ts +13 -0
  37. package/dist/models/complete-payment-setup-response-class.d.ts +3 -2
  38. package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +19 -0
  39. package/dist/models/create-account-request-dto.d.ts +2 -8
  40. package/dist/models/create-account-request-dto.js +1 -1
  41. package/dist/models/customer-product-class.d.ts +2 -2
  42. package/dist/models/index.d.ts +7 -0
  43. package/dist/models/index.js +7 -0
  44. package/dist/models/initiate-adyen-payment-setup-response-class.d.ts +42 -0
  45. package/dist/models/initiate-adyen-payment-setup-response-class.js +15 -0
  46. package/dist/models/initiate-payment-setup-request-dto.d.ts +30 -0
  47. package/dist/models/initiate-payment-setup-request-dto.js +15 -0
  48. package/dist/models/initiate-payment-setup-response-class.d.ts +7 -0
  49. package/dist/models/inline-response200.d.ts +6 -6
  50. package/dist/models/inline-response503.d.ts +6 -6
  51. package/dist/models/lead-class.d.ts +1 -1
  52. package/dist/models/link-lead-partner-request-dto.d.ts +16 -4
  53. package/dist/models/payment-method-class.d.ts +78 -0
  54. package/dist/models/payment-method-class.js +15 -0
  55. package/dist/models/policy-object-dto.d.ts +2 -2
  56. package/dist/models/policy-premium-class.d.ts +2 -2
  57. package/dist/models/sepa-direct-dto.d.ts +24 -0
  58. package/dist/models/sepa-direct-dto.js +15 -0
  59. package/dist/models/update-lead-request-dto.d.ts +1 -1
  60. package/dist/models/upload-account-documents-request-dto.d.ts +46 -0
  61. package/dist/models/upload-account-documents-request-dto.js +19 -0
  62. package/models/account-class.ts +1 -1
  63. package/models/card-details-dto.ts +48 -0
  64. package/models/complete-adyen-payment-setup-request-dto.ts +86 -0
  65. package/models/complete-payment-setup-psp-request.ts +13 -0
  66. package/models/complete-payment-setup-response-class.ts +3 -2
  67. package/models/complete-stripe-payment-setup-request-dto.ts +19 -0
  68. package/models/create-account-request-dto.ts +2 -8
  69. package/models/customer-product-class.ts +2 -2
  70. package/models/index.ts +7 -0
  71. package/models/initiate-adyen-payment-setup-response-class.ts +48 -0
  72. package/models/initiate-payment-setup-request-dto.ts +36 -0
  73. package/models/initiate-payment-setup-response-class.ts +7 -0
  74. package/models/inline-response200.ts +6 -6
  75. package/models/inline-response503.ts +6 -6
  76. package/models/lead-class.ts +1 -1
  77. package/models/link-lead-partner-request-dto.ts +16 -4
  78. package/models/payment-method-class.ts +84 -0
  79. package/models/policy-object-dto.ts +2 -2
  80. package/models/policy-premium-class.ts +2 -2
  81. package/models/sepa-direct-dto.ts +30 -0
  82. package/models/update-lead-request-dto.ts +1 -1
  83. package/models/upload-account-documents-request-dto.ts +55 -0
  84. package/package.json +1 -1
@@ -0,0 +1,30 @@
1
+ /**
2
+ * EMIL CustomerService
3
+ * The EMIL CustomerService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface InitiatePaymentSetupRequestDto
16
+ */
17
+ export interface InitiatePaymentSetupRequestDto {
18
+ /**
19
+ * Customer code.
20
+ * @type {string}
21
+ * @memberof InitiatePaymentSetupRequestDto
22
+ */
23
+ 'customerCode': string;
24
+ /**
25
+ * Product slug.
26
+ * @type {string}
27
+ * @memberof InitiatePaymentSetupRequestDto
28
+ */
29
+ 'productSlug'?: string;
30
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL CustomerService
6
+ * The EMIL CustomerService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -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
+ * Adyen response after generating client token.
35
+ * @type {InitiateAdyenPaymentSetupResponseClass}
36
+ * @memberof InitiatePaymentSetupResponseClass
37
+ */
38
+ 'adyen': InitiateAdyenPaymentSetupResponseClass;
32
39
  }
@@ -23,32 +23,32 @@ export interface InlineResponse200 {
23
23
  'status'?: string;
24
24
  /**
25
25
  *
26
- * @type {{ [key: string]: { [key: string]: string; }; }}
26
+ * @type {{ [key: string]: { [key: string]: object; }; }}
27
27
  * @memberof InlineResponse200
28
28
  */
29
29
  'info'?: {
30
30
  [key: string]: {
31
- [key: string]: string;
31
+ [key: string]: object;
32
32
  };
33
33
  } | null;
34
34
  /**
35
35
  *
36
- * @type {{ [key: string]: { [key: string]: string; }; }}
36
+ * @type {{ [key: string]: { [key: string]: object; }; }}
37
37
  * @memberof InlineResponse200
38
38
  */
39
39
  'error'?: {
40
40
  [key: string]: {
41
- [key: string]: string;
41
+ [key: string]: object;
42
42
  };
43
43
  } | null;
44
44
  /**
45
45
  *
46
- * @type {{ [key: string]: { [key: string]: string; }; }}
46
+ * @type {{ [key: string]: { [key: string]: object; }; }}
47
47
  * @memberof InlineResponse200
48
48
  */
49
49
  'details'?: {
50
50
  [key: string]: {
51
- [key: string]: string;
51
+ [key: string]: object;
52
52
  };
53
53
  };
54
54
  }
@@ -23,32 +23,32 @@ export interface InlineResponse503 {
23
23
  'status'?: string;
24
24
  /**
25
25
  *
26
- * @type {{ [key: string]: { [key: string]: string; }; }}
26
+ * @type {{ [key: string]: { [key: string]: object; }; }}
27
27
  * @memberof InlineResponse503
28
28
  */
29
29
  'info'?: {
30
30
  [key: string]: {
31
- [key: string]: string;
31
+ [key: string]: object;
32
32
  };
33
33
  } | null;
34
34
  /**
35
35
  *
36
- * @type {{ [key: string]: { [key: string]: string; }; }}
36
+ * @type {{ [key: string]: { [key: string]: object; }; }}
37
37
  * @memberof InlineResponse503
38
38
  */
39
39
  'error'?: {
40
40
  [key: string]: {
41
- [key: string]: string;
41
+ [key: string]: object;
42
42
  };
43
43
  } | null;
44
44
  /**
45
45
  *
46
- * @type {{ [key: string]: { [key: string]: string; }; }}
46
+ * @type {{ [key: string]: { [key: string]: object; }; }}
47
47
  * @memberof InlineResponse503
48
48
  */
49
49
  'details'?: {
50
50
  [key: string]: {
51
- [key: string]: string;
51
+ [key: string]: object;
52
52
  };
53
53
  };
54
54
  }
@@ -84,7 +84,7 @@ export interface LeadClass {
84
84
  */
85
85
  'premiumOverride'?: PremiumOverrideRequestClass;
86
86
  /**
87
- * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
87
+ * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
88
88
  * @type {string}
89
89
  * @memberof LeadClass
90
90
  */
@@ -16,17 +16,29 @@
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
- 'partnerCode': string;
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 number of the partner with which the lead will be linked. Either this field or \'partnerCode\' must be passed (this is preferred).
26
26
  * @type {string}
27
27
  * @memberof LinkLeadPartnerRequestDto
28
28
  */
29
- 'partnerRoleCode': string;
29
+ 'partnerNumber'?: string;
30
+ /**
31
+ * 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).
32
+ * @type {string}
33
+ * @memberof LinkLeadPartnerRequestDto
34
+ */
35
+ 'partnerRoleCode'?: string;
36
+ /**
37
+ * The slug of role that the partner will have in the established link between the lead and the partner. Either this field or \'partnerRoleCode\' must be passed (this is preferred).
38
+ * @type {string}
39
+ * @memberof LinkLeadPartnerRequestDto
40
+ */
41
+ 'partnerRoleSlug'?: string;
30
42
  /**
31
43
  * The date of the start of linking with a partner.
32
44
  * @type {string}
@@ -0,0 +1,78 @@
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 PaymentMethodClass
16
+ */
17
+ export interface PaymentMethodClass {
18
+ /**
19
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
20
+ * @type {number}
21
+ * @memberof PaymentMethodClass
22
+ */
23
+ 'id': number;
24
+ /**
25
+ * Unique identifier for the object.
26
+ * @type {string}
27
+ * @memberof PaymentMethodClass
28
+ */
29
+ 'code': string;
30
+ /**
31
+ * A unique identifier generated by the payment service provider for this payment method.
32
+ * @type {string}
33
+ * @memberof PaymentMethodClass
34
+ */
35
+ 'providerToken': string;
36
+ /**
37
+ * Customer identifier for the payment service provider.
38
+ * @type {string}
39
+ * @memberof PaymentMethodClass
40
+ */
41
+ 'pspCustomerId': string;
42
+ /**
43
+ * The payment service provider used by this payment method.
44
+ * @type {string}
45
+ * @memberof PaymentMethodClass
46
+ */
47
+ 'psp': string;
48
+ /**
49
+ * The payment method type.
50
+ * @type {string}
51
+ * @memberof PaymentMethodClass
52
+ */
53
+ 'type': string;
54
+ /**
55
+ * Identifier of the user who created the record.
56
+ * @type {string}
57
+ * @memberof PaymentMethodClass
58
+ */
59
+ 'createdBy': string;
60
+ /**
61
+ * Identifier of the user who updated the record.
62
+ * @type {string}
63
+ * @memberof PaymentMethodClass
64
+ */
65
+ 'updatedBy': string;
66
+ /**
67
+ * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
68
+ * @type {string}
69
+ * @memberof PaymentMethodClass
70
+ */
71
+ 'productSlug'?: string;
72
+ /**
73
+ * Optional field contain extra information.
74
+ * @type {object}
75
+ * @memberof PaymentMethodClass
76
+ */
77
+ 'metadata'?: object;
78
+ }
@@ -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 });
@@ -23,10 +23,10 @@ export interface PolicyObjectDto {
23
23
  'insuredObjectId': number;
24
24
  /**
25
25
  * Insured object name. Human readable identifier of insured object. Can be used instead of insuredObjectId
26
- * @type {object}
26
+ * @type {string}
27
27
  * @memberof PolicyObjectDto
28
28
  */
29
- 'insuredObjectName'?: object;
29
+ 'insuredObjectName'?: string;
30
30
  /**
31
31
  * Insured object data.
32
32
  * @type {object}
@@ -29,13 +29,13 @@ export interface PolicyPremiumClass {
29
29
  */
30
30
  'grandTotal': number;
31
31
  /**
32
- * Date created
32
+ * Time at which the object was created.
33
33
  * @type {string}
34
34
  * @memberof PolicyPremiumClass
35
35
  */
36
36
  'createdAt': string;
37
37
  /**
38
- * Date updated
38
+ * Time at which the object was updated.
39
39
  * @type {string}
40
40
  * @memberof PolicyPremiumClass
41
41
  */
@@ -0,0 +1,24 @@
1
+ /**
2
+ * EMIL CustomerService
3
+ * The EMIL CustomerService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface 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 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 });
@@ -43,7 +43,7 @@ export interface UpdateLeadRequestDto {
43
43
  */
44
44
  'paymentMethod': CreatePaymentMethodRequestDto;
45
45
  /**
46
- * Optional partner object contains necessary information to link a partner to the policy.
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}
48
48
  * @memberof UpdateLeadRequestDto
49
49
  */
@@ -0,0 +1,46 @@
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 UploadAccountDocumentsRequestDto
16
+ */
17
+ export interface UploadAccountDocumentsRequestDto {
18
+ /**
19
+ * Mime-Type of the file. Valid mime-types are: image/jpeg, image/png
20
+ * @type {string}
21
+ * @memberof UploadAccountDocumentsRequestDto
22
+ */
23
+ 'contentType': string;
24
+ /**
25
+ * Name of the file.
26
+ * @type {string}
27
+ * @memberof UploadAccountDocumentsRequestDto
28
+ */
29
+ 'fileName': string;
30
+ /**
31
+ * This is the document entity type. It describes what kind of document it is.
32
+ * @type {string}
33
+ * @memberof UploadAccountDocumentsRequestDto
34
+ */
35
+ 'entityType': UploadAccountDocumentsRequestDtoEntityTypeEnum;
36
+ /**
37
+ * Optional description for the document.
38
+ * @type {string}
39
+ * @memberof UploadAccountDocumentsRequestDto
40
+ */
41
+ 'description'?: string;
42
+ }
43
+ export declare const UploadAccountDocumentsRequestDtoEntityTypeEnum: {
44
+ readonly AccountAvatar: "AccountAvatar";
45
+ };
46
+ export type UploadAccountDocumentsRequestDtoEntityTypeEnum = typeof UploadAccountDocumentsRequestDtoEntityTypeEnum[keyof typeof UploadAccountDocumentsRequestDtoEntityTypeEnum];
@@ -0,0 +1,19 @@
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 });
16
+ exports.UploadAccountDocumentsRequestDtoEntityTypeEnum = void 0;
17
+ exports.UploadAccountDocumentsRequestDtoEntityTypeEnum = {
18
+ AccountAvatar: 'AccountAvatar'
19
+ };
@@ -165,7 +165,7 @@ export const AccountClassTitleEnum = {
165
165
  Empty: '',
166
166
  Dr: 'Dr.',
167
167
  DrMed: 'Dr. med.',
168
- ProfDrMed: 'Prof. Dr. med.'
168
+ Prof: 'Prof.'
169
169
  } as const;
170
170
 
171
171
  export type AccountClassTitleEnum = typeof AccountClassTitleEnum[keyof typeof AccountClassTitleEnum];
@@ -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 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 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 { 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
 
@@ -22,6 +23,12 @@ import { CompleteStripePaymentSetupRequestDto } from './complete-stripe-payment-
22
23
  * @interface CompletePaymentSetupPspRequest
23
24
  */
24
25
  export interface CompletePaymentSetupPspRequest {
26
+ /**
27
+ * Product slug.
28
+ * @type {string}
29
+ * @memberof CompletePaymentSetupPspRequest
30
+ */
31
+ 'productSlug'?: string;
25
32
  /**
26
33
  *
27
34
  * @type {CompleteStripePaymentSetupRequestDto}
@@ -34,5 +41,11 @@ export interface CompletePaymentSetupPspRequest {
34
41
  * @memberof CompletePaymentSetupPspRequest
35
42
  */
36
43
  'braintree'?: CompleteBraintreePaymentSetupRequestDto;
44
+ /**
45
+ *
46
+ * @type {CompleteAdyenPaymentSetupRequestDto}
47
+ * @memberof CompletePaymentSetupPspRequest
48
+ */
49
+ 'adyen'?: CompleteAdyenPaymentSetupRequestDto;
37
50
  }
38
51
 
@@ -13,6 +13,7 @@
13
13
  */
14
14
 
15
15
 
16
+ import { PaymentMethodClass } from './payment-method-class';
16
17
 
17
18
  /**
18
19
  *
@@ -22,9 +23,9 @@
22
23
  export interface CompletePaymentSetupResponseClass {
23
24
  /**
24
25
  * Payment method saved in the DB.
25
- * @type {object}
26
+ * @type {PaymentMethodClass}
26
27
  * @memberof CompletePaymentSetupResponseClass
27
28
  */
28
- 'paymentMethod': object;
29
+ 'paymentMethod': PaymentMethodClass;
29
30
  }
30
31
 
@@ -13,6 +13,7 @@
13
13
  */
14
14
 
15
15
 
16
+ import { SepaDirectDto } from './sepa-direct-dto';
16
17
 
17
18
  /**
18
19
  *
@@ -62,5 +63,23 @@ export interface CompleteStripePaymentSetupRequestDto {
62
63
  * @memberof CompleteStripePaymentSetupRequestDto
63
64
  */
64
65
  'paymentMethodType'?: string;
66
+ /**
67
+ * The account\'s type.
68
+ * @type {string}
69
+ * @memberof CompleteStripePaymentSetupRequestDto
70
+ */
71
+ 'accountType'?: string;
72
+ /**
73
+ * The account\'s company name.
74
+ * @type {string}
75
+ * @memberof CompleteStripePaymentSetupRequestDto
76
+ */
77
+ 'companyName'?: string;
78
+ /**
79
+ *
80
+ * @type {SepaDirectDto}
81
+ * @memberof CompleteStripePaymentSetupRequestDto
82
+ */
83
+ 'sepaDetails'?: SepaDirectDto;
65
84
  }
66
85