@wix/auto_sdk_events_ticket-definitions-v-2 1.0.53 → 1.0.55

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.
@@ -1,5 +1,12 @@
1
1
  import { NonNullablePaths } from '@wix/sdk-types';
2
2
 
3
+ /**
4
+ * A Ticket Definition is a reusable configuration for an event that specifies ticket settings such as pricing, service fee handling, availability limits, and sale period.
5
+ *
6
+ * You can use Ticket Definitions to define and manage ticket types, control inventory and sale windows, and automate updates via the API.
7
+ *
8
+ * Read more about [Ticket Definitions](https://support.wix.com/en/article/creating-tickets-for-your-event).
9
+ */
3
10
  interface TicketDefinition {
4
11
  /**
5
12
  * Ticket definition ID.
@@ -2074,6 +2081,13 @@ interface Agenda {
2074
2081
  */
2075
2082
  pageUrl?: SiteUrl;
2076
2083
  }
2084
+ /**
2085
+ * A Category is a classification object that groups related events on a site so you can organize and display them by themes, venues, or other facets.
2086
+ *
2087
+ * You can manage Categories, assign events to them, and use them to control the selection and order of events across different pages and widgets.
2088
+ *
2089
+ * Read more about [Categories](https://support.wix.com/en/article/creating-and-displaying-event-categories).
2090
+ */
2077
2091
  interface Category {
2078
2092
  /**
2079
2093
  * Category ID.
@@ -217,6 +217,9 @@ function createTicketDefinition(payload) {
217
217
  method: "POST",
218
218
  methodFqn: "wix.events.ticketdef.v3.TicketDefinitionManagement.CreateTicketDefinition",
219
219
  packageName: PACKAGE_NAME,
220
+ migrationOptions: {
221
+ optInTransformResponse: true
222
+ },
220
223
  url: resolveWixEventsTicketdefV3TicketDefinitionManagementUrl({
221
224
  protoPath: "/v3/ticket-definitions",
222
225
  data: serializedData,
@@ -307,6 +310,9 @@ function updateTicketDefinition(payload) {
307
310
  method: "PATCH",
308
311
  methodFqn: "wix.events.ticketdef.v3.TicketDefinitionManagement.UpdateTicketDefinition",
309
312
  packageName: PACKAGE_NAME,
313
+ migrationOptions: {
314
+ optInTransformResponse: true
315
+ },
310
316
  url: resolveWixEventsTicketdefV3TicketDefinitionManagementUrl({
311
317
  protoPath: "/v3/ticket-definitions/{ticketDefinition.id}",
312
318
  data: serializedData,
@@ -360,6 +366,9 @@ function getTicketDefinition(payload) {
360
366
  method: "GET",
361
367
  methodFqn: "wix.events.ticketdef.v3.TicketDefinitionManagement.GetTicketDefinition",
362
368
  packageName: PACKAGE_NAME,
369
+ migrationOptions: {
370
+ optInTransformResponse: true
371
+ },
363
372
  url: resolveWixEventsTicketdefV3TicketDefinitionManagementUrl({
364
373
  protoPath: "/v3/ticket-definitions/{ticketDefinitionId}",
365
374
  data: payload,
@@ -413,6 +422,9 @@ function deleteTicketDefinition(payload) {
413
422
  method: "DELETE",
414
423
  methodFqn: "wix.events.ticketdef.v3.TicketDefinitionManagement.DeleteTicketDefinition",
415
424
  packageName: PACKAGE_NAME,
425
+ migrationOptions: {
426
+ optInTransformResponse: true
427
+ },
416
428
  url: resolveWixEventsTicketdefV3TicketDefinitionManagementUrl({
417
429
  protoPath: "/v3/ticket-definitions/{ticketDefinitionId}",
418
430
  data: payload,
@@ -431,6 +443,9 @@ function reorderTicketDefinitions(payload) {
431
443
  method: "POST",
432
444
  methodFqn: "wix.events.ticketdef.v3.TicketDefinitionManagement.ReorderTicketDefinitions",
433
445
  packageName: PACKAGE_NAME,
446
+ migrationOptions: {
447
+ optInTransformResponse: true
448
+ },
434
449
  url: resolveWixEventsTicketdefV3TicketDefinitionManagementUrl({
435
450
  protoPath: "/v3/ticket-definitions/reorder",
436
451
  data: payload,
@@ -449,6 +464,9 @@ function queryTicketDefinitions(payload) {
449
464
  method: "POST",
450
465
  methodFqn: "wix.events.ticketdef.v3.TicketDefinitionManagement.QueryTicketDefinitions",
451
466
  packageName: PACKAGE_NAME,
467
+ migrationOptions: {
468
+ optInTransformResponse: true
469
+ },
452
470
  url: resolveWixEventsTicketdefV3TicketDefinitionManagementUrl({
453
471
  protoPath: "/v3/ticket-definitions/query",
454
472
  data: payload,
@@ -502,6 +520,9 @@ function queryAvailableTicketDefinitions(payload) {
502
520
  method: "POST",
503
521
  methodFqn: "wix.events.ticketdef.v3.TicketDefinitionManagement.QueryAvailableTicketDefinitions",
504
522
  packageName: PACKAGE_NAME,
523
+ migrationOptions: {
524
+ optInTransformResponse: true
525
+ },
505
526
  url: resolveWixEventsTicketdefV3TicketDefinitionManagementUrl({
506
527
  protoPath: "/v3/ticket-definitions/available/query",
507
528
  data: payload,
@@ -555,6 +576,9 @@ function countTicketDefinitions(payload) {
555
576
  method: "POST",
556
577
  methodFqn: "wix.events.ticketdef.v3.TicketDefinitionManagement.CountTicketDefinitions",
557
578
  packageName: PACKAGE_NAME,
579
+ migrationOptions: {
580
+ optInTransformResponse: true
581
+ },
558
582
  url: resolveWixEventsTicketdefV3TicketDefinitionManagementUrl({
559
583
  protoPath: "/v3/ticket-definitions/count",
560
584
  data: payload,
@@ -573,6 +597,9 @@ function countAvailableTicketDefinitions(payload) {
573
597
  method: "POST",
574
598
  methodFqn: "wix.events.ticketdef.v3.TicketDefinitionManagement.CountAvailableTicketDefinitions",
575
599
  packageName: PACKAGE_NAME,
600
+ migrationOptions: {
601
+ optInTransformResponse: true
602
+ },
576
603
  url: resolveWixEventsTicketdefV3TicketDefinitionManagementUrl({
577
604
  protoPath: "/v3/ticket-definitions/available/count",
578
605
  data: payload,
@@ -591,6 +618,9 @@ function bulkDeleteTicketDefinitionsByFilter(payload) {
591
618
  method: "POST",
592
619
  methodFqn: "wix.events.ticketdef.v3.TicketDefinitionManagement.BulkDeleteTicketDefinitionsByFilter",
593
620
  packageName: PACKAGE_NAME,
621
+ migrationOptions: {
622
+ optInTransformResponse: true
623
+ },
594
624
  url: resolveWixEventsTicketdefV3TicketDefinitionManagementUrl({
595
625
  protoPath: "/v3/bulk/ticket-definitions/delete",
596
626
  data: payload,
@@ -609,6 +639,9 @@ function changeCurrency(payload) {
609
639
  method: "POST",
610
640
  methodFqn: "wix.events.ticketdef.v3.TicketDefinitionManagement.ChangeCurrency",
611
641
  packageName: PACKAGE_NAME,
642
+ migrationOptions: {
643
+ optInTransformResponse: true
644
+ },
612
645
  url: resolveWixEventsTicketdefV3TicketDefinitionManagementUrl({
613
646
  protoPath: "/v3/ticket-definitions/currency",
614
647
  data: payload,