@emilgroup/public-api-sdk 1.28.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.
- package/.openapi-generator/FILES +5 -0
- package/README.md +2 -2
- package/api/leads-api.ts +21 -8
- package/api/payments-setup-api.ts +21 -8
- package/base.ts +21 -8
- package/dist/api/leads-api.d.ts +13 -4
- package/dist/api/leads-api.js +13 -8
- package/dist/api/payments-setup-api.d.ts +13 -4
- package/dist/api/payments-setup-api.js +13 -8
- package/dist/base.d.ts +1 -2
- package/dist/base.js +18 -7
- package/dist/models/card-details-dto.d.ts +42 -0
- package/dist/models/card-details-dto.js +15 -0
- package/dist/models/complete-adyen-payment-setup-request-dto.d.ts +80 -0
- package/dist/models/complete-adyen-payment-setup-request-dto.js +15 -0
- package/dist/models/complete-payment-setup-request-dto.d.ts +13 -0
- package/dist/models/index.d.ts +5 -0
- package/dist/models/index.js +5 -0
- package/dist/models/initiate-adyen-payment-setup-request-dto.d.ts +30 -0
- package/dist/models/initiate-adyen-payment-setup-request-dto.js +15 -0
- package/dist/models/initiate-adyen-payment-setup-response-class.d.ts +42 -0
- package/dist/models/initiate-adyen-payment-setup-response-class.js +15 -0
- package/dist/models/initiate-payment-setup-request-dto.d.ts +13 -0
- package/dist/models/initiate-payment-setup-response-class.d.ts +7 -0
- package/dist/models/link-lead-partner-request-dto.d.ts +2 -2
- package/dist/models/partner-class.d.ts +1 -1
- package/dist/models/payment-method-class.d.ts +24 -0
- package/dist/models/sepa-direct-dto.d.ts +24 -0
- package/dist/models/sepa-direct-dto.js +15 -0
- package/dist/models/update-lead-request-dto.d.ts +7 -0
- package/models/card-details-dto.ts +48 -0
- package/models/complete-adyen-payment-setup-request-dto.ts +86 -0
- package/models/complete-payment-setup-request-dto.ts +13 -0
- package/models/index.ts +5 -0
- package/models/initiate-adyen-payment-setup-request-dto.ts +36 -0
- package/models/initiate-adyen-payment-setup-response-class.ts +48 -0
- package/models/initiate-payment-setup-request-dto.ts +13 -0
- package/models/initiate-payment-setup-response-class.ts +7 -0
- package/models/link-lead-partner-request-dto.ts +2 -2
- package/models/partner-class.ts +1 -1
- package/models/payment-method-class.ts +24 -0
- package/models/sepa-direct-dto.ts +30 -0
- package/models/update-lead-request-dto.ts +7 -0
- package/package.json +1 -1
|
@@ -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
|
|
|
@@ -34,5 +35,17 @@ export interface CompletePaymentSetupRequestDto {
|
|
|
34
35
|
* @memberof CompletePaymentSetupRequestDto
|
|
35
36
|
*/
|
|
36
37
|
'braintree'?: CompleteBraintreePaymentSetupRequestDto;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof CompletePaymentSetupRequestDto
|
|
42
|
+
*/
|
|
43
|
+
'productSlug'?: string;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {CompleteAdyenPaymentSetupRequestDto}
|
|
47
|
+
* @memberof CompletePaymentSetupRequestDto
|
|
48
|
+
*/
|
|
49
|
+
'adyen'?: CompleteAdyenPaymentSetupRequestDto;
|
|
37
50
|
}
|
|
38
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
|
|
|
@@ -34,5 +35,17 @@ export interface InitiatePaymentSetupRequestDto {
|
|
|
34
35
|
* @memberof InitiatePaymentSetupRequestDto
|
|
35
36
|
*/
|
|
36
37
|
'braintree'?: InitiateBraintreePaymentSetupRequestDto;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof InitiatePaymentSetupRequestDto
|
|
42
|
+
*/
|
|
43
|
+
'productSlug'?: string;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {InitiateAdyenPaymentSetupRequestDto}
|
|
47
|
+
* @memberof InitiatePaymentSetupRequestDto
|
|
48
|
+
*/
|
|
49
|
+
'adyen'?: InitiateAdyenPaymentSetupRequestDto;
|
|
37
50
|
}
|
|
38
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
|
*/
|
package/models/partner-class.ts
CHANGED
|
@@ -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
|
+
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
import { CreateAccountRequestDto } from './create-account-request-dto';
|
|
17
17
|
import { CreateBankAccountRequestDto } from './create-bank-account-request-dto';
|
|
18
18
|
import { CreatePaymentMethodRequestDto } from './create-payment-method-request-dto';
|
|
19
|
+
import { LinkLeadPartnerRequestDto } from './link-lead-partner-request-dto';
|
|
19
20
|
import { PolicyObjectRequestDto } from './policy-object-request-dto';
|
|
20
21
|
import { UploadedDocumentDto } from './uploaded-document-dto';
|
|
21
22
|
|
|
@@ -97,5 +98,11 @@ export interface UpdateLeadRequestDto {
|
|
|
97
98
|
* @memberof UpdateLeadRequestDto
|
|
98
99
|
*/
|
|
99
100
|
'validate'?: boolean;
|
|
101
|
+
/**
|
|
102
|
+
*
|
|
103
|
+
* @type {LinkLeadPartnerRequestDto}
|
|
104
|
+
* @memberof UpdateLeadRequestDto
|
|
105
|
+
*/
|
|
106
|
+
'partner'?: LinkLeadPartnerRequestDto;
|
|
100
107
|
}
|
|
101
108
|
|