@emilgroup/payment-sdk 1.13.1-beta.94 → 1.13.1-beta.96

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.
@@ -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@1.13.1-beta.94 --save
20
+ npm install @emilgroup/payment-sdk@1.13.1-beta.96 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/payment-sdk@1.13.1-beta.94
24
+ yarn add @emilgroup/payment-sdk@1.13.1-beta.96
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
  /**
28
30
  * PolicyPaymentMethodsApi - axios parameter creator
29
31
  * @export
@@ -72,6 +74,82 @@ export const PolicyPaymentMethodsApiAxiosParamCreator = function (configuration?
72
74
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
73
75
  localVarRequestOptions.data = serializeDataIfNeeded(createPolicyPaymentMethodRequestDto, localVarRequestOptions, configuration)
74
76
 
77
+ return {
78
+ url: toPathString(localVarUrlObj),
79
+ options: localVarRequestOptions,
80
+ };
81
+ },
82
+ /**
83
+ * List policy payment methods **Required Permissions** \"payment-management.payments.view\"
84
+ * @summary Retrieve the policy payment methods
85
+ * @param {string} [authorization] Bearer Token
86
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
87
+ * @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.
88
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
89
+ * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
90
+ * @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.
91
+ * @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.
92
+ * @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.
93
+ * @param {*} [options] Override http request option.
94
+ * @throws {RequiredError}
95
+ */
96
+ listPolicyPaymentMethods: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
97
+ const localVarPath = `/paymentservice/v1/policy-payment-methods`;
98
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
99
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
100
+ let baseOptions;
101
+ let baseAccessToken;
102
+ if (configuration) {
103
+ baseOptions = configuration.baseOptions;
104
+ baseAccessToken = configuration.accessToken;
105
+ }
106
+
107
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
108
+ const localVarHeaderParameter = {} as any;
109
+ const localVarQueryParameter = {} as any;
110
+
111
+ // authentication bearer required
112
+ // http bearer authentication required
113
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
114
+
115
+ if (pageSize !== undefined) {
116
+ localVarQueryParameter['pageSize'] = pageSize;
117
+ }
118
+
119
+ if (pageToken !== undefined) {
120
+ localVarQueryParameter['pageToken'] = pageToken;
121
+ }
122
+
123
+ if (filter !== undefined) {
124
+ localVarQueryParameter['filter'] = filter;
125
+ }
126
+
127
+ if (search !== undefined) {
128
+ localVarQueryParameter['search'] = search;
129
+ }
130
+
131
+ if (order !== undefined) {
132
+ localVarQueryParameter['order'] = order;
133
+ }
134
+
135
+ if (expand !== undefined) {
136
+ localVarQueryParameter['expand'] = expand;
137
+ }
138
+
139
+ if (filters !== undefined) {
140
+ localVarQueryParameter['filters'] = filters;
141
+ }
142
+
143
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
144
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
145
+ }
146
+
147
+
148
+
149
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
150
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
151
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
152
+
75
153
  return {
76
154
  url: toPathString(localVarUrlObj),
77
155
  options: localVarRequestOptions,
@@ -99,6 +177,24 @@ export const PolicyPaymentMethodsApiFp = function(configuration?: Configuration)
99
177
  const localVarAxiosArgs = await localVarAxiosParamCreator.createPolicyPaymentMethod(createPolicyPaymentMethodRequestDto, authorization, options);
100
178
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
101
179
  },
180
+ /**
181
+ * List policy payment methods **Required Permissions** \"payment-management.payments.view\"
182
+ * @summary Retrieve the policy payment methods
183
+ * @param {string} [authorization] Bearer Token
184
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
185
+ * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
186
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
187
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
188
+ * @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.
189
+ * @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.
190
+ * @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.
191
+ * @param {*} [options] Override http request option.
192
+ * @throws {RequiredError}
193
+ */
194
+ 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>> {
195
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listPolicyPaymentMethods(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
196
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
197
+ },
102
198
  }
103
199
  };
104
200
 
@@ -120,6 +216,23 @@ export const PolicyPaymentMethodsApiFactory = function (configuration?: Configur
120
216
  createPolicyPaymentMethod(createPolicyPaymentMethodRequestDto: CreatePolicyPaymentMethodRequestDto, authorization?: string, options?: any): AxiosPromise<CreatePolicyPaymentMethodResponseClass> {
121
217
  return localVarFp.createPolicyPaymentMethod(createPolicyPaymentMethodRequestDto, authorization, options).then((request) => request(axios, basePath));
122
218
  },
219
+ /**
220
+ * List policy payment methods **Required Permissions** \"payment-management.payments.view\"
221
+ * @summary Retrieve the policy payment methods
222
+ * @param {string} [authorization] Bearer Token
223
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
224
+ * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
225
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
226
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
227
+ * @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.
228
+ * @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.
229
+ * @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.
230
+ * @param {*} [options] Override http request option.
231
+ * @throws {RequiredError}
232
+ */
233
+ listPolicyPaymentMethods(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListPolicyPaymentMethodsResponseClass> {
234
+ return localVarFp.listPolicyPaymentMethods(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
235
+ },
123
236
  };
124
237
  };
125
238
 
@@ -144,6 +257,69 @@ export interface PolicyPaymentMethodsApiCreatePolicyPaymentMethodRequest {
144
257
  readonly authorization?: string
145
258
  }
146
259
 
260
+ /**
261
+ * Request parameters for listPolicyPaymentMethods operation in PolicyPaymentMethodsApi.
262
+ * @export
263
+ * @interface PolicyPaymentMethodsApiListPolicyPaymentMethodsRequest
264
+ */
265
+ export interface PolicyPaymentMethodsApiListPolicyPaymentMethodsRequest {
266
+ /**
267
+ * Bearer Token
268
+ * @type {string}
269
+ * @memberof PolicyPaymentMethodsApiListPolicyPaymentMethods
270
+ */
271
+ readonly authorization?: string
272
+
273
+ /**
274
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
275
+ * @type {number}
276
+ * @memberof PolicyPaymentMethodsApiListPolicyPaymentMethods
277
+ */
278
+ readonly pageSize?: number
279
+
280
+ /**
281
+ * 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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
282
+ * @type {string}
283
+ * @memberof PolicyPaymentMethodsApiListPolicyPaymentMethods
284
+ */
285
+ readonly pageToken?: string
286
+
287
+ /**
288
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
289
+ * @type {string}
290
+ * @memberof PolicyPaymentMethodsApiListPolicyPaymentMethods
291
+ */
292
+ readonly filter?: string
293
+
294
+ /**
295
+ * To search the list by any field, pass search&#x3D;xxx to fetch the result.
296
+ * @type {string}
297
+ * @memberof PolicyPaymentMethodsApiListPolicyPaymentMethods
298
+ */
299
+ readonly search?: string
300
+
301
+ /**
302
+ * 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.
303
+ * @type {string}
304
+ * @memberof PolicyPaymentMethodsApiListPolicyPaymentMethods
305
+ */
306
+ readonly order?: string
307
+
308
+ /**
309
+ * 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.
310
+ * @type {string}
311
+ * @memberof PolicyPaymentMethodsApiListPolicyPaymentMethods
312
+ */
313
+ readonly expand?: string
314
+
315
+ /**
316
+ * 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.
317
+ * @type {string}
318
+ * @memberof PolicyPaymentMethodsApiListPolicyPaymentMethods
319
+ */
320
+ readonly filters?: string
321
+ }
322
+
147
323
  /**
148
324
  * PolicyPaymentMethodsApi - object-oriented interface
149
325
  * @export
@@ -162,4 +338,16 @@ export class PolicyPaymentMethodsApi extends BaseAPI {
162
338
  public createPolicyPaymentMethod(requestParameters: PolicyPaymentMethodsApiCreatePolicyPaymentMethodRequest, options?: AxiosRequestConfig) {
163
339
  return PolicyPaymentMethodsApiFp(this.configuration).createPolicyPaymentMethod(requestParameters.createPolicyPaymentMethodRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
164
340
  }
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
+ public listPolicyPaymentMethods(requestParameters: PolicyPaymentMethodsApiListPolicyPaymentMethodsRequest = {}, options?: AxiosRequestConfig) {
351
+ 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));
352
+ }
165
353
  }
@@ -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&#x3D;1, your subsequent call can include pageToken&#x3D;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&#x3D;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&#x3D;1, your subsequent call can include pageToken&#x3D;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&#x3D;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&#x3D;1, your subsequent call can include pageToken&#x3D;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&#x3D;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&#x3D;1, your subsequent call can include pageToken&#x3D;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&#x3D;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
  }
@@ -141,6 +141,78 @@ var PolicyPaymentMethodsApiAxiosParamCreator = function (configuration) {
141
141
  });
142
142
  });
143
143
  },
144
+ /**
145
+ * List policy payment methods **Required Permissions** \"payment-management.payments.view\"
146
+ * @summary Retrieve the policy payment methods
147
+ * @param {string} [authorization] Bearer Token
148
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
149
+ * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
150
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
151
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
152
+ * @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.
153
+ * @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.
154
+ * @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.
155
+ * @param {*} [options] Override http request option.
156
+ * @throws {RequiredError}
157
+ */
158
+ listPolicyPaymentMethods: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
159
+ if (options === void 0) { options = {}; }
160
+ return __awaiter(_this, void 0, void 0, function () {
161
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
162
+ return __generator(this, function (_a) {
163
+ switch (_a.label) {
164
+ case 0:
165
+ localVarPath = "/paymentservice/v1/policy-payment-methods";
166
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
167
+ if (configuration) {
168
+ baseOptions = configuration.baseOptions;
169
+ baseAccessToken = configuration.accessToken;
170
+ }
171
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
172
+ localVarHeaderParameter = {};
173
+ localVarQueryParameter = {};
174
+ // authentication bearer required
175
+ // http bearer authentication required
176
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
177
+ case 1:
178
+ // authentication bearer required
179
+ // http bearer authentication required
180
+ _a.sent();
181
+ if (pageSize !== undefined) {
182
+ localVarQueryParameter['pageSize'] = pageSize;
183
+ }
184
+ if (pageToken !== undefined) {
185
+ localVarQueryParameter['pageToken'] = pageToken;
186
+ }
187
+ if (filter !== undefined) {
188
+ localVarQueryParameter['filter'] = filter;
189
+ }
190
+ if (search !== undefined) {
191
+ localVarQueryParameter['search'] = search;
192
+ }
193
+ if (order !== undefined) {
194
+ localVarQueryParameter['order'] = order;
195
+ }
196
+ if (expand !== undefined) {
197
+ localVarQueryParameter['expand'] = expand;
198
+ }
199
+ if (filters !== undefined) {
200
+ localVarQueryParameter['filters'] = filters;
201
+ }
202
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
203
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
204
+ }
205
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
206
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
207
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
208
+ return [2 /*return*/, {
209
+ url: (0, common_1.toPathString)(localVarUrlObj),
210
+ options: localVarRequestOptions,
211
+ }];
212
+ }
213
+ });
214
+ });
215
+ },
144
216
  };
145
217
  };
146
218
  exports.PolicyPaymentMethodsApiAxiosParamCreator = PolicyPaymentMethodsApiAxiosParamCreator;
@@ -172,6 +244,33 @@ var PolicyPaymentMethodsApiFp = function (configuration) {
172
244
  });
173
245
  });
174
246
  },
247
+ /**
248
+ * List policy payment methods **Required Permissions** \"payment-management.payments.view\"
249
+ * @summary Retrieve the policy payment methods
250
+ * @param {string} [authorization] Bearer Token
251
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
252
+ * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
253
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
254
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
255
+ * @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.
256
+ * @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.
257
+ * @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.
258
+ * @param {*} [options] Override http request option.
259
+ * @throws {RequiredError}
260
+ */
261
+ listPolicyPaymentMethods: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
262
+ return __awaiter(this, void 0, void 0, function () {
263
+ var localVarAxiosArgs;
264
+ return __generator(this, function (_a) {
265
+ switch (_a.label) {
266
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listPolicyPaymentMethods(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
267
+ case 1:
268
+ localVarAxiosArgs = _a.sent();
269
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
270
+ }
271
+ });
272
+ });
273
+ },
175
274
  };
176
275
  };
177
276
  exports.PolicyPaymentMethodsApiFp = PolicyPaymentMethodsApiFp;
@@ -193,6 +292,23 @@ var PolicyPaymentMethodsApiFactory = function (configuration, basePath, axios) {
193
292
  createPolicyPaymentMethod: function (createPolicyPaymentMethodRequestDto, authorization, options) {
194
293
  return localVarFp.createPolicyPaymentMethod(createPolicyPaymentMethodRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
195
294
  },
295
+ /**
296
+ * List policy payment methods **Required Permissions** \"payment-management.payments.view\"
297
+ * @summary Retrieve the policy payment methods
298
+ * @param {string} [authorization] Bearer Token
299
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
300
+ * @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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
301
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
302
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
303
+ * @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.
304
+ * @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.
305
+ * @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.
306
+ * @param {*} [options] Override http request option.
307
+ * @throws {RequiredError}
308
+ */
309
+ listPolicyPaymentMethods: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
310
+ return localVarFp.listPolicyPaymentMethods(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
311
+ },
196
312
  };
197
313
  };
198
314
  exports.PolicyPaymentMethodsApiFactory = PolicyPaymentMethodsApiFactory;
@@ -219,6 +335,19 @@ var PolicyPaymentMethodsApi = /** @class */ (function (_super) {
219
335
  var _this = this;
220
336
  return (0, exports.PolicyPaymentMethodsApiFp)(this.configuration).createPolicyPaymentMethod(requestParameters.createPolicyPaymentMethodRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
221
337
  };
338
+ /**
339
+ * List policy payment methods **Required Permissions** \"payment-management.payments.view\"
340
+ * @summary Retrieve the policy payment methods
341
+ * @param {PolicyPaymentMethodsApiListPolicyPaymentMethodsRequest} requestParameters Request parameters.
342
+ * @param {*} [options] Override http request option.
343
+ * @throws {RequiredError}
344
+ * @memberof PolicyPaymentMethodsApi
345
+ */
346
+ PolicyPaymentMethodsApi.prototype.listPolicyPaymentMethods = function (requestParameters, options) {
347
+ var _this = this;
348
+ if (requestParameters === void 0) { requestParameters = {}; }
349
+ 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); });
350
+ };
222
351
  return PolicyPaymentMethodsApi;
223
352
  }(base_1.BaseAPI));
224
353
  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}