@emilgroup/payment-sdk 1.16.1-beta.32 → 1.16.1-beta.34
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/README.md
CHANGED
|
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
|
|
|
17
17
|
Navigate to the folder of your consuming project and run one of the following commands:
|
|
18
18
|
|
|
19
19
|
```
|
|
20
|
-
npm install @emilgroup/payment-sdk@1.16.1-beta.
|
|
20
|
+
npm install @emilgroup/payment-sdk@1.16.1-beta.34 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/payment-sdk@1.16.1-beta.
|
|
24
|
+
yarn add @emilgroup/payment-sdk@1.16.1-beta.34
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `PaymentsApi`.
|
|
@@ -47,7 +47,7 @@ export const PaymentReceiptsApiAxiosParamCreator = function (configuration?: Con
|
|
|
47
47
|
createPaymentReceipt: async (createPaymentReceiptRequestDto: CreatePaymentReceiptRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
48
48
|
// verify required parameter 'createPaymentReceiptRequestDto' is not null or undefined
|
|
49
49
|
assertParamExists('createPaymentReceipt', 'createPaymentReceiptRequestDto', createPaymentReceiptRequestDto)
|
|
50
|
-
const localVarPath = `/paymentservice/v1/
|
|
50
|
+
const localVarPath = `/paymentservice/v1/payment-receipts`;
|
|
51
51
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
52
52
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
53
53
|
let baseOptions;
|
|
@@ -94,7 +94,7 @@ export const PaymentReceiptsApiAxiosParamCreator = function (configuration?: Con
|
|
|
94
94
|
deletePaymentReceipt: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
95
95
|
// verify required parameter 'code' is not null or undefined
|
|
96
96
|
assertParamExists('deletePaymentReceipt', 'code', code)
|
|
97
|
-
const localVarPath = `/paymentservice/v1/
|
|
97
|
+
const localVarPath = `/paymentservice/v1/payment-receipts/{code}`
|
|
98
98
|
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
99
99
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
100
100
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -142,7 +142,7 @@ export const PaymentReceiptsApiAxiosParamCreator = function (configuration?: Con
|
|
|
142
142
|
assertParamExists('getPaymentReceipt', 'code', code)
|
|
143
143
|
// verify required parameter 'expand' is not null or undefined
|
|
144
144
|
assertParamExists('getPaymentReceipt', 'expand', expand)
|
|
145
|
-
const localVarPath = `/paymentservice/v1/
|
|
145
|
+
const localVarPath = `/paymentservice/v1/payment-receipts/{code}`
|
|
146
146
|
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
147
147
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
148
148
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -195,7 +195,7 @@ export const PaymentReceiptsApiAxiosParamCreator = function (configuration?: Con
|
|
|
195
195
|
* @throws {RequiredError}
|
|
196
196
|
*/
|
|
197
197
|
listPaymentReceipts: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
198
|
-
const localVarPath = `/paymentservice/v1/
|
|
198
|
+
const localVarPath = `/paymentservice/v1/payment-receipts`;
|
|
199
199
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
200
200
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
201
201
|
let baseOptions;
|
|
@@ -267,7 +267,7 @@ export const PaymentReceiptsApiAxiosParamCreator = function (configuration?: Con
|
|
|
267
267
|
updatePaymentReceipt: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
268
268
|
// verify required parameter 'code' is not null or undefined
|
|
269
269
|
assertParamExists('updatePaymentReceipt', 'code', code)
|
|
270
|
-
const localVarPath = `/paymentservice/v1/
|
|
270
|
+
const localVarPath = `/paymentservice/v1/payment-receipts/{code}`
|
|
271
271
|
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
272
272
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
273
273
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -109,7 +109,7 @@ var PaymentReceiptsApiAxiosParamCreator = function (configuration) {
|
|
|
109
109
|
case 0:
|
|
110
110
|
// verify required parameter 'createPaymentReceiptRequestDto' is not null or undefined
|
|
111
111
|
(0, common_1.assertParamExists)('createPaymentReceipt', 'createPaymentReceiptRequestDto', createPaymentReceiptRequestDto);
|
|
112
|
-
localVarPath = "/paymentservice/v1/
|
|
112
|
+
localVarPath = "/paymentservice/v1/payment-receipts";
|
|
113
113
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
114
114
|
if (configuration) {
|
|
115
115
|
baseOptions = configuration.baseOptions;
|
|
@@ -158,7 +158,7 @@ var PaymentReceiptsApiAxiosParamCreator = function (configuration) {
|
|
|
158
158
|
case 0:
|
|
159
159
|
// verify required parameter 'code' is not null or undefined
|
|
160
160
|
(0, common_1.assertParamExists)('deletePaymentReceipt', 'code', code);
|
|
161
|
-
localVarPath = "/paymentservice/v1/
|
|
161
|
+
localVarPath = "/paymentservice/v1/payment-receipts/{code}"
|
|
162
162
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
163
163
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
164
164
|
if (configuration) {
|
|
@@ -209,7 +209,7 @@ var PaymentReceiptsApiAxiosParamCreator = function (configuration) {
|
|
|
209
209
|
(0, common_1.assertParamExists)('getPaymentReceipt', 'code', code);
|
|
210
210
|
// verify required parameter 'expand' is not null or undefined
|
|
211
211
|
(0, common_1.assertParamExists)('getPaymentReceipt', 'expand', expand);
|
|
212
|
-
localVarPath = "/paymentservice/v1/
|
|
212
|
+
localVarPath = "/paymentservice/v1/payment-receipts/{code}"
|
|
213
213
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
214
214
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
215
215
|
if (configuration) {
|
|
@@ -264,7 +264,7 @@ var PaymentReceiptsApiAxiosParamCreator = function (configuration) {
|
|
|
264
264
|
return __generator(this, function (_a) {
|
|
265
265
|
switch (_a.label) {
|
|
266
266
|
case 0:
|
|
267
|
-
localVarPath = "/paymentservice/v1/
|
|
267
|
+
localVarPath = "/paymentservice/v1/payment-receipts";
|
|
268
268
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
269
269
|
if (configuration) {
|
|
270
270
|
baseOptions = configuration.baseOptions;
|
|
@@ -332,7 +332,7 @@ var PaymentReceiptsApiAxiosParamCreator = function (configuration) {
|
|
|
332
332
|
case 0:
|
|
333
333
|
// verify required parameter 'code' is not null or undefined
|
|
334
334
|
(0, common_1.assertParamExists)('updatePaymentReceipt', 'code', code);
|
|
335
|
-
localVarPath = "/paymentservice/v1/
|
|
335
|
+
localVarPath = "/paymentservice/v1/payment-receipts/{code}"
|
|
336
336
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
337
337
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
338
338
|
if (configuration) {
|