@djangocfg/api 2.1.200 → 2.1.202

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (34) hide show
  1. package/dist/auth-server.cjs +14 -14
  2. package/dist/auth-server.cjs.map +1 -1
  3. package/dist/auth-server.mjs +14 -14
  4. package/dist/auth-server.mjs.map +1 -1
  5. package/dist/auth.cjs +14 -14
  6. package/dist/auth.cjs.map +1 -1
  7. package/dist/auth.mjs +14 -14
  8. package/dist/auth.mjs.map +1 -1
  9. package/dist/clients.cjs +14 -14
  10. package/dist/clients.cjs.map +1 -1
  11. package/dist/clients.d.cts +54 -54
  12. package/dist/clients.d.ts +54 -54
  13. package/dist/clients.mjs +14 -14
  14. package/dist/clients.mjs.map +1 -1
  15. package/dist/index.cjs +14 -14
  16. package/dist/index.cjs.map +1 -1
  17. package/dist/index.mjs +14 -14
  18. package/dist/index.mjs.map +1 -1
  19. package/package.json +2 -2
  20. package/src/generated/cfg_accounts/CLAUDE.md +1 -1
  21. package/src/generated/cfg_accounts/schema.json +46 -24
  22. package/src/generated/cfg_centrifugo/CLAUDE.md +1 -1
  23. package/src/generated/cfg_centrifugo/_utils/schemas/CentrifugoChannelsResponse.schema.ts +2 -2
  24. package/src/generated/cfg_centrifugo/_utils/schemas/CentrifugoHistoryRequestRequest.schema.ts +1 -1
  25. package/src/generated/cfg_centrifugo/_utils/schemas/CentrifugoHistoryResponse.schema.ts +2 -2
  26. package/src/generated/cfg_centrifugo/_utils/schemas/CentrifugoInfoResponse.schema.ts +2 -2
  27. package/src/generated/cfg_centrifugo/_utils/schemas/CentrifugoNodeInfo.schema.ts +2 -2
  28. package/src/generated/cfg_centrifugo/_utils/schemas/CentrifugoPresenceResponse.schema.ts +2 -2
  29. package/src/generated/cfg_centrifugo/_utils/schemas/CentrifugoPresenceStatsResponse.schema.ts +2 -2
  30. package/src/generated/cfg_centrifugo/_utils/schemas/CentrifugoPublication.schema.ts +1 -1
  31. package/src/generated/cfg_centrifugo/centrifugo__centrifugo_admin_api/models.ts +14 -14
  32. package/src/generated/cfg_centrifugo/schema.json +27 -15
  33. package/src/generated/cfg_totp/CLAUDE.md +1 -1
  34. package/src/generated/cfg_totp/schema.json +22 -12
@@ -1289,8 +1289,8 @@ interface CentrifugoChannelsRequestRequest$1 {
1289
1289
  * Response model (includes read-only fields).
1290
1290
  */
1291
1291
  interface CentrifugoChannelsResponse$1 {
1292
- error?: CentrifugoError$1;
1293
- result?: CentrifugoChannelsResult$1;
1292
+ error?: CentrifugoError$1 | null;
1293
+ result?: CentrifugoChannelsResult$1 | null;
1294
1294
  }
1295
1295
  /**
1296
1296
  * Request to get channel history.
@@ -1302,7 +1302,7 @@ interface CentrifugoHistoryRequestRequest$1 {
1302
1302
  channel: string;
1303
1303
  /** Maximum number of messages to return */
1304
1304
  limit?: number | null;
1305
- since?: CentrifugoStreamPosition$1;
1305
+ since?: CentrifugoStreamPosition$1 | null;
1306
1306
  /** Reverse message order (newest first) */
1307
1307
  reverse?: boolean | null;
1308
1308
  }
@@ -1312,8 +1312,8 @@ interface CentrifugoHistoryRequestRequest$1 {
1312
1312
  * Response model (includes read-only fields).
1313
1313
  */
1314
1314
  interface CentrifugoHistoryResponse$1 {
1315
- error?: CentrifugoError$1;
1316
- result?: CentrifugoHistoryResult$1;
1315
+ error?: CentrifugoError$1 | null;
1316
+ result?: CentrifugoHistoryResult$1 | null;
1317
1317
  }
1318
1318
  /**
1319
1319
  * Server info response.
@@ -1321,8 +1321,8 @@ interface CentrifugoHistoryResponse$1 {
1321
1321
  * Response model (includes read-only fields).
1322
1322
  */
1323
1323
  interface CentrifugoInfoResponse$1 {
1324
- error?: CentrifugoError$1;
1325
- result?: CentrifugoInfoResult$1;
1324
+ error?: CentrifugoError$1 | null;
1325
+ result?: CentrifugoInfoResult$1 | null;
1326
1326
  }
1327
1327
  /**
1328
1328
  * Request to get channel presence.
@@ -1339,8 +1339,8 @@ interface CentrifugoPresenceRequestRequest$1 {
1339
1339
  * Response model (includes read-only fields).
1340
1340
  */
1341
1341
  interface CentrifugoPresenceResponse$1 {
1342
- error?: CentrifugoError$1;
1343
- result?: CentrifugoPresenceResult$1;
1342
+ error?: CentrifugoError$1 | null;
1343
+ result?: CentrifugoPresenceResult$1 | null;
1344
1344
  }
1345
1345
  /**
1346
1346
  * Request to get channel presence statistics.
@@ -1357,8 +1357,8 @@ interface CentrifugoPresenceStatsRequestRequest$1 {
1357
1357
  * Response model (includes read-only fields).
1358
1358
  */
1359
1359
  interface CentrifugoPresenceStatsResponse$1 {
1360
- error?: CentrifugoError$1;
1361
- result?: CentrifugoPresenceStatsResult$1;
1360
+ error?: CentrifugoError$1 | null;
1361
+ result?: CentrifugoPresenceStatsResult$1 | null;
1362
1362
  }
1363
1363
  /**
1364
1364
  * Centrifugo API error structure.
@@ -1450,7 +1450,7 @@ interface CentrifugoChannelInfo$1 {
1450
1450
  interface CentrifugoPublication$1 {
1451
1451
  /** Message payload */
1452
1452
  data: Record<string, any>;
1453
- info?: CentrifugoClientInfo$1;
1453
+ info?: CentrifugoClientInfo$1 | null;
1454
1454
  /** Message offset in channel stream */
1455
1455
  offset: number;
1456
1456
  /** Optional message tags */
@@ -1478,8 +1478,8 @@ interface CentrifugoNodeInfo$1 {
1478
1478
  uptime: number;
1479
1479
  /** Total number of subscriptions */
1480
1480
  num_subs: number;
1481
- metrics?: CentrifugoMetrics$1;
1482
- process?: CentrifugoProcess$1;
1481
+ metrics?: CentrifugoMetrics$1 | null;
1482
+ process?: CentrifugoProcess$1 | null;
1483
1483
  }
1484
1484
  /**
1485
1485
  * Information about connected client.
@@ -2003,15 +2003,15 @@ type CentrifugoChannelsRequestRequest = z.infer<typeof CentrifugoChannelsRequest
2003
2003
  * List of active channels response.
2004
2004
  */
2005
2005
  declare const CentrifugoChannelsResponseSchema: z.ZodObject<{
2006
- error: z.ZodOptional<z.ZodObject<{
2006
+ error: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2007
2007
  code: z.ZodOptional<z.ZodInt>;
2008
2008
  message: z.ZodOptional<z.ZodString>;
2009
- }, z.core.$strip>>;
2010
- result: z.ZodOptional<z.ZodObject<{
2009
+ }, z.core.$strip>>>;
2010
+ result: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2011
2011
  channels: z.ZodRecord<z.ZodString, z.ZodObject<{
2012
2012
  num_clients: z.ZodInt;
2013
2013
  }, z.core.$strip>>;
2014
- }, z.core.$strip>>;
2014
+ }, z.core.$strip>>>;
2015
2015
  }, z.core.$strip>;
2016
2016
  /**
2017
2017
  * Infer TypeScript type from Zod schema
@@ -2112,10 +2112,10 @@ type CentrifugoHealthCheck = z.infer<typeof CentrifugoHealthCheckSchema>;
2112
2112
  declare const CentrifugoHistoryRequestRequestSchema: z.ZodObject<{
2113
2113
  channel: z.ZodString;
2114
2114
  limit: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
2115
- since: z.ZodOptional<z.ZodObject<{
2115
+ since: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2116
2116
  offset: z.ZodInt;
2117
2117
  epoch: z.ZodString;
2118
- }, z.core.$strip>>;
2118
+ }, z.core.$strip>>>;
2119
2119
  reverse: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2120
2120
  }, z.core.$strip>;
2121
2121
  /**
@@ -2134,25 +2134,25 @@ type CentrifugoHistoryRequestRequest = z.infer<typeof CentrifugoHistoryRequestRe
2134
2134
  * Channel history response.
2135
2135
  */
2136
2136
  declare const CentrifugoHistoryResponseSchema: z.ZodObject<{
2137
- error: z.ZodOptional<z.ZodObject<{
2137
+ error: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2138
2138
  code: z.ZodOptional<z.ZodInt>;
2139
2139
  message: z.ZodOptional<z.ZodString>;
2140
- }, z.core.$strip>>;
2141
- result: z.ZodOptional<z.ZodObject<{
2140
+ }, z.core.$strip>>>;
2141
+ result: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2142
2142
  publications: z.ZodArray<z.ZodObject<{
2143
2143
  data: z.ZodRecord<z.ZodString, z.ZodAny>;
2144
- info: z.ZodOptional<z.ZodObject<{
2144
+ info: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2145
2145
  user: z.ZodString;
2146
2146
  client: z.ZodString;
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
- }, z.core.$strip>>;
2149
+ }, z.core.$strip>>>;
2150
2150
  offset: z.ZodInt;
2151
2151
  tags: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
2152
2152
  }, z.core.$strip>>;
2153
2153
  epoch: z.ZodString;
2154
2154
  offset: z.ZodInt;
2155
- }, z.core.$strip>>;
2155
+ }, z.core.$strip>>>;
2156
2156
  }, z.core.$strip>;
2157
2157
  /**
2158
2158
  * Infer TypeScript type from Zod schema
@@ -2172,12 +2172,12 @@ type CentrifugoHistoryResponse = z.infer<typeof CentrifugoHistoryResponseSchema>
2172
2172
  declare const CentrifugoHistoryResultSchema: z.ZodObject<{
2173
2173
  publications: z.ZodArray<z.ZodObject<{
2174
2174
  data: z.ZodRecord<z.ZodString, z.ZodAny>;
2175
- info: z.ZodOptional<z.ZodObject<{
2175
+ info: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2176
2176
  user: z.ZodString;
2177
2177
  client: z.ZodString;
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
- }, z.core.$strip>>;
2180
+ }, z.core.$strip>>>;
2181
2181
  offset: z.ZodInt;
2182
2182
  tags: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
2183
2183
  }, z.core.$strip>>;
@@ -2200,11 +2200,11 @@ type CentrifugoHistoryResult = z.infer<typeof CentrifugoHistoryResultSchema>;
2200
2200
  * Server info response.
2201
2201
  */
2202
2202
  declare const CentrifugoInfoResponseSchema: z.ZodObject<{
2203
- error: z.ZodOptional<z.ZodObject<{
2203
+ error: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2204
2204
  code: z.ZodOptional<z.ZodInt>;
2205
2205
  message: z.ZodOptional<z.ZodString>;
2206
- }, z.core.$strip>>;
2207
- result: z.ZodOptional<z.ZodObject<{
2206
+ }, z.core.$strip>>>;
2207
+ result: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2208
2208
  nodes: z.ZodArray<z.ZodObject<{
2209
2209
  uid: z.ZodString;
2210
2210
  name: z.ZodString;
@@ -2214,16 +2214,16 @@ declare const CentrifugoInfoResponseSchema: z.ZodObject<{
2214
2214
  num_channels: z.ZodInt;
2215
2215
  uptime: z.ZodInt;
2216
2216
  num_subs: z.ZodInt;
2217
- metrics: z.ZodOptional<z.ZodObject<{
2217
+ metrics: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2218
2218
  interval: z.ZodNumber;
2219
2219
  items: z.ZodRecord<z.ZodString, z.ZodNumber>;
2220
- }, z.core.$strip>>;
2221
- process: z.ZodOptional<z.ZodObject<{
2220
+ }, z.core.$strip>>>;
2221
+ process: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2222
2222
  cpu: z.ZodNumber;
2223
2223
  rss: z.ZodInt;
2224
- }, z.core.$strip>>;
2224
+ }, z.core.$strip>>>;
2225
2225
  }, z.core.$strip>>;
2226
- }, z.core.$strip>>;
2226
+ }, z.core.$strip>>>;
2227
2227
  }, z.core.$strip>;
2228
2228
  /**
2229
2229
  * Infer TypeScript type from Zod schema
@@ -2250,14 +2250,14 @@ declare const CentrifugoInfoResultSchema: z.ZodObject<{
2250
2250
  num_channels: z.ZodInt;
2251
2251
  uptime: z.ZodInt;
2252
2252
  num_subs: z.ZodInt;
2253
- metrics: z.ZodOptional<z.ZodObject<{
2253
+ metrics: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2254
2254
  interval: z.ZodNumber;
2255
2255
  items: z.ZodRecord<z.ZodString, z.ZodNumber>;
2256
- }, z.core.$strip>>;
2257
- process: z.ZodOptional<z.ZodObject<{
2256
+ }, z.core.$strip>>>;
2257
+ process: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2258
2258
  cpu: z.ZodNumber;
2259
2259
  rss: z.ZodInt;
2260
- }, z.core.$strip>>;
2260
+ }, z.core.$strip>>>;
2261
2261
  }, z.core.$strip>>;
2262
2262
  }, z.core.$strip>;
2263
2263
  /**
@@ -2303,14 +2303,14 @@ declare const CentrifugoNodeInfoSchema: z.ZodObject<{
2303
2303
  num_channels: z.ZodInt;
2304
2304
  uptime: z.ZodInt;
2305
2305
  num_subs: z.ZodInt;
2306
- metrics: z.ZodOptional<z.ZodObject<{
2306
+ metrics: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2307
2307
  interval: z.ZodNumber;
2308
2308
  items: z.ZodRecord<z.ZodString, z.ZodNumber>;
2309
- }, z.core.$strip>>;
2310
- process: z.ZodOptional<z.ZodObject<{
2309
+ }, z.core.$strip>>>;
2310
+ process: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2311
2311
  cpu: z.ZodNumber;
2312
2312
  rss: z.ZodInt;
2313
- }, z.core.$strip>>;
2313
+ }, z.core.$strip>>>;
2314
2314
  }, z.core.$strip>;
2315
2315
  /**
2316
2316
  * Infer TypeScript type from Zod schema
@@ -2371,18 +2371,18 @@ type CentrifugoPresenceRequestRequest = z.infer<typeof CentrifugoPresenceRequest
2371
2371
  * Channel presence response.
2372
2372
  */
2373
2373
  declare const CentrifugoPresenceResponseSchema: z.ZodObject<{
2374
- error: z.ZodOptional<z.ZodObject<{
2374
+ error: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2375
2375
  code: z.ZodOptional<z.ZodInt>;
2376
2376
  message: z.ZodOptional<z.ZodString>;
2377
- }, z.core.$strip>>;
2378
- result: z.ZodOptional<z.ZodObject<{
2377
+ }, z.core.$strip>>>;
2378
+ result: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2379
2379
  presence: z.ZodRecord<z.ZodString, z.ZodObject<{
2380
2380
  user: z.ZodString;
2381
2381
  client: z.ZodString;
2382
2382
  conn_info: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
2383
2383
  chan_info: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
2384
2384
  }, z.core.$strip>>;
2385
- }, z.core.$strip>>;
2385
+ }, z.core.$strip>>>;
2386
2386
  }, z.core.$strip>;
2387
2387
  /**
2388
2388
  * Infer TypeScript type from Zod schema
@@ -2441,14 +2441,14 @@ type CentrifugoPresenceStatsRequestRequest = z.infer<typeof CentrifugoPresenceSt
2441
2441
  * Channel presence stats response.
2442
2442
  */
2443
2443
  declare const CentrifugoPresenceStatsResponseSchema: z.ZodObject<{
2444
- error: z.ZodOptional<z.ZodObject<{
2444
+ error: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2445
2445
  code: z.ZodOptional<z.ZodInt>;
2446
2446
  message: z.ZodOptional<z.ZodString>;
2447
- }, z.core.$strip>>;
2448
- result: z.ZodOptional<z.ZodObject<{
2447
+ }, z.core.$strip>>>;
2448
+ result: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2449
2449
  num_clients: z.ZodInt;
2450
2450
  num_users: z.ZodInt;
2451
- }, z.core.$strip>>;
2451
+ }, z.core.$strip>>>;
2452
2452
  }, z.core.$strip>;
2453
2453
  /**
2454
2454
  * Infer TypeScript type from Zod schema
@@ -2505,12 +2505,12 @@ type CentrifugoProcess = z.infer<typeof CentrifugoProcessSchema>;
2505
2505
  */
2506
2506
  declare const CentrifugoPublicationSchema: z.ZodObject<{
2507
2507
  data: z.ZodRecord<z.ZodString, z.ZodAny>;
2508
- info: z.ZodOptional<z.ZodObject<{
2508
+ info: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2509
2509
  user: z.ZodString;
2510
2510
  client: z.ZodString;
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
- }, z.core.$strip>>;
2513
+ }, z.core.$strip>>>;
2514
2514
  offset: z.ZodInt;
2515
2515
  tags: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
2516
2516
  }, z.core.$strip>;
package/dist/clients.d.ts CHANGED
@@ -1289,8 +1289,8 @@ interface CentrifugoChannelsRequestRequest$1 {
1289
1289
  * Response model (includes read-only fields).
1290
1290
  */
1291
1291
  interface CentrifugoChannelsResponse$1 {
1292
- error?: CentrifugoError$1;
1293
- result?: CentrifugoChannelsResult$1;
1292
+ error?: CentrifugoError$1 | null;
1293
+ result?: CentrifugoChannelsResult$1 | null;
1294
1294
  }
1295
1295
  /**
1296
1296
  * Request to get channel history.
@@ -1302,7 +1302,7 @@ interface CentrifugoHistoryRequestRequest$1 {
1302
1302
  channel: string;
1303
1303
  /** Maximum number of messages to return */
1304
1304
  limit?: number | null;
1305
- since?: CentrifugoStreamPosition$1;
1305
+ since?: CentrifugoStreamPosition$1 | null;
1306
1306
  /** Reverse message order (newest first) */
1307
1307
  reverse?: boolean | null;
1308
1308
  }
@@ -1312,8 +1312,8 @@ interface CentrifugoHistoryRequestRequest$1 {
1312
1312
  * Response model (includes read-only fields).
1313
1313
  */
1314
1314
  interface CentrifugoHistoryResponse$1 {
1315
- error?: CentrifugoError$1;
1316
- result?: CentrifugoHistoryResult$1;
1315
+ error?: CentrifugoError$1 | null;
1316
+ result?: CentrifugoHistoryResult$1 | null;
1317
1317
  }
1318
1318
  /**
1319
1319
  * Server info response.
@@ -1321,8 +1321,8 @@ interface CentrifugoHistoryResponse$1 {
1321
1321
  * Response model (includes read-only fields).
1322
1322
  */
1323
1323
  interface CentrifugoInfoResponse$1 {
1324
- error?: CentrifugoError$1;
1325
- result?: CentrifugoInfoResult$1;
1324
+ error?: CentrifugoError$1 | null;
1325
+ result?: CentrifugoInfoResult$1 | null;
1326
1326
  }
1327
1327
  /**
1328
1328
  * Request to get channel presence.
@@ -1339,8 +1339,8 @@ interface CentrifugoPresenceRequestRequest$1 {
1339
1339
  * Response model (includes read-only fields).
1340
1340
  */
1341
1341
  interface CentrifugoPresenceResponse$1 {
1342
- error?: CentrifugoError$1;
1343
- result?: CentrifugoPresenceResult$1;
1342
+ error?: CentrifugoError$1 | null;
1343
+ result?: CentrifugoPresenceResult$1 | null;
1344
1344
  }
1345
1345
  /**
1346
1346
  * Request to get channel presence statistics.
@@ -1357,8 +1357,8 @@ interface CentrifugoPresenceStatsRequestRequest$1 {
1357
1357
  * Response model (includes read-only fields).
1358
1358
  */
1359
1359
  interface CentrifugoPresenceStatsResponse$1 {
1360
- error?: CentrifugoError$1;
1361
- result?: CentrifugoPresenceStatsResult$1;
1360
+ error?: CentrifugoError$1 | null;
1361
+ result?: CentrifugoPresenceStatsResult$1 | null;
1362
1362
  }
1363
1363
  /**
1364
1364
  * Centrifugo API error structure.
@@ -1450,7 +1450,7 @@ interface CentrifugoChannelInfo$1 {
1450
1450
  interface CentrifugoPublication$1 {
1451
1451
  /** Message payload */
1452
1452
  data: Record<string, any>;
1453
- info?: CentrifugoClientInfo$1;
1453
+ info?: CentrifugoClientInfo$1 | null;
1454
1454
  /** Message offset in channel stream */
1455
1455
  offset: number;
1456
1456
  /** Optional message tags */
@@ -1478,8 +1478,8 @@ interface CentrifugoNodeInfo$1 {
1478
1478
  uptime: number;
1479
1479
  /** Total number of subscriptions */
1480
1480
  num_subs: number;
1481
- metrics?: CentrifugoMetrics$1;
1482
- process?: CentrifugoProcess$1;
1481
+ metrics?: CentrifugoMetrics$1 | null;
1482
+ process?: CentrifugoProcess$1 | null;
1483
1483
  }
1484
1484
  /**
1485
1485
  * Information about connected client.
@@ -2003,15 +2003,15 @@ type CentrifugoChannelsRequestRequest = z.infer<typeof CentrifugoChannelsRequest
2003
2003
  * List of active channels response.
2004
2004
  */
2005
2005
  declare const CentrifugoChannelsResponseSchema: z.ZodObject<{
2006
- error: z.ZodOptional<z.ZodObject<{
2006
+ error: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2007
2007
  code: z.ZodOptional<z.ZodInt>;
2008
2008
  message: z.ZodOptional<z.ZodString>;
2009
- }, z.core.$strip>>;
2010
- result: z.ZodOptional<z.ZodObject<{
2009
+ }, z.core.$strip>>>;
2010
+ result: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2011
2011
  channels: z.ZodRecord<z.ZodString, z.ZodObject<{
2012
2012
  num_clients: z.ZodInt;
2013
2013
  }, z.core.$strip>>;
2014
- }, z.core.$strip>>;
2014
+ }, z.core.$strip>>>;
2015
2015
  }, z.core.$strip>;
2016
2016
  /**
2017
2017
  * Infer TypeScript type from Zod schema
@@ -2112,10 +2112,10 @@ type CentrifugoHealthCheck = z.infer<typeof CentrifugoHealthCheckSchema>;
2112
2112
  declare const CentrifugoHistoryRequestRequestSchema: z.ZodObject<{
2113
2113
  channel: z.ZodString;
2114
2114
  limit: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
2115
- since: z.ZodOptional<z.ZodObject<{
2115
+ since: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2116
2116
  offset: z.ZodInt;
2117
2117
  epoch: z.ZodString;
2118
- }, z.core.$strip>>;
2118
+ }, z.core.$strip>>>;
2119
2119
  reverse: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2120
2120
  }, z.core.$strip>;
2121
2121
  /**
@@ -2134,25 +2134,25 @@ type CentrifugoHistoryRequestRequest = z.infer<typeof CentrifugoHistoryRequestRe
2134
2134
  * Channel history response.
2135
2135
  */
2136
2136
  declare const CentrifugoHistoryResponseSchema: z.ZodObject<{
2137
- error: z.ZodOptional<z.ZodObject<{
2137
+ error: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2138
2138
  code: z.ZodOptional<z.ZodInt>;
2139
2139
  message: z.ZodOptional<z.ZodString>;
2140
- }, z.core.$strip>>;
2141
- result: z.ZodOptional<z.ZodObject<{
2140
+ }, z.core.$strip>>>;
2141
+ result: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2142
2142
  publications: z.ZodArray<z.ZodObject<{
2143
2143
  data: z.ZodRecord<z.ZodString, z.ZodAny>;
2144
- info: z.ZodOptional<z.ZodObject<{
2144
+ info: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2145
2145
  user: z.ZodString;
2146
2146
  client: z.ZodString;
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
- }, z.core.$strip>>;
2149
+ }, z.core.$strip>>>;
2150
2150
  offset: z.ZodInt;
2151
2151
  tags: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
2152
2152
  }, z.core.$strip>>;
2153
2153
  epoch: z.ZodString;
2154
2154
  offset: z.ZodInt;
2155
- }, z.core.$strip>>;
2155
+ }, z.core.$strip>>>;
2156
2156
  }, z.core.$strip>;
2157
2157
  /**
2158
2158
  * Infer TypeScript type from Zod schema
@@ -2172,12 +2172,12 @@ type CentrifugoHistoryResponse = z.infer<typeof CentrifugoHistoryResponseSchema>
2172
2172
  declare const CentrifugoHistoryResultSchema: z.ZodObject<{
2173
2173
  publications: z.ZodArray<z.ZodObject<{
2174
2174
  data: z.ZodRecord<z.ZodString, z.ZodAny>;
2175
- info: z.ZodOptional<z.ZodObject<{
2175
+ info: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2176
2176
  user: z.ZodString;
2177
2177
  client: z.ZodString;
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
- }, z.core.$strip>>;
2180
+ }, z.core.$strip>>>;
2181
2181
  offset: z.ZodInt;
2182
2182
  tags: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
2183
2183
  }, z.core.$strip>>;
@@ -2200,11 +2200,11 @@ type CentrifugoHistoryResult = z.infer<typeof CentrifugoHistoryResultSchema>;
2200
2200
  * Server info response.
2201
2201
  */
2202
2202
  declare const CentrifugoInfoResponseSchema: z.ZodObject<{
2203
- error: z.ZodOptional<z.ZodObject<{
2203
+ error: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2204
2204
  code: z.ZodOptional<z.ZodInt>;
2205
2205
  message: z.ZodOptional<z.ZodString>;
2206
- }, z.core.$strip>>;
2207
- result: z.ZodOptional<z.ZodObject<{
2206
+ }, z.core.$strip>>>;
2207
+ result: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2208
2208
  nodes: z.ZodArray<z.ZodObject<{
2209
2209
  uid: z.ZodString;
2210
2210
  name: z.ZodString;
@@ -2214,16 +2214,16 @@ declare const CentrifugoInfoResponseSchema: z.ZodObject<{
2214
2214
  num_channels: z.ZodInt;
2215
2215
  uptime: z.ZodInt;
2216
2216
  num_subs: z.ZodInt;
2217
- metrics: z.ZodOptional<z.ZodObject<{
2217
+ metrics: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2218
2218
  interval: z.ZodNumber;
2219
2219
  items: z.ZodRecord<z.ZodString, z.ZodNumber>;
2220
- }, z.core.$strip>>;
2221
- process: z.ZodOptional<z.ZodObject<{
2220
+ }, z.core.$strip>>>;
2221
+ process: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2222
2222
  cpu: z.ZodNumber;
2223
2223
  rss: z.ZodInt;
2224
- }, z.core.$strip>>;
2224
+ }, z.core.$strip>>>;
2225
2225
  }, z.core.$strip>>;
2226
- }, z.core.$strip>>;
2226
+ }, z.core.$strip>>>;
2227
2227
  }, z.core.$strip>;
2228
2228
  /**
2229
2229
  * Infer TypeScript type from Zod schema
@@ -2250,14 +2250,14 @@ declare const CentrifugoInfoResultSchema: z.ZodObject<{
2250
2250
  num_channels: z.ZodInt;
2251
2251
  uptime: z.ZodInt;
2252
2252
  num_subs: z.ZodInt;
2253
- metrics: z.ZodOptional<z.ZodObject<{
2253
+ metrics: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2254
2254
  interval: z.ZodNumber;
2255
2255
  items: z.ZodRecord<z.ZodString, z.ZodNumber>;
2256
- }, z.core.$strip>>;
2257
- process: z.ZodOptional<z.ZodObject<{
2256
+ }, z.core.$strip>>>;
2257
+ process: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2258
2258
  cpu: z.ZodNumber;
2259
2259
  rss: z.ZodInt;
2260
- }, z.core.$strip>>;
2260
+ }, z.core.$strip>>>;
2261
2261
  }, z.core.$strip>>;
2262
2262
  }, z.core.$strip>;
2263
2263
  /**
@@ -2303,14 +2303,14 @@ declare const CentrifugoNodeInfoSchema: z.ZodObject<{
2303
2303
  num_channels: z.ZodInt;
2304
2304
  uptime: z.ZodInt;
2305
2305
  num_subs: z.ZodInt;
2306
- metrics: z.ZodOptional<z.ZodObject<{
2306
+ metrics: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2307
2307
  interval: z.ZodNumber;
2308
2308
  items: z.ZodRecord<z.ZodString, z.ZodNumber>;
2309
- }, z.core.$strip>>;
2310
- process: z.ZodOptional<z.ZodObject<{
2309
+ }, z.core.$strip>>>;
2310
+ process: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2311
2311
  cpu: z.ZodNumber;
2312
2312
  rss: z.ZodInt;
2313
- }, z.core.$strip>>;
2313
+ }, z.core.$strip>>>;
2314
2314
  }, z.core.$strip>;
2315
2315
  /**
2316
2316
  * Infer TypeScript type from Zod schema
@@ -2371,18 +2371,18 @@ type CentrifugoPresenceRequestRequest = z.infer<typeof CentrifugoPresenceRequest
2371
2371
  * Channel presence response.
2372
2372
  */
2373
2373
  declare const CentrifugoPresenceResponseSchema: z.ZodObject<{
2374
- error: z.ZodOptional<z.ZodObject<{
2374
+ error: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2375
2375
  code: z.ZodOptional<z.ZodInt>;
2376
2376
  message: z.ZodOptional<z.ZodString>;
2377
- }, z.core.$strip>>;
2378
- result: z.ZodOptional<z.ZodObject<{
2377
+ }, z.core.$strip>>>;
2378
+ result: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2379
2379
  presence: z.ZodRecord<z.ZodString, z.ZodObject<{
2380
2380
  user: z.ZodString;
2381
2381
  client: z.ZodString;
2382
2382
  conn_info: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
2383
2383
  chan_info: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
2384
2384
  }, z.core.$strip>>;
2385
- }, z.core.$strip>>;
2385
+ }, z.core.$strip>>>;
2386
2386
  }, z.core.$strip>;
2387
2387
  /**
2388
2388
  * Infer TypeScript type from Zod schema
@@ -2441,14 +2441,14 @@ type CentrifugoPresenceStatsRequestRequest = z.infer<typeof CentrifugoPresenceSt
2441
2441
  * Channel presence stats response.
2442
2442
  */
2443
2443
  declare const CentrifugoPresenceStatsResponseSchema: z.ZodObject<{
2444
- error: z.ZodOptional<z.ZodObject<{
2444
+ error: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2445
2445
  code: z.ZodOptional<z.ZodInt>;
2446
2446
  message: z.ZodOptional<z.ZodString>;
2447
- }, z.core.$strip>>;
2448
- result: z.ZodOptional<z.ZodObject<{
2447
+ }, z.core.$strip>>>;
2448
+ result: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2449
2449
  num_clients: z.ZodInt;
2450
2450
  num_users: z.ZodInt;
2451
- }, z.core.$strip>>;
2451
+ }, z.core.$strip>>>;
2452
2452
  }, z.core.$strip>;
2453
2453
  /**
2454
2454
  * Infer TypeScript type from Zod schema
@@ -2505,12 +2505,12 @@ type CentrifugoProcess = z.infer<typeof CentrifugoProcessSchema>;
2505
2505
  */
2506
2506
  declare const CentrifugoPublicationSchema: z.ZodObject<{
2507
2507
  data: z.ZodRecord<z.ZodString, z.ZodAny>;
2508
- info: z.ZodOptional<z.ZodObject<{
2508
+ info: z.ZodOptional<z.ZodNullable<z.ZodObject<{
2509
2509
  user: z.ZodString;
2510
2510
  client: z.ZodString;
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
- }, z.core.$strip>>;
2513
+ }, z.core.$strip>>>;
2514
2514
  offset: z.ZodInt;
2515
2515
  tags: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodAny>>>;
2516
2516
  }, z.core.$strip>;
package/dist/clients.mjs CHANGED
@@ -2688,8 +2688,8 @@ var CentrifugoErrorSchema = z25.object({
2688
2688
 
2689
2689
  // src/generated/cfg_centrifugo/_utils/schemas/CentrifugoChannelsResponse.schema.ts
2690
2690
  var CentrifugoChannelsResponseSchema = z26.object({
2691
- error: CentrifugoErrorSchema.optional(),
2692
- result: CentrifugoChannelsResultSchema.optional()
2691
+ error: CentrifugoErrorSchema.nullable().optional(),
2692
+ result: CentrifugoChannelsResultSchema.nullable().optional()
2693
2693
  });
2694
2694
 
2695
2695
  // src/generated/cfg_centrifugo/_utils/schemas/CentrifugoClientInfo.schema.ts
@@ -2724,7 +2724,7 @@ var CentrifugoStreamPositionSchema = z29.object({
2724
2724
  var CentrifugoHistoryRequestRequestSchema = z30.object({
2725
2725
  channel: z30.string(),
2726
2726
  limit: z30.int().nullable().optional(),
2727
- since: CentrifugoStreamPositionSchema.optional(),
2727
+ since: CentrifugoStreamPositionSchema.nullable().optional(),
2728
2728
  reverse: z30.boolean().nullable().optional()
2729
2729
  });
2730
2730
 
@@ -2738,7 +2738,7 @@ import { z as z32 } from "zod";
2738
2738
  import { z as z31 } from "zod";
2739
2739
  var CentrifugoPublicationSchema = z31.object({
2740
2740
  data: z31.record(z31.string(), z31.any()),
2741
- info: CentrifugoClientInfoSchema.optional(),
2741
+ info: CentrifugoClientInfoSchema.nullable().optional(),
2742
2742
  offset: z31.int(),
2743
2743
  tags: z31.record(z31.string(), z31.any()).nullable().optional()
2744
2744
  });
@@ -2752,8 +2752,8 @@ var CentrifugoHistoryResultSchema = z32.object({
2752
2752
 
2753
2753
  // src/generated/cfg_centrifugo/_utils/schemas/CentrifugoHistoryResponse.schema.ts
2754
2754
  var CentrifugoHistoryResponseSchema = z33.object({
2755
- error: CentrifugoErrorSchema.optional(),
2756
- result: CentrifugoHistoryResultSchema.optional()
2755
+ error: CentrifugoErrorSchema.nullable().optional(),
2756
+ result: CentrifugoHistoryResultSchema.nullable().optional()
2757
2757
  });
2758
2758
 
2759
2759
  // src/generated/cfg_centrifugo/_utils/schemas/CentrifugoInfoResponse.schema.ts
@@ -2789,8 +2789,8 @@ var CentrifugoNodeInfoSchema = z36.object({
2789
2789
  num_channels: z36.int(),
2790
2790
  uptime: z36.int(),
2791
2791
  num_subs: z36.int(),
2792
- metrics: CentrifugoMetricsSchema.optional(),
2793
- process: CentrifugoProcessSchema.optional()
2792
+ metrics: CentrifugoMetricsSchema.nullable().optional(),
2793
+ process: CentrifugoProcessSchema.nullable().optional()
2794
2794
  });
2795
2795
 
2796
2796
  // src/generated/cfg_centrifugo/_utils/schemas/CentrifugoInfoResult.schema.ts
@@ -2800,8 +2800,8 @@ var CentrifugoInfoResultSchema = z37.object({
2800
2800
 
2801
2801
  // src/generated/cfg_centrifugo/_utils/schemas/CentrifugoInfoResponse.schema.ts
2802
2802
  var CentrifugoInfoResponseSchema = z38.object({
2803
- error: CentrifugoErrorSchema.optional(),
2804
- result: CentrifugoInfoResultSchema.optional()
2803
+ error: CentrifugoErrorSchema.nullable().optional(),
2804
+ result: CentrifugoInfoResultSchema.nullable().optional()
2805
2805
  });
2806
2806
 
2807
2807
  // src/generated/cfg_centrifugo/_utils/schemas/CentrifugoOverviewStats.schema.ts
@@ -2834,8 +2834,8 @@ var CentrifugoPresenceResultSchema = z41.object({
2834
2834
 
2835
2835
  // src/generated/cfg_centrifugo/_utils/schemas/CentrifugoPresenceResponse.schema.ts
2836
2836
  var CentrifugoPresenceResponseSchema = z42.object({
2837
- error: CentrifugoErrorSchema.optional(),
2838
- result: CentrifugoPresenceResultSchema.optional()
2837
+ error: CentrifugoErrorSchema.nullable().optional(),
2838
+ result: CentrifugoPresenceResultSchema.nullable().optional()
2839
2839
  });
2840
2840
 
2841
2841
  // src/generated/cfg_centrifugo/_utils/schemas/CentrifugoPresenceStatsRequestRequest.schema.ts
@@ -2856,8 +2856,8 @@ var CentrifugoPresenceStatsResultSchema = z44.object({
2856
2856
 
2857
2857
  // src/generated/cfg_centrifugo/_utils/schemas/CentrifugoPresenceStatsResponse.schema.ts
2858
2858
  var CentrifugoPresenceStatsResponseSchema = z45.object({
2859
- error: CentrifugoErrorSchema.optional(),
2860
- result: CentrifugoPresenceStatsResultSchema.optional()
2859
+ error: CentrifugoErrorSchema.nullable().optional(),
2860
+ result: CentrifugoPresenceStatsResultSchema.nullable().optional()
2861
2861
  });
2862
2862
 
2863
2863
  // src/generated/cfg_centrifugo/_utils/schemas/ChannelList.schema.ts