@q9labsai/chalk-client 5.3.0 → 5.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/access/grant.d.ts +2 -0
- package/dist/{chunk-GOSWSXTH.js → chunk-MHJ4UPM3.js} +162 -5
- package/dist/chunk-N4IPKRS6.js +76 -0
- package/dist/{chunk-DHUHTIU7.js → chunk-TA2BJXI7.js} +243 -45
- package/dist/{chunk-3TGVTP6Z.js → chunk-UVWRTXNO.js} +894 -72
- package/dist/{chunk-O26BHHMI.js → chunk-VAJ6XNAA.js} +1 -1
- package/dist/{chunk-XSB2GDRW.js → chunk-XF567GPH.js} +198 -26
- package/dist/client.d.ts +180 -0
- package/dist/connection/dependencies.d.ts +5 -0
- package/dist/connection/production.d.ts +1 -1
- package/dist/effect.js +29 -4
- package/dist/generated/http-api.d.ts +178 -0
- package/dist/generated/schemas.d.ts +287 -0
- package/dist/generated/sync.d.ts +53 -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 +1 -0
- 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 +1 -0
- package/dist/media/receive-stall.d.ts +11 -2
- package/dist/media/types.d.ts +19 -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 +18 -4
- package/dist/server/index.js +18 -4
- package/dist/session/index.d.ts +18 -0
- package/dist/sync/index.js +2 -1
- package/dist/sync/link-watch.d.ts +67 -0
- package/dist/sync/v1-client.d.ts +5 -0
- package/dist/sync/v1-command-scheduler.d.ts +4 -0
- package/dist/sync/v1-types.d.ts +12 -1
- package/package.json +2 -1
|
@@ -99,6 +99,29 @@ export declare const AdmitEpisodeParticipantRequestSchema: Schema.Struct<{
|
|
|
99
99
|
export type AdmitEpisodeParticipantRequest = typeof AdmitEpisodeParticipantRequestSchema.Type;
|
|
100
100
|
export declare const AuditLogIdSchema: Schema.brand<Schema.String, "AuditLogId">;
|
|
101
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;
|
|
102
125
|
export declare const CancelRecordingPreparationRequestSchema: Schema.Struct<{
|
|
103
126
|
readonly expected_revision: Schema.Number;
|
|
104
127
|
}>;
|
|
@@ -140,6 +163,7 @@ export type CloudflareSFUCloseTracksAPIResponse = typeof CloudflareSFUCloseTrack
|
|
|
140
163
|
export declare const CloudflareSFUCloseTracksRequestSchema: Schema.Struct<{
|
|
141
164
|
readonly connection_id: Schema.String;
|
|
142
165
|
readonly force: Schema.Boolean;
|
|
166
|
+
readonly receive_only: Schema.optional<Schema.Boolean>;
|
|
143
167
|
readonly session_description: Schema.optional<Schema.NullOr<Schema.Struct<{
|
|
144
168
|
readonly sdp: Schema.String;
|
|
145
169
|
readonly type: Schema.String;
|
|
@@ -173,6 +197,32 @@ export declare const CloudflareSFURenegotiateResponseSchema: Schema.Struct<{
|
|
|
173
197
|
readonly accepted: Schema.Boolean;
|
|
174
198
|
}>;
|
|
175
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;
|
|
176
226
|
export declare const CloudflareSFUTracksAPIResponseSchema: Schema.Struct<{
|
|
177
227
|
readonly requiresImmediateRenegotiation: Schema.optional<Schema.Boolean>;
|
|
178
228
|
readonly sessionDescription: Schema.optional<Schema.NullOr<Schema.Struct<{
|
|
@@ -220,6 +270,23 @@ export declare const CloudflareSFUTracksRequestSchema: Schema.Struct<{
|
|
|
220
270
|
}>>;
|
|
221
271
|
}>;
|
|
222
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;
|
|
223
290
|
export declare const ConnectionReportRequestSchema: Schema.Struct<{
|
|
224
291
|
readonly events: Schema.$Array<Schema.Struct<{
|
|
225
292
|
readonly attempt: Schema.optional<Schema.NullOr<Schema.Number>>;
|
|
@@ -1662,6 +1729,7 @@ export type CloseCloudflareSFUTracksPathParams = typeof CloseCloudflareSFUTracks
|
|
|
1662
1729
|
export declare const CloseCloudflareSFUTracksRequestBodySchema: Schema.Struct<{
|
|
1663
1730
|
readonly connection_id: Schema.String;
|
|
1664
1731
|
readonly force: Schema.Boolean;
|
|
1732
|
+
readonly receive_only: Schema.optional<Schema.Boolean>;
|
|
1665
1733
|
readonly session_description: Schema.optional<Schema.NullOr<Schema.Struct<{
|
|
1666
1734
|
readonly sdp: Schema.String;
|
|
1667
1735
|
readonly type: Schema.String;
|
|
@@ -3686,6 +3754,62 @@ export declare const TestWebhookEndpoint429ResponseHeadersSchema: Schema.Struct<
|
|
|
3686
3754
|
readonly "X-RateLimit-Remaining": Schema.NumberFromString;
|
|
3687
3755
|
}>;
|
|
3688
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;
|
|
3689
3813
|
export declare const UpdateMembershipPathParamsSchema: Schema.Struct<{
|
|
3690
3814
|
readonly membership_id: Schema.brand<Schema.String, "MembershipId">;
|
|
3691
3815
|
readonly tenant_id: Schema.brand<Schema.String, "TenantId">;
|
|
@@ -3902,6 +4026,39 @@ export declare const UpdateWebhookEndpoint429ResponseHeadersSchema: Schema.Struc
|
|
|
3902
4026
|
readonly "X-RateLimit-Remaining": Schema.NumberFromString;
|
|
3903
4027
|
}>;
|
|
3904
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;
|
|
3905
4062
|
declare const AccessForbiddenError_base: Schema.Class<AccessForbiddenError, Schema.TaggedStruct<"AccessForbiddenError", {
|
|
3906
4063
|
readonly error: Schema.Struct<{
|
|
3907
4064
|
readonly code: Schema.Literal<"access.forbidden">;
|
|
@@ -10795,6 +10952,78 @@ export declare const TestWebhookEndpointErrorSchema: Schema.Union<readonly [Sche
|
|
|
10795
10952
|
}>;
|
|
10796
10953
|
}>, never, never>]>;
|
|
10797
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;
|
|
10798
11027
|
export declare const UpdateMembershipErrorSchema: Schema.Union<readonly [Schema.decodeTo<typeof AccessForbiddenError, Schema.Struct<{
|
|
10799
11028
|
readonly error: Schema.Struct<{
|
|
10800
11029
|
readonly code: Schema.Literal<"access.forbidden">;
|
|
@@ -11195,6 +11424,48 @@ export declare const UpdateWebhookEndpointErrorSchema: Schema.Union<readonly [Sc
|
|
|
11195
11424
|
}>;
|
|
11196
11425
|
}>, never, never>]>;
|
|
11197
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;
|
|
11198
11469
|
export declare const ChalkOperationPolicies: {
|
|
11199
11470
|
readonly addCloudflareSFUTracks: {
|
|
11200
11471
|
readonly maxBodyBytes: 1048576;
|
|
@@ -11644,6 +11915,14 @@ export declare const ChalkOperationPolicies: {
|
|
|
11644
11915
|
readonly windowSeconds: 60;
|
|
11645
11916
|
};
|
|
11646
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
|
+
};
|
|
11647
11926
|
readonly updateMembership: {
|
|
11648
11927
|
readonly maxBodyBytes: 1048576;
|
|
11649
11928
|
readonly rateLimit: {
|
|
@@ -11684,6 +11963,14 @@ export declare const ChalkOperationPolicies: {
|
|
|
11684
11963
|
readonly windowSeconds: 60;
|
|
11685
11964
|
};
|
|
11686
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
|
+
};
|
|
11687
11974
|
};
|
|
11688
11975
|
export type ChalkOperationPolicy = (typeof ChalkOperationPolicies)[keyof typeof ChalkOperationPolicies];
|
|
11689
11976
|
export {};
|