@emilgroup/payment-sdk-node 1.23.1-beta.2 → 1.23.1-beta.4

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 (33) hide show
  1. package/.openapi-generator/FILES +8 -0
  2. package/README.md +2 -2
  3. package/api/payment-requests-api.ts +596 -0
  4. package/api.ts +2 -0
  5. package/dist/api/payment-requests-api.d.ts +338 -0
  6. package/dist/api/payment-requests-api.js +556 -0
  7. package/dist/api.d.ts +1 -0
  8. package/dist/api.js +1 -0
  9. package/dist/models/create-payment-request-request-dto.d.ts +72 -0
  10. package/dist/models/create-payment-request-request-dto.js +26 -0
  11. package/dist/models/create-payment-request-response-class.d.ts +25 -0
  12. package/dist/models/create-payment-request-response-class.js +15 -0
  13. package/dist/models/get-payment-request-response-class.d.ts +25 -0
  14. package/dist/models/get-payment-request-response-class.js +15 -0
  15. package/dist/models/index.d.ts +7 -0
  16. package/dist/models/index.js +7 -0
  17. package/dist/models/list-payment-requests-response-class.d.ts +31 -0
  18. package/dist/models/list-payment-requests-response-class.js +15 -0
  19. package/dist/models/payment-request-class.d.ts +111 -0
  20. package/dist/models/payment-request-class.js +34 -0
  21. package/dist/models/update-payment-request-request-dto.d.ts +39 -0
  22. package/dist/models/update-payment-request-request-dto.js +24 -0
  23. package/dist/models/update-payment-request-response-class.d.ts +25 -0
  24. package/dist/models/update-payment-request-response-class.js +15 -0
  25. package/models/create-payment-request-request-dto.ts +82 -0
  26. package/models/create-payment-request-response-class.ts +31 -0
  27. package/models/get-payment-request-response-class.ts +31 -0
  28. package/models/index.ts +7 -0
  29. package/models/list-payment-requests-response-class.ts +37 -0
  30. package/models/payment-request-class.ts +122 -0
  31. package/models/update-payment-request-request-dto.ts +48 -0
  32. package/models/update-payment-request-response-class.ts +31 -0
  33. package/package.json +1 -1
package/api.ts CHANGED
@@ -33,6 +33,7 @@ import { ExceedingCreditsApi } from './api';
33
33
  import { HealthCheckApi } from './api';
34
34
  import { PaymentMethodsApi } from './api';
35
35
  import { PaymentRemindersApi } from './api';
36
+ import { PaymentRequestsApi } from './api';
36
37
  import { PaymentSetupApi } from './api';
37
38
  import { PaymentsApi } from './api';
38
39
  import { PayoutMethodsApi } from './api';
@@ -51,6 +52,7 @@ export * from './api/exceeding-credits-api';
51
52
  export * from './api/health-check-api';
52
53
  export * from './api/payment-methods-api';
53
54
  export * from './api/payment-reminders-api';
55
+ export * from './api/payment-requests-api';
54
56
  export * from './api/payment-setup-api';
55
57
  export * from './api/payments-api';
56
58
  export * from './api/payout-methods-api';
@@ -0,0 +1,338 @@
1
+ /**
2
+ * Emil Payment Service
3
+ * 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.
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
+ import { Configuration } from '../configuration';
14
+ import { RequestArgs, BaseAPI } from '../base';
15
+ import { CreatePaymentRequestRequestDto } from '../models';
16
+ import { CreatePaymentRequestResponseClass } from '../models';
17
+ import { GetPaymentRequestResponseClass } from '../models';
18
+ import { ListPaymentRequestsResponseClass } from '../models';
19
+ import { UpdatePaymentRequestRequestDto } from '../models';
20
+ import { UpdatePaymentRequestResponseClass } from '../models';
21
+ /**
22
+ * PaymentRequestsApi - axios parameter creator
23
+ * @export
24
+ */
25
+ export declare const PaymentRequestsApiAxiosParamCreator: (configuration?: Configuration) => {
26
+ /**
27
+ * This will create payment request. **Required Permissions** \"payment-management.payments.create\"
28
+ * @summary Create the payment request
29
+ * @param {CreatePaymentRequestRequestDto} createPaymentRequestRequestDto
30
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
31
+ * @param {*} [options] Override http request option.
32
+ * @throws {RequiredError}
33
+ */
34
+ createPaymentRequest: (createPaymentRequestRequestDto: CreatePaymentRequestRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
35
+ /**
36
+ * This will get payment request. **Required Permissions** \"payment-management.payments.view\"
37
+ * @summary Retrieve the payment request
38
+ * @param {string} code Unique identifier for the object.
39
+ * @param {string} expand
40
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
41
+ * @param {*} [options] Override http request option.
42
+ * @throws {RequiredError}
43
+ */
44
+ getPaymentRequest: (code: string, expand: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
45
+ /**
46
+ * Retrieves a list of paymentrequests. **Required Permissions** \"payment-management.payments.view\"
47
+ * @summary List payment requests
48
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
49
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
50
+ * @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.
51
+ * @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: id, code, type, status, direction, paymentMethodPsp, paymentMethodType, createdAt&lt;/i&gt;
52
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
53
+ * @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: createdAt&lt;/i&gt;
54
+ * @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;
55
+ * @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: id, code, type, status, direction, paymentMethodPsp, paymentMethodType, createdAt&lt;/i&gt;
56
+ * @param {*} [options] Override http request option.
57
+ * @throws {RequiredError}
58
+ */
59
+ listPaymentRequests: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
60
+ /**
61
+ * This will update payment request. **Required Permissions** \"payment-management.payments.update\"
62
+ * @summary Update the payment request
63
+ * @param {string} code Unique identifier for the object.
64
+ * @param {UpdatePaymentRequestRequestDto} updatePaymentRequestRequestDto
65
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
66
+ * @param {*} [options] Override http request option.
67
+ * @throws {RequiredError}
68
+ */
69
+ updatePaymentRequest: (code: string, updatePaymentRequestRequestDto: UpdatePaymentRequestRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
70
+ };
71
+ /**
72
+ * PaymentRequestsApi - functional programming interface
73
+ * @export
74
+ */
75
+ export declare const PaymentRequestsApiFp: (configuration?: Configuration) => {
76
+ /**
77
+ * This will create payment request. **Required Permissions** \"payment-management.payments.create\"
78
+ * @summary Create the payment request
79
+ * @param {CreatePaymentRequestRequestDto} createPaymentRequestRequestDto
80
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
81
+ * @param {*} [options] Override http request option.
82
+ * @throws {RequiredError}
83
+ */
84
+ createPaymentRequest(createPaymentRequestRequestDto: CreatePaymentRequestRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePaymentRequestResponseClass>>;
85
+ /**
86
+ * This will get payment request. **Required Permissions** \"payment-management.payments.view\"
87
+ * @summary Retrieve the payment request
88
+ * @param {string} code Unique identifier for the object.
89
+ * @param {string} expand
90
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
91
+ * @param {*} [options] Override http request option.
92
+ * @throws {RequiredError}
93
+ */
94
+ getPaymentRequest(code: string, expand: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPaymentRequestResponseClass>>;
95
+ /**
96
+ * Retrieves a list of paymentrequests. **Required Permissions** \"payment-management.payments.view\"
97
+ * @summary List payment requests
98
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
99
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
100
+ * @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.
101
+ * @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: id, code, type, status, direction, paymentMethodPsp, paymentMethodType, createdAt&lt;/i&gt;
102
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
103
+ * @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: createdAt&lt;/i&gt;
104
+ * @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;
105
+ * @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: id, code, type, status, direction, paymentMethodPsp, paymentMethodType, createdAt&lt;/i&gt;
106
+ * @param {*} [options] Override http request option.
107
+ * @throws {RequiredError}
108
+ */
109
+ listPaymentRequests(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPaymentRequestsResponseClass>>;
110
+ /**
111
+ * This will update payment request. **Required Permissions** \"payment-management.payments.update\"
112
+ * @summary Update the payment request
113
+ * @param {string} code Unique identifier for the object.
114
+ * @param {UpdatePaymentRequestRequestDto} updatePaymentRequestRequestDto
115
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
116
+ * @param {*} [options] Override http request option.
117
+ * @throws {RequiredError}
118
+ */
119
+ updatePaymentRequest(code: string, updatePaymentRequestRequestDto: UpdatePaymentRequestRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdatePaymentRequestResponseClass>>;
120
+ };
121
+ /**
122
+ * PaymentRequestsApi - factory interface
123
+ * @export
124
+ */
125
+ export declare const PaymentRequestsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
126
+ /**
127
+ * This will create payment request. **Required Permissions** \"payment-management.payments.create\"
128
+ * @summary Create the payment request
129
+ * @param {CreatePaymentRequestRequestDto} createPaymentRequestRequestDto
130
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
131
+ * @param {*} [options] Override http request option.
132
+ * @throws {RequiredError}
133
+ */
134
+ createPaymentRequest(createPaymentRequestRequestDto: CreatePaymentRequestRequestDto, authorization?: string, options?: any): AxiosPromise<CreatePaymentRequestResponseClass>;
135
+ /**
136
+ * This will get payment request. **Required Permissions** \"payment-management.payments.view\"
137
+ * @summary Retrieve the payment request
138
+ * @param {string} code Unique identifier for the object.
139
+ * @param {string} expand
140
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
141
+ * @param {*} [options] Override http request option.
142
+ * @throws {RequiredError}
143
+ */
144
+ getPaymentRequest(code: string, expand: string, authorization?: string, options?: any): AxiosPromise<GetPaymentRequestResponseClass>;
145
+ /**
146
+ * Retrieves a list of paymentrequests. **Required Permissions** \"payment-management.payments.view\"
147
+ * @summary List payment requests
148
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
149
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
150
+ * @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.
151
+ * @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: id, code, type, status, direction, paymentMethodPsp, paymentMethodType, createdAt&lt;/i&gt;
152
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
153
+ * @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: createdAt&lt;/i&gt;
154
+ * @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;
155
+ * @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: id, code, type, status, direction, paymentMethodPsp, paymentMethodType, createdAt&lt;/i&gt;
156
+ * @param {*} [options] Override http request option.
157
+ * @throws {RequiredError}
158
+ */
159
+ listPaymentRequests(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListPaymentRequestsResponseClass>;
160
+ /**
161
+ * This will update payment request. **Required Permissions** \"payment-management.payments.update\"
162
+ * @summary Update the payment request
163
+ * @param {string} code Unique identifier for the object.
164
+ * @param {UpdatePaymentRequestRequestDto} updatePaymentRequestRequestDto
165
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
166
+ * @param {*} [options] Override http request option.
167
+ * @throws {RequiredError}
168
+ */
169
+ updatePaymentRequest(code: string, updatePaymentRequestRequestDto: UpdatePaymentRequestRequestDto, authorization?: string, options?: any): AxiosPromise<UpdatePaymentRequestResponseClass>;
170
+ };
171
+ /**
172
+ * Request parameters for createPaymentRequest operation in PaymentRequestsApi.
173
+ * @export
174
+ * @interface PaymentRequestsApiCreatePaymentRequestRequest
175
+ */
176
+ export interface PaymentRequestsApiCreatePaymentRequestRequest {
177
+ /**
178
+ *
179
+ * @type {CreatePaymentRequestRequestDto}
180
+ * @memberof PaymentRequestsApiCreatePaymentRequest
181
+ */
182
+ readonly createPaymentRequestRequestDto: CreatePaymentRequestRequestDto;
183
+ /**
184
+ * Bearer Token: provided by the login endpoint under the name accessToken.
185
+ * @type {string}
186
+ * @memberof PaymentRequestsApiCreatePaymentRequest
187
+ */
188
+ readonly authorization?: string;
189
+ }
190
+ /**
191
+ * Request parameters for getPaymentRequest operation in PaymentRequestsApi.
192
+ * @export
193
+ * @interface PaymentRequestsApiGetPaymentRequestRequest
194
+ */
195
+ export interface PaymentRequestsApiGetPaymentRequestRequest {
196
+ /**
197
+ * Unique identifier for the object.
198
+ * @type {string}
199
+ * @memberof PaymentRequestsApiGetPaymentRequest
200
+ */
201
+ readonly code: string;
202
+ /**
203
+ *
204
+ * @type {string}
205
+ * @memberof PaymentRequestsApiGetPaymentRequest
206
+ */
207
+ readonly expand: string;
208
+ /**
209
+ * Bearer Token: provided by the login endpoint under the name accessToken.
210
+ * @type {string}
211
+ * @memberof PaymentRequestsApiGetPaymentRequest
212
+ */
213
+ readonly authorization?: string;
214
+ }
215
+ /**
216
+ * Request parameters for listPaymentRequests operation in PaymentRequestsApi.
217
+ * @export
218
+ * @interface PaymentRequestsApiListPaymentRequestsRequest
219
+ */
220
+ export interface PaymentRequestsApiListPaymentRequestsRequest {
221
+ /**
222
+ * Bearer Token: provided by the login endpoint under the name accessToken.
223
+ * @type {string}
224
+ * @memberof PaymentRequestsApiListPaymentRequests
225
+ */
226
+ readonly authorization?: string;
227
+ /**
228
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
229
+ * @type {number}
230
+ * @memberof PaymentRequestsApiListPaymentRequests
231
+ */
232
+ readonly pageSize?: number;
233
+ /**
234
+ * 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.
235
+ * @type {string}
236
+ * @memberof PaymentRequestsApiListPaymentRequests
237
+ */
238
+ readonly pageToken?: string;
239
+ /**
240
+ * 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: id, code, type, status, direction, paymentMethodPsp, paymentMethodType, createdAt&lt;/i&gt;
241
+ * @type {string}
242
+ * @memberof PaymentRequestsApiListPaymentRequests
243
+ */
244
+ readonly filter?: string;
245
+ /**
246
+ * To search the list by any field, pass search&#x3D;xxx to fetch the result.
247
+ * @type {string}
248
+ * @memberof PaymentRequestsApiListPaymentRequests
249
+ */
250
+ readonly search?: string;
251
+ /**
252
+ * 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: createdAt&lt;/i&gt;
253
+ * @type {string}
254
+ * @memberof PaymentRequestsApiListPaymentRequests
255
+ */
256
+ readonly order?: string;
257
+ /**
258
+ * 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;
259
+ * @type {string}
260
+ * @memberof PaymentRequestsApiListPaymentRequests
261
+ */
262
+ readonly expand?: string;
263
+ /**
264
+ * 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: id, code, type, status, direction, paymentMethodPsp, paymentMethodType, createdAt&lt;/i&gt;
265
+ * @type {string}
266
+ * @memberof PaymentRequestsApiListPaymentRequests
267
+ */
268
+ readonly filters?: string;
269
+ }
270
+ /**
271
+ * Request parameters for updatePaymentRequest operation in PaymentRequestsApi.
272
+ * @export
273
+ * @interface PaymentRequestsApiUpdatePaymentRequestRequest
274
+ */
275
+ export interface PaymentRequestsApiUpdatePaymentRequestRequest {
276
+ /**
277
+ * Unique identifier for the object.
278
+ * @type {string}
279
+ * @memberof PaymentRequestsApiUpdatePaymentRequest
280
+ */
281
+ readonly code: string;
282
+ /**
283
+ *
284
+ * @type {UpdatePaymentRequestRequestDto}
285
+ * @memberof PaymentRequestsApiUpdatePaymentRequest
286
+ */
287
+ readonly updatePaymentRequestRequestDto: UpdatePaymentRequestRequestDto;
288
+ /**
289
+ * Bearer Token: provided by the login endpoint under the name accessToken.
290
+ * @type {string}
291
+ * @memberof PaymentRequestsApiUpdatePaymentRequest
292
+ */
293
+ readonly authorization?: string;
294
+ }
295
+ /**
296
+ * PaymentRequestsApi - object-oriented interface
297
+ * @export
298
+ * @class PaymentRequestsApi
299
+ * @extends {BaseAPI}
300
+ */
301
+ export declare class PaymentRequestsApi extends BaseAPI {
302
+ /**
303
+ * This will create payment request. **Required Permissions** \"payment-management.payments.create\"
304
+ * @summary Create the payment request
305
+ * @param {PaymentRequestsApiCreatePaymentRequestRequest} requestParameters Request parameters.
306
+ * @param {*} [options] Override http request option.
307
+ * @throws {RequiredError}
308
+ * @memberof PaymentRequestsApi
309
+ */
310
+ createPaymentRequest(requestParameters: PaymentRequestsApiCreatePaymentRequestRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePaymentRequestResponseClass, any, {}>>;
311
+ /**
312
+ * This will get payment request. **Required Permissions** \"payment-management.payments.view\"
313
+ * @summary Retrieve the payment request
314
+ * @param {PaymentRequestsApiGetPaymentRequestRequest} requestParameters Request parameters.
315
+ * @param {*} [options] Override http request option.
316
+ * @throws {RequiredError}
317
+ * @memberof PaymentRequestsApi
318
+ */
319
+ getPaymentRequest(requestParameters: PaymentRequestsApiGetPaymentRequestRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPaymentRequestResponseClass, any, {}>>;
320
+ /**
321
+ * Retrieves a list of paymentrequests. **Required Permissions** \"payment-management.payments.view\"
322
+ * @summary List payment requests
323
+ * @param {PaymentRequestsApiListPaymentRequestsRequest} requestParameters Request parameters.
324
+ * @param {*} [options] Override http request option.
325
+ * @throws {RequiredError}
326
+ * @memberof PaymentRequestsApi
327
+ */
328
+ listPaymentRequests(requestParameters?: PaymentRequestsApiListPaymentRequestsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPaymentRequestsResponseClass, any, {}>>;
329
+ /**
330
+ * This will update payment request. **Required Permissions** \"payment-management.payments.update\"
331
+ * @summary Update the payment request
332
+ * @param {PaymentRequestsApiUpdatePaymentRequestRequest} requestParameters Request parameters.
333
+ * @param {*} [options] Override http request option.
334
+ * @throws {RequiredError}
335
+ * @memberof PaymentRequestsApi
336
+ */
337
+ updatePaymentRequest(requestParameters: PaymentRequestsApiUpdatePaymentRequestRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdatePaymentRequestResponseClass, any, {}>>;
338
+ }