@emilgroup/payment-sdk-node 1.23.1-beta.35 → 1.23.1-beta.37

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 (32) hide show
  1. package/.openapi-generator/FILES +7 -0
  2. package/README.md +2 -2
  3. package/api/payment-receipts-api.ts +680 -0
  4. package/api.ts +2 -0
  5. package/dist/api/payment-receipts-api.d.ts +383 -0
  6. package/dist/api/payment-receipts-api.js +641 -0
  7. package/dist/api.d.ts +1 -0
  8. package/dist/api.js +1 -0
  9. package/dist/models/create-payment-receipt-request-dto.d.ts +54 -0
  10. package/dist/models/create-payment-receipt-request-dto.js +15 -0
  11. package/dist/models/create-payment-receipt-response-class.d.ts +25 -0
  12. package/dist/models/create-payment-receipt-response-class.js +15 -0
  13. package/dist/models/get-payment-receipt-response-class.d.ts +25 -0
  14. package/dist/models/get-payment-receipt-response-class.js +15 -0
  15. package/dist/models/index.d.ts +6 -0
  16. package/dist/models/index.js +6 -0
  17. package/dist/models/list-payment-receipts-response-class.d.ts +43 -0
  18. package/dist/models/list-payment-receipts-response-class.js +15 -0
  19. package/dist/models/payment-receipt-class.d.ts +90 -0
  20. package/dist/models/payment-receipt-class.js +15 -0
  21. package/dist/models/payment-request-class.d.ts +7 -0
  22. package/dist/models/update-payment-receipt-response-class.d.ts +25 -0
  23. package/dist/models/update-payment-receipt-response-class.js +15 -0
  24. package/models/create-payment-receipt-request-dto.ts +60 -0
  25. package/models/create-payment-receipt-response-class.ts +31 -0
  26. package/models/get-payment-receipt-response-class.ts +31 -0
  27. package/models/index.ts +6 -0
  28. package/models/list-payment-receipts-response-class.ts +49 -0
  29. package/models/payment-receipt-class.ts +96 -0
  30. package/models/payment-request-class.ts +7 -0
  31. package/models/update-payment-receipt-response-class.ts +31 -0
  32. 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 { IBANValidatorApi } from './api';
35
35
  import { PaymentMethodsApi } from './api';
36
+ import { PaymentReceiptsApi } from './api';
36
37
  import { PaymentRemindersApi } from './api';
37
38
  import { PaymentRequestsApi } from './api';
38
39
  import { PaymentSetupApi } from './api';
@@ -53,6 +54,7 @@ export * from './api/exceeding-credits-api';
53
54
  export * from './api/health-check-api';
54
55
  export * from './api/ibanvalidator-api';
55
56
  export * from './api/payment-methods-api';
57
+ export * from './api/payment-receipts-api';
56
58
  export * from './api/payment-reminders-api';
57
59
  export * from './api/payment-requests-api';
58
60
  export * from './api/payment-setup-api';
@@ -0,0 +1,383 @@
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 { CreatePaymentReceiptRequestDto } from '../models';
16
+ import { CreatePaymentReceiptResponseClass } from '../models';
17
+ import { GetPaymentReceiptResponseClass } from '../models';
18
+ import { ListPaymentReceiptsResponseClass } from '../models';
19
+ import { UpdatePaymentReceiptResponseClass } from '../models';
20
+ /**
21
+ * PaymentReceiptsApi - axios parameter creator
22
+ * @export
23
+ */
24
+ export declare const PaymentReceiptsApiAxiosParamCreator: (configuration?: Configuration) => {
25
+ /**
26
+ * This will create payment receipt. **Required Permissions** \"payment-management.payments.create\"
27
+ * @summary Create the payment receipt
28
+ * @param {CreatePaymentReceiptRequestDto} createPaymentReceiptRequestDto
29
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
30
+ * @param {*} [options] Override http request option.
31
+ * @throws {RequiredError}
32
+ */
33
+ createPaymentReceipt: (createPaymentReceiptRequestDto: CreatePaymentReceiptRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
34
+ /**
35
+ * This will delete payment receipt. **Required Permissions** \"payment-management.payments.delete\"
36
+ * @summary Delete the payment receipt
37
+ * @param {string} code Unique identifier for the object.
38
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
39
+ * @param {*} [options] Override http request option.
40
+ * @throws {RequiredError}
41
+ */
42
+ deletePaymentReceipt: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
43
+ /**
44
+ * This will get payment receipt. **Required Permissions** \"payment-management.payments.view\"
45
+ * @summary Retrieve the payment receipt
46
+ * @param {string} code
47
+ * @param {string} expand
48
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
49
+ * @param {*} [options] Override http request option.
50
+ * @throws {RequiredError}
51
+ */
52
+ getPaymentReceipt: (code: string, expand: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
53
+ /**
54
+ * Retrieves a list of paymentreceipts. **Required Permissions** \"payment-management.payments.view\"
55
+ * @summary List payment receipts
56
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
57
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
58
+ * @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.
59
+ * @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, createdAt, psp, direction, paymentRequestCode, amount&lt;/i&gt;
60
+ * @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, amount, paymentRequestCode&lt;/i&gt;
61
+ * @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, amount&lt;/i&gt;
62
+ * @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;
63
+ * @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, createdAt, psp, direction, paymentRequestCode, amount&lt;/i&gt;
64
+ * @param {*} [options] Override http request option.
65
+ * @throws {RequiredError}
66
+ */
67
+ listPaymentReceipts: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
68
+ /**
69
+ * This will update payment receipt. **Required Permissions** \"payment-management.payments.update\"
70
+ * @summary Update the payment receipt
71
+ * @param {string} code
72
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
73
+ * @param {*} [options] Override http request option.
74
+ * @throws {RequiredError}
75
+ */
76
+ updatePaymentReceipt: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
77
+ };
78
+ /**
79
+ * PaymentReceiptsApi - functional programming interface
80
+ * @export
81
+ */
82
+ export declare const PaymentReceiptsApiFp: (configuration?: Configuration) => {
83
+ /**
84
+ * This will create payment receipt. **Required Permissions** \"payment-management.payments.create\"
85
+ * @summary Create the payment receipt
86
+ * @param {CreatePaymentReceiptRequestDto} createPaymentReceiptRequestDto
87
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
88
+ * @param {*} [options] Override http request option.
89
+ * @throws {RequiredError}
90
+ */
91
+ createPaymentReceipt(createPaymentReceiptRequestDto: CreatePaymentReceiptRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePaymentReceiptResponseClass>>;
92
+ /**
93
+ * This will delete payment receipt. **Required Permissions** \"payment-management.payments.delete\"
94
+ * @summary Delete the payment receipt
95
+ * @param {string} code Unique identifier for the object.
96
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
97
+ * @param {*} [options] Override http request option.
98
+ * @throws {RequiredError}
99
+ */
100
+ deletePaymentReceipt(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
101
+ /**
102
+ * This will get payment receipt. **Required Permissions** \"payment-management.payments.view\"
103
+ * @summary Retrieve the payment receipt
104
+ * @param {string} code
105
+ * @param {string} expand
106
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
107
+ * @param {*} [options] Override http request option.
108
+ * @throws {RequiredError}
109
+ */
110
+ getPaymentReceipt(code: string, expand: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPaymentReceiptResponseClass>>;
111
+ /**
112
+ * Retrieves a list of paymentreceipts. **Required Permissions** \"payment-management.payments.view\"
113
+ * @summary List payment receipts
114
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
115
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
116
+ * @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.
117
+ * @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, createdAt, psp, direction, paymentRequestCode, amount&lt;/i&gt;
118
+ * @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, amount, paymentRequestCode&lt;/i&gt;
119
+ * @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, amount&lt;/i&gt;
120
+ * @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;
121
+ * @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, createdAt, psp, direction, paymentRequestCode, amount&lt;/i&gt;
122
+ * @param {*} [options] Override http request option.
123
+ * @throws {RequiredError}
124
+ */
125
+ listPaymentReceipts(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPaymentReceiptsResponseClass>>;
126
+ /**
127
+ * This will update payment receipt. **Required Permissions** \"payment-management.payments.update\"
128
+ * @summary Update the payment receipt
129
+ * @param {string} code
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
+ updatePaymentReceipt(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdatePaymentReceiptResponseClass>>;
135
+ };
136
+ /**
137
+ * PaymentReceiptsApi - factory interface
138
+ * @export
139
+ */
140
+ export declare const PaymentReceiptsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
141
+ /**
142
+ * This will create payment receipt. **Required Permissions** \"payment-management.payments.create\"
143
+ * @summary Create the payment receipt
144
+ * @param {CreatePaymentReceiptRequestDto} createPaymentReceiptRequestDto
145
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
146
+ * @param {*} [options] Override http request option.
147
+ * @throws {RequiredError}
148
+ */
149
+ createPaymentReceipt(createPaymentReceiptRequestDto: CreatePaymentReceiptRequestDto, authorization?: string, options?: any): AxiosPromise<CreatePaymentReceiptResponseClass>;
150
+ /**
151
+ * This will delete payment receipt. **Required Permissions** \"payment-management.payments.delete\"
152
+ * @summary Delete the payment receipt
153
+ * @param {string} code Unique identifier for the object.
154
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
155
+ * @param {*} [options] Override http request option.
156
+ * @throws {RequiredError}
157
+ */
158
+ deletePaymentReceipt(code: string, authorization?: string, options?: any): AxiosPromise<void>;
159
+ /**
160
+ * This will get payment receipt. **Required Permissions** \"payment-management.payments.view\"
161
+ * @summary Retrieve the payment receipt
162
+ * @param {string} code
163
+ * @param {string} expand
164
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
165
+ * @param {*} [options] Override http request option.
166
+ * @throws {RequiredError}
167
+ */
168
+ getPaymentReceipt(code: string, expand: string, authorization?: string, options?: any): AxiosPromise<GetPaymentReceiptResponseClass>;
169
+ /**
170
+ * Retrieves a list of paymentreceipts. **Required Permissions** \"payment-management.payments.view\"
171
+ * @summary List payment receipts
172
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
173
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
174
+ * @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.
175
+ * @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, createdAt, psp, direction, paymentRequestCode, amount&lt;/i&gt;
176
+ * @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, amount, paymentRequestCode&lt;/i&gt;
177
+ * @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, amount&lt;/i&gt;
178
+ * @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;
179
+ * @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, createdAt, psp, direction, paymentRequestCode, amount&lt;/i&gt;
180
+ * @param {*} [options] Override http request option.
181
+ * @throws {RequiredError}
182
+ */
183
+ listPaymentReceipts(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListPaymentReceiptsResponseClass>;
184
+ /**
185
+ * This will update payment receipt. **Required Permissions** \"payment-management.payments.update\"
186
+ * @summary Update the payment receipt
187
+ * @param {string} code
188
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
189
+ * @param {*} [options] Override http request option.
190
+ * @throws {RequiredError}
191
+ */
192
+ updatePaymentReceipt(code: string, authorization?: string, options?: any): AxiosPromise<UpdatePaymentReceiptResponseClass>;
193
+ };
194
+ /**
195
+ * Request parameters for createPaymentReceipt operation in PaymentReceiptsApi.
196
+ * @export
197
+ * @interface PaymentReceiptsApiCreatePaymentReceiptRequest
198
+ */
199
+ export interface PaymentReceiptsApiCreatePaymentReceiptRequest {
200
+ /**
201
+ *
202
+ * @type {CreatePaymentReceiptRequestDto}
203
+ * @memberof PaymentReceiptsApiCreatePaymentReceipt
204
+ */
205
+ readonly createPaymentReceiptRequestDto: CreatePaymentReceiptRequestDto;
206
+ /**
207
+ * Bearer Token: provided by the login endpoint under the name accessToken.
208
+ * @type {string}
209
+ * @memberof PaymentReceiptsApiCreatePaymentReceipt
210
+ */
211
+ readonly authorization?: string;
212
+ }
213
+ /**
214
+ * Request parameters for deletePaymentReceipt operation in PaymentReceiptsApi.
215
+ * @export
216
+ * @interface PaymentReceiptsApiDeletePaymentReceiptRequest
217
+ */
218
+ export interface PaymentReceiptsApiDeletePaymentReceiptRequest {
219
+ /**
220
+ * Unique identifier for the object.
221
+ * @type {string}
222
+ * @memberof PaymentReceiptsApiDeletePaymentReceipt
223
+ */
224
+ readonly code: string;
225
+ /**
226
+ * Bearer Token: provided by the login endpoint under the name accessToken.
227
+ * @type {string}
228
+ * @memberof PaymentReceiptsApiDeletePaymentReceipt
229
+ */
230
+ readonly authorization?: string;
231
+ }
232
+ /**
233
+ * Request parameters for getPaymentReceipt operation in PaymentReceiptsApi.
234
+ * @export
235
+ * @interface PaymentReceiptsApiGetPaymentReceiptRequest
236
+ */
237
+ export interface PaymentReceiptsApiGetPaymentReceiptRequest {
238
+ /**
239
+ *
240
+ * @type {string}
241
+ * @memberof PaymentReceiptsApiGetPaymentReceipt
242
+ */
243
+ readonly code: string;
244
+ /**
245
+ *
246
+ * @type {string}
247
+ * @memberof PaymentReceiptsApiGetPaymentReceipt
248
+ */
249
+ readonly expand: string;
250
+ /**
251
+ * Bearer Token: provided by the login endpoint under the name accessToken.
252
+ * @type {string}
253
+ * @memberof PaymentReceiptsApiGetPaymentReceipt
254
+ */
255
+ readonly authorization?: string;
256
+ }
257
+ /**
258
+ * Request parameters for listPaymentReceipts operation in PaymentReceiptsApi.
259
+ * @export
260
+ * @interface PaymentReceiptsApiListPaymentReceiptsRequest
261
+ */
262
+ export interface PaymentReceiptsApiListPaymentReceiptsRequest {
263
+ /**
264
+ * Bearer Token: provided by the login endpoint under the name accessToken.
265
+ * @type {string}
266
+ * @memberof PaymentReceiptsApiListPaymentReceipts
267
+ */
268
+ readonly authorization?: string;
269
+ /**
270
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
271
+ * @type {number}
272
+ * @memberof PaymentReceiptsApiListPaymentReceipts
273
+ */
274
+ readonly pageSize?: number;
275
+ /**
276
+ * 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.
277
+ * @type {string}
278
+ * @memberof PaymentReceiptsApiListPaymentReceipts
279
+ */
280
+ readonly pageToken?: string;
281
+ /**
282
+ * 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, createdAt, psp, direction, paymentRequestCode, amount&lt;/i&gt;
283
+ * @type {string}
284
+ * @memberof PaymentReceiptsApiListPaymentReceipts
285
+ */
286
+ readonly filter?: string;
287
+ /**
288
+ * 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, amount, paymentRequestCode&lt;/i&gt;
289
+ * @type {string}
290
+ * @memberof PaymentReceiptsApiListPaymentReceipts
291
+ */
292
+ readonly search?: string;
293
+ /**
294
+ * 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, amount&lt;/i&gt;
295
+ * @type {string}
296
+ * @memberof PaymentReceiptsApiListPaymentReceipts
297
+ */
298
+ readonly order?: string;
299
+ /**
300
+ * 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;
301
+ * @type {string}
302
+ * @memberof PaymentReceiptsApiListPaymentReceipts
303
+ */
304
+ readonly expand?: string;
305
+ /**
306
+ * 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, createdAt, psp, direction, paymentRequestCode, amount&lt;/i&gt;
307
+ * @type {string}
308
+ * @memberof PaymentReceiptsApiListPaymentReceipts
309
+ */
310
+ readonly filters?: string;
311
+ }
312
+ /**
313
+ * Request parameters for updatePaymentReceipt operation in PaymentReceiptsApi.
314
+ * @export
315
+ * @interface PaymentReceiptsApiUpdatePaymentReceiptRequest
316
+ */
317
+ export interface PaymentReceiptsApiUpdatePaymentReceiptRequest {
318
+ /**
319
+ *
320
+ * @type {string}
321
+ * @memberof PaymentReceiptsApiUpdatePaymentReceipt
322
+ */
323
+ readonly code: string;
324
+ /**
325
+ * Bearer Token: provided by the login endpoint under the name accessToken.
326
+ * @type {string}
327
+ * @memberof PaymentReceiptsApiUpdatePaymentReceipt
328
+ */
329
+ readonly authorization?: string;
330
+ }
331
+ /**
332
+ * PaymentReceiptsApi - object-oriented interface
333
+ * @export
334
+ * @class PaymentReceiptsApi
335
+ * @extends {BaseAPI}
336
+ */
337
+ export declare class PaymentReceiptsApi extends BaseAPI {
338
+ /**
339
+ * This will create payment receipt. **Required Permissions** \"payment-management.payments.create\"
340
+ * @summary Create the payment receipt
341
+ * @param {PaymentReceiptsApiCreatePaymentReceiptRequest} requestParameters Request parameters.
342
+ * @param {*} [options] Override http request option.
343
+ * @throws {RequiredError}
344
+ * @memberof PaymentReceiptsApi
345
+ */
346
+ createPaymentReceipt(requestParameters: PaymentReceiptsApiCreatePaymentReceiptRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePaymentReceiptResponseClass, any, {}>>;
347
+ /**
348
+ * This will delete payment receipt. **Required Permissions** \"payment-management.payments.delete\"
349
+ * @summary Delete the payment receipt
350
+ * @param {PaymentReceiptsApiDeletePaymentReceiptRequest} requestParameters Request parameters.
351
+ * @param {*} [options] Override http request option.
352
+ * @throws {RequiredError}
353
+ * @memberof PaymentReceiptsApi
354
+ */
355
+ deletePaymentReceipt(requestParameters: PaymentReceiptsApiDeletePaymentReceiptRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
356
+ /**
357
+ * This will get payment receipt. **Required Permissions** \"payment-management.payments.view\"
358
+ * @summary Retrieve the payment receipt
359
+ * @param {PaymentReceiptsApiGetPaymentReceiptRequest} requestParameters Request parameters.
360
+ * @param {*} [options] Override http request option.
361
+ * @throws {RequiredError}
362
+ * @memberof PaymentReceiptsApi
363
+ */
364
+ getPaymentReceipt(requestParameters: PaymentReceiptsApiGetPaymentReceiptRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPaymentReceiptResponseClass, any, {}>>;
365
+ /**
366
+ * Retrieves a list of paymentreceipts. **Required Permissions** \"payment-management.payments.view\"
367
+ * @summary List payment receipts
368
+ * @param {PaymentReceiptsApiListPaymentReceiptsRequest} requestParameters Request parameters.
369
+ * @param {*} [options] Override http request option.
370
+ * @throws {RequiredError}
371
+ * @memberof PaymentReceiptsApi
372
+ */
373
+ listPaymentReceipts(requestParameters?: PaymentReceiptsApiListPaymentReceiptsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPaymentReceiptsResponseClass, any, {}>>;
374
+ /**
375
+ * This will update payment receipt. **Required Permissions** \"payment-management.payments.update\"
376
+ * @summary Update the payment receipt
377
+ * @param {PaymentReceiptsApiUpdatePaymentReceiptRequest} requestParameters Request parameters.
378
+ * @param {*} [options] Override http request option.
379
+ * @throws {RequiredError}
380
+ * @memberof PaymentReceiptsApi
381
+ */
382
+ updatePaymentReceipt(requestParameters: PaymentReceiptsApiUpdatePaymentReceiptRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdatePaymentReceiptResponseClass, any, {}>>;
383
+ }