@g2gs/contracts 1.0.35 → 1.0.36

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.
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
5
 
6
- import { LoginStaffRequest, LoginStaffResponse, LoginTelegramRequest, LoginTelegramResponse, RefreshTokenRequest, RefreshTokenResponse } from "./auth_pb.js";
6
+ import { LoginStaffRequest, LoginStaffResponse, LoginTelegramRequest, LoginTelegramResponse, LogoutRequest, LogoutResponse, RefreshTokenRequest, RefreshTokenResponse } from "./auth_pb.js";
7
7
  import { MethodKind } from "@bufbuild/protobuf";
8
8
 
9
9
  /**
@@ -39,6 +39,15 @@ export declare const AuthService: {
39
39
  readonly O: typeof LoginTelegramResponse,
40
40
  readonly kind: MethodKind.Unary,
41
41
  },
42
+ /**
43
+ * @generated from rpc identity.v1.AuthService.Logout
44
+ */
45
+ readonly logout: {
46
+ readonly name: "Logout",
47
+ readonly I: typeof LogoutRequest,
48
+ readonly O: typeof LogoutResponse,
49
+ readonly kind: MethodKind.Unary,
50
+ },
42
51
  }
43
52
  };
44
53
 
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
5
 
6
- import { LoginStaffRequest, LoginStaffResponse, LoginTelegramRequest, LoginTelegramResponse, RefreshTokenRequest, RefreshTokenResponse } from "./auth_pb.js";
6
+ import { LoginStaffRequest, LoginStaffResponse, LoginTelegramRequest, LoginTelegramResponse, LogoutRequest, LogoutResponse, RefreshTokenRequest, RefreshTokenResponse } from "./auth_pb.js";
7
7
  import { MethodKind } from "@bufbuild/protobuf";
8
8
 
9
9
  /**
@@ -39,6 +39,15 @@ export const AuthService = {
39
39
  O: LoginTelegramResponse,
40
40
  kind: MethodKind.Unary,
41
41
  },
42
+ /**
43
+ * @generated from rpc identity.v1.AuthService.Logout
44
+ */
45
+ logout: {
46
+ name: "Logout",
47
+ I: LogoutRequest,
48
+ O: LogoutResponse,
49
+ kind: MethodKind.Unary,
50
+ },
42
51
  }
43
52
  };
44
53
 
@@ -132,6 +132,30 @@ export declare type LoginTelegramResponse = Message<"identity.v1.LoginTelegramRe
132
132
  */
133
133
  export declare const LoginTelegramResponseSchema: GenMessage<LoginTelegramResponse>;
134
134
 
135
+ /**
136
+ * @generated from message identity.v1.LogoutRequest
137
+ */
138
+ export declare type LogoutRequest = Message<"identity.v1.LogoutRequest"> & {
139
+ };
140
+
141
+ /**
142
+ * Describes the message identity.v1.LogoutRequest.
143
+ * Use `create(LogoutRequestSchema)` to create a new message.
144
+ */
145
+ export declare const LogoutRequestSchema: GenMessage<LogoutRequest>;
146
+
147
+ /**
148
+ * @generated from message identity.v1.LogoutResponse
149
+ */
150
+ export declare type LogoutResponse = Message<"identity.v1.LogoutResponse"> & {
151
+ };
152
+
153
+ /**
154
+ * Describes the message identity.v1.LogoutResponse.
155
+ * Use `create(LogoutResponseSchema)` to create a new message.
156
+ */
157
+ export declare const LogoutResponseSchema: GenMessage<LogoutResponse>;
158
+
135
159
  /**
136
160
  * @generated from service identity.v1.AuthService
137
161
  */
@@ -160,5 +184,13 @@ export declare const AuthService: GenService<{
160
184
  input: typeof LoginTelegramRequestSchema;
161
185
  output: typeof LoginTelegramResponseSchema;
162
186
  },
187
+ /**
188
+ * @generated from rpc identity.v1.AuthService.Logout
189
+ */
190
+ logout: {
191
+ methodKind: "unary";
192
+ input: typeof LogoutRequestSchema;
193
+ output: typeof LogoutResponseSchema;
194
+ },
163
195
  }>;
164
196
 
@@ -9,7 +9,7 @@ import { file_google_api_annotations } from "../../google/api/annotations_pb";
9
9
  * Describes the file identity/v1/auth.proto.
10
10
  */
11
11
  export const file_identity_v1_auth = /*@__PURE__*/
12
- fileDesc("ChZpZGVudGl0eS92MS9hdXRoLnByb3RvEgtpZGVudGl0eS52MSI4CglUb2tlblBhaXISFAoMYWNjZXNzX3Rva2VuGAEgASgJEhUKDXJlZnJlc2hfdG9rZW4YAiABK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UmVxdWVzdBobLmlkZW50aXR5LnYxLkxvZ291dFJlc3BvbnNlIheC0+STAhE6ASoiDC9hdXRoL2xvZ291dEI5WjdnaXRodWIuY29tL0cyR3MvYXBpLWNvbnRyYWN0cy1nby9pZGVudGl0eS92MTtpZGVudGl0eXYxYgZwcm90bzM", [file_google_api_annotations]);
13
13
 
14
14
  /**
15
15
  * Describes the message identity.v1.TokenPair.
@@ -60,6 +60,20 @@ export const LoginTelegramRequestSchema = /*@__PURE__*/
60
60
  export const LoginTelegramResponseSchema = /*@__PURE__*/
61
61
  messageDesc(file_identity_v1_auth, 6);
62
62
 
63
+ /**
64
+ * Describes the message identity.v1.LogoutRequest.
65
+ * Use `create(LogoutRequestSchema)` to create a new message.
66
+ */
67
+ export const LogoutRequestSchema = /*@__PURE__*/
68
+ messageDesc(file_identity_v1_auth, 7);
69
+
70
+ /**
71
+ * Describes the message identity.v1.LogoutResponse.
72
+ * Use `create(LogoutResponseSchema)` to create a new message.
73
+ */
74
+ export const LogoutResponseSchema = /*@__PURE__*/
75
+ messageDesc(file_identity_v1_auth, 8);
76
+
63
77
  /**
64
78
  * @generated from service identity.v1.AuthService
65
79
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@g2gs/contracts",
3
- "version": "1.0.35",
3
+ "version": "1.0.36",
4
4
  "description": "Shared protobuf contracts",
5
5
  "type": "module",
6
6
  "publishConfig": {