@djangocfg/api 2.1.42 → 2.1.43
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.cjs +42 -44
- package/dist/auth.cjs.map +1 -1
- package/dist/auth.mjs +50 -45
- package/dist/auth.mjs.map +1 -1
- package/dist/clients.cjs +1842 -1842
- package/dist/clients.cjs.map +1 -1
- package/dist/clients.d.cts +1627 -1837
- package/dist/clients.d.ts +1627 -1837
- package/dist/clients.mjs +1840 -1840
- package/dist/clients.mjs.map +1 -1
- package/dist/hooks.cjs.map +1 -1
- package/dist/hooks.d.cts +0 -66
- package/dist/hooks.d.ts +0 -66
- package/dist/hooks.mjs.map +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +0 -210
- package/dist/index.d.ts +0 -210
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
- package/src/auth/context/AccountsContext.tsx +15 -15
- package/src/auth/context/AuthContext.tsx +6 -5
- package/src/auth/hooks/useAuthForm.ts +1 -1
- package/src/auth/hooks/useAuthGuard.ts +2 -1
- package/src/auth/hooks/useAutoAuth.ts +4 -2
- package/src/auth/hooks/useGithubAuth.ts +3 -2
- package/src/auth/hooks/useLocalStorage.ts +1 -0
- package/src/auth/hooks/useProfileCache.ts +1 -1
- package/src/auth/hooks/useSessionStorage.ts +1 -0
- package/src/clients.ts +1 -1
- package/src/generated/cfg_accounts/CLAUDE.md +92 -0
- package/src/generated/cfg_accounts/_utils/fetchers/accounts.ts +1 -8
- package/src/generated/cfg_accounts/_utils/fetchers/accounts__auth.ts +1 -8
- package/src/generated/cfg_accounts/_utils/fetchers/accounts__oauth.ts +1 -8
- package/src/generated/cfg_accounts/_utils/fetchers/accounts__user_profile.ts +1 -8
- package/src/generated/cfg_accounts/_utils/fetchers/index.ts +1 -8
- package/src/generated/cfg_accounts/_utils/hooks/accounts.ts +1 -8
- package/src/generated/cfg_accounts/_utils/hooks/accounts__auth.ts +1 -8
- package/src/generated/cfg_accounts/_utils/hooks/accounts__oauth.ts +1 -8
- package/src/generated/cfg_accounts/_utils/hooks/accounts__user_profile.ts +1 -8
- package/src/generated/cfg_accounts/_utils/hooks/index.ts +1 -8
- package/src/generated/cfg_accounts/_utils/schemas/index.ts +1 -8
- package/src/generated/cfg_accounts/accounts/index.ts +1 -8
- package/src/generated/cfg_accounts/accounts/models.ts +1 -8
- package/src/generated/cfg_accounts/accounts__auth/index.ts +1 -8
- package/src/generated/cfg_accounts/accounts__auth/models.ts +1 -8
- package/src/generated/cfg_accounts/accounts__oauth/index.ts +1 -8
- package/src/generated/cfg_accounts/accounts__oauth/models.ts +1 -8
- package/src/generated/cfg_accounts/accounts__user_profile/index.ts +1 -8
- package/src/generated/cfg_accounts/accounts__user_profile/models.ts +1 -8
- package/src/generated/cfg_accounts/api-instance.ts +1 -8
- package/src/generated/cfg_accounts/enums.ts +1 -8
- package/src/generated/cfg_accounts/errors.ts +1 -8
- package/src/generated/cfg_accounts/http.ts +1 -8
- package/src/generated/cfg_accounts/index.ts +1 -8
- package/src/generated/cfg_accounts/logger.ts +1 -8
- package/src/generated/cfg_accounts/retry.ts +1 -8
- package/src/generated/cfg_accounts/storage.ts +1 -8
- package/src/generated/cfg_accounts/validation-events.ts +1 -8
- package/src/generated/cfg_centrifugo/CLAUDE.md +92 -0
- package/src/generated/cfg_centrifugo/_utils/fetchers/centrifugo__centrifugo_admin_api.ts +1 -8
- package/src/generated/cfg_centrifugo/_utils/fetchers/centrifugo__centrifugo_auth.ts +1 -8
- package/src/generated/cfg_centrifugo/_utils/fetchers/centrifugo__centrifugo_monitoring.ts +1 -8
- package/src/generated/cfg_centrifugo/_utils/fetchers/centrifugo__centrifugo_testing.ts +1 -8
- package/src/generated/cfg_centrifugo/_utils/fetchers/index.ts +1 -8
- package/src/generated/cfg_centrifugo/_utils/hooks/centrifugo__centrifugo_admin_api.ts +1 -8
- package/src/generated/cfg_centrifugo/_utils/hooks/centrifugo__centrifugo_auth.ts +1 -8
- package/src/generated/cfg_centrifugo/_utils/hooks/centrifugo__centrifugo_monitoring.ts +1 -8
- package/src/generated/cfg_centrifugo/_utils/hooks/centrifugo__centrifugo_testing.ts +1 -8
- package/src/generated/cfg_centrifugo/_utils/hooks/index.ts +1 -8
- package/src/generated/cfg_centrifugo/_utils/schemas/index.ts +1 -8
- package/src/generated/cfg_centrifugo/api-instance.ts +1 -8
- package/src/generated/cfg_centrifugo/centrifugo__centrifugo_admin_api/index.ts +1 -8
- package/src/generated/cfg_centrifugo/centrifugo__centrifugo_admin_api/models.ts +1 -8
- package/src/generated/cfg_centrifugo/centrifugo__centrifugo_auth/index.ts +1 -8
- package/src/generated/cfg_centrifugo/centrifugo__centrifugo_auth/models.ts +1 -8
- package/src/generated/cfg_centrifugo/centrifugo__centrifugo_monitoring/index.ts +1 -8
- package/src/generated/cfg_centrifugo/centrifugo__centrifugo_monitoring/models.ts +1 -8
- package/src/generated/cfg_centrifugo/centrifugo__centrifugo_testing/index.ts +1 -8
- package/src/generated/cfg_centrifugo/centrifugo__centrifugo_testing/models.ts +1 -8
- package/src/generated/cfg_centrifugo/errors.ts +1 -8
- package/src/generated/cfg_centrifugo/http.ts +1 -8
- package/src/generated/cfg_centrifugo/index.ts +1 -8
- package/src/generated/cfg_centrifugo/logger.ts +1 -8
- package/src/generated/cfg_centrifugo/retry.ts +1 -8
- package/src/generated/cfg_centrifugo/storage.ts +1 -8
- package/src/generated/cfg_centrifugo/validation-events.ts +1 -8
- package/src/generated/cfg_webpush/CLAUDE.md +70 -0
- package/src/generated/cfg_webpush/_utils/fetchers/index.ts +1 -8
- package/src/generated/cfg_webpush/_utils/fetchers/webpush__web_push.ts +1 -8
- package/src/generated/cfg_webpush/_utils/hooks/index.ts +1 -8
- package/src/generated/cfg_webpush/_utils/hooks/webpush__web_push.ts +1 -8
- package/src/generated/cfg_webpush/_utils/schemas/index.ts +1 -8
- package/src/generated/cfg_webpush/api-instance.ts +1 -8
- package/src/generated/cfg_webpush/errors.ts +1 -8
- package/src/generated/cfg_webpush/http.ts +1 -8
- package/src/generated/cfg_webpush/index.ts +1 -8
- package/src/generated/cfg_webpush/logger.ts +1 -8
- package/src/generated/cfg_webpush/retry.ts +1 -8
- package/src/generated/cfg_webpush/storage.ts +1 -8
- package/src/generated/cfg_webpush/validation-events.ts +1 -8
- package/src/generated/cfg_webpush/webpush__web_push/index.ts +1 -8
- package/src/generated/cfg_webpush/webpush__web_push/models.ts +1 -8
package/dist/index.d.ts
CHANGED
|
@@ -1,14 +1,6 @@
|
|
|
1
1
|
import { ConsolaInstance } from 'consola';
|
|
2
2
|
import { z, ZodError } from 'zod';
|
|
3
3
|
|
|
4
|
-
/**
|
|
5
|
-
* AUTO-GENERATED FILE - DO NOT EDIT
|
|
6
|
-
*
|
|
7
|
-
* This file is automatically generated by DjangoCFG.
|
|
8
|
-
* Any manual changes will be lost when the code is regenerated.
|
|
9
|
-
*
|
|
10
|
-
* @see https://djangocfg.com/docs/features/modules/django-client/overview/
|
|
11
|
-
*/
|
|
12
4
|
/**
|
|
13
5
|
*
|
|
14
6
|
* Request model (no read-only fields).
|
|
@@ -41,14 +33,6 @@ declare class Auth {
|
|
|
41
33
|
accountsTokenRefreshCreate(data: TokenRefreshRequest$1): Promise<TokenRefresh$1>;
|
|
42
34
|
}
|
|
43
35
|
|
|
44
|
-
/**
|
|
45
|
-
* AUTO-GENERATED FILE - DO NOT EDIT
|
|
46
|
-
*
|
|
47
|
-
* This file is automatically generated by DjangoCFG.
|
|
48
|
-
* Any manual changes will be lost when the code is regenerated.
|
|
49
|
-
*
|
|
50
|
-
* @see https://djangocfg.com/docs/features/modules/django-client/overview/
|
|
51
|
-
*/
|
|
52
36
|
/**
|
|
53
37
|
* OAuth provider name (github, google, etc.)
|
|
54
38
|
* * `github` - GitHub
|
|
@@ -94,15 +78,6 @@ declare namespace enums {
|
|
|
94
78
|
export { enums_OAuthConnectionProvider as OAuthConnectionProvider, enums_OAuthDisconnectRequestRequestProvider as OAuthDisconnectRequestRequestProvider, enums_OTPRequestRequestChannel as OTPRequestRequestChannel, enums_OTPVerifyRequestChannel as OTPVerifyRequestChannel };
|
|
95
79
|
}
|
|
96
80
|
|
|
97
|
-
/**
|
|
98
|
-
* AUTO-GENERATED FILE - DO NOT EDIT
|
|
99
|
-
*
|
|
100
|
-
* This file is automatically generated by DjangoCFG.
|
|
101
|
-
* Any manual changes will be lost when the code is regenerated.
|
|
102
|
-
*
|
|
103
|
-
* @see https://djangocfg.com/docs/features/modules/django-client/overview/
|
|
104
|
-
*/
|
|
105
|
-
|
|
106
81
|
/**
|
|
107
82
|
* Request to disconnect OAuth provider.
|
|
108
83
|
*
|
|
@@ -231,14 +206,6 @@ declare class Oauth {
|
|
|
231
206
|
accountsOauthProvidersRetrieve(): Promise<OAuthProvidersResponse$1>;
|
|
232
207
|
}
|
|
233
208
|
|
|
234
|
-
/**
|
|
235
|
-
* AUTO-GENERATED FILE - DO NOT EDIT
|
|
236
|
-
*
|
|
237
|
-
* This file is automatically generated by DjangoCFG.
|
|
238
|
-
* Any manual changes will be lost when the code is regenerated.
|
|
239
|
-
*
|
|
240
|
-
* @see https://djangocfg.com/docs/features/modules/django-client/overview/
|
|
241
|
-
*/
|
|
242
209
|
/**
|
|
243
210
|
* Serializer for user details.
|
|
244
211
|
*
|
|
@@ -360,15 +327,6 @@ declare class UserProfile {
|
|
|
360
327
|
accountsProfileUpdatePartialUpdate(data?: PatchedUserProfileUpdateRequest$1): Promise<User$2>;
|
|
361
328
|
}
|
|
362
329
|
|
|
363
|
-
/**
|
|
364
|
-
* AUTO-GENERATED FILE - DO NOT EDIT
|
|
365
|
-
*
|
|
366
|
-
* This file is automatically generated by DjangoCFG.
|
|
367
|
-
* Any manual changes will be lost when the code is regenerated.
|
|
368
|
-
*
|
|
369
|
-
* @see https://djangocfg.com/docs/features/modules/django-client/overview/
|
|
370
|
-
*/
|
|
371
|
-
|
|
372
330
|
/**
|
|
373
331
|
* Serializer for OTP request.
|
|
374
332
|
*
|
|
@@ -498,14 +456,6 @@ declare class Accounts {
|
|
|
498
456
|
otpVerifyCreate(data: OTPVerifyRequest$1): Promise<OTPVerifyResponse$1>;
|
|
499
457
|
}
|
|
500
458
|
|
|
501
|
-
/**
|
|
502
|
-
* AUTO-GENERATED FILE - DO NOT EDIT
|
|
503
|
-
*
|
|
504
|
-
* This file is automatically generated by DjangoCFG.
|
|
505
|
-
* Any manual changes will be lost when the code is regenerated.
|
|
506
|
-
*
|
|
507
|
-
* @see https://djangocfg.com/docs/features/modules/django-client/overview/
|
|
508
|
-
*/
|
|
509
459
|
/**
|
|
510
460
|
* HTTP Client Adapter Pattern
|
|
511
461
|
*
|
|
@@ -542,14 +492,6 @@ declare class FetchAdapter$1 implements HttpClientAdapter$1 {
|
|
|
542
492
|
request<T = any>(request: HttpRequest$1): Promise<HttpResponse$1<T>>;
|
|
543
493
|
}
|
|
544
494
|
|
|
545
|
-
/**
|
|
546
|
-
* AUTO-GENERATED FILE - DO NOT EDIT
|
|
547
|
-
*
|
|
548
|
-
* This file is automatically generated by DjangoCFG.
|
|
549
|
-
* Any manual changes will be lost when the code is regenerated.
|
|
550
|
-
*
|
|
551
|
-
* @see https://djangocfg.com/docs/features/modules/django-client/overview/
|
|
552
|
-
*/
|
|
553
495
|
/**
|
|
554
496
|
* API Logger with Consola
|
|
555
497
|
* Beautiful console logging for API requests and responses
|
|
@@ -668,14 +610,6 @@ declare class APILogger$1 {
|
|
|
668
610
|
withTag(tag: string): ConsolaInstance;
|
|
669
611
|
}
|
|
670
612
|
|
|
671
|
-
/**
|
|
672
|
-
* AUTO-GENERATED FILE - DO NOT EDIT
|
|
673
|
-
*
|
|
674
|
-
* This file is automatically generated by DjangoCFG.
|
|
675
|
-
* Any manual changes will be lost when the code is regenerated.
|
|
676
|
-
*
|
|
677
|
-
* @see https://djangocfg.com/docs/features/modules/django-client/overview/
|
|
678
|
-
*/
|
|
679
613
|
/**
|
|
680
614
|
* Retry Configuration and Utilities
|
|
681
615
|
*
|
|
@@ -820,14 +754,6 @@ declare class APIClient$1 {
|
|
|
820
754
|
private _makeRequest;
|
|
821
755
|
}
|
|
822
756
|
|
|
823
|
-
/**
|
|
824
|
-
* AUTO-GENERATED FILE - DO NOT EDIT
|
|
825
|
-
*
|
|
826
|
-
* This file is automatically generated by DjangoCFG.
|
|
827
|
-
* Any manual changes will be lost when the code is regenerated.
|
|
828
|
-
*
|
|
829
|
-
* @see https://djangocfg.com/docs/features/modules/django-client/overview/
|
|
830
|
-
*/
|
|
831
757
|
/**
|
|
832
758
|
* Storage adapters for cross-platform token storage.
|
|
833
759
|
*
|
|
@@ -1296,14 +1222,6 @@ declare const UserProfileUpdateRequestSchema: z.ZodObject<{
|
|
|
1296
1222
|
*/
|
|
1297
1223
|
type UserProfileUpdateRequest = z.infer<typeof UserProfileUpdateRequestSchema>;
|
|
1298
1224
|
|
|
1299
|
-
/**
|
|
1300
|
-
* AUTO-GENERATED FILE - DO NOT EDIT
|
|
1301
|
-
*
|
|
1302
|
-
* This file is automatically generated by DjangoCFG.
|
|
1303
|
-
* Any manual changes will be lost when the code is regenerated.
|
|
1304
|
-
*
|
|
1305
|
-
* @see https://djangocfg.com/docs/features/modules/django-client/overview/
|
|
1306
|
-
*/
|
|
1307
1225
|
/**
|
|
1308
1226
|
* Zod Schemas - Runtime validation and type inference
|
|
1309
1227
|
*
|
|
@@ -1364,14 +1282,6 @@ declare namespace index$5 {
|
|
|
1364
1282
|
export { type index$5_CentrifugoToken as CentrifugoToken, index$5_CentrifugoTokenSchema as CentrifugoTokenSchema, type index$5_OAuthAuthorizeRequestRequest as OAuthAuthorizeRequestRequest, index$5_OAuthAuthorizeRequestRequestSchema as OAuthAuthorizeRequestRequestSchema, type index$5_OAuthAuthorizeResponse as OAuthAuthorizeResponse, index$5_OAuthAuthorizeResponseSchema as OAuthAuthorizeResponseSchema, type index$5_OAuthCallbackRequestRequest as OAuthCallbackRequestRequest, index$5_OAuthCallbackRequestRequestSchema as OAuthCallbackRequestRequestSchema, type index$5_OAuthConnection as OAuthConnection, index$5_OAuthConnectionSchema as OAuthConnectionSchema, type index$5_OAuthDisconnectRequestRequest as OAuthDisconnectRequestRequest, index$5_OAuthDisconnectRequestRequestSchema as OAuthDisconnectRequestRequestSchema, type index$5_OAuthError as OAuthError, index$5_OAuthErrorSchema as OAuthErrorSchema, type index$5_OAuthProvidersResponse as OAuthProvidersResponse, index$5_OAuthProvidersResponseSchema as OAuthProvidersResponseSchema, type index$5_OAuthTokenResponse as OAuthTokenResponse, index$5_OAuthTokenResponseSchema as OAuthTokenResponseSchema, type index$5_OTPErrorResponse as OTPErrorResponse, index$5_OTPErrorResponseSchema as OTPErrorResponseSchema, type index$5_OTPRequestRequest as OTPRequestRequest, index$5_OTPRequestRequestSchema as OTPRequestRequestSchema, type index$5_OTPRequestResponse as OTPRequestResponse, index$5_OTPRequestResponseSchema as OTPRequestResponseSchema, type index$5_OTPVerifyRequest as OTPVerifyRequest, index$5_OTPVerifyRequestSchema as OTPVerifyRequestSchema, type index$5_OTPVerifyResponse as OTPVerifyResponse, index$5_OTPVerifyResponseSchema as OTPVerifyResponseSchema, type index$5_PatchedUserProfileUpdateRequest as PatchedUserProfileUpdateRequest, index$5_PatchedUserProfileUpdateRequestSchema as PatchedUserProfileUpdateRequestSchema, type index$5_TokenRefresh as TokenRefresh, type index$5_TokenRefreshRequest as TokenRefreshRequest, index$5_TokenRefreshRequestSchema as TokenRefreshRequestSchema, index$5_TokenRefreshSchema as TokenRefreshSchema, type index$5_User as User, type index$5_UserProfileUpdateRequest as UserProfileUpdateRequest, index$5_UserProfileUpdateRequestSchema as UserProfileUpdateRequestSchema, index$5_UserSchema as UserSchema };
|
|
1365
1283
|
}
|
|
1366
1284
|
|
|
1367
|
-
/**
|
|
1368
|
-
* AUTO-GENERATED FILE - DO NOT EDIT
|
|
1369
|
-
*
|
|
1370
|
-
* This file is automatically generated by DjangoCFG.
|
|
1371
|
-
* Any manual changes will be lost when the code is regenerated.
|
|
1372
|
-
*
|
|
1373
|
-
* @see https://djangocfg.com/docs/features/modules/django-client/overview/
|
|
1374
|
-
*/
|
|
1375
1285
|
/**
|
|
1376
1286
|
* Zod Validation Events - Browser CustomEvent integration
|
|
1377
1287
|
*
|
|
@@ -1547,14 +1457,6 @@ declare function updateAccountsProfileUpdateUpdate(data: UserProfileUpdateReques
|
|
|
1547
1457
|
*/
|
|
1548
1458
|
declare function partialUpdateAccountsProfileUpdatePartialUpdate(data?: PatchedUserProfileUpdateRequest, client?: any): Promise<User>;
|
|
1549
1459
|
|
|
1550
|
-
/**
|
|
1551
|
-
* AUTO-GENERATED FILE - DO NOT EDIT
|
|
1552
|
-
*
|
|
1553
|
-
* This file is automatically generated by DjangoCFG.
|
|
1554
|
-
* Any manual changes will be lost when the code is regenerated.
|
|
1555
|
-
*
|
|
1556
|
-
* @see https://djangocfg.com/docs/features/modules/django-client/overview/
|
|
1557
|
-
*/
|
|
1558
1460
|
/**
|
|
1559
1461
|
* Typed Fetchers - Universal API functions
|
|
1560
1462
|
*
|
|
@@ -1600,14 +1502,6 @@ declare namespace index$4 {
|
|
|
1600
1502
|
export { index$4_createAccountsOauthDisconnectCreate as createAccountsOauthDisconnectCreate, index$4_createAccountsOauthGithubAuthorizeCreate as createAccountsOauthGithubAuthorizeCreate, index$4_createAccountsOauthGithubCallbackCreate as createAccountsOauthGithubCallbackCreate, index$4_createAccountsOtpRequestCreate as createAccountsOtpRequestCreate, index$4_createAccountsOtpVerifyCreate as createAccountsOtpVerifyCreate, index$4_createAccountsProfileAvatarCreate as createAccountsProfileAvatarCreate, index$4_createAccountsTokenRefreshCreate as createAccountsTokenRefreshCreate, index$4_getAccountsOauthConnectionsList as getAccountsOauthConnectionsList, index$4_getAccountsOauthProvidersRetrieve as getAccountsOauthProvidersRetrieve, index$4_getAccountsProfileRetrieve as getAccountsProfileRetrieve, index$4_partialUpdateAccountsProfilePartialPartialUpdate as partialUpdateAccountsProfilePartialPartialUpdate, index$4_partialUpdateAccountsProfilePartialUpdate as partialUpdateAccountsProfilePartialUpdate, index$4_partialUpdateAccountsProfileUpdatePartialUpdate as partialUpdateAccountsProfileUpdatePartialUpdate, index$4_updateAccountsProfileUpdateUpdate as updateAccountsProfileUpdateUpdate };
|
|
1601
1503
|
}
|
|
1602
1504
|
|
|
1603
|
-
/**
|
|
1604
|
-
* AUTO-GENERATED FILE - DO NOT EDIT
|
|
1605
|
-
*
|
|
1606
|
-
* This file is automatically generated by DjangoCFG.
|
|
1607
|
-
* Any manual changes will be lost when the code is regenerated.
|
|
1608
|
-
*
|
|
1609
|
-
* @see https://djangocfg.com/docs/features/modules/django-client/overview/
|
|
1610
|
-
*/
|
|
1611
1505
|
/**
|
|
1612
1506
|
* Global API Instance - Singleton configuration
|
|
1613
1507
|
*
|
|
@@ -1691,14 +1585,6 @@ declare function clearAPITokens$1(): void;
|
|
|
1691
1585
|
*/
|
|
1692
1586
|
declare function resetAPI$1(): void;
|
|
1693
1587
|
|
|
1694
|
-
/**
|
|
1695
|
-
* AUTO-GENERATED FILE - DO NOT EDIT
|
|
1696
|
-
*
|
|
1697
|
-
* This file is automatically generated by DjangoCFG.
|
|
1698
|
-
* Any manual changes will be lost when the code is regenerated.
|
|
1699
|
-
*
|
|
1700
|
-
* @see https://djangocfg.com/docs/features/modules/django-client/overview/
|
|
1701
|
-
*/
|
|
1702
1588
|
/**
|
|
1703
1589
|
* API Error Classes
|
|
1704
1590
|
*
|
|
@@ -1757,14 +1643,6 @@ declare class NetworkError$1 extends Error {
|
|
|
1757
1643
|
constructor(message: string, url: string, originalError?: Error);
|
|
1758
1644
|
}
|
|
1759
1645
|
|
|
1760
|
-
/**
|
|
1761
|
-
* AUTO-GENERATED FILE - DO NOT EDIT
|
|
1762
|
-
*
|
|
1763
|
-
* This file is automatically generated by DjangoCFG.
|
|
1764
|
-
* Any manual changes will be lost when the code is regenerated.
|
|
1765
|
-
*
|
|
1766
|
-
* @see https://djangocfg.com/docs/features/modules/django-client/overview/
|
|
1767
|
-
*/
|
|
1768
1646
|
/**
|
|
1769
1647
|
* Django CFG API - API Client with JWT Management
|
|
1770
1648
|
*
|
|
@@ -1955,14 +1833,6 @@ type ConnectionTokenResponse = z.infer<typeof ConnectionTokenResponseSchema>;
|
|
|
1955
1833
|
*/
|
|
1956
1834
|
declare function getCentrifugoAuthTokenRetrieve(client?: any): Promise<ConnectionTokenResponse>;
|
|
1957
1835
|
|
|
1958
|
-
/**
|
|
1959
|
-
* AUTO-GENERATED FILE - DO NOT EDIT
|
|
1960
|
-
*
|
|
1961
|
-
* This file is automatically generated by DjangoCFG.
|
|
1962
|
-
* Any manual changes will be lost when the code is regenerated.
|
|
1963
|
-
*
|
|
1964
|
-
* @see https://djangocfg.com/docs/features/modules/django-client/overview/
|
|
1965
|
-
*/
|
|
1966
1836
|
/**
|
|
1967
1837
|
* Request serializer for sending push notifications.
|
|
1968
1838
|
*
|
|
@@ -2054,14 +1924,6 @@ declare class WebPush {
|
|
|
2054
1924
|
webpushVapidRetrieve(): Promise<VapidPublicKeyResponse$1>;
|
|
2055
1925
|
}
|
|
2056
1926
|
|
|
2057
|
-
/**
|
|
2058
|
-
* AUTO-GENERATED FILE - DO NOT EDIT
|
|
2059
|
-
*
|
|
2060
|
-
* This file is automatically generated by DjangoCFG.
|
|
2061
|
-
* Any manual changes will be lost when the code is regenerated.
|
|
2062
|
-
*
|
|
2063
|
-
* @see https://djangocfg.com/docs/features/modules/django-client/overview/
|
|
2064
|
-
*/
|
|
2065
1927
|
/**
|
|
2066
1928
|
* HTTP Client Adapter Pattern
|
|
2067
1929
|
*
|
|
@@ -2098,14 +1960,6 @@ declare class FetchAdapter implements HttpClientAdapter {
|
|
|
2098
1960
|
request<T = any>(request: HttpRequest): Promise<HttpResponse<T>>;
|
|
2099
1961
|
}
|
|
2100
1962
|
|
|
2101
|
-
/**
|
|
2102
|
-
* AUTO-GENERATED FILE - DO NOT EDIT
|
|
2103
|
-
*
|
|
2104
|
-
* This file is automatically generated by DjangoCFG.
|
|
2105
|
-
* Any manual changes will be lost when the code is regenerated.
|
|
2106
|
-
*
|
|
2107
|
-
* @see https://djangocfg.com/docs/features/modules/django-client/overview/
|
|
2108
|
-
*/
|
|
2109
1963
|
/**
|
|
2110
1964
|
* API Logger with Consola
|
|
2111
1965
|
* Beautiful console logging for API requests and responses
|
|
@@ -2224,14 +2078,6 @@ declare class APILogger {
|
|
|
2224
2078
|
withTag(tag: string): ConsolaInstance;
|
|
2225
2079
|
}
|
|
2226
2080
|
|
|
2227
|
-
/**
|
|
2228
|
-
* AUTO-GENERATED FILE - DO NOT EDIT
|
|
2229
|
-
*
|
|
2230
|
-
* This file is automatically generated by DjangoCFG.
|
|
2231
|
-
* Any manual changes will be lost when the code is regenerated.
|
|
2232
|
-
*
|
|
2233
|
-
* @see https://djangocfg.com/docs/features/modules/django-client/overview/
|
|
2234
|
-
*/
|
|
2235
2081
|
/**
|
|
2236
2082
|
* Retry Configuration and Utilities
|
|
2237
2083
|
*
|
|
@@ -2373,14 +2219,6 @@ declare class APIClient {
|
|
|
2373
2219
|
private _makeRequest;
|
|
2374
2220
|
}
|
|
2375
2221
|
|
|
2376
|
-
/**
|
|
2377
|
-
* AUTO-GENERATED FILE - DO NOT EDIT
|
|
2378
|
-
*
|
|
2379
|
-
* This file is automatically generated by DjangoCFG.
|
|
2380
|
-
* Any manual changes will be lost when the code is regenerated.
|
|
2381
|
-
*
|
|
2382
|
-
* @see https://djangocfg.com/docs/features/modules/django-client/overview/
|
|
2383
|
-
*/
|
|
2384
2222
|
/**
|
|
2385
2223
|
* Storage adapters for cross-platform token storage.
|
|
2386
2224
|
*
|
|
@@ -2533,14 +2371,6 @@ declare const VapidPublicKeyResponseSchema: z.ZodObject<{
|
|
|
2533
2371
|
*/
|
|
2534
2372
|
type VapidPublicKeyResponse = z.infer<typeof VapidPublicKeyResponseSchema>;
|
|
2535
2373
|
|
|
2536
|
-
/**
|
|
2537
|
-
* AUTO-GENERATED FILE - DO NOT EDIT
|
|
2538
|
-
*
|
|
2539
|
-
* This file is automatically generated by DjangoCFG.
|
|
2540
|
-
* Any manual changes will be lost when the code is regenerated.
|
|
2541
|
-
*
|
|
2542
|
-
* @see https://djangocfg.com/docs/features/modules/django-client/overview/
|
|
2543
|
-
*/
|
|
2544
2374
|
/**
|
|
2545
2375
|
* Zod Schemas - Runtime validation and type inference
|
|
2546
2376
|
*
|
|
@@ -2573,14 +2403,6 @@ declare namespace index$2 {
|
|
|
2573
2403
|
export { type index$2_SendPushRequestRequest as SendPushRequestRequest, index$2_SendPushRequestRequestSchema as SendPushRequestRequestSchema, type index$2_SendPushResponse as SendPushResponse, index$2_SendPushResponseSchema as SendPushResponseSchema, type index$2_SubscribeRequestRequest as SubscribeRequestRequest, index$2_SubscribeRequestRequestSchema as SubscribeRequestRequestSchema, type index$2_SubscribeResponse as SubscribeResponse, index$2_SubscribeResponseSchema as SubscribeResponseSchema, type index$2_VapidPublicKeyResponse as VapidPublicKeyResponse, index$2_VapidPublicKeyResponseSchema as VapidPublicKeyResponseSchema };
|
|
2574
2404
|
}
|
|
2575
2405
|
|
|
2576
|
-
/**
|
|
2577
|
-
* AUTO-GENERATED FILE - DO NOT EDIT
|
|
2578
|
-
*
|
|
2579
|
-
* This file is automatically generated by DjangoCFG.
|
|
2580
|
-
* Any manual changes will be lost when the code is regenerated.
|
|
2581
|
-
*
|
|
2582
|
-
* @see https://djangocfg.com/docs/features/modules/django-client/overview/
|
|
2583
|
-
*/
|
|
2584
2406
|
/**
|
|
2585
2407
|
* Zod Validation Events - Browser CustomEvent integration
|
|
2586
2408
|
*
|
|
@@ -2676,14 +2498,6 @@ declare function createWebpushSubscribeCreate(data: SubscribeRequestRequest, cli
|
|
|
2676
2498
|
*/
|
|
2677
2499
|
declare function getWebpushVapidRetrieve(client?: any): Promise<VapidPublicKeyResponse>;
|
|
2678
2500
|
|
|
2679
|
-
/**
|
|
2680
|
-
* AUTO-GENERATED FILE - DO NOT EDIT
|
|
2681
|
-
*
|
|
2682
|
-
* This file is automatically generated by DjangoCFG.
|
|
2683
|
-
* Any manual changes will be lost when the code is regenerated.
|
|
2684
|
-
*
|
|
2685
|
-
* @see https://djangocfg.com/docs/features/modules/django-client/overview/
|
|
2686
|
-
*/
|
|
2687
2501
|
/**
|
|
2688
2502
|
* Typed Fetchers - Universal API functions
|
|
2689
2503
|
*
|
|
@@ -2718,14 +2532,6 @@ declare namespace index$1 {
|
|
|
2718
2532
|
export { index$1_createWebpushSendCreate as createWebpushSendCreate, index$1_createWebpushSubscribeCreate as createWebpushSubscribeCreate, index$1_getWebpushVapidRetrieve as getWebpushVapidRetrieve };
|
|
2719
2533
|
}
|
|
2720
2534
|
|
|
2721
|
-
/**
|
|
2722
|
-
* AUTO-GENERATED FILE - DO NOT EDIT
|
|
2723
|
-
*
|
|
2724
|
-
* This file is automatically generated by DjangoCFG.
|
|
2725
|
-
* Any manual changes will be lost when the code is regenerated.
|
|
2726
|
-
*
|
|
2727
|
-
* @see https://djangocfg.com/docs/features/modules/django-client/overview/
|
|
2728
|
-
*/
|
|
2729
2535
|
/**
|
|
2730
2536
|
* Global API Instance - Singleton configuration
|
|
2731
2537
|
*
|
|
@@ -2809,14 +2615,6 @@ declare function clearAPITokens(): void;
|
|
|
2809
2615
|
*/
|
|
2810
2616
|
declare function resetAPI(): void;
|
|
2811
2617
|
|
|
2812
|
-
/**
|
|
2813
|
-
* AUTO-GENERATED FILE - DO NOT EDIT
|
|
2814
|
-
*
|
|
2815
|
-
* This file is automatically generated by DjangoCFG.
|
|
2816
|
-
* Any manual changes will be lost when the code is regenerated.
|
|
2817
|
-
*
|
|
2818
|
-
* @see https://djangocfg.com/docs/features/modules/django-client/overview/
|
|
2819
|
-
*/
|
|
2820
2618
|
/**
|
|
2821
2619
|
* API Error Classes
|
|
2822
2620
|
*
|
|
@@ -2875,14 +2673,6 @@ declare class NetworkError extends Error {
|
|
|
2875
2673
|
constructor(message: string, url: string, originalError?: Error);
|
|
2876
2674
|
}
|
|
2877
2675
|
|
|
2878
|
-
/**
|
|
2879
|
-
* AUTO-GENERATED FILE - DO NOT EDIT
|
|
2880
|
-
*
|
|
2881
|
-
* This file is automatically generated by DjangoCFG.
|
|
2882
|
-
* Any manual changes will be lost when the code is regenerated.
|
|
2883
|
-
*
|
|
2884
|
-
* @see https://djangocfg.com/docs/features/modules/django-client/overview/
|
|
2885
|
-
*/
|
|
2886
2676
|
/**
|
|
2887
2677
|
* Django CFG API - API Client with JWT Management
|
|
2888
2678
|
*
|