@q9labsai/chalk-client 5.1.0 → 5.2.1

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 (39) hide show
  1. package/CHANGELOG.md +125 -0
  2. package/dist/chat-files/types.d.ts +3 -0
  3. package/dist/chunk-6LNRDKJF.js +162 -0
  4. package/dist/{chunk-3ZN7IXOZ.js → chunk-GA3JDPFI.js} +252 -2
  5. package/dist/{chunk-RJRSLXVT.js → chunk-RVUN6LW4.js} +764 -265
  6. package/dist/{chunk-K7PNW3KI.js → chunk-TVNI2XUZ.js} +172 -18
  7. package/dist/client.d.ts +205 -0
  8. package/dist/connection/dependencies.d.ts +3 -0
  9. package/dist/connection/diagnostics.d.ts +3 -2
  10. package/dist/connection/index.d.ts +1 -0
  11. package/dist/connection/lifecycle.d.ts +1 -0
  12. package/dist/connection/types.d.ts +2 -0
  13. package/dist/effect.js +62 -4
  14. package/dist/generated/http-api.d.ts +201 -0
  15. package/dist/generated/schemas.d.ts +373 -0
  16. package/dist/generated/sync.d.ts +74 -3
  17. package/dist/generated/whiteboard-v1.d.ts +71 -9
  18. package/dist/index.d.ts +1 -0
  19. package/dist/index.js +20 -14
  20. package/dist/public-invites/code.d.ts +1 -0
  21. package/dist/public-invites/index.d.ts +1 -0
  22. package/dist/public-invites/index.js +6 -4
  23. package/dist/public-invites/words.d.ts +2 -0
  24. package/dist/space-client/reload-rejoin.d.ts +1 -1
  25. package/dist/space-client/types.d.ts +10 -1
  26. package/dist/sync/connect-diagnostics.d.ts +10 -0
  27. package/dist/sync/index.js +1 -1
  28. package/dist/sync/types.d.ts +1 -0
  29. package/dist/sync/v1-client.d.ts +2 -0
  30. package/dist/sync/v1-types.d.ts +8 -0
  31. package/dist/whiteboard/index.d.ts +2 -5
  32. package/dist/whiteboard/types.d.ts +26 -3
  33. package/dist/whiteboard/v1-client.d.ts +3 -1
  34. package/dist/whiteboard/v1-codec.d.ts +5 -1
  35. package/dist/whiteboard/v1-multipart.d.ts +1 -1
  36. package/dist/whiteboard/view-bounds.d.ts +5 -0
  37. package/dist/whiteboard/view-versions.d.ts +9 -0
  38. package/package.json +1 -1
  39. package/dist/chunk-KHHULLBZ.js +0 -142
@@ -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;
@@ -583,6 +608,7 @@ export declare const PublicSpaceArrivalSchema: Schema.Struct<{
583
608
  readonly retry_after: Schema.optional<Schema.Number>;
584
609
  readonly space: Schema.optional<Schema.NullOr<Schema.Struct<{
585
610
  readonly admission_mode: Schema.String;
611
+ readonly maximum_episode_duration_seconds: Schema.optional<Schema.Number>;
586
612
  readonly name: Schema.String;
587
613
  readonly slug: Schema.String;
588
614
  }>>>;
@@ -617,6 +643,7 @@ export declare const PublicSpaceCreatedSchema: Schema.Struct<{
617
643
  readonly retry_after: Schema.optional<Schema.Number>;
618
644
  readonly space: Schema.optional<Schema.NullOr<Schema.Struct<{
619
645
  readonly admission_mode: Schema.String;
646
+ readonly maximum_episode_duration_seconds: Schema.optional<Schema.Number>;
620
647
  readonly name: Schema.String;
621
648
  readonly slug: Schema.String;
622
649
  }>>>;
@@ -627,6 +654,7 @@ export declare const PublicSpaceCreatedSchema: Schema.Struct<{
627
654
  readonly lifecycle_until: Schema.brand<Schema.String, "DateTimeString">;
628
655
  readonly space: Schema.Struct<{
629
656
  readonly admission_mode: Schema.String;
657
+ readonly maximum_episode_duration_seconds: Schema.optional<Schema.Number>;
630
658
  readonly name: Schema.String;
631
659
  readonly slug: Schema.String;
632
660
  }>;
@@ -650,6 +678,8 @@ export declare const RecordingSourceSchema: Schema.Struct<{
650
678
  }>;
651
679
  export type RecordingSource = typeof RecordingSourceSchema.Type;
652
680
  export declare const RecordingTranscriptionPreparationSchema: Schema.Struct<{
681
+ readonly expires_at: Schema.optional<Schema.NullOr<Schema.brand<Schema.String, "DateTimeString">>>;
682
+ readonly failure_code: Schema.optional<Schema.String>;
653
683
  readonly status: Schema.Literals<readonly ["none", "pending", "ready", "failed", "expired"]>;
654
684
  }>;
655
685
  export type RecordingTranscriptionPreparation = typeof RecordingTranscriptionPreparationSchema.Type;
@@ -678,6 +708,8 @@ export declare const RecordingSchema: Schema.Struct<{
678
708
  readonly tenant_id: Schema.brand<Schema.String, "TenantId">;
679
709
  readonly transcription_policy: Schema.String;
680
710
  readonly transcription_preparation: Schema.Struct<{
711
+ readonly expires_at: Schema.optional<Schema.NullOr<Schema.brand<Schema.String, "DateTimeString">>>;
712
+ readonly failure_code: Schema.optional<Schema.String>;
681
713
  readonly status: Schema.Literals<readonly ["none", "pending", "ready", "failed", "expired"]>;
682
714
  }>;
683
715
  readonly updated_at: Schema.brand<Schema.String, "DateTimeString">;
@@ -725,6 +757,8 @@ export declare const RecordingExportRequestAcceptedResponseSchema: Schema.Struct
725
757
  readonly tenant_id: Schema.brand<Schema.String, "TenantId">;
726
758
  readonly transcription_policy: Schema.String;
727
759
  readonly transcription_preparation: Schema.Struct<{
760
+ readonly expires_at: Schema.optional<Schema.NullOr<Schema.brand<Schema.String, "DateTimeString">>>;
761
+ readonly failure_code: Schema.optional<Schema.String>;
728
762
  readonly status: Schema.Literals<readonly ["none", "pending", "ready", "failed", "expired"]>;
729
763
  }>;
730
764
  readonly updated_at: Schema.brand<Schema.String, "DateTimeString">;
@@ -762,6 +796,8 @@ export declare const RecordingListSchema: Schema.Struct<{
762
796
  readonly tenant_id: Schema.brand<Schema.String, "TenantId">;
763
797
  readonly transcription_policy: Schema.String;
764
798
  readonly transcription_preparation: Schema.Struct<{
799
+ readonly expires_at: Schema.optional<Schema.NullOr<Schema.brand<Schema.String, "DateTimeString">>>;
800
+ readonly failure_code: Schema.optional<Schema.String>;
765
801
  readonly status: Schema.Literals<readonly ["none", "pending", "ready", "failed", "expired"]>;
766
802
  }>;
767
803
  readonly updated_at: Schema.brand<Schema.String, "DateTimeString">;
@@ -842,6 +878,31 @@ export declare const SpaceSchema: Schema.Struct<{
842
878
  readonly updated_at: Schema.brand<Schema.String, "DateTimeString">;
843
879
  }>;
844
880
  export type Space = typeof SpaceSchema.Type;
881
+ export declare const SpaceActivityListSchema: Schema.Struct<{
882
+ readonly spaces: Schema.$Array<Schema.Struct<{
883
+ readonly archived: Schema.Boolean;
884
+ readonly latest_episode: Schema.NullOr<Schema.Struct<{
885
+ readonly ended_at: Schema.NullOr<Schema.brand<Schema.String, "DateTimeString">>;
886
+ readonly episode_id: Schema.brand<Schema.String, "EpisodeId">;
887
+ readonly started_at: Schema.brand<Schema.String, "DateTimeString">;
888
+ readonly status: Schema.String;
889
+ }>>;
890
+ readonly live_episode: Schema.NullOr<Schema.Struct<{
891
+ readonly episode_id: Schema.brand<Schema.String, "EpisodeId">;
892
+ readonly participant_count: Schema.Number;
893
+ readonly participants: Schema.$Array<Schema.Struct<{
894
+ readonly display_name: Schema.String;
895
+ readonly participant_id: Schema.brand<Schema.String, "ParticipantId">;
896
+ }>>;
897
+ }>>;
898
+ readonly recent_participants: Schema.$Array<Schema.Struct<{
899
+ readonly display_name: Schema.String;
900
+ readonly participant_id: Schema.brand<Schema.String, "ParticipantId">;
901
+ }>>;
902
+ readonly space_id: Schema.brand<Schema.String, "SpaceId">;
903
+ }>>;
904
+ }>;
905
+ export type SpaceActivityList = typeof SpaceActivityListSchema.Type;
845
906
  export declare const SpaceListSchema: Schema.Struct<{
846
907
  readonly pagination: Schema.Struct<{
847
908
  readonly has_more: Schema.Boolean;
@@ -928,6 +989,7 @@ export declare const TenantSchema: Schema.Struct<{
928
989
  }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>>;
929
990
  readonly name: Schema.String;
930
991
  readonly provider_policy_version: Schema.String;
992
+ readonly recording_render_mode: Schema.Literals<readonly ["on_demand", "automatic"]>;
931
993
  readonly recording_retention_seconds: Schema.Number;
932
994
  readonly storage_provider_config: Schema.NullOr<Schema.StructWithRest<Schema.Struct<{
933
995
  readonly access_key_id: Schema.optional<Schema.String>;
@@ -966,6 +1028,7 @@ export declare const TenantListSchema: Schema.Struct<{
966
1028
  }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>>;
967
1029
  readonly name: Schema.String;
968
1030
  readonly provider_policy_version: Schema.String;
1031
+ readonly recording_render_mode: Schema.Literals<readonly ["on_demand", "automatic"]>;
969
1032
  readonly recording_retention_seconds: Schema.Number;
970
1033
  readonly storage_provider_config: Schema.NullOr<Schema.StructWithRest<Schema.Struct<{
971
1034
  readonly access_key_id: Schema.optional<Schema.String>;
@@ -1121,6 +1184,7 @@ export declare const UpdateTenantRequestSchema: Schema.Struct<{
1121
1184
  }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>>>;
1122
1185
  readonly name: Schema.optional<Schema.String>;
1123
1186
  readonly provider_policy_version: Schema.optional<Schema.String>;
1187
+ readonly recording_render_mode: Schema.optional<Schema.Literals<readonly ["on_demand", "automatic"]>>;
1124
1188
  readonly recording_retention_seconds: Schema.optional<Schema.NullOr<Schema.Number>>;
1125
1189
  readonly storage_provider_config: Schema.optional<Schema.NullOr<Schema.StructWithRest<Schema.Struct<{
1126
1190
  readonly access_key_id: Schema.optional<Schema.String>;
@@ -1497,6 +1561,7 @@ export declare const ArriveBySpacePublicInviteResponseSchema: Schema.Struct<{
1497
1561
  readonly retry_after: Schema.optional<Schema.Number>;
1498
1562
  readonly space: Schema.optional<Schema.NullOr<Schema.Struct<{
1499
1563
  readonly admission_mode: Schema.String;
1564
+ readonly maximum_episode_duration_seconds: Schema.optional<Schema.Number>;
1500
1565
  readonly name: Schema.String;
1501
1566
  readonly slug: Schema.String;
1502
1567
  }>>>;
@@ -1509,6 +1574,23 @@ export declare const ArriveBySpacePublicInvite429ResponseHeadersSchema: Schema.S
1509
1574
  readonly "X-RateLimit-Remaining": Schema.NumberFromString;
1510
1575
  }>;
1511
1576
  export type ArriveBySpacePublicInvite429ResponseHeaders = typeof ArriveBySpacePublicInvite429ResponseHeadersSchema.Type;
1577
+ export declare const CancelEpisodeParticipantJoinPathParamsSchema: Schema.Struct<{
1578
+ readonly episode_id: Schema.brand<Schema.String, "EpisodeId">;
1579
+ readonly participant_id: Schema.brand<Schema.String, "ParticipantId">;
1580
+ readonly space_id: Schema.brand<Schema.String, "SpaceId">;
1581
+ readonly tenant_id: Schema.brand<Schema.String, "TenantId">;
1582
+ }>;
1583
+ export type CancelEpisodeParticipantJoinPathParams = typeof CancelEpisodeParticipantJoinPathParamsSchema.Type;
1584
+ export declare const CancelEpisodeParticipantJoinResponseSchema: Schema.Struct<{
1585
+ readonly cancelled: Schema.Boolean;
1586
+ }>;
1587
+ export type CancelEpisodeParticipantJoinResponse = typeof CancelEpisodeParticipantJoinResponseSchema.Type;
1588
+ export declare const CancelEpisodeParticipantJoin429ResponseHeadersSchema: Schema.Struct<{
1589
+ readonly "Retry-After": Schema.NumberFromString;
1590
+ readonly "X-RateLimit-Limit": Schema.NumberFromString;
1591
+ readonly "X-RateLimit-Remaining": Schema.NumberFromString;
1592
+ }>;
1593
+ export type CancelEpisodeParticipantJoin429ResponseHeaders = typeof CancelEpisodeParticipantJoin429ResponseHeadersSchema.Type;
1512
1594
  export declare const CancelSpaceRecordingPreparationPathParamsSchema: Schema.Struct<{
1513
1595
  readonly space_id: Schema.brand<Schema.String, "SpaceId">;
1514
1596
  readonly tenant_id: Schema.brand<Schema.String, "TenantId">;
@@ -1712,6 +1794,7 @@ export declare const CreatePublicSpaceResponseSchema: Schema.Struct<{
1712
1794
  readonly retry_after: Schema.optional<Schema.Number>;
1713
1795
  readonly space: Schema.optional<Schema.NullOr<Schema.Struct<{
1714
1796
  readonly admission_mode: Schema.String;
1797
+ readonly maximum_episode_duration_seconds: Schema.optional<Schema.Number>;
1715
1798
  readonly name: Schema.String;
1716
1799
  readonly slug: Schema.String;
1717
1800
  }>>>;
@@ -1722,6 +1805,7 @@ export declare const CreatePublicSpaceResponseSchema: Schema.Struct<{
1722
1805
  readonly lifecycle_until: Schema.brand<Schema.String, "DateTimeString">;
1723
1806
  readonly space: Schema.Struct<{
1724
1807
  readonly admission_mode: Schema.String;
1808
+ readonly maximum_episode_duration_seconds: Schema.optional<Schema.Number>;
1725
1809
  readonly name: Schema.String;
1726
1810
  readonly slug: Schema.String;
1727
1811
  }>;
@@ -1848,6 +1932,7 @@ export declare const CreateTenantResponseSchema: Schema.Struct<{
1848
1932
  }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>>;
1849
1933
  readonly name: Schema.String;
1850
1934
  readonly provider_policy_version: Schema.String;
1935
+ readonly recording_render_mode: Schema.Literals<readonly ["on_demand", "automatic"]>;
1851
1936
  readonly recording_retention_seconds: Schema.Number;
1852
1937
  readonly storage_provider_config: Schema.NullOr<Schema.StructWithRest<Schema.Struct<{
1853
1938
  readonly access_key_id: Schema.optional<Schema.String>;
@@ -2044,6 +2129,7 @@ export declare const FindTenantByExternalIDResponseSchema: Schema.Struct<{
2044
2129
  }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>>;
2045
2130
  readonly name: Schema.String;
2046
2131
  readonly provider_policy_version: Schema.String;
2132
+ readonly recording_render_mode: Schema.Literals<readonly ["on_demand", "automatic"]>;
2047
2133
  readonly recording_retention_seconds: Schema.Number;
2048
2134
  readonly storage_provider_config: Schema.NullOr<Schema.StructWithRest<Schema.Struct<{
2049
2135
  readonly access_key_id: Schema.optional<Schema.String>;
@@ -2130,6 +2216,14 @@ export declare const GetEpisodeAttendance429ResponseHeadersSchema: Schema.Struct
2130
2216
  readonly "X-RateLimit-Remaining": Schema.NumberFromString;
2131
2217
  }>;
2132
2218
  export type GetEpisodeAttendance429ResponseHeaders = typeof GetEpisodeAttendance429ResponseHeadersSchema.Type;
2219
+ export declare const GetProblemReportAvailabilityPathParamsSchema: Schema.Struct<{
2220
+ readonly tenant_id: Schema.brand<Schema.String, "TenantId">;
2221
+ }>;
2222
+ export type GetProblemReportAvailabilityPathParams = typeof GetProblemReportAvailabilityPathParamsSchema.Type;
2223
+ export declare const GetProblemReportAvailabilityResponseSchema: Schema.Struct<{
2224
+ readonly available: Schema.Boolean;
2225
+ }>;
2226
+ export type GetProblemReportAvailabilityResponse = typeof GetProblemReportAvailabilityResponseSchema.Type;
2133
2227
  export declare const GetRecordingPathParamsSchema: Schema.Struct<{
2134
2228
  readonly recording_id: Schema.brand<Schema.String, "RecordingId">;
2135
2229
  readonly tenant_id: Schema.brand<Schema.String, "TenantId">;
@@ -2160,6 +2254,8 @@ export declare const GetRecordingResponseSchema: Schema.Struct<{
2160
2254
  readonly tenant_id: Schema.brand<Schema.String, "TenantId">;
2161
2255
  readonly transcription_policy: Schema.String;
2162
2256
  readonly transcription_preparation: Schema.Struct<{
2257
+ readonly expires_at: Schema.optional<Schema.NullOr<Schema.brand<Schema.String, "DateTimeString">>>;
2258
+ readonly failure_code: Schema.optional<Schema.String>;
2163
2259
  readonly status: Schema.Literals<readonly ["none", "pending", "ready", "failed", "expired"]>;
2164
2260
  }>;
2165
2261
  readonly updated_at: Schema.brand<Schema.String, "DateTimeString">;
@@ -2253,6 +2349,7 @@ export declare const GetSpacePublicInviteArrivalResponseSchema: Schema.Struct<{
2253
2349
  readonly retry_after: Schema.optional<Schema.Number>;
2254
2350
  readonly space: Schema.optional<Schema.NullOr<Schema.Struct<{
2255
2351
  readonly admission_mode: Schema.String;
2352
+ readonly maximum_episode_duration_seconds: Schema.optional<Schema.Number>;
2256
2353
  readonly name: Schema.String;
2257
2354
  readonly slug: Schema.String;
2258
2355
  }>>>;
@@ -2300,6 +2397,7 @@ export declare const GetTenantResponseSchema: Schema.Struct<{
2300
2397
  }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>>;
2301
2398
  readonly name: Schema.String;
2302
2399
  readonly provider_policy_version: Schema.String;
2400
+ readonly recording_render_mode: Schema.Literals<readonly ["on_demand", "automatic"]>;
2303
2401
  readonly recording_retention_seconds: Schema.Number;
2304
2402
  readonly storage_provider_config: Schema.NullOr<Schema.StructWithRest<Schema.Struct<{
2305
2403
  readonly access_key_id: Schema.optional<Schema.String>;
@@ -2696,12 +2794,53 @@ export declare const ListRecordingsResponseSchema: Schema.Struct<{
2696
2794
  readonly tenant_id: Schema.brand<Schema.String, "TenantId">;
2697
2795
  readonly transcription_policy: Schema.String;
2698
2796
  readonly transcription_preparation: Schema.Struct<{
2797
+ readonly expires_at: Schema.optional<Schema.NullOr<Schema.brand<Schema.String, "DateTimeString">>>;
2798
+ readonly failure_code: Schema.optional<Schema.String>;
2699
2799
  readonly status: Schema.Literals<readonly ["none", "pending", "ready", "failed", "expired"]>;
2700
2800
  }>;
2701
2801
  readonly updated_at: Schema.brand<Schema.String, "DateTimeString">;
2702
2802
  }>>;
2703
2803
  }>;
2704
2804
  export type ListRecordingsResponse = typeof ListRecordingsResponseSchema.Type;
2805
+ export declare const ListSpaceActivityPathParamsSchema: Schema.Struct<{
2806
+ readonly tenant_id: Schema.brand<Schema.String, "TenantId">;
2807
+ }>;
2808
+ export type ListSpaceActivityPathParams = typeof ListSpaceActivityPathParamsSchema.Type;
2809
+ export declare const ListSpaceActivityQueryParamsSchema: Schema.Struct<{
2810
+ readonly space_ids: Schema.String;
2811
+ }>;
2812
+ export type ListSpaceActivityQueryParams = typeof ListSpaceActivityQueryParamsSchema.Type;
2813
+ export declare const ListSpaceActivityResponseSchema: Schema.Struct<{
2814
+ readonly spaces: Schema.$Array<Schema.Struct<{
2815
+ readonly archived: Schema.Boolean;
2816
+ readonly latest_episode: Schema.NullOr<Schema.Struct<{
2817
+ readonly ended_at: Schema.NullOr<Schema.brand<Schema.String, "DateTimeString">>;
2818
+ readonly episode_id: Schema.brand<Schema.String, "EpisodeId">;
2819
+ readonly started_at: Schema.brand<Schema.String, "DateTimeString">;
2820
+ readonly status: Schema.String;
2821
+ }>>;
2822
+ readonly live_episode: Schema.NullOr<Schema.Struct<{
2823
+ readonly episode_id: Schema.brand<Schema.String, "EpisodeId">;
2824
+ readonly participant_count: Schema.Number;
2825
+ readonly participants: Schema.$Array<Schema.Struct<{
2826
+ readonly display_name: Schema.String;
2827
+ readonly participant_id: Schema.brand<Schema.String, "ParticipantId">;
2828
+ }>>;
2829
+ }>>;
2830
+ readonly recent_participants: Schema.$Array<Schema.Struct<{
2831
+ readonly display_name: Schema.String;
2832
+ readonly participant_id: Schema.brand<Schema.String, "ParticipantId">;
2833
+ }>>;
2834
+ readonly space_id: Schema.brand<Schema.String, "SpaceId">;
2835
+ }>>;
2836
+ }>;
2837
+ export type ListSpaceActivityResponse = typeof ListSpaceActivityResponseSchema.Type;
2838
+ export declare const ListSpaceActivity429ResponseHeadersSchema: Schema.Struct<{
2839
+ readonly "Retry-After": Schema.NumberFromString;
2840
+ readonly "X-RateLimit-Limit": Schema.NumberFromString;
2841
+ readonly "X-RateLimit-Remaining": Schema.NumberFromString;
2842
+ }>;
2843
+ export type ListSpaceActivity429ResponseHeaders = typeof ListSpaceActivity429ResponseHeadersSchema.Type;
2705
2844
  export declare const ListSpaceLiveEpisodesPathParamsSchema: Schema.Struct<{
2706
2845
  readonly tenant_id: Schema.brand<Schema.String, "TenantId">;
2707
2846
  }>;
@@ -2825,6 +2964,7 @@ export declare const ListTenantsResponseSchema: Schema.Struct<{
2825
2964
  }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>>;
2826
2965
  readonly name: Schema.String;
2827
2966
  readonly provider_policy_version: Schema.String;
2967
+ readonly recording_render_mode: Schema.Literals<readonly ["on_demand", "automatic"]>;
2828
2968
  readonly recording_retention_seconds: Schema.Number;
2829
2969
  readonly storage_provider_config: Schema.NullOr<Schema.StructWithRest<Schema.Struct<{
2830
2970
  readonly access_key_id: Schema.optional<Schema.String>;
@@ -3185,6 +3325,8 @@ export declare const RequestRecordingExportResponseSchema: Schema.Struct<{
3185
3325
  readonly tenant_id: Schema.brand<Schema.String, "TenantId">;
3186
3326
  readonly transcription_policy: Schema.String;
3187
3327
  readonly transcription_preparation: Schema.Struct<{
3328
+ readonly expires_at: Schema.optional<Schema.NullOr<Schema.brand<Schema.String, "DateTimeString">>>;
3329
+ readonly failure_code: Schema.optional<Schema.String>;
3188
3330
  readonly status: Schema.Literals<readonly ["none", "pending", "ready", "failed", "expired"]>;
3189
3331
  }>;
3190
3332
  readonly updated_at: Schema.brand<Schema.String, "DateTimeString">;
@@ -3379,6 +3521,25 @@ export declare const RotateWebhookEndpointSecret429ResponseHeadersSchema: Schema
3379
3521
  readonly "X-RateLimit-Remaining": Schema.NumberFromString;
3380
3522
  }>;
3381
3523
  export type RotateWebhookEndpointSecret429ResponseHeaders = typeof RotateWebhookEndpointSecret429ResponseHeadersSchema.Type;
3524
+ export declare const SendProblemReportPathParamsSchema: Schema.Struct<{
3525
+ readonly tenant_id: Schema.brand<Schema.String, "TenantId">;
3526
+ }>;
3527
+ export type SendProblemReportPathParams = typeof SendProblemReportPathParamsSchema.Type;
3528
+ export declare const SendProblemReportRequestBodySchema: Schema.Struct<{
3529
+ readonly description: Schema.String;
3530
+ readonly diagnostics: Schema.optional<Schema.String>;
3531
+ }>;
3532
+ export type SendProblemReportRequestBody = typeof SendProblemReportRequestBodySchema.Type;
3533
+ export declare const SendProblemReportResponseSchema: Schema.Struct<{
3534
+ readonly sent: Schema.Boolean;
3535
+ }>;
3536
+ export type SendProblemReportResponse = typeof SendProblemReportResponseSchema.Type;
3537
+ export declare const SendProblemReport429ResponseHeadersSchema: Schema.Struct<{
3538
+ readonly "Retry-After": Schema.NumberFromString;
3539
+ readonly "X-RateLimit-Limit": Schema.NumberFromString;
3540
+ readonly "X-RateLimit-Remaining": Schema.NumberFromString;
3541
+ }>;
3542
+ export type SendProblemReport429ResponseHeaders = typeof SendProblemReport429ResponseHeadersSchema.Type;
3382
3543
  export declare const SetEpisodeDeadlinePathParamsSchema: Schema.Struct<{
3383
3544
  readonly episode_id: Schema.brand<Schema.String, "EpisodeId">;
3384
3545
  readonly space_id: Schema.brand<Schema.String, "SpaceId">;
@@ -3559,6 +3720,7 @@ export declare const UpdateTenantRequestBodySchema: Schema.Struct<{
3559
3720
  }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>>>;
3560
3721
  readonly name: Schema.optional<Schema.String>;
3561
3722
  readonly provider_policy_version: Schema.optional<Schema.String>;
3723
+ readonly recording_render_mode: Schema.optional<Schema.Literals<readonly ["on_demand", "automatic"]>>;
3562
3724
  readonly recording_retention_seconds: Schema.optional<Schema.NullOr<Schema.Number>>;
3563
3725
  readonly storage_provider_config: Schema.optional<Schema.NullOr<Schema.StructWithRest<Schema.Struct<{
3564
3726
  readonly access_key_id: Schema.optional<Schema.String>;
@@ -3590,6 +3752,7 @@ export declare const UpdateTenantResponseSchema: Schema.Struct<{
3590
3752
  }>, readonly [Schema.$Record<Schema.String, Schema.Unknown>]>>;
3591
3753
  readonly name: Schema.String;
3592
3754
  readonly provider_policy_version: Schema.String;
3755
+ readonly recording_render_mode: Schema.Literals<readonly ["on_demand", "automatic"]>;
3593
3756
  readonly recording_retention_seconds: Schema.Number;
3594
3757
  readonly storage_provider_config: Schema.NullOr<Schema.StructWithRest<Schema.Struct<{
3595
3758
  readonly access_key_id: Schema.optional<Schema.String>;
@@ -4871,6 +5034,46 @@ export declare const RecordingPreparationPolicyDeniedErrorSchema: Schema.decodeT
4871
5034
  readonly message: Schema.String;
4872
5035
  }>;
4873
5036
  }>, never, never>;
5037
+ declare const ReportsDeliveryFailedError_base: Schema.Class<ReportsDeliveryFailedError, Schema.TaggedStruct<"ReportsDeliveryFailedError", {
5038
+ readonly error: Schema.Struct<{
5039
+ readonly code: Schema.Literal<"reports.delivery_failed">;
5040
+ readonly message: Schema.String;
5041
+ }>;
5042
+ }>, import("effect/Cause").YieldableError>;
5043
+ export declare class ReportsDeliveryFailedError extends ReportsDeliveryFailedError_base {
5044
+ }
5045
+ export declare const ReportsDeliveryFailedErrorWireSchema: Schema.Struct<{
5046
+ readonly error: Schema.Struct<{
5047
+ readonly code: Schema.Literal<"reports.delivery_failed">;
5048
+ readonly message: Schema.String;
5049
+ }>;
5050
+ }>;
5051
+ export declare const ReportsDeliveryFailedErrorSchema: Schema.decodeTo<typeof ReportsDeliveryFailedError, Schema.Struct<{
5052
+ readonly error: Schema.Struct<{
5053
+ readonly code: Schema.Literal<"reports.delivery_failed">;
5054
+ readonly message: Schema.String;
5055
+ }>;
5056
+ }>, never, never>;
5057
+ declare const ReportsUnavailableError_base: Schema.Class<ReportsUnavailableError, Schema.TaggedStruct<"ReportsUnavailableError", {
5058
+ readonly error: Schema.Struct<{
5059
+ readonly code: Schema.Literal<"reports.unavailable">;
5060
+ readonly message: Schema.String;
5061
+ }>;
5062
+ }>, import("effect/Cause").YieldableError>;
5063
+ export declare class ReportsUnavailableError extends ReportsUnavailableError_base {
5064
+ }
5065
+ export declare const ReportsUnavailableErrorWireSchema: Schema.Struct<{
5066
+ readonly error: Schema.Struct<{
5067
+ readonly code: Schema.Literal<"reports.unavailable">;
5068
+ readonly message: Schema.String;
5069
+ }>;
5070
+ }>;
5071
+ export declare const ReportsUnavailableErrorSchema: Schema.decodeTo<typeof ReportsUnavailableError, Schema.Struct<{
5072
+ readonly error: Schema.Struct<{
5073
+ readonly code: Schema.Literal<"reports.unavailable">;
5074
+ readonly message: Schema.String;
5075
+ }>;
5076
+ }>, never, never>;
4874
5077
  declare const RequestIdempotencyConflictError_base: Schema.Class<RequestIdempotencyConflictError, Schema.TaggedStruct<"RequestIdempotencyConflictError", {
4875
5078
  readonly error: Schema.Struct<{
4876
5079
  readonly code: Schema.Literal<"request.idempotency_conflict">;
@@ -6246,6 +6449,53 @@ export declare const ArriveBySpacePublicInviteErrorSchema: Schema.Union<readonly
6246
6449
  }>;
6247
6450
  }>, never, never>]>;
6248
6451
  export type ArriveBySpacePublicInviteError = typeof ArriveBySpacePublicInviteErrorSchema.Type;
6452
+ export declare const CancelEpisodeParticipantJoinErrorSchema: Schema.Union<readonly [Schema.decodeTo<typeof AccessForbiddenError, Schema.Struct<{
6453
+ readonly error: Schema.Struct<{
6454
+ readonly code: Schema.Literal<"access.forbidden">;
6455
+ readonly message: Schema.String;
6456
+ }>;
6457
+ }>, never, never>, Schema.decodeTo<typeof AccessUnauthenticatedError, Schema.Struct<{
6458
+ readonly error: Schema.Struct<{
6459
+ readonly code: Schema.Literal<"access.unauthenticated">;
6460
+ readonly message: Schema.String;
6461
+ }>;
6462
+ }>, never, never>, Schema.decodeTo<typeof EpisodeInvalidIdError, Schema.Struct<{
6463
+ readonly error: Schema.Struct<{
6464
+ readonly code: Schema.Literal<"episode.invalid_id">;
6465
+ readonly message: Schema.String;
6466
+ }>;
6467
+ }>, never, never>, Schema.decodeTo<typeof ParticipantInvalidIdError, Schema.Struct<{
6468
+ readonly error: Schema.Struct<{
6469
+ readonly code: Schema.Literal<"participant.invalid_id">;
6470
+ readonly message: Schema.String;
6471
+ }>;
6472
+ }>, never, never>, Schema.decodeTo<typeof RequestInvalidError, Schema.Struct<{
6473
+ readonly error: Schema.Struct<{
6474
+ readonly code: Schema.Literal<"request.invalid">;
6475
+ readonly message: Schema.String;
6476
+ }>;
6477
+ }>, never, never>, Schema.decodeTo<typeof RequestRateLimitedError, Schema.Struct<{
6478
+ readonly error: Schema.Struct<{
6479
+ readonly code: Schema.Literal<"request.rate_limited">;
6480
+ readonly message: Schema.String;
6481
+ }>;
6482
+ }>, never, never>, Schema.decodeTo<typeof ServiceInternalError, Schema.Struct<{
6483
+ readonly error: Schema.Struct<{
6484
+ readonly code: Schema.Literal<"service.internal_error">;
6485
+ readonly message: Schema.String;
6486
+ }>;
6487
+ }>, never, never>, Schema.decodeTo<typeof ServiceUnavailableError, Schema.Struct<{
6488
+ readonly error: Schema.Struct<{
6489
+ readonly code: Schema.Literal<"service.unavailable">;
6490
+ readonly message: Schema.String;
6491
+ }>;
6492
+ }>, never, never>, Schema.decodeTo<typeof SpaceInvalidIdError, Schema.Struct<{
6493
+ readonly error: Schema.Struct<{
6494
+ readonly code: Schema.Literal<"space.invalid_id">;
6495
+ readonly message: Schema.String;
6496
+ }>;
6497
+ }>, never, never>]>;
6498
+ export type CancelEpisodeParticipantJoinError = typeof CancelEpisodeParticipantJoinErrorSchema.Type;
6249
6499
  export declare const CancelSpaceRecordingPreparationErrorSchema: Schema.Union<readonly [Schema.decodeTo<typeof AccessForbiddenError, Schema.Struct<{
6250
6500
  readonly error: Schema.Struct<{
6251
6501
  readonly code: Schema.Literal<"access.forbidden">;
@@ -7571,6 +7821,13 @@ export declare const GetEpisodeErrorSchema: Schema.Union<readonly [Schema.decode
7571
7821
  }>;
7572
7822
  }>, never, never>]>;
7573
7823
  export type GetEpisodeError = typeof GetEpisodeErrorSchema.Type;
7824
+ export declare const GetProblemReportAvailabilityErrorSchema: Schema.decodeTo<typeof TenantInvalidIdError, Schema.Struct<{
7825
+ readonly error: Schema.Struct<{
7826
+ readonly code: Schema.Literal<"tenant.invalid_id">;
7827
+ readonly message: Schema.String;
7828
+ }>;
7829
+ }>, never, never>;
7830
+ export type GetProblemReportAvailabilityError = typeof GetProblemReportAvailabilityErrorSchema.Type;
7574
7831
  export declare const GetRecordingErrorSchema: Schema.Union<readonly [Schema.decodeTo<typeof AccessForbiddenError, Schema.Struct<{
7575
7832
  readonly error: Schema.Struct<{
7576
7833
  readonly code: Schema.Literal<"access.forbidden">;
@@ -8671,6 +8928,48 @@ export declare const ListRecordingsErrorSchema: Schema.Union<readonly [Schema.de
8671
8928
  }>;
8672
8929
  }>, never, never>]>;
8673
8930
  export type ListRecordingsError = typeof ListRecordingsErrorSchema.Type;
8931
+ export declare const ListSpaceActivityErrorSchema: Schema.Union<readonly [Schema.decodeTo<typeof AccessForbiddenError, Schema.Struct<{
8932
+ readonly error: Schema.Struct<{
8933
+ readonly code: Schema.Literal<"access.forbidden">;
8934
+ readonly message: Schema.String;
8935
+ }>;
8936
+ }>, never, never>, Schema.decodeTo<typeof AccessUnauthenticatedError, Schema.Struct<{
8937
+ readonly error: Schema.Struct<{
8938
+ readonly code: Schema.Literal<"access.unauthenticated">;
8939
+ readonly message: Schema.String;
8940
+ }>;
8941
+ }>, never, never>, Schema.decodeTo<typeof EpisodeInvalidSpaceIdsError, Schema.Struct<{
8942
+ readonly error: Schema.Struct<{
8943
+ readonly code: Schema.Literal<"episode.invalid_space_ids">;
8944
+ readonly message: Schema.String;
8945
+ }>;
8946
+ }>, never, never>, Schema.decodeTo<typeof RequestRateLimitedError, Schema.Struct<{
8947
+ readonly error: Schema.Struct<{
8948
+ readonly code: Schema.Literal<"request.rate_limited">;
8949
+ readonly message: Schema.String;
8950
+ }>;
8951
+ }>, never, never>, Schema.decodeTo<typeof ServiceInternalError, Schema.Struct<{
8952
+ readonly error: Schema.Struct<{
8953
+ readonly code: Schema.Literal<"service.internal_error">;
8954
+ readonly message: Schema.String;
8955
+ }>;
8956
+ }>, never, never>, Schema.decodeTo<typeof ServiceUnavailableError, Schema.Struct<{
8957
+ readonly error: Schema.Struct<{
8958
+ readonly code: Schema.Literal<"service.unavailable">;
8959
+ readonly message: Schema.String;
8960
+ }>;
8961
+ }>, never, never>, Schema.decodeTo<typeof SpaceNotFoundError, Schema.Struct<{
8962
+ readonly error: Schema.Struct<{
8963
+ readonly code: Schema.Literal<"space.not_found">;
8964
+ readonly message: Schema.String;
8965
+ }>;
8966
+ }>, never, never>, Schema.decodeTo<typeof TenantInvalidIdError, Schema.Struct<{
8967
+ readonly error: Schema.Struct<{
8968
+ readonly code: Schema.Literal<"tenant.invalid_id">;
8969
+ readonly message: Schema.String;
8970
+ }>;
8971
+ }>, never, never>]>;
8972
+ export type ListSpaceActivityError = typeof ListSpaceActivityErrorSchema.Type;
8674
8973
  export declare const ListSpaceLiveEpisodesErrorSchema: Schema.Union<readonly [Schema.decodeTo<typeof AccessForbiddenError, Schema.Struct<{
8675
8974
  readonly error: Schema.Struct<{
8676
8975
  readonly code: Schema.Literal<"access.forbidden">;
@@ -10033,6 +10332,58 @@ export declare const RotateWebhookEndpointSecretErrorSchema: Schema.Union<readon
10033
10332
  }>;
10034
10333
  }>, never, never>]>;
10035
10334
  export type RotateWebhookEndpointSecretError = typeof RotateWebhookEndpointSecretErrorSchema.Type;
10335
+ export declare const SendProblemReportErrorSchema: Schema.Union<readonly [Schema.decodeTo<typeof AccessForbiddenError, Schema.Struct<{
10336
+ readonly error: Schema.Struct<{
10337
+ readonly code: Schema.Literal<"access.forbidden">;
10338
+ readonly message: Schema.String;
10339
+ }>;
10340
+ }>, never, never>, Schema.decodeTo<typeof AccessUnauthenticatedError, Schema.Struct<{
10341
+ readonly error: Schema.Struct<{
10342
+ readonly code: Schema.Literal<"access.unauthenticated">;
10343
+ readonly message: Schema.String;
10344
+ }>;
10345
+ }>, never, never>, Schema.decodeTo<typeof ReportsDeliveryFailedError, Schema.Struct<{
10346
+ readonly error: Schema.Struct<{
10347
+ readonly code: Schema.Literal<"reports.delivery_failed">;
10348
+ readonly message: Schema.String;
10349
+ }>;
10350
+ }>, never, never>, Schema.decodeTo<typeof ReportsUnavailableError, Schema.Struct<{
10351
+ readonly error: Schema.Struct<{
10352
+ readonly code: Schema.Literal<"reports.unavailable">;
10353
+ readonly message: Schema.String;
10354
+ }>;
10355
+ }>, never, never>, Schema.decodeTo<typeof RequestInvalidError, Schema.Struct<{
10356
+ readonly error: Schema.Struct<{
10357
+ readonly code: Schema.Literal<"request.invalid">;
10358
+ readonly message: Schema.String;
10359
+ }>;
10360
+ }>, never, never>, Schema.decodeTo<typeof RequestPayloadTooLargeError, Schema.Struct<{
10361
+ readonly error: Schema.Struct<{
10362
+ readonly code: Schema.Literal<"request.payload_too_large">;
10363
+ readonly message: Schema.String;
10364
+ }>;
10365
+ }>, never, never>, Schema.decodeTo<typeof RequestRateLimitedError, Schema.Struct<{
10366
+ readonly error: Schema.Struct<{
10367
+ readonly code: Schema.Literal<"request.rate_limited">;
10368
+ readonly message: Schema.String;
10369
+ }>;
10370
+ }>, never, never>, Schema.decodeTo<typeof ServiceInternalError, Schema.Struct<{
10371
+ readonly error: Schema.Struct<{
10372
+ readonly code: Schema.Literal<"service.internal_error">;
10373
+ readonly message: Schema.String;
10374
+ }>;
10375
+ }>, never, never>, Schema.decodeTo<typeof ServiceUnavailableError, Schema.Struct<{
10376
+ readonly error: Schema.Struct<{
10377
+ readonly code: Schema.Literal<"service.unavailable">;
10378
+ readonly message: Schema.String;
10379
+ }>;
10380
+ }>, never, never>, Schema.decodeTo<typeof TenantInvalidIdError, Schema.Struct<{
10381
+ readonly error: Schema.Struct<{
10382
+ readonly code: Schema.Literal<"tenant.invalid_id">;
10383
+ readonly message: Schema.String;
10384
+ }>;
10385
+ }>, never, never>]>;
10386
+ export type SendProblemReportError = typeof SendProblemReportErrorSchema.Type;
10036
10387
  export declare const SetEpisodeDeadlineErrorSchema: Schema.Union<readonly [Schema.decodeTo<typeof AccessForbiddenError, Schema.Struct<{
10037
10388
  readonly error: Schema.Struct<{
10038
10389
  readonly code: Schema.Literal<"access.forbidden">;
@@ -10676,6 +11027,13 @@ export declare const ChalkOperationPolicies: {
10676
11027
  readonly windowSeconds: 60;
10677
11028
  };
10678
11029
  };
11030
+ readonly cancelEpisodeParticipantJoin: {
11031
+ readonly rateLimit: {
11032
+ readonly limit: 60;
11033
+ readonly policy: "v1.authenticated.write";
11034
+ readonly windowSeconds: 60;
11035
+ };
11036
+ };
10679
11037
  readonly cancelSpaceRecordingPreparation: {
10680
11038
  readonly maxBodyBytes: 1048576;
10681
11039
  readonly rateLimit: {
@@ -10892,6 +11250,13 @@ export declare const ChalkOperationPolicies: {
10892
11250
  readonly windowSeconds: 60;
10893
11251
  };
10894
11252
  };
11253
+ readonly listSpaceActivity: {
11254
+ readonly rateLimit: {
11255
+ readonly limit: 300;
11256
+ readonly policy: "v1.authenticated.read";
11257
+ readonly windowSeconds: 60;
11258
+ };
11259
+ };
10895
11260
  readonly listSpaceLiveEpisodes: {
10896
11261
  readonly rateLimit: {
10897
11262
  readonly limit: 300;
@@ -11034,6 +11399,14 @@ export declare const ChalkOperationPolicies: {
11034
11399
  readonly windowSeconds: 60;
11035
11400
  };
11036
11401
  };
11402
+ readonly sendProblemReport: {
11403
+ readonly maxBodyBytes: 37024;
11404
+ readonly rateLimit: {
11405
+ readonly limit: 3;
11406
+ readonly policy: "problem_reports.participant";
11407
+ readonly windowSeconds: 3600;
11408
+ };
11409
+ };
11037
11410
  readonly setEpisodeDeadline: {
11038
11411
  readonly maxBodyBytes: 1048576;
11039
11412
  readonly rateLimit: {