@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/types.gen.ts CHANGED
@@ -1501,6 +1501,18 @@ export type DetailedTransactionsResponse = {
1501
1501
  };
1502
1502
  };
1503
1503
 
1504
+ /**
1505
+ * EmailVerificationRequest
1506
+ * Email verification request model.
1507
+ */
1508
+ export type EmailVerificationRequest = {
1509
+ /**
1510
+ * Token
1511
+ * Email verification token from email link
1512
+ */
1513
+ token: string;
1514
+ };
1515
+
1504
1516
  /**
1505
1517
  * EnhancedCreditTransactionResponse
1506
1518
  * Enhanced credit transaction response with more details.
@@ -1604,6 +1616,18 @@ export type ExchangeTokenRequest = {
1604
1616
  } | null;
1605
1617
  };
1606
1618
 
1619
+ /**
1620
+ * ForgotPasswordRequest
1621
+ * Forgot password request model.
1622
+ */
1623
+ export type ForgotPasswordRequest = {
1624
+ /**
1625
+ * Email
1626
+ * Email address to send reset link
1627
+ */
1628
+ email: string;
1629
+ };
1630
+
1607
1631
  /**
1608
1632
  * GraphInfo
1609
1633
  * Graph information for user.
@@ -2244,6 +2268,40 @@ export type RepositoryPlan = 'starter' | 'advanced' | 'unlimited';
2244
2268
  */
2245
2269
  export type RepositoryType = 'sec' | 'industry' | 'economic';
2246
2270
 
2271
+ /**
2272
+ * ResetPasswordRequest
2273
+ * Reset password request model.
2274
+ */
2275
+ export type ResetPasswordRequest = {
2276
+ /**
2277
+ * Token
2278
+ * Password reset token from email link
2279
+ */
2280
+ token: string;
2281
+ /**
2282
+ * New Password
2283
+ * New password (must meet security requirements)
2284
+ */
2285
+ new_password: string;
2286
+ };
2287
+
2288
+ /**
2289
+ * ResetPasswordValidateResponse
2290
+ * Password reset token validation response model.
2291
+ */
2292
+ export type ResetPasswordValidateResponse = {
2293
+ /**
2294
+ * Valid
2295
+ * Whether the token is valid
2296
+ */
2297
+ valid: boolean;
2298
+ /**
2299
+ * Email
2300
+ * Masked email address if token is valid
2301
+ */
2302
+ email?: string | null;
2303
+ };
2304
+
2247
2305
  /**
2248
2306
  * ResponseMode
2249
2307
  * Response modes for execution.
@@ -3449,6 +3507,12 @@ export type LoginUserResponse = LoginUserResponses[keyof LoginUserResponses];
3449
3507
 
3450
3508
  export type LogoutUserData = {
3451
3509
  body?: never;
3510
+ headers?: {
3511
+ /**
3512
+ * Authorization
3513
+ */
3514
+ authorization?: string | null;
3515
+ };
3452
3516
  path?: never;
3453
3517
  query?: never;
3454
3518
  url: '/v1/auth/logout';
@@ -3513,14 +3577,20 @@ export type GetCurrentAuthUserResponses = {
3513
3577
 
3514
3578
  export type GetCurrentAuthUserResponse = GetCurrentAuthUserResponses[keyof GetCurrentAuthUserResponses];
3515
3579
 
3516
- export type RefreshSessionData = {
3580
+ export type RefreshAuthSessionData = {
3517
3581
  body?: never;
3582
+ headers?: {
3583
+ /**
3584
+ * Authorization
3585
+ */
3586
+ authorization?: string | null;
3587
+ };
3518
3588
  path?: never;
3519
3589
  query?: never;
3520
3590
  url: '/v1/auth/refresh';
3521
3591
  };
3522
3592
 
3523
- export type RefreshSessionErrors = {
3593
+ export type RefreshAuthSessionErrors = {
3524
3594
  /**
3525
3595
  * Not authenticated
3526
3596
  */
@@ -3531,19 +3601,233 @@ export type RefreshSessionErrors = {
3531
3601
  422: HttpValidationError;
3532
3602
  };
3533
3603
 
3534
- export type RefreshSessionError = RefreshSessionErrors[keyof RefreshSessionErrors];
3604
+ export type RefreshAuthSessionError = RefreshAuthSessionErrors[keyof RefreshAuthSessionErrors];
3605
+
3606
+ export type RefreshAuthSessionResponses = {
3607
+ /**
3608
+ * Successful Response
3609
+ */
3610
+ 200: AuthResponse;
3611
+ };
3612
+
3613
+ export type RefreshAuthSessionResponse = RefreshAuthSessionResponses[keyof RefreshAuthSessionResponses];
3614
+
3615
+ export type ResendVerificationEmailData = {
3616
+ body?: never;
3617
+ headers?: {
3618
+ /**
3619
+ * Authorization
3620
+ */
3621
+ authorization?: string | null;
3622
+ };
3623
+ path?: never;
3624
+ query?: never;
3625
+ url: '/v1/auth/email/resend';
3626
+ };
3627
+
3628
+ export type ResendVerificationEmailErrors = {
3629
+ /**
3630
+ * Email already verified
3631
+ */
3632
+ 400: ErrorResponse;
3633
+ /**
3634
+ * Validation Error
3635
+ */
3636
+ 422: HttpValidationError;
3637
+ /**
3638
+ * Rate limit exceeded
3639
+ */
3640
+ 429: ErrorResponse;
3641
+ /**
3642
+ * Email service unavailable
3643
+ */
3644
+ 503: ErrorResponse;
3645
+ };
3646
+
3647
+ export type ResendVerificationEmailError = ResendVerificationEmailErrors[keyof ResendVerificationEmailErrors];
3648
+
3649
+ export type ResendVerificationEmailResponses = {
3650
+ /**
3651
+ * Response Resendverificationemail
3652
+ * Successful Response
3653
+ */
3654
+ 200: {
3655
+ [key: string]: unknown;
3656
+ };
3657
+ };
3658
+
3659
+ export type ResendVerificationEmailResponse = ResendVerificationEmailResponses[keyof ResendVerificationEmailResponses];
3660
+
3661
+ export type VerifyEmailData = {
3662
+ body: EmailVerificationRequest;
3663
+ path?: never;
3664
+ query?: never;
3665
+ url: '/v1/auth/email/verify';
3666
+ };
3667
+
3668
+ export type VerifyEmailErrors = {
3669
+ /**
3670
+ * Invalid or expired token
3671
+ */
3672
+ 400: ErrorResponse;
3673
+ /**
3674
+ * Validation Error
3675
+ */
3676
+ 422: HttpValidationError;
3677
+ };
3678
+
3679
+ export type VerifyEmailError = VerifyEmailErrors[keyof VerifyEmailErrors];
3680
+
3681
+ export type VerifyEmailResponses = {
3682
+ /**
3683
+ * Successful Response
3684
+ */
3685
+ 200: AuthResponse;
3686
+ };
3687
+
3688
+ export type VerifyEmailResponse = VerifyEmailResponses[keyof VerifyEmailResponses];
3689
+
3690
+ export type GetPasswordPolicyData = {
3691
+ body?: never;
3692
+ path?: never;
3693
+ query?: never;
3694
+ url: '/v1/auth/password/policy';
3695
+ };
3696
+
3697
+ export type GetPasswordPolicyResponses = {
3698
+ /**
3699
+ * Password policy requirements
3700
+ */
3701
+ 200: PasswordPolicyResponse;
3702
+ };
3703
+
3704
+ export type GetPasswordPolicyResponse = GetPasswordPolicyResponses[keyof GetPasswordPolicyResponses];
3705
+
3706
+ export type CheckPasswordStrengthData = {
3707
+ body: PasswordCheckRequest;
3708
+ path?: never;
3709
+ query?: never;
3710
+ url: '/v1/auth/password/check';
3711
+ };
3712
+
3713
+ export type CheckPasswordStrengthErrors = {
3714
+ /**
3715
+ * Validation Error
3716
+ */
3717
+ 422: HttpValidationError;
3718
+ };
3719
+
3720
+ export type CheckPasswordStrengthError = CheckPasswordStrengthErrors[keyof CheckPasswordStrengthErrors];
3721
+
3722
+ export type CheckPasswordStrengthResponses = {
3723
+ /**
3724
+ * Password strength analysis
3725
+ */
3726
+ 200: PasswordCheckResponse;
3727
+ };
3728
+
3729
+ export type CheckPasswordStrengthResponse = CheckPasswordStrengthResponses[keyof CheckPasswordStrengthResponses];
3730
+
3731
+ export type ForgotPasswordData = {
3732
+ body: ForgotPasswordRequest;
3733
+ path?: never;
3734
+ query?: never;
3735
+ url: '/v1/auth/password/forgot';
3736
+ };
3737
+
3738
+ export type ForgotPasswordErrors = {
3739
+ /**
3740
+ * Validation Error
3741
+ */
3742
+ 422: HttpValidationError;
3743
+ /**
3744
+ * Rate limit exceeded
3745
+ */
3746
+ 429: ErrorResponse;
3747
+ };
3748
+
3749
+ export type ForgotPasswordError = ForgotPasswordErrors[keyof ForgotPasswordErrors];
3750
+
3751
+ export type ForgotPasswordResponses = {
3752
+ /**
3753
+ * Response Forgotpassword
3754
+ * Successful Response
3755
+ */
3756
+ 200: {
3757
+ [key: string]: unknown;
3758
+ };
3759
+ };
3760
+
3761
+ export type ForgotPasswordResponse = ForgotPasswordResponses[keyof ForgotPasswordResponses];
3762
+
3763
+ export type ValidateResetTokenData = {
3764
+ body?: never;
3765
+ path?: never;
3766
+ query: {
3767
+ /**
3768
+ * Token
3769
+ * Password reset token
3770
+ */
3771
+ token: string;
3772
+ };
3773
+ url: '/v1/auth/password/reset/validate';
3774
+ };
3775
+
3776
+ export type ValidateResetTokenErrors = {
3777
+ /**
3778
+ * Validation Error
3779
+ */
3780
+ 422: HttpValidationError;
3781
+ };
3782
+
3783
+ export type ValidateResetTokenError = ValidateResetTokenErrors[keyof ValidateResetTokenErrors];
3784
+
3785
+ export type ValidateResetTokenResponses = {
3786
+ /**
3787
+ * Successful Response
3788
+ */
3789
+ 200: ResetPasswordValidateResponse;
3790
+ };
3791
+
3792
+ export type ValidateResetTokenResponse = ValidateResetTokenResponses[keyof ValidateResetTokenResponses];
3793
+
3794
+ export type ResetPasswordData = {
3795
+ body: ResetPasswordRequest;
3796
+ path?: never;
3797
+ query?: never;
3798
+ url: '/v1/auth/password/reset';
3799
+ };
3800
+
3801
+ export type ResetPasswordErrors = {
3802
+ /**
3803
+ * Invalid token or password
3804
+ */
3805
+ 400: ErrorResponse;
3806
+ /**
3807
+ * Validation Error
3808
+ */
3809
+ 422: HttpValidationError;
3810
+ };
3811
+
3812
+ export type ResetPasswordError = ResetPasswordErrors[keyof ResetPasswordErrors];
3535
3813
 
3536
- export type RefreshSessionResponses = {
3814
+ export type ResetPasswordResponses = {
3537
3815
  /**
3538
3816
  * Successful Response
3539
3817
  */
3540
3818
  200: AuthResponse;
3541
3819
  };
3542
3820
 
3543
- export type RefreshSessionResponse = RefreshSessionResponses[keyof RefreshSessionResponses];
3821
+ export type ResetPasswordResponse = ResetPasswordResponses[keyof ResetPasswordResponses];
3544
3822
 
3545
3823
  export type GenerateSsoTokenData = {
3546
3824
  body?: never;
3825
+ headers?: {
3826
+ /**
3827
+ * Authorization
3828
+ */
3829
+ authorization?: string | null;
3830
+ };
3547
3831
  path?: never;
3548
3832
  query?: never;
3549
3833
  url: '/v1/auth/sso-token';
@@ -3662,47 +3946,6 @@ export type CompleteSsoAuthResponses = {
3662
3946
 
3663
3947
  export type CompleteSsoAuthResponse = CompleteSsoAuthResponses[keyof CompleteSsoAuthResponses];
3664
3948
 
3665
- export type GetPasswordPolicyData = {
3666
- body?: never;
3667
- path?: never;
3668
- query?: never;
3669
- url: '/v1/auth/password/policy';
3670
- };
3671
-
3672
- export type GetPasswordPolicyResponses = {
3673
- /**
3674
- * Password policy requirements
3675
- */
3676
- 200: PasswordPolicyResponse;
3677
- };
3678
-
3679
- export type GetPasswordPolicyResponse = GetPasswordPolicyResponses[keyof GetPasswordPolicyResponses];
3680
-
3681
- export type CheckPasswordStrengthData = {
3682
- body: PasswordCheckRequest;
3683
- path?: never;
3684
- query?: never;
3685
- url: '/v1/auth/password/check';
3686
- };
3687
-
3688
- export type CheckPasswordStrengthErrors = {
3689
- /**
3690
- * Validation Error
3691
- */
3692
- 422: HttpValidationError;
3693
- };
3694
-
3695
- export type CheckPasswordStrengthError = CheckPasswordStrengthErrors[keyof CheckPasswordStrengthErrors];
3696
-
3697
- export type CheckPasswordStrengthResponses = {
3698
- /**
3699
- * Password strength analysis
3700
- */
3701
- 200: PasswordCheckResponse;
3702
- };
3703
-
3704
- export type CheckPasswordStrengthResponse = CheckPasswordStrengthResponses[keyof CheckPasswordStrengthResponses];
3705
-
3706
3949
  export type GetCaptchaConfigData = {
3707
3950
  body?: never;
3708
3951
  path?: never;