@atls/auth-rpc 0.0.1
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/CHANGELOG.md +11 -0
- package/buf.gen.yaml +18 -0
- package/buf.yaml +10 -0
- package/dist/config.d.ts +4 -0
- package/dist/config.js +6 -0
- package/dist/gen/abstractions/index.d.ts +1 -0
- package/dist/gen/abstractions/index.js +1 -0
- package/dist/gen/abstractions/team/firstfood/auth/v1/auth.payloads_pb.d.ts +108 -0
- package/dist/gen/abstractions/team/firstfood/auth/v1/auth.payloads_pb.js +62 -0
- package/dist/gen/connect/index.d.ts +2 -0
- package/dist/gen/connect/index.js +2 -0
- package/dist/gen/connect/team/firstfood/auth/v1/auth.payloads_pb.d.ts +340 -0
- package/dist/gen/connect/team/firstfood/auth/v1/auth.payloads_pb.js +723 -0
- package/dist/gen/connect/team/firstfood/auth/v1/auth.service_connect.d.ts +118 -0
- package/dist/gen/connect/team/firstfood/auth/v1/auth.service_connect.js +118 -0
- package/dist/gen/interfaces/index.d.ts +1 -0
- package/dist/gen/interfaces/index.js +1 -0
- package/dist/gen/interfaces/team/firstfood/auth/v1/auth.payloads_pb.d.ts +108 -0
- package/dist/gen/interfaces/team/firstfood/auth/v1/auth.payloads_pb.js +6 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/package.json +33 -0
- package/src/config.ts +16 -0
- package/src/gen/abstractions/index.ts +1 -0
- package/src/gen/abstractions/team/firstfood/auth/v1/auth.payloads_pb.ts +399 -0
- package/src/gen/connect/index.ts +2 -0
- package/src/gen/connect/team/firstfood/auth/v1/auth.payloads_pb.ts +1523 -0
- package/src/gen/connect/team/firstfood/auth/v1/auth.service_connect.ts +170 -0
- package/src/gen/interfaces/index.ts +1 -0
- package/src/gen/interfaces/team/firstfood/auth/v1/auth.payloads_pb.ts +399 -0
- package/src/index.ts +1 -0
- package/team/firstfood/auth/v1/auth.payloads.proto +152 -0
- package/team/firstfood/auth/v1/auth.service.proto +27 -0
package/CHANGELOG.md
ADDED
package/buf.gen.yaml
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
version: v2
|
|
2
|
+
|
|
3
|
+
plugins:
|
|
4
|
+
- local: protoc-gen-es
|
|
5
|
+
opt: target=ts
|
|
6
|
+
out: src/gen/connect
|
|
7
|
+
- local: protoc-gen-connect-es
|
|
8
|
+
opt: target=ts
|
|
9
|
+
out: src/gen/connect
|
|
10
|
+
- local: protoc-gen-abstractions
|
|
11
|
+
opt: target=ts
|
|
12
|
+
out: src/gen/abstractions
|
|
13
|
+
- local: protoc-gen-interfaces
|
|
14
|
+
opt: target=ts
|
|
15
|
+
out: src/gen/interfaces
|
|
16
|
+
- local: protoc-gen-config
|
|
17
|
+
opt: target=ts
|
|
18
|
+
out: src
|
package/buf.yaml
ADDED
package/dist/config.d.ts
ADDED
package/dist/config.js
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import path from 'node:path';
|
|
2
|
+
const dirname = path.dirname(new URL(import.meta.url).pathname);
|
|
3
|
+
export const packageName = 'team.firstfood.auth.v1';
|
|
4
|
+
export const serviceName = 'AuthService';
|
|
5
|
+
export const servicePath = path.join(dirname, '../team/firstfood/auth/v1/auth.service.proto');
|
|
6
|
+
export const includeDirs = [path.join(dirname, '../')];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './team/firstfood/auth/v1/auth.payloads_pb.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./team/firstfood/auth/v1/auth.payloads_pb.js";
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
export declare enum ProviderType {
|
|
2
|
+
UNSPECIFIED = 0,
|
|
3
|
+
GOOGLE = 1,
|
|
4
|
+
APPLE = 2
|
|
5
|
+
}
|
|
6
|
+
export declare abstract class LoginUserByEmailRequest {
|
|
7
|
+
abstract readonly email: string;
|
|
8
|
+
abstract readonly password: string;
|
|
9
|
+
abstract readonly authProcessId?: string;
|
|
10
|
+
}
|
|
11
|
+
export declare abstract class LoginUserByEmailResponse {
|
|
12
|
+
abstract readonly sessionToken: string;
|
|
13
|
+
}
|
|
14
|
+
export declare abstract class LoginUserByPhoneRequest {
|
|
15
|
+
abstract readonly phone: string;
|
|
16
|
+
}
|
|
17
|
+
export declare abstract class LoginUserByPhoneResponse {
|
|
18
|
+
abstract readonly authProcessId: string;
|
|
19
|
+
}
|
|
20
|
+
export declare abstract class ConfirmLoginCodeRequest {
|
|
21
|
+
abstract readonly authProcessId: string;
|
|
22
|
+
abstract readonly code: string;
|
|
23
|
+
abstract readonly identifier: string;
|
|
24
|
+
}
|
|
25
|
+
export declare abstract class ConfirmLoginCodeResponse {
|
|
26
|
+
abstract readonly sessionToken: string;
|
|
27
|
+
}
|
|
28
|
+
export declare abstract class RegisterUserByEmailRequest {
|
|
29
|
+
abstract readonly email: string;
|
|
30
|
+
abstract readonly password: string;
|
|
31
|
+
}
|
|
32
|
+
export declare abstract class RegisterUserByEmailResponse {
|
|
33
|
+
abstract readonly authProcessId: string;
|
|
34
|
+
abstract readonly sessionToken: string;
|
|
35
|
+
abstract readonly accountId: string;
|
|
36
|
+
}
|
|
37
|
+
export declare abstract class RegisterUserByPhoneRequest {
|
|
38
|
+
abstract readonly phone: string;
|
|
39
|
+
}
|
|
40
|
+
export declare abstract class RegisterUserByPhoneResponse {
|
|
41
|
+
abstract readonly authProcessId: string;
|
|
42
|
+
abstract readonly sessionToken: string;
|
|
43
|
+
abstract readonly accountId: string;
|
|
44
|
+
}
|
|
45
|
+
export declare abstract class SendRecoveryCodeRequest {
|
|
46
|
+
abstract readonly email: string;
|
|
47
|
+
}
|
|
48
|
+
export declare abstract class SendRecoveryCodeResponse {
|
|
49
|
+
abstract readonly authProcessId: string;
|
|
50
|
+
}
|
|
51
|
+
export declare abstract class ConfirmRecoveryCodeRequest {
|
|
52
|
+
abstract readonly authProcessId: string;
|
|
53
|
+
abstract readonly code: string;
|
|
54
|
+
}
|
|
55
|
+
export declare abstract class ConfirmRecoveryCodeResponse {
|
|
56
|
+
abstract readonly sessionToken: string;
|
|
57
|
+
}
|
|
58
|
+
export declare abstract class SendVerificationCodeRequest {
|
|
59
|
+
abstract readonly email: string;
|
|
60
|
+
}
|
|
61
|
+
export declare abstract class SendVerificationCodeResponse {
|
|
62
|
+
abstract readonly authProcessId: string;
|
|
63
|
+
}
|
|
64
|
+
export declare abstract class ConfirmVerificationCodeRequest {
|
|
65
|
+
abstract readonly authProcessId: string;
|
|
66
|
+
abstract readonly code: string;
|
|
67
|
+
}
|
|
68
|
+
export declare abstract class ConfirmVerificationCodeResponse {
|
|
69
|
+
abstract readonly success: boolean;
|
|
70
|
+
}
|
|
71
|
+
export declare abstract class UpdateUserEmailRequest {
|
|
72
|
+
abstract readonly email: string;
|
|
73
|
+
abstract readonly sessionToken: string;
|
|
74
|
+
}
|
|
75
|
+
export declare abstract class UpdateUserEmailResponse {
|
|
76
|
+
abstract readonly authProcessId: string;
|
|
77
|
+
}
|
|
78
|
+
export declare abstract class UpdateUserPasswordRequest {
|
|
79
|
+
abstract readonly password: string;
|
|
80
|
+
abstract readonly sessionToken: string;
|
|
81
|
+
}
|
|
82
|
+
export declare abstract class UpdateUserPasswordResponse {
|
|
83
|
+
abstract readonly success: boolean;
|
|
84
|
+
}
|
|
85
|
+
export declare abstract class DeleteUserAccountRequest {
|
|
86
|
+
abstract readonly accountId: string;
|
|
87
|
+
}
|
|
88
|
+
export declare abstract class DeleteUserAccountResponse {
|
|
89
|
+
abstract readonly success: boolean;
|
|
90
|
+
}
|
|
91
|
+
export declare abstract class GetUserAccountRequest {
|
|
92
|
+
abstract readonly sessionToken: string;
|
|
93
|
+
}
|
|
94
|
+
export declare abstract class GetUserAccountResponse {
|
|
95
|
+
abstract readonly id: string;
|
|
96
|
+
abstract readonly email?: string;
|
|
97
|
+
abstract readonly phone?: string;
|
|
98
|
+
}
|
|
99
|
+
export declare abstract class LoginUserByProviderRequest {
|
|
100
|
+
abstract readonly provider: ProviderType;
|
|
101
|
+
abstract readonly idToken: string;
|
|
102
|
+
abstract readonly nonce: string;
|
|
103
|
+
}
|
|
104
|
+
export declare abstract class LoginUserByProviderResponse {
|
|
105
|
+
abstract readonly sessionToken?: string;
|
|
106
|
+
abstract readonly accountId?: string;
|
|
107
|
+
abstract readonly authProcessId?: string;
|
|
108
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
export var ProviderType;
|
|
2
|
+
(function (ProviderType) {
|
|
3
|
+
ProviderType[ProviderType["UNSPECIFIED"] = 0] = "UNSPECIFIED";
|
|
4
|
+
ProviderType[ProviderType["GOOGLE"] = 1] = "GOOGLE";
|
|
5
|
+
ProviderType[ProviderType["APPLE"] = 2] = "APPLE";
|
|
6
|
+
})(ProviderType || (ProviderType = {}));
|
|
7
|
+
export class LoginUserByEmailRequest {
|
|
8
|
+
}
|
|
9
|
+
export class LoginUserByEmailResponse {
|
|
10
|
+
}
|
|
11
|
+
export class LoginUserByPhoneRequest {
|
|
12
|
+
}
|
|
13
|
+
export class LoginUserByPhoneResponse {
|
|
14
|
+
}
|
|
15
|
+
export class ConfirmLoginCodeRequest {
|
|
16
|
+
}
|
|
17
|
+
export class ConfirmLoginCodeResponse {
|
|
18
|
+
}
|
|
19
|
+
export class RegisterUserByEmailRequest {
|
|
20
|
+
}
|
|
21
|
+
export class RegisterUserByEmailResponse {
|
|
22
|
+
}
|
|
23
|
+
export class RegisterUserByPhoneRequest {
|
|
24
|
+
}
|
|
25
|
+
export class RegisterUserByPhoneResponse {
|
|
26
|
+
}
|
|
27
|
+
export class SendRecoveryCodeRequest {
|
|
28
|
+
}
|
|
29
|
+
export class SendRecoveryCodeResponse {
|
|
30
|
+
}
|
|
31
|
+
export class ConfirmRecoveryCodeRequest {
|
|
32
|
+
}
|
|
33
|
+
export class ConfirmRecoveryCodeResponse {
|
|
34
|
+
}
|
|
35
|
+
export class SendVerificationCodeRequest {
|
|
36
|
+
}
|
|
37
|
+
export class SendVerificationCodeResponse {
|
|
38
|
+
}
|
|
39
|
+
export class ConfirmVerificationCodeRequest {
|
|
40
|
+
}
|
|
41
|
+
export class ConfirmVerificationCodeResponse {
|
|
42
|
+
}
|
|
43
|
+
export class UpdateUserEmailRequest {
|
|
44
|
+
}
|
|
45
|
+
export class UpdateUserEmailResponse {
|
|
46
|
+
}
|
|
47
|
+
export class UpdateUserPasswordRequest {
|
|
48
|
+
}
|
|
49
|
+
export class UpdateUserPasswordResponse {
|
|
50
|
+
}
|
|
51
|
+
export class DeleteUserAccountRequest {
|
|
52
|
+
}
|
|
53
|
+
export class DeleteUserAccountResponse {
|
|
54
|
+
}
|
|
55
|
+
export class GetUserAccountRequest {
|
|
56
|
+
}
|
|
57
|
+
export class GetUserAccountResponse {
|
|
58
|
+
}
|
|
59
|
+
export class LoginUserByProviderRequest {
|
|
60
|
+
}
|
|
61
|
+
export class LoginUserByProviderResponse {
|
|
62
|
+
}
|
|
@@ -0,0 +1,340 @@
|
|
|
1
|
+
import type { BinaryReadOptions } from '@bufbuild/protobuf';
|
|
2
|
+
import type { FieldList } from '@bufbuild/protobuf';
|
|
3
|
+
import type { JsonReadOptions } from '@bufbuild/protobuf';
|
|
4
|
+
import type { JsonValue } from '@bufbuild/protobuf';
|
|
5
|
+
import type { PartialMessage } from '@bufbuild/protobuf';
|
|
6
|
+
import type { PlainMessage } from '@bufbuild/protobuf';
|
|
7
|
+
import { Message } from '@bufbuild/protobuf';
|
|
8
|
+
import { proto3 } from '@bufbuild/protobuf';
|
|
9
|
+
export declare enum ProviderType {
|
|
10
|
+
UNSPECIFIED = 0,
|
|
11
|
+
GOOGLE = 1,
|
|
12
|
+
APPLE = 2
|
|
13
|
+
}
|
|
14
|
+
export declare class LoginUserByEmailRequest extends Message<LoginUserByEmailRequest> {
|
|
15
|
+
email: string;
|
|
16
|
+
password: string;
|
|
17
|
+
authProcessId?: string;
|
|
18
|
+
constructor(data?: PartialMessage<LoginUserByEmailRequest>);
|
|
19
|
+
static readonly runtime: typeof proto3;
|
|
20
|
+
static readonly typeName = "team.firstfood.auth.v1.LoginUserByEmailRequest";
|
|
21
|
+
static readonly fields: FieldList;
|
|
22
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): LoginUserByEmailRequest;
|
|
23
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): LoginUserByEmailRequest;
|
|
24
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): LoginUserByEmailRequest;
|
|
25
|
+
static equals(a: LoginUserByEmailRequest | PlainMessage<LoginUserByEmailRequest> | undefined, b: LoginUserByEmailRequest | PlainMessage<LoginUserByEmailRequest> | undefined): boolean;
|
|
26
|
+
}
|
|
27
|
+
export declare class LoginUserByEmailResponse extends Message<LoginUserByEmailResponse> {
|
|
28
|
+
sessionToken: string;
|
|
29
|
+
constructor(data?: PartialMessage<LoginUserByEmailResponse>);
|
|
30
|
+
static readonly runtime: typeof proto3;
|
|
31
|
+
static readonly typeName = "team.firstfood.auth.v1.LoginUserByEmailResponse";
|
|
32
|
+
static readonly fields: FieldList;
|
|
33
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): LoginUserByEmailResponse;
|
|
34
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): LoginUserByEmailResponse;
|
|
35
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): LoginUserByEmailResponse;
|
|
36
|
+
static equals(a: LoginUserByEmailResponse | PlainMessage<LoginUserByEmailResponse> | undefined, b: LoginUserByEmailResponse | PlainMessage<LoginUserByEmailResponse> | undefined): boolean;
|
|
37
|
+
}
|
|
38
|
+
export declare class LoginUserByPhoneRequest extends Message<LoginUserByPhoneRequest> {
|
|
39
|
+
phone: string;
|
|
40
|
+
constructor(data?: PartialMessage<LoginUserByPhoneRequest>);
|
|
41
|
+
static readonly runtime: typeof proto3;
|
|
42
|
+
static readonly typeName = "team.firstfood.auth.v1.LoginUserByPhoneRequest";
|
|
43
|
+
static readonly fields: FieldList;
|
|
44
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): LoginUserByPhoneRequest;
|
|
45
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): LoginUserByPhoneRequest;
|
|
46
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): LoginUserByPhoneRequest;
|
|
47
|
+
static equals(a: LoginUserByPhoneRequest | PlainMessage<LoginUserByPhoneRequest> | undefined, b: LoginUserByPhoneRequest | PlainMessage<LoginUserByPhoneRequest> | undefined): boolean;
|
|
48
|
+
}
|
|
49
|
+
export declare class LoginUserByPhoneResponse extends Message<LoginUserByPhoneResponse> {
|
|
50
|
+
authProcessId: string;
|
|
51
|
+
constructor(data?: PartialMessage<LoginUserByPhoneResponse>);
|
|
52
|
+
static readonly runtime: typeof proto3;
|
|
53
|
+
static readonly typeName = "team.firstfood.auth.v1.LoginUserByPhoneResponse";
|
|
54
|
+
static readonly fields: FieldList;
|
|
55
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): LoginUserByPhoneResponse;
|
|
56
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): LoginUserByPhoneResponse;
|
|
57
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): LoginUserByPhoneResponse;
|
|
58
|
+
static equals(a: LoginUserByPhoneResponse | PlainMessage<LoginUserByPhoneResponse> | undefined, b: LoginUserByPhoneResponse | PlainMessage<LoginUserByPhoneResponse> | undefined): boolean;
|
|
59
|
+
}
|
|
60
|
+
export declare class ConfirmLoginCodeRequest extends Message<ConfirmLoginCodeRequest> {
|
|
61
|
+
authProcessId: string;
|
|
62
|
+
code: string;
|
|
63
|
+
identifier: string;
|
|
64
|
+
constructor(data?: PartialMessage<ConfirmLoginCodeRequest>);
|
|
65
|
+
static readonly runtime: typeof proto3;
|
|
66
|
+
static readonly typeName = "team.firstfood.auth.v1.ConfirmLoginCodeRequest";
|
|
67
|
+
static readonly fields: FieldList;
|
|
68
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ConfirmLoginCodeRequest;
|
|
69
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ConfirmLoginCodeRequest;
|
|
70
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ConfirmLoginCodeRequest;
|
|
71
|
+
static equals(a: ConfirmLoginCodeRequest | PlainMessage<ConfirmLoginCodeRequest> | undefined, b: ConfirmLoginCodeRequest | PlainMessage<ConfirmLoginCodeRequest> | undefined): boolean;
|
|
72
|
+
}
|
|
73
|
+
export declare class ConfirmLoginCodeResponse extends Message<ConfirmLoginCodeResponse> {
|
|
74
|
+
sessionToken: string;
|
|
75
|
+
constructor(data?: PartialMessage<ConfirmLoginCodeResponse>);
|
|
76
|
+
static readonly runtime: typeof proto3;
|
|
77
|
+
static readonly typeName = "team.firstfood.auth.v1.ConfirmLoginCodeResponse";
|
|
78
|
+
static readonly fields: FieldList;
|
|
79
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ConfirmLoginCodeResponse;
|
|
80
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ConfirmLoginCodeResponse;
|
|
81
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ConfirmLoginCodeResponse;
|
|
82
|
+
static equals(a: ConfirmLoginCodeResponse | PlainMessage<ConfirmLoginCodeResponse> | undefined, b: ConfirmLoginCodeResponse | PlainMessage<ConfirmLoginCodeResponse> | undefined): boolean;
|
|
83
|
+
}
|
|
84
|
+
export declare class RegisterUserByEmailRequest extends Message<RegisterUserByEmailRequest> {
|
|
85
|
+
email: string;
|
|
86
|
+
password: string;
|
|
87
|
+
constructor(data?: PartialMessage<RegisterUserByEmailRequest>);
|
|
88
|
+
static readonly runtime: typeof proto3;
|
|
89
|
+
static readonly typeName = "team.firstfood.auth.v1.RegisterUserByEmailRequest";
|
|
90
|
+
static readonly fields: FieldList;
|
|
91
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RegisterUserByEmailRequest;
|
|
92
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RegisterUserByEmailRequest;
|
|
93
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RegisterUserByEmailRequest;
|
|
94
|
+
static equals(a: RegisterUserByEmailRequest | PlainMessage<RegisterUserByEmailRequest> | undefined, b: RegisterUserByEmailRequest | PlainMessage<RegisterUserByEmailRequest> | undefined): boolean;
|
|
95
|
+
}
|
|
96
|
+
export declare class RegisterUserByEmailResponse extends Message<RegisterUserByEmailResponse> {
|
|
97
|
+
authProcessId: string;
|
|
98
|
+
sessionToken: string;
|
|
99
|
+
accountId: string;
|
|
100
|
+
constructor(data?: PartialMessage<RegisterUserByEmailResponse>);
|
|
101
|
+
static readonly runtime: typeof proto3;
|
|
102
|
+
static readonly typeName = "team.firstfood.auth.v1.RegisterUserByEmailResponse";
|
|
103
|
+
static readonly fields: FieldList;
|
|
104
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RegisterUserByEmailResponse;
|
|
105
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RegisterUserByEmailResponse;
|
|
106
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RegisterUserByEmailResponse;
|
|
107
|
+
static equals(a: RegisterUserByEmailResponse | PlainMessage<RegisterUserByEmailResponse> | undefined, b: RegisterUserByEmailResponse | PlainMessage<RegisterUserByEmailResponse> | undefined): boolean;
|
|
108
|
+
}
|
|
109
|
+
export declare class RegisterUserByPhoneRequest extends Message<RegisterUserByPhoneRequest> {
|
|
110
|
+
phone: string;
|
|
111
|
+
constructor(data?: PartialMessage<RegisterUserByPhoneRequest>);
|
|
112
|
+
static readonly runtime: typeof proto3;
|
|
113
|
+
static readonly typeName = "team.firstfood.auth.v1.RegisterUserByPhoneRequest";
|
|
114
|
+
static readonly fields: FieldList;
|
|
115
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RegisterUserByPhoneRequest;
|
|
116
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RegisterUserByPhoneRequest;
|
|
117
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RegisterUserByPhoneRequest;
|
|
118
|
+
static equals(a: RegisterUserByPhoneRequest | PlainMessage<RegisterUserByPhoneRequest> | undefined, b: RegisterUserByPhoneRequest | PlainMessage<RegisterUserByPhoneRequest> | undefined): boolean;
|
|
119
|
+
}
|
|
120
|
+
export declare class RegisterUserByPhoneResponse extends Message<RegisterUserByPhoneResponse> {
|
|
121
|
+
authProcessId: string;
|
|
122
|
+
sessionToken: string;
|
|
123
|
+
accountId: string;
|
|
124
|
+
constructor(data?: PartialMessage<RegisterUserByPhoneResponse>);
|
|
125
|
+
static readonly runtime: typeof proto3;
|
|
126
|
+
static readonly typeName = "team.firstfood.auth.v1.RegisterUserByPhoneResponse";
|
|
127
|
+
static readonly fields: FieldList;
|
|
128
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RegisterUserByPhoneResponse;
|
|
129
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RegisterUserByPhoneResponse;
|
|
130
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RegisterUserByPhoneResponse;
|
|
131
|
+
static equals(a: RegisterUserByPhoneResponse | PlainMessage<RegisterUserByPhoneResponse> | undefined, b: RegisterUserByPhoneResponse | PlainMessage<RegisterUserByPhoneResponse> | undefined): boolean;
|
|
132
|
+
}
|
|
133
|
+
export declare class SendRecoveryCodeRequest extends Message<SendRecoveryCodeRequest> {
|
|
134
|
+
email: string;
|
|
135
|
+
constructor(data?: PartialMessage<SendRecoveryCodeRequest>);
|
|
136
|
+
static readonly runtime: typeof proto3;
|
|
137
|
+
static readonly typeName = "team.firstfood.auth.v1.SendRecoveryCodeRequest";
|
|
138
|
+
static readonly fields: FieldList;
|
|
139
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SendRecoveryCodeRequest;
|
|
140
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SendRecoveryCodeRequest;
|
|
141
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SendRecoveryCodeRequest;
|
|
142
|
+
static equals(a: SendRecoveryCodeRequest | PlainMessage<SendRecoveryCodeRequest> | undefined, b: SendRecoveryCodeRequest | PlainMessage<SendRecoveryCodeRequest> | undefined): boolean;
|
|
143
|
+
}
|
|
144
|
+
export declare class SendRecoveryCodeResponse extends Message<SendRecoveryCodeResponse> {
|
|
145
|
+
authProcessId: string;
|
|
146
|
+
constructor(data?: PartialMessage<SendRecoveryCodeResponse>);
|
|
147
|
+
static readonly runtime: typeof proto3;
|
|
148
|
+
static readonly typeName = "team.firstfood.auth.v1.SendRecoveryCodeResponse";
|
|
149
|
+
static readonly fields: FieldList;
|
|
150
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SendRecoveryCodeResponse;
|
|
151
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SendRecoveryCodeResponse;
|
|
152
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SendRecoveryCodeResponse;
|
|
153
|
+
static equals(a: SendRecoveryCodeResponse | PlainMessage<SendRecoveryCodeResponse> | undefined, b: SendRecoveryCodeResponse | PlainMessage<SendRecoveryCodeResponse> | undefined): boolean;
|
|
154
|
+
}
|
|
155
|
+
export declare class ConfirmRecoveryCodeRequest extends Message<ConfirmRecoveryCodeRequest> {
|
|
156
|
+
authProcessId: string;
|
|
157
|
+
code: string;
|
|
158
|
+
constructor(data?: PartialMessage<ConfirmRecoveryCodeRequest>);
|
|
159
|
+
static readonly runtime: typeof proto3;
|
|
160
|
+
static readonly typeName = "team.firstfood.auth.v1.ConfirmRecoveryCodeRequest";
|
|
161
|
+
static readonly fields: FieldList;
|
|
162
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ConfirmRecoveryCodeRequest;
|
|
163
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ConfirmRecoveryCodeRequest;
|
|
164
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ConfirmRecoveryCodeRequest;
|
|
165
|
+
static equals(a: ConfirmRecoveryCodeRequest | PlainMessage<ConfirmRecoveryCodeRequest> | undefined, b: ConfirmRecoveryCodeRequest | PlainMessage<ConfirmRecoveryCodeRequest> | undefined): boolean;
|
|
166
|
+
}
|
|
167
|
+
export declare class ConfirmRecoveryCodeResponse extends Message<ConfirmRecoveryCodeResponse> {
|
|
168
|
+
sessionToken: string;
|
|
169
|
+
constructor(data?: PartialMessage<ConfirmRecoveryCodeResponse>);
|
|
170
|
+
static readonly runtime: typeof proto3;
|
|
171
|
+
static readonly typeName = "team.firstfood.auth.v1.ConfirmRecoveryCodeResponse";
|
|
172
|
+
static readonly fields: FieldList;
|
|
173
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ConfirmRecoveryCodeResponse;
|
|
174
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ConfirmRecoveryCodeResponse;
|
|
175
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ConfirmRecoveryCodeResponse;
|
|
176
|
+
static equals(a: ConfirmRecoveryCodeResponse | PlainMessage<ConfirmRecoveryCodeResponse> | undefined, b: ConfirmRecoveryCodeResponse | PlainMessage<ConfirmRecoveryCodeResponse> | undefined): boolean;
|
|
177
|
+
}
|
|
178
|
+
export declare class SendVerificationCodeRequest extends Message<SendVerificationCodeRequest> {
|
|
179
|
+
email: string;
|
|
180
|
+
constructor(data?: PartialMessage<SendVerificationCodeRequest>);
|
|
181
|
+
static readonly runtime: typeof proto3;
|
|
182
|
+
static readonly typeName = "team.firstfood.auth.v1.SendVerificationCodeRequest";
|
|
183
|
+
static readonly fields: FieldList;
|
|
184
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SendVerificationCodeRequest;
|
|
185
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SendVerificationCodeRequest;
|
|
186
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SendVerificationCodeRequest;
|
|
187
|
+
static equals(a: SendVerificationCodeRequest | PlainMessage<SendVerificationCodeRequest> | undefined, b: SendVerificationCodeRequest | PlainMessage<SendVerificationCodeRequest> | undefined): boolean;
|
|
188
|
+
}
|
|
189
|
+
export declare class SendVerificationCodeResponse extends Message<SendVerificationCodeResponse> {
|
|
190
|
+
authProcessId: string;
|
|
191
|
+
constructor(data?: PartialMessage<SendVerificationCodeResponse>);
|
|
192
|
+
static readonly runtime: typeof proto3;
|
|
193
|
+
static readonly typeName = "team.firstfood.auth.v1.SendVerificationCodeResponse";
|
|
194
|
+
static readonly fields: FieldList;
|
|
195
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SendVerificationCodeResponse;
|
|
196
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SendVerificationCodeResponse;
|
|
197
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SendVerificationCodeResponse;
|
|
198
|
+
static equals(a: SendVerificationCodeResponse | PlainMessage<SendVerificationCodeResponse> | undefined, b: SendVerificationCodeResponse | PlainMessage<SendVerificationCodeResponse> | undefined): boolean;
|
|
199
|
+
}
|
|
200
|
+
export declare class ConfirmVerificationCodeRequest extends Message<ConfirmVerificationCodeRequest> {
|
|
201
|
+
authProcessId: string;
|
|
202
|
+
code: string;
|
|
203
|
+
constructor(data?: PartialMessage<ConfirmVerificationCodeRequest>);
|
|
204
|
+
static readonly runtime: typeof proto3;
|
|
205
|
+
static readonly typeName = "team.firstfood.auth.v1.ConfirmVerificationCodeRequest";
|
|
206
|
+
static readonly fields: FieldList;
|
|
207
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ConfirmVerificationCodeRequest;
|
|
208
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ConfirmVerificationCodeRequest;
|
|
209
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ConfirmVerificationCodeRequest;
|
|
210
|
+
static equals(a: ConfirmVerificationCodeRequest | PlainMessage<ConfirmVerificationCodeRequest> | undefined, b: ConfirmVerificationCodeRequest | PlainMessage<ConfirmVerificationCodeRequest> | undefined): boolean;
|
|
211
|
+
}
|
|
212
|
+
export declare class ConfirmVerificationCodeResponse extends Message<ConfirmVerificationCodeResponse> {
|
|
213
|
+
success: boolean;
|
|
214
|
+
constructor(data?: PartialMessage<ConfirmVerificationCodeResponse>);
|
|
215
|
+
static readonly runtime: typeof proto3;
|
|
216
|
+
static readonly typeName = "team.firstfood.auth.v1.ConfirmVerificationCodeResponse";
|
|
217
|
+
static readonly fields: FieldList;
|
|
218
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ConfirmVerificationCodeResponse;
|
|
219
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ConfirmVerificationCodeResponse;
|
|
220
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ConfirmVerificationCodeResponse;
|
|
221
|
+
static equals(a: ConfirmVerificationCodeResponse | PlainMessage<ConfirmVerificationCodeResponse> | undefined, b: ConfirmVerificationCodeResponse | PlainMessage<ConfirmVerificationCodeResponse> | undefined): boolean;
|
|
222
|
+
}
|
|
223
|
+
export declare class UpdateUserEmailRequest extends Message<UpdateUserEmailRequest> {
|
|
224
|
+
email: string;
|
|
225
|
+
sessionToken: string;
|
|
226
|
+
constructor(data?: PartialMessage<UpdateUserEmailRequest>);
|
|
227
|
+
static readonly runtime: typeof proto3;
|
|
228
|
+
static readonly typeName = "team.firstfood.auth.v1.UpdateUserEmailRequest";
|
|
229
|
+
static readonly fields: FieldList;
|
|
230
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateUserEmailRequest;
|
|
231
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateUserEmailRequest;
|
|
232
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateUserEmailRequest;
|
|
233
|
+
static equals(a: UpdateUserEmailRequest | PlainMessage<UpdateUserEmailRequest> | undefined, b: UpdateUserEmailRequest | PlainMessage<UpdateUserEmailRequest> | undefined): boolean;
|
|
234
|
+
}
|
|
235
|
+
export declare class UpdateUserEmailResponse extends Message<UpdateUserEmailResponse> {
|
|
236
|
+
authProcessId: string;
|
|
237
|
+
constructor(data?: PartialMessage<UpdateUserEmailResponse>);
|
|
238
|
+
static readonly runtime: typeof proto3;
|
|
239
|
+
static readonly typeName = "team.firstfood.auth.v1.UpdateUserEmailResponse";
|
|
240
|
+
static readonly fields: FieldList;
|
|
241
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateUserEmailResponse;
|
|
242
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateUserEmailResponse;
|
|
243
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateUserEmailResponse;
|
|
244
|
+
static equals(a: UpdateUserEmailResponse | PlainMessage<UpdateUserEmailResponse> | undefined, b: UpdateUserEmailResponse | PlainMessage<UpdateUserEmailResponse> | undefined): boolean;
|
|
245
|
+
}
|
|
246
|
+
export declare class UpdateUserPasswordRequest extends Message<UpdateUserPasswordRequest> {
|
|
247
|
+
password: string;
|
|
248
|
+
sessionToken: string;
|
|
249
|
+
constructor(data?: PartialMessage<UpdateUserPasswordRequest>);
|
|
250
|
+
static readonly runtime: typeof proto3;
|
|
251
|
+
static readonly typeName = "team.firstfood.auth.v1.UpdateUserPasswordRequest";
|
|
252
|
+
static readonly fields: FieldList;
|
|
253
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateUserPasswordRequest;
|
|
254
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateUserPasswordRequest;
|
|
255
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateUserPasswordRequest;
|
|
256
|
+
static equals(a: UpdateUserPasswordRequest | PlainMessage<UpdateUserPasswordRequest> | undefined, b: UpdateUserPasswordRequest | PlainMessage<UpdateUserPasswordRequest> | undefined): boolean;
|
|
257
|
+
}
|
|
258
|
+
export declare class UpdateUserPasswordResponse extends Message<UpdateUserPasswordResponse> {
|
|
259
|
+
success: boolean;
|
|
260
|
+
constructor(data?: PartialMessage<UpdateUserPasswordResponse>);
|
|
261
|
+
static readonly runtime: typeof proto3;
|
|
262
|
+
static readonly typeName = "team.firstfood.auth.v1.UpdateUserPasswordResponse";
|
|
263
|
+
static readonly fields: FieldList;
|
|
264
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateUserPasswordResponse;
|
|
265
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateUserPasswordResponse;
|
|
266
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateUserPasswordResponse;
|
|
267
|
+
static equals(a: UpdateUserPasswordResponse | PlainMessage<UpdateUserPasswordResponse> | undefined, b: UpdateUserPasswordResponse | PlainMessage<UpdateUserPasswordResponse> | undefined): boolean;
|
|
268
|
+
}
|
|
269
|
+
export declare class DeleteUserAccountRequest extends Message<DeleteUserAccountRequest> {
|
|
270
|
+
accountId: string;
|
|
271
|
+
constructor(data?: PartialMessage<DeleteUserAccountRequest>);
|
|
272
|
+
static readonly runtime: typeof proto3;
|
|
273
|
+
static readonly typeName = "team.firstfood.auth.v1.DeleteUserAccountRequest";
|
|
274
|
+
static readonly fields: FieldList;
|
|
275
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteUserAccountRequest;
|
|
276
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteUserAccountRequest;
|
|
277
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteUserAccountRequest;
|
|
278
|
+
static equals(a: DeleteUserAccountRequest | PlainMessage<DeleteUserAccountRequest> | undefined, b: DeleteUserAccountRequest | PlainMessage<DeleteUserAccountRequest> | undefined): boolean;
|
|
279
|
+
}
|
|
280
|
+
export declare class DeleteUserAccountResponse extends Message<DeleteUserAccountResponse> {
|
|
281
|
+
success: boolean;
|
|
282
|
+
constructor(data?: PartialMessage<DeleteUserAccountResponse>);
|
|
283
|
+
static readonly runtime: typeof proto3;
|
|
284
|
+
static readonly typeName = "team.firstfood.auth.v1.DeleteUserAccountResponse";
|
|
285
|
+
static readonly fields: FieldList;
|
|
286
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteUserAccountResponse;
|
|
287
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteUserAccountResponse;
|
|
288
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteUserAccountResponse;
|
|
289
|
+
static equals(a: DeleteUserAccountResponse | PlainMessage<DeleteUserAccountResponse> | undefined, b: DeleteUserAccountResponse | PlainMessage<DeleteUserAccountResponse> | undefined): boolean;
|
|
290
|
+
}
|
|
291
|
+
export declare class GetUserAccountRequest extends Message<GetUserAccountRequest> {
|
|
292
|
+
sessionToken: string;
|
|
293
|
+
constructor(data?: PartialMessage<GetUserAccountRequest>);
|
|
294
|
+
static readonly runtime: typeof proto3;
|
|
295
|
+
static readonly typeName = "team.firstfood.auth.v1.GetUserAccountRequest";
|
|
296
|
+
static readonly fields: FieldList;
|
|
297
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetUserAccountRequest;
|
|
298
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetUserAccountRequest;
|
|
299
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetUserAccountRequest;
|
|
300
|
+
static equals(a: GetUserAccountRequest | PlainMessage<GetUserAccountRequest> | undefined, b: GetUserAccountRequest | PlainMessage<GetUserAccountRequest> | undefined): boolean;
|
|
301
|
+
}
|
|
302
|
+
export declare class GetUserAccountResponse extends Message<GetUserAccountResponse> {
|
|
303
|
+
id: string;
|
|
304
|
+
email?: string;
|
|
305
|
+
phone?: string;
|
|
306
|
+
constructor(data?: PartialMessage<GetUserAccountResponse>);
|
|
307
|
+
static readonly runtime: typeof proto3;
|
|
308
|
+
static readonly typeName = "team.firstfood.auth.v1.GetUserAccountResponse";
|
|
309
|
+
static readonly fields: FieldList;
|
|
310
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetUserAccountResponse;
|
|
311
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetUserAccountResponse;
|
|
312
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetUserAccountResponse;
|
|
313
|
+
static equals(a: GetUserAccountResponse | PlainMessage<GetUserAccountResponse> | undefined, b: GetUserAccountResponse | PlainMessage<GetUserAccountResponse> | undefined): boolean;
|
|
314
|
+
}
|
|
315
|
+
export declare class LoginUserByProviderRequest extends Message<LoginUserByProviderRequest> {
|
|
316
|
+
provider: ProviderType;
|
|
317
|
+
idToken: string;
|
|
318
|
+
nonce: string;
|
|
319
|
+
constructor(data?: PartialMessage<LoginUserByProviderRequest>);
|
|
320
|
+
static readonly runtime: typeof proto3;
|
|
321
|
+
static readonly typeName = "team.firstfood.auth.v1.LoginUserByProviderRequest";
|
|
322
|
+
static readonly fields: FieldList;
|
|
323
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): LoginUserByProviderRequest;
|
|
324
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): LoginUserByProviderRequest;
|
|
325
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): LoginUserByProviderRequest;
|
|
326
|
+
static equals(a: LoginUserByProviderRequest | PlainMessage<LoginUserByProviderRequest> | undefined, b: LoginUserByProviderRequest | PlainMessage<LoginUserByProviderRequest> | undefined): boolean;
|
|
327
|
+
}
|
|
328
|
+
export declare class LoginUserByProviderResponse extends Message<LoginUserByProviderResponse> {
|
|
329
|
+
sessionToken?: string;
|
|
330
|
+
accountId?: string;
|
|
331
|
+
authProcessId?: string;
|
|
332
|
+
constructor(data?: PartialMessage<LoginUserByProviderResponse>);
|
|
333
|
+
static readonly runtime: typeof proto3;
|
|
334
|
+
static readonly typeName = "team.firstfood.auth.v1.LoginUserByProviderResponse";
|
|
335
|
+
static readonly fields: FieldList;
|
|
336
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): LoginUserByProviderResponse;
|
|
337
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): LoginUserByProviderResponse;
|
|
338
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): LoginUserByProviderResponse;
|
|
339
|
+
static equals(a: LoginUserByProviderResponse | PlainMessage<LoginUserByProviderResponse> | undefined, b: LoginUserByProviderResponse | PlainMessage<LoginUserByProviderResponse> | undefined): boolean;
|
|
340
|
+
}
|