seatschart 0.1.1 → 0.2.0

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 (55) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +31 -3
  3. data/lib/seatschart/api/charts_api.rb +9 -9
  4. data/lib/seatschart/api/embed_api.rb +13 -2
  5. data/lib/seatschart/api/event_log_api.rb +2 -2
  6. data/lib/seatschart/api/events_api.rb +186 -20
  7. data/lib/seatschart/api/listings_api.rb +884 -0
  8. data/lib/seatschart/api/object_status_api.rb +2 -2
  9. data/lib/seatschart/api/seasons_api.rb +113 -8
  10. data/lib/seatschart/api/seats_api.rb +3 -22
  11. data/lib/seatschart/api/usage_api.rb +4 -4
  12. data/lib/seatschart/api/webhooks_api.rb +2 -2
  13. data/lib/seatschart/api/workspace_api.rb +4 -4
  14. data/lib/seatschart/models/api_error.rb +307 -0
  15. data/lib/seatschart/models/api_error_params_value.rb +105 -0
  16. data/lib/seatschart/models/get_api_monitoring_requests200_response.rb +17 -1
  17. data/lib/seatschart/models/get_api_monitoring_requests200_response_concurrency.rb +318 -0
  18. data/lib/seatschart/models/get_api_monitoring_requests200_response_concurrency_api_keys_inner.rb +297 -0
  19. data/lib/seatschart/models/get_api_monitoring_requests200_response_points_inner.rb +21 -4
  20. data/lib/seatschart/models/get_api_workspace_settings200_response_effective.rb +20 -4
  21. data/lib/seatschart/models/get_api_workspace_settings200_response_overrides.rb +13 -4
  22. data/lib/seatschart/models/get_api_workspace_settings200_response_sources.rb +32 -4
  23. data/lib/seatschart/models/patch_api_events_by_event_id_listings_by_listing_id_request.rb +379 -0
  24. data/lib/seatschart/models/patch_api_listing_types_by_key_request.rb +376 -0
  25. data/lib/seatschart/models/patch_api_seasons_by_season_id_partial_seasons_by_partial_season_id_request.rb +268 -0
  26. data/lib/seatschart/models/patch_api_seasons_by_season_id_request.rb +27 -1
  27. data/lib/seatschart/models/patch_api_webhooks_by_id_request.rb +1 -1
  28. data/lib/seatschart/models/patch_api_workspace_settings_request.rb +12 -1
  29. data/lib/seatschart/models/post_api_charts_by_chart_id_actions_validate_request_seats_inner_accessibility.rb +6 -6
  30. data/lib/seatschart/models/post_api_events_actions_change_object_status_request_status_changes_inner.rb +0 -11
  31. data/lib/seatschart/models/post_api_events_by_event_id_actions_change_object_status_request.rb +13 -26
  32. data/lib/seatschart/models/post_api_events_by_event_id_actions_change_object_status_request_listing.rb +392 -0
  33. data/lib/seatschart/models/post_api_events_by_event_id_actions_mark_everything_as_not_for_sale_request.rb +215 -0
  34. data/lib/seatschart/models/post_api_events_by_event_id_listings_by_listing_id_actions_mark_sold_request.rb +243 -0
  35. data/lib/seatschart/models/post_api_events_by_event_id_listings_request.rb +435 -0
  36. data/lib/seatschart/models/post_api_events_by_event_id_listings_request_objects_inner.rb +104 -0
  37. data/lib/seatschart/models/post_api_events_by_event_id_listings_request_objects_inner_any_of.rb +325 -0
  38. data/lib/seatschart/models/post_api_ga_confirm_request.rb +0 -44
  39. data/lib/seatschart/models/post_api_ga_release_request.rb +0 -11
  40. data/lib/seatschart/models/post_api_ga_reserve_request.rb +0 -33
  41. data/lib/seatschart/models/post_api_hold_tokens_request.rb +0 -22
  42. data/lib/seatschart/models/post_api_listing_types_request.rb +439 -0
  43. data/lib/seatschart/models/post_api_quotes_request.rb +0 -22
  44. data/lib/seatschart/models/post_api_seasons_by_season_id_partial_seasons_request.rb +27 -1
  45. data/lib/seatschart/models/post_api_seasons_request.rb +27 -1
  46. data/lib/seatschart/models/post_api_seats_best_available_request.rb +0 -11
  47. data/lib/seatschart/models/post_api_seats_confirm_request.rb +0 -44
  48. data/lib/seatschart/models/post_api_seats_release_request.rb +0 -11
  49. data/lib/seatschart/models/post_api_seats_reserve_request.rb +0 -22
  50. data/lib/seatschart/models/post_api_viewer_tokens_request.rb +0 -11
  51. data/lib/seatschart/models/post_api_webhooks_request.rb +1 -1
  52. data/lib/seatschart/models/put_api_charts_by_chart_id_map_draft_request.rb +348 -0
  53. data/lib/seatschart/version.rb +1 -1
  54. data/lib/seatschart.rb +16 -0
  55. metadata +17 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '015081fbdd2b5f20ea5cd0490d97d014c568f07cbeaa3b897d1f778d98089259'
4
- data.tar.gz: 2363e4ff2b8e5fcb5ff77779729031031f423fc14a650e5be42b5fac61fbe373
3
+ metadata.gz: 50a8e8a0d1a511850348fb276b8ca1b917158c2724ac437753aa01f4b64b964e
4
+ data.tar.gz: ca6de4f5e3e8da7440b24bf9fc3a54a3ba7bfa3a58b6ea217a3ed729f469de09
5
5
  SHA512:
6
- metadata.gz: 2acb34d9c79f92c47e952da0b07dbf46345f4ad02f757b84c240f27e03448cabdf252fa62f5bbdb6b0fc35dd907d4ab7c6c1b39e2ea6a01e32f1d2154ce49dae
7
- data.tar.gz: b3ea462978cbc7e4cf4e01754b6d3b0a33fa36bf52ac00e923b0b09bb8d7cdf0f01bc1a4990933588b021de56219dd0671e4352f7ac1d07bf04cc0a3cb000e11
6
+ metadata.gz: d56802d0cab1c13c4c55ea207706795afc28e0f2fa49edada12e88914fd96d2f1068fd45efacbdc2bf6711d46f0f6ec2a7f321d1b31b47796411b95014d1d959
7
+ data.tar.gz: ce0867640f567d48bdc09dcbe58c53be133a3f9118089a148f885302651141cc9a583d72671eda7c660195b509538b0063bbb8748971eb49ece94e2ffa6618c9
data/README.md CHANGED
@@ -21,7 +21,7 @@ Seat inventory and locking API for B2B2C integrations. Authenticate using `x-api
21
21
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
22
22
 
23
23
  - API version: 1.0.0
24
- - Package version: 0.1.1
24
+ - Package version: 0.2.0
25
25
  - Generator version: 7.11.0
26
26
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
27
27
 
@@ -34,7 +34,7 @@ gem install seatschart
34
34
  or add it to the Gemfile:
35
35
 
36
36
  ```ruby
37
- gem 'seatschart', '~> 0.1.1'
37
+ gem 'seatschart', '~> 0.2.0'
38
38
  ```
39
39
 
40
40
  ## Getting Started
@@ -238,6 +238,8 @@ Class | Method | HTTP request | Description
238
238
  *SeatsChart::EventsApi* | [**patch_api_events_by_event_id_inventory_channels_by_channel_key_id**](docs/EventsApi.md#patch_api_events_by_event_id_inventory_channels_by_channel_key_id) | **PATCH** /api/events/{eventId}/inventory/channels/{channelKeyId} | Rename or recolor an inventory channel
239
239
  *SeatsChart::EventsApi* | [**post_api_events**](docs/EventsApi.md#post_api_events) | **POST** /api/events | Create event
240
240
  *SeatsChart::EventsApi* | [**post_api_events_bulk**](docs/EventsApi.md#post_api_events_bulk) | **POST** /api/events/bulk | Create up to 50 events for one chart
241
+ *SeatsChart::EventsApi* | [**post_api_events_by_event_id_actions_mark_everything_as_for_sale**](docs/EventsApi.md#post_api_events_by_event_id_actions_mark_everything_as_for_sale) | **POST** /api/events/{eventId}/actions/mark-everything-as-for-sale | Put every object of the event back on sale
242
+ *SeatsChart::EventsApi* | [**post_api_events_by_event_id_actions_mark_everything_as_not_for_sale**](docs/EventsApi.md#post_api_events_by_event_id_actions_mark_everything_as_not_for_sale) | **POST** /api/events/{eventId}/actions/mark-everything-as-not-for-sale | Mark every object of the event not for sale
241
243
  *SeatsChart::EventsApi* | [**post_api_events_by_event_id_actions_move_to_new_chart_copy**](docs/EventsApi.md#post_api_events_by_event_id_actions_move_to_new_chart_copy) | **POST** /api/events/{eventId}/actions/move-to-new-chart-copy | Move the event to a new copy of its chart
242
244
  *SeatsChart::EventsApi* | [**post_api_events_by_event_id_duplicate**](docs/EventsApi.md#post_api_events_by_event_id_duplicate) | **POST** /api/events/{eventId}/duplicate | Duplicate event
243
245
  *SeatsChart::EventsApi* | [**post_api_events_by_event_id_inventory_channels**](docs/EventsApi.md#post_api_events_by_event_id_inventory_channels) | **POST** /api/events/{eventId}/inventory/channels | Create inventory channel
@@ -256,6 +258,16 @@ Class | Method | HTTP request | Description
256
258
  *SeatsChart::EventsApi* | [**put_api_events_by_event_id_pricing**](docs/EventsApi.md#put_api_events_by_event_id_pricing) | **PUT** /api/events/{eventId}/pricing | Push the synced price table of an event (synced catalog mode)
257
259
  *SeatsChart::EventsApi* | [**put_api_events_by_event_id_sales_rules**](docs/EventsApi.md#put_api_events_by_event_id_sales_rules) | **PUT** /api/events/{eventId}/sales-rules | Replace the sales rules of an event (quotas, lots, buyer limit, pricing source)
258
260
  *SeatsChart::HealthApi* | [**get_api_health**](docs/HealthApi.md#get_api_health) | **GET** /api/health | Health check
261
+ *SeatsChart::ListingsApi* | [**delete_api_listing_types_by_key**](docs/ListingsApi.md#delete_api_listing_types_by_key) | **DELETE** /api/listing-types/{key} | Delete a listing type
262
+ *SeatsChart::ListingsApi* | [**get_api_events_by_event_id_listings**](docs/ListingsApi.md#get_api_events_by_event_id_listings) | **GET** /api/events/{eventId}/listings | List the listings of an event
263
+ *SeatsChart::ListingsApi* | [**get_api_events_by_event_id_listings_by_listing_id**](docs/ListingsApi.md#get_api_events_by_event_id_listings_by_listing_id) | **GET** /api/events/{eventId}/listings/{listingId} | Read a listing
264
+ *SeatsChart::ListingsApi* | [**get_api_listing_types**](docs/ListingsApi.md#get_api_listing_types) | **GET** /api/listing-types | List the listing types of the workspace
265
+ *SeatsChart::ListingsApi* | [**patch_api_events_by_event_id_listings_by_listing_id**](docs/ListingsApi.md#patch_api_events_by_event_id_listings_by_listing_id) | **PATCH** /api/events/{eventId}/listings/{listingId} | Update an active listing
266
+ *SeatsChart::ListingsApi* | [**patch_api_listing_types_by_key**](docs/ListingsApi.md#patch_api_listing_types_by_key) | **PATCH** /api/listing-types/{key} | Update a listing type
267
+ *SeatsChart::ListingsApi* | [**post_api_events_by_event_id_listings**](docs/ListingsApi.md#post_api_events_by_event_id_listings) | **POST** /api/events/{eventId}/listings | Create a listing
268
+ *SeatsChart::ListingsApi* | [**post_api_events_by_event_id_listings_by_listing_id_actions_mark_sold**](docs/ListingsApi.md#post_api_events_by_event_id_listings_by_listing_id_actions_mark_sold) | **POST** /api/events/{eventId}/listings/{listingId}/actions/mark-sold | Mark a listing as sold
269
+ *SeatsChart::ListingsApi* | [**post_api_events_by_event_id_listings_by_listing_id_actions_withdraw**](docs/ListingsApi.md#post_api_events_by_event_id_listings_by_listing_id_actions_withdraw) | **POST** /api/events/{eventId}/listings/{listingId}/actions/withdraw | Withdraw a listing
270
+ *SeatsChart::ListingsApi* | [**post_api_listing_types**](docs/ListingsApi.md#post_api_listing_types) | **POST** /api/listing-types | Create a listing type
259
271
  *SeatsChart::MapDesignerApi* | [**post_api_extract_seats**](docs/MapDesignerApi.md#post_api_extract_seats) | **POST** /api/extract-seats | Extract seat candidates with OpenCV
260
272
  *SeatsChart::ObjectStatusApi* | [**get_api_events_by_event_id_object_statuses**](docs/ObjectStatusApi.md#get_api_events_by_event_id_object_statuses) | **GET** /api/events/{eventId}/object-statuses | List object status overlays for an event
261
273
  *SeatsChart::ObjectStatusApi* | [**post_api_events_actions_change_object_status**](docs/ObjectStatusApi.md#post_api_events_actions_change_object_status) | **POST** /api/events/actions/change-object-status | Atomically change object statuses across events (all-or-nothing batch)
@@ -329,6 +341,7 @@ Class | Method | HTTP request | Description
329
341
  *SeatsChart::SeasonsApi* | [**get_api_seasons_by_season_id_seats**](docs/SeasonsApi.md#get_api_seasons_by_season_id_seats) | **GET** /api/seasons/{seasonId}/seats | Season booking view (source geometry + intersection status)
330
342
  *SeatsChart::SeasonsApi* | [**patch_api_seasons_by_season_id**](docs/SeasonsApi.md#patch_api_seasons_by_season_id) | **PATCH** /api/seasons/{seasonId} | Update season
331
343
  *SeatsChart::SeasonsApi* | [**patch_api_seasons_by_season_id_events_by_event_id**](docs/SeasonsApi.md#patch_api_seasons_by_season_id_events_by_event_id) | **PATCH** /api/seasons/{seasonId}/events/{eventId} | Season member settings (forSalePropagated)
344
+ *SeatsChart::SeasonsApi* | [**patch_api_seasons_by_season_id_partial_seasons_by_partial_season_id**](docs/SeasonsApi.md#patch_api_seasons_by_season_id_partial_seasons_by_partial_season_id) | **PATCH** /api/seasons/{seasonId}/partial-seasons/{partialSeasonId} | Rename a partial season or set its key
332
345
  *SeatsChart::SeasonsApi* | [**post_api_events_by_event_id_actions_override_season_status**](docs/SeasonsApi.md#post_api_events_by_event_id_actions_override_season_status) | **POST** /api/events/{eventId}/actions/override-season-status | Override the season status of objects in an event (OVERRIDE_SEASON_STATUS)
333
346
  *SeatsChart::SeasonsApi* | [**post_api_events_by_event_id_actions_use_season_status**](docs/SeasonsApi.md#post_api_events_by_event_id_actions_use_season_status) | **POST** /api/events/{eventId}/actions/use-season-status | Make objects follow the season status again (USE_SEASON_STATUS)
334
347
  *SeatsChart::SeasonsApi* | [**post_api_seasons**](docs/SeasonsApi.md#post_api_seasons) | **POST** /api/seasons | Create season
@@ -361,7 +374,7 @@ Class | Method | HTTP request | Description
361
374
  *SeatsChart::TeamApi* | [**get_api_team_members**](docs/TeamApi.md#get_api_team_members) | **GET** /api/team/members | List workspace members
362
375
  *SeatsChart::TeamApi* | [**patch_api_team_members_by_user_id**](docs/TeamApi.md#patch_api_team_members_by_user_id) | **PATCH** /api/team/members/{userId} | Change member role
363
376
  *SeatsChart::TeamApi* | [**post_api_team_invitations**](docs/TeamApi.md#post_api_team_invitations) | **POST** /api/team/invitations | Invite a teammate by email
364
- *SeatsChart::UsageApi* | [**get_api_monitoring_requests**](docs/UsageApi.md#get_api_monitoring_requests) | **GET** /api/monitoring/requests | Request monitoring per rate-limit lane
377
+ *SeatsChart::UsageApi* | [**get_api_monitoring_requests**](docs/UsageApi.md#get_api_monitoring_requests) | **GET** /api/monitoring/requests | Request monitoring per rate-limit lane, with in-flight (concurrent) requests
365
378
  *SeatsChart::UsageApi* | [**get_api_usage**](docs/UsageApi.md#get_api_usage) | **GET** /api/usage | Monthly usage: used objects, charts and events
366
379
  *SeatsChart::UsageApi* | [**get_api_usage_charts**](docs/UsageApi.md#get_api_usage_charts) | **GET** /api/usage/charts | Monthly used objects per chart and event
367
380
  *SeatsChart::UsageApi* | [**get_api_usage_events**](docs/UsageApi.md#get_api_usage_events) | **GET** /api/usage/events | Monthly used objects per event (paginated)
@@ -399,6 +412,8 @@ Class | Method | HTTP request | Description
399
412
 
400
413
  ## Documentation for Models
401
414
 
415
+ - [SeatsChart::ApiError](docs/ApiError.md)
416
+ - [SeatsChart::ApiErrorParamsValue](docs/ApiErrorParamsValue.md)
402
417
  - [SeatsChart::DeleteApiWorkspacesByWorkspaceId200Response](docs/DeleteApiWorkspacesByWorkspaceId200Response.md)
403
418
  - [SeatsChart::GetApiChartsByChartIdVersions200Response](docs/GetApiChartsByChartIdVersions200Response.md)
404
419
  - [SeatsChart::GetApiChartsByChartIdVersions200ResponseItemsInner](docs/GetApiChartsByChartIdVersions200ResponseItemsInner.md)
@@ -409,6 +424,8 @@ Class | Method | HTTP request | Description
409
424
  - [SeatsChart::GetApiEventsByEventIdSeatViews200ResponseViewsValue](docs/GetApiEventsByEventIdSeatViews200ResponseViewsValue.md)
410
425
  - [SeatsChart::GetApiEventsByEventIdSeatViews404Response](docs/GetApiEventsByEventIdSeatViews404Response.md)
411
426
  - [SeatsChart::GetApiMonitoringRequests200Response](docs/GetApiMonitoringRequests200Response.md)
427
+ - [SeatsChart::GetApiMonitoringRequests200ResponseConcurrency](docs/GetApiMonitoringRequests200ResponseConcurrency.md)
428
+ - [SeatsChart::GetApiMonitoringRequests200ResponseConcurrencyApiKeysInner](docs/GetApiMonitoringRequests200ResponseConcurrencyApiKeysInner.md)
412
429
  - [SeatsChart::GetApiMonitoringRequests200ResponseLanes](docs/GetApiMonitoringRequests200ResponseLanes.md)
413
430
  - [SeatsChart::GetApiMonitoringRequests200ResponseLanesSales](docs/GetApiMonitoringRequests200ResponseLanesSales.md)
414
431
  - [SeatsChart::GetApiMonitoringRequests200ResponsePointsInner](docs/GetApiMonitoringRequests200ResponsePointsInner.md)
@@ -424,11 +441,14 @@ Class | Method | HTTP request | Description
424
441
  - [SeatsChart::PatchApiChartsByChartIdCategoriesByCategoryIdRequest](docs/PatchApiChartsByChartIdCategoriesByCategoryIdRequest.md)
425
442
  - [SeatsChart::PatchApiChartsByChartIdRequest](docs/PatchApiChartsByChartIdRequest.md)
426
443
  - [SeatsChart::PatchApiEventsByEventIdInventoryChannelsByChannelKeyIdRequest](docs/PatchApiEventsByEventIdInventoryChannelsByChannelKeyIdRequest.md)
444
+ - [SeatsChart::PatchApiEventsByEventIdListingsByListingIdRequest](docs/PatchApiEventsByEventIdListingsByListingIdRequest.md)
427
445
  - [SeatsChart::PatchApiEventsByEventIdRequest](docs/PatchApiEventsByEventIdRequest.md)
428
446
  - [SeatsChart::PatchApiEventsByEventIdRequestCategoriesInner](docs/PatchApiEventsByEventIdRequestCategoriesInner.md)
429
447
  - [SeatsChart::PatchApiEventsByEventIdRequestTableBookingConfig](docs/PatchApiEventsByEventIdRequestTableBookingConfig.md)
430
448
  - [SeatsChart::PatchApiKeysByIdRequest](docs/PatchApiKeysByIdRequest.md)
449
+ - [SeatsChart::PatchApiListingTypesByKeyRequest](docs/PatchApiListingTypesByKeyRequest.md)
431
450
  - [SeatsChart::PatchApiSeasonsBySeasonIdEventsByEventIdRequest](docs/PatchApiSeasonsBySeasonIdEventsByEventIdRequest.md)
451
+ - [SeatsChart::PatchApiSeasonsBySeasonIdPartialSeasonsByPartialSeasonIdRequest](docs/PatchApiSeasonsBySeasonIdPartialSeasonsByPartialSeasonIdRequest.md)
432
452
  - [SeatsChart::PatchApiSeasonsBySeasonIdRequest](docs/PatchApiSeasonsBySeasonIdRequest.md)
433
453
  - [SeatsChart::PatchApiTeamMembersByUserIdRequest](docs/PatchApiTeamMembersByUserIdRequest.md)
434
454
  - [SeatsChart::PatchApiWebhooksByIdRequest](docs/PatchApiWebhooksByIdRequest.md)
@@ -475,6 +495,8 @@ Class | Method | HTTP request | Description
475
495
  - [SeatsChart::PostApiEventsBulkRequest](docs/PostApiEventsBulkRequest.md)
476
496
  - [SeatsChart::PostApiEventsBulkRequestEventsInner](docs/PostApiEventsBulkRequestEventsInner.md)
477
497
  - [SeatsChart::PostApiEventsByEventIdActionsChangeObjectStatusRequest](docs/PostApiEventsByEventIdActionsChangeObjectStatusRequest.md)
498
+ - [SeatsChart::PostApiEventsByEventIdActionsChangeObjectStatusRequestListing](docs/PostApiEventsByEventIdActionsChangeObjectStatusRequestListing.md)
499
+ - [SeatsChart::PostApiEventsByEventIdActionsMarkEverythingAsNotForSaleRequest](docs/PostApiEventsByEventIdActionsMarkEverythingAsNotForSaleRequest.md)
478
500
  - [SeatsChart::PostApiEventsByEventIdActionsOverrideSeasonStatusRequest](docs/PostApiEventsByEventIdActionsOverrideSeasonStatusRequest.md)
479
501
  - [SeatsChart::PostApiEventsByEventIdActionsUpdateExtraDataRequest](docs/PostApiEventsByEventIdActionsUpdateExtraDataRequest.md)
480
502
  - [SeatsChart::PostApiEventsByEventIdActionsUpdateExtraDataRequestObjectsInner](docs/PostApiEventsByEventIdActionsUpdateExtraDataRequestObjectsInner.md)
@@ -483,6 +505,10 @@ Class | Method | HTTP request | Description
483
505
  - [SeatsChart::PostApiEventsByEventIdInventoryChannelsAssignRequest](docs/PostApiEventsByEventIdInventoryChannelsAssignRequest.md)
484
506
  - [SeatsChart::PostApiEventsByEventIdInventoryChannelsRequest](docs/PostApiEventsByEventIdInventoryChannelsRequest.md)
485
507
  - [SeatsChart::PostApiEventsByEventIdInventoryForSaleApplyRequest](docs/PostApiEventsByEventIdInventoryForSaleApplyRequest.md)
508
+ - [SeatsChart::PostApiEventsByEventIdListingsByListingIdActionsMarkSoldRequest](docs/PostApiEventsByEventIdListingsByListingIdActionsMarkSoldRequest.md)
509
+ - [SeatsChart::PostApiEventsByEventIdListingsRequest](docs/PostApiEventsByEventIdListingsRequest.md)
510
+ - [SeatsChart::PostApiEventsByEventIdListingsRequestObjectsInner](docs/PostApiEventsByEventIdListingsRequestObjectsInner.md)
511
+ - [SeatsChart::PostApiEventsByEventIdListingsRequestObjectsInnerAnyOf](docs/PostApiEventsByEventIdListingsRequestObjectsInnerAnyOf.md)
486
512
  - [SeatsChart::PostApiEventsByEventIdObjectsActionsRetrieveRequest](docs/PostApiEventsByEventIdObjectsActionsRetrieveRequest.md)
487
513
  - [SeatsChart::PostApiEventsRequest](docs/PostApiEventsRequest.md)
488
514
  - [SeatsChart::PostApiEventsRequestCategoryOverridesValue](docs/PostApiEventsRequestCategoryOverridesValue.md)
@@ -497,6 +523,7 @@ Class | Method | HTTP request | Description
497
523
  - [SeatsChart::PostApiHoldTokensByTokenRequest](docs/PostApiHoldTokensByTokenRequest.md)
498
524
  - [SeatsChart::PostApiHoldTokensRequest](docs/PostApiHoldTokensRequest.md)
499
525
  - [SeatsChart::PostApiKeysRequest](docs/PostApiKeysRequest.md)
526
+ - [SeatsChart::PostApiListingTypesRequest](docs/PostApiListingTypesRequest.md)
500
527
  - [SeatsChart::PostApiOrdersByOrderIdCancelRequest](docs/PostApiOrdersByOrderIdCancelRequest.md)
501
528
  - [SeatsChart::PostApiQuotesRequest](docs/PostApiQuotesRequest.md)
502
529
  - [SeatsChart::PostApiSeasonsBySeasonIdActionsAddEventsRequest](docs/PostApiSeasonsBySeasonIdActionsAddEventsRequest.md)
@@ -518,6 +545,7 @@ Class | Method | HTTP request | Description
518
545
  - [SeatsChart::PostApiViewerTokensRequest](docs/PostApiViewerTokensRequest.md)
519
546
  - [SeatsChart::PostApiWebhooksRequest](docs/PostApiWebhooksRequest.md)
520
547
  - [SeatsChart::PostApiWorkspacesRequest](docs/PostApiWorkspacesRequest.md)
548
+ - [SeatsChart::PutApiChartsByChartIdMapDraftRequest](docs/PutApiChartsByChartIdMapDraftRequest.md)
521
549
  - [SeatsChart::PutApiChartsByChartIdTagsRequest](docs/PutApiChartsByChartIdTagsRequest.md)
522
550
  - [SeatsChart::PutApiChartsByChartIdVersionsByVersionThumbnailRequest](docs/PutApiChartsByChartIdVersionsByVersionThumbnailRequest.md)
523
551
  - [SeatsChart::PutApiEventsByEventIdInventoryChannelsDefinitionsRequest](docs/PutApiEventsByEventIdInventoryChannelsDefinitionsRequest.md)
@@ -3914,23 +3914,23 @@ module SeatsChart
3914
3914
  # Save chart map draft
3915
3915
  # Saves the designer draft (`draftUpdatedAt` in the response). With `baseDraftUpdatedAt` the save is conflict-safe: 409 `draft_conflict` (with the current `draftUpdatedAt`) when the draft changed since that version — used by the designer autosave.
3916
3916
  # @param chart_id [String]
3917
- # @param post_api_charts_by_chart_id_actions_validate_request [PostApiChartsByChartIdActionsValidateRequest]
3917
+ # @param put_api_charts_by_chart_id_map_draft_request [PutApiChartsByChartIdMapDraftRequest]
3918
3918
  # @param [Hash] opts the optional parameters
3919
3919
  # @option opts [String] :idempotency_key Required on transactional routes. Reuse the same key for every retry of one logical operation; the API replays the stored outcome.
3920
3920
  # @return [nil]
3921
- def put_api_charts_by_chart_id_map_draft(chart_id, post_api_charts_by_chart_id_actions_validate_request, opts = {})
3922
- put_api_charts_by_chart_id_map_draft_with_http_info(chart_id, post_api_charts_by_chart_id_actions_validate_request, opts)
3921
+ def put_api_charts_by_chart_id_map_draft(chart_id, put_api_charts_by_chart_id_map_draft_request, opts = {})
3922
+ put_api_charts_by_chart_id_map_draft_with_http_info(chart_id, put_api_charts_by_chart_id_map_draft_request, opts)
3923
3923
  nil
3924
3924
  end
3925
3925
 
3926
3926
  # Save chart map draft
3927
3927
  # Saves the designer draft (`draftUpdatedAt` in the response). With `baseDraftUpdatedAt` the save is conflict-safe: 409 `draft_conflict` (with the current `draftUpdatedAt`) when the draft changed since that version — used by the designer autosave.
3928
3928
  # @param chart_id [String]
3929
- # @param post_api_charts_by_chart_id_actions_validate_request [PostApiChartsByChartIdActionsValidateRequest]
3929
+ # @param put_api_charts_by_chart_id_map_draft_request [PutApiChartsByChartIdMapDraftRequest]
3930
3930
  # @param [Hash] opts the optional parameters
3931
3931
  # @option opts [String] :idempotency_key Required on transactional routes. Reuse the same key for every retry of one logical operation; the API replays the stored outcome.
3932
3932
  # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
3933
- def put_api_charts_by_chart_id_map_draft_with_http_info(chart_id, post_api_charts_by_chart_id_actions_validate_request, opts = {})
3933
+ def put_api_charts_by_chart_id_map_draft_with_http_info(chart_id, put_api_charts_by_chart_id_map_draft_request, opts = {})
3934
3934
  if @api_client.config.debugging
3935
3935
  @api_client.config.logger.debug 'Calling API: ChartsApi.put_api_charts_by_chart_id_map_draft ...'
3936
3936
  end
@@ -3946,9 +3946,9 @@ module SeatsChart
3946
3946
  fail ArgumentError, 'invalid value for "chart_id" when calling ChartsApi.put_api_charts_by_chart_id_map_draft, the character length must be great than or equal to 36.'
3947
3947
  end
3948
3948
 
3949
- # verify the required parameter 'post_api_charts_by_chart_id_actions_validate_request' is set
3950
- if @api_client.config.client_side_validation && post_api_charts_by_chart_id_actions_validate_request.nil?
3951
- fail ArgumentError, "Missing the required parameter 'post_api_charts_by_chart_id_actions_validate_request' when calling ChartsApi.put_api_charts_by_chart_id_map_draft"
3949
+ # verify the required parameter 'put_api_charts_by_chart_id_map_draft_request' is set
3950
+ if @api_client.config.client_side_validation && put_api_charts_by_chart_id_map_draft_request.nil?
3951
+ fail ArgumentError, "Missing the required parameter 'put_api_charts_by_chart_id_map_draft_request' when calling ChartsApi.put_api_charts_by_chart_id_map_draft"
3952
3952
  end
3953
3953
  if @api_client.config.client_side_validation && !opts[:'idempotency_key'].nil? && opts[:'idempotency_key'].to_s.length > 255
3954
3954
  fail ArgumentError, 'invalid value for "opts[:"idempotency_key"]" when calling ChartsApi.put_api_charts_by_chart_id_map_draft, the character length must be smaller than or equal to 255.'
@@ -3977,7 +3977,7 @@ module SeatsChart
3977
3977
  form_params = opts[:form_params] || {}
3978
3978
 
3979
3979
  # http body (model)
3980
- post_body = opts[:debug_body] || @api_client.object_to_http_body(post_api_charts_by_chart_id_actions_validate_request)
3980
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(put_api_charts_by_chart_id_map_draft_request)
3981
3981
 
3982
3982
  # return_type
3983
3983
  return_type = opts[:debug_return_type]
@@ -20,10 +20,11 @@ module SeatsChart
20
20
  @api_client = api_client
21
21
  end
22
22
  # List registered ticket buyer ids
23
- # Ordered by id; page with `cursor` = the previous `nextCursor`. API key (`holds` scope) or a dashboard session that manages integrations.
23
+ # Ordered by id; page with `cursor` = the previous `nextCursor` (keep the same `search`). The first page also returns `total` (matching ids). API key (`holds` scope) or a dashboard session that manages integrations.
24
24
  # @param [Hash] opts the optional parameters
25
25
  # @option opts [Integer] :limit
26
26
  # @option opts [String] :cursor &#x60;nextCursor&#x60; of the previous page.
27
+ # @option opts [String] :search Only ids starting with this text (case-sensitive).
27
28
  # @return [nil]
28
29
  def get_api_ticket_buyers(opts = {})
29
30
  get_api_ticket_buyers_with_http_info(opts)
@@ -31,10 +32,11 @@ module SeatsChart
31
32
  end
32
33
 
33
34
  # List registered ticket buyer ids
34
- # Ordered by id; page with &#x60;cursor&#x60; &#x3D; the previous &#x60;nextCursor&#x60;. API key (&#x60;holds&#x60; scope) or a dashboard session that manages integrations.
35
+ # Ordered by id; page with &#x60;cursor&#x60; &#x3D; the previous &#x60;nextCursor&#x60; (keep the same &#x60;search&#x60;). The first page also returns &#x60;total&#x60; (matching ids). API key (&#x60;holds&#x60; scope) or a dashboard session that manages integrations.
35
36
  # @param [Hash] opts the optional parameters
36
37
  # @option opts [Integer] :limit
37
38
  # @option opts [String] :cursor &#x60;nextCursor&#x60; of the previous page.
39
+ # @option opts [String] :search Only ids starting with this text (case-sensitive).
38
40
  # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
39
41
  def get_api_ticket_buyers_with_http_info(opts = {})
40
42
  if @api_client.config.debugging
@@ -56,6 +58,14 @@ module SeatsChart
56
58
  fail ArgumentError, 'invalid value for "opts[:"cursor"]" when calling EmbedApi.get_api_ticket_buyers, the character length must be great than or equal to 1.'
57
59
  end
58
60
 
61
+ if @api_client.config.client_side_validation && !opts[:'search'].nil? && opts[:'search'].to_s.length > 256
62
+ fail ArgumentError, 'invalid value for "opts[:"search"]" when calling EmbedApi.get_api_ticket_buyers, the character length must be smaller than or equal to 256.'
63
+ end
64
+
65
+ if @api_client.config.client_side_validation && !opts[:'search'].nil? && opts[:'search'].to_s.length < 1
66
+ fail ArgumentError, 'invalid value for "opts[:"search"]" when calling EmbedApi.get_api_ticket_buyers, the character length must be great than or equal to 1.'
67
+ end
68
+
59
69
  # resource path
60
70
  local_var_path = '/api/ticket-buyers'
61
71
 
@@ -63,6 +73,7 @@ module SeatsChart
63
73
  query_params = opts[:query_params] || {}
64
74
  query_params[:'limit'] = opts[:'limit'] if !opts[:'limit'].nil?
65
75
  query_params[:'cursor'] = opts[:'cursor'] if !opts[:'cursor'].nil?
76
+ query_params[:'search'] = opts[:'search'] if !opts[:'search'].nil?
66
77
 
67
78
  # header parameters
68
79
  header_params = opts[:header_params] || {}
@@ -20,7 +20,7 @@ module SeatsChart
20
20
  @api_client = api_client
21
21
  end
22
22
  # Event log: admin changes of charts and events (cursor-paginated)
23
- # Newest first, from the workspace audit log. Types: `chart.created`, `chart.published`, `chart.draft_discarded`, `chart.version_restored`, `chart.archived`, `chart.unarchived`, `chart.deleted`, `chart.tags_updated`, `chart.categories_updated`, `event.created`, `event.updated`, `event.deleted`, `event.map_published`, `event.for_sale_changed`, `event.channels_updated`, `event.categories_updated`, `event.table_booking_changed`, `event.sales_rules_updated`, `event.pricing_synced`, `event.moved_to_chart_copy`, `event.season_status_changed`. Filter with `types` (comma-separated), `from` (inclusive) / `to` (exclusive) ISO-8601 instants and `resourceId` (chart or event id). Pass `nextCursor` back as `cursor` with the same filters until it is null; pages are stable while new entries arrive. `data` carries the change details (never the actor e-mail). The admin types `chart.created`, `event.for_sale_changed`, `event.channels_updated`, `event.categories_updated` and `event.table_booking_changed` are also delivered as webhooks whose items carry `log_id` = the entry `id`. API key, or a dashboard member with the integrations permission (admin).
23
+ # Newest first, from the workspace audit log. Types: `chart.created`, `chart.published`, `chart.draft_discarded`, `chart.version_restored`, `chart.archived`, `chart.unarchived`, `chart.deleted`, `chart.tags_updated`, `chart.categories_updated`, `event.created`, `event.updated`, `event.deleted`, `event.map_published`, `event.for_sale_changed`, `event.channels_updated`, `event.categories_updated`, `event.table_booking_changed`, `event.sales_rules_updated`, `event.pricing_synced`, `event.moved_to_chart_copy`, `event.season_status_changed`, `event.listings_updated`. Filter with `types` (comma-separated), `from` (inclusive) / `to` (exclusive) ISO-8601 instants and `resourceId` (chart or event id). Pass `nextCursor` back as `cursor` with the same filters until it is null; pages are stable while new entries arrive. `data` carries the change details (never the actor e-mail). The admin types `chart.created`, `event.for_sale_changed`, `event.channels_updated`, `event.categories_updated` and `event.table_booking_changed` are also delivered as webhooks whose items carry `log_id` = the entry `id`. API key, or a dashboard member with the integrations permission (admin).
24
24
  # @param [Hash] opts the optional parameters
25
25
  # @option opts [Float] :limit Page size (1..100, default 20).
26
26
  # @option opts [String] :cursor Opaque &#x60;nextCursor&#x60; value from the previous page.
@@ -35,7 +35,7 @@ module SeatsChart
35
35
  end
36
36
 
37
37
  # Event log: admin changes of charts and events (cursor-paginated)
38
- # Newest first, from the workspace audit log. Types: &#x60;chart.created&#x60;, &#x60;chart.published&#x60;, &#x60;chart.draft_discarded&#x60;, &#x60;chart.version_restored&#x60;, &#x60;chart.archived&#x60;, &#x60;chart.unarchived&#x60;, &#x60;chart.deleted&#x60;, &#x60;chart.tags_updated&#x60;, &#x60;chart.categories_updated&#x60;, &#x60;event.created&#x60;, &#x60;event.updated&#x60;, &#x60;event.deleted&#x60;, &#x60;event.map_published&#x60;, &#x60;event.for_sale_changed&#x60;, &#x60;event.channels_updated&#x60;, &#x60;event.categories_updated&#x60;, &#x60;event.table_booking_changed&#x60;, &#x60;event.sales_rules_updated&#x60;, &#x60;event.pricing_synced&#x60;, &#x60;event.moved_to_chart_copy&#x60;, &#x60;event.season_status_changed&#x60;. Filter with &#x60;types&#x60; (comma-separated), &#x60;from&#x60; (inclusive) / &#x60;to&#x60; (exclusive) ISO-8601 instants and &#x60;resourceId&#x60; (chart or event id). Pass &#x60;nextCursor&#x60; back as &#x60;cursor&#x60; with the same filters until it is null; pages are stable while new entries arrive. &#x60;data&#x60; carries the change details (never the actor e-mail). The admin types &#x60;chart.created&#x60;, &#x60;event.for_sale_changed&#x60;, &#x60;event.channels_updated&#x60;, &#x60;event.categories_updated&#x60; and &#x60;event.table_booking_changed&#x60; are also delivered as webhooks whose items carry &#x60;log_id&#x60; &#x3D; the entry &#x60;id&#x60;. API key, or a dashboard member with the integrations permission (admin).
38
+ # Newest first, from the workspace audit log. Types: &#x60;chart.created&#x60;, &#x60;chart.published&#x60;, &#x60;chart.draft_discarded&#x60;, &#x60;chart.version_restored&#x60;, &#x60;chart.archived&#x60;, &#x60;chart.unarchived&#x60;, &#x60;chart.deleted&#x60;, &#x60;chart.tags_updated&#x60;, &#x60;chart.categories_updated&#x60;, &#x60;event.created&#x60;, &#x60;event.updated&#x60;, &#x60;event.deleted&#x60;, &#x60;event.map_published&#x60;, &#x60;event.for_sale_changed&#x60;, &#x60;event.channels_updated&#x60;, &#x60;event.categories_updated&#x60;, &#x60;event.table_booking_changed&#x60;, &#x60;event.sales_rules_updated&#x60;, &#x60;event.pricing_synced&#x60;, &#x60;event.moved_to_chart_copy&#x60;, &#x60;event.season_status_changed&#x60;, &#x60;event.listings_updated&#x60;. Filter with &#x60;types&#x60; (comma-separated), &#x60;from&#x60; (inclusive) / &#x60;to&#x60; (exclusive) ISO-8601 instants and &#x60;resourceId&#x60; (chart or event id). Pass &#x60;nextCursor&#x60; back as &#x60;cursor&#x60; with the same filters until it is null; pages are stable while new entries arrive. &#x60;data&#x60; carries the change details (never the actor e-mail). The admin types &#x60;chart.created&#x60;, &#x60;event.for_sale_changed&#x60;, &#x60;event.channels_updated&#x60;, &#x60;event.categories_updated&#x60; and &#x60;event.table_booking_changed&#x60; are also delivered as webhooks whose items carry &#x60;log_id&#x60; &#x3D; the entry &#x60;id&#x60;. API key, or a dashboard member with the integrations permission (admin).
39
39
  # @param [Hash] opts the optional parameters
40
40
  # @option opts [Float] :limit Page size (1..100, default 20).
41
41
  # @option opts [String] :cursor Opaque &#x60;nextCursor&#x60; value from the previous page.
@@ -4982,7 +4982,7 @@ module SeatsChart
4982
4982
  end
4983
4983
 
4984
4984
  # Create event
4985
- # Creates a new event scoped to the workspace. Optional `chartId` clones the published chart seat/GA templates into event inventory. A chart whose published map has error-level validation issues (workspace severity, see `GET /api/workspace/chart-validation`) is refused with 409 `chart_invalid` `{ chartId, issues: [{ code, severity, count, message }] }`; fix the chart in the designer and publish again. Optional `key` (unique per workspace, URL-safe, not UUID-shaped) can be used instead of the id in every event route; 409 `event_key_taken`. Creation-time configuration is applied **in the creation transaction** (all or nothing): `tableBookingConfig` and `categoryOverrides` (same semantics as PATCH), `channels` (inventory channels with their objects and GA `areaPlaces`; each `channelKey` secret is returned once) and `forSaleConfig` (`forSale: false` = listed objects/categories not for sale and `areaPlaces` withheld; `forSale: true` = only the listed ones for sale). Objects are seat labels/UUIDs or GA area names/UUIDs; unknown ones return 400 `objects_not_found`. Optional `seasonId` attaches the event afterwards and syncs NFS + channelKey from the season source. Optional `currency` (ISO 4217, two-decimal) sets the catalog currency used by quotes and the viewer. Emits the `event.created` webhook.
4985
+ # Creates a new event scoped to the workspace. Optional `chartId` clones the published chart seat/GA templates into event inventory. A chart whose published map has error-level validation issues (workspace severity, see `GET /api/workspace/chart-validation`) is refused with 409 `chart_invalid` `{ chartId, issues: [{ code, severity, count, message }] }`; fix the chart in the designer and publish again. Optional `key` (unique per workspace, URL-safe, not UUID-shaped) can be used instead of the id in every event route; 409 `event_key_taken`. Creation-time configuration is applied **in the creation transaction** (all or nothing): `tableBookingConfig` and `categoryOverrides` (same semantics as PATCH), `channels` (inventory channels with their objects and GA `areaPlaces`; each `channelKey` secret is returned once) and `forSaleConfig` (`forSale: false` = listed objects/categories not for sale and `areaPlaces` withheld; `forSale: true` = only the listed ones for sale; without it, the workspace setting `newEventsNotForSale` starts every object off sale). Objects are seat labels/UUIDs or GA area names/UUIDs; unknown ones return 400 `objects_not_found`. Optional `seasonId` attaches the event afterwards and syncs NFS + channelKey from the season source. Optional `currency` (ISO 4217, two-decimal) sets the catalog currency used by quotes and the viewer. Emits the `event.created` webhook.
4986
4986
  # @param post_api_events_request [PostApiEventsRequest]
4987
4987
  # @param [Hash] opts the optional parameters
4988
4988
  # @option opts [String] :idempotency_key Required on transactional routes. Reuse the same key for every retry of one logical operation; the API replays the stored outcome.
@@ -4993,7 +4993,7 @@ module SeatsChart
4993
4993
  end
4994
4994
 
4995
4995
  # Create event
4996
- # Creates a new event scoped to the workspace. Optional &#x60;chartId&#x60; clones the published chart seat/GA templates into event inventory. A chart whose published map has error-level validation issues (workspace severity, see &#x60;GET /api/workspace/chart-validation&#x60;) is refused with 409 &#x60;chart_invalid&#x60; &#x60;{ chartId, issues: [{ code, severity, count, message }] }&#x60;; fix the chart in the designer and publish again. Optional &#x60;key&#x60; (unique per workspace, URL-safe, not UUID-shaped) can be used instead of the id in every event route; 409 &#x60;event_key_taken&#x60;. Creation-time configuration is applied **in the creation transaction** (all or nothing): &#x60;tableBookingConfig&#x60; and &#x60;categoryOverrides&#x60; (same semantics as PATCH), &#x60;channels&#x60; (inventory channels with their objects and GA &#x60;areaPlaces&#x60;; each &#x60;channelKey&#x60; secret is returned once) and &#x60;forSaleConfig&#x60; (&#x60;forSale: false&#x60; &#x3D; listed objects/categories not for sale and &#x60;areaPlaces&#x60; withheld; &#x60;forSale: true&#x60; &#x3D; only the listed ones for sale). Objects are seat labels/UUIDs or GA area names/UUIDs; unknown ones return 400 &#x60;objects_not_found&#x60;. Optional &#x60;seasonId&#x60; attaches the event afterwards and syncs NFS + channelKey from the season source. Optional &#x60;currency&#x60; (ISO 4217, two-decimal) sets the catalog currency used by quotes and the viewer. Emits the &#x60;event.created&#x60; webhook.
4996
+ # Creates a new event scoped to the workspace. Optional &#x60;chartId&#x60; clones the published chart seat/GA templates into event inventory. A chart whose published map has error-level validation issues (workspace severity, see &#x60;GET /api/workspace/chart-validation&#x60;) is refused with 409 &#x60;chart_invalid&#x60; &#x60;{ chartId, issues: [{ code, severity, count, message }] }&#x60;; fix the chart in the designer and publish again. Optional &#x60;key&#x60; (unique per workspace, URL-safe, not UUID-shaped) can be used instead of the id in every event route; 409 &#x60;event_key_taken&#x60;. Creation-time configuration is applied **in the creation transaction** (all or nothing): &#x60;tableBookingConfig&#x60; and &#x60;categoryOverrides&#x60; (same semantics as PATCH), &#x60;channels&#x60; (inventory channels with their objects and GA &#x60;areaPlaces&#x60;; each &#x60;channelKey&#x60; secret is returned once) and &#x60;forSaleConfig&#x60; (&#x60;forSale: false&#x60; &#x3D; listed objects/categories not for sale and &#x60;areaPlaces&#x60; withheld; &#x60;forSale: true&#x60; &#x3D; only the listed ones for sale; without it, the workspace setting &#x60;newEventsNotForSale&#x60; starts every object off sale). Objects are seat labels/UUIDs or GA area names/UUIDs; unknown ones return 400 &#x60;objects_not_found&#x60;. Optional &#x60;seasonId&#x60; attaches the event afterwards and syncs NFS + channelKey from the season source. Optional &#x60;currency&#x60; (ISO 4217, two-decimal) sets the catalog currency used by quotes and the viewer. Emits the &#x60;event.created&#x60; webhook.
4997
4997
  # @param post_api_events_request [PostApiEventsRequest]
4998
4998
  # @param [Hash] opts the optional parameters
4999
4999
  # @option opts [String] :idempotency_key Required on transactional routes. Reuse the same key for every retry of one logical operation; the API replays the stored outcome.
@@ -5135,6 +5135,172 @@ module SeatsChart
5135
5135
  return data, status_code, headers
5136
5136
  end
5137
5137
 
5138
+ # Put every object of the event back on sale
5139
+ # Seats.io `markEverythingAsForSale`: the inverse of mark-everything-as-not-for-sale, in one SQL transaction — every seat (except retired ones) and GA area goes on sale and withheld GA places are cleared. Audited (`inventory.for_sale.mark_everything_for_sale`), event log and webhook as above. Same response.
5140
+ # @param event_id [String]
5141
+ # @param post_api_events_by_event_id_actions_mark_everything_as_not_for_sale_request [PostApiEventsByEventIdActionsMarkEverythingAsNotForSaleRequest]
5142
+ # @param [Hash] opts the optional parameters
5143
+ # @option opts [String] :idempotency_key Required on transactional routes. Reuse the same key for every retry of one logical operation; the API replays the stored outcome.
5144
+ # @return [nil]
5145
+ def post_api_events_by_event_id_actions_mark_everything_as_for_sale(event_id, post_api_events_by_event_id_actions_mark_everything_as_not_for_sale_request, opts = {})
5146
+ post_api_events_by_event_id_actions_mark_everything_as_for_sale_with_http_info(event_id, post_api_events_by_event_id_actions_mark_everything_as_not_for_sale_request, opts)
5147
+ nil
5148
+ end
5149
+
5150
+ # Put every object of the event back on sale
5151
+ # Seats.io &#x60;markEverythingAsForSale&#x60;: the inverse of mark-everything-as-not-for-sale, in one SQL transaction — every seat (except retired ones) and GA area goes on sale and withheld GA places are cleared. Audited (&#x60;inventory.for_sale.mark_everything_for_sale&#x60;), event log and webhook as above. Same response.
5152
+ # @param event_id [String]
5153
+ # @param post_api_events_by_event_id_actions_mark_everything_as_not_for_sale_request [PostApiEventsByEventIdActionsMarkEverythingAsNotForSaleRequest]
5154
+ # @param [Hash] opts the optional parameters
5155
+ # @option opts [String] :idempotency_key Required on transactional routes. Reuse the same key for every retry of one logical operation; the API replays the stored outcome.
5156
+ # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
5157
+ def post_api_events_by_event_id_actions_mark_everything_as_for_sale_with_http_info(event_id, post_api_events_by_event_id_actions_mark_everything_as_not_for_sale_request, opts = {})
5158
+ if @api_client.config.debugging
5159
+ @api_client.config.logger.debug 'Calling API: EventsApi.post_api_events_by_event_id_actions_mark_everything_as_for_sale ...'
5160
+ end
5161
+ # verify the required parameter 'event_id' is set
5162
+ if @api_client.config.client_side_validation && event_id.nil?
5163
+ fail ArgumentError, "Missing the required parameter 'event_id' when calling EventsApi.post_api_events_by_event_id_actions_mark_everything_as_for_sale"
5164
+ end
5165
+ # verify the required parameter 'post_api_events_by_event_id_actions_mark_everything_as_not_for_sale_request' is set
5166
+ if @api_client.config.client_side_validation && post_api_events_by_event_id_actions_mark_everything_as_not_for_sale_request.nil?
5167
+ fail ArgumentError, "Missing the required parameter 'post_api_events_by_event_id_actions_mark_everything_as_not_for_sale_request' when calling EventsApi.post_api_events_by_event_id_actions_mark_everything_as_for_sale"
5168
+ end
5169
+ if @api_client.config.client_side_validation && !opts[:'idempotency_key'].nil? && opts[:'idempotency_key'].to_s.length > 255
5170
+ fail ArgumentError, 'invalid value for "opts[:"idempotency_key"]" when calling EventsApi.post_api_events_by_event_id_actions_mark_everything_as_for_sale, the character length must be smaller than or equal to 255.'
5171
+ end
5172
+
5173
+ if @api_client.config.client_side_validation && !opts[:'idempotency_key'].nil? && opts[:'idempotency_key'].to_s.length < 1
5174
+ fail ArgumentError, 'invalid value for "opts[:"idempotency_key"]" when calling EventsApi.post_api_events_by_event_id_actions_mark_everything_as_for_sale, the character length must be great than or equal to 1.'
5175
+ end
5176
+
5177
+ # resource path
5178
+ local_var_path = '/api/events/{eventId}/actions/mark-everything-as-for-sale'.sub('{' + 'eventId' + '}', CGI.escape(event_id.to_s))
5179
+
5180
+ # query parameters
5181
+ query_params = opts[:query_params] || {}
5182
+
5183
+ # header parameters
5184
+ header_params = opts[:header_params] || {}
5185
+ # HTTP header 'Content-Type'
5186
+ content_type = @api_client.select_header_content_type(['application/json', 'multipart/form-data', 'text/plain'])
5187
+ if !content_type.nil?
5188
+ header_params['Content-Type'] = content_type
5189
+ end
5190
+ header_params[:'Idempotency-Key'] = opts[:'idempotency_key'] if !opts[:'idempotency_key'].nil?
5191
+
5192
+ # form parameters
5193
+ form_params = opts[:form_params] || {}
5194
+
5195
+ # http body (model)
5196
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(post_api_events_by_event_id_actions_mark_everything_as_not_for_sale_request)
5197
+
5198
+ # return_type
5199
+ return_type = opts[:debug_return_type]
5200
+
5201
+ # auth_names
5202
+ auth_names = opts[:debug_auth_names] || ['ApiKeyAuth', 'BearerAuth']
5203
+
5204
+ new_options = opts.merge(
5205
+ :operation => :"EventsApi.post_api_events_by_event_id_actions_mark_everything_as_for_sale",
5206
+ :header_params => header_params,
5207
+ :query_params => query_params,
5208
+ :form_params => form_params,
5209
+ :body => post_body,
5210
+ :auth_names => auth_names,
5211
+ :return_type => return_type
5212
+ )
5213
+
5214
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
5215
+ if @api_client.config.debugging
5216
+ @api_client.config.logger.debug "API called: EventsApi#post_api_events_by_event_id_actions_mark_everything_as_for_sale\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
5217
+ end
5218
+ return data, status_code, headers
5219
+ end
5220
+
5221
+ # Mark every object of the event not for sale
5222
+ # Seats.io `markEverythingAsNotForSale`: every seat and GA area of the event goes off sale in **one SQL transaction** (the event row lock serializes it with other for-sale changes; all or nothing). Holds on the objects are released after COMMIT, then one cache invalidate and one `for_sale` realtime message. Sold seats stay sold. Audited (`inventory.for_sale.mark_everything_not_for_sale`), in the event log and the `event.for_sale_changed` webhook (`event.for.sale.config.updated` alias). Season behaviour as POST …/for-sale/apply (`cascadeSeason`, `forSalePropagated`). Response as PUT …/inventory/for-sale (`changedSeats`, `changedGaAreas`, `seatsNotForSale`, `gaAreasNotForSale`, `releasedSeatHolds`, `clearedGaHoldAreas`).
5223
+ # @param event_id [String]
5224
+ # @param post_api_events_by_event_id_actions_mark_everything_as_not_for_sale_request [PostApiEventsByEventIdActionsMarkEverythingAsNotForSaleRequest]
5225
+ # @param [Hash] opts the optional parameters
5226
+ # @option opts [String] :idempotency_key Required on transactional routes. Reuse the same key for every retry of one logical operation; the API replays the stored outcome.
5227
+ # @return [nil]
5228
+ def post_api_events_by_event_id_actions_mark_everything_as_not_for_sale(event_id, post_api_events_by_event_id_actions_mark_everything_as_not_for_sale_request, opts = {})
5229
+ post_api_events_by_event_id_actions_mark_everything_as_not_for_sale_with_http_info(event_id, post_api_events_by_event_id_actions_mark_everything_as_not_for_sale_request, opts)
5230
+ nil
5231
+ end
5232
+
5233
+ # Mark every object of the event not for sale
5234
+ # Seats.io &#x60;markEverythingAsNotForSale&#x60;: every seat and GA area of the event goes off sale in **one SQL transaction** (the event row lock serializes it with other for-sale changes; all or nothing). Holds on the objects are released after COMMIT, then one cache invalidate and one &#x60;for_sale&#x60; realtime message. Sold seats stay sold. Audited (&#x60;inventory.for_sale.mark_everything_not_for_sale&#x60;), in the event log and the &#x60;event.for_sale_changed&#x60; webhook (&#x60;event.for.sale.config.updated&#x60; alias). Season behaviour as POST …/for-sale/apply (&#x60;cascadeSeason&#x60;, &#x60;forSalePropagated&#x60;). Response as PUT …/inventory/for-sale (&#x60;changedSeats&#x60;, &#x60;changedGaAreas&#x60;, &#x60;seatsNotForSale&#x60;, &#x60;gaAreasNotForSale&#x60;, &#x60;releasedSeatHolds&#x60;, &#x60;clearedGaHoldAreas&#x60;).
5235
+ # @param event_id [String]
5236
+ # @param post_api_events_by_event_id_actions_mark_everything_as_not_for_sale_request [PostApiEventsByEventIdActionsMarkEverythingAsNotForSaleRequest]
5237
+ # @param [Hash] opts the optional parameters
5238
+ # @option opts [String] :idempotency_key Required on transactional routes. Reuse the same key for every retry of one logical operation; the API replays the stored outcome.
5239
+ # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
5240
+ def post_api_events_by_event_id_actions_mark_everything_as_not_for_sale_with_http_info(event_id, post_api_events_by_event_id_actions_mark_everything_as_not_for_sale_request, opts = {})
5241
+ if @api_client.config.debugging
5242
+ @api_client.config.logger.debug 'Calling API: EventsApi.post_api_events_by_event_id_actions_mark_everything_as_not_for_sale ...'
5243
+ end
5244
+ # verify the required parameter 'event_id' is set
5245
+ if @api_client.config.client_side_validation && event_id.nil?
5246
+ fail ArgumentError, "Missing the required parameter 'event_id' when calling EventsApi.post_api_events_by_event_id_actions_mark_everything_as_not_for_sale"
5247
+ end
5248
+ # verify the required parameter 'post_api_events_by_event_id_actions_mark_everything_as_not_for_sale_request' is set
5249
+ if @api_client.config.client_side_validation && post_api_events_by_event_id_actions_mark_everything_as_not_for_sale_request.nil?
5250
+ fail ArgumentError, "Missing the required parameter 'post_api_events_by_event_id_actions_mark_everything_as_not_for_sale_request' when calling EventsApi.post_api_events_by_event_id_actions_mark_everything_as_not_for_sale"
5251
+ end
5252
+ if @api_client.config.client_side_validation && !opts[:'idempotency_key'].nil? && opts[:'idempotency_key'].to_s.length > 255
5253
+ fail ArgumentError, 'invalid value for "opts[:"idempotency_key"]" when calling EventsApi.post_api_events_by_event_id_actions_mark_everything_as_not_for_sale, the character length must be smaller than or equal to 255.'
5254
+ end
5255
+
5256
+ if @api_client.config.client_side_validation && !opts[:'idempotency_key'].nil? && opts[:'idempotency_key'].to_s.length < 1
5257
+ fail ArgumentError, 'invalid value for "opts[:"idempotency_key"]" when calling EventsApi.post_api_events_by_event_id_actions_mark_everything_as_not_for_sale, the character length must be great than or equal to 1.'
5258
+ end
5259
+
5260
+ # resource path
5261
+ local_var_path = '/api/events/{eventId}/actions/mark-everything-as-not-for-sale'.sub('{' + 'eventId' + '}', CGI.escape(event_id.to_s))
5262
+
5263
+ # query parameters
5264
+ query_params = opts[:query_params] || {}
5265
+
5266
+ # header parameters
5267
+ header_params = opts[:header_params] || {}
5268
+ # HTTP header 'Content-Type'
5269
+ content_type = @api_client.select_header_content_type(['application/json', 'multipart/form-data', 'text/plain'])
5270
+ if !content_type.nil?
5271
+ header_params['Content-Type'] = content_type
5272
+ end
5273
+ header_params[:'Idempotency-Key'] = opts[:'idempotency_key'] if !opts[:'idempotency_key'].nil?
5274
+
5275
+ # form parameters
5276
+ form_params = opts[:form_params] || {}
5277
+
5278
+ # http body (model)
5279
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(post_api_events_by_event_id_actions_mark_everything_as_not_for_sale_request)
5280
+
5281
+ # return_type
5282
+ return_type = opts[:debug_return_type]
5283
+
5284
+ # auth_names
5285
+ auth_names = opts[:debug_auth_names] || ['ApiKeyAuth', 'BearerAuth']
5286
+
5287
+ new_options = opts.merge(
5288
+ :operation => :"EventsApi.post_api_events_by_event_id_actions_mark_everything_as_not_for_sale",
5289
+ :header_params => header_params,
5290
+ :query_params => query_params,
5291
+ :form_params => form_params,
5292
+ :body => post_body,
5293
+ :auth_names => auth_names,
5294
+ :return_type => return_type
5295
+ )
5296
+
5297
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
5298
+ if @api_client.config.debugging
5299
+ @api_client.config.logger.debug "API called: EventsApi#post_api_events_by_event_id_actions_mark_everything_as_not_for_sale\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
5300
+ end
5301
+ return data, status_code, headers
5302
+ end
5303
+
5138
5304
  # Move the event to a new copy of its chart
5139
5305
  # Copies the event's current chart (published seat/GA templates, layout and draft) into a new published chart and repoints the event to it in one transaction, so the event's map can be edited without affecting other events. Seats, holds, sales and orders are never touched (seat ids are unchanged). Refuses with 409 `structural_mismatch` (`orphanedObjects`: labels) when a sold, held or pending seat — or a GA area with sales — has no counterpart in the chart, and with 409 `chart_not_published` when there is nothing to copy. Counts against the plan chart limit. Response `{ eventId, previousChartId, chartId, chartName }`.
5140
5306
  # @param event_id [String]
@@ -6260,23 +6426,23 @@ module SeatsChart
6260
6426
  # Save map draft (legacy path)
6261
6427
  # Alias for **`PUT /map/draft`**. Does **not** publish to buyers — use **`POST /map/publish`**.
6262
6428
  # @param event_id [String]
6263
- # @param post_api_charts_by_chart_id_actions_validate_request [PostApiChartsByChartIdActionsValidateRequest]
6429
+ # @param put_api_charts_by_chart_id_map_draft_request [PutApiChartsByChartIdMapDraftRequest]
6264
6430
  # @param [Hash] opts the optional parameters
6265
6431
  # @option opts [String] :idempotency_key Required on transactional routes. Reuse the same key for every retry of one logical operation; the API replays the stored outcome.
6266
6432
  # @return [nil]
6267
- def put_api_events_by_event_id_map(event_id, post_api_charts_by_chart_id_actions_validate_request, opts = {})
6268
- put_api_events_by_event_id_map_with_http_info(event_id, post_api_charts_by_chart_id_actions_validate_request, opts)
6433
+ def put_api_events_by_event_id_map(event_id, put_api_charts_by_chart_id_map_draft_request, opts = {})
6434
+ put_api_events_by_event_id_map_with_http_info(event_id, put_api_charts_by_chart_id_map_draft_request, opts)
6269
6435
  nil
6270
6436
  end
6271
6437
 
6272
6438
  # Save map draft (legacy path)
6273
6439
  # Alias for **&#x60;PUT /map/draft&#x60;**. Does **not** publish to buyers — use **&#x60;POST /map/publish&#x60;**.
6274
6440
  # @param event_id [String]
6275
- # @param post_api_charts_by_chart_id_actions_validate_request [PostApiChartsByChartIdActionsValidateRequest]
6441
+ # @param put_api_charts_by_chart_id_map_draft_request [PutApiChartsByChartIdMapDraftRequest]
6276
6442
  # @param [Hash] opts the optional parameters
6277
6443
  # @option opts [String] :idempotency_key Required on transactional routes. Reuse the same key for every retry of one logical operation; the API replays the stored outcome.
6278
6444
  # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
6279
- def put_api_events_by_event_id_map_with_http_info(event_id, post_api_charts_by_chart_id_actions_validate_request, opts = {})
6445
+ def put_api_events_by_event_id_map_with_http_info(event_id, put_api_charts_by_chart_id_map_draft_request, opts = {})
6280
6446
  if @api_client.config.debugging
6281
6447
  @api_client.config.logger.debug 'Calling API: EventsApi.put_api_events_by_event_id_map ...'
6282
6448
  end
@@ -6292,9 +6458,9 @@ module SeatsChart
6292
6458
  fail ArgumentError, 'invalid value for "event_id" when calling EventsApi.put_api_events_by_event_id_map, the character length must be great than or equal to 36.'
6293
6459
  end
6294
6460
 
6295
- # verify the required parameter 'post_api_charts_by_chart_id_actions_validate_request' is set
6296
- if @api_client.config.client_side_validation && post_api_charts_by_chart_id_actions_validate_request.nil?
6297
- fail ArgumentError, "Missing the required parameter 'post_api_charts_by_chart_id_actions_validate_request' when calling EventsApi.put_api_events_by_event_id_map"
6461
+ # verify the required parameter 'put_api_charts_by_chart_id_map_draft_request' is set
6462
+ if @api_client.config.client_side_validation && put_api_charts_by_chart_id_map_draft_request.nil?
6463
+ fail ArgumentError, "Missing the required parameter 'put_api_charts_by_chart_id_map_draft_request' when calling EventsApi.put_api_events_by_event_id_map"
6298
6464
  end
6299
6465
  if @api_client.config.client_side_validation && !opts[:'idempotency_key'].nil? && opts[:'idempotency_key'].to_s.length > 255
6300
6466
  fail ArgumentError, 'invalid value for "opts[:"idempotency_key"]" when calling EventsApi.put_api_events_by_event_id_map, the character length must be smaller than or equal to 255.'
@@ -6323,7 +6489,7 @@ module SeatsChart
6323
6489
  form_params = opts[:form_params] || {}
6324
6490
 
6325
6491
  # http body (model)
6326
- post_body = opts[:debug_body] || @api_client.object_to_http_body(post_api_charts_by_chart_id_actions_validate_request)
6492
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(put_api_charts_by_chart_id_map_draft_request)
6327
6493
 
6328
6494
  # return_type
6329
6495
  return_type = opts[:debug_return_type]
@@ -6351,23 +6517,23 @@ module SeatsChart
6351
6517
  # Save map draft (does not go live)
6352
6518
  # Persists designer changes to `event_map_drafts` only. B2C viewers keep reading the last published map until `POST .../map/publish`. With `baseDraftUpdatedAt` the save is conflict-safe: 409 `draft_conflict` (with the current `draftUpdatedAt`) when the draft changed since that version (designer autosave).
6353
6519
  # @param event_id [String]
6354
- # @param post_api_charts_by_chart_id_actions_validate_request [PostApiChartsByChartIdActionsValidateRequest]
6520
+ # @param put_api_charts_by_chart_id_map_draft_request [PutApiChartsByChartIdMapDraftRequest]
6355
6521
  # @param [Hash] opts the optional parameters
6356
6522
  # @option opts [String] :idempotency_key Required on transactional routes. Reuse the same key for every retry of one logical operation; the API replays the stored outcome.
6357
6523
  # @return [nil]
6358
- def put_api_events_by_event_id_map_draft(event_id, post_api_charts_by_chart_id_actions_validate_request, opts = {})
6359
- put_api_events_by_event_id_map_draft_with_http_info(event_id, post_api_charts_by_chart_id_actions_validate_request, opts)
6524
+ def put_api_events_by_event_id_map_draft(event_id, put_api_charts_by_chart_id_map_draft_request, opts = {})
6525
+ put_api_events_by_event_id_map_draft_with_http_info(event_id, put_api_charts_by_chart_id_map_draft_request, opts)
6360
6526
  nil
6361
6527
  end
6362
6528
 
6363
6529
  # Save map draft (does not go live)
6364
6530
  # Persists designer changes to &#x60;event_map_drafts&#x60; only. B2C viewers keep reading the last published map until &#x60;POST .../map/publish&#x60;. With &#x60;baseDraftUpdatedAt&#x60; the save is conflict-safe: 409 &#x60;draft_conflict&#x60; (with the current &#x60;draftUpdatedAt&#x60;) when the draft changed since that version (designer autosave).
6365
6531
  # @param event_id [String]
6366
- # @param post_api_charts_by_chart_id_actions_validate_request [PostApiChartsByChartIdActionsValidateRequest]
6532
+ # @param put_api_charts_by_chart_id_map_draft_request [PutApiChartsByChartIdMapDraftRequest]
6367
6533
  # @param [Hash] opts the optional parameters
6368
6534
  # @option opts [String] :idempotency_key Required on transactional routes. Reuse the same key for every retry of one logical operation; the API replays the stored outcome.
6369
6535
  # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
6370
- def put_api_events_by_event_id_map_draft_with_http_info(event_id, post_api_charts_by_chart_id_actions_validate_request, opts = {})
6536
+ def put_api_events_by_event_id_map_draft_with_http_info(event_id, put_api_charts_by_chart_id_map_draft_request, opts = {})
6371
6537
  if @api_client.config.debugging
6372
6538
  @api_client.config.logger.debug 'Calling API: EventsApi.put_api_events_by_event_id_map_draft ...'
6373
6539
  end
@@ -6383,9 +6549,9 @@ module SeatsChart
6383
6549
  fail ArgumentError, 'invalid value for "event_id" when calling EventsApi.put_api_events_by_event_id_map_draft, the character length must be great than or equal to 36.'
6384
6550
  end
6385
6551
 
6386
- # verify the required parameter 'post_api_charts_by_chart_id_actions_validate_request' is set
6387
- if @api_client.config.client_side_validation && post_api_charts_by_chart_id_actions_validate_request.nil?
6388
- fail ArgumentError, "Missing the required parameter 'post_api_charts_by_chart_id_actions_validate_request' when calling EventsApi.put_api_events_by_event_id_map_draft"
6552
+ # verify the required parameter 'put_api_charts_by_chart_id_map_draft_request' is set
6553
+ if @api_client.config.client_side_validation && put_api_charts_by_chart_id_map_draft_request.nil?
6554
+ fail ArgumentError, "Missing the required parameter 'put_api_charts_by_chart_id_map_draft_request' when calling EventsApi.put_api_events_by_event_id_map_draft"
6389
6555
  end
6390
6556
  if @api_client.config.client_side_validation && !opts[:'idempotency_key'].nil? && opts[:'idempotency_key'].to_s.length > 255
6391
6557
  fail ArgumentError, 'invalid value for "opts[:"idempotency_key"]" when calling EventsApi.put_api_events_by_event_id_map_draft, the character length must be smaller than or equal to 255.'
@@ -6414,7 +6580,7 @@ module SeatsChart
6414
6580
  form_params = opts[:form_params] || {}
6415
6581
 
6416
6582
  # http body (model)
6417
- post_body = opts[:debug_body] || @api_client.object_to_http_body(post_api_charts_by_chart_id_actions_validate_request)
6583
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(put_api_charts_by_chart_id_map_draft_request)
6418
6584
 
6419
6585
  # return_type
6420
6586
  return_type = opts[:debug_return_type]