@djangocfg/api 2.1.210 → 2.1.213
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/auth-server.cjs +50 -50
- package/dist/auth-server.cjs.map +1 -1
- package/dist/auth-server.mjs +50 -50
- package/dist/auth-server.mjs.map +1 -1
- package/dist/auth.cjs +63 -63
- package/dist/auth.cjs.map +1 -1
- package/dist/auth.d.cts +10 -10
- package/dist/auth.d.ts +10 -10
- package/dist/auth.mjs +63 -63
- package/dist/auth.mjs.map +1 -1
- package/dist/clients.cjs +63 -63
- package/dist/clients.cjs.map +1 -1
- package/dist/clients.d.cts +106 -106
- package/dist/clients.d.ts +106 -106
- package/dist/clients.mjs +63 -63
- package/dist/clients.mjs.map +1 -1
- package/dist/hooks.cjs +12 -12
- package/dist/hooks.cjs.map +1 -1
- package/dist/hooks.d.cts +14 -14
- package/dist/hooks.d.ts +14 -14
- package/dist/hooks.mjs +12 -12
- package/dist/hooks.mjs.map +1 -1
- package/dist/index.cjs +50 -50
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +17 -17
- package/dist/index.d.ts +17 -17
- package/dist/index.mjs +50 -50
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
- package/src/generated/cfg_accounts/_utils/schemas/CentrifugoToken.schema.ts +1 -1
- package/src/generated/cfg_accounts/_utils/schemas/OAuthAuthorizeRequestRequest.schema.ts +2 -2
- package/src/generated/cfg_accounts/_utils/schemas/OAuthAuthorizeResponse.schema.ts +1 -1
- package/src/generated/cfg_accounts/_utils/schemas/OAuthCallbackRequestRequest.schema.ts +1 -1
- package/src/generated/cfg_accounts/_utils/schemas/OAuthConnection.schema.ts +2 -2
- package/src/generated/cfg_accounts/_utils/schemas/OTPRequestRequest.schema.ts +1 -1
- package/src/generated/cfg_accounts/_utils/schemas/OTPVerifyRequest.schema.ts +1 -1
- package/src/generated/cfg_accounts/_utils/schemas/User.schema.ts +3 -3
- package/src/generated/cfg_centrifugo/_utils/schemas/CentrifugoChannelInfo.schema.ts +1 -1
- package/src/generated/cfg_centrifugo/_utils/schemas/CentrifugoError.schema.ts +1 -1
- package/src/generated/cfg_centrifugo/_utils/schemas/CentrifugoHistoryRequestRequest.schema.ts +1 -1
- package/src/generated/cfg_centrifugo/_utils/schemas/CentrifugoHistoryResult.schema.ts +1 -1
- package/src/generated/cfg_centrifugo/_utils/schemas/CentrifugoNodeInfo.schema.ts +5 -5
- package/src/generated/cfg_centrifugo/_utils/schemas/CentrifugoOverviewStats.schema.ts +5 -5
- package/src/generated/cfg_centrifugo/_utils/schemas/CentrifugoPresenceStatsResult.schema.ts +2 -2
- package/src/generated/cfg_centrifugo/_utils/schemas/CentrifugoProcess.schema.ts +1 -1
- package/src/generated/cfg_centrifugo/_utils/schemas/CentrifugoPublication.schema.ts +1 -1
- package/src/generated/cfg_centrifugo/_utils/schemas/CentrifugoStreamPosition.schema.ts +1 -1
- package/src/generated/cfg_centrifugo/_utils/schemas/ChannelList.schema.ts +1 -1
- package/src/generated/cfg_centrifugo/_utils/schemas/ChannelStats.schema.ts +3 -3
- package/src/generated/cfg_centrifugo/_utils/schemas/PaginatedPublishList.schema.ts +6 -6
- package/src/generated/cfg_centrifugo/_utils/schemas/Publish.schema.ts +2 -2
- package/src/generated/cfg_centrifugo/_utils/schemas/PublishTestRequestRequest.schema.ts +1 -1
- package/src/generated/cfg_centrifugo/_utils/schemas/PublishTestResponse.schema.ts +1 -1
- package/src/generated/cfg_centrifugo/_utils/schemas/TimelineItem.schema.ts +4 -4
- package/src/generated/cfg_centrifugo/_utils/schemas/TimelineResponse.schema.ts +1 -1
- package/src/generated/cfg_totp/_utils/schemas/BackupCodesStatus.schema.ts +2 -2
- package/src/generated/cfg_totp/_utils/schemas/PaginatedDeviceListResponseList.schema.ts +6 -6
- package/src/generated/cfg_totp/_utils/schemas/SetupResponse.schema.ts +1 -1
- package/src/generated/cfg_totp/_utils/schemas/TotpVerifyUser.schema.ts +3 -3
- package/src/generated/cfg_totp/_utils/schemas/VerifyResponse.schema.ts +1 -1
package/dist/clients.d.cts
CHANGED
|
@@ -585,7 +585,7 @@ type AccountDeleteResponse = z.infer<typeof AccountDeleteResponseSchema>;
|
|
|
585
585
|
*/
|
|
586
586
|
declare const CentrifugoTokenSchema: z.ZodObject<{
|
|
587
587
|
token: z.ZodString;
|
|
588
|
-
centrifugo_url: z.
|
|
588
|
+
centrifugo_url: z.ZodString;
|
|
589
589
|
expires_at: z.ZodString;
|
|
590
590
|
channels: z.ZodArray<z.ZodString>;
|
|
591
591
|
}, z.core.$strip>;
|
|
@@ -619,8 +619,8 @@ type CfgAccountsProfileAvatarCreateRequest = z.infer<typeof CfgAccountsProfileAv
|
|
|
619
619
|
* Request to start OAuth flow.
|
|
620
620
|
*/
|
|
621
621
|
declare const OAuthAuthorizeRequestRequestSchema: z.ZodObject<{
|
|
622
|
-
redirect_uri: z.ZodOptional<z.
|
|
623
|
-
source_url: z.ZodOptional<z.
|
|
622
|
+
redirect_uri: z.ZodOptional<z.ZodString>;
|
|
623
|
+
source_url: z.ZodOptional<z.ZodString>;
|
|
624
624
|
}, z.core.$strip>;
|
|
625
625
|
/**
|
|
626
626
|
* Infer TypeScript type from Zod schema
|
|
@@ -638,7 +638,7 @@ type OAuthAuthorizeRequestRequest = z.infer<typeof OAuthAuthorizeRequestRequestS
|
|
|
638
638
|
* Response with OAuth authorization URL.
|
|
639
639
|
*/
|
|
640
640
|
declare const OAuthAuthorizeResponseSchema: z.ZodObject<{
|
|
641
|
-
authorization_url: z.
|
|
641
|
+
authorization_url: z.ZodString;
|
|
642
642
|
state: z.ZodString;
|
|
643
643
|
}, z.core.$strip>;
|
|
644
644
|
/**
|
|
@@ -659,7 +659,7 @@ type OAuthAuthorizeResponse = z.infer<typeof OAuthAuthorizeResponseSchema>;
|
|
|
659
659
|
declare const OAuthCallbackRequestRequestSchema: z.ZodObject<{
|
|
660
660
|
code: z.ZodString;
|
|
661
661
|
state: z.ZodString;
|
|
662
|
-
redirect_uri: z.ZodOptional<z.
|
|
662
|
+
redirect_uri: z.ZodOptional<z.ZodString>;
|
|
663
663
|
}, z.core.$strip>;
|
|
664
664
|
/**
|
|
665
665
|
* Infer TypeScript type from Zod schema
|
|
@@ -677,12 +677,12 @@ type OAuthCallbackRequestRequest = z.infer<typeof OAuthCallbackRequestRequestSch
|
|
|
677
677
|
* Serializer for OAuth connection info (user-facing).
|
|
678
678
|
*/
|
|
679
679
|
declare const OAuthConnectionSchema: z.ZodObject<{
|
|
680
|
-
id: z.
|
|
680
|
+
id: z.ZodNumber;
|
|
681
681
|
provider: z.ZodEnum<typeof OAuthConnectionProvider>;
|
|
682
682
|
provider_display: z.ZodString;
|
|
683
683
|
provider_username: z.ZodString;
|
|
684
684
|
provider_email: z.ZodEmail;
|
|
685
|
-
provider_avatar_url: z.
|
|
685
|
+
provider_avatar_url: z.ZodString;
|
|
686
686
|
connected_at: z.ZodString;
|
|
687
687
|
last_login_at: z.ZodString;
|
|
688
688
|
}, z.core.$strip>;
|
|
@@ -822,7 +822,7 @@ type OTPErrorResponse = z.infer<typeof OTPErrorResponseSchema>;
|
|
|
822
822
|
declare const OTPRequestRequestSchema: z.ZodObject<{
|
|
823
823
|
identifier: z.ZodString;
|
|
824
824
|
channel: z.ZodOptional<z.ZodEnum<typeof OTPRequestRequestChannel>>;
|
|
825
|
-
source_url: z.ZodOptional<z.
|
|
825
|
+
source_url: z.ZodOptional<z.ZodString>;
|
|
826
826
|
}, z.core.$strip>;
|
|
827
827
|
/**
|
|
828
828
|
* Infer TypeScript type from Zod schema
|
|
@@ -861,7 +861,7 @@ declare const OTPVerifyRequestSchema: z.ZodObject<{
|
|
|
861
861
|
identifier: z.ZodString;
|
|
862
862
|
otp: z.ZodString;
|
|
863
863
|
channel: z.ZodOptional<z.ZodEnum<typeof OTPRequestRequestChannel>>;
|
|
864
|
-
source_url: z.ZodOptional<z.
|
|
864
|
+
source_url: z.ZodOptional<z.ZodString>;
|
|
865
865
|
}, z.core.$strip>;
|
|
866
866
|
/**
|
|
867
867
|
* Infer TypeScript type from Zod schema
|
|
@@ -904,7 +904,7 @@ declare const OTPVerifyResponseSchema: z.ZodObject<{
|
|
|
904
904
|
refresh: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
905
905
|
access: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
906
906
|
user: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
907
|
-
id: z.
|
|
907
|
+
id: z.ZodNumber;
|
|
908
908
|
email: z.ZodEmail;
|
|
909
909
|
first_name: z.ZodOptional<z.ZodString>;
|
|
910
910
|
last_name: z.ZodOptional<z.ZodString>;
|
|
@@ -915,15 +915,15 @@ declare const OTPVerifyResponseSchema: z.ZodObject<{
|
|
|
915
915
|
phone: z.ZodOptional<z.ZodString>;
|
|
916
916
|
position: z.ZodOptional<z.ZodString>;
|
|
917
917
|
language: z.ZodOptional<z.ZodString>;
|
|
918
|
-
avatar: z.ZodNullable<z.
|
|
918
|
+
avatar: z.ZodNullable<z.ZodString>;
|
|
919
919
|
is_staff: z.ZodBoolean;
|
|
920
920
|
is_superuser: z.ZodBoolean;
|
|
921
921
|
date_joined: z.ZodString;
|
|
922
922
|
last_login: z.ZodNullable<z.ZodString>;
|
|
923
|
-
unanswered_messages_count: z.
|
|
923
|
+
unanswered_messages_count: z.ZodNumber;
|
|
924
924
|
centrifugo: z.ZodNullable<z.ZodObject<{
|
|
925
925
|
token: z.ZodString;
|
|
926
|
-
centrifugo_url: z.
|
|
926
|
+
centrifugo_url: z.ZodString;
|
|
927
927
|
expires_at: z.ZodString;
|
|
928
928
|
channels: z.ZodArray<z.ZodString>;
|
|
929
929
|
}, z.core.$strip>>;
|
|
@@ -998,7 +998,7 @@ type TokenRefreshRequest = z.infer<typeof TokenRefreshRequestSchema>;
|
|
|
998
998
|
* Serializer for user details.
|
|
999
999
|
*/
|
|
1000
1000
|
declare const UserSchema: z.ZodObject<{
|
|
1001
|
-
id: z.
|
|
1001
|
+
id: z.ZodNumber;
|
|
1002
1002
|
email: z.ZodEmail;
|
|
1003
1003
|
first_name: z.ZodOptional<z.ZodString>;
|
|
1004
1004
|
last_name: z.ZodOptional<z.ZodString>;
|
|
@@ -1009,15 +1009,15 @@ declare const UserSchema: z.ZodObject<{
|
|
|
1009
1009
|
phone: z.ZodOptional<z.ZodString>;
|
|
1010
1010
|
position: z.ZodOptional<z.ZodString>;
|
|
1011
1011
|
language: z.ZodOptional<z.ZodString>;
|
|
1012
|
-
avatar: z.ZodNullable<z.
|
|
1012
|
+
avatar: z.ZodNullable<z.ZodString>;
|
|
1013
1013
|
is_staff: z.ZodBoolean;
|
|
1014
1014
|
is_superuser: z.ZodBoolean;
|
|
1015
1015
|
date_joined: z.ZodString;
|
|
1016
1016
|
last_login: z.ZodNullable<z.ZodString>;
|
|
1017
|
-
unanswered_messages_count: z.
|
|
1017
|
+
unanswered_messages_count: z.ZodNumber;
|
|
1018
1018
|
centrifugo: z.ZodNullable<z.ZodObject<{
|
|
1019
1019
|
token: z.ZodString;
|
|
1020
|
-
centrifugo_url: z.
|
|
1020
|
+
centrifugo_url: z.ZodString;
|
|
1021
1021
|
expires_at: z.ZodString;
|
|
1022
1022
|
channels: z.ZodArray<z.ZodString>;
|
|
1023
1023
|
}, z.core.$strip>>;
|
|
@@ -1967,7 +1967,7 @@ interface StorageAdapter$1 {
|
|
|
1967
1967
|
* Information about a single channel.
|
|
1968
1968
|
*/
|
|
1969
1969
|
declare const CentrifugoChannelInfoSchema: z.ZodObject<{
|
|
1970
|
-
num_clients: z.
|
|
1970
|
+
num_clients: z.ZodNumber;
|
|
1971
1971
|
}, z.core.$strip>;
|
|
1972
1972
|
/**
|
|
1973
1973
|
* Infer TypeScript type from Zod schema
|
|
@@ -2004,12 +2004,12 @@ type CentrifugoChannelsRequestRequest = z.infer<typeof CentrifugoChannelsRequest
|
|
|
2004
2004
|
*/
|
|
2005
2005
|
declare const CentrifugoChannelsResponseSchema: z.ZodObject<{
|
|
2006
2006
|
error: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2007
|
-
code: z.ZodOptional<z.
|
|
2007
|
+
code: z.ZodOptional<z.ZodNumber>;
|
|
2008
2008
|
message: z.ZodOptional<z.ZodString>;
|
|
2009
2009
|
}, z.core.$strip>>>;
|
|
2010
2010
|
result: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2011
2011
|
channels: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2012
|
-
num_clients: z.
|
|
2012
|
+
num_clients: z.ZodNumber;
|
|
2013
2013
|
}, z.core.$strip>>;
|
|
2014
2014
|
}, z.core.$strip>>>;
|
|
2015
2015
|
}, z.core.$strip>;
|
|
@@ -2030,7 +2030,7 @@ type CentrifugoChannelsResponse = z.infer<typeof CentrifugoChannelsResponseSchem
|
|
|
2030
2030
|
*/
|
|
2031
2031
|
declare const CentrifugoChannelsResultSchema: z.ZodObject<{
|
|
2032
2032
|
channels: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
2033
|
-
num_clients: z.
|
|
2033
|
+
num_clients: z.ZodNumber;
|
|
2034
2034
|
}, z.core.$strip>>;
|
|
2035
2035
|
}, z.core.$strip>;
|
|
2036
2036
|
/**
|
|
@@ -2070,7 +2070,7 @@ type CentrifugoClientInfo = z.infer<typeof CentrifugoClientInfoSchema>;
|
|
|
2070
2070
|
* Centrifugo API error structure.
|
|
2071
2071
|
*/
|
|
2072
2072
|
declare const CentrifugoErrorSchema: z.ZodObject<{
|
|
2073
|
-
code: z.ZodOptional<z.
|
|
2073
|
+
code: z.ZodOptional<z.ZodNumber>;
|
|
2074
2074
|
message: z.ZodOptional<z.ZodString>;
|
|
2075
2075
|
}, z.core.$strip>;
|
|
2076
2076
|
/**
|
|
@@ -2111,9 +2111,9 @@ type CentrifugoHealthCheck = z.infer<typeof CentrifugoHealthCheckSchema>;
|
|
|
2111
2111
|
*/
|
|
2112
2112
|
declare const CentrifugoHistoryRequestRequestSchema: z.ZodObject<{
|
|
2113
2113
|
channel: z.ZodString;
|
|
2114
|
-
limit: z.ZodOptional<z.ZodNullable<z.
|
|
2114
|
+
limit: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2115
2115
|
since: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2116
|
-
offset: z.
|
|
2116
|
+
offset: z.ZodNumber;
|
|
2117
2117
|
epoch: z.ZodString;
|
|
2118
2118
|
}, z.core.$strip>>>;
|
|
2119
2119
|
reverse: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
@@ -2135,7 +2135,7 @@ type CentrifugoHistoryRequestRequest = z.infer<typeof CentrifugoHistoryRequestRe
|
|
|
2135
2135
|
*/
|
|
2136
2136
|
declare const CentrifugoHistoryResponseSchema: z.ZodObject<{
|
|
2137
2137
|
error: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2138
|
-
code: z.ZodOptional<z.
|
|
2138
|
+
code: z.ZodOptional<z.ZodNumber>;
|
|
2139
2139
|
message: z.ZodOptional<z.ZodString>;
|
|
2140
2140
|
}, z.core.$strip>>>;
|
|
2141
2141
|
result: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -2147,11 +2147,11 @@ declare const CentrifugoHistoryResponseSchema: z.ZodObject<{
|
|
|
2147
2147
|
conn_info: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
2148
2148
|
chan_info: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
2149
2149
|
}, z.core.$strip>>>;
|
|
2150
|
-
offset: z.
|
|
2150
|
+
offset: z.ZodNumber;
|
|
2151
2151
|
tags: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
2152
2152
|
}, z.core.$strip>>;
|
|
2153
2153
|
epoch: z.ZodString;
|
|
2154
|
-
offset: z.
|
|
2154
|
+
offset: z.ZodNumber;
|
|
2155
2155
|
}, z.core.$strip>>>;
|
|
2156
2156
|
}, z.core.$strip>;
|
|
2157
2157
|
/**
|
|
@@ -2178,11 +2178,11 @@ declare const CentrifugoHistoryResultSchema: z.ZodObject<{
|
|
|
2178
2178
|
conn_info: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
2179
2179
|
chan_info: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
2180
2180
|
}, z.core.$strip>>>;
|
|
2181
|
-
offset: z.
|
|
2181
|
+
offset: z.ZodNumber;
|
|
2182
2182
|
tags: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
2183
2183
|
}, z.core.$strip>>;
|
|
2184
2184
|
epoch: z.ZodString;
|
|
2185
|
-
offset: z.
|
|
2185
|
+
offset: z.ZodNumber;
|
|
2186
2186
|
}, z.core.$strip>;
|
|
2187
2187
|
/**
|
|
2188
2188
|
* Infer TypeScript type from Zod schema
|
|
@@ -2201,7 +2201,7 @@ type CentrifugoHistoryResult = z.infer<typeof CentrifugoHistoryResultSchema>;
|
|
|
2201
2201
|
*/
|
|
2202
2202
|
declare const CentrifugoInfoResponseSchema: z.ZodObject<{
|
|
2203
2203
|
error: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2204
|
-
code: z.ZodOptional<z.
|
|
2204
|
+
code: z.ZodOptional<z.ZodNumber>;
|
|
2205
2205
|
message: z.ZodOptional<z.ZodString>;
|
|
2206
2206
|
}, z.core.$strip>>>;
|
|
2207
2207
|
result: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -2209,18 +2209,18 @@ declare const CentrifugoInfoResponseSchema: z.ZodObject<{
|
|
|
2209
2209
|
uid: z.ZodString;
|
|
2210
2210
|
name: z.ZodString;
|
|
2211
2211
|
version: z.ZodString;
|
|
2212
|
-
num_clients: z.
|
|
2213
|
-
num_users: z.
|
|
2214
|
-
num_channels: z.
|
|
2215
|
-
uptime: z.
|
|
2216
|
-
num_subs: z.
|
|
2212
|
+
num_clients: z.ZodNumber;
|
|
2213
|
+
num_users: z.ZodNumber;
|
|
2214
|
+
num_channels: z.ZodNumber;
|
|
2215
|
+
uptime: z.ZodNumber;
|
|
2216
|
+
num_subs: z.ZodNumber;
|
|
2217
2217
|
metrics: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2218
2218
|
interval: z.ZodNumber;
|
|
2219
2219
|
items: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
2220
2220
|
}, z.core.$strip>>>;
|
|
2221
2221
|
process: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2222
2222
|
cpu: z.ZodNumber;
|
|
2223
|
-
rss: z.
|
|
2223
|
+
rss: z.ZodNumber;
|
|
2224
2224
|
}, z.core.$strip>>>;
|
|
2225
2225
|
}, z.core.$strip>>;
|
|
2226
2226
|
}, z.core.$strip>>>;
|
|
@@ -2245,18 +2245,18 @@ declare const CentrifugoInfoResultSchema: z.ZodObject<{
|
|
|
2245
2245
|
uid: z.ZodString;
|
|
2246
2246
|
name: z.ZodString;
|
|
2247
2247
|
version: z.ZodString;
|
|
2248
|
-
num_clients: z.
|
|
2249
|
-
num_users: z.
|
|
2250
|
-
num_channels: z.
|
|
2251
|
-
uptime: z.
|
|
2252
|
-
num_subs: z.
|
|
2248
|
+
num_clients: z.ZodNumber;
|
|
2249
|
+
num_users: z.ZodNumber;
|
|
2250
|
+
num_channels: z.ZodNumber;
|
|
2251
|
+
uptime: z.ZodNumber;
|
|
2252
|
+
num_subs: z.ZodNumber;
|
|
2253
2253
|
metrics: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2254
2254
|
interval: z.ZodNumber;
|
|
2255
2255
|
items: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
2256
2256
|
}, z.core.$strip>>>;
|
|
2257
2257
|
process: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2258
2258
|
cpu: z.ZodNumber;
|
|
2259
|
-
rss: z.
|
|
2259
|
+
rss: z.ZodNumber;
|
|
2260
2260
|
}, z.core.$strip>>>;
|
|
2261
2261
|
}, z.core.$strip>>;
|
|
2262
2262
|
}, z.core.$strip>;
|
|
@@ -2298,18 +2298,18 @@ declare const CentrifugoNodeInfoSchema: z.ZodObject<{
|
|
|
2298
2298
|
uid: z.ZodString;
|
|
2299
2299
|
name: z.ZodString;
|
|
2300
2300
|
version: z.ZodString;
|
|
2301
|
-
num_clients: z.
|
|
2302
|
-
num_users: z.
|
|
2303
|
-
num_channels: z.
|
|
2304
|
-
uptime: z.
|
|
2305
|
-
num_subs: z.
|
|
2301
|
+
num_clients: z.ZodNumber;
|
|
2302
|
+
num_users: z.ZodNumber;
|
|
2303
|
+
num_channels: z.ZodNumber;
|
|
2304
|
+
uptime: z.ZodNumber;
|
|
2305
|
+
num_subs: z.ZodNumber;
|
|
2306
2306
|
metrics: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2307
2307
|
interval: z.ZodNumber;
|
|
2308
2308
|
items: z.ZodRecord<z.ZodString, z.ZodNumber>;
|
|
2309
2309
|
}, z.core.$strip>>>;
|
|
2310
2310
|
process: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2311
2311
|
cpu: z.ZodNumber;
|
|
2312
|
-
rss: z.
|
|
2312
|
+
rss: z.ZodNumber;
|
|
2313
2313
|
}, z.core.$strip>>>;
|
|
2314
2314
|
}, z.core.$strip>;
|
|
2315
2315
|
/**
|
|
@@ -2328,14 +2328,14 @@ type CentrifugoNodeInfo = z.infer<typeof CentrifugoNodeInfoSchema>;
|
|
|
2328
2328
|
* Overview statistics for Centrifugo publishes.
|
|
2329
2329
|
*/
|
|
2330
2330
|
declare const CentrifugoOverviewStatsSchema: z.ZodObject<{
|
|
2331
|
-
total: z.
|
|
2332
|
-
successful: z.
|
|
2333
|
-
failed: z.
|
|
2334
|
-
timeout: z.
|
|
2331
|
+
total: z.ZodNumber;
|
|
2332
|
+
successful: z.ZodNumber;
|
|
2333
|
+
failed: z.ZodNumber;
|
|
2334
|
+
timeout: z.ZodNumber;
|
|
2335
2335
|
success_rate: z.ZodNumber;
|
|
2336
2336
|
avg_duration_ms: z.ZodNumber;
|
|
2337
2337
|
avg_acks_received: z.ZodNumber;
|
|
2338
|
-
period_hours: z.
|
|
2338
|
+
period_hours: z.ZodNumber;
|
|
2339
2339
|
}, z.core.$strip>;
|
|
2340
2340
|
/**
|
|
2341
2341
|
* Infer TypeScript type from Zod schema
|
|
@@ -2372,7 +2372,7 @@ type CentrifugoPresenceRequestRequest = z.infer<typeof CentrifugoPresenceRequest
|
|
|
2372
2372
|
*/
|
|
2373
2373
|
declare const CentrifugoPresenceResponseSchema: z.ZodObject<{
|
|
2374
2374
|
error: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2375
|
-
code: z.ZodOptional<z.
|
|
2375
|
+
code: z.ZodOptional<z.ZodNumber>;
|
|
2376
2376
|
message: z.ZodOptional<z.ZodString>;
|
|
2377
2377
|
}, z.core.$strip>>>;
|
|
2378
2378
|
result: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -2442,12 +2442,12 @@ type CentrifugoPresenceStatsRequestRequest = z.infer<typeof CentrifugoPresenceSt
|
|
|
2442
2442
|
*/
|
|
2443
2443
|
declare const CentrifugoPresenceStatsResponseSchema: z.ZodObject<{
|
|
2444
2444
|
error: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2445
|
-
code: z.ZodOptional<z.
|
|
2445
|
+
code: z.ZodOptional<z.ZodNumber>;
|
|
2446
2446
|
message: z.ZodOptional<z.ZodString>;
|
|
2447
2447
|
}, z.core.$strip>>>;
|
|
2448
2448
|
result: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2449
|
-
num_clients: z.
|
|
2450
|
-
num_users: z.
|
|
2449
|
+
num_clients: z.ZodNumber;
|
|
2450
|
+
num_users: z.ZodNumber;
|
|
2451
2451
|
}, z.core.$strip>>>;
|
|
2452
2452
|
}, z.core.$strip>;
|
|
2453
2453
|
/**
|
|
@@ -2466,8 +2466,8 @@ type CentrifugoPresenceStatsResponse = z.infer<typeof CentrifugoPresenceStatsRes
|
|
|
2466
2466
|
* Presence stats result.
|
|
2467
2467
|
*/
|
|
2468
2468
|
declare const CentrifugoPresenceStatsResultSchema: z.ZodObject<{
|
|
2469
|
-
num_clients: z.
|
|
2470
|
-
num_users: z.
|
|
2469
|
+
num_clients: z.ZodNumber;
|
|
2470
|
+
num_users: z.ZodNumber;
|
|
2471
2471
|
}, z.core.$strip>;
|
|
2472
2472
|
/**
|
|
2473
2473
|
* Infer TypeScript type from Zod schema
|
|
@@ -2486,7 +2486,7 @@ type CentrifugoPresenceStatsResult = z.infer<typeof CentrifugoPresenceStatsResul
|
|
|
2486
2486
|
*/
|
|
2487
2487
|
declare const CentrifugoProcessSchema: z.ZodObject<{
|
|
2488
2488
|
cpu: z.ZodNumber;
|
|
2489
|
-
rss: z.
|
|
2489
|
+
rss: z.ZodNumber;
|
|
2490
2490
|
}, z.core.$strip>;
|
|
2491
2491
|
/**
|
|
2492
2492
|
* Infer TypeScript type from Zod schema
|
|
@@ -2511,7 +2511,7 @@ declare const CentrifugoPublicationSchema: z.ZodObject<{
|
|
|
2511
2511
|
conn_info: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
2512
2512
|
chan_info: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
2513
2513
|
}, z.core.$strip>>>;
|
|
2514
|
-
offset: z.
|
|
2514
|
+
offset: z.ZodNumber;
|
|
2515
2515
|
tags: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
2516
2516
|
}, z.core.$strip>;
|
|
2517
2517
|
/**
|
|
@@ -2530,7 +2530,7 @@ type CentrifugoPublication = z.infer<typeof CentrifugoPublicationSchema>;
|
|
|
2530
2530
|
* Stream position for pagination.
|
|
2531
2531
|
*/
|
|
2532
2532
|
declare const CentrifugoStreamPositionSchema: z.ZodObject<{
|
|
2533
|
-
offset: z.
|
|
2533
|
+
offset: z.ZodNumber;
|
|
2534
2534
|
epoch: z.ZodString;
|
|
2535
2535
|
}, z.core.$strip>;
|
|
2536
2536
|
/**
|
|
@@ -2551,14 +2551,14 @@ type CentrifugoStreamPosition = z.infer<typeof CentrifugoStreamPositionSchema>;
|
|
|
2551
2551
|
declare const ChannelListSchema: z.ZodObject<{
|
|
2552
2552
|
channels: z.ZodArray<z.ZodObject<{
|
|
2553
2553
|
channel: z.ZodString;
|
|
2554
|
-
total: z.
|
|
2555
|
-
successful: z.
|
|
2556
|
-
failed: z.
|
|
2554
|
+
total: z.ZodNumber;
|
|
2555
|
+
successful: z.ZodNumber;
|
|
2556
|
+
failed: z.ZodNumber;
|
|
2557
2557
|
avg_duration_ms: z.ZodNumber;
|
|
2558
2558
|
avg_acks: z.ZodNumber;
|
|
2559
2559
|
last_activity_at: z.ZodNullable<z.ZodString>;
|
|
2560
2560
|
}, z.core.$strip>>;
|
|
2561
|
-
total_channels: z.
|
|
2561
|
+
total_channels: z.ZodNumber;
|
|
2562
2562
|
}, z.core.$strip>;
|
|
2563
2563
|
/**
|
|
2564
2564
|
* Infer TypeScript type from Zod schema
|
|
@@ -2577,9 +2577,9 @@ type ChannelList = z.infer<typeof ChannelListSchema>;
|
|
|
2577
2577
|
*/
|
|
2578
2578
|
declare const ChannelStatsSchema: z.ZodObject<{
|
|
2579
2579
|
channel: z.ZodString;
|
|
2580
|
-
total: z.
|
|
2581
|
-
successful: z.
|
|
2582
|
-
failed: z.
|
|
2580
|
+
total: z.ZodNumber;
|
|
2581
|
+
successful: z.ZodNumber;
|
|
2582
|
+
failed: z.ZodNumber;
|
|
2583
2583
|
avg_duration_ms: z.ZodNumber;
|
|
2584
2584
|
avg_acks: z.ZodNumber;
|
|
2585
2585
|
last_activity_at: z.ZodNullable<z.ZodString>;
|
|
@@ -2656,21 +2656,21 @@ type ManualAckResponse = z.infer<typeof ManualAckResponseSchema>;
|
|
|
2656
2656
|
* */
|
|
2657
2657
|
|
|
2658
2658
|
declare const PaginatedPublishListSchema: z.ZodObject<{
|
|
2659
|
-
count: z.
|
|
2660
|
-
page: z.
|
|
2661
|
-
pages: z.
|
|
2662
|
-
page_size: z.
|
|
2659
|
+
count: z.ZodNumber;
|
|
2660
|
+
page: z.ZodNumber;
|
|
2661
|
+
pages: z.ZodNumber;
|
|
2662
|
+
page_size: z.ZodNumber;
|
|
2663
2663
|
has_next: z.ZodBoolean;
|
|
2664
2664
|
has_previous: z.ZodBoolean;
|
|
2665
|
-
next_page: z.ZodOptional<z.ZodNullable<z.
|
|
2666
|
-
previous_page: z.ZodOptional<z.ZodNullable<z.
|
|
2665
|
+
next_page: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2666
|
+
previous_page: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2667
2667
|
results: z.ZodArray<z.ZodObject<{
|
|
2668
2668
|
message_id: z.ZodString;
|
|
2669
2669
|
channel: z.ZodString;
|
|
2670
2670
|
status: z.ZodString;
|
|
2671
2671
|
wait_for_ack: z.ZodBoolean;
|
|
2672
|
-
acks_received: z.
|
|
2673
|
-
acks_expected: z.ZodNullable<z.
|
|
2672
|
+
acks_received: z.ZodNumber;
|
|
2673
|
+
acks_expected: z.ZodNullable<z.ZodNumber>;
|
|
2674
2674
|
duration_ms: z.ZodNullable<z.ZodNumber>;
|
|
2675
2675
|
created_at: z.ZodString;
|
|
2676
2676
|
completed_at: z.ZodNullable<z.ZodString>;
|
|
@@ -2698,8 +2698,8 @@ declare const PublishSchema: z.ZodObject<{
|
|
|
2698
2698
|
channel: z.ZodString;
|
|
2699
2699
|
status: z.ZodString;
|
|
2700
2700
|
wait_for_ack: z.ZodBoolean;
|
|
2701
|
-
acks_received: z.
|
|
2702
|
-
acks_expected: z.ZodNullable<z.
|
|
2701
|
+
acks_received: z.ZodNumber;
|
|
2702
|
+
acks_expected: z.ZodNullable<z.ZodNumber>;
|
|
2703
2703
|
duration_ms: z.ZodNullable<z.ZodNumber>;
|
|
2704
2704
|
created_at: z.ZodString;
|
|
2705
2705
|
completed_at: z.ZodNullable<z.ZodString>;
|
|
@@ -2725,7 +2725,7 @@ declare const PublishTestRequestRequestSchema: z.ZodObject<{
|
|
|
2725
2725
|
channel: z.ZodString;
|
|
2726
2726
|
data: z.ZodRecord<z.ZodString, z.ZodAny>;
|
|
2727
2727
|
wait_for_ack: z.ZodOptional<z.ZodBoolean>;
|
|
2728
|
-
ack_timeout: z.ZodOptional<z.
|
|
2728
|
+
ack_timeout: z.ZodOptional<z.ZodNumber>;
|
|
2729
2729
|
}, z.core.$strip>;
|
|
2730
2730
|
/**
|
|
2731
2731
|
* Infer TypeScript type from Zod schema
|
|
@@ -2746,7 +2746,7 @@ declare const PublishTestResponseSchema: z.ZodObject<{
|
|
|
2746
2746
|
success: z.ZodBoolean;
|
|
2747
2747
|
message_id: z.ZodString;
|
|
2748
2748
|
channel: z.ZodString;
|
|
2749
|
-
acks_received: z.ZodOptional<z.
|
|
2749
|
+
acks_received: z.ZodOptional<z.ZodNumber>;
|
|
2750
2750
|
delivered: z.ZodOptional<z.ZodBoolean>;
|
|
2751
2751
|
error: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2752
2752
|
}, z.core.$strip>;
|
|
@@ -2767,10 +2767,10 @@ type PublishTestResponse = z.infer<typeof PublishTestResponseSchema>;
|
|
|
2767
2767
|
*/
|
|
2768
2768
|
declare const TimelineItemSchema: z.ZodObject<{
|
|
2769
2769
|
timestamp: z.ZodString;
|
|
2770
|
-
count: z.
|
|
2771
|
-
successful: z.
|
|
2772
|
-
failed: z.
|
|
2773
|
-
timeout: z.
|
|
2770
|
+
count: z.ZodNumber;
|
|
2771
|
+
successful: z.ZodNumber;
|
|
2772
|
+
failed: z.ZodNumber;
|
|
2773
|
+
timeout: z.ZodNumber;
|
|
2774
2774
|
}, z.core.$strip>;
|
|
2775
2775
|
/**
|
|
2776
2776
|
* Infer TypeScript type from Zod schema
|
|
@@ -2790,12 +2790,12 @@ type TimelineItem = z.infer<typeof TimelineItemSchema>;
|
|
|
2790
2790
|
declare const TimelineResponseSchema: z.ZodObject<{
|
|
2791
2791
|
timeline: z.ZodArray<z.ZodObject<{
|
|
2792
2792
|
timestamp: z.ZodString;
|
|
2793
|
-
count: z.
|
|
2794
|
-
successful: z.
|
|
2795
|
-
failed: z.
|
|
2796
|
-
timeout: z.
|
|
2793
|
+
count: z.ZodNumber;
|
|
2794
|
+
successful: z.ZodNumber;
|
|
2795
|
+
failed: z.ZodNumber;
|
|
2796
|
+
timeout: z.ZodNumber;
|
|
2797
2797
|
}, z.core.$strip>>;
|
|
2798
|
-
period_hours: z.
|
|
2798
|
+
period_hours: z.ZodNumber;
|
|
2799
2799
|
interval: z.ZodString;
|
|
2800
2800
|
}, z.core.$strip>;
|
|
2801
2801
|
/**
|
|
@@ -3641,8 +3641,8 @@ type BackupCodesRegenerateResponse = z.infer<typeof BackupCodesRegenerateRespons
|
|
|
3641
3641
|
* Serializer for backup codes status.
|
|
3642
3642
|
*/
|
|
3643
3643
|
declare const BackupCodesStatusSchema: z.ZodObject<{
|
|
3644
|
-
remaining_count: z.
|
|
3645
|
-
total_generated: z.
|
|
3644
|
+
remaining_count: z.ZodNumber;
|
|
3645
|
+
total_generated: z.ZodNumber;
|
|
3646
3646
|
warning: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3647
3647
|
}, z.core.$strip>;
|
|
3648
3648
|
/**
|
|
@@ -3752,14 +3752,14 @@ declare const DisableRequestSchema: z.ZodObject<{
|
|
|
3752
3752
|
type DisableRequest = z.infer<typeof DisableRequestSchema>;
|
|
3753
3753
|
|
|
3754
3754
|
declare const PaginatedDeviceListResponseListSchema: z.ZodObject<{
|
|
3755
|
-
count: z.
|
|
3756
|
-
page: z.
|
|
3757
|
-
pages: z.
|
|
3758
|
-
page_size: z.
|
|
3755
|
+
count: z.ZodNumber;
|
|
3756
|
+
page: z.ZodNumber;
|
|
3757
|
+
pages: z.ZodNumber;
|
|
3758
|
+
page_size: z.ZodNumber;
|
|
3759
3759
|
has_next: z.ZodBoolean;
|
|
3760
3760
|
has_previous: z.ZodBoolean;
|
|
3761
|
-
next_page: z.ZodOptional<z.ZodNullable<z.
|
|
3762
|
-
previous_page: z.ZodOptional<z.ZodNullable<z.
|
|
3761
|
+
next_page: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3762
|
+
previous_page: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3763
3763
|
results: z.ZodArray<z.ZodObject<{
|
|
3764
3764
|
devices: z.ZodArray<z.ZodObject<{
|
|
3765
3765
|
id: z.ZodString;
|
|
@@ -3811,7 +3811,7 @@ declare const SetupResponseSchema: z.ZodObject<{
|
|
|
3811
3811
|
secret: z.ZodString;
|
|
3812
3812
|
provisioning_uri: z.ZodString;
|
|
3813
3813
|
qr_code_base64: z.ZodString;
|
|
3814
|
-
expires_in: z.
|
|
3814
|
+
expires_in: z.ZodNumber;
|
|
3815
3815
|
}, z.core.$strip>;
|
|
3816
3816
|
/**
|
|
3817
3817
|
* Infer TypeScript type from Zod schema
|
|
@@ -3829,7 +3829,7 @@ type SetupResponse = z.infer<typeof SetupResponseSchema>;
|
|
|
3829
3829
|
* User data returned after 2FA verification.
|
|
3830
3830
|
*/
|
|
3831
3831
|
declare const TotpVerifyUserSchema: z.ZodObject<{
|
|
3832
|
-
id: z.
|
|
3832
|
+
id: z.ZodNumber;
|
|
3833
3833
|
email: z.ZodEmail;
|
|
3834
3834
|
first_name: z.ZodOptional<z.ZodString>;
|
|
3835
3835
|
last_name: z.ZodOptional<z.ZodString>;
|
|
@@ -3840,12 +3840,12 @@ declare const TotpVerifyUserSchema: z.ZodObject<{
|
|
|
3840
3840
|
phone: z.ZodOptional<z.ZodString>;
|
|
3841
3841
|
position: z.ZodOptional<z.ZodString>;
|
|
3842
3842
|
language: z.ZodOptional<z.ZodString>;
|
|
3843
|
-
avatar: z.ZodNullable<z.
|
|
3843
|
+
avatar: z.ZodNullable<z.ZodString>;
|
|
3844
3844
|
is_staff: z.ZodBoolean;
|
|
3845
3845
|
is_superuser: z.ZodBoolean;
|
|
3846
3846
|
date_joined: z.ZodString;
|
|
3847
3847
|
last_login: z.ZodNullable<z.ZodString>;
|
|
3848
|
-
unanswered_messages_count: z.
|
|
3848
|
+
unanswered_messages_count: z.ZodNumber;
|
|
3849
3849
|
}, z.core.$strip>;
|
|
3850
3850
|
/**
|
|
3851
3851
|
* Infer TypeScript type from Zod schema
|
|
@@ -3905,7 +3905,7 @@ declare const VerifyResponseSchema: z.ZodObject<{
|
|
|
3905
3905
|
access_token: z.ZodString;
|
|
3906
3906
|
refresh_token: z.ZodString;
|
|
3907
3907
|
user: z.ZodObject<{
|
|
3908
|
-
id: z.
|
|
3908
|
+
id: z.ZodNumber;
|
|
3909
3909
|
email: z.ZodEmail;
|
|
3910
3910
|
first_name: z.ZodOptional<z.ZodString>;
|
|
3911
3911
|
last_name: z.ZodOptional<z.ZodString>;
|
|
@@ -3916,14 +3916,14 @@ declare const VerifyResponseSchema: z.ZodObject<{
|
|
|
3916
3916
|
phone: z.ZodOptional<z.ZodString>;
|
|
3917
3917
|
position: z.ZodOptional<z.ZodString>;
|
|
3918
3918
|
language: z.ZodOptional<z.ZodString>;
|
|
3919
|
-
avatar: z.ZodNullable<z.
|
|
3919
|
+
avatar: z.ZodNullable<z.ZodString>;
|
|
3920
3920
|
is_staff: z.ZodBoolean;
|
|
3921
3921
|
is_superuser: z.ZodBoolean;
|
|
3922
3922
|
date_joined: z.ZodString;
|
|
3923
3923
|
last_login: z.ZodNullable<z.ZodString>;
|
|
3924
|
-
unanswered_messages_count: z.
|
|
3924
|
+
unanswered_messages_count: z.ZodNumber;
|
|
3925
3925
|
}, z.core.$strip>;
|
|
3926
|
-
remaining_backup_codes: z.ZodOptional<z.
|
|
3926
|
+
remaining_backup_codes: z.ZodOptional<z.ZodNumber>;
|
|
3927
3927
|
warning: z.ZodOptional<z.ZodString>;
|
|
3928
3928
|
}, z.core.$strip>;
|
|
3929
3929
|
/**
|