@emilgroup/payment-sdk 1.13.1-beta.15 → 1.13.1-beta.16
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/dist/models/create-payment-reminder-request-dto.d.ts +7 -1
- package/dist/models/create-payment-request-dto.d.ts +7 -1
- package/dist/models/create-psp-payment-method-request-dto.d.ts +7 -1
- package/dist/models/deactivated-payment-reminder-class.d.ts +7 -1
- package/dist/models/initiate-adyen-payment-setup-request-dto.d.ts +6 -0
- package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +6 -0
- package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +6 -0
- package/dist/models/payment-class-without-expand-properties.d.ts +7 -1
- package/dist/models/payment-class.d.ts +7 -1
- package/dist/models/payment-reminder-class.d.ts +7 -1
- package/dist/models/refund-class.d.ts +7 -1
- package/models/create-payment-reminder-request-dto.ts +7 -1
- package/models/create-payment-request-dto.ts +7 -1
- package/models/create-psp-payment-method-request-dto.ts +7 -1
- package/models/deactivated-payment-reminder-class.ts +7 -1
- package/models/initiate-adyen-payment-setup-request-dto.ts +6 -0
- package/models/initiate-braintree-payment-setup-request-dto.ts +6 -0
- package/models/initiate-stripe-payment-setup-request-dto.ts +6 -0
- package/models/payment-class-without-expand-properties.ts +7 -1
- package/models/payment-class.ts +7 -1
- package/models/payment-reminder-class.ts +7 -1
- package/models/refund-class.ts +7 -1
- 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.16 --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.16
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `PaymentsApi`.
|
|
@@ -32,7 +32,13 @@ export interface CreatePaymentReminderRequestDto {
|
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof CreatePaymentReminderRequestDto
|
|
34
34
|
*/
|
|
35
|
-
'accountCode'
|
|
35
|
+
'accountCode'?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Code referencing the partner for which this reminder is created.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof CreatePaymentReminderRequestDto
|
|
40
|
+
*/
|
|
41
|
+
'partnerCode'?: string;
|
|
36
42
|
/**
|
|
37
43
|
* The type of invoice is used to determine the proper workflow.
|
|
38
44
|
* @type {string}
|
|
@@ -20,7 +20,13 @@ export interface CreatePaymentRequestDto {
|
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof CreatePaymentRequestDto
|
|
22
22
|
*/
|
|
23
|
-
'accountCode'
|
|
23
|
+
'accountCode'?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Partner code associated to that payment.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreatePaymentRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'partnerCode'?: string;
|
|
24
30
|
/**
|
|
25
31
|
* Amount to be paid in cents. 100 to charge 1€.
|
|
26
32
|
* @type {number}
|
|
@@ -28,7 +28,13 @@ export interface CreatePspPaymentMethodRequestDto {
|
|
|
28
28
|
* @type {string}
|
|
29
29
|
* @memberof CreatePspPaymentMethodRequestDto
|
|
30
30
|
*/
|
|
31
|
-
'accountCode'
|
|
31
|
+
'accountCode'?: string;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof CreatePspPaymentMethodRequestDto
|
|
36
|
+
*/
|
|
37
|
+
'partnerCode'?: string;
|
|
32
38
|
/**
|
|
33
39
|
*
|
|
34
40
|
* @type {SepaDirectDto}
|
|
@@ -38,7 +38,13 @@ export interface DeactivatedPaymentReminderClass {
|
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof DeactivatedPaymentReminderClass
|
|
40
40
|
*/
|
|
41
|
-
'accountCode'
|
|
41
|
+
'accountCode'?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Unique identifier of related partner.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof DeactivatedPaymentReminderClass
|
|
46
|
+
*/
|
|
47
|
+
'partnerCode'?: string;
|
|
42
48
|
/**
|
|
43
49
|
* Type of the invoice
|
|
44
50
|
* @type {string}
|
|
@@ -27,4 +27,10 @@ export interface InitiateAdyenPaymentSetupRequestDto {
|
|
|
27
27
|
* @memberof InitiateAdyenPaymentSetupRequestDto
|
|
28
28
|
*/
|
|
29
29
|
'accountCode'?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Unique identifier of the partner that this object belongs to.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof InitiateAdyenPaymentSetupRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'partnerCode'?: string;
|
|
30
36
|
}
|
|
@@ -27,4 +27,10 @@ export interface InitiateBraintreePaymentSetupRequestDto {
|
|
|
27
27
|
* @memberof InitiateBraintreePaymentSetupRequestDto
|
|
28
28
|
*/
|
|
29
29
|
'accountCode'?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Unique identifier of the partner that this object belongs to.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof InitiateBraintreePaymentSetupRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'partnerCode'?: string;
|
|
30
36
|
}
|
|
@@ -27,4 +27,10 @@ export interface InitiateStripePaymentSetupRequestDto {
|
|
|
27
27
|
* @memberof InitiateStripePaymentSetupRequestDto
|
|
28
28
|
*/
|
|
29
29
|
'accountCode'?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Unique identifier of the partner that this object belongs to.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof InitiateStripePaymentSetupRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'partnerCode'?: string;
|
|
30
36
|
}
|
|
@@ -38,7 +38,13 @@ export interface PaymentClassWithoutExpandProperties {
|
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof PaymentClassWithoutExpandProperties
|
|
40
40
|
*/
|
|
41
|
-
'accountCode'
|
|
41
|
+
'accountCode'?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Partner code associated to that payment.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof PaymentClassWithoutExpandProperties
|
|
46
|
+
*/
|
|
47
|
+
'partnerCode'?: string;
|
|
42
48
|
/**
|
|
43
49
|
* Amount to be paid in cents. 100 to charge 1€.
|
|
44
50
|
* @type {number}
|
|
@@ -39,7 +39,13 @@ export interface PaymentClass {
|
|
|
39
39
|
* @type {string}
|
|
40
40
|
* @memberof PaymentClass
|
|
41
41
|
*/
|
|
42
|
-
'accountCode'
|
|
42
|
+
'accountCode'?: string;
|
|
43
|
+
/**
|
|
44
|
+
* Partner code associated to that payment.
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof PaymentClass
|
|
47
|
+
*/
|
|
48
|
+
'partnerCode'?: string;
|
|
43
49
|
/**
|
|
44
50
|
* Amount to be paid in cents. 100 to charge 1€.
|
|
45
51
|
* @type {number}
|
|
@@ -38,7 +38,13 @@ export interface PaymentReminderClass {
|
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof PaymentReminderClass
|
|
40
40
|
*/
|
|
41
|
-
'accountCode'
|
|
41
|
+
'accountCode'?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Unique identifier of related partner.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof PaymentReminderClass
|
|
46
|
+
*/
|
|
47
|
+
'partnerCode'?: string;
|
|
42
48
|
/**
|
|
43
49
|
* Type of the invoice
|
|
44
50
|
* @type {string}
|
|
@@ -39,7 +39,13 @@ export interface RefundClass {
|
|
|
39
39
|
* @type {string}
|
|
40
40
|
* @memberof RefundClass
|
|
41
41
|
*/
|
|
42
|
-
'accountCode'
|
|
42
|
+
'accountCode'?: string;
|
|
43
|
+
/**
|
|
44
|
+
* Partner code associated with the payment.
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof RefundClass
|
|
47
|
+
*/
|
|
48
|
+
'partnerCode'?: string;
|
|
43
49
|
/**
|
|
44
50
|
* Amount that was refunded in cents. 100 to refund 1€.
|
|
45
51
|
* @type {number}
|
|
@@ -37,7 +37,13 @@ export interface CreatePaymentReminderRequestDto {
|
|
|
37
37
|
* @type {string}
|
|
38
38
|
* @memberof CreatePaymentReminderRequestDto
|
|
39
39
|
*/
|
|
40
|
-
'accountCode'
|
|
40
|
+
'accountCode'?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Code referencing the partner for which this reminder is created.
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof CreatePaymentReminderRequestDto
|
|
45
|
+
*/
|
|
46
|
+
'partnerCode'?: string;
|
|
41
47
|
/**
|
|
42
48
|
* The type of invoice is used to determine the proper workflow.
|
|
43
49
|
* @type {string}
|
|
@@ -25,7 +25,13 @@ export interface CreatePaymentRequestDto {
|
|
|
25
25
|
* @type {string}
|
|
26
26
|
* @memberof CreatePaymentRequestDto
|
|
27
27
|
*/
|
|
28
|
-
'accountCode'
|
|
28
|
+
'accountCode'?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Partner code associated to that payment.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof CreatePaymentRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'partnerCode'?: string;
|
|
29
35
|
/**
|
|
30
36
|
* Amount to be paid in cents. 100 to charge 1€.
|
|
31
37
|
* @type {number}
|
|
@@ -33,7 +33,13 @@ export interface CreatePspPaymentMethodRequestDto {
|
|
|
33
33
|
* @type {string}
|
|
34
34
|
* @memberof CreatePspPaymentMethodRequestDto
|
|
35
35
|
*/
|
|
36
|
-
'accountCode'
|
|
36
|
+
'accountCode'?: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof CreatePspPaymentMethodRequestDto
|
|
41
|
+
*/
|
|
42
|
+
'partnerCode'?: string;
|
|
37
43
|
/**
|
|
38
44
|
*
|
|
39
45
|
* @type {SepaDirectDto}
|
|
@@ -43,7 +43,13 @@ export interface DeactivatedPaymentReminderClass {
|
|
|
43
43
|
* @type {string}
|
|
44
44
|
* @memberof DeactivatedPaymentReminderClass
|
|
45
45
|
*/
|
|
46
|
-
'accountCode'
|
|
46
|
+
'accountCode'?: string;
|
|
47
|
+
/**
|
|
48
|
+
* Unique identifier of related partner.
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof DeactivatedPaymentReminderClass
|
|
51
|
+
*/
|
|
52
|
+
'partnerCode'?: string;
|
|
47
53
|
/**
|
|
48
54
|
* Type of the invoice
|
|
49
55
|
* @type {string}
|
|
@@ -32,5 +32,11 @@ export interface InitiateAdyenPaymentSetupRequestDto {
|
|
|
32
32
|
* @memberof InitiateAdyenPaymentSetupRequestDto
|
|
33
33
|
*/
|
|
34
34
|
'accountCode'?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Unique identifier of the partner that this object belongs to.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof InitiateAdyenPaymentSetupRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'partnerCode'?: string;
|
|
35
41
|
}
|
|
36
42
|
|
|
@@ -32,5 +32,11 @@ export interface InitiateBraintreePaymentSetupRequestDto {
|
|
|
32
32
|
* @memberof InitiateBraintreePaymentSetupRequestDto
|
|
33
33
|
*/
|
|
34
34
|
'accountCode'?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Unique identifier of the partner that this object belongs to.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof InitiateBraintreePaymentSetupRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'partnerCode'?: string;
|
|
35
41
|
}
|
|
36
42
|
|
|
@@ -32,5 +32,11 @@ export interface InitiateStripePaymentSetupRequestDto {
|
|
|
32
32
|
* @memberof InitiateStripePaymentSetupRequestDto
|
|
33
33
|
*/
|
|
34
34
|
'accountCode'?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Unique identifier of the partner that this object belongs to.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof InitiateStripePaymentSetupRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'partnerCode'?: string;
|
|
35
41
|
}
|
|
36
42
|
|
|
@@ -43,7 +43,13 @@ export interface PaymentClassWithoutExpandProperties {
|
|
|
43
43
|
* @type {string}
|
|
44
44
|
* @memberof PaymentClassWithoutExpandProperties
|
|
45
45
|
*/
|
|
46
|
-
'accountCode'
|
|
46
|
+
'accountCode'?: string;
|
|
47
|
+
/**
|
|
48
|
+
* Partner code associated to that payment.
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof PaymentClassWithoutExpandProperties
|
|
51
|
+
*/
|
|
52
|
+
'partnerCode'?: string;
|
|
47
53
|
/**
|
|
48
54
|
* Amount to be paid in cents. 100 to charge 1€.
|
|
49
55
|
* @type {number}
|
package/models/payment-class.ts
CHANGED
|
@@ -44,7 +44,13 @@ export interface PaymentClass {
|
|
|
44
44
|
* @type {string}
|
|
45
45
|
* @memberof PaymentClass
|
|
46
46
|
*/
|
|
47
|
-
'accountCode'
|
|
47
|
+
'accountCode'?: string;
|
|
48
|
+
/**
|
|
49
|
+
* Partner code associated to that payment.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof PaymentClass
|
|
52
|
+
*/
|
|
53
|
+
'partnerCode'?: string;
|
|
48
54
|
/**
|
|
49
55
|
* Amount to be paid in cents. 100 to charge 1€.
|
|
50
56
|
* @type {number}
|
|
@@ -43,7 +43,13 @@ export interface PaymentReminderClass {
|
|
|
43
43
|
* @type {string}
|
|
44
44
|
* @memberof PaymentReminderClass
|
|
45
45
|
*/
|
|
46
|
-
'accountCode'
|
|
46
|
+
'accountCode'?: string;
|
|
47
|
+
/**
|
|
48
|
+
* Unique identifier of related partner.
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof PaymentReminderClass
|
|
51
|
+
*/
|
|
52
|
+
'partnerCode'?: string;
|
|
47
53
|
/**
|
|
48
54
|
* Type of the invoice
|
|
49
55
|
* @type {string}
|
package/models/refund-class.ts
CHANGED
|
@@ -44,7 +44,13 @@ export interface RefundClass {
|
|
|
44
44
|
* @type {string}
|
|
45
45
|
* @memberof RefundClass
|
|
46
46
|
*/
|
|
47
|
-
'accountCode'
|
|
47
|
+
'accountCode'?: string;
|
|
48
|
+
/**
|
|
49
|
+
* Partner code associated with the payment.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof RefundClass
|
|
52
|
+
*/
|
|
53
|
+
'partnerCode'?: string;
|
|
48
54
|
/**
|
|
49
55
|
* Amount that was refunded in cents. 100 to refund 1€.
|
|
50
56
|
* @type {number}
|