@wix/auto_sdk_events_ticket-definitions 1.0.33 → 1.0.35

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",
@@ -132,6 +136,10 @@ function resolveWixEventsTicketingTicketDefinitionManagementUrl(opts) {
132
136
  srcPath: "/_api/wix-events-web/v1/ticket-definitions",
133
137
  destPath: "/v1/ticket-definitions"
134
138
  },
139
+ {
140
+ srcPath: "/_api/wix-events-web/v1/tickets",
141
+ destPath: "/v1/tickets"
142
+ },
135
143
  {
136
144
  srcPath: "/_api/wix-events-web/v1/tickets/available",
137
145
  destPath: "/v1/tickets/available"
@@ -322,6 +330,10 @@ function resolveWixEventsTicketingTicketDefinitionManagementUrl(opts) {
322
330
  }
323
331
  ],
324
332
  "editor-flow.wixapps.net": [
333
+ {
334
+ srcPath: "/_api/wix-events-web/v1/tickets",
335
+ destPath: "/v1/tickets"
336
+ },
325
337
  {
326
338
  srcPath: "/_api/wix-events-web/v1/checkout",
327
339
  destPath: "/v1/checkout"
@@ -340,6 +352,10 @@ function resolveWixEventsTicketingTicketDefinitionManagementUrl(opts) {
340
352
  }
341
353
  ],
342
354
  "editor.wixapps.net": [
355
+ {
356
+ srcPath: "/_api/wix-events-web/v1/tickets",
357
+ destPath: "/v1/tickets"
358
+ },
343
359
  {
344
360
  srcPath: "/_api/wix-events-web/v1/checkout",
345
361
  destPath: "/v1/checkout"