@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
@@ -59,490 +59,364 @@ var import_transform_paths = require("@wix/sdk-runtime/transformations/transform
59
59
  var import_rest_modules2 = require("@wix/sdk-runtime/rest-modules");
60
60
  function resolveWixEventsTicketingTicketManagementUrl(opts) {
61
61
  const domainToMappings = {
62
- "events._base_domain_": [
63
- {
64
- srcPath: "",
65
- destPath: ""
66
- },
67
- {
68
- srcPath: "/_api/wix-events-web",
69
- destPath: "/api"
70
- }
71
- ],
72
- "www.wixevents.com": [
73
- {
74
- srcPath: "/_api/wix-events-web",
75
- destPath: "/api"
76
- },
62
+ "manage._base_domain_": [
77
63
  {
78
- srcPath: "/api",
79
- destPath: "/api"
64
+ srcPath: "/_api/wix-events-web/v1/tickets",
65
+ destPath: "/v1/tickets"
80
66
  },
81
67
  {
82
- srcPath: "/viewEvent",
83
- destPath: "/viewEvent"
68
+ srcPath: "/events/v1/tickets",
69
+ destPath: "/v1/tickets"
84
70
  },
85
71
  {
86
- srcPath: "/viewRsvpDashboard",
87
- destPath: "/viewRsvpDashboard"
72
+ srcPath: "/events/v1/ticket-definitions",
73
+ destPath: "/v1/ticket-definitions"
88
74
  },
89
75
  {
90
- srcPath: "/viewOrderDashboard",
91
- destPath: "/viewOrderDashboard"
76
+ srcPath: "/events/v2/ticket-definitions",
77
+ destPath: "/v2/ticket-definitions"
92
78
  },
93
79
  {
94
- srcPath: "/viewSummarySubscription",
95
- destPath: "/viewSummarySubscription"
80
+ srcPath: "/events/v1/tickets/available",
81
+ destPath: "/v1/tickets/available"
96
82
  },
97
83
  {
98
- srcPath: "/check-in",
99
- destPath: "/check-in"
84
+ srcPath: "/events/v1/checkout",
85
+ destPath: "/v1/checkout"
100
86
  },
101
87
  {
102
- srcPath: "/v2",
103
- destPath: "/v2"
88
+ srcPath: "/events/v1/pos-checkout",
89
+ destPath: "/v1/pos-checkout"
104
90
  },
105
91
  {
106
- srcPath: "/export",
107
- destPath: "/export"
92
+ srcPath: "/_api/events/v1/ticket-definitions",
93
+ destPath: "/v1/ticket-definitions"
108
94
  },
109
95
  {
110
- srcPath: "/tickets",
111
- destPath: "/tickets"
96
+ srcPath: "/_api/events/v2/ticket-definitions",
97
+ destPath: "/v2/ticket-definitions"
112
98
  },
113
99
  {
114
- srcPath: "/payment-redirect",
115
- destPath: "/payment-redirect"
100
+ srcPath: "/_api/events/v1/tickets/available",
101
+ destPath: "/v1/tickets/available"
116
102
  },
117
103
  {
118
- srcPath: "/admin",
119
- destPath: "/admin"
104
+ srcPath: "/_api/events/v1/pos-checkout",
105
+ destPath: "/v1/pos-checkout"
120
106
  },
121
107
  {
122
- srcPath: "/ticket",
123
- destPath: "/ticket"
108
+ srcPath: "/_api/events/v1/checkout",
109
+ destPath: "/v1/checkout"
124
110
  },
125
111
  {
126
- srcPath: "/media",
127
- destPath: "/media"
128
- }
129
- ],
130
- "api._api_base_domain_": [
131
- {
132
- srcPath: "/wix-events-web",
133
- destPath: ""
134
- }
135
- ],
136
- "events.wixapps.net": [
137
- {
138
- srcPath: "/_api/wix-events-web",
112
+ srcPath: "/_api/events-ticketing-v1-proxy",
139
113
  destPath: "/api"
140
- },
141
- {
142
- srcPath: "/events",
143
- destPath: ""
144
114
  }
145
115
  ],
146
- "www._base_domain_": [
147
- {
148
- srcPath: "/_api/wix-events-web",
149
- destPath: "/api"
150
- },
151
- {
152
- srcPath: "/_api/wix-events-web/v2",
153
- destPath: "/v2"
154
- },
155
- {
156
- srcPath: "/_api/wix-events-web/v1/bulk-async/categories",
157
- destPath: "/v1/bulk-async/categories"
158
- },
116
+ "www.wixapis.com": [
159
117
  {
160
- srcPath: "/_api/wix-events-web/v1/bulk/categories",
161
- destPath: "/v1/bulk/categories"
118
+ srcPath: "/events/v1/ticket-definitions",
119
+ destPath: "/v1/ticket-definitions"
162
120
  },
163
121
  {
164
- srcPath: "/_api/wix-events-web/v1/categories",
165
- destPath: "/v1/categories"
122
+ srcPath: "/events/v2/ticket-definitions",
123
+ destPath: "/v2/ticket-definitions"
166
124
  },
167
125
  {
168
- srcPath: "/_api/wix-events-web/v1/events",
169
- destPath: "/v1/events"
126
+ srcPath: "/events/v1/tickets/available",
127
+ destPath: "/v1/tickets/available"
170
128
  },
171
129
  {
172
- srcPath: "/_api/wix-events-web/v1/orders",
173
- destPath: "/v1/orders"
130
+ srcPath: "/events/v1/checkout",
131
+ destPath: "/v1/checkout"
174
132
  },
175
133
  {
176
- srcPath: "/_api/wix-events-web/v1/tickets",
177
- destPath: "/v1/tickets"
134
+ srcPath: "/events/v1/pos-checkout",
135
+ destPath: "/v1/pos-checkout"
178
136
  }
179
137
  ],
180
- "apps._base_domain_": [
138
+ _: [
181
139
  {
182
- srcPath: "/_api/wix-events-web",
183
- destPath: "/api"
140
+ srcPath: "/_api/events/v1/ticket-definitions",
141
+ destPath: "/v1/ticket-definitions"
184
142
  },
185
143
  {
186
- srcPath: "/events",
187
- destPath: ""
188
- }
189
- ],
190
- "manage._base_domain_": [
191
- {
192
- srcPath: "/_api/wix-events-web",
193
- destPath: "/api"
144
+ srcPath: "/_api/events/v2/ticket-definition",
145
+ destPath: "/v2/ticket-definitions"
194
146
  },
195
147
  {
196
- srcPath: "/_api/wix-events-web/v1/events",
197
- destPath: "/v1/events"
148
+ srcPath: "/_api/events/v1/tickets/available",
149
+ destPath: "/v1/tickets/available"
198
150
  },
199
151
  {
200
- srcPath: "/_api/wix-events-web/v1/categories",
201
- destPath: "/v1/categories"
152
+ srcPath: "/_api/events/v1/pos-checkout",
153
+ destPath: "/v1/pos-checkout"
202
154
  },
203
155
  {
204
- srcPath: "/_api/wix-events-web/v2/events",
205
- destPath: "/v2/events"
156
+ srcPath: "/_api/events/v1/checkout",
157
+ destPath: "/v1/checkout"
206
158
  },
207
159
  {
208
- srcPath: "/_api/wix-events-web/v1/bulk/categories",
209
- destPath: "/v1/bulk/categories"
160
+ srcPath: "/_api/events-ticketing-v1-proxy/v1",
161
+ destPath: "/v1"
210
162
  },
211
163
  {
212
- srcPath: "/_api/wix-events-web/v1/bulk/events",
213
- destPath: "/v1/bulk/events"
164
+ srcPath: "/_api/events-ticketing-v1-proxy/v2",
165
+ destPath: "/v2"
214
166
  },
215
167
  {
216
- srcPath: "/_api/wix-events-web/v1/bulk-async/categories",
217
- destPath: "/v1/bulk-async/categories"
168
+ srcPath: "/_api/wix-events-web/v1/checkout",
169
+ destPath: "/v1/checkout"
218
170
  },
219
171
  {
220
- srcPath: "/_api/wix-events-web/v1/tickets",
221
- destPath: "/v1/tickets"
172
+ srcPath: "/_api/wix-events-web/v1/pos-checkout",
173
+ destPath: "/v1/pos-checkout"
222
174
  },
223
175
  {
224
- srcPath: "/events/v1/events",
225
- destPath: "/v1/events"
176
+ srcPath: "/_api/wix-events-web/v1/ticket-definitions",
177
+ destPath: "/v1/ticket-definitions"
226
178
  },
227
179
  {
228
- srcPath: "/events/v1/categories",
229
- destPath: "/v1/categories"
180
+ srcPath: "/_api/wix-events-web/v1/tickets/available",
181
+ destPath: "/v1/tickets/available"
182
+ }
183
+ ],
184
+ "editor._base_domain_": [
185
+ {
186
+ srcPath: "/_api/events/v1/ticket-definitions",
187
+ destPath: "/v1/ticket-definitions"
230
188
  },
231
189
  {
232
- srcPath: "/events/v1/bulk/categories",
233
- destPath: "/v1/bulk/categories"
190
+ srcPath: "/_api/events/v2/ticket-definitions",
191
+ destPath: "/v2/ticket-definitions"
234
192
  },
235
193
  {
236
- srcPath: "/events/v1/bulk-async/categories",
237
- destPath: "/v1/bulk-async/categories"
194
+ srcPath: "/_api/events/v1/tickets/available",
195
+ destPath: "/v1/tickets/available"
238
196
  },
239
197
  {
240
- srcPath: "/events/v1/bulk/events",
241
- destPath: "/v1/bulk/events"
198
+ srcPath: "/_api/events/v1/pos-checkout",
199
+ destPath: "/v1/pos-checkout"
242
200
  },
243
201
  {
244
- srcPath: "/events/v1/reports",
245
- destPath: "/v1/reports"
202
+ srcPath: "/_api/events/v1/checkout",
203
+ destPath: "/v1/checkout"
246
204
  },
247
205
  {
248
- srcPath: "/events/v1/tickets",
206
+ srcPath: "/_api/wix-events-web/v1/tickets",
249
207
  destPath: "/v1/tickets"
250
208
  },
251
209
  {
252
- srcPath: "/events/v1/orders",
253
- destPath: "/v1/orders"
210
+ srcPath: "/_api/wix-events-web/v1/checkout",
211
+ destPath: "/v1/checkout"
254
212
  },
255
213
  {
256
- srcPath: "/events/v1/web",
257
- destPath: "/v1/web"
214
+ srcPath: "/_api/wix-events-web/v1/ticket-definitions",
215
+ destPath: "/v1/ticket-definitions"
258
216
  },
259
217
  {
260
- srcPath: "/events/v2/tickets",
261
- destPath: "/v2/tickets"
218
+ srcPath: "/_api/wix-events-web/v1/tickets/available",
219
+ destPath: "/v1/tickets/available"
262
220
  },
263
221
  {
264
- srcPath: "/events/v2/events",
265
- destPath: "/v2/events"
222
+ srcPath: "/_api/wix-events-web/v1/pos-checkout",
223
+ destPath: "/v1/pos-checkout"
266
224
  }
267
225
  ],
268
- "www.wixapis.com": [
269
- {
270
- srcPath: "/events/v1/events",
271
- destPath: "/v1/events"
272
- },
226
+ "blocks._base_domain_": [
273
227
  {
274
- srcPath: "/events/v1/tickets",
275
- destPath: "/v1/tickets"
228
+ srcPath: "/_api/events/v1/ticket-definitions",
229
+ destPath: "/v1/ticket-definitions"
276
230
  },
277
231
  {
278
- srcPath: "/events/v1/categories",
279
- destPath: "/v1/categories"
232
+ srcPath: "/_api/events/v2/ticket-definitions",
233
+ destPath: "/v2/ticket-definitions"
280
234
  },
281
235
  {
282
- srcPath: "/events/v1/orders",
283
- destPath: "/v1/orders"
236
+ srcPath: "/_api/events/v1/tickets/available",
237
+ destPath: "/v1/tickets/available"
284
238
  },
285
239
  {
286
- srcPath: "/events/v1/bulk/categories",
287
- destPath: "/v1/bulk/categories"
240
+ srcPath: "/_api/events/v1/pos-checkout",
241
+ destPath: "/v1/pos-checkout"
288
242
  },
289
243
  {
290
- srcPath: "/events/v2/events",
291
- destPath: "/v2/events"
244
+ srcPath: "/_api/events/v1/checkout",
245
+ destPath: "/v1/checkout"
292
246
  },
293
247
  {
294
- srcPath: "/events/v1/bulk-async/categories",
295
- destPath: "/v1/bulk-async/categories"
296
- }
297
- ],
298
- "api._base_domain_": [
299
- {
300
- srcPath: "/events/v2",
301
- destPath: "/v2"
302
- },
303
- {
304
- srcPath: "/events/v1/bulk-async/categories",
305
- destPath: "/v1/bulk-async/categories"
306
- },
307
- {
308
- srcPath: "/events/v1/bulk/categories",
309
- destPath: "/v1/bulk/categories"
248
+ srcPath: "/_api/wix-events-web/v1/tickets",
249
+ destPath: "/v1/tickets"
310
250
  },
311
251
  {
312
- srcPath: "/events/v1/categories",
313
- destPath: "/v1/categories"
252
+ srcPath: "/_api/wix-events-web/v1/checkout",
253
+ destPath: "/v1/checkout"
314
254
  },
315
255
  {
316
- srcPath: "/events/v1/events",
317
- destPath: "/v1/events"
256
+ srcPath: "/_api/wix-events-web/v1/ticket-definitions",
257
+ destPath: "/v1/ticket-definitions"
318
258
  },
319
259
  {
320
- srcPath: "/events/v1/orders",
321
- destPath: "/v1/orders"
260
+ srcPath: "/_api/wix-events-web/v1/tickets/available",
261
+ destPath: "/v1/tickets/available"
322
262
  },
323
263
  {
324
- srcPath: "/events/v1/tickets",
325
- destPath: "/v1/tickets"
264
+ srcPath: "/_api/wix-events-web/v1/pos-checkout",
265
+ destPath: "/v1/pos-checkout"
326
266
  }
327
267
  ],
328
- _: [
329
- {
330
- srcPath: "/_api/wix-events-web/v2",
331
- destPath: "/v2"
332
- },
268
+ "create.editorx": [
333
269
  {
334
- srcPath: "/_api/wix-events-web/v1/bulk-async/categories",
335
- destPath: "/v1/bulk-async/categories"
270
+ srcPath: "/_api/events/v1/ticket-definitions",
271
+ destPath: "/v1/ticket-definitions"
336
272
  },
337
273
  {
338
- srcPath: "/_api/wix-events-web/v1/bulk/categories",
339
- destPath: "/v1/bulk/categories"
274
+ srcPath: "/_api/events/v2/ticket-definitions",
275
+ destPath: "/v2/ticket-definitions"
340
276
  },
341
277
  {
342
- srcPath: "/_api/wix-events-web/v1/categories",
343
- destPath: "/v1/categories"
278
+ srcPath: "/_api/events/v1/tickets/available",
279
+ destPath: "/v1/tickets/available"
344
280
  },
345
281
  {
346
- srcPath: "/_api/wix-events-web/v1/events",
347
- destPath: "/v1/events"
282
+ srcPath: "/_api/events/v1/pos-checkout",
283
+ destPath: "/v1/pos-checkout"
348
284
  },
349
285
  {
350
- srcPath: "/_api/wix-events-web/v1/orders",
351
- destPath: "/v1/orders"
286
+ srcPath: "/_api/events/v1/checkout",
287
+ destPath: "/v1/checkout"
352
288
  },
353
289
  {
354
290
  srcPath: "/_api/wix-events-web/v1/tickets",
355
291
  destPath: "/v1/tickets"
356
- }
357
- ],
358
- "editor.wixapps.net": [
359
- {
360
- srcPath: "/events/v2/events",
361
- destPath: "/v2/events"
362
- },
363
- {
364
- srcPath: "/_api/wix-events-web/v1/bulk-async/categories",
365
- destPath: "/v1/bulk-async/categories"
366
292
  },
367
293
  {
368
- srcPath: "/_api/wix-events-web/v1/bulk/categories",
369
- destPath: "/v1/bulk/categories"
294
+ srcPath: "/_api/wix-events-web/v1/checkout",
295
+ destPath: "/v1/checkout"
370
296
  },
371
297
  {
372
- srcPath: "/_api/wix-events-web/v1/categories",
373
- destPath: "/v1/categories"
298
+ srcPath: "/_api/wix-events-web/v1/ticket-definitions",
299
+ destPath: "/v1/ticket-definitions"
374
300
  },
375
301
  {
376
- srcPath: "/_api/wix-events-web/v1/events",
377
- destPath: "/v1/events"
302
+ srcPath: "/_api/wix-events-web/v1/tickets/available",
303
+ destPath: "/v1/tickets/available"
378
304
  },
379
305
  {
380
- srcPath: "/_api/wix-events-web/v1/orders",
381
- destPath: "/v1/orders"
382
- },
383
- {
384
- srcPath: "/_api/wix-events-web/v1/tickets",
385
- destPath: "/v1/tickets"
306
+ srcPath: "/_api/wix-events-web/v1/pos-checkout",
307
+ destPath: "/v1/pos-checkout"
386
308
  }
387
309
  ],
388
310
  "*.dev.wix-code.com": [
389
311
  {
390
- srcPath: "/_api/wix-events-web/v2",
391
- destPath: "/v2"
392
- },
393
- {
394
- srcPath: "/_api/wix-events-web/v1/bulk-async/categories",
395
- destPath: "/v1/bulk-async/categories"
396
- },
397
- {
398
- srcPath: "/_api/wix-events-web/v1/bulk/categories",
399
- destPath: "/v1/bulk/categories"
400
- },
401
- {
402
- srcPath: "/_api/wix-events-web/v1/categories",
403
- destPath: "/v1/categories"
312
+ srcPath: "/_api/wix-events-web/v1/checkout",
313
+ destPath: "/v1/checkout"
404
314
  },
405
315
  {
406
- srcPath: "/_api/wix-events-web/v1/events",
407
- destPath: "/v1/events"
316
+ srcPath: "/_api/wix-events-web/v1/pos-checkout",
317
+ destPath: "/v1/pos-checkout"
408
318
  },
409
319
  {
410
- srcPath: "/_api/wix-events-web/v1/orders",
411
- destPath: "/v1/orders"
320
+ srcPath: "/_api/wix-events-web/v1/ticket-definitions",
321
+ destPath: "/v1/ticket-definitions"
412
322
  },
413
323
  {
414
- srcPath: "/_api/wix-events-web/v1/tickets",
415
- destPath: "/v1/tickets"
324
+ srcPath: "/_api/wix-events-web/v1/tickets/available",
325
+ destPath: "/v1/tickets/available"
416
326
  }
417
327
  ],
418
328
  "*.pub.wix-code.com": [
419
329
  {
420
- srcPath: "/_api/wix-events-web/v1/bulk-async/categories",
421
- destPath: "/v1/bulk-async/categories"
422
- },
423
- {
424
- srcPath: "/_api/wix-events-web/v1/bulk/categories",
425
- destPath: "/v1/bulk/categories"
426
- },
427
- {
428
- srcPath: "/_api/wix-events-web/v1/categories",
429
- destPath: "/v1/categories"
330
+ srcPath: "/_api/wix-events-web/v1/checkout",
331
+ destPath: "/v1/checkout"
430
332
  },
431
333
  {
432
- srcPath: "/_api/wix-events-web/v1/events",
433
- destPath: "/v1/events"
334
+ srcPath: "/_api/wix-events-web/v1/ticket-definitions",
335
+ destPath: "/v1/ticket-definitions"
434
336
  },
435
337
  {
436
- srcPath: "/_api/wix-events-web/v1/orders",
437
- destPath: "/v1/orders"
338
+ srcPath: "/_api/wix-events-web/v1/tickets/available",
339
+ destPath: "/v1/tickets/available"
438
340
  },
439
341
  {
440
- srcPath: "/_api/wix-events-web/v1/tickets",
441
- destPath: "/v1/tickets"
342
+ srcPath: "/_api/wix-events-web/v1/pos-checkout",
343
+ destPath: "/v1/pos-checkout"
442
344
  }
443
345
  ],
444
- "editor-flow.wixapps.net": [
445
- {
446
- srcPath: "/_api/wix-events-web/v1/bulk-async/categories",
447
- destPath: "/v1/bulk-async/categories"
448
- },
346
+ "api._base_domain_": [
449
347
  {
450
- srcPath: "/_api/wix-events-web/v1/bulk/categories",
451
- destPath: "/v1/bulk/categories"
348
+ srcPath: "/events/v1/tickets",
349
+ destPath: "/v1/tickets"
452
350
  },
453
351
  {
454
- srcPath: "/_api/wix-events-web/v1/categories",
455
- destPath: "/v1/categories"
352
+ srcPath: "/events/v1/checkout",
353
+ destPath: "/v1/checkout"
456
354
  },
457
355
  {
458
- srcPath: "/_api/wix-events-web/v1/events",
459
- destPath: "/v1/events"
356
+ srcPath: "/events/v1/ticket-definitions",
357
+ destPath: "/v1/ticket-definitions"
460
358
  },
461
359
  {
462
- srcPath: "/_api/wix-events-web/v1/orders",
463
- destPath: "/v1/orders"
360
+ srcPath: "/events/v1/tickets/available",
361
+ destPath: "/v1/tickets/available"
464
362
  },
465
363
  {
466
- srcPath: "/_api/wix-events-web/v1/tickets",
467
- destPath: "/v1/tickets"
364
+ srcPath: "/events/v1/pos-checkout",
365
+ destPath: "/v1/pos-checkout"
468
366
  }
469
367
  ],
470
- "editor._base_domain_": [
471
- {
472
- srcPath: "/_api/wix-events-web/v1/bulk-async/categories",
473
- destPath: "/v1/bulk-async/categories"
474
- },
475
- {
476
- srcPath: "/_api/wix-events-web/v1/bulk/categories",
477
- destPath: "/v1/bulk/categories"
478
- },
368
+ "editor-flow.wixapps.net": [
479
369
  {
480
- srcPath: "/_api/wix-events-web/v1/categories",
481
- destPath: "/v1/categories"
370
+ srcPath: "/_api/wix-events-web/v1/checkout",
371
+ destPath: "/v1/checkout"
482
372
  },
483
373
  {
484
- srcPath: "/_api/wix-events-web/v1/events",
485
- destPath: "/v1/events"
374
+ srcPath: "/_api/wix-events-web/v1/ticket-definitions",
375
+ destPath: "/v1/ticket-definitions"
486
376
  },
487
377
  {
488
- srcPath: "/_api/wix-events-web/v1/orders",
489
- destPath: "/v1/orders"
378
+ srcPath: "/_api/wix-events-web/v1/tickets/available",
379
+ destPath: "/v1/tickets/available"
490
380
  },
491
381
  {
492
- srcPath: "/_api/wix-events-web/v1/tickets",
493
- destPath: "/v1/tickets"
382
+ srcPath: "/_api/wix-events-web/v1/pos-checkout",
383
+ destPath: "/v1/pos-checkout"
494
384
  }
495
385
  ],
496
- "blocks._base_domain_": [
497
- {
498
- srcPath: "/_api/wix-events-web/v1/bulk-async/categories",
499
- destPath: "/v1/bulk-async/categories"
500
- },
501
- {
502
- srcPath: "/_api/wix-events-web/v1/bulk/categories",
503
- destPath: "/v1/bulk/categories"
504
- },
386
+ "editor.wixapps.net": [
505
387
  {
506
- srcPath: "/_api/wix-events-web/v1/categories",
507
- destPath: "/v1/categories"
388
+ srcPath: "/_api/wix-events-web/v1/checkout",
389
+ destPath: "/v1/checkout"
508
390
  },
509
391
  {
510
- srcPath: "/_api/wix-events-web/v1/events",
511
- destPath: "/v1/events"
392
+ srcPath: "/_api/wix-events-web/v1/ticket-definitions",
393
+ destPath: "/v1/ticket-definitions"
512
394
  },
513
395
  {
514
- srcPath: "/_api/wix-events-web/v1/orders",
515
- destPath: "/v1/orders"
396
+ srcPath: "/_api/wix-events-web/v1/tickets/available",
397
+ destPath: "/v1/tickets/available"
516
398
  },
517
399
  {
518
- srcPath: "/_api/wix-events-web/v1/tickets",
519
- destPath: "/v1/tickets"
400
+ srcPath: "/_api/wix-events-web/v1/pos-checkout",
401
+ destPath: "/v1/pos-checkout"
520
402
  }
521
403
  ],
522
- "create.editorx": [
523
- {
524
- srcPath: "/_api/wix-events-web/v1/bulk-async/categories",
525
- destPath: "/v1/bulk-async/categories"
526
- },
527
- {
528
- srcPath: "/_api/wix-events-web/v1/bulk/categories",
529
- destPath: "/v1/bulk/categories"
530
- },
404
+ "www._base_domain_": [
531
405
  {
532
- srcPath: "/_api/wix-events-web/v1/categories",
533
- destPath: "/v1/categories"
406
+ srcPath: "/_api/wix-events-web/v1/checkout",
407
+ destPath: "/v1/checkout"
534
408
  },
535
409
  {
536
- srcPath: "/_api/wix-events-web/v1/events",
537
- destPath: "/v1/events"
410
+ srcPath: "/_api/wix-events-web/v1/ticket-definitions",
411
+ destPath: "/v1/ticket-definitions"
538
412
  },
539
413
  {
540
- srcPath: "/_api/wix-events-web/v1/orders",
541
- destPath: "/v1/orders"
414
+ srcPath: "/_api/wix-events-web/v1/tickets/available",
415
+ destPath: "/v1/tickets/available"
542
416
  },
543
417
  {
544
- srcPath: "/_api/wix-events-web/v1/tickets",
545
- destPath: "/v1/tickets"
418
+ srcPath: "/_api/wix-events-web/v1/pos-checkout",
419
+ destPath: "/v1/pos-checkout"
546
420
  }
547
421
  ]
548
422
  };
@@ -560,7 +434,7 @@ function listTickets(payload) {
560
434
  optInTransformResponse: true
561
435
  },
562
436
  url: resolveWixEventsTicketingTicketManagementUrl({
563
- protoPath: "/v1/events/{eventId}/tickets",
437
+ protoPath: "/v1/tickets",
564
438
  data: payload,
565
439
  host
566
440
  }),
@@ -590,7 +464,7 @@ function listTickets(payload) {
590
464
  {
591
465
  method: "GET",
592
466
  url: resolveWixEventsTicketingTicketManagementUrl({
593
- protoPath: "/v1/events/{eventId}/tickets",
467
+ protoPath: "/v1/tickets",
594
468
  data: payload,
595
469
  host
596
470
  }),
@@ -613,7 +487,7 @@ function getTicket(payload) {
613
487
  optInTransformResponse: true
614
488
  },
615
489
  url: resolveWixEventsTicketingTicketManagementUrl({
616
- protoPath: "/v1/events/{eventId}/tickets/{ticketNumber}",
490
+ protoPath: "/v1/tickets/{ticketNumber}",
617
491
  data: payload,
618
492
  host
619
493
  }),
@@ -638,7 +512,18 @@ function getTicket(payload) {
638
512
  }
639
513
  ]
640
514
  }
641
- ])
515
+ ]),
516
+ fallback: [
517
+ {
518
+ method: "GET",
519
+ url: resolveWixEventsTicketingTicketManagementUrl({
520
+ protoPath: "/v1/tickets/{ticketNumber}",
521
+ data: payload,
522
+ host
523
+ }),
524
+ params: (0, import_rest_modules.toURLSearchParams)(payload)
525
+ }
526
+ ]
642
527
  };
643
528
  return metadata;
644
529
  }
@@ -769,7 +654,7 @@ function updateTicket(payload) {
769
654
  optInTransformResponse: true
770
655
  },
771
656
  url: resolveWixEventsTicketingTicketManagementUrl({
772
- protoPath: "/v1/events/{eventId}/tickets/{ticketNumber}",
657
+ protoPath: "/v1/tickets/{ticketNumber}",
773
658
  data: serializedData,
774
659
  host
775
660
  }),
@@ -811,7 +696,7 @@ function bulkUpdateTickets(payload) {
811
696
  optInTransformResponse: true
812
697
  },
813
698
  url: resolveWixEventsTicketingTicketManagementUrl({
814
- protoPath: "/v1/events/{eventId}/tickets",
699
+ protoPath: "/v1/tickets",
815
700
  data: payload,
816
701
  host
817
702
  }),
@@ -902,10 +787,10 @@ var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
902
787
  WebhookIdentityType2["APP"] = "APP";
903
788
  return WebhookIdentityType2;
904
789
  })(WebhookIdentityType || {});
905
- async function listTickets2(eventId, options) {
906
- const { httpClient, sideEffects } = arguments[2];
790
+ async function listTickets2(options) {
791
+ const { httpClient, sideEffects } = arguments[1];
907
792
  const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
908
- eventId,
793
+ eventId: options?.eventId,
909
794
  offset: options?.offset,
910
795
  limit: options?.limit,
911
796
  orderNumber: options?.orderNumber,
@@ -942,35 +827,35 @@ async function listTickets2(eventId, options) {
942
827
  {
943
828
  spreadPathsToArguments: {},
944
829
  explicitPathsToArguments: {
945
- eventId: "$[0]",
946
- offset: "$[1].offset",
947
- limit: "$[1].limit",
948
- orderNumber: "$[1].orderNumber",
949
- ticketNumber: "$[1].ticketNumber",
950
- searchPhrase: "$[1].searchPhrase",
951
- orderStatus: "$[1].orderStatus",
952
- fieldset: "$[1].fieldset",
953
- state: "$[1].state",
954
- memberId: "$[1].memberId",
955
- facet: "$[1].facet",
956
- sort: "$[1].sort",
957
- contactId: "$[1].contactId",
958
- ticketDefinitionId: "$[1].ticketDefinitionId",
959
- seatId: "$[1].seatId"
830
+ eventId: "$[0].eventId",
831
+ offset: "$[0].offset",
832
+ limit: "$[0].limit",
833
+ orderNumber: "$[0].orderNumber",
834
+ ticketNumber: "$[0].ticketNumber",
835
+ searchPhrase: "$[0].searchPhrase",
836
+ orderStatus: "$[0].orderStatus",
837
+ fieldset: "$[0].fieldset",
838
+ state: "$[0].state",
839
+ memberId: "$[0].memberId",
840
+ facet: "$[0].facet",
841
+ sort: "$[0].sort",
842
+ contactId: "$[0].contactId",
843
+ ticketDefinitionId: "$[0].ticketDefinitionId",
844
+ seatId: "$[0].seatId"
960
845
  },
961
846
  singleArgumentUnchanged: false
962
847
  },
963
- ["eventId", "options"]
848
+ ["options"]
964
849
  );
965
850
  sideEffects?.onError?.(err);
966
851
  throw transformedError;
967
852
  }
968
853
  }
969
- async function getTicket2(identifiers, options) {
854
+ async function getTicket2(ticketNumber, options) {
970
855
  const { httpClient, sideEffects } = arguments[2];
971
856
  const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
972
- eventId: identifiers?.eventId,
973
- ticketNumber: identifiers?.ticketNumber,
857
+ ticketNumber,
858
+ eventId: options?.eventId,
974
859
  fieldset: options?.fieldset
975
860
  });
976
861
  const reqOpts = getTicket(payload);
@@ -994,13 +879,13 @@ async function getTicket2(identifiers, options) {
994
879
  {
995
880
  spreadPathsToArguments: {},
996
881
  explicitPathsToArguments: {
997
- eventId: "$[0].eventId",
998
- ticketNumber: "$[0].ticketNumber",
882
+ ticketNumber: "$[0]",
883
+ eventId: "$[1].eventId",
999
884
  fieldset: "$[1].fieldset"
1000
885
  },
1001
886
  singleArgumentUnchanged: false
1002
887
  },
1003
- ["identifiers", "options"]
888
+ ["ticketNumber", "options"]
1004
889
  );
1005
890
  sideEffects?.onError?.(err);
1006
891
  throw transformedError;
@@ -1082,12 +967,12 @@ async function deleteTicketCheckIns(eventId, options) {
1082
967
  throw transformedError;
1083
968
  }
1084
969
  }
1085
- async function updateTicket2(identifiers, options) {
970
+ async function updateTicket2(ticketNumber, options) {
1086
971
  const { httpClient, sideEffects } = arguments[2];
1087
972
  const payload = (0, import_transform_paths2.transformPaths)(
1088
973
  (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
1089
- eventId: identifiers?.eventId,
1090
- ticketNumber: identifiers?.ticketNumber,
974
+ ticketNumber,
975
+ eventId: options?.eventId,
1091
976
  fields: options?.fields,
1092
977
  archived: options?.archived,
1093
978
  guestDetails: options?.guestDetails
@@ -1123,24 +1008,24 @@ async function updateTicket2(identifiers, options) {
1123
1008
  {
1124
1009
  spreadPathsToArguments: {},
1125
1010
  explicitPathsToArguments: {
1126
- eventId: "$[0].eventId",
1127
- ticketNumber: "$[0].ticketNumber",
1011
+ ticketNumber: "$[0]",
1012
+ eventId: "$[1].eventId",
1128
1013
  fields: "$[1].fields",
1129
1014
  archived: "$[1].archived",
1130
1015
  guestDetails: "$[1].guestDetails"
1131
1016
  },
1132
1017
  singleArgumentUnchanged: false
1133
1018
  },
1134
- ["identifiers", "options"]
1019
+ ["ticketNumber", "options"]
1135
1020
  );
1136
1021
  sideEffects?.onError?.(err);
1137
1022
  throw transformedError;
1138
1023
  }
1139
1024
  }
1140
- async function bulkUpdateTickets2(eventId, options) {
1141
- const { httpClient, sideEffects } = arguments[2];
1025
+ async function bulkUpdateTickets2(options) {
1026
+ const { httpClient, sideEffects } = arguments[1];
1142
1027
  const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
1143
- eventId,
1028
+ eventId: options?.eventId,
1144
1029
  ticketNumber: options?.ticketNumber,
1145
1030
  archived: options?.archived
1146
1031
  });
@@ -1165,13 +1050,13 @@ async function bulkUpdateTickets2(eventId, options) {
1165
1050
  {
1166
1051
  spreadPathsToArguments: {},
1167
1052
  explicitPathsToArguments: {
1168
- eventId: "$[0]",
1169
- ticketNumber: "$[1].ticketNumber",
1170
- archived: "$[1].archived"
1053
+ eventId: "$[0].eventId",
1054
+ ticketNumber: "$[0].ticketNumber",
1055
+ archived: "$[0].archived"
1171
1056
  },
1172
1057
  singleArgumentUnchanged: false
1173
1058
  },
1174
- ["eventId", "options"]
1059
+ ["options"]
1175
1060
  );
1176
1061
  sideEffects?.onError?.(err);
1177
1062
  throw transformedError;
@@ -1180,16 +1065,15 @@ async function bulkUpdateTickets2(eventId, options) {
1180
1065
 
1181
1066
  // src/events-v1-ticket-tickets.public.ts
1182
1067
  function listTickets3(httpClient) {
1183
- return (eventId, options) => listTickets2(
1184
- eventId,
1068
+ return (options) => listTickets2(
1185
1069
  options,
1186
1070
  // @ts-ignore
1187
1071
  { httpClient }
1188
1072
  );
1189
1073
  }
1190
1074
  function getTicket3(httpClient) {
1191
- return (identifiers, options) => getTicket2(
1192
- identifiers,
1075
+ return (ticketNumber, options) => getTicket2(
1076
+ ticketNumber,
1193
1077
  options,
1194
1078
  // @ts-ignore
1195
1079
  { httpClient }
@@ -1212,16 +1096,15 @@ function deleteTicketCheckIns2(httpClient) {
1212
1096
  );
1213
1097
  }
1214
1098
  function updateTicket3(httpClient) {
1215
- return (identifiers, options) => updateTicket2(
1216
- identifiers,
1099
+ return (ticketNumber, options) => updateTicket2(
1100
+ ticketNumber,
1217
1101
  options,
1218
1102
  // @ts-ignore
1219
1103
  { httpClient }
1220
1104
  );
1221
1105
  }
1222
1106
  function bulkUpdateTickets3(httpClient) {
1223
- return (eventId, options) => bulkUpdateTickets2(
1224
- eventId,
1107
+ return (options) => bulkUpdateTickets2(
1225
1108
  options,
1226
1109
  // @ts-ignore
1227
1110
  { httpClient }