@wix/auto_sdk_events_ticket-definitions 1.0.34 → 1.0.36

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.
@@ -15,6 +15,32 @@ import { transformPaths } from "@wix/sdk-runtime/transformations/transform-paths
15
15
  import { resolveUrl } from "@wix/sdk-runtime/rest-modules";
16
16
  function resolveWixEventsTicketingTicketDefinitionManagementUrl(opts) {
17
17
  const domainToMappings = {
18
+ "www.wixapis.com": [
19
+ {
20
+ srcPath: "/events/v1/tickets",
21
+ destPath: "/v1/tickets"
22
+ },
23
+ {
24
+ srcPath: "/events/v1/ticket-definitions",
25
+ destPath: "/v1/ticket-definitions"
26
+ },
27
+ {
28
+ srcPath: "/events/v2/ticket-definitions",
29
+ destPath: "/v2/ticket-definitions"
30
+ },
31
+ {
32
+ srcPath: "/events/v1/tickets/available",
33
+ destPath: "/v1/tickets/available"
34
+ },
35
+ {
36
+ srcPath: "/events/v1/checkout",
37
+ destPath: "/v1/checkout"
38
+ },
39
+ {
40
+ srcPath: "/events/v1/pos-checkout",
41
+ destPath: "/v1/pos-checkout"
42
+ }
43
+ ],
18
44
  "manage._base_domain_": [
19
45
  {
20
46
  srcPath: "/_api/wix-events-web/v1/tickets",
@@ -69,28 +95,6 @@ function resolveWixEventsTicketingTicketDefinitionManagementUrl(opts) {
69
95
  destPath: "/api"
70
96
  }
71
97
  ],
72
- "www.wixapis.com": [
73
- {
74
- srcPath: "/events/v1/ticket-definitions",
75
- destPath: "/v1/ticket-definitions"
76
- },
77
- {
78
- srcPath: "/events/v2/ticket-definitions",
79
- destPath: "/v2/ticket-definitions"
80
- },
81
- {
82
- srcPath: "/events/v1/tickets/available",
83
- destPath: "/v1/tickets/available"
84
- },
85
- {
86
- srcPath: "/events/v1/checkout",
87
- destPath: "/v1/checkout"
88
- },
89
- {
90
- srcPath: "/events/v1/pos-checkout",
91
- destPath: "/v1/pos-checkout"
92
- }
93
- ],
94
98
  _: [
95
99
  {
96
100
  srcPath: "/_api/events/v1/ticket-definitions",
@@ -283,9 +287,17 @@ function resolveWixEventsTicketingTicketDefinitionManagementUrl(opts) {
283
287
  {
284
288
  srcPath: "/_api/wix-events-web/v1/tickets/available",
285
289
  destPath: "/v1/tickets/available"
290
+ },
291
+ {
292
+ srcPath: "/_api/wix-events-web/v1/tickets",
293
+ destPath: "/v1/tickets"
286
294
  }
287
295
  ],
288
296
  "*.pub.wix-code.com": [
297
+ {
298
+ srcPath: "/_api/wix-events-web/v1/tickets",
299
+ destPath: "/v1/tickets"
300
+ },
289
301
  {
290
302
  srcPath: "/_api/wix-events-web/v1/checkout",
291
303
  destPath: "/v1/checkout"
@@ -370,6 +382,10 @@ function resolveWixEventsTicketingTicketDefinitionManagementUrl(opts) {
370
382
  }
371
383
  ],
372
384
  "www._base_domain_": [
385
+ {
386
+ srcPath: "/_api/wix-events-web/v1/tickets",
387
+ destPath: "/v1/tickets"
388
+ },
373
389
  {
374
390
  srcPath: "/_api/wix-events-web/v1/checkout",
375
391
  destPath: "/v1/checkout"