@emilgroup/payment-sdk 1.22.1-beta.74 → 1.22.1-beta.76
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 +4 -0
- package/README.md +2 -2
- package/api/bank-accounts-api.ts +24 -12
- package/api/bank-orders-api.ts +20 -10
- package/api/bank-transaction-api.ts +154 -20
- package/api/billing-addresses-api.ts +20 -10
- package/api/credit-allocation-api.ts +12 -6
- package/api/exceeding-credits-api.ts +12 -6
- package/api/ibanvalidator-api.ts +4 -2
- package/api/payment-methods-api.ts +12 -6
- package/api/payment-receipts-api.ts +20 -10
- package/api/payment-reminders-api.ts +16 -8
- package/api/payment-requests-api.ts +20 -10
- package/api/payment-setup-api.ts +8 -4
- package/api/payments-api.ts +24 -12
- package/api/payout-methods-api.ts +24 -12
- package/api/policy-payment-methods-api.ts +12 -6
- package/api/refunds-api.ts +12 -6
- package/api/tenant-bank-account-api.ts +20 -10
- package/base.ts +174 -41
- package/common.ts +3 -2
- package/configuration.ts +20 -0
- package/dist/api/bank-accounts-api.d.ts +6 -6
- package/dist/api/bank-accounts-api.js +36 -22
- package/dist/api/bank-orders-api.d.ts +5 -5
- package/dist/api/bank-orders-api.js +29 -18
- package/dist/api/bank-transaction-api.d.ts +80 -14
- package/dist/api/bank-transaction-api.js +144 -28
- package/dist/api/billing-addresses-api.d.ts +5 -5
- package/dist/api/billing-addresses-api.js +32 -19
- package/dist/api/credit-allocation-api.d.ts +3 -3
- package/dist/api/credit-allocation-api.js +18 -11
- package/dist/api/exceeding-credits-api.d.ts +3 -3
- package/dist/api/exceeding-credits-api.js +18 -11
- package/dist/api/health-check-api.d.ts +1 -1
- package/dist/api/ibanvalidator-api.d.ts +1 -1
- package/dist/api/ibanvalidator-api.js +7 -4
- package/dist/api/payment-methods-api.d.ts +3 -3
- package/dist/api/payment-methods-api.js +18 -11
- package/dist/api/payment-receipts-api.d.ts +5 -5
- package/dist/api/payment-receipts-api.js +29 -18
- package/dist/api/payment-reminders-api.d.ts +4 -4
- package/dist/api/payment-reminders-api.js +25 -15
- package/dist/api/payment-requests-api.d.ts +5 -5
- package/dist/api/payment-requests-api.js +29 -18
- package/dist/api/payment-setup-api.d.ts +2 -2
- package/dist/api/payment-setup-api.js +14 -8
- package/dist/api/payments-api.d.ts +4 -4
- package/dist/api/payments-api.js +28 -18
- package/dist/api/payout-methods-api.d.ts +6 -6
- package/dist/api/payout-methods-api.js +36 -22
- package/dist/api/policy-payment-methods-api.d.ts +3 -3
- package/dist/api/policy-payment-methods-api.js +18 -11
- package/dist/api/refunds-api.d.ts +3 -3
- package/dist/api/refunds-api.js +15 -10
- package/dist/api/tenant-bank-account-api.d.ts +5 -5
- package/dist/api/tenant-bank-account-api.js +29 -18
- package/dist/api/webhooks-api.d.ts +2 -2
- package/dist/base.d.ts +24 -0
- package/dist/base.js +178 -59
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -0
- package/dist/configuration.d.ts +17 -0
- package/dist/configuration.js +2 -0
- package/dist/models/bank-transaction-class.d.ts +7 -0
- package/dist/models/bank-transaction-entity.d.ts +7 -0
- package/dist/models/bank-transaction-invoice-entity.d.ts +24 -0
- package/dist/models/exceeding-credit-entity.d.ts +6 -0
- package/dist/models/index.d.ts +4 -0
- package/dist/models/index.js +4 -0
- package/dist/models/link-bank-transaction-payment-requests-request-dto-rest.d.ts +30 -0
- package/dist/models/link-bank-transaction-payment-requests-request-dto-rest.js +15 -0
- package/dist/models/link-bank-transaction-payment-requests-response-class.d.ts +25 -0
- package/dist/models/link-bank-transaction-payment-requests-response-class.js +15 -0
- package/dist/models/payment-receipt-class.d.ts +12 -0
- package/dist/models/payment-receipt-entity.d.ts +139 -0
- package/dist/models/payment-receipt-entity.js +20 -0
- package/dist/models/payment-request-class.d.ts +1 -0
- package/dist/models/payment-request-class.js +1 -0
- package/dist/models/payment-request-entity.d.ts +223 -0
- package/dist/models/payment-request-entity.js +39 -0
- package/models/bank-transaction-class.ts +7 -0
- package/models/bank-transaction-entity.ts +7 -0
- package/models/bank-transaction-invoice-entity.ts +24 -0
- package/models/exceeding-credit-entity.ts +6 -0
- package/models/index.ts +4 -0
- package/models/link-bank-transaction-payment-requests-request-dto-rest.ts +36 -0
- package/models/link-bank-transaction-payment-requests-response-class.ts +31 -0
- package/models/payment-receipt-class.ts +12 -0
- package/models/payment-receipt-entity.ts +148 -0
- package/models/payment-request-class.ts +1 -0
- package/models/payment-request-entity.ts +233 -0
- package/package.json +2 -2
|
@@ -103,7 +103,7 @@ var CreditAllocationApiAxiosParamCreator = function (configuration) {
|
|
|
103
103
|
createAllocateCredit: function (createCreditAllocationRequestDto, authorization, options) {
|
|
104
104
|
if (options === void 0) { options = {}; }
|
|
105
105
|
return __awaiter(_this, void 0, void 0, function () {
|
|
106
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
106
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
107
107
|
return __generator(this, function (_a) {
|
|
108
108
|
switch (_a.label) {
|
|
109
109
|
case 0:
|
|
@@ -120,13 +120,16 @@ var CreditAllocationApiAxiosParamCreator = function (configuration) {
|
|
|
120
120
|
localVarQueryParameter = {};
|
|
121
121
|
// authentication bearer required
|
|
122
122
|
// http bearer authentication required
|
|
123
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
123
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
124
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
125
|
+
];
|
|
124
126
|
case 1:
|
|
125
127
|
// authentication bearer required
|
|
126
128
|
// http bearer authentication required
|
|
127
129
|
_a.sent();
|
|
128
|
-
|
|
129
|
-
|
|
130
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
131
|
+
if (authorizationValue) {
|
|
132
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
130
133
|
}
|
|
131
134
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
132
135
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -152,7 +155,7 @@ var CreditAllocationApiAxiosParamCreator = function (configuration) {
|
|
|
152
155
|
getCreditAllocation: function (code, authorization, options) {
|
|
153
156
|
if (options === void 0) { options = {}; }
|
|
154
157
|
return __awaiter(_this, void 0, void 0, function () {
|
|
155
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
158
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
156
159
|
return __generator(this, function (_a) {
|
|
157
160
|
switch (_a.label) {
|
|
158
161
|
case 0:
|
|
@@ -170,13 +173,16 @@ var CreditAllocationApiAxiosParamCreator = function (configuration) {
|
|
|
170
173
|
localVarQueryParameter = {};
|
|
171
174
|
// authentication bearer required
|
|
172
175
|
// http bearer authentication required
|
|
173
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
176
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
177
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
178
|
+
];
|
|
174
179
|
case 1:
|
|
175
180
|
// authentication bearer required
|
|
176
181
|
// http bearer authentication required
|
|
177
182
|
_a.sent();
|
|
178
|
-
|
|
179
|
-
|
|
183
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
184
|
+
if (authorizationValue) {
|
|
185
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
180
186
|
}
|
|
181
187
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
182
188
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -206,7 +212,7 @@ var CreditAllocationApiAxiosParamCreator = function (configuration) {
|
|
|
206
212
|
listCreditAllocations: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
207
213
|
if (options === void 0) { options = {}; }
|
|
208
214
|
return __awaiter(_this, void 0, void 0, function () {
|
|
209
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
215
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
210
216
|
return __generator(this, function (_a) {
|
|
211
217
|
switch (_a.label) {
|
|
212
218
|
case 0:
|
|
@@ -247,8 +253,9 @@ var CreditAllocationApiAxiosParamCreator = function (configuration) {
|
|
|
247
253
|
if (filters !== undefined) {
|
|
248
254
|
localVarQueryParameter['filters'] = filters;
|
|
249
255
|
}
|
|
250
|
-
|
|
251
|
-
|
|
256
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
257
|
+
if (authorizationValue) {
|
|
258
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
252
259
|
}
|
|
253
260
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
254
261
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -241,7 +241,7 @@ export declare class ExceedingCreditsApi extends BaseAPI {
|
|
|
241
241
|
* @throws {RequiredError}
|
|
242
242
|
* @memberof ExceedingCreditsApi
|
|
243
243
|
*/
|
|
244
|
-
createExceedingCredit(requestParameters: ExceedingCreditsApiCreateExceedingCreditRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateExceedingCreditResponseClass, any, {}>>;
|
|
244
|
+
createExceedingCredit(requestParameters: ExceedingCreditsApiCreateExceedingCreditRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateExceedingCreditResponseClass, any, {}, any>>;
|
|
245
245
|
/**
|
|
246
246
|
* 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\"
|
|
247
247
|
* @summary Retrieve the exceeding credit
|
|
@@ -250,7 +250,7 @@ export declare class ExceedingCreditsApi extends BaseAPI {
|
|
|
250
250
|
* @throws {RequiredError}
|
|
251
251
|
* @memberof ExceedingCreditsApi
|
|
252
252
|
*/
|
|
253
|
-
getExceedingCredit(requestParameters: ExceedingCreditsApiGetExceedingCreditRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetExceedingCreditResponseClass, any, {}>>;
|
|
253
|
+
getExceedingCredit(requestParameters: ExceedingCreditsApiGetExceedingCreditRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetExceedingCreditResponseClass, any, {}, any>>;
|
|
254
254
|
/**
|
|
255
255
|
* 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\"
|
|
256
256
|
* @summary List exceeding credits
|
|
@@ -259,5 +259,5 @@ export declare class ExceedingCreditsApi extends BaseAPI {
|
|
|
259
259
|
* @throws {RequiredError}
|
|
260
260
|
* @memberof ExceedingCreditsApi
|
|
261
261
|
*/
|
|
262
|
-
listExceedingCredits(requestParameters?: ExceedingCreditsApiListExceedingCreditsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListExceedingCreditsResponseClass, any, {}>>;
|
|
262
|
+
listExceedingCredits(requestParameters?: ExceedingCreditsApiListExceedingCreditsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListExceedingCreditsResponseClass, any, {}, any>>;
|
|
263
263
|
}
|
|
@@ -103,7 +103,7 @@ var ExceedingCreditsApiAxiosParamCreator = function (configuration) {
|
|
|
103
103
|
createExceedingCredit: function (createExceedingCreditRequestDto, authorization, options) {
|
|
104
104
|
if (options === void 0) { options = {}; }
|
|
105
105
|
return __awaiter(_this, void 0, void 0, function () {
|
|
106
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
106
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
107
107
|
return __generator(this, function (_a) {
|
|
108
108
|
switch (_a.label) {
|
|
109
109
|
case 0:
|
|
@@ -120,13 +120,16 @@ var ExceedingCreditsApiAxiosParamCreator = function (configuration) {
|
|
|
120
120
|
localVarQueryParameter = {};
|
|
121
121
|
// authentication bearer required
|
|
122
122
|
// http bearer authentication required
|
|
123
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
123
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
124
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
125
|
+
];
|
|
124
126
|
case 1:
|
|
125
127
|
// authentication bearer required
|
|
126
128
|
// http bearer authentication required
|
|
127
129
|
_a.sent();
|
|
128
|
-
|
|
129
|
-
|
|
130
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
131
|
+
if (authorizationValue) {
|
|
132
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
130
133
|
}
|
|
131
134
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
132
135
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -152,7 +155,7 @@ var ExceedingCreditsApiAxiosParamCreator = function (configuration) {
|
|
|
152
155
|
getExceedingCredit: function (code, authorization, options) {
|
|
153
156
|
if (options === void 0) { options = {}; }
|
|
154
157
|
return __awaiter(_this, void 0, void 0, function () {
|
|
155
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
158
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
156
159
|
return __generator(this, function (_a) {
|
|
157
160
|
switch (_a.label) {
|
|
158
161
|
case 0:
|
|
@@ -170,13 +173,16 @@ var ExceedingCreditsApiAxiosParamCreator = function (configuration) {
|
|
|
170
173
|
localVarQueryParameter = {};
|
|
171
174
|
// authentication bearer required
|
|
172
175
|
// http bearer authentication required
|
|
173
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
176
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
177
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
178
|
+
];
|
|
174
179
|
case 1:
|
|
175
180
|
// authentication bearer required
|
|
176
181
|
// http bearer authentication required
|
|
177
182
|
_a.sent();
|
|
178
|
-
|
|
179
|
-
|
|
183
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
184
|
+
if (authorizationValue) {
|
|
185
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
180
186
|
}
|
|
181
187
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
182
188
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -206,7 +212,7 @@ var ExceedingCreditsApiAxiosParamCreator = function (configuration) {
|
|
|
206
212
|
listExceedingCredits: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
207
213
|
if (options === void 0) { options = {}; }
|
|
208
214
|
return __awaiter(_this, void 0, void 0, function () {
|
|
209
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
215
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
210
216
|
return __generator(this, function (_a) {
|
|
211
217
|
switch (_a.label) {
|
|
212
218
|
case 0:
|
|
@@ -247,8 +253,9 @@ var ExceedingCreditsApiAxiosParamCreator = function (configuration) {
|
|
|
247
253
|
if (filters !== undefined) {
|
|
248
254
|
localVarQueryParameter['filters'] = filters;
|
|
249
255
|
}
|
|
250
|
-
|
|
251
|
-
|
|
256
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
257
|
+
if (authorizationValue) {
|
|
258
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
252
259
|
}
|
|
253
260
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
254
261
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -66,5 +66,5 @@ export declare class HealthCheckApi extends BaseAPI {
|
|
|
66
66
|
* @throws {RequiredError}
|
|
67
67
|
* @memberof HealthCheckApi
|
|
68
68
|
*/
|
|
69
|
-
check(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InlineResponse200, any, {}>>;
|
|
69
|
+
check(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InlineResponse200, any, {}, any>>;
|
|
70
70
|
}
|
|
@@ -93,5 +93,5 @@ export declare class IBANValidatorApi extends BaseAPI {
|
|
|
93
93
|
* @throws {RequiredError}
|
|
94
94
|
* @memberof IBANValidatorApi
|
|
95
95
|
*/
|
|
96
|
-
validateIban(requestParameters: IBANValidatorApiValidateIbanRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ValidateIbanResponseClass, any, {}>>;
|
|
96
|
+
validateIban(requestParameters: IBANValidatorApiValidateIbanRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ValidateIbanResponseClass, any, {}, any>>;
|
|
97
97
|
}
|
|
@@ -103,7 +103,7 @@ var IBANValidatorApiAxiosParamCreator = function (configuration) {
|
|
|
103
103
|
validateIban: function (validateIbanRequestDto, authorization, options) {
|
|
104
104
|
if (options === void 0) { options = {}; }
|
|
105
105
|
return __awaiter(_this, void 0, void 0, function () {
|
|
106
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
106
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
107
107
|
return __generator(this, function (_a) {
|
|
108
108
|
switch (_a.label) {
|
|
109
109
|
case 0:
|
|
@@ -120,13 +120,16 @@ var IBANValidatorApiAxiosParamCreator = function (configuration) {
|
|
|
120
120
|
localVarQueryParameter = {};
|
|
121
121
|
// authentication bearer required
|
|
122
122
|
// http bearer authentication required
|
|
123
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
123
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
124
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
125
|
+
];
|
|
124
126
|
case 1:
|
|
125
127
|
// authentication bearer required
|
|
126
128
|
// http bearer authentication required
|
|
127
129
|
_a.sent();
|
|
128
|
-
|
|
129
|
-
|
|
130
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
131
|
+
if (authorizationValue) {
|
|
132
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
130
133
|
}
|
|
131
134
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
132
135
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -241,7 +241,7 @@ export declare class PaymentMethodsApi extends BaseAPI {
|
|
|
241
241
|
* @throws {RequiredError}
|
|
242
242
|
* @memberof PaymentMethodsApi
|
|
243
243
|
*/
|
|
244
|
-
createPaymentMethod(requestParameters: PaymentMethodsApiCreatePaymentMethodRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePaymentMethodResponseClass, any, {}>>;
|
|
244
|
+
createPaymentMethod(requestParameters: PaymentMethodsApiCreatePaymentMethodRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePaymentMethodResponseClass, any, {}, any>>;
|
|
245
245
|
/**
|
|
246
246
|
* Retrieves the details of the payment method that was previously created. Supply the unique payment method code that was returned when you created it and Emil Api will return the corresponding payment method information. **Required Permissions** \"payment-management.payments.view\"
|
|
247
247
|
* @summary Retrieve the payment method
|
|
@@ -250,7 +250,7 @@ export declare class PaymentMethodsApi extends BaseAPI {
|
|
|
250
250
|
* @throws {RequiredError}
|
|
251
251
|
* @memberof PaymentMethodsApi
|
|
252
252
|
*/
|
|
253
|
-
getPaymentMethod(requestParameters: PaymentMethodsApiGetPaymentMethodRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPaymentMethodResponseClass, any, {}>>;
|
|
253
|
+
getPaymentMethod(requestParameters: PaymentMethodsApiGetPaymentMethodRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPaymentMethodResponseClass, any, {}, any>>;
|
|
254
254
|
/**
|
|
255
255
|
* 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\"
|
|
256
256
|
* @summary List payment methods
|
|
@@ -259,5 +259,5 @@ export declare class PaymentMethodsApi extends BaseAPI {
|
|
|
259
259
|
* @throws {RequiredError}
|
|
260
260
|
* @memberof PaymentMethodsApi
|
|
261
261
|
*/
|
|
262
|
-
listPaymentMethods(requestParameters?: PaymentMethodsApiListPaymentMethodsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPaymentMethodsResponseClass, any, {}>>;
|
|
262
|
+
listPaymentMethods(requestParameters?: PaymentMethodsApiListPaymentMethodsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPaymentMethodsResponseClass, any, {}, any>>;
|
|
263
263
|
}
|
|
@@ -103,7 +103,7 @@ var PaymentMethodsApiAxiosParamCreator = function (configuration) {
|
|
|
103
103
|
createPaymentMethod: function (createPspPaymentMethodRequestDto, authorization, options) {
|
|
104
104
|
if (options === void 0) { options = {}; }
|
|
105
105
|
return __awaiter(_this, void 0, void 0, function () {
|
|
106
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
106
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
107
107
|
return __generator(this, function (_a) {
|
|
108
108
|
switch (_a.label) {
|
|
109
109
|
case 0:
|
|
@@ -120,13 +120,16 @@ var PaymentMethodsApiAxiosParamCreator = function (configuration) {
|
|
|
120
120
|
localVarQueryParameter = {};
|
|
121
121
|
// authentication bearer required
|
|
122
122
|
// http bearer authentication required
|
|
123
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
123
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
124
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
125
|
+
];
|
|
124
126
|
case 1:
|
|
125
127
|
// authentication bearer required
|
|
126
128
|
// http bearer authentication required
|
|
127
129
|
_a.sent();
|
|
128
|
-
|
|
129
|
-
|
|
130
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
131
|
+
if (authorizationValue) {
|
|
132
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
130
133
|
}
|
|
131
134
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
132
135
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -152,7 +155,7 @@ var PaymentMethodsApiAxiosParamCreator = function (configuration) {
|
|
|
152
155
|
getPaymentMethod: function (code, authorization, options) {
|
|
153
156
|
if (options === void 0) { options = {}; }
|
|
154
157
|
return __awaiter(_this, void 0, void 0, function () {
|
|
155
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
158
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
156
159
|
return __generator(this, function (_a) {
|
|
157
160
|
switch (_a.label) {
|
|
158
161
|
case 0:
|
|
@@ -170,13 +173,16 @@ var PaymentMethodsApiAxiosParamCreator = function (configuration) {
|
|
|
170
173
|
localVarQueryParameter = {};
|
|
171
174
|
// authentication bearer required
|
|
172
175
|
// http bearer authentication required
|
|
173
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
176
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
177
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
178
|
+
];
|
|
174
179
|
case 1:
|
|
175
180
|
// authentication bearer required
|
|
176
181
|
// http bearer authentication required
|
|
177
182
|
_a.sent();
|
|
178
|
-
|
|
179
|
-
|
|
183
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
184
|
+
if (authorizationValue) {
|
|
185
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
180
186
|
}
|
|
181
187
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
182
188
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -206,7 +212,7 @@ var PaymentMethodsApiAxiosParamCreator = function (configuration) {
|
|
|
206
212
|
listPaymentMethods: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
207
213
|
if (options === void 0) { options = {}; }
|
|
208
214
|
return __awaiter(_this, void 0, void 0, function () {
|
|
209
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
215
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
210
216
|
return __generator(this, function (_a) {
|
|
211
217
|
switch (_a.label) {
|
|
212
218
|
case 0:
|
|
@@ -247,8 +253,9 @@ var PaymentMethodsApiAxiosParamCreator = function (configuration) {
|
|
|
247
253
|
if (filters !== undefined) {
|
|
248
254
|
localVarQueryParameter['filters'] = filters;
|
|
249
255
|
}
|
|
250
|
-
|
|
251
|
-
|
|
256
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
257
|
+
if (authorizationValue) {
|
|
258
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
252
259
|
}
|
|
253
260
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
254
261
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -343,7 +343,7 @@ export declare class PaymentReceiptsApi extends BaseAPI {
|
|
|
343
343
|
* @throws {RequiredError}
|
|
344
344
|
* @memberof PaymentReceiptsApi
|
|
345
345
|
*/
|
|
346
|
-
createPaymentReceipt(requestParameters: PaymentReceiptsApiCreatePaymentReceiptRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePaymentReceiptResponseClass, any, {}>>;
|
|
346
|
+
createPaymentReceipt(requestParameters: PaymentReceiptsApiCreatePaymentReceiptRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePaymentReceiptResponseClass, any, {}, any>>;
|
|
347
347
|
/**
|
|
348
348
|
* This will delete payment receipt. **Required Permissions** \"payment-management.payments.delete\"
|
|
349
349
|
* @summary Delete the payment receipt
|
|
@@ -352,7 +352,7 @@ export declare class PaymentReceiptsApi extends BaseAPI {
|
|
|
352
352
|
* @throws {RequiredError}
|
|
353
353
|
* @memberof PaymentReceiptsApi
|
|
354
354
|
*/
|
|
355
|
-
deletePaymentReceipt(requestParameters: PaymentReceiptsApiDeletePaymentReceiptRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
355
|
+
deletePaymentReceipt(requestParameters: PaymentReceiptsApiDeletePaymentReceiptRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
|
|
356
356
|
/**
|
|
357
357
|
* This will get payment receipt. **Required Permissions** \"payment-management.payments.view\"
|
|
358
358
|
* @summary Retrieve the payment receipt
|
|
@@ -361,7 +361,7 @@ export declare class PaymentReceiptsApi extends BaseAPI {
|
|
|
361
361
|
* @throws {RequiredError}
|
|
362
362
|
* @memberof PaymentReceiptsApi
|
|
363
363
|
*/
|
|
364
|
-
getPaymentReceipt(requestParameters: PaymentReceiptsApiGetPaymentReceiptRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPaymentReceiptResponseClass, any, {}>>;
|
|
364
|
+
getPaymentReceipt(requestParameters: PaymentReceiptsApiGetPaymentReceiptRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPaymentReceiptResponseClass, any, {}, any>>;
|
|
365
365
|
/**
|
|
366
366
|
* Retrieves a list of paymentreceipts. **Required Permissions** \"payment-management.payments.view\"
|
|
367
367
|
* @summary List payment receipts
|
|
@@ -370,7 +370,7 @@ export declare class PaymentReceiptsApi extends BaseAPI {
|
|
|
370
370
|
* @throws {RequiredError}
|
|
371
371
|
* @memberof PaymentReceiptsApi
|
|
372
372
|
*/
|
|
373
|
-
listPaymentReceipts(requestParameters?: PaymentReceiptsApiListPaymentReceiptsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPaymentReceiptsResponseClass, any, {}>>;
|
|
373
|
+
listPaymentReceipts(requestParameters?: PaymentReceiptsApiListPaymentReceiptsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPaymentReceiptsResponseClass, any, {}, any>>;
|
|
374
374
|
/**
|
|
375
375
|
* This will update payment receipt. **Required Permissions** \"payment-management.payments.update\"
|
|
376
376
|
* @summary Update the payment receipt
|
|
@@ -379,5 +379,5 @@ export declare class PaymentReceiptsApi extends BaseAPI {
|
|
|
379
379
|
* @throws {RequiredError}
|
|
380
380
|
* @memberof PaymentReceiptsApi
|
|
381
381
|
*/
|
|
382
|
-
updatePaymentReceipt(requestParameters: PaymentReceiptsApiUpdatePaymentReceiptRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdatePaymentReceiptResponseClass, any, {}>>;
|
|
382
|
+
updatePaymentReceipt(requestParameters: PaymentReceiptsApiUpdatePaymentReceiptRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdatePaymentReceiptResponseClass, any, {}, any>>;
|
|
383
383
|
}
|
|
@@ -103,7 +103,7 @@ var PaymentReceiptsApiAxiosParamCreator = function (configuration) {
|
|
|
103
103
|
createPaymentReceipt: function (createPaymentReceiptRequestDto, authorization, options) {
|
|
104
104
|
if (options === void 0) { options = {}; }
|
|
105
105
|
return __awaiter(_this, void 0, void 0, function () {
|
|
106
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
106
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
107
107
|
return __generator(this, function (_a) {
|
|
108
108
|
switch (_a.label) {
|
|
109
109
|
case 0:
|
|
@@ -120,13 +120,16 @@ var PaymentReceiptsApiAxiosParamCreator = function (configuration) {
|
|
|
120
120
|
localVarQueryParameter = {};
|
|
121
121
|
// authentication bearer required
|
|
122
122
|
// http bearer authentication required
|
|
123
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
123
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
124
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
125
|
+
];
|
|
124
126
|
case 1:
|
|
125
127
|
// authentication bearer required
|
|
126
128
|
// http bearer authentication required
|
|
127
129
|
_a.sent();
|
|
128
|
-
|
|
129
|
-
|
|
130
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
131
|
+
if (authorizationValue) {
|
|
132
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
130
133
|
}
|
|
131
134
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
132
135
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
@@ -152,7 +155,7 @@ var PaymentReceiptsApiAxiosParamCreator = function (configuration) {
|
|
|
152
155
|
deletePaymentReceipt: function (code, authorization, options) {
|
|
153
156
|
if (options === void 0) { options = {}; }
|
|
154
157
|
return __awaiter(_this, void 0, void 0, function () {
|
|
155
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
158
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
156
159
|
return __generator(this, function (_a) {
|
|
157
160
|
switch (_a.label) {
|
|
158
161
|
case 0:
|
|
@@ -170,13 +173,16 @@ var PaymentReceiptsApiAxiosParamCreator = function (configuration) {
|
|
|
170
173
|
localVarQueryParameter = {};
|
|
171
174
|
// authentication bearer required
|
|
172
175
|
// http bearer authentication required
|
|
173
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
176
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
177
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
178
|
+
];
|
|
174
179
|
case 1:
|
|
175
180
|
// authentication bearer required
|
|
176
181
|
// http bearer authentication required
|
|
177
182
|
_a.sent();
|
|
178
|
-
|
|
179
|
-
|
|
183
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
184
|
+
if (authorizationValue) {
|
|
185
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
180
186
|
}
|
|
181
187
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
182
188
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -201,7 +207,7 @@ var PaymentReceiptsApiAxiosParamCreator = function (configuration) {
|
|
|
201
207
|
getPaymentReceipt: function (code, expand, authorization, options) {
|
|
202
208
|
if (options === void 0) { options = {}; }
|
|
203
209
|
return __awaiter(_this, void 0, void 0, function () {
|
|
204
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
210
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
205
211
|
return __generator(this, function (_a) {
|
|
206
212
|
switch (_a.label) {
|
|
207
213
|
case 0:
|
|
@@ -229,8 +235,9 @@ var PaymentReceiptsApiAxiosParamCreator = function (configuration) {
|
|
|
229
235
|
if (expand !== undefined) {
|
|
230
236
|
localVarQueryParameter['expand'] = expand;
|
|
231
237
|
}
|
|
232
|
-
|
|
233
|
-
|
|
238
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
239
|
+
if (authorizationValue) {
|
|
240
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
234
241
|
}
|
|
235
242
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
236
243
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -260,7 +267,7 @@ var PaymentReceiptsApiAxiosParamCreator = function (configuration) {
|
|
|
260
267
|
listPaymentReceipts: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
261
268
|
if (options === void 0) { options = {}; }
|
|
262
269
|
return __awaiter(_this, void 0, void 0, function () {
|
|
263
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
270
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
264
271
|
return __generator(this, function (_a) {
|
|
265
272
|
switch (_a.label) {
|
|
266
273
|
case 0:
|
|
@@ -301,8 +308,9 @@ var PaymentReceiptsApiAxiosParamCreator = function (configuration) {
|
|
|
301
308
|
if (filters !== undefined) {
|
|
302
309
|
localVarQueryParameter['filters'] = filters;
|
|
303
310
|
}
|
|
304
|
-
|
|
305
|
-
|
|
311
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
312
|
+
if (authorizationValue) {
|
|
313
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
306
314
|
}
|
|
307
315
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
308
316
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -326,7 +334,7 @@ var PaymentReceiptsApiAxiosParamCreator = function (configuration) {
|
|
|
326
334
|
updatePaymentReceipt: function (code, authorization, options) {
|
|
327
335
|
if (options === void 0) { options = {}; }
|
|
328
336
|
return __awaiter(_this, void 0, void 0, function () {
|
|
329
|
-
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
337
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationValue, headersFromBaseOptions;
|
|
330
338
|
return __generator(this, function (_a) {
|
|
331
339
|
switch (_a.label) {
|
|
332
340
|
case 0:
|
|
@@ -344,13 +352,16 @@ var PaymentReceiptsApiAxiosParamCreator = function (configuration) {
|
|
|
344
352
|
localVarQueryParameter = {};
|
|
345
353
|
// authentication bearer required
|
|
346
354
|
// http bearer authentication required
|
|
347
|
-
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
355
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
|
|
356
|
+
// Only Authorization falls back to the configured token; an empty value is never sent.
|
|
357
|
+
];
|
|
348
358
|
case 1:
|
|
349
359
|
// authentication bearer required
|
|
350
360
|
// http bearer authentication required
|
|
351
361
|
_a.sent();
|
|
352
|
-
|
|
353
|
-
|
|
362
|
+
authorizationValue = 'Authorization'.toLowerCase() === 'authorization' ? (authorization || baseAccessToken) : authorization;
|
|
363
|
+
if (authorizationValue) {
|
|
364
|
+
localVarHeaderParameter['Authorization'] = String(authorizationValue);
|
|
354
365
|
}
|
|
355
366
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
356
367
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -298,7 +298,7 @@ export declare class PaymentRemindersApi extends BaseAPI {
|
|
|
298
298
|
* @throws {RequiredError}
|
|
299
299
|
* @memberof PaymentRemindersApi
|
|
300
300
|
*/
|
|
301
|
-
createPaymentReminder(requestParameters: PaymentRemindersApiCreatePaymentReminderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePaymentReminderResponseClass, any, {}>>;
|
|
301
|
+
createPaymentReminder(requestParameters: PaymentRemindersApiCreatePaymentReminderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePaymentReminderResponseClass, any, {}, any>>;
|
|
302
302
|
/**
|
|
303
303
|
* This will deactivate the payment reminder **Required Permissions** \"payment-management.reminders.update\"
|
|
304
304
|
* @summary Deactivate payment reminder
|
|
@@ -307,7 +307,7 @@ export declare class PaymentRemindersApi extends BaseAPI {
|
|
|
307
307
|
* @throws {RequiredError}
|
|
308
308
|
* @memberof PaymentRemindersApi
|
|
309
309
|
*/
|
|
310
|
-
deactivatePaymentReminder(requestParameters: PaymentRemindersApiDeactivatePaymentReminderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeactivatePaymentReminderResponseClass, any, {}>>;
|
|
310
|
+
deactivatePaymentReminder(requestParameters: PaymentRemindersApiDeactivatePaymentReminderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeactivatePaymentReminderResponseClass, any, {}, any>>;
|
|
311
311
|
/**
|
|
312
312
|
* Retrieves the details of the payment reminder that was previously created. Supply the unique payment reminder code that was returned when you created it and Emil Api will return the corresponding payment reminder information. **Required Permissions** \"payment-management.reminders.view\"
|
|
313
313
|
* @summary Retrieve the payment reminder
|
|
@@ -316,7 +316,7 @@ export declare class PaymentRemindersApi extends BaseAPI {
|
|
|
316
316
|
* @throws {RequiredError}
|
|
317
317
|
* @memberof PaymentRemindersApi
|
|
318
318
|
*/
|
|
319
|
-
getPaymentReminder(requestParameters: PaymentRemindersApiGetPaymentReminderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPaymentReminderResponseClass, any, {}>>;
|
|
319
|
+
getPaymentReminder(requestParameters: PaymentRemindersApiGetPaymentReminderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPaymentReminderResponseClass, any, {}, any>>;
|
|
320
320
|
/**
|
|
321
321
|
* Returns a list of payment reminders you have previously created. The payment reminders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.reminders.view\"
|
|
322
322
|
* @summary List payment reminders
|
|
@@ -325,5 +325,5 @@ export declare class PaymentRemindersApi extends BaseAPI {
|
|
|
325
325
|
* @throws {RequiredError}
|
|
326
326
|
* @memberof PaymentRemindersApi
|
|
327
327
|
*/
|
|
328
|
-
listPaymentReminders(requestParameters?: PaymentRemindersApiListPaymentRemindersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPaymentRemindersResponseClass, any, {}>>;
|
|
328
|
+
listPaymentReminders(requestParameters?: PaymentRemindersApiListPaymentRemindersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPaymentRemindersResponseClass, any, {}, any>>;
|
|
329
329
|
}
|