Update protobuf definitions: 63296224
By allanger
Commit link: 6329622466
Pipeline link: https://ci.badhouseplants.net/repos/34/pipeline/44
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/// This file has messages for describing environments
|
||||
/// Protobuf definitions for the accounts service.
|
||||
|
||||
// @generated by protoc-gen-es v2.12.0 with parameter "target=ts"
|
||||
// @generated from file accounts/v1/accounts_v1.proto (package accounts.v1, syntax proto3)
|
||||
@@ -14,7 +14,7 @@ import type { Message } from "@bufbuild/protobuf";
|
||||
* Describes the file accounts/v1/accounts_v1.proto.
|
||||
*/
|
||||
export const file_accounts_v1_accounts_v1: GenFile = /*@__PURE__*/
|
||||
fileDesc("Ch1hY2NvdW50cy92MS9hY2NvdW50c192MS5wcm90bxILYWNjb3VudHMudjEiIwoPQWNjb3VudFBhc3N3b3JkEhAKCHBhc3N3b3JkGAEgASgJIioKC0FjY291bnREYXRhEgwKBG5hbWUYASABKAkSDQoFZW1haWwYAiABKAkiZwoNU2lnblVwUmVxdWVzdBImCgRkYXRhGAEgASgLMhguYWNjb3VudHMudjEuQWNjb3VudERhdGESLgoIcGFzc3dvcmQYAiABKAsyHC5hY2NvdW50cy52MS5BY2NvdW50UGFzc3dvcmQiZwoNU2lnbkluUmVxdWVzdBImCgRkYXRhGAEgASgLMhguYWNjb3VudHMudjEuQWNjb3VudERhdGESLgoIcGFzc3dvcmQYAiABKAsyHC5hY2NvdW50cy52MS5BY2NvdW50UGFzc3dvcmQiPgoUUmVzZXRQYXNzd29yZFJlcXVlc3QSJgoEZGF0YRgBIAEoCzIYLmFjY291bnRzLnYxLkFjY291bnREYXRhInoKEk5ld1Bhc3N3b3JkUmVxdWVzdBImCgRkYXRhGAEgASgLMhguYWNjb3VudHMudjEuQWNjb3VudERhdGESLgoIcGFzc3dvcmQYAiABKAsyHC5hY2NvdW50cy52MS5BY2NvdW50UGFzc3dvcmQSDAoEY29kZRgDIAEoCSJAChZJc0VtYWlsVmVyaWZpZWRSZXF1ZXN0EiYKBGRhdGE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XNFbWFpbFZlcmlmaWVkUmVxdWVzdBokLmFjY291bnRzLnYxLklzRW1haWxWZXJpZmllZFJlc3BvbnNlIgBCSVpHZ2l0ZWEuYmFkaG91c2VwbGFudHMubmV0L3NvZnRwbGF5ZXIvc29mdHBsYXllci1nby1wcm90by9wa2cvYWNjb3VudHMvdjFiBnByb3RvMw", [file_google_protobuf_empty]);
|
||||
|
||||
/**
|
||||
* @generated from message accounts.v1.AccountPassword
|
||||
@@ -183,13 +183,15 @@ export const IsEmailVerifiedResponseSchema: GenMessage<IsEmailVerifiedResponse>
|
||||
|
||||
/**
|
||||
* *
|
||||
* Service for handling environments
|
||||
* Service for handling accounts that do not require authentication
|
||||
*
|
||||
* @generated from service accounts.v1.AccountsService
|
||||
* @generated from service accounts.v1.AccountsNoAuthService
|
||||
*/
|
||||
export const AccountsService: GenService<{
|
||||
export const AccountsNoAuthService: GenService<{
|
||||
/**
|
||||
* @generated from rpc accounts.v1.AccountsService.SignUp
|
||||
* Create a new user
|
||||
*
|
||||
* @generated from rpc accounts.v1.AccountsNoAuthService.SignUp
|
||||
*/
|
||||
signUp: {
|
||||
methodKind: "unary";
|
||||
@@ -197,7 +199,9 @@ export const AccountsService: GenService<{
|
||||
output: typeof EmptySchema;
|
||||
},
|
||||
/**
|
||||
* @generated from rpc accounts.v1.AccountsService.SignIn
|
||||
* Sing in into an existing account
|
||||
*
|
||||
* @generated from rpc accounts.v1.AccountsNoAuthService.SignIn
|
||||
*/
|
||||
signIn: {
|
||||
methodKind: "unary";
|
||||
@@ -205,7 +209,9 @@ export const AccountsService: GenService<{
|
||||
output: typeof EmptySchema;
|
||||
},
|
||||
/**
|
||||
* @generated from rpc accounts.v1.AccountsService.ResetPassword
|
||||
* Reset the password, if it was lost
|
||||
*
|
||||
* @generated from rpc accounts.v1.AccountsNoAuthService.ResetPassword
|
||||
*/
|
||||
resetPassword: {
|
||||
methodKind: "unary";
|
||||
@@ -213,7 +219,9 @@ export const AccountsService: GenService<{
|
||||
output: typeof EmptySchema;
|
||||
},
|
||||
/**
|
||||
* @generated from rpc accounts.v1.AccountsService.NewPassword
|
||||
* Set the new password after reset
|
||||
*
|
||||
* @generated from rpc accounts.v1.AccountsNoAuthService.NewPassword
|
||||
*/
|
||||
newPassword: {
|
||||
methodKind: "unary";
|
||||
@@ -221,7 +229,32 @@ export const AccountsService: GenService<{
|
||||
output: typeof EmptySchema;
|
||||
},
|
||||
/**
|
||||
* @generated from rpc accounts.v1.AccountsService.IsEmailVerified
|
||||
* Send the refresh token request, token should be passed in the metadata.
|
||||
* This rpc does requier auth, but it should be handled not on the middleware level,
|
||||
* that's why it set in the NoAuth service
|
||||
*
|
||||
* @generated from rpc accounts.v1.AccountsNoAuthService.RefreshToken
|
||||
*/
|
||||
refreshToken: {
|
||||
methodKind: "unary";
|
||||
input: typeof EmptySchema;
|
||||
output: typeof EmptySchema;
|
||||
},
|
||||
}> = /*@__PURE__*/
|
||||
serviceDesc(file_accounts_v1_accounts_v1, 0);
|
||||
|
||||
/**
|
||||
* *
|
||||
* Service for handling accounts that do require authentication
|
||||
* Tokens should be sent via metadata, so the service is able to authenticate a user for a request
|
||||
*
|
||||
* @generated from service accounts.v1.AccountAuthService
|
||||
*/
|
||||
export const AccountAuthService: GenService<{
|
||||
/**
|
||||
* Is email for the current account verified
|
||||
*
|
||||
* @generated from rpc accounts.v1.AccountAuthService.IsEmailVerified
|
||||
*/
|
||||
isEmailVerified: {
|
||||
methodKind: "unary";
|
||||
@@ -229,5 +262,5 @@ export const AccountsService: GenService<{
|
||||
output: typeof IsEmailVerifiedResponseSchema;
|
||||
},
|
||||
}> = /*@__PURE__*/
|
||||
serviceDesc(file_accounts_v1_accounts_v1, 0);
|
||||
serviceDesc(file_accounts_v1_accounts_v1, 1);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user