@emilgroup/payment-sdk-node 1.8.0 → 1.8.2-beta.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/README.md +2 -2
- package/dist/api/bank-accounts-api.d.ts +197 -0
- package/dist/api/bank-accounts-api.js +351 -0
- package/dist/api/default-api.d.ts +66 -0
- package/dist/api/default-api.js +200 -0
- package/dist/api/payment-methods-api.d.ts +327 -0
- package/dist/api/payment-methods-api.js +551 -0
- package/dist/api/payment-reminders-api.d.ts +317 -0
- package/dist/api/payment-reminders-api.js +542 -0
- package/dist/api/payment-service-providers-api.d.ts +93 -0
- package/dist/api/payment-service-providers-api.js +224 -0
- package/dist/api/payment-setup-api.d.ts +146 -0
- package/dist/api/payment-setup-api.js +313 -0
- package/dist/api/payments-api.d.ts +281 -0
- package/dist/api/payments-api.js +465 -0
- package/dist/api/webhooks-api.d.ts +91 -0
- package/dist/api/webhooks-api.js +213 -0
- package/dist/api.d.ts +19 -0
- package/dist/api.js +37 -0
- package/dist/base.d.ts +78 -0
- package/dist/base.js +394 -0
- package/dist/common.d.ts +92 -0
- package/dist/common.js +277 -0
- package/dist/configuration.d.ts +90 -0
- package/dist/configuration.js +44 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.js +36 -0
- package/dist/models/bank-account-class.d.ts +54 -0
- package/dist/models/bank-account-class.js +15 -0
- package/dist/models/billing-profile-dto.d.ts +38 -0
- package/dist/models/billing-profile-dto.js +15 -0
- package/dist/models/billing-profile-limited-response-dto.d.ts +54 -0
- package/dist/models/billing-profile-limited-response-dto.js +15 -0
- package/dist/models/complete-braintree-payment-setup-request-dto.d.ts +48 -0
- package/dist/models/complete-braintree-payment-setup-request-dto.js +15 -0
- package/dist/models/complete-payment-setup-request-dto.d.ts +32 -0
- package/dist/models/complete-payment-setup-request-dto.js +15 -0
- package/dist/models/complete-payment-setup-response-class.d.ts +25 -0
- package/dist/models/complete-payment-setup-response-class.js +15 -0
- package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +60 -0
- package/dist/models/complete-stripe-payment-setup-request-dto.js +15 -0
- package/dist/models/create-bank-account-request-dto.d.ts +30 -0
- package/dist/models/create-bank-account-request-dto.js +15 -0
- package/dist/models/create-payment-method-response-class.d.ts +25 -0
- package/dist/models/create-payment-method-response-class.js +15 -0
- package/dist/models/create-payment-reminder-request-dto.d.ts +65 -0
- package/dist/models/create-payment-reminder-request-dto.js +26 -0
- package/dist/models/create-payment-request-dto.d.ts +72 -0
- package/dist/models/create-payment-request-dto.js +15 -0
- package/dist/models/create-payment-response-class.d.ts +25 -0
- package/dist/models/create-payment-response-class.js +15 -0
- package/dist/models/create-psp-payment-method-request-dto.d.ts +61 -0
- package/dist/models/create-psp-payment-method-request-dto.js +32 -0
- package/dist/models/deactivate-payment-reminder-request-dto.d.ts +30 -0
- package/dist/models/deactivate-payment-reminder-request-dto.js +21 -0
- package/dist/models/get-payment-method-response-class.d.ts +25 -0
- package/dist/models/get-payment-method-response-class.js +15 -0
- package/dist/models/get-payment-response-class.d.ts +25 -0
- package/dist/models/get-payment-response-class.js +15 -0
- package/dist/models/get-request-dto.d.ts +30 -0
- package/dist/models/get-request-dto.js +15 -0
- package/dist/models/index.d.ts +37 -0
- package/dist/models/index.js +53 -0
- package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +30 -0
- package/dist/models/initiate-braintree-payment-setup-request-dto.js +15 -0
- package/dist/models/initiate-braintree-payment-setup-response-class.d.ts +24 -0
- package/dist/models/initiate-braintree-payment-setup-response-class.js +15 -0
- package/dist/models/initiate-payment-setup-request-dto.d.ts +44 -0
- package/dist/models/initiate-payment-setup-request-dto.js +15 -0
- package/dist/models/initiate-payment-setup-response-class.d.ts +32 -0
- package/dist/models/initiate-payment-setup-response-class.js +15 -0
- package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +30 -0
- package/dist/models/initiate-stripe-payment-setup-request-dto.js +15 -0
- package/dist/models/initiate-stripe-payment-setup-response-class.d.ts +30 -0
- package/dist/models/initiate-stripe-payment-setup-response-class.js +15 -0
- package/dist/models/inline-response200.d.ts +54 -0
- package/dist/models/inline-response200.js +15 -0
- package/dist/models/inline-response503.d.ts +54 -0
- package/dist/models/inline-response503.js +15 -0
- package/dist/models/list-bank-accounts-response-class.d.ts +31 -0
- package/dist/models/list-bank-accounts-response-class.js +15 -0
- package/dist/models/list-payment-methods-response-class.d.ts +31 -0
- package/dist/models/list-payment-methods-response-class.js +15 -0
- package/dist/models/list-payment-reminders-response-class.d.ts +31 -0
- package/dist/models/list-payment-reminders-response-class.js +15 -0
- package/dist/models/list-payments-response-class.d.ts +31 -0
- package/dist/models/list-payments-response-class.js +15 -0
- package/dist/models/payment-class.d.ts +103 -0
- package/dist/models/payment-class.js +15 -0
- package/dist/models/payment-method-class.d.ts +66 -0
- package/dist/models/payment-method-class.js +15 -0
- package/dist/models/payment-reminder-class.d.ts +112 -0
- package/dist/models/payment-reminder-class.js +36 -0
- package/dist/models/sepa-direct-dto.d.ts +24 -0
- package/dist/models/sepa-direct-dto.js +15 -0
- package/dist/models/symphony-profile-limited-response-dto.d.ts +42 -0
- package/dist/models/symphony-profile-limited-response-dto.js +15 -0
- package/dist/models/transaction-class.d.ts +54 -0
- package/dist/models/transaction-class.js +15 -0
- package/dist/models/validate-pspconfig-request-dto.d.ts +43 -0
- package/dist/models/validate-pspconfig-request-dto.js +22 -0
- package/dist/models/validate-pspconfig-response-class.d.ts +24 -0
- package/dist/models/validate-pspconfig-response-class.js +15 -0
- package/models/create-payment-reminder-request-dto.ts +3 -1
- package/models/create-payment-request-dto.ts +3 -3
- package/models/inline-response200.ts +6 -6
- package/models/inline-response503.ts +6 -6
- package/models/payment-class.ts +1 -1
- package/models/payment-method-class.ts +8 -2
- package/models/payment-reminder-class.ts +6 -2
- package/package.json +2 -2
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Emil Payment Service
|
|
3
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
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 SymphonyProfileLimitedResponseDto
|
|
16
|
+
*/
|
|
17
|
+
export interface SymphonyProfileLimitedResponseDto {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SymphonyProfileLimitedResponseDto
|
|
22
|
+
*/
|
|
23
|
+
'scn': string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SymphonyProfileLimitedResponseDto
|
|
28
|
+
*/
|
|
29
|
+
'billSource': string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof SymphonyProfileLimitedResponseDto
|
|
34
|
+
*/
|
|
35
|
+
'parentScn'?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {boolean}
|
|
39
|
+
* @memberof SymphonyProfileLimitedResponseDto
|
|
40
|
+
*/
|
|
41
|
+
'deathCaseFlag': boolean;
|
|
42
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Emil Payment Service
|
|
6
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
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 Payment Service
|
|
3
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
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 TransactionClass
|
|
16
|
+
*/
|
|
17
|
+
export interface TransactionClass {
|
|
18
|
+
/**
|
|
19
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof TransactionClass
|
|
22
|
+
*/
|
|
23
|
+
'id': number;
|
|
24
|
+
/**
|
|
25
|
+
* Unique identifier for transaction.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof TransactionClass
|
|
28
|
+
*/
|
|
29
|
+
'code': string;
|
|
30
|
+
/**
|
|
31
|
+
* Reference to the payment id.
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof TransactionClass
|
|
34
|
+
*/
|
|
35
|
+
'paymentId': number;
|
|
36
|
+
/**
|
|
37
|
+
* Webhook associated to that transaction. Webhooks
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof TransactionClass
|
|
40
|
+
*/
|
|
41
|
+
'webhookId': number;
|
|
42
|
+
/**
|
|
43
|
+
* Status of the transaction. Can be one of the following: \'succeeded\', \'pending\', \'failed\', \'disputed\'. }
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof TransactionClass
|
|
46
|
+
*/
|
|
47
|
+
'status': string;
|
|
48
|
+
/**
|
|
49
|
+
* Time at which the object was created.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof TransactionClass
|
|
52
|
+
*/
|
|
53
|
+
'createdAt': string;
|
|
54
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Emil Payment Service
|
|
6
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
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 Payment Service
|
|
3
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
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 ValidatePSPConfigRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface ValidatePSPConfigRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* Payment service provider type.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof ValidatePSPConfigRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'type': ValidatePSPConfigRequestDtoTypeEnum;
|
|
24
|
+
/**
|
|
25
|
+
* Map containing various necessary keys to properly use the payment service provider. In the form of <api key name, api key value>.
|
|
26
|
+
* @type {object}
|
|
27
|
+
* @memberof ValidatePSPConfigRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'apiKeys': object;
|
|
30
|
+
/**
|
|
31
|
+
* List of payment methods that should be accepted by the payment service provider.
|
|
32
|
+
* @type {Array<string>}
|
|
33
|
+
* @memberof ValidatePSPConfigRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'paymentMethods': Array<string>;
|
|
36
|
+
}
|
|
37
|
+
export declare const ValidatePSPConfigRequestDtoTypeEnum: {
|
|
38
|
+
readonly Braintree: "braintree";
|
|
39
|
+
readonly Stripe: "stripe";
|
|
40
|
+
readonly B4u: "b4u";
|
|
41
|
+
readonly Eis: "eis";
|
|
42
|
+
};
|
|
43
|
+
export type ValidatePSPConfigRequestDtoTypeEnum = typeof ValidatePSPConfigRequestDtoTypeEnum[keyof typeof ValidatePSPConfigRequestDtoTypeEnum];
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Emil Payment Service
|
|
6
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
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.ValidatePSPConfigRequestDtoTypeEnum = void 0;
|
|
17
|
+
exports.ValidatePSPConfigRequestDtoTypeEnum = {
|
|
18
|
+
Braintree: 'braintree',
|
|
19
|
+
Stripe: 'stripe',
|
|
20
|
+
B4u: 'b4u',
|
|
21
|
+
Eis: 'eis'
|
|
22
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Emil Payment Service
|
|
3
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
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 ValidatePSPConfigResponseClass
|
|
16
|
+
*/
|
|
17
|
+
export interface ValidatePSPConfigResponseClass {
|
|
18
|
+
/**
|
|
19
|
+
* Returns if configuration is valid or not.
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof ValidatePSPConfigResponseClass
|
|
22
|
+
*/
|
|
23
|
+
'valid': boolean;
|
|
24
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Emil Payment Service
|
|
6
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
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 });
|
|
@@ -64,7 +64,9 @@ export const CreatePaymentReminderRequestDtoInvoiceTypeEnum = {
|
|
|
64
64
|
Correction: 'correction',
|
|
65
65
|
Estimated: 'estimated',
|
|
66
66
|
Penalty: 'penalty',
|
|
67
|
-
Other: 'other'
|
|
67
|
+
Other: 'other',
|
|
68
|
+
Withdraw: 'withdraw',
|
|
69
|
+
Final: 'final'
|
|
68
70
|
} as const;
|
|
69
71
|
|
|
70
72
|
export type CreatePaymentReminderRequestDtoInvoiceTypeEnum = typeof CreatePaymentReminderRequestDtoInvoiceTypeEnum[keyof typeof CreatePaymentReminderRequestDtoInvoiceTypeEnum];
|
|
@@ -40,10 +40,10 @@ export interface CreatePaymentRequestDto {
|
|
|
40
40
|
'currency'?: string;
|
|
41
41
|
/**
|
|
42
42
|
* Invoices referenced in this payment. Usually, one payment has one invoice id but it is possible to pay multiple invoices at once with a single payment.
|
|
43
|
-
* @type {Array<
|
|
43
|
+
* @type {Array<number>}
|
|
44
44
|
* @memberof CreatePaymentRequestDto
|
|
45
45
|
*/
|
|
46
|
-
'invoiceIds': Array<
|
|
46
|
+
'invoiceIds': Array<number>;
|
|
47
47
|
/**
|
|
48
48
|
* Optional field contain extra information.
|
|
49
49
|
* @type {object}
|
|
@@ -51,7 +51,7 @@ export interface CreatePaymentRequestDto {
|
|
|
51
51
|
*/
|
|
52
52
|
'metadata': object;
|
|
53
53
|
/**
|
|
54
|
-
* A slug is a human-readable, unique identifier, used to identify a resource
|
|
54
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
55
55
|
* @type {string}
|
|
56
56
|
* @memberof CreatePaymentRequestDto
|
|
57
57
|
*/
|
|
@@ -28,21 +28,21 @@ export interface InlineResponse200 {
|
|
|
28
28
|
'status'?: string;
|
|
29
29
|
/**
|
|
30
30
|
*
|
|
31
|
-
* @type {{ [key: string]: { [key: string]:
|
|
31
|
+
* @type {{ [key: string]: { [key: string]: object; }; }}
|
|
32
32
|
* @memberof InlineResponse200
|
|
33
33
|
*/
|
|
34
|
-
'info'?: { [key: string]: { [key: string]:
|
|
34
|
+
'info'?: { [key: string]: { [key: string]: object; }; } | null;
|
|
35
35
|
/**
|
|
36
36
|
*
|
|
37
|
-
* @type {{ [key: string]: { [key: string]:
|
|
37
|
+
* @type {{ [key: string]: { [key: string]: object; }; }}
|
|
38
38
|
* @memberof InlineResponse200
|
|
39
39
|
*/
|
|
40
|
-
'error'?: { [key: string]: { [key: string]:
|
|
40
|
+
'error'?: { [key: string]: { [key: string]: object; }; } | null;
|
|
41
41
|
/**
|
|
42
42
|
*
|
|
43
|
-
* @type {{ [key: string]: { [key: string]:
|
|
43
|
+
* @type {{ [key: string]: { [key: string]: object; }; }}
|
|
44
44
|
* @memberof InlineResponse200
|
|
45
45
|
*/
|
|
46
|
-
'details'?: { [key: string]: { [key: string]:
|
|
46
|
+
'details'?: { [key: string]: { [key: string]: object; }; };
|
|
47
47
|
}
|
|
48
48
|
|
|
@@ -28,21 +28,21 @@ export interface InlineResponse503 {
|
|
|
28
28
|
'status'?: string;
|
|
29
29
|
/**
|
|
30
30
|
*
|
|
31
|
-
* @type {{ [key: string]: { [key: string]:
|
|
31
|
+
* @type {{ [key: string]: { [key: string]: object; }; }}
|
|
32
32
|
* @memberof InlineResponse503
|
|
33
33
|
*/
|
|
34
|
-
'info'?: { [key: string]: { [key: string]:
|
|
34
|
+
'info'?: { [key: string]: { [key: string]: object; }; } | null;
|
|
35
35
|
/**
|
|
36
36
|
*
|
|
37
|
-
* @type {{ [key: string]: { [key: string]:
|
|
37
|
+
* @type {{ [key: string]: { [key: string]: object; }; }}
|
|
38
38
|
* @memberof InlineResponse503
|
|
39
39
|
*/
|
|
40
|
-
'error'?: { [key: string]: { [key: string]:
|
|
40
|
+
'error'?: { [key: string]: { [key: string]: object; }; } | null;
|
|
41
41
|
/**
|
|
42
42
|
*
|
|
43
|
-
* @type {{ [key: string]: { [key: string]:
|
|
43
|
+
* @type {{ [key: string]: { [key: string]: object; }; }}
|
|
44
44
|
* @memberof InlineResponse503
|
|
45
45
|
*/
|
|
46
|
-
'details'?: { [key: string]: { [key: string]:
|
|
46
|
+
'details'?: { [key: string]: { [key: string]: object; }; };
|
|
47
47
|
}
|
|
48
48
|
|
package/models/payment-class.ts
CHANGED
|
@@ -76,7 +76,7 @@ export interface PaymentClass {
|
|
|
76
76
|
*/
|
|
77
77
|
'metadata': object;
|
|
78
78
|
/**
|
|
79
|
-
* A slug is a human-readable, unique identifier, used to identify a resource
|
|
79
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
80
80
|
* @type {string}
|
|
81
81
|
* @memberof PaymentClass
|
|
82
82
|
*/
|
|
@@ -45,7 +45,7 @@ export interface PaymentMethodClass {
|
|
|
45
45
|
*/
|
|
46
46
|
'pspCustomerId': string;
|
|
47
47
|
/**
|
|
48
|
-
* The payment service provider
|
|
48
|
+
* The payment service provider associated to this payment method.
|
|
49
49
|
* @type {string}
|
|
50
50
|
* @memberof PaymentMethodClass
|
|
51
51
|
*/
|
|
@@ -57,7 +57,13 @@ export interface PaymentMethodClass {
|
|
|
57
57
|
*/
|
|
58
58
|
'type': string;
|
|
59
59
|
/**
|
|
60
|
-
*
|
|
60
|
+
* Optional field contain extra information
|
|
61
|
+
* @type {object}
|
|
62
|
+
* @memberof PaymentMethodClass
|
|
63
|
+
*/
|
|
64
|
+
'metadata': object;
|
|
65
|
+
/**
|
|
66
|
+
* Time at which the object was created.
|
|
61
67
|
* @type {string}
|
|
62
68
|
* @memberof PaymentMethodClass
|
|
63
69
|
*/
|
|
@@ -100,7 +100,9 @@ export const PaymentReminderClassInvoiceTypeEnum = {
|
|
|
100
100
|
Correction: 'correction',
|
|
101
101
|
Estimated: 'estimated',
|
|
102
102
|
Penalty: 'penalty',
|
|
103
|
-
Other: 'other'
|
|
103
|
+
Other: 'other',
|
|
104
|
+
Withdraw: 'withdraw',
|
|
105
|
+
Final: 'final'
|
|
104
106
|
} as const;
|
|
105
107
|
|
|
106
108
|
export type PaymentReminderClassInvoiceTypeEnum = typeof PaymentReminderClassInvoiceTypeEnum[keyof typeof PaymentReminderClassInvoiceTypeEnum];
|
|
@@ -110,7 +112,9 @@ export const PaymentReminderClassPaymentCodeEnum = {
|
|
|
110
112
|
Correction: 'correction',
|
|
111
113
|
Estimated: 'estimated',
|
|
112
114
|
Penalty: 'penalty',
|
|
113
|
-
Other: 'other'
|
|
115
|
+
Other: 'other',
|
|
116
|
+
Withdraw: 'withdraw',
|
|
117
|
+
Final: 'final'
|
|
114
118
|
} as const;
|
|
115
119
|
|
|
116
120
|
export type PaymentReminderClassPaymentCodeEnum = typeof PaymentReminderClassPaymentCodeEnum[keyof typeof PaymentReminderClassPaymentCodeEnum];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@emilgroup/payment-sdk-node",
|
|
3
|
-
"version": "1.8.0",
|
|
3
|
+
"version": "1.8.2-beta.0",
|
|
4
4
|
"description": "OpenAPI client for @emilgroup/payment-sdk-node",
|
|
5
5
|
"author": "OpenAPI-Generator Contributors",
|
|
6
6
|
"keywords": [
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"url": "^0.11.0"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
|
|
26
|
+
"@types/node": "^12.11.5",
|
|
27
27
|
"typescript": "^4.0"
|
|
28
28
|
}
|
|
29
29
|
}
|