@djangocfg/api 2.1.99 → 2.1.101
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 +333 -313
- package/dist/auth-server.cjs.map +1 -1
- package/dist/auth-server.mjs +333 -313
- package/dist/auth-server.mjs.map +1 -1
- package/dist/auth.cjs +471 -386
- package/dist/auth.cjs.map +1 -1
- package/dist/auth.d.cts +42 -1
- package/dist/auth.d.ts +42 -1
- package/dist/auth.mjs +471 -386
- package/dist/auth.mjs.map +1 -1
- package/dist/clients.cjs +458 -383
- package/dist/clients.cjs.map +1 -1
- package/dist/clients.d.cts +55 -1
- package/dist/clients.d.ts +55 -1
- package/dist/clients.mjs +458 -383
- package/dist/clients.mjs.map +1 -1
- package/dist/hooks.cjs +184 -111
- package/dist/hooks.cjs.map +1 -1
- package/dist/hooks.d.cts +48 -1
- package/dist/hooks.d.ts +48 -1
- package/dist/hooks.mjs +184 -111
- package/dist/hooks.mjs.map +1 -1
- package/dist/index.cjs +382 -313
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +58 -5
- package/dist/index.d.ts +58 -5
- package/dist/index.mjs +382 -313
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
- package/src/auth/context/AuthContext.tsx +31 -0
- package/src/auth/context/types.ts +4 -0
- package/src/auth/hooks/index.ts +7 -0
- package/src/auth/hooks/useDeleteAccount.ts +90 -0
- package/src/generated/cfg_accounts/CLAUDE.md +4 -3
- package/src/generated/cfg_accounts/_utils/fetchers/accounts__user_profile.ts +58 -0
- package/src/generated/cfg_accounts/_utils/hooks/accounts__user_profile.ts +19 -0
- package/src/generated/cfg_accounts/_utils/schemas/AccountDeleteResponse.schema.ts +20 -0
- package/src/generated/cfg_accounts/_utils/schemas/index.ts +1 -0
- package/src/generated/cfg_accounts/accounts__user_profile/client.ts +14 -0
- package/src/generated/cfg_accounts/accounts__user_profile/models.ts +12 -0
- package/src/generated/cfg_accounts/schema.json +69 -0
package/dist/index.d.cts
CHANGED
|
@@ -252,6 +252,17 @@ interface CfgAccountsProfileAvatarCreateRequest$1 {
|
|
|
252
252
|
/** Avatar image file (JPEG, PNG, GIF, WebP, max 5MB) */
|
|
253
253
|
avatar: File | Blob;
|
|
254
254
|
}
|
|
255
|
+
/**
|
|
256
|
+
* Response serializer for account deletion.
|
|
257
|
+
*
|
|
258
|
+
* Response model (includes read-only fields).
|
|
259
|
+
*/
|
|
260
|
+
interface AccountDeleteResponse$1 {
|
|
261
|
+
/** Whether the account was successfully deleted */
|
|
262
|
+
success: boolean;
|
|
263
|
+
/** Human-readable message about the deletion */
|
|
264
|
+
message: string;
|
|
265
|
+
}
|
|
255
266
|
/**
|
|
256
267
|
* Serializer for updating user profile.
|
|
257
268
|
*
|
|
@@ -293,7 +304,7 @@ interface CentrifugoToken$2 {
|
|
|
293
304
|
}
|
|
294
305
|
|
|
295
306
|
declare namespace models$2 {
|
|
296
|
-
export type { CentrifugoToken$2 as CentrifugoToken, CfgAccountsProfileAvatarCreateRequest$1 as CfgAccountsProfileAvatarCreateRequest, PatchedUserProfileUpdateRequest$1 as PatchedUserProfileUpdateRequest, User$2 as User, UserProfileUpdateRequest$1 as UserProfileUpdateRequest };
|
|
307
|
+
export type { AccountDeleteResponse$1 as AccountDeleteResponse, CentrifugoToken$2 as CentrifugoToken, CfgAccountsProfileAvatarCreateRequest$1 as CfgAccountsProfileAvatarCreateRequest, PatchedUserProfileUpdateRequest$1 as PatchedUserProfileUpdateRequest, User$2 as User, UserProfileUpdateRequest$1 as UserProfileUpdateRequest };
|
|
297
308
|
}
|
|
298
309
|
|
|
299
310
|
/**
|
|
@@ -315,6 +326,16 @@ declare class UserProfile {
|
|
|
315
326
|
* multipart/form-data with 'avatar' field.
|
|
316
327
|
*/
|
|
317
328
|
accountsProfileAvatarCreate(data: CfgAccountsProfileAvatarCreateRequest$1): Promise<User$2>;
|
|
329
|
+
/**
|
|
330
|
+
* Delete user account
|
|
331
|
+
*
|
|
332
|
+
* Permanently delete the current user's account. This operation: -
|
|
333
|
+
* Deactivates the account (user cannot log in) - Anonymizes personal data
|
|
334
|
+
* (GDPR compliance) - Frees up the email address for re-registration -
|
|
335
|
+
* Preserves audit trail The account can be restored by an administrator if
|
|
336
|
+
* needed.
|
|
337
|
+
*/
|
|
338
|
+
accountsProfileDeleteCreate(): Promise<AccountDeleteResponse$1>;
|
|
318
339
|
/**
|
|
319
340
|
* Partial update user profile
|
|
320
341
|
*
|
|
@@ -850,6 +871,25 @@ declare class MemoryStorageAdapter$1 implements StorageAdapter$1 {
|
|
|
850
871
|
removeItem(key: string): void;
|
|
851
872
|
}
|
|
852
873
|
|
|
874
|
+
/**
|
|
875
|
+
* Zod schema for AccountDeleteResponse
|
|
876
|
+
*
|
|
877
|
+
* This schema provides runtime validation and type inference.
|
|
878
|
+
* * Response serializer for account deletion.
|
|
879
|
+
* */
|
|
880
|
+
|
|
881
|
+
/**
|
|
882
|
+
* Response serializer for account deletion.
|
|
883
|
+
*/
|
|
884
|
+
declare const AccountDeleteResponseSchema: z.ZodObject<{
|
|
885
|
+
success: z.ZodBoolean;
|
|
886
|
+
message: z.ZodString;
|
|
887
|
+
}, z.core.$strip>;
|
|
888
|
+
/**
|
|
889
|
+
* Infer TypeScript type from Zod schema
|
|
890
|
+
*/
|
|
891
|
+
type AccountDeleteResponse = z.infer<typeof AccountDeleteResponseSchema>;
|
|
892
|
+
|
|
853
893
|
/**
|
|
854
894
|
* Zod schema for CentrifugoToken
|
|
855
895
|
*
|
|
@@ -1341,6 +1381,8 @@ type UserProfileUpdateRequest = z.infer<typeof UserProfileUpdateRequestSchema>;
|
|
|
1341
1381
|
* ```
|
|
1342
1382
|
*/
|
|
1343
1383
|
|
|
1384
|
+
type index$5_AccountDeleteResponse = AccountDeleteResponse;
|
|
1385
|
+
declare const index$5_AccountDeleteResponseSchema: typeof AccountDeleteResponseSchema;
|
|
1344
1386
|
type index$5_CentrifugoToken = CentrifugoToken;
|
|
1345
1387
|
declare const index$5_CentrifugoTokenSchema: typeof CentrifugoTokenSchema;
|
|
1346
1388
|
type index$5_CfgAccountsProfileAvatarCreateRequest = CfgAccountsProfileAvatarCreateRequest;
|
|
@@ -1382,7 +1424,7 @@ type index$5_UserProfileUpdateRequest = UserProfileUpdateRequest;
|
|
|
1382
1424
|
declare const index$5_UserProfileUpdateRequestSchema: typeof UserProfileUpdateRequestSchema;
|
|
1383
1425
|
declare const index$5_UserSchema: typeof UserSchema;
|
|
1384
1426
|
declare namespace index$5 {
|
|
1385
|
-
export { type index$5_CentrifugoToken as CentrifugoToken, index$5_CentrifugoTokenSchema as CentrifugoTokenSchema, type index$5_CfgAccountsProfileAvatarCreateRequest as CfgAccountsProfileAvatarCreateRequest, index$5_CfgAccountsProfileAvatarCreateRequestSchema as CfgAccountsProfileAvatarCreateRequestSchema, 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 };
|
|
1427
|
+
export { type index$5_AccountDeleteResponse as AccountDeleteResponse, index$5_AccountDeleteResponseSchema as AccountDeleteResponseSchema, type index$5_CentrifugoToken as CentrifugoToken, index$5_CentrifugoTokenSchema as CentrifugoTokenSchema, type index$5_CfgAccountsProfileAvatarCreateRequest as CfgAccountsProfileAvatarCreateRequest, index$5_CfgAccountsProfileAvatarCreateRequestSchema as CfgAccountsProfileAvatarCreateRequestSchema, 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 };
|
|
1386
1428
|
}
|
|
1387
1429
|
|
|
1388
1430
|
/**
|
|
@@ -1531,6 +1573,13 @@ declare function getAccountsProfileRetrieve(client?: any): Promise<User>;
|
|
|
1531
1573
|
* @path /cfg/accounts/profile/avatar/
|
|
1532
1574
|
*/
|
|
1533
1575
|
declare function createAccountsProfileAvatarCreate(data: CfgAccountsProfileAvatarCreateRequest, client?: any): Promise<User>;
|
|
1576
|
+
/**
|
|
1577
|
+
* Delete user account
|
|
1578
|
+
*
|
|
1579
|
+
* @method POST
|
|
1580
|
+
* @path /cfg/accounts/profile/delete/
|
|
1581
|
+
*/
|
|
1582
|
+
declare function createAccountsProfileDeleteCreate(client?: any): Promise<AccountDeleteResponse>;
|
|
1534
1583
|
/**
|
|
1535
1584
|
* Partial update user profile
|
|
1536
1585
|
*
|
|
@@ -1593,6 +1642,7 @@ declare const index$4_createAccountsOauthGithubCallbackCreate: typeof createAcco
|
|
|
1593
1642
|
declare const index$4_createAccountsOtpRequestCreate: typeof createAccountsOtpRequestCreate;
|
|
1594
1643
|
declare const index$4_createAccountsOtpVerifyCreate: typeof createAccountsOtpVerifyCreate;
|
|
1595
1644
|
declare const index$4_createAccountsProfileAvatarCreate: typeof createAccountsProfileAvatarCreate;
|
|
1645
|
+
declare const index$4_createAccountsProfileDeleteCreate: typeof createAccountsProfileDeleteCreate;
|
|
1596
1646
|
declare const index$4_createAccountsTokenRefreshCreate: typeof createAccountsTokenRefreshCreate;
|
|
1597
1647
|
declare const index$4_getAccountsOauthConnectionsList: typeof getAccountsOauthConnectionsList;
|
|
1598
1648
|
declare const index$4_getAccountsOauthProvidersRetrieve: typeof getAccountsOauthProvidersRetrieve;
|
|
@@ -1602,7 +1652,7 @@ declare const index$4_partialUpdateAccountsProfilePartialUpdate: typeof partialU
|
|
|
1602
1652
|
declare const index$4_partialUpdateAccountsProfileUpdatePartialUpdate: typeof partialUpdateAccountsProfileUpdatePartialUpdate;
|
|
1603
1653
|
declare const index$4_updateAccountsProfileUpdateUpdate: typeof updateAccountsProfileUpdateUpdate;
|
|
1604
1654
|
declare namespace index$4 {
|
|
1605
|
-
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 };
|
|
1655
|
+
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_createAccountsProfileDeleteCreate as createAccountsProfileDeleteCreate, 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 };
|
|
1606
1656
|
}
|
|
1607
1657
|
|
|
1608
1658
|
/**
|
|
@@ -1860,6 +1910,8 @@ declare class API$1 {
|
|
|
1860
1910
|
getSchemaPath(): string;
|
|
1861
1911
|
}
|
|
1862
1912
|
|
|
1913
|
+
type index$3_AccountDeleteResponse = AccountDeleteResponse;
|
|
1914
|
+
declare const index$3_AccountDeleteResponseSchema: typeof AccountDeleteResponseSchema;
|
|
1863
1915
|
type index$3_CentrifugoToken = CentrifugoToken;
|
|
1864
1916
|
declare const index$3_CentrifugoTokenSchema: typeof CentrifugoTokenSchema;
|
|
1865
1917
|
type index$3_CfgAccountsProfileAvatarCreateRequest = CfgAccountsProfileAvatarCreateRequest;
|
|
@@ -1906,6 +1958,7 @@ declare const index$3_createAccountsOauthGithubCallbackCreate: typeof createAcco
|
|
|
1906
1958
|
declare const index$3_createAccountsOtpRequestCreate: typeof createAccountsOtpRequestCreate;
|
|
1907
1959
|
declare const index$3_createAccountsOtpVerifyCreate: typeof createAccountsOtpVerifyCreate;
|
|
1908
1960
|
declare const index$3_createAccountsProfileAvatarCreate: typeof createAccountsProfileAvatarCreate;
|
|
1961
|
+
declare const index$3_createAccountsProfileDeleteCreate: typeof createAccountsProfileDeleteCreate;
|
|
1909
1962
|
declare const index$3_createAccountsTokenRefreshCreate: typeof createAccountsTokenRefreshCreate;
|
|
1910
1963
|
declare const index$3_getAccountsOauthConnectionsList: typeof getAccountsOauthConnectionsList;
|
|
1911
1964
|
declare const index$3_getAccountsOauthProvidersRetrieve: typeof getAccountsOauthProvidersRetrieve;
|
|
@@ -1915,7 +1968,7 @@ declare const index$3_partialUpdateAccountsProfilePartialUpdate: typeof partialU
|
|
|
1915
1968
|
declare const index$3_partialUpdateAccountsProfileUpdatePartialUpdate: typeof partialUpdateAccountsProfileUpdatePartialUpdate;
|
|
1916
1969
|
declare const index$3_updateAccountsProfileUpdateUpdate: typeof updateAccountsProfileUpdateUpdate;
|
|
1917
1970
|
declare namespace index$3 {
|
|
1918
|
-
export { API$1 as API, APIClient$1 as APIClient, APIError$1 as APIError, APILogger$1 as APILogger, type APIOptions$1 as APIOptions, models$1 as AccountsTypes, models$4 as AuthTypes, type index$3_CentrifugoToken as CentrifugoToken, index$3_CentrifugoTokenSchema as CentrifugoTokenSchema, type index$3_CfgAccountsProfileAvatarCreateRequest as CfgAccountsProfileAvatarCreateRequest, index$3_CfgAccountsProfileAvatarCreateRequestSchema as CfgAccountsProfileAvatarCreateRequestSchema, CookieStorageAdapter$1 as CookieStorageAdapter, DEFAULT_RETRY_CONFIG$1 as DEFAULT_RETRY_CONFIG, enums as Enums, type ErrorLog$1 as ErrorLog, type FailedAttemptInfo$1 as FailedAttemptInfo, FetchAdapter$1 as FetchAdapter, index$4 as Fetchers, type HttpClientAdapter$1 as HttpClientAdapter, type HttpRequest$1 as HttpRequest, type HttpResponse$1 as HttpResponse, LocalStorageAdapter$1 as LocalStorageAdapter, type LoggerConfig$1 as LoggerConfig, MemoryStorageAdapter$1 as MemoryStorageAdapter, NetworkError$1 as NetworkError, type index$3_OAuthAuthorizeRequestRequest as OAuthAuthorizeRequestRequest, index$3_OAuthAuthorizeRequestRequestSchema as OAuthAuthorizeRequestRequestSchema, type index$3_OAuthAuthorizeResponse as OAuthAuthorizeResponse, index$3_OAuthAuthorizeResponseSchema as OAuthAuthorizeResponseSchema, type index$3_OAuthCallbackRequestRequest as OAuthCallbackRequestRequest, index$3_OAuthCallbackRequestRequestSchema as OAuthCallbackRequestRequestSchema, type index$3_OAuthConnection as OAuthConnection, index$3_OAuthConnectionSchema as OAuthConnectionSchema, type index$3_OAuthDisconnectRequestRequest as OAuthDisconnectRequestRequest, index$3_OAuthDisconnectRequestRequestSchema as OAuthDisconnectRequestRequestSchema, type index$3_OAuthError as OAuthError, index$3_OAuthErrorSchema as OAuthErrorSchema, type index$3_OAuthProvidersResponse as OAuthProvidersResponse, index$3_OAuthProvidersResponseSchema as OAuthProvidersResponseSchema, type index$3_OAuthTokenResponse as OAuthTokenResponse, index$3_OAuthTokenResponseSchema as OAuthTokenResponseSchema, type index$3_OTPErrorResponse as OTPErrorResponse, index$3_OTPErrorResponseSchema as OTPErrorResponseSchema, type index$3_OTPRequestRequest as OTPRequestRequest, index$3_OTPRequestRequestSchema as OTPRequestRequestSchema, type index$3_OTPRequestResponse as OTPRequestResponse, index$3_OTPRequestResponseSchema as OTPRequestResponseSchema, type index$3_OTPVerifyRequest as OTPVerifyRequest, index$3_OTPVerifyRequestSchema as OTPVerifyRequestSchema, type index$3_OTPVerifyResponse as OTPVerifyResponse, index$3_OTPVerifyResponseSchema as OTPVerifyResponseSchema, models$3 as OauthTypes, type index$3_PatchedUserProfileUpdateRequest as PatchedUserProfileUpdateRequest, index$3_PatchedUserProfileUpdateRequestSchema as PatchedUserProfileUpdateRequestSchema, REFRESH_TOKEN_KEY$1 as REFRESH_TOKEN_KEY, type RequestLog$1 as RequestLog, type ResponseLog$1 as ResponseLog, type RetryConfig$1 as RetryConfig, index$5 as Schemas, type StorageAdapter$1 as StorageAdapter, TOKEN_KEY$1 as TOKEN_KEY, type index$3_TokenRefresh as TokenRefresh, type index$3_TokenRefreshRequest as TokenRefreshRequest, index$3_TokenRefreshRequestSchema as TokenRefreshRequestSchema, index$3_TokenRefreshSchema as TokenRefreshSchema, type index$3_User as User, models$2 as UserProfileTypes, type index$3_UserProfileUpdateRequest as UserProfileUpdateRequest, index$3_UserProfileUpdateRequestSchema as UserProfileUpdateRequestSchema, index$3_UserSchema as UserSchema, type ValidationErrorDetail$1 as ValidationErrorDetail, type ValidationErrorEvent$1 as ValidationErrorEvent, clearAPITokens$1 as clearAPITokens, configureAPI$1 as configureAPI, index$3_createAccountsOauthDisconnectCreate as createAccountsOauthDisconnectCreate, index$3_createAccountsOauthGithubAuthorizeCreate as createAccountsOauthGithubAuthorizeCreate, index$3_createAccountsOauthGithubCallbackCreate as createAccountsOauthGithubCallbackCreate, index$3_createAccountsOtpRequestCreate as createAccountsOtpRequestCreate, index$3_createAccountsOtpVerifyCreate as createAccountsOtpVerifyCreate, index$3_createAccountsProfileAvatarCreate as createAccountsProfileAvatarCreate, index$3_createAccountsTokenRefreshCreate as createAccountsTokenRefreshCreate, API$1 as default, dispatchValidationError$1 as dispatchValidationError, formatZodError$1 as formatZodError, getAPIInstance$1 as getAPIInstance, index$3_getAccountsOauthConnectionsList as getAccountsOauthConnectionsList, index$3_getAccountsOauthProvidersRetrieve as getAccountsOauthProvidersRetrieve, index$3_getAccountsProfileRetrieve as getAccountsProfileRetrieve, isAPIConfigured$1 as isAPIConfigured, onValidationError$1 as onValidationError, index$3_partialUpdateAccountsProfilePartialPartialUpdate as partialUpdateAccountsProfilePartialPartialUpdate, index$3_partialUpdateAccountsProfilePartialUpdate as partialUpdateAccountsProfilePartialUpdate, index$3_partialUpdateAccountsProfileUpdatePartialUpdate as partialUpdateAccountsProfileUpdatePartialUpdate, reconfigureAPI$1 as reconfigureAPI, resetAPI$1 as resetAPI, shouldRetry$1 as shouldRetry, index$3_updateAccountsProfileUpdateUpdate as updateAccountsProfileUpdateUpdate, withRetry$1 as withRetry };
|
|
1971
|
+
export { API$1 as API, APIClient$1 as APIClient, APIError$1 as APIError, APILogger$1 as APILogger, type APIOptions$1 as APIOptions, type index$3_AccountDeleteResponse as AccountDeleteResponse, index$3_AccountDeleteResponseSchema as AccountDeleteResponseSchema, models$1 as AccountsTypes, models$4 as AuthTypes, type index$3_CentrifugoToken as CentrifugoToken, index$3_CentrifugoTokenSchema as CentrifugoTokenSchema, type index$3_CfgAccountsProfileAvatarCreateRequest as CfgAccountsProfileAvatarCreateRequest, index$3_CfgAccountsProfileAvatarCreateRequestSchema as CfgAccountsProfileAvatarCreateRequestSchema, CookieStorageAdapter$1 as CookieStorageAdapter, DEFAULT_RETRY_CONFIG$1 as DEFAULT_RETRY_CONFIG, enums as Enums, type ErrorLog$1 as ErrorLog, type FailedAttemptInfo$1 as FailedAttemptInfo, FetchAdapter$1 as FetchAdapter, index$4 as Fetchers, type HttpClientAdapter$1 as HttpClientAdapter, type HttpRequest$1 as HttpRequest, type HttpResponse$1 as HttpResponse, LocalStorageAdapter$1 as LocalStorageAdapter, type LoggerConfig$1 as LoggerConfig, MemoryStorageAdapter$1 as MemoryStorageAdapter, NetworkError$1 as NetworkError, type index$3_OAuthAuthorizeRequestRequest as OAuthAuthorizeRequestRequest, index$3_OAuthAuthorizeRequestRequestSchema as OAuthAuthorizeRequestRequestSchema, type index$3_OAuthAuthorizeResponse as OAuthAuthorizeResponse, index$3_OAuthAuthorizeResponseSchema as OAuthAuthorizeResponseSchema, type index$3_OAuthCallbackRequestRequest as OAuthCallbackRequestRequest, index$3_OAuthCallbackRequestRequestSchema as OAuthCallbackRequestRequestSchema, type index$3_OAuthConnection as OAuthConnection, index$3_OAuthConnectionSchema as OAuthConnectionSchema, type index$3_OAuthDisconnectRequestRequest as OAuthDisconnectRequestRequest, index$3_OAuthDisconnectRequestRequestSchema as OAuthDisconnectRequestRequestSchema, type index$3_OAuthError as OAuthError, index$3_OAuthErrorSchema as OAuthErrorSchema, type index$3_OAuthProvidersResponse as OAuthProvidersResponse, index$3_OAuthProvidersResponseSchema as OAuthProvidersResponseSchema, type index$3_OAuthTokenResponse as OAuthTokenResponse, index$3_OAuthTokenResponseSchema as OAuthTokenResponseSchema, type index$3_OTPErrorResponse as OTPErrorResponse, index$3_OTPErrorResponseSchema as OTPErrorResponseSchema, type index$3_OTPRequestRequest as OTPRequestRequest, index$3_OTPRequestRequestSchema as OTPRequestRequestSchema, type index$3_OTPRequestResponse as OTPRequestResponse, index$3_OTPRequestResponseSchema as OTPRequestResponseSchema, type index$3_OTPVerifyRequest as OTPVerifyRequest, index$3_OTPVerifyRequestSchema as OTPVerifyRequestSchema, type index$3_OTPVerifyResponse as OTPVerifyResponse, index$3_OTPVerifyResponseSchema as OTPVerifyResponseSchema, models$3 as OauthTypes, type index$3_PatchedUserProfileUpdateRequest as PatchedUserProfileUpdateRequest, index$3_PatchedUserProfileUpdateRequestSchema as PatchedUserProfileUpdateRequestSchema, REFRESH_TOKEN_KEY$1 as REFRESH_TOKEN_KEY, type RequestLog$1 as RequestLog, type ResponseLog$1 as ResponseLog, type RetryConfig$1 as RetryConfig, index$5 as Schemas, type StorageAdapter$1 as StorageAdapter, TOKEN_KEY$1 as TOKEN_KEY, type index$3_TokenRefresh as TokenRefresh, type index$3_TokenRefreshRequest as TokenRefreshRequest, index$3_TokenRefreshRequestSchema as TokenRefreshRequestSchema, index$3_TokenRefreshSchema as TokenRefreshSchema, type index$3_User as User, models$2 as UserProfileTypes, type index$3_UserProfileUpdateRequest as UserProfileUpdateRequest, index$3_UserProfileUpdateRequestSchema as UserProfileUpdateRequestSchema, index$3_UserSchema as UserSchema, type ValidationErrorDetail$1 as ValidationErrorDetail, type ValidationErrorEvent$1 as ValidationErrorEvent, clearAPITokens$1 as clearAPITokens, configureAPI$1 as configureAPI, index$3_createAccountsOauthDisconnectCreate as createAccountsOauthDisconnectCreate, index$3_createAccountsOauthGithubAuthorizeCreate as createAccountsOauthGithubAuthorizeCreate, index$3_createAccountsOauthGithubCallbackCreate as createAccountsOauthGithubCallbackCreate, index$3_createAccountsOtpRequestCreate as createAccountsOtpRequestCreate, index$3_createAccountsOtpVerifyCreate as createAccountsOtpVerifyCreate, index$3_createAccountsProfileAvatarCreate as createAccountsProfileAvatarCreate, index$3_createAccountsProfileDeleteCreate as createAccountsProfileDeleteCreate, index$3_createAccountsTokenRefreshCreate as createAccountsTokenRefreshCreate, API$1 as default, dispatchValidationError$1 as dispatchValidationError, formatZodError$1 as formatZodError, getAPIInstance$1 as getAPIInstance, index$3_getAccountsOauthConnectionsList as getAccountsOauthConnectionsList, index$3_getAccountsOauthProvidersRetrieve as getAccountsOauthProvidersRetrieve, index$3_getAccountsProfileRetrieve as getAccountsProfileRetrieve, isAPIConfigured$1 as isAPIConfigured, onValidationError$1 as onValidationError, index$3_partialUpdateAccountsProfilePartialPartialUpdate as partialUpdateAccountsProfilePartialPartialUpdate, index$3_partialUpdateAccountsProfilePartialUpdate as partialUpdateAccountsProfilePartialUpdate, index$3_partialUpdateAccountsProfileUpdatePartialUpdate as partialUpdateAccountsProfileUpdatePartialUpdate, reconfigureAPI$1 as reconfigureAPI, resetAPI$1 as resetAPI, shouldRetry$1 as shouldRetry, index$3_updateAccountsProfileUpdateUpdate as updateAccountsProfileUpdateUpdate, withRetry$1 as withRetry };
|
|
1919
1972
|
}
|
|
1920
1973
|
|
|
1921
1974
|
/**
|
|
@@ -2994,4 +3047,4 @@ declare class BaseClient {
|
|
|
2994
3047
|
protected static api: API$1;
|
|
2995
3048
|
}
|
|
2996
3049
|
|
|
2997
|
-
export { API$1 as API, APIClient$1 as APIClient, APIError$1 as APIError, APILogger$1 as APILogger, type APIOptions$1 as APIOptions, models$1 as AccountsTypes, models$4 as AuthTypes, BaseClient, type CentrifugoToken, CentrifugoTokenSchema, type CfgAccountsProfileAvatarCreateRequest, CfgAccountsProfileAvatarCreateRequestSchema, index$3 as CfgAccountsTypes, CookieStorageAdapter$1 as CookieStorageAdapter, DEFAULT_RETRY_CONFIG$1 as DEFAULT_RETRY_CONFIG, enums as Enums, type ErrorLog$1 as ErrorLog, type FailedAttemptInfo$1 as FailedAttemptInfo, FetchAdapter$1 as FetchAdapter, index$4 as Fetchers, type HttpClientAdapter$1 as HttpClientAdapter, type HttpRequest$1 as HttpRequest, type HttpResponse$1 as HttpResponse, LocalStorageAdapter$1 as LocalStorageAdapter, type LoggerConfig$1 as LoggerConfig, MemoryStorageAdapter$1 as MemoryStorageAdapter, NetworkError$1 as NetworkError, type OAuthAuthorizeRequestRequest, OAuthAuthorizeRequestRequestSchema, type OAuthAuthorizeResponse, OAuthAuthorizeResponseSchema, type OAuthCallbackRequestRequest, OAuthCallbackRequestRequestSchema, type OAuthConnection, OAuthConnectionSchema, type OAuthDisconnectRequestRequest, OAuthDisconnectRequestRequestSchema, type OAuthError, OAuthErrorSchema, type OAuthProvidersResponse, OAuthProvidersResponseSchema, type OAuthTokenResponse, OAuthTokenResponseSchema, type OTPErrorResponse, OTPErrorResponseSchema, type OTPRequestRequest, OTPRequestRequestSchema, type OTPRequestResponse, OTPRequestResponseSchema, type OTPVerifyRequest, OTPVerifyRequestSchema, type OTPVerifyResponse, OTPVerifyResponseSchema, models$3 as OauthTypes, type PatchedUserProfileUpdateRequest, PatchedUserProfileUpdateRequestSchema, REFRESH_TOKEN_KEY$1 as REFRESH_TOKEN_KEY, type RequestLog$1 as RequestLog, type ResponseLog$1 as ResponseLog, type RetryConfig$1 as RetryConfig, index$5 as Schemas, type StorageAdapter$1 as StorageAdapter, TOKEN_KEY$1 as TOKEN_KEY, type TokenRefresh, type TokenRefreshRequest, TokenRefreshRequestSchema, TokenRefreshSchema, type User, models$2 as UserProfileTypes, type UserProfileUpdateRequest, UserProfileUpdateRequestSchema, UserSchema, type ValidationErrorDetail$1 as ValidationErrorDetail, type ValidationErrorEvent$1 as ValidationErrorEvent, API as WebPushAPI, index as WebPushTypes, api, clearAPITokens$1 as clearAPITokens, configureAPI$1 as configureAPI, createAccountsOauthDisconnectCreate, createAccountsOauthGithubAuthorizeCreate, createAccountsOauthGithubCallbackCreate, createAccountsOtpRequestCreate, createAccountsOtpVerifyCreate, createAccountsProfileAvatarCreate, createAccountsTokenRefreshCreate, dispatchValidationError$1 as dispatchValidationError, formatZodError$1 as formatZodError, getAPIInstance$1 as getAPIInstance, getAccountsOauthConnectionsList, getAccountsOauthProvidersRetrieve, getAccountsProfileRetrieve, getCentrifugoAuthTokenRetrieve, isAPIConfigured$1 as isAPIConfigured, onValidationError$1 as onValidationError, partialUpdateAccountsProfilePartialPartialUpdate, partialUpdateAccountsProfilePartialUpdate, partialUpdateAccountsProfileUpdatePartialUpdate, reconfigureAPI$1 as reconfigureAPI, resetAPI$1 as resetAPI, shouldRetry$1 as shouldRetry, updateAccountsProfileUpdateUpdate, withRetry$1 as withRetry };
|
|
3050
|
+
export { API$1 as API, APIClient$1 as APIClient, APIError$1 as APIError, APILogger$1 as APILogger, type APIOptions$1 as APIOptions, type AccountDeleteResponse, AccountDeleteResponseSchema, models$1 as AccountsTypes, models$4 as AuthTypes, BaseClient, type CentrifugoToken, CentrifugoTokenSchema, type CfgAccountsProfileAvatarCreateRequest, CfgAccountsProfileAvatarCreateRequestSchema, index$3 as CfgAccountsTypes, CookieStorageAdapter$1 as CookieStorageAdapter, DEFAULT_RETRY_CONFIG$1 as DEFAULT_RETRY_CONFIG, enums as Enums, type ErrorLog$1 as ErrorLog, type FailedAttemptInfo$1 as FailedAttemptInfo, FetchAdapter$1 as FetchAdapter, index$4 as Fetchers, type HttpClientAdapter$1 as HttpClientAdapter, type HttpRequest$1 as HttpRequest, type HttpResponse$1 as HttpResponse, LocalStorageAdapter$1 as LocalStorageAdapter, type LoggerConfig$1 as LoggerConfig, MemoryStorageAdapter$1 as MemoryStorageAdapter, NetworkError$1 as NetworkError, type OAuthAuthorizeRequestRequest, OAuthAuthorizeRequestRequestSchema, type OAuthAuthorizeResponse, OAuthAuthorizeResponseSchema, type OAuthCallbackRequestRequest, OAuthCallbackRequestRequestSchema, type OAuthConnection, OAuthConnectionSchema, type OAuthDisconnectRequestRequest, OAuthDisconnectRequestRequestSchema, type OAuthError, OAuthErrorSchema, type OAuthProvidersResponse, OAuthProvidersResponseSchema, type OAuthTokenResponse, OAuthTokenResponseSchema, type OTPErrorResponse, OTPErrorResponseSchema, type OTPRequestRequest, OTPRequestRequestSchema, type OTPRequestResponse, OTPRequestResponseSchema, type OTPVerifyRequest, OTPVerifyRequestSchema, type OTPVerifyResponse, OTPVerifyResponseSchema, models$3 as OauthTypes, type PatchedUserProfileUpdateRequest, PatchedUserProfileUpdateRequestSchema, REFRESH_TOKEN_KEY$1 as REFRESH_TOKEN_KEY, type RequestLog$1 as RequestLog, type ResponseLog$1 as ResponseLog, type RetryConfig$1 as RetryConfig, index$5 as Schemas, type StorageAdapter$1 as StorageAdapter, TOKEN_KEY$1 as TOKEN_KEY, type TokenRefresh, type TokenRefreshRequest, TokenRefreshRequestSchema, TokenRefreshSchema, type User, models$2 as UserProfileTypes, type UserProfileUpdateRequest, UserProfileUpdateRequestSchema, UserSchema, type ValidationErrorDetail$1 as ValidationErrorDetail, type ValidationErrorEvent$1 as ValidationErrorEvent, API as WebPushAPI, index as WebPushTypes, api, clearAPITokens$1 as clearAPITokens, configureAPI$1 as configureAPI, createAccountsOauthDisconnectCreate, createAccountsOauthGithubAuthorizeCreate, createAccountsOauthGithubCallbackCreate, createAccountsOtpRequestCreate, createAccountsOtpVerifyCreate, createAccountsProfileAvatarCreate, createAccountsProfileDeleteCreate, createAccountsTokenRefreshCreate, dispatchValidationError$1 as dispatchValidationError, formatZodError$1 as formatZodError, getAPIInstance$1 as getAPIInstance, getAccountsOauthConnectionsList, getAccountsOauthProvidersRetrieve, getAccountsProfileRetrieve, getCentrifugoAuthTokenRetrieve, isAPIConfigured$1 as isAPIConfigured, onValidationError$1 as onValidationError, partialUpdateAccountsProfilePartialPartialUpdate, partialUpdateAccountsProfilePartialUpdate, partialUpdateAccountsProfileUpdatePartialUpdate, reconfigureAPI$1 as reconfigureAPI, resetAPI$1 as resetAPI, shouldRetry$1 as shouldRetry, updateAccountsProfileUpdateUpdate, withRetry$1 as withRetry };
|
package/dist/index.d.ts
CHANGED
|
@@ -252,6 +252,17 @@ interface CfgAccountsProfileAvatarCreateRequest$1 {
|
|
|
252
252
|
/** Avatar image file (JPEG, PNG, GIF, WebP, max 5MB) */
|
|
253
253
|
avatar: File | Blob;
|
|
254
254
|
}
|
|
255
|
+
/**
|
|
256
|
+
* Response serializer for account deletion.
|
|
257
|
+
*
|
|
258
|
+
* Response model (includes read-only fields).
|
|
259
|
+
*/
|
|
260
|
+
interface AccountDeleteResponse$1 {
|
|
261
|
+
/** Whether the account was successfully deleted */
|
|
262
|
+
success: boolean;
|
|
263
|
+
/** Human-readable message about the deletion */
|
|
264
|
+
message: string;
|
|
265
|
+
}
|
|
255
266
|
/**
|
|
256
267
|
* Serializer for updating user profile.
|
|
257
268
|
*
|
|
@@ -293,7 +304,7 @@ interface CentrifugoToken$2 {
|
|
|
293
304
|
}
|
|
294
305
|
|
|
295
306
|
declare namespace models$2 {
|
|
296
|
-
export type { CentrifugoToken$2 as CentrifugoToken, CfgAccountsProfileAvatarCreateRequest$1 as CfgAccountsProfileAvatarCreateRequest, PatchedUserProfileUpdateRequest$1 as PatchedUserProfileUpdateRequest, User$2 as User, UserProfileUpdateRequest$1 as UserProfileUpdateRequest };
|
|
307
|
+
export type { AccountDeleteResponse$1 as AccountDeleteResponse, CentrifugoToken$2 as CentrifugoToken, CfgAccountsProfileAvatarCreateRequest$1 as CfgAccountsProfileAvatarCreateRequest, PatchedUserProfileUpdateRequest$1 as PatchedUserProfileUpdateRequest, User$2 as User, UserProfileUpdateRequest$1 as UserProfileUpdateRequest };
|
|
297
308
|
}
|
|
298
309
|
|
|
299
310
|
/**
|
|
@@ -315,6 +326,16 @@ declare class UserProfile {
|
|
|
315
326
|
* multipart/form-data with 'avatar' field.
|
|
316
327
|
*/
|
|
317
328
|
accountsProfileAvatarCreate(data: CfgAccountsProfileAvatarCreateRequest$1): Promise<User$2>;
|
|
329
|
+
/**
|
|
330
|
+
* Delete user account
|
|
331
|
+
*
|
|
332
|
+
* Permanently delete the current user's account. This operation: -
|
|
333
|
+
* Deactivates the account (user cannot log in) - Anonymizes personal data
|
|
334
|
+
* (GDPR compliance) - Frees up the email address for re-registration -
|
|
335
|
+
* Preserves audit trail The account can be restored by an administrator if
|
|
336
|
+
* needed.
|
|
337
|
+
*/
|
|
338
|
+
accountsProfileDeleteCreate(): Promise<AccountDeleteResponse$1>;
|
|
318
339
|
/**
|
|
319
340
|
* Partial update user profile
|
|
320
341
|
*
|
|
@@ -850,6 +871,25 @@ declare class MemoryStorageAdapter$1 implements StorageAdapter$1 {
|
|
|
850
871
|
removeItem(key: string): void;
|
|
851
872
|
}
|
|
852
873
|
|
|
874
|
+
/**
|
|
875
|
+
* Zod schema for AccountDeleteResponse
|
|
876
|
+
*
|
|
877
|
+
* This schema provides runtime validation and type inference.
|
|
878
|
+
* * Response serializer for account deletion.
|
|
879
|
+
* */
|
|
880
|
+
|
|
881
|
+
/**
|
|
882
|
+
* Response serializer for account deletion.
|
|
883
|
+
*/
|
|
884
|
+
declare const AccountDeleteResponseSchema: z.ZodObject<{
|
|
885
|
+
success: z.ZodBoolean;
|
|
886
|
+
message: z.ZodString;
|
|
887
|
+
}, z.core.$strip>;
|
|
888
|
+
/**
|
|
889
|
+
* Infer TypeScript type from Zod schema
|
|
890
|
+
*/
|
|
891
|
+
type AccountDeleteResponse = z.infer<typeof AccountDeleteResponseSchema>;
|
|
892
|
+
|
|
853
893
|
/**
|
|
854
894
|
* Zod schema for CentrifugoToken
|
|
855
895
|
*
|
|
@@ -1341,6 +1381,8 @@ type UserProfileUpdateRequest = z.infer<typeof UserProfileUpdateRequestSchema>;
|
|
|
1341
1381
|
* ```
|
|
1342
1382
|
*/
|
|
1343
1383
|
|
|
1384
|
+
type index$5_AccountDeleteResponse = AccountDeleteResponse;
|
|
1385
|
+
declare const index$5_AccountDeleteResponseSchema: typeof AccountDeleteResponseSchema;
|
|
1344
1386
|
type index$5_CentrifugoToken = CentrifugoToken;
|
|
1345
1387
|
declare const index$5_CentrifugoTokenSchema: typeof CentrifugoTokenSchema;
|
|
1346
1388
|
type index$5_CfgAccountsProfileAvatarCreateRequest = CfgAccountsProfileAvatarCreateRequest;
|
|
@@ -1382,7 +1424,7 @@ type index$5_UserProfileUpdateRequest = UserProfileUpdateRequest;
|
|
|
1382
1424
|
declare const index$5_UserProfileUpdateRequestSchema: typeof UserProfileUpdateRequestSchema;
|
|
1383
1425
|
declare const index$5_UserSchema: typeof UserSchema;
|
|
1384
1426
|
declare namespace index$5 {
|
|
1385
|
-
export { type index$5_CentrifugoToken as CentrifugoToken, index$5_CentrifugoTokenSchema as CentrifugoTokenSchema, type index$5_CfgAccountsProfileAvatarCreateRequest as CfgAccountsProfileAvatarCreateRequest, index$5_CfgAccountsProfileAvatarCreateRequestSchema as CfgAccountsProfileAvatarCreateRequestSchema, 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 };
|
|
1427
|
+
export { type index$5_AccountDeleteResponse as AccountDeleteResponse, index$5_AccountDeleteResponseSchema as AccountDeleteResponseSchema, type index$5_CentrifugoToken as CentrifugoToken, index$5_CentrifugoTokenSchema as CentrifugoTokenSchema, type index$5_CfgAccountsProfileAvatarCreateRequest as CfgAccountsProfileAvatarCreateRequest, index$5_CfgAccountsProfileAvatarCreateRequestSchema as CfgAccountsProfileAvatarCreateRequestSchema, 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 };
|
|
1386
1428
|
}
|
|
1387
1429
|
|
|
1388
1430
|
/**
|
|
@@ -1531,6 +1573,13 @@ declare function getAccountsProfileRetrieve(client?: any): Promise<User>;
|
|
|
1531
1573
|
* @path /cfg/accounts/profile/avatar/
|
|
1532
1574
|
*/
|
|
1533
1575
|
declare function createAccountsProfileAvatarCreate(data: CfgAccountsProfileAvatarCreateRequest, client?: any): Promise<User>;
|
|
1576
|
+
/**
|
|
1577
|
+
* Delete user account
|
|
1578
|
+
*
|
|
1579
|
+
* @method POST
|
|
1580
|
+
* @path /cfg/accounts/profile/delete/
|
|
1581
|
+
*/
|
|
1582
|
+
declare function createAccountsProfileDeleteCreate(client?: any): Promise<AccountDeleteResponse>;
|
|
1534
1583
|
/**
|
|
1535
1584
|
* Partial update user profile
|
|
1536
1585
|
*
|
|
@@ -1593,6 +1642,7 @@ declare const index$4_createAccountsOauthGithubCallbackCreate: typeof createAcco
|
|
|
1593
1642
|
declare const index$4_createAccountsOtpRequestCreate: typeof createAccountsOtpRequestCreate;
|
|
1594
1643
|
declare const index$4_createAccountsOtpVerifyCreate: typeof createAccountsOtpVerifyCreate;
|
|
1595
1644
|
declare const index$4_createAccountsProfileAvatarCreate: typeof createAccountsProfileAvatarCreate;
|
|
1645
|
+
declare const index$4_createAccountsProfileDeleteCreate: typeof createAccountsProfileDeleteCreate;
|
|
1596
1646
|
declare const index$4_createAccountsTokenRefreshCreate: typeof createAccountsTokenRefreshCreate;
|
|
1597
1647
|
declare const index$4_getAccountsOauthConnectionsList: typeof getAccountsOauthConnectionsList;
|
|
1598
1648
|
declare const index$4_getAccountsOauthProvidersRetrieve: typeof getAccountsOauthProvidersRetrieve;
|
|
@@ -1602,7 +1652,7 @@ declare const index$4_partialUpdateAccountsProfilePartialUpdate: typeof partialU
|
|
|
1602
1652
|
declare const index$4_partialUpdateAccountsProfileUpdatePartialUpdate: typeof partialUpdateAccountsProfileUpdatePartialUpdate;
|
|
1603
1653
|
declare const index$4_updateAccountsProfileUpdateUpdate: typeof updateAccountsProfileUpdateUpdate;
|
|
1604
1654
|
declare namespace index$4 {
|
|
1605
|
-
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 };
|
|
1655
|
+
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_createAccountsProfileDeleteCreate as createAccountsProfileDeleteCreate, 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 };
|
|
1606
1656
|
}
|
|
1607
1657
|
|
|
1608
1658
|
/**
|
|
@@ -1860,6 +1910,8 @@ declare class API$1 {
|
|
|
1860
1910
|
getSchemaPath(): string;
|
|
1861
1911
|
}
|
|
1862
1912
|
|
|
1913
|
+
type index$3_AccountDeleteResponse = AccountDeleteResponse;
|
|
1914
|
+
declare const index$3_AccountDeleteResponseSchema: typeof AccountDeleteResponseSchema;
|
|
1863
1915
|
type index$3_CentrifugoToken = CentrifugoToken;
|
|
1864
1916
|
declare const index$3_CentrifugoTokenSchema: typeof CentrifugoTokenSchema;
|
|
1865
1917
|
type index$3_CfgAccountsProfileAvatarCreateRequest = CfgAccountsProfileAvatarCreateRequest;
|
|
@@ -1906,6 +1958,7 @@ declare const index$3_createAccountsOauthGithubCallbackCreate: typeof createAcco
|
|
|
1906
1958
|
declare const index$3_createAccountsOtpRequestCreate: typeof createAccountsOtpRequestCreate;
|
|
1907
1959
|
declare const index$3_createAccountsOtpVerifyCreate: typeof createAccountsOtpVerifyCreate;
|
|
1908
1960
|
declare const index$3_createAccountsProfileAvatarCreate: typeof createAccountsProfileAvatarCreate;
|
|
1961
|
+
declare const index$3_createAccountsProfileDeleteCreate: typeof createAccountsProfileDeleteCreate;
|
|
1909
1962
|
declare const index$3_createAccountsTokenRefreshCreate: typeof createAccountsTokenRefreshCreate;
|
|
1910
1963
|
declare const index$3_getAccountsOauthConnectionsList: typeof getAccountsOauthConnectionsList;
|
|
1911
1964
|
declare const index$3_getAccountsOauthProvidersRetrieve: typeof getAccountsOauthProvidersRetrieve;
|
|
@@ -1915,7 +1968,7 @@ declare const index$3_partialUpdateAccountsProfilePartialUpdate: typeof partialU
|
|
|
1915
1968
|
declare const index$3_partialUpdateAccountsProfileUpdatePartialUpdate: typeof partialUpdateAccountsProfileUpdatePartialUpdate;
|
|
1916
1969
|
declare const index$3_updateAccountsProfileUpdateUpdate: typeof updateAccountsProfileUpdateUpdate;
|
|
1917
1970
|
declare namespace index$3 {
|
|
1918
|
-
export { API$1 as API, APIClient$1 as APIClient, APIError$1 as APIError, APILogger$1 as APILogger, type APIOptions$1 as APIOptions, models$1 as AccountsTypes, models$4 as AuthTypes, type index$3_CentrifugoToken as CentrifugoToken, index$3_CentrifugoTokenSchema as CentrifugoTokenSchema, type index$3_CfgAccountsProfileAvatarCreateRequest as CfgAccountsProfileAvatarCreateRequest, index$3_CfgAccountsProfileAvatarCreateRequestSchema as CfgAccountsProfileAvatarCreateRequestSchema, CookieStorageAdapter$1 as CookieStorageAdapter, DEFAULT_RETRY_CONFIG$1 as DEFAULT_RETRY_CONFIG, enums as Enums, type ErrorLog$1 as ErrorLog, type FailedAttemptInfo$1 as FailedAttemptInfo, FetchAdapter$1 as FetchAdapter, index$4 as Fetchers, type HttpClientAdapter$1 as HttpClientAdapter, type HttpRequest$1 as HttpRequest, type HttpResponse$1 as HttpResponse, LocalStorageAdapter$1 as LocalStorageAdapter, type LoggerConfig$1 as LoggerConfig, MemoryStorageAdapter$1 as MemoryStorageAdapter, NetworkError$1 as NetworkError, type index$3_OAuthAuthorizeRequestRequest as OAuthAuthorizeRequestRequest, index$3_OAuthAuthorizeRequestRequestSchema as OAuthAuthorizeRequestRequestSchema, type index$3_OAuthAuthorizeResponse as OAuthAuthorizeResponse, index$3_OAuthAuthorizeResponseSchema as OAuthAuthorizeResponseSchema, type index$3_OAuthCallbackRequestRequest as OAuthCallbackRequestRequest, index$3_OAuthCallbackRequestRequestSchema as OAuthCallbackRequestRequestSchema, type index$3_OAuthConnection as OAuthConnection, index$3_OAuthConnectionSchema as OAuthConnectionSchema, type index$3_OAuthDisconnectRequestRequest as OAuthDisconnectRequestRequest, index$3_OAuthDisconnectRequestRequestSchema as OAuthDisconnectRequestRequestSchema, type index$3_OAuthError as OAuthError, index$3_OAuthErrorSchema as OAuthErrorSchema, type index$3_OAuthProvidersResponse as OAuthProvidersResponse, index$3_OAuthProvidersResponseSchema as OAuthProvidersResponseSchema, type index$3_OAuthTokenResponse as OAuthTokenResponse, index$3_OAuthTokenResponseSchema as OAuthTokenResponseSchema, type index$3_OTPErrorResponse as OTPErrorResponse, index$3_OTPErrorResponseSchema as OTPErrorResponseSchema, type index$3_OTPRequestRequest as OTPRequestRequest, index$3_OTPRequestRequestSchema as OTPRequestRequestSchema, type index$3_OTPRequestResponse as OTPRequestResponse, index$3_OTPRequestResponseSchema as OTPRequestResponseSchema, type index$3_OTPVerifyRequest as OTPVerifyRequest, index$3_OTPVerifyRequestSchema as OTPVerifyRequestSchema, type index$3_OTPVerifyResponse as OTPVerifyResponse, index$3_OTPVerifyResponseSchema as OTPVerifyResponseSchema, models$3 as OauthTypes, type index$3_PatchedUserProfileUpdateRequest as PatchedUserProfileUpdateRequest, index$3_PatchedUserProfileUpdateRequestSchema as PatchedUserProfileUpdateRequestSchema, REFRESH_TOKEN_KEY$1 as REFRESH_TOKEN_KEY, type RequestLog$1 as RequestLog, type ResponseLog$1 as ResponseLog, type RetryConfig$1 as RetryConfig, index$5 as Schemas, type StorageAdapter$1 as StorageAdapter, TOKEN_KEY$1 as TOKEN_KEY, type index$3_TokenRefresh as TokenRefresh, type index$3_TokenRefreshRequest as TokenRefreshRequest, index$3_TokenRefreshRequestSchema as TokenRefreshRequestSchema, index$3_TokenRefreshSchema as TokenRefreshSchema, type index$3_User as User, models$2 as UserProfileTypes, type index$3_UserProfileUpdateRequest as UserProfileUpdateRequest, index$3_UserProfileUpdateRequestSchema as UserProfileUpdateRequestSchema, index$3_UserSchema as UserSchema, type ValidationErrorDetail$1 as ValidationErrorDetail, type ValidationErrorEvent$1 as ValidationErrorEvent, clearAPITokens$1 as clearAPITokens, configureAPI$1 as configureAPI, index$3_createAccountsOauthDisconnectCreate as createAccountsOauthDisconnectCreate, index$3_createAccountsOauthGithubAuthorizeCreate as createAccountsOauthGithubAuthorizeCreate, index$3_createAccountsOauthGithubCallbackCreate as createAccountsOauthGithubCallbackCreate, index$3_createAccountsOtpRequestCreate as createAccountsOtpRequestCreate, index$3_createAccountsOtpVerifyCreate as createAccountsOtpVerifyCreate, index$3_createAccountsProfileAvatarCreate as createAccountsProfileAvatarCreate, index$3_createAccountsTokenRefreshCreate as createAccountsTokenRefreshCreate, API$1 as default, dispatchValidationError$1 as dispatchValidationError, formatZodError$1 as formatZodError, getAPIInstance$1 as getAPIInstance, index$3_getAccountsOauthConnectionsList as getAccountsOauthConnectionsList, index$3_getAccountsOauthProvidersRetrieve as getAccountsOauthProvidersRetrieve, index$3_getAccountsProfileRetrieve as getAccountsProfileRetrieve, isAPIConfigured$1 as isAPIConfigured, onValidationError$1 as onValidationError, index$3_partialUpdateAccountsProfilePartialPartialUpdate as partialUpdateAccountsProfilePartialPartialUpdate, index$3_partialUpdateAccountsProfilePartialUpdate as partialUpdateAccountsProfilePartialUpdate, index$3_partialUpdateAccountsProfileUpdatePartialUpdate as partialUpdateAccountsProfileUpdatePartialUpdate, reconfigureAPI$1 as reconfigureAPI, resetAPI$1 as resetAPI, shouldRetry$1 as shouldRetry, index$3_updateAccountsProfileUpdateUpdate as updateAccountsProfileUpdateUpdate, withRetry$1 as withRetry };
|
|
1971
|
+
export { API$1 as API, APIClient$1 as APIClient, APIError$1 as APIError, APILogger$1 as APILogger, type APIOptions$1 as APIOptions, type index$3_AccountDeleteResponse as AccountDeleteResponse, index$3_AccountDeleteResponseSchema as AccountDeleteResponseSchema, models$1 as AccountsTypes, models$4 as AuthTypes, type index$3_CentrifugoToken as CentrifugoToken, index$3_CentrifugoTokenSchema as CentrifugoTokenSchema, type index$3_CfgAccountsProfileAvatarCreateRequest as CfgAccountsProfileAvatarCreateRequest, index$3_CfgAccountsProfileAvatarCreateRequestSchema as CfgAccountsProfileAvatarCreateRequestSchema, CookieStorageAdapter$1 as CookieStorageAdapter, DEFAULT_RETRY_CONFIG$1 as DEFAULT_RETRY_CONFIG, enums as Enums, type ErrorLog$1 as ErrorLog, type FailedAttemptInfo$1 as FailedAttemptInfo, FetchAdapter$1 as FetchAdapter, index$4 as Fetchers, type HttpClientAdapter$1 as HttpClientAdapter, type HttpRequest$1 as HttpRequest, type HttpResponse$1 as HttpResponse, LocalStorageAdapter$1 as LocalStorageAdapter, type LoggerConfig$1 as LoggerConfig, MemoryStorageAdapter$1 as MemoryStorageAdapter, NetworkError$1 as NetworkError, type index$3_OAuthAuthorizeRequestRequest as OAuthAuthorizeRequestRequest, index$3_OAuthAuthorizeRequestRequestSchema as OAuthAuthorizeRequestRequestSchema, type index$3_OAuthAuthorizeResponse as OAuthAuthorizeResponse, index$3_OAuthAuthorizeResponseSchema as OAuthAuthorizeResponseSchema, type index$3_OAuthCallbackRequestRequest as OAuthCallbackRequestRequest, index$3_OAuthCallbackRequestRequestSchema as OAuthCallbackRequestRequestSchema, type index$3_OAuthConnection as OAuthConnection, index$3_OAuthConnectionSchema as OAuthConnectionSchema, type index$3_OAuthDisconnectRequestRequest as OAuthDisconnectRequestRequest, index$3_OAuthDisconnectRequestRequestSchema as OAuthDisconnectRequestRequestSchema, type index$3_OAuthError as OAuthError, index$3_OAuthErrorSchema as OAuthErrorSchema, type index$3_OAuthProvidersResponse as OAuthProvidersResponse, index$3_OAuthProvidersResponseSchema as OAuthProvidersResponseSchema, type index$3_OAuthTokenResponse as OAuthTokenResponse, index$3_OAuthTokenResponseSchema as OAuthTokenResponseSchema, type index$3_OTPErrorResponse as OTPErrorResponse, index$3_OTPErrorResponseSchema as OTPErrorResponseSchema, type index$3_OTPRequestRequest as OTPRequestRequest, index$3_OTPRequestRequestSchema as OTPRequestRequestSchema, type index$3_OTPRequestResponse as OTPRequestResponse, index$3_OTPRequestResponseSchema as OTPRequestResponseSchema, type index$3_OTPVerifyRequest as OTPVerifyRequest, index$3_OTPVerifyRequestSchema as OTPVerifyRequestSchema, type index$3_OTPVerifyResponse as OTPVerifyResponse, index$3_OTPVerifyResponseSchema as OTPVerifyResponseSchema, models$3 as OauthTypes, type index$3_PatchedUserProfileUpdateRequest as PatchedUserProfileUpdateRequest, index$3_PatchedUserProfileUpdateRequestSchema as PatchedUserProfileUpdateRequestSchema, REFRESH_TOKEN_KEY$1 as REFRESH_TOKEN_KEY, type RequestLog$1 as RequestLog, type ResponseLog$1 as ResponseLog, type RetryConfig$1 as RetryConfig, index$5 as Schemas, type StorageAdapter$1 as StorageAdapter, TOKEN_KEY$1 as TOKEN_KEY, type index$3_TokenRefresh as TokenRefresh, type index$3_TokenRefreshRequest as TokenRefreshRequest, index$3_TokenRefreshRequestSchema as TokenRefreshRequestSchema, index$3_TokenRefreshSchema as TokenRefreshSchema, type index$3_User as User, models$2 as UserProfileTypes, type index$3_UserProfileUpdateRequest as UserProfileUpdateRequest, index$3_UserProfileUpdateRequestSchema as UserProfileUpdateRequestSchema, index$3_UserSchema as UserSchema, type ValidationErrorDetail$1 as ValidationErrorDetail, type ValidationErrorEvent$1 as ValidationErrorEvent, clearAPITokens$1 as clearAPITokens, configureAPI$1 as configureAPI, index$3_createAccountsOauthDisconnectCreate as createAccountsOauthDisconnectCreate, index$3_createAccountsOauthGithubAuthorizeCreate as createAccountsOauthGithubAuthorizeCreate, index$3_createAccountsOauthGithubCallbackCreate as createAccountsOauthGithubCallbackCreate, index$3_createAccountsOtpRequestCreate as createAccountsOtpRequestCreate, index$3_createAccountsOtpVerifyCreate as createAccountsOtpVerifyCreate, index$3_createAccountsProfileAvatarCreate as createAccountsProfileAvatarCreate, index$3_createAccountsProfileDeleteCreate as createAccountsProfileDeleteCreate, index$3_createAccountsTokenRefreshCreate as createAccountsTokenRefreshCreate, API$1 as default, dispatchValidationError$1 as dispatchValidationError, formatZodError$1 as formatZodError, getAPIInstance$1 as getAPIInstance, index$3_getAccountsOauthConnectionsList as getAccountsOauthConnectionsList, index$3_getAccountsOauthProvidersRetrieve as getAccountsOauthProvidersRetrieve, index$3_getAccountsProfileRetrieve as getAccountsProfileRetrieve, isAPIConfigured$1 as isAPIConfigured, onValidationError$1 as onValidationError, index$3_partialUpdateAccountsProfilePartialPartialUpdate as partialUpdateAccountsProfilePartialPartialUpdate, index$3_partialUpdateAccountsProfilePartialUpdate as partialUpdateAccountsProfilePartialUpdate, index$3_partialUpdateAccountsProfileUpdatePartialUpdate as partialUpdateAccountsProfileUpdatePartialUpdate, reconfigureAPI$1 as reconfigureAPI, resetAPI$1 as resetAPI, shouldRetry$1 as shouldRetry, index$3_updateAccountsProfileUpdateUpdate as updateAccountsProfileUpdateUpdate, withRetry$1 as withRetry };
|
|
1919
1972
|
}
|
|
1920
1973
|
|
|
1921
1974
|
/**
|
|
@@ -2994,4 +3047,4 @@ declare class BaseClient {
|
|
|
2994
3047
|
protected static api: API$1;
|
|
2995
3048
|
}
|
|
2996
3049
|
|
|
2997
|
-
export { API$1 as API, APIClient$1 as APIClient, APIError$1 as APIError, APILogger$1 as APILogger, type APIOptions$1 as APIOptions, models$1 as AccountsTypes, models$4 as AuthTypes, BaseClient, type CentrifugoToken, CentrifugoTokenSchema, type CfgAccountsProfileAvatarCreateRequest, CfgAccountsProfileAvatarCreateRequestSchema, index$3 as CfgAccountsTypes, CookieStorageAdapter$1 as CookieStorageAdapter, DEFAULT_RETRY_CONFIG$1 as DEFAULT_RETRY_CONFIG, enums as Enums, type ErrorLog$1 as ErrorLog, type FailedAttemptInfo$1 as FailedAttemptInfo, FetchAdapter$1 as FetchAdapter, index$4 as Fetchers, type HttpClientAdapter$1 as HttpClientAdapter, type HttpRequest$1 as HttpRequest, type HttpResponse$1 as HttpResponse, LocalStorageAdapter$1 as LocalStorageAdapter, type LoggerConfig$1 as LoggerConfig, MemoryStorageAdapter$1 as MemoryStorageAdapter, NetworkError$1 as NetworkError, type OAuthAuthorizeRequestRequest, OAuthAuthorizeRequestRequestSchema, type OAuthAuthorizeResponse, OAuthAuthorizeResponseSchema, type OAuthCallbackRequestRequest, OAuthCallbackRequestRequestSchema, type OAuthConnection, OAuthConnectionSchema, type OAuthDisconnectRequestRequest, OAuthDisconnectRequestRequestSchema, type OAuthError, OAuthErrorSchema, type OAuthProvidersResponse, OAuthProvidersResponseSchema, type OAuthTokenResponse, OAuthTokenResponseSchema, type OTPErrorResponse, OTPErrorResponseSchema, type OTPRequestRequest, OTPRequestRequestSchema, type OTPRequestResponse, OTPRequestResponseSchema, type OTPVerifyRequest, OTPVerifyRequestSchema, type OTPVerifyResponse, OTPVerifyResponseSchema, models$3 as OauthTypes, type PatchedUserProfileUpdateRequest, PatchedUserProfileUpdateRequestSchema, REFRESH_TOKEN_KEY$1 as REFRESH_TOKEN_KEY, type RequestLog$1 as RequestLog, type ResponseLog$1 as ResponseLog, type RetryConfig$1 as RetryConfig, index$5 as Schemas, type StorageAdapter$1 as StorageAdapter, TOKEN_KEY$1 as TOKEN_KEY, type TokenRefresh, type TokenRefreshRequest, TokenRefreshRequestSchema, TokenRefreshSchema, type User, models$2 as UserProfileTypes, type UserProfileUpdateRequest, UserProfileUpdateRequestSchema, UserSchema, type ValidationErrorDetail$1 as ValidationErrorDetail, type ValidationErrorEvent$1 as ValidationErrorEvent, API as WebPushAPI, index as WebPushTypes, api, clearAPITokens$1 as clearAPITokens, configureAPI$1 as configureAPI, createAccountsOauthDisconnectCreate, createAccountsOauthGithubAuthorizeCreate, createAccountsOauthGithubCallbackCreate, createAccountsOtpRequestCreate, createAccountsOtpVerifyCreate, createAccountsProfileAvatarCreate, createAccountsTokenRefreshCreate, dispatchValidationError$1 as dispatchValidationError, formatZodError$1 as formatZodError, getAPIInstance$1 as getAPIInstance, getAccountsOauthConnectionsList, getAccountsOauthProvidersRetrieve, getAccountsProfileRetrieve, getCentrifugoAuthTokenRetrieve, isAPIConfigured$1 as isAPIConfigured, onValidationError$1 as onValidationError, partialUpdateAccountsProfilePartialPartialUpdate, partialUpdateAccountsProfilePartialUpdate, partialUpdateAccountsProfileUpdatePartialUpdate, reconfigureAPI$1 as reconfigureAPI, resetAPI$1 as resetAPI, shouldRetry$1 as shouldRetry, updateAccountsProfileUpdateUpdate, withRetry$1 as withRetry };
|
|
3050
|
+
export { API$1 as API, APIClient$1 as APIClient, APIError$1 as APIError, APILogger$1 as APILogger, type APIOptions$1 as APIOptions, type AccountDeleteResponse, AccountDeleteResponseSchema, models$1 as AccountsTypes, models$4 as AuthTypes, BaseClient, type CentrifugoToken, CentrifugoTokenSchema, type CfgAccountsProfileAvatarCreateRequest, CfgAccountsProfileAvatarCreateRequestSchema, index$3 as CfgAccountsTypes, CookieStorageAdapter$1 as CookieStorageAdapter, DEFAULT_RETRY_CONFIG$1 as DEFAULT_RETRY_CONFIG, enums as Enums, type ErrorLog$1 as ErrorLog, type FailedAttemptInfo$1 as FailedAttemptInfo, FetchAdapter$1 as FetchAdapter, index$4 as Fetchers, type HttpClientAdapter$1 as HttpClientAdapter, type HttpRequest$1 as HttpRequest, type HttpResponse$1 as HttpResponse, LocalStorageAdapter$1 as LocalStorageAdapter, type LoggerConfig$1 as LoggerConfig, MemoryStorageAdapter$1 as MemoryStorageAdapter, NetworkError$1 as NetworkError, type OAuthAuthorizeRequestRequest, OAuthAuthorizeRequestRequestSchema, type OAuthAuthorizeResponse, OAuthAuthorizeResponseSchema, type OAuthCallbackRequestRequest, OAuthCallbackRequestRequestSchema, type OAuthConnection, OAuthConnectionSchema, type OAuthDisconnectRequestRequest, OAuthDisconnectRequestRequestSchema, type OAuthError, OAuthErrorSchema, type OAuthProvidersResponse, OAuthProvidersResponseSchema, type OAuthTokenResponse, OAuthTokenResponseSchema, type OTPErrorResponse, OTPErrorResponseSchema, type OTPRequestRequest, OTPRequestRequestSchema, type OTPRequestResponse, OTPRequestResponseSchema, type OTPVerifyRequest, OTPVerifyRequestSchema, type OTPVerifyResponse, OTPVerifyResponseSchema, models$3 as OauthTypes, type PatchedUserProfileUpdateRequest, PatchedUserProfileUpdateRequestSchema, REFRESH_TOKEN_KEY$1 as REFRESH_TOKEN_KEY, type RequestLog$1 as RequestLog, type ResponseLog$1 as ResponseLog, type RetryConfig$1 as RetryConfig, index$5 as Schemas, type StorageAdapter$1 as StorageAdapter, TOKEN_KEY$1 as TOKEN_KEY, type TokenRefresh, type TokenRefreshRequest, TokenRefreshRequestSchema, TokenRefreshSchema, type User, models$2 as UserProfileTypes, type UserProfileUpdateRequest, UserProfileUpdateRequestSchema, UserSchema, type ValidationErrorDetail$1 as ValidationErrorDetail, type ValidationErrorEvent$1 as ValidationErrorEvent, API as WebPushAPI, index as WebPushTypes, api, clearAPITokens$1 as clearAPITokens, configureAPI$1 as configureAPI, createAccountsOauthDisconnectCreate, createAccountsOauthGithubAuthorizeCreate, createAccountsOauthGithubCallbackCreate, createAccountsOtpRequestCreate, createAccountsOtpVerifyCreate, createAccountsProfileAvatarCreate, createAccountsProfileDeleteCreate, createAccountsTokenRefreshCreate, dispatchValidationError$1 as dispatchValidationError, formatZodError$1 as formatZodError, getAPIInstance$1 as getAPIInstance, getAccountsOauthConnectionsList, getAccountsOauthProvidersRetrieve, getAccountsProfileRetrieve, getCentrifugoAuthTokenRetrieve, isAPIConfigured$1 as isAPIConfigured, onValidationError$1 as onValidationError, partialUpdateAccountsProfilePartialPartialUpdate, partialUpdateAccountsProfilePartialUpdate, partialUpdateAccountsProfileUpdatePartialUpdate, reconfigureAPI$1 as reconfigureAPI, resetAPI$1 as resetAPI, shouldRetry$1 as shouldRetry, updateAccountsProfileUpdateUpdate, withRetry$1 as withRetry };
|