@wix/auto_sdk_payments_psp-callbacks 1.0.13 → 1.0.15
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/index.d.mts +24 -0
- package/build/index.d.ts +24 -0
- package/build/index.js +414 -0
- package/build/index.js.map +1 -0
- package/build/index.mjs +387 -0
- package/build/index.mjs.map +1 -0
- package/build/internal/index.d.mts +24 -0
- package/build/internal/index.d.ts +24 -0
- package/build/internal/index.js +414 -0
- package/build/internal/index.js.map +1 -0
- package/build/internal/index.mjs +387 -0
- package/build/internal/index.mjs.map +1 -0
- package/build/internal/meta.d.mts +168 -0
- package/build/internal/meta.d.ts +168 -0
- package/build/internal/meta.js +393 -0
- package/build/internal/meta.js.map +1 -0
- package/build/internal/meta.mjs +366 -0
- package/build/internal/meta.mjs.map +1 -0
- package/build/{cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.types.d.ts → internal/payments-psp-v1-provider-platform-event-psp-callbacks.universal-CEQHoEoO.d.mts} +15 -13
- package/build/internal/{cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.types.d.ts → payments-psp-v1-provider-platform-event-psp-callbacks.universal-CEQHoEoO.d.ts} +15 -13
- package/build/meta.d.mts +168 -0
- package/build/meta.d.ts +168 -0
- package/build/meta.js +393 -0
- package/build/meta.js.map +1 -0
- package/build/meta.mjs +366 -0
- package/build/meta.mjs.map +1 -0
- package/build/{internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.types.d.ts → payments-psp-v1-provider-platform-event-psp-callbacks.universal-CEQHoEoO.d.mts} +15 -13
- package/build/{es/src/payments-psp-v1-provider-platform-event-psp-callbacks.types.d.ts → payments-psp-v1-provider-platform-event-psp-callbacks.universal-CEQHoEoO.d.ts} +15 -13
- package/package.json +13 -12
- package/build/cjs/index.d.ts +0 -1
- package/build/cjs/index.js +0 -18
- package/build/cjs/index.js.map +0 -1
- package/build/cjs/index.typings.d.ts +0 -1
- package/build/cjs/index.typings.js +0 -18
- package/build/cjs/index.typings.js.map +0 -1
- package/build/cjs/meta.d.ts +0 -1
- package/build/cjs/meta.js +0 -18
- package/build/cjs/meta.js.map +0 -1
- package/build/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.context.d.ts +0 -4
- package/build/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.context.js +0 -7
- package/build/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.context.js.map +0 -1
- package/build/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.http.d.ts +0 -12
- package/build/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.http.js +0 -354
- package/build/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.http.js.map +0 -1
- package/build/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.meta.d.ts +0 -13
- package/build/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.meta.js +0 -47
- package/build/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.meta.js.map +0 -1
- package/build/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.public.d.ts +0 -22
- package/build/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.public.js +0 -12
- package/build/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.public.js.map +0 -1
- package/build/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.types.js +0 -3
- package/build/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.types.js.map +0 -1
- package/build/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.d.ts +0 -169
- package/build/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.js +0 -67
- package/build/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.js.map +0 -1
- package/build/es/index.d.ts +0 -1
- package/build/es/index.js +0 -2
- package/build/es/index.js.map +0 -1
- package/build/es/index.typings.d.ts +0 -1
- package/build/es/index.typings.js +0 -2
- package/build/es/index.typings.js.map +0 -1
- package/build/es/meta.d.ts +0 -1
- package/build/es/meta.js +0 -2
- package/build/es/meta.js.map +0 -1
- package/build/es/package.json +0 -3
- package/build/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.context.d.ts +0 -4
- package/build/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.context.js +0 -4
- package/build/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.context.js.map +0 -1
- package/build/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.http.d.ts +0 -12
- package/build/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.http.js +0 -350
- package/build/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.http.js.map +0 -1
- package/build/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.meta.d.ts +0 -13
- package/build/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.meta.js +0 -20
- package/build/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.meta.js.map +0 -1
- package/build/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.public.d.ts +0 -22
- package/build/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.public.js +0 -8
- package/build/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.public.js.map +0 -1
- package/build/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.types.js +0 -2
- package/build/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.types.js.map +0 -1
- package/build/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.d.ts +0 -169
- package/build/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.js +0 -40
- package/build/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.js.map +0 -1
- package/build/internal/cjs/index.d.ts +0 -1
- package/build/internal/cjs/index.js +0 -18
- package/build/internal/cjs/index.js.map +0 -1
- package/build/internal/cjs/index.typings.d.ts +0 -1
- package/build/internal/cjs/index.typings.js +0 -18
- package/build/internal/cjs/index.typings.js.map +0 -1
- package/build/internal/cjs/meta.d.ts +0 -1
- package/build/internal/cjs/meta.js +0 -18
- package/build/internal/cjs/meta.js.map +0 -1
- package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.context.d.ts +0 -4
- package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.context.js +0 -7
- package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.context.js.map +0 -1
- package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.http.d.ts +0 -12
- package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.http.js +0 -354
- package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.http.js.map +0 -1
- package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.meta.d.ts +0 -13
- package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.meta.js +0 -47
- package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.meta.js.map +0 -1
- package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.public.d.ts +0 -22
- package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.public.js +0 -12
- package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.public.js.map +0 -1
- package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.types.js +0 -3
- package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.types.js.map +0 -1
- package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.d.ts +0 -169
- package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.js +0 -67
- package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.js.map +0 -1
- package/build/internal/es/index.d.ts +0 -1
- package/build/internal/es/index.js +0 -2
- package/build/internal/es/index.js.map +0 -1
- package/build/internal/es/index.typings.d.ts +0 -1
- package/build/internal/es/index.typings.js +0 -2
- package/build/internal/es/index.typings.js.map +0 -1
- package/build/internal/es/meta.d.ts +0 -1
- package/build/internal/es/meta.js +0 -2
- package/build/internal/es/meta.js.map +0 -1
- package/build/internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.context.d.ts +0 -4
- package/build/internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.context.js +0 -4
- package/build/internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.context.js.map +0 -1
- package/build/internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.http.d.ts +0 -12
- package/build/internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.http.js +0 -350
- package/build/internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.http.js.map +0 -1
- package/build/internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.meta.d.ts +0 -13
- package/build/internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.meta.js +0 -20
- package/build/internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.meta.js.map +0 -1
- package/build/internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.public.d.ts +0 -22
- package/build/internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.public.js +0 -8
- package/build/internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.public.js.map +0 -1
- package/build/internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.types.js +0 -2
- package/build/internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.types.js.map +0 -1
- package/build/internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.d.ts +0 -169
- package/build/internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.js +0 -40
- package/build/internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.js.map +0 -1
|
@@ -0,0 +1,366 @@
|
|
|
1
|
+
// src/payments-psp-v1-provider-platform-event-psp-callbacks.http.ts
|
|
2
|
+
import { resolveUrl } from "@wix/sdk-runtime/rest-modules";
|
|
3
|
+
function resolveWixPaymentsV1ProviderPlatformEventsProviderPlatformEventsServiceUrl(opts) {
|
|
4
|
+
const domainToMappings = {
|
|
5
|
+
"cashier-services._base_domain_": [
|
|
6
|
+
{
|
|
7
|
+
srcPath: "",
|
|
8
|
+
destPath: ""
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
srcPath: "/_api/payment-services-web",
|
|
12
|
+
destPath: "/api"
|
|
13
|
+
}
|
|
14
|
+
],
|
|
15
|
+
"difm._base_domain_": [
|
|
16
|
+
{
|
|
17
|
+
srcPath: "/_api/payment-services-web",
|
|
18
|
+
destPath: "/api"
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"invoices._base_domain_": [
|
|
22
|
+
{
|
|
23
|
+
srcPath: "/_api/payment-services-web",
|
|
24
|
+
destPath: "/api"
|
|
25
|
+
}
|
|
26
|
+
],
|
|
27
|
+
"apps._base_domain_": [
|
|
28
|
+
{
|
|
29
|
+
srcPath: "/_api/payment-services-web",
|
|
30
|
+
destPath: "/api"
|
|
31
|
+
}
|
|
32
|
+
],
|
|
33
|
+
"ecom._base_domain_": [
|
|
34
|
+
{
|
|
35
|
+
srcPath: "/_api/payment-services-web",
|
|
36
|
+
destPath: "/api"
|
|
37
|
+
}
|
|
38
|
+
],
|
|
39
|
+
"www.cartscheckout.com": [
|
|
40
|
+
{
|
|
41
|
+
srcPath: "/_api/payment-services-web",
|
|
42
|
+
destPath: "/api"
|
|
43
|
+
}
|
|
44
|
+
],
|
|
45
|
+
"cartscheckout.com": [
|
|
46
|
+
{
|
|
47
|
+
srcPath: "/_api/payment-services-web",
|
|
48
|
+
destPath: "/api"
|
|
49
|
+
}
|
|
50
|
+
],
|
|
51
|
+
"cartscheckout._base_domain_": [
|
|
52
|
+
{
|
|
53
|
+
srcPath: "/_api/payment-services-web",
|
|
54
|
+
destPath: "/api"
|
|
55
|
+
}
|
|
56
|
+
],
|
|
57
|
+
"api._api_base_domain_": [
|
|
58
|
+
{
|
|
59
|
+
srcPath: "/payment-services-web",
|
|
60
|
+
destPath: ""
|
|
61
|
+
}
|
|
62
|
+
],
|
|
63
|
+
"progallery._base_domain_": [
|
|
64
|
+
{
|
|
65
|
+
srcPath: "/_api/payment-services-web",
|
|
66
|
+
destPath: ""
|
|
67
|
+
}
|
|
68
|
+
],
|
|
69
|
+
"progallerycdn._base_domain_": [
|
|
70
|
+
{
|
|
71
|
+
srcPath: "/_api/payment-services-web",
|
|
72
|
+
destPath: ""
|
|
73
|
+
}
|
|
74
|
+
],
|
|
75
|
+
"scheduler._base_domain_": [
|
|
76
|
+
{
|
|
77
|
+
srcPath: "/_api/payment-services-web",
|
|
78
|
+
destPath: "/api"
|
|
79
|
+
}
|
|
80
|
+
],
|
|
81
|
+
"events._base_domain_": [
|
|
82
|
+
{
|
|
83
|
+
srcPath: "/_api/payment-services-web",
|
|
84
|
+
destPath: "/api"
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
srcPath: "/payment-services-web",
|
|
88
|
+
destPath: ""
|
|
89
|
+
}
|
|
90
|
+
],
|
|
91
|
+
"bookings.wixapps.net": [
|
|
92
|
+
{
|
|
93
|
+
srcPath: "/_api/payment-services-web",
|
|
94
|
+
destPath: "/api"
|
|
95
|
+
}
|
|
96
|
+
],
|
|
97
|
+
"cashier._base_domain_": [
|
|
98
|
+
{
|
|
99
|
+
srcPath: "/_api/payment-services-web",
|
|
100
|
+
destPath: "/api"
|
|
101
|
+
}
|
|
102
|
+
],
|
|
103
|
+
"ecom.wixapps.net": [
|
|
104
|
+
{
|
|
105
|
+
srcPath: "/_api/payment-services-web",
|
|
106
|
+
destPath: "/api"
|
|
107
|
+
}
|
|
108
|
+
],
|
|
109
|
+
"cashier.wixapps.net": [
|
|
110
|
+
{
|
|
111
|
+
srcPath: "/_api/payment-services-web",
|
|
112
|
+
destPath: "/api"
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
srcPath: "",
|
|
116
|
+
destPath: ""
|
|
117
|
+
}
|
|
118
|
+
],
|
|
119
|
+
"vod-server._base_domain_": [
|
|
120
|
+
{
|
|
121
|
+
srcPath: "/_api/payment-services-web",
|
|
122
|
+
destPath: "/api"
|
|
123
|
+
}
|
|
124
|
+
],
|
|
125
|
+
"vod.wixapps.net": [
|
|
126
|
+
{
|
|
127
|
+
srcPath: "/_api/payment-services-web",
|
|
128
|
+
destPath: "/api"
|
|
129
|
+
}
|
|
130
|
+
],
|
|
131
|
+
"www.wixhotels.com": [
|
|
132
|
+
{
|
|
133
|
+
srcPath: "/_api/payment-services-web",
|
|
134
|
+
destPath: "/api"
|
|
135
|
+
}
|
|
136
|
+
],
|
|
137
|
+
"editor._base_domain_": [
|
|
138
|
+
{
|
|
139
|
+
srcPath: "/_api/payment-services-web",
|
|
140
|
+
destPath: "/api"
|
|
141
|
+
}
|
|
142
|
+
],
|
|
143
|
+
"blocks._base_domain_": [
|
|
144
|
+
{
|
|
145
|
+
srcPath: "/_api/payment-services-web",
|
|
146
|
+
destPath: "/api"
|
|
147
|
+
}
|
|
148
|
+
],
|
|
149
|
+
"create.editorx": [
|
|
150
|
+
{
|
|
151
|
+
srcPath: "/_api/payment-services-web",
|
|
152
|
+
destPath: "/api"
|
|
153
|
+
}
|
|
154
|
+
],
|
|
155
|
+
"test-applepay.wixapps.net": [
|
|
156
|
+
{
|
|
157
|
+
srcPath: "/_api/payment-services-web",
|
|
158
|
+
destPath: "/api"
|
|
159
|
+
}
|
|
160
|
+
],
|
|
161
|
+
"www.wixapis.com": [
|
|
162
|
+
{
|
|
163
|
+
srcPath: "/payments",
|
|
164
|
+
destPath: "/api/merchant"
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
srcPath: "/payments/v1/provider-platform-events",
|
|
168
|
+
destPath: "/payments/v1/provider-platform-events"
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
srcPath: "/api/plugin/v1/transactions",
|
|
172
|
+
destPath: "/api/plugin/v1/transactions"
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
srcPath: "/payments/api/merchant",
|
|
176
|
+
destPath: "/api/merchant"
|
|
177
|
+
}
|
|
178
|
+
],
|
|
179
|
+
"us-applepay.wixapps.net": [
|
|
180
|
+
{
|
|
181
|
+
srcPath: "/_api/payment-services-web",
|
|
182
|
+
destPath: "/api"
|
|
183
|
+
}
|
|
184
|
+
],
|
|
185
|
+
"eu-applepay.wixapps.net": [
|
|
186
|
+
{
|
|
187
|
+
srcPath: "/_api/payment-services-web",
|
|
188
|
+
destPath: "/api"
|
|
189
|
+
}
|
|
190
|
+
],
|
|
191
|
+
"payments-sb.wixapps.net": [
|
|
192
|
+
{
|
|
193
|
+
srcPath: "/_api/payment-services-web",
|
|
194
|
+
destPath: "/api"
|
|
195
|
+
}
|
|
196
|
+
],
|
|
197
|
+
"manage._base_domain_": [
|
|
198
|
+
{
|
|
199
|
+
srcPath: "/_api/payment-services-web",
|
|
200
|
+
destPath: "/api"
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
srcPath: "/ambassador/payment-services-web",
|
|
204
|
+
destPath: ""
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
srcPath: "/.well-known/apple-developer-merchantid-domain-association",
|
|
208
|
+
destPath: "/domain-verification/apple-pay"
|
|
209
|
+
}
|
|
210
|
+
],
|
|
211
|
+
_: [
|
|
212
|
+
{
|
|
213
|
+
srcPath: "/_api/payment-services-web",
|
|
214
|
+
destPath: "/api"
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
srcPath: "/.well-known/apple-developer-merchantid-domain-association",
|
|
218
|
+
destPath: "/domain-verification/apple-pay"
|
|
219
|
+
}
|
|
220
|
+
],
|
|
221
|
+
"events.wixapps.net": [
|
|
222
|
+
{
|
|
223
|
+
srcPath: "/_api/payment-services-web",
|
|
224
|
+
destPath: "/api"
|
|
225
|
+
}
|
|
226
|
+
],
|
|
227
|
+
"tpa.wixapps.net": [
|
|
228
|
+
{
|
|
229
|
+
srcPath: "/_api/payment-services-web",
|
|
230
|
+
destPath: "/api"
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
srcPath: "/payment-services-web",
|
|
234
|
+
destPath: ""
|
|
235
|
+
}
|
|
236
|
+
],
|
|
237
|
+
"pricing-plans.wixapps.net": [
|
|
238
|
+
{
|
|
239
|
+
srcPath: "/_api/payment-services-web",
|
|
240
|
+
destPath: "/api"
|
|
241
|
+
}
|
|
242
|
+
],
|
|
243
|
+
"editor-flow.wixapps.net": [
|
|
244
|
+
{
|
|
245
|
+
srcPath: "/_api/payment-services-web",
|
|
246
|
+
destPath: "/api"
|
|
247
|
+
}
|
|
248
|
+
],
|
|
249
|
+
"bo._base_domain_": [
|
|
250
|
+
{
|
|
251
|
+
srcPath: "/_api/payment-services-web",
|
|
252
|
+
destPath: "/api"
|
|
253
|
+
}
|
|
254
|
+
],
|
|
255
|
+
"wixbo.ai": [
|
|
256
|
+
{
|
|
257
|
+
srcPath: "/_api/payment-services-web",
|
|
258
|
+
destPath: "/api"
|
|
259
|
+
}
|
|
260
|
+
],
|
|
261
|
+
"wix-bo.com": [
|
|
262
|
+
{
|
|
263
|
+
srcPath: "/_api/payment-services-web",
|
|
264
|
+
destPath: "/api"
|
|
265
|
+
}
|
|
266
|
+
],
|
|
267
|
+
"editor.wixapps.net": [
|
|
268
|
+
{
|
|
269
|
+
srcPath: "/_api/payment-services-web",
|
|
270
|
+
destPath: "/api"
|
|
271
|
+
}
|
|
272
|
+
],
|
|
273
|
+
"premium._base_domain_": [
|
|
274
|
+
{
|
|
275
|
+
srcPath: "/_api/payment-services-web",
|
|
276
|
+
destPath: "/api"
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
srcPath: "/payment-services-web",
|
|
280
|
+
destPath: ""
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
srcPath: "/lib-mbapi/include/modules/gateway/return/paypal.php",
|
|
284
|
+
destPath: "/api/payPal/payments/legacy-ipn-to-ignore"
|
|
285
|
+
}
|
|
286
|
+
],
|
|
287
|
+
"www._base_domain_": [
|
|
288
|
+
{
|
|
289
|
+
srcPath: "/_api/payment-services-web",
|
|
290
|
+
destPath: "/api"
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
srcPath: "/.well-known/apple-developer-merchantid-domain-association",
|
|
294
|
+
destPath: "/domain-verification/apple-pay"
|
|
295
|
+
}
|
|
296
|
+
],
|
|
297
|
+
"payment-webhooks.wixapps.net": [
|
|
298
|
+
{
|
|
299
|
+
srcPath: "/cashier/accounts/stripe",
|
|
300
|
+
destPath: "/api/merchant/stripe"
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
srcPath: "/cashier/transactions/stripe",
|
|
304
|
+
destPath: "/api/stripe"
|
|
305
|
+
}
|
|
306
|
+
],
|
|
307
|
+
"cashier-services.wixapis.com": [
|
|
308
|
+
{
|
|
309
|
+
srcPath: "/payments/v1/provider-platform-events",
|
|
310
|
+
destPath: "/payments/v1/provider-platform-events"
|
|
311
|
+
}
|
|
312
|
+
],
|
|
313
|
+
"currency-converter.wixapps.net": [
|
|
314
|
+
{
|
|
315
|
+
srcPath: "/_api/payment-services-web",
|
|
316
|
+
destPath: "/api"
|
|
317
|
+
}
|
|
318
|
+
]
|
|
319
|
+
};
|
|
320
|
+
return resolveUrl(Object.assign(opts, { domainToMappings }));
|
|
321
|
+
}
|
|
322
|
+
var PACKAGE_NAME = "@wix/auto_sdk_payments_psp-callbacks";
|
|
323
|
+
function submitEvent(payload) {
|
|
324
|
+
function __submitEvent({ host }) {
|
|
325
|
+
const metadata = {
|
|
326
|
+
entityFqdn: "wix.payments.psp.v1.provider_platform_event",
|
|
327
|
+
method: "POST",
|
|
328
|
+
methodFqn: "wix.payments.v1.provider_platform_events.ProviderPlatformEventsService.SubmitEvent",
|
|
329
|
+
packageName: PACKAGE_NAME,
|
|
330
|
+
url: resolveWixPaymentsV1ProviderPlatformEventsProviderPlatformEventsServiceUrl(
|
|
331
|
+
{
|
|
332
|
+
protoPath: "/payments/v1/provider-platform-events",
|
|
333
|
+
data: payload,
|
|
334
|
+
host
|
|
335
|
+
}
|
|
336
|
+
),
|
|
337
|
+
data: payload
|
|
338
|
+
};
|
|
339
|
+
return metadata;
|
|
340
|
+
}
|
|
341
|
+
return __submitEvent;
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
// src/payments-psp-v1-provider-platform-event-psp-callbacks.meta.ts
|
|
345
|
+
function submitEvent2() {
|
|
346
|
+
const payload = {};
|
|
347
|
+
const getRequestOptions = submitEvent(payload);
|
|
348
|
+
const getUrl = (context) => {
|
|
349
|
+
const { url } = getRequestOptions(context);
|
|
350
|
+
return url;
|
|
351
|
+
};
|
|
352
|
+
return {
|
|
353
|
+
getUrl,
|
|
354
|
+
httpMethod: "POST",
|
|
355
|
+
path: "/payments/v1/provider-platform-events",
|
|
356
|
+
pathParams: {},
|
|
357
|
+
__requestType: null,
|
|
358
|
+
__originalRequestType: null,
|
|
359
|
+
__responseType: null,
|
|
360
|
+
__originalResponseType: null
|
|
361
|
+
};
|
|
362
|
+
}
|
|
363
|
+
export {
|
|
364
|
+
submitEvent2 as submitEvent
|
|
365
|
+
};
|
|
366
|
+
//# sourceMappingURL=meta.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/payments-psp-v1-provider-platform-event-psp-callbacks.http.ts","../../src/payments-psp-v1-provider-platform-event-psp-callbacks.meta.ts"],"sourcesContent":["import { resolveUrl } from '@wix/sdk-runtime/rest-modules';\nimport { ResolveUrlOpts } from '@wix/sdk-runtime/rest-modules';\nimport { RequestOptionsFactory } from '@wix/sdk-types';\n\nfunction resolveWixPaymentsV1ProviderPlatformEventsProviderPlatformEventsServiceUrl(\n opts: Omit<ResolveUrlOpts, 'domainToMappings'>\n) {\n const domainToMappings = {\n 'cashier-services._base_domain_': [\n {\n srcPath: '',\n destPath: '',\n },\n {\n srcPath: '/_api/payment-services-web',\n destPath: '/api',\n },\n ],\n 'difm._base_domain_': [\n {\n srcPath: '/_api/payment-services-web',\n destPath: '/api',\n },\n ],\n 'invoices._base_domain_': [\n {\n srcPath: '/_api/payment-services-web',\n destPath: '/api',\n },\n ],\n 'apps._base_domain_': [\n {\n srcPath: '/_api/payment-services-web',\n destPath: '/api',\n },\n ],\n 'ecom._base_domain_': [\n {\n srcPath: '/_api/payment-services-web',\n destPath: '/api',\n },\n ],\n 'www.cartscheckout.com': [\n {\n srcPath: '/_api/payment-services-web',\n destPath: '/api',\n },\n ],\n 'cartscheckout.com': [\n {\n srcPath: '/_api/payment-services-web',\n destPath: '/api',\n },\n ],\n 'cartscheckout._base_domain_': [\n {\n srcPath: '/_api/payment-services-web',\n destPath: '/api',\n },\n ],\n 'api._api_base_domain_': [\n {\n srcPath: '/payment-services-web',\n destPath: '',\n },\n ],\n 'progallery._base_domain_': [\n {\n srcPath: '/_api/payment-services-web',\n destPath: '',\n },\n ],\n 'progallerycdn._base_domain_': [\n {\n srcPath: '/_api/payment-services-web',\n destPath: '',\n },\n ],\n 'scheduler._base_domain_': [\n {\n srcPath: '/_api/payment-services-web',\n destPath: '/api',\n },\n ],\n 'events._base_domain_': [\n {\n srcPath: '/_api/payment-services-web',\n destPath: '/api',\n },\n {\n srcPath: '/payment-services-web',\n destPath: '',\n },\n ],\n 'bookings.wixapps.net': [\n {\n srcPath: '/_api/payment-services-web',\n destPath: '/api',\n },\n ],\n 'cashier._base_domain_': [\n {\n srcPath: '/_api/payment-services-web',\n destPath: '/api',\n },\n ],\n 'ecom.wixapps.net': [\n {\n srcPath: '/_api/payment-services-web',\n destPath: '/api',\n },\n ],\n 'cashier.wixapps.net': [\n {\n srcPath: '/_api/payment-services-web',\n destPath: '/api',\n },\n {\n srcPath: '',\n destPath: '',\n },\n ],\n 'vod-server._base_domain_': [\n {\n srcPath: '/_api/payment-services-web',\n destPath: '/api',\n },\n ],\n 'vod.wixapps.net': [\n {\n srcPath: '/_api/payment-services-web',\n destPath: '/api',\n },\n ],\n 'www.wixhotels.com': [\n {\n srcPath: '/_api/payment-services-web',\n destPath: '/api',\n },\n ],\n 'editor._base_domain_': [\n {\n srcPath: '/_api/payment-services-web',\n destPath: '/api',\n },\n ],\n 'blocks._base_domain_': [\n {\n srcPath: '/_api/payment-services-web',\n destPath: '/api',\n },\n ],\n 'create.editorx': [\n {\n srcPath: '/_api/payment-services-web',\n destPath: '/api',\n },\n ],\n 'test-applepay.wixapps.net': [\n {\n srcPath: '/_api/payment-services-web',\n destPath: '/api',\n },\n ],\n 'www.wixapis.com': [\n {\n srcPath: '/payments',\n destPath: '/api/merchant',\n },\n {\n srcPath: '/payments/v1/provider-platform-events',\n destPath: '/payments/v1/provider-platform-events',\n },\n {\n srcPath: '/api/plugin/v1/transactions',\n destPath: '/api/plugin/v1/transactions',\n },\n {\n srcPath: '/payments/api/merchant',\n destPath: '/api/merchant',\n },\n ],\n 'us-applepay.wixapps.net': [\n {\n srcPath: '/_api/payment-services-web',\n destPath: '/api',\n },\n ],\n 'eu-applepay.wixapps.net': [\n {\n srcPath: '/_api/payment-services-web',\n destPath: '/api',\n },\n ],\n 'payments-sb.wixapps.net': [\n {\n srcPath: '/_api/payment-services-web',\n destPath: '/api',\n },\n ],\n 'manage._base_domain_': [\n {\n srcPath: '/_api/payment-services-web',\n destPath: '/api',\n },\n {\n srcPath: '/ambassador/payment-services-web',\n destPath: '',\n },\n {\n srcPath: '/.well-known/apple-developer-merchantid-domain-association',\n destPath: '/domain-verification/apple-pay',\n },\n ],\n _: [\n {\n srcPath: '/_api/payment-services-web',\n destPath: '/api',\n },\n {\n srcPath: '/.well-known/apple-developer-merchantid-domain-association',\n destPath: '/domain-verification/apple-pay',\n },\n ],\n 'events.wixapps.net': [\n {\n srcPath: '/_api/payment-services-web',\n destPath: '/api',\n },\n ],\n 'tpa.wixapps.net': [\n {\n srcPath: '/_api/payment-services-web',\n destPath: '/api',\n },\n {\n srcPath: '/payment-services-web',\n destPath: '',\n },\n ],\n 'pricing-plans.wixapps.net': [\n {\n srcPath: '/_api/payment-services-web',\n destPath: '/api',\n },\n ],\n 'editor-flow.wixapps.net': [\n {\n srcPath: '/_api/payment-services-web',\n destPath: '/api',\n },\n ],\n 'bo._base_domain_': [\n {\n srcPath: '/_api/payment-services-web',\n destPath: '/api',\n },\n ],\n 'wixbo.ai': [\n {\n srcPath: '/_api/payment-services-web',\n destPath: '/api',\n },\n ],\n 'wix-bo.com': [\n {\n srcPath: '/_api/payment-services-web',\n destPath: '/api',\n },\n ],\n 'editor.wixapps.net': [\n {\n srcPath: '/_api/payment-services-web',\n destPath: '/api',\n },\n ],\n 'premium._base_domain_': [\n {\n srcPath: '/_api/payment-services-web',\n destPath: '/api',\n },\n {\n srcPath: '/payment-services-web',\n destPath: '',\n },\n {\n srcPath: '/lib-mbapi/include/modules/gateway/return/paypal.php',\n destPath: '/api/payPal/payments/legacy-ipn-to-ignore',\n },\n ],\n 'www._base_domain_': [\n {\n srcPath: '/_api/payment-services-web',\n destPath: '/api',\n },\n {\n srcPath: '/.well-known/apple-developer-merchantid-domain-association',\n destPath: '/domain-verification/apple-pay',\n },\n ],\n 'payment-webhooks.wixapps.net': [\n {\n srcPath: '/cashier/accounts/stripe',\n destPath: '/api/merchant/stripe',\n },\n {\n srcPath: '/cashier/transactions/stripe',\n destPath: '/api/stripe',\n },\n ],\n 'cashier-services.wixapis.com': [\n {\n srcPath: '/payments/v1/provider-platform-events',\n destPath: '/payments/v1/provider-platform-events',\n },\n ],\n 'currency-converter.wixapps.net': [\n {\n srcPath: '/_api/payment-services-web',\n destPath: '/api',\n },\n ],\n };\n\n return resolveUrl(Object.assign(opts, { domainToMappings }));\n}\n\nconst PACKAGE_NAME = '@wix/auto_sdk_payments_psp-callbacks';\n\n/**\n * This Wix API is used by a Payment Service Provider (PSP) to send webhooks about payment and refund states to Wix.\n *\n * Calls to this endpoint must include a `User-Agent` header with the name of the PSP and the integration version in this format: `{PSP}/{version}`.\n * PSP's create their own version numbers.\n *\n * > You cannot try out this endpoint because an `Authorization` header value has to be obtained\n * > with the OAuth 2.0 client credentials flow for a specific scope.\n * > So please ignore the **Authorization** section below as well as the **Try It Out** button.\n */\nexport function submitEvent(payload: object): RequestOptionsFactory<any> {\n function __submitEvent({ host }: any) {\n const metadata = {\n entityFqdn: 'wix.payments.psp.v1.provider_platform_event',\n method: 'POST' as any,\n methodFqn:\n 'wix.payments.v1.provider_platform_events.ProviderPlatformEventsService.SubmitEvent',\n packageName: PACKAGE_NAME,\n url: resolveWixPaymentsV1ProviderPlatformEventsProviderPlatformEventsServiceUrl(\n {\n protoPath: '/payments/v1/provider-platform-events',\n data: payload,\n host,\n }\n ),\n data: payload,\n };\n\n return metadata;\n }\n\n return __submitEvent;\n}\n","import * as ambassadorWixPaymentsPspV1ProviderPlatformEvent from './payments-psp-v1-provider-platform-event-psp-callbacks.http.js';\nimport * as ambassadorWixPaymentsPspV1ProviderPlatformEventTypes from './payments-psp-v1-provider-platform-event-psp-callbacks.types.js';\nimport * as ambassadorWixPaymentsPspV1ProviderPlatformEventUniversalTypes from './payments-psp-v1-provider-platform-event-psp-callbacks.universal.js';\n\nexport type __PublicMethodMetaInfo<\n K = string,\n M = unknown,\n T = unknown,\n S = unknown,\n Q = unknown,\n R = unknown\n> = {\n getUrl: (context: any) => string;\n httpMethod: K;\n path: string;\n pathParams: M;\n __requestType: T;\n __originalRequestType: S;\n __responseType: Q;\n __originalResponseType: R;\n};\n\nexport function submitEvent(): __PublicMethodMetaInfo<\n 'POST',\n {},\n ambassadorWixPaymentsPspV1ProviderPlatformEventUniversalTypes.SubmitEventRequest,\n ambassadorWixPaymentsPspV1ProviderPlatformEventTypes.SubmitEventRequest,\n ambassadorWixPaymentsPspV1ProviderPlatformEventUniversalTypes.SubmitEventResponse,\n ambassadorWixPaymentsPspV1ProviderPlatformEventTypes.SubmitEventResponse\n> {\n const payload = {} as any;\n\n const getRequestOptions =\n ambassadorWixPaymentsPspV1ProviderPlatformEvent.submitEvent(payload);\n\n const getUrl = (context: any): string => {\n const { url } = getRequestOptions(context);\n return url!;\n };\n\n return {\n getUrl,\n httpMethod: 'POST',\n path: '/payments/v1/provider-platform-events',\n pathParams: {},\n __requestType: null as any,\n __originalRequestType: null as any,\n __responseType: null as any,\n __originalResponseType: null as any,\n };\n}\n"],"mappings":";AAAA,SAAS,kBAAkB;AAI3B,SAAS,2EACP,MACA;AACA,QAAM,mBAAmB;AAAA,IACvB,kCAAkC;AAAA,MAChC;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,MACA;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,sBAAsB;AAAA,MACpB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,0BAA0B;AAAA,MACxB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,sBAAsB;AAAA,MACpB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,sBAAsB;AAAA,MACpB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,yBAAyB;AAAA,MACvB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,qBAAqB;AAAA,MACnB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,+BAA+B;AAAA,MAC7B;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,yBAAyB;AAAA,MACvB;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,4BAA4B;AAAA,MAC1B;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,+BAA+B;AAAA,MAC7B;AAAA,QACE,SAAS;AAAA,QACT,UAAU;AAAA,MACZ;AAAA,IACF;AAAA,IACA,2BAA2B;AAAA,MACzB;AAAA,QACE,SAAS;AAAA,QACT,U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;AAAA,MACR,WACE;AAAA,MACF,aAAa;AAAA,MACb,KAAK;AAAA,QACH;AAAA,UACE,WAAW;AAAA,UACX,MAAM;AAAA,UACN;AAAA,QACF;AAAA,MACF;AAAA,MACA,MAAM;AAAA,IACR;AAEA,WAAO;AAAA,EACT;AAEA,SAAO;AACT;;;ACnVO,SAASA,eAOd;AACA,QAAM,UAAU,CAAC;AAEjB,QAAM,oBAC4C,YAAY,OAAO;AAErE,QAAM,SAAS,CAAC,YAAyB;AACvC,UAAM,EAAE,IAAI,IAAI,kBAAkB,OAAO;AACzC,WAAO;AAAA,EACT;AAEA,SAAO;AAAA,IACL;AAAA,IACA,YAAY;AAAA,IACZ,MAAM;AAAA,IACN,YAAY,CAAC;AAAA,IACb,eAAe;AAAA,IACf,uBAAuB;AAAA,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;","names":["submitEvent"]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** Provider platform event */
|
|
2
|
-
|
|
2
|
+
interface ProviderPlatformEvent extends ProviderPlatformEventResourceOneOf {
|
|
3
3
|
/** Refund event data. */
|
|
4
4
|
refund?: RefundEvent;
|
|
5
5
|
/** Transaction event data. */
|
|
@@ -15,7 +15,7 @@ export interface ProviderPlatformEvent extends ProviderPlatformEventResourceOneO
|
|
|
15
15
|
pluginId?: string;
|
|
16
16
|
}
|
|
17
17
|
/** @oneof */
|
|
18
|
-
|
|
18
|
+
interface ProviderPlatformEventResourceOneOf {
|
|
19
19
|
/** Refund event data. */
|
|
20
20
|
refund?: RefundEvent;
|
|
21
21
|
/** Transaction event data. */
|
|
@@ -25,7 +25,7 @@ export interface ProviderPlatformEventResourceOneOf {
|
|
|
25
25
|
/** Void event data. */
|
|
26
26
|
void?: VoidEvent;
|
|
27
27
|
}
|
|
28
|
-
|
|
28
|
+
interface RefundEvent {
|
|
29
29
|
/** Wix transaction ID. */
|
|
30
30
|
wixTransactionId?: string;
|
|
31
31
|
/** PSP refund ID. */
|
|
@@ -41,7 +41,7 @@ export interface RefundEvent {
|
|
|
41
41
|
/** PSP-specific error message. */
|
|
42
42
|
errorMessage?: string | null;
|
|
43
43
|
}
|
|
44
|
-
|
|
44
|
+
interface TransactionEvent {
|
|
45
45
|
/** Wix transaction ID. */
|
|
46
46
|
wixTransactionId?: string;
|
|
47
47
|
/** PSP transaction ID. */
|
|
@@ -57,30 +57,30 @@ export interface TransactionEvent {
|
|
|
57
57
|
/** Details of actual customer's card, obtained from a Funding PAN as opposed to a Device PAN. */
|
|
58
58
|
cardDetails?: CardDetails;
|
|
59
59
|
}
|
|
60
|
-
|
|
60
|
+
interface CredentialsOnFile extends CredentialsOnFileInfoOneOf {
|
|
61
61
|
/** Network token data. */
|
|
62
62
|
cardReference?: CardReference;
|
|
63
63
|
/** Provider generated token data. */
|
|
64
64
|
paymentMethodReference?: PaymentMethodReference;
|
|
65
65
|
}
|
|
66
66
|
/** @oneof */
|
|
67
|
-
|
|
67
|
+
interface CredentialsOnFileInfoOneOf {
|
|
68
68
|
/** Network token data. */
|
|
69
69
|
cardReference?: CardReference;
|
|
70
70
|
/** Provider generated token data. */
|
|
71
71
|
paymentMethodReference?: PaymentMethodReference;
|
|
72
72
|
}
|
|
73
|
-
|
|
73
|
+
interface CardReference {
|
|
74
74
|
/** Network token. */
|
|
75
75
|
networkTransactionId?: string;
|
|
76
76
|
/** Directory Server transaction ID */
|
|
77
77
|
dsTransactionId?: string | null;
|
|
78
78
|
}
|
|
79
|
-
|
|
79
|
+
interface PaymentMethodReference {
|
|
80
80
|
/** Payment method token created by the PSP. */
|
|
81
81
|
token?: string;
|
|
82
82
|
}
|
|
83
|
-
|
|
83
|
+
interface CardDetails {
|
|
84
84
|
/**
|
|
85
85
|
* Issuer (business) identification number. First 6 or 8 digits of the card's number.
|
|
86
86
|
* @minLength 6
|
|
@@ -94,7 +94,7 @@ export interface CardDetails {
|
|
|
94
94
|
*/
|
|
95
95
|
lastFour?: string | null;
|
|
96
96
|
}
|
|
97
|
-
|
|
97
|
+
interface CaptureEvent {
|
|
98
98
|
/**
|
|
99
99
|
* Wix transaction ID.
|
|
100
100
|
* @format GUID
|
|
@@ -118,7 +118,7 @@ export interface CaptureEvent {
|
|
|
118
118
|
*/
|
|
119
119
|
errorMessage?: string | null;
|
|
120
120
|
}
|
|
121
|
-
|
|
121
|
+
interface VoidEvent {
|
|
122
122
|
/**
|
|
123
123
|
* Wix transaction ID.
|
|
124
124
|
* @format GUID
|
|
@@ -143,10 +143,12 @@ export interface VoidEvent {
|
|
|
143
143
|
errorMessage?: string | null;
|
|
144
144
|
}
|
|
145
145
|
/** Submit event request */
|
|
146
|
-
|
|
146
|
+
interface SubmitEventRequest {
|
|
147
147
|
/** Event data. */
|
|
148
148
|
event: ProviderPlatformEvent;
|
|
149
149
|
}
|
|
150
150
|
/** Submit event response */
|
|
151
|
-
|
|
151
|
+
interface SubmitEventResponse {
|
|
152
152
|
}
|
|
153
|
+
|
|
154
|
+
export type { CredentialsOnFile as C, ProviderPlatformEvent as P, RefundEvent as R, SubmitEventRequest as S, TransactionEvent as T, VoidEvent as V, ProviderPlatformEventResourceOneOf as a, CredentialsOnFileInfoOneOf as b, CardReference as c, PaymentMethodReference as d, CardDetails as e, CaptureEvent as f, SubmitEventResponse as g };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** Provider platform event */
|
|
2
|
-
|
|
2
|
+
interface ProviderPlatformEvent extends ProviderPlatformEventResourceOneOf {
|
|
3
3
|
/** Refund event data. */
|
|
4
4
|
refund?: RefundEvent;
|
|
5
5
|
/** Transaction event data. */
|
|
@@ -15,7 +15,7 @@ export interface ProviderPlatformEvent extends ProviderPlatformEventResourceOneO
|
|
|
15
15
|
pluginId?: string;
|
|
16
16
|
}
|
|
17
17
|
/** @oneof */
|
|
18
|
-
|
|
18
|
+
interface ProviderPlatformEventResourceOneOf {
|
|
19
19
|
/** Refund event data. */
|
|
20
20
|
refund?: RefundEvent;
|
|
21
21
|
/** Transaction event data. */
|
|
@@ -25,7 +25,7 @@ export interface ProviderPlatformEventResourceOneOf {
|
|
|
25
25
|
/** Void event data. */
|
|
26
26
|
void?: VoidEvent;
|
|
27
27
|
}
|
|
28
|
-
|
|
28
|
+
interface RefundEvent {
|
|
29
29
|
/** Wix transaction ID. */
|
|
30
30
|
wixTransactionId?: string;
|
|
31
31
|
/** PSP refund ID. */
|
|
@@ -41,7 +41,7 @@ export interface RefundEvent {
|
|
|
41
41
|
/** PSP-specific error message. */
|
|
42
42
|
errorMessage?: string | null;
|
|
43
43
|
}
|
|
44
|
-
|
|
44
|
+
interface TransactionEvent {
|
|
45
45
|
/** Wix transaction ID. */
|
|
46
46
|
wixTransactionId?: string;
|
|
47
47
|
/** PSP transaction ID. */
|
|
@@ -57,30 +57,30 @@ export interface TransactionEvent {
|
|
|
57
57
|
/** Details of actual customer's card, obtained from a Funding PAN as opposed to a Device PAN. */
|
|
58
58
|
cardDetails?: CardDetails;
|
|
59
59
|
}
|
|
60
|
-
|
|
60
|
+
interface CredentialsOnFile extends CredentialsOnFileInfoOneOf {
|
|
61
61
|
/** Network token data. */
|
|
62
62
|
cardReference?: CardReference;
|
|
63
63
|
/** Provider generated token data. */
|
|
64
64
|
paymentMethodReference?: PaymentMethodReference;
|
|
65
65
|
}
|
|
66
66
|
/** @oneof */
|
|
67
|
-
|
|
67
|
+
interface CredentialsOnFileInfoOneOf {
|
|
68
68
|
/** Network token data. */
|
|
69
69
|
cardReference?: CardReference;
|
|
70
70
|
/** Provider generated token data. */
|
|
71
71
|
paymentMethodReference?: PaymentMethodReference;
|
|
72
72
|
}
|
|
73
|
-
|
|
73
|
+
interface CardReference {
|
|
74
74
|
/** Network token. */
|
|
75
75
|
networkTransactionId?: string;
|
|
76
76
|
/** Directory Server transaction ID */
|
|
77
77
|
dsTransactionId?: string | null;
|
|
78
78
|
}
|
|
79
|
-
|
|
79
|
+
interface PaymentMethodReference {
|
|
80
80
|
/** Payment method token created by the PSP. */
|
|
81
81
|
token?: string;
|
|
82
82
|
}
|
|
83
|
-
|
|
83
|
+
interface CardDetails {
|
|
84
84
|
/**
|
|
85
85
|
* Issuer (business) identification number. First 6 or 8 digits of the card's number.
|
|
86
86
|
* @minLength 6
|
|
@@ -94,7 +94,7 @@ export interface CardDetails {
|
|
|
94
94
|
*/
|
|
95
95
|
lastFour?: string | null;
|
|
96
96
|
}
|
|
97
|
-
|
|
97
|
+
interface CaptureEvent {
|
|
98
98
|
/**
|
|
99
99
|
* Wix transaction ID.
|
|
100
100
|
* @format GUID
|
|
@@ -118,7 +118,7 @@ export interface CaptureEvent {
|
|
|
118
118
|
*/
|
|
119
119
|
errorMessage?: string | null;
|
|
120
120
|
}
|
|
121
|
-
|
|
121
|
+
interface VoidEvent {
|
|
122
122
|
/**
|
|
123
123
|
* Wix transaction ID.
|
|
124
124
|
* @format GUID
|
|
@@ -143,10 +143,12 @@ export interface VoidEvent {
|
|
|
143
143
|
errorMessage?: string | null;
|
|
144
144
|
}
|
|
145
145
|
/** Submit event request */
|
|
146
|
-
|
|
146
|
+
interface SubmitEventRequest {
|
|
147
147
|
/** Event data. */
|
|
148
148
|
event: ProviderPlatformEvent;
|
|
149
149
|
}
|
|
150
150
|
/** Submit event response */
|
|
151
|
-
|
|
151
|
+
interface SubmitEventResponse {
|
|
152
152
|
}
|
|
153
|
+
|
|
154
|
+
export type { CredentialsOnFile as C, ProviderPlatformEvent as P, RefundEvent as R, SubmitEventRequest as S, TransactionEvent as T, VoidEvent as V, ProviderPlatformEventResourceOneOf as a, CredentialsOnFileInfoOneOf as b, CardReference as c, PaymentMethodReference as d, CardDetails as e, CaptureEvent as f, SubmitEventResponse as g };
|