@wix/auto_sdk_payments_psp-callbacks 1.0.0 → 1.0.3
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/build/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.types.d.ts +49 -17
- package/build/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.d.ts +49 -17
- package/build/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.js.map +1 -1
- package/build/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.types.d.ts +49 -17
- package/build/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.d.ts +49 -17
- package/build/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.js.map +1 -1
- package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.types.d.ts +49 -17
- package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.d.ts +49 -17
- package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.js.map +1 -1
- package/build/internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.types.d.ts +49 -17
- package/build/internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.d.ts +49 -17
- package/build/internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.js.map +1 -1
- package/package.json +2 -2
|
@@ -4,12 +4,12 @@ export interface ProviderPlatformEvent extends ProviderPlatformEventResourceOneO
|
|
|
4
4
|
refund?: RefundEvent;
|
|
5
5
|
/** Transaction event data. */
|
|
6
6
|
transaction?: TransactionEvent;
|
|
7
|
-
/** Capture event data */
|
|
7
|
+
/** Capture event data. */
|
|
8
8
|
capture?: CaptureEvent;
|
|
9
|
-
/** Void event data */
|
|
9
|
+
/** Void event data. */
|
|
10
10
|
void?: VoidEvent;
|
|
11
11
|
/**
|
|
12
|
-
* This field is
|
|
12
|
+
* This field is deprecated.
|
|
13
13
|
* @deprecated
|
|
14
14
|
*/
|
|
15
15
|
pluginId?: string;
|
|
@@ -20,9 +20,9 @@ export interface ProviderPlatformEventResourceOneOf {
|
|
|
20
20
|
refund?: RefundEvent;
|
|
21
21
|
/** Transaction event data. */
|
|
22
22
|
transaction?: TransactionEvent;
|
|
23
|
-
/** Capture event data */
|
|
23
|
+
/** Capture event data. */
|
|
24
24
|
capture?: CaptureEvent;
|
|
25
|
-
/** Void event data */
|
|
25
|
+
/** Void event data. */
|
|
26
26
|
void?: VoidEvent;
|
|
27
27
|
}
|
|
28
28
|
export interface RefundEvent {
|
|
@@ -81,33 +81,65 @@ export interface PaymentMethodReference {
|
|
|
81
81
|
token?: string;
|
|
82
82
|
}
|
|
83
83
|
export interface CardDetails {
|
|
84
|
-
/**
|
|
84
|
+
/**
|
|
85
|
+
* Issuer (business) identification number. First 6 or 8 digits of the card's number.
|
|
86
|
+
* @minLength 6
|
|
87
|
+
* @maxLength 8
|
|
88
|
+
*/
|
|
85
89
|
bin?: string | null;
|
|
86
|
-
/**
|
|
90
|
+
/**
|
|
91
|
+
* Last 4 digits of the card's number.
|
|
92
|
+
* @minLength 4
|
|
93
|
+
* @maxLength 4
|
|
94
|
+
*/
|
|
87
95
|
lastFour?: string | null;
|
|
88
96
|
}
|
|
89
97
|
export interface CaptureEvent {
|
|
90
|
-
/**
|
|
98
|
+
/**
|
|
99
|
+
* Wix transaction ID.
|
|
100
|
+
* @format GUID
|
|
101
|
+
*/
|
|
91
102
|
wixTransactionId?: string;
|
|
92
|
-
/** Wix [reason code](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/reason-codes
|
|
103
|
+
/** Wix [reason code](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/reason-codes) indicating request's status. */
|
|
93
104
|
reasonCode?: number;
|
|
94
|
-
/**
|
|
105
|
+
/**
|
|
106
|
+
* Total amount captured in a currency’s minor units.
|
|
107
|
+
* Learn more about [currencies](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/currencies).
|
|
108
|
+
*/
|
|
95
109
|
amount?: string;
|
|
96
|
-
/**
|
|
110
|
+
/**
|
|
111
|
+
* PSP-specific error code.
|
|
112
|
+
* @maxLength 50
|
|
113
|
+
*/
|
|
97
114
|
errorCode?: string | null;
|
|
98
|
-
/**
|
|
115
|
+
/**
|
|
116
|
+
* PSP-specific error message.
|
|
117
|
+
* @maxLength 300
|
|
118
|
+
*/
|
|
99
119
|
errorMessage?: string | null;
|
|
100
120
|
}
|
|
101
121
|
export interface VoidEvent {
|
|
102
|
-
/**
|
|
122
|
+
/**
|
|
123
|
+
* Wix transaction ID.
|
|
124
|
+
* @format GUID
|
|
125
|
+
*/
|
|
103
126
|
wixTransactionId?: string;
|
|
104
|
-
/**
|
|
127
|
+
/** Wix [reason code](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/reason-codes) indicating request's status. */
|
|
105
128
|
reasonCode?: number;
|
|
106
|
-
/**
|
|
129
|
+
/**
|
|
130
|
+
* Total amount voided in a currency’s minor units.
|
|
131
|
+
* Learn more about [currencies](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/currencies).
|
|
132
|
+
*/
|
|
107
133
|
amount?: string;
|
|
108
|
-
/**
|
|
134
|
+
/**
|
|
135
|
+
* PSP-specific error code.
|
|
136
|
+
* @maxLength 50
|
|
137
|
+
*/
|
|
109
138
|
errorCode?: string | null;
|
|
110
|
-
/**
|
|
139
|
+
/**
|
|
140
|
+
* PSP-specific error message.
|
|
141
|
+
* @maxLength 300
|
|
142
|
+
*/
|
|
111
143
|
errorMessage?: string | null;
|
|
112
144
|
}
|
|
113
145
|
/** Submit event request */
|
|
@@ -4,12 +4,12 @@ export interface ProviderPlatformEvent extends ProviderPlatformEventResourceOneO
|
|
|
4
4
|
refund?: RefundEvent;
|
|
5
5
|
/** Transaction event data. */
|
|
6
6
|
transaction?: TransactionEvent;
|
|
7
|
-
/** Capture event data */
|
|
7
|
+
/** Capture event data. */
|
|
8
8
|
capture?: CaptureEvent;
|
|
9
|
-
/** Void event data */
|
|
9
|
+
/** Void event data. */
|
|
10
10
|
void?: VoidEvent;
|
|
11
11
|
/**
|
|
12
|
-
* This field is
|
|
12
|
+
* This field is deprecated.
|
|
13
13
|
* @deprecated
|
|
14
14
|
*/
|
|
15
15
|
pluginId?: string;
|
|
@@ -20,9 +20,9 @@ export interface ProviderPlatformEventResourceOneOf {
|
|
|
20
20
|
refund?: RefundEvent;
|
|
21
21
|
/** Transaction event data. */
|
|
22
22
|
transaction?: TransactionEvent;
|
|
23
|
-
/** Capture event data */
|
|
23
|
+
/** Capture event data. */
|
|
24
24
|
capture?: CaptureEvent;
|
|
25
|
-
/** Void event data */
|
|
25
|
+
/** Void event data. */
|
|
26
26
|
void?: VoidEvent;
|
|
27
27
|
}
|
|
28
28
|
export interface RefundEvent {
|
|
@@ -81,33 +81,65 @@ export interface PaymentMethodReference {
|
|
|
81
81
|
token?: string;
|
|
82
82
|
}
|
|
83
83
|
export interface CardDetails {
|
|
84
|
-
/**
|
|
84
|
+
/**
|
|
85
|
+
* Issuer (business) identification number. First 6 or 8 digits of the card's number.
|
|
86
|
+
* @minLength 6
|
|
87
|
+
* @maxLength 8
|
|
88
|
+
*/
|
|
85
89
|
bin?: string | null;
|
|
86
|
-
/**
|
|
90
|
+
/**
|
|
91
|
+
* Last 4 digits of the card's number.
|
|
92
|
+
* @minLength 4
|
|
93
|
+
* @maxLength 4
|
|
94
|
+
*/
|
|
87
95
|
lastFour?: string | null;
|
|
88
96
|
}
|
|
89
97
|
export interface CaptureEvent {
|
|
90
|
-
/**
|
|
98
|
+
/**
|
|
99
|
+
* Wix transaction ID.
|
|
100
|
+
* @format GUID
|
|
101
|
+
*/
|
|
91
102
|
wixTransactionId?: string;
|
|
92
|
-
/** Wix [reason code](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/reason-codes
|
|
103
|
+
/** Wix [reason code](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/reason-codes) indicating request's status. */
|
|
93
104
|
reasonCode?: number;
|
|
94
|
-
/**
|
|
105
|
+
/**
|
|
106
|
+
* Total amount captured in a currency’s minor units.
|
|
107
|
+
* Learn more about [currencies](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/currencies).
|
|
108
|
+
*/
|
|
95
109
|
amount?: string;
|
|
96
|
-
/**
|
|
110
|
+
/**
|
|
111
|
+
* PSP-specific error code.
|
|
112
|
+
* @maxLength 50
|
|
113
|
+
*/
|
|
97
114
|
errorCode?: string | null;
|
|
98
|
-
/**
|
|
115
|
+
/**
|
|
116
|
+
* PSP-specific error message.
|
|
117
|
+
* @maxLength 300
|
|
118
|
+
*/
|
|
99
119
|
errorMessage?: string | null;
|
|
100
120
|
}
|
|
101
121
|
export interface VoidEvent {
|
|
102
|
-
/**
|
|
122
|
+
/**
|
|
123
|
+
* Wix transaction ID.
|
|
124
|
+
* @format GUID
|
|
125
|
+
*/
|
|
103
126
|
wixTransactionId?: string;
|
|
104
|
-
/**
|
|
127
|
+
/** Wix [reason code](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/reason-codes) indicating request's status. */
|
|
105
128
|
reasonCode?: number;
|
|
106
|
-
/**
|
|
129
|
+
/**
|
|
130
|
+
* Total amount voided in a currency’s minor units.
|
|
131
|
+
* Learn more about [currencies](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/currencies).
|
|
132
|
+
*/
|
|
107
133
|
amount?: string;
|
|
108
|
-
/**
|
|
134
|
+
/**
|
|
135
|
+
* PSP-specific error code.
|
|
136
|
+
* @maxLength 50
|
|
137
|
+
*/
|
|
109
138
|
errorCode?: string | null;
|
|
110
|
-
/**
|
|
139
|
+
/**
|
|
140
|
+
* PSP-specific error message.
|
|
141
|
+
* @maxLength 300
|
|
142
|
+
*/
|
|
111
143
|
errorMessage?: string | null;
|
|
112
144
|
}
|
|
113
145
|
/** Submit event request */
|
package/build/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payments-psp-v1-provider-platform-event-psp-callbacks.universal.js","sourceRoot":"","sources":["../../../src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,oFAAgG;AAEhG,iJAAmI;
|
|
1
|
+
{"version":3,"file":"payments-psp-v1-provider-platform-event-psp-callbacks.universal.js","sourceRoot":"","sources":["../../../src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,oFAAgG;AAEhG,iJAAmI;AAuKnI;;;;;;;;;;;;;;;GAeG;AACI,KAAK,UAAU,WAAW,CAAC,KAA4B;IAC5D,aAAa;IACb,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAC;IAEF,MAAM,OAAO,GAAG,IAAA,8DAAqC,EAAC,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,CAAC;IAExE,MAAM,OAAO,GACX,+CAA+C,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;IAEvE,WAAW,EAAE,UAAU,EAAE,EAAE,CAAC;IAC5B,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QACjD,WAAW,EAAE,SAAS,EAAE,CAAC,MAAM,CAAC,CAAC;IACnC,CAAC;IAAC,OAAO,GAAQ,EAAE,CAAC;QAClB,MAAM,gBAAgB,GAAG,IAAA,gCAAiB,EACxC,GAAG,EACH;YACE,sBAAsB,EAAE,EAAE;YAC1B,wBAAwB,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE;YAC3C,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,OAAO,CAAC,CACV,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC;AA9BD,kCA8BC"}
|
|
@@ -4,12 +4,12 @@ export interface ProviderPlatformEvent extends ProviderPlatformEventResourceOneO
|
|
|
4
4
|
refund?: RefundEvent;
|
|
5
5
|
/** Transaction event data. */
|
|
6
6
|
transaction?: TransactionEvent;
|
|
7
|
-
/** Capture event data */
|
|
7
|
+
/** Capture event data. */
|
|
8
8
|
capture?: CaptureEvent;
|
|
9
|
-
/** Void event data */
|
|
9
|
+
/** Void event data. */
|
|
10
10
|
void?: VoidEvent;
|
|
11
11
|
/**
|
|
12
|
-
* This field is
|
|
12
|
+
* This field is deprecated.
|
|
13
13
|
* @deprecated
|
|
14
14
|
*/
|
|
15
15
|
pluginId?: string;
|
|
@@ -20,9 +20,9 @@ export interface ProviderPlatformEventResourceOneOf {
|
|
|
20
20
|
refund?: RefundEvent;
|
|
21
21
|
/** Transaction event data. */
|
|
22
22
|
transaction?: TransactionEvent;
|
|
23
|
-
/** Capture event data */
|
|
23
|
+
/** Capture event data. */
|
|
24
24
|
capture?: CaptureEvent;
|
|
25
|
-
/** Void event data */
|
|
25
|
+
/** Void event data. */
|
|
26
26
|
void?: VoidEvent;
|
|
27
27
|
}
|
|
28
28
|
export interface RefundEvent {
|
|
@@ -81,33 +81,65 @@ export interface PaymentMethodReference {
|
|
|
81
81
|
token?: string;
|
|
82
82
|
}
|
|
83
83
|
export interface CardDetails {
|
|
84
|
-
/**
|
|
84
|
+
/**
|
|
85
|
+
* Issuer (business) identification number. First 6 or 8 digits of the card's number.
|
|
86
|
+
* @minLength 6
|
|
87
|
+
* @maxLength 8
|
|
88
|
+
*/
|
|
85
89
|
bin?: string | null;
|
|
86
|
-
/**
|
|
90
|
+
/**
|
|
91
|
+
* Last 4 digits of the card's number.
|
|
92
|
+
* @minLength 4
|
|
93
|
+
* @maxLength 4
|
|
94
|
+
*/
|
|
87
95
|
lastFour?: string | null;
|
|
88
96
|
}
|
|
89
97
|
export interface CaptureEvent {
|
|
90
|
-
/**
|
|
98
|
+
/**
|
|
99
|
+
* Wix transaction ID.
|
|
100
|
+
* @format GUID
|
|
101
|
+
*/
|
|
91
102
|
wixTransactionId?: string;
|
|
92
|
-
/** Wix [reason code](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/reason-codes
|
|
103
|
+
/** Wix [reason code](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/reason-codes) indicating request's status. */
|
|
93
104
|
reasonCode?: number;
|
|
94
|
-
/**
|
|
105
|
+
/**
|
|
106
|
+
* Total amount captured in a currency’s minor units.
|
|
107
|
+
* Learn more about [currencies](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/currencies).
|
|
108
|
+
*/
|
|
95
109
|
amount?: string;
|
|
96
|
-
/**
|
|
110
|
+
/**
|
|
111
|
+
* PSP-specific error code.
|
|
112
|
+
* @maxLength 50
|
|
113
|
+
*/
|
|
97
114
|
errorCode?: string | null;
|
|
98
|
-
/**
|
|
115
|
+
/**
|
|
116
|
+
* PSP-specific error message.
|
|
117
|
+
* @maxLength 300
|
|
118
|
+
*/
|
|
99
119
|
errorMessage?: string | null;
|
|
100
120
|
}
|
|
101
121
|
export interface VoidEvent {
|
|
102
|
-
/**
|
|
122
|
+
/**
|
|
123
|
+
* Wix transaction ID.
|
|
124
|
+
* @format GUID
|
|
125
|
+
*/
|
|
103
126
|
wixTransactionId?: string;
|
|
104
|
-
/**
|
|
127
|
+
/** Wix [reason code](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/reason-codes) indicating request's status. */
|
|
105
128
|
reasonCode?: number;
|
|
106
|
-
/**
|
|
129
|
+
/**
|
|
130
|
+
* Total amount voided in a currency’s minor units.
|
|
131
|
+
* Learn more about [currencies](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/currencies).
|
|
132
|
+
*/
|
|
107
133
|
amount?: string;
|
|
108
|
-
/**
|
|
134
|
+
/**
|
|
135
|
+
* PSP-specific error code.
|
|
136
|
+
* @maxLength 50
|
|
137
|
+
*/
|
|
109
138
|
errorCode?: string | null;
|
|
110
|
-
/**
|
|
139
|
+
/**
|
|
140
|
+
* PSP-specific error message.
|
|
141
|
+
* @maxLength 300
|
|
142
|
+
*/
|
|
111
143
|
errorMessage?: string | null;
|
|
112
144
|
}
|
|
113
145
|
/** Submit event request */
|
|
@@ -4,12 +4,12 @@ export interface ProviderPlatformEvent extends ProviderPlatformEventResourceOneO
|
|
|
4
4
|
refund?: RefundEvent;
|
|
5
5
|
/** Transaction event data. */
|
|
6
6
|
transaction?: TransactionEvent;
|
|
7
|
-
/** Capture event data */
|
|
7
|
+
/** Capture event data. */
|
|
8
8
|
capture?: CaptureEvent;
|
|
9
|
-
/** Void event data */
|
|
9
|
+
/** Void event data. */
|
|
10
10
|
void?: VoidEvent;
|
|
11
11
|
/**
|
|
12
|
-
* This field is
|
|
12
|
+
* This field is deprecated.
|
|
13
13
|
* @deprecated
|
|
14
14
|
*/
|
|
15
15
|
pluginId?: string;
|
|
@@ -20,9 +20,9 @@ export interface ProviderPlatformEventResourceOneOf {
|
|
|
20
20
|
refund?: RefundEvent;
|
|
21
21
|
/** Transaction event data. */
|
|
22
22
|
transaction?: TransactionEvent;
|
|
23
|
-
/** Capture event data */
|
|
23
|
+
/** Capture event data. */
|
|
24
24
|
capture?: CaptureEvent;
|
|
25
|
-
/** Void event data */
|
|
25
|
+
/** Void event data. */
|
|
26
26
|
void?: VoidEvent;
|
|
27
27
|
}
|
|
28
28
|
export interface RefundEvent {
|
|
@@ -81,33 +81,65 @@ export interface PaymentMethodReference {
|
|
|
81
81
|
token?: string;
|
|
82
82
|
}
|
|
83
83
|
export interface CardDetails {
|
|
84
|
-
/**
|
|
84
|
+
/**
|
|
85
|
+
* Issuer (business) identification number. First 6 or 8 digits of the card's number.
|
|
86
|
+
* @minLength 6
|
|
87
|
+
* @maxLength 8
|
|
88
|
+
*/
|
|
85
89
|
bin?: string | null;
|
|
86
|
-
/**
|
|
90
|
+
/**
|
|
91
|
+
* Last 4 digits of the card's number.
|
|
92
|
+
* @minLength 4
|
|
93
|
+
* @maxLength 4
|
|
94
|
+
*/
|
|
87
95
|
lastFour?: string | null;
|
|
88
96
|
}
|
|
89
97
|
export interface CaptureEvent {
|
|
90
|
-
/**
|
|
98
|
+
/**
|
|
99
|
+
* Wix transaction ID.
|
|
100
|
+
* @format GUID
|
|
101
|
+
*/
|
|
91
102
|
wixTransactionId?: string;
|
|
92
|
-
/** Wix [reason code](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/reason-codes
|
|
103
|
+
/** Wix [reason code](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/reason-codes) indicating request's status. */
|
|
93
104
|
reasonCode?: number;
|
|
94
|
-
/**
|
|
105
|
+
/**
|
|
106
|
+
* Total amount captured in a currency’s minor units.
|
|
107
|
+
* Learn more about [currencies](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/currencies).
|
|
108
|
+
*/
|
|
95
109
|
amount?: string;
|
|
96
|
-
/**
|
|
110
|
+
/**
|
|
111
|
+
* PSP-specific error code.
|
|
112
|
+
* @maxLength 50
|
|
113
|
+
*/
|
|
97
114
|
errorCode?: string | null;
|
|
98
|
-
/**
|
|
115
|
+
/**
|
|
116
|
+
* PSP-specific error message.
|
|
117
|
+
* @maxLength 300
|
|
118
|
+
*/
|
|
99
119
|
errorMessage?: string | null;
|
|
100
120
|
}
|
|
101
121
|
export interface VoidEvent {
|
|
102
|
-
/**
|
|
122
|
+
/**
|
|
123
|
+
* Wix transaction ID.
|
|
124
|
+
* @format GUID
|
|
125
|
+
*/
|
|
103
126
|
wixTransactionId?: string;
|
|
104
|
-
/**
|
|
127
|
+
/** Wix [reason code](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/reason-codes) indicating request's status. */
|
|
105
128
|
reasonCode?: number;
|
|
106
|
-
/**
|
|
129
|
+
/**
|
|
130
|
+
* Total amount voided in a currency’s minor units.
|
|
131
|
+
* Learn more about [currencies](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/currencies).
|
|
132
|
+
*/
|
|
107
133
|
amount?: string;
|
|
108
|
-
/**
|
|
134
|
+
/**
|
|
135
|
+
* PSP-specific error code.
|
|
136
|
+
* @maxLength 50
|
|
137
|
+
*/
|
|
109
138
|
errorCode?: string | null;
|
|
110
|
-
/**
|
|
139
|
+
/**
|
|
140
|
+
* PSP-specific error message.
|
|
141
|
+
* @maxLength 300
|
|
142
|
+
*/
|
|
111
143
|
errorMessage?: string | null;
|
|
112
144
|
}
|
|
113
145
|
/** Submit event request */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payments-psp-v1-provider-platform-event-psp-callbacks.universal.js","sourceRoot":"","sources":["../../../src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EAAE,qCAAqC,EAAE,MAAM,yCAAyC,CAAC;AAEhG,OAAO,KAAK,+CAA+C,MAAM,iEAAiE,CAAC;
|
|
1
|
+
{"version":3,"file":"payments-psp-v1-provider-platform-event-psp-callbacks.universal.js","sourceRoot":"","sources":["../../../src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EAAE,qCAAqC,EAAE,MAAM,yCAAyC,CAAC;AAEhG,OAAO,KAAK,+CAA+C,MAAM,iEAAiE,CAAC;AAuKnI;;;;;;;;;;;;;;;GAeG;AACH,MAAM,CAAC,KAAK,UAAU,WAAW,CAAC,KAA4B;IAC5D,aAAa;IACb,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAC;IAEF,MAAM,OAAO,GAAG,qCAAqC,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,CAAC;IAExE,MAAM,OAAO,GACX,+CAA+C,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;IAEvE,WAAW,EAAE,UAAU,EAAE,EAAE,CAAC;IAC5B,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QACjD,WAAW,EAAE,SAAS,EAAE,CAAC,MAAM,CAAC,CAAC;IACnC,CAAC;IAAC,OAAO,GAAQ,EAAE,CAAC;QAClB,MAAM,gBAAgB,GAAG,iBAAiB,CACxC,GAAG,EACH;YACE,sBAAsB,EAAE,EAAE;YAC1B,wBAAwB,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE;YAC3C,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,OAAO,CAAC,CACV,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC"}
|
package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.types.d.ts
CHANGED
|
@@ -4,12 +4,12 @@ export interface ProviderPlatformEvent extends ProviderPlatformEventResourceOneO
|
|
|
4
4
|
refund?: RefundEvent;
|
|
5
5
|
/** Transaction event data. */
|
|
6
6
|
transaction?: TransactionEvent;
|
|
7
|
-
/** Capture event data */
|
|
7
|
+
/** Capture event data. */
|
|
8
8
|
capture?: CaptureEvent;
|
|
9
|
-
/** Void event data */
|
|
9
|
+
/** Void event data. */
|
|
10
10
|
void?: VoidEvent;
|
|
11
11
|
/**
|
|
12
|
-
* This field is
|
|
12
|
+
* This field is deprecated.
|
|
13
13
|
* @deprecated
|
|
14
14
|
*/
|
|
15
15
|
pluginId?: string;
|
|
@@ -20,9 +20,9 @@ export interface ProviderPlatformEventResourceOneOf {
|
|
|
20
20
|
refund?: RefundEvent;
|
|
21
21
|
/** Transaction event data. */
|
|
22
22
|
transaction?: TransactionEvent;
|
|
23
|
-
/** Capture event data */
|
|
23
|
+
/** Capture event data. */
|
|
24
24
|
capture?: CaptureEvent;
|
|
25
|
-
/** Void event data */
|
|
25
|
+
/** Void event data. */
|
|
26
26
|
void?: VoidEvent;
|
|
27
27
|
}
|
|
28
28
|
export interface RefundEvent {
|
|
@@ -81,33 +81,65 @@ export interface PaymentMethodReference {
|
|
|
81
81
|
token?: string;
|
|
82
82
|
}
|
|
83
83
|
export interface CardDetails {
|
|
84
|
-
/**
|
|
84
|
+
/**
|
|
85
|
+
* Issuer (business) identification number. First 6 or 8 digits of the card's number.
|
|
86
|
+
* @minLength 6
|
|
87
|
+
* @maxLength 8
|
|
88
|
+
*/
|
|
85
89
|
bin?: string | null;
|
|
86
|
-
/**
|
|
90
|
+
/**
|
|
91
|
+
* Last 4 digits of the card's number.
|
|
92
|
+
* @minLength 4
|
|
93
|
+
* @maxLength 4
|
|
94
|
+
*/
|
|
87
95
|
lastFour?: string | null;
|
|
88
96
|
}
|
|
89
97
|
export interface CaptureEvent {
|
|
90
|
-
/**
|
|
98
|
+
/**
|
|
99
|
+
* Wix transaction ID.
|
|
100
|
+
* @format GUID
|
|
101
|
+
*/
|
|
91
102
|
wixTransactionId?: string;
|
|
92
|
-
/** Wix [reason code](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/reason-codes
|
|
103
|
+
/** Wix [reason code](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/reason-codes) indicating request's status. */
|
|
93
104
|
reasonCode?: number;
|
|
94
|
-
/**
|
|
105
|
+
/**
|
|
106
|
+
* Total amount captured in a currency’s minor units.
|
|
107
|
+
* Learn more about [currencies](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/currencies).
|
|
108
|
+
*/
|
|
95
109
|
amount?: string;
|
|
96
|
-
/**
|
|
110
|
+
/**
|
|
111
|
+
* PSP-specific error code.
|
|
112
|
+
* @maxLength 50
|
|
113
|
+
*/
|
|
97
114
|
errorCode?: string | null;
|
|
98
|
-
/**
|
|
115
|
+
/**
|
|
116
|
+
* PSP-specific error message.
|
|
117
|
+
* @maxLength 300
|
|
118
|
+
*/
|
|
99
119
|
errorMessage?: string | null;
|
|
100
120
|
}
|
|
101
121
|
export interface VoidEvent {
|
|
102
|
-
/**
|
|
122
|
+
/**
|
|
123
|
+
* Wix transaction ID.
|
|
124
|
+
* @format GUID
|
|
125
|
+
*/
|
|
103
126
|
wixTransactionId?: string;
|
|
104
|
-
/**
|
|
127
|
+
/** Wix [reason code](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/reason-codes) indicating request's status. */
|
|
105
128
|
reasonCode?: number;
|
|
106
|
-
/**
|
|
129
|
+
/**
|
|
130
|
+
* Total amount voided in a currency’s minor units.
|
|
131
|
+
* Learn more about [currencies](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/currencies).
|
|
132
|
+
*/
|
|
107
133
|
amount?: string;
|
|
108
|
-
/**
|
|
134
|
+
/**
|
|
135
|
+
* PSP-specific error code.
|
|
136
|
+
* @maxLength 50
|
|
137
|
+
*/
|
|
109
138
|
errorCode?: string | null;
|
|
110
|
-
/**
|
|
139
|
+
/**
|
|
140
|
+
* PSP-specific error message.
|
|
141
|
+
* @maxLength 300
|
|
142
|
+
*/
|
|
111
143
|
errorMessage?: string | null;
|
|
112
144
|
}
|
|
113
145
|
/** Submit event request */
|
package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.d.ts
CHANGED
|
@@ -4,12 +4,12 @@ export interface ProviderPlatformEvent extends ProviderPlatformEventResourceOneO
|
|
|
4
4
|
refund?: RefundEvent;
|
|
5
5
|
/** Transaction event data. */
|
|
6
6
|
transaction?: TransactionEvent;
|
|
7
|
-
/** Capture event data */
|
|
7
|
+
/** Capture event data. */
|
|
8
8
|
capture?: CaptureEvent;
|
|
9
|
-
/** Void event data */
|
|
9
|
+
/** Void event data. */
|
|
10
10
|
void?: VoidEvent;
|
|
11
11
|
/**
|
|
12
|
-
* This field is
|
|
12
|
+
* This field is deprecated.
|
|
13
13
|
* @deprecated
|
|
14
14
|
*/
|
|
15
15
|
pluginId?: string;
|
|
@@ -20,9 +20,9 @@ export interface ProviderPlatformEventResourceOneOf {
|
|
|
20
20
|
refund?: RefundEvent;
|
|
21
21
|
/** Transaction event data. */
|
|
22
22
|
transaction?: TransactionEvent;
|
|
23
|
-
/** Capture event data */
|
|
23
|
+
/** Capture event data. */
|
|
24
24
|
capture?: CaptureEvent;
|
|
25
|
-
/** Void event data */
|
|
25
|
+
/** Void event data. */
|
|
26
26
|
void?: VoidEvent;
|
|
27
27
|
}
|
|
28
28
|
export interface RefundEvent {
|
|
@@ -81,33 +81,65 @@ export interface PaymentMethodReference {
|
|
|
81
81
|
token?: string;
|
|
82
82
|
}
|
|
83
83
|
export interface CardDetails {
|
|
84
|
-
/**
|
|
84
|
+
/**
|
|
85
|
+
* Issuer (business) identification number. First 6 or 8 digits of the card's number.
|
|
86
|
+
* @minLength 6
|
|
87
|
+
* @maxLength 8
|
|
88
|
+
*/
|
|
85
89
|
bin?: string | null;
|
|
86
|
-
/**
|
|
90
|
+
/**
|
|
91
|
+
* Last 4 digits of the card's number.
|
|
92
|
+
* @minLength 4
|
|
93
|
+
* @maxLength 4
|
|
94
|
+
*/
|
|
87
95
|
lastFour?: string | null;
|
|
88
96
|
}
|
|
89
97
|
export interface CaptureEvent {
|
|
90
|
-
/**
|
|
98
|
+
/**
|
|
99
|
+
* Wix transaction ID.
|
|
100
|
+
* @format GUID
|
|
101
|
+
*/
|
|
91
102
|
wixTransactionId?: string;
|
|
92
|
-
/** Wix [reason code](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/reason-codes
|
|
103
|
+
/** Wix [reason code](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/reason-codes) indicating request's status. */
|
|
93
104
|
reasonCode?: number;
|
|
94
|
-
/**
|
|
105
|
+
/**
|
|
106
|
+
* Total amount captured in a currency’s minor units.
|
|
107
|
+
* Learn more about [currencies](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/currencies).
|
|
108
|
+
*/
|
|
95
109
|
amount?: string;
|
|
96
|
-
/**
|
|
110
|
+
/**
|
|
111
|
+
* PSP-specific error code.
|
|
112
|
+
* @maxLength 50
|
|
113
|
+
*/
|
|
97
114
|
errorCode?: string | null;
|
|
98
|
-
/**
|
|
115
|
+
/**
|
|
116
|
+
* PSP-specific error message.
|
|
117
|
+
* @maxLength 300
|
|
118
|
+
*/
|
|
99
119
|
errorMessage?: string | null;
|
|
100
120
|
}
|
|
101
121
|
export interface VoidEvent {
|
|
102
|
-
/**
|
|
122
|
+
/**
|
|
123
|
+
* Wix transaction ID.
|
|
124
|
+
* @format GUID
|
|
125
|
+
*/
|
|
103
126
|
wixTransactionId?: string;
|
|
104
|
-
/**
|
|
127
|
+
/** Wix [reason code](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/reason-codes) indicating request's status. */
|
|
105
128
|
reasonCode?: number;
|
|
106
|
-
/**
|
|
129
|
+
/**
|
|
130
|
+
* Total amount voided in a currency’s minor units.
|
|
131
|
+
* Learn more about [currencies](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/currencies).
|
|
132
|
+
*/
|
|
107
133
|
amount?: string;
|
|
108
|
-
/**
|
|
134
|
+
/**
|
|
135
|
+
* PSP-specific error code.
|
|
136
|
+
* @maxLength 50
|
|
137
|
+
*/
|
|
109
138
|
errorCode?: string | null;
|
|
110
|
-
/**
|
|
139
|
+
/**
|
|
140
|
+
* PSP-specific error message.
|
|
141
|
+
* @maxLength 300
|
|
142
|
+
*/
|
|
111
143
|
errorMessage?: string | null;
|
|
112
144
|
}
|
|
113
145
|
/** Submit event request */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payments-psp-v1-provider-platform-event-psp-callbacks.universal.js","sourceRoot":"","sources":["../../../../src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,oFAAgG;AAEhG,iJAAmI;
|
|
1
|
+
{"version":3,"file":"payments-psp-v1-provider-platform-event-psp-callbacks.universal.js","sourceRoot":"","sources":["../../../../src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,sEAAuF;AACvF,oFAAgG;AAEhG,iJAAmI;AAuKnI;;;;;;;;;;;;;;;GAeG;AACI,KAAK,UAAU,WAAW,CAAC,KAA4B;IAC5D,aAAa;IACb,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAC;IAEF,MAAM,OAAO,GAAG,IAAA,8DAAqC,EAAC,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,CAAC;IAExE,MAAM,OAAO,GACX,+CAA+C,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;IAEvE,WAAW,EAAE,UAAU,EAAE,EAAE,CAAC;IAC5B,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QACjD,WAAW,EAAE,SAAS,EAAE,CAAC,MAAM,CAAC,CAAC;IACnC,CAAC;IAAC,OAAO,GAAQ,EAAE,CAAC;QAClB,MAAM,gBAAgB,GAAG,IAAA,gCAAiB,EACxC,GAAG,EACH;YACE,sBAAsB,EAAE,EAAE;YAC1B,wBAAwB,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE;YAC3C,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,OAAO,CAAC,CACV,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC;AA9BD,kCA8BC"}
|
package/build/internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.types.d.ts
CHANGED
|
@@ -4,12 +4,12 @@ export interface ProviderPlatformEvent extends ProviderPlatformEventResourceOneO
|
|
|
4
4
|
refund?: RefundEvent;
|
|
5
5
|
/** Transaction event data. */
|
|
6
6
|
transaction?: TransactionEvent;
|
|
7
|
-
/** Capture event data */
|
|
7
|
+
/** Capture event data. */
|
|
8
8
|
capture?: CaptureEvent;
|
|
9
|
-
/** Void event data */
|
|
9
|
+
/** Void event data. */
|
|
10
10
|
void?: VoidEvent;
|
|
11
11
|
/**
|
|
12
|
-
* This field is
|
|
12
|
+
* This field is deprecated.
|
|
13
13
|
* @deprecated
|
|
14
14
|
*/
|
|
15
15
|
pluginId?: string;
|
|
@@ -20,9 +20,9 @@ export interface ProviderPlatformEventResourceOneOf {
|
|
|
20
20
|
refund?: RefundEvent;
|
|
21
21
|
/** Transaction event data. */
|
|
22
22
|
transaction?: TransactionEvent;
|
|
23
|
-
/** Capture event data */
|
|
23
|
+
/** Capture event data. */
|
|
24
24
|
capture?: CaptureEvent;
|
|
25
|
-
/** Void event data */
|
|
25
|
+
/** Void event data. */
|
|
26
26
|
void?: VoidEvent;
|
|
27
27
|
}
|
|
28
28
|
export interface RefundEvent {
|
|
@@ -81,33 +81,65 @@ export interface PaymentMethodReference {
|
|
|
81
81
|
token?: string;
|
|
82
82
|
}
|
|
83
83
|
export interface CardDetails {
|
|
84
|
-
/**
|
|
84
|
+
/**
|
|
85
|
+
* Issuer (business) identification number. First 6 or 8 digits of the card's number.
|
|
86
|
+
* @minLength 6
|
|
87
|
+
* @maxLength 8
|
|
88
|
+
*/
|
|
85
89
|
bin?: string | null;
|
|
86
|
-
/**
|
|
90
|
+
/**
|
|
91
|
+
* Last 4 digits of the card's number.
|
|
92
|
+
* @minLength 4
|
|
93
|
+
* @maxLength 4
|
|
94
|
+
*/
|
|
87
95
|
lastFour?: string | null;
|
|
88
96
|
}
|
|
89
97
|
export interface CaptureEvent {
|
|
90
|
-
/**
|
|
98
|
+
/**
|
|
99
|
+
* Wix transaction ID.
|
|
100
|
+
* @format GUID
|
|
101
|
+
*/
|
|
91
102
|
wixTransactionId?: string;
|
|
92
|
-
/** Wix [reason code](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/reason-codes
|
|
103
|
+
/** Wix [reason code](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/reason-codes) indicating request's status. */
|
|
93
104
|
reasonCode?: number;
|
|
94
|
-
/**
|
|
105
|
+
/**
|
|
106
|
+
* Total amount captured in a currency’s minor units.
|
|
107
|
+
* Learn more about [currencies](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/currencies).
|
|
108
|
+
*/
|
|
95
109
|
amount?: string;
|
|
96
|
-
/**
|
|
110
|
+
/**
|
|
111
|
+
* PSP-specific error code.
|
|
112
|
+
* @maxLength 50
|
|
113
|
+
*/
|
|
97
114
|
errorCode?: string | null;
|
|
98
|
-
/**
|
|
115
|
+
/**
|
|
116
|
+
* PSP-specific error message.
|
|
117
|
+
* @maxLength 300
|
|
118
|
+
*/
|
|
99
119
|
errorMessage?: string | null;
|
|
100
120
|
}
|
|
101
121
|
export interface VoidEvent {
|
|
102
|
-
/**
|
|
122
|
+
/**
|
|
123
|
+
* Wix transaction ID.
|
|
124
|
+
* @format GUID
|
|
125
|
+
*/
|
|
103
126
|
wixTransactionId?: string;
|
|
104
|
-
/**
|
|
127
|
+
/** Wix [reason code](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/reason-codes) indicating request's status. */
|
|
105
128
|
reasonCode?: number;
|
|
106
|
-
/**
|
|
129
|
+
/**
|
|
130
|
+
* Total amount voided in a currency’s minor units.
|
|
131
|
+
* Learn more about [currencies](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/currencies).
|
|
132
|
+
*/
|
|
107
133
|
amount?: string;
|
|
108
|
-
/**
|
|
134
|
+
/**
|
|
135
|
+
* PSP-specific error code.
|
|
136
|
+
* @maxLength 50
|
|
137
|
+
*/
|
|
109
138
|
errorCode?: string | null;
|
|
110
|
-
/**
|
|
139
|
+
/**
|
|
140
|
+
* PSP-specific error message.
|
|
141
|
+
* @maxLength 300
|
|
142
|
+
*/
|
|
111
143
|
errorMessage?: string | null;
|
|
112
144
|
}
|
|
113
145
|
/** Submit event request */
|
package/build/internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.d.ts
CHANGED
|
@@ -4,12 +4,12 @@ export interface ProviderPlatformEvent extends ProviderPlatformEventResourceOneO
|
|
|
4
4
|
refund?: RefundEvent;
|
|
5
5
|
/** Transaction event data. */
|
|
6
6
|
transaction?: TransactionEvent;
|
|
7
|
-
/** Capture event data */
|
|
7
|
+
/** Capture event data. */
|
|
8
8
|
capture?: CaptureEvent;
|
|
9
|
-
/** Void event data */
|
|
9
|
+
/** Void event data. */
|
|
10
10
|
void?: VoidEvent;
|
|
11
11
|
/**
|
|
12
|
-
* This field is
|
|
12
|
+
* This field is deprecated.
|
|
13
13
|
* @deprecated
|
|
14
14
|
*/
|
|
15
15
|
pluginId?: string;
|
|
@@ -20,9 +20,9 @@ export interface ProviderPlatformEventResourceOneOf {
|
|
|
20
20
|
refund?: RefundEvent;
|
|
21
21
|
/** Transaction event data. */
|
|
22
22
|
transaction?: TransactionEvent;
|
|
23
|
-
/** Capture event data */
|
|
23
|
+
/** Capture event data. */
|
|
24
24
|
capture?: CaptureEvent;
|
|
25
|
-
/** Void event data */
|
|
25
|
+
/** Void event data. */
|
|
26
26
|
void?: VoidEvent;
|
|
27
27
|
}
|
|
28
28
|
export interface RefundEvent {
|
|
@@ -81,33 +81,65 @@ export interface PaymentMethodReference {
|
|
|
81
81
|
token?: string;
|
|
82
82
|
}
|
|
83
83
|
export interface CardDetails {
|
|
84
|
-
/**
|
|
84
|
+
/**
|
|
85
|
+
* Issuer (business) identification number. First 6 or 8 digits of the card's number.
|
|
86
|
+
* @minLength 6
|
|
87
|
+
* @maxLength 8
|
|
88
|
+
*/
|
|
85
89
|
bin?: string | null;
|
|
86
|
-
/**
|
|
90
|
+
/**
|
|
91
|
+
* Last 4 digits of the card's number.
|
|
92
|
+
* @minLength 4
|
|
93
|
+
* @maxLength 4
|
|
94
|
+
*/
|
|
87
95
|
lastFour?: string | null;
|
|
88
96
|
}
|
|
89
97
|
export interface CaptureEvent {
|
|
90
|
-
/**
|
|
98
|
+
/**
|
|
99
|
+
* Wix transaction ID.
|
|
100
|
+
* @format GUID
|
|
101
|
+
*/
|
|
91
102
|
wixTransactionId?: string;
|
|
92
|
-
/** Wix [reason code](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/reason-codes
|
|
103
|
+
/** Wix [reason code](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/reason-codes) indicating request's status. */
|
|
93
104
|
reasonCode?: number;
|
|
94
|
-
/**
|
|
105
|
+
/**
|
|
106
|
+
* Total amount captured in a currency’s minor units.
|
|
107
|
+
* Learn more about [currencies](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/currencies).
|
|
108
|
+
*/
|
|
95
109
|
amount?: string;
|
|
96
|
-
/**
|
|
110
|
+
/**
|
|
111
|
+
* PSP-specific error code.
|
|
112
|
+
* @maxLength 50
|
|
113
|
+
*/
|
|
97
114
|
errorCode?: string | null;
|
|
98
|
-
/**
|
|
115
|
+
/**
|
|
116
|
+
* PSP-specific error message.
|
|
117
|
+
* @maxLength 300
|
|
118
|
+
*/
|
|
99
119
|
errorMessage?: string | null;
|
|
100
120
|
}
|
|
101
121
|
export interface VoidEvent {
|
|
102
|
-
/**
|
|
122
|
+
/**
|
|
123
|
+
* Wix transaction ID.
|
|
124
|
+
* @format GUID
|
|
125
|
+
*/
|
|
103
126
|
wixTransactionId?: string;
|
|
104
|
-
/**
|
|
127
|
+
/** Wix [reason code](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/reason-codes) indicating request's status. */
|
|
105
128
|
reasonCode?: number;
|
|
106
|
-
/**
|
|
129
|
+
/**
|
|
130
|
+
* Total amount voided in a currency’s minor units.
|
|
131
|
+
* Learn more about [currencies](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/currencies).
|
|
132
|
+
*/
|
|
107
133
|
amount?: string;
|
|
108
|
-
/**
|
|
134
|
+
/**
|
|
135
|
+
* PSP-specific error code.
|
|
136
|
+
* @maxLength 50
|
|
137
|
+
*/
|
|
109
138
|
errorCode?: string | null;
|
|
110
|
-
/**
|
|
139
|
+
/**
|
|
140
|
+
* PSP-specific error message.
|
|
141
|
+
* @maxLength 300
|
|
142
|
+
*/
|
|
111
143
|
errorMessage?: string | null;
|
|
112
144
|
}
|
|
113
145
|
/** Submit event request */
|
package/build/internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"payments-psp-v1-provider-platform-event-psp-callbacks.universal.js","sourceRoot":"","sources":["../../../../src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EAAE,qCAAqC,EAAE,MAAM,yCAAyC,CAAC;AAEhG,OAAO,KAAK,+CAA+C,MAAM,iEAAiE,CAAC;
|
|
1
|
+
{"version":3,"file":"payments-psp-v1-provider-platform-event-psp-callbacks.universal.js","sourceRoot":"","sources":["../../../../src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,IAAI,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AACvF,OAAO,EAAE,qCAAqC,EAAE,MAAM,yCAAyC,CAAC;AAEhG,OAAO,KAAK,+CAA+C,MAAM,iEAAiE,CAAC;AAuKnI;;;;;;;;;;;;;;;GAeG;AACH,MAAM,CAAC,KAAK,UAAU,WAAW,CAAC,KAA4B;IAC5D,aAAa;IACb,MAAM,EAAE,UAAU,EAAE,WAAW,EAAE,GAAG,SAAS,CAAC,CAAC,CAG9C,CAAC;IAEF,MAAM,OAAO,GAAG,qCAAqC,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC,CAAC;IAExE,MAAM,OAAO,GACX,+CAA+C,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;IAEvE,WAAW,EAAE,UAAU,EAAE,EAAE,CAAC;IAC5B,IAAI,CAAC;QACH,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;QACjD,WAAW,EAAE,SAAS,EAAE,CAAC,MAAM,CAAC,CAAC;IACnC,CAAC;IAAC,OAAO,GAAQ,EAAE,CAAC;QAClB,MAAM,gBAAgB,GAAG,iBAAiB,CACxC,GAAG,EACH;YACE,sBAAsB,EAAE,EAAE;YAC1B,wBAAwB,EAAE,EAAE,KAAK,EAAE,MAAM,EAAE;YAC3C,uBAAuB,EAAE,KAAK;SAC/B,EACD,CAAC,OAAO,CAAC,CACV,CAAC;QACF,WAAW,EAAE,OAAO,EAAE,CAAC,GAAG,CAAC,CAAC;QAE5B,MAAM,gBAAgB,CAAC;IACzB,CAAC;AACH,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/auto_sdk_payments_psp-callbacks",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"fqdn": "wix.payments.psp.v1.provider_platform_event"
|
|
49
49
|
}
|
|
50
50
|
},
|
|
51
|
-
"falconPackageHash": "
|
|
51
|
+
"falconPackageHash": "1e8b59c625eea21f42581ab6d1853f649585be983f79f0b9fc17c9fd"
|
|
52
52
|
}
|