@emilgroup/payment-sdk 1.4.1-beta.30 → 1.4.1-beta.32
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 -15
- package/README.md +2 -2
- package/api/bank-accounts-api.ts +34 -38
- package/api/bank-transaction-api.ts +73 -77
- package/api/{default-api.ts → health-check-api.ts} +21 -17
- package/api/payment-methods-api.ts +52 -70
- package/api/payment-reminders-api.ts +63 -49
- package/api/payment-setup-api.ts +16 -8
- package/api/payments-api.ts +52 -70
- package/api/refunds-api.ts +76 -88
- package/api/tenant-bank-account-api.ts +79 -63
- package/api/webhooks-api.ts +16 -12
- package/api.ts +2 -2
- package/base.ts +15 -7
- package/dist/api/bank-accounts-api.d.ts +37 -39
- package/dist/api/bank-accounts-api.js +18 -18
- package/dist/api/bank-transaction-api.d.ts +77 -79
- package/dist/api/bank-transaction-api.js +45 -45
- package/dist/api/health-check-api.d.ts +70 -0
- package/dist/api/{default-api.js → health-check-api.js} +30 -26
- package/dist/api/payment-methods-api.d.ts +49 -58
- package/dist/api/payment-methods-api.js +32 -42
- package/dist/api/payment-reminders-api.d.ts +55 -46
- package/dist/api/payment-reminders-api.js +40 -34
- package/dist/api/payment-setup-api.d.ts +16 -8
- package/dist/api/payment-setup-api.js +16 -8
- package/dist/api/payments-api.d.ts +49 -58
- package/dist/api/payments-api.js +32 -42
- package/dist/api/refunds-api.d.ts +76 -76
- package/dist/api/refunds-api.js +51 -49
- package/dist/api/tenant-bank-account-api.d.ts +71 -61
- package/dist/api/tenant-bank-account-api.js +51 -45
- package/dist/api/webhooks-api.d.ts +16 -12
- package/dist/api/webhooks-api.js +14 -10
- package/dist/api.d.ts +1 -1
- package/dist/api.js +1 -1
- package/dist/base.d.ts +3 -1
- package/dist/base.js +27 -20
- package/dist/models/{bank-transaction-response-class.d.ts → bank-transaction-class-without-expand-properties.d.ts} +20 -34
- package/dist/models/create-tenant-bank-account-response-class.d.ts +4 -4
- package/dist/models/get-tenant-bank-account-response-class.d.ts +4 -4
- package/dist/models/index.d.ts +4 -14
- package/dist/models/index.js +4 -14
- package/dist/models/list-tenant-bank-account-response-class.d.ts +5 -5
- package/dist/models/{tenant-bank-account-response-class.d.ts → tenant-bank-account-class-without-expand-properties.d.ts} +10 -10
- package/dist/models/tenant-bank-account-class.d.ts +73 -0
- package/dist/models/{get-bank-account-response-class.d.ts → update-tenant-bank-account-response-class.d.ts} +7 -7
- package/models/{bank-transaction-response-class.ts → bank-transaction-class-without-expand-properties.ts} +20 -34
- package/models/create-tenant-bank-account-response-class.ts +4 -4
- package/models/get-tenant-bank-account-response-class.ts +4 -4
- package/models/index.ts +4 -14
- package/models/list-tenant-bank-account-response-class.ts +5 -5
- package/models/{tenant-bank-account-response-class.ts → tenant-bank-account-class-without-expand-properties.ts} +10 -10
- package/models/tenant-bank-account-class.ts +79 -0
- package/models/{create-refund-response-class.ts → update-tenant-bank-account-response-class.ts} +7 -7
- package/package.json +1 -1
- package/dist/api/default-api.d.ts +0 -66
- package/dist/models/bank-account-class.d.ts +0 -73
- package/dist/models/create-refund-response-class.d.ts +0 -25
- package/dist/models/get-bank-transactions-response-class.d.ts +0 -25
- package/dist/models/get-bank-transactions-response-class.js +0 -15
- package/dist/models/get-refund-response-class.d.ts +0 -25
- package/dist/models/get-refund-response-class.js +0 -15
- package/dist/models/get-request-dto.d.ts +0 -30
- package/dist/models/get-request-dto.js +0 -15
- package/dist/models/list-bank-transactions-response-class.d.ts +0 -31
- package/dist/models/list-bank-transactions-response-class.js +0 -15
- package/dist/models/list-refunds-response-class.d.ts +0 -31
- package/dist/models/list-refunds-response-class.js +0 -15
- package/dist/models/primary-bank-account-response-class.d.ts +0 -42
- package/dist/models/primary-bank-account-response-class.js +0 -15
- package/dist/models/refund-class.d.ts +0 -105
- package/dist/models/refund-class.js +0 -29
- package/dist/models/tenant-bank-account-response-class.js +0 -15
- package/dist/models/transaction-class.d.ts +0 -54
- package/dist/models/transaction-class.js +0 -15
- package/dist/models/update-bank-account-response-class.d.ts +0 -25
- package/dist/models/update-bank-account-response-class.js +0 -15
- package/models/bank-account-class.ts +0 -79
- package/models/get-bank-account-response-class.ts +0 -31
- package/models/get-bank-transactions-response-class.ts +0 -31
- package/models/get-refund-response-class.ts +0 -31
- package/models/get-request-dto.ts +0 -36
- package/models/list-bank-transactions-response-class.ts +0 -37
- package/models/list-refunds-response-class.ts +0 -37
- package/models/primary-bank-account-response-class.ts +0 -48
- package/models/refund-class.ts +0 -115
- package/models/transaction-class.ts +0 -60
- package/models/update-bank-account-response-class.ts +0 -31
- /package/dist/models/{bank-account-class.js → bank-transaction-class-without-expand-properties.js} +0 -0
- /package/dist/models/{bank-transaction-response-class.js → tenant-bank-account-class-without-expand-properties.js} +0 -0
- /package/dist/models/{create-refund-response-class.js → tenant-bank-account-class.js} +0 -0
- /package/dist/models/{get-bank-account-response-class.js → update-tenant-bank-account-response-class.js} +0 -0
|
@@ -21,7 +21,7 @@ import { DeactivatePaymentReminderRequestDto } from '../models';
|
|
|
21
21
|
export declare const PaymentRemindersApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
22
22
|
/**
|
|
23
23
|
* This will create a payment reminder in the database.
|
|
24
|
-
* @summary Create the payment
|
|
24
|
+
* @summary Create the payment reminder
|
|
25
25
|
* @param {CreatePaymentReminderRequestDto} createPaymentReminderRequestDto
|
|
26
26
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
27
27
|
* @param {*} [options] Override http request option.
|
|
@@ -29,8 +29,8 @@ export declare const PaymentRemindersApiAxiosParamCreator: (configuration?: Conf
|
|
|
29
29
|
*/
|
|
30
30
|
createPaymentReminder: (createPaymentReminderRequestDto: CreatePaymentReminderRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
33
|
-
* @summary
|
|
32
|
+
* This will deactivate the payment reminder
|
|
33
|
+
* @summary Deactivate payment reminder
|
|
34
34
|
* @param {string} code Unique identifier for the object.
|
|
35
35
|
* @param {DeactivatePaymentReminderRequestDto} deactivatePaymentReminderRequestDto
|
|
36
36
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -43,25 +43,26 @@ export declare const PaymentRemindersApiAxiosParamCreator: (configuration?: Conf
|
|
|
43
43
|
* @summary Retrieve the payment reminder
|
|
44
44
|
* @param {string} code Unique identifier for the object.
|
|
45
45
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
46
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: .<i>
|
|
46
47
|
* @param {*} [options] Override http request option.
|
|
47
48
|
* @throws {RequiredError}
|
|
48
49
|
*/
|
|
49
|
-
getPolicy: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
50
|
+
getPolicy: (code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
50
51
|
/**
|
|
51
|
-
* Returns a list of payment reminders you have previously created.
|
|
52
|
+
* Returns a list of payment reminders you have previously created. The payment reminders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
52
53
|
* @summary List payment reminders
|
|
53
54
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
54
55
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
55
56
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
56
|
-
* @param {
|
|
57
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, id, policyCode, nextReminderDate</i>
|
|
57
58
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
58
|
-
* @param {
|
|
59
|
-
* @param {
|
|
60
|
-
* @param {
|
|
59
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt</i>
|
|
60
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: .<i>
|
|
61
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, id, policyCode, nextReminderDate</i>
|
|
61
62
|
* @param {*} [options] Override http request option.
|
|
62
63
|
* @throws {RequiredError}
|
|
63
64
|
*/
|
|
64
|
-
listPaymentReminders: (authorization?: string, pageSize?: any, pageToken?: any, filter?:
|
|
65
|
+
listPaymentReminders: (authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
65
66
|
};
|
|
66
67
|
/**
|
|
67
68
|
* PaymentRemindersApi - functional programming interface
|
|
@@ -70,7 +71,7 @@ export declare const PaymentRemindersApiAxiosParamCreator: (configuration?: Conf
|
|
|
70
71
|
export declare const PaymentRemindersApiFp: (configuration?: Configuration) => {
|
|
71
72
|
/**
|
|
72
73
|
* This will create a payment reminder in the database.
|
|
73
|
-
* @summary Create the payment
|
|
74
|
+
* @summary Create the payment reminder
|
|
74
75
|
* @param {CreatePaymentReminderRequestDto} createPaymentReminderRequestDto
|
|
75
76
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
76
77
|
* @param {*} [options] Override http request option.
|
|
@@ -78,8 +79,8 @@ export declare const PaymentRemindersApiFp: (configuration?: Configuration) => {
|
|
|
78
79
|
*/
|
|
79
80
|
createPaymentReminder(createPaymentReminderRequestDto: CreatePaymentReminderRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
80
81
|
/**
|
|
81
|
-
*
|
|
82
|
-
* @summary
|
|
82
|
+
* This will deactivate the payment reminder
|
|
83
|
+
* @summary Deactivate payment reminder
|
|
83
84
|
* @param {string} code Unique identifier for the object.
|
|
84
85
|
* @param {DeactivatePaymentReminderRequestDto} deactivatePaymentReminderRequestDto
|
|
85
86
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -92,25 +93,26 @@ export declare const PaymentRemindersApiFp: (configuration?: Configuration) => {
|
|
|
92
93
|
* @summary Retrieve the payment reminder
|
|
93
94
|
* @param {string} code Unique identifier for the object.
|
|
94
95
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
96
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: .<i>
|
|
95
97
|
* @param {*} [options] Override http request option.
|
|
96
98
|
* @throws {RequiredError}
|
|
97
99
|
*/
|
|
98
|
-
getPolicy(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
100
|
+
getPolicy(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
99
101
|
/**
|
|
100
|
-
* Returns a list of payment reminders you have previously created.
|
|
102
|
+
* Returns a list of payment reminders you have previously created. The payment reminders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
101
103
|
* @summary List payment reminders
|
|
102
104
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
103
105
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
104
106
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
105
|
-
* @param {
|
|
107
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, id, policyCode, nextReminderDate</i>
|
|
106
108
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
107
|
-
* @param {
|
|
108
|
-
* @param {
|
|
109
|
-
* @param {
|
|
109
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt</i>
|
|
110
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: .<i>
|
|
111
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, id, policyCode, nextReminderDate</i>
|
|
110
112
|
* @param {*} [options] Override http request option.
|
|
111
113
|
* @throws {RequiredError}
|
|
112
114
|
*/
|
|
113
|
-
listPaymentReminders(authorization?: string, pageSize?: any, pageToken?: any, filter?:
|
|
115
|
+
listPaymentReminders(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
114
116
|
};
|
|
115
117
|
/**
|
|
116
118
|
* PaymentRemindersApi - factory interface
|
|
@@ -119,7 +121,7 @@ export declare const PaymentRemindersApiFp: (configuration?: Configuration) => {
|
|
|
119
121
|
export declare const PaymentRemindersApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
120
122
|
/**
|
|
121
123
|
* This will create a payment reminder in the database.
|
|
122
|
-
* @summary Create the payment
|
|
124
|
+
* @summary Create the payment reminder
|
|
123
125
|
* @param {CreatePaymentReminderRequestDto} createPaymentReminderRequestDto
|
|
124
126
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
125
127
|
* @param {*} [options] Override http request option.
|
|
@@ -127,8 +129,8 @@ export declare const PaymentRemindersApiFactory: (configuration?: Configuration,
|
|
|
127
129
|
*/
|
|
128
130
|
createPaymentReminder(createPaymentReminderRequestDto: CreatePaymentReminderRequestDto, authorization?: string, options?: any): AxiosPromise<void>;
|
|
129
131
|
/**
|
|
130
|
-
*
|
|
131
|
-
* @summary
|
|
132
|
+
* This will deactivate the payment reminder
|
|
133
|
+
* @summary Deactivate payment reminder
|
|
132
134
|
* @param {string} code Unique identifier for the object.
|
|
133
135
|
* @param {DeactivatePaymentReminderRequestDto} deactivatePaymentReminderRequestDto
|
|
134
136
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -141,25 +143,26 @@ export declare const PaymentRemindersApiFactory: (configuration?: Configuration,
|
|
|
141
143
|
* @summary Retrieve the payment reminder
|
|
142
144
|
* @param {string} code Unique identifier for the object.
|
|
143
145
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
146
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: .<i>
|
|
144
147
|
* @param {*} [options] Override http request option.
|
|
145
148
|
* @throws {RequiredError}
|
|
146
149
|
*/
|
|
147
|
-
getPolicy(code: string, authorization?: string, options?: any): AxiosPromise<void>;
|
|
150
|
+
getPolicy(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<void>;
|
|
148
151
|
/**
|
|
149
|
-
* Returns a list of payment reminders you have previously created.
|
|
152
|
+
* Returns a list of payment reminders you have previously created. The payment reminders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
150
153
|
* @summary List payment reminders
|
|
151
154
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
152
155
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
153
156
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
154
|
-
* @param {
|
|
157
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, id, policyCode, nextReminderDate</i>
|
|
155
158
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
156
|
-
* @param {
|
|
157
|
-
* @param {
|
|
158
|
-
* @param {
|
|
159
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt</i>
|
|
160
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: .<i>
|
|
161
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, id, policyCode, nextReminderDate</i>
|
|
159
162
|
* @param {*} [options] Override http request option.
|
|
160
163
|
* @throws {RequiredError}
|
|
161
164
|
*/
|
|
162
|
-
listPaymentReminders(authorization?: string, pageSize?: any, pageToken?: any, filter?:
|
|
165
|
+
listPaymentReminders(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<void>;
|
|
163
166
|
};
|
|
164
167
|
/**
|
|
165
168
|
* Request parameters for createPaymentReminder operation in PaymentRemindersApi.
|
|
@@ -223,6 +226,12 @@ export interface PaymentRemindersApiGetPolicyRequest {
|
|
|
223
226
|
* @memberof PaymentRemindersApiGetPolicy
|
|
224
227
|
*/
|
|
225
228
|
readonly authorization?: string;
|
|
229
|
+
/**
|
|
230
|
+
* Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: .<i>
|
|
231
|
+
* @type {string}
|
|
232
|
+
* @memberof PaymentRemindersApiGetPolicy
|
|
233
|
+
*/
|
|
234
|
+
readonly expand?: string;
|
|
226
235
|
}
|
|
227
236
|
/**
|
|
228
237
|
* Request parameters for listPaymentReminders operation in PaymentRemindersApi.
|
|
@@ -249,11 +258,11 @@ export interface PaymentRemindersApiListPaymentRemindersRequest {
|
|
|
249
258
|
*/
|
|
250
259
|
readonly pageToken?: any;
|
|
251
260
|
/**
|
|
252
|
-
* Filter the response by one or multiple fields.
|
|
253
|
-
* @type {
|
|
261
|
+
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, id, policyCode, nextReminderDate</i>
|
|
262
|
+
* @type {string}
|
|
254
263
|
* @memberof PaymentRemindersApiListPaymentReminders
|
|
255
264
|
*/
|
|
256
|
-
readonly filter?:
|
|
265
|
+
readonly filter?: string;
|
|
257
266
|
/**
|
|
258
267
|
* To search the list by any field, pass search=xxx to fetch the result.
|
|
259
268
|
* @type {any}
|
|
@@ -261,23 +270,23 @@ export interface PaymentRemindersApiListPaymentRemindersRequest {
|
|
|
261
270
|
*/
|
|
262
271
|
readonly search?: any;
|
|
263
272
|
/**
|
|
264
|
-
*
|
|
265
|
-
* @type {
|
|
273
|
+
* Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt</i>
|
|
274
|
+
* @type {string}
|
|
266
275
|
* @memberof PaymentRemindersApiListPaymentReminders
|
|
267
276
|
*/
|
|
268
|
-
readonly order?:
|
|
277
|
+
readonly order?: string;
|
|
269
278
|
/**
|
|
270
|
-
*
|
|
271
|
-
* @type {
|
|
279
|
+
* Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: .<i>
|
|
280
|
+
* @type {string}
|
|
272
281
|
* @memberof PaymentRemindersApiListPaymentReminders
|
|
273
282
|
*/
|
|
274
|
-
readonly expand?:
|
|
283
|
+
readonly expand?: string;
|
|
275
284
|
/**
|
|
276
|
-
* Filters the response by one or multiple fields.
|
|
277
|
-
* @type {
|
|
285
|
+
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, id, policyCode, nextReminderDate</i>
|
|
286
|
+
* @type {string}
|
|
278
287
|
* @memberof PaymentRemindersApiListPaymentReminders
|
|
279
288
|
*/
|
|
280
|
-
readonly filters?:
|
|
289
|
+
readonly filters?: string;
|
|
281
290
|
}
|
|
282
291
|
/**
|
|
283
292
|
* PaymentRemindersApi - object-oriented interface
|
|
@@ -288,7 +297,7 @@ export interface PaymentRemindersApiListPaymentRemindersRequest {
|
|
|
288
297
|
export declare class PaymentRemindersApi extends BaseAPI {
|
|
289
298
|
/**
|
|
290
299
|
* This will create a payment reminder in the database.
|
|
291
|
-
* @summary Create the payment
|
|
300
|
+
* @summary Create the payment reminder
|
|
292
301
|
* @param {PaymentRemindersApiCreatePaymentReminderRequest} requestParameters Request parameters.
|
|
293
302
|
* @param {*} [options] Override http request option.
|
|
294
303
|
* @throws {RequiredError}
|
|
@@ -296,8 +305,8 @@ export declare class PaymentRemindersApi extends BaseAPI {
|
|
|
296
305
|
*/
|
|
297
306
|
createPaymentReminder(requestParameters: PaymentRemindersApiCreatePaymentReminderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
298
307
|
/**
|
|
299
|
-
*
|
|
300
|
-
* @summary
|
|
308
|
+
* This will deactivate the payment reminder
|
|
309
|
+
* @summary Deactivate payment reminder
|
|
301
310
|
* @param {PaymentRemindersApiDeactivatePaymentReminderRequest} requestParameters Request parameters.
|
|
302
311
|
* @param {*} [options] Override http request option.
|
|
303
312
|
* @throws {RequiredError}
|
|
@@ -314,7 +323,7 @@ export declare class PaymentRemindersApi extends BaseAPI {
|
|
|
314
323
|
*/
|
|
315
324
|
getPolicy(requestParameters: PaymentRemindersApiGetPolicyRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
316
325
|
/**
|
|
317
|
-
* Returns a list of payment reminders you have previously created.
|
|
326
|
+
* Returns a list of payment reminders you have previously created. The payment reminders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
318
327
|
* @summary List payment reminders
|
|
319
328
|
* @param {PaymentRemindersApiListPaymentRemindersRequest} requestParameters Request parameters.
|
|
320
329
|
* @param {*} [options] Override http request option.
|
|
@@ -94,7 +94,7 @@ var PaymentRemindersApiAxiosParamCreator = function (configuration) {
|
|
|
94
94
|
return {
|
|
95
95
|
/**
|
|
96
96
|
* This will create a payment reminder in the database.
|
|
97
|
-
* @summary Create the payment
|
|
97
|
+
* @summary Create the payment reminder
|
|
98
98
|
* @param {CreatePaymentReminderRequestDto} createPaymentReminderRequestDto
|
|
99
99
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
100
100
|
* @param {*} [options] Override http request option.
|
|
@@ -142,8 +142,8 @@ var PaymentRemindersApiAxiosParamCreator = function (configuration) {
|
|
|
142
142
|
});
|
|
143
143
|
},
|
|
144
144
|
/**
|
|
145
|
-
*
|
|
146
|
-
* @summary
|
|
145
|
+
* This will deactivate the payment reminder
|
|
146
|
+
* @summary Deactivate payment reminder
|
|
147
147
|
* @param {string} code Unique identifier for the object.
|
|
148
148
|
* @param {DeactivatePaymentReminderRequestDto} deactivatePaymentReminderRequestDto
|
|
149
149
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -199,10 +199,11 @@ var PaymentRemindersApiAxiosParamCreator = function (configuration) {
|
|
|
199
199
|
* @summary Retrieve the payment reminder
|
|
200
200
|
* @param {string} code Unique identifier for the object.
|
|
201
201
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
202
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: .<i>
|
|
202
203
|
* @param {*} [options] Override http request option.
|
|
203
204
|
* @throws {RequiredError}
|
|
204
205
|
*/
|
|
205
|
-
getPolicy: function (code, authorization, options) {
|
|
206
|
+
getPolicy: function (code, authorization, expand, options) {
|
|
206
207
|
if (options === void 0) { options = {}; }
|
|
207
208
|
return __awaiter(_this, void 0, void 0, function () {
|
|
208
209
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -228,6 +229,9 @@ var PaymentRemindersApiAxiosParamCreator = function (configuration) {
|
|
|
228
229
|
// authentication bearer required
|
|
229
230
|
// http bearer authentication required
|
|
230
231
|
_a.sent();
|
|
232
|
+
if (expand !== undefined) {
|
|
233
|
+
localVarQueryParameter['expand'] = expand;
|
|
234
|
+
}
|
|
231
235
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
232
236
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
233
237
|
}
|
|
@@ -243,16 +247,16 @@ var PaymentRemindersApiAxiosParamCreator = function (configuration) {
|
|
|
243
247
|
});
|
|
244
248
|
},
|
|
245
249
|
/**
|
|
246
|
-
* Returns a list of payment reminders you have previously created.
|
|
250
|
+
* Returns a list of payment reminders you have previously created. The payment reminders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
247
251
|
* @summary List payment reminders
|
|
248
252
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
249
253
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
250
254
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
251
|
-
* @param {
|
|
255
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, id, policyCode, nextReminderDate</i>
|
|
252
256
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
253
|
-
* @param {
|
|
254
|
-
* @param {
|
|
255
|
-
* @param {
|
|
257
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt</i>
|
|
258
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: .<i>
|
|
259
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, id, policyCode, nextReminderDate</i>
|
|
256
260
|
* @param {*} [options] Override http request option.
|
|
257
261
|
* @throws {RequiredError}
|
|
258
262
|
*/
|
|
@@ -326,7 +330,7 @@ var PaymentRemindersApiFp = function (configuration) {
|
|
|
326
330
|
return {
|
|
327
331
|
/**
|
|
328
332
|
* This will create a payment reminder in the database.
|
|
329
|
-
* @summary Create the payment
|
|
333
|
+
* @summary Create the payment reminder
|
|
330
334
|
* @param {CreatePaymentReminderRequestDto} createPaymentReminderRequestDto
|
|
331
335
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
332
336
|
* @param {*} [options] Override http request option.
|
|
@@ -346,8 +350,8 @@ var PaymentRemindersApiFp = function (configuration) {
|
|
|
346
350
|
});
|
|
347
351
|
},
|
|
348
352
|
/**
|
|
349
|
-
*
|
|
350
|
-
* @summary
|
|
353
|
+
* This will deactivate the payment reminder
|
|
354
|
+
* @summary Deactivate payment reminder
|
|
351
355
|
* @param {string} code Unique identifier for the object.
|
|
352
356
|
* @param {DeactivatePaymentReminderRequestDto} deactivatePaymentReminderRequestDto
|
|
353
357
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -372,15 +376,16 @@ var PaymentRemindersApiFp = function (configuration) {
|
|
|
372
376
|
* @summary Retrieve the payment reminder
|
|
373
377
|
* @param {string} code Unique identifier for the object.
|
|
374
378
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
379
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: .<i>
|
|
375
380
|
* @param {*} [options] Override http request option.
|
|
376
381
|
* @throws {RequiredError}
|
|
377
382
|
*/
|
|
378
|
-
getPolicy: function (code, authorization, options) {
|
|
383
|
+
getPolicy: function (code, authorization, expand, options) {
|
|
379
384
|
return __awaiter(this, void 0, void 0, function () {
|
|
380
385
|
var localVarAxiosArgs;
|
|
381
386
|
return __generator(this, function (_a) {
|
|
382
387
|
switch (_a.label) {
|
|
383
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getPolicy(code, authorization, options)];
|
|
388
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getPolicy(code, authorization, expand, options)];
|
|
384
389
|
case 1:
|
|
385
390
|
localVarAxiosArgs = _a.sent();
|
|
386
391
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -389,16 +394,16 @@ var PaymentRemindersApiFp = function (configuration) {
|
|
|
389
394
|
});
|
|
390
395
|
},
|
|
391
396
|
/**
|
|
392
|
-
* Returns a list of payment reminders you have previously created.
|
|
397
|
+
* Returns a list of payment reminders you have previously created. The payment reminders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
393
398
|
* @summary List payment reminders
|
|
394
399
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
395
400
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
396
401
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
397
|
-
* @param {
|
|
402
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, id, policyCode, nextReminderDate</i>
|
|
398
403
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
399
|
-
* @param {
|
|
400
|
-
* @param {
|
|
401
|
-
* @param {
|
|
404
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt</i>
|
|
405
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: .<i>
|
|
406
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, id, policyCode, nextReminderDate</i>
|
|
402
407
|
* @param {*} [options] Override http request option.
|
|
403
408
|
* @throws {RequiredError}
|
|
404
409
|
*/
|
|
@@ -427,7 +432,7 @@ var PaymentRemindersApiFactory = function (configuration, basePath, axios) {
|
|
|
427
432
|
return {
|
|
428
433
|
/**
|
|
429
434
|
* This will create a payment reminder in the database.
|
|
430
|
-
* @summary Create the payment
|
|
435
|
+
* @summary Create the payment reminder
|
|
431
436
|
* @param {CreatePaymentReminderRequestDto} createPaymentReminderRequestDto
|
|
432
437
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
433
438
|
* @param {*} [options] Override http request option.
|
|
@@ -437,8 +442,8 @@ var PaymentRemindersApiFactory = function (configuration, basePath, axios) {
|
|
|
437
442
|
return localVarFp.createPaymentReminder(createPaymentReminderRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
438
443
|
},
|
|
439
444
|
/**
|
|
440
|
-
*
|
|
441
|
-
* @summary
|
|
445
|
+
* This will deactivate the payment reminder
|
|
446
|
+
* @summary Deactivate payment reminder
|
|
442
447
|
* @param {string} code Unique identifier for the object.
|
|
443
448
|
* @param {DeactivatePaymentReminderRequestDto} deactivatePaymentReminderRequestDto
|
|
444
449
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -453,23 +458,24 @@ var PaymentRemindersApiFactory = function (configuration, basePath, axios) {
|
|
|
453
458
|
* @summary Retrieve the payment reminder
|
|
454
459
|
* @param {string} code Unique identifier for the object.
|
|
455
460
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
461
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: .<i>
|
|
456
462
|
* @param {*} [options] Override http request option.
|
|
457
463
|
* @throws {RequiredError}
|
|
458
464
|
*/
|
|
459
|
-
getPolicy: function (code, authorization, options) {
|
|
460
|
-
return localVarFp.getPolicy(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
465
|
+
getPolicy: function (code, authorization, expand, options) {
|
|
466
|
+
return localVarFp.getPolicy(code, authorization, expand, options).then(function (request) { return request(axios, basePath); });
|
|
461
467
|
},
|
|
462
468
|
/**
|
|
463
|
-
* Returns a list of payment reminders you have previously created.
|
|
469
|
+
* Returns a list of payment reminders you have previously created. The payment reminders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
464
470
|
* @summary List payment reminders
|
|
465
471
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
466
472
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
467
473
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
468
|
-
* @param {
|
|
474
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, id, policyCode, nextReminderDate</i>
|
|
469
475
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
470
|
-
* @param {
|
|
471
|
-
* @param {
|
|
472
|
-
* @param {
|
|
476
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt</i>
|
|
477
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: .<i>
|
|
478
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, id, policyCode, nextReminderDate</i>
|
|
473
479
|
* @param {*} [options] Override http request option.
|
|
474
480
|
* @throws {RequiredError}
|
|
475
481
|
*/
|
|
@@ -492,7 +498,7 @@ var PaymentRemindersApi = /** @class */ (function (_super) {
|
|
|
492
498
|
}
|
|
493
499
|
/**
|
|
494
500
|
* This will create a payment reminder in the database.
|
|
495
|
-
* @summary Create the payment
|
|
501
|
+
* @summary Create the payment reminder
|
|
496
502
|
* @param {PaymentRemindersApiCreatePaymentReminderRequest} requestParameters Request parameters.
|
|
497
503
|
* @param {*} [options] Override http request option.
|
|
498
504
|
* @throws {RequiredError}
|
|
@@ -503,8 +509,8 @@ var PaymentRemindersApi = /** @class */ (function (_super) {
|
|
|
503
509
|
return (0, exports.PaymentRemindersApiFp)(this.configuration).createPaymentReminder(requestParameters.createPaymentReminderRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
504
510
|
};
|
|
505
511
|
/**
|
|
506
|
-
*
|
|
507
|
-
* @summary
|
|
512
|
+
* This will deactivate the payment reminder
|
|
513
|
+
* @summary Deactivate payment reminder
|
|
508
514
|
* @param {PaymentRemindersApiDeactivatePaymentReminderRequest} requestParameters Request parameters.
|
|
509
515
|
* @param {*} [options] Override http request option.
|
|
510
516
|
* @throws {RequiredError}
|
|
@@ -524,10 +530,10 @@ var PaymentRemindersApi = /** @class */ (function (_super) {
|
|
|
524
530
|
*/
|
|
525
531
|
PaymentRemindersApi.prototype.getPolicy = function (requestParameters, options) {
|
|
526
532
|
var _this = this;
|
|
527
|
-
return (0, exports.PaymentRemindersApiFp)(this.configuration).getPolicy(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
533
|
+
return (0, exports.PaymentRemindersApiFp)(this.configuration).getPolicy(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
528
534
|
};
|
|
529
535
|
/**
|
|
530
|
-
* Returns a list of payment reminders you have previously created.
|
|
536
|
+
* Returns a list of payment reminders you have previously created. The payment reminders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
531
537
|
* @summary List payment reminders
|
|
532
538
|
* @param {PaymentRemindersApiListPaymentRemindersRequest} requestParameters Request parameters.
|
|
533
539
|
* @param {*} [options] Override http request option.
|
|
@@ -18,7 +18,8 @@ import { RequestArgs, BaseAPI } from '../base';
|
|
|
18
18
|
*/
|
|
19
19
|
export declare const PaymentSetupApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
20
20
|
/**
|
|
21
|
-
*
|
|
21
|
+
* This endpoint is used to save user-provided payment information. The service will send a request to the configured PSP to securely store the payment data.
|
|
22
|
+
* @summary Complete a payment setup
|
|
22
23
|
* @param {object} body
|
|
23
24
|
* @param {string} [authorization] Bearer Token
|
|
24
25
|
* @param {*} [options] Override http request option.
|
|
@@ -26,7 +27,8 @@ export declare const PaymentSetupApiAxiosParamCreator: (configuration?: Configur
|
|
|
26
27
|
*/
|
|
27
28
|
completePaymentSetup: (body: object, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
28
29
|
/**
|
|
29
|
-
*
|
|
30
|
+
* This initiates an account within the configured payment service provider, whichgenerates a secret token, allowing the user to add their payment information.
|
|
31
|
+
* @summary Initiate a payment setup
|
|
30
32
|
* @param {object} body
|
|
31
33
|
* @param {string} [authorization] Bearer Token
|
|
32
34
|
* @param {*} [options] Override http request option.
|
|
@@ -40,7 +42,8 @@ export declare const PaymentSetupApiAxiosParamCreator: (configuration?: Configur
|
|
|
40
42
|
*/
|
|
41
43
|
export declare const PaymentSetupApiFp: (configuration?: Configuration) => {
|
|
42
44
|
/**
|
|
43
|
-
*
|
|
45
|
+
* This endpoint is used to save user-provided payment information. The service will send a request to the configured PSP to securely store the payment data.
|
|
46
|
+
* @summary Complete a payment setup
|
|
44
47
|
* @param {object} body
|
|
45
48
|
* @param {string} [authorization] Bearer Token
|
|
46
49
|
* @param {*} [options] Override http request option.
|
|
@@ -48,7 +51,8 @@ export declare const PaymentSetupApiFp: (configuration?: Configuration) => {
|
|
|
48
51
|
*/
|
|
49
52
|
completePaymentSetup(body: object, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
50
53
|
/**
|
|
51
|
-
*
|
|
54
|
+
* This initiates an account within the configured payment service provider, whichgenerates a secret token, allowing the user to add their payment information.
|
|
55
|
+
* @summary Initiate a payment setup
|
|
52
56
|
* @param {object} body
|
|
53
57
|
* @param {string} [authorization] Bearer Token
|
|
54
58
|
* @param {*} [options] Override http request option.
|
|
@@ -62,7 +66,8 @@ export declare const PaymentSetupApiFp: (configuration?: Configuration) => {
|
|
|
62
66
|
*/
|
|
63
67
|
export declare const PaymentSetupApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
64
68
|
/**
|
|
65
|
-
*
|
|
69
|
+
* This endpoint is used to save user-provided payment information. The service will send a request to the configured PSP to securely store the payment data.
|
|
70
|
+
* @summary Complete a payment setup
|
|
66
71
|
* @param {object} body
|
|
67
72
|
* @param {string} [authorization] Bearer Token
|
|
68
73
|
* @param {*} [options] Override http request option.
|
|
@@ -70,7 +75,8 @@ export declare const PaymentSetupApiFactory: (configuration?: Configuration, bas
|
|
|
70
75
|
*/
|
|
71
76
|
completePaymentSetup(body: object, authorization?: string, options?: any): AxiosPromise<void>;
|
|
72
77
|
/**
|
|
73
|
-
*
|
|
78
|
+
* This initiates an account within the configured payment service provider, whichgenerates a secret token, allowing the user to add their payment information.
|
|
79
|
+
* @summary Initiate a payment setup
|
|
74
80
|
* @param {object} body
|
|
75
81
|
* @param {string} [authorization] Bearer Token
|
|
76
82
|
* @param {*} [options] Override http request option.
|
|
@@ -124,7 +130,8 @@ export interface PaymentSetupApiInitiatePaymentSetupRequest {
|
|
|
124
130
|
*/
|
|
125
131
|
export declare class PaymentSetupApi extends BaseAPI {
|
|
126
132
|
/**
|
|
127
|
-
*
|
|
133
|
+
* This endpoint is used to save user-provided payment information. The service will send a request to the configured PSP to securely store the payment data.
|
|
134
|
+
* @summary Complete a payment setup
|
|
128
135
|
* @param {PaymentSetupApiCompletePaymentSetupRequest} requestParameters Request parameters.
|
|
129
136
|
* @param {*} [options] Override http request option.
|
|
130
137
|
* @throws {RequiredError}
|
|
@@ -132,7 +139,8 @@ export declare class PaymentSetupApi extends BaseAPI {
|
|
|
132
139
|
*/
|
|
133
140
|
completePaymentSetup(requestParameters: PaymentSetupApiCompletePaymentSetupRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
134
141
|
/**
|
|
135
|
-
*
|
|
142
|
+
* This initiates an account within the configured payment service provider, whichgenerates a secret token, allowing the user to add their payment information.
|
|
143
|
+
* @summary Initiate a payment setup
|
|
136
144
|
* @param {PaymentSetupApiInitiatePaymentSetupRequest} requestParameters Request parameters.
|
|
137
145
|
* @param {*} [options] Override http request option.
|
|
138
146
|
* @throws {RequiredError}
|