@q9labsai/chalk-client 5.1.0 → 5.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 (34) hide show
  1. package/CHANGELOG.md +125 -0
  2. package/dist/chat-files/types.d.ts +3 -0
  3. package/dist/{chunk-RJRSLXVT.js → chunk-BCO3AZUB.js} +647 -221
  4. package/dist/{chunk-K7PNW3KI.js → chunk-D2GXPX2P.js} +143 -13
  5. package/dist/{chunk-KHHULLBZ.js → chunk-DHGAKJXP.js} +1 -1
  6. package/dist/{chunk-3ZN7IXOZ.js → chunk-HO4745TX.js} +250 -2
  7. package/dist/client.d.ts +201 -0
  8. package/dist/connection/dependencies.d.ts +3 -0
  9. package/dist/connection/diagnostics.d.ts +3 -2
  10. package/dist/connection/lifecycle.d.ts +1 -0
  11. package/dist/connection/types.d.ts +2 -0
  12. package/dist/effect.js +62 -4
  13. package/dist/generated/http-api.d.ts +197 -0
  14. package/dist/generated/schemas.d.ts +366 -0
  15. package/dist/generated/sync.d.ts +74 -3
  16. package/dist/generated/whiteboard-v1.d.ts +71 -9
  17. package/dist/index.d.ts +1 -0
  18. package/dist/index.js +18 -14
  19. package/dist/public-invites/index.js +2 -2
  20. package/dist/space-client/reload-rejoin.d.ts +1 -1
  21. package/dist/space-client/types.d.ts +8 -1
  22. package/dist/sync/connect-diagnostics.d.ts +10 -0
  23. package/dist/sync/index.js +1 -1
  24. package/dist/sync/types.d.ts +1 -0
  25. package/dist/sync/v1-client.d.ts +2 -0
  26. package/dist/sync/v1-types.d.ts +4 -0
  27. package/dist/whiteboard/index.d.ts +2 -5
  28. package/dist/whiteboard/types.d.ts +26 -3
  29. package/dist/whiteboard/v1-client.d.ts +3 -1
  30. package/dist/whiteboard/v1-codec.d.ts +5 -1
  31. package/dist/whiteboard/v1-multipart.d.ts +1 -1
  32. package/dist/whiteboard/view-bounds.d.ts +5 -0
  33. package/dist/whiteboard/view-versions.d.ts +9 -0
  34. package/package.json +1 -1
@@ -1,4 +1,12 @@
1
1
  import { Schema } from "effect";
2
+ export declare const ChalkCodePointLimits: {
3
+ readonly "CreateSpaceRequest.name": 120;
4
+ readonly "CreateTenantRequest.external_id": 512;
5
+ readonly "ProblemReportRequest.description": 1000;
6
+ readonly "ProblemReportRequest.diagnostics": 2000;
7
+ readonly "Tenant.external_id": 512;
8
+ readonly "UpdateSpaceRequest.name": 120;
9
+ };
2
10
  export declare const DateTimeStringSchema: Schema.brand<Schema.String, "DateTimeString">;
3
11
  export type DateTimeString = typeof DateTimeStringSchema.Type;
4
12
  export declare const UserIdSchema: Schema.brand<Schema.String, "UserId">;
@@ -451,6 +459,10 @@ export declare const MembershipListSchema: Schema.Struct<{
451
459
  }>;
452
460
  }>;
453
461
  export type MembershipList = typeof MembershipListSchema.Type;
462
+ export declare const ParticipantJoinCancellationSchema: Schema.Struct<{
463
+ readonly cancelled: Schema.Boolean;
464
+ }>;
465
+ export type ParticipantJoinCancellation = typeof ParticipantJoinCancellationSchema.Type;
454
466
  export declare const ParticipantLifecycleSchema: Schema.Struct<{
455
467
  readonly access: Schema.optional<Schema.NullOr<Schema.Struct<{
456
468
  readonly episode_started_at: Schema.optional<Schema.NullOr<Schema.brand<Schema.String, "DateTimeString">>>;
@@ -534,6 +546,19 @@ export declare const PrepareRecordingRequestSchema: Schema.Struct<{
534
546
  readonly starts_at: Schema.brand<Schema.String, "DateTimeString">;
535
547
  }>;
536
548
  export type PrepareRecordingRequest = typeof PrepareRecordingRequestSchema.Type;
549
+ export declare const ProblemReportAvailabilitySchema: Schema.Struct<{
550
+ readonly available: Schema.Boolean;
551
+ }>;
552
+ export type ProblemReportAvailability = typeof ProblemReportAvailabilitySchema.Type;
553
+ export declare const ProblemReportRequestSchema: Schema.Struct<{
554
+ readonly description: Schema.String;
555
+ readonly diagnostics: Schema.optional<Schema.String>;
556
+ }>;
557
+ export type ProblemReportRequest = typeof ProblemReportRequestSchema.Type;
558
+ export declare const ProblemReportSentSchema: Schema.Struct<{
559
+ readonly sent: Schema.Boolean;
560
+ }>;
561
+ export type ProblemReportSent = typeof ProblemReportSentSchema.Type;
537
562
  export declare const PublicAdmissionRequestSchema: Schema.Struct<{
538
563
  readonly decision_action: Schema.optional<Schema.String>;
539
564
  readonly decision_state: Schema.String;
@@ -650,6 +675,8 @@ export declare const RecordingSourceSchema: Schema.Struct<{
650
675
  }>;
651
676
  export type RecordingSource = typeof RecordingSourceSchema.Type;
652
677
  export declare const RecordingTranscriptionPreparationSchema: Schema.Struct<{
678
+ readonly expires_at: Schema.optional<Schema.NullOr<Schema.brand<Schema.String, "DateTimeString">>>;
679
+ readonly failure_code: Schema.optional<Schema.String>;
653
680
  readonly status: Schema.Literals<readonly ["none", "pending", "ready", "failed", "expired"]>;
654
681
  }>;
655
682
  export type RecordingTranscriptionPreparation = typeof RecordingTranscriptionPreparationSchema.Type;
@@ -678,6 +705,8 @@ export declare const RecordingSchema: Schema.Struct<{
678
705
  readonly tenant_id: Schema.brand<Schema.String, "TenantId">;
679
706
  readonly transcription_policy: Schema.String;
680
707
  readonly transcription_preparation: Schema.Struct<{
708
+ readonly expires_at: Schema.optional<Schema.NullOr<Schema.brand<Schema.String, "DateTimeString">>>;
709
+ readonly failure_code: Schema.optional<Schema.String>;
681
710
  readonly status: Schema.Literals<readonly ["none", "pending", "ready", "failed", "expired"]>;
682
711
  }>;
683
712
  readonly updated_at: Schema.brand<Schema.String, "DateTimeString">;
@@ -725,6 +754,8 @@ export declare const RecordingExportRequestAcceptedResponseSchema: Schema.Struct
725
754
  readonly tenant_id: Schema.brand<Schema.String, "TenantId">;
726
755
  readonly transcription_policy: Schema.String;
727
756
  readonly transcription_preparation: Schema.Struct<{
757
+ readonly expires_at: Schema.optional<Schema.NullOr<Schema.brand<Schema.String, "DateTimeString">>>;
758
+ readonly failure_code: Schema.optional<Schema.String>;
728
759
  readonly status: Schema.Literals<readonly ["none", "pending", "ready", "failed", "expired"]>;
729
760
  }>;
730
761
  readonly updated_at: Schema.brand<Schema.String, "DateTimeString">;
@@ -762,6 +793,8 @@ export declare const RecordingListSchema: Schema.Struct<{
762
793
  readonly tenant_id: Schema.brand<Schema.String, "TenantId">;
763
794
  readonly transcription_policy: Schema.String;
764
795
  readonly transcription_preparation: Schema.Struct<{
796
+ readonly expires_at: Schema.optional<Schema.NullOr<Schema.brand<Schema.String, "DateTimeString">>>;
797
+ readonly failure_code: Schema.optional<Schema.String>;
765
798
  readonly status: Schema.Literals<readonly ["none", "pending", "ready", "failed", "expired"]>;
766
799
  }>;
767
800
  readonly updated_at: Schema.brand<Schema.String, "DateTimeString">;
@@ -842,6 +875,31 @@ export declare const SpaceSchema: Schema.Struct<{
842
875
  readonly updated_at: Schema.brand<Schema.String, "DateTimeString">;
843
876
  }>;
844
877
  export type Space = typeof SpaceSchema.Type;
878
+ export declare const SpaceActivityListSchema: Schema.Struct<{
879
+ readonly spaces: Schema.$Array<Schema.Struct<{
880
+ readonly archived: Schema.Boolean;
881
+ readonly latest_episode: Schema.NullOr<Schema.Struct<{
882
+ readonly ended_at: Schema.NullOr<Schema.brand<Schema.String, "DateTimeString">>;
883
+ readonly episode_id: Schema.brand<Schema.String, "EpisodeId">;
884
+ readonly started_at: Schema.brand<Schema.String, "DateTimeString">;
885
+ readonly status: Schema.String;
886
+ }>>;
887
+ readonly live_episode: Schema.NullOr<Schema.Struct<{
888
+ readonly episode_id: Schema.brand<Schema.String, "EpisodeId">;
889
+ readonly participant_count: Schema.Number;
890
+ readonly participants: Schema.$Array<Schema.Struct<{
891
+ readonly display_name: Schema.String;
892
+ readonly participant_id: Schema.brand<Schema.String, "ParticipantId">;
893
+ }>>;
894
+ }>>;
895
+ readonly recent_participants: Schema.$Array<Schema.Struct<{
896
+ readonly display_name: Schema.String;
897
+ readonly participant_id: Schema.brand<Schema.String, "ParticipantId">;
898
+ }>>;
899
+ readonly space_id: Schema.brand<Schema.String, "SpaceId">;
900
+ }>>;
901
+ }>;
902
+ export type SpaceActivityList = typeof SpaceActivityListSchema.Type;
845
903
  export declare const SpaceListSchema: Schema.Struct<{
846
904
  readonly pagination: Schema.Struct<{
847
905
  readonly has_more: Schema.Boolean;
@@ -928,6 +986,7 @@ export declare const TenantSchema: Schema.Struct<{
928
986
  }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>>;
929
987
  readonly name: Schema.String;
930
988
  readonly provider_policy_version: Schema.String;
989
+ readonly recording_render_mode: Schema.Literals<readonly ["on_demand", "automatic"]>;
931
990
  readonly recording_retention_seconds: Schema.Number;
932
991
  readonly storage_provider_config: Schema.NullOr<Schema.StructWithRest<Schema.Struct<{
933
992
  readonly access_key_id: Schema.optional<Schema.String>;
@@ -966,6 +1025,7 @@ export declare const TenantListSchema: Schema.Struct<{
966
1025
  }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>>;
967
1026
  readonly name: Schema.String;
968
1027
  readonly provider_policy_version: Schema.String;
1028
+ readonly recording_render_mode: Schema.Literals<readonly ["on_demand", "automatic"]>;
969
1029
  readonly recording_retention_seconds: Schema.Number;
970
1030
  readonly storage_provider_config: Schema.NullOr<Schema.StructWithRest<Schema.Struct<{
971
1031
  readonly access_key_id: Schema.optional<Schema.String>;
@@ -1121,6 +1181,7 @@ export declare const UpdateTenantRequestSchema: Schema.Struct<{
1121
1181
  }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>>>;
1122
1182
  readonly name: Schema.optional<Schema.String>;
1123
1183
  readonly provider_policy_version: Schema.optional<Schema.String>;
1184
+ readonly recording_render_mode: Schema.optional<Schema.Literals<readonly ["on_demand", "automatic"]>>;
1124
1185
  readonly recording_retention_seconds: Schema.optional<Schema.NullOr<Schema.Number>>;
1125
1186
  readonly storage_provider_config: Schema.optional<Schema.NullOr<Schema.StructWithRest<Schema.Struct<{
1126
1187
  readonly access_key_id: Schema.optional<Schema.String>;
@@ -1509,6 +1570,23 @@ export declare const ArriveBySpacePublicInvite429ResponseHeadersSchema: Schema.S
1509
1570
  readonly "X-RateLimit-Remaining": Schema.NumberFromString;
1510
1571
  }>;
1511
1572
  export type ArriveBySpacePublicInvite429ResponseHeaders = typeof ArriveBySpacePublicInvite429ResponseHeadersSchema.Type;
1573
+ export declare const CancelEpisodeParticipantJoinPathParamsSchema: Schema.Struct<{
1574
+ readonly episode_id: Schema.brand<Schema.String, "EpisodeId">;
1575
+ readonly participant_id: Schema.brand<Schema.String, "ParticipantId">;
1576
+ readonly space_id: Schema.brand<Schema.String, "SpaceId">;
1577
+ readonly tenant_id: Schema.brand<Schema.String, "TenantId">;
1578
+ }>;
1579
+ export type CancelEpisodeParticipantJoinPathParams = typeof CancelEpisodeParticipantJoinPathParamsSchema.Type;
1580
+ export declare const CancelEpisodeParticipantJoinResponseSchema: Schema.Struct<{
1581
+ readonly cancelled: Schema.Boolean;
1582
+ }>;
1583
+ export type CancelEpisodeParticipantJoinResponse = typeof CancelEpisodeParticipantJoinResponseSchema.Type;
1584
+ export declare const CancelEpisodeParticipantJoin429ResponseHeadersSchema: Schema.Struct<{
1585
+ readonly "Retry-After": Schema.NumberFromString;
1586
+ readonly "X-RateLimit-Limit": Schema.NumberFromString;
1587
+ readonly "X-RateLimit-Remaining": Schema.NumberFromString;
1588
+ }>;
1589
+ export type CancelEpisodeParticipantJoin429ResponseHeaders = typeof CancelEpisodeParticipantJoin429ResponseHeadersSchema.Type;
1512
1590
  export declare const CancelSpaceRecordingPreparationPathParamsSchema: Schema.Struct<{
1513
1591
  readonly space_id: Schema.brand<Schema.String, "SpaceId">;
1514
1592
  readonly tenant_id: Schema.brand<Schema.String, "TenantId">;
@@ -1848,6 +1926,7 @@ export declare const CreateTenantResponseSchema: Schema.Struct<{
1848
1926
  }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>>;
1849
1927
  readonly name: Schema.String;
1850
1928
  readonly provider_policy_version: Schema.String;
1929
+ readonly recording_render_mode: Schema.Literals<readonly ["on_demand", "automatic"]>;
1851
1930
  readonly recording_retention_seconds: Schema.Number;
1852
1931
  readonly storage_provider_config: Schema.NullOr<Schema.StructWithRest<Schema.Struct<{
1853
1932
  readonly access_key_id: Schema.optional<Schema.String>;
@@ -2044,6 +2123,7 @@ export declare const FindTenantByExternalIDResponseSchema: Schema.Struct<{
2044
2123
  }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>>;
2045
2124
  readonly name: Schema.String;
2046
2125
  readonly provider_policy_version: Schema.String;
2126
+ readonly recording_render_mode: Schema.Literals<readonly ["on_demand", "automatic"]>;
2047
2127
  readonly recording_retention_seconds: Schema.Number;
2048
2128
  readonly storage_provider_config: Schema.NullOr<Schema.StructWithRest<Schema.Struct<{
2049
2129
  readonly access_key_id: Schema.optional<Schema.String>;
@@ -2130,6 +2210,14 @@ export declare const GetEpisodeAttendance429ResponseHeadersSchema: Schema.Struct
2130
2210
  readonly "X-RateLimit-Remaining": Schema.NumberFromString;
2131
2211
  }>;
2132
2212
  export type GetEpisodeAttendance429ResponseHeaders = typeof GetEpisodeAttendance429ResponseHeadersSchema.Type;
2213
+ export declare const GetProblemReportAvailabilityPathParamsSchema: Schema.Struct<{
2214
+ readonly tenant_id: Schema.brand<Schema.String, "TenantId">;
2215
+ }>;
2216
+ export type GetProblemReportAvailabilityPathParams = typeof GetProblemReportAvailabilityPathParamsSchema.Type;
2217
+ export declare const GetProblemReportAvailabilityResponseSchema: Schema.Struct<{
2218
+ readonly available: Schema.Boolean;
2219
+ }>;
2220
+ export type GetProblemReportAvailabilityResponse = typeof GetProblemReportAvailabilityResponseSchema.Type;
2133
2221
  export declare const GetRecordingPathParamsSchema: Schema.Struct<{
2134
2222
  readonly recording_id: Schema.brand<Schema.String, "RecordingId">;
2135
2223
  readonly tenant_id: Schema.brand<Schema.String, "TenantId">;
@@ -2160,6 +2248,8 @@ export declare const GetRecordingResponseSchema: Schema.Struct<{
2160
2248
  readonly tenant_id: Schema.brand<Schema.String, "TenantId">;
2161
2249
  readonly transcription_policy: Schema.String;
2162
2250
  readonly transcription_preparation: Schema.Struct<{
2251
+ readonly expires_at: Schema.optional<Schema.NullOr<Schema.brand<Schema.String, "DateTimeString">>>;
2252
+ readonly failure_code: Schema.optional<Schema.String>;
2163
2253
  readonly status: Schema.Literals<readonly ["none", "pending", "ready", "failed", "expired"]>;
2164
2254
  }>;
2165
2255
  readonly updated_at: Schema.brand<Schema.String, "DateTimeString">;
@@ -2300,6 +2390,7 @@ export declare const GetTenantResponseSchema: Schema.Struct<{
2300
2390
  }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>>;
2301
2391
  readonly name: Schema.String;
2302
2392
  readonly provider_policy_version: Schema.String;
2393
+ readonly recording_render_mode: Schema.Literals<readonly ["on_demand", "automatic"]>;
2303
2394
  readonly recording_retention_seconds: Schema.Number;
2304
2395
  readonly storage_provider_config: Schema.NullOr<Schema.StructWithRest<Schema.Struct<{
2305
2396
  readonly access_key_id: Schema.optional<Schema.String>;
@@ -2696,12 +2787,53 @@ export declare const ListRecordingsResponseSchema: Schema.Struct<{
2696
2787
  readonly tenant_id: Schema.brand<Schema.String, "TenantId">;
2697
2788
  readonly transcription_policy: Schema.String;
2698
2789
  readonly transcription_preparation: Schema.Struct<{
2790
+ readonly expires_at: Schema.optional<Schema.NullOr<Schema.brand<Schema.String, "DateTimeString">>>;
2791
+ readonly failure_code: Schema.optional<Schema.String>;
2699
2792
  readonly status: Schema.Literals<readonly ["none", "pending", "ready", "failed", "expired"]>;
2700
2793
  }>;
2701
2794
  readonly updated_at: Schema.brand<Schema.String, "DateTimeString">;
2702
2795
  }>>;
2703
2796
  }>;
2704
2797
  export type ListRecordingsResponse = typeof ListRecordingsResponseSchema.Type;
2798
+ export declare const ListSpaceActivityPathParamsSchema: Schema.Struct<{
2799
+ readonly tenant_id: Schema.brand<Schema.String, "TenantId">;
2800
+ }>;
2801
+ export type ListSpaceActivityPathParams = typeof ListSpaceActivityPathParamsSchema.Type;
2802
+ export declare const ListSpaceActivityQueryParamsSchema: Schema.Struct<{
2803
+ readonly space_ids: Schema.String;
2804
+ }>;
2805
+ export type ListSpaceActivityQueryParams = typeof ListSpaceActivityQueryParamsSchema.Type;
2806
+ export declare const ListSpaceActivityResponseSchema: Schema.Struct<{
2807
+ readonly spaces: Schema.$Array<Schema.Struct<{
2808
+ readonly archived: Schema.Boolean;
2809
+ readonly latest_episode: Schema.NullOr<Schema.Struct<{
2810
+ readonly ended_at: Schema.NullOr<Schema.brand<Schema.String, "DateTimeString">>;
2811
+ readonly episode_id: Schema.brand<Schema.String, "EpisodeId">;
2812
+ readonly started_at: Schema.brand<Schema.String, "DateTimeString">;
2813
+ readonly status: Schema.String;
2814
+ }>>;
2815
+ readonly live_episode: Schema.NullOr<Schema.Struct<{
2816
+ readonly episode_id: Schema.brand<Schema.String, "EpisodeId">;
2817
+ readonly participant_count: Schema.Number;
2818
+ readonly participants: Schema.$Array<Schema.Struct<{
2819
+ readonly display_name: Schema.String;
2820
+ readonly participant_id: Schema.brand<Schema.String, "ParticipantId">;
2821
+ }>>;
2822
+ }>>;
2823
+ readonly recent_participants: Schema.$Array<Schema.Struct<{
2824
+ readonly display_name: Schema.String;
2825
+ readonly participant_id: Schema.brand<Schema.String, "ParticipantId">;
2826
+ }>>;
2827
+ readonly space_id: Schema.brand<Schema.String, "SpaceId">;
2828
+ }>>;
2829
+ }>;
2830
+ export type ListSpaceActivityResponse = typeof ListSpaceActivityResponseSchema.Type;
2831
+ export declare const ListSpaceActivity429ResponseHeadersSchema: Schema.Struct<{
2832
+ readonly "Retry-After": Schema.NumberFromString;
2833
+ readonly "X-RateLimit-Limit": Schema.NumberFromString;
2834
+ readonly "X-RateLimit-Remaining": Schema.NumberFromString;
2835
+ }>;
2836
+ export type ListSpaceActivity429ResponseHeaders = typeof ListSpaceActivity429ResponseHeadersSchema.Type;
2705
2837
  export declare const ListSpaceLiveEpisodesPathParamsSchema: Schema.Struct<{
2706
2838
  readonly tenant_id: Schema.brand<Schema.String, "TenantId">;
2707
2839
  }>;
@@ -2825,6 +2957,7 @@ export declare const ListTenantsResponseSchema: Schema.Struct<{
2825
2957
  }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>>;
2826
2958
  readonly name: Schema.String;
2827
2959
  readonly provider_policy_version: Schema.String;
2960
+ readonly recording_render_mode: Schema.Literals<readonly ["on_demand", "automatic"]>;
2828
2961
  readonly recording_retention_seconds: Schema.Number;
2829
2962
  readonly storage_provider_config: Schema.NullOr<Schema.StructWithRest<Schema.Struct<{
2830
2963
  readonly access_key_id: Schema.optional<Schema.String>;
@@ -3185,6 +3318,8 @@ export declare const RequestRecordingExportResponseSchema: Schema.Struct<{
3185
3318
  readonly tenant_id: Schema.brand<Schema.String, "TenantId">;
3186
3319
  readonly transcription_policy: Schema.String;
3187
3320
  readonly transcription_preparation: Schema.Struct<{
3321
+ readonly expires_at: Schema.optional<Schema.NullOr<Schema.brand<Schema.String, "DateTimeString">>>;
3322
+ readonly failure_code: Schema.optional<Schema.String>;
3188
3323
  readonly status: Schema.Literals<readonly ["none", "pending", "ready", "failed", "expired"]>;
3189
3324
  }>;
3190
3325
  readonly updated_at: Schema.brand<Schema.String, "DateTimeString">;
@@ -3379,6 +3514,25 @@ export declare const RotateWebhookEndpointSecret429ResponseHeadersSchema: Schema
3379
3514
  readonly "X-RateLimit-Remaining": Schema.NumberFromString;
3380
3515
  }>;
3381
3516
  export type RotateWebhookEndpointSecret429ResponseHeaders = typeof RotateWebhookEndpointSecret429ResponseHeadersSchema.Type;
3517
+ export declare const SendProblemReportPathParamsSchema: Schema.Struct<{
3518
+ readonly tenant_id: Schema.brand<Schema.String, "TenantId">;
3519
+ }>;
3520
+ export type SendProblemReportPathParams = typeof SendProblemReportPathParamsSchema.Type;
3521
+ export declare const SendProblemReportRequestBodySchema: Schema.Struct<{
3522
+ readonly description: Schema.String;
3523
+ readonly diagnostics: Schema.optional<Schema.String>;
3524
+ }>;
3525
+ export type SendProblemReportRequestBody = typeof SendProblemReportRequestBodySchema.Type;
3526
+ export declare const SendProblemReportResponseSchema: Schema.Struct<{
3527
+ readonly sent: Schema.Boolean;
3528
+ }>;
3529
+ export type SendProblemReportResponse = typeof SendProblemReportResponseSchema.Type;
3530
+ export declare const SendProblemReport429ResponseHeadersSchema: Schema.Struct<{
3531
+ readonly "Retry-After": Schema.NumberFromString;
3532
+ readonly "X-RateLimit-Limit": Schema.NumberFromString;
3533
+ readonly "X-RateLimit-Remaining": Schema.NumberFromString;
3534
+ }>;
3535
+ export type SendProblemReport429ResponseHeaders = typeof SendProblemReport429ResponseHeadersSchema.Type;
3382
3536
  export declare const SetEpisodeDeadlinePathParamsSchema: Schema.Struct<{
3383
3537
  readonly episode_id: Schema.brand<Schema.String, "EpisodeId">;
3384
3538
  readonly space_id: Schema.brand<Schema.String, "SpaceId">;
@@ -3559,6 +3713,7 @@ export declare const UpdateTenantRequestBodySchema: Schema.Struct<{
3559
3713
  }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>>>;
3560
3714
  readonly name: Schema.optional<Schema.String>;
3561
3715
  readonly provider_policy_version: Schema.optional<Schema.String>;
3716
+ readonly recording_render_mode: Schema.optional<Schema.Literals<readonly ["on_demand", "automatic"]>>;
3562
3717
  readonly recording_retention_seconds: Schema.optional<Schema.NullOr<Schema.Number>>;
3563
3718
  readonly storage_provider_config: Schema.optional<Schema.NullOr<Schema.StructWithRest<Schema.Struct<{
3564
3719
  readonly access_key_id: Schema.optional<Schema.String>;
@@ -3590,6 +3745,7 @@ export declare const UpdateTenantResponseSchema: Schema.Struct<{
3590
3745
  }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>>;
3591
3746
  readonly name: Schema.String;
3592
3747
  readonly provider_policy_version: Schema.String;
3748
+ readonly recording_render_mode: Schema.Literals<readonly ["on_demand", "automatic"]>;
3593
3749
  readonly recording_retention_seconds: Schema.Number;
3594
3750
  readonly storage_provider_config: Schema.NullOr<Schema.StructWithRest<Schema.Struct<{
3595
3751
  readonly access_key_id: Schema.optional<Schema.String>;
@@ -4871,6 +5027,46 @@ export declare const RecordingPreparationPolicyDeniedErrorSchema: Schema.decodeT
4871
5027
  readonly message: Schema.String;
4872
5028
  }>;
4873
5029
  }>, never, never>;
5030
+ declare const ReportsDeliveryFailedError_base: Schema.Class<ReportsDeliveryFailedError, Schema.TaggedStruct<"ReportsDeliveryFailedError", {
5031
+ readonly error: Schema.Struct<{
5032
+ readonly code: Schema.Literal<"reports.delivery_failed">;
5033
+ readonly message: Schema.String;
5034
+ }>;
5035
+ }>, import("effect/Cause").YieldableError>;
5036
+ export declare class ReportsDeliveryFailedError extends ReportsDeliveryFailedError_base {
5037
+ }
5038
+ export declare const ReportsDeliveryFailedErrorWireSchema: Schema.Struct<{
5039
+ readonly error: Schema.Struct<{
5040
+ readonly code: Schema.Literal<"reports.delivery_failed">;
5041
+ readonly message: Schema.String;
5042
+ }>;
5043
+ }>;
5044
+ export declare const ReportsDeliveryFailedErrorSchema: Schema.decodeTo<typeof ReportsDeliveryFailedError, Schema.Struct<{
5045
+ readonly error: Schema.Struct<{
5046
+ readonly code: Schema.Literal<"reports.delivery_failed">;
5047
+ readonly message: Schema.String;
5048
+ }>;
5049
+ }>, never, never>;
5050
+ declare const ReportsUnavailableError_base: Schema.Class<ReportsUnavailableError, Schema.TaggedStruct<"ReportsUnavailableError", {
5051
+ readonly error: Schema.Struct<{
5052
+ readonly code: Schema.Literal<"reports.unavailable">;
5053
+ readonly message: Schema.String;
5054
+ }>;
5055
+ }>, import("effect/Cause").YieldableError>;
5056
+ export declare class ReportsUnavailableError extends ReportsUnavailableError_base {
5057
+ }
5058
+ export declare const ReportsUnavailableErrorWireSchema: Schema.Struct<{
5059
+ readonly error: Schema.Struct<{
5060
+ readonly code: Schema.Literal<"reports.unavailable">;
5061
+ readonly message: Schema.String;
5062
+ }>;
5063
+ }>;
5064
+ export declare const ReportsUnavailableErrorSchema: Schema.decodeTo<typeof ReportsUnavailableError, Schema.Struct<{
5065
+ readonly error: Schema.Struct<{
5066
+ readonly code: Schema.Literal<"reports.unavailable">;
5067
+ readonly message: Schema.String;
5068
+ }>;
5069
+ }>, never, never>;
4874
5070
  declare const RequestIdempotencyConflictError_base: Schema.Class<RequestIdempotencyConflictError, Schema.TaggedStruct<"RequestIdempotencyConflictError", {
4875
5071
  readonly error: Schema.Struct<{
4876
5072
  readonly code: Schema.Literal<"request.idempotency_conflict">;
@@ -6246,6 +6442,53 @@ export declare const ArriveBySpacePublicInviteErrorSchema: Schema.Union<readonly
6246
6442
  }>;
6247
6443
  }>, never, never>]>;
6248
6444
  export type ArriveBySpacePublicInviteError = typeof ArriveBySpacePublicInviteErrorSchema.Type;
6445
+ export declare const CancelEpisodeParticipantJoinErrorSchema: Schema.Union<readonly [Schema.decodeTo<typeof AccessForbiddenError, Schema.Struct<{
6446
+ readonly error: Schema.Struct<{
6447
+ readonly code: Schema.Literal<"access.forbidden">;
6448
+ readonly message: Schema.String;
6449
+ }>;
6450
+ }>, never, never>, Schema.decodeTo<typeof AccessUnauthenticatedError, Schema.Struct<{
6451
+ readonly error: Schema.Struct<{
6452
+ readonly code: Schema.Literal<"access.unauthenticated">;
6453
+ readonly message: Schema.String;
6454
+ }>;
6455
+ }>, never, never>, Schema.decodeTo<typeof EpisodeInvalidIdError, Schema.Struct<{
6456
+ readonly error: Schema.Struct<{
6457
+ readonly code: Schema.Literal<"episode.invalid_id">;
6458
+ readonly message: Schema.String;
6459
+ }>;
6460
+ }>, never, never>, Schema.decodeTo<typeof ParticipantInvalidIdError, Schema.Struct<{
6461
+ readonly error: Schema.Struct<{
6462
+ readonly code: Schema.Literal<"participant.invalid_id">;
6463
+ readonly message: Schema.String;
6464
+ }>;
6465
+ }>, never, never>, Schema.decodeTo<typeof RequestInvalidError, Schema.Struct<{
6466
+ readonly error: Schema.Struct<{
6467
+ readonly code: Schema.Literal<"request.invalid">;
6468
+ readonly message: Schema.String;
6469
+ }>;
6470
+ }>, never, never>, Schema.decodeTo<typeof RequestRateLimitedError, Schema.Struct<{
6471
+ readonly error: Schema.Struct<{
6472
+ readonly code: Schema.Literal<"request.rate_limited">;
6473
+ readonly message: Schema.String;
6474
+ }>;
6475
+ }>, never, never>, Schema.decodeTo<typeof ServiceInternalError, Schema.Struct<{
6476
+ readonly error: Schema.Struct<{
6477
+ readonly code: Schema.Literal<"service.internal_error">;
6478
+ readonly message: Schema.String;
6479
+ }>;
6480
+ }>, never, never>, Schema.decodeTo<typeof ServiceUnavailableError, Schema.Struct<{
6481
+ readonly error: Schema.Struct<{
6482
+ readonly code: Schema.Literal<"service.unavailable">;
6483
+ readonly message: Schema.String;
6484
+ }>;
6485
+ }>, never, never>, Schema.decodeTo<typeof SpaceInvalidIdError, Schema.Struct<{
6486
+ readonly error: Schema.Struct<{
6487
+ readonly code: Schema.Literal<"space.invalid_id">;
6488
+ readonly message: Schema.String;
6489
+ }>;
6490
+ }>, never, never>]>;
6491
+ export type CancelEpisodeParticipantJoinError = typeof CancelEpisodeParticipantJoinErrorSchema.Type;
6249
6492
  export declare const CancelSpaceRecordingPreparationErrorSchema: Schema.Union<readonly [Schema.decodeTo<typeof AccessForbiddenError, Schema.Struct<{
6250
6493
  readonly error: Schema.Struct<{
6251
6494
  readonly code: Schema.Literal<"access.forbidden">;
@@ -7571,6 +7814,13 @@ export declare const GetEpisodeErrorSchema: Schema.Union<readonly [Schema.decode
7571
7814
  }>;
7572
7815
  }>, never, never>]>;
7573
7816
  export type GetEpisodeError = typeof GetEpisodeErrorSchema.Type;
7817
+ export declare const GetProblemReportAvailabilityErrorSchema: Schema.decodeTo<typeof TenantInvalidIdError, Schema.Struct<{
7818
+ readonly error: Schema.Struct<{
7819
+ readonly code: Schema.Literal<"tenant.invalid_id">;
7820
+ readonly message: Schema.String;
7821
+ }>;
7822
+ }>, never, never>;
7823
+ export type GetProblemReportAvailabilityError = typeof GetProblemReportAvailabilityErrorSchema.Type;
7574
7824
  export declare const GetRecordingErrorSchema: Schema.Union<readonly [Schema.decodeTo<typeof AccessForbiddenError, Schema.Struct<{
7575
7825
  readonly error: Schema.Struct<{
7576
7826
  readonly code: Schema.Literal<"access.forbidden">;
@@ -8671,6 +8921,48 @@ export declare const ListRecordingsErrorSchema: Schema.Union<readonly [Schema.de
8671
8921
  }>;
8672
8922
  }>, never, never>]>;
8673
8923
  export type ListRecordingsError = typeof ListRecordingsErrorSchema.Type;
8924
+ export declare const ListSpaceActivityErrorSchema: Schema.Union<readonly [Schema.decodeTo<typeof AccessForbiddenError, Schema.Struct<{
8925
+ readonly error: Schema.Struct<{
8926
+ readonly code: Schema.Literal<"access.forbidden">;
8927
+ readonly message: Schema.String;
8928
+ }>;
8929
+ }>, never, never>, Schema.decodeTo<typeof AccessUnauthenticatedError, Schema.Struct<{
8930
+ readonly error: Schema.Struct<{
8931
+ readonly code: Schema.Literal<"access.unauthenticated">;
8932
+ readonly message: Schema.String;
8933
+ }>;
8934
+ }>, never, never>, Schema.decodeTo<typeof EpisodeInvalidSpaceIdsError, Schema.Struct<{
8935
+ readonly error: Schema.Struct<{
8936
+ readonly code: Schema.Literal<"episode.invalid_space_ids">;
8937
+ readonly message: Schema.String;
8938
+ }>;
8939
+ }>, never, never>, Schema.decodeTo<typeof RequestRateLimitedError, Schema.Struct<{
8940
+ readonly error: Schema.Struct<{
8941
+ readonly code: Schema.Literal<"request.rate_limited">;
8942
+ readonly message: Schema.String;
8943
+ }>;
8944
+ }>, never, never>, Schema.decodeTo<typeof ServiceInternalError, Schema.Struct<{
8945
+ readonly error: Schema.Struct<{
8946
+ readonly code: Schema.Literal<"service.internal_error">;
8947
+ readonly message: Schema.String;
8948
+ }>;
8949
+ }>, never, never>, Schema.decodeTo<typeof ServiceUnavailableError, Schema.Struct<{
8950
+ readonly error: Schema.Struct<{
8951
+ readonly code: Schema.Literal<"service.unavailable">;
8952
+ readonly message: Schema.String;
8953
+ }>;
8954
+ }>, never, never>, Schema.decodeTo<typeof SpaceNotFoundError, Schema.Struct<{
8955
+ readonly error: Schema.Struct<{
8956
+ readonly code: Schema.Literal<"space.not_found">;
8957
+ readonly message: Schema.String;
8958
+ }>;
8959
+ }>, never, never>, Schema.decodeTo<typeof TenantInvalidIdError, Schema.Struct<{
8960
+ readonly error: Schema.Struct<{
8961
+ readonly code: Schema.Literal<"tenant.invalid_id">;
8962
+ readonly message: Schema.String;
8963
+ }>;
8964
+ }>, never, never>]>;
8965
+ export type ListSpaceActivityError = typeof ListSpaceActivityErrorSchema.Type;
8674
8966
  export declare const ListSpaceLiveEpisodesErrorSchema: Schema.Union<readonly [Schema.decodeTo<typeof AccessForbiddenError, Schema.Struct<{
8675
8967
  readonly error: Schema.Struct<{
8676
8968
  readonly code: Schema.Literal<"access.forbidden">;
@@ -10033,6 +10325,58 @@ export declare const RotateWebhookEndpointSecretErrorSchema: Schema.Union<readon
10033
10325
  }>;
10034
10326
  }>, never, never>]>;
10035
10327
  export type RotateWebhookEndpointSecretError = typeof RotateWebhookEndpointSecretErrorSchema.Type;
10328
+ export declare const SendProblemReportErrorSchema: Schema.Union<readonly [Schema.decodeTo<typeof AccessForbiddenError, Schema.Struct<{
10329
+ readonly error: Schema.Struct<{
10330
+ readonly code: Schema.Literal<"access.forbidden">;
10331
+ readonly message: Schema.String;
10332
+ }>;
10333
+ }>, never, never>, Schema.decodeTo<typeof AccessUnauthenticatedError, Schema.Struct<{
10334
+ readonly error: Schema.Struct<{
10335
+ readonly code: Schema.Literal<"access.unauthenticated">;
10336
+ readonly message: Schema.String;
10337
+ }>;
10338
+ }>, never, never>, Schema.decodeTo<typeof ReportsDeliveryFailedError, Schema.Struct<{
10339
+ readonly error: Schema.Struct<{
10340
+ readonly code: Schema.Literal<"reports.delivery_failed">;
10341
+ readonly message: Schema.String;
10342
+ }>;
10343
+ }>, never, never>, Schema.decodeTo<typeof ReportsUnavailableError, Schema.Struct<{
10344
+ readonly error: Schema.Struct<{
10345
+ readonly code: Schema.Literal<"reports.unavailable">;
10346
+ readonly message: Schema.String;
10347
+ }>;
10348
+ }>, never, never>, Schema.decodeTo<typeof RequestInvalidError, Schema.Struct<{
10349
+ readonly error: Schema.Struct<{
10350
+ readonly code: Schema.Literal<"request.invalid">;
10351
+ readonly message: Schema.String;
10352
+ }>;
10353
+ }>, never, never>, Schema.decodeTo<typeof RequestPayloadTooLargeError, Schema.Struct<{
10354
+ readonly error: Schema.Struct<{
10355
+ readonly code: Schema.Literal<"request.payload_too_large">;
10356
+ readonly message: Schema.String;
10357
+ }>;
10358
+ }>, never, never>, Schema.decodeTo<typeof RequestRateLimitedError, Schema.Struct<{
10359
+ readonly error: Schema.Struct<{
10360
+ readonly code: Schema.Literal<"request.rate_limited">;
10361
+ readonly message: Schema.String;
10362
+ }>;
10363
+ }>, never, never>, Schema.decodeTo<typeof ServiceInternalError, Schema.Struct<{
10364
+ readonly error: Schema.Struct<{
10365
+ readonly code: Schema.Literal<"service.internal_error">;
10366
+ readonly message: Schema.String;
10367
+ }>;
10368
+ }>, never, never>, Schema.decodeTo<typeof ServiceUnavailableError, Schema.Struct<{
10369
+ readonly error: Schema.Struct<{
10370
+ readonly code: Schema.Literal<"service.unavailable">;
10371
+ readonly message: Schema.String;
10372
+ }>;
10373
+ }>, never, never>, Schema.decodeTo<typeof TenantInvalidIdError, Schema.Struct<{
10374
+ readonly error: Schema.Struct<{
10375
+ readonly code: Schema.Literal<"tenant.invalid_id">;
10376
+ readonly message: Schema.String;
10377
+ }>;
10378
+ }>, never, never>]>;
10379
+ export type SendProblemReportError = typeof SendProblemReportErrorSchema.Type;
10036
10380
  export declare const SetEpisodeDeadlineErrorSchema: Schema.Union<readonly [Schema.decodeTo<typeof AccessForbiddenError, Schema.Struct<{
10037
10381
  readonly error: Schema.Struct<{
10038
10382
  readonly code: Schema.Literal<"access.forbidden">;
@@ -10676,6 +11020,13 @@ export declare const ChalkOperationPolicies: {
10676
11020
  readonly windowSeconds: 60;
10677
11021
  };
10678
11022
  };
11023
+ readonly cancelEpisodeParticipantJoin: {
11024
+ readonly rateLimit: {
11025
+ readonly limit: 60;
11026
+ readonly policy: "v1.authenticated.write";
11027
+ readonly windowSeconds: 60;
11028
+ };
11029
+ };
10679
11030
  readonly cancelSpaceRecordingPreparation: {
10680
11031
  readonly maxBodyBytes: 1048576;
10681
11032
  readonly rateLimit: {
@@ -10892,6 +11243,13 @@ export declare const ChalkOperationPolicies: {
10892
11243
  readonly windowSeconds: 60;
10893
11244
  };
10894
11245
  };
11246
+ readonly listSpaceActivity: {
11247
+ readonly rateLimit: {
11248
+ readonly limit: 300;
11249
+ readonly policy: "v1.authenticated.read";
11250
+ readonly windowSeconds: 60;
11251
+ };
11252
+ };
10895
11253
  readonly listSpaceLiveEpisodes: {
10896
11254
  readonly rateLimit: {
10897
11255
  readonly limit: 300;
@@ -11034,6 +11392,14 @@ export declare const ChalkOperationPolicies: {
11034
11392
  readonly windowSeconds: 60;
11035
11393
  };
11036
11394
  };
11395
+ readonly sendProblemReport: {
11396
+ readonly maxBodyBytes: 37024;
11397
+ readonly rateLimit: {
11398
+ readonly limit: 3;
11399
+ readonly policy: "problem_reports.participant";
11400
+ readonly windowSeconds: 3600;
11401
+ };
11402
+ };
11037
11403
  readonly setEpisodeDeadline: {
11038
11404
  readonly maxBodyBytes: 1048576;
11039
11405
  readonly rateLimit: {