@robosystems/client 0.1.20 → 0.1.21
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/LICENSE +1 -1
- package/README.md +10 -423
- package/bin/create-feature +7 -17
- package/package.json +2 -2
- package/sdk/sdk.gen.d.ts +40 -15
- package/sdk/sdk.gen.js +100 -33
- package/sdk/sdk.gen.ts +99 -32
- package/sdk/types.gen.d.ts +252 -38
- package/sdk/types.gen.ts +289 -46
- package/sdk.gen.d.ts +40 -15
- package/sdk.gen.js +100 -33
- package/sdk.gen.ts +99 -32
- package/types.gen.d.ts +252 -38
- package/types.gen.ts +289 -46
package/sdk.gen.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
2
|
|
|
3
3
|
import type { Options as ClientOptions, TDataShape, Client } from './client';
|
|
4
|
-
import type { RegisterUserData, RegisterUserResponses, RegisterUserErrors, LoginUserData, LoginUserResponses, LoginUserErrors, LogoutUserData, LogoutUserResponses, LogoutUserErrors, GetCurrentAuthUserData, GetCurrentAuthUserResponses, GetCurrentAuthUserErrors,
|
|
4
|
+
import type { RegisterUserData, RegisterUserResponses, RegisterUserErrors, LoginUserData, LoginUserResponses, LoginUserErrors, LogoutUserData, LogoutUserResponses, LogoutUserErrors, GetCurrentAuthUserData, GetCurrentAuthUserResponses, GetCurrentAuthUserErrors, RefreshAuthSessionData, RefreshAuthSessionResponses, RefreshAuthSessionErrors, ResendVerificationEmailData, ResendVerificationEmailResponses, ResendVerificationEmailErrors, VerifyEmailData, VerifyEmailResponses, VerifyEmailErrors, GetPasswordPolicyData, GetPasswordPolicyResponses, CheckPasswordStrengthData, CheckPasswordStrengthResponses, CheckPasswordStrengthErrors, ForgotPasswordData, ForgotPasswordResponses, ForgotPasswordErrors, ValidateResetTokenData, ValidateResetTokenResponses, ValidateResetTokenErrors, ResetPasswordData, ResetPasswordResponses, ResetPasswordErrors, GenerateSsoTokenData, GenerateSsoTokenResponses, GenerateSsoTokenErrors, SsoLoginData, SsoLoginResponses, SsoLoginErrors, SsoTokenExchangeData, SsoTokenExchangeResponses, SsoTokenExchangeErrors, CompleteSsoAuthData, CompleteSsoAuthResponses, CompleteSsoAuthErrors, GetCaptchaConfigData, GetCaptchaConfigResponses, GetServiceStatusData, GetServiceStatusResponses, GetCurrentUserData, GetCurrentUserResponses, GetCurrentUserErrors, UpdateUserData, UpdateUserResponses, UpdateUserErrors, GetUserGraphsData, GetUserGraphsResponses, GetUserGraphsErrors, SelectUserGraphData, SelectUserGraphResponses, SelectUserGraphErrors, GetAllCreditSummariesData, GetAllCreditSummariesResponses, GetAllCreditSummariesErrors, UpdateUserPasswordData, UpdateUserPasswordResponses, UpdateUserPasswordErrors, ListUserApiKeysData, ListUserApiKeysResponses, ListUserApiKeysErrors, CreateUserApiKeyData, CreateUserApiKeyResponses, CreateUserApiKeyErrors, RevokeUserApiKeyData, RevokeUserApiKeyResponses, RevokeUserApiKeyErrors, UpdateUserApiKeyData, UpdateUserApiKeyResponses, UpdateUserApiKeyErrors, GetUserLimitsData, GetUserLimitsResponses, GetUserLimitsErrors, GetUserUsageData, GetUserUsageResponses, GetUserUsageErrors, GetAllSharedRepositoryLimitsData, GetAllSharedRepositoryLimitsResponses, GetAllSharedRepositoryLimitsErrors, GetSharedRepositoryLimitsData, GetSharedRepositoryLimitsResponses, GetSharedRepositoryLimitsErrors, GetUserUsageOverviewData, GetUserUsageOverviewResponses, GetUserUsageOverviewErrors, GetDetailedUserAnalyticsData, GetDetailedUserAnalyticsResponses, GetDetailedUserAnalyticsErrors, GetUserSharedSubscriptionsData, GetUserSharedSubscriptionsResponses, GetUserSharedSubscriptionsErrors, SubscribeToSharedRepositoryData, SubscribeToSharedRepositoryResponses, SubscribeToSharedRepositoryErrors, UpgradeSharedRepositorySubscriptionData, UpgradeSharedRepositorySubscriptionResponses, UpgradeSharedRepositorySubscriptionErrors, CancelSharedRepositorySubscriptionData, CancelSharedRepositorySubscriptionResponses, CancelSharedRepositorySubscriptionErrors, GetSharedRepositoryCreditsData, GetSharedRepositoryCreditsResponses, GetSharedRepositoryCreditsErrors, GetRepositoryCreditsData, GetRepositoryCreditsResponses, GetRepositoryCreditsErrors, GetConnectionOptionsData, GetConnectionOptionsResponses, GetConnectionOptionsErrors, SyncConnectionData, SyncConnectionResponses, SyncConnectionErrors, CreateLinkTokenData, CreateLinkTokenResponses, CreateLinkTokenErrors, ExchangeLinkTokenData, ExchangeLinkTokenResponses, ExchangeLinkTokenErrors, InitOAuthData, InitOAuthResponses, InitOAuthErrors, OauthCallbackData, OauthCallbackResponses, OauthCallbackErrors, ListConnectionsData, ListConnectionsResponses, ListConnectionsErrors, CreateConnectionData, CreateConnectionResponses, CreateConnectionErrors, DeleteConnectionData, DeleteConnectionResponses, DeleteConnectionErrors, GetConnectionData, GetConnectionResponses, GetConnectionErrors, AutoSelectAgentData, AutoSelectAgentResponses, AutoSelectAgentErrors, ExecuteSpecificAgentData, ExecuteSpecificAgentResponses, ExecuteSpecificAgentErrors, BatchProcessQueriesData, BatchProcessQueriesResponses, BatchProcessQueriesErrors, ListAgentsData, ListAgentsResponses, ListAgentsErrors, GetAgentMetadataData, GetAgentMetadataResponses, GetAgentMetadataErrors, RecommendAgentData, RecommendAgentResponses, RecommendAgentErrors, ListMcpToolsData, ListMcpToolsResponses, ListMcpToolsErrors, CallMcpToolData, CallMcpToolResponses, CallMcpToolErrors, ListBackupsData, ListBackupsResponses, ListBackupsErrors, CreateBackupData, CreateBackupResponses, CreateBackupErrors, ExportBackupData, ExportBackupResponses, ExportBackupErrors, GetBackupDownloadUrlData, GetBackupDownloadUrlResponses, GetBackupDownloadUrlErrors, RestoreBackupData, RestoreBackupResponses, RestoreBackupErrors, GetBackupStatsData, GetBackupStatsResponses, GetBackupStatsErrors, GetGraphMetricsData, GetGraphMetricsResponses, GetGraphMetricsErrors, GetGraphUsageStatsData, GetGraphUsageStatsResponses, GetGraphUsageStatsErrors, ExecuteCypherQueryData, ExecuteCypherQueryResponses, ExecuteCypherQueryErrors, GetGraphSchemaInfoData, GetGraphSchemaInfoResponses, GetGraphSchemaInfoErrors, ValidateSchemaData, ValidateSchemaResponses, ValidateSchemaErrors, ExportGraphSchemaData, ExportGraphSchemaResponses, ExportGraphSchemaErrors, ListSchemaExtensionsData, ListSchemaExtensionsResponses, ListSchemaExtensionsErrors, GetCurrentGraphBillData, GetCurrentGraphBillResponses, GetCurrentGraphBillErrors, GetGraphUsageDetailsData, GetGraphUsageDetailsResponses, GetGraphUsageDetailsErrors, GetGraphBillingHistoryData, GetGraphBillingHistoryResponses, GetGraphBillingHistoryErrors, GetGraphMonthlyBillData, GetGraphMonthlyBillResponses, GetGraphMonthlyBillErrors, GetCreditSummaryData, GetCreditSummaryResponses, GetCreditSummaryErrors, ListCreditTransactionsData, ListCreditTransactionsResponses, ListCreditTransactionsErrors, CheckCreditBalanceData, CheckCreditBalanceResponses, CheckCreditBalanceErrors, GetStorageUsageData, GetStorageUsageResponses, GetStorageUsageErrors, CheckStorageLimitsData, CheckStorageLimitsResponses, CheckStorageLimitsErrors, GetDatabaseHealthData, GetDatabaseHealthResponses, GetDatabaseHealthErrors, GetDatabaseInfoData, GetDatabaseInfoResponses, GetDatabaseInfoErrors, GetGraphLimitsData, GetGraphLimitsResponses, GetGraphLimitsErrors, ListSubgraphsData, ListSubgraphsResponses, ListSubgraphsErrors, CreateSubgraphData, CreateSubgraphResponses, CreateSubgraphErrors, DeleteSubgraphData, DeleteSubgraphResponses, DeleteSubgraphErrors, GetSubgraphInfoData, GetSubgraphInfoResponses, GetSubgraphInfoErrors, GetSubgraphQuotaData, GetSubgraphQuotaResponses, GetSubgraphQuotaErrors, CopyDataToGraphData, CopyDataToGraphResponses, CopyDataToGraphErrors, CreateGraphData, CreateGraphResponses, CreateGraphErrors, GetAvailableExtensionsData, GetAvailableExtensionsResponses, GetServiceOfferingsData, GetServiceOfferingsResponses, GetServiceOfferingsErrors, StreamOperationEventsData, StreamOperationEventsResponses, StreamOperationEventsErrors, GetOperationStatusData, GetOperationStatusResponses, GetOperationStatusErrors, CancelOperationData, CancelOperationResponses, CancelOperationErrors } from './types.gen';
|
|
5
5
|
import { client as _heyApiClient } from './client.gen';
|
|
6
6
|
|
|
7
7
|
export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = ClientOptions<TData, ThrowOnError> & {
|
|
@@ -61,7 +61,7 @@ export const logoutUser = <ThrowOnError extends boolean = false>(options?: Optio
|
|
|
61
61
|
|
|
62
62
|
/**
|
|
63
63
|
* Get Current User
|
|
64
|
-
* Get
|
|
64
|
+
* Get the currently authenticated user.
|
|
65
65
|
*/
|
|
66
66
|
export const getCurrentAuthUser = <ThrowOnError extends boolean = false>(options?: Options<GetCurrentAuthUserData, ThrowOnError>) => {
|
|
67
67
|
return (options?.client ?? _heyApiClient).get<GetCurrentAuthUserResponses, GetCurrentAuthUserErrors, ThrowOnError>({
|
|
@@ -72,15 +72,108 @@ export const getCurrentAuthUser = <ThrowOnError extends boolean = false>(options
|
|
|
72
72
|
|
|
73
73
|
/**
|
|
74
74
|
* Refresh Session
|
|
75
|
-
* Refresh
|
|
75
|
+
* Refresh authentication session with a new JWT token.
|
|
76
76
|
*/
|
|
77
|
-
export const
|
|
78
|
-
return (options?.client ?? _heyApiClient).post<
|
|
77
|
+
export const refreshAuthSession = <ThrowOnError extends boolean = false>(options?: Options<RefreshAuthSessionData, ThrowOnError>) => {
|
|
78
|
+
return (options?.client ?? _heyApiClient).post<RefreshAuthSessionResponses, RefreshAuthSessionErrors, ThrowOnError>({
|
|
79
79
|
url: '/v1/auth/refresh',
|
|
80
80
|
...options
|
|
81
81
|
});
|
|
82
82
|
};
|
|
83
83
|
|
|
84
|
+
/**
|
|
85
|
+
* Resend Email Verification
|
|
86
|
+
* Resend verification email to the authenticated user. Rate limited to 3 per hour.
|
|
87
|
+
*/
|
|
88
|
+
export const resendVerificationEmail = <ThrowOnError extends boolean = false>(options?: Options<ResendVerificationEmailData, ThrowOnError>) => {
|
|
89
|
+
return (options?.client ?? _heyApiClient).post<ResendVerificationEmailResponses, ResendVerificationEmailErrors, ThrowOnError>({
|
|
90
|
+
url: '/v1/auth/email/resend',
|
|
91
|
+
...options
|
|
92
|
+
});
|
|
93
|
+
};
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* Verify Email
|
|
97
|
+
* Verify email address with token from email link. Returns JWT for auto-login.
|
|
98
|
+
*/
|
|
99
|
+
export const verifyEmail = <ThrowOnError extends boolean = false>(options: Options<VerifyEmailData, ThrowOnError>) => {
|
|
100
|
+
return (options.client ?? _heyApiClient).post<VerifyEmailResponses, VerifyEmailErrors, ThrowOnError>({
|
|
101
|
+
url: '/v1/auth/email/verify',
|
|
102
|
+
...options,
|
|
103
|
+
headers: {
|
|
104
|
+
'Content-Type': 'application/json',
|
|
105
|
+
...options.headers
|
|
106
|
+
}
|
|
107
|
+
});
|
|
108
|
+
};
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* Get Password Policy
|
|
112
|
+
* Get current password policy requirements for frontend validation
|
|
113
|
+
*/
|
|
114
|
+
export const getPasswordPolicy = <ThrowOnError extends boolean = false>(options?: Options<GetPasswordPolicyData, ThrowOnError>) => {
|
|
115
|
+
return (options?.client ?? _heyApiClient).get<GetPasswordPolicyResponses, unknown, ThrowOnError>({
|
|
116
|
+
url: '/v1/auth/password/policy',
|
|
117
|
+
...options
|
|
118
|
+
});
|
|
119
|
+
};
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* Check Password Strength
|
|
123
|
+
* Check password strength and get validation feedback
|
|
124
|
+
*/
|
|
125
|
+
export const checkPasswordStrength = <ThrowOnError extends boolean = false>(options: Options<CheckPasswordStrengthData, ThrowOnError>) => {
|
|
126
|
+
return (options.client ?? _heyApiClient).post<CheckPasswordStrengthResponses, CheckPasswordStrengthErrors, ThrowOnError>({
|
|
127
|
+
url: '/v1/auth/password/check',
|
|
128
|
+
...options,
|
|
129
|
+
headers: {
|
|
130
|
+
'Content-Type': 'application/json',
|
|
131
|
+
...options.headers
|
|
132
|
+
}
|
|
133
|
+
});
|
|
134
|
+
};
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* Forgot Password
|
|
138
|
+
* Request password reset email. Always returns success to prevent email enumeration.
|
|
139
|
+
*/
|
|
140
|
+
export const forgotPassword = <ThrowOnError extends boolean = false>(options: Options<ForgotPasswordData, ThrowOnError>) => {
|
|
141
|
+
return (options.client ?? _heyApiClient).post<ForgotPasswordResponses, ForgotPasswordErrors, ThrowOnError>({
|
|
142
|
+
url: '/v1/auth/password/forgot',
|
|
143
|
+
...options,
|
|
144
|
+
headers: {
|
|
145
|
+
'Content-Type': 'application/json',
|
|
146
|
+
...options.headers
|
|
147
|
+
}
|
|
148
|
+
});
|
|
149
|
+
};
|
|
150
|
+
|
|
151
|
+
/**
|
|
152
|
+
* Validate Reset Token
|
|
153
|
+
* Check if a password reset token is valid without consuming it.
|
|
154
|
+
*/
|
|
155
|
+
export const validateResetToken = <ThrowOnError extends boolean = false>(options: Options<ValidateResetTokenData, ThrowOnError>) => {
|
|
156
|
+
return (options.client ?? _heyApiClient).get<ValidateResetTokenResponses, ValidateResetTokenErrors, ThrowOnError>({
|
|
157
|
+
url: '/v1/auth/password/reset/validate',
|
|
158
|
+
...options
|
|
159
|
+
});
|
|
160
|
+
};
|
|
161
|
+
|
|
162
|
+
/**
|
|
163
|
+
* Reset Password
|
|
164
|
+
* Reset password with token from email. Returns JWT for auto-login.
|
|
165
|
+
*/
|
|
166
|
+
export const resetPassword = <ThrowOnError extends boolean = false>(options: Options<ResetPasswordData, ThrowOnError>) => {
|
|
167
|
+
return (options.client ?? _heyApiClient).post<ResetPasswordResponses, ResetPasswordErrors, ThrowOnError>({
|
|
168
|
+
url: '/v1/auth/password/reset',
|
|
169
|
+
...options,
|
|
170
|
+
headers: {
|
|
171
|
+
'Content-Type': 'application/json',
|
|
172
|
+
...options.headers
|
|
173
|
+
}
|
|
174
|
+
});
|
|
175
|
+
};
|
|
176
|
+
|
|
84
177
|
/**
|
|
85
178
|
* Generate SSO Token
|
|
86
179
|
* Generate a temporary SSO token for cross-app authentication.
|
|
@@ -137,32 +230,6 @@ export const completeSsoAuth = <ThrowOnError extends boolean = false>(options: O
|
|
|
137
230
|
});
|
|
138
231
|
};
|
|
139
232
|
|
|
140
|
-
/**
|
|
141
|
-
* Get Password Policy
|
|
142
|
-
* Get current password policy requirements for frontend validation
|
|
143
|
-
*/
|
|
144
|
-
export const getPasswordPolicy = <ThrowOnError extends boolean = false>(options?: Options<GetPasswordPolicyData, ThrowOnError>) => {
|
|
145
|
-
return (options?.client ?? _heyApiClient).get<GetPasswordPolicyResponses, unknown, ThrowOnError>({
|
|
146
|
-
url: '/v1/auth/password/policy',
|
|
147
|
-
...options
|
|
148
|
-
});
|
|
149
|
-
};
|
|
150
|
-
|
|
151
|
-
/**
|
|
152
|
-
* Check Password Strength
|
|
153
|
-
* Check password strength and get validation feedback
|
|
154
|
-
*/
|
|
155
|
-
export const checkPasswordStrength = <ThrowOnError extends boolean = false>(options: Options<CheckPasswordStrengthData, ThrowOnError>) => {
|
|
156
|
-
return (options.client ?? _heyApiClient).post<CheckPasswordStrengthResponses, CheckPasswordStrengthErrors, ThrowOnError>({
|
|
157
|
-
url: '/v1/auth/password/check',
|
|
158
|
-
...options,
|
|
159
|
-
headers: {
|
|
160
|
-
'Content-Type': 'application/json',
|
|
161
|
-
...options.headers
|
|
162
|
-
}
|
|
163
|
-
});
|
|
164
|
-
};
|
|
165
|
-
|
|
166
233
|
/**
|
|
167
234
|
* Get CAPTCHA Configuration
|
|
168
235
|
* Get CAPTCHA configuration including site key and whether CAPTCHA is required.
|
|
@@ -897,7 +964,7 @@ export const initOAuth = <ThrowOnError extends boolean = false>(options: Options
|
|
|
897
964
|
* - **QuickBooks**: Accounting data integration
|
|
898
965
|
*
|
|
899
966
|
* Security measures:
|
|
900
|
-
* - State validation prevents
|
|
967
|
+
* - State validation prevents session hijacking
|
|
901
968
|
* - User context is verified
|
|
902
969
|
* - Tokens are encrypted before storage
|
|
903
970
|
* - Full audit trail is maintained
|
package/types.gen.d.ts
CHANGED
|
@@ -1455,6 +1455,17 @@ export type DetailedTransactionsResponse = {
|
|
|
1455
1455
|
[key: string]: string;
|
|
1456
1456
|
};
|
|
1457
1457
|
};
|
|
1458
|
+
/**
|
|
1459
|
+
* EmailVerificationRequest
|
|
1460
|
+
* Email verification request model.
|
|
1461
|
+
*/
|
|
1462
|
+
export type EmailVerificationRequest = {
|
|
1463
|
+
/**
|
|
1464
|
+
* Token
|
|
1465
|
+
* Email verification token from email link
|
|
1466
|
+
*/
|
|
1467
|
+
token: string;
|
|
1468
|
+
};
|
|
1458
1469
|
/**
|
|
1459
1470
|
* EnhancedCreditTransactionResponse
|
|
1460
1471
|
* Enhanced credit transaction response with more details.
|
|
@@ -1555,6 +1566,17 @@ export type ExchangeTokenRequest = {
|
|
|
1555
1566
|
[key: string]: unknown;
|
|
1556
1567
|
} | null;
|
|
1557
1568
|
};
|
|
1569
|
+
/**
|
|
1570
|
+
* ForgotPasswordRequest
|
|
1571
|
+
* Forgot password request model.
|
|
1572
|
+
*/
|
|
1573
|
+
export type ForgotPasswordRequest = {
|
|
1574
|
+
/**
|
|
1575
|
+
* Email
|
|
1576
|
+
* Email address to send reset link
|
|
1577
|
+
*/
|
|
1578
|
+
email: string;
|
|
1579
|
+
};
|
|
1558
1580
|
/**
|
|
1559
1581
|
* GraphInfo
|
|
1560
1582
|
* Graph information for user.
|
|
@@ -2171,6 +2193,38 @@ export type RepositoryPlan = 'starter' | 'advanced' | 'unlimited';
|
|
|
2171
2193
|
* Types of shared repositories.
|
|
2172
2194
|
*/
|
|
2173
2195
|
export type RepositoryType = 'sec' | 'industry' | 'economic';
|
|
2196
|
+
/**
|
|
2197
|
+
* ResetPasswordRequest
|
|
2198
|
+
* Reset password request model.
|
|
2199
|
+
*/
|
|
2200
|
+
export type ResetPasswordRequest = {
|
|
2201
|
+
/**
|
|
2202
|
+
* Token
|
|
2203
|
+
* Password reset token from email link
|
|
2204
|
+
*/
|
|
2205
|
+
token: string;
|
|
2206
|
+
/**
|
|
2207
|
+
* New Password
|
|
2208
|
+
* New password (must meet security requirements)
|
|
2209
|
+
*/
|
|
2210
|
+
new_password: string;
|
|
2211
|
+
};
|
|
2212
|
+
/**
|
|
2213
|
+
* ResetPasswordValidateResponse
|
|
2214
|
+
* Password reset token validation response model.
|
|
2215
|
+
*/
|
|
2216
|
+
export type ResetPasswordValidateResponse = {
|
|
2217
|
+
/**
|
|
2218
|
+
* Valid
|
|
2219
|
+
* Whether the token is valid
|
|
2220
|
+
*/
|
|
2221
|
+
valid: boolean;
|
|
2222
|
+
/**
|
|
2223
|
+
* Email
|
|
2224
|
+
* Masked email address if token is valid
|
|
2225
|
+
*/
|
|
2226
|
+
email?: string | null;
|
|
2227
|
+
};
|
|
2174
2228
|
/**
|
|
2175
2229
|
* ResponseMode
|
|
2176
2230
|
* Response modes for execution.
|
|
@@ -3329,6 +3383,12 @@ export type LoginUserResponses = {
|
|
|
3329
3383
|
export type LoginUserResponse = LoginUserResponses[keyof LoginUserResponses];
|
|
3330
3384
|
export type LogoutUserData = {
|
|
3331
3385
|
body?: never;
|
|
3386
|
+
headers?: {
|
|
3387
|
+
/**
|
|
3388
|
+
* Authorization
|
|
3389
|
+
*/
|
|
3390
|
+
authorization?: string | null;
|
|
3391
|
+
};
|
|
3332
3392
|
path?: never;
|
|
3333
3393
|
query?: never;
|
|
3334
3394
|
url: '/v1/auth/logout';
|
|
@@ -3383,13 +3443,19 @@ export type GetCurrentAuthUserResponses = {
|
|
|
3383
3443
|
};
|
|
3384
3444
|
};
|
|
3385
3445
|
export type GetCurrentAuthUserResponse = GetCurrentAuthUserResponses[keyof GetCurrentAuthUserResponses];
|
|
3386
|
-
export type
|
|
3446
|
+
export type RefreshAuthSessionData = {
|
|
3387
3447
|
body?: never;
|
|
3448
|
+
headers?: {
|
|
3449
|
+
/**
|
|
3450
|
+
* Authorization
|
|
3451
|
+
*/
|
|
3452
|
+
authorization?: string | null;
|
|
3453
|
+
};
|
|
3388
3454
|
path?: never;
|
|
3389
3455
|
query?: never;
|
|
3390
3456
|
url: '/v1/auth/refresh';
|
|
3391
3457
|
};
|
|
3392
|
-
export type
|
|
3458
|
+
export type RefreshAuthSessionErrors = {
|
|
3393
3459
|
/**
|
|
3394
3460
|
* Not authenticated
|
|
3395
3461
|
*/
|
|
@@ -3399,16 +3465,197 @@ export type RefreshSessionErrors = {
|
|
|
3399
3465
|
*/
|
|
3400
3466
|
422: HttpValidationError;
|
|
3401
3467
|
};
|
|
3402
|
-
export type
|
|
3403
|
-
export type
|
|
3468
|
+
export type RefreshAuthSessionError = RefreshAuthSessionErrors[keyof RefreshAuthSessionErrors];
|
|
3469
|
+
export type RefreshAuthSessionResponses = {
|
|
3470
|
+
/**
|
|
3471
|
+
* Successful Response
|
|
3472
|
+
*/
|
|
3473
|
+
200: AuthResponse;
|
|
3474
|
+
};
|
|
3475
|
+
export type RefreshAuthSessionResponse = RefreshAuthSessionResponses[keyof RefreshAuthSessionResponses];
|
|
3476
|
+
export type ResendVerificationEmailData = {
|
|
3477
|
+
body?: never;
|
|
3478
|
+
headers?: {
|
|
3479
|
+
/**
|
|
3480
|
+
* Authorization
|
|
3481
|
+
*/
|
|
3482
|
+
authorization?: string | null;
|
|
3483
|
+
};
|
|
3484
|
+
path?: never;
|
|
3485
|
+
query?: never;
|
|
3486
|
+
url: '/v1/auth/email/resend';
|
|
3487
|
+
};
|
|
3488
|
+
export type ResendVerificationEmailErrors = {
|
|
3489
|
+
/**
|
|
3490
|
+
* Email already verified
|
|
3491
|
+
*/
|
|
3492
|
+
400: ErrorResponse;
|
|
3493
|
+
/**
|
|
3494
|
+
* Validation Error
|
|
3495
|
+
*/
|
|
3496
|
+
422: HttpValidationError;
|
|
3497
|
+
/**
|
|
3498
|
+
* Rate limit exceeded
|
|
3499
|
+
*/
|
|
3500
|
+
429: ErrorResponse;
|
|
3501
|
+
/**
|
|
3502
|
+
* Email service unavailable
|
|
3503
|
+
*/
|
|
3504
|
+
503: ErrorResponse;
|
|
3505
|
+
};
|
|
3506
|
+
export type ResendVerificationEmailError = ResendVerificationEmailErrors[keyof ResendVerificationEmailErrors];
|
|
3507
|
+
export type ResendVerificationEmailResponses = {
|
|
3508
|
+
/**
|
|
3509
|
+
* Response Resendverificationemail
|
|
3510
|
+
* Successful Response
|
|
3511
|
+
*/
|
|
3512
|
+
200: {
|
|
3513
|
+
[key: string]: unknown;
|
|
3514
|
+
};
|
|
3515
|
+
};
|
|
3516
|
+
export type ResendVerificationEmailResponse = ResendVerificationEmailResponses[keyof ResendVerificationEmailResponses];
|
|
3517
|
+
export type VerifyEmailData = {
|
|
3518
|
+
body: EmailVerificationRequest;
|
|
3519
|
+
path?: never;
|
|
3520
|
+
query?: never;
|
|
3521
|
+
url: '/v1/auth/email/verify';
|
|
3522
|
+
};
|
|
3523
|
+
export type VerifyEmailErrors = {
|
|
3524
|
+
/**
|
|
3525
|
+
* Invalid or expired token
|
|
3526
|
+
*/
|
|
3527
|
+
400: ErrorResponse;
|
|
3528
|
+
/**
|
|
3529
|
+
* Validation Error
|
|
3530
|
+
*/
|
|
3531
|
+
422: HttpValidationError;
|
|
3532
|
+
};
|
|
3533
|
+
export type VerifyEmailError = VerifyEmailErrors[keyof VerifyEmailErrors];
|
|
3534
|
+
export type VerifyEmailResponses = {
|
|
3404
3535
|
/**
|
|
3405
3536
|
* Successful Response
|
|
3406
3537
|
*/
|
|
3407
3538
|
200: AuthResponse;
|
|
3408
3539
|
};
|
|
3409
|
-
export type
|
|
3540
|
+
export type VerifyEmailResponse = VerifyEmailResponses[keyof VerifyEmailResponses];
|
|
3541
|
+
export type GetPasswordPolicyData = {
|
|
3542
|
+
body?: never;
|
|
3543
|
+
path?: never;
|
|
3544
|
+
query?: never;
|
|
3545
|
+
url: '/v1/auth/password/policy';
|
|
3546
|
+
};
|
|
3547
|
+
export type GetPasswordPolicyResponses = {
|
|
3548
|
+
/**
|
|
3549
|
+
* Password policy requirements
|
|
3550
|
+
*/
|
|
3551
|
+
200: PasswordPolicyResponse;
|
|
3552
|
+
};
|
|
3553
|
+
export type GetPasswordPolicyResponse = GetPasswordPolicyResponses[keyof GetPasswordPolicyResponses];
|
|
3554
|
+
export type CheckPasswordStrengthData = {
|
|
3555
|
+
body: PasswordCheckRequest;
|
|
3556
|
+
path?: never;
|
|
3557
|
+
query?: never;
|
|
3558
|
+
url: '/v1/auth/password/check';
|
|
3559
|
+
};
|
|
3560
|
+
export type CheckPasswordStrengthErrors = {
|
|
3561
|
+
/**
|
|
3562
|
+
* Validation Error
|
|
3563
|
+
*/
|
|
3564
|
+
422: HttpValidationError;
|
|
3565
|
+
};
|
|
3566
|
+
export type CheckPasswordStrengthError = CheckPasswordStrengthErrors[keyof CheckPasswordStrengthErrors];
|
|
3567
|
+
export type CheckPasswordStrengthResponses = {
|
|
3568
|
+
/**
|
|
3569
|
+
* Password strength analysis
|
|
3570
|
+
*/
|
|
3571
|
+
200: PasswordCheckResponse;
|
|
3572
|
+
};
|
|
3573
|
+
export type CheckPasswordStrengthResponse = CheckPasswordStrengthResponses[keyof CheckPasswordStrengthResponses];
|
|
3574
|
+
export type ForgotPasswordData = {
|
|
3575
|
+
body: ForgotPasswordRequest;
|
|
3576
|
+
path?: never;
|
|
3577
|
+
query?: never;
|
|
3578
|
+
url: '/v1/auth/password/forgot';
|
|
3579
|
+
};
|
|
3580
|
+
export type ForgotPasswordErrors = {
|
|
3581
|
+
/**
|
|
3582
|
+
* Validation Error
|
|
3583
|
+
*/
|
|
3584
|
+
422: HttpValidationError;
|
|
3585
|
+
/**
|
|
3586
|
+
* Rate limit exceeded
|
|
3587
|
+
*/
|
|
3588
|
+
429: ErrorResponse;
|
|
3589
|
+
};
|
|
3590
|
+
export type ForgotPasswordError = ForgotPasswordErrors[keyof ForgotPasswordErrors];
|
|
3591
|
+
export type ForgotPasswordResponses = {
|
|
3592
|
+
/**
|
|
3593
|
+
* Response Forgotpassword
|
|
3594
|
+
* Successful Response
|
|
3595
|
+
*/
|
|
3596
|
+
200: {
|
|
3597
|
+
[key: string]: unknown;
|
|
3598
|
+
};
|
|
3599
|
+
};
|
|
3600
|
+
export type ForgotPasswordResponse = ForgotPasswordResponses[keyof ForgotPasswordResponses];
|
|
3601
|
+
export type ValidateResetTokenData = {
|
|
3602
|
+
body?: never;
|
|
3603
|
+
path?: never;
|
|
3604
|
+
query: {
|
|
3605
|
+
/**
|
|
3606
|
+
* Token
|
|
3607
|
+
* Password reset token
|
|
3608
|
+
*/
|
|
3609
|
+
token: string;
|
|
3610
|
+
};
|
|
3611
|
+
url: '/v1/auth/password/reset/validate';
|
|
3612
|
+
};
|
|
3613
|
+
export type ValidateResetTokenErrors = {
|
|
3614
|
+
/**
|
|
3615
|
+
* Validation Error
|
|
3616
|
+
*/
|
|
3617
|
+
422: HttpValidationError;
|
|
3618
|
+
};
|
|
3619
|
+
export type ValidateResetTokenError = ValidateResetTokenErrors[keyof ValidateResetTokenErrors];
|
|
3620
|
+
export type ValidateResetTokenResponses = {
|
|
3621
|
+
/**
|
|
3622
|
+
* Successful Response
|
|
3623
|
+
*/
|
|
3624
|
+
200: ResetPasswordValidateResponse;
|
|
3625
|
+
};
|
|
3626
|
+
export type ValidateResetTokenResponse = ValidateResetTokenResponses[keyof ValidateResetTokenResponses];
|
|
3627
|
+
export type ResetPasswordData = {
|
|
3628
|
+
body: ResetPasswordRequest;
|
|
3629
|
+
path?: never;
|
|
3630
|
+
query?: never;
|
|
3631
|
+
url: '/v1/auth/password/reset';
|
|
3632
|
+
};
|
|
3633
|
+
export type ResetPasswordErrors = {
|
|
3634
|
+
/**
|
|
3635
|
+
* Invalid token or password
|
|
3636
|
+
*/
|
|
3637
|
+
400: ErrorResponse;
|
|
3638
|
+
/**
|
|
3639
|
+
* Validation Error
|
|
3640
|
+
*/
|
|
3641
|
+
422: HttpValidationError;
|
|
3642
|
+
};
|
|
3643
|
+
export type ResetPasswordError = ResetPasswordErrors[keyof ResetPasswordErrors];
|
|
3644
|
+
export type ResetPasswordResponses = {
|
|
3645
|
+
/**
|
|
3646
|
+
* Successful Response
|
|
3647
|
+
*/
|
|
3648
|
+
200: AuthResponse;
|
|
3649
|
+
};
|
|
3650
|
+
export type ResetPasswordResponse = ResetPasswordResponses[keyof ResetPasswordResponses];
|
|
3410
3651
|
export type GenerateSsoTokenData = {
|
|
3411
3652
|
body?: never;
|
|
3653
|
+
headers?: {
|
|
3654
|
+
/**
|
|
3655
|
+
* Authorization
|
|
3656
|
+
*/
|
|
3657
|
+
authorization?: string | null;
|
|
3658
|
+
};
|
|
3412
3659
|
path?: never;
|
|
3413
3660
|
query?: never;
|
|
3414
3661
|
url: '/v1/auth/sso-token';
|
|
@@ -3507,39 +3754,6 @@ export type CompleteSsoAuthResponses = {
|
|
|
3507
3754
|
200: AuthResponse;
|
|
3508
3755
|
};
|
|
3509
3756
|
export type CompleteSsoAuthResponse = CompleteSsoAuthResponses[keyof CompleteSsoAuthResponses];
|
|
3510
|
-
export type GetPasswordPolicyData = {
|
|
3511
|
-
body?: never;
|
|
3512
|
-
path?: never;
|
|
3513
|
-
query?: never;
|
|
3514
|
-
url: '/v1/auth/password/policy';
|
|
3515
|
-
};
|
|
3516
|
-
export type GetPasswordPolicyResponses = {
|
|
3517
|
-
/**
|
|
3518
|
-
* Password policy requirements
|
|
3519
|
-
*/
|
|
3520
|
-
200: PasswordPolicyResponse;
|
|
3521
|
-
};
|
|
3522
|
-
export type GetPasswordPolicyResponse = GetPasswordPolicyResponses[keyof GetPasswordPolicyResponses];
|
|
3523
|
-
export type CheckPasswordStrengthData = {
|
|
3524
|
-
body: PasswordCheckRequest;
|
|
3525
|
-
path?: never;
|
|
3526
|
-
query?: never;
|
|
3527
|
-
url: '/v1/auth/password/check';
|
|
3528
|
-
};
|
|
3529
|
-
export type CheckPasswordStrengthErrors = {
|
|
3530
|
-
/**
|
|
3531
|
-
* Validation Error
|
|
3532
|
-
*/
|
|
3533
|
-
422: HttpValidationError;
|
|
3534
|
-
};
|
|
3535
|
-
export type CheckPasswordStrengthError = CheckPasswordStrengthErrors[keyof CheckPasswordStrengthErrors];
|
|
3536
|
-
export type CheckPasswordStrengthResponses = {
|
|
3537
|
-
/**
|
|
3538
|
-
* Password strength analysis
|
|
3539
|
-
*/
|
|
3540
|
-
200: PasswordCheckResponse;
|
|
3541
|
-
};
|
|
3542
|
-
export type CheckPasswordStrengthResponse = CheckPasswordStrengthResponses[keyof CheckPasswordStrengthResponses];
|
|
3543
3757
|
export type GetCaptchaConfigData = {
|
|
3544
3758
|
body?: never;
|
|
3545
3759
|
path?: never;
|