@wix/auto_sdk_events_tickets 1.0.31 → 1.0.33

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 (37) hide show
  1. package/build/cjs/index.d.ts +8 -7
  2. package/build/cjs/index.js +238 -355
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +27 -37
  5. package/build/cjs/index.typings.js +232 -347
  6. package/build/cjs/index.typings.js.map +1 -1
  7. package/build/cjs/meta.d.ts +6 -12
  8. package/build/cjs/meta.js +206 -321
  9. package/build/cjs/meta.js.map +1 -1
  10. package/build/es/index.d.mts +8 -7
  11. package/build/es/index.mjs +238 -355
  12. package/build/es/index.mjs.map +1 -1
  13. package/build/es/index.typings.d.mts +27 -37
  14. package/build/es/index.typings.mjs +232 -347
  15. package/build/es/index.typings.mjs.map +1 -1
  16. package/build/es/meta.d.mts +6 -12
  17. package/build/es/meta.mjs +206 -321
  18. package/build/es/meta.mjs.map +1 -1
  19. package/build/internal/cjs/index.d.ts +8 -7
  20. package/build/internal/cjs/index.js +238 -355
  21. package/build/internal/cjs/index.js.map +1 -1
  22. package/build/internal/cjs/index.typings.d.ts +27 -37
  23. package/build/internal/cjs/index.typings.js +232 -347
  24. package/build/internal/cjs/index.typings.js.map +1 -1
  25. package/build/internal/cjs/meta.d.ts +6 -12
  26. package/build/internal/cjs/meta.js +206 -321
  27. package/build/internal/cjs/meta.js.map +1 -1
  28. package/build/internal/es/index.d.mts +8 -7
  29. package/build/internal/es/index.mjs +238 -355
  30. package/build/internal/es/index.mjs.map +1 -1
  31. package/build/internal/es/index.typings.d.mts +27 -37
  32. package/build/internal/es/index.typings.mjs +232 -347
  33. package/build/internal/es/index.typings.mjs.map +1 -1
  34. package/build/internal/es/meta.d.mts +6 -12
  35. package/build/internal/es/meta.mjs +206 -321
  36. package/build/internal/es/meta.mjs.map +1 -1
  37. package/package.json +2 -2
@@ -24,490 +24,364 @@ import { transformPaths } from "@wix/sdk-runtime/transformations/transform-paths
24
24
  import { resolveUrl } from "@wix/sdk-runtime/rest-modules";
25
25
  function resolveWixEventsTicketingTicketManagementUrl(opts) {
26
26
  const domainToMappings = {
27
- "events._base_domain_": [
28
- {
29
- srcPath: "",
30
- destPath: ""
31
- },
32
- {
33
- srcPath: "/_api/wix-events-web",
34
- destPath: "/api"
35
- }
36
- ],
37
- "www.wixevents.com": [
38
- {
39
- srcPath: "/_api/wix-events-web",
40
- destPath: "/api"
41
- },
27
+ "manage._base_domain_": [
42
28
  {
43
- srcPath: "/api",
44
- destPath: "/api"
29
+ srcPath: "/_api/wix-events-web/v1/tickets",
30
+ destPath: "/v1/tickets"
45
31
  },
46
32
  {
47
- srcPath: "/viewEvent",
48
- destPath: "/viewEvent"
33
+ srcPath: "/events/v1/tickets",
34
+ destPath: "/v1/tickets"
49
35
  },
50
36
  {
51
- srcPath: "/viewRsvpDashboard",
52
- destPath: "/viewRsvpDashboard"
37
+ srcPath: "/events/v1/ticket-definitions",
38
+ destPath: "/v1/ticket-definitions"
53
39
  },
54
40
  {
55
- srcPath: "/viewOrderDashboard",
56
- destPath: "/viewOrderDashboard"
41
+ srcPath: "/events/v2/ticket-definitions",
42
+ destPath: "/v2/ticket-definitions"
57
43
  },
58
44
  {
59
- srcPath: "/viewSummarySubscription",
60
- destPath: "/viewSummarySubscription"
45
+ srcPath: "/events/v1/tickets/available",
46
+ destPath: "/v1/tickets/available"
61
47
  },
62
48
  {
63
- srcPath: "/check-in",
64
- destPath: "/check-in"
49
+ srcPath: "/events/v1/checkout",
50
+ destPath: "/v1/checkout"
65
51
  },
66
52
  {
67
- srcPath: "/v2",
68
- destPath: "/v2"
53
+ srcPath: "/events/v1/pos-checkout",
54
+ destPath: "/v1/pos-checkout"
69
55
  },
70
56
  {
71
- srcPath: "/export",
72
- destPath: "/export"
57
+ srcPath: "/_api/events/v1/ticket-definitions",
58
+ destPath: "/v1/ticket-definitions"
73
59
  },
74
60
  {
75
- srcPath: "/tickets",
76
- destPath: "/tickets"
61
+ srcPath: "/_api/events/v2/ticket-definitions",
62
+ destPath: "/v2/ticket-definitions"
77
63
  },
78
64
  {
79
- srcPath: "/payment-redirect",
80
- destPath: "/payment-redirect"
65
+ srcPath: "/_api/events/v1/tickets/available",
66
+ destPath: "/v1/tickets/available"
81
67
  },
82
68
  {
83
- srcPath: "/admin",
84
- destPath: "/admin"
69
+ srcPath: "/_api/events/v1/pos-checkout",
70
+ destPath: "/v1/pos-checkout"
85
71
  },
86
72
  {
87
- srcPath: "/ticket",
88
- destPath: "/ticket"
73
+ srcPath: "/_api/events/v1/checkout",
74
+ destPath: "/v1/checkout"
89
75
  },
90
76
  {
91
- srcPath: "/media",
92
- destPath: "/media"
93
- }
94
- ],
95
- "api._api_base_domain_": [
96
- {
97
- srcPath: "/wix-events-web",
98
- destPath: ""
99
- }
100
- ],
101
- "events.wixapps.net": [
102
- {
103
- srcPath: "/_api/wix-events-web",
77
+ srcPath: "/_api/events-ticketing-v1-proxy",
104
78
  destPath: "/api"
105
- },
106
- {
107
- srcPath: "/events",
108
- destPath: ""
109
79
  }
110
80
  ],
111
- "www._base_domain_": [
112
- {
113
- srcPath: "/_api/wix-events-web",
114
- destPath: "/api"
115
- },
116
- {
117
- srcPath: "/_api/wix-events-web/v2",
118
- destPath: "/v2"
119
- },
120
- {
121
- srcPath: "/_api/wix-events-web/v1/bulk-async/categories",
122
- destPath: "/v1/bulk-async/categories"
123
- },
81
+ "www.wixapis.com": [
124
82
  {
125
- srcPath: "/_api/wix-events-web/v1/bulk/categories",
126
- destPath: "/v1/bulk/categories"
83
+ srcPath: "/events/v1/ticket-definitions",
84
+ destPath: "/v1/ticket-definitions"
127
85
  },
128
86
  {
129
- srcPath: "/_api/wix-events-web/v1/categories",
130
- destPath: "/v1/categories"
87
+ srcPath: "/events/v2/ticket-definitions",
88
+ destPath: "/v2/ticket-definitions"
131
89
  },
132
90
  {
133
- srcPath: "/_api/wix-events-web/v1/events",
134
- destPath: "/v1/events"
91
+ srcPath: "/events/v1/tickets/available",
92
+ destPath: "/v1/tickets/available"
135
93
  },
136
94
  {
137
- srcPath: "/_api/wix-events-web/v1/orders",
138
- destPath: "/v1/orders"
95
+ srcPath: "/events/v1/checkout",
96
+ destPath: "/v1/checkout"
139
97
  },
140
98
  {
141
- srcPath: "/_api/wix-events-web/v1/tickets",
142
- destPath: "/v1/tickets"
99
+ srcPath: "/events/v1/pos-checkout",
100
+ destPath: "/v1/pos-checkout"
143
101
  }
144
102
  ],
145
- "apps._base_domain_": [
103
+ _: [
146
104
  {
147
- srcPath: "/_api/wix-events-web",
148
- destPath: "/api"
105
+ srcPath: "/_api/events/v1/ticket-definitions",
106
+ destPath: "/v1/ticket-definitions"
149
107
  },
150
108
  {
151
- srcPath: "/events",
152
- destPath: ""
153
- }
154
- ],
155
- "manage._base_domain_": [
156
- {
157
- srcPath: "/_api/wix-events-web",
158
- destPath: "/api"
109
+ srcPath: "/_api/events/v2/ticket-definition",
110
+ destPath: "/v2/ticket-definitions"
159
111
  },
160
112
  {
161
- srcPath: "/_api/wix-events-web/v1/events",
162
- destPath: "/v1/events"
113
+ srcPath: "/_api/events/v1/tickets/available",
114
+ destPath: "/v1/tickets/available"
163
115
  },
164
116
  {
165
- srcPath: "/_api/wix-events-web/v1/categories",
166
- destPath: "/v1/categories"
117
+ srcPath: "/_api/events/v1/pos-checkout",
118
+ destPath: "/v1/pos-checkout"
167
119
  },
168
120
  {
169
- srcPath: "/_api/wix-events-web/v2/events",
170
- destPath: "/v2/events"
121
+ srcPath: "/_api/events/v1/checkout",
122
+ destPath: "/v1/checkout"
171
123
  },
172
124
  {
173
- srcPath: "/_api/wix-events-web/v1/bulk/categories",
174
- destPath: "/v1/bulk/categories"
125
+ srcPath: "/_api/events-ticketing-v1-proxy/v1",
126
+ destPath: "/v1"
175
127
  },
176
128
  {
177
- srcPath: "/_api/wix-events-web/v1/bulk/events",
178
- destPath: "/v1/bulk/events"
129
+ srcPath: "/_api/events-ticketing-v1-proxy/v2",
130
+ destPath: "/v2"
179
131
  },
180
132
  {
181
- srcPath: "/_api/wix-events-web/v1/bulk-async/categories",
182
- destPath: "/v1/bulk-async/categories"
133
+ srcPath: "/_api/wix-events-web/v1/checkout",
134
+ destPath: "/v1/checkout"
183
135
  },
184
136
  {
185
- srcPath: "/_api/wix-events-web/v1/tickets",
186
- destPath: "/v1/tickets"
137
+ srcPath: "/_api/wix-events-web/v1/pos-checkout",
138
+ destPath: "/v1/pos-checkout"
187
139
  },
188
140
  {
189
- srcPath: "/events/v1/events",
190
- destPath: "/v1/events"
141
+ srcPath: "/_api/wix-events-web/v1/ticket-definitions",
142
+ destPath: "/v1/ticket-definitions"
191
143
  },
192
144
  {
193
- srcPath: "/events/v1/categories",
194
- destPath: "/v1/categories"
145
+ srcPath: "/_api/wix-events-web/v1/tickets/available",
146
+ destPath: "/v1/tickets/available"
147
+ }
148
+ ],
149
+ "editor._base_domain_": [
150
+ {
151
+ srcPath: "/_api/events/v1/ticket-definitions",
152
+ destPath: "/v1/ticket-definitions"
195
153
  },
196
154
  {
197
- srcPath: "/events/v1/bulk/categories",
198
- destPath: "/v1/bulk/categories"
155
+ srcPath: "/_api/events/v2/ticket-definitions",
156
+ destPath: "/v2/ticket-definitions"
199
157
  },
200
158
  {
201
- srcPath: "/events/v1/bulk-async/categories",
202
- destPath: "/v1/bulk-async/categories"
159
+ srcPath: "/_api/events/v1/tickets/available",
160
+ destPath: "/v1/tickets/available"
203
161
  },
204
162
  {
205
- srcPath: "/events/v1/bulk/events",
206
- destPath: "/v1/bulk/events"
163
+ srcPath: "/_api/events/v1/pos-checkout",
164
+ destPath: "/v1/pos-checkout"
207
165
  },
208
166
  {
209
- srcPath: "/events/v1/reports",
210
- destPath: "/v1/reports"
167
+ srcPath: "/_api/events/v1/checkout",
168
+ destPath: "/v1/checkout"
211
169
  },
212
170
  {
213
- srcPath: "/events/v1/tickets",
171
+ srcPath: "/_api/wix-events-web/v1/tickets",
214
172
  destPath: "/v1/tickets"
215
173
  },
216
174
  {
217
- srcPath: "/events/v1/orders",
218
- destPath: "/v1/orders"
175
+ srcPath: "/_api/wix-events-web/v1/checkout",
176
+ destPath: "/v1/checkout"
219
177
  },
220
178
  {
221
- srcPath: "/events/v1/web",
222
- destPath: "/v1/web"
179
+ srcPath: "/_api/wix-events-web/v1/ticket-definitions",
180
+ destPath: "/v1/ticket-definitions"
223
181
  },
224
182
  {
225
- srcPath: "/events/v2/tickets",
226
- destPath: "/v2/tickets"
183
+ srcPath: "/_api/wix-events-web/v1/tickets/available",
184
+ destPath: "/v1/tickets/available"
227
185
  },
228
186
  {
229
- srcPath: "/events/v2/events",
230
- destPath: "/v2/events"
187
+ srcPath: "/_api/wix-events-web/v1/pos-checkout",
188
+ destPath: "/v1/pos-checkout"
231
189
  }
232
190
  ],
233
- "www.wixapis.com": [
234
- {
235
- srcPath: "/events/v1/events",
236
- destPath: "/v1/events"
237
- },
191
+ "blocks._base_domain_": [
238
192
  {
239
- srcPath: "/events/v1/tickets",
240
- destPath: "/v1/tickets"
193
+ srcPath: "/_api/events/v1/ticket-definitions",
194
+ destPath: "/v1/ticket-definitions"
241
195
  },
242
196
  {
243
- srcPath: "/events/v1/categories",
244
- destPath: "/v1/categories"
197
+ srcPath: "/_api/events/v2/ticket-definitions",
198
+ destPath: "/v2/ticket-definitions"
245
199
  },
246
200
  {
247
- srcPath: "/events/v1/orders",
248
- destPath: "/v1/orders"
201
+ srcPath: "/_api/events/v1/tickets/available",
202
+ destPath: "/v1/tickets/available"
249
203
  },
250
204
  {
251
- srcPath: "/events/v1/bulk/categories",
252
- destPath: "/v1/bulk/categories"
205
+ srcPath: "/_api/events/v1/pos-checkout",
206
+ destPath: "/v1/pos-checkout"
253
207
  },
254
208
  {
255
- srcPath: "/events/v2/events",
256
- destPath: "/v2/events"
209
+ srcPath: "/_api/events/v1/checkout",
210
+ destPath: "/v1/checkout"
257
211
  },
258
212
  {
259
- srcPath: "/events/v1/bulk-async/categories",
260
- destPath: "/v1/bulk-async/categories"
261
- }
262
- ],
263
- "api._base_domain_": [
264
- {
265
- srcPath: "/events/v2",
266
- destPath: "/v2"
267
- },
268
- {
269
- srcPath: "/events/v1/bulk-async/categories",
270
- destPath: "/v1/bulk-async/categories"
271
- },
272
- {
273
- srcPath: "/events/v1/bulk/categories",
274
- destPath: "/v1/bulk/categories"
213
+ srcPath: "/_api/wix-events-web/v1/tickets",
214
+ destPath: "/v1/tickets"
275
215
  },
276
216
  {
277
- srcPath: "/events/v1/categories",
278
- destPath: "/v1/categories"
217
+ srcPath: "/_api/wix-events-web/v1/checkout",
218
+ destPath: "/v1/checkout"
279
219
  },
280
220
  {
281
- srcPath: "/events/v1/events",
282
- destPath: "/v1/events"
221
+ srcPath: "/_api/wix-events-web/v1/ticket-definitions",
222
+ destPath: "/v1/ticket-definitions"
283
223
  },
284
224
  {
285
- srcPath: "/events/v1/orders",
286
- destPath: "/v1/orders"
225
+ srcPath: "/_api/wix-events-web/v1/tickets/available",
226
+ destPath: "/v1/tickets/available"
287
227
  },
288
228
  {
289
- srcPath: "/events/v1/tickets",
290
- destPath: "/v1/tickets"
229
+ srcPath: "/_api/wix-events-web/v1/pos-checkout",
230
+ destPath: "/v1/pos-checkout"
291
231
  }
292
232
  ],
293
- _: [
294
- {
295
- srcPath: "/_api/wix-events-web/v2",
296
- destPath: "/v2"
297
- },
233
+ "create.editorx": [
298
234
  {
299
- srcPath: "/_api/wix-events-web/v1/bulk-async/categories",
300
- destPath: "/v1/bulk-async/categories"
235
+ srcPath: "/_api/events/v1/ticket-definitions",
236
+ destPath: "/v1/ticket-definitions"
301
237
  },
302
238
  {
303
- srcPath: "/_api/wix-events-web/v1/bulk/categories",
304
- destPath: "/v1/bulk/categories"
239
+ srcPath: "/_api/events/v2/ticket-definitions",
240
+ destPath: "/v2/ticket-definitions"
305
241
  },
306
242
  {
307
- srcPath: "/_api/wix-events-web/v1/categories",
308
- destPath: "/v1/categories"
243
+ srcPath: "/_api/events/v1/tickets/available",
244
+ destPath: "/v1/tickets/available"
309
245
  },
310
246
  {
311
- srcPath: "/_api/wix-events-web/v1/events",
312
- destPath: "/v1/events"
247
+ srcPath: "/_api/events/v1/pos-checkout",
248
+ destPath: "/v1/pos-checkout"
313
249
  },
314
250
  {
315
- srcPath: "/_api/wix-events-web/v1/orders",
316
- destPath: "/v1/orders"
251
+ srcPath: "/_api/events/v1/checkout",
252
+ destPath: "/v1/checkout"
317
253
  },
318
254
  {
319
255
  srcPath: "/_api/wix-events-web/v1/tickets",
320
256
  destPath: "/v1/tickets"
321
- }
322
- ],
323
- "editor.wixapps.net": [
324
- {
325
- srcPath: "/events/v2/events",
326
- destPath: "/v2/events"
327
- },
328
- {
329
- srcPath: "/_api/wix-events-web/v1/bulk-async/categories",
330
- destPath: "/v1/bulk-async/categories"
331
257
  },
332
258
  {
333
- srcPath: "/_api/wix-events-web/v1/bulk/categories",
334
- destPath: "/v1/bulk/categories"
259
+ srcPath: "/_api/wix-events-web/v1/checkout",
260
+ destPath: "/v1/checkout"
335
261
  },
336
262
  {
337
- srcPath: "/_api/wix-events-web/v1/categories",
338
- destPath: "/v1/categories"
263
+ srcPath: "/_api/wix-events-web/v1/ticket-definitions",
264
+ destPath: "/v1/ticket-definitions"
339
265
  },
340
266
  {
341
- srcPath: "/_api/wix-events-web/v1/events",
342
- destPath: "/v1/events"
267
+ srcPath: "/_api/wix-events-web/v1/tickets/available",
268
+ destPath: "/v1/tickets/available"
343
269
  },
344
270
  {
345
- srcPath: "/_api/wix-events-web/v1/orders",
346
- destPath: "/v1/orders"
347
- },
348
- {
349
- srcPath: "/_api/wix-events-web/v1/tickets",
350
- destPath: "/v1/tickets"
271
+ srcPath: "/_api/wix-events-web/v1/pos-checkout",
272
+ destPath: "/v1/pos-checkout"
351
273
  }
352
274
  ],
353
275
  "*.dev.wix-code.com": [
354
276
  {
355
- srcPath: "/_api/wix-events-web/v2",
356
- destPath: "/v2"
357
- },
358
- {
359
- srcPath: "/_api/wix-events-web/v1/bulk-async/categories",
360
- destPath: "/v1/bulk-async/categories"
361
- },
362
- {
363
- srcPath: "/_api/wix-events-web/v1/bulk/categories",
364
- destPath: "/v1/bulk/categories"
365
- },
366
- {
367
- srcPath: "/_api/wix-events-web/v1/categories",
368
- destPath: "/v1/categories"
277
+ srcPath: "/_api/wix-events-web/v1/checkout",
278
+ destPath: "/v1/checkout"
369
279
  },
370
280
  {
371
- srcPath: "/_api/wix-events-web/v1/events",
372
- destPath: "/v1/events"
281
+ srcPath: "/_api/wix-events-web/v1/pos-checkout",
282
+ destPath: "/v1/pos-checkout"
373
283
  },
374
284
  {
375
- srcPath: "/_api/wix-events-web/v1/orders",
376
- destPath: "/v1/orders"
285
+ srcPath: "/_api/wix-events-web/v1/ticket-definitions",
286
+ destPath: "/v1/ticket-definitions"
377
287
  },
378
288
  {
379
- srcPath: "/_api/wix-events-web/v1/tickets",
380
- destPath: "/v1/tickets"
289
+ srcPath: "/_api/wix-events-web/v1/tickets/available",
290
+ destPath: "/v1/tickets/available"
381
291
  }
382
292
  ],
383
293
  "*.pub.wix-code.com": [
384
294
  {
385
- srcPath: "/_api/wix-events-web/v1/bulk-async/categories",
386
- destPath: "/v1/bulk-async/categories"
387
- },
388
- {
389
- srcPath: "/_api/wix-events-web/v1/bulk/categories",
390
- destPath: "/v1/bulk/categories"
391
- },
392
- {
393
- srcPath: "/_api/wix-events-web/v1/categories",
394
- destPath: "/v1/categories"
295
+ srcPath: "/_api/wix-events-web/v1/checkout",
296
+ destPath: "/v1/checkout"
395
297
  },
396
298
  {
397
- srcPath: "/_api/wix-events-web/v1/events",
398
- destPath: "/v1/events"
299
+ srcPath: "/_api/wix-events-web/v1/ticket-definitions",
300
+ destPath: "/v1/ticket-definitions"
399
301
  },
400
302
  {
401
- srcPath: "/_api/wix-events-web/v1/orders",
402
- destPath: "/v1/orders"
303
+ srcPath: "/_api/wix-events-web/v1/tickets/available",
304
+ destPath: "/v1/tickets/available"
403
305
  },
404
306
  {
405
- srcPath: "/_api/wix-events-web/v1/tickets",
406
- destPath: "/v1/tickets"
307
+ srcPath: "/_api/wix-events-web/v1/pos-checkout",
308
+ destPath: "/v1/pos-checkout"
407
309
  }
408
310
  ],
409
- "editor-flow.wixapps.net": [
410
- {
411
- srcPath: "/_api/wix-events-web/v1/bulk-async/categories",
412
- destPath: "/v1/bulk-async/categories"
413
- },
311
+ "api._base_domain_": [
414
312
  {
415
- srcPath: "/_api/wix-events-web/v1/bulk/categories",
416
- destPath: "/v1/bulk/categories"
313
+ srcPath: "/events/v1/tickets",
314
+ destPath: "/v1/tickets"
417
315
  },
418
316
  {
419
- srcPath: "/_api/wix-events-web/v1/categories",
420
- destPath: "/v1/categories"
317
+ srcPath: "/events/v1/checkout",
318
+ destPath: "/v1/checkout"
421
319
  },
422
320
  {
423
- srcPath: "/_api/wix-events-web/v1/events",
424
- destPath: "/v1/events"
321
+ srcPath: "/events/v1/ticket-definitions",
322
+ destPath: "/v1/ticket-definitions"
425
323
  },
426
324
  {
427
- srcPath: "/_api/wix-events-web/v1/orders",
428
- destPath: "/v1/orders"
325
+ srcPath: "/events/v1/tickets/available",
326
+ destPath: "/v1/tickets/available"
429
327
  },
430
328
  {
431
- srcPath: "/_api/wix-events-web/v1/tickets",
432
- destPath: "/v1/tickets"
329
+ srcPath: "/events/v1/pos-checkout",
330
+ destPath: "/v1/pos-checkout"
433
331
  }
434
332
  ],
435
- "editor._base_domain_": [
436
- {
437
- srcPath: "/_api/wix-events-web/v1/bulk-async/categories",
438
- destPath: "/v1/bulk-async/categories"
439
- },
440
- {
441
- srcPath: "/_api/wix-events-web/v1/bulk/categories",
442
- destPath: "/v1/bulk/categories"
443
- },
333
+ "editor-flow.wixapps.net": [
444
334
  {
445
- srcPath: "/_api/wix-events-web/v1/categories",
446
- destPath: "/v1/categories"
335
+ srcPath: "/_api/wix-events-web/v1/checkout",
336
+ destPath: "/v1/checkout"
447
337
  },
448
338
  {
449
- srcPath: "/_api/wix-events-web/v1/events",
450
- destPath: "/v1/events"
339
+ srcPath: "/_api/wix-events-web/v1/ticket-definitions",
340
+ destPath: "/v1/ticket-definitions"
451
341
  },
452
342
  {
453
- srcPath: "/_api/wix-events-web/v1/orders",
454
- destPath: "/v1/orders"
343
+ srcPath: "/_api/wix-events-web/v1/tickets/available",
344
+ destPath: "/v1/tickets/available"
455
345
  },
456
346
  {
457
- srcPath: "/_api/wix-events-web/v1/tickets",
458
- destPath: "/v1/tickets"
347
+ srcPath: "/_api/wix-events-web/v1/pos-checkout",
348
+ destPath: "/v1/pos-checkout"
459
349
  }
460
350
  ],
461
- "blocks._base_domain_": [
462
- {
463
- srcPath: "/_api/wix-events-web/v1/bulk-async/categories",
464
- destPath: "/v1/bulk-async/categories"
465
- },
466
- {
467
- srcPath: "/_api/wix-events-web/v1/bulk/categories",
468
- destPath: "/v1/bulk/categories"
469
- },
351
+ "editor.wixapps.net": [
470
352
  {
471
- srcPath: "/_api/wix-events-web/v1/categories",
472
- destPath: "/v1/categories"
353
+ srcPath: "/_api/wix-events-web/v1/checkout",
354
+ destPath: "/v1/checkout"
473
355
  },
474
356
  {
475
- srcPath: "/_api/wix-events-web/v1/events",
476
- destPath: "/v1/events"
357
+ srcPath: "/_api/wix-events-web/v1/ticket-definitions",
358
+ destPath: "/v1/ticket-definitions"
477
359
  },
478
360
  {
479
- srcPath: "/_api/wix-events-web/v1/orders",
480
- destPath: "/v1/orders"
361
+ srcPath: "/_api/wix-events-web/v1/tickets/available",
362
+ destPath: "/v1/tickets/available"
481
363
  },
482
364
  {
483
- srcPath: "/_api/wix-events-web/v1/tickets",
484
- destPath: "/v1/tickets"
365
+ srcPath: "/_api/wix-events-web/v1/pos-checkout",
366
+ destPath: "/v1/pos-checkout"
485
367
  }
486
368
  ],
487
- "create.editorx": [
488
- {
489
- srcPath: "/_api/wix-events-web/v1/bulk-async/categories",
490
- destPath: "/v1/bulk-async/categories"
491
- },
492
- {
493
- srcPath: "/_api/wix-events-web/v1/bulk/categories",
494
- destPath: "/v1/bulk/categories"
495
- },
369
+ "www._base_domain_": [
496
370
  {
497
- srcPath: "/_api/wix-events-web/v1/categories",
498
- destPath: "/v1/categories"
371
+ srcPath: "/_api/wix-events-web/v1/checkout",
372
+ destPath: "/v1/checkout"
499
373
  },
500
374
  {
501
- srcPath: "/_api/wix-events-web/v1/events",
502
- destPath: "/v1/events"
375
+ srcPath: "/_api/wix-events-web/v1/ticket-definitions",
376
+ destPath: "/v1/ticket-definitions"
503
377
  },
504
378
  {
505
- srcPath: "/_api/wix-events-web/v1/orders",
506
- destPath: "/v1/orders"
379
+ srcPath: "/_api/wix-events-web/v1/tickets/available",
380
+ destPath: "/v1/tickets/available"
507
381
  },
508
382
  {
509
- srcPath: "/_api/wix-events-web/v1/tickets",
510
- destPath: "/v1/tickets"
383
+ srcPath: "/_api/wix-events-web/v1/pos-checkout",
384
+ destPath: "/v1/pos-checkout"
511
385
  }
512
386
  ]
513
387
  };
@@ -525,7 +399,7 @@ function listTickets(payload) {
525
399
  optInTransformResponse: true
526
400
  },
527
401
  url: resolveWixEventsTicketingTicketManagementUrl({
528
- protoPath: "/v1/events/{eventId}/tickets",
402
+ protoPath: "/v1/tickets",
529
403
  data: payload,
530
404
  host
531
405
  }),
@@ -555,7 +429,7 @@ function listTickets(payload) {
555
429
  {
556
430
  method: "GET",
557
431
  url: resolveWixEventsTicketingTicketManagementUrl({
558
- protoPath: "/v1/events/{eventId}/tickets",
432
+ protoPath: "/v1/tickets",
559
433
  data: payload,
560
434
  host
561
435
  }),
@@ -578,7 +452,7 @@ function getTicket(payload) {
578
452
  optInTransformResponse: true
579
453
  },
580
454
  url: resolveWixEventsTicketingTicketManagementUrl({
581
- protoPath: "/v1/events/{eventId}/tickets/{ticketNumber}",
455
+ protoPath: "/v1/tickets/{ticketNumber}",
582
456
  data: payload,
583
457
  host
584
458
  }),
@@ -603,7 +477,18 @@ function getTicket(payload) {
603
477
  }
604
478
  ]
605
479
  }
606
- ])
480
+ ]),
481
+ fallback: [
482
+ {
483
+ method: "GET",
484
+ url: resolveWixEventsTicketingTicketManagementUrl({
485
+ protoPath: "/v1/tickets/{ticketNumber}",
486
+ data: payload,
487
+ host
488
+ }),
489
+ params: toURLSearchParams(payload)
490
+ }
491
+ ]
607
492
  };
608
493
  return metadata;
609
494
  }
@@ -734,7 +619,7 @@ function updateTicket(payload) {
734
619
  optInTransformResponse: true
735
620
  },
736
621
  url: resolveWixEventsTicketingTicketManagementUrl({
737
- protoPath: "/v1/events/{eventId}/tickets/{ticketNumber}",
622
+ protoPath: "/v1/tickets/{ticketNumber}",
738
623
  data: serializedData,
739
624
  host
740
625
  }),
@@ -776,7 +661,7 @@ function bulkUpdateTickets(payload) {
776
661
  optInTransformResponse: true
777
662
  },
778
663
  url: resolveWixEventsTicketingTicketManagementUrl({
779
- protoPath: "/v1/events/{eventId}/tickets",
664
+ protoPath: "/v1/tickets",
780
665
  data: payload,
781
666
  host
782
667
  }),
@@ -867,10 +752,10 @@ var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
867
752
  WebhookIdentityType2["APP"] = "APP";
868
753
  return WebhookIdentityType2;
869
754
  })(WebhookIdentityType || {});
870
- async function listTickets2(eventId, options) {
871
- const { httpClient, sideEffects } = arguments[2];
755
+ async function listTickets2(options) {
756
+ const { httpClient, sideEffects } = arguments[1];
872
757
  const payload = renameKeysFromSDKRequestToRESTRequest({
873
- eventId,
758
+ eventId: options?.eventId,
874
759
  offset: options?.offset,
875
760
  limit: options?.limit,
876
761
  orderNumber: options?.orderNumber,
@@ -907,35 +792,35 @@ async function listTickets2(eventId, options) {
907
792
  {
908
793
  spreadPathsToArguments: {},
909
794
  explicitPathsToArguments: {
910
- eventId: "$[0]",
911
- offset: "$[1].offset",
912
- limit: "$[1].limit",
913
- orderNumber: "$[1].orderNumber",
914
- ticketNumber: "$[1].ticketNumber",
915
- searchPhrase: "$[1].searchPhrase",
916
- orderStatus: "$[1].orderStatus",
917
- fieldset: "$[1].fieldset",
918
- state: "$[1].state",
919
- memberId: "$[1].memberId",
920
- facet: "$[1].facet",
921
- sort: "$[1].sort",
922
- contactId: "$[1].contactId",
923
- ticketDefinitionId: "$[1].ticketDefinitionId",
924
- seatId: "$[1].seatId"
795
+ eventId: "$[0].eventId",
796
+ offset: "$[0].offset",
797
+ limit: "$[0].limit",
798
+ orderNumber: "$[0].orderNumber",
799
+ ticketNumber: "$[0].ticketNumber",
800
+ searchPhrase: "$[0].searchPhrase",
801
+ orderStatus: "$[0].orderStatus",
802
+ fieldset: "$[0].fieldset",
803
+ state: "$[0].state",
804
+ memberId: "$[0].memberId",
805
+ facet: "$[0].facet",
806
+ sort: "$[0].sort",
807
+ contactId: "$[0].contactId",
808
+ ticketDefinitionId: "$[0].ticketDefinitionId",
809
+ seatId: "$[0].seatId"
925
810
  },
926
811
  singleArgumentUnchanged: false
927
812
  },
928
- ["eventId", "options"]
813
+ ["options"]
929
814
  );
930
815
  sideEffects?.onError?.(err);
931
816
  throw transformedError;
932
817
  }
933
818
  }
934
- async function getTicket2(identifiers, options) {
819
+ async function getTicket2(ticketNumber, options) {
935
820
  const { httpClient, sideEffects } = arguments[2];
936
821
  const payload = renameKeysFromSDKRequestToRESTRequest({
937
- eventId: identifiers?.eventId,
938
- ticketNumber: identifiers?.ticketNumber,
822
+ ticketNumber,
823
+ eventId: options?.eventId,
939
824
  fieldset: options?.fieldset
940
825
  });
941
826
  const reqOpts = getTicket(payload);
@@ -959,13 +844,13 @@ async function getTicket2(identifiers, options) {
959
844
  {
960
845
  spreadPathsToArguments: {},
961
846
  explicitPathsToArguments: {
962
- eventId: "$[0].eventId",
963
- ticketNumber: "$[0].ticketNumber",
847
+ ticketNumber: "$[0]",
848
+ eventId: "$[1].eventId",
964
849
  fieldset: "$[1].fieldset"
965
850
  },
966
851
  singleArgumentUnchanged: false
967
852
  },
968
- ["identifiers", "options"]
853
+ ["ticketNumber", "options"]
969
854
  );
970
855
  sideEffects?.onError?.(err);
971
856
  throw transformedError;
@@ -1047,12 +932,12 @@ async function deleteTicketCheckIns(eventId, options) {
1047
932
  throw transformedError;
1048
933
  }
1049
934
  }
1050
- async function updateTicket2(identifiers, options) {
935
+ async function updateTicket2(ticketNumber, options) {
1051
936
  const { httpClient, sideEffects } = arguments[2];
1052
937
  const payload = transformPaths2(
1053
938
  renameKeysFromSDKRequestToRESTRequest({
1054
- eventId: identifiers?.eventId,
1055
- ticketNumber: identifiers?.ticketNumber,
939
+ ticketNumber,
940
+ eventId: options?.eventId,
1056
941
  fields: options?.fields,
1057
942
  archived: options?.archived,
1058
943
  guestDetails: options?.guestDetails
@@ -1088,24 +973,24 @@ async function updateTicket2(identifiers, options) {
1088
973
  {
1089
974
  spreadPathsToArguments: {},
1090
975
  explicitPathsToArguments: {
1091
- eventId: "$[0].eventId",
1092
- ticketNumber: "$[0].ticketNumber",
976
+ ticketNumber: "$[0]",
977
+ eventId: "$[1].eventId",
1093
978
  fields: "$[1].fields",
1094
979
  archived: "$[1].archived",
1095
980
  guestDetails: "$[1].guestDetails"
1096
981
  },
1097
982
  singleArgumentUnchanged: false
1098
983
  },
1099
- ["identifiers", "options"]
984
+ ["ticketNumber", "options"]
1100
985
  );
1101
986
  sideEffects?.onError?.(err);
1102
987
  throw transformedError;
1103
988
  }
1104
989
  }
1105
- async function bulkUpdateTickets2(eventId, options) {
1106
- const { httpClient, sideEffects } = arguments[2];
990
+ async function bulkUpdateTickets2(options) {
991
+ const { httpClient, sideEffects } = arguments[1];
1107
992
  const payload = renameKeysFromSDKRequestToRESTRequest({
1108
- eventId,
993
+ eventId: options?.eventId,
1109
994
  ticketNumber: options?.ticketNumber,
1110
995
  archived: options?.archived
1111
996
  });
@@ -1130,13 +1015,13 @@ async function bulkUpdateTickets2(eventId, options) {
1130
1015
  {
1131
1016
  spreadPathsToArguments: {},
1132
1017
  explicitPathsToArguments: {
1133
- eventId: "$[0]",
1134
- ticketNumber: "$[1].ticketNumber",
1135
- archived: "$[1].archived"
1018
+ eventId: "$[0].eventId",
1019
+ ticketNumber: "$[0].ticketNumber",
1020
+ archived: "$[0].archived"
1136
1021
  },
1137
1022
  singleArgumentUnchanged: false
1138
1023
  },
1139
- ["eventId", "options"]
1024
+ ["options"]
1140
1025
  );
1141
1026
  sideEffects?.onError?.(err);
1142
1027
  throw transformedError;
@@ -1145,16 +1030,15 @@ async function bulkUpdateTickets2(eventId, options) {
1145
1030
 
1146
1031
  // src/events-v1-ticket-tickets.public.ts
1147
1032
  function listTickets3(httpClient) {
1148
- return (eventId, options) => listTickets2(
1149
- eventId,
1033
+ return (options) => listTickets2(
1150
1034
  options,
1151
1035
  // @ts-ignore
1152
1036
  { httpClient }
1153
1037
  );
1154
1038
  }
1155
1039
  function getTicket3(httpClient) {
1156
- return (identifiers, options) => getTicket2(
1157
- identifiers,
1040
+ return (ticketNumber, options) => getTicket2(
1041
+ ticketNumber,
1158
1042
  options,
1159
1043
  // @ts-ignore
1160
1044
  { httpClient }
@@ -1177,16 +1061,15 @@ function deleteTicketCheckIns2(httpClient) {
1177
1061
  );
1178
1062
  }
1179
1063
  function updateTicket3(httpClient) {
1180
- return (identifiers, options) => updateTicket2(
1181
- identifiers,
1064
+ return (ticketNumber, options) => updateTicket2(
1065
+ ticketNumber,
1182
1066
  options,
1183
1067
  // @ts-ignore
1184
1068
  { httpClient }
1185
1069
  );
1186
1070
  }
1187
1071
  function bulkUpdateTickets3(httpClient) {
1188
- return (eventId, options) => bulkUpdateTickets2(
1189
- eventId,
1072
+ return (options) => bulkUpdateTickets2(
1190
1073
  options,
1191
1074
  // @ts-ignore
1192
1075
  { httpClient }