@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
@@ -46,490 +46,364 @@ var import_transform_paths = require("@wix/sdk-runtime/transformations/transform
46
46
  var import_rest_modules2 = require("@wix/sdk-runtime/rest-modules");
47
47
  function resolveWixEventsTicketingTicketManagementUrl(opts) {
48
48
  const domainToMappings = {
49
- "events._base_domain_": [
50
- {
51
- srcPath: "",
52
- destPath: ""
53
- },
54
- {
55
- srcPath: "/_api/wix-events-web",
56
- destPath: "/api"
57
- }
58
- ],
59
- "www.wixevents.com": [
60
- {
61
- srcPath: "/_api/wix-events-web",
62
- destPath: "/api"
63
- },
49
+ "manage._base_domain_": [
64
50
  {
65
- srcPath: "/api",
66
- destPath: "/api"
51
+ srcPath: "/_api/wix-events-web/v1/tickets",
52
+ destPath: "/v1/tickets"
67
53
  },
68
54
  {
69
- srcPath: "/viewEvent",
70
- destPath: "/viewEvent"
55
+ srcPath: "/events/v1/tickets",
56
+ destPath: "/v1/tickets"
71
57
  },
72
58
  {
73
- srcPath: "/viewRsvpDashboard",
74
- destPath: "/viewRsvpDashboard"
59
+ srcPath: "/events/v1/ticket-definitions",
60
+ destPath: "/v1/ticket-definitions"
75
61
  },
76
62
  {
77
- srcPath: "/viewOrderDashboard",
78
- destPath: "/viewOrderDashboard"
63
+ srcPath: "/events/v2/ticket-definitions",
64
+ destPath: "/v2/ticket-definitions"
79
65
  },
80
66
  {
81
- srcPath: "/viewSummarySubscription",
82
- destPath: "/viewSummarySubscription"
67
+ srcPath: "/events/v1/tickets/available",
68
+ destPath: "/v1/tickets/available"
83
69
  },
84
70
  {
85
- srcPath: "/check-in",
86
- destPath: "/check-in"
71
+ srcPath: "/events/v1/checkout",
72
+ destPath: "/v1/checkout"
87
73
  },
88
74
  {
89
- srcPath: "/v2",
90
- destPath: "/v2"
75
+ srcPath: "/events/v1/pos-checkout",
76
+ destPath: "/v1/pos-checkout"
91
77
  },
92
78
  {
93
- srcPath: "/export",
94
- destPath: "/export"
79
+ srcPath: "/_api/events/v1/ticket-definitions",
80
+ destPath: "/v1/ticket-definitions"
95
81
  },
96
82
  {
97
- srcPath: "/tickets",
98
- destPath: "/tickets"
83
+ srcPath: "/_api/events/v2/ticket-definitions",
84
+ destPath: "/v2/ticket-definitions"
99
85
  },
100
86
  {
101
- srcPath: "/payment-redirect",
102
- destPath: "/payment-redirect"
87
+ srcPath: "/_api/events/v1/tickets/available",
88
+ destPath: "/v1/tickets/available"
103
89
  },
104
90
  {
105
- srcPath: "/admin",
106
- destPath: "/admin"
91
+ srcPath: "/_api/events/v1/pos-checkout",
92
+ destPath: "/v1/pos-checkout"
107
93
  },
108
94
  {
109
- srcPath: "/ticket",
110
- destPath: "/ticket"
95
+ srcPath: "/_api/events/v1/checkout",
96
+ destPath: "/v1/checkout"
111
97
  },
112
98
  {
113
- srcPath: "/media",
114
- destPath: "/media"
115
- }
116
- ],
117
- "api._api_base_domain_": [
118
- {
119
- srcPath: "/wix-events-web",
120
- destPath: ""
121
- }
122
- ],
123
- "events.wixapps.net": [
124
- {
125
- srcPath: "/_api/wix-events-web",
99
+ srcPath: "/_api/events-ticketing-v1-proxy",
126
100
  destPath: "/api"
127
- },
128
- {
129
- srcPath: "/events",
130
- destPath: ""
131
101
  }
132
102
  ],
133
- "www._base_domain_": [
134
- {
135
- srcPath: "/_api/wix-events-web",
136
- destPath: "/api"
137
- },
138
- {
139
- srcPath: "/_api/wix-events-web/v2",
140
- destPath: "/v2"
141
- },
142
- {
143
- srcPath: "/_api/wix-events-web/v1/bulk-async/categories",
144
- destPath: "/v1/bulk-async/categories"
145
- },
103
+ "www.wixapis.com": [
146
104
  {
147
- srcPath: "/_api/wix-events-web/v1/bulk/categories",
148
- destPath: "/v1/bulk/categories"
105
+ srcPath: "/events/v1/ticket-definitions",
106
+ destPath: "/v1/ticket-definitions"
149
107
  },
150
108
  {
151
- srcPath: "/_api/wix-events-web/v1/categories",
152
- destPath: "/v1/categories"
109
+ srcPath: "/events/v2/ticket-definitions",
110
+ destPath: "/v2/ticket-definitions"
153
111
  },
154
112
  {
155
- srcPath: "/_api/wix-events-web/v1/events",
156
- destPath: "/v1/events"
113
+ srcPath: "/events/v1/tickets/available",
114
+ destPath: "/v1/tickets/available"
157
115
  },
158
116
  {
159
- srcPath: "/_api/wix-events-web/v1/orders",
160
- destPath: "/v1/orders"
117
+ srcPath: "/events/v1/checkout",
118
+ destPath: "/v1/checkout"
161
119
  },
162
120
  {
163
- srcPath: "/_api/wix-events-web/v1/tickets",
164
- destPath: "/v1/tickets"
121
+ srcPath: "/events/v1/pos-checkout",
122
+ destPath: "/v1/pos-checkout"
165
123
  }
166
124
  ],
167
- "apps._base_domain_": [
125
+ _: [
168
126
  {
169
- srcPath: "/_api/wix-events-web",
170
- destPath: "/api"
127
+ srcPath: "/_api/events/v1/ticket-definitions",
128
+ destPath: "/v1/ticket-definitions"
171
129
  },
172
130
  {
173
- srcPath: "/events",
174
- destPath: ""
175
- }
176
- ],
177
- "manage._base_domain_": [
178
- {
179
- srcPath: "/_api/wix-events-web",
180
- destPath: "/api"
131
+ srcPath: "/_api/events/v2/ticket-definition",
132
+ destPath: "/v2/ticket-definitions"
181
133
  },
182
134
  {
183
- srcPath: "/_api/wix-events-web/v1/events",
184
- destPath: "/v1/events"
135
+ srcPath: "/_api/events/v1/tickets/available",
136
+ destPath: "/v1/tickets/available"
185
137
  },
186
138
  {
187
- srcPath: "/_api/wix-events-web/v1/categories",
188
- destPath: "/v1/categories"
139
+ srcPath: "/_api/events/v1/pos-checkout",
140
+ destPath: "/v1/pos-checkout"
189
141
  },
190
142
  {
191
- srcPath: "/_api/wix-events-web/v2/events",
192
- destPath: "/v2/events"
143
+ srcPath: "/_api/events/v1/checkout",
144
+ destPath: "/v1/checkout"
193
145
  },
194
146
  {
195
- srcPath: "/_api/wix-events-web/v1/bulk/categories",
196
- destPath: "/v1/bulk/categories"
147
+ srcPath: "/_api/events-ticketing-v1-proxy/v1",
148
+ destPath: "/v1"
197
149
  },
198
150
  {
199
- srcPath: "/_api/wix-events-web/v1/bulk/events",
200
- destPath: "/v1/bulk/events"
151
+ srcPath: "/_api/events-ticketing-v1-proxy/v2",
152
+ destPath: "/v2"
201
153
  },
202
154
  {
203
- srcPath: "/_api/wix-events-web/v1/bulk-async/categories",
204
- destPath: "/v1/bulk-async/categories"
155
+ srcPath: "/_api/wix-events-web/v1/checkout",
156
+ destPath: "/v1/checkout"
205
157
  },
206
158
  {
207
- srcPath: "/_api/wix-events-web/v1/tickets",
208
- destPath: "/v1/tickets"
159
+ srcPath: "/_api/wix-events-web/v1/pos-checkout",
160
+ destPath: "/v1/pos-checkout"
209
161
  },
210
162
  {
211
- srcPath: "/events/v1/events",
212
- destPath: "/v1/events"
163
+ srcPath: "/_api/wix-events-web/v1/ticket-definitions",
164
+ destPath: "/v1/ticket-definitions"
213
165
  },
214
166
  {
215
- srcPath: "/events/v1/categories",
216
- destPath: "/v1/categories"
167
+ srcPath: "/_api/wix-events-web/v1/tickets/available",
168
+ destPath: "/v1/tickets/available"
169
+ }
170
+ ],
171
+ "editor._base_domain_": [
172
+ {
173
+ srcPath: "/_api/events/v1/ticket-definitions",
174
+ destPath: "/v1/ticket-definitions"
217
175
  },
218
176
  {
219
- srcPath: "/events/v1/bulk/categories",
220
- destPath: "/v1/bulk/categories"
177
+ srcPath: "/_api/events/v2/ticket-definitions",
178
+ destPath: "/v2/ticket-definitions"
221
179
  },
222
180
  {
223
- srcPath: "/events/v1/bulk-async/categories",
224
- destPath: "/v1/bulk-async/categories"
181
+ srcPath: "/_api/events/v1/tickets/available",
182
+ destPath: "/v1/tickets/available"
225
183
  },
226
184
  {
227
- srcPath: "/events/v1/bulk/events",
228
- destPath: "/v1/bulk/events"
185
+ srcPath: "/_api/events/v1/pos-checkout",
186
+ destPath: "/v1/pos-checkout"
229
187
  },
230
188
  {
231
- srcPath: "/events/v1/reports",
232
- destPath: "/v1/reports"
189
+ srcPath: "/_api/events/v1/checkout",
190
+ destPath: "/v1/checkout"
233
191
  },
234
192
  {
235
- srcPath: "/events/v1/tickets",
193
+ srcPath: "/_api/wix-events-web/v1/tickets",
236
194
  destPath: "/v1/tickets"
237
195
  },
238
196
  {
239
- srcPath: "/events/v1/orders",
240
- destPath: "/v1/orders"
197
+ srcPath: "/_api/wix-events-web/v1/checkout",
198
+ destPath: "/v1/checkout"
241
199
  },
242
200
  {
243
- srcPath: "/events/v1/web",
244
- destPath: "/v1/web"
201
+ srcPath: "/_api/wix-events-web/v1/ticket-definitions",
202
+ destPath: "/v1/ticket-definitions"
245
203
  },
246
204
  {
247
- srcPath: "/events/v2/tickets",
248
- destPath: "/v2/tickets"
205
+ srcPath: "/_api/wix-events-web/v1/tickets/available",
206
+ destPath: "/v1/tickets/available"
249
207
  },
250
208
  {
251
- srcPath: "/events/v2/events",
252
- destPath: "/v2/events"
209
+ srcPath: "/_api/wix-events-web/v1/pos-checkout",
210
+ destPath: "/v1/pos-checkout"
253
211
  }
254
212
  ],
255
- "www.wixapis.com": [
256
- {
257
- srcPath: "/events/v1/events",
258
- destPath: "/v1/events"
259
- },
260
- {
261
- srcPath: "/events/v1/tickets",
262
- destPath: "/v1/tickets"
263
- },
264
- {
265
- srcPath: "/events/v1/categories",
266
- destPath: "/v1/categories"
267
- },
213
+ "blocks._base_domain_": [
268
214
  {
269
- srcPath: "/events/v1/orders",
270
- destPath: "/v1/orders"
215
+ srcPath: "/_api/events/v1/ticket-definitions",
216
+ destPath: "/v1/ticket-definitions"
271
217
  },
272
218
  {
273
- srcPath: "/events/v1/bulk/categories",
274
- destPath: "/v1/bulk/categories"
219
+ srcPath: "/_api/events/v2/ticket-definitions",
220
+ destPath: "/v2/ticket-definitions"
275
221
  },
276
222
  {
277
- srcPath: "/events/v2/events",
278
- destPath: "/v2/events"
223
+ srcPath: "/_api/events/v1/tickets/available",
224
+ destPath: "/v1/tickets/available"
279
225
  },
280
226
  {
281
- srcPath: "/events/v1/bulk-async/categories",
282
- destPath: "/v1/bulk-async/categories"
283
- }
284
- ],
285
- "api._base_domain_": [
286
- {
287
- srcPath: "/events/v2",
288
- destPath: "/v2"
227
+ srcPath: "/_api/events/v1/pos-checkout",
228
+ destPath: "/v1/pos-checkout"
289
229
  },
290
230
  {
291
- srcPath: "/events/v1/bulk-async/categories",
292
- destPath: "/v1/bulk-async/categories"
231
+ srcPath: "/_api/events/v1/checkout",
232
+ destPath: "/v1/checkout"
293
233
  },
294
234
  {
295
- srcPath: "/events/v1/bulk/categories",
296
- destPath: "/v1/bulk/categories"
235
+ srcPath: "/_api/wix-events-web/v1/tickets",
236
+ destPath: "/v1/tickets"
297
237
  },
298
238
  {
299
- srcPath: "/events/v1/categories",
300
- destPath: "/v1/categories"
239
+ srcPath: "/_api/wix-events-web/v1/checkout",
240
+ destPath: "/v1/checkout"
301
241
  },
302
242
  {
303
- srcPath: "/events/v1/events",
304
- destPath: "/v1/events"
243
+ srcPath: "/_api/wix-events-web/v1/ticket-definitions",
244
+ destPath: "/v1/ticket-definitions"
305
245
  },
306
246
  {
307
- srcPath: "/events/v1/orders",
308
- destPath: "/v1/orders"
247
+ srcPath: "/_api/wix-events-web/v1/tickets/available",
248
+ destPath: "/v1/tickets/available"
309
249
  },
310
250
  {
311
- srcPath: "/events/v1/tickets",
312
- destPath: "/v1/tickets"
251
+ srcPath: "/_api/wix-events-web/v1/pos-checkout",
252
+ destPath: "/v1/pos-checkout"
313
253
  }
314
254
  ],
315
- _: [
316
- {
317
- srcPath: "/_api/wix-events-web/v2",
318
- destPath: "/v2"
319
- },
255
+ "create.editorx": [
320
256
  {
321
- srcPath: "/_api/wix-events-web/v1/bulk-async/categories",
322
- destPath: "/v1/bulk-async/categories"
257
+ srcPath: "/_api/events/v1/ticket-definitions",
258
+ destPath: "/v1/ticket-definitions"
323
259
  },
324
260
  {
325
- srcPath: "/_api/wix-events-web/v1/bulk/categories",
326
- destPath: "/v1/bulk/categories"
261
+ srcPath: "/_api/events/v2/ticket-definitions",
262
+ destPath: "/v2/ticket-definitions"
327
263
  },
328
264
  {
329
- srcPath: "/_api/wix-events-web/v1/categories",
330
- destPath: "/v1/categories"
265
+ srcPath: "/_api/events/v1/tickets/available",
266
+ destPath: "/v1/tickets/available"
331
267
  },
332
268
  {
333
- srcPath: "/_api/wix-events-web/v1/events",
334
- destPath: "/v1/events"
269
+ srcPath: "/_api/events/v1/pos-checkout",
270
+ destPath: "/v1/pos-checkout"
335
271
  },
336
272
  {
337
- srcPath: "/_api/wix-events-web/v1/orders",
338
- destPath: "/v1/orders"
273
+ srcPath: "/_api/events/v1/checkout",
274
+ destPath: "/v1/checkout"
339
275
  },
340
276
  {
341
277
  srcPath: "/_api/wix-events-web/v1/tickets",
342
278
  destPath: "/v1/tickets"
343
- }
344
- ],
345
- "editor.wixapps.net": [
346
- {
347
- srcPath: "/events/v2/events",
348
- destPath: "/v2/events"
349
279
  },
350
280
  {
351
- srcPath: "/_api/wix-events-web/v1/bulk-async/categories",
352
- destPath: "/v1/bulk-async/categories"
281
+ srcPath: "/_api/wix-events-web/v1/checkout",
282
+ destPath: "/v1/checkout"
353
283
  },
354
284
  {
355
- srcPath: "/_api/wix-events-web/v1/bulk/categories",
356
- destPath: "/v1/bulk/categories"
285
+ srcPath: "/_api/wix-events-web/v1/ticket-definitions",
286
+ destPath: "/v1/ticket-definitions"
357
287
  },
358
288
  {
359
- srcPath: "/_api/wix-events-web/v1/categories",
360
- destPath: "/v1/categories"
289
+ srcPath: "/_api/wix-events-web/v1/tickets/available",
290
+ destPath: "/v1/tickets/available"
361
291
  },
362
292
  {
363
- srcPath: "/_api/wix-events-web/v1/events",
364
- destPath: "/v1/events"
365
- },
366
- {
367
- srcPath: "/_api/wix-events-web/v1/orders",
368
- destPath: "/v1/orders"
369
- },
370
- {
371
- srcPath: "/_api/wix-events-web/v1/tickets",
372
- destPath: "/v1/tickets"
293
+ srcPath: "/_api/wix-events-web/v1/pos-checkout",
294
+ destPath: "/v1/pos-checkout"
373
295
  }
374
296
  ],
375
297
  "*.dev.wix-code.com": [
376
298
  {
377
- srcPath: "/_api/wix-events-web/v2",
378
- destPath: "/v2"
299
+ srcPath: "/_api/wix-events-web/v1/checkout",
300
+ destPath: "/v1/checkout"
379
301
  },
380
302
  {
381
- srcPath: "/_api/wix-events-web/v1/bulk-async/categories",
382
- destPath: "/v1/bulk-async/categories"
303
+ srcPath: "/_api/wix-events-web/v1/pos-checkout",
304
+ destPath: "/v1/pos-checkout"
383
305
  },
384
306
  {
385
- srcPath: "/_api/wix-events-web/v1/bulk/categories",
386
- destPath: "/v1/bulk/categories"
307
+ srcPath: "/_api/wix-events-web/v1/ticket-definitions",
308
+ destPath: "/v1/ticket-definitions"
387
309
  },
388
310
  {
389
- srcPath: "/_api/wix-events-web/v1/categories",
390
- destPath: "/v1/categories"
391
- },
392
- {
393
- srcPath: "/_api/wix-events-web/v1/events",
394
- destPath: "/v1/events"
395
- },
396
- {
397
- srcPath: "/_api/wix-events-web/v1/orders",
398
- destPath: "/v1/orders"
399
- },
400
- {
401
- srcPath: "/_api/wix-events-web/v1/tickets",
402
- destPath: "/v1/tickets"
311
+ srcPath: "/_api/wix-events-web/v1/tickets/available",
312
+ destPath: "/v1/tickets/available"
403
313
  }
404
314
  ],
405
315
  "*.pub.wix-code.com": [
406
316
  {
407
- srcPath: "/_api/wix-events-web/v1/bulk-async/categories",
408
- destPath: "/v1/bulk-async/categories"
409
- },
410
- {
411
- srcPath: "/_api/wix-events-web/v1/bulk/categories",
412
- destPath: "/v1/bulk/categories"
413
- },
414
- {
415
- srcPath: "/_api/wix-events-web/v1/categories",
416
- destPath: "/v1/categories"
317
+ srcPath: "/_api/wix-events-web/v1/checkout",
318
+ destPath: "/v1/checkout"
417
319
  },
418
320
  {
419
- srcPath: "/_api/wix-events-web/v1/events",
420
- destPath: "/v1/events"
321
+ srcPath: "/_api/wix-events-web/v1/ticket-definitions",
322
+ destPath: "/v1/ticket-definitions"
421
323
  },
422
324
  {
423
- srcPath: "/_api/wix-events-web/v1/orders",
424
- destPath: "/v1/orders"
325
+ srcPath: "/_api/wix-events-web/v1/tickets/available",
326
+ destPath: "/v1/tickets/available"
425
327
  },
426
328
  {
427
- srcPath: "/_api/wix-events-web/v1/tickets",
428
- destPath: "/v1/tickets"
329
+ srcPath: "/_api/wix-events-web/v1/pos-checkout",
330
+ destPath: "/v1/pos-checkout"
429
331
  }
430
332
  ],
431
- "editor-flow.wixapps.net": [
432
- {
433
- srcPath: "/_api/wix-events-web/v1/bulk-async/categories",
434
- destPath: "/v1/bulk-async/categories"
435
- },
333
+ "api._base_domain_": [
436
334
  {
437
- srcPath: "/_api/wix-events-web/v1/bulk/categories",
438
- destPath: "/v1/bulk/categories"
335
+ srcPath: "/events/v1/tickets",
336
+ destPath: "/v1/tickets"
439
337
  },
440
338
  {
441
- srcPath: "/_api/wix-events-web/v1/categories",
442
- destPath: "/v1/categories"
339
+ srcPath: "/events/v1/checkout",
340
+ destPath: "/v1/checkout"
443
341
  },
444
342
  {
445
- srcPath: "/_api/wix-events-web/v1/events",
446
- destPath: "/v1/events"
343
+ srcPath: "/events/v1/ticket-definitions",
344
+ destPath: "/v1/ticket-definitions"
447
345
  },
448
346
  {
449
- srcPath: "/_api/wix-events-web/v1/orders",
450
- destPath: "/v1/orders"
347
+ srcPath: "/events/v1/tickets/available",
348
+ destPath: "/v1/tickets/available"
451
349
  },
452
350
  {
453
- srcPath: "/_api/wix-events-web/v1/tickets",
454
- destPath: "/v1/tickets"
351
+ srcPath: "/events/v1/pos-checkout",
352
+ destPath: "/v1/pos-checkout"
455
353
  }
456
354
  ],
457
- "editor._base_domain_": [
458
- {
459
- srcPath: "/_api/wix-events-web/v1/bulk-async/categories",
460
- destPath: "/v1/bulk-async/categories"
461
- },
462
- {
463
- srcPath: "/_api/wix-events-web/v1/bulk/categories",
464
- destPath: "/v1/bulk/categories"
465
- },
355
+ "editor-flow.wixapps.net": [
466
356
  {
467
- srcPath: "/_api/wix-events-web/v1/categories",
468
- destPath: "/v1/categories"
357
+ srcPath: "/_api/wix-events-web/v1/checkout",
358
+ destPath: "/v1/checkout"
469
359
  },
470
360
  {
471
- srcPath: "/_api/wix-events-web/v1/events",
472
- destPath: "/v1/events"
361
+ srcPath: "/_api/wix-events-web/v1/ticket-definitions",
362
+ destPath: "/v1/ticket-definitions"
473
363
  },
474
364
  {
475
- srcPath: "/_api/wix-events-web/v1/orders",
476
- destPath: "/v1/orders"
365
+ srcPath: "/_api/wix-events-web/v1/tickets/available",
366
+ destPath: "/v1/tickets/available"
477
367
  },
478
368
  {
479
- srcPath: "/_api/wix-events-web/v1/tickets",
480
- destPath: "/v1/tickets"
369
+ srcPath: "/_api/wix-events-web/v1/pos-checkout",
370
+ destPath: "/v1/pos-checkout"
481
371
  }
482
372
  ],
483
- "blocks._base_domain_": [
484
- {
485
- srcPath: "/_api/wix-events-web/v1/bulk-async/categories",
486
- destPath: "/v1/bulk-async/categories"
487
- },
488
- {
489
- srcPath: "/_api/wix-events-web/v1/bulk/categories",
490
- destPath: "/v1/bulk/categories"
491
- },
373
+ "editor.wixapps.net": [
492
374
  {
493
- srcPath: "/_api/wix-events-web/v1/categories",
494
- destPath: "/v1/categories"
375
+ srcPath: "/_api/wix-events-web/v1/checkout",
376
+ destPath: "/v1/checkout"
495
377
  },
496
378
  {
497
- srcPath: "/_api/wix-events-web/v1/events",
498
- destPath: "/v1/events"
379
+ srcPath: "/_api/wix-events-web/v1/ticket-definitions",
380
+ destPath: "/v1/ticket-definitions"
499
381
  },
500
382
  {
501
- srcPath: "/_api/wix-events-web/v1/orders",
502
- destPath: "/v1/orders"
383
+ srcPath: "/_api/wix-events-web/v1/tickets/available",
384
+ destPath: "/v1/tickets/available"
503
385
  },
504
386
  {
505
- srcPath: "/_api/wix-events-web/v1/tickets",
506
- destPath: "/v1/tickets"
387
+ srcPath: "/_api/wix-events-web/v1/pos-checkout",
388
+ destPath: "/v1/pos-checkout"
507
389
  }
508
390
  ],
509
- "create.editorx": [
510
- {
511
- srcPath: "/_api/wix-events-web/v1/bulk-async/categories",
512
- destPath: "/v1/bulk-async/categories"
513
- },
514
- {
515
- srcPath: "/_api/wix-events-web/v1/bulk/categories",
516
- destPath: "/v1/bulk/categories"
517
- },
391
+ "www._base_domain_": [
518
392
  {
519
- srcPath: "/_api/wix-events-web/v1/categories",
520
- destPath: "/v1/categories"
393
+ srcPath: "/_api/wix-events-web/v1/checkout",
394
+ destPath: "/v1/checkout"
521
395
  },
522
396
  {
523
- srcPath: "/_api/wix-events-web/v1/events",
524
- destPath: "/v1/events"
397
+ srcPath: "/_api/wix-events-web/v1/ticket-definitions",
398
+ destPath: "/v1/ticket-definitions"
525
399
  },
526
400
  {
527
- srcPath: "/_api/wix-events-web/v1/orders",
528
- destPath: "/v1/orders"
401
+ srcPath: "/_api/wix-events-web/v1/tickets/available",
402
+ destPath: "/v1/tickets/available"
529
403
  },
530
404
  {
531
- srcPath: "/_api/wix-events-web/v1/tickets",
532
- destPath: "/v1/tickets"
405
+ srcPath: "/_api/wix-events-web/v1/pos-checkout",
406
+ destPath: "/v1/pos-checkout"
533
407
  }
534
408
  ]
535
409
  };
@@ -547,7 +421,7 @@ function listTickets(payload) {
547
421
  optInTransformResponse: true
548
422
  },
549
423
  url: resolveWixEventsTicketingTicketManagementUrl({
550
- protoPath: "/v1/events/{eventId}/tickets",
424
+ protoPath: "/v1/tickets",
551
425
  data: payload,
552
426
  host
553
427
  }),
@@ -577,7 +451,7 @@ function listTickets(payload) {
577
451
  {
578
452
  method: "GET",
579
453
  url: resolveWixEventsTicketingTicketManagementUrl({
580
- protoPath: "/v1/events/{eventId}/tickets",
454
+ protoPath: "/v1/tickets",
581
455
  data: payload,
582
456
  host
583
457
  }),
@@ -600,7 +474,7 @@ function getTicket(payload) {
600
474
  optInTransformResponse: true
601
475
  },
602
476
  url: resolveWixEventsTicketingTicketManagementUrl({
603
- protoPath: "/v1/events/{eventId}/tickets/{ticketNumber}",
477
+ protoPath: "/v1/tickets/{ticketNumber}",
604
478
  data: payload,
605
479
  host
606
480
  }),
@@ -625,7 +499,18 @@ function getTicket(payload) {
625
499
  }
626
500
  ]
627
501
  }
628
- ])
502
+ ]),
503
+ fallback: [
504
+ {
505
+ method: "GET",
506
+ url: resolveWixEventsTicketingTicketManagementUrl({
507
+ protoPath: "/v1/tickets/{ticketNumber}",
508
+ data: payload,
509
+ host
510
+ }),
511
+ params: (0, import_rest_modules.toURLSearchParams)(payload)
512
+ }
513
+ ]
629
514
  };
630
515
  return metadata;
631
516
  }
@@ -756,7 +641,7 @@ function updateTicket(payload) {
756
641
  optInTransformResponse: true
757
642
  },
758
643
  url: resolveWixEventsTicketingTicketManagementUrl({
759
- protoPath: "/v1/events/{eventId}/tickets/{ticketNumber}",
644
+ protoPath: "/v1/tickets/{ticketNumber}",
760
645
  data: serializedData,
761
646
  host
762
647
  }),
@@ -798,7 +683,7 @@ function bulkUpdateTickets(payload) {
798
683
  optInTransformResponse: true
799
684
  },
800
685
  url: resolveWixEventsTicketingTicketManagementUrl({
801
- protoPath: "/v1/events/{eventId}/tickets",
686
+ protoPath: "/v1/tickets",
802
687
  data: payload,
803
688
  host
804
689
  }),
@@ -889,7 +774,7 @@ var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
889
774
 
890
775
  // src/events-v1-ticket-tickets.meta.ts
891
776
  function listTickets2() {
892
- const payload = { eventId: ":eventId" };
777
+ const payload = {};
893
778
  const getRequestOptions = listTickets(payload);
894
779
  const getUrl = (context) => {
895
780
  const { url } = getRequestOptions(context);
@@ -898,8 +783,8 @@ function listTickets2() {
898
783
  return {
899
784
  getUrl,
900
785
  httpMethod: "GET",
901
- path: "/v1/events/{eventId}/tickets",
902
- pathParams: { eventId: "eventId" },
786
+ path: "/v1/tickets",
787
+ pathParams: {},
903
788
  __requestType: null,
904
789
  __originalRequestType: null,
905
790
  __responseType: null,
@@ -907,7 +792,7 @@ function listTickets2() {
907
792
  };
908
793
  }
909
794
  function getTicket2() {
910
- const payload = { eventId: ":eventId", ticketNumber: ":ticketNumber" };
795
+ const payload = { ticketNumber: ":ticketNumber" };
911
796
  const getRequestOptions = getTicket(payload);
912
797
  const getUrl = (context) => {
913
798
  const { url } = getRequestOptions(context);
@@ -916,8 +801,8 @@ function getTicket2() {
916
801
  return {
917
802
  getUrl,
918
803
  httpMethod: "GET",
919
- path: "/v1/events/{eventId}/tickets/{ticketNumber}",
920
- pathParams: { eventId: "eventId", ticketNumber: "ticketNumber" },
804
+ path: "/v1/tickets/{ticketNumber}",
805
+ pathParams: { ticketNumber: "ticketNumber" },
921
806
  __requestType: null,
922
807
  __originalRequestType: null,
923
808
  __responseType: null,
@@ -961,7 +846,7 @@ function deleteTicketCheckIns() {
961
846
  };
962
847
  }
963
848
  function updateTicket2() {
964
- const payload = { eventId: ":eventId", ticketNumber: ":ticketNumber" };
849
+ const payload = { ticketNumber: ":ticketNumber" };
965
850
  const getRequestOptions = updateTicket(payload);
966
851
  const getUrl = (context) => {
967
852
  const { url } = getRequestOptions(context);
@@ -970,8 +855,8 @@ function updateTicket2() {
970
855
  return {
971
856
  getUrl,
972
857
  httpMethod: "PATCH",
973
- path: "/v1/events/{eventId}/tickets/{ticketNumber}",
974
- pathParams: { eventId: "eventId", ticketNumber: "ticketNumber" },
858
+ path: "/v1/tickets/{ticketNumber}",
859
+ pathParams: { ticketNumber: "ticketNumber" },
975
860
  __requestType: null,
976
861
  __originalRequestType: null,
977
862
  __responseType: null,
@@ -979,7 +864,7 @@ function updateTicket2() {
979
864
  };
980
865
  }
981
866
  function bulkUpdateTickets2() {
982
- const payload = { eventId: ":eventId" };
867
+ const payload = {};
983
868
  const getRequestOptions = bulkUpdateTickets(payload);
984
869
  const getUrl = (context) => {
985
870
  const { url } = getRequestOptions(context);
@@ -988,8 +873,8 @@ function bulkUpdateTickets2() {
988
873
  return {
989
874
  getUrl,
990
875
  httpMethod: "PATCH",
991
- path: "/v1/events/{eventId}/tickets",
992
- pathParams: { eventId: "eventId" },
876
+ path: "/v1/tickets",
877
+ pathParams: {},
993
878
  __requestType: null,
994
879
  __originalRequestType: null,
995
880
  __responseType: null,