@emilgroup/payment-sdk-node 1.21.1-beta.93 → 1.21.1-beta.95
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +5 -0
- package/README.md +2 -2
- package/api/policy-payment-methods-api.ts +188 -0
- package/dist/api/policy-payment-methods-api.d.ts +110 -0
- package/dist/api/policy-payment-methods-api.js +129 -0
- package/dist/models/create-psp-payment-method-request-dto.d.ts +7 -0
- package/dist/models/eis-sepa-debit-dto.d.ts +55 -0
- package/dist/models/eis-sepa-debit-dto.js +15 -0
- package/dist/models/index.d.ts +5 -0
- package/dist/models/index.js +5 -0
- package/dist/models/list-policy-payment-methods-response-class.d.ts +31 -0
- package/dist/models/list-policy-payment-methods-response-class.js +15 -0
- package/dist/models/mandate-dto.d.ts +43 -0
- package/dist/models/mandate-dto.js +15 -0
- package/dist/models/mandate-hash-data-dto.d.ts +42 -0
- package/dist/models/mandate-hash-data-dto.js +15 -0
- package/dist/models/mandate-reference-class.d.ts +90 -0
- package/dist/models/mandate-reference-class.js +15 -0
- package/dist/models/policy-payment-method-class.d.ts +13 -0
- package/models/create-psp-payment-method-request-dto.ts +7 -0
- package/models/eis-sepa-debit-dto.ts +61 -0
- package/models/index.ts +5 -0
- package/models/list-policy-payment-methods-response-class.ts +37 -0
- package/models/mandate-dto.ts +49 -0
- package/models/mandate-hash-data-dto.ts +48 -0
- package/models/mandate-reference-class.ts +96 -0
- package/models/policy-payment-method-class.ts +13 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -59,6 +59,7 @@ models/create-tenant-bank-account-response-class.ts
|
|
|
59
59
|
models/deactivate-payment-reminder-request-dto.ts
|
|
60
60
|
models/deactivate-payment-reminder-response-class.ts
|
|
61
61
|
models/deactivated-payment-reminder-class.ts
|
|
62
|
+
models/eis-sepa-debit-dto.ts
|
|
62
63
|
models/exceeding-credit-class.ts
|
|
63
64
|
models/financial-account-class.ts
|
|
64
65
|
models/generate-invoice-match-suggestions-response-class.ts
|
|
@@ -95,8 +96,12 @@ models/list-exceeding-credits-response-class.ts
|
|
|
95
96
|
models/list-payment-methods-response-class.ts
|
|
96
97
|
models/list-payment-reminders-response-class.ts
|
|
97
98
|
models/list-payments-response-class.ts
|
|
99
|
+
models/list-policy-payment-methods-response-class.ts
|
|
98
100
|
models/list-refunds-response-class.ts
|
|
99
101
|
models/list-tenant-bank-account-response-class.ts
|
|
102
|
+
models/mandate-dto.ts
|
|
103
|
+
models/mandate-hash-data-dto.ts
|
|
104
|
+
models/mandate-reference-class.ts
|
|
100
105
|
models/payment-class-without-expand-properties.ts
|
|
101
106
|
models/payment-class.ts
|
|
102
107
|
models/payment-method-class.ts
|
package/README.md
CHANGED
|
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
|
|
|
17
17
|
Navigate to the folder of your consuming project and run one of the following commands:
|
|
18
18
|
|
|
19
19
|
```
|
|
20
|
-
npm install @emilgroup/payment-sdk-node@1.21.1-beta.
|
|
20
|
+
npm install @emilgroup/payment-sdk-node@1.21.1-beta.95 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/payment-sdk-node@1.21.1-beta.
|
|
24
|
+
yarn add @emilgroup/payment-sdk-node@1.21.1-beta.95
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `PaymentsApi`.
|
|
@@ -24,6 +24,8 @@ import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } fr
|
|
|
24
24
|
import { CreatePolicyPaymentMethodRequestDto } from '../models';
|
|
25
25
|
// @ts-ignore
|
|
26
26
|
import { CreatePolicyPaymentMethodResponseClass } from '../models';
|
|
27
|
+
// @ts-ignore
|
|
28
|
+
import { ListPolicyPaymentMethodsResponseClass } from '../models';
|
|
27
29
|
// URLSearchParams not necessarily used
|
|
28
30
|
// @ts-ignore
|
|
29
31
|
import { URL, URLSearchParams } from 'url';
|
|
@@ -76,6 +78,82 @@ export const PolicyPaymentMethodsApiAxiosParamCreator = function (configuration?
|
|
|
76
78
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
77
79
|
localVarRequestOptions.data = serializeDataIfNeeded(createPolicyPaymentMethodRequestDto, localVarRequestOptions, configuration)
|
|
78
80
|
|
|
81
|
+
return {
|
|
82
|
+
url: toPathString(localVarUrlObj),
|
|
83
|
+
options: localVarRequestOptions,
|
|
84
|
+
};
|
|
85
|
+
},
|
|
86
|
+
/**
|
|
87
|
+
* List policy payment methods **Required Permissions** \"payment-management.payments.view\"
|
|
88
|
+
* @summary Retrieve the policy payment methods
|
|
89
|
+
* @param {string} [authorization] Bearer Token
|
|
90
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
91
|
+
* @param {string} [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.
|
|
92
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
93
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
94
|
+
* @param {string} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
95
|
+
* @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
96
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
97
|
+
* @param {*} [options] Override http request option.
|
|
98
|
+
* @throws {RequiredError}
|
|
99
|
+
*/
|
|
100
|
+
listPolicyPaymentMethods: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
101
|
+
const localVarPath = `/paymentservice/v1/policy-payment-methods`;
|
|
102
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
103
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
104
|
+
let baseOptions;
|
|
105
|
+
let baseAccessToken;
|
|
106
|
+
if (configuration) {
|
|
107
|
+
baseOptions = configuration.baseOptions;
|
|
108
|
+
baseAccessToken = configuration.accessToken;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
112
|
+
const localVarHeaderParameter = {} as any;
|
|
113
|
+
const localVarQueryParameter = {} as any;
|
|
114
|
+
|
|
115
|
+
// authentication bearer required
|
|
116
|
+
// http bearer authentication required
|
|
117
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
118
|
+
|
|
119
|
+
if (pageSize !== undefined) {
|
|
120
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
if (pageToken !== undefined) {
|
|
124
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
if (filter !== undefined) {
|
|
128
|
+
localVarQueryParameter['filter'] = filter;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
if (search !== undefined) {
|
|
132
|
+
localVarQueryParameter['search'] = search;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
if (order !== undefined) {
|
|
136
|
+
localVarQueryParameter['order'] = order;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
if (expand !== undefined) {
|
|
140
|
+
localVarQueryParameter['expand'] = expand;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
if (filters !== undefined) {
|
|
144
|
+
localVarQueryParameter['filters'] = filters;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
148
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
|
|
153
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
154
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
155
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
156
|
+
|
|
79
157
|
return {
|
|
80
158
|
url: toPathString(localVarUrlObj),
|
|
81
159
|
options: localVarRequestOptions,
|
|
@@ -103,6 +181,24 @@ export const PolicyPaymentMethodsApiFp = function(configuration?: Configuration)
|
|
|
103
181
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createPolicyPaymentMethod(createPolicyPaymentMethodRequestDto, authorization, options);
|
|
104
182
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
105
183
|
},
|
|
184
|
+
/**
|
|
185
|
+
* List policy payment methods **Required Permissions** \"payment-management.payments.view\"
|
|
186
|
+
* @summary Retrieve the policy payment methods
|
|
187
|
+
* @param {string} [authorization] Bearer Token
|
|
188
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
189
|
+
* @param {string} [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.
|
|
190
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
191
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
192
|
+
* @param {string} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
193
|
+
* @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
194
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
195
|
+
* @param {*} [options] Override http request option.
|
|
196
|
+
* @throws {RequiredError}
|
|
197
|
+
*/
|
|
198
|
+
async listPolicyPaymentMethods(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPolicyPaymentMethodsResponseClass>> {
|
|
199
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPolicyPaymentMethods(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
200
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
201
|
+
},
|
|
106
202
|
}
|
|
107
203
|
};
|
|
108
204
|
|
|
@@ -124,6 +220,23 @@ export const PolicyPaymentMethodsApiFactory = function (configuration?: Configur
|
|
|
124
220
|
createPolicyPaymentMethod(createPolicyPaymentMethodRequestDto: CreatePolicyPaymentMethodRequestDto, authorization?: string, options?: any): AxiosPromise<CreatePolicyPaymentMethodResponseClass> {
|
|
125
221
|
return localVarFp.createPolicyPaymentMethod(createPolicyPaymentMethodRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
126
222
|
},
|
|
223
|
+
/**
|
|
224
|
+
* List policy payment methods **Required Permissions** \"payment-management.payments.view\"
|
|
225
|
+
* @summary Retrieve the policy payment methods
|
|
226
|
+
* @param {string} [authorization] Bearer Token
|
|
227
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
228
|
+
* @param {string} [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.
|
|
229
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
230
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
231
|
+
* @param {string} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
232
|
+
* @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
233
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
234
|
+
* @param {*} [options] Override http request option.
|
|
235
|
+
* @throws {RequiredError}
|
|
236
|
+
*/
|
|
237
|
+
listPolicyPaymentMethods(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListPolicyPaymentMethodsResponseClass> {
|
|
238
|
+
return localVarFp.listPolicyPaymentMethods(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
239
|
+
},
|
|
127
240
|
};
|
|
128
241
|
};
|
|
129
242
|
|
|
@@ -148,6 +261,69 @@ export interface PolicyPaymentMethodsApiCreatePolicyPaymentMethodRequest {
|
|
|
148
261
|
readonly authorization?: string
|
|
149
262
|
}
|
|
150
263
|
|
|
264
|
+
/**
|
|
265
|
+
* Request parameters for listPolicyPaymentMethods operation in PolicyPaymentMethodsApi.
|
|
266
|
+
* @export
|
|
267
|
+
* @interface PolicyPaymentMethodsApiListPolicyPaymentMethodsRequest
|
|
268
|
+
*/
|
|
269
|
+
export interface PolicyPaymentMethodsApiListPolicyPaymentMethodsRequest {
|
|
270
|
+
/**
|
|
271
|
+
* Bearer Token
|
|
272
|
+
* @type {string}
|
|
273
|
+
* @memberof PolicyPaymentMethodsApiListPolicyPaymentMethods
|
|
274
|
+
*/
|
|
275
|
+
readonly authorization?: string
|
|
276
|
+
|
|
277
|
+
/**
|
|
278
|
+
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
279
|
+
* @type {number}
|
|
280
|
+
* @memberof PolicyPaymentMethodsApiListPolicyPaymentMethods
|
|
281
|
+
*/
|
|
282
|
+
readonly pageSize?: number
|
|
283
|
+
|
|
284
|
+
/**
|
|
285
|
+
* 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.
|
|
286
|
+
* @type {string}
|
|
287
|
+
* @memberof PolicyPaymentMethodsApiListPolicyPaymentMethods
|
|
288
|
+
*/
|
|
289
|
+
readonly pageToken?: string
|
|
290
|
+
|
|
291
|
+
/**
|
|
292
|
+
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
293
|
+
* @type {string}
|
|
294
|
+
* @memberof PolicyPaymentMethodsApiListPolicyPaymentMethods
|
|
295
|
+
*/
|
|
296
|
+
readonly filter?: string
|
|
297
|
+
|
|
298
|
+
/**
|
|
299
|
+
* To search the list by any field, pass search=xxx to fetch the result.
|
|
300
|
+
* @type {string}
|
|
301
|
+
* @memberof PolicyPaymentMethodsApiListPolicyPaymentMethods
|
|
302
|
+
*/
|
|
303
|
+
readonly search?: string
|
|
304
|
+
|
|
305
|
+
/**
|
|
306
|
+
* The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
307
|
+
* @type {string}
|
|
308
|
+
* @memberof PolicyPaymentMethodsApiListPolicyPaymentMethods
|
|
309
|
+
*/
|
|
310
|
+
readonly order?: string
|
|
311
|
+
|
|
312
|
+
/**
|
|
313
|
+
* Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
314
|
+
* @type {string}
|
|
315
|
+
* @memberof PolicyPaymentMethodsApiListPolicyPaymentMethods
|
|
316
|
+
*/
|
|
317
|
+
readonly expand?: string
|
|
318
|
+
|
|
319
|
+
/**
|
|
320
|
+
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
321
|
+
* @type {string}
|
|
322
|
+
* @memberof PolicyPaymentMethodsApiListPolicyPaymentMethods
|
|
323
|
+
*/
|
|
324
|
+
readonly filters?: string
|
|
325
|
+
}
|
|
326
|
+
|
|
151
327
|
/**
|
|
152
328
|
* PolicyPaymentMethodsApi - object-oriented interface
|
|
153
329
|
* @export
|
|
@@ -166,4 +342,16 @@ export class PolicyPaymentMethodsApi extends BaseAPI {
|
|
|
166
342
|
public createPolicyPaymentMethod(requestParameters: PolicyPaymentMethodsApiCreatePolicyPaymentMethodRequest, options?: AxiosRequestConfig) {
|
|
167
343
|
return PolicyPaymentMethodsApiFp(this.configuration).createPolicyPaymentMethod(requestParameters.createPolicyPaymentMethodRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
168
344
|
}
|
|
345
|
+
|
|
346
|
+
/**
|
|
347
|
+
* List policy payment methods **Required Permissions** \"payment-management.payments.view\"
|
|
348
|
+
* @summary Retrieve the policy payment methods
|
|
349
|
+
* @param {PolicyPaymentMethodsApiListPolicyPaymentMethodsRequest} requestParameters Request parameters.
|
|
350
|
+
* @param {*} [options] Override http request option.
|
|
351
|
+
* @throws {RequiredError}
|
|
352
|
+
* @memberof PolicyPaymentMethodsApi
|
|
353
|
+
*/
|
|
354
|
+
public listPolicyPaymentMethods(requestParameters: PolicyPaymentMethodsApiListPolicyPaymentMethodsRequest = {}, options?: AxiosRequestConfig) {
|
|
355
|
+
return PolicyPaymentMethodsApiFp(this.configuration).listPolicyPaymentMethods(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
356
|
+
}
|
|
169
357
|
}
|
|
@@ -14,6 +14,7 @@ import { Configuration } from '../configuration';
|
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
15
|
import { CreatePolicyPaymentMethodRequestDto } from '../models';
|
|
16
16
|
import { CreatePolicyPaymentMethodResponseClass } from '../models';
|
|
17
|
+
import { ListPolicyPaymentMethodsResponseClass } from '../models';
|
|
17
18
|
/**
|
|
18
19
|
* PolicyPaymentMethodsApi - axios parameter creator
|
|
19
20
|
* @export
|
|
@@ -28,6 +29,21 @@ export declare const PolicyPaymentMethodsApiAxiosParamCreator: (configuration?:
|
|
|
28
29
|
* @throws {RequiredError}
|
|
29
30
|
*/
|
|
30
31
|
createPolicyPaymentMethod: (createPolicyPaymentMethodRequestDto: CreatePolicyPaymentMethodRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
32
|
+
/**
|
|
33
|
+
* List policy payment methods **Required Permissions** \"payment-management.payments.view\"
|
|
34
|
+
* @summary Retrieve the policy payment methods
|
|
35
|
+
* @param {string} [authorization] Bearer Token
|
|
36
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
37
|
+
* @param {string} [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.
|
|
38
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
39
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
40
|
+
* @param {string} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
41
|
+
* @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
42
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
43
|
+
* @param {*} [options] Override http request option.
|
|
44
|
+
* @throws {RequiredError}
|
|
45
|
+
*/
|
|
46
|
+
listPolicyPaymentMethods: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
31
47
|
};
|
|
32
48
|
/**
|
|
33
49
|
* PolicyPaymentMethodsApi - functional programming interface
|
|
@@ -43,6 +59,21 @@ export declare const PolicyPaymentMethodsApiFp: (configuration?: Configuration)
|
|
|
43
59
|
* @throws {RequiredError}
|
|
44
60
|
*/
|
|
45
61
|
createPolicyPaymentMethod(createPolicyPaymentMethodRequestDto: CreatePolicyPaymentMethodRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePolicyPaymentMethodResponseClass>>;
|
|
62
|
+
/**
|
|
63
|
+
* List policy payment methods **Required Permissions** \"payment-management.payments.view\"
|
|
64
|
+
* @summary Retrieve the policy payment methods
|
|
65
|
+
* @param {string} [authorization] Bearer Token
|
|
66
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
67
|
+
* @param {string} [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.
|
|
68
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
69
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
70
|
+
* @param {string} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
71
|
+
* @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
72
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
73
|
+
* @param {*} [options] Override http request option.
|
|
74
|
+
* @throws {RequiredError}
|
|
75
|
+
*/
|
|
76
|
+
listPolicyPaymentMethods(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPolicyPaymentMethodsResponseClass>>;
|
|
46
77
|
};
|
|
47
78
|
/**
|
|
48
79
|
* PolicyPaymentMethodsApi - factory interface
|
|
@@ -58,6 +89,21 @@ export declare const PolicyPaymentMethodsApiFactory: (configuration?: Configurat
|
|
|
58
89
|
* @throws {RequiredError}
|
|
59
90
|
*/
|
|
60
91
|
createPolicyPaymentMethod(createPolicyPaymentMethodRequestDto: CreatePolicyPaymentMethodRequestDto, authorization?: string, options?: any): AxiosPromise<CreatePolicyPaymentMethodResponseClass>;
|
|
92
|
+
/**
|
|
93
|
+
* List policy payment methods **Required Permissions** \"payment-management.payments.view\"
|
|
94
|
+
* @summary Retrieve the policy payment methods
|
|
95
|
+
* @param {string} [authorization] Bearer Token
|
|
96
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
97
|
+
* @param {string} [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.
|
|
98
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
99
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
100
|
+
* @param {string} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
101
|
+
* @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
102
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
103
|
+
* @param {*} [options] Override http request option.
|
|
104
|
+
* @throws {RequiredError}
|
|
105
|
+
*/
|
|
106
|
+
listPolicyPaymentMethods(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListPolicyPaymentMethodsResponseClass>;
|
|
61
107
|
};
|
|
62
108
|
/**
|
|
63
109
|
* Request parameters for createPolicyPaymentMethod operation in PolicyPaymentMethodsApi.
|
|
@@ -78,6 +124,61 @@ export interface PolicyPaymentMethodsApiCreatePolicyPaymentMethodRequest {
|
|
|
78
124
|
*/
|
|
79
125
|
readonly authorization?: string;
|
|
80
126
|
}
|
|
127
|
+
/**
|
|
128
|
+
* Request parameters for listPolicyPaymentMethods operation in PolicyPaymentMethodsApi.
|
|
129
|
+
* @export
|
|
130
|
+
* @interface PolicyPaymentMethodsApiListPolicyPaymentMethodsRequest
|
|
131
|
+
*/
|
|
132
|
+
export interface PolicyPaymentMethodsApiListPolicyPaymentMethodsRequest {
|
|
133
|
+
/**
|
|
134
|
+
* Bearer Token
|
|
135
|
+
* @type {string}
|
|
136
|
+
* @memberof PolicyPaymentMethodsApiListPolicyPaymentMethods
|
|
137
|
+
*/
|
|
138
|
+
readonly authorization?: string;
|
|
139
|
+
/**
|
|
140
|
+
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
141
|
+
* @type {number}
|
|
142
|
+
* @memberof PolicyPaymentMethodsApiListPolicyPaymentMethods
|
|
143
|
+
*/
|
|
144
|
+
readonly pageSize?: number;
|
|
145
|
+
/**
|
|
146
|
+
* 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.
|
|
147
|
+
* @type {string}
|
|
148
|
+
* @memberof PolicyPaymentMethodsApiListPolicyPaymentMethods
|
|
149
|
+
*/
|
|
150
|
+
readonly pageToken?: string;
|
|
151
|
+
/**
|
|
152
|
+
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
153
|
+
* @type {string}
|
|
154
|
+
* @memberof PolicyPaymentMethodsApiListPolicyPaymentMethods
|
|
155
|
+
*/
|
|
156
|
+
readonly filter?: string;
|
|
157
|
+
/**
|
|
158
|
+
* To search the list by any field, pass search=xxx to fetch the result.
|
|
159
|
+
* @type {string}
|
|
160
|
+
* @memberof PolicyPaymentMethodsApiListPolicyPaymentMethods
|
|
161
|
+
*/
|
|
162
|
+
readonly search?: string;
|
|
163
|
+
/**
|
|
164
|
+
* The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
165
|
+
* @type {string}
|
|
166
|
+
* @memberof PolicyPaymentMethodsApiListPolicyPaymentMethods
|
|
167
|
+
*/
|
|
168
|
+
readonly order?: string;
|
|
169
|
+
/**
|
|
170
|
+
* Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
171
|
+
* @type {string}
|
|
172
|
+
* @memberof PolicyPaymentMethodsApiListPolicyPaymentMethods
|
|
173
|
+
*/
|
|
174
|
+
readonly expand?: string;
|
|
175
|
+
/**
|
|
176
|
+
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
177
|
+
* @type {string}
|
|
178
|
+
* @memberof PolicyPaymentMethodsApiListPolicyPaymentMethods
|
|
179
|
+
*/
|
|
180
|
+
readonly filters?: string;
|
|
181
|
+
}
|
|
81
182
|
/**
|
|
82
183
|
* PolicyPaymentMethodsApi - object-oriented interface
|
|
83
184
|
* @export
|
|
@@ -94,4 +195,13 @@ export declare class PolicyPaymentMethodsApi extends BaseAPI {
|
|
|
94
195
|
* @memberof PolicyPaymentMethodsApi
|
|
95
196
|
*/
|
|
96
197
|
createPolicyPaymentMethod(requestParameters: PolicyPaymentMethodsApiCreatePolicyPaymentMethodRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePolicyPaymentMethodResponseClass, any>>;
|
|
198
|
+
/**
|
|
199
|
+
* List policy payment methods **Required Permissions** \"payment-management.payments.view\"
|
|
200
|
+
* @summary Retrieve the policy payment methods
|
|
201
|
+
* @param {PolicyPaymentMethodsApiListPolicyPaymentMethodsRequest} requestParameters Request parameters.
|
|
202
|
+
* @param {*} [options] Override http request option.
|
|
203
|
+
* @throws {RequiredError}
|
|
204
|
+
* @memberof PolicyPaymentMethodsApi
|
|
205
|
+
*/
|
|
206
|
+
listPolicyPaymentMethods(requestParameters?: PolicyPaymentMethodsApiListPolicyPaymentMethodsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPolicyPaymentMethodsResponseClass, any>>;
|
|
97
207
|
}
|
|
@@ -145,6 +145,78 @@ var PolicyPaymentMethodsApiAxiosParamCreator = function (configuration) {
|
|
|
145
145
|
});
|
|
146
146
|
});
|
|
147
147
|
},
|
|
148
|
+
/**
|
|
149
|
+
* List policy payment methods **Required Permissions** \"payment-management.payments.view\"
|
|
150
|
+
* @summary Retrieve the policy payment methods
|
|
151
|
+
* @param {string} [authorization] Bearer Token
|
|
152
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
153
|
+
* @param {string} [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 {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
155
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
156
|
+
* @param {string} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
157
|
+
* @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
158
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
159
|
+
* @param {*} [options] Override http request option.
|
|
160
|
+
* @throws {RequiredError}
|
|
161
|
+
*/
|
|
162
|
+
listPolicyPaymentMethods: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
163
|
+
if (options === void 0) { options = {}; }
|
|
164
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
165
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
166
|
+
return __generator(this, function (_a) {
|
|
167
|
+
switch (_a.label) {
|
|
168
|
+
case 0:
|
|
169
|
+
localVarPath = "/paymentservice/v1/policy-payment-methods";
|
|
170
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
171
|
+
if (configuration) {
|
|
172
|
+
baseOptions = configuration.baseOptions;
|
|
173
|
+
baseAccessToken = configuration.accessToken;
|
|
174
|
+
}
|
|
175
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
176
|
+
localVarHeaderParameter = {};
|
|
177
|
+
localVarQueryParameter = {};
|
|
178
|
+
// authentication bearer required
|
|
179
|
+
// http bearer authentication required
|
|
180
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
181
|
+
case 1:
|
|
182
|
+
// authentication bearer required
|
|
183
|
+
// http bearer authentication required
|
|
184
|
+
_a.sent();
|
|
185
|
+
if (pageSize !== undefined) {
|
|
186
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
187
|
+
}
|
|
188
|
+
if (pageToken !== undefined) {
|
|
189
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
190
|
+
}
|
|
191
|
+
if (filter !== undefined) {
|
|
192
|
+
localVarQueryParameter['filter'] = filter;
|
|
193
|
+
}
|
|
194
|
+
if (search !== undefined) {
|
|
195
|
+
localVarQueryParameter['search'] = search;
|
|
196
|
+
}
|
|
197
|
+
if (order !== undefined) {
|
|
198
|
+
localVarQueryParameter['order'] = order;
|
|
199
|
+
}
|
|
200
|
+
if (expand !== undefined) {
|
|
201
|
+
localVarQueryParameter['expand'] = expand;
|
|
202
|
+
}
|
|
203
|
+
if (filters !== undefined) {
|
|
204
|
+
localVarQueryParameter['filters'] = filters;
|
|
205
|
+
}
|
|
206
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
207
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
208
|
+
}
|
|
209
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
210
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
211
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
212
|
+
return [2 /*return*/, {
|
|
213
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
214
|
+
options: localVarRequestOptions,
|
|
215
|
+
}];
|
|
216
|
+
}
|
|
217
|
+
});
|
|
218
|
+
});
|
|
219
|
+
},
|
|
148
220
|
};
|
|
149
221
|
};
|
|
150
222
|
exports.PolicyPaymentMethodsApiAxiosParamCreator = PolicyPaymentMethodsApiAxiosParamCreator;
|
|
@@ -176,6 +248,33 @@ var PolicyPaymentMethodsApiFp = function (configuration) {
|
|
|
176
248
|
});
|
|
177
249
|
});
|
|
178
250
|
},
|
|
251
|
+
/**
|
|
252
|
+
* List policy payment methods **Required Permissions** \"payment-management.payments.view\"
|
|
253
|
+
* @summary Retrieve the policy payment methods
|
|
254
|
+
* @param {string} [authorization] Bearer Token
|
|
255
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
256
|
+
* @param {string} [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.
|
|
257
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
258
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
259
|
+
* @param {string} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
260
|
+
* @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
261
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
262
|
+
* @param {*} [options] Override http request option.
|
|
263
|
+
* @throws {RequiredError}
|
|
264
|
+
*/
|
|
265
|
+
listPolicyPaymentMethods: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
266
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
267
|
+
var localVarAxiosArgs;
|
|
268
|
+
return __generator(this, function (_a) {
|
|
269
|
+
switch (_a.label) {
|
|
270
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listPolicyPaymentMethods(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
|
|
271
|
+
case 1:
|
|
272
|
+
localVarAxiosArgs = _a.sent();
|
|
273
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
274
|
+
}
|
|
275
|
+
});
|
|
276
|
+
});
|
|
277
|
+
},
|
|
179
278
|
};
|
|
180
279
|
};
|
|
181
280
|
exports.PolicyPaymentMethodsApiFp = PolicyPaymentMethodsApiFp;
|
|
@@ -197,6 +296,23 @@ var PolicyPaymentMethodsApiFactory = function (configuration, basePath, axios) {
|
|
|
197
296
|
createPolicyPaymentMethod: function (createPolicyPaymentMethodRequestDto, authorization, options) {
|
|
198
297
|
return localVarFp.createPolicyPaymentMethod(createPolicyPaymentMethodRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
199
298
|
},
|
|
299
|
+
/**
|
|
300
|
+
* List policy payment methods **Required Permissions** \"payment-management.payments.view\"
|
|
301
|
+
* @summary Retrieve the policy payment methods
|
|
302
|
+
* @param {string} [authorization] Bearer Token
|
|
303
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
304
|
+
* @param {string} [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 {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
306
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
307
|
+
* @param {string} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
308
|
+
* @param {string} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
309
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
310
|
+
* @param {*} [options] Override http request option.
|
|
311
|
+
* @throws {RequiredError}
|
|
312
|
+
*/
|
|
313
|
+
listPolicyPaymentMethods: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
314
|
+
return localVarFp.listPolicyPaymentMethods(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
315
|
+
},
|
|
200
316
|
};
|
|
201
317
|
};
|
|
202
318
|
exports.PolicyPaymentMethodsApiFactory = PolicyPaymentMethodsApiFactory;
|
|
@@ -223,6 +339,19 @@ var PolicyPaymentMethodsApi = /** @class */ (function (_super) {
|
|
|
223
339
|
var _this = this;
|
|
224
340
|
return (0, exports.PolicyPaymentMethodsApiFp)(this.configuration).createPolicyPaymentMethod(requestParameters.createPolicyPaymentMethodRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
225
341
|
};
|
|
342
|
+
/**
|
|
343
|
+
* List policy payment methods **Required Permissions** \"payment-management.payments.view\"
|
|
344
|
+
* @summary Retrieve the policy payment methods
|
|
345
|
+
* @param {PolicyPaymentMethodsApiListPolicyPaymentMethodsRequest} requestParameters Request parameters.
|
|
346
|
+
* @param {*} [options] Override http request option.
|
|
347
|
+
* @throws {RequiredError}
|
|
348
|
+
* @memberof PolicyPaymentMethodsApi
|
|
349
|
+
*/
|
|
350
|
+
PolicyPaymentMethodsApi.prototype.listPolicyPaymentMethods = function (requestParameters, options) {
|
|
351
|
+
var _this = this;
|
|
352
|
+
if (requestParameters === void 0) { requestParameters = {}; }
|
|
353
|
+
return (0, exports.PolicyPaymentMethodsApiFp)(this.configuration).listPolicyPaymentMethods(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
354
|
+
};
|
|
226
355
|
return PolicyPaymentMethodsApi;
|
|
227
356
|
}(base_1.BaseAPI));
|
|
228
357
|
exports.PolicyPaymentMethodsApi = PolicyPaymentMethodsApi;
|
|
@@ -11,6 +11,7 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { BankTransferDto } from './bank-transfer-dto';
|
|
13
13
|
import { BillingProfileDto } from './billing-profile-dto';
|
|
14
|
+
import { EisSepaDebitDto } from './eis-sepa-debit-dto';
|
|
14
15
|
import { SepaDirectDto } from './sepa-direct-dto';
|
|
15
16
|
/**
|
|
16
17
|
*
|
|
@@ -54,6 +55,12 @@ export interface CreatePspPaymentMethodRequestDto {
|
|
|
54
55
|
* @memberof CreatePspPaymentMethodRequestDto
|
|
55
56
|
*/
|
|
56
57
|
'bankTransfer'?: BankTransferDto;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @type {EisSepaDebitDto}
|
|
61
|
+
* @memberof CreatePspPaymentMethodRequestDto
|
|
62
|
+
*/
|
|
63
|
+
'eisSepaDebit'?: EisSepaDebitDto;
|
|
57
64
|
/**
|
|
58
65
|
*
|
|
59
66
|
* @type {string}
|