@wix/auto_sdk_payments_psp-callbacks 1.0.1 → 1.0.4
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 +34 -8
- package/build/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.d.ts +34 -8
- 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 +34 -8
- package/build/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.d.ts +34 -8
- 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 +34 -8
- package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.d.ts +34 -8
- 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 +34 -8
- package/build/internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.d.ts +34 -8
- package/build/internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.js.map +1 -1
- package/package.json +4 -4
|
@@ -81,13 +81,24 @@ 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
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;
|
|
@@ -96,13 +107,22 @@ export interface CaptureEvent {
|
|
|
96
107
|
* Learn more about [currencies](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/currencies).
|
|
97
108
|
*/
|
|
98
109
|
amount?: string;
|
|
99
|
-
/**
|
|
110
|
+
/**
|
|
111
|
+
* PSP-specific error code.
|
|
112
|
+
* @maxLength 50
|
|
113
|
+
*/
|
|
100
114
|
errorCode?: string | null;
|
|
101
|
-
/**
|
|
115
|
+
/**
|
|
116
|
+
* PSP-specific error message.
|
|
117
|
+
* @maxLength 300
|
|
118
|
+
*/
|
|
102
119
|
errorMessage?: string | null;
|
|
103
120
|
}
|
|
104
121
|
export interface VoidEvent {
|
|
105
|
-
/**
|
|
122
|
+
/**
|
|
123
|
+
* Wix transaction ID.
|
|
124
|
+
* @format GUID
|
|
125
|
+
*/
|
|
106
126
|
wixTransactionId?: string;
|
|
107
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. */
|
|
108
128
|
reasonCode?: number;
|
|
@@ -111,9 +131,15 @@ export interface VoidEvent {
|
|
|
111
131
|
* Learn more about [currencies](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/currencies).
|
|
112
132
|
*/
|
|
113
133
|
amount?: string;
|
|
114
|
-
/**
|
|
134
|
+
/**
|
|
135
|
+
* PSP-specific error code.
|
|
136
|
+
* @maxLength 50
|
|
137
|
+
*/
|
|
115
138
|
errorCode?: string | null;
|
|
116
|
-
/**
|
|
139
|
+
/**
|
|
140
|
+
* PSP-specific error message.
|
|
141
|
+
* @maxLength 300
|
|
142
|
+
*/
|
|
117
143
|
errorMessage?: string | null;
|
|
118
144
|
}
|
|
119
145
|
/** Submit event request */
|
|
@@ -81,13 +81,24 @@ 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
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;
|
|
@@ -96,13 +107,22 @@ export interface CaptureEvent {
|
|
|
96
107
|
* Learn more about [currencies](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/currencies).
|
|
97
108
|
*/
|
|
98
109
|
amount?: string;
|
|
99
|
-
/**
|
|
110
|
+
/**
|
|
111
|
+
* PSP-specific error code.
|
|
112
|
+
* @maxLength 50
|
|
113
|
+
*/
|
|
100
114
|
errorCode?: string | null;
|
|
101
|
-
/**
|
|
115
|
+
/**
|
|
116
|
+
* PSP-specific error message.
|
|
117
|
+
* @maxLength 300
|
|
118
|
+
*/
|
|
102
119
|
errorMessage?: string | null;
|
|
103
120
|
}
|
|
104
121
|
export interface VoidEvent {
|
|
105
|
-
/**
|
|
122
|
+
/**
|
|
123
|
+
* Wix transaction ID.
|
|
124
|
+
* @format GUID
|
|
125
|
+
*/
|
|
106
126
|
wixTransactionId?: string;
|
|
107
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. */
|
|
108
128
|
reasonCode?: number;
|
|
@@ -111,9 +131,15 @@ export interface VoidEvent {
|
|
|
111
131
|
* Learn more about [currencies](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/currencies).
|
|
112
132
|
*/
|
|
113
133
|
amount?: string;
|
|
114
|
-
/**
|
|
134
|
+
/**
|
|
135
|
+
* PSP-specific error code.
|
|
136
|
+
* @maxLength 50
|
|
137
|
+
*/
|
|
115
138
|
errorCode?: string | null;
|
|
116
|
-
/**
|
|
139
|
+
/**
|
|
140
|
+
* PSP-specific error message.
|
|
141
|
+
* @maxLength 300
|
|
142
|
+
*/
|
|
117
143
|
errorMessage?: string | null;
|
|
118
144
|
}
|
|
119
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"}
|
|
@@ -81,13 +81,24 @@ 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
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;
|
|
@@ -96,13 +107,22 @@ export interface CaptureEvent {
|
|
|
96
107
|
* Learn more about [currencies](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/currencies).
|
|
97
108
|
*/
|
|
98
109
|
amount?: string;
|
|
99
|
-
/**
|
|
110
|
+
/**
|
|
111
|
+
* PSP-specific error code.
|
|
112
|
+
* @maxLength 50
|
|
113
|
+
*/
|
|
100
114
|
errorCode?: string | null;
|
|
101
|
-
/**
|
|
115
|
+
/**
|
|
116
|
+
* PSP-specific error message.
|
|
117
|
+
* @maxLength 300
|
|
118
|
+
*/
|
|
102
119
|
errorMessage?: string | null;
|
|
103
120
|
}
|
|
104
121
|
export interface VoidEvent {
|
|
105
|
-
/**
|
|
122
|
+
/**
|
|
123
|
+
* Wix transaction ID.
|
|
124
|
+
* @format GUID
|
|
125
|
+
*/
|
|
106
126
|
wixTransactionId?: string;
|
|
107
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. */
|
|
108
128
|
reasonCode?: number;
|
|
@@ -111,9 +131,15 @@ export interface VoidEvent {
|
|
|
111
131
|
* Learn more about [currencies](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/currencies).
|
|
112
132
|
*/
|
|
113
133
|
amount?: string;
|
|
114
|
-
/**
|
|
134
|
+
/**
|
|
135
|
+
* PSP-specific error code.
|
|
136
|
+
* @maxLength 50
|
|
137
|
+
*/
|
|
115
138
|
errorCode?: string | null;
|
|
116
|
-
/**
|
|
139
|
+
/**
|
|
140
|
+
* PSP-specific error message.
|
|
141
|
+
* @maxLength 300
|
|
142
|
+
*/
|
|
117
143
|
errorMessage?: string | null;
|
|
118
144
|
}
|
|
119
145
|
/** Submit event request */
|
|
@@ -81,13 +81,24 @@ 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
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;
|
|
@@ -96,13 +107,22 @@ export interface CaptureEvent {
|
|
|
96
107
|
* Learn more about [currencies](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/currencies).
|
|
97
108
|
*/
|
|
98
109
|
amount?: string;
|
|
99
|
-
/**
|
|
110
|
+
/**
|
|
111
|
+
* PSP-specific error code.
|
|
112
|
+
* @maxLength 50
|
|
113
|
+
*/
|
|
100
114
|
errorCode?: string | null;
|
|
101
|
-
/**
|
|
115
|
+
/**
|
|
116
|
+
* PSP-specific error message.
|
|
117
|
+
* @maxLength 300
|
|
118
|
+
*/
|
|
102
119
|
errorMessage?: string | null;
|
|
103
120
|
}
|
|
104
121
|
export interface VoidEvent {
|
|
105
|
-
/**
|
|
122
|
+
/**
|
|
123
|
+
* Wix transaction ID.
|
|
124
|
+
* @format GUID
|
|
125
|
+
*/
|
|
106
126
|
wixTransactionId?: string;
|
|
107
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. */
|
|
108
128
|
reasonCode?: number;
|
|
@@ -111,9 +131,15 @@ export interface VoidEvent {
|
|
|
111
131
|
* Learn more about [currencies](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/currencies).
|
|
112
132
|
*/
|
|
113
133
|
amount?: string;
|
|
114
|
-
/**
|
|
134
|
+
/**
|
|
135
|
+
* PSP-specific error code.
|
|
136
|
+
* @maxLength 50
|
|
137
|
+
*/
|
|
115
138
|
errorCode?: string | null;
|
|
116
|
-
/**
|
|
139
|
+
/**
|
|
140
|
+
* PSP-specific error message.
|
|
141
|
+
* @maxLength 300
|
|
142
|
+
*/
|
|
117
143
|
errorMessage?: string | null;
|
|
118
144
|
}
|
|
119
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
|
@@ -81,13 +81,24 @@ 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
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;
|
|
@@ -96,13 +107,22 @@ export interface CaptureEvent {
|
|
|
96
107
|
* Learn more about [currencies](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/currencies).
|
|
97
108
|
*/
|
|
98
109
|
amount?: string;
|
|
99
|
-
/**
|
|
110
|
+
/**
|
|
111
|
+
* PSP-specific error code.
|
|
112
|
+
* @maxLength 50
|
|
113
|
+
*/
|
|
100
114
|
errorCode?: string | null;
|
|
101
|
-
/**
|
|
115
|
+
/**
|
|
116
|
+
* PSP-specific error message.
|
|
117
|
+
* @maxLength 300
|
|
118
|
+
*/
|
|
102
119
|
errorMessage?: string | null;
|
|
103
120
|
}
|
|
104
121
|
export interface VoidEvent {
|
|
105
|
-
/**
|
|
122
|
+
/**
|
|
123
|
+
* Wix transaction ID.
|
|
124
|
+
* @format GUID
|
|
125
|
+
*/
|
|
106
126
|
wixTransactionId?: string;
|
|
107
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. */
|
|
108
128
|
reasonCode?: number;
|
|
@@ -111,9 +131,15 @@ export interface VoidEvent {
|
|
|
111
131
|
* Learn more about [currencies](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/currencies).
|
|
112
132
|
*/
|
|
113
133
|
amount?: string;
|
|
114
|
-
/**
|
|
134
|
+
/**
|
|
135
|
+
* PSP-specific error code.
|
|
136
|
+
* @maxLength 50
|
|
137
|
+
*/
|
|
115
138
|
errorCode?: string | null;
|
|
116
|
-
/**
|
|
139
|
+
/**
|
|
140
|
+
* PSP-specific error message.
|
|
141
|
+
* @maxLength 300
|
|
142
|
+
*/
|
|
117
143
|
errorMessage?: string | null;
|
|
118
144
|
}
|
|
119
145
|
/** Submit event request */
|
package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.d.ts
CHANGED
|
@@ -81,13 +81,24 @@ 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
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;
|
|
@@ -96,13 +107,22 @@ export interface CaptureEvent {
|
|
|
96
107
|
* Learn more about [currencies](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/currencies).
|
|
97
108
|
*/
|
|
98
109
|
amount?: string;
|
|
99
|
-
/**
|
|
110
|
+
/**
|
|
111
|
+
* PSP-specific error code.
|
|
112
|
+
* @maxLength 50
|
|
113
|
+
*/
|
|
100
114
|
errorCode?: string | null;
|
|
101
|
-
/**
|
|
115
|
+
/**
|
|
116
|
+
* PSP-specific error message.
|
|
117
|
+
* @maxLength 300
|
|
118
|
+
*/
|
|
102
119
|
errorMessage?: string | null;
|
|
103
120
|
}
|
|
104
121
|
export interface VoidEvent {
|
|
105
|
-
/**
|
|
122
|
+
/**
|
|
123
|
+
* Wix transaction ID.
|
|
124
|
+
* @format GUID
|
|
125
|
+
*/
|
|
106
126
|
wixTransactionId?: string;
|
|
107
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. */
|
|
108
128
|
reasonCode?: number;
|
|
@@ -111,9 +131,15 @@ export interface VoidEvent {
|
|
|
111
131
|
* Learn more about [currencies](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/currencies).
|
|
112
132
|
*/
|
|
113
133
|
amount?: string;
|
|
114
|
-
/**
|
|
134
|
+
/**
|
|
135
|
+
* PSP-specific error code.
|
|
136
|
+
* @maxLength 50
|
|
137
|
+
*/
|
|
115
138
|
errorCode?: string | null;
|
|
116
|
-
/**
|
|
139
|
+
/**
|
|
140
|
+
* PSP-specific error message.
|
|
141
|
+
* @maxLength 300
|
|
142
|
+
*/
|
|
117
143
|
errorMessage?: string | null;
|
|
118
144
|
}
|
|
119
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
|
@@ -81,13 +81,24 @@ 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
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;
|
|
@@ -96,13 +107,22 @@ export interface CaptureEvent {
|
|
|
96
107
|
* Learn more about [currencies](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/currencies).
|
|
97
108
|
*/
|
|
98
109
|
amount?: string;
|
|
99
|
-
/**
|
|
110
|
+
/**
|
|
111
|
+
* PSP-specific error code.
|
|
112
|
+
* @maxLength 50
|
|
113
|
+
*/
|
|
100
114
|
errorCode?: string | null;
|
|
101
|
-
/**
|
|
115
|
+
/**
|
|
116
|
+
* PSP-specific error message.
|
|
117
|
+
* @maxLength 300
|
|
118
|
+
*/
|
|
102
119
|
errorMessage?: string | null;
|
|
103
120
|
}
|
|
104
121
|
export interface VoidEvent {
|
|
105
|
-
/**
|
|
122
|
+
/**
|
|
123
|
+
* Wix transaction ID.
|
|
124
|
+
* @format GUID
|
|
125
|
+
*/
|
|
106
126
|
wixTransactionId?: string;
|
|
107
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. */
|
|
108
128
|
reasonCode?: number;
|
|
@@ -111,9 +131,15 @@ export interface VoidEvent {
|
|
|
111
131
|
* Learn more about [currencies](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/currencies).
|
|
112
132
|
*/
|
|
113
133
|
amount?: string;
|
|
114
|
-
/**
|
|
134
|
+
/**
|
|
135
|
+
* PSP-specific error code.
|
|
136
|
+
* @maxLength 50
|
|
137
|
+
*/
|
|
115
138
|
errorCode?: string | null;
|
|
116
|
-
/**
|
|
139
|
+
/**
|
|
140
|
+
* PSP-specific error message.
|
|
141
|
+
* @maxLength 300
|
|
142
|
+
*/
|
|
117
143
|
errorMessage?: string | null;
|
|
118
144
|
}
|
|
119
145
|
/** Submit event request */
|
package/build/internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.d.ts
CHANGED
|
@@ -81,13 +81,24 @@ 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
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;
|
|
@@ -96,13 +107,22 @@ export interface CaptureEvent {
|
|
|
96
107
|
* Learn more about [currencies](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/currencies).
|
|
97
108
|
*/
|
|
98
109
|
amount?: string;
|
|
99
|
-
/**
|
|
110
|
+
/**
|
|
111
|
+
* PSP-specific error code.
|
|
112
|
+
* @maxLength 50
|
|
113
|
+
*/
|
|
100
114
|
errorCode?: string | null;
|
|
101
|
-
/**
|
|
115
|
+
/**
|
|
116
|
+
* PSP-specific error message.
|
|
117
|
+
* @maxLength 300
|
|
118
|
+
*/
|
|
102
119
|
errorMessage?: string | null;
|
|
103
120
|
}
|
|
104
121
|
export interface VoidEvent {
|
|
105
|
-
/**
|
|
122
|
+
/**
|
|
123
|
+
* Wix transaction ID.
|
|
124
|
+
* @format GUID
|
|
125
|
+
*/
|
|
106
126
|
wixTransactionId?: string;
|
|
107
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. */
|
|
108
128
|
reasonCode?: number;
|
|
@@ -111,9 +131,15 @@ export interface VoidEvent {
|
|
|
111
131
|
* Learn more about [currencies](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/currencies).
|
|
112
132
|
*/
|
|
113
133
|
amount?: string;
|
|
114
|
-
/**
|
|
134
|
+
/**
|
|
135
|
+
* PSP-specific error code.
|
|
136
|
+
* @maxLength 50
|
|
137
|
+
*/
|
|
115
138
|
errorCode?: string | null;
|
|
116
|
-
/**
|
|
139
|
+
/**
|
|
140
|
+
* PSP-specific error message.
|
|
141
|
+
* @maxLength 300
|
|
142
|
+
*/
|
|
117
143
|
errorMessage?: string | null;
|
|
118
144
|
}
|
|
119
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.4",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
"service-plugins"
|
|
29
29
|
],
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@wix/sdk-runtime": "^0.3.
|
|
32
|
-
"@wix/sdk-types": "^1.
|
|
31
|
+
"@wix/sdk-runtime": "^0.3.42",
|
|
32
|
+
"@wix/sdk-types": "^1.13.9"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"typescript": "^5.3.2"
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"fqdn": "wix.payments.psp.v1.provider_platform_event"
|
|
49
49
|
}
|
|
50
50
|
},
|
|
51
|
-
"falconPackageHash": "
|
|
51
|
+
"falconPackageHash": "477a12ef190fd4278c229115248561c1ccace4ab8342e352d35c8a52"
|
|
52
52
|
}
|