@emilgroup/payment-sdk-node 1.23.1-beta.36 → 1.23.1-beta.38

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-node@1.23.1-beta.36 --save
20
+ npm install @emilgroup/payment-sdk-node@1.23.1-beta.38 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/payment-sdk-node@1.23.1-beta.36
24
+ yarn add @emilgroup/payment-sdk-node@1.23.1-beta.38
25
25
  ```
26
26
 
27
27
  And then you can import `PaymentsApi`.
@@ -51,7 +51,7 @@ export const PaymentReceiptsApiAxiosParamCreator = function (configuration?: Con
51
51
  createPaymentReceipt: async (createPaymentReceiptRequestDto: CreatePaymentReceiptRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
52
52
  // verify required parameter 'createPaymentReceiptRequestDto' is not null or undefined
53
53
  assertParamExists('createPaymentReceipt', 'createPaymentReceiptRequestDto', createPaymentReceiptRequestDto)
54
- const localVarPath = `/paymentservice/v1/paymentreceipts`;
54
+ const localVarPath = `/paymentservice/v1/payment-receipts`;
55
55
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
56
56
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
57
57
  let baseOptions;
@@ -98,7 +98,7 @@ export const PaymentReceiptsApiAxiosParamCreator = function (configuration?: Con
98
98
  deletePaymentReceipt: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
99
99
  // verify required parameter 'code' is not null or undefined
100
100
  assertParamExists('deletePaymentReceipt', 'code', code)
101
- const localVarPath = `/paymentservice/v1/paymentreceipts/{code}`
101
+ const localVarPath = `/paymentservice/v1/payment-receipts/{code}`
102
102
  .replace(`{${"code"}}`, encodeURIComponent(String(code)));
103
103
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
104
104
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -146,7 +146,7 @@ export const PaymentReceiptsApiAxiosParamCreator = function (configuration?: Con
146
146
  assertParamExists('getPaymentReceipt', 'code', code)
147
147
  // verify required parameter 'expand' is not null or undefined
148
148
  assertParamExists('getPaymentReceipt', 'expand', expand)
149
- const localVarPath = `/paymentservice/v1/paymentreceipts/{code}`
149
+ const localVarPath = `/paymentservice/v1/payment-receipts/{code}`
150
150
  .replace(`{${"code"}}`, encodeURIComponent(String(code)));
151
151
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
152
152
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -199,7 +199,7 @@ export const PaymentReceiptsApiAxiosParamCreator = function (configuration?: Con
199
199
  * @throws {RequiredError}
200
200
  */
201
201
  listPaymentReceipts: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
202
- const localVarPath = `/paymentservice/v1/paymentreceipts`;
202
+ const localVarPath = `/paymentservice/v1/payment-receipts`;
203
203
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
204
204
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
205
205
  let baseOptions;
@@ -271,7 +271,7 @@ export const PaymentReceiptsApiAxiosParamCreator = function (configuration?: Con
271
271
  updatePaymentReceipt: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
272
272
  // verify required parameter 'code' is not null or undefined
273
273
  assertParamExists('updatePaymentReceipt', 'code', code)
274
- const localVarPath = `/paymentservice/v1/paymentreceipts/{code}`
274
+ const localVarPath = `/paymentservice/v1/payment-receipts/{code}`
275
275
  .replace(`{${"code"}}`, encodeURIComponent(String(code)));
276
276
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
277
277
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -113,7 +113,7 @@ var PaymentReceiptsApiAxiosParamCreator = function (configuration) {
113
113
  case 0:
114
114
  // verify required parameter 'createPaymentReceiptRequestDto' is not null or undefined
115
115
  (0, common_1.assertParamExists)('createPaymentReceipt', 'createPaymentReceiptRequestDto', createPaymentReceiptRequestDto);
116
- localVarPath = "/paymentservice/v1/paymentreceipts";
116
+ localVarPath = "/paymentservice/v1/payment-receipts";
117
117
  localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
118
118
  if (configuration) {
119
119
  baseOptions = configuration.baseOptions;
@@ -162,7 +162,7 @@ var PaymentReceiptsApiAxiosParamCreator = function (configuration) {
162
162
  case 0:
163
163
  // verify required parameter 'code' is not null or undefined
164
164
  (0, common_1.assertParamExists)('deletePaymentReceipt', 'code', code);
165
- localVarPath = "/paymentservice/v1/paymentreceipts/{code}"
165
+ localVarPath = "/paymentservice/v1/payment-receipts/{code}"
166
166
  .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
167
167
  localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
168
168
  if (configuration) {
@@ -213,7 +213,7 @@ var PaymentReceiptsApiAxiosParamCreator = function (configuration) {
213
213
  (0, common_1.assertParamExists)('getPaymentReceipt', 'code', code);
214
214
  // verify required parameter 'expand' is not null or undefined
215
215
  (0, common_1.assertParamExists)('getPaymentReceipt', 'expand', expand);
216
- localVarPath = "/paymentservice/v1/paymentreceipts/{code}"
216
+ localVarPath = "/paymentservice/v1/payment-receipts/{code}"
217
217
  .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
218
218
  localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
219
219
  if (configuration) {
@@ -268,7 +268,7 @@ var PaymentReceiptsApiAxiosParamCreator = function (configuration) {
268
268
  return __generator(this, function (_a) {
269
269
  switch (_a.label) {
270
270
  case 0:
271
- localVarPath = "/paymentservice/v1/paymentreceipts";
271
+ localVarPath = "/paymentservice/v1/payment-receipts";
272
272
  localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
273
273
  if (configuration) {
274
274
  baseOptions = configuration.baseOptions;
@@ -336,7 +336,7 @@ var PaymentReceiptsApiAxiosParamCreator = function (configuration) {
336
336
  case 0:
337
337
  // verify required parameter 'code' is not null or undefined
338
338
  (0, common_1.assertParamExists)('updatePaymentReceipt', 'code', code);
339
- localVarPath = "/paymentservice/v1/paymentreceipts/{code}"
339
+ localVarPath = "/paymentservice/v1/payment-receipts/{code}"
340
340
  .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
341
341
  localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
342
342
  if (configuration) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/payment-sdk-node",
3
- "version": "1.23.1-beta.36",
3
+ "version": "1.23.1-beta.38",
4
4
  "description": "OpenAPI client for @emilgroup/payment-sdk-node",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [