@q9labsai/chalk-client 5.2.6 → 5.3.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.
- package/README.md +1 -1
- package/dist/access/grant.d.ts +2 -0
- package/dist/{chunk-I7Y4HR2P.js → chunk-2CEMOTZF.js} +333 -64
- package/dist/{chunk-5YPQNMJE.js → chunk-FD7ZSDTM.js} +103 -26
- package/dist/{chunk-CJVLTSIO.js → chunk-MHJ4UPM3.js} +165 -6
- package/dist/chunk-N4IPKRS6.js +76 -0
- package/dist/{chunk-YIDKETOX.js → chunk-O5JB5XVX.js} +840 -38
- package/dist/{chunk-WFRTUBN6.js → chunk-VAJ6XNAA.js} +1 -1
- package/dist/client.d.ts +182 -1
- package/dist/connection/dependencies.d.ts +2 -1
- package/dist/effect.js +29 -4
- package/dist/generated/http-api.d.ts +180 -1
- package/dist/generated/schemas.d.ts +290 -1
- package/dist/generated/sync.d.ts +60 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +33 -15
- package/dist/media/call-stats.d.ts +27 -0
- package/dist/media/client.d.ts +2 -2
- package/dist/media/ice-servers.d.ts +3 -0
- package/dist/media/index.d.ts +2 -0
- package/dist/media/index.js +4 -1
- package/dist/media/plane.d.ts +4 -2
- package/dist/media/receive-stall.d.ts +52 -0
- package/dist/media/types.d.ts +21 -0
- package/dist/media/video-render-size.d.ts +7 -0
- package/dist/media/viewer-layer.d.ts +48 -0
- package/dist/public-invites/index.js +3 -2
- package/dist/server/index.cjs +19 -4
- package/dist/server/index.js +19 -4
- package/dist/server/types.d.cts +2 -0
- package/dist/server/types.d.ts +2 -0
- package/dist/session/index.d.ts +18 -0
- package/dist/space-client/same-identity.d.ts +6 -0
- package/dist/space-client/types.d.ts +6 -0
- package/dist/sync/index.js +2 -1
- package/dist/sync/v1-command-scheduler.d.ts +4 -0
- package/dist/sync/v1-types.d.ts +6 -0
- package/package.json +3 -1
|
@@ -89,6 +89,7 @@ export declare const AccessGrantSchema: Schema.Struct<{
|
|
|
89
89
|
export type AccessGrant = typeof AccessGrantSchema.Type;
|
|
90
90
|
export declare const AdmitEpisodeParticipantRequestSchema: Schema.Struct<{
|
|
91
91
|
readonly admission: Schema.optional<Schema.Literals<readonly ["policy", "direct"]>>;
|
|
92
|
+
readonly identity_external_id: Schema.optional<Schema.String>;
|
|
92
93
|
readonly identity_id: Schema.optional<Schema.brand<Schema.String, "UUID">>;
|
|
93
94
|
readonly metadata: Schema.optional<Schema.Unknown>;
|
|
94
95
|
readonly name: Schema.String;
|
|
@@ -98,6 +99,29 @@ export declare const AdmitEpisodeParticipantRequestSchema: Schema.Struct<{
|
|
|
98
99
|
export type AdmitEpisodeParticipantRequest = typeof AdmitEpisodeParticipantRequestSchema.Type;
|
|
99
100
|
export declare const AuditLogIdSchema: Schema.brand<Schema.String, "AuditLogId">;
|
|
100
101
|
export type AuditLogId = typeof AuditLogIdSchema.Type;
|
|
102
|
+
export declare const CallStatsRequestSchema: Schema.Struct<{
|
|
103
|
+
readonly samples: Schema.$Array<Schema.Struct<{
|
|
104
|
+
readonly connection_type: Schema.Literals<readonly ["udp", "tcp", "turn", "unknown"]>;
|
|
105
|
+
readonly elapsed_ms: Schema.Number;
|
|
106
|
+
readonly freeze_count: Schema.optional<Schema.NullOr<Schema.Number>>;
|
|
107
|
+
readonly freeze_ms: Schema.optional<Schema.NullOr<Schema.Number>>;
|
|
108
|
+
readonly local_candidate_type: Schema.optional<Schema.Literals<readonly ["host", "srflx", "prflx", "relay"]>>;
|
|
109
|
+
readonly recv_bitrate_kbps: Schema.optional<Schema.NullOr<Schema.Number>>;
|
|
110
|
+
readonly recv_height: Schema.optional<Schema.NullOr<Schema.Number>>;
|
|
111
|
+
readonly recv_jitter_ms: Schema.optional<Schema.NullOr<Schema.Number>>;
|
|
112
|
+
readonly recv_loss_pct: Schema.optional<Schema.NullOr<Schema.Number>>;
|
|
113
|
+
readonly relay_protocol: Schema.optional<Schema.Literals<readonly ["udp", "tcp", "tls"]>>;
|
|
114
|
+
readonly remote_candidate_type: Schema.optional<Schema.Literals<readonly ["host", "srflx", "prflx", "relay"]>>;
|
|
115
|
+
readonly rtt_ms: Schema.optional<Schema.NullOr<Schema.Number>>;
|
|
116
|
+
readonly send_bitrate_kbps: Schema.optional<Schema.NullOr<Schema.Number>>;
|
|
117
|
+
readonly send_jitter_ms: Schema.optional<Schema.NullOr<Schema.Number>>;
|
|
118
|
+
readonly send_layer: Schema.optional<Schema.Literals<readonly ["h", "m", "l"]>>;
|
|
119
|
+
readonly send_loss_pct: Schema.optional<Schema.NullOr<Schema.Number>>;
|
|
120
|
+
readonly window_ms: Schema.Number;
|
|
121
|
+
}>>;
|
|
122
|
+
readonly version: Schema.Literal<1>;
|
|
123
|
+
}>;
|
|
124
|
+
export type CallStatsRequest = typeof CallStatsRequestSchema.Type;
|
|
101
125
|
export declare const CancelRecordingPreparationRequestSchema: Schema.Struct<{
|
|
102
126
|
readonly expected_revision: Schema.Number;
|
|
103
127
|
}>;
|
|
@@ -139,6 +163,7 @@ export type CloudflareSFUCloseTracksAPIResponse = typeof CloudflareSFUCloseTrack
|
|
|
139
163
|
export declare const CloudflareSFUCloseTracksRequestSchema: Schema.Struct<{
|
|
140
164
|
readonly connection_id: Schema.String;
|
|
141
165
|
readonly force: Schema.Boolean;
|
|
166
|
+
readonly receive_only: Schema.optional<Schema.Boolean>;
|
|
142
167
|
readonly session_description: Schema.optional<Schema.NullOr<Schema.Struct<{
|
|
143
168
|
readonly sdp: Schema.String;
|
|
144
169
|
readonly type: Schema.String;
|
|
@@ -172,6 +197,32 @@ export declare const CloudflareSFURenegotiateResponseSchema: Schema.Struct<{
|
|
|
172
197
|
readonly accepted: Schema.Boolean;
|
|
173
198
|
}>;
|
|
174
199
|
export type CloudflareSFURenegotiateResponse = typeof CloudflareSFURenegotiateResponseSchema.Type;
|
|
200
|
+
export declare const CloudflareSFUUpdateTracksAPIResponseSchema: Schema.Struct<{
|
|
201
|
+
readonly requiresImmediateRenegotiation: Schema.optional<Schema.Boolean>;
|
|
202
|
+
readonly sessionDescription: Schema.optional<Schema.NullOr<Schema.Struct<{
|
|
203
|
+
readonly sdp: Schema.String;
|
|
204
|
+
readonly type: Schema.String;
|
|
205
|
+
}>>>;
|
|
206
|
+
readonly trackErrors: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
207
|
+
readonly code: Schema.String;
|
|
208
|
+
readonly connectionId: Schema.String;
|
|
209
|
+
readonly trackName: Schema.String;
|
|
210
|
+
}>>>;
|
|
211
|
+
readonly tracks: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
212
|
+
readonly location: Schema.String;
|
|
213
|
+
readonly mid: Schema.optional<Schema.String>;
|
|
214
|
+
readonly publication_id: Schema.optional<Schema.String>;
|
|
215
|
+
readonly sessionId: Schema.optional<Schema.String>;
|
|
216
|
+
readonly simulcast: Schema.optional<Schema.NullOr<Schema.Struct<{
|
|
217
|
+
readonly preferredRid: Schema.String;
|
|
218
|
+
readonly priorityOrdering: Schema.String;
|
|
219
|
+
readonly ridNotAvailable: Schema.String;
|
|
220
|
+
}>>>;
|
|
221
|
+
readonly source: Schema.optional<Schema.String>;
|
|
222
|
+
readonly trackName: Schema.String;
|
|
223
|
+
}>>>;
|
|
224
|
+
}>;
|
|
225
|
+
export type CloudflareSFUUpdateTracksAPIResponse = typeof CloudflareSFUUpdateTracksAPIResponseSchema.Type;
|
|
175
226
|
export declare const CloudflareSFUTracksAPIResponseSchema: Schema.Struct<{
|
|
176
227
|
readonly requiresImmediateRenegotiation: Schema.optional<Schema.Boolean>;
|
|
177
228
|
readonly sessionDescription: Schema.optional<Schema.NullOr<Schema.Struct<{
|
|
@@ -219,6 +270,23 @@ export declare const CloudflareSFUTracksRequestSchema: Schema.Struct<{
|
|
|
219
270
|
}>>;
|
|
220
271
|
}>;
|
|
221
272
|
export type CloudflareSFUTracksRequest = typeof CloudflareSFUTracksRequestSchema.Type;
|
|
273
|
+
export declare const CloudflareSFUUpdateTracksRequestSchema: Schema.Struct<{
|
|
274
|
+
readonly connection_id: Schema.String;
|
|
275
|
+
readonly tracks: Schema.$Array<Schema.Struct<{
|
|
276
|
+
readonly location: Schema.String;
|
|
277
|
+
readonly mid: Schema.optional<Schema.String>;
|
|
278
|
+
readonly publication_id: Schema.optional<Schema.String>;
|
|
279
|
+
readonly sessionId: Schema.optional<Schema.String>;
|
|
280
|
+
readonly simulcast: Schema.optional<Schema.NullOr<Schema.Struct<{
|
|
281
|
+
readonly preferredRid: Schema.String;
|
|
282
|
+
readonly priorityOrdering: Schema.String;
|
|
283
|
+
readonly ridNotAvailable: Schema.String;
|
|
284
|
+
}>>>;
|
|
285
|
+
readonly source: Schema.optional<Schema.String>;
|
|
286
|
+
readonly trackName: Schema.String;
|
|
287
|
+
}>>;
|
|
288
|
+
}>;
|
|
289
|
+
export type CloudflareSFUUpdateTracksRequest = typeof CloudflareSFUUpdateTracksRequestSchema.Type;
|
|
222
290
|
export declare const ConnectionReportRequestSchema: Schema.Struct<{
|
|
223
291
|
readonly events: Schema.$Array<Schema.Struct<{
|
|
224
292
|
readonly attempt: Schema.optional<Schema.NullOr<Schema.Number>>;
|
|
@@ -1358,7 +1426,7 @@ export declare const AddCloudflareSFUTracksPathParamsSchema: Schema.Struct<{
|
|
|
1358
1426
|
export type AddCloudflareSFUTracksPathParams = typeof AddCloudflareSFUTracksPathParamsSchema.Type;
|
|
1359
1427
|
export declare const AddCloudflareSFUTracksQueryParamsSchema: Schema.Struct<{
|
|
1360
1428
|
readonly allow_partial_remote_tracks: Schema.optional<Schema.Boolean>;
|
|
1361
|
-
readonly replacement_cause: Schema.optional<Schema.Literals<readonly ["user_pause", "moderation_pause", "sync_recovery_loss", "discovery_absent", "capture_cleanup", "consent_revoked", "publish_failure", "enable_failure", "projection_mismatch", "forced_pause", "local_signaling_failure", "remote_signaling_failure", "dormant_connection", "access_refresh"]>>;
|
|
1429
|
+
readonly replacement_cause: Schema.optional<Schema.Literals<readonly ["user_pause", "moderation_pause", "sync_recovery_loss", "discovery_absent", "capture_cleanup", "consent_revoked", "publish_failure", "enable_failure", "projection_mismatch", "forced_pause", "local_signaling_failure", "remote_signaling_failure", "dormant_connection", "access_refresh", "receive_stalled"]>>;
|
|
1362
1430
|
}>;
|
|
1363
1431
|
export type AddCloudflareSFUTracksQueryParams = typeof AddCloudflareSFUTracksQueryParamsSchema.Type;
|
|
1364
1432
|
export declare const AddCloudflareSFUTracksRequestBodySchema: Schema.Struct<{
|
|
@@ -1426,6 +1494,7 @@ export declare const AdmitEpisodeParticipantRequestHeadersSchema: Schema.Struct<
|
|
|
1426
1494
|
export type AdmitEpisodeParticipantRequestHeaders = typeof AdmitEpisodeParticipantRequestHeadersSchema.Type;
|
|
1427
1495
|
export declare const AdmitEpisodeParticipantRequestBodySchema: Schema.Struct<{
|
|
1428
1496
|
readonly admission: Schema.optional<Schema.Literals<readonly ["policy", "direct"]>>;
|
|
1497
|
+
readonly identity_external_id: Schema.optional<Schema.String>;
|
|
1429
1498
|
readonly identity_id: Schema.optional<Schema.brand<Schema.String, "UUID">>;
|
|
1430
1499
|
readonly metadata: Schema.optional<Schema.Unknown>;
|
|
1431
1500
|
readonly name: Schema.String;
|
|
@@ -1660,6 +1729,7 @@ export type CloseCloudflareSFUTracksPathParams = typeof CloseCloudflareSFUTracks
|
|
|
1660
1729
|
export declare const CloseCloudflareSFUTracksRequestBodySchema: Schema.Struct<{
|
|
1661
1730
|
readonly connection_id: Schema.String;
|
|
1662
1731
|
readonly force: Schema.Boolean;
|
|
1732
|
+
readonly receive_only: Schema.optional<Schema.Boolean>;
|
|
1663
1733
|
readonly session_description: Schema.optional<Schema.NullOr<Schema.Struct<{
|
|
1664
1734
|
readonly sdp: Schema.String;
|
|
1665
1735
|
readonly type: Schema.String;
|
|
@@ -3684,6 +3754,62 @@ export declare const TestWebhookEndpoint429ResponseHeadersSchema: Schema.Struct<
|
|
|
3684
3754
|
readonly "X-RateLimit-Remaining": Schema.NumberFromString;
|
|
3685
3755
|
}>;
|
|
3686
3756
|
export type TestWebhookEndpoint429ResponseHeaders = typeof TestWebhookEndpoint429ResponseHeadersSchema.Type;
|
|
3757
|
+
export declare const UpdateCloudflareSFUTracksPathParamsSchema: Schema.Struct<{
|
|
3758
|
+
readonly episode_id: Schema.brand<Schema.String, "EpisodeId">;
|
|
3759
|
+
readonly participant_id: Schema.brand<Schema.String, "ParticipantId">;
|
|
3760
|
+
readonly space_id: Schema.brand<Schema.String, "SpaceId">;
|
|
3761
|
+
readonly tenant_id: Schema.brand<Schema.String, "TenantId">;
|
|
3762
|
+
}>;
|
|
3763
|
+
export type UpdateCloudflareSFUTracksPathParams = typeof UpdateCloudflareSFUTracksPathParamsSchema.Type;
|
|
3764
|
+
export declare const UpdateCloudflareSFUTracksRequestBodySchema: Schema.Struct<{
|
|
3765
|
+
readonly connection_id: Schema.String;
|
|
3766
|
+
readonly tracks: Schema.$Array<Schema.Struct<{
|
|
3767
|
+
readonly location: Schema.String;
|
|
3768
|
+
readonly mid: Schema.optional<Schema.String>;
|
|
3769
|
+
readonly publication_id: Schema.optional<Schema.String>;
|
|
3770
|
+
readonly sessionId: Schema.optional<Schema.String>;
|
|
3771
|
+
readonly simulcast: Schema.optional<Schema.NullOr<Schema.Struct<{
|
|
3772
|
+
readonly preferredRid: Schema.String;
|
|
3773
|
+
readonly priorityOrdering: Schema.String;
|
|
3774
|
+
readonly ridNotAvailable: Schema.String;
|
|
3775
|
+
}>>>;
|
|
3776
|
+
readonly source: Schema.optional<Schema.String>;
|
|
3777
|
+
readonly trackName: Schema.String;
|
|
3778
|
+
}>>;
|
|
3779
|
+
}>;
|
|
3780
|
+
export type UpdateCloudflareSFUTracksRequestBody = typeof UpdateCloudflareSFUTracksRequestBodySchema.Type;
|
|
3781
|
+
export declare const UpdateCloudflareSFUTracksResponseSchema: Schema.Struct<{
|
|
3782
|
+
readonly requiresImmediateRenegotiation: Schema.optional<Schema.Boolean>;
|
|
3783
|
+
readonly sessionDescription: Schema.optional<Schema.NullOr<Schema.Struct<{
|
|
3784
|
+
readonly sdp: Schema.String;
|
|
3785
|
+
readonly type: Schema.String;
|
|
3786
|
+
}>>>;
|
|
3787
|
+
readonly trackErrors: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
3788
|
+
readonly code: Schema.String;
|
|
3789
|
+
readonly connectionId: Schema.String;
|
|
3790
|
+
readonly trackName: Schema.String;
|
|
3791
|
+
}>>>;
|
|
3792
|
+
readonly tracks: Schema.optional<Schema.$Array<Schema.Struct<{
|
|
3793
|
+
readonly location: Schema.String;
|
|
3794
|
+
readonly mid: Schema.optional<Schema.String>;
|
|
3795
|
+
readonly publication_id: Schema.optional<Schema.String>;
|
|
3796
|
+
readonly sessionId: Schema.optional<Schema.String>;
|
|
3797
|
+
readonly simulcast: Schema.optional<Schema.NullOr<Schema.Struct<{
|
|
3798
|
+
readonly preferredRid: Schema.String;
|
|
3799
|
+
readonly priorityOrdering: Schema.String;
|
|
3800
|
+
readonly ridNotAvailable: Schema.String;
|
|
3801
|
+
}>>>;
|
|
3802
|
+
readonly source: Schema.optional<Schema.String>;
|
|
3803
|
+
readonly trackName: Schema.String;
|
|
3804
|
+
}>>>;
|
|
3805
|
+
}>;
|
|
3806
|
+
export type UpdateCloudflareSFUTracksResponse = typeof UpdateCloudflareSFUTracksResponseSchema.Type;
|
|
3807
|
+
export declare const UpdateCloudflareSFUTracks429ResponseHeadersSchema: Schema.Struct<{
|
|
3808
|
+
readonly "Retry-After": Schema.NumberFromString;
|
|
3809
|
+
readonly "X-RateLimit-Limit": Schema.NumberFromString;
|
|
3810
|
+
readonly "X-RateLimit-Remaining": Schema.NumberFromString;
|
|
3811
|
+
}>;
|
|
3812
|
+
export type UpdateCloudflareSFUTracks429ResponseHeaders = typeof UpdateCloudflareSFUTracks429ResponseHeadersSchema.Type;
|
|
3687
3813
|
export declare const UpdateMembershipPathParamsSchema: Schema.Struct<{
|
|
3688
3814
|
readonly membership_id: Schema.brand<Schema.String, "MembershipId">;
|
|
3689
3815
|
readonly tenant_id: Schema.brand<Schema.String, "TenantId">;
|
|
@@ -3900,6 +4026,39 @@ export declare const UpdateWebhookEndpoint429ResponseHeadersSchema: Schema.Struc
|
|
|
3900
4026
|
readonly "X-RateLimit-Remaining": Schema.NumberFromString;
|
|
3901
4027
|
}>;
|
|
3902
4028
|
export type UpdateWebhookEndpoint429ResponseHeaders = typeof UpdateWebhookEndpoint429ResponseHeadersSchema.Type;
|
|
4029
|
+
export declare const UploadCallStatsPathParamsSchema: Schema.Struct<{
|
|
4030
|
+
readonly tenant_id: Schema.brand<Schema.String, "TenantId">;
|
|
4031
|
+
}>;
|
|
4032
|
+
export type UploadCallStatsPathParams = typeof UploadCallStatsPathParamsSchema.Type;
|
|
4033
|
+
export declare const UploadCallStatsRequestBodySchema: Schema.Struct<{
|
|
4034
|
+
readonly samples: Schema.$Array<Schema.Struct<{
|
|
4035
|
+
readonly connection_type: Schema.Literals<readonly ["udp", "tcp", "turn", "unknown"]>;
|
|
4036
|
+
readonly elapsed_ms: Schema.Number;
|
|
4037
|
+
readonly freeze_count: Schema.optional<Schema.NullOr<Schema.Number>>;
|
|
4038
|
+
readonly freeze_ms: Schema.optional<Schema.NullOr<Schema.Number>>;
|
|
4039
|
+
readonly local_candidate_type: Schema.optional<Schema.Literals<readonly ["host", "srflx", "prflx", "relay"]>>;
|
|
4040
|
+
readonly recv_bitrate_kbps: Schema.optional<Schema.NullOr<Schema.Number>>;
|
|
4041
|
+
readonly recv_height: Schema.optional<Schema.NullOr<Schema.Number>>;
|
|
4042
|
+
readonly recv_jitter_ms: Schema.optional<Schema.NullOr<Schema.Number>>;
|
|
4043
|
+
readonly recv_loss_pct: Schema.optional<Schema.NullOr<Schema.Number>>;
|
|
4044
|
+
readonly relay_protocol: Schema.optional<Schema.Literals<readonly ["udp", "tcp", "tls"]>>;
|
|
4045
|
+
readonly remote_candidate_type: Schema.optional<Schema.Literals<readonly ["host", "srflx", "prflx", "relay"]>>;
|
|
4046
|
+
readonly rtt_ms: Schema.optional<Schema.NullOr<Schema.Number>>;
|
|
4047
|
+
readonly send_bitrate_kbps: Schema.optional<Schema.NullOr<Schema.Number>>;
|
|
4048
|
+
readonly send_jitter_ms: Schema.optional<Schema.NullOr<Schema.Number>>;
|
|
4049
|
+
readonly send_layer: Schema.optional<Schema.Literals<readonly ["h", "m", "l"]>>;
|
|
4050
|
+
readonly send_loss_pct: Schema.optional<Schema.NullOr<Schema.Number>>;
|
|
4051
|
+
readonly window_ms: Schema.Number;
|
|
4052
|
+
}>>;
|
|
4053
|
+
readonly version: Schema.Literal<1>;
|
|
4054
|
+
}>;
|
|
4055
|
+
export type UploadCallStatsRequestBody = typeof UploadCallStatsRequestBodySchema.Type;
|
|
4056
|
+
export declare const UploadCallStats429ResponseHeadersSchema: Schema.Struct<{
|
|
4057
|
+
readonly "Retry-After": Schema.NumberFromString;
|
|
4058
|
+
readonly "X-RateLimit-Limit": Schema.NumberFromString;
|
|
4059
|
+
readonly "X-RateLimit-Remaining": Schema.NumberFromString;
|
|
4060
|
+
}>;
|
|
4061
|
+
export type UploadCallStats429ResponseHeaders = typeof UploadCallStats429ResponseHeadersSchema.Type;
|
|
3903
4062
|
declare const AccessForbiddenError_base: Schema.Class<AccessForbiddenError, Schema.TaggedStruct<"AccessForbiddenError", {
|
|
3904
4063
|
readonly error: Schema.Struct<{
|
|
3905
4064
|
readonly code: Schema.Literal<"access.forbidden">;
|
|
@@ -10793,6 +10952,78 @@ export declare const TestWebhookEndpointErrorSchema: Schema.Union<readonly [Sche
|
|
|
10793
10952
|
}>;
|
|
10794
10953
|
}>, never, never>]>;
|
|
10795
10954
|
export type TestWebhookEndpointError = typeof TestWebhookEndpointErrorSchema.Type;
|
|
10955
|
+
export declare const UpdateCloudflareSFUTracksErrorSchema: Schema.Union<readonly [Schema.decodeTo<typeof AccessForbiddenError, Schema.Struct<{
|
|
10956
|
+
readonly error: Schema.Struct<{
|
|
10957
|
+
readonly code: Schema.Literal<"access.forbidden">;
|
|
10958
|
+
readonly message: Schema.String;
|
|
10959
|
+
}>;
|
|
10960
|
+
}>, never, never>, Schema.decodeTo<typeof AccessUnauthenticatedError, Schema.Struct<{
|
|
10961
|
+
readonly error: Schema.Struct<{
|
|
10962
|
+
readonly code: Schema.Literal<"access.unauthenticated">;
|
|
10963
|
+
readonly message: Schema.String;
|
|
10964
|
+
}>;
|
|
10965
|
+
}>, never, never>, Schema.decodeTo<typeof EpisodeInvalidIdError, Schema.Struct<{
|
|
10966
|
+
readonly error: Schema.Struct<{
|
|
10967
|
+
readonly code: Schema.Literal<"episode.invalid_id">;
|
|
10968
|
+
readonly message: Schema.String;
|
|
10969
|
+
}>;
|
|
10970
|
+
}>, never, never>, Schema.decodeTo<typeof EpisodeNotFoundError, Schema.Struct<{
|
|
10971
|
+
readonly error: Schema.Struct<{
|
|
10972
|
+
readonly code: Schema.Literal<"episode.not_found">;
|
|
10973
|
+
readonly message: Schema.String;
|
|
10974
|
+
}>;
|
|
10975
|
+
}>, never, never>, Schema.decodeTo<typeof MediaConnectionNotFoundError, Schema.Struct<{
|
|
10976
|
+
readonly error: Schema.Struct<{
|
|
10977
|
+
readonly code: Schema.Literal<"media.connection_not_found">;
|
|
10978
|
+
readonly message: Schema.String;
|
|
10979
|
+
}>;
|
|
10980
|
+
}>, never, never>, Schema.decodeTo<typeof MediaUnavailableError, Schema.Struct<{
|
|
10981
|
+
readonly error: Schema.Struct<{
|
|
10982
|
+
readonly code: Schema.Literal<"media.unavailable">;
|
|
10983
|
+
readonly message: Schema.String;
|
|
10984
|
+
}>;
|
|
10985
|
+
}>, never, never>, Schema.decodeTo<typeof ParticipantInvalidIdError, Schema.Struct<{
|
|
10986
|
+
readonly error: Schema.Struct<{
|
|
10987
|
+
readonly code: Schema.Literal<"participant.invalid_id">;
|
|
10988
|
+
readonly message: Schema.String;
|
|
10989
|
+
}>;
|
|
10990
|
+
}>, never, never>, Schema.decodeTo<typeof RequestInvalidError, Schema.Struct<{
|
|
10991
|
+
readonly error: Schema.Struct<{
|
|
10992
|
+
readonly code: Schema.Literal<"request.invalid">;
|
|
10993
|
+
readonly message: Schema.String;
|
|
10994
|
+
}>;
|
|
10995
|
+
}>, never, never>, Schema.decodeTo<typeof RequestPayloadTooLargeError, Schema.Struct<{
|
|
10996
|
+
readonly error: Schema.Struct<{
|
|
10997
|
+
readonly code: Schema.Literal<"request.payload_too_large">;
|
|
10998
|
+
readonly message: Schema.String;
|
|
10999
|
+
}>;
|
|
11000
|
+
}>, never, never>, Schema.decodeTo<typeof RequestRateLimitedError, Schema.Struct<{
|
|
11001
|
+
readonly error: Schema.Struct<{
|
|
11002
|
+
readonly code: Schema.Literal<"request.rate_limited">;
|
|
11003
|
+
readonly message: Schema.String;
|
|
11004
|
+
}>;
|
|
11005
|
+
}>, never, never>, Schema.decodeTo<typeof ServiceInternalError, Schema.Struct<{
|
|
11006
|
+
readonly error: Schema.Struct<{
|
|
11007
|
+
readonly code: Schema.Literal<"service.internal_error">;
|
|
11008
|
+
readonly message: Schema.String;
|
|
11009
|
+
}>;
|
|
11010
|
+
}>, never, never>, Schema.decodeTo<typeof ServiceUnavailableError, Schema.Struct<{
|
|
11011
|
+
readonly error: Schema.Struct<{
|
|
11012
|
+
readonly code: Schema.Literal<"service.unavailable">;
|
|
11013
|
+
readonly message: Schema.String;
|
|
11014
|
+
}>;
|
|
11015
|
+
}>, never, never>, Schema.decodeTo<typeof SpaceInvalidIdError, Schema.Struct<{
|
|
11016
|
+
readonly error: Schema.Struct<{
|
|
11017
|
+
readonly code: Schema.Literal<"space.invalid_id">;
|
|
11018
|
+
readonly message: Schema.String;
|
|
11019
|
+
}>;
|
|
11020
|
+
}>, never, never>, Schema.decodeTo<typeof TenantInvalidIdError, Schema.Struct<{
|
|
11021
|
+
readonly error: Schema.Struct<{
|
|
11022
|
+
readonly code: Schema.Literal<"tenant.invalid_id">;
|
|
11023
|
+
readonly message: Schema.String;
|
|
11024
|
+
}>;
|
|
11025
|
+
}>, never, never>]>;
|
|
11026
|
+
export type UpdateCloudflareSFUTracksError = typeof UpdateCloudflareSFUTracksErrorSchema.Type;
|
|
10796
11027
|
export declare const UpdateMembershipErrorSchema: Schema.Union<readonly [Schema.decodeTo<typeof AccessForbiddenError, Schema.Struct<{
|
|
10797
11028
|
readonly error: Schema.Struct<{
|
|
10798
11029
|
readonly code: Schema.Literal<"access.forbidden">;
|
|
@@ -11193,6 +11424,48 @@ export declare const UpdateWebhookEndpointErrorSchema: Schema.Union<readonly [Sc
|
|
|
11193
11424
|
}>;
|
|
11194
11425
|
}>, never, never>]>;
|
|
11195
11426
|
export type UpdateWebhookEndpointError = typeof UpdateWebhookEndpointErrorSchema.Type;
|
|
11427
|
+
export declare const UploadCallStatsErrorSchema: Schema.Union<readonly [Schema.decodeTo<typeof AccessForbiddenError, Schema.Struct<{
|
|
11428
|
+
readonly error: Schema.Struct<{
|
|
11429
|
+
readonly code: Schema.Literal<"access.forbidden">;
|
|
11430
|
+
readonly message: Schema.String;
|
|
11431
|
+
}>;
|
|
11432
|
+
}>, never, never>, Schema.decodeTo<typeof AccessUnauthenticatedError, Schema.Struct<{
|
|
11433
|
+
readonly error: Schema.Struct<{
|
|
11434
|
+
readonly code: Schema.Literal<"access.unauthenticated">;
|
|
11435
|
+
readonly message: Schema.String;
|
|
11436
|
+
}>;
|
|
11437
|
+
}>, never, never>, Schema.decodeTo<typeof RequestInvalidError, Schema.Struct<{
|
|
11438
|
+
readonly error: Schema.Struct<{
|
|
11439
|
+
readonly code: Schema.Literal<"request.invalid">;
|
|
11440
|
+
readonly message: Schema.String;
|
|
11441
|
+
}>;
|
|
11442
|
+
}>, never, never>, Schema.decodeTo<typeof RequestPayloadTooLargeError, Schema.Struct<{
|
|
11443
|
+
readonly error: Schema.Struct<{
|
|
11444
|
+
readonly code: Schema.Literal<"request.payload_too_large">;
|
|
11445
|
+
readonly message: Schema.String;
|
|
11446
|
+
}>;
|
|
11447
|
+
}>, never, never>, Schema.decodeTo<typeof RequestRateLimitedError, Schema.Struct<{
|
|
11448
|
+
readonly error: Schema.Struct<{
|
|
11449
|
+
readonly code: Schema.Literal<"request.rate_limited">;
|
|
11450
|
+
readonly message: Schema.String;
|
|
11451
|
+
}>;
|
|
11452
|
+
}>, never, never>, Schema.decodeTo<typeof ServiceInternalError, Schema.Struct<{
|
|
11453
|
+
readonly error: Schema.Struct<{
|
|
11454
|
+
readonly code: Schema.Literal<"service.internal_error">;
|
|
11455
|
+
readonly message: Schema.String;
|
|
11456
|
+
}>;
|
|
11457
|
+
}>, never, never>, Schema.decodeTo<typeof ServiceUnavailableError, Schema.Struct<{
|
|
11458
|
+
readonly error: Schema.Struct<{
|
|
11459
|
+
readonly code: Schema.Literal<"service.unavailable">;
|
|
11460
|
+
readonly message: Schema.String;
|
|
11461
|
+
}>;
|
|
11462
|
+
}>, never, never>, Schema.decodeTo<typeof TenantInvalidIdError, Schema.Struct<{
|
|
11463
|
+
readonly error: Schema.Struct<{
|
|
11464
|
+
readonly code: Schema.Literal<"tenant.invalid_id">;
|
|
11465
|
+
readonly message: Schema.String;
|
|
11466
|
+
}>;
|
|
11467
|
+
}>, never, never>]>;
|
|
11468
|
+
export type UploadCallStatsError = typeof UploadCallStatsErrorSchema.Type;
|
|
11196
11469
|
export declare const ChalkOperationPolicies: {
|
|
11197
11470
|
readonly addCloudflareSFUTracks: {
|
|
11198
11471
|
readonly maxBodyBytes: 1048576;
|
|
@@ -11642,6 +11915,14 @@ export declare const ChalkOperationPolicies: {
|
|
|
11642
11915
|
readonly windowSeconds: 60;
|
|
11643
11916
|
};
|
|
11644
11917
|
};
|
|
11918
|
+
readonly updateCloudflareSFUTracks: {
|
|
11919
|
+
readonly maxBodyBytes: 1048576;
|
|
11920
|
+
readonly rateLimit: {
|
|
11921
|
+
readonly limit: 60;
|
|
11922
|
+
readonly policy: "v1.authenticated.write";
|
|
11923
|
+
readonly windowSeconds: 60;
|
|
11924
|
+
};
|
|
11925
|
+
};
|
|
11645
11926
|
readonly updateMembership: {
|
|
11646
11927
|
readonly maxBodyBytes: 1048576;
|
|
11647
11928
|
readonly rateLimit: {
|
|
@@ -11682,6 +11963,14 @@ export declare const ChalkOperationPolicies: {
|
|
|
11682
11963
|
readonly windowSeconds: 60;
|
|
11683
11964
|
};
|
|
11684
11965
|
};
|
|
11966
|
+
readonly uploadCallStats: {
|
|
11967
|
+
readonly maxBodyBytes: 32768;
|
|
11968
|
+
readonly rateLimit: {
|
|
11969
|
+
readonly limit: 30;
|
|
11970
|
+
readonly policy: "call_stats.participant";
|
|
11971
|
+
readonly windowSeconds: 600;
|
|
11972
|
+
};
|
|
11973
|
+
};
|
|
11685
11974
|
};
|
|
11686
11975
|
export type ChalkOperationPolicy = (typeof ChalkOperationPolicies)[keyof typeof ChalkOperationPolicies];
|
|
11687
11976
|
export {};
|