@platfformx/proto-contracts 1.0.5 → 1.0.7

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.
@@ -0,0 +1,93 @@
1
+ import { Observable } from "rxjs";
2
+ export declare const protobufPackage = "auth_service.v1";
3
+ export interface GetAccountRequest {
4
+ userId: string;
5
+ }
6
+ export interface GetAccountResponse {
7
+ userId: string;
8
+ email?: string | undefined;
9
+ phone?: string | undefined;
10
+ username?: string | undefined;
11
+ isPhoneVerified: boolean;
12
+ isEmailVerified: boolean;
13
+ }
14
+ export interface InitEmailChangeRequest {
15
+ userId: string;
16
+ email: string;
17
+ }
18
+ export interface InitEmailChangeResponse {
19
+ verificationId: string;
20
+ }
21
+ export interface InitPhoneChangeRequest {
22
+ userId: string;
23
+ phone: string;
24
+ }
25
+ export interface InitPhoneChangeResponse {
26
+ verificationId: string;
27
+ }
28
+ export interface ConfirmEmailChangeRequest {
29
+ userId: string;
30
+ email: string;
31
+ verificationId: string;
32
+ code: string;
33
+ }
34
+ export interface ConfirmEmailChangeResponse {
35
+ }
36
+ export interface ConfirmPhoneChangeRequest {
37
+ userId: string;
38
+ phone: string;
39
+ verificationId: string;
40
+ code: string;
41
+ }
42
+ export interface ConfirmPhoneChangeResponse {
43
+ }
44
+ export interface PatchAccountRequest {
45
+ userId: string;
46
+ username?: string | undefined;
47
+ displayName?: string | undefined;
48
+ email?: string | undefined;
49
+ phone?: string | undefined;
50
+ }
51
+ export interface PatchAccountResponse {
52
+ userId: string;
53
+ username?: string | undefined;
54
+ displayName?: string | undefined;
55
+ phone?: string | undefined;
56
+ email?: string | undefined;
57
+ isPhoneVerified: boolean;
58
+ isEmailVerified: boolean;
59
+ }
60
+ export interface ChangePasswordRequest {
61
+ userId: string;
62
+ oldPassword: string;
63
+ newPasword: string;
64
+ }
65
+ export interface ChangePasswordResponse {
66
+ }
67
+ export interface LinkOAuthRequest {
68
+ userId: string;
69
+ oauthToken: string;
70
+ }
71
+ export interface LinkOAuthResponse {
72
+ }
73
+ export declare const AUTH_SERVICE_V1_PACKAGE_NAME = "auth_service.v1";
74
+ export interface AccountServiceClient {
75
+ getAccount(request: GetAccountRequest): Observable<GetAccountResponse>;
76
+ patchAccount(request: PatchAccountRequest): Observable<PatchAccountResponse>;
77
+ initEmailChange(request: InitEmailChangeRequest): Observable<InitEmailChangeResponse>;
78
+ initPhoneChange(request: InitPhoneChangeRequest): Observable<InitPhoneChangeResponse>;
79
+ confirmEmailChange(request: ConfirmEmailChangeRequest): Observable<ConfirmEmailChangeResponse>;
80
+ confirmPhoneChange(request: ConfirmPhoneChangeRequest): Observable<ConfirmPhoneChangeResponse>;
81
+ linkOAuth(request: LinkOAuthRequest): Observable<LinkOAuthResponse>;
82
+ }
83
+ export interface AccountServiceController {
84
+ getAccount(request: GetAccountRequest): Promise<GetAccountResponse> | Observable<GetAccountResponse> | GetAccountResponse;
85
+ patchAccount(request: PatchAccountRequest): Promise<PatchAccountResponse> | Observable<PatchAccountResponse> | PatchAccountResponse;
86
+ initEmailChange(request: InitEmailChangeRequest): Promise<InitEmailChangeResponse> | Observable<InitEmailChangeResponse> | InitEmailChangeResponse;
87
+ initPhoneChange(request: InitPhoneChangeRequest): Promise<InitPhoneChangeResponse> | Observable<InitPhoneChangeResponse> | InitPhoneChangeResponse;
88
+ confirmEmailChange(request: ConfirmEmailChangeRequest): Promise<ConfirmEmailChangeResponse> | Observable<ConfirmEmailChangeResponse> | ConfirmEmailChangeResponse;
89
+ confirmPhoneChange(request: ConfirmPhoneChangeRequest): Promise<ConfirmPhoneChangeResponse> | Observable<ConfirmPhoneChangeResponse> | ConfirmPhoneChangeResponse;
90
+ linkOAuth(request: LinkOAuthRequest): Promise<LinkOAuthResponse> | Observable<LinkOAuthResponse> | LinkOAuthResponse;
91
+ }
92
+ export declare function AccountServiceControllerMethods(): (constructor: Function) => void;
93
+ export declare const ACCOUNT_SERVICE_NAME = "AccountService";
@@ -0,0 +1,34 @@
1
+ // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
+ // versions:
3
+ // protoc-gen-ts_proto v2.11.8
4
+ // protoc v7.34.0
5
+ // source: auth-service/account.proto
6
+ /* eslint-disable */
7
+ import { GrpcMethod, GrpcStreamMethod } from "@nestjs/microservices";
8
+ import { Observable } from "rxjs";
9
+ export const protobufPackage = "auth_service.v1";
10
+ export const AUTH_SERVICE_V1_PACKAGE_NAME = "auth_service.v1";
11
+ export function AccountServiceControllerMethods() {
12
+ return function (constructor) {
13
+ const grpcMethods = [
14
+ "getAccount",
15
+ "patchAccount",
16
+ "initEmailChange",
17
+ "initPhoneChange",
18
+ "confirmEmailChange",
19
+ "confirmPhoneChange",
20
+ "linkOAuth",
21
+ ];
22
+ for (const method of grpcMethods) {
23
+ const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
24
+ GrpcMethod("AccountService", method)(constructor.prototype[method], method, descriptor);
25
+ }
26
+ const grpcStreamMethods = [];
27
+ for (const method of grpcStreamMethods) {
28
+ const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
29
+ GrpcStreamMethod("AccountService", method)(constructor.prototype[method], method, descriptor);
30
+ }
31
+ };
32
+ }
33
+ export const ACCOUNT_SERVICE_NAME = "AccountService";
34
+ //# sourceMappingURL=account.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"account.js","sourceRoot":"","sources":["../../../../gen/ts/auth-service/account.ts"],"names":[],"mappings":"AAAA,sDAAsD;AACtD,YAAY;AACZ,iCAAiC;AACjC,iCAAiC;AACjC,qCAAqC;AAErC,oBAAoB;AACpB,OAAO,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACrE,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAElC,MAAM,CAAC,MAAM,eAAe,GAAG,iBAAiB,CAAC;AAwFjD,MAAM,CAAC,MAAM,4BAA4B,GAAG,iBAAiB,CAAC;AA8C9D,MAAM,UAAU,+BAA+B;IAC7C,OAAO,UAAU,WAAqB;QACpC,MAAM,WAAW,GAAa;YAC5B,YAAY;YACZ,cAAc;YACd,iBAAiB;YACjB,iBAAiB;YACjB,oBAAoB;YACpB,oBAAoB;YACpB,WAAW;SACZ,CAAC;QACF,KAAK,MAAM,MAAM,IAAI,WAAW,EAAE,CAAC;YACjC,MAAM,UAAU,GAAQ,OAAO,CAAC,wBAAwB,CAAC,WAAW,CAAC,SAAS,EAAE,MAAM,CAAC,CAAC;YACxF,UAAU,CAAC,gBAAgB,EAAE,MAAM,CAAC,CAAC,WAAW,CAAC,SAAS,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,UAAU,CAAC,CAAC;QAC1F,CAAC;QACD,MAAM,iBAAiB,GAAa,EAAE,CAAC;QACvC,KAAK,MAAM,MAAM,IAAI,iBAAiB,EAAE,CAAC;YACvC,MAAM,UAAU,GAAQ,OAAO,CAAC,wBAAwB,CAAC,WAAW,CAAC,SAAS,EAAE,MAAM,CAAC,CAAC;YACxF,gBAAgB,CAAC,gBAAgB,EAAE,MAAM,CAAC,CAAC,WAAW,CAAC,SAAS,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,UAAU,CAAC,CAAC;QAChG,CAAC;IACH,CAAC,CAAC;AACJ,CAAC;AAED,MAAM,CAAC,MAAM,oBAAoB,GAAG,gBAAgB,CAAC"}
@@ -0,0 +1,77 @@
1
+ import { Observable } from "rxjs";
2
+ export declare const protobufPackage = "auth_service.v1";
3
+ /** Shared */
4
+ export declare enum OAuthProvider {
5
+ OAUTH_PROVIDER_UNSPECIFIED = 0,
6
+ OAUTH_PROVIDER_GOOGLE = 1,
7
+ OAUTH_PROVIDER_GITHUB = 2,
8
+ OAUTH_PROVIDER_TELEGRAM = 3,
9
+ UNRECOGNIZED = -1
10
+ }
11
+ /** Create account */
12
+ export interface CreateAccountRequest {
13
+ credentials: UserCredentials | undefined;
14
+ }
15
+ export interface CreateAccountResponse {
16
+ userId: string;
17
+ accessToken: string;
18
+ refreshToken: string;
19
+ user: UserProfile | undefined;
20
+ }
21
+ /** Authenticate credentials */
22
+ export interface AuthenticationRequest {
23
+ credentials: UserCredentials | undefined;
24
+ }
25
+ export interface AuthenticationResponse {
26
+ userId: string;
27
+ accessToken: string;
28
+ refreshToken: string;
29
+ user: UserProfile | undefined;
30
+ }
31
+ /** AuthenticateWithOAuth */
32
+ export interface OAuthSessionRequest {
33
+ provider: OAuthProvider;
34
+ token: string;
35
+ }
36
+ export interface OAuthSessionResponse {
37
+ userId: string;
38
+ accessToken: string;
39
+ refreshToken: string;
40
+ user: UserProfile | undefined;
41
+ isNewUser: boolean;
42
+ }
43
+ /** Tokens */
44
+ export interface TokenRefreshRequest {
45
+ refreshToken: string;
46
+ }
47
+ export interface TokenRefreshResponse {
48
+ accessToken: string;
49
+ refreshToken: string;
50
+ }
51
+ export interface UserCredentials {
52
+ email?: string | undefined;
53
+ phone?: string | undefined;
54
+ username?: string | undefined;
55
+ password: string;
56
+ }
57
+ export interface UserProfile {
58
+ email?: string | undefined;
59
+ phone?: string | undefined;
60
+ username?: string | undefined;
61
+ displayName?: string | undefined;
62
+ }
63
+ export declare const AUTH_SERVICE_V1_PACKAGE_NAME = "auth_service.v1";
64
+ export interface AuthServiceClient {
65
+ createAccount(request: CreateAccountRequest): Observable<CreateAccountResponse>;
66
+ authenticate(request: AuthenticationRequest): Observable<AuthenticationResponse>;
67
+ authenticateWithOAuth(request: OAuthSessionRequest): Observable<OAuthSessionResponse>;
68
+ refreshTokens(request: TokenRefreshRequest): Observable<TokenRefreshResponse>;
69
+ }
70
+ export interface AuthServiceController {
71
+ createAccount(request: CreateAccountRequest): Promise<CreateAccountResponse> | Observable<CreateAccountResponse> | CreateAccountResponse;
72
+ authenticate(request: AuthenticationRequest): Promise<AuthenticationResponse> | Observable<AuthenticationResponse> | AuthenticationResponse;
73
+ authenticateWithOAuth(request: OAuthSessionRequest): Promise<OAuthSessionResponse> | Observable<OAuthSessionResponse> | OAuthSessionResponse;
74
+ refreshTokens(request: TokenRefreshRequest): Promise<TokenRefreshResponse> | Observable<TokenRefreshResponse> | TokenRefreshResponse;
75
+ }
76
+ export declare function AuthServiceControllerMethods(): (constructor: Function) => void;
77
+ export declare const AUTH_SERVICE_NAME = "AuthService";
@@ -0,0 +1,35 @@
1
+ // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
+ // versions:
3
+ // protoc-gen-ts_proto v2.11.8
4
+ // protoc v7.34.0
5
+ // source: auth-service/auth.proto
6
+ /* eslint-disable */
7
+ import { GrpcMethod, GrpcStreamMethod } from "@nestjs/microservices";
8
+ import { Observable } from "rxjs";
9
+ export const protobufPackage = "auth_service.v1";
10
+ /** Shared */
11
+ export var OAuthProvider;
12
+ (function (OAuthProvider) {
13
+ OAuthProvider[OAuthProvider["OAUTH_PROVIDER_UNSPECIFIED"] = 0] = "OAUTH_PROVIDER_UNSPECIFIED";
14
+ OAuthProvider[OAuthProvider["OAUTH_PROVIDER_GOOGLE"] = 1] = "OAUTH_PROVIDER_GOOGLE";
15
+ OAuthProvider[OAuthProvider["OAUTH_PROVIDER_GITHUB"] = 2] = "OAUTH_PROVIDER_GITHUB";
16
+ OAuthProvider[OAuthProvider["OAUTH_PROVIDER_TELEGRAM"] = 3] = "OAUTH_PROVIDER_TELEGRAM";
17
+ OAuthProvider[OAuthProvider["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
18
+ })(OAuthProvider || (OAuthProvider = {}));
19
+ export const AUTH_SERVICE_V1_PACKAGE_NAME = "auth_service.v1";
20
+ export function AuthServiceControllerMethods() {
21
+ return function (constructor) {
22
+ const grpcMethods = ["createAccount", "authenticate", "authenticateWithOAuth", "refreshTokens"];
23
+ for (const method of grpcMethods) {
24
+ const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
25
+ GrpcMethod("AuthService", method)(constructor.prototype[method], method, descriptor);
26
+ }
27
+ const grpcStreamMethods = [];
28
+ for (const method of grpcStreamMethods) {
29
+ const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
30
+ GrpcStreamMethod("AuthService", method)(constructor.prototype[method], method, descriptor);
31
+ }
32
+ };
33
+ }
34
+ export const AUTH_SERVICE_NAME = "AuthService";
35
+ //# sourceMappingURL=auth.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"auth.js","sourceRoot":"","sources":["../../../../gen/ts/auth-service/auth.ts"],"names":[],"mappings":"AAAA,sDAAsD;AACtD,YAAY;AACZ,iCAAiC;AACjC,iCAAiC;AACjC,kCAAkC;AAElC,oBAAoB;AACpB,OAAO,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACrE,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAElC,MAAM,CAAC,MAAM,eAAe,GAAG,iBAAiB,CAAC;AAEjD,aAAa;AACb,MAAM,CAAN,IAAY,aAMX;AAND,WAAY,aAAa;IACvB,6FAA8B,CAAA;IAC9B,mFAAyB,CAAA;IACzB,mFAAyB,CAAA;IACzB,uFAA2B,CAAA;IAC3B,kEAAiB,CAAA;AACnB,CAAC,EANW,aAAa,KAAb,aAAa,QAMxB;AAgED,MAAM,CAAC,MAAM,4BAA4B,GAAG,iBAAiB,CAAC;AA8B9D,MAAM,UAAU,4BAA4B;IAC1C,OAAO,UAAU,WAAqB;QACpC,MAAM,WAAW,GAAa,CAAC,eAAe,EAAE,cAAc,EAAE,uBAAuB,EAAE,eAAe,CAAC,CAAC;QAC1G,KAAK,MAAM,MAAM,IAAI,WAAW,EAAE,CAAC;YACjC,MAAM,UAAU,GAAQ,OAAO,CAAC,wBAAwB,CAAC,WAAW,CAAC,SAAS,EAAE,MAAM,CAAC,CAAC;YACxF,UAAU,CAAC,aAAa,EAAE,MAAM,CAAC,CAAC,WAAW,CAAC,SAAS,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,UAAU,CAAC,CAAC;QACvF,CAAC;QACD,MAAM,iBAAiB,GAAa,EAAE,CAAC;QACvC,KAAK,MAAM,MAAM,IAAI,iBAAiB,EAAE,CAAC;YACvC,MAAM,UAAU,GAAQ,OAAO,CAAC,wBAAwB,CAAC,WAAW,CAAC,SAAS,EAAE,MAAM,CAAC,CAAC;YACxF,gBAAgB,CAAC,aAAa,EAAE,MAAM,CAAC,CAAC,WAAW,CAAC,SAAS,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,UAAU,CAAC,CAAC;QAC7F,CAAC;IACH,CAAC,CAAC;AACJ,CAAC;AAED,MAAM,CAAC,MAAM,iBAAiB,GAAG,aAAa,CAAC"}
@@ -0,0 +1,3 @@
1
+ export * from './paths';
2
+ export * as Auth from '../gen/ts/auth-service/auth';
3
+ export * as Account from '../gen/ts/auth-service/account';
@@ -0,0 +1,4 @@
1
+ export * from './paths';
2
+ export * as Auth from '../gen/ts/auth-service/auth';
3
+ export * as Account from '../gen/ts/auth-service/account';
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,OAAO,KAAK,IAAI,MAAM,6BAA6B,CAAC;AACpD,OAAO,KAAK,OAAO,MAAM,gCAAgC,CAAC"}
@@ -0,0 +1 @@
1
+ export * from './proto-paths';
@@ -0,0 +1,2 @@
1
+ export * from './proto-paths';
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/paths/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC"}
@@ -0,0 +1,4 @@
1
+ export declare const PROTO_PATHS: {
2
+ readonly ACCOUNT: string;
3
+ readonly AUTH: string;
4
+ };
@@ -0,0 +1,6 @@
1
+ import { join } from 'path';
2
+ export const PROTO_PATHS = {
3
+ ACCOUNT: join(__dirname, '../../proto/auth-service/account.proto'),
4
+ AUTH: join(__dirname, '../../proto/auth-service/auth.proto'),
5
+ };
6
+ //# sourceMappingURL=proto-paths.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"proto-paths.js","sourceRoot":"","sources":["../../../src/paths/proto-paths.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAE5B,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,OAAO,EAAE,IAAI,CAAC,SAAS,EAAE,wCAAwC,CAAC;IAClE,IAAI,EAAE,IAAI,CAAC,SAAS,EAAE,qCAAqC,CAAC;CACpD,CAAC"}
File without changes
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ //# sourceMappingURL=grpc.registry.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"grpc.registry.js","sourceRoot":"","sources":["../../../src/registry/grpc.registry.ts"],"names":[],"mappings":""}
package/eslint.config.mjs CHANGED
@@ -6,7 +6,7 @@ import tseslint from 'typescript-eslint';
6
6
 
7
7
  export default tseslint.config(
8
8
  {
9
- ignores: ['eslint.config.mjs'],
9
+ ignores: ['eslint.config.mjs', 'dist/**'],
10
10
  },
11
11
  eslint.configs.recommended,
12
12
  ...tseslint.configs.recommendedTypeChecked,
@@ -25,7 +25,10 @@ export interface CreateAccountRequest {
25
25
  }
26
26
 
27
27
  export interface CreateAccountResponse {
28
- result: AuthResult | undefined;
28
+ userId: string;
29
+ accessToken: string;
30
+ refreshToken: string;
31
+ user: UserProfile | undefined;
29
32
  }
30
33
 
31
34
  /** Authenticate credentials */
@@ -34,7 +37,10 @@ export interface AuthenticationRequest {
34
37
  }
35
38
 
36
39
  export interface AuthenticationResponse {
37
- result: AuthResult | undefined;
40
+ userId: string;
41
+ accessToken: string;
42
+ refreshToken: string;
43
+ user: UserProfile | undefined;
38
44
  }
39
45
 
40
46
  /** AuthenticateWithOAuth */
@@ -44,7 +50,10 @@ export interface OAuthSessionRequest {
44
50
  }
45
51
 
46
52
  export interface OAuthSessionResponse {
47
- result: AuthResult | undefined;
53
+ userId: string;
54
+ accessToken: string;
55
+ refreshToken: string;
56
+ user: UserProfile | undefined;
48
57
  isNewUser: boolean;
49
58
  }
50
59
 
@@ -72,13 +81,6 @@ export interface UserProfile {
72
81
  displayName?: string | undefined;
73
82
  }
74
83
 
75
- export interface AuthResult {
76
- userId: string;
77
- accessToken: string;
78
- refreshToken: string;
79
- user: UserProfile | undefined;
80
- }
81
-
82
84
  export const AUTH_SERVICE_V1_PACKAGE_NAME = "auth_service.v1";
83
85
 
84
86
  export interface AuthServiceClient {
package/package.json CHANGED
@@ -1,8 +1,9 @@
1
1
  {
2
2
  "name": "@platfformx/proto-contracts",
3
- "version": "1.0.5",
3
+ "version": "1.0.7",
4
4
  "description": "",
5
- "main": "index.js",
5
+ "main": "dist/index.js",
6
+ "types": "dist/index.d.ts",
6
7
  "publishConfig": {
7
8
  "access": "public"
8
9
  },
@@ -13,7 +14,6 @@
13
14
  "keywords": [],
14
15
  "author": "",
15
16
  "license": "ISC",
16
- "type": "module",
17
17
  "devDependencies": {
18
18
  "@types/node": "^25.7.0",
19
19
  "globstar": "^1.0.0",
@@ -15,7 +15,10 @@ message CreateAccountRequest {
15
15
  }
16
16
 
17
17
  message CreateAccountResponse {
18
- AuthResult result = 1;
18
+ string user_id = 1;
19
+ string access_token = 2;
20
+ string refresh_token = 3;
21
+ UserProfile user = 4;
19
22
  }
20
23
 
21
24
  // Authenticate credentials
@@ -24,7 +27,10 @@ message AuthenticationRequest {
24
27
  }
25
28
 
26
29
  message AuthenticationResponse {
27
- AuthResult result = 1;
30
+ string user_id = 1;
31
+ string access_token = 2;
32
+ string refresh_token = 3;
33
+ UserProfile user = 4;
28
34
  }
29
35
 
30
36
  // AuthenticateWithOAuth
@@ -33,8 +39,11 @@ message OAuthSessionRequest {
33
39
  string token = 2;
34
40
  }
35
41
  message OAuthSessionResponse {
36
- AuthResult result = 1;
37
- bool is_new_user = 2;
42
+ string user_id = 1;
43
+ string access_token = 2;
44
+ string refresh_token = 3;
45
+ UserProfile user = 4;
46
+ bool is_new_user = 5;
38
47
  }
39
48
  // Tokens
40
49
  message TokenRefreshRequest {
@@ -68,9 +77,3 @@ message UserProfile {
68
77
  optional string display_name = 4;
69
78
  }
70
79
 
71
- message AuthResult {
72
- string user_id = 1;
73
- string access_token = 2;
74
- string refresh_token = 3;
75
- UserProfile user = 4;
76
- }
package/src/index.ts CHANGED
@@ -1 +1,3 @@
1
1
  export * from './paths';
2
+ export * as Auth from '../gen/ts/auth-service/auth';
3
+ export * as Account from '../gen/ts/auth-service/account';
File without changes