@eide/foir-proto-ts 0.3.1 → 0.3.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eide/foir-proto-ts",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  "./analytics/v1/analytics_pb": "./src/analytics/v1/analytics_pb.js",
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
5
 
6
- import { AcceptInvitationRequest, AcceptInvitationResponse, ActivateTenantRequest, ActivateTenantResponse, CancelTenantRequest, CancelTenantResponse, CheckEmailAvailabilityRequest, CheckEmailAvailabilityResponse, ChurnTenantRequest, ChurnTenantResponse, ClearSessionContextRequest, ClearSessionContextResponse, CompleteAccountSetupRequest, CompleteAccountSetupResponse, CreateAdminUserRequest, CreateAdminUserResponse, CreateApiKeyRequest, CreateApiKeyResponse, CreateAuthProviderRequest, CreateAuthProviderResponse, CreateCustomerRequest, CreateCustomerResponse, CreateInvitationRequest, CreateInvitationResponse, CreateProjectRequest, CreateProjectResponse, CreateSignupSessionRequest, CreateSignupSessionResponse, CreateTenantRequest, CreateTenantResponse, DeleteAuthProviderRequest, DeleteAuthProviderResponse, DeleteCustomerRequest, DeleteCustomerResponse, DeleteProjectRequest, DeleteProjectResponse, DeleteTenantRequest, DeleteTenantResponse, EnabledOAuthProvidersRequest, EnabledOAuthProvidersResponse, GetAdminUserRequest, GetAdminUserResponse, GetApiKeyRequest, GetApiKeyResponse, GetAuthProviderRequest, GetAuthProviderResponse, GetCustomerAuthConfigRequest, GetCustomerAuthConfigResponse, GetCustomerManagementStatusRequest, GetCustomerManagementStatusResponse, GetCustomerRequest, GetCustomerResponse, GetDefaultProjectRequest, GetDefaultProjectResponse, GetInvitationRequest, GetInvitationResponse, GetMeRequest, GetMeResponse, GetProjectRequest, GetProjectResponse, GetSessionContextRequest, GetSessionContextResponse, GetTenantRequest, GetTenantResponse, GrantAccessRequest, GrantAccessResponse, ListAdminUsersRequest, ListAdminUsersResponse, ListApiKeysRequest, ListApiKeysResponse, ListAuthProvidersRequest, ListAuthProvidersResponse, ListCustomersRequest, ListCustomersResponse, ListInvitationsRequest, ListInvitationsResponse, ListMyOAuthConnectionsRequest, ListMyOAuthConnectionsResponse, ListProjectsRequest, ListProjectsResponse, ListTenantsRequest, ListTenantsResponse, LoginRequest, LoginResponse, LoginWithOTPRequest, LoginWithOTPResponse, LogoutRequest, LogoutResponse, MarkTenantPastDueRequest, MarkTenantPastDueResponse, MintServiceTokenRequest, MintServiceTokenResponse, ReactivateTenantRequest, ReactivateTenantResponse, RefreshTokenRequest, RefreshTokenResponse, RegisterRequest, RegisterResponse, RequestOTPRequest, RequestOTPResponse, RequestPasswordResetRequest, RequestPasswordResetResponse, ResendInvitationRequest, ResendInvitationResponse, ResendVerificationEmailRequest, ResendVerificationEmailResponse, ResetPasswordRequest, ResetPasswordResponse, RevokeAccessRequest, RevokeAccessResponse, RevokeApiKeyRequest, RevokeApiKeyResponse, RevokeInvitationRequest, RevokeInvitationResponse, RotateApiKeyRequest, RotateApiKeyResponse, SendEmailVerificationCodeRequest, SendEmailVerificationCodeResponse, SetDefaultProjectRequest, SetDefaultProjectResponse, SuspendCustomerRequest, SuspendCustomerResponse, SuspendTenantAccountRequest, SuspendTenantAccountResponse, SwitchProjectRequest, SwitchProjectResponse, SwitchTenantRequest, SwitchTenantResponse, UnlinkOAuthProviderRequest, UnlinkOAuthProviderResponse, UpdateAdminUserRequest, UpdateAdminUserResponse, UpdateApiKeyRequest, UpdateApiKeyResponse, UpdateAuthProviderRequest, UpdateAuthProviderResponse, UpdateCustomerRequest, UpdateCustomerResponse, UpdateMyProfileRequest, UpdateMyProfileResponse, UpdatePasswordRequest, UpdatePasswordResponse, UpdateProjectRequest, UpdateProjectResponse, UpdateTenantRequest, UpdateTenantResponse, ValidateInvitationRequest, ValidateInvitationResponse, VerifyCustomerTokenRequest, VerifyCustomerTokenResponse, VerifyEmailCodeRequest, VerifyEmailCodeResponse, VerifyEmailRequest, VerifyEmailResponse } from "./identity_pbjs";
6
+ import { AcceptInvitationRequest, AcceptInvitationResponse, ActivateTenantRequest, ActivateTenantResponse, CancelTenantRequest, CancelTenantResponse, CheckEmailAvailabilityRequest, CheckEmailAvailabilityResponse, ChurnTenantRequest, ChurnTenantResponse, ClearSessionContextRequest, ClearSessionContextResponse, CompleteAccountSetupRequest, CompleteAccountSetupResponse, CreateAdminUserRequest, CreateAdminUserResponse, CreateApiKeyRequest, CreateApiKeyResponse, CreateAuthProviderRequest, CreateAuthProviderResponse, CreateCustomerRequest, CreateCustomerResponse, CreateInvitationRequest, CreateInvitationResponse, CreateProjectRequest, CreateProjectResponse, CreateSignupSessionRequest, CreateSignupSessionResponse, CreateTenantRequest, CreateTenantResponse, CustomerLoginRequest, CustomerLoginResponse, CustomerRefreshTokenRequest, CustomerRefreshTokenResponse, CustomerRegisterRequest, CustomerRegisterResponse, CustomerRequestOTPRequest, CustomerRequestOTPResponse, CustomerRequestPasswordResetRequest, CustomerRequestPasswordResetResponse, CustomerResetPasswordRequest, CustomerResetPasswordResponse, CustomerVerifyOTPRequest, CustomerVerifyOTPResponse, DeleteAuthProviderRequest, DeleteAuthProviderResponse, DeleteCustomerRequest, DeleteCustomerResponse, DeleteProjectRequest, DeleteProjectResponse, DeleteTenantRequest, DeleteTenantResponse, EnabledOAuthProvidersRequest, EnabledOAuthProvidersResponse, GetAdminUserRequest, GetAdminUserResponse, GetApiKeyRequest, GetApiKeyResponse, GetAuthProviderRequest, GetAuthProviderResponse, GetCustomerAuthConfigRequest, GetCustomerAuthConfigResponse, GetCustomerManagementStatusRequest, GetCustomerManagementStatusResponse, GetCustomerRequest, GetCustomerResponse, GetDefaultProjectRequest, GetDefaultProjectResponse, GetInvitationRequest, GetInvitationResponse, GetMeRequest, GetMeResponse, GetProjectRequest, GetProjectResponse, GetSessionContextRequest, GetSessionContextResponse, GetTenantRequest, GetTenantResponse, GrantAccessRequest, GrantAccessResponse, ListAdminUsersRequest, ListAdminUsersResponse, ListApiKeysRequest, ListApiKeysResponse, ListAuthProvidersRequest, ListAuthProvidersResponse, ListCustomersRequest, ListCustomersResponse, ListInvitationsRequest, ListInvitationsResponse, ListMyOAuthConnectionsRequest, ListMyOAuthConnectionsResponse, ListProjectsRequest, ListProjectsResponse, ListTenantsRequest, ListTenantsResponse, LoginRequest, LoginResponse, LoginWithOTPRequest, LoginWithOTPResponse, LogoutRequest, LogoutResponse, MarkTenantPastDueRequest, MarkTenantPastDueResponse, MintServiceTokenRequest, MintServiceTokenResponse, ReactivateTenantRequest, ReactivateTenantResponse, RefreshTokenRequest, RefreshTokenResponse, RegisterRequest, RegisterResponse, RequestOTPRequest, RequestOTPResponse, RequestPasswordResetRequest, RequestPasswordResetResponse, ResendInvitationRequest, ResendInvitationResponse, ResendVerificationEmailRequest, ResendVerificationEmailResponse, ResetPasswordRequest, ResetPasswordResponse, RevokeAccessRequest, RevokeAccessResponse, RevokeApiKeyRequest, RevokeApiKeyResponse, RevokeInvitationRequest, RevokeInvitationResponse, RotateApiKeyRequest, RotateApiKeyResponse, SendEmailVerificationCodeRequest, SendEmailVerificationCodeResponse, SetDefaultProjectRequest, SetDefaultProjectResponse, SuspendCustomerRequest, SuspendCustomerResponse, SuspendTenantAccountRequest, SuspendTenantAccountResponse, SwitchProjectRequest, SwitchProjectResponse, SwitchTenantRequest, SwitchTenantResponse, UnlinkOAuthProviderRequest, UnlinkOAuthProviderResponse, UpdateAdminUserRequest, UpdateAdminUserResponse, UpdateApiKeyRequest, UpdateApiKeyResponse, UpdateAuthProviderRequest, UpdateAuthProviderResponse, UpdateCustomerRequest, UpdateCustomerResponse, UpdateMyProfileRequest, UpdateMyProfileResponse, UpdatePasswordRequest, UpdatePasswordResponse, UpdateProjectRequest, UpdateProjectResponse, UpdateTenantRequest, UpdateTenantResponse, ValidateApiKeyRequest, ValidateApiKeyResponse, ValidateInvitationRequest, ValidateInvitationResponse, VerifyCustomerTokenRequest, VerifyCustomerTokenResponse, VerifyEmailCodeRequest, VerifyEmailCodeResponse, VerifyEmailRequest, VerifyEmailResponse } from "./identity_pbjs";
7
7
  import { MethodKind } from "@bufbuild/protobuf";
8
8
 
9
9
  /**
@@ -733,6 +733,82 @@ export declare const IdentityService: {
733
733
  readonly O: typeof GetCustomerManagementStatusResponse,
734
734
  readonly kind: MethodKind.Unary,
735
735
  },
736
+ /**
737
+ * API Key Validation.
738
+ *
739
+ * @generated from rpc identity.v1.IdentityService.ValidateApiKey
740
+ */
741
+ readonly validateApiKey: {
742
+ readonly name: "ValidateApiKey",
743
+ readonly I: typeof ValidateApiKeyRequest,
744
+ readonly O: typeof ValidateApiKeyResponse,
745
+ readonly kind: MethodKind.Unary,
746
+ },
747
+ /**
748
+ * Public-facing Customer Auth.
749
+ *
750
+ * @generated from rpc identity.v1.IdentityService.CustomerLogin
751
+ */
752
+ readonly customerLogin: {
753
+ readonly name: "CustomerLogin",
754
+ readonly I: typeof CustomerLoginRequest,
755
+ readonly O: typeof CustomerLoginResponse,
756
+ readonly kind: MethodKind.Unary,
757
+ },
758
+ /**
759
+ * @generated from rpc identity.v1.IdentityService.CustomerRegister
760
+ */
761
+ readonly customerRegister: {
762
+ readonly name: "CustomerRegister",
763
+ readonly I: typeof CustomerRegisterRequest,
764
+ readonly O: typeof CustomerRegisterResponse,
765
+ readonly kind: MethodKind.Unary,
766
+ },
767
+ /**
768
+ * @generated from rpc identity.v1.IdentityService.CustomerRefreshToken
769
+ */
770
+ readonly customerRefreshToken: {
771
+ readonly name: "CustomerRefreshToken",
772
+ readonly I: typeof CustomerRefreshTokenRequest,
773
+ readonly O: typeof CustomerRefreshTokenResponse,
774
+ readonly kind: MethodKind.Unary,
775
+ },
776
+ /**
777
+ * @generated from rpc identity.v1.IdentityService.CustomerRequestOTP
778
+ */
779
+ readonly customerRequestOTP: {
780
+ readonly name: "CustomerRequestOTP",
781
+ readonly I: typeof CustomerRequestOTPRequest,
782
+ readonly O: typeof CustomerRequestOTPResponse,
783
+ readonly kind: MethodKind.Unary,
784
+ },
785
+ /**
786
+ * @generated from rpc identity.v1.IdentityService.CustomerVerifyOTP
787
+ */
788
+ readonly customerVerifyOTP: {
789
+ readonly name: "CustomerVerifyOTP",
790
+ readonly I: typeof CustomerVerifyOTPRequest,
791
+ readonly O: typeof CustomerVerifyOTPResponse,
792
+ readonly kind: MethodKind.Unary,
793
+ },
794
+ /**
795
+ * @generated from rpc identity.v1.IdentityService.CustomerRequestPasswordReset
796
+ */
797
+ readonly customerRequestPasswordReset: {
798
+ readonly name: "CustomerRequestPasswordReset",
799
+ readonly I: typeof CustomerRequestPasswordResetRequest,
800
+ readonly O: typeof CustomerRequestPasswordResetResponse,
801
+ readonly kind: MethodKind.Unary,
802
+ },
803
+ /**
804
+ * @generated from rpc identity.v1.IdentityService.CustomerResetPassword
805
+ */
806
+ readonly customerResetPassword: {
807
+ readonly name: "CustomerResetPassword",
808
+ readonly I: typeof CustomerResetPasswordRequest,
809
+ readonly O: typeof CustomerResetPasswordResponse,
810
+ readonly kind: MethodKind.Unary,
811
+ },
736
812
  }
737
813
  };
738
814
 
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
5
 
6
- import { AcceptInvitationRequest, AcceptInvitationResponse, ActivateTenantRequest, ActivateTenantResponse, CancelTenantRequest, CancelTenantResponse, CheckEmailAvailabilityRequest, CheckEmailAvailabilityResponse, ChurnTenantRequest, ChurnTenantResponse, ClearSessionContextRequest, ClearSessionContextResponse, CompleteAccountSetupRequest, CompleteAccountSetupResponse, CreateAdminUserRequest, CreateAdminUserResponse, CreateApiKeyRequest, CreateApiKeyResponse, CreateAuthProviderRequest, CreateAuthProviderResponse, CreateCustomerRequest, CreateCustomerResponse, CreateInvitationRequest, CreateInvitationResponse, CreateProjectRequest, CreateProjectResponse, CreateSignupSessionRequest, CreateSignupSessionResponse, CreateTenantRequest, CreateTenantResponse, DeleteAuthProviderRequest, DeleteAuthProviderResponse, DeleteCustomerRequest, DeleteCustomerResponse, DeleteProjectRequest, DeleteProjectResponse, DeleteTenantRequest, DeleteTenantResponse, EnabledOAuthProvidersRequest, EnabledOAuthProvidersResponse, GetAdminUserRequest, GetAdminUserResponse, GetApiKeyRequest, GetApiKeyResponse, GetAuthProviderRequest, GetAuthProviderResponse, GetCustomerAuthConfigRequest, GetCustomerAuthConfigResponse, GetCustomerManagementStatusRequest, GetCustomerManagementStatusResponse, GetCustomerRequest, GetCustomerResponse, GetDefaultProjectRequest, GetDefaultProjectResponse, GetInvitationRequest, GetInvitationResponse, GetMeRequest, GetMeResponse, GetProjectRequest, GetProjectResponse, GetSessionContextRequest, GetSessionContextResponse, GetTenantRequest, GetTenantResponse, GrantAccessRequest, GrantAccessResponse, ListAdminUsersRequest, ListAdminUsersResponse, ListApiKeysRequest, ListApiKeysResponse, ListAuthProvidersRequest, ListAuthProvidersResponse, ListCustomersRequest, ListCustomersResponse, ListInvitationsRequest, ListInvitationsResponse, ListMyOAuthConnectionsRequest, ListMyOAuthConnectionsResponse, ListProjectsRequest, ListProjectsResponse, ListTenantsRequest, ListTenantsResponse, LoginRequest, LoginResponse, LoginWithOTPRequest, LoginWithOTPResponse, LogoutRequest, LogoutResponse, MarkTenantPastDueRequest, MarkTenantPastDueResponse, MintServiceTokenRequest, MintServiceTokenResponse, ReactivateTenantRequest, ReactivateTenantResponse, RefreshTokenRequest, RefreshTokenResponse, RegisterRequest, RegisterResponse, RequestOTPRequest, RequestOTPResponse, RequestPasswordResetRequest, RequestPasswordResetResponse, ResendInvitationRequest, ResendInvitationResponse, ResendVerificationEmailRequest, ResendVerificationEmailResponse, ResetPasswordRequest, ResetPasswordResponse, RevokeAccessRequest, RevokeAccessResponse, RevokeApiKeyRequest, RevokeApiKeyResponse, RevokeInvitationRequest, RevokeInvitationResponse, RotateApiKeyRequest, RotateApiKeyResponse, SendEmailVerificationCodeRequest, SendEmailVerificationCodeResponse, SetDefaultProjectRequest, SetDefaultProjectResponse, SuspendCustomerRequest, SuspendCustomerResponse, SuspendTenantAccountRequest, SuspendTenantAccountResponse, SwitchProjectRequest, SwitchProjectResponse, SwitchTenantRequest, SwitchTenantResponse, UnlinkOAuthProviderRequest, UnlinkOAuthProviderResponse, UpdateAdminUserRequest, UpdateAdminUserResponse, UpdateApiKeyRequest, UpdateApiKeyResponse, UpdateAuthProviderRequest, UpdateAuthProviderResponse, UpdateCustomerRequest, UpdateCustomerResponse, UpdateMyProfileRequest, UpdateMyProfileResponse, UpdatePasswordRequest, UpdatePasswordResponse, UpdateProjectRequest, UpdateProjectResponse, UpdateTenantRequest, UpdateTenantResponse, ValidateInvitationRequest, ValidateInvitationResponse, VerifyCustomerTokenRequest, VerifyCustomerTokenResponse, VerifyEmailCodeRequest, VerifyEmailCodeResponse, VerifyEmailRequest, VerifyEmailResponse } from "./identity_pbjs";
6
+ import { AcceptInvitationRequest, AcceptInvitationResponse, ActivateTenantRequest, ActivateTenantResponse, CancelTenantRequest, CancelTenantResponse, CheckEmailAvailabilityRequest, CheckEmailAvailabilityResponse, ChurnTenantRequest, ChurnTenantResponse, ClearSessionContextRequest, ClearSessionContextResponse, CompleteAccountSetupRequest, CompleteAccountSetupResponse, CreateAdminUserRequest, CreateAdminUserResponse, CreateApiKeyRequest, CreateApiKeyResponse, CreateAuthProviderRequest, CreateAuthProviderResponse, CreateCustomerRequest, CreateCustomerResponse, CreateInvitationRequest, CreateInvitationResponse, CreateProjectRequest, CreateProjectResponse, CreateSignupSessionRequest, CreateSignupSessionResponse, CreateTenantRequest, CreateTenantResponse, CustomerLoginRequest, CustomerLoginResponse, CustomerRefreshTokenRequest, CustomerRefreshTokenResponse, CustomerRegisterRequest, CustomerRegisterResponse, CustomerRequestOTPRequest, CustomerRequestOTPResponse, CustomerRequestPasswordResetRequest, CustomerRequestPasswordResetResponse, CustomerResetPasswordRequest, CustomerResetPasswordResponse, CustomerVerifyOTPRequest, CustomerVerifyOTPResponse, DeleteAuthProviderRequest, DeleteAuthProviderResponse, DeleteCustomerRequest, DeleteCustomerResponse, DeleteProjectRequest, DeleteProjectResponse, DeleteTenantRequest, DeleteTenantResponse, EnabledOAuthProvidersRequest, EnabledOAuthProvidersResponse, GetAdminUserRequest, GetAdminUserResponse, GetApiKeyRequest, GetApiKeyResponse, GetAuthProviderRequest, GetAuthProviderResponse, GetCustomerAuthConfigRequest, GetCustomerAuthConfigResponse, GetCustomerManagementStatusRequest, GetCustomerManagementStatusResponse, GetCustomerRequest, GetCustomerResponse, GetDefaultProjectRequest, GetDefaultProjectResponse, GetInvitationRequest, GetInvitationResponse, GetMeRequest, GetMeResponse, GetProjectRequest, GetProjectResponse, GetSessionContextRequest, GetSessionContextResponse, GetTenantRequest, GetTenantResponse, GrantAccessRequest, GrantAccessResponse, ListAdminUsersRequest, ListAdminUsersResponse, ListApiKeysRequest, ListApiKeysResponse, ListAuthProvidersRequest, ListAuthProvidersResponse, ListCustomersRequest, ListCustomersResponse, ListInvitationsRequest, ListInvitationsResponse, ListMyOAuthConnectionsRequest, ListMyOAuthConnectionsResponse, ListProjectsRequest, ListProjectsResponse, ListTenantsRequest, ListTenantsResponse, LoginRequest, LoginResponse, LoginWithOTPRequest, LoginWithOTPResponse, LogoutRequest, LogoutResponse, MarkTenantPastDueRequest, MarkTenantPastDueResponse, MintServiceTokenRequest, MintServiceTokenResponse, ReactivateTenantRequest, ReactivateTenantResponse, RefreshTokenRequest, RefreshTokenResponse, RegisterRequest, RegisterResponse, RequestOTPRequest, RequestOTPResponse, RequestPasswordResetRequest, RequestPasswordResetResponse, ResendInvitationRequest, ResendInvitationResponse, ResendVerificationEmailRequest, ResendVerificationEmailResponse, ResetPasswordRequest, ResetPasswordResponse, RevokeAccessRequest, RevokeAccessResponse, RevokeApiKeyRequest, RevokeApiKeyResponse, RevokeInvitationRequest, RevokeInvitationResponse, RotateApiKeyRequest, RotateApiKeyResponse, SendEmailVerificationCodeRequest, SendEmailVerificationCodeResponse, SetDefaultProjectRequest, SetDefaultProjectResponse, SuspendCustomerRequest, SuspendCustomerResponse, SuspendTenantAccountRequest, SuspendTenantAccountResponse, SwitchProjectRequest, SwitchProjectResponse, SwitchTenantRequest, SwitchTenantResponse, UnlinkOAuthProviderRequest, UnlinkOAuthProviderResponse, UpdateAdminUserRequest, UpdateAdminUserResponse, UpdateApiKeyRequest, UpdateApiKeyResponse, UpdateAuthProviderRequest, UpdateAuthProviderResponse, UpdateCustomerRequest, UpdateCustomerResponse, UpdateMyProfileRequest, UpdateMyProfileResponse, UpdatePasswordRequest, UpdatePasswordResponse, UpdateProjectRequest, UpdateProjectResponse, UpdateTenantRequest, UpdateTenantResponse, ValidateApiKeyRequest, ValidateApiKeyResponse, ValidateInvitationRequest, ValidateInvitationResponse, VerifyCustomerTokenRequest, VerifyCustomerTokenResponse, VerifyEmailCodeRequest, VerifyEmailCodeResponse, VerifyEmailRequest, VerifyEmailResponse } from "./identity_pbjs";
7
7
  import { MethodKind } from "@bufbuild/protobuf";
8
8
 
9
9
  /**
@@ -733,6 +733,82 @@ export const IdentityService = {
733
733
  O: GetCustomerManagementStatusResponse,
734
734
  kind: MethodKind.Unary,
735
735
  },
736
+ /**
737
+ * API Key Validation.
738
+ *
739
+ * @generated from rpc identity.v1.IdentityService.ValidateApiKey
740
+ */
741
+ validateApiKey: {
742
+ name: "ValidateApiKey",
743
+ I: ValidateApiKeyRequest,
744
+ O: ValidateApiKeyResponse,
745
+ kind: MethodKind.Unary,
746
+ },
747
+ /**
748
+ * Public-facing Customer Auth.
749
+ *
750
+ * @generated from rpc identity.v1.IdentityService.CustomerLogin
751
+ */
752
+ customerLogin: {
753
+ name: "CustomerLogin",
754
+ I: CustomerLoginRequest,
755
+ O: CustomerLoginResponse,
756
+ kind: MethodKind.Unary,
757
+ },
758
+ /**
759
+ * @generated from rpc identity.v1.IdentityService.CustomerRegister
760
+ */
761
+ customerRegister: {
762
+ name: "CustomerRegister",
763
+ I: CustomerRegisterRequest,
764
+ O: CustomerRegisterResponse,
765
+ kind: MethodKind.Unary,
766
+ },
767
+ /**
768
+ * @generated from rpc identity.v1.IdentityService.CustomerRefreshToken
769
+ */
770
+ customerRefreshToken: {
771
+ name: "CustomerRefreshToken",
772
+ I: CustomerRefreshTokenRequest,
773
+ O: CustomerRefreshTokenResponse,
774
+ kind: MethodKind.Unary,
775
+ },
776
+ /**
777
+ * @generated from rpc identity.v1.IdentityService.CustomerRequestOTP
778
+ */
779
+ customerRequestOTP: {
780
+ name: "CustomerRequestOTP",
781
+ I: CustomerRequestOTPRequest,
782
+ O: CustomerRequestOTPResponse,
783
+ kind: MethodKind.Unary,
784
+ },
785
+ /**
786
+ * @generated from rpc identity.v1.IdentityService.CustomerVerifyOTP
787
+ */
788
+ customerVerifyOTP: {
789
+ name: "CustomerVerifyOTP",
790
+ I: CustomerVerifyOTPRequest,
791
+ O: CustomerVerifyOTPResponse,
792
+ kind: MethodKind.Unary,
793
+ },
794
+ /**
795
+ * @generated from rpc identity.v1.IdentityService.CustomerRequestPasswordReset
796
+ */
797
+ customerRequestPasswordReset: {
798
+ name: "CustomerRequestPasswordReset",
799
+ I: CustomerRequestPasswordResetRequest,
800
+ O: CustomerRequestPasswordResetResponse,
801
+ kind: MethodKind.Unary,
802
+ },
803
+ /**
804
+ * @generated from rpc identity.v1.IdentityService.CustomerResetPassword
805
+ */
806
+ customerResetPassword: {
807
+ name: "CustomerResetPassword",
808
+ I: CustomerResetPasswordRequest,
809
+ O: CustomerResetPasswordResponse,
810
+ kind: MethodKind.Unary,
811
+ },
736
812
  }
737
813
  };
738
814
 
@@ -2415,6 +2415,16 @@ export declare type CreateApiKeyRequest = Message<"identity.v1.CreateApiKeyReque
2415
2415
  * @generated from field: optional google.protobuf.Timestamp expires_at = 5;
2416
2416
  */
2417
2417
  expiresAt?: Timestamp;
2418
+
2419
+ /**
2420
+ * @generated from field: repeated string allowed_models = 6;
2421
+ */
2422
+ allowedModels: string[];
2423
+
2424
+ /**
2425
+ * @generated from field: repeated string allowed_file_types = 7;
2426
+ */
2427
+ allowedFileTypes: string[];
2418
2428
  };
2419
2429
 
2420
2430
  /**
@@ -3715,6 +3725,362 @@ export declare type GetCustomerManagementStatusResponse = Message<"identity.v1.G
3715
3725
  */
3716
3726
  export declare const GetCustomerManagementStatusResponseSchema: GenMessage<GetCustomerManagementStatusResponse>;
3717
3727
 
3728
+ /**
3729
+ * @generated from message identity.v1.ValidateApiKeyRequest
3730
+ */
3731
+ export declare type ValidateApiKeyRequest = Message<"identity.v1.ValidateApiKeyRequest"> & {
3732
+ /**
3733
+ * @generated from field: string api_key = 1;
3734
+ */
3735
+ apiKey: string;
3736
+ };
3737
+
3738
+ /**
3739
+ * Describes the message identity.v1.ValidateApiKeyRequest.
3740
+ * Use `create(ValidateApiKeyRequestSchema)` to create a new message.
3741
+ */
3742
+ export declare const ValidateApiKeyRequestSchema: GenMessage<ValidateApiKeyRequest>;
3743
+
3744
+ /**
3745
+ * @generated from message identity.v1.ValidateApiKeyResponse
3746
+ */
3747
+ export declare type ValidateApiKeyResponse = Message<"identity.v1.ValidateApiKeyResponse"> & {
3748
+ /**
3749
+ * @generated from field: string id = 1;
3750
+ */
3751
+ id: string;
3752
+
3753
+ /**
3754
+ * @generated from field: string name = 2;
3755
+ */
3756
+ name: string;
3757
+
3758
+ /**
3759
+ * @generated from field: string tenant_id = 3;
3760
+ */
3761
+ tenantId: string;
3762
+
3763
+ /**
3764
+ * @generated from field: string project_id = 4;
3765
+ */
3766
+ projectId: string;
3767
+
3768
+ /**
3769
+ * @generated from field: string key_type = 5;
3770
+ */
3771
+ keyType: string;
3772
+
3773
+ /**
3774
+ * @generated from field: repeated string scopes = 6;
3775
+ */
3776
+ scopes: string[];
3777
+
3778
+ /**
3779
+ * @generated from field: repeated string allowed_models = 7;
3780
+ */
3781
+ allowedModels: string[];
3782
+
3783
+ /**
3784
+ * @generated from field: repeated string allowed_file_types = 8;
3785
+ */
3786
+ allowedFileTypes: string[];
3787
+
3788
+ /**
3789
+ * @generated from field: int32 rate_limit_per_hour = 9;
3790
+ */
3791
+ rateLimitPerHour: number;
3792
+ };
3793
+
3794
+ /**
3795
+ * Describes the message identity.v1.ValidateApiKeyResponse.
3796
+ * Use `create(ValidateApiKeyResponseSchema)` to create a new message.
3797
+ */
3798
+ export declare const ValidateApiKeyResponseSchema: GenMessage<ValidateApiKeyResponse>;
3799
+
3800
+ /**
3801
+ * @generated from message identity.v1.CustomerLoginRequest
3802
+ */
3803
+ export declare type CustomerLoginRequest = Message<"identity.v1.CustomerLoginRequest"> & {
3804
+ /**
3805
+ * @generated from field: string email = 1;
3806
+ */
3807
+ email: string;
3808
+
3809
+ /**
3810
+ * @generated from field: string password = 2;
3811
+ */
3812
+ password: string;
3813
+ };
3814
+
3815
+ /**
3816
+ * Describes the message identity.v1.CustomerLoginRequest.
3817
+ * Use `create(CustomerLoginRequestSchema)` to create a new message.
3818
+ */
3819
+ export declare const CustomerLoginRequestSchema: GenMessage<CustomerLoginRequest>;
3820
+
3821
+ /**
3822
+ * @generated from message identity.v1.CustomerLoginResponse
3823
+ */
3824
+ export declare type CustomerLoginResponse = Message<"identity.v1.CustomerLoginResponse"> & {
3825
+ /**
3826
+ * @generated from field: string access_token = 1;
3827
+ */
3828
+ accessToken: string;
3829
+
3830
+ /**
3831
+ * @generated from field: string refresh_token = 2;
3832
+ */
3833
+ refreshToken: string;
3834
+
3835
+ /**
3836
+ * @generated from field: identity.v1.Customer customer = 3;
3837
+ */
3838
+ customer?: Customer;
3839
+ };
3840
+
3841
+ /**
3842
+ * Describes the message identity.v1.CustomerLoginResponse.
3843
+ * Use `create(CustomerLoginResponseSchema)` to create a new message.
3844
+ */
3845
+ export declare const CustomerLoginResponseSchema: GenMessage<CustomerLoginResponse>;
3846
+
3847
+ /**
3848
+ * @generated from message identity.v1.CustomerRegisterRequest
3849
+ */
3850
+ export declare type CustomerRegisterRequest = Message<"identity.v1.CustomerRegisterRequest"> & {
3851
+ /**
3852
+ * @generated from field: string email = 1;
3853
+ */
3854
+ email: string;
3855
+
3856
+ /**
3857
+ * @generated from field: string password = 2;
3858
+ */
3859
+ password: string;
3860
+
3861
+ /**
3862
+ * @generated from field: optional google.protobuf.Struct profile_data = 3;
3863
+ */
3864
+ profileData?: JsonObject;
3865
+ };
3866
+
3867
+ /**
3868
+ * Describes the message identity.v1.CustomerRegisterRequest.
3869
+ * Use `create(CustomerRegisterRequestSchema)` to create a new message.
3870
+ */
3871
+ export declare const CustomerRegisterRequestSchema: GenMessage<CustomerRegisterRequest>;
3872
+
3873
+ /**
3874
+ * @generated from message identity.v1.CustomerRegisterResponse
3875
+ */
3876
+ export declare type CustomerRegisterResponse = Message<"identity.v1.CustomerRegisterResponse"> & {
3877
+ /**
3878
+ * @generated from field: string access_token = 1;
3879
+ */
3880
+ accessToken: string;
3881
+
3882
+ /**
3883
+ * @generated from field: string refresh_token = 2;
3884
+ */
3885
+ refreshToken: string;
3886
+
3887
+ /**
3888
+ * @generated from field: identity.v1.Customer customer = 3;
3889
+ */
3890
+ customer?: Customer;
3891
+ };
3892
+
3893
+ /**
3894
+ * Describes the message identity.v1.CustomerRegisterResponse.
3895
+ * Use `create(CustomerRegisterResponseSchema)` to create a new message.
3896
+ */
3897
+ export declare const CustomerRegisterResponseSchema: GenMessage<CustomerRegisterResponse>;
3898
+
3899
+ /**
3900
+ * @generated from message identity.v1.CustomerRefreshTokenRequest
3901
+ */
3902
+ export declare type CustomerRefreshTokenRequest = Message<"identity.v1.CustomerRefreshTokenRequest"> & {
3903
+ /**
3904
+ * @generated from field: string refresh_token = 1;
3905
+ */
3906
+ refreshToken: string;
3907
+ };
3908
+
3909
+ /**
3910
+ * Describes the message identity.v1.CustomerRefreshTokenRequest.
3911
+ * Use `create(CustomerRefreshTokenRequestSchema)` to create a new message.
3912
+ */
3913
+ export declare const CustomerRefreshTokenRequestSchema: GenMessage<CustomerRefreshTokenRequest>;
3914
+
3915
+ /**
3916
+ * @generated from message identity.v1.CustomerRefreshTokenResponse
3917
+ */
3918
+ export declare type CustomerRefreshTokenResponse = Message<"identity.v1.CustomerRefreshTokenResponse"> & {
3919
+ /**
3920
+ * @generated from field: string access_token = 1;
3921
+ */
3922
+ accessToken: string;
3923
+
3924
+ /**
3925
+ * @generated from field: string refresh_token = 2;
3926
+ */
3927
+ refreshToken: string;
3928
+ };
3929
+
3930
+ /**
3931
+ * Describes the message identity.v1.CustomerRefreshTokenResponse.
3932
+ * Use `create(CustomerRefreshTokenResponseSchema)` to create a new message.
3933
+ */
3934
+ export declare const CustomerRefreshTokenResponseSchema: GenMessage<CustomerRefreshTokenResponse>;
3935
+
3936
+ /**
3937
+ * @generated from message identity.v1.CustomerRequestOTPRequest
3938
+ */
3939
+ export declare type CustomerRequestOTPRequest = Message<"identity.v1.CustomerRequestOTPRequest"> & {
3940
+ /**
3941
+ * @generated from field: string email = 1;
3942
+ */
3943
+ email: string;
3944
+ };
3945
+
3946
+ /**
3947
+ * Describes the message identity.v1.CustomerRequestOTPRequest.
3948
+ * Use `create(CustomerRequestOTPRequestSchema)` to create a new message.
3949
+ */
3950
+ export declare const CustomerRequestOTPRequestSchema: GenMessage<CustomerRequestOTPRequest>;
3951
+
3952
+ /**
3953
+ * @generated from message identity.v1.CustomerRequestOTPResponse
3954
+ */
3955
+ export declare type CustomerRequestOTPResponse = Message<"identity.v1.CustomerRequestOTPResponse"> & {
3956
+ /**
3957
+ * @generated from field: bool sent = 1;
3958
+ */
3959
+ sent: boolean;
3960
+ };
3961
+
3962
+ /**
3963
+ * Describes the message identity.v1.CustomerRequestOTPResponse.
3964
+ * Use `create(CustomerRequestOTPResponseSchema)` to create a new message.
3965
+ */
3966
+ export declare const CustomerRequestOTPResponseSchema: GenMessage<CustomerRequestOTPResponse>;
3967
+
3968
+ /**
3969
+ * @generated from message identity.v1.CustomerVerifyOTPRequest
3970
+ */
3971
+ export declare type CustomerVerifyOTPRequest = Message<"identity.v1.CustomerVerifyOTPRequest"> & {
3972
+ /**
3973
+ * @generated from field: string email = 1;
3974
+ */
3975
+ email: string;
3976
+
3977
+ /**
3978
+ * @generated from field: string otp_code = 2;
3979
+ */
3980
+ otpCode: string;
3981
+ };
3982
+
3983
+ /**
3984
+ * Describes the message identity.v1.CustomerVerifyOTPRequest.
3985
+ * Use `create(CustomerVerifyOTPRequestSchema)` to create a new message.
3986
+ */
3987
+ export declare const CustomerVerifyOTPRequestSchema: GenMessage<CustomerVerifyOTPRequest>;
3988
+
3989
+ /**
3990
+ * @generated from message identity.v1.CustomerVerifyOTPResponse
3991
+ */
3992
+ export declare type CustomerVerifyOTPResponse = Message<"identity.v1.CustomerVerifyOTPResponse"> & {
3993
+ /**
3994
+ * @generated from field: string access_token = 1;
3995
+ */
3996
+ accessToken: string;
3997
+
3998
+ /**
3999
+ * @generated from field: string refresh_token = 2;
4000
+ */
4001
+ refreshToken: string;
4002
+
4003
+ /**
4004
+ * @generated from field: identity.v1.Customer customer = 3;
4005
+ */
4006
+ customer?: Customer;
4007
+ };
4008
+
4009
+ /**
4010
+ * Describes the message identity.v1.CustomerVerifyOTPResponse.
4011
+ * Use `create(CustomerVerifyOTPResponseSchema)` to create a new message.
4012
+ */
4013
+ export declare const CustomerVerifyOTPResponseSchema: GenMessage<CustomerVerifyOTPResponse>;
4014
+
4015
+ /**
4016
+ * @generated from message identity.v1.CustomerRequestPasswordResetRequest
4017
+ */
4018
+ export declare type CustomerRequestPasswordResetRequest = Message<"identity.v1.CustomerRequestPasswordResetRequest"> & {
4019
+ /**
4020
+ * @generated from field: string email = 1;
4021
+ */
4022
+ email: string;
4023
+ };
4024
+
4025
+ /**
4026
+ * Describes the message identity.v1.CustomerRequestPasswordResetRequest.
4027
+ * Use `create(CustomerRequestPasswordResetRequestSchema)` to create a new message.
4028
+ */
4029
+ export declare const CustomerRequestPasswordResetRequestSchema: GenMessage<CustomerRequestPasswordResetRequest>;
4030
+
4031
+ /**
4032
+ * @generated from message identity.v1.CustomerRequestPasswordResetResponse
4033
+ */
4034
+ export declare type CustomerRequestPasswordResetResponse = Message<"identity.v1.CustomerRequestPasswordResetResponse"> & {
4035
+ /**
4036
+ * @generated from field: bool sent = 1;
4037
+ */
4038
+ sent: boolean;
4039
+ };
4040
+
4041
+ /**
4042
+ * Describes the message identity.v1.CustomerRequestPasswordResetResponse.
4043
+ * Use `create(CustomerRequestPasswordResetResponseSchema)` to create a new message.
4044
+ */
4045
+ export declare const CustomerRequestPasswordResetResponseSchema: GenMessage<CustomerRequestPasswordResetResponse>;
4046
+
4047
+ /**
4048
+ * @generated from message identity.v1.CustomerResetPasswordRequest
4049
+ */
4050
+ export declare type CustomerResetPasswordRequest = Message<"identity.v1.CustomerResetPasswordRequest"> & {
4051
+ /**
4052
+ * @generated from field: string token = 1;
4053
+ */
4054
+ token: string;
4055
+
4056
+ /**
4057
+ * @generated from field: string new_password = 2;
4058
+ */
4059
+ newPassword: string;
4060
+ };
4061
+
4062
+ /**
4063
+ * Describes the message identity.v1.CustomerResetPasswordRequest.
4064
+ * Use `create(CustomerResetPasswordRequestSchema)` to create a new message.
4065
+ */
4066
+ export declare const CustomerResetPasswordRequestSchema: GenMessage<CustomerResetPasswordRequest>;
4067
+
4068
+ /**
4069
+ * @generated from message identity.v1.CustomerResetPasswordResponse
4070
+ */
4071
+ export declare type CustomerResetPasswordResponse = Message<"identity.v1.CustomerResetPasswordResponse"> & {
4072
+ /**
4073
+ * @generated from field: bool success = 1;
4074
+ */
4075
+ success: boolean;
4076
+ };
4077
+
4078
+ /**
4079
+ * Describes the message identity.v1.CustomerResetPasswordResponse.
4080
+ * Use `create(CustomerResetPasswordResponseSchema)` to create a new message.
4081
+ */
4082
+ export declare const CustomerResetPasswordResponseSchema: GenMessage<CustomerResetPasswordResponse>;
4083
+
3718
4084
  /**
3719
4085
  * @generated from enum identity.v1.AdminUserStatus
3720
4086
  */
@@ -4618,5 +4984,73 @@ export declare const IdentityService: GenService<{
4618
4984
  input: typeof GetCustomerManagementStatusRequestSchema;
4619
4985
  output: typeof GetCustomerManagementStatusResponseSchema;
4620
4986
  },
4987
+ /**
4988
+ * API Key Validation.
4989
+ *
4990
+ * @generated from rpc identity.v1.IdentityService.ValidateApiKey
4991
+ */
4992
+ validateApiKey: {
4993
+ methodKind: "unary";
4994
+ input: typeof ValidateApiKeyRequestSchema;
4995
+ output: typeof ValidateApiKeyResponseSchema;
4996
+ },
4997
+ /**
4998
+ * Public-facing Customer Auth.
4999
+ *
5000
+ * @generated from rpc identity.v1.IdentityService.CustomerLogin
5001
+ */
5002
+ customerLogin: {
5003
+ methodKind: "unary";
5004
+ input: typeof CustomerLoginRequestSchema;
5005
+ output: typeof CustomerLoginResponseSchema;
5006
+ },
5007
+ /**
5008
+ * @generated from rpc identity.v1.IdentityService.CustomerRegister
5009
+ */
5010
+ customerRegister: {
5011
+ methodKind: "unary";
5012
+ input: typeof CustomerRegisterRequestSchema;
5013
+ output: typeof CustomerRegisterResponseSchema;
5014
+ },
5015
+ /**
5016
+ * @generated from rpc identity.v1.IdentityService.CustomerRefreshToken
5017
+ */
5018
+ customerRefreshToken: {
5019
+ methodKind: "unary";
5020
+ input: typeof CustomerRefreshTokenRequestSchema;
5021
+ output: typeof CustomerRefreshTokenResponseSchema;
5022
+ },
5023
+ /**
5024
+ * @generated from rpc identity.v1.IdentityService.CustomerRequestOTP
5025
+ */
5026
+ customerRequestOTP: {
5027
+ methodKind: "unary";
5028
+ input: typeof CustomerRequestOTPRequestSchema;
5029
+ output: typeof CustomerRequestOTPResponseSchema;
5030
+ },
5031
+ /**
5032
+ * @generated from rpc identity.v1.IdentityService.CustomerVerifyOTP
5033
+ */
5034
+ customerVerifyOTP: {
5035
+ methodKind: "unary";
5036
+ input: typeof CustomerVerifyOTPRequestSchema;
5037
+ output: typeof CustomerVerifyOTPResponseSchema;
5038
+ },
5039
+ /**
5040
+ * @generated from rpc identity.v1.IdentityService.CustomerRequestPasswordReset
5041
+ */
5042
+ customerRequestPasswordReset: {
5043
+ methodKind: "unary";
5044
+ input: typeof CustomerRequestPasswordResetRequestSchema;
5045
+ output: typeof CustomerRequestPasswordResetResponseSchema;
5046
+ },
5047
+ /**
5048
+ * @generated from rpc identity.v1.IdentityService.CustomerResetPassword
5049
+ */
5050
+ customerResetPassword: {
5051
+ methodKind: "unary";
5052
+ input: typeof CustomerResetPasswordRequestSchema;
5053
+ output: typeof CustomerResetPasswordResponseSchema;
5054
+ },
4621
5055
  }>;
4622
5056