@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.
@@ -81,13 +81,24 @@ export interface PaymentMethodReference {
81
81
  token?: string;
82
82
  }
83
83
  export interface CardDetails {
84
- /** Issuer (business) identification number. First 6 or 8 digits of the card's number. */
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
- /** Last 4 digits of the card's number. */
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
- /** Wix transaction ID. */
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
- /** PSP-specific error code. */
110
+ /**
111
+ * PSP-specific error code.
112
+ * @maxLength 50
113
+ */
100
114
  errorCode?: string | null;
101
- /** PSP-specific error message. */
115
+ /**
116
+ * PSP-specific error message.
117
+ * @maxLength 300
118
+ */
102
119
  errorMessage?: string | null;
103
120
  }
104
121
  export interface VoidEvent {
105
- /** Wix transaction ID. */
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
- /** PSP-specific error code. */
134
+ /**
135
+ * PSP-specific error code.
136
+ * @maxLength 50
137
+ */
115
138
  errorCode?: string | null;
116
- /** PSP-specific error message. */
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
- /** Issuer (business) identification number. First 6 or 8 digits of the card's number. */
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
- /** Last 4 digits of the card's number. */
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
- /** Wix transaction ID. */
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
- /** PSP-specific error code. */
110
+ /**
111
+ * PSP-specific error code.
112
+ * @maxLength 50
113
+ */
100
114
  errorCode?: string | null;
101
- /** PSP-specific error message. */
115
+ /**
116
+ * PSP-specific error message.
117
+ * @maxLength 300
118
+ */
102
119
  errorMessage?: string | null;
103
120
  }
104
121
  export interface VoidEvent {
105
- /** Wix transaction ID. */
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
- /** PSP-specific error code. */
134
+ /**
135
+ * PSP-specific error code.
136
+ * @maxLength 50
137
+ */
115
138
  errorCode?: string | null;
116
- /** PSP-specific error message. */
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;AA6InI;;;;;;;;;;;;;;;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"}
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
- /** Issuer (business) identification number. First 6 or 8 digits of the card's number. */
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
- /** Last 4 digits of the card's number. */
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
- /** Wix transaction ID. */
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
- /** PSP-specific error code. */
110
+ /**
111
+ * PSP-specific error code.
112
+ * @maxLength 50
113
+ */
100
114
  errorCode?: string | null;
101
- /** PSP-specific error message. */
115
+ /**
116
+ * PSP-specific error message.
117
+ * @maxLength 300
118
+ */
102
119
  errorMessage?: string | null;
103
120
  }
104
121
  export interface VoidEvent {
105
- /** Wix transaction ID. */
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
- /** PSP-specific error code. */
134
+ /**
135
+ * PSP-specific error code.
136
+ * @maxLength 50
137
+ */
115
138
  errorCode?: string | null;
116
- /** PSP-specific error message. */
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
- /** Issuer (business) identification number. First 6 or 8 digits of the card's number. */
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
- /** Last 4 digits of the card's number. */
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
- /** Wix transaction ID. */
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
- /** PSP-specific error code. */
110
+ /**
111
+ * PSP-specific error code.
112
+ * @maxLength 50
113
+ */
100
114
  errorCode?: string | null;
101
- /** PSP-specific error message. */
115
+ /**
116
+ * PSP-specific error message.
117
+ * @maxLength 300
118
+ */
102
119
  errorMessage?: string | null;
103
120
  }
104
121
  export interface VoidEvent {
105
- /** Wix transaction ID. */
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
- /** PSP-specific error code. */
134
+ /**
135
+ * PSP-specific error code.
136
+ * @maxLength 50
137
+ */
115
138
  errorCode?: string | null;
116
- /** PSP-specific error message. */
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;AA6InI;;;;;;;;;;;;;;;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"}
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"}
@@ -81,13 +81,24 @@ export interface PaymentMethodReference {
81
81
  token?: string;
82
82
  }
83
83
  export interface CardDetails {
84
- /** Issuer (business) identification number. First 6 or 8 digits of the card's number. */
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
- /** Last 4 digits of the card's number. */
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
- /** Wix transaction ID. */
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
- /** PSP-specific error code. */
110
+ /**
111
+ * PSP-specific error code.
112
+ * @maxLength 50
113
+ */
100
114
  errorCode?: string | null;
101
- /** PSP-specific error message. */
115
+ /**
116
+ * PSP-specific error message.
117
+ * @maxLength 300
118
+ */
102
119
  errorMessage?: string | null;
103
120
  }
104
121
  export interface VoidEvent {
105
- /** Wix transaction ID. */
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
- /** PSP-specific error code. */
134
+ /**
135
+ * PSP-specific error code.
136
+ * @maxLength 50
137
+ */
115
138
  errorCode?: string | null;
116
- /** PSP-specific error message. */
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
- /** Issuer (business) identification number. First 6 or 8 digits of the card's number. */
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
- /** Last 4 digits of the card's number. */
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
- /** Wix transaction ID. */
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
- /** PSP-specific error code. */
110
+ /**
111
+ * PSP-specific error code.
112
+ * @maxLength 50
113
+ */
100
114
  errorCode?: string | null;
101
- /** PSP-specific error message. */
115
+ /**
116
+ * PSP-specific error message.
117
+ * @maxLength 300
118
+ */
102
119
  errorMessage?: string | null;
103
120
  }
104
121
  export interface VoidEvent {
105
- /** Wix transaction ID. */
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
- /** PSP-specific error code. */
134
+ /**
135
+ * PSP-specific error code.
136
+ * @maxLength 50
137
+ */
115
138
  errorCode?: string | null;
116
- /** PSP-specific error message. */
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;AA6InI;;;;;;;;;;;;;;;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"}
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
- /** Issuer (business) identification number. First 6 or 8 digits of the card's number. */
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
- /** Last 4 digits of the card's number. */
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
- /** Wix transaction ID. */
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
- /** PSP-specific error code. */
110
+ /**
111
+ * PSP-specific error code.
112
+ * @maxLength 50
113
+ */
100
114
  errorCode?: string | null;
101
- /** PSP-specific error message. */
115
+ /**
116
+ * PSP-specific error message.
117
+ * @maxLength 300
118
+ */
102
119
  errorMessage?: string | null;
103
120
  }
104
121
  export interface VoidEvent {
105
- /** Wix transaction ID. */
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
- /** PSP-specific error code. */
134
+ /**
135
+ * PSP-specific error code.
136
+ * @maxLength 50
137
+ */
115
138
  errorCode?: string | null;
116
- /** PSP-specific error message. */
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
- /** Issuer (business) identification number. First 6 or 8 digits of the card's number. */
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
- /** Last 4 digits of the card's number. */
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
- /** Wix transaction ID. */
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
- /** PSP-specific error code. */
110
+ /**
111
+ * PSP-specific error code.
112
+ * @maxLength 50
113
+ */
100
114
  errorCode?: string | null;
101
- /** PSP-specific error message. */
115
+ /**
116
+ * PSP-specific error message.
117
+ * @maxLength 300
118
+ */
102
119
  errorMessage?: string | null;
103
120
  }
104
121
  export interface VoidEvent {
105
- /** Wix transaction ID. */
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
- /** PSP-specific error code. */
134
+ /**
135
+ * PSP-specific error code.
136
+ * @maxLength 50
137
+ */
115
138
  errorCode?: string | null;
116
- /** PSP-specific error message. */
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;AA6InI;;;;;;;;;;;;;;;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"}
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.1",
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.35",
32
- "@wix/sdk-types": "^1.12.4"
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": "597d8f3694e1b49f2fdaeb6c2efd40438d574688dfafc618635c68c7"
51
+ "falconPackageHash": "477a12ef190fd4278c229115248561c1ccace4ab8342e352d35c8a52"
52
52
  }