@emilgroup/payment-sdk 1.4.1-beta.5 → 1.4.1-beta.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +35 -0
- package/README.md +2 -2
- package/api/bank-accounts-api.ts +20 -16
- package/api/bank-transaction-api.ts +204 -2
- package/api/payment-methods-api.ts +41 -37
- package/api/payment-reminders-api.ts +12 -8
- package/api/payment-setup-api.ts +36 -28
- package/api/payments-api.ts +27 -25
- package/api/refunds-api.ts +474 -0
- package/api.ts +2 -0
- package/dist/api/bank-accounts-api.d.ts +14 -12
- package/dist/api/bank-accounts-api.js +12 -12
- package/dist/api/bank-transaction-api.d.ts +113 -3
- package/dist/api/bank-transaction-api.js +184 -0
- package/dist/api/payment-methods-api.d.ts +31 -27
- package/dist/api/payment-methods-api.js +24 -28
- package/dist/api/payment-reminders-api.d.ts +14 -12
- package/dist/api/payment-setup-api.d.ts +22 -18
- package/dist/api/payment-setup-api.js +24 -24
- package/dist/api/payments-api.d.ts +24 -21
- package/dist/api/payments-api.js +12 -16
- package/dist/api/refunds-api.d.ts +269 -0
- package/dist/api/refunds-api.js +447 -0
- package/dist/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/models/bank-account-class.d.ts +54 -0
- package/dist/models/bank-account-class.js +15 -0
- package/dist/models/billing-profile-dto.d.ts +38 -0
- package/dist/models/billing-profile-dto.js +15 -0
- package/dist/models/billing-profile-limited-response-dto.d.ts +54 -0
- package/dist/models/billing-profile-limited-response-dto.js +15 -0
- package/dist/models/complete-braintree-payment-setup-request-dto.d.ts +48 -0
- package/dist/models/complete-braintree-payment-setup-request-dto.js +15 -0
- package/dist/models/complete-payment-setup-request-dto.d.ts +32 -0
- package/dist/models/complete-payment-setup-request-dto.js +15 -0
- package/dist/models/complete-payment-setup-response-class.d.ts +25 -0
- package/dist/models/complete-payment-setup-response-class.js +15 -0
- package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +60 -0
- package/dist/models/complete-stripe-payment-setup-request-dto.js +15 -0
- package/dist/models/create-bank-account-request-dto.d.ts +30 -0
- package/dist/models/create-bank-account-request-dto.js +15 -0
- package/dist/models/create-payment-method-response-class.d.ts +25 -0
- package/dist/models/create-payment-method-response-class.js +15 -0
- package/dist/models/create-payment-request-dto.d.ts +3 -3
- package/dist/models/create-payment-response-class.d.ts +25 -0
- package/dist/models/create-payment-response-class.js +15 -0
- package/dist/models/create-psp-payment-method-request-dto.d.ts +61 -0
- package/dist/models/create-psp-payment-method-request-dto.js +32 -0
- package/dist/models/create-refund-request-dto.d.ts +24 -0
- package/dist/models/create-refund-request-dto.js +15 -0
- package/dist/models/create-refund-response-class.d.ts +25 -0
- package/dist/models/create-refund-response-class.js +15 -0
- package/dist/models/deactivate-payment-reminder-response-class.d.ts +25 -0
- package/dist/models/deactivate-payment-reminder-response-class.js +15 -0
- package/dist/models/get-payment-method-response-class.d.ts +25 -0
- package/dist/models/get-payment-method-response-class.js +15 -0
- package/dist/models/get-payment-response-class.d.ts +25 -0
- package/dist/models/get-payment-response-class.js +15 -0
- package/dist/models/get-refund-response-class.d.ts +25 -0
- package/dist/models/get-refund-response-class.js +15 -0
- package/dist/models/get-request-dto.d.ts +1 -1
- package/dist/models/index.d.ts +34 -0
- package/dist/models/index.js +34 -0
- package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +30 -0
- package/dist/models/initiate-braintree-payment-setup-request-dto.js +15 -0
- package/dist/models/initiate-braintree-payment-setup-response-class.d.ts +24 -0
- package/dist/models/initiate-braintree-payment-setup-response-class.js +15 -0
- package/dist/models/initiate-payment-setup-request-dto.d.ts +44 -0
- package/dist/models/initiate-payment-setup-request-dto.js +15 -0
- package/dist/models/initiate-payment-setup-response-class.d.ts +32 -0
- package/dist/models/initiate-payment-setup-response-class.js +15 -0
- package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +30 -0
- package/dist/models/initiate-stripe-payment-setup-request-dto.js +15 -0
- package/dist/models/initiate-stripe-payment-setup-response-class.d.ts +30 -0
- package/dist/models/initiate-stripe-payment-setup-response-class.js +15 -0
- package/dist/models/list-bank-accounts-response-class.d.ts +31 -0
- package/dist/models/list-bank-accounts-response-class.js +15 -0
- package/dist/models/list-payment-methods-response-class.d.ts +31 -0
- package/dist/models/list-payment-methods-response-class.js +15 -0
- package/dist/models/list-payment-reminders-response-class.d.ts +31 -0
- package/dist/models/list-payment-reminders-response-class.js +15 -0
- package/dist/models/list-payments-response-class.d.ts +31 -0
- package/dist/models/list-payments-response-class.js +15 -0
- package/dist/models/list-refunds-response-class.d.ts +31 -0
- package/dist/models/list-refunds-response-class.js +15 -0
- package/dist/models/payment-class.d.ts +103 -0
- package/dist/models/payment-class.js +15 -0
- package/dist/models/payment-method-class.d.ts +66 -0
- package/dist/models/payment-method-class.js +15 -0
- package/dist/models/payment-reminder-class.d.ts +112 -0
- package/dist/models/payment-reminder-class.js +36 -0
- package/dist/models/refund-class.d.ts +104 -0
- package/dist/models/refund-class.js +28 -0
- package/dist/models/sepa-direct-dto.d.ts +24 -0
- package/dist/models/sepa-direct-dto.js +15 -0
- package/dist/models/symphony-profile-limited-response-dto.d.ts +42 -0
- package/dist/models/symphony-profile-limited-response-dto.js +15 -0
- package/dist/models/validate-pspconfig-request-dto.d.ts +8 -1
- package/dist/models/validate-pspconfig-request-dto.js +7 -0
- package/models/bank-account-class.ts +60 -0
- package/models/billing-profile-dto.ts +44 -0
- package/models/billing-profile-limited-response-dto.ts +60 -0
- package/models/complete-braintree-payment-setup-request-dto.ts +54 -0
- package/models/complete-payment-setup-request-dto.ts +38 -0
- package/models/complete-payment-setup-response-class.ts +31 -0
- package/models/complete-stripe-payment-setup-request-dto.ts +66 -0
- package/models/create-bank-account-request-dto.ts +36 -0
- package/models/create-payment-method-response-class.ts +31 -0
- package/models/create-payment-request-dto.ts +3 -3
- package/models/create-payment-response-class.ts +31 -0
- package/models/create-psp-payment-method-request-dto.ts +70 -0
- package/models/create-refund-request-dto.ts +30 -0
- package/models/create-refund-response-class.ts +31 -0
- package/models/deactivate-payment-reminder-response-class.ts +31 -0
- package/models/get-payment-method-response-class.ts +31 -0
- package/models/get-payment-response-class.ts +31 -0
- package/models/get-refund-response-class.ts +31 -0
- package/models/get-request-dto.ts +1 -1
- package/models/index.ts +34 -0
- package/models/initiate-braintree-payment-setup-request-dto.ts +36 -0
- package/models/initiate-braintree-payment-setup-response-class.ts +30 -0
- package/models/initiate-payment-setup-request-dto.ts +50 -0
- package/models/initiate-payment-setup-response-class.ts +38 -0
- package/models/initiate-stripe-payment-setup-request-dto.ts +36 -0
- package/models/initiate-stripe-payment-setup-response-class.ts +36 -0
- package/models/list-bank-accounts-response-class.ts +37 -0
- package/models/list-payment-methods-response-class.ts +37 -0
- package/models/list-payment-reminders-response-class.ts +37 -0
- package/models/list-payments-response-class.ts +37 -0
- package/models/list-refunds-response-class.ts +37 -0
- package/models/payment-class.ts +109 -0
- package/models/payment-method-class.ts +72 -0
- package/models/payment-reminder-class.ts +122 -0
- package/models/refund-class.ts +114 -0
- package/models/sepa-direct-dto.ts +30 -0
- package/models/symphony-profile-limited-response-dto.ts +48 -0
- package/models/validate-pspconfig-request-dto.ts +11 -1
- package/package.json +1 -1
|
@@ -0,0 +1,269 @@
|
|
|
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 { CreateRefundRequestDto } from '../models';
|
|
16
|
+
import { CreateRefundResponseClass } from '../models';
|
|
17
|
+
import { GetRefundResponseClass } from '../models';
|
|
18
|
+
import { ListRefundsResponseClass } from '../models';
|
|
19
|
+
/**
|
|
20
|
+
* RefundsApi - axios parameter creator
|
|
21
|
+
* @export
|
|
22
|
+
*/
|
|
23
|
+
export declare const RefundsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @param {CreateRefundRequestDto} createRefundRequestDto
|
|
27
|
+
* @param {string} [authorization] Bearer Token
|
|
28
|
+
* @param {*} [options] Override http request option.
|
|
29
|
+
* @throws {RequiredError}
|
|
30
|
+
*/
|
|
31
|
+
createRefund: (createRefundRequestDto: CreateRefundRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @param {string} code
|
|
35
|
+
* @param {string} code2 Unique identifier for the object.
|
|
36
|
+
* @param {string} [authorization] Bearer Token
|
|
37
|
+
* @param {string} [expand] Fields to expand response by
|
|
38
|
+
* @param {*} [options] Override http request option.
|
|
39
|
+
* @throws {RequiredError}
|
|
40
|
+
*/
|
|
41
|
+
getRefund: (code: string, code2: string, authorization?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @param {string} [authorization] Bearer Token
|
|
45
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
46
|
+
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
47
|
+
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
48
|
+
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
49
|
+
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
50
|
+
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
51
|
+
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
52
|
+
* @param {*} [options] Override http request option.
|
|
53
|
+
* @throws {RequiredError}
|
|
54
|
+
*/
|
|
55
|
+
listRefunds: (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
56
|
+
};
|
|
57
|
+
/**
|
|
58
|
+
* RefundsApi - functional programming interface
|
|
59
|
+
* @export
|
|
60
|
+
*/
|
|
61
|
+
export declare const RefundsApiFp: (configuration?: Configuration) => {
|
|
62
|
+
/**
|
|
63
|
+
*
|
|
64
|
+
* @param {CreateRefundRequestDto} createRefundRequestDto
|
|
65
|
+
* @param {string} [authorization] Bearer Token
|
|
66
|
+
* @param {*} [options] Override http request option.
|
|
67
|
+
* @throws {RequiredError}
|
|
68
|
+
*/
|
|
69
|
+
createRefund(createRefundRequestDto: CreateRefundRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateRefundResponseClass>>;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @param {string} code
|
|
73
|
+
* @param {string} code2 Unique identifier for the object.
|
|
74
|
+
* @param {string} [authorization] Bearer Token
|
|
75
|
+
* @param {string} [expand] Fields to expand response by
|
|
76
|
+
* @param {*} [options] Override http request option.
|
|
77
|
+
* @throws {RequiredError}
|
|
78
|
+
*/
|
|
79
|
+
getRefund(code: string, code2: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetRefundResponseClass>>;
|
|
80
|
+
/**
|
|
81
|
+
*
|
|
82
|
+
* @param {string} [authorization] Bearer Token
|
|
83
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
84
|
+
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
85
|
+
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
86
|
+
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
87
|
+
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
88
|
+
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
89
|
+
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
90
|
+
* @param {*} [options] Override http request option.
|
|
91
|
+
* @throws {RequiredError}
|
|
92
|
+
*/
|
|
93
|
+
listRefunds(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListRefundsResponseClass>>;
|
|
94
|
+
};
|
|
95
|
+
/**
|
|
96
|
+
* RefundsApi - factory interface
|
|
97
|
+
* @export
|
|
98
|
+
*/
|
|
99
|
+
export declare const RefundsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
100
|
+
/**
|
|
101
|
+
*
|
|
102
|
+
* @param {CreateRefundRequestDto} createRefundRequestDto
|
|
103
|
+
* @param {string} [authorization] Bearer Token
|
|
104
|
+
* @param {*} [options] Override http request option.
|
|
105
|
+
* @throws {RequiredError}
|
|
106
|
+
*/
|
|
107
|
+
createRefund(createRefundRequestDto: CreateRefundRequestDto, authorization?: string, options?: any): AxiosPromise<CreateRefundResponseClass>;
|
|
108
|
+
/**
|
|
109
|
+
*
|
|
110
|
+
* @param {string} code
|
|
111
|
+
* @param {string} code2 Unique identifier for the object.
|
|
112
|
+
* @param {string} [authorization] Bearer Token
|
|
113
|
+
* @param {string} [expand] Fields to expand response by
|
|
114
|
+
* @param {*} [options] Override http request option.
|
|
115
|
+
* @throws {RequiredError}
|
|
116
|
+
*/
|
|
117
|
+
getRefund(code: string, code2: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetRefundResponseClass>;
|
|
118
|
+
/**
|
|
119
|
+
*
|
|
120
|
+
* @param {string} [authorization] Bearer Token
|
|
121
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
122
|
+
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
123
|
+
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
124
|
+
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
125
|
+
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
126
|
+
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
127
|
+
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
128
|
+
* @param {*} [options] Override http request option.
|
|
129
|
+
* @throws {RequiredError}
|
|
130
|
+
*/
|
|
131
|
+
listRefunds(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<ListRefundsResponseClass>;
|
|
132
|
+
};
|
|
133
|
+
/**
|
|
134
|
+
* Request parameters for createRefund operation in RefundsApi.
|
|
135
|
+
* @export
|
|
136
|
+
* @interface RefundsApiCreateRefundRequest
|
|
137
|
+
*/
|
|
138
|
+
export interface RefundsApiCreateRefundRequest {
|
|
139
|
+
/**
|
|
140
|
+
*
|
|
141
|
+
* @type {CreateRefundRequestDto}
|
|
142
|
+
* @memberof RefundsApiCreateRefund
|
|
143
|
+
*/
|
|
144
|
+
readonly createRefundRequestDto: CreateRefundRequestDto;
|
|
145
|
+
/**
|
|
146
|
+
* Bearer Token
|
|
147
|
+
* @type {string}
|
|
148
|
+
* @memberof RefundsApiCreateRefund
|
|
149
|
+
*/
|
|
150
|
+
readonly authorization?: string;
|
|
151
|
+
}
|
|
152
|
+
/**
|
|
153
|
+
* Request parameters for getRefund operation in RefundsApi.
|
|
154
|
+
* @export
|
|
155
|
+
* @interface RefundsApiGetRefundRequest
|
|
156
|
+
*/
|
|
157
|
+
export interface RefundsApiGetRefundRequest {
|
|
158
|
+
/**
|
|
159
|
+
*
|
|
160
|
+
* @type {string}
|
|
161
|
+
* @memberof RefundsApiGetRefund
|
|
162
|
+
*/
|
|
163
|
+
readonly code: string;
|
|
164
|
+
/**
|
|
165
|
+
* Unique identifier for the object.
|
|
166
|
+
* @type {string}
|
|
167
|
+
* @memberof RefundsApiGetRefund
|
|
168
|
+
*/
|
|
169
|
+
readonly code2: string;
|
|
170
|
+
/**
|
|
171
|
+
* Bearer Token
|
|
172
|
+
* @type {string}
|
|
173
|
+
* @memberof RefundsApiGetRefund
|
|
174
|
+
*/
|
|
175
|
+
readonly authorization?: string;
|
|
176
|
+
/**
|
|
177
|
+
* Fields to expand response by
|
|
178
|
+
* @type {string}
|
|
179
|
+
* @memberof RefundsApiGetRefund
|
|
180
|
+
*/
|
|
181
|
+
readonly expand?: string;
|
|
182
|
+
}
|
|
183
|
+
/**
|
|
184
|
+
* Request parameters for listRefunds operation in RefundsApi.
|
|
185
|
+
* @export
|
|
186
|
+
* @interface RefundsApiListRefundsRequest
|
|
187
|
+
*/
|
|
188
|
+
export interface RefundsApiListRefundsRequest {
|
|
189
|
+
/**
|
|
190
|
+
* Bearer Token
|
|
191
|
+
* @type {string}
|
|
192
|
+
* @memberof RefundsApiListRefunds
|
|
193
|
+
*/
|
|
194
|
+
readonly authorization?: string;
|
|
195
|
+
/**
|
|
196
|
+
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
197
|
+
* @type {any}
|
|
198
|
+
* @memberof RefundsApiListRefunds
|
|
199
|
+
*/
|
|
200
|
+
readonly pageSize?: any;
|
|
201
|
+
/**
|
|
202
|
+
* A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
203
|
+
* @type {any}
|
|
204
|
+
* @memberof RefundsApiListRefunds
|
|
205
|
+
*/
|
|
206
|
+
readonly pageToken?: any;
|
|
207
|
+
/**
|
|
208
|
+
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
209
|
+
* @type {any}
|
|
210
|
+
* @memberof RefundsApiListRefunds
|
|
211
|
+
*/
|
|
212
|
+
readonly filter?: any;
|
|
213
|
+
/**
|
|
214
|
+
* Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
215
|
+
* @type {any}
|
|
216
|
+
* @memberof RefundsApiListRefunds
|
|
217
|
+
*/
|
|
218
|
+
readonly search?: any;
|
|
219
|
+
/**
|
|
220
|
+
* The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
221
|
+
* @type {any}
|
|
222
|
+
* @memberof RefundsApiListRefunds
|
|
223
|
+
*/
|
|
224
|
+
readonly order?: any;
|
|
225
|
+
/**
|
|
226
|
+
* Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
227
|
+
* @type {any}
|
|
228
|
+
* @memberof RefundsApiListRefunds
|
|
229
|
+
*/
|
|
230
|
+
readonly expand?: any;
|
|
231
|
+
/**
|
|
232
|
+
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
233
|
+
* @type {any}
|
|
234
|
+
* @memberof RefundsApiListRefunds
|
|
235
|
+
*/
|
|
236
|
+
readonly filters?: any;
|
|
237
|
+
}
|
|
238
|
+
/**
|
|
239
|
+
* RefundsApi - object-oriented interface
|
|
240
|
+
* @export
|
|
241
|
+
* @class RefundsApi
|
|
242
|
+
* @extends {BaseAPI}
|
|
243
|
+
*/
|
|
244
|
+
export declare class RefundsApi extends BaseAPI {
|
|
245
|
+
/**
|
|
246
|
+
*
|
|
247
|
+
* @param {RefundsApiCreateRefundRequest} requestParameters Request parameters.
|
|
248
|
+
* @param {*} [options] Override http request option.
|
|
249
|
+
* @throws {RequiredError}
|
|
250
|
+
* @memberof RefundsApi
|
|
251
|
+
*/
|
|
252
|
+
createRefund(requestParameters: RefundsApiCreateRefundRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateRefundResponseClass, any>>;
|
|
253
|
+
/**
|
|
254
|
+
*
|
|
255
|
+
* @param {RefundsApiGetRefundRequest} requestParameters Request parameters.
|
|
256
|
+
* @param {*} [options] Override http request option.
|
|
257
|
+
* @throws {RequiredError}
|
|
258
|
+
* @memberof RefundsApi
|
|
259
|
+
*/
|
|
260
|
+
getRefund(requestParameters: RefundsApiGetRefundRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetRefundResponseClass, any>>;
|
|
261
|
+
/**
|
|
262
|
+
*
|
|
263
|
+
* @param {RefundsApiListRefundsRequest} requestParameters Request parameters.
|
|
264
|
+
* @param {*} [options] Override http request option.
|
|
265
|
+
* @throws {RequiredError}
|
|
266
|
+
* @memberof RefundsApi
|
|
267
|
+
*/
|
|
268
|
+
listRefunds(requestParameters?: RefundsApiListRefundsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListRefundsResponseClass, any>>;
|
|
269
|
+
}
|