@emilgroup/payment-sdk-node 1.21.1-beta.9 → 1.21.1-beta.90

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.
Files changed (154) hide show
  1. package/.openapi-generator/FILES +25 -1
  2. package/README.md +2 -2
  3. package/api/bank-accounts-api.ts +55 -13
  4. package/api/bank-orders-api.ts +695 -0
  5. package/api/bank-transaction-api.ts +63 -52
  6. package/api/exceeding-credits-api.ts +353 -0
  7. package/api/payment-methods-api.ts +59 -17
  8. package/api/payment-reminders-api.ts +55 -13
  9. package/api/payments-api.ts +188 -21
  10. package/api/policy-payment-methods-api.ts +169 -0
  11. package/api/refunds-api.ts +45 -17
  12. package/api/tenant-bank-account-api.ts +45 -17
  13. package/api.ts +6 -0
  14. package/base.ts +45 -3
  15. package/dist/api/bank-accounts-api.d.ts +35 -8
  16. package/dist/api/bank-accounts-api.js +29 -11
  17. package/dist/api/bank-orders-api.d.ts +393 -0
  18. package/dist/api/bank-orders-api.js +646 -0
  19. package/dist/api/bank-transaction-api.d.ts +43 -35
  20. package/dist/api/bank-transaction-api.js +39 -34
  21. package/dist/api/exceeding-credits-api.d.ts +206 -0
  22. package/dist/api/exceeding-credits-api.js +356 -0
  23. package/dist/api/payment-methods-api.d.ts +39 -12
  24. package/dist/api/payment-methods-api.js +32 -14
  25. package/dist/api/payment-reminders-api.d.ts +35 -8
  26. package/dist/api/payment-reminders-api.js +29 -11
  27. package/dist/api/payments-api.d.ts +112 -16
  28. package/dist/api/payments-api.js +141 -18
  29. package/dist/api/policy-payment-methods-api.d.ts +97 -0
  30. package/dist/api/policy-payment-methods-api.js +228 -0
  31. package/dist/api/refunds-api.d.ts +28 -10
  32. package/dist/api/refunds-api.js +24 -12
  33. package/dist/api/tenant-bank-account-api.d.ts +28 -10
  34. package/dist/api/tenant-bank-account-api.js +24 -12
  35. package/dist/api.d.ts +3 -0
  36. package/dist/api.js +3 -0
  37. package/dist/base.d.ts +11 -2
  38. package/dist/base.js +42 -3
  39. package/dist/models/bank-order-class.d.ts +115 -0
  40. package/dist/models/bank-transaction-class-without-expand-properties.d.ts +18 -18
  41. package/dist/models/bank-transaction-class-without-expand-properties.js +5 -0
  42. package/dist/models/bank-transaction-class.d.ts +22 -22
  43. package/dist/models/bank-transaction-class.js +5 -0
  44. package/dist/models/bank-transaction-invoice-class.d.ts +60 -0
  45. package/dist/models/bank-transaction-invoice-class.js +15 -0
  46. package/dist/models/bank-transfer-dto.d.ts +25 -0
  47. package/dist/models/bank-transfer-dto.js +15 -0
  48. package/dist/models/billing-address-dto.d.ts +54 -0
  49. package/dist/models/billing-address-dto.js +15 -0
  50. package/dist/models/complete-adyen-payment-setup-request-dto.d.ts +2 -0
  51. package/dist/models/complete-adyen-payment-setup-request-dto.js +3 -1
  52. package/dist/models/complete-eis-payment-setup-request-dto.d.ts +36 -0
  53. package/dist/models/complete-eis-payment-setup-request-dto.js +15 -0
  54. package/dist/models/complete-payment-setup-request-dto.d.ts +7 -0
  55. package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +2 -0
  56. package/dist/models/complete-stripe-payment-setup-request-dto.js +3 -1
  57. package/dist/models/create-bank-order-request-dto.d.ts +74 -0
  58. package/dist/models/create-bank-order-request-dto.js +28 -0
  59. package/dist/models/create-bank-order-response-class.d.ts +25 -0
  60. package/dist/models/create-bank-order-response-class.js +15 -0
  61. package/dist/models/create-payment-order-dto.d.ts +48 -0
  62. package/dist/models/create-payment-order-dto.js +15 -0
  63. package/dist/models/create-payment-order-request-dto.d.ts +48 -0
  64. package/dist/models/create-payment-order-request-dto.js +15 -0
  65. package/dist/models/create-payment-reminder-request-dto.d.ts +7 -1
  66. package/dist/models/create-payment-request-dto.d.ts +7 -1
  67. package/dist/models/create-policy-payment-method-request-dto.d.ts +30 -0
  68. package/dist/models/create-policy-payment-method-request-dto.js +15 -0
  69. package/dist/models/create-policy-payment-method-response-class.d.ts +25 -0
  70. package/dist/models/create-policy-payment-method-response-class.js +15 -0
  71. package/dist/models/create-psp-payment-method-request-dto.d.ts +22 -1
  72. package/dist/models/create-psp-payment-method-request-dto.js +3 -1
  73. package/dist/models/deactivated-payment-reminder-class.d.ts +7 -1
  74. package/dist/models/exceeding-credit-class.d.ts +116 -0
  75. package/dist/models/exceeding-credit-class.js +29 -0
  76. package/dist/models/financial-account-class.d.ts +111 -0
  77. package/dist/models/financial-account-class.js +24 -0
  78. package/dist/models/get-bank-order-response-class.d.ts +25 -0
  79. package/dist/models/get-bank-order-response-class.js +15 -0
  80. package/dist/models/get-exceeding-credit-response-class.d.ts +25 -0
  81. package/dist/models/get-exceeding-credit-response-class.js +15 -0
  82. package/dist/models/index.d.ts +22 -1
  83. package/dist/models/index.js +22 -1
  84. package/dist/models/initiate-adyen-payment-setup-request-dto.d.ts +6 -0
  85. package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +6 -0
  86. package/dist/models/initiate-eis-payment-setup-request-dto.d.ts +36 -0
  87. package/dist/models/initiate-eis-payment-setup-request-dto.js +15 -0
  88. package/dist/models/initiate-payment-setup-request-dto.d.ts +3 -2
  89. package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +6 -0
  90. package/dist/models/{unlink-bank-transaction-request-dto-rest.d.ts → invoice-allocation-dto.d.ts} +10 -4
  91. package/dist/models/invoice-allocation-dto.js +15 -0
  92. package/dist/models/link-bank-transaction-request-dto-rest.d.ts +4 -3
  93. package/dist/models/list-bank-orders-response-class.d.ts +31 -0
  94. package/dist/models/list-bank-orders-response-class.js +15 -0
  95. package/dist/models/list-exceeding-credits-response-class.d.ts +31 -0
  96. package/dist/models/list-exceeding-credits-response-class.js +15 -0
  97. package/dist/models/payment-class-without-expand-properties.d.ts +7 -1
  98. package/dist/models/payment-class.d.ts +7 -1
  99. package/dist/models/payment-method-class.d.ts +6 -0
  100. package/dist/models/payment-reminder-class.d.ts +7 -1
  101. package/dist/models/policy-payment-method-class.d.ts +73 -0
  102. package/dist/models/policy-payment-method-class.js +15 -0
  103. package/dist/models/refund-class.d.ts +7 -1
  104. package/dist/models/unlinked-bank-transaction-response-class.d.ts +18 -0
  105. package/dist/models/unlinked-bank-transaction-response-class.js +5 -0
  106. package/dist/models/update-bank-order-request-dto.d.ts +62 -0
  107. package/dist/models/update-bank-order-request-dto.js +23 -0
  108. package/dist/models/update-bank-order-response-class.d.ts +25 -0
  109. package/dist/models/update-bank-order-response-class.js +15 -0
  110. package/models/bank-order-class.ts +121 -0
  111. package/models/bank-transaction-class-without-expand-properties.ts +21 -18
  112. package/models/bank-transaction-class.ts +25 -22
  113. package/models/bank-transaction-invoice-class.ts +66 -0
  114. package/models/bank-transfer-dto.ts +31 -0
  115. package/models/billing-address-dto.ts +60 -0
  116. package/models/complete-adyen-payment-setup-request-dto.ts +3 -1
  117. package/models/complete-eis-payment-setup-request-dto.ts +42 -0
  118. package/models/complete-payment-setup-request-dto.ts +7 -0
  119. package/models/complete-stripe-payment-setup-request-dto.ts +3 -1
  120. package/models/create-bank-order-request-dto.ts +84 -0
  121. package/models/create-bank-order-response-class.ts +31 -0
  122. package/models/create-payment-order-dto.ts +54 -0
  123. package/models/create-payment-order-request-dto.ts +54 -0
  124. package/models/create-payment-reminder-request-dto.ts +7 -1
  125. package/models/create-payment-request-dto.ts +7 -1
  126. package/models/create-policy-payment-method-request-dto.ts +36 -0
  127. package/models/create-policy-payment-method-response-class.ts +31 -0
  128. package/models/create-psp-payment-method-request-dto.ts +23 -2
  129. package/models/deactivated-payment-reminder-class.ts +7 -1
  130. package/models/exceeding-credit-class.ts +125 -0
  131. package/models/financial-account-class.ts +120 -0
  132. package/models/get-bank-order-response-class.ts +31 -0
  133. package/models/get-exceeding-credit-response-class.ts +31 -0
  134. package/models/index.ts +22 -1
  135. package/models/initiate-adyen-payment-setup-request-dto.ts +6 -0
  136. package/models/initiate-braintree-payment-setup-request-dto.ts +6 -0
  137. package/models/initiate-eis-payment-setup-request-dto.ts +42 -0
  138. package/models/initiate-payment-setup-request-dto.ts +3 -2
  139. package/models/initiate-stripe-payment-setup-request-dto.ts +6 -0
  140. package/models/{unlink-bank-transaction-request-dto-rest.ts → invoice-allocation-dto.ts} +10 -4
  141. package/models/link-bank-transaction-request-dto-rest.ts +4 -3
  142. package/models/list-bank-orders-response-class.ts +37 -0
  143. package/models/list-exceeding-credits-response-class.ts +37 -0
  144. package/models/payment-class-without-expand-properties.ts +7 -1
  145. package/models/payment-class.ts +7 -1
  146. package/models/payment-method-class.ts +6 -0
  147. package/models/payment-reminder-class.ts +7 -1
  148. package/models/policy-payment-method-class.ts +79 -0
  149. package/models/refund-class.ts +7 -1
  150. package/models/unlinked-bank-transaction-response-class.ts +21 -0
  151. package/models/update-bank-order-request-dto.ts +71 -0
  152. package/models/update-bank-order-response-class.ts +31 -0
  153. package/package.json +1 -1
  154. /package/dist/models/{unlink-bank-transaction-request-dto-rest.js → bank-order-class.js} +0 -0
@@ -0,0 +1,353 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Emil Payment Service
5
+ * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import globalAxios, { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
17
+ import { Configuration } from '../configuration';
18
+ // Some imports not used depending on template conditions
19
+ // @ts-ignore
20
+ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
21
+ // @ts-ignore
22
+ import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
23
+ // @ts-ignore
24
+ import { GetExceedingCreditResponseClass } from '../models';
25
+ // @ts-ignore
26
+ import { ListExceedingCreditsResponseClass } from '../models';
27
+ // URLSearchParams not necessarily used
28
+ // @ts-ignore
29
+ import { URL, URLSearchParams } from 'url';
30
+ const FormData = require('form-data');
31
+ /**
32
+ * ExceedingCreditsApi - axios parameter creator
33
+ * @export
34
+ */
35
+ export const ExceedingCreditsApiAxiosParamCreator = function (configuration?: Configuration) {
36
+ return {
37
+ /**
38
+ * Retrieves the details of the exceeding credit that was previously created. Supply the unique exceeding credit code that was returned when you created it and Emil Api will return the corresponding exceeding credit information. **Required Permissions** \"payment-management.payments.view\"
39
+ * @summary Retrieve the exceeding credit
40
+ * @param {string} code Code of the exceeding credit to get
41
+ * @param {string} [authorization] Bearer Token
42
+ * @param {*} [options] Override http request option.
43
+ * @throws {RequiredError}
44
+ */
45
+ getExceedingCredit: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
46
+ // verify required parameter 'code' is not null or undefined
47
+ assertParamExists('getExceedingCredit', 'code', code)
48
+ const localVarPath = `/paymentservice/v1/exceeding-credits/{code}`
49
+ .replace(`{${"code"}}`, encodeURIComponent(String(code)));
50
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
51
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
52
+ let baseOptions;
53
+ let baseAccessToken;
54
+ if (configuration) {
55
+ baseOptions = configuration.baseOptions;
56
+ baseAccessToken = configuration.accessToken;
57
+ }
58
+
59
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
60
+ const localVarHeaderParameter = {} as any;
61
+ const localVarQueryParameter = {} as any;
62
+
63
+ // authentication bearer required
64
+ // http bearer authentication required
65
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
66
+
67
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
68
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
69
+ }
70
+
71
+
72
+
73
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
74
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
75
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
76
+
77
+ return {
78
+ url: toPathString(localVarUrlObj),
79
+ options: localVarRequestOptions,
80
+ };
81
+ },
82
+ /**
83
+ * Returns a list of exceeding credits you have previously created. The exceeding credits are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
84
+ * @summary List exceeding credits
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&#x3D;1, your subsequent call can include pageToken&#x3D;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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, policyCode, bankTransactionCode, invoiceCode&lt;/i&gt;
89
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: code, policyCode, bankTransactionCode, invoiceCode&lt;/i&gt;
90
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, updatedAt&lt;/i&gt;
91
+ * @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.&lt;br/&gt; &lt;br/&gt;
92
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, policyCode, bankTransactionCode, invoiceCode&lt;/i&gt;
93
+ * @param {*} [options] Override http request option.
94
+ * @throws {RequiredError}
95
+ */
96
+ listExceedingCredits: 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/exceeding-credits`;
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
+
153
+ return {
154
+ url: toPathString(localVarUrlObj),
155
+ options: localVarRequestOptions,
156
+ };
157
+ },
158
+ }
159
+ };
160
+
161
+ /**
162
+ * ExceedingCreditsApi - functional programming interface
163
+ * @export
164
+ */
165
+ export const ExceedingCreditsApiFp = function(configuration?: Configuration) {
166
+ const localVarAxiosParamCreator = ExceedingCreditsApiAxiosParamCreator(configuration)
167
+ return {
168
+ /**
169
+ * Retrieves the details of the exceeding credit that was previously created. Supply the unique exceeding credit code that was returned when you created it and Emil Api will return the corresponding exceeding credit information. **Required Permissions** \"payment-management.payments.view\"
170
+ * @summary Retrieve the exceeding credit
171
+ * @param {string} code Code of the exceeding credit to get
172
+ * @param {string} [authorization] Bearer Token
173
+ * @param {*} [options] Override http request option.
174
+ * @throws {RequiredError}
175
+ */
176
+ async getExceedingCredit(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetExceedingCreditResponseClass>> {
177
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getExceedingCredit(code, authorization, options);
178
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
179
+ },
180
+ /**
181
+ * Returns a list of exceeding credits you have previously created. The exceeding credits are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
182
+ * @summary List exceeding credits
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, policyCode, bankTransactionCode, invoiceCode&lt;/i&gt;
187
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: code, policyCode, bankTransactionCode, invoiceCode&lt;/i&gt;
188
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, updatedAt&lt;/i&gt;
189
+ * @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.&lt;br/&gt; &lt;br/&gt;
190
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, policyCode, bankTransactionCode, invoiceCode&lt;/i&gt;
191
+ * @param {*} [options] Override http request option.
192
+ * @throws {RequiredError}
193
+ */
194
+ async listExceedingCredits(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListExceedingCreditsResponseClass>> {
195
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listExceedingCredits(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
196
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
197
+ },
198
+ }
199
+ };
200
+
201
+ /**
202
+ * ExceedingCreditsApi - factory interface
203
+ * @export
204
+ */
205
+ export const ExceedingCreditsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
206
+ const localVarFp = ExceedingCreditsApiFp(configuration)
207
+ return {
208
+ /**
209
+ * Retrieves the details of the exceeding credit that was previously created. Supply the unique exceeding credit code that was returned when you created it and Emil Api will return the corresponding exceeding credit information. **Required Permissions** \"payment-management.payments.view\"
210
+ * @summary Retrieve the exceeding credit
211
+ * @param {string} code Code of the exceeding credit to get
212
+ * @param {string} [authorization] Bearer Token
213
+ * @param {*} [options] Override http request option.
214
+ * @throws {RequiredError}
215
+ */
216
+ getExceedingCredit(code: string, authorization?: string, options?: any): AxiosPromise<GetExceedingCreditResponseClass> {
217
+ return localVarFp.getExceedingCredit(code, authorization, options).then((request) => request(axios, basePath));
218
+ },
219
+ /**
220
+ * Returns a list of exceeding credits you have previously created. The exceeding credits are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
221
+ * @summary List exceeding credits
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, policyCode, bankTransactionCode, invoiceCode&lt;/i&gt;
226
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: code, policyCode, bankTransactionCode, invoiceCode&lt;/i&gt;
227
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, updatedAt&lt;/i&gt;
228
+ * @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.&lt;br/&gt; &lt;br/&gt;
229
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, policyCode, bankTransactionCode, invoiceCode&lt;/i&gt;
230
+ * @param {*} [options] Override http request option.
231
+ * @throws {RequiredError}
232
+ */
233
+ listExceedingCredits(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListExceedingCreditsResponseClass> {
234
+ return localVarFp.listExceedingCredits(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
235
+ },
236
+ };
237
+ };
238
+
239
+ /**
240
+ * Request parameters for getExceedingCredit operation in ExceedingCreditsApi.
241
+ * @export
242
+ * @interface ExceedingCreditsApiGetExceedingCreditRequest
243
+ */
244
+ export interface ExceedingCreditsApiGetExceedingCreditRequest {
245
+ /**
246
+ * Code of the exceeding credit to get
247
+ * @type {string}
248
+ * @memberof ExceedingCreditsApiGetExceedingCredit
249
+ */
250
+ readonly code: string
251
+
252
+ /**
253
+ * Bearer Token
254
+ * @type {string}
255
+ * @memberof ExceedingCreditsApiGetExceedingCredit
256
+ */
257
+ readonly authorization?: string
258
+ }
259
+
260
+ /**
261
+ * Request parameters for listExceedingCredits operation in ExceedingCreditsApi.
262
+ * @export
263
+ * @interface ExceedingCreditsApiListExceedingCreditsRequest
264
+ */
265
+ export interface ExceedingCreditsApiListExceedingCreditsRequest {
266
+ /**
267
+ * Bearer Token
268
+ * @type {string}
269
+ * @memberof ExceedingCreditsApiListExceedingCredits
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 ExceedingCreditsApiListExceedingCredits
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 ExceedingCreditsApiListExceedingCredits
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, policyCode, bankTransactionCode, invoiceCode&lt;/i&gt;
289
+ * @type {string}
290
+ * @memberof ExceedingCreditsApiListExceedingCredits
291
+ */
292
+ readonly filter?: string
293
+
294
+ /**
295
+ * Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: code, policyCode, bankTransactionCode, invoiceCode&lt;/i&gt;
296
+ * @type {string}
297
+ * @memberof ExceedingCreditsApiListExceedingCredits
298
+ */
299
+ readonly search?: string
300
+
301
+ /**
302
+ * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, updatedAt&lt;/i&gt;
303
+ * @type {string}
304
+ * @memberof ExceedingCreditsApiListExceedingCredits
305
+ */
306
+ readonly order?: string
307
+
308
+ /**
309
+ * 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.&lt;br/&gt; &lt;br/&gt;
310
+ * @type {string}
311
+ * @memberof ExceedingCreditsApiListExceedingCredits
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, policyCode, bankTransactionCode, invoiceCode&lt;/i&gt;
317
+ * @type {string}
318
+ * @memberof ExceedingCreditsApiListExceedingCredits
319
+ */
320
+ readonly filters?: string
321
+ }
322
+
323
+ /**
324
+ * ExceedingCreditsApi - object-oriented interface
325
+ * @export
326
+ * @class ExceedingCreditsApi
327
+ * @extends {BaseAPI}
328
+ */
329
+ export class ExceedingCreditsApi extends BaseAPI {
330
+ /**
331
+ * Retrieves the details of the exceeding credit that was previously created. Supply the unique exceeding credit code that was returned when you created it and Emil Api will return the corresponding exceeding credit information. **Required Permissions** \"payment-management.payments.view\"
332
+ * @summary Retrieve the exceeding credit
333
+ * @param {ExceedingCreditsApiGetExceedingCreditRequest} requestParameters Request parameters.
334
+ * @param {*} [options] Override http request option.
335
+ * @throws {RequiredError}
336
+ * @memberof ExceedingCreditsApi
337
+ */
338
+ public getExceedingCredit(requestParameters: ExceedingCreditsApiGetExceedingCreditRequest, options?: AxiosRequestConfig) {
339
+ return ExceedingCreditsApiFp(this.configuration).getExceedingCredit(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
340
+ }
341
+
342
+ /**
343
+ * Returns a list of exceeding credits you have previously created. The exceeding credits are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
344
+ * @summary List exceeding credits
345
+ * @param {ExceedingCreditsApiListExceedingCreditsRequest} requestParameters Request parameters.
346
+ * @param {*} [options] Override http request option.
347
+ * @throws {RequiredError}
348
+ * @memberof ExceedingCreditsApi
349
+ */
350
+ public listExceedingCredits(requestParameters: ExceedingCreditsApiListExceedingCreditsRequest = {}, options?: AxiosRequestConfig) {
351
+ return ExceedingCreditsApiFp(this.configuration).listExceedingCredits(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
+ }
353
+ }
@@ -134,14 +134,17 @@ export const PaymentMethodsApiAxiosParamCreator = function (configuration?: Conf
134
134
  * 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. **Required Permissions** \"payment-management.payments.view\"
135
135
  * @summary List payment methods
136
136
  * @param {string} [authorization] Bearer Token
137
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, pspCustomerId, psp, type, productSlug&lt;/i&gt;
138
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, pspCustomerId, psp, type, productSlug&lt;/i&gt;
137
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
138
+ * @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.
139
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, pspCustomerId, psp, type, productSlug, accountCode, partnerCode&lt;/i&gt;
140
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
139
141
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt&lt;/i&gt;
140
142
  * @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.&lt;br/&gt; &lt;br/&gt;
143
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, pspCustomerId, psp, type, productSlug, accountCode, partnerCode&lt;/i&gt;
141
144
  * @param {*} [options] Override http request option.
142
145
  * @throws {RequiredError}
143
146
  */
144
- listPaymentMethods: async (authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
147
+ listPaymentMethods: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
145
148
  const localVarPath = `/paymentservice/v1/payment-methods`;
146
149
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
147
150
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -160,12 +163,20 @@ export const PaymentMethodsApiAxiosParamCreator = function (configuration?: Conf
160
163
  // http bearer authentication required
161
164
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
162
165
 
166
+ if (pageSize !== undefined) {
167
+ localVarQueryParameter['pageSize'] = pageSize;
168
+ }
169
+
170
+ if (pageToken !== undefined) {
171
+ localVarQueryParameter['pageToken'] = pageToken;
172
+ }
173
+
163
174
  if (filter !== undefined) {
164
175
  localVarQueryParameter['filter'] = filter;
165
176
  }
166
177
 
167
- if (filters !== undefined) {
168
- localVarQueryParameter['filters'] = filters;
178
+ if (search !== undefined) {
179
+ localVarQueryParameter['search'] = search;
169
180
  }
170
181
 
171
182
  if (order !== undefined) {
@@ -176,6 +187,10 @@ export const PaymentMethodsApiAxiosParamCreator = function (configuration?: Conf
176
187
  localVarQueryParameter['expand'] = expand;
177
188
  }
178
189
 
190
+ if (filters !== undefined) {
191
+ localVarQueryParameter['filters'] = filters;
192
+ }
193
+
179
194
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
180
195
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
181
196
  }
@@ -229,15 +244,18 @@ export const PaymentMethodsApiFp = function(configuration?: Configuration) {
229
244
  * 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. **Required Permissions** \"payment-management.payments.view\"
230
245
  * @summary List payment methods
231
246
  * @param {string} [authorization] Bearer Token
232
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, pspCustomerId, psp, type, productSlug&lt;/i&gt;
233
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, pspCustomerId, psp, type, productSlug&lt;/i&gt;
247
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
248
+ * @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.
249
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, pspCustomerId, psp, type, productSlug, accountCode, partnerCode&lt;/i&gt;
250
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
234
251
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt&lt;/i&gt;
235
252
  * @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.&lt;br/&gt; &lt;br/&gt;
253
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, pspCustomerId, psp, type, productSlug, accountCode, partnerCode&lt;/i&gt;
236
254
  * @param {*} [options] Override http request option.
237
255
  * @throws {RequiredError}
238
256
  */
239
- async listPaymentMethods(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPaymentMethodsResponseClass>> {
240
- const localVarAxiosArgs = await localVarAxiosParamCreator.listPaymentMethods(authorization, filter, filters, order, expand, options);
257
+ async listPaymentMethods(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPaymentMethodsResponseClass>> {
258
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listPaymentMethods(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
241
259
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
242
260
  },
243
261
  }
@@ -276,15 +294,18 @@ export const PaymentMethodsApiFactory = function (configuration?: Configuration,
276
294
  * 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. **Required Permissions** \"payment-management.payments.view\"
277
295
  * @summary List payment methods
278
296
  * @param {string} [authorization] Bearer Token
279
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, pspCustomerId, psp, type, productSlug&lt;/i&gt;
280
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, pspCustomerId, psp, type, productSlug&lt;/i&gt;
297
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
298
+ * @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.
299
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, pspCustomerId, psp, type, productSlug, accountCode, partnerCode&lt;/i&gt;
300
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
281
301
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt&lt;/i&gt;
282
302
  * @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.&lt;br/&gt; &lt;br/&gt;
303
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, pspCustomerId, psp, type, productSlug, accountCode, partnerCode&lt;/i&gt;
283
304
  * @param {*} [options] Override http request option.
284
305
  * @throws {RequiredError}
285
306
  */
286
- listPaymentMethods(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListPaymentMethodsResponseClass> {
287
- return localVarFp.listPaymentMethods(authorization, filter, filters, order, expand, options).then((request) => request(axios, basePath));
307
+ listPaymentMethods(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListPaymentMethodsResponseClass> {
308
+ return localVarFp.listPaymentMethods(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
288
309
  },
289
310
  };
290
311
  };
@@ -345,18 +366,32 @@ export interface PaymentMethodsApiListPaymentMethodsRequest {
345
366
  readonly authorization?: string
346
367
 
347
368
  /**
348
- * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, pspCustomerId, psp, type, productSlug&lt;/i&gt;
369
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
370
+ * @type {number}
371
+ * @memberof PaymentMethodsApiListPaymentMethods
372
+ */
373
+ readonly pageSize?: number
374
+
375
+ /**
376
+ * 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.
377
+ * @type {string}
378
+ * @memberof PaymentMethodsApiListPaymentMethods
379
+ */
380
+ readonly pageToken?: string
381
+
382
+ /**
383
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, pspCustomerId, psp, type, productSlug, accountCode, partnerCode&lt;/i&gt;
349
384
  * @type {string}
350
385
  * @memberof PaymentMethodsApiListPaymentMethods
351
386
  */
352
387
  readonly filter?: string
353
388
 
354
389
  /**
355
- * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, pspCustomerId, psp, type, productSlug&lt;/i&gt;
390
+ * To search the list by any field, pass search&#x3D;xxx to fetch the result.
356
391
  * @type {string}
357
392
  * @memberof PaymentMethodsApiListPaymentMethods
358
393
  */
359
- readonly filters?: string
394
+ readonly search?: string
360
395
 
361
396
  /**
362
397
  * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt&lt;/i&gt;
@@ -371,6 +406,13 @@ export interface PaymentMethodsApiListPaymentMethodsRequest {
371
406
  * @memberof PaymentMethodsApiListPaymentMethods
372
407
  */
373
408
  readonly expand?: string
409
+
410
+ /**
411
+ * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, pspCustomerId, psp, type, productSlug, accountCode, partnerCode&lt;/i&gt;
412
+ * @type {string}
413
+ * @memberof PaymentMethodsApiListPaymentMethods
414
+ */
415
+ readonly filters?: string
374
416
  }
375
417
 
376
418
  /**
@@ -413,6 +455,6 @@ export class PaymentMethodsApi extends BaseAPI {
413
455
  * @memberof PaymentMethodsApi
414
456
  */
415
457
  public listPaymentMethods(requestParameters: PaymentMethodsApiListPaymentMethodsRequest = {}, options?: AxiosRequestConfig) {
416
- return PaymentMethodsApiFp(this.configuration).listPaymentMethods(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
458
+ return PaymentMethodsApiFp(this.configuration).listPaymentMethods(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
417
459
  }
418
460
  }