@emilgroup/payment-sdk 1.13.1-beta.104 → 1.13.1-beta.106
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 +2 -2
- package/api/payments-api.ts +4 -8
- package/dist/api/payments-api.d.ts +4 -8
- package/dist/api/payments-api.js +4 -8
- package/package.json +1 -1
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.13.1-beta.
|
|
20
|
+
npm install @emilgroup/payment-sdk@1.13.1-beta.106 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/payment-sdk@1.13.1-beta.
|
|
24
|
+
yarn add @emilgroup/payment-sdk@1.13.1-beta.106
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `PaymentsApi`.
|
package/api/payments-api.ts
CHANGED
|
@@ -37,13 +37,12 @@ import { ListPaymentsResponseClass } from '../models';
|
|
|
37
37
|
export const PaymentsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
38
38
|
return {
|
|
39
39
|
/**
|
|
40
|
-
* This will create a payment for a specified account. This function is idempotent.
|
|
40
|
+
* This will create a payment for a specified account. This function is idempotent. **Required Permissions** \"payment-management.payments.create\"
|
|
41
41
|
* @summary Create the payment
|
|
42
42
|
* @param {string} idempotencyKey Idempotency Key used to make the request idempotent. The key should be unique. Usually, a generated v4 UUID is enough.
|
|
43
43
|
* @param {CreatePaymentRequestDto} createPaymentRequestDto
|
|
44
44
|
* @param {string} [authorization] Bearer Token
|
|
45
45
|
* @param {*} [options] Override http request option.
|
|
46
|
-
* @deprecated
|
|
47
46
|
* @throws {RequiredError}
|
|
48
47
|
*/
|
|
49
48
|
createPayment: async (idempotencyKey: string, createPaymentRequestDto: CreatePaymentRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
@@ -282,13 +281,12 @@ export const PaymentsApiFp = function(configuration?: Configuration) {
|
|
|
282
281
|
const localVarAxiosParamCreator = PaymentsApiAxiosParamCreator(configuration)
|
|
283
282
|
return {
|
|
284
283
|
/**
|
|
285
|
-
* This will create a payment for a specified account. This function is idempotent.
|
|
284
|
+
* This will create a payment for a specified account. This function is idempotent. **Required Permissions** \"payment-management.payments.create\"
|
|
286
285
|
* @summary Create the payment
|
|
287
286
|
* @param {string} idempotencyKey Idempotency Key used to make the request idempotent. The key should be unique. Usually, a generated v4 UUID is enough.
|
|
288
287
|
* @param {CreatePaymentRequestDto} createPaymentRequestDto
|
|
289
288
|
* @param {string} [authorization] Bearer Token
|
|
290
289
|
* @param {*} [options] Override http request option.
|
|
291
|
-
* @deprecated
|
|
292
290
|
* @throws {RequiredError}
|
|
293
291
|
*/
|
|
294
292
|
async createPayment(idempotencyKey: string, createPaymentRequestDto: CreatePaymentRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePaymentResponseClass>> {
|
|
@@ -350,13 +348,12 @@ export const PaymentsApiFactory = function (configuration?: Configuration, baseP
|
|
|
350
348
|
const localVarFp = PaymentsApiFp(configuration)
|
|
351
349
|
return {
|
|
352
350
|
/**
|
|
353
|
-
* This will create a payment for a specified account. This function is idempotent.
|
|
351
|
+
* This will create a payment for a specified account. This function is idempotent. **Required Permissions** \"payment-management.payments.create\"
|
|
354
352
|
* @summary Create the payment
|
|
355
353
|
* @param {string} idempotencyKey Idempotency Key used to make the request idempotent. The key should be unique. Usually, a generated v4 UUID is enough.
|
|
356
354
|
* @param {CreatePaymentRequestDto} createPaymentRequestDto
|
|
357
355
|
* @param {string} [authorization] Bearer Token
|
|
358
356
|
* @param {*} [options] Override http request option.
|
|
359
|
-
* @deprecated
|
|
360
357
|
* @throws {RequiredError}
|
|
361
358
|
*/
|
|
362
359
|
createPayment(idempotencyKey: string, createPaymentRequestDto: CreatePaymentRequestDto, authorization?: string, options?: any): AxiosPromise<CreatePaymentResponseClass> {
|
|
@@ -561,11 +558,10 @@ export interface PaymentsApiListPaymentsRequest {
|
|
|
561
558
|
*/
|
|
562
559
|
export class PaymentsApi extends BaseAPI {
|
|
563
560
|
/**
|
|
564
|
-
* This will create a payment for a specified account. This function is idempotent.
|
|
561
|
+
* This will create a payment for a specified account. This function is idempotent. **Required Permissions** \"payment-management.payments.create\"
|
|
565
562
|
* @summary Create the payment
|
|
566
563
|
* @param {PaymentsApiCreatePaymentRequest} requestParameters Request parameters.
|
|
567
564
|
* @param {*} [options] Override http request option.
|
|
568
|
-
* @deprecated
|
|
569
565
|
* @throws {RequiredError}
|
|
570
566
|
* @memberof PaymentsApi
|
|
571
567
|
*/
|
|
@@ -23,13 +23,12 @@ import { ListPaymentsResponseClass } from '../models';
|
|
|
23
23
|
*/
|
|
24
24
|
export declare const PaymentsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
25
25
|
/**
|
|
26
|
-
* This will create a payment for a specified account. This function is idempotent.
|
|
26
|
+
* This will create a payment for a specified account. This function is idempotent. **Required Permissions** \"payment-management.payments.create\"
|
|
27
27
|
* @summary Create the payment
|
|
28
28
|
* @param {string} idempotencyKey Idempotency Key used to make the request idempotent. The key should be unique. Usually, a generated v4 UUID is enough.
|
|
29
29
|
* @param {CreatePaymentRequestDto} createPaymentRequestDto
|
|
30
30
|
* @param {string} [authorization] Bearer Token
|
|
31
31
|
* @param {*} [options] Override http request option.
|
|
32
|
-
* @deprecated
|
|
33
32
|
* @throws {RequiredError}
|
|
34
33
|
*/
|
|
35
34
|
createPayment: (idempotencyKey: string, createPaymentRequestDto: CreatePaymentRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
@@ -75,13 +74,12 @@ export declare const PaymentsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
75
74
|
*/
|
|
76
75
|
export declare const PaymentsApiFp: (configuration?: Configuration) => {
|
|
77
76
|
/**
|
|
78
|
-
* This will create a payment for a specified account. This function is idempotent.
|
|
77
|
+
* This will create a payment for a specified account. This function is idempotent. **Required Permissions** \"payment-management.payments.create\"
|
|
79
78
|
* @summary Create the payment
|
|
80
79
|
* @param {string} idempotencyKey Idempotency Key used to make the request idempotent. The key should be unique. Usually, a generated v4 UUID is enough.
|
|
81
80
|
* @param {CreatePaymentRequestDto} createPaymentRequestDto
|
|
82
81
|
* @param {string} [authorization] Bearer Token
|
|
83
82
|
* @param {*} [options] Override http request option.
|
|
84
|
-
* @deprecated
|
|
85
83
|
* @throws {RequiredError}
|
|
86
84
|
*/
|
|
87
85
|
createPayment(idempotencyKey: string, createPaymentRequestDto: CreatePaymentRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePaymentResponseClass>>;
|
|
@@ -127,13 +125,12 @@ export declare const PaymentsApiFp: (configuration?: Configuration) => {
|
|
|
127
125
|
*/
|
|
128
126
|
export declare const PaymentsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
129
127
|
/**
|
|
130
|
-
* This will create a payment for a specified account. This function is idempotent.
|
|
128
|
+
* This will create a payment for a specified account. This function is idempotent. **Required Permissions** \"payment-management.payments.create\"
|
|
131
129
|
* @summary Create the payment
|
|
132
130
|
* @param {string} idempotencyKey Idempotency Key used to make the request idempotent. The key should be unique. Usually, a generated v4 UUID is enough.
|
|
133
131
|
* @param {CreatePaymentRequestDto} createPaymentRequestDto
|
|
134
132
|
* @param {string} [authorization] Bearer Token
|
|
135
133
|
* @param {*} [options] Override http request option.
|
|
136
|
-
* @deprecated
|
|
137
134
|
* @throws {RequiredError}
|
|
138
135
|
*/
|
|
139
136
|
createPayment(idempotencyKey: string, createPaymentRequestDto: CreatePaymentRequestDto, authorization?: string, options?: any): AxiosPromise<CreatePaymentResponseClass>;
|
|
@@ -311,11 +308,10 @@ export interface PaymentsApiListPaymentsRequest {
|
|
|
311
308
|
*/
|
|
312
309
|
export declare class PaymentsApi extends BaseAPI {
|
|
313
310
|
/**
|
|
314
|
-
* This will create a payment for a specified account. This function is idempotent.
|
|
311
|
+
* This will create a payment for a specified account. This function is idempotent. **Required Permissions** \"payment-management.payments.create\"
|
|
315
312
|
* @summary Create the payment
|
|
316
313
|
* @param {PaymentsApiCreatePaymentRequest} requestParameters Request parameters.
|
|
317
314
|
* @param {*} [options] Override http request option.
|
|
318
|
-
* @deprecated
|
|
319
315
|
* @throws {RequiredError}
|
|
320
316
|
* @memberof PaymentsApi
|
|
321
317
|
*/
|
package/dist/api/payments-api.js
CHANGED
|
@@ -93,13 +93,12 @@ var PaymentsApiAxiosParamCreator = function (configuration) {
|
|
|
93
93
|
var _this = this;
|
|
94
94
|
return {
|
|
95
95
|
/**
|
|
96
|
-
* This will create a payment for a specified account. This function is idempotent.
|
|
96
|
+
* This will create a payment for a specified account. This function is idempotent. **Required Permissions** \"payment-management.payments.create\"
|
|
97
97
|
* @summary Create the payment
|
|
98
98
|
* @param {string} idempotencyKey Idempotency Key used to make the request idempotent. The key should be unique. Usually, a generated v4 UUID is enough.
|
|
99
99
|
* @param {CreatePaymentRequestDto} createPaymentRequestDto
|
|
100
100
|
* @param {string} [authorization] Bearer Token
|
|
101
101
|
* @param {*} [options] Override http request option.
|
|
102
|
-
* @deprecated
|
|
103
102
|
* @throws {RequiredError}
|
|
104
103
|
*/
|
|
105
104
|
createPayment: function (idempotencyKey, createPaymentRequestDto, authorization, options) {
|
|
@@ -338,13 +337,12 @@ var PaymentsApiFp = function (configuration) {
|
|
|
338
337
|
var localVarAxiosParamCreator = (0, exports.PaymentsApiAxiosParamCreator)(configuration);
|
|
339
338
|
return {
|
|
340
339
|
/**
|
|
341
|
-
* This will create a payment for a specified account. This function is idempotent.
|
|
340
|
+
* This will create a payment for a specified account. This function is idempotent. **Required Permissions** \"payment-management.payments.create\"
|
|
342
341
|
* @summary Create the payment
|
|
343
342
|
* @param {string} idempotencyKey Idempotency Key used to make the request idempotent. The key should be unique. Usually, a generated v4 UUID is enough.
|
|
344
343
|
* @param {CreatePaymentRequestDto} createPaymentRequestDto
|
|
345
344
|
* @param {string} [authorization] Bearer Token
|
|
346
345
|
* @param {*} [options] Override http request option.
|
|
347
|
-
* @deprecated
|
|
348
346
|
* @throws {RequiredError}
|
|
349
347
|
*/
|
|
350
348
|
createPayment: function (idempotencyKey, createPaymentRequestDto, authorization, options) {
|
|
@@ -442,13 +440,12 @@ var PaymentsApiFactory = function (configuration, basePath, axios) {
|
|
|
442
440
|
var localVarFp = (0, exports.PaymentsApiFp)(configuration);
|
|
443
441
|
return {
|
|
444
442
|
/**
|
|
445
|
-
* This will create a payment for a specified account. This function is idempotent.
|
|
443
|
+
* This will create a payment for a specified account. This function is idempotent. **Required Permissions** \"payment-management.payments.create\"
|
|
446
444
|
* @summary Create the payment
|
|
447
445
|
* @param {string} idempotencyKey Idempotency Key used to make the request idempotent. The key should be unique. Usually, a generated v4 UUID is enough.
|
|
448
446
|
* @param {CreatePaymentRequestDto} createPaymentRequestDto
|
|
449
447
|
* @param {string} [authorization] Bearer Token
|
|
450
448
|
* @param {*} [options] Override http request option.
|
|
451
|
-
* @deprecated
|
|
452
449
|
* @throws {RequiredError}
|
|
453
450
|
*/
|
|
454
451
|
createPayment: function (idempotencyKey, createPaymentRequestDto, authorization, options) {
|
|
@@ -510,11 +507,10 @@ var PaymentsApi = /** @class */ (function (_super) {
|
|
|
510
507
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
511
508
|
}
|
|
512
509
|
/**
|
|
513
|
-
* This will create a payment for a specified account. This function is idempotent.
|
|
510
|
+
* This will create a payment for a specified account. This function is idempotent. **Required Permissions** \"payment-management.payments.create\"
|
|
514
511
|
* @summary Create the payment
|
|
515
512
|
* @param {PaymentsApiCreatePaymentRequest} requestParameters Request parameters.
|
|
516
513
|
* @param {*} [options] Override http request option.
|
|
517
|
-
* @deprecated
|
|
518
514
|
* @throws {RequiredError}
|
|
519
515
|
* @memberof PaymentsApi
|
|
520
516
|
*/
|