@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
|
@@ -74,22 +74,17 @@ export const PaymentMethodsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
74
74
|
};
|
|
75
75
|
},
|
|
76
76
|
/**
|
|
77
|
-
* Retrieves the details of
|
|
77
|
+
* Retrieves the details of the payment method that was previously created. Supply the unique payment method code that was returned when you created it and Emil Api will return the corresponding payment method information.
|
|
78
78
|
* @summary Retrieve the payment method
|
|
79
|
-
* @param {string} code
|
|
80
|
-
* @param {string} code2 Unique identifier for the object.
|
|
81
|
-
* @param {string} expand Fields to expand response by
|
|
79
|
+
* @param {string} code Unique identifier for the object.
|
|
82
80
|
* @param {string} [authorization] Bearer Token
|
|
81
|
+
* @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>
|
|
83
82
|
* @param {*} [options] Override http request option.
|
|
84
83
|
* @throws {RequiredError}
|
|
85
84
|
*/
|
|
86
|
-
getPaymentMethod: async (code: string,
|
|
85
|
+
getPaymentMethod: async (code: string, authorization?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
87
86
|
// verify required parameter 'code' is not null or undefined
|
|
88
87
|
assertParamExists('getPaymentMethod', 'code', code)
|
|
89
|
-
// verify required parameter 'code2' is not null or undefined
|
|
90
|
-
assertParamExists('getPaymentMethod', 'code2', code2)
|
|
91
|
-
// verify required parameter 'expand' is not null or undefined
|
|
92
|
-
assertParamExists('getPaymentMethod', 'expand', expand)
|
|
93
88
|
const localVarPath = `/paymentservice/v1/payment-methods/{code}`
|
|
94
89
|
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
95
90
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -109,10 +104,6 @@ export const PaymentMethodsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
109
104
|
// http bearer authentication required
|
|
110
105
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
111
106
|
|
|
112
|
-
if (code2 !== undefined) {
|
|
113
|
-
localVarQueryParameter['code'] = code2;
|
|
114
|
-
}
|
|
115
|
-
|
|
116
107
|
if (expand !== undefined) {
|
|
117
108
|
localVarQueryParameter['expand'] = expand;
|
|
118
109
|
}
|
|
@@ -133,20 +124,20 @@ export const PaymentMethodsApiAxiosParamCreator = function (configuration?: Conf
|
|
|
133
124
|
};
|
|
134
125
|
},
|
|
135
126
|
/**
|
|
136
|
-
* Returns a list of payment methods you have previously created.
|
|
127
|
+
* Returns a list of payment methods you have previously created. The payment methods are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
137
128
|
* @summary List payment methods
|
|
138
129
|
* @param {string} [authorization] Bearer Token
|
|
139
130
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
140
131
|
* @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.
|
|
141
|
-
* @param {
|
|
132
|
+
* @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, pspCustomerId, psp, type</i>
|
|
142
133
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
143
|
-
* @param {
|
|
144
|
-
* @param {
|
|
145
|
-
* @param {
|
|
134
|
+
* @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</i>
|
|
135
|
+
* @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>
|
|
136
|
+
* @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, pspCustomerId, psp, type</i>
|
|
146
137
|
* @param {*} [options] Override http request option.
|
|
147
138
|
* @throws {RequiredError}
|
|
148
139
|
*/
|
|
149
|
-
listPaymentMethods: async (authorization?: string, pageSize?: any, pageToken?: any, filter?:
|
|
140
|
+
listPaymentMethods: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
150
141
|
const localVarPath = `/paymentservice/v1/payment-methods`;
|
|
151
142
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
152
143
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -231,34 +222,33 @@ export const PaymentMethodsApiFp = function(configuration?: Configuration) {
|
|
|
231
222
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
232
223
|
},
|
|
233
224
|
/**
|
|
234
|
-
* Retrieves the details of
|
|
225
|
+
* Retrieves the details of the payment method that was previously created. Supply the unique payment method code that was returned when you created it and Emil Api will return the corresponding payment method information.
|
|
235
226
|
* @summary Retrieve the payment method
|
|
236
|
-
* @param {string} code
|
|
237
|
-
* @param {string} code2 Unique identifier for the object.
|
|
238
|
-
* @param {string} expand Fields to expand response by
|
|
227
|
+
* @param {string} code Unique identifier for the object.
|
|
239
228
|
* @param {string} [authorization] Bearer Token
|
|
229
|
+
* @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>
|
|
240
230
|
* @param {*} [options] Override http request option.
|
|
241
231
|
* @throws {RequiredError}
|
|
242
232
|
*/
|
|
243
|
-
async getPaymentMethod(code: string,
|
|
244
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getPaymentMethod(code,
|
|
233
|
+
async getPaymentMethod(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
234
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getPaymentMethod(code, authorization, expand, options);
|
|
245
235
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
246
236
|
},
|
|
247
237
|
/**
|
|
248
|
-
* Returns a list of payment methods you have previously created.
|
|
238
|
+
* Returns a list of payment methods you have previously created. The payment methods are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
249
239
|
* @summary List payment methods
|
|
250
240
|
* @param {string} [authorization] Bearer Token
|
|
251
241
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
252
242
|
* @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.
|
|
253
|
-
* @param {
|
|
243
|
+
* @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, pspCustomerId, psp, type</i>
|
|
254
244
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
255
|
-
* @param {
|
|
256
|
-
* @param {
|
|
257
|
-
* @param {
|
|
245
|
+
* @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</i>
|
|
246
|
+
* @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>
|
|
247
|
+
* @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, pspCustomerId, psp, type</i>
|
|
258
248
|
* @param {*} [options] Override http request option.
|
|
259
249
|
* @throws {RequiredError}
|
|
260
250
|
*/
|
|
261
|
-
async listPaymentMethods(authorization?: string, pageSize?: any, pageToken?: any, filter?:
|
|
251
|
+
async listPaymentMethods(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>> {
|
|
262
252
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listPaymentMethods(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
263
253
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
264
254
|
},
|
|
@@ -284,33 +274,32 @@ export const PaymentMethodsApiFactory = function (configuration?: Configuration,
|
|
|
284
274
|
return localVarFp.createPaymentMethod(body, authorization, options).then((request) => request(axios, basePath));
|
|
285
275
|
},
|
|
286
276
|
/**
|
|
287
|
-
* Retrieves the details of
|
|
277
|
+
* Retrieves the details of the payment method that was previously created. Supply the unique payment method code that was returned when you created it and Emil Api will return the corresponding payment method information.
|
|
288
278
|
* @summary Retrieve the payment method
|
|
289
|
-
* @param {string} code
|
|
290
|
-
* @param {string} code2 Unique identifier for the object.
|
|
291
|
-
* @param {string} expand Fields to expand response by
|
|
279
|
+
* @param {string} code Unique identifier for the object.
|
|
292
280
|
* @param {string} [authorization] Bearer Token
|
|
281
|
+
* @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>
|
|
293
282
|
* @param {*} [options] Override http request option.
|
|
294
283
|
* @throws {RequiredError}
|
|
295
284
|
*/
|
|
296
|
-
getPaymentMethod(code: string,
|
|
297
|
-
return localVarFp.getPaymentMethod(code,
|
|
285
|
+
getPaymentMethod(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<void> {
|
|
286
|
+
return localVarFp.getPaymentMethod(code, authorization, expand, options).then((request) => request(axios, basePath));
|
|
298
287
|
},
|
|
299
288
|
/**
|
|
300
|
-
* Returns a list of payment methods you have previously created.
|
|
289
|
+
* Returns a list of payment methods you have previously created. The payment methods are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
301
290
|
* @summary List payment methods
|
|
302
291
|
* @param {string} [authorization] Bearer Token
|
|
303
292
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
304
293
|
* @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.
|
|
305
|
-
* @param {
|
|
294
|
+
* @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, pspCustomerId, psp, type</i>
|
|
306
295
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
307
|
-
* @param {
|
|
308
|
-
* @param {
|
|
309
|
-
* @param {
|
|
296
|
+
* @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</i>
|
|
297
|
+
* @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>
|
|
298
|
+
* @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, pspCustomerId, psp, type</i>
|
|
310
299
|
* @param {*} [options] Override http request option.
|
|
311
300
|
* @throws {RequiredError}
|
|
312
301
|
*/
|
|
313
|
-
listPaymentMethods(authorization?: string, pageSize?: any, pageToken?: any, filter?:
|
|
302
|
+
listPaymentMethods(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<void> {
|
|
314
303
|
return localVarFp.listPaymentMethods(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
315
304
|
},
|
|
316
305
|
};
|
|
@@ -343,33 +332,26 @@ export interface PaymentMethodsApiCreatePaymentMethodRequest {
|
|
|
343
332
|
* @interface PaymentMethodsApiGetPaymentMethodRequest
|
|
344
333
|
*/
|
|
345
334
|
export interface PaymentMethodsApiGetPaymentMethodRequest {
|
|
346
|
-
/**
|
|
347
|
-
*
|
|
348
|
-
* @type {string}
|
|
349
|
-
* @memberof PaymentMethodsApiGetPaymentMethod
|
|
350
|
-
*/
|
|
351
|
-
readonly code: string
|
|
352
|
-
|
|
353
335
|
/**
|
|
354
336
|
* Unique identifier for the object.
|
|
355
337
|
* @type {string}
|
|
356
338
|
* @memberof PaymentMethodsApiGetPaymentMethod
|
|
357
339
|
*/
|
|
358
|
-
readonly
|
|
340
|
+
readonly code: string
|
|
359
341
|
|
|
360
342
|
/**
|
|
361
|
-
*
|
|
343
|
+
* Bearer Token
|
|
362
344
|
* @type {string}
|
|
363
345
|
* @memberof PaymentMethodsApiGetPaymentMethod
|
|
364
346
|
*/
|
|
365
|
-
readonly
|
|
347
|
+
readonly authorization?: string
|
|
366
348
|
|
|
367
349
|
/**
|
|
368
|
-
*
|
|
350
|
+
* 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>
|
|
369
351
|
* @type {string}
|
|
370
352
|
* @memberof PaymentMethodsApiGetPaymentMethod
|
|
371
353
|
*/
|
|
372
|
-
readonly
|
|
354
|
+
readonly expand?: string
|
|
373
355
|
}
|
|
374
356
|
|
|
375
357
|
/**
|
|
@@ -400,11 +382,11 @@ export interface PaymentMethodsApiListPaymentMethodsRequest {
|
|
|
400
382
|
readonly pageToken?: any
|
|
401
383
|
|
|
402
384
|
/**
|
|
403
|
-
* Filter the response by one or multiple fields.
|
|
404
|
-
* @type {
|
|
385
|
+
* 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, pspCustomerId, psp, type</i>
|
|
386
|
+
* @type {string}
|
|
405
387
|
* @memberof PaymentMethodsApiListPaymentMethods
|
|
406
388
|
*/
|
|
407
|
-
readonly filter?:
|
|
389
|
+
readonly filter?: string
|
|
408
390
|
|
|
409
391
|
/**
|
|
410
392
|
* To search the list by any field, pass search=xxx to fetch the result.
|
|
@@ -414,25 +396,25 @@ export interface PaymentMethodsApiListPaymentMethodsRequest {
|
|
|
414
396
|
readonly search?: any
|
|
415
397
|
|
|
416
398
|
/**
|
|
417
|
-
*
|
|
418
|
-
* @type {
|
|
399
|
+
* 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</i>
|
|
400
|
+
* @type {string}
|
|
419
401
|
* @memberof PaymentMethodsApiListPaymentMethods
|
|
420
402
|
*/
|
|
421
|
-
readonly order?:
|
|
403
|
+
readonly order?: string
|
|
422
404
|
|
|
423
405
|
/**
|
|
424
|
-
*
|
|
425
|
-
* @type {
|
|
406
|
+
* 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>
|
|
407
|
+
* @type {string}
|
|
426
408
|
* @memberof PaymentMethodsApiListPaymentMethods
|
|
427
409
|
*/
|
|
428
|
-
readonly expand?:
|
|
410
|
+
readonly expand?: string
|
|
429
411
|
|
|
430
412
|
/**
|
|
431
|
-
* Filters the response by one or multiple fields.
|
|
432
|
-
* @type {
|
|
413
|
+
* 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, pspCustomerId, psp, type</i>
|
|
414
|
+
* @type {string}
|
|
433
415
|
* @memberof PaymentMethodsApiListPaymentMethods
|
|
434
416
|
*/
|
|
435
|
-
readonly filters?:
|
|
417
|
+
readonly filters?: string
|
|
436
418
|
}
|
|
437
419
|
|
|
438
420
|
/**
|
|
@@ -455,7 +437,7 @@ export class PaymentMethodsApi extends BaseAPI {
|
|
|
455
437
|
}
|
|
456
438
|
|
|
457
439
|
/**
|
|
458
|
-
* Retrieves the details of
|
|
440
|
+
* Retrieves the details of the payment method that was previously created. Supply the unique payment method code that was returned when you created it and Emil Api will return the corresponding payment method information.
|
|
459
441
|
* @summary Retrieve the payment method
|
|
460
442
|
* @param {PaymentMethodsApiGetPaymentMethodRequest} requestParameters Request parameters.
|
|
461
443
|
* @param {*} [options] Override http request option.
|
|
@@ -463,11 +445,11 @@ export class PaymentMethodsApi extends BaseAPI {
|
|
|
463
445
|
* @memberof PaymentMethodsApi
|
|
464
446
|
*/
|
|
465
447
|
public getPaymentMethod(requestParameters: PaymentMethodsApiGetPaymentMethodRequest, options?: AxiosRequestConfig) {
|
|
466
|
-
return PaymentMethodsApiFp(this.configuration).getPaymentMethod(requestParameters.code, requestParameters.
|
|
448
|
+
return PaymentMethodsApiFp(this.configuration).getPaymentMethod(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
|
|
467
449
|
}
|
|
468
450
|
|
|
469
451
|
/**
|
|
470
|
-
* Returns a list of payment methods you have previously created.
|
|
452
|
+
* Returns a list of payment methods you have previously created. The payment methods are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
471
453
|
* @summary List payment methods
|
|
472
454
|
* @param {PaymentMethodsApiListPaymentMethodsRequest} requestParameters Request parameters.
|
|
473
455
|
* @param {*} [options] Override http request option.
|
|
@@ -32,7 +32,7 @@ export const PaymentRemindersApiAxiosParamCreator = function (configuration?: Co
|
|
|
32
32
|
return {
|
|
33
33
|
/**
|
|
34
34
|
* This will create a payment reminder in the database.
|
|
35
|
-
* @summary Create the payment
|
|
35
|
+
* @summary Create the payment reminder
|
|
36
36
|
* @param {CreatePaymentReminderRequestDto} createPaymentReminderRequestDto
|
|
37
37
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
38
38
|
* @param {*} [options] Override http request option.
|
|
@@ -78,8 +78,8 @@ export const PaymentRemindersApiAxiosParamCreator = function (configuration?: Co
|
|
|
78
78
|
};
|
|
79
79
|
},
|
|
80
80
|
/**
|
|
81
|
-
*
|
|
82
|
-
* @summary
|
|
81
|
+
* This will deactivate the payment reminder
|
|
82
|
+
* @summary Deactivate payment reminder
|
|
83
83
|
* @param {string} code Unique identifier for the object.
|
|
84
84
|
* @param {DeactivatePaymentReminderRequestDto} deactivatePaymentReminderRequestDto
|
|
85
85
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -133,10 +133,11 @@ export const PaymentRemindersApiAxiosParamCreator = function (configuration?: Co
|
|
|
133
133
|
* @summary Retrieve the payment reminder
|
|
134
134
|
* @param {string} code Unique identifier for the object.
|
|
135
135
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
136
|
+
* @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>
|
|
136
137
|
* @param {*} [options] Override http request option.
|
|
137
138
|
* @throws {RequiredError}
|
|
138
139
|
*/
|
|
139
|
-
getPolicy: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
140
|
+
getPolicy: async (code: string, authorization?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
140
141
|
// verify required parameter 'code' is not null or undefined
|
|
141
142
|
assertParamExists('getPolicy', 'code', code)
|
|
142
143
|
const localVarPath = `/paymentservice/v1/payment-reminders/{code}`
|
|
@@ -158,6 +159,10 @@ export const PaymentRemindersApiAxiosParamCreator = function (configuration?: Co
|
|
|
158
159
|
// http bearer authentication required
|
|
159
160
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
160
161
|
|
|
162
|
+
if (expand !== undefined) {
|
|
163
|
+
localVarQueryParameter['expand'] = expand;
|
|
164
|
+
}
|
|
165
|
+
|
|
161
166
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
162
167
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
163
168
|
}
|
|
@@ -174,20 +179,20 @@ export const PaymentRemindersApiAxiosParamCreator = function (configuration?: Co
|
|
|
174
179
|
};
|
|
175
180
|
},
|
|
176
181
|
/**
|
|
177
|
-
* Returns a list of payment reminders you have previously created.
|
|
182
|
+
* 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.
|
|
178
183
|
* @summary List payment reminders
|
|
179
184
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
180
185
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
181
186
|
* @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.
|
|
182
|
-
* @param {
|
|
187
|
+
* @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>
|
|
183
188
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
184
|
-
* @param {
|
|
185
|
-
* @param {
|
|
186
|
-
* @param {
|
|
189
|
+
* @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>
|
|
190
|
+
* @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>
|
|
191
|
+
* @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>
|
|
187
192
|
* @param {*} [options] Override http request option.
|
|
188
193
|
* @throws {RequiredError}
|
|
189
194
|
*/
|
|
190
|
-
listPaymentReminders: async (authorization?: string, pageSize?: any, pageToken?: any, filter?:
|
|
195
|
+
listPaymentReminders: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
191
196
|
const localVarPath = `/paymentservice/v1/payment-reminders`;
|
|
192
197
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
193
198
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -261,7 +266,7 @@ export const PaymentRemindersApiFp = function(configuration?: Configuration) {
|
|
|
261
266
|
return {
|
|
262
267
|
/**
|
|
263
268
|
* This will create a payment reminder in the database.
|
|
264
|
-
* @summary Create the payment
|
|
269
|
+
* @summary Create the payment reminder
|
|
265
270
|
* @param {CreatePaymentReminderRequestDto} createPaymentReminderRequestDto
|
|
266
271
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
267
272
|
* @param {*} [options] Override http request option.
|
|
@@ -272,8 +277,8 @@ export const PaymentRemindersApiFp = function(configuration?: Configuration) {
|
|
|
272
277
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
273
278
|
},
|
|
274
279
|
/**
|
|
275
|
-
*
|
|
276
|
-
* @summary
|
|
280
|
+
* This will deactivate the payment reminder
|
|
281
|
+
* @summary Deactivate payment reminder
|
|
277
282
|
* @param {string} code Unique identifier for the object.
|
|
278
283
|
* @param {DeactivatePaymentReminderRequestDto} deactivatePaymentReminderRequestDto
|
|
279
284
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -289,28 +294,29 @@ export const PaymentRemindersApiFp = function(configuration?: Configuration) {
|
|
|
289
294
|
* @summary Retrieve the payment reminder
|
|
290
295
|
* @param {string} code Unique identifier for the object.
|
|
291
296
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
297
|
+
* @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>
|
|
292
298
|
* @param {*} [options] Override http request option.
|
|
293
299
|
* @throws {RequiredError}
|
|
294
300
|
*/
|
|
295
|
-
async getPolicy(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
296
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getPolicy(code, authorization, options);
|
|
301
|
+
async getPolicy(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
302
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getPolicy(code, authorization, expand, options);
|
|
297
303
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
298
304
|
},
|
|
299
305
|
/**
|
|
300
|
-
* Returns a list of payment reminders you have previously created.
|
|
306
|
+
* 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.
|
|
301
307
|
* @summary List payment reminders
|
|
302
308
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
303
309
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
304
310
|
* @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.
|
|
305
|
-
* @param {
|
|
311
|
+
* @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>
|
|
306
312
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
307
|
-
* @param {
|
|
308
|
-
* @param {
|
|
309
|
-
* @param {
|
|
313
|
+
* @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>
|
|
314
|
+
* @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>
|
|
315
|
+
* @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>
|
|
310
316
|
* @param {*} [options] Override http request option.
|
|
311
317
|
* @throws {RequiredError}
|
|
312
318
|
*/
|
|
313
|
-
async listPaymentReminders(authorization?: string, pageSize?: any, pageToken?: any, filter?:
|
|
319
|
+
async 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>> {
|
|
314
320
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listPaymentReminders(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
315
321
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
316
322
|
},
|
|
@@ -326,7 +332,7 @@ export const PaymentRemindersApiFactory = function (configuration?: Configuratio
|
|
|
326
332
|
return {
|
|
327
333
|
/**
|
|
328
334
|
* This will create a payment reminder in the database.
|
|
329
|
-
* @summary Create the payment
|
|
335
|
+
* @summary Create the payment reminder
|
|
330
336
|
* @param {CreatePaymentReminderRequestDto} createPaymentReminderRequestDto
|
|
331
337
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
332
338
|
* @param {*} [options] Override http request option.
|
|
@@ -336,8 +342,8 @@ export const PaymentRemindersApiFactory = function (configuration?: Configuratio
|
|
|
336
342
|
return localVarFp.createPaymentReminder(createPaymentReminderRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
337
343
|
},
|
|
338
344
|
/**
|
|
339
|
-
*
|
|
340
|
-
* @summary
|
|
345
|
+
* This will deactivate the payment reminder
|
|
346
|
+
* @summary Deactivate payment reminder
|
|
341
347
|
* @param {string} code Unique identifier for the object.
|
|
342
348
|
* @param {DeactivatePaymentReminderRequestDto} deactivatePaymentReminderRequestDto
|
|
343
349
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -352,27 +358,28 @@ export const PaymentRemindersApiFactory = function (configuration?: Configuratio
|
|
|
352
358
|
* @summary Retrieve the payment reminder
|
|
353
359
|
* @param {string} code Unique identifier for the object.
|
|
354
360
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
361
|
+
* @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>
|
|
355
362
|
* @param {*} [options] Override http request option.
|
|
356
363
|
* @throws {RequiredError}
|
|
357
364
|
*/
|
|
358
|
-
getPolicy(code: string, authorization?: string, options?: any): AxiosPromise<void> {
|
|
359
|
-
return localVarFp.getPolicy(code, authorization, options).then((request) => request(axios, basePath));
|
|
365
|
+
getPolicy(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<void> {
|
|
366
|
+
return localVarFp.getPolicy(code, authorization, expand, options).then((request) => request(axios, basePath));
|
|
360
367
|
},
|
|
361
368
|
/**
|
|
362
|
-
* Returns a list of payment reminders you have previously created.
|
|
369
|
+
* 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.
|
|
363
370
|
* @summary List payment reminders
|
|
364
371
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
365
372
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
366
373
|
* @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.
|
|
367
|
-
* @param {
|
|
374
|
+
* @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>
|
|
368
375
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
369
|
-
* @param {
|
|
370
|
-
* @param {
|
|
371
|
-
* @param {
|
|
376
|
+
* @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>
|
|
377
|
+
* @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>
|
|
378
|
+
* @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>
|
|
372
379
|
* @param {*} [options] Override http request option.
|
|
373
380
|
* @throws {RequiredError}
|
|
374
381
|
*/
|
|
375
|
-
listPaymentReminders(authorization?: string, pageSize?: any, pageToken?: any, filter?:
|
|
382
|
+
listPaymentReminders(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<void> {
|
|
376
383
|
return localVarFp.listPaymentReminders(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
377
384
|
},
|
|
378
385
|
};
|
|
@@ -446,6 +453,13 @@ export interface PaymentRemindersApiGetPolicyRequest {
|
|
|
446
453
|
* @memberof PaymentRemindersApiGetPolicy
|
|
447
454
|
*/
|
|
448
455
|
readonly authorization?: string
|
|
456
|
+
|
|
457
|
+
/**
|
|
458
|
+
* 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>
|
|
459
|
+
* @type {string}
|
|
460
|
+
* @memberof PaymentRemindersApiGetPolicy
|
|
461
|
+
*/
|
|
462
|
+
readonly expand?: string
|
|
449
463
|
}
|
|
450
464
|
|
|
451
465
|
/**
|
|
@@ -476,11 +490,11 @@ export interface PaymentRemindersApiListPaymentRemindersRequest {
|
|
|
476
490
|
readonly pageToken?: any
|
|
477
491
|
|
|
478
492
|
/**
|
|
479
|
-
* Filter the response by one or multiple fields.
|
|
480
|
-
* @type {
|
|
493
|
+
* 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>
|
|
494
|
+
* @type {string}
|
|
481
495
|
* @memberof PaymentRemindersApiListPaymentReminders
|
|
482
496
|
*/
|
|
483
|
-
readonly filter?:
|
|
497
|
+
readonly filter?: string
|
|
484
498
|
|
|
485
499
|
/**
|
|
486
500
|
* To search the list by any field, pass search=xxx to fetch the result.
|
|
@@ -490,25 +504,25 @@ export interface PaymentRemindersApiListPaymentRemindersRequest {
|
|
|
490
504
|
readonly search?: any
|
|
491
505
|
|
|
492
506
|
/**
|
|
493
|
-
*
|
|
494
|
-
* @type {
|
|
507
|
+
* 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>
|
|
508
|
+
* @type {string}
|
|
495
509
|
* @memberof PaymentRemindersApiListPaymentReminders
|
|
496
510
|
*/
|
|
497
|
-
readonly order?:
|
|
511
|
+
readonly order?: string
|
|
498
512
|
|
|
499
513
|
/**
|
|
500
|
-
*
|
|
501
|
-
* @type {
|
|
514
|
+
* 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>
|
|
515
|
+
* @type {string}
|
|
502
516
|
* @memberof PaymentRemindersApiListPaymentReminders
|
|
503
517
|
*/
|
|
504
|
-
readonly expand?:
|
|
518
|
+
readonly expand?: string
|
|
505
519
|
|
|
506
520
|
/**
|
|
507
|
-
* Filters the response by one or multiple fields.
|
|
508
|
-
* @type {
|
|
521
|
+
* 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>
|
|
522
|
+
* @type {string}
|
|
509
523
|
* @memberof PaymentRemindersApiListPaymentReminders
|
|
510
524
|
*/
|
|
511
|
-
readonly filters?:
|
|
525
|
+
readonly filters?: string
|
|
512
526
|
}
|
|
513
527
|
|
|
514
528
|
/**
|
|
@@ -520,7 +534,7 @@ export interface PaymentRemindersApiListPaymentRemindersRequest {
|
|
|
520
534
|
export class PaymentRemindersApi extends BaseAPI {
|
|
521
535
|
/**
|
|
522
536
|
* This will create a payment reminder in the database.
|
|
523
|
-
* @summary Create the payment
|
|
537
|
+
* @summary Create the payment reminder
|
|
524
538
|
* @param {PaymentRemindersApiCreatePaymentReminderRequest} requestParameters Request parameters.
|
|
525
539
|
* @param {*} [options] Override http request option.
|
|
526
540
|
* @throws {RequiredError}
|
|
@@ -531,8 +545,8 @@ export class PaymentRemindersApi extends BaseAPI {
|
|
|
531
545
|
}
|
|
532
546
|
|
|
533
547
|
/**
|
|
534
|
-
*
|
|
535
|
-
* @summary
|
|
548
|
+
* This will deactivate the payment reminder
|
|
549
|
+
* @summary Deactivate payment reminder
|
|
536
550
|
* @param {PaymentRemindersApiDeactivatePaymentReminderRequest} requestParameters Request parameters.
|
|
537
551
|
* @param {*} [options] Override http request option.
|
|
538
552
|
* @throws {RequiredError}
|
|
@@ -551,11 +565,11 @@ export class PaymentRemindersApi extends BaseAPI {
|
|
|
551
565
|
* @memberof PaymentRemindersApi
|
|
552
566
|
*/
|
|
553
567
|
public getPolicy(requestParameters: PaymentRemindersApiGetPolicyRequest, options?: AxiosRequestConfig) {
|
|
554
|
-
return PaymentRemindersApiFp(this.configuration).getPolicy(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
568
|
+
return PaymentRemindersApiFp(this.configuration).getPolicy(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
|
|
555
569
|
}
|
|
556
570
|
|
|
557
571
|
/**
|
|
558
|
-
* Returns a list of payment reminders you have previously created.
|
|
572
|
+
* 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.
|
|
559
573
|
* @summary List payment reminders
|
|
560
574
|
* @param {PaymentRemindersApiListPaymentRemindersRequest} requestParameters Request parameters.
|
|
561
575
|
* @param {*} [options] Override http request option.
|