seatschart 0.3.0 → 0.5.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 (63) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +79 -11
  3. data/lib/seatschart/api/audit_api.rb +2 -2
  4. data/lib/seatschart/api/auth_api.rb +85 -8
  5. data/lib/seatschart/api/billing_api.rb +93 -8
  6. data/lib/seatschart/api/charts_api.rb +63 -63
  7. data/lib/seatschart/api/events_api.rb +130 -124
  8. data/lib/seatschart/api/public_api.rb +6 -6
  9. data/lib/seatschart/api/seasons_api.rb +88 -88
  10. data/lib/seatschart/api/seats_api.rb +6 -6
  11. data/lib/seatschart/api/usage_api.rb +4 -4
  12. data/lib/seatschart/api/workspace_api.rb +1229 -51
  13. data/lib/seatschart/models/{api_error.rb → api_error_body.rb} +7 -7
  14. data/lib/seatschart/models/delete_api_workspaces_by_workspace_id_keys_by_key_id200_response.rb +237 -0
  15. data/lib/seatschart/models/delete_api_workspaces_by_workspace_id_members_by_user_id200_response.rb +221 -0
  16. data/lib/seatschart/models/get_api_workspaces200_response_items_inner.rb +50 -4
  17. data/lib/seatschart/models/get_api_workspaces_by_workspace_id_invitations200_response.rb +239 -0
  18. data/lib/seatschart/models/get_api_workspaces_by_workspace_id_invitations200_response_invitations_inner.rb +286 -0
  19. data/lib/seatschart/models/get_api_workspaces_by_workspace_id_keys200_response.rb +239 -0
  20. data/lib/seatschart/models/get_api_workspaces_by_workspace_id_keys200_response_api_keys_inner.rb +321 -0
  21. data/lib/seatschart/models/get_api_workspaces_by_workspace_id_members200_response.rb +239 -0
  22. data/lib/seatschart/models/get_api_workspaces_by_workspace_id_members200_response_members_inner.rb +288 -0
  23. data/lib/seatschart/models/get_api_workspaces_overview200_response.rb +288 -0
  24. data/lib/seatschart/models/get_api_workspaces_overview200_response_account.rb +270 -0
  25. data/lib/seatschart/models/get_api_workspaces_overview200_response_account_charts.rb +233 -0
  26. data/lib/seatschart/models/get_api_workspaces_overview200_response_account_plan.rb +237 -0
  27. data/lib/seatschart/models/get_api_workspaces_overview200_response_items_inner.rb +439 -0
  28. data/lib/seatschart/models/get_api_workspaces_overview200_response_items_inner_revenue.rb +234 -0
  29. data/lib/seatschart/models/get_api_workspaces_overview200_response_items_inner_usage.rb +271 -0
  30. data/lib/seatschart/models/get_api_workspaces_overview200_response_seats.rb +431 -0
  31. data/lib/seatschart/models/get_api_workspaces_overview200_response_seats_overage.rb +233 -0
  32. data/lib/seatschart/models/get_api_workspaces_overview200_response_seats_projected.rb +237 -0
  33. data/lib/seatschart/models/get_api_workspaces_overview200_response_totals.rb +318 -0
  34. data/lib/seatschart/models/get_api_workspaces_overview200_response_totals_revenue.rb +238 -0
  35. data/lib/seatschart/models/get_api_workspaces_overview200_response_totals_seats.rb +253 -0
  36. data/lib/seatschart/models/patch_api_events_by_event_id_request.rb +15 -15
  37. data/lib/seatschart/models/patch_api_workspaces_by_workspace_id_keys_by_key_id200_response.rb +221 -0
  38. data/lib/seatschart/models/patch_api_workspaces_by_workspace_id_keys_by_key_id_request.rb +292 -0
  39. data/lib/seatschart/models/patch_api_workspaces_by_workspace_id_request.rb +288 -0
  40. data/lib/seatschart/models/post_api_auth_new_workspace_request.rb +294 -0
  41. data/lib/seatschart/models/post_api_billing_actions_change_plan_request.rb +256 -0
  42. data/lib/seatschart/models/post_api_events_by_event_id_actions_update_extra_data_request_objects_inner.rb +0 -2
  43. data/lib/seatschart/models/post_api_sandboxes201_response.rb +0 -4
  44. data/lib/seatschart/models/post_api_sandboxes_by_sandbox_id_actions_reset200_response.rb +0 -2
  45. data/lib/seatschart/models/post_api_workspaces200_response.rb +464 -0
  46. data/lib/seatschart/models/post_api_workspaces200_response_api_key.rb +332 -0
  47. data/lib/seatschart/models/post_api_workspaces200_response_template.rb +260 -0
  48. data/lib/seatschart/models/post_api_workspaces200_response_template_webhooks_inner.rb +284 -0
  49. data/lib/seatschart/models/post_api_workspaces_by_workspace_id_actions_delete200_response.rb +319 -0
  50. data/lib/seatschart/models/post_api_workspaces_by_workspace_id_actions_delete_request.rb +281 -0
  51. data/lib/seatschart/models/post_api_workspaces_by_workspace_id_invitations201_response.rb +238 -0
  52. data/lib/seatschart/models/post_api_workspaces_by_workspace_id_invitations201_response_invitation.rb +286 -0
  53. data/lib/seatschart/models/post_api_workspaces_by_workspace_id_invitations_request.rb +300 -0
  54. data/lib/seatschart/models/post_api_workspaces_by_workspace_id_keys201_response.rb +237 -0
  55. data/lib/seatschart/models/post_api_workspaces_by_workspace_id_keys201_response_api_key.rb +338 -0
  56. data/lib/seatschart/models/post_api_workspaces_by_workspace_id_keys_request.rb +299 -0
  57. data/lib/seatschart/models/post_api_workspaces_request.rb +100 -4
  58. data/lib/seatschart/models/post_api_workspaces_request_issue_key.rb +294 -0
  59. data/lib/seatschart/version.rb +1 -1
  60. data/lib/seatschart/workspaces.rb +172 -0
  61. data/lib/seatschart.rb +41 -2
  62. metadata +43 -4
  63. data/lib/seatschart/models/put_api_charts_by_chart_id_map_draft_request.rb +0 -349
@@ -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 + Origin + normalized Accept-Encoding. Never forward or key on cookies, Authorization, x-api-key, x-channel-key or the query string.
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 + Origin + normalized Accept-Encoding. Never forward or key on cookies, Authorization, x-api-key, x-channel-key or the query string.
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 + Origin + normalized Accept-Encoding. Never forward or key on cookies, Authorization, x-api-key, x-channel-key or the query string.
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 + Origin + normalized Accept-Encoding. Never forward or key on cookies, Authorization, x-api-key, x-channel-key or the query string.
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 + Origin + normalized Accept-Encoding. Never forward or key on cookies, Authorization, x-api-key, x-channel-key or the query string.
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 (&#x60;pub_…&#x60;).
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, &lt;&#x3D; 1 s). Weak ETag &#x3D; stateToken + epoch.sequence; If-None-Match returns 304. &#x60;Cache-Control: public, max-age&#x3D;1, s-maxage&#x3D;2, stale-while-revalidate&#x3D;5&#x60; (PUBLIC_STATE_* env). Live changes continue on the authenticated SSE stream; reserve/confirm remain authoritative. &#x60;eventId&#x60; also accepts the event key. A deactivated workspace returns 403 &#x60;workspace_deactivated&#x60; (no-store). CDN cache key: path + Origin + normalized Accept-Encoding. Never forward or key on cookies, Authorization, x-api-key, x-channel-key or the query string.
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, &lt;&#x3D; 1 s). Weak ETag &#x3D; stateToken + epoch.sequence; If-None-Match returns 304. &#x60;Cache-Control: public, max-age&#x3D;1, s-maxage&#x3D;2, stale-while-revalidate&#x3D;5&#x60; (PUBLIC_STATE_* env). Live changes continue on the authenticated SSE stream; reserve/confirm remain authoritative. &#x60;eventId&#x60; also accepts the event key. A deactivated workspace returns 403 &#x60;workspace_deactivated&#x60; (no-store). CORS: &#x60;Access-Control-Allow-Origin: *&#x60; without credentials (fetch with &#x60;credentials: &#39;omit&#39;&#x60;). 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 (&#x60;pub_…&#x60;).
547
547
  # @param event_id [String]
548
548
  # @param [Hash] opts the optional parameters