@g2gs/contracts 1.0.74 → 1.0.75

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,222 @@
1
+ // @generated by protoc-gen-es v2.11.0
2
+ // @generated from file public/faq/v1/service.proto (package public.faq.v1, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import type { GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2";
6
+ import type { Message } from "@bufbuild/protobuf";
7
+
8
+ /**
9
+ * Describes the file public/faq/v1/service.proto.
10
+ */
11
+ export declare const file_public_faq_v1_service: GenFile;
12
+
13
+ /**
14
+ * @generated from message public.faq.v1.FAQGroup
15
+ */
16
+ export declare type FAQGroup = Message<"public.faq.v1.FAQGroup"> & {
17
+ /**
18
+ * @generated from field: uint64 id = 1;
19
+ */
20
+ id: bigint;
21
+
22
+ /**
23
+ * @generated from field: string title = 2;
24
+ */
25
+ title: string;
26
+ };
27
+
28
+ /**
29
+ * Describes the message public.faq.v1.FAQGroup.
30
+ * Use `create(FAQGroupSchema)` to create a new message.
31
+ */
32
+ export declare const FAQGroupSchema: GenMessage<FAQGroup>;
33
+
34
+ /**
35
+ * @generated from message public.faq.v1.FAQQuestion
36
+ */
37
+ export declare type FAQQuestion = Message<"public.faq.v1.FAQQuestion"> & {
38
+ /**
39
+ * @generated from field: uint64 id = 1;
40
+ */
41
+ id: bigint;
42
+
43
+ /**
44
+ * @generated from field: uint64 group_id = 2;
45
+ */
46
+ groupId: bigint;
47
+
48
+ /**
49
+ * @generated from field: string title = 3;
50
+ */
51
+ title: string;
52
+ };
53
+
54
+ /**
55
+ * Describes the message public.faq.v1.FAQQuestion.
56
+ * Use `create(FAQQuestionSchema)` to create a new message.
57
+ */
58
+ export declare const FAQQuestionSchema: GenMessage<FAQQuestion>;
59
+
60
+ /**
61
+ * @generated from message public.faq.v1.FAQSubQuestion
62
+ */
63
+ export declare type FAQSubQuestion = Message<"public.faq.v1.FAQSubQuestion"> & {
64
+ /**
65
+ * @generated from field: uint64 id = 1;
66
+ */
67
+ id: bigint;
68
+
69
+ /**
70
+ * @generated from field: uint64 question_id = 2;
71
+ */
72
+ questionId: bigint;
73
+
74
+ /**
75
+ * @generated from field: string title = 3;
76
+ */
77
+ title: string;
78
+
79
+ /**
80
+ * @generated from field: string body = 4;
81
+ */
82
+ body: string;
83
+
84
+ /**
85
+ * @generated from field: bool ai_enabled = 5;
86
+ */
87
+ aiEnabled: boolean;
88
+
89
+ /**
90
+ * @generated from field: bool need_manager = 6;
91
+ */
92
+ needManager: boolean;
93
+ };
94
+
95
+ /**
96
+ * Describes the message public.faq.v1.FAQSubQuestion.
97
+ * Use `create(FAQSubQuestionSchema)` to create a new message.
98
+ */
99
+ export declare const FAQSubQuestionSchema: GenMessage<FAQSubQuestion>;
100
+
101
+ /**
102
+ * @generated from message public.faq.v1.ListGroupsRequest
103
+ */
104
+ export declare type ListGroupsRequest = Message<"public.faq.v1.ListGroupsRequest"> & {
105
+ };
106
+
107
+ /**
108
+ * Describes the message public.faq.v1.ListGroupsRequest.
109
+ * Use `create(ListGroupsRequestSchema)` to create a new message.
110
+ */
111
+ export declare const ListGroupsRequestSchema: GenMessage<ListGroupsRequest>;
112
+
113
+ /**
114
+ * @generated from message public.faq.v1.ListGroupsResponse
115
+ */
116
+ export declare type ListGroupsResponse = Message<"public.faq.v1.ListGroupsResponse"> & {
117
+ /**
118
+ * @generated from field: repeated public.faq.v1.FAQGroup items = 1;
119
+ */
120
+ items: FAQGroup[];
121
+ };
122
+
123
+ /**
124
+ * Describes the message public.faq.v1.ListGroupsResponse.
125
+ * Use `create(ListGroupsResponseSchema)` to create a new message.
126
+ */
127
+ export declare const ListGroupsResponseSchema: GenMessage<ListGroupsResponse>;
128
+
129
+ /**
130
+ * @generated from message public.faq.v1.ListQuestionsRequest
131
+ */
132
+ export declare type ListQuestionsRequest = Message<"public.faq.v1.ListQuestionsRequest"> & {
133
+ /**
134
+ * @generated from field: uint64 group_id = 1;
135
+ */
136
+ groupId: bigint;
137
+ };
138
+
139
+ /**
140
+ * Describes the message public.faq.v1.ListQuestionsRequest.
141
+ * Use `create(ListQuestionsRequestSchema)` to create a new message.
142
+ */
143
+ export declare const ListQuestionsRequestSchema: GenMessage<ListQuestionsRequest>;
144
+
145
+ /**
146
+ * @generated from message public.faq.v1.ListQuestionsResponse
147
+ */
148
+ export declare type ListQuestionsResponse = Message<"public.faq.v1.ListQuestionsResponse"> & {
149
+ /**
150
+ * @generated from field: repeated public.faq.v1.FAQQuestion items = 1;
151
+ */
152
+ items: FAQQuestion[];
153
+ };
154
+
155
+ /**
156
+ * Describes the message public.faq.v1.ListQuestionsResponse.
157
+ * Use `create(ListQuestionsResponseSchema)` to create a new message.
158
+ */
159
+ export declare const ListQuestionsResponseSchema: GenMessage<ListQuestionsResponse>;
160
+
161
+ /**
162
+ * @generated from message public.faq.v1.ListSubQuestionsRequest
163
+ */
164
+ export declare type ListSubQuestionsRequest = Message<"public.faq.v1.ListSubQuestionsRequest"> & {
165
+ /**
166
+ * @generated from field: uint64 question_id = 1;
167
+ */
168
+ questionId: bigint;
169
+ };
170
+
171
+ /**
172
+ * Describes the message public.faq.v1.ListSubQuestionsRequest.
173
+ * Use `create(ListSubQuestionsRequestSchema)` to create a new message.
174
+ */
175
+ export declare const ListSubQuestionsRequestSchema: GenMessage<ListSubQuestionsRequest>;
176
+
177
+ /**
178
+ * @generated from message public.faq.v1.ListSubQuestionsResponse
179
+ */
180
+ export declare type ListSubQuestionsResponse = Message<"public.faq.v1.ListSubQuestionsResponse"> & {
181
+ /**
182
+ * @generated from field: repeated public.faq.v1.FAQSubQuestion items = 1;
183
+ */
184
+ items: FAQSubQuestion[];
185
+ };
186
+
187
+ /**
188
+ * Describes the message public.faq.v1.ListSubQuestionsResponse.
189
+ * Use `create(ListSubQuestionsResponseSchema)` to create a new message.
190
+ */
191
+ export declare const ListSubQuestionsResponseSchema: GenMessage<ListSubQuestionsResponse>;
192
+
193
+ /**
194
+ * @generated from service public.faq.v1.PublicFAQService
195
+ */
196
+ export declare const PublicFAQService: GenService<{
197
+ /**
198
+ * @generated from rpc public.faq.v1.PublicFAQService.ListGroups
199
+ */
200
+ listGroups: {
201
+ methodKind: "unary";
202
+ input: typeof ListGroupsRequestSchema;
203
+ output: typeof ListGroupsResponseSchema;
204
+ },
205
+ /**
206
+ * @generated from rpc public.faq.v1.PublicFAQService.ListQuestions
207
+ */
208
+ listQuestions: {
209
+ methodKind: "unary";
210
+ input: typeof ListQuestionsRequestSchema;
211
+ output: typeof ListQuestionsResponseSchema;
212
+ },
213
+ /**
214
+ * @generated from rpc public.faq.v1.PublicFAQService.ListSubQuestions
215
+ */
216
+ listSubQuestions: {
217
+ methodKind: "unary";
218
+ input: typeof ListSubQuestionsRequestSchema;
219
+ output: typeof ListSubQuestionsResponseSchema;
220
+ },
221
+ }>;
222
+
@@ -0,0 +1,82 @@
1
+ // @generated by protoc-gen-es v2.11.0
2
+ // @generated from file public/faq/v1/service.proto (package public.faq.v1, syntax proto3)
3
+ /* eslint-disable */
4
+
5
+ import { fileDesc, messageDesc, serviceDesc } from "@bufbuild/protobuf/codegenv2";
6
+ import { file_google_api_annotations } from "../../../google/api/annotations_pb";
7
+
8
+ /**
9
+ * Describes the file public/faq/v1/service.proto.
10
+ */
11
+ export const file_public_faq_v1_service = /*@__PURE__*/
12
+ fileDesc("ChtwdWJsaWMvZmFxL3YxL3NlcnZpY2UucHJvdG8SDXB1YmxpYy5mYXEudjEiJQoIRkFRR3JvdXASCgoCaWQYASABKAQSDQoFdGl0bGUYAiABKAkiOgoLRkFRUXVlc3Rpb24SCgoCaWQYASABKAQSEAoIZ3JvdXBfaWQYAiABKAQSDQoFdGl0bGUYAyABKAkieAoORkFRU3ViUXVlc3Rpb24SCgoCaWQYASABKAQSEwoLcXVlc3Rpb25faWQYAiABKAQSDQoFdGl0bGUYAyABKAkSDAoEYm9keRgEIAEoCRISCgphaV9lbmFibGVkGAUgASgIEhQKDG5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vYXBpLWNvbnRyYWN0cy1nby9wdWJsaWMvZmFxL3YxO3B1YmxpY2ZhcXYxYgZwcm90bzM", [file_google_api_annotations]);
13
+
14
+ /**
15
+ * Describes the message public.faq.v1.FAQGroup.
16
+ * Use `create(FAQGroupSchema)` to create a new message.
17
+ */
18
+ export const FAQGroupSchema = /*@__PURE__*/
19
+ messageDesc(file_public_faq_v1_service, 0);
20
+
21
+ /**
22
+ * Describes the message public.faq.v1.FAQQuestion.
23
+ * Use `create(FAQQuestionSchema)` to create a new message.
24
+ */
25
+ export const FAQQuestionSchema = /*@__PURE__*/
26
+ messageDesc(file_public_faq_v1_service, 1);
27
+
28
+ /**
29
+ * Describes the message public.faq.v1.FAQSubQuestion.
30
+ * Use `create(FAQSubQuestionSchema)` to create a new message.
31
+ */
32
+ export const FAQSubQuestionSchema = /*@__PURE__*/
33
+ messageDesc(file_public_faq_v1_service, 2);
34
+
35
+ /**
36
+ * Describes the message public.faq.v1.ListGroupsRequest.
37
+ * Use `create(ListGroupsRequestSchema)` to create a new message.
38
+ */
39
+ export const ListGroupsRequestSchema = /*@__PURE__*/
40
+ messageDesc(file_public_faq_v1_service, 3);
41
+
42
+ /**
43
+ * Describes the message public.faq.v1.ListGroupsResponse.
44
+ * Use `create(ListGroupsResponseSchema)` to create a new message.
45
+ */
46
+ export const ListGroupsResponseSchema = /*@__PURE__*/
47
+ messageDesc(file_public_faq_v1_service, 4);
48
+
49
+ /**
50
+ * Describes the message public.faq.v1.ListQuestionsRequest.
51
+ * Use `create(ListQuestionsRequestSchema)` to create a new message.
52
+ */
53
+ export const ListQuestionsRequestSchema = /*@__PURE__*/
54
+ messageDesc(file_public_faq_v1_service, 5);
55
+
56
+ /**
57
+ * Describes the message public.faq.v1.ListQuestionsResponse.
58
+ * Use `create(ListQuestionsResponseSchema)` to create a new message.
59
+ */
60
+ export const ListQuestionsResponseSchema = /*@__PURE__*/
61
+ messageDesc(file_public_faq_v1_service, 6);
62
+
63
+ /**
64
+ * Describes the message public.faq.v1.ListSubQuestionsRequest.
65
+ * Use `create(ListSubQuestionsRequestSchema)` to create a new message.
66
+ */
67
+ export const ListSubQuestionsRequestSchema = /*@__PURE__*/
68
+ messageDesc(file_public_faq_v1_service, 7);
69
+
70
+ /**
71
+ * Describes the message public.faq.v1.ListSubQuestionsResponse.
72
+ * Use `create(ListSubQuestionsResponseSchema)` to create a new message.
73
+ */
74
+ export const ListSubQuestionsResponseSchema = /*@__PURE__*/
75
+ messageDesc(file_public_faq_v1_service, 8);
76
+
77
+ /**
78
+ * @generated from service public.faq.v1.PublicFAQService
79
+ */
80
+ export const PublicFAQService = /*@__PURE__*/
81
+ serviceDesc(file_public_faq_v1_service, 0);
82
+
@@ -0,0 +1,62 @@
1
+ // @generated by protoc-gen-connect-es v1.6.1
2
+ // @generated from file public/ticket/v1/service.proto (package public.ticket.v1, syntax proto3)
3
+ /* eslint-disable */
4
+ // @ts-nocheck
5
+
6
+ import { CloseTicketRequest, CloseTicketResponse, CreateTicketRequest, CreateTicketResponse, GetTicketRequest, GetTicketResponse, ListTicketsRequest, ListTicketsResponse, SendMessageRequest, SendMessageResponse } from "./service_pb.js";
7
+ import { MethodKind } from "@bufbuild/protobuf";
8
+
9
+ /**
10
+ * @generated from service public.ticket.v1.PublicTicketService
11
+ */
12
+ export declare const PublicTicketService: {
13
+ readonly typeName: "public.ticket.v1.PublicTicketService",
14
+ readonly methods: {
15
+ /**
16
+ * @generated from rpc public.ticket.v1.PublicTicketService.ListTickets
17
+ */
18
+ readonly listTickets: {
19
+ readonly name: "ListTickets",
20
+ readonly I: typeof ListTicketsRequest,
21
+ readonly O: typeof ListTicketsResponse,
22
+ readonly kind: MethodKind.Unary,
23
+ },
24
+ /**
25
+ * @generated from rpc public.ticket.v1.PublicTicketService.GetTicket
26
+ */
27
+ readonly getTicket: {
28
+ readonly name: "GetTicket",
29
+ readonly I: typeof GetTicketRequest,
30
+ readonly O: typeof GetTicketResponse,
31
+ readonly kind: MethodKind.Unary,
32
+ },
33
+ /**
34
+ * @generated from rpc public.ticket.v1.PublicTicketService.SendMessage
35
+ */
36
+ readonly sendMessage: {
37
+ readonly name: "SendMessage",
38
+ readonly I: typeof SendMessageRequest,
39
+ readonly O: typeof SendMessageResponse,
40
+ readonly kind: MethodKind.Unary,
41
+ },
42
+ /**
43
+ * @generated from rpc public.ticket.v1.PublicTicketService.CreateTicket
44
+ */
45
+ readonly createTicket: {
46
+ readonly name: "CreateTicket",
47
+ readonly I: typeof CreateTicketRequest,
48
+ readonly O: typeof CreateTicketResponse,
49
+ readonly kind: MethodKind.Unary,
50
+ },
51
+ /**
52
+ * @generated from rpc public.ticket.v1.PublicTicketService.CloseTicket
53
+ */
54
+ readonly closeTicket: {
55
+ readonly name: "CloseTicket",
56
+ readonly I: typeof CloseTicketRequest,
57
+ readonly O: typeof CloseTicketResponse,
58
+ readonly kind: MethodKind.Unary,
59
+ },
60
+ }
61
+ };
62
+
@@ -0,0 +1,62 @@
1
+ // @generated by protoc-gen-connect-es v1.6.1
2
+ // @generated from file public/ticket/v1/service.proto (package public.ticket.v1, syntax proto3)
3
+ /* eslint-disable */
4
+ // @ts-nocheck
5
+
6
+ import { CloseTicketRequest, CloseTicketResponse, CreateTicketRequest, CreateTicketResponse, GetTicketRequest, GetTicketResponse, ListTicketsRequest, ListTicketsResponse, SendMessageRequest, SendMessageResponse } from "./service_pb.js";
7
+ import { MethodKind } from "@bufbuild/protobuf";
8
+
9
+ /**
10
+ * @generated from service public.ticket.v1.PublicTicketService
11
+ */
12
+ export const PublicTicketService = {
13
+ typeName: "public.ticket.v1.PublicTicketService",
14
+ methods: {
15
+ /**
16
+ * @generated from rpc public.ticket.v1.PublicTicketService.ListTickets
17
+ */
18
+ listTickets: {
19
+ name: "ListTickets",
20
+ I: ListTicketsRequest,
21
+ O: ListTicketsResponse,
22
+ kind: MethodKind.Unary,
23
+ },
24
+ /**
25
+ * @generated from rpc public.ticket.v1.PublicTicketService.GetTicket
26
+ */
27
+ getTicket: {
28
+ name: "GetTicket",
29
+ I: GetTicketRequest,
30
+ O: GetTicketResponse,
31
+ kind: MethodKind.Unary,
32
+ },
33
+ /**
34
+ * @generated from rpc public.ticket.v1.PublicTicketService.SendMessage
35
+ */
36
+ sendMessage: {
37
+ name: "SendMessage",
38
+ I: SendMessageRequest,
39
+ O: SendMessageResponse,
40
+ kind: MethodKind.Unary,
41
+ },
42
+ /**
43
+ * @generated from rpc public.ticket.v1.PublicTicketService.CreateTicket
44
+ */
45
+ createTicket: {
46
+ name: "CreateTicket",
47
+ I: CreateTicketRequest,
48
+ O: CreateTicketResponse,
49
+ kind: MethodKind.Unary,
50
+ },
51
+ /**
52
+ * @generated from rpc public.ticket.v1.PublicTicketService.CloseTicket
53
+ */
54
+ closeTicket: {
55
+ name: "CloseTicket",
56
+ I: CloseTicketRequest,
57
+ O: CloseTicketResponse,
58
+ kind: MethodKind.Unary,
59
+ },
60
+ }
61
+ };
62
+