@g2gs/contracts 1.0.74 → 1.0.76
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/admin/faq/v1/service_connect.d.ts +116 -0
- package/admin/faq/v1/service_connect.js +116 -0
- package/admin/faq/v1/service_pb.d.ts +838 -0
- package/admin/faq/v1/service_pb.js +216 -0
- package/admin/ticket/v1/service_connect.d.ts +62 -0
- package/admin/ticket/v1/service_connect.js +62 -0
- package/admin/ticket/v1/service_pb.d.ts +357 -0
- package/admin/ticket/v1/service_pb.js +111 -0
- package/package.json +1 -1
- package/public/faq/v1/service_connect.d.ts +44 -0
- package/public/faq/v1/service_connect.js +44 -0
- package/public/faq/v1/service_pb.d.ts +222 -0
- package/public/faq/v1/service_pb.js +82 -0
- package/public/ticket/v1/service_connect.d.ts +62 -0
- package/public/ticket/v1/service_connect.js +62 -0
- package/public/ticket/v1/service_pb.d.ts +326 -0
- package/public/ticket/v1/service_pb.js +104 -0
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.11.0
|
|
2
|
+
// @generated from file admin/ticket/v1/service.proto (package admin.ticket.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
|
+
import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Describes the file admin/ticket/v1/service.proto.
|
|
11
|
+
*/
|
|
12
|
+
export const file_admin_ticket_v1_service = /*@__PURE__*/
|
|
13
|
+
fileDesc("Ch1hZG1pbi90aWNrZXQvdjEvc2VydmljZS5wcm90bxIPYWRtaW4udGlja2V0LnYxIuMBCgZUaWNrZXQSCgoCaWQYASABKAQSEwoLY3VzdG9tZXJfaWQYAiABKAQSGQoRYXNz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CgtTZW5kTWVzc2FnZRIjLmFkbWluLnRpY2tldC52MS5TZW5kTWVzc2FnZVJlcXVlc3QaJC5hZG1pbi50aWNrZXQudjEuU2VuZE1lc3NhZ2VSZXNwb25zZSIxgtPkkwIrOgEqIiYvYWRtaW4vdjEvdGlja2V0cy97dGlja2V0X2lkfS9tZXNzYWdlc0JAWj5naXRodWIuY29tL0cyR3MvYXBpLWNvbnRyYWN0cy1nby9hZG1pbi90aWNrZXQvdjE7YWRtaW50aWNrZXR2MWIGcHJvdG8z", [file_google_api_annotations, file_google_protobuf_timestamp]);
|
|
14
|
+
|
|
15
|
+
/**
|
|
16
|
+
* Describes the message admin.ticket.v1.Ticket.
|
|
17
|
+
* Use `create(TicketSchema)` to create a new message.
|
|
18
|
+
*/
|
|
19
|
+
export const TicketSchema = /*@__PURE__*/
|
|
20
|
+
messageDesc(file_admin_ticket_v1_service, 0);
|
|
21
|
+
|
|
22
|
+
/**
|
|
23
|
+
* Describes the message admin.ticket.v1.Message.
|
|
24
|
+
* Use `create(MessageSchema)` to create a new message.
|
|
25
|
+
*/
|
|
26
|
+
export const MessageSchema = /*@__PURE__*/
|
|
27
|
+
messageDesc(file_admin_ticket_v1_service, 1);
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Describes the message admin.ticket.v1.ListTicketsRequest.
|
|
31
|
+
* Use `create(ListTicketsRequestSchema)` to create a new message.
|
|
32
|
+
*/
|
|
33
|
+
export const ListTicketsRequestSchema = /*@__PURE__*/
|
|
34
|
+
messageDesc(file_admin_ticket_v1_service, 2);
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Describes the message admin.ticket.v1.ListTicketsResponse.
|
|
38
|
+
* Use `create(ListTicketsResponseSchema)` to create a new message.
|
|
39
|
+
*/
|
|
40
|
+
export const ListTicketsResponseSchema = /*@__PURE__*/
|
|
41
|
+
messageDesc(file_admin_ticket_v1_service, 3);
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Describes the message admin.ticket.v1.GetTicketRequest.
|
|
45
|
+
* Use `create(GetTicketRequestSchema)` to create a new message.
|
|
46
|
+
*/
|
|
47
|
+
export const GetTicketRequestSchema = /*@__PURE__*/
|
|
48
|
+
messageDesc(file_admin_ticket_v1_service, 4);
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* Describes the message admin.ticket.v1.GetTicketResponse.
|
|
52
|
+
* Use `create(GetTicketResponseSchema)` to create a new message.
|
|
53
|
+
*/
|
|
54
|
+
export const GetTicketResponseSchema = /*@__PURE__*/
|
|
55
|
+
messageDesc(file_admin_ticket_v1_service, 5);
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* Describes the message admin.ticket.v1.AssignTicketRequest.
|
|
59
|
+
* Use `create(AssignTicketRequestSchema)` to create a new message.
|
|
60
|
+
*/
|
|
61
|
+
export const AssignTicketRequestSchema = /*@__PURE__*/
|
|
62
|
+
messageDesc(file_admin_ticket_v1_service, 6);
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Describes the message admin.ticket.v1.AssignTicketResponse.
|
|
66
|
+
* Use `create(AssignTicketResponseSchema)` to create a new message.
|
|
67
|
+
*/
|
|
68
|
+
export const AssignTicketResponseSchema = /*@__PURE__*/
|
|
69
|
+
messageDesc(file_admin_ticket_v1_service, 7);
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* Describes the message admin.ticket.v1.ResolveTicketRequest.
|
|
73
|
+
* Use `create(ResolveTicketRequestSchema)` to create a new message.
|
|
74
|
+
*/
|
|
75
|
+
export const ResolveTicketRequestSchema = /*@__PURE__*/
|
|
76
|
+
messageDesc(file_admin_ticket_v1_service, 8);
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* Describes the message admin.ticket.v1.ResolveTicketResponse.
|
|
80
|
+
* Use `create(ResolveTicketResponseSchema)` to create a new message.
|
|
81
|
+
*/
|
|
82
|
+
export const ResolveTicketResponseSchema = /*@__PURE__*/
|
|
83
|
+
messageDesc(file_admin_ticket_v1_service, 9);
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* Describes the message admin.ticket.v1.SendMessageRequest.
|
|
87
|
+
* Use `create(SendMessageRequestSchema)` to create a new message.
|
|
88
|
+
*/
|
|
89
|
+
export const SendMessageRequestSchema = /*@__PURE__*/
|
|
90
|
+
messageDesc(file_admin_ticket_v1_service, 10);
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* Describes the message admin.ticket.v1.Attachment.
|
|
94
|
+
* Use `create(AttachmentSchema)` to create a new message.
|
|
95
|
+
*/
|
|
96
|
+
export const AttachmentSchema = /*@__PURE__*/
|
|
97
|
+
messageDesc(file_admin_ticket_v1_service, 11);
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* Describes the message admin.ticket.v1.SendMessageResponse.
|
|
101
|
+
* Use `create(SendMessageResponseSchema)` to create a new message.
|
|
102
|
+
*/
|
|
103
|
+
export const SendMessageResponseSchema = /*@__PURE__*/
|
|
104
|
+
messageDesc(file_admin_ticket_v1_service, 12);
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* @generated from service admin.ticket.v1.TicketAdminService
|
|
108
|
+
*/
|
|
109
|
+
export const TicketAdminService = /*@__PURE__*/
|
|
110
|
+
serviceDesc(file_admin_ticket_v1_service, 0);
|
|
111
|
+
|
package/package.json
CHANGED
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
// @generated by protoc-gen-connect-es v1.6.1
|
|
2
|
+
// @generated from file public/faq/v1/service.proto (package public.faq.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
|
|
6
|
+
import { ListGroupsRequest, ListGroupsResponse, ListQuestionsRequest, ListQuestionsResponse, ListSubQuestionsRequest, ListSubQuestionsResponse } from "./service_pb.js";
|
|
7
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* @generated from service public.faq.v1.PublicFAQService
|
|
11
|
+
*/
|
|
12
|
+
export declare const PublicFAQService: {
|
|
13
|
+
readonly typeName: "public.faq.v1.PublicFAQService",
|
|
14
|
+
readonly methods: {
|
|
15
|
+
/**
|
|
16
|
+
* @generated from rpc public.faq.v1.PublicFAQService.ListGroups
|
|
17
|
+
*/
|
|
18
|
+
readonly listGroups: {
|
|
19
|
+
readonly name: "ListGroups",
|
|
20
|
+
readonly I: typeof ListGroupsRequest,
|
|
21
|
+
readonly O: typeof ListGroupsResponse,
|
|
22
|
+
readonly kind: MethodKind.Unary,
|
|
23
|
+
},
|
|
24
|
+
/**
|
|
25
|
+
* @generated from rpc public.faq.v1.PublicFAQService.ListQuestions
|
|
26
|
+
*/
|
|
27
|
+
readonly listQuestions: {
|
|
28
|
+
readonly name: "ListQuestions",
|
|
29
|
+
readonly I: typeof ListQuestionsRequest,
|
|
30
|
+
readonly O: typeof ListQuestionsResponse,
|
|
31
|
+
readonly kind: MethodKind.Unary,
|
|
32
|
+
},
|
|
33
|
+
/**
|
|
34
|
+
* @generated from rpc public.faq.v1.PublicFAQService.ListSubQuestions
|
|
35
|
+
*/
|
|
36
|
+
readonly listSubQuestions: {
|
|
37
|
+
readonly name: "ListSubQuestions",
|
|
38
|
+
readonly I: typeof ListSubQuestionsRequest,
|
|
39
|
+
readonly O: typeof ListSubQuestionsResponse,
|
|
40
|
+
readonly kind: MethodKind.Unary,
|
|
41
|
+
},
|
|
42
|
+
}
|
|
43
|
+
};
|
|
44
|
+
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
// @generated by protoc-gen-connect-es v1.6.1
|
|
2
|
+
// @generated from file public/faq/v1/service.proto (package public.faq.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
|
|
6
|
+
import { ListGroupsRequest, ListGroupsResponse, ListQuestionsRequest, ListQuestionsResponse, ListSubQuestionsRequest, ListSubQuestionsResponse } from "./service_pb.js";
|
|
7
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* @generated from service public.faq.v1.PublicFAQService
|
|
11
|
+
*/
|
|
12
|
+
export const PublicFAQService = {
|
|
13
|
+
typeName: "public.faq.v1.PublicFAQService",
|
|
14
|
+
methods: {
|
|
15
|
+
/**
|
|
16
|
+
* @generated from rpc public.faq.v1.PublicFAQService.ListGroups
|
|
17
|
+
*/
|
|
18
|
+
listGroups: {
|
|
19
|
+
name: "ListGroups",
|
|
20
|
+
I: ListGroupsRequest,
|
|
21
|
+
O: ListGroupsResponse,
|
|
22
|
+
kind: MethodKind.Unary,
|
|
23
|
+
},
|
|
24
|
+
/**
|
|
25
|
+
* @generated from rpc public.faq.v1.PublicFAQService.ListQuestions
|
|
26
|
+
*/
|
|
27
|
+
listQuestions: {
|
|
28
|
+
name: "ListQuestions",
|
|
29
|
+
I: ListQuestionsRequest,
|
|
30
|
+
O: ListQuestionsResponse,
|
|
31
|
+
kind: MethodKind.Unary,
|
|
32
|
+
},
|
|
33
|
+
/**
|
|
34
|
+
* @generated from rpc public.faq.v1.PublicFAQService.ListSubQuestions
|
|
35
|
+
*/
|
|
36
|
+
listSubQuestions: {
|
|
37
|
+
name: "ListSubQuestions",
|
|
38
|
+
I: ListSubQuestionsRequest,
|
|
39
|
+
O: ListSubQuestionsResponse,
|
|
40
|
+
kind: MethodKind.Unary,
|
|
41
|
+
},
|
|
42
|
+
}
|
|
43
|
+
};
|
|
44
|
+
|
|
@@ -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("ChtwdWJsaWMvZmFxL3YxL3NlcnZpY2UucHJvdG8SDXB1YmxpYy5mYXEudjEiJQoIRkFRR3JvdXASCgoCaWQYASABKAQSDQoFdGl0bGUYAiABKAkiOgoLRkFRUXVlc3Rpb24SCgoCaWQYASABKAQSEAoIZ3JvdXBfaWQYAiABKAQSDQoFdGl0bGUYAyABKAkieAoORkFRU3ViUXVlc3Rpb24SCgoCaWQYASABKAQSEwoLcXVlc3Rpb25faWQ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cXVlc3Rpb25zL3txdWVzdGlvbl9pZH0vc3ViLXF1ZXN0aW9uc0I8WjpnaXRodWIuY29tL0cyR3MvYXBpLWNvbnRyYWN0cy1nby9wdWJsaWMvZmFxL3YxO3B1YmxpY2ZhcXYxYgZwcm90bzM", [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
|
+
|