seatschart 0.3.0 → 0.4.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.
- checksums.yaml +4 -4
- data/README.md +39 -6
- data/lib/seatschart/api/auth_api.rb +81 -4
- data/lib/seatschart/api/billing_api.rb +4 -0
- data/lib/seatschart/api/charts_api.rb +11 -11
- data/lib/seatschart/api/events_api.rb +20 -20
- data/lib/seatschart/api/public_api.rb +6 -6
- data/lib/seatschart/api/workspace_api.rb +1213 -47
- data/lib/seatschart/models/api_error.rb +4 -4
- data/lib/seatschart/models/delete_api_workspaces_by_workspace_id_keys_by_key_id200_response.rb +237 -0
- data/lib/seatschart/models/get_api_workspaces200_response_items_inner.rb +50 -4
- data/lib/seatschart/models/get_api_workspaces_by_workspace_id_keys200_response.rb +239 -0
- data/lib/seatschart/models/get_api_workspaces_by_workspace_id_keys200_response_api_keys_inner.rb +321 -0
- data/lib/seatschart/models/get_api_workspaces_created_by_api_parameter.rb +103 -0
- data/lib/seatschart/models/get_api_workspaces_overview_created_by_api_parameter.rb +103 -0
- data/lib/seatschart/models/patch_api_events_by_event_id_request.rb +15 -15
- data/lib/seatschart/models/patch_api_workspaces_by_workspace_id_keys_by_key_id200_response.rb +221 -0
- data/lib/seatschart/models/patch_api_workspaces_by_workspace_id_keys_by_key_id_request.rb +292 -0
- data/lib/seatschart/models/patch_api_workspaces_by_workspace_id_request.rb +288 -0
- data/lib/seatschart/models/post_api_auth_new_workspace_request.rb +294 -0
- data/lib/seatschart/models/post_api_workspaces200_response.rb +468 -0
- data/lib/seatschart/models/post_api_workspaces200_response_api_key.rb +332 -0
- data/lib/seatschart/models/post_api_workspaces200_response_template.rb +260 -0
- data/lib/seatschart/models/post_api_workspaces200_response_template_webhooks_inner.rb +284 -0
- data/lib/seatschart/models/post_api_workspaces_by_workspace_id_actions_delete200_response.rb +319 -0
- data/lib/seatschart/models/post_api_workspaces_by_workspace_id_actions_delete_request.rb +281 -0
- data/lib/seatschart/models/post_api_workspaces_by_workspace_id_invitations_request.rb +300 -0
- data/lib/seatschart/models/post_api_workspaces_by_workspace_id_keys201_response.rb +237 -0
- data/lib/seatschart/models/post_api_workspaces_by_workspace_id_keys201_response_api_key.rb +338 -0
- data/lib/seatschart/models/post_api_workspaces_by_workspace_id_keys_request.rb +299 -0
- data/lib/seatschart/models/post_api_workspaces_request.rb +100 -4
- data/lib/seatschart/models/post_api_workspaces_request_issue_key.rb +294 -0
- data/lib/seatschart/version.rb +1 -1
- data/lib/seatschart.rb +20 -1
- metadata +22 -3
- data/lib/seatschart/models/put_api_charts_by_chart_id_map_draft_request.rb +0 -349
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bbf500c95050180ca08ecccc9dc9660ffa6b1646d816bf90d52bef6753f64ba7
|
|
4
|
+
data.tar.gz: ed22fd40429b7b321fea64c13b8ecedf9d7eaf9bb932fc63334c68cbad5c990c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 996547fffc7b78bee7346e9a39aba7a04a21e66cd8ad6751ae3c592a622d5f928f37567b73723ffcc92f1b627ef2eafe003be6a0f3198b3044e9a1f9a93bf967
|
|
7
|
+
data.tar.gz: a1d73694b0dd53588af105c2b701656aa1e2e0c62ff63cdbe064e3266ad639f6dbc8cc40582fe65e29f989b8f9b30418088cb6c15e409cc3a232f5523b4d2dbc
|
data/README.md
CHANGED
|
@@ -83,7 +83,7 @@ Seat inventory and locking API for B2B2C integrations. Authenticate using `x-api
|
|
|
83
83
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
84
84
|
|
|
85
85
|
- API version: 1.0.0
|
|
86
|
-
- Package version: 0.
|
|
86
|
+
- Package version: 0.4.0
|
|
87
87
|
- Generator version: 7.11.0
|
|
88
88
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
|
89
89
|
|
|
@@ -96,7 +96,7 @@ gem install seatschart
|
|
|
96
96
|
or add it to the Gemfile:
|
|
97
97
|
|
|
98
98
|
```ruby
|
|
99
|
-
gem 'seatschart', '~> 0.
|
|
99
|
+
gem 'seatschart', '~> 0.4.0'
|
|
100
100
|
```
|
|
101
101
|
|
|
102
102
|
## Getting Started
|
|
@@ -156,6 +156,7 @@ Class | Method | HTTP request | Description
|
|
|
156
156
|
*SeatsChart::AuthApi* | [**post_api_auth_accept_invite**](docs/AuthApi.md#post_api_auth_accept_invite) | **POST** /api/auth/accept-invite | Accept a workspace invitation
|
|
157
157
|
*SeatsChart::AuthApi* | [**post_api_auth_login**](docs/AuthApi.md#post_api_auth_login) | **POST** /api/auth/login | Sign in with email and password
|
|
158
158
|
*SeatsChart::AuthApi* | [**post_api_auth_logout**](docs/AuthApi.md#post_api_auth_logout) | **POST** /api/auth/logout | Revoke refresh token
|
|
159
|
+
*SeatsChart::AuthApi* | [**post_api_auth_new_workspace**](docs/AuthApi.md#post_api_auth_new_workspace) | **POST** /api/auth/new-workspace | Create a new workspace for an account that belongs to none
|
|
159
160
|
*SeatsChart::AuthApi* | [**post_api_auth_refresh**](docs/AuthApi.md#post_api_auth_refresh) | **POST** /api/auth/refresh | Rotate refresh token and issue new access JWT
|
|
160
161
|
*SeatsChart::AuthApi* | [**post_api_auth_signup**](docs/AuthApi.md#post_api_auth_signup) | **POST** /api/auth/signup | Create account and workspace
|
|
161
162
|
*SeatsChart::AuthApi* | [**post_api_auth_switch_workspace**](docs/AuthApi.md#post_api_auth_switch_workspace) | **POST** /api/auth/switch-workspace | Switch active workspace
|
|
@@ -483,7 +484,10 @@ Class | Method | HTTP request | Description
|
|
|
483
484
|
*SeatsChart::WebhooksApi* | [**post_api_webhooks_by_id_deliveries_by_delivery_id_replay**](docs/WebhooksApi.md#post_api_webhooks_by_id_deliveries_by_delivery_id_replay) | **POST** /api/webhooks/{id}/deliveries/{deliveryId}/replay | Replay a webhook delivery
|
|
484
485
|
*SeatsChart::WebhooksApi* | [**post_api_webhooks_by_id_rotate_secret**](docs/WebhooksApi.md#post_api_webhooks_by_id_rotate_secret) | **POST** /api/webhooks/{id}/rotate-secret | Rotate a webhook signing secret
|
|
485
486
|
*SeatsChart::WebhooksApi* | [**post_api_webhooks_by_id_test**](docs/WebhooksApi.md#post_api_webhooks_by_id_test) | **POST** /api/webhooks/{id}/test | Send a signed test event
|
|
486
|
-
*SeatsChart::WorkspaceApi* | [**delete_api_workspaces_by_workspace_id**](docs/WorkspaceApi.md#delete_api_workspaces_by_workspace_id) | **DELETE** /api/workspaces/{workspaceId} |
|
|
487
|
+
*SeatsChart::WorkspaceApi* | [**delete_api_workspaces_by_workspace_id**](docs/WorkspaceApi.md#delete_api_workspaces_by_workspace_id) | **DELETE** /api/workspaces/{workspaceId} | Deactivate a workspace (legacy DELETE)
|
|
488
|
+
*SeatsChart::WorkspaceApi* | [**delete_api_workspaces_by_workspace_id_invitations_by_invitation_id**](docs/WorkspaceApi.md#delete_api_workspaces_by_workspace_id_invitations_by_invitation_id) | **DELETE** /api/workspaces/{workspaceId}/invitations/{invitationId} | Revoke a pending invitation of a workspace you administer
|
|
489
|
+
*SeatsChart::WorkspaceApi* | [**delete_api_workspaces_by_workspace_id_keys_by_key_id**](docs/WorkspaceApi.md#delete_api_workspaces_by_workspace_id_keys_by_key_id) | **DELETE** /api/workspaces/{workspaceId}/keys/{keyId} | Revoke a key of a workspace you administer
|
|
490
|
+
*SeatsChart::WorkspaceApi* | [**delete_api_workspaces_by_workspace_id_members_by_user_id**](docs/WorkspaceApi.md#delete_api_workspaces_by_workspace_id_members_by_user_id) | **DELETE** /api/workspaces/{workspaceId}/members/{userId} | Remove a member from a workspace you administer
|
|
487
491
|
*SeatsChart::WorkspaceApi* | [**get_api_workspace**](docs/WorkspaceApi.md#get_api_workspace) | **GET** /api/workspace | Get workspace profile for the authenticated tenant
|
|
488
492
|
*SeatsChart::WorkspaceApi* | [**get_api_workspace_buyer_extra_data**](docs/WorkspaceApi.md#get_api_workspace_buyer_extra_data) | **GET** /api/workspace/buyer-extra-data | Get the buyer extraData publication (opt-in, allow-listed keys)
|
|
489
493
|
*SeatsChart::WorkspaceApi* | [**get_api_workspace_chart_validation**](docs/WorkspaceApi.md#get_api_workspace_chart_validation) | **GET** /api/workspace/chart-validation | Get chart validation severities
|
|
@@ -491,18 +495,28 @@ Class | Method | HTTP request | Description
|
|
|
491
495
|
*SeatsChart::WorkspaceApi* | [**get_api_workspace_integration**](docs/WorkspaceApi.md#get_api_workspace_integration) | **GET** /api/workspace/integration | Get the workspace integration mode (pricing source)
|
|
492
496
|
*SeatsChart::WorkspaceApi* | [**get_api_workspace_settings**](docs/WorkspaceApi.md#get_api_workspace_settings) | **GET** /api/workspace/settings | Get workspace settings (effective value and source)
|
|
493
497
|
*SeatsChart::WorkspaceApi* | [**get_api_workspaces**](docs/WorkspaceApi.md#get_api_workspaces) | **GET** /api/workspaces | List my workspaces
|
|
498
|
+
*SeatsChart::WorkspaceApi* | [**get_api_workspaces_by_external_id_by_external_id**](docs/WorkspaceApi.md#get_api_workspaces_by_external_id_by_external_id) | **GET** /api/workspaces/by-external-id/{externalId} | Get one of my workspaces by its external id
|
|
494
499
|
*SeatsChart::WorkspaceApi* | [**get_api_workspaces_by_workspace_id**](docs/WorkspaceApi.md#get_api_workspaces_by_workspace_id) | **GET** /api/workspaces/{workspaceId} | Get one of my workspaces
|
|
500
|
+
*SeatsChart::WorkspaceApi* | [**get_api_workspaces_by_workspace_id_invitations**](docs/WorkspaceApi.md#get_api_workspaces_by_workspace_id_invitations) | **GET** /api/workspaces/{workspaceId}/invitations | List the pending invitations of a workspace you administer
|
|
501
|
+
*SeatsChart::WorkspaceApi* | [**get_api_workspaces_by_workspace_id_keys**](docs/WorkspaceApi.md#get_api_workspaces_by_workspace_id_keys) | **GET** /api/workspaces/{workspaceId}/keys | List the API keys of a workspace you administer
|
|
502
|
+
*SeatsChart::WorkspaceApi* | [**get_api_workspaces_by_workspace_id_members**](docs/WorkspaceApi.md#get_api_workspaces_by_workspace_id_members) | **GET** /api/workspaces/{workspaceId}/members | List the members of a workspace you administer
|
|
503
|
+
*SeatsChart::WorkspaceApi* | [**get_api_workspaces_overview**](docs/WorkspaceApi.md#get_api_workspaces_overview) | **GET** /api/workspaces/overview | Consolidated overview of the organizer workspaces you administer
|
|
495
504
|
*SeatsChart::WorkspaceApi* | [**patch_api_workspace**](docs/WorkspaceApi.md#patch_api_workspace) | **PATCH** /api/workspace | Update workspace display name
|
|
496
505
|
*SeatsChart::WorkspaceApi* | [**patch_api_workspace_chart_validation**](docs/WorkspaceApi.md#patch_api_workspace_chart_validation) | **PATCH** /api/workspace/chart-validation | Update chart validation severities
|
|
497
506
|
*SeatsChart::WorkspaceApi* | [**patch_api_workspace_defaults**](docs/WorkspaceApi.md#patch_api_workspace_defaults) | **PATCH** /api/workspace/defaults | Change the workspace defaults (renderer settings, draft chart drawings)
|
|
498
507
|
*SeatsChart::WorkspaceApi* | [**patch_api_workspace_integration**](docs/WorkspaceApi.md#patch_api_workspace_integration) | **PATCH** /api/workspace/integration | Change the workspace integration mode
|
|
499
508
|
*SeatsChart::WorkspaceApi* | [**patch_api_workspace_settings**](docs/WorkspaceApi.md#patch_api_workspace_settings) | **PATCH** /api/workspace/settings | Override workspace settings or return them to the default
|
|
500
|
-
*SeatsChart::WorkspaceApi* | [**patch_api_workspaces_by_workspace_id**](docs/WorkspaceApi.md#patch_api_workspaces_by_workspace_id) | **PATCH** /api/workspaces/{workspaceId} | Rename one of my workspaces
|
|
509
|
+
*SeatsChart::WorkspaceApi* | [**patch_api_workspaces_by_workspace_id**](docs/WorkspaceApi.md#patch_api_workspaces_by_workspace_id) | **PATCH** /api/workspaces/{workspaceId} | Rename one of my workspaces or change its external id
|
|
510
|
+
*SeatsChart::WorkspaceApi* | [**patch_api_workspaces_by_workspace_id_keys_by_key_id**](docs/WorkspaceApi.md#patch_api_workspaces_by_workspace_id_keys_by_key_id) | **PATCH** /api/workspaces/{workspaceId}/keys/{keyId} | Rename a key of a workspace you administer or change its scopes
|
|
501
511
|
*SeatsChart::WorkspaceApi* | [**post_api_workspace_public_key_rotate**](docs/WorkspaceApi.md#post_api_workspace_public_key_rotate) | **POST** /api/workspace/public-key/rotate | Rotate the public workspace key
|
|
502
|
-
*SeatsChart::WorkspaceApi* | [**post_api_workspaces**](docs/WorkspaceApi.md#post_api_workspaces) | **POST** /api/workspaces | Create an
|
|
512
|
+
*SeatsChart::WorkspaceApi* | [**post_api_workspaces**](docs/WorkspaceApi.md#post_api_workspaces) | **POST** /api/workspaces | Create a workspace (provision an organizer)
|
|
503
513
|
*SeatsChart::WorkspaceApi* | [**post_api_workspaces_by_workspace_id_actions_activate**](docs/WorkspaceApi.md#post_api_workspaces_by_workspace_id_actions_activate) | **POST** /api/workspaces/{workspaceId}/actions/activate | Reactivate a workspace
|
|
504
514
|
*SeatsChart::WorkspaceApi* | [**post_api_workspaces_by_workspace_id_actions_deactivate**](docs/WorkspaceApi.md#post_api_workspaces_by_workspace_id_actions_deactivate) | **POST** /api/workspaces/{workspaceId}/actions/deactivate | Deactivate a workspace
|
|
515
|
+
*SeatsChart::WorkspaceApi* | [**post_api_workspaces_by_workspace_id_actions_delete**](docs/WorkspaceApi.md#post_api_workspaces_by_workspace_id_actions_delete) | **POST** /api/workspaces/{workspaceId}/actions/delete | Delete a workspace
|
|
505
516
|
*SeatsChart::WorkspaceApi* | [**post_api_workspaces_by_workspace_id_actions_set_default**](docs/WorkspaceApi.md#post_api_workspaces_by_workspace_id_actions_set_default) | **POST** /api/workspaces/{workspaceId}/actions/set-default | Set my default workspace
|
|
517
|
+
*SeatsChart::WorkspaceApi* | [**post_api_workspaces_by_workspace_id_invitations**](docs/WorkspaceApi.md#post_api_workspaces_by_workspace_id_invitations) | **POST** /api/workspaces/{workspaceId}/invitations | Invite a person to a workspace you administer
|
|
518
|
+
*SeatsChart::WorkspaceApi* | [**post_api_workspaces_by_workspace_id_keys**](docs/WorkspaceApi.md#post_api_workspaces_by_workspace_id_keys) | **POST** /api/workspaces/{workspaceId}/keys | Mint an API key in a workspace you administer
|
|
519
|
+
*SeatsChart::WorkspaceApi* | [**post_api_workspaces_by_workspace_id_keys_by_key_id_actions_rotate**](docs/WorkspaceApi.md#post_api_workspaces_by_workspace_id_keys_by_key_id_actions_rotate) | **POST** /api/workspaces/{workspaceId}/keys/{keyId}/actions/rotate | Rotate the secret of a key of a workspace you administer
|
|
506
520
|
*SeatsChart::WorkspaceApi* | [**put_api_workspace_buyer_extra_data**](docs/WorkspaceApi.md#put_api_workspace_buyer_extra_data) | **PUT** /api/workspace/buyer-extra-data | Publish selected extraData keys to buyers (or stop)
|
|
507
521
|
|
|
508
522
|
|
|
@@ -512,6 +526,7 @@ Class | Method | HTTP request | Description
|
|
|
512
526
|
- [SeatsChart::ApiErrorParamsValue](docs/ApiErrorParamsValue.md)
|
|
513
527
|
- [SeatsChart::DeleteApiSandboxesBySandboxId200Response](docs/DeleteApiSandboxesBySandboxId200Response.md)
|
|
514
528
|
- [SeatsChart::DeleteApiWorkspacesByWorkspaceId200Response](docs/DeleteApiWorkspacesByWorkspaceId200Response.md)
|
|
529
|
+
- [SeatsChart::DeleteApiWorkspacesByWorkspaceIdKeysByKeyId200Response](docs/DeleteApiWorkspacesByWorkspaceIdKeysByKeyId200Response.md)
|
|
515
530
|
- [SeatsChart::GetApiChartsByChartIdVersions200Response](docs/GetApiChartsByChartIdVersions200Response.md)
|
|
516
531
|
- [SeatsChart::GetApiChartsByChartIdVersions200ResponseItemsInner](docs/GetApiChartsByChartIdVersions200ResponseItemsInner.md)
|
|
517
532
|
- [SeatsChart::GetApiChartsByChartIdVersions200ResponseItemsInnerPublishedBy](docs/GetApiChartsByChartIdVersions200ResponseItemsInnerPublishedBy.md)
|
|
@@ -549,6 +564,10 @@ Class | Method | HTTP request | Description
|
|
|
549
564
|
- [SeatsChart::GetApiWorkspaceSettings200ResponseSources](docs/GetApiWorkspaceSettings200ResponseSources.md)
|
|
550
565
|
- [SeatsChart::GetApiWorkspaces200Response](docs/GetApiWorkspaces200Response.md)
|
|
551
566
|
- [SeatsChart::GetApiWorkspaces200ResponseItemsInner](docs/GetApiWorkspaces200ResponseItemsInner.md)
|
|
567
|
+
- [SeatsChart::GetApiWorkspacesByWorkspaceIdKeys200Response](docs/GetApiWorkspacesByWorkspaceIdKeys200Response.md)
|
|
568
|
+
- [SeatsChart::GetApiWorkspacesByWorkspaceIdKeys200ResponseApiKeysInner](docs/GetApiWorkspacesByWorkspaceIdKeys200ResponseApiKeysInner.md)
|
|
569
|
+
- [SeatsChart::GetApiWorkspacesCreatedByApiParameter](docs/GetApiWorkspacesCreatedByApiParameter.md)
|
|
570
|
+
- [SeatsChart::GetApiWorkspacesOverviewCreatedByApiParameter](docs/GetApiWorkspacesOverviewCreatedByApiParameter.md)
|
|
552
571
|
- [SeatsChart::PatchApiChartsByChartIdCategoriesByCategoryIdRequest](docs/PatchApiChartsByChartIdCategoriesByCategoryIdRequest.md)
|
|
553
572
|
- [SeatsChart::PatchApiChartsByChartIdRequest](docs/PatchApiChartsByChartIdRequest.md)
|
|
554
573
|
- [SeatsChart::PatchApiEventsByEventIdInventoryChannelsByChannelKeyIdRequest](docs/PatchApiEventsByEventIdInventoryChannelsByChannelKeyIdRequest.md)
|
|
@@ -569,6 +588,9 @@ Class | Method | HTTP request | Description
|
|
|
569
588
|
- [SeatsChart::PatchApiWorkspaceIntegrationRequest](docs/PatchApiWorkspaceIntegrationRequest.md)
|
|
570
589
|
- [SeatsChart::PatchApiWorkspaceRequest](docs/PatchApiWorkspaceRequest.md)
|
|
571
590
|
- [SeatsChart::PatchApiWorkspaceSettingsRequest](docs/PatchApiWorkspaceSettingsRequest.md)
|
|
591
|
+
- [SeatsChart::PatchApiWorkspacesByWorkspaceIdKeysByKeyId200Response](docs/PatchApiWorkspacesByWorkspaceIdKeysByKeyId200Response.md)
|
|
592
|
+
- [SeatsChart::PatchApiWorkspacesByWorkspaceIdKeysByKeyIdRequest](docs/PatchApiWorkspacesByWorkspaceIdKeysByKeyIdRequest.md)
|
|
593
|
+
- [SeatsChart::PatchApiWorkspacesByWorkspaceIdRequest](docs/PatchApiWorkspacesByWorkspaceIdRequest.md)
|
|
572
594
|
- [SeatsChart::PostApiAuth2faDisableRequest](docs/PostApiAuth2faDisableRequest.md)
|
|
573
595
|
- [SeatsChart::PostApiAuth2faEnableRequest](docs/PostApiAuth2faEnableRequest.md)
|
|
574
596
|
- [SeatsChart::PostApiAuth2faEnrollConfirmRequest](docs/PostApiAuth2faEnrollConfirmRequest.md)
|
|
@@ -577,6 +599,7 @@ Class | Method | HTTP request | Description
|
|
|
577
599
|
- [SeatsChart::PostApiAuthAcceptInviteRequest](docs/PostApiAuthAcceptInviteRequest.md)
|
|
578
600
|
- [SeatsChart::PostApiAuthLoginRequest](docs/PostApiAuthLoginRequest.md)
|
|
579
601
|
- [SeatsChart::PostApiAuthLogoutRequest](docs/PostApiAuthLogoutRequest.md)
|
|
602
|
+
- [SeatsChart::PostApiAuthNewWorkspaceRequest](docs/PostApiAuthNewWorkspaceRequest.md)
|
|
580
603
|
- [SeatsChart::PostApiAuthRefreshRequest](docs/PostApiAuthRefreshRequest.md)
|
|
581
604
|
- [SeatsChart::PostApiAuthSignupRequest](docs/PostApiAuthSignupRequest.md)
|
|
582
605
|
- [SeatsChart::PostApiAuthSwitchWorkspaceRequest](docs/PostApiAuthSwitchWorkspaceRequest.md)
|
|
@@ -688,8 +711,18 @@ Class | Method | HTTP request | Description
|
|
|
688
711
|
- [SeatsChart::PostApiTicketBuyersRequest](docs/PostApiTicketBuyersRequest.md)
|
|
689
712
|
- [SeatsChart::PostApiViewerTokensRequest](docs/PostApiViewerTokensRequest.md)
|
|
690
713
|
- [SeatsChart::PostApiWebhooksRequest](docs/PostApiWebhooksRequest.md)
|
|
714
|
+
- [SeatsChart::PostApiWorkspaces200Response](docs/PostApiWorkspaces200Response.md)
|
|
715
|
+
- [SeatsChart::PostApiWorkspaces200ResponseApiKey](docs/PostApiWorkspaces200ResponseApiKey.md)
|
|
716
|
+
- [SeatsChart::PostApiWorkspaces200ResponseTemplate](docs/PostApiWorkspaces200ResponseTemplate.md)
|
|
717
|
+
- [SeatsChart::PostApiWorkspaces200ResponseTemplateWebhooksInner](docs/PostApiWorkspaces200ResponseTemplateWebhooksInner.md)
|
|
718
|
+
- [SeatsChart::PostApiWorkspacesByWorkspaceIdActionsDelete200Response](docs/PostApiWorkspacesByWorkspaceIdActionsDelete200Response.md)
|
|
719
|
+
- [SeatsChart::PostApiWorkspacesByWorkspaceIdActionsDeleteRequest](docs/PostApiWorkspacesByWorkspaceIdActionsDeleteRequest.md)
|
|
720
|
+
- [SeatsChart::PostApiWorkspacesByWorkspaceIdInvitationsRequest](docs/PostApiWorkspacesByWorkspaceIdInvitationsRequest.md)
|
|
721
|
+
- [SeatsChart::PostApiWorkspacesByWorkspaceIdKeys201Response](docs/PostApiWorkspacesByWorkspaceIdKeys201Response.md)
|
|
722
|
+
- [SeatsChart::PostApiWorkspacesByWorkspaceIdKeys201ResponseApiKey](docs/PostApiWorkspacesByWorkspaceIdKeys201ResponseApiKey.md)
|
|
723
|
+
- [SeatsChart::PostApiWorkspacesByWorkspaceIdKeysRequest](docs/PostApiWorkspacesByWorkspaceIdKeysRequest.md)
|
|
691
724
|
- [SeatsChart::PostApiWorkspacesRequest](docs/PostApiWorkspacesRequest.md)
|
|
692
|
-
- [SeatsChart::
|
|
725
|
+
- [SeatsChart::PostApiWorkspacesRequestIssueKey](docs/PostApiWorkspacesRequestIssueKey.md)
|
|
693
726
|
- [SeatsChart::PutApiChartsByChartIdTagsRequest](docs/PutApiChartsByChartIdTagsRequest.md)
|
|
694
727
|
- [SeatsChart::PutApiChartsByChartIdVersionsByVersionThumbnailRequest](docs/PutApiChartsByChartIdVersionsByVersionThumbnailRequest.md)
|
|
695
728
|
- [SeatsChart::PutApiEventsByEventIdInventoryChannelsDefinitionsRequest](docs/PutApiEventsByEventIdInventoryChannelsDefinitionsRequest.md)
|
|
@@ -802,7 +802,7 @@ module SeatsChart
|
|
|
802
802
|
end
|
|
803
803
|
|
|
804
804
|
# Sign in with email and password
|
|
805
|
-
# Returns tokens, or a second step: `{ twoFactorRequired: true, pendingToken }` when the account has two-factor authentication (finish with `POST /auth/2fa/verify`), or `{ twoFactorEnrollmentRequired: true, pendingToken }` when the workspace requires 2FA and the account has none yet (`POST /auth/2fa/enroll/start` then `/enroll/confirm`). No session exists until the second step succeeds.
|
|
805
|
+
# Returns tokens, or a second step: `{ twoFactorRequired: true, pendingToken }` when the account has two-factor authentication (finish with `POST /auth/2fa/verify`), or `{ twoFactorEnrollmentRequired: true, pendingToken }` when the workspace requires 2FA and the account has none yet (`POST /auth/2fa/enroll/start` then `/enroll/confirm`). No session exists until the second step succeeds. An account that belongs to no workspace any more gets 403 `ERR_NO_WORKSPACE` with a single-use `newWorkspaceToken` (after its two-factor code, if it has 2FA): `POST /auth/new-workspace` starts a new workspace.
|
|
806
806
|
# @param post_api_auth_login_request [PostApiAuthLoginRequest]
|
|
807
807
|
# @param [Hash] opts the optional parameters
|
|
808
808
|
# @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.
|
|
@@ -813,7 +813,7 @@ module SeatsChart
|
|
|
813
813
|
end
|
|
814
814
|
|
|
815
815
|
# Sign in with email and password
|
|
816
|
-
# Returns tokens, or a second step: `{ twoFactorRequired: true, pendingToken }` when the account has two-factor authentication (finish with `POST /auth/2fa/verify`), or `{ twoFactorEnrollmentRequired: true, pendingToken }` when the workspace requires 2FA and the account has none yet (`POST /auth/2fa/enroll/start` then `/enroll/confirm`). No session exists until the second step succeeds.
|
|
816
|
+
# Returns tokens, or a second step: `{ twoFactorRequired: true, pendingToken }` when the account has two-factor authentication (finish with `POST /auth/2fa/verify`), or `{ twoFactorEnrollmentRequired: true, pendingToken }` when the workspace requires 2FA and the account has none yet (`POST /auth/2fa/enroll/start` then `/enroll/confirm`). No session exists until the second step succeeds. An account that belongs to no workspace any more gets 403 `ERR_NO_WORKSPACE` with a single-use `newWorkspaceToken` (after its two-factor code, if it has 2FA): `POST /auth/new-workspace` starts a new workspace.
|
|
817
817
|
# @param post_api_auth_login_request [PostApiAuthLoginRequest]
|
|
818
818
|
# @param [Hash] opts the optional parameters
|
|
819
819
|
# @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.
|
|
@@ -953,8 +953,85 @@ module SeatsChart
|
|
|
953
953
|
return data, status_code, headers
|
|
954
954
|
end
|
|
955
955
|
|
|
956
|
+
# Create a new workspace for an account that belongs to none
|
|
957
|
+
# An account removed from its last workspace signs in with the right password (and its two-factor code, if any) and gets 403 `ERR_NO_WORKSPACE` with a single-use `newWorkspaceToken` (5 minutes). This creates a new workspace with the account as its only admin and returns the session tokens. It never restores access to a former workspace; 409 when the account belongs to a workspace again. Written to the new workspace's audit log (`workspace.create`, `reason: no_workspace_left`).
|
|
958
|
+
# @param post_api_auth_new_workspace_request [PostApiAuthNewWorkspaceRequest]
|
|
959
|
+
# @param [Hash] opts the optional parameters
|
|
960
|
+
# @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.
|
|
961
|
+
# @return [nil]
|
|
962
|
+
def post_api_auth_new_workspace(post_api_auth_new_workspace_request, opts = {})
|
|
963
|
+
post_api_auth_new_workspace_with_http_info(post_api_auth_new_workspace_request, opts)
|
|
964
|
+
nil
|
|
965
|
+
end
|
|
966
|
+
|
|
967
|
+
# Create a new workspace for an account that belongs to none
|
|
968
|
+
# An account removed from its last workspace signs in with the right password (and its two-factor code, if any) and gets 403 `ERR_NO_WORKSPACE` with a single-use `newWorkspaceToken` (5 minutes). This creates a new workspace with the account as its only admin and returns the session tokens. It never restores access to a former workspace; 409 when the account belongs to a workspace again. Written to the new workspace's audit log (`workspace.create`, `reason: no_workspace_left`).
|
|
969
|
+
# @param post_api_auth_new_workspace_request [PostApiAuthNewWorkspaceRequest]
|
|
970
|
+
# @param [Hash] opts the optional parameters
|
|
971
|
+
# @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.
|
|
972
|
+
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
973
|
+
def post_api_auth_new_workspace_with_http_info(post_api_auth_new_workspace_request, opts = {})
|
|
974
|
+
if @api_client.config.debugging
|
|
975
|
+
@api_client.config.logger.debug 'Calling API: AuthApi.post_api_auth_new_workspace ...'
|
|
976
|
+
end
|
|
977
|
+
# verify the required parameter 'post_api_auth_new_workspace_request' is set
|
|
978
|
+
if @api_client.config.client_side_validation && post_api_auth_new_workspace_request.nil?
|
|
979
|
+
fail ArgumentError, "Missing the required parameter 'post_api_auth_new_workspace_request' when calling AuthApi.post_api_auth_new_workspace"
|
|
980
|
+
end
|
|
981
|
+
if @api_client.config.client_side_validation && !opts[:'idempotency_key'].nil? && opts[:'idempotency_key'].to_s.length > 255
|
|
982
|
+
fail ArgumentError, 'invalid value for "opts[:"idempotency_key"]" when calling AuthApi.post_api_auth_new_workspace, the character length must be smaller than or equal to 255.'
|
|
983
|
+
end
|
|
984
|
+
|
|
985
|
+
if @api_client.config.client_side_validation && !opts[:'idempotency_key'].nil? && opts[:'idempotency_key'].to_s.length < 1
|
|
986
|
+
fail ArgumentError, 'invalid value for "opts[:"idempotency_key"]" when calling AuthApi.post_api_auth_new_workspace, the character length must be great than or equal to 1.'
|
|
987
|
+
end
|
|
988
|
+
|
|
989
|
+
# resource path
|
|
990
|
+
local_var_path = '/api/auth/new-workspace'
|
|
991
|
+
|
|
992
|
+
# query parameters
|
|
993
|
+
query_params = opts[:query_params] || {}
|
|
994
|
+
|
|
995
|
+
# header parameters
|
|
996
|
+
header_params = opts[:header_params] || {}
|
|
997
|
+
# HTTP header 'Content-Type'
|
|
998
|
+
content_type = @api_client.select_header_content_type(['application/json', 'multipart/form-data', 'text/plain'])
|
|
999
|
+
if !content_type.nil?
|
|
1000
|
+
header_params['Content-Type'] = content_type
|
|
1001
|
+
end
|
|
1002
|
+
header_params[:'Idempotency-Key'] = opts[:'idempotency_key'] if !opts[:'idempotency_key'].nil?
|
|
1003
|
+
|
|
1004
|
+
# form parameters
|
|
1005
|
+
form_params = opts[:form_params] || {}
|
|
1006
|
+
|
|
1007
|
+
# http body (model)
|
|
1008
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(post_api_auth_new_workspace_request)
|
|
1009
|
+
|
|
1010
|
+
# return_type
|
|
1011
|
+
return_type = opts[:debug_return_type]
|
|
1012
|
+
|
|
1013
|
+
# auth_names
|
|
1014
|
+
auth_names = opts[:debug_auth_names] || []
|
|
1015
|
+
|
|
1016
|
+
new_options = opts.merge(
|
|
1017
|
+
:operation => :"AuthApi.post_api_auth_new_workspace",
|
|
1018
|
+
:header_params => header_params,
|
|
1019
|
+
:query_params => query_params,
|
|
1020
|
+
:form_params => form_params,
|
|
1021
|
+
:body => post_body,
|
|
1022
|
+
:auth_names => auth_names,
|
|
1023
|
+
:return_type => return_type
|
|
1024
|
+
)
|
|
1025
|
+
|
|
1026
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
|
1027
|
+
if @api_client.config.debugging
|
|
1028
|
+
@api_client.config.logger.debug "API called: AuthApi#post_api_auth_new_workspace\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
|
1029
|
+
end
|
|
1030
|
+
return data, status_code, headers
|
|
1031
|
+
end
|
|
1032
|
+
|
|
956
1033
|
# Rotate refresh token and issue new access JWT
|
|
957
|
-
# Consumes a one-time refresh token (Redis), revokes it, and returns a new refresh + access pair. Use `audience: viewer` for B2C embed tokens.
|
|
1034
|
+
# Consumes a one-time refresh token (Redis), revokes it, and returns a new refresh + access pair. Use `audience: viewer` for B2C embed tokens. Dashboard access tokens live one hour (`expiresIn`, seconds) and viewer tokens two hours; the refresh token lives 30 days and every renewal checks workspace membership and the 2FA policy again.
|
|
958
1035
|
# @param post_api_auth_refresh_request [PostApiAuthRefreshRequest]
|
|
959
1036
|
# @param [Hash] opts the optional parameters
|
|
960
1037
|
# @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.
|
|
@@ -965,7 +1042,7 @@ module SeatsChart
|
|
|
965
1042
|
end
|
|
966
1043
|
|
|
967
1044
|
# Rotate refresh token and issue new access JWT
|
|
968
|
-
# Consumes a one-time refresh token (Redis), revokes it, and returns a new refresh + access pair. Use `audience: viewer` for B2C embed tokens.
|
|
1045
|
+
# Consumes a one-time refresh token (Redis), revokes it, and returns a new refresh + access pair. Use `audience: viewer` for B2C embed tokens. Dashboard access tokens live one hour (`expiresIn`, seconds) and viewer tokens two hours; the refresh token lives 30 days and every renewal checks workspace membership and the 2FA policy again.
|
|
969
1046
|
# @param post_api_auth_refresh_request [PostApiAuthRefreshRequest]
|
|
970
1047
|
# @param [Hash] opts the optional parameters
|
|
971
1048
|
# @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.
|
|
@@ -20,6 +20,7 @@ module SeatsChart
|
|
|
20
20
|
@api_client = api_client
|
|
21
21
|
end
|
|
22
22
|
# Get billing status and plan usage
|
|
23
|
+
# Plan, subscription, usage against the limits and the plan catalogue. `managedByPlatform` is true for a workspace a ticketing platform provisioned with its workspace admin key: it is billed to the platform account, so only that platform admin may open checkout or the billing portal (`canManageBilling`); everyone else gets 403 `billing_managed_by_platform` there, and plan-limit refusals carry `billingManagedByPlatform: true` instead of an upgrade prompt.
|
|
23
24
|
# @param [Hash] opts the optional parameters
|
|
24
25
|
# @return [nil]
|
|
25
26
|
def get_api_billing(opts = {})
|
|
@@ -28,6 +29,7 @@ module SeatsChart
|
|
|
28
29
|
end
|
|
29
30
|
|
|
30
31
|
# Get billing status and plan usage
|
|
32
|
+
# Plan, subscription, usage against the limits and the plan catalogue. `managedByPlatform` is true for a workspace a ticketing platform provisioned with its workspace admin key: it is billed to the platform account, so only that platform admin may open checkout or the billing portal (`canManageBilling`); everyone else gets 403 `billing_managed_by_platform` there, and plan-limit refusals carry `billingManagedByPlatform: true` instead of an upgrade prompt.
|
|
31
33
|
# @param [Hash] opts the optional parameters
|
|
32
34
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
33
35
|
def get_api_billing_with_http_info(opts = {})
|
|
@@ -73,6 +75,7 @@ module SeatsChart
|
|
|
73
75
|
end
|
|
74
76
|
|
|
75
77
|
# Create Stripe Checkout session for a paid plan
|
|
78
|
+
# Returns `{ url }` of a Stripe Checkout for `planId` (`starter` | `pro`). 409 `ERR_SUBSCRIPTION_EXISTS` when the workspace already has a live subscription (change plans in the billing portal: `POST /billing/portal-session`), 409 `test_workspace_not_billable` in a test workspace, 400 `plan_requires_sales` for `ultra` (Ultra On-Demand is arranged with the SeatsChart team), 409 `plan_managed_by_sales` on an Ultra On-Demand workspace,503 `stripe_not_configured` when billing is not set up.
|
|
76
79
|
# @param post_api_billing_checkout_session_request [PostApiBillingCheckoutSessionRequest]
|
|
77
80
|
# @param [Hash] opts the optional parameters
|
|
78
81
|
# @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.
|
|
@@ -83,6 +86,7 @@ module SeatsChart
|
|
|
83
86
|
end
|
|
84
87
|
|
|
85
88
|
# Create Stripe Checkout session for a paid plan
|
|
89
|
+
# Returns `{ url }` of a Stripe Checkout for `planId` (`starter` | `pro`). 409 `ERR_SUBSCRIPTION_EXISTS` when the workspace already has a live subscription (change plans in the billing portal: `POST /billing/portal-session`), 409 `test_workspace_not_billable` in a test workspace, 400 `plan_requires_sales` for `ultra` (Ultra On-Demand is arranged with the SeatsChart team), 409 `plan_managed_by_sales` on an Ultra On-Demand workspace,503 `stripe_not_configured` when billing is not set up.
|
|
86
90
|
# @param post_api_billing_checkout_session_request [PostApiBillingCheckoutSessionRequest]
|
|
87
91
|
# @param [Hash] opts the optional parameters
|
|
88
92
|
# @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.
|
|
@@ -4031,7 +4031,7 @@ module SeatsChart
|
|
|
4031
4031
|
end
|
|
4032
4032
|
|
|
4033
4033
|
# Duplicate chart
|
|
4034
|
-
# Creates a new unpublished chart draft copied from the source chart (seats, GA areas, shapes, images).
|
|
4034
|
+
# Creates a new unpublished chart draft copied from the source chart (seats, GA areas, shapes, images). Counts against the plan chart limit (402 `plan_limit_exceeded`).
|
|
4035
4035
|
# @param chart_id [String]
|
|
4036
4036
|
# @param post_api_charts_by_chart_id_duplicate_request [PostApiChartsByChartIdDuplicateRequest]
|
|
4037
4037
|
# @param [Hash] opts the optional parameters
|
|
@@ -4043,7 +4043,7 @@ module SeatsChart
|
|
|
4043
4043
|
end
|
|
4044
4044
|
|
|
4045
4045
|
# Duplicate chart
|
|
4046
|
-
# Creates a new unpublished chart draft copied from the source chart (seats, GA areas, shapes, images).
|
|
4046
|
+
# Creates a new unpublished chart draft copied from the source chart (seats, GA areas, shapes, images). Counts against the plan chart limit (402 `plan_limit_exceeded`).
|
|
4047
4047
|
# @param chart_id [String]
|
|
4048
4048
|
# @param post_api_charts_by_chart_id_duplicate_request [PostApiChartsByChartIdDuplicateRequest]
|
|
4049
4049
|
# @param [Hash] opts the optional parameters
|
|
@@ -4647,23 +4647,23 @@ module SeatsChart
|
|
|
4647
4647
|
# Save chart map draft
|
|
4648
4648
|
# 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.
|
|
4649
4649
|
# @param chart_id [String]
|
|
4650
|
-
# @param
|
|
4650
|
+
# @param post_api_charts_by_chart_id_actions_validate_request [PostApiChartsByChartIdActionsValidateRequest]
|
|
4651
4651
|
# @param [Hash] opts the optional parameters
|
|
4652
4652
|
# @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.
|
|
4653
4653
|
# @return [nil]
|
|
4654
|
-
def put_api_charts_by_chart_id_map_draft(chart_id,
|
|
4655
|
-
put_api_charts_by_chart_id_map_draft_with_http_info(chart_id,
|
|
4654
|
+
def put_api_charts_by_chart_id_map_draft(chart_id, post_api_charts_by_chart_id_actions_validate_request, opts = {})
|
|
4655
|
+
put_api_charts_by_chart_id_map_draft_with_http_info(chart_id, post_api_charts_by_chart_id_actions_validate_request, opts)
|
|
4656
4656
|
nil
|
|
4657
4657
|
end
|
|
4658
4658
|
|
|
4659
4659
|
# Save chart map draft
|
|
4660
4660
|
# 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.
|
|
4661
4661
|
# @param chart_id [String]
|
|
4662
|
-
# @param
|
|
4662
|
+
# @param post_api_charts_by_chart_id_actions_validate_request [PostApiChartsByChartIdActionsValidateRequest]
|
|
4663
4663
|
# @param [Hash] opts the optional parameters
|
|
4664
4664
|
# @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.
|
|
4665
4665
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
4666
|
-
def put_api_charts_by_chart_id_map_draft_with_http_info(chart_id,
|
|
4666
|
+
def put_api_charts_by_chart_id_map_draft_with_http_info(chart_id, post_api_charts_by_chart_id_actions_validate_request, opts = {})
|
|
4667
4667
|
if @api_client.config.debugging
|
|
4668
4668
|
@api_client.config.logger.debug 'Calling API: ChartsApi.put_api_charts_by_chart_id_map_draft ...'
|
|
4669
4669
|
end
|
|
@@ -4679,9 +4679,9 @@ module SeatsChart
|
|
|
4679
4679
|
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.'
|
|
4680
4680
|
end
|
|
4681
4681
|
|
|
4682
|
-
# verify the required parameter '
|
|
4683
|
-
if @api_client.config.client_side_validation &&
|
|
4684
|
-
fail ArgumentError, "Missing the required parameter '
|
|
4682
|
+
# verify the required parameter 'post_api_charts_by_chart_id_actions_validate_request' is set
|
|
4683
|
+
if @api_client.config.client_side_validation && post_api_charts_by_chart_id_actions_validate_request.nil?
|
|
4684
|
+
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"
|
|
4685
4685
|
end
|
|
4686
4686
|
if @api_client.config.client_side_validation && !opts[:'idempotency_key'].nil? && opts[:'idempotency_key'].to_s.length > 255
|
|
4687
4687
|
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.'
|
|
@@ -4710,7 +4710,7 @@ module SeatsChart
|
|
|
4710
4710
|
form_params = opts[:form_params] || {}
|
|
4711
4711
|
|
|
4712
4712
|
# http body (model)
|
|
4713
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(
|
|
4713
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(post_api_charts_by_chart_id_actions_validate_request)
|
|
4714
4714
|
|
|
4715
4715
|
# return_type
|
|
4716
4716
|
return_type = opts[:debug_return_type]
|
|
@@ -6698,7 +6698,7 @@ module SeatsChart
|
|
|
6698
6698
|
end
|
|
6699
6699
|
|
|
6700
6700
|
# Duplicate event
|
|
6701
|
-
# Creates a new event with copied seat and GA inventory (all available), including inventory_channels (same secrets) and remapped channel_key_id + for_sale. Reservations are not copied.
|
|
6701
|
+
# Creates a new event with copied seat and GA inventory (all available), including inventory_channels (same secrets) and remapped channel_key_id + for_sale. Reservations are not copied. Counts against the plan event limit (402 `plan_limit_exceeded`).
|
|
6702
6702
|
# @param event_id [String]
|
|
6703
6703
|
# @param post_api_events_by_event_id_duplicate_request [PostApiEventsByEventIdDuplicateRequest]
|
|
6704
6704
|
# @param [Hash] opts the optional parameters
|
|
@@ -6710,7 +6710,7 @@ module SeatsChart
|
|
|
6710
6710
|
end
|
|
6711
6711
|
|
|
6712
6712
|
# Duplicate event
|
|
6713
|
-
# Creates a new event with copied seat and GA inventory (all available), including inventory_channels (same secrets) and remapped channel_key_id + for_sale. Reservations are not copied.
|
|
6713
|
+
# Creates a new event with copied seat and GA inventory (all available), including inventory_channels (same secrets) and remapped channel_key_id + for_sale. Reservations are not copied. Counts against the plan event limit (402 `plan_limit_exceeded`).
|
|
6714
6714
|
# @param event_id [String]
|
|
6715
6715
|
# @param post_api_events_by_event_id_duplicate_request [PostApiEventsByEventIdDuplicateRequest]
|
|
6716
6716
|
# @param [Hash] opts the optional parameters
|
|
@@ -7742,23 +7742,23 @@ module SeatsChart
|
|
|
7742
7742
|
# Save map draft (legacy path)
|
|
7743
7743
|
# Alias for **`PUT /map/draft`**. Does **not** publish to buyers — use **`POST /map/publish`**.
|
|
7744
7744
|
# @param event_id [String]
|
|
7745
|
-
# @param
|
|
7745
|
+
# @param post_api_charts_by_chart_id_actions_validate_request [PostApiChartsByChartIdActionsValidateRequest]
|
|
7746
7746
|
# @param [Hash] opts the optional parameters
|
|
7747
7747
|
# @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.
|
|
7748
7748
|
# @return [nil]
|
|
7749
|
-
def put_api_events_by_event_id_map(event_id,
|
|
7750
|
-
put_api_events_by_event_id_map_with_http_info(event_id,
|
|
7749
|
+
def put_api_events_by_event_id_map(event_id, post_api_charts_by_chart_id_actions_validate_request, opts = {})
|
|
7750
|
+
put_api_events_by_event_id_map_with_http_info(event_id, post_api_charts_by_chart_id_actions_validate_request, opts)
|
|
7751
7751
|
nil
|
|
7752
7752
|
end
|
|
7753
7753
|
|
|
7754
7754
|
# Save map draft (legacy path)
|
|
7755
7755
|
# Alias for **`PUT /map/draft`**. Does **not** publish to buyers — use **`POST /map/publish`**.
|
|
7756
7756
|
# @param event_id [String]
|
|
7757
|
-
# @param
|
|
7757
|
+
# @param post_api_charts_by_chart_id_actions_validate_request [PostApiChartsByChartIdActionsValidateRequest]
|
|
7758
7758
|
# @param [Hash] opts the optional parameters
|
|
7759
7759
|
# @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.
|
|
7760
7760
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
7761
|
-
def put_api_events_by_event_id_map_with_http_info(event_id,
|
|
7761
|
+
def put_api_events_by_event_id_map_with_http_info(event_id, post_api_charts_by_chart_id_actions_validate_request, opts = {})
|
|
7762
7762
|
if @api_client.config.debugging
|
|
7763
7763
|
@api_client.config.logger.debug 'Calling API: EventsApi.put_api_events_by_event_id_map ...'
|
|
7764
7764
|
end
|
|
@@ -7774,9 +7774,9 @@ module SeatsChart
|
|
|
7774
7774
|
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.'
|
|
7775
7775
|
end
|
|
7776
7776
|
|
|
7777
|
-
# verify the required parameter '
|
|
7778
|
-
if @api_client.config.client_side_validation &&
|
|
7779
|
-
fail ArgumentError, "Missing the required parameter '
|
|
7777
|
+
# verify the required parameter 'post_api_charts_by_chart_id_actions_validate_request' is set
|
|
7778
|
+
if @api_client.config.client_side_validation && post_api_charts_by_chart_id_actions_validate_request.nil?
|
|
7779
|
+
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"
|
|
7780
7780
|
end
|
|
7781
7781
|
if @api_client.config.client_side_validation && !opts[:'idempotency_key'].nil? && opts[:'idempotency_key'].to_s.length > 255
|
|
7782
7782
|
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.'
|
|
@@ -7805,7 +7805,7 @@ module SeatsChart
|
|
|
7805
7805
|
form_params = opts[:form_params] || {}
|
|
7806
7806
|
|
|
7807
7807
|
# http body (model)
|
|
7808
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(
|
|
7808
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(post_api_charts_by_chart_id_actions_validate_request)
|
|
7809
7809
|
|
|
7810
7810
|
# return_type
|
|
7811
7811
|
return_type = opts[:debug_return_type]
|
|
@@ -7833,23 +7833,23 @@ module SeatsChart
|
|
|
7833
7833
|
# Save map draft (does not go live)
|
|
7834
7834
|
# 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).
|
|
7835
7835
|
# @param event_id [String]
|
|
7836
|
-
# @param
|
|
7836
|
+
# @param post_api_charts_by_chart_id_actions_validate_request [PostApiChartsByChartIdActionsValidateRequest]
|
|
7837
7837
|
# @param [Hash] opts the optional parameters
|
|
7838
7838
|
# @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.
|
|
7839
7839
|
# @return [nil]
|
|
7840
|
-
def put_api_events_by_event_id_map_draft(event_id,
|
|
7841
|
-
put_api_events_by_event_id_map_draft_with_http_info(event_id,
|
|
7840
|
+
def put_api_events_by_event_id_map_draft(event_id, post_api_charts_by_chart_id_actions_validate_request, opts = {})
|
|
7841
|
+
put_api_events_by_event_id_map_draft_with_http_info(event_id, post_api_charts_by_chart_id_actions_validate_request, opts)
|
|
7842
7842
|
nil
|
|
7843
7843
|
end
|
|
7844
7844
|
|
|
7845
7845
|
# Save map draft (does not go live)
|
|
7846
7846
|
# 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).
|
|
7847
7847
|
# @param event_id [String]
|
|
7848
|
-
# @param
|
|
7848
|
+
# @param post_api_charts_by_chart_id_actions_validate_request [PostApiChartsByChartIdActionsValidateRequest]
|
|
7849
7849
|
# @param [Hash] opts the optional parameters
|
|
7850
7850
|
# @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.
|
|
7851
7851
|
# @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
|
|
7852
|
-
def put_api_events_by_event_id_map_draft_with_http_info(event_id,
|
|
7852
|
+
def put_api_events_by_event_id_map_draft_with_http_info(event_id, post_api_charts_by_chart_id_actions_validate_request, opts = {})
|
|
7853
7853
|
if @api_client.config.debugging
|
|
7854
7854
|
@api_client.config.logger.debug 'Calling API: EventsApi.put_api_events_by_event_id_map_draft ...'
|
|
7855
7855
|
end
|
|
@@ -7865,9 +7865,9 @@ module SeatsChart
|
|
|
7865
7865
|
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.'
|
|
7866
7866
|
end
|
|
7867
7867
|
|
|
7868
|
-
# verify the required parameter '
|
|
7869
|
-
if @api_client.config.client_side_validation &&
|
|
7870
|
-
fail ArgumentError, "Missing the required parameter '
|
|
7868
|
+
# verify the required parameter 'post_api_charts_by_chart_id_actions_validate_request' is set
|
|
7869
|
+
if @api_client.config.client_side_validation && post_api_charts_by_chart_id_actions_validate_request.nil?
|
|
7870
|
+
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"
|
|
7871
7871
|
end
|
|
7872
7872
|
if @api_client.config.client_side_validation && !opts[:'idempotency_key'].nil? && opts[:'idempotency_key'].to_s.length > 255
|
|
7873
7873
|
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.'
|
|
@@ -7896,7 +7896,7 @@ module SeatsChart
|
|
|
7896
7896
|
form_params = opts[:form_params] || {}
|
|
7897
7897
|
|
|
7898
7898
|
# http body (model)
|
|
7899
|
-
post_body = opts[:debug_body] || @api_client.object_to_http_body(
|
|
7899
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(post_api_charts_by_chart_id_actions_validate_request)
|
|
7900
7900
|
|
|
7901
7901
|
# return_type
|
|
7902
7902
|
return_type = opts[:debug_return_type]
|
|
@@ -370,7 +370,7 @@ module SeatsChart
|
|
|
370
370
|
end
|
|
371
371
|
|
|
372
372
|
# Public immutable geometry (CDN-cacheable)
|
|
373
|
-
# Content-addressed geometry (sha256 of the canonical JSON). br/gzip negotiated from Accept-Encoding. `Cache-Control: public, max-age=31536000, immutable`. Clients must verify the hash. Unknown key, event or hash: 404 no-store. `eventId` also accepts the event key. A deactivated workspace returns 403 `workspace_deactivated` (no-store). CDN cache key: path +
|
|
373
|
+
# Content-addressed geometry (sha256 of the canonical JSON). br/gzip negotiated from Accept-Encoding. `Cache-Control: public, max-age=31536000, immutable`. Clients must verify the hash. Unknown key, event or hash: 404 no-store. `eventId` also accepts the event key. A deactivated workspace returns 403 `workspace_deactivated` (no-store). CORS: `Access-Control-Allow-Origin: *` without credentials (fetch with `credentials: 'omit'`). CDN cache key: path + normalized Accept-Encoding. Never forward or key on cookies, Authorization, x-api-key, x-channel-key or the query string.
|
|
374
374
|
# @param public_key [String] Workspace public key (`pub_…`).
|
|
375
375
|
# @param event_id [String]
|
|
376
376
|
# @param hash [String]
|
|
@@ -382,7 +382,7 @@ module SeatsChart
|
|
|
382
382
|
end
|
|
383
383
|
|
|
384
384
|
# Public immutable geometry (CDN-cacheable)
|
|
385
|
-
# Content-addressed geometry (sha256 of the canonical JSON). br/gzip negotiated from Accept-Encoding. `Cache-Control: public, max-age=31536000, immutable`. Clients must verify the hash. Unknown key, event or hash: 404 no-store. `eventId` also accepts the event key. A deactivated workspace returns 403 `workspace_deactivated` (no-store). CDN cache key: path +
|
|
385
|
+
# Content-addressed geometry (sha256 of the canonical JSON). br/gzip negotiated from Accept-Encoding. `Cache-Control: public, max-age=31536000, immutable`. Clients must verify the hash. Unknown key, event or hash: 404 no-store. `eventId` also accepts the event key. A deactivated workspace returns 403 `workspace_deactivated` (no-store). CORS: `Access-Control-Allow-Origin: *` without credentials (fetch with `credentials: 'omit'`). CDN cache key: path + normalized Accept-Encoding. Never forward or key on cookies, Authorization, x-api-key, x-channel-key or the query string.
|
|
386
386
|
# @param public_key [String] Workspace public key (`pub_…`).
|
|
387
387
|
# @param event_id [String]
|
|
388
388
|
# @param hash [String]
|
|
@@ -456,7 +456,7 @@ module SeatsChart
|
|
|
456
456
|
end
|
|
457
457
|
|
|
458
458
|
# Public geometry manifest (CDN-cacheable)
|
|
459
|
-
# Published geometry pointer for the event. `geometryUrl` points at the public geometry path. ETag = mapRevision + currency. Includes the event catalog `currency` (ISO 4217, null for legacy events). `Cache-Control: public, max-age=5, stale-while-revalidate=30` (PUBLIC_MANIFEST_* env). A stale manifest is safe: the state carries mapRevision and clients switch geometry when it differs. Unknown key or event: 404 no-store. `eventId` also accepts the event key. A deactivated workspace returns 403 `workspace_deactivated` (no-store). CDN cache key: path +
|
|
459
|
+
# Published geometry pointer for the event. `geometryUrl` points at the public geometry path. ETag = mapRevision + currency. Includes the event catalog `currency` (ISO 4217, null for legacy events). `Cache-Control: public, max-age=5, stale-while-revalidate=30` (PUBLIC_MANIFEST_* env). A stale manifest is safe: the state carries mapRevision and clients switch geometry when it differs. Unknown key or event: 404 no-store. `eventId` also accepts the event key. A deactivated workspace returns 403 `workspace_deactivated` (no-store). CORS: `Access-Control-Allow-Origin: *` without credentials (fetch with `credentials: 'omit'`). CDN cache key: path + normalized Accept-Encoding. Never forward or key on cookies, Authorization, x-api-key, x-channel-key or the query string.
|
|
460
460
|
# @param public_key [String] Workspace public key (`pub_…`).
|
|
461
461
|
# @param event_id [String]
|
|
462
462
|
# @param [Hash] opts the optional parameters
|
|
@@ -467,7 +467,7 @@ module SeatsChart
|
|
|
467
467
|
end
|
|
468
468
|
|
|
469
469
|
# Public geometry manifest (CDN-cacheable)
|
|
470
|
-
# Published geometry pointer for the event. `geometryUrl` points at the public geometry path. ETag = mapRevision + currency. Includes the event catalog `currency` (ISO 4217, null for legacy events). `Cache-Control: public, max-age=5, stale-while-revalidate=30` (PUBLIC_MANIFEST_* env). A stale manifest is safe: the state carries mapRevision and clients switch geometry when it differs. Unknown key or event: 404 no-store. `eventId` also accepts the event key. A deactivated workspace returns 403 `workspace_deactivated` (no-store). CDN cache key: path +
|
|
470
|
+
# Published geometry pointer for the event. `geometryUrl` points at the public geometry path. ETag = mapRevision + currency. Includes the event catalog `currency` (ISO 4217, null for legacy events). `Cache-Control: public, max-age=5, stale-while-revalidate=30` (PUBLIC_MANIFEST_* env). A stale manifest is safe: the state carries mapRevision and clients switch geometry when it differs. Unknown key or event: 404 no-store. `eventId` also accepts the event key. A deactivated workspace returns 403 `workspace_deactivated` (no-store). CORS: `Access-Control-Allow-Origin: *` without credentials (fetch with `credentials: 'omit'`). CDN cache key: path + normalized Accept-Encoding. Never forward or key on cookies, Authorization, x-api-key, x-channel-key or the query string.
|
|
471
471
|
# @param public_key [String] Workspace public key (`pub_…`).
|
|
472
472
|
# @param event_id [String]
|
|
473
473
|
# @param [Hash] opts the optional parameters
|
|
@@ -531,7 +531,7 @@ module SeatsChart
|
|
|
531
531
|
end
|
|
532
532
|
|
|
533
533
|
# Public compact visual state (CDN-cacheable)
|
|
534
|
-
# Compact availability of the default public cohort (channel-restricted objects are reported as not for sale; no holder identities or ops fields). Coalesced per API process (single-flight + micro-cache validated by the inventory version, <= 1 s). Weak ETag = stateToken + epoch.sequence; If-None-Match returns 304. `Cache-Control: public, max-age=1, s-maxage=2, stale-while-revalidate=5` (PUBLIC_STATE_* env). Live changes continue on the authenticated SSE stream; reserve/confirm remain authoritative. `eventId` also accepts the event key. A deactivated workspace returns 403 `workspace_deactivated` (no-store). CDN cache key: path +
|
|
534
|
+
# Compact availability of the default public cohort (channel-restricted objects are reported as not for sale; no holder identities or ops fields). Coalesced per API process (single-flight + micro-cache validated by the inventory version, <= 1 s). Weak ETag = stateToken + epoch.sequence; If-None-Match returns 304. `Cache-Control: public, max-age=1, s-maxage=2, stale-while-revalidate=5` (PUBLIC_STATE_* env). Live changes continue on the authenticated SSE stream; reserve/confirm remain authoritative. `eventId` also accepts the event key. A deactivated workspace returns 403 `workspace_deactivated` (no-store). CORS: `Access-Control-Allow-Origin: *` without credentials (fetch with `credentials: 'omit'`). CDN cache key: path + normalized Accept-Encoding. Never forward or key on cookies, Authorization, x-api-key, x-channel-key or the query string.
|
|
535
535
|
# @param public_key [String] Workspace public key (`pub_…`).
|
|
536
536
|
# @param event_id [String]
|
|
537
537
|
# @param [Hash] opts the optional parameters
|
|
@@ -542,7 +542,7 @@ module SeatsChart
|
|
|
542
542
|
end
|
|
543
543
|
|
|
544
544
|
# Public compact visual state (CDN-cacheable)
|
|
545
|
-
# Compact availability of the default public cohort (channel-restricted objects are reported as not for sale; no holder identities or ops fields). Coalesced per API process (single-flight + micro-cache validated by the inventory version, <= 1 s). Weak ETag = stateToken + epoch.sequence; If-None-Match returns 304. `Cache-Control: public, max-age=1, s-maxage=2, stale-while-revalidate=5` (PUBLIC_STATE_* env). Live changes continue on the authenticated SSE stream; reserve/confirm remain authoritative. `eventId` also accepts the event key. A deactivated workspace returns 403 `workspace_deactivated` (no-store). CDN cache key: path +
|
|
545
|
+
# Compact availability of the default public cohort (channel-restricted objects are reported as not for sale; no holder identities or ops fields). Coalesced per API process (single-flight + micro-cache validated by the inventory version, <= 1 s). Weak ETag = stateToken + epoch.sequence; If-None-Match returns 304. `Cache-Control: public, max-age=1, s-maxage=2, stale-while-revalidate=5` (PUBLIC_STATE_* env). Live changes continue on the authenticated SSE stream; reserve/confirm remain authoritative. `eventId` also accepts the event key. A deactivated workspace returns 403 `workspace_deactivated` (no-store). CORS: `Access-Control-Allow-Origin: *` without credentials (fetch with `credentials: 'omit'`). CDN cache key: path + normalized Accept-Encoding. Never forward or key on cookies, Authorization, x-api-key, x-channel-key or the query string.
|
|
546
546
|
# @param public_key [String] Workspace public key (`pub_…`).
|
|
547
547
|
# @param event_id [String]
|
|
548
548
|
# @param [Hash] opts the optional parameters
|