@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
@@ -9,490 +9,364 @@ import { transformPaths } from "@wix/sdk-runtime/transformations/transform-paths
9
9
  import { resolveUrl } from "@wix/sdk-runtime/rest-modules";
10
10
  function resolveWixEventsTicketingTicketManagementUrl(opts) {
11
11
  const domainToMappings = {
12
- "events._base_domain_": [
13
- {
14
- srcPath: "",
15
- destPath: ""
16
- },
17
- {
18
- srcPath: "/_api/wix-events-web",
19
- destPath: "/api"
20
- }
21
- ],
22
- "www.wixevents.com": [
23
- {
24
- srcPath: "/_api/wix-events-web",
25
- destPath: "/api"
26
- },
12
+ "manage._base_domain_": [
27
13
  {
28
- srcPath: "/api",
29
- destPath: "/api"
14
+ srcPath: "/_api/wix-events-web/v1/tickets",
15
+ destPath: "/v1/tickets"
30
16
  },
31
17
  {
32
- srcPath: "/viewEvent",
33
- destPath: "/viewEvent"
18
+ srcPath: "/events/v1/tickets",
19
+ destPath: "/v1/tickets"
34
20
  },
35
21
  {
36
- srcPath: "/viewRsvpDashboard",
37
- destPath: "/viewRsvpDashboard"
22
+ srcPath: "/events/v1/ticket-definitions",
23
+ destPath: "/v1/ticket-definitions"
38
24
  },
39
25
  {
40
- srcPath: "/viewOrderDashboard",
41
- destPath: "/viewOrderDashboard"
26
+ srcPath: "/events/v2/ticket-definitions",
27
+ destPath: "/v2/ticket-definitions"
42
28
  },
43
29
  {
44
- srcPath: "/viewSummarySubscription",
45
- destPath: "/viewSummarySubscription"
30
+ srcPath: "/events/v1/tickets/available",
31
+ destPath: "/v1/tickets/available"
46
32
  },
47
33
  {
48
- srcPath: "/check-in",
49
- destPath: "/check-in"
34
+ srcPath: "/events/v1/checkout",
35
+ destPath: "/v1/checkout"
50
36
  },
51
37
  {
52
- srcPath: "/v2",
53
- destPath: "/v2"
38
+ srcPath: "/events/v1/pos-checkout",
39
+ destPath: "/v1/pos-checkout"
54
40
  },
55
41
  {
56
- srcPath: "/export",
57
- destPath: "/export"
42
+ srcPath: "/_api/events/v1/ticket-definitions",
43
+ destPath: "/v1/ticket-definitions"
58
44
  },
59
45
  {
60
- srcPath: "/tickets",
61
- destPath: "/tickets"
46
+ srcPath: "/_api/events/v2/ticket-definitions",
47
+ destPath: "/v2/ticket-definitions"
62
48
  },
63
49
  {
64
- srcPath: "/payment-redirect",
65
- destPath: "/payment-redirect"
50
+ srcPath: "/_api/events/v1/tickets/available",
51
+ destPath: "/v1/tickets/available"
66
52
  },
67
53
  {
68
- srcPath: "/admin",
69
- destPath: "/admin"
54
+ srcPath: "/_api/events/v1/pos-checkout",
55
+ destPath: "/v1/pos-checkout"
70
56
  },
71
57
  {
72
- srcPath: "/ticket",
73
- destPath: "/ticket"
58
+ srcPath: "/_api/events/v1/checkout",
59
+ destPath: "/v1/checkout"
74
60
  },
75
61
  {
76
- srcPath: "/media",
77
- destPath: "/media"
78
- }
79
- ],
80
- "api._api_base_domain_": [
81
- {
82
- srcPath: "/wix-events-web",
83
- destPath: ""
84
- }
85
- ],
86
- "events.wixapps.net": [
87
- {
88
- srcPath: "/_api/wix-events-web",
62
+ srcPath: "/_api/events-ticketing-v1-proxy",
89
63
  destPath: "/api"
90
- },
91
- {
92
- srcPath: "/events",
93
- destPath: ""
94
64
  }
95
65
  ],
96
- "www._base_domain_": [
97
- {
98
- srcPath: "/_api/wix-events-web",
99
- destPath: "/api"
100
- },
101
- {
102
- srcPath: "/_api/wix-events-web/v2",
103
- destPath: "/v2"
104
- },
105
- {
106
- srcPath: "/_api/wix-events-web/v1/bulk-async/categories",
107
- destPath: "/v1/bulk-async/categories"
108
- },
66
+ "www.wixapis.com": [
109
67
  {
110
- srcPath: "/_api/wix-events-web/v1/bulk/categories",
111
- destPath: "/v1/bulk/categories"
68
+ srcPath: "/events/v1/ticket-definitions",
69
+ destPath: "/v1/ticket-definitions"
112
70
  },
113
71
  {
114
- srcPath: "/_api/wix-events-web/v1/categories",
115
- destPath: "/v1/categories"
72
+ srcPath: "/events/v2/ticket-definitions",
73
+ destPath: "/v2/ticket-definitions"
116
74
  },
117
75
  {
118
- srcPath: "/_api/wix-events-web/v1/events",
119
- destPath: "/v1/events"
76
+ srcPath: "/events/v1/tickets/available",
77
+ destPath: "/v1/tickets/available"
120
78
  },
121
79
  {
122
- srcPath: "/_api/wix-events-web/v1/orders",
123
- destPath: "/v1/orders"
80
+ srcPath: "/events/v1/checkout",
81
+ destPath: "/v1/checkout"
124
82
  },
125
83
  {
126
- srcPath: "/_api/wix-events-web/v1/tickets",
127
- destPath: "/v1/tickets"
84
+ srcPath: "/events/v1/pos-checkout",
85
+ destPath: "/v1/pos-checkout"
128
86
  }
129
87
  ],
130
- "apps._base_domain_": [
88
+ _: [
131
89
  {
132
- srcPath: "/_api/wix-events-web",
133
- destPath: "/api"
90
+ srcPath: "/_api/events/v1/ticket-definitions",
91
+ destPath: "/v1/ticket-definitions"
134
92
  },
135
93
  {
136
- srcPath: "/events",
137
- destPath: ""
138
- }
139
- ],
140
- "manage._base_domain_": [
141
- {
142
- srcPath: "/_api/wix-events-web",
143
- destPath: "/api"
94
+ srcPath: "/_api/events/v2/ticket-definition",
95
+ destPath: "/v2/ticket-definitions"
144
96
  },
145
97
  {
146
- srcPath: "/_api/wix-events-web/v1/events",
147
- destPath: "/v1/events"
98
+ srcPath: "/_api/events/v1/tickets/available",
99
+ destPath: "/v1/tickets/available"
148
100
  },
149
101
  {
150
- srcPath: "/_api/wix-events-web/v1/categories",
151
- destPath: "/v1/categories"
102
+ srcPath: "/_api/events/v1/pos-checkout",
103
+ destPath: "/v1/pos-checkout"
152
104
  },
153
105
  {
154
- srcPath: "/_api/wix-events-web/v2/events",
155
- destPath: "/v2/events"
106
+ srcPath: "/_api/events/v1/checkout",
107
+ destPath: "/v1/checkout"
156
108
  },
157
109
  {
158
- srcPath: "/_api/wix-events-web/v1/bulk/categories",
159
- destPath: "/v1/bulk/categories"
110
+ srcPath: "/_api/events-ticketing-v1-proxy/v1",
111
+ destPath: "/v1"
160
112
  },
161
113
  {
162
- srcPath: "/_api/wix-events-web/v1/bulk/events",
163
- destPath: "/v1/bulk/events"
114
+ srcPath: "/_api/events-ticketing-v1-proxy/v2",
115
+ destPath: "/v2"
164
116
  },
165
117
  {
166
- srcPath: "/_api/wix-events-web/v1/bulk-async/categories",
167
- destPath: "/v1/bulk-async/categories"
118
+ srcPath: "/_api/wix-events-web/v1/checkout",
119
+ destPath: "/v1/checkout"
168
120
  },
169
121
  {
170
- srcPath: "/_api/wix-events-web/v1/tickets",
171
- destPath: "/v1/tickets"
122
+ srcPath: "/_api/wix-events-web/v1/pos-checkout",
123
+ destPath: "/v1/pos-checkout"
172
124
  },
173
125
  {
174
- srcPath: "/events/v1/events",
175
- destPath: "/v1/events"
126
+ srcPath: "/_api/wix-events-web/v1/ticket-definitions",
127
+ destPath: "/v1/ticket-definitions"
176
128
  },
177
129
  {
178
- srcPath: "/events/v1/categories",
179
- destPath: "/v1/categories"
130
+ srcPath: "/_api/wix-events-web/v1/tickets/available",
131
+ destPath: "/v1/tickets/available"
132
+ }
133
+ ],
134
+ "editor._base_domain_": [
135
+ {
136
+ srcPath: "/_api/events/v1/ticket-definitions",
137
+ destPath: "/v1/ticket-definitions"
180
138
  },
181
139
  {
182
- srcPath: "/events/v1/bulk/categories",
183
- destPath: "/v1/bulk/categories"
140
+ srcPath: "/_api/events/v2/ticket-definitions",
141
+ destPath: "/v2/ticket-definitions"
184
142
  },
185
143
  {
186
- srcPath: "/events/v1/bulk-async/categories",
187
- destPath: "/v1/bulk-async/categories"
144
+ srcPath: "/_api/events/v1/tickets/available",
145
+ destPath: "/v1/tickets/available"
188
146
  },
189
147
  {
190
- srcPath: "/events/v1/bulk/events",
191
- destPath: "/v1/bulk/events"
148
+ srcPath: "/_api/events/v1/pos-checkout",
149
+ destPath: "/v1/pos-checkout"
192
150
  },
193
151
  {
194
- srcPath: "/events/v1/reports",
195
- destPath: "/v1/reports"
152
+ srcPath: "/_api/events/v1/checkout",
153
+ destPath: "/v1/checkout"
196
154
  },
197
155
  {
198
- srcPath: "/events/v1/tickets",
156
+ srcPath: "/_api/wix-events-web/v1/tickets",
199
157
  destPath: "/v1/tickets"
200
158
  },
201
159
  {
202
- srcPath: "/events/v1/orders",
203
- destPath: "/v1/orders"
160
+ srcPath: "/_api/wix-events-web/v1/checkout",
161
+ destPath: "/v1/checkout"
204
162
  },
205
163
  {
206
- srcPath: "/events/v1/web",
207
- destPath: "/v1/web"
164
+ srcPath: "/_api/wix-events-web/v1/ticket-definitions",
165
+ destPath: "/v1/ticket-definitions"
208
166
  },
209
167
  {
210
- srcPath: "/events/v2/tickets",
211
- destPath: "/v2/tickets"
168
+ srcPath: "/_api/wix-events-web/v1/tickets/available",
169
+ destPath: "/v1/tickets/available"
212
170
  },
213
171
  {
214
- srcPath: "/events/v2/events",
215
- destPath: "/v2/events"
172
+ srcPath: "/_api/wix-events-web/v1/pos-checkout",
173
+ destPath: "/v1/pos-checkout"
216
174
  }
217
175
  ],
218
- "www.wixapis.com": [
219
- {
220
- srcPath: "/events/v1/events",
221
- destPath: "/v1/events"
222
- },
223
- {
224
- srcPath: "/events/v1/tickets",
225
- destPath: "/v1/tickets"
226
- },
227
- {
228
- srcPath: "/events/v1/categories",
229
- destPath: "/v1/categories"
230
- },
176
+ "blocks._base_domain_": [
231
177
  {
232
- srcPath: "/events/v1/orders",
233
- destPath: "/v1/orders"
178
+ srcPath: "/_api/events/v1/ticket-definitions",
179
+ destPath: "/v1/ticket-definitions"
234
180
  },
235
181
  {
236
- srcPath: "/events/v1/bulk/categories",
237
- destPath: "/v1/bulk/categories"
182
+ srcPath: "/_api/events/v2/ticket-definitions",
183
+ destPath: "/v2/ticket-definitions"
238
184
  },
239
185
  {
240
- srcPath: "/events/v2/events",
241
- destPath: "/v2/events"
186
+ srcPath: "/_api/events/v1/tickets/available",
187
+ destPath: "/v1/tickets/available"
242
188
  },
243
189
  {
244
- srcPath: "/events/v1/bulk-async/categories",
245
- destPath: "/v1/bulk-async/categories"
246
- }
247
- ],
248
- "api._base_domain_": [
249
- {
250
- srcPath: "/events/v2",
251
- destPath: "/v2"
190
+ srcPath: "/_api/events/v1/pos-checkout",
191
+ destPath: "/v1/pos-checkout"
252
192
  },
253
193
  {
254
- srcPath: "/events/v1/bulk-async/categories",
255
- destPath: "/v1/bulk-async/categories"
194
+ srcPath: "/_api/events/v1/checkout",
195
+ destPath: "/v1/checkout"
256
196
  },
257
197
  {
258
- srcPath: "/events/v1/bulk/categories",
259
- destPath: "/v1/bulk/categories"
198
+ srcPath: "/_api/wix-events-web/v1/tickets",
199
+ destPath: "/v1/tickets"
260
200
  },
261
201
  {
262
- srcPath: "/events/v1/categories",
263
- destPath: "/v1/categories"
202
+ srcPath: "/_api/wix-events-web/v1/checkout",
203
+ destPath: "/v1/checkout"
264
204
  },
265
205
  {
266
- srcPath: "/events/v1/events",
267
- destPath: "/v1/events"
206
+ srcPath: "/_api/wix-events-web/v1/ticket-definitions",
207
+ destPath: "/v1/ticket-definitions"
268
208
  },
269
209
  {
270
- srcPath: "/events/v1/orders",
271
- destPath: "/v1/orders"
210
+ srcPath: "/_api/wix-events-web/v1/tickets/available",
211
+ destPath: "/v1/tickets/available"
272
212
  },
273
213
  {
274
- srcPath: "/events/v1/tickets",
275
- destPath: "/v1/tickets"
214
+ srcPath: "/_api/wix-events-web/v1/pos-checkout",
215
+ destPath: "/v1/pos-checkout"
276
216
  }
277
217
  ],
278
- _: [
279
- {
280
- srcPath: "/_api/wix-events-web/v2",
281
- destPath: "/v2"
282
- },
218
+ "create.editorx": [
283
219
  {
284
- srcPath: "/_api/wix-events-web/v1/bulk-async/categories",
285
- destPath: "/v1/bulk-async/categories"
220
+ srcPath: "/_api/events/v1/ticket-definitions",
221
+ destPath: "/v1/ticket-definitions"
286
222
  },
287
223
  {
288
- srcPath: "/_api/wix-events-web/v1/bulk/categories",
289
- destPath: "/v1/bulk/categories"
224
+ srcPath: "/_api/events/v2/ticket-definitions",
225
+ destPath: "/v2/ticket-definitions"
290
226
  },
291
227
  {
292
- srcPath: "/_api/wix-events-web/v1/categories",
293
- destPath: "/v1/categories"
228
+ srcPath: "/_api/events/v1/tickets/available",
229
+ destPath: "/v1/tickets/available"
294
230
  },
295
231
  {
296
- srcPath: "/_api/wix-events-web/v1/events",
297
- destPath: "/v1/events"
232
+ srcPath: "/_api/events/v1/pos-checkout",
233
+ destPath: "/v1/pos-checkout"
298
234
  },
299
235
  {
300
- srcPath: "/_api/wix-events-web/v1/orders",
301
- destPath: "/v1/orders"
236
+ srcPath: "/_api/events/v1/checkout",
237
+ destPath: "/v1/checkout"
302
238
  },
303
239
  {
304
240
  srcPath: "/_api/wix-events-web/v1/tickets",
305
241
  destPath: "/v1/tickets"
306
- }
307
- ],
308
- "editor.wixapps.net": [
309
- {
310
- srcPath: "/events/v2/events",
311
- destPath: "/v2/events"
312
242
  },
313
243
  {
314
- srcPath: "/_api/wix-events-web/v1/bulk-async/categories",
315
- destPath: "/v1/bulk-async/categories"
244
+ srcPath: "/_api/wix-events-web/v1/checkout",
245
+ destPath: "/v1/checkout"
316
246
  },
317
247
  {
318
- srcPath: "/_api/wix-events-web/v1/bulk/categories",
319
- destPath: "/v1/bulk/categories"
248
+ srcPath: "/_api/wix-events-web/v1/ticket-definitions",
249
+ destPath: "/v1/ticket-definitions"
320
250
  },
321
251
  {
322
- srcPath: "/_api/wix-events-web/v1/categories",
323
- destPath: "/v1/categories"
252
+ srcPath: "/_api/wix-events-web/v1/tickets/available",
253
+ destPath: "/v1/tickets/available"
324
254
  },
325
255
  {
326
- srcPath: "/_api/wix-events-web/v1/events",
327
- destPath: "/v1/events"
328
- },
329
- {
330
- srcPath: "/_api/wix-events-web/v1/orders",
331
- destPath: "/v1/orders"
332
- },
333
- {
334
- srcPath: "/_api/wix-events-web/v1/tickets",
335
- destPath: "/v1/tickets"
256
+ srcPath: "/_api/wix-events-web/v1/pos-checkout",
257
+ destPath: "/v1/pos-checkout"
336
258
  }
337
259
  ],
338
260
  "*.dev.wix-code.com": [
339
261
  {
340
- srcPath: "/_api/wix-events-web/v2",
341
- destPath: "/v2"
262
+ srcPath: "/_api/wix-events-web/v1/checkout",
263
+ destPath: "/v1/checkout"
342
264
  },
343
265
  {
344
- srcPath: "/_api/wix-events-web/v1/bulk-async/categories",
345
- destPath: "/v1/bulk-async/categories"
266
+ srcPath: "/_api/wix-events-web/v1/pos-checkout",
267
+ destPath: "/v1/pos-checkout"
346
268
  },
347
269
  {
348
- srcPath: "/_api/wix-events-web/v1/bulk/categories",
349
- destPath: "/v1/bulk/categories"
270
+ srcPath: "/_api/wix-events-web/v1/ticket-definitions",
271
+ destPath: "/v1/ticket-definitions"
350
272
  },
351
273
  {
352
- srcPath: "/_api/wix-events-web/v1/categories",
353
- destPath: "/v1/categories"
354
- },
355
- {
356
- srcPath: "/_api/wix-events-web/v1/events",
357
- destPath: "/v1/events"
358
- },
359
- {
360
- srcPath: "/_api/wix-events-web/v1/orders",
361
- destPath: "/v1/orders"
362
- },
363
- {
364
- srcPath: "/_api/wix-events-web/v1/tickets",
365
- destPath: "/v1/tickets"
274
+ srcPath: "/_api/wix-events-web/v1/tickets/available",
275
+ destPath: "/v1/tickets/available"
366
276
  }
367
277
  ],
368
278
  "*.pub.wix-code.com": [
369
279
  {
370
- srcPath: "/_api/wix-events-web/v1/bulk-async/categories",
371
- destPath: "/v1/bulk-async/categories"
372
- },
373
- {
374
- srcPath: "/_api/wix-events-web/v1/bulk/categories",
375
- destPath: "/v1/bulk/categories"
376
- },
377
- {
378
- srcPath: "/_api/wix-events-web/v1/categories",
379
- destPath: "/v1/categories"
280
+ srcPath: "/_api/wix-events-web/v1/checkout",
281
+ destPath: "/v1/checkout"
380
282
  },
381
283
  {
382
- srcPath: "/_api/wix-events-web/v1/events",
383
- destPath: "/v1/events"
284
+ srcPath: "/_api/wix-events-web/v1/ticket-definitions",
285
+ destPath: "/v1/ticket-definitions"
384
286
  },
385
287
  {
386
- srcPath: "/_api/wix-events-web/v1/orders",
387
- destPath: "/v1/orders"
288
+ srcPath: "/_api/wix-events-web/v1/tickets/available",
289
+ destPath: "/v1/tickets/available"
388
290
  },
389
291
  {
390
- srcPath: "/_api/wix-events-web/v1/tickets",
391
- destPath: "/v1/tickets"
292
+ srcPath: "/_api/wix-events-web/v1/pos-checkout",
293
+ destPath: "/v1/pos-checkout"
392
294
  }
393
295
  ],
394
- "editor-flow.wixapps.net": [
395
- {
396
- srcPath: "/_api/wix-events-web/v1/bulk-async/categories",
397
- destPath: "/v1/bulk-async/categories"
398
- },
296
+ "api._base_domain_": [
399
297
  {
400
- srcPath: "/_api/wix-events-web/v1/bulk/categories",
401
- destPath: "/v1/bulk/categories"
298
+ srcPath: "/events/v1/tickets",
299
+ destPath: "/v1/tickets"
402
300
  },
403
301
  {
404
- srcPath: "/_api/wix-events-web/v1/categories",
405
- destPath: "/v1/categories"
302
+ srcPath: "/events/v1/checkout",
303
+ destPath: "/v1/checkout"
406
304
  },
407
305
  {
408
- srcPath: "/_api/wix-events-web/v1/events",
409
- destPath: "/v1/events"
306
+ srcPath: "/events/v1/ticket-definitions",
307
+ destPath: "/v1/ticket-definitions"
410
308
  },
411
309
  {
412
- srcPath: "/_api/wix-events-web/v1/orders",
413
- destPath: "/v1/orders"
310
+ srcPath: "/events/v1/tickets/available",
311
+ destPath: "/v1/tickets/available"
414
312
  },
415
313
  {
416
- srcPath: "/_api/wix-events-web/v1/tickets",
417
- destPath: "/v1/tickets"
314
+ srcPath: "/events/v1/pos-checkout",
315
+ destPath: "/v1/pos-checkout"
418
316
  }
419
317
  ],
420
- "editor._base_domain_": [
421
- {
422
- srcPath: "/_api/wix-events-web/v1/bulk-async/categories",
423
- destPath: "/v1/bulk-async/categories"
424
- },
425
- {
426
- srcPath: "/_api/wix-events-web/v1/bulk/categories",
427
- destPath: "/v1/bulk/categories"
428
- },
318
+ "editor-flow.wixapps.net": [
429
319
  {
430
- srcPath: "/_api/wix-events-web/v1/categories",
431
- destPath: "/v1/categories"
320
+ srcPath: "/_api/wix-events-web/v1/checkout",
321
+ destPath: "/v1/checkout"
432
322
  },
433
323
  {
434
- srcPath: "/_api/wix-events-web/v1/events",
435
- destPath: "/v1/events"
324
+ srcPath: "/_api/wix-events-web/v1/ticket-definitions",
325
+ destPath: "/v1/ticket-definitions"
436
326
  },
437
327
  {
438
- srcPath: "/_api/wix-events-web/v1/orders",
439
- destPath: "/v1/orders"
328
+ srcPath: "/_api/wix-events-web/v1/tickets/available",
329
+ destPath: "/v1/tickets/available"
440
330
  },
441
331
  {
442
- srcPath: "/_api/wix-events-web/v1/tickets",
443
- destPath: "/v1/tickets"
332
+ srcPath: "/_api/wix-events-web/v1/pos-checkout",
333
+ destPath: "/v1/pos-checkout"
444
334
  }
445
335
  ],
446
- "blocks._base_domain_": [
447
- {
448
- srcPath: "/_api/wix-events-web/v1/bulk-async/categories",
449
- destPath: "/v1/bulk-async/categories"
450
- },
451
- {
452
- srcPath: "/_api/wix-events-web/v1/bulk/categories",
453
- destPath: "/v1/bulk/categories"
454
- },
336
+ "editor.wixapps.net": [
455
337
  {
456
- srcPath: "/_api/wix-events-web/v1/categories",
457
- destPath: "/v1/categories"
338
+ srcPath: "/_api/wix-events-web/v1/checkout",
339
+ destPath: "/v1/checkout"
458
340
  },
459
341
  {
460
- srcPath: "/_api/wix-events-web/v1/events",
461
- destPath: "/v1/events"
342
+ srcPath: "/_api/wix-events-web/v1/ticket-definitions",
343
+ destPath: "/v1/ticket-definitions"
462
344
  },
463
345
  {
464
- srcPath: "/_api/wix-events-web/v1/orders",
465
- destPath: "/v1/orders"
346
+ srcPath: "/_api/wix-events-web/v1/tickets/available",
347
+ destPath: "/v1/tickets/available"
466
348
  },
467
349
  {
468
- srcPath: "/_api/wix-events-web/v1/tickets",
469
- destPath: "/v1/tickets"
350
+ srcPath: "/_api/wix-events-web/v1/pos-checkout",
351
+ destPath: "/v1/pos-checkout"
470
352
  }
471
353
  ],
472
- "create.editorx": [
473
- {
474
- srcPath: "/_api/wix-events-web/v1/bulk-async/categories",
475
- destPath: "/v1/bulk-async/categories"
476
- },
477
- {
478
- srcPath: "/_api/wix-events-web/v1/bulk/categories",
479
- destPath: "/v1/bulk/categories"
480
- },
354
+ "www._base_domain_": [
481
355
  {
482
- srcPath: "/_api/wix-events-web/v1/categories",
483
- destPath: "/v1/categories"
356
+ srcPath: "/_api/wix-events-web/v1/checkout",
357
+ destPath: "/v1/checkout"
484
358
  },
485
359
  {
486
- srcPath: "/_api/wix-events-web/v1/events",
487
- destPath: "/v1/events"
360
+ srcPath: "/_api/wix-events-web/v1/ticket-definitions",
361
+ destPath: "/v1/ticket-definitions"
488
362
  },
489
363
  {
490
- srcPath: "/_api/wix-events-web/v1/orders",
491
- destPath: "/v1/orders"
364
+ srcPath: "/_api/wix-events-web/v1/tickets/available",
365
+ destPath: "/v1/tickets/available"
492
366
  },
493
367
  {
494
- srcPath: "/_api/wix-events-web/v1/tickets",
495
- destPath: "/v1/tickets"
368
+ srcPath: "/_api/wix-events-web/v1/pos-checkout",
369
+ destPath: "/v1/pos-checkout"
496
370
  }
497
371
  ]
498
372
  };
@@ -510,7 +384,7 @@ function listTickets(payload) {
510
384
  optInTransformResponse: true
511
385
  },
512
386
  url: resolveWixEventsTicketingTicketManagementUrl({
513
- protoPath: "/v1/events/{eventId}/tickets",
387
+ protoPath: "/v1/tickets",
514
388
  data: payload,
515
389
  host
516
390
  }),
@@ -540,7 +414,7 @@ function listTickets(payload) {
540
414
  {
541
415
  method: "GET",
542
416
  url: resolveWixEventsTicketingTicketManagementUrl({
543
- protoPath: "/v1/events/{eventId}/tickets",
417
+ protoPath: "/v1/tickets",
544
418
  data: payload,
545
419
  host
546
420
  }),
@@ -563,7 +437,7 @@ function getTicket(payload) {
563
437
  optInTransformResponse: true
564
438
  },
565
439
  url: resolveWixEventsTicketingTicketManagementUrl({
566
- protoPath: "/v1/events/{eventId}/tickets/{ticketNumber}",
440
+ protoPath: "/v1/tickets/{ticketNumber}",
567
441
  data: payload,
568
442
  host
569
443
  }),
@@ -588,7 +462,18 @@ function getTicket(payload) {
588
462
  }
589
463
  ]
590
464
  }
591
- ])
465
+ ]),
466
+ fallback: [
467
+ {
468
+ method: "GET",
469
+ url: resolveWixEventsTicketingTicketManagementUrl({
470
+ protoPath: "/v1/tickets/{ticketNumber}",
471
+ data: payload,
472
+ host
473
+ }),
474
+ params: toURLSearchParams(payload)
475
+ }
476
+ ]
592
477
  };
593
478
  return metadata;
594
479
  }
@@ -719,7 +604,7 @@ function updateTicket(payload) {
719
604
  optInTransformResponse: true
720
605
  },
721
606
  url: resolveWixEventsTicketingTicketManagementUrl({
722
- protoPath: "/v1/events/{eventId}/tickets/{ticketNumber}",
607
+ protoPath: "/v1/tickets/{ticketNumber}",
723
608
  data: serializedData,
724
609
  host
725
610
  }),
@@ -761,7 +646,7 @@ function bulkUpdateTickets(payload) {
761
646
  optInTransformResponse: true
762
647
  },
763
648
  url: resolveWixEventsTicketingTicketManagementUrl({
764
- protoPath: "/v1/events/{eventId}/tickets",
649
+ protoPath: "/v1/tickets",
765
650
  data: payload,
766
651
  host
767
652
  }),
@@ -852,7 +737,7 @@ var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
852
737
 
853
738
  // src/events-v1-ticket-tickets.meta.ts
854
739
  function listTickets2() {
855
- const payload = { eventId: ":eventId" };
740
+ const payload = {};
856
741
  const getRequestOptions = listTickets(payload);
857
742
  const getUrl = (context) => {
858
743
  const { url } = getRequestOptions(context);
@@ -861,8 +746,8 @@ function listTickets2() {
861
746
  return {
862
747
  getUrl,
863
748
  httpMethod: "GET",
864
- path: "/v1/events/{eventId}/tickets",
865
- pathParams: { eventId: "eventId" },
749
+ path: "/v1/tickets",
750
+ pathParams: {},
866
751
  __requestType: null,
867
752
  __originalRequestType: null,
868
753
  __responseType: null,
@@ -870,7 +755,7 @@ function listTickets2() {
870
755
  };
871
756
  }
872
757
  function getTicket2() {
873
- const payload = { eventId: ":eventId", ticketNumber: ":ticketNumber" };
758
+ const payload = { ticketNumber: ":ticketNumber" };
874
759
  const getRequestOptions = getTicket(payload);
875
760
  const getUrl = (context) => {
876
761
  const { url } = getRequestOptions(context);
@@ -879,8 +764,8 @@ function getTicket2() {
879
764
  return {
880
765
  getUrl,
881
766
  httpMethod: "GET",
882
- path: "/v1/events/{eventId}/tickets/{ticketNumber}",
883
- pathParams: { eventId: "eventId", ticketNumber: "ticketNumber" },
767
+ path: "/v1/tickets/{ticketNumber}",
768
+ pathParams: { ticketNumber: "ticketNumber" },
884
769
  __requestType: null,
885
770
  __originalRequestType: null,
886
771
  __responseType: null,
@@ -924,7 +809,7 @@ function deleteTicketCheckIns() {
924
809
  };
925
810
  }
926
811
  function updateTicket2() {
927
- const payload = { eventId: ":eventId", ticketNumber: ":ticketNumber" };
812
+ const payload = { ticketNumber: ":ticketNumber" };
928
813
  const getRequestOptions = updateTicket(payload);
929
814
  const getUrl = (context) => {
930
815
  const { url } = getRequestOptions(context);
@@ -933,8 +818,8 @@ function updateTicket2() {
933
818
  return {
934
819
  getUrl,
935
820
  httpMethod: "PATCH",
936
- path: "/v1/events/{eventId}/tickets/{ticketNumber}",
937
- pathParams: { eventId: "eventId", ticketNumber: "ticketNumber" },
821
+ path: "/v1/tickets/{ticketNumber}",
822
+ pathParams: { ticketNumber: "ticketNumber" },
938
823
  __requestType: null,
939
824
  __originalRequestType: null,
940
825
  __responseType: null,
@@ -942,7 +827,7 @@ function updateTicket2() {
942
827
  };
943
828
  }
944
829
  function bulkUpdateTickets2() {
945
- const payload = { eventId: ":eventId" };
830
+ const payload = {};
946
831
  const getRequestOptions = bulkUpdateTickets(payload);
947
832
  const getUrl = (context) => {
948
833
  const { url } = getRequestOptions(context);
@@ -951,8 +836,8 @@ function bulkUpdateTickets2() {
951
836
  return {
952
837
  getUrl,
953
838
  httpMethod: "PATCH",
954
- path: "/v1/events/{eventId}/tickets",
955
- pathParams: { eventId: "eventId" },
839
+ path: "/v1/tickets",
840
+ pathParams: {},
956
841
  __requestType: null,
957
842
  __originalRequestType: null,
958
843
  __responseType: null,