@wix/auto_sdk_payments_psp-callbacks 1.0.8 → 1.0.10

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.
Files changed (131) hide show
  1. package/build/cjs/index.d.ts +1 -0
  2. package/build/cjs/index.js +18 -0
  3. package/build/cjs/index.js.map +1 -0
  4. package/build/cjs/index.typings.d.ts +1 -0
  5. package/build/cjs/index.typings.js +18 -0
  6. package/build/cjs/index.typings.js.map +1 -0
  7. package/build/cjs/meta.d.ts +1 -0
  8. package/build/cjs/meta.js +18 -0
  9. package/build/cjs/meta.js.map +1 -0
  10. package/build/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.context.d.ts +4 -0
  11. package/build/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.context.js +7 -0
  12. package/build/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.context.js.map +1 -0
  13. package/build/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.http.d.ts +12 -0
  14. package/build/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.http.js +350 -0
  15. package/build/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.http.js.map +1 -0
  16. package/build/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.meta.d.ts +13 -0
  17. package/build/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.meta.js +47 -0
  18. package/build/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.meta.js.map +1 -0
  19. package/build/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.public.d.ts +22 -0
  20. package/build/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.public.js +12 -0
  21. package/build/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.public.js.map +1 -0
  22. package/build/{internal/payments-psp-v1-provider-platform-event-psp-callbacks.universal-CEQHoEoO.d.mts → cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.types.d.ts} +13 -15
  23. package/build/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.types.js +3 -0
  24. package/build/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.types.js.map +1 -0
  25. package/build/{internal/meta.d.mts → cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.d.ts} +30 -29
  26. package/build/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.js +67 -0
  27. package/build/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.js.map +1 -0
  28. package/build/es/index.d.ts +1 -0
  29. package/build/es/index.js +2 -0
  30. package/build/es/index.js.map +1 -0
  31. package/build/es/index.typings.d.ts +1 -0
  32. package/build/es/index.typings.js +2 -0
  33. package/build/es/index.typings.js.map +1 -0
  34. package/build/es/meta.d.ts +1 -0
  35. package/build/es/meta.js +2 -0
  36. package/build/es/meta.js.map +1 -0
  37. package/build/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.context.d.ts +4 -0
  38. package/build/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.context.js +4 -0
  39. package/build/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.context.js.map +1 -0
  40. package/build/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.http.d.ts +12 -0
  41. package/build/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.http.js +346 -0
  42. package/build/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.http.js.map +1 -0
  43. package/build/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.meta.d.ts +13 -0
  44. package/build/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.meta.js +20 -0
  45. package/build/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.meta.js.map +1 -0
  46. package/build/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.public.d.ts +22 -0
  47. package/build/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.public.js +8 -0
  48. package/build/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.public.js.map +1 -0
  49. package/build/{internal/payments-psp-v1-provider-platform-event-psp-callbacks.universal-CEQHoEoO.d.ts → es/src/payments-psp-v1-provider-platform-event-psp-callbacks.types.d.ts} +13 -15
  50. package/build/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.types.js +2 -0
  51. package/build/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.types.js.map +1 -0
  52. package/build/{internal/meta.d.ts → es/src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.d.ts} +30 -29
  53. package/build/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.js +40 -0
  54. package/build/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.js.map +1 -0
  55. package/build/internal/cjs/index.d.ts +1 -0
  56. package/build/internal/cjs/index.js +18 -0
  57. package/build/internal/cjs/index.js.map +1 -0
  58. package/build/internal/cjs/index.typings.d.ts +1 -0
  59. package/build/internal/cjs/index.typings.js +18 -0
  60. package/build/internal/cjs/index.typings.js.map +1 -0
  61. package/build/internal/cjs/meta.d.ts +1 -0
  62. package/build/internal/cjs/meta.js +18 -0
  63. package/build/internal/cjs/meta.js.map +1 -0
  64. package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.context.d.ts +4 -0
  65. package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.context.js +7 -0
  66. package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.context.js.map +1 -0
  67. package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.http.d.ts +12 -0
  68. package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.http.js +350 -0
  69. package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.http.js.map +1 -0
  70. package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.meta.d.ts +13 -0
  71. package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.meta.js +47 -0
  72. package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.meta.js.map +1 -0
  73. package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.public.d.ts +22 -0
  74. package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.public.js +12 -0
  75. package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.public.js.map +1 -0
  76. package/build/{payments-psp-v1-provider-platform-event-psp-callbacks.universal-CEQHoEoO.d.mts → internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.types.d.ts} +13 -15
  77. package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.types.js +3 -0
  78. package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.types.js.map +1 -0
  79. package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.d.ts +169 -0
  80. package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.js +67 -0
  81. package/build/internal/cjs/src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.js.map +1 -0
  82. package/build/internal/es/index.d.ts +1 -0
  83. package/build/internal/es/index.js +2 -0
  84. package/build/internal/es/index.js.map +1 -0
  85. package/build/internal/es/index.typings.d.ts +1 -0
  86. package/build/internal/es/index.typings.js +2 -0
  87. package/build/internal/es/index.typings.js.map +1 -0
  88. package/build/internal/es/meta.d.ts +1 -0
  89. package/build/internal/es/meta.js +2 -0
  90. package/build/internal/es/meta.js.map +1 -0
  91. package/build/internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.context.d.ts +4 -0
  92. package/build/internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.context.js +4 -0
  93. package/build/internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.context.js.map +1 -0
  94. package/build/internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.http.d.ts +12 -0
  95. package/build/internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.http.js +346 -0
  96. package/build/internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.http.js.map +1 -0
  97. package/build/internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.meta.d.ts +13 -0
  98. package/build/internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.meta.js +20 -0
  99. package/build/internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.meta.js.map +1 -0
  100. package/build/internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.public.d.ts +22 -0
  101. package/build/internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.public.js +8 -0
  102. package/build/internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.public.js.map +1 -0
  103. package/build/{payments-psp-v1-provider-platform-event-psp-callbacks.universal-CEQHoEoO.d.ts → internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.types.d.ts} +13 -15
  104. package/build/internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.types.js +2 -0
  105. package/build/internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.types.js.map +1 -0
  106. package/build/internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.d.ts +169 -0
  107. package/build/internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.js +40 -0
  108. package/build/internal/es/src/payments-psp-v1-provider-platform-event-psp-callbacks.universal.js.map +1 -0
  109. package/package.json +11 -12
  110. package/build/index.d.mts +0 -24
  111. package/build/index.d.ts +0 -24
  112. package/build/index.js +0 -410
  113. package/build/index.js.map +0 -1
  114. package/build/index.mjs +0 -383
  115. package/build/index.mjs.map +0 -1
  116. package/build/internal/index.d.mts +0 -24
  117. package/build/internal/index.d.ts +0 -24
  118. package/build/internal/index.js +0 -410
  119. package/build/internal/index.js.map +0 -1
  120. package/build/internal/index.mjs +0 -383
  121. package/build/internal/index.mjs.map +0 -1
  122. package/build/internal/meta.js +0 -389
  123. package/build/internal/meta.js.map +0 -1
  124. package/build/internal/meta.mjs +0 -362
  125. package/build/internal/meta.mjs.map +0 -1
  126. package/build/meta.d.mts +0 -168
  127. package/build/meta.d.ts +0 -168
  128. package/build/meta.js +0 -389
  129. package/build/meta.js.map +0 -1
  130. package/build/meta.mjs +0 -362
  131. package/build/meta.mjs.map +0 -1
@@ -1,362 +0,0 @@
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
- _: [
208
- {
209
- srcPath: "/_api/payment-services-web",
210
- destPath: "/api"
211
- },
212
- {
213
- srcPath: "/.well-known/apple-developer-merchantid-domain-association",
214
- destPath: "/domain-verification/apple-pay"
215
- }
216
- ],
217
- "events.wixapps.net": [
218
- {
219
- srcPath: "/_api/payment-services-web",
220
- destPath: "/api"
221
- }
222
- ],
223
- "tpa.wixapps.net": [
224
- {
225
- srcPath: "/_api/payment-services-web",
226
- destPath: "/api"
227
- },
228
- {
229
- srcPath: "/payment-services-web",
230
- destPath: ""
231
- }
232
- ],
233
- "pricing-plans.wixapps.net": [
234
- {
235
- srcPath: "/_api/payment-services-web",
236
- destPath: "/api"
237
- }
238
- ],
239
- "editor-flow.wixapps.net": [
240
- {
241
- srcPath: "/_api/payment-services-web",
242
- destPath: "/api"
243
- }
244
- ],
245
- "bo._base_domain_": [
246
- {
247
- srcPath: "/_api/payment-services-web",
248
- destPath: "/api"
249
- }
250
- ],
251
- "wixbo.ai": [
252
- {
253
- srcPath: "/_api/payment-services-web",
254
- destPath: "/api"
255
- }
256
- ],
257
- "wix-bo.com": [
258
- {
259
- srcPath: "/_api/payment-services-web",
260
- destPath: "/api"
261
- }
262
- ],
263
- "editor.wixapps.net": [
264
- {
265
- srcPath: "/_api/payment-services-web",
266
- destPath: "/api"
267
- }
268
- ],
269
- "premium._base_domain_": [
270
- {
271
- srcPath: "/_api/payment-services-web",
272
- destPath: "/api"
273
- },
274
- {
275
- srcPath: "/payment-services-web",
276
- destPath: ""
277
- },
278
- {
279
- srcPath: "/lib-mbapi/include/modules/gateway/return/paypal.php",
280
- destPath: "/api/payPal/payments/legacy-ipn-to-ignore"
281
- }
282
- ],
283
- "www._base_domain_": [
284
- {
285
- srcPath: "/_api/payment-services-web",
286
- destPath: "/api"
287
- },
288
- {
289
- srcPath: "/.well-known/apple-developer-merchantid-domain-association",
290
- destPath: "/domain-verification/apple-pay"
291
- }
292
- ],
293
- "payment-webhooks.wixapps.net": [
294
- {
295
- srcPath: "/cashier/accounts/stripe",
296
- destPath: "/api/merchant/stripe"
297
- },
298
- {
299
- srcPath: "/cashier/transactions/stripe",
300
- destPath: "/api/stripe"
301
- }
302
- ],
303
- "cashier-services.wixapis.com": [
304
- {
305
- srcPath: "/payments/v1/provider-platform-events",
306
- destPath: "/payments/v1/provider-platform-events"
307
- }
308
- ],
309
- "currency-converter.wixapps.net": [
310
- {
311
- srcPath: "/_api/payment-services-web",
312
- destPath: "/api"
313
- }
314
- ]
315
- };
316
- return resolveUrl(Object.assign(opts, { domainToMappings }));
317
- }
318
- var PACKAGE_NAME = "@wix/auto_sdk_payments_psp-callbacks";
319
- function submitEvent(payload) {
320
- function __submitEvent({ host }) {
321
- const metadata = {
322
- entityFqdn: "wix.payments.psp.v1.provider_platform_event",
323
- method: "POST",
324
- methodFqn: "wix.payments.v1.provider_platform_events.ProviderPlatformEventsService.SubmitEvent",
325
- packageName: PACKAGE_NAME,
326
- url: resolveWixPaymentsV1ProviderPlatformEventsProviderPlatformEventsServiceUrl(
327
- {
328
- protoPath: "/payments/v1/provider-platform-events",
329
- data: payload,
330
- host
331
- }
332
- ),
333
- data: payload
334
- };
335
- return metadata;
336
- }
337
- return __submitEvent;
338
- }
339
-
340
- // src/payments-psp-v1-provider-platform-event-psp-callbacks.meta.ts
341
- function submitEvent2() {
342
- const payload = {};
343
- const getRequestOptions = submitEvent(payload);
344
- const getUrl = (context) => {
345
- const { url } = getRequestOptions(context);
346
- return url;
347
- };
348
- return {
349
- getUrl,
350
- httpMethod: "POST",
351
- path: "/payments/v1/provider-platform-events",
352
- pathParams: {},
353
- __requestType: null,
354
- __originalRequestType: null,
355
- __responseType: null,
356
- __originalResponseType: null
357
- };
358
- }
359
- export {
360
- submitEvent2 as submitEvent
361
- };
362
- //# sourceMappingURL=meta.mjs.map
@@ -1 +0,0 @@
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 _: [\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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A,IACvB,gBAAgB;AAAA,IAChB,wBAAwB;AAAA,EAC1B;AACF;","names":["submitEvent"]}
package/build/meta.d.mts DELETED
@@ -1,168 +0,0 @@
1
- import { S as SubmitEventRequest$1, g as SubmitEventResponse$1 } from './payments-psp-v1-provider-platform-event-psp-callbacks.universal-CEQHoEoO.mjs';
2
-
3
- /** Provider platform event */
4
- interface ProviderPlatformEvent extends ProviderPlatformEventResourceOneOf {
5
- /** Refund event data. */
6
- refund?: RefundEvent;
7
- /** Transaction event data. */
8
- transaction?: TransactionEvent;
9
- /** Capture event data. */
10
- capture?: CaptureEvent;
11
- /** Void event data. */
12
- void?: VoidEvent;
13
- /**
14
- * This field is deprecated.
15
- * @deprecated
16
- */
17
- pluginId?: string;
18
- }
19
- /** @oneof */
20
- interface ProviderPlatformEventResourceOneOf {
21
- /** Refund event data. */
22
- refund?: RefundEvent;
23
- /** Transaction event data. */
24
- transaction?: TransactionEvent;
25
- /** Capture event data. */
26
- capture?: CaptureEvent;
27
- /** Void event data. */
28
- void?: VoidEvent;
29
- }
30
- interface RefundEvent {
31
- /** Wix transaction ID. */
32
- wixTransactionId?: string;
33
- /** PSP refund ID. */
34
- pluginRefundId?: string;
35
- /** Wix [reason code](https://dev.wix.com/api/rest/all-apis/provider-platform/reason-codes#all-apis_provider-platform_reason-codes_refund-declined) indicating a failed request. */
36
- reasonCode?: number;
37
- /** Refunded amount. */
38
- amount?: string;
39
- /** Wix refund ID. This field is only required when a merchant initiates a refund from the Wix dashboard. */
40
- wixRefundId?: string | null;
41
- /** PSP-specific error code. */
42
- errorCode?: string | null;
43
- /** PSP-specific error message. */
44
- errorMessage?: string | null;
45
- }
46
- interface TransactionEvent {
47
- /** Wix transaction ID. */
48
- wixTransactionId?: string;
49
- /** PSP transaction ID. */
50
- pluginTransactionId?: string;
51
- /** Wix [reason code](https://dev.wix.com/api/rest/all-apis/provider-platform/reason-codes) indicating a failed or pending request. */
52
- reasonCode?: number;
53
- /** PSP-specific error code. */
54
- errorCode?: string | null;
55
- /** PSP-specific error message. */
56
- errorMessage?: string | null;
57
- /** Token data for stored payment method. */
58
- credentialsOnFile?: CredentialsOnFile;
59
- /** Details of actual customer's card, obtained from a Funding PAN as opposed to a Device PAN. */
60
- cardDetails?: CardDetails;
61
- }
62
- interface CredentialsOnFile extends CredentialsOnFileInfoOneOf {
63
- /** Network token data. */
64
- cardReference?: CardReference;
65
- /** Provider generated token data. */
66
- paymentMethodReference?: PaymentMethodReference;
67
- }
68
- /** @oneof */
69
- interface CredentialsOnFileInfoOneOf {
70
- /** Network token data. */
71
- cardReference?: CardReference;
72
- /** Provider generated token data. */
73
- paymentMethodReference?: PaymentMethodReference;
74
- }
75
- interface CardReference {
76
- /** Network token. */
77
- networkTransactionId?: string;
78
- /** Directory Server transaction ID */
79
- dsTransactionId?: string | null;
80
- }
81
- interface PaymentMethodReference {
82
- /** Payment method token created by the PSP. */
83
- token?: string;
84
- }
85
- interface CardDetails {
86
- /**
87
- * Issuer (business) identification number. First 6 or 8 digits of the card's number.
88
- * @minLength 6
89
- * @maxLength 8
90
- */
91
- bin?: string | null;
92
- /**
93
- * Last 4 digits of the card's number.
94
- * @minLength 4
95
- * @maxLength 4
96
- */
97
- lastFour?: string | null;
98
- }
99
- interface CaptureEvent {
100
- /**
101
- * Wix transaction ID.
102
- * @format GUID
103
- */
104
- wixTransactionId?: string;
105
- /** 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. */
106
- reasonCode?: number;
107
- /**
108
- * Total amount captured in a currency’s minor units.
109
- * Learn more about [currencies](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/currencies).
110
- */
111
- amount?: string;
112
- /**
113
- * PSP-specific error code.
114
- * @maxLength 50
115
- */
116
- errorCode?: string | null;
117
- /**
118
- * PSP-specific error message.
119
- * @maxLength 300
120
- */
121
- errorMessage?: string | null;
122
- }
123
- interface VoidEvent {
124
- /**
125
- * Wix transaction ID.
126
- * @format GUID
127
- */
128
- wixTransactionId?: string;
129
- /** 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. */
130
- reasonCode?: number;
131
- /**
132
- * Total amount voided in a currency’s minor units.
133
- * Learn more about [currencies](https://dev.wix.com/docs/rest/business-management/payments/service-plugins/payment-service-provider-service-plugin/currencies).
134
- */
135
- amount?: string;
136
- /**
137
- * PSP-specific error code.
138
- * @maxLength 50
139
- */
140
- errorCode?: string | null;
141
- /**
142
- * PSP-specific error message.
143
- * @maxLength 300
144
- */
145
- errorMessage?: string | null;
146
- }
147
- /** Submit event request */
148
- interface SubmitEventRequest {
149
- /** Event data. */
150
- event: ProviderPlatformEvent;
151
- }
152
- /** Submit event response */
153
- interface SubmitEventResponse {
154
- }
155
-
156
- type __PublicMethodMetaInfo<K = string, M = unknown, T = unknown, S = unknown, Q = unknown, R = unknown> = {
157
- getUrl: (context: any) => string;
158
- httpMethod: K;
159
- path: string;
160
- pathParams: M;
161
- __requestType: T;
162
- __originalRequestType: S;
163
- __responseType: Q;
164
- __originalResponseType: R;
165
- };
166
- declare function submitEvent(): __PublicMethodMetaInfo<'POST', {}, SubmitEventRequest$1, SubmitEventRequest, SubmitEventResponse$1, SubmitEventResponse>;
167
-
168
- export { type __PublicMethodMetaInfo, submitEvent };