@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/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;
|