@echovisionlab/geul-proto 0.1.0
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/LICENSE.md +6 -0
- package/README.md +6 -0
- package/eslint.config.mjs +15 -0
- package/gen/api/common/v1/common_pb.ts +391 -0
- package/gen/api/common/v1/media_pb.ts +578 -0
- package/gen/api/content/v1/block_catalog.ts +5978 -0
- package/gen/api/content/v1/block_content_pb.ts +11420 -0
- package/gen/api/intra/v1/artist_pb.ts +597 -0
- package/gen/api/intra/v1/campaign_pb.ts +383 -0
- package/gen/api/intra/v1/collaboration_pb.ts +661 -0
- package/gen/api/intra/v1/email_courier_pb.ts +98 -0
- package/gen/api/intra/v1/email_layout_pb.ts +295 -0
- package/gen/api/intra/v1/email_template_pb.ts +384 -0
- package/gen/api/intra/v1/file_ingest_pb.ts +144 -0
- package/gen/api/intra/v1/form_locale_catalog.ts +128 -0
- package/gen/api/intra/v1/form_locale_catalog_parity.json +24 -0
- package/gen/api/intra/v1/form_pb.ts +276 -0
- package/gen/api/intra/v1/gateway_authorization_pb.ts +96 -0
- package/gen/api/intra/v1/label_pb.ts +558 -0
- package/gen/api/intra/v1/map_pb.ts +382 -0
- package/gen/api/intra/v1/menu_pb.ts +282 -0
- package/gen/api/intra/v1/og_pb.ts +335 -0
- package/gen/api/intra/v1/page_pb.ts +572 -0
- package/gen/api/intra/v1/post_pb.ts +657 -0
- package/gen/api/intra/v1/post_series_pb.ts +217 -0
- package/gen/api/intra/v1/privacy_pb.ts +384 -0
- package/gen/api/intra/v1/program_event_pb.ts +390 -0
- package/gen/api/intra/v1/release_pb.ts +462 -0
- package/gen/api/intra/v1/terms_pb.ts +384 -0
- package/gen/api/intra/v1/work_pb.ts +477 -0
- package/gen/api/manage/v1/account_pb.ts +1311 -0
- package/gen/api/manage/v1/admin_pb.ts +681 -0
- package/gen/api/manage/v1/ai_pb.ts +2621 -0
- package/gen/api/manage/v1/artist_pb.ts +1271 -0
- package/gen/api/manage/v1/audience_pb.ts +597 -0
- package/gen/api/manage/v1/campaign_pb.ts +1289 -0
- package/gen/api/manage/v1/category_pb.ts +351 -0
- package/gen/api/manage/v1/client_pb.ts +512 -0
- package/gen/api/manage/v1/collaboration_pb.ts +112 -0
- package/gen/api/manage/v1/comment_pb.ts +530 -0
- package/gen/api/manage/v1/common_pb.ts +192 -0
- package/gen/api/manage/v1/email_layout_pb.ts +487 -0
- package/gen/api/manage/v1/email_suppression_pb.ts +192 -0
- package/gen/api/manage/v1/email_template_pb.ts +683 -0
- package/gen/api/manage/v1/events_pb.ts +3251 -0
- package/gen/api/manage/v1/file_pb.ts +2810 -0
- package/gen/api/manage/v1/form_pb.ts +1046 -0
- package/gen/api/manage/v1/format_pb.ts +321 -0
- package/gen/api/manage/v1/genre_pb.ts +340 -0
- package/gen/api/manage/v1/label_pb.ts +1105 -0
- package/gen/api/manage/v1/mail_adapter_pb.ts +656 -0
- package/gen/api/manage/v1/map_place_pb.ts +572 -0
- package/gen/api/manage/v1/map_theme_pb.ts +691 -0
- package/gen/api/manage/v1/member_pb.ts +1281 -0
- package/gen/api/manage/v1/menu_pb.ts +535 -0
- package/gen/api/manage/v1/page_pb.ts +894 -0
- package/gen/api/manage/v1/post_pb.ts +1475 -0
- package/gen/api/manage/v1/privacy_pb.ts +518 -0
- package/gen/api/manage/v1/program_event_pb.ts +2234 -0
- package/gen/api/manage/v1/release_pb.ts +1168 -0
- package/gen/api/manage/v1/series_pb.ts +1033 -0
- package/gen/api/manage/v1/share_link_pb.ts +351 -0
- package/gen/api/manage/v1/site_setting_pb.ts +623 -0
- package/gen/api/manage/v1/style_pb.ts +340 -0
- package/gen/api/manage/v1/tag_pb.ts +323 -0
- package/gen/api/manage/v1/terms_pb.ts +517 -0
- package/gen/api/manage/v1/track_pb.ts +543 -0
- package/gen/api/manage/v1/translation_pb.ts +1838 -0
- package/gen/api/manage/v1/work_pb.ts +1662 -0
- package/gen/api/open/v1/account_pb.ts +243 -0
- package/gen/api/open/v1/artist_pb.ts +732 -0
- package/gen/api/open/v1/category_pb.ts +143 -0
- package/gen/api/open/v1/client_pb.ts +190 -0
- package/gen/api/open/v1/file_pb.ts +244 -0
- package/gen/api/open/v1/form_pb.ts +698 -0
- package/gen/api/open/v1/label_pb.ts +512 -0
- package/gen/api/open/v1/manifest_pb.ts +326 -0
- package/gen/api/open/v1/map_place_pb.ts +228 -0
- package/gen/api/open/v1/map_theme_pb.ts +400 -0
- package/gen/api/open/v1/member_pb.ts +200 -0
- package/gen/api/open/v1/newsletter_pb.ts +77 -0
- package/gen/api/open/v1/page_pb.ts +236 -0
- package/gen/api/open/v1/post_pb.ts +834 -0
- package/gen/api/open/v1/privacy_pb.ts +257 -0
- package/gen/api/open/v1/program_event_pb.ts +1024 -0
- package/gen/api/open/v1/release_pb.ts +758 -0
- package/gen/api/open/v1/series_pb.ts +210 -0
- package/gen/api/open/v1/share_link_pb.ts +106 -0
- package/gen/api/open/v1/sitemap_pb.ts +188 -0
- package/gen/api/open/v1/tag_pb.ts +136 -0
- package/gen/api/open/v1/terms_pb.ts +257 -0
- package/gen/api/open/v1/translation_pb.ts +103 -0
- package/gen/api/open/v1/work_pb.ts +904 -0
- package/gen/api/policy/v1/access_pb.ts +105 -0
- package/gen/api/policy/v1/spicedb/artist.ts +101 -0
- package/gen/api/policy/v1/spicedb/audience.ts +64 -0
- package/gen/api/policy/v1/spicedb/campaign.ts +49 -0
- package/gen/api/policy/v1/spicedb/core.ts +196 -0
- package/gen/api/policy/v1/spicedb/email_authoring.ts +91 -0
- package/gen/api/policy/v1/spicedb/email_delivery.ts +44 -0
- package/gen/api/policy/v1/spicedb/file.ts +49 -0
- package/gen/api/policy/v1/spicedb/form.ts +54 -0
- package/gen/api/policy/v1/spicedb/internal.ts +350 -0
- package/gen/api/policy/v1/spicedb/label.ts +98 -0
- package/gen/api/policy/v1/spicedb/legal_policy.ts +103 -0
- package/gen/api/policy/v1/spicedb/map_theme.ts +48 -0
- package/gen/api/policy/v1/spicedb/member.ts +47 -0
- package/gen/api/policy/v1/spicedb/menu.ts +48 -0
- package/gen/api/policy/v1/spicedb/page.ts +54 -0
- package/gen/api/policy/v1/spicedb/post.ts +105 -0
- package/gen/api/policy/v1/spicedb/post_series.ts +70 -0
- package/gen/api/policy/v1/spicedb/program_event.ts +66 -0
- package/gen/api/policy/v1/spicedb/program_event_series.ts +62 -0
- package/gen/api/policy/v1/spicedb/reference_data.ts +209 -0
- package/gen/api/policy/v1/spicedb/release.ts +81 -0
- package/gen/api/policy/v1/spicedb/site_settings.ts +49 -0
- package/gen/api/policy/v1/spicedb/translation.ts +46 -0
- package/gen/api/policy/v1/spicedb/work.ts +58 -0
- package/package.json +66 -0
- package/tsconfig.json +15 -0
|
@@ -0,0 +1,257 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.14.0 with parameter "target=ts,import_extension=ts"
|
|
2
|
+
// @generated from file api/open/v1/terms.proto (package api.open.v1, syntax proto3)
|
|
3
|
+
import type {
|
|
4
|
+
GenFile,
|
|
5
|
+
GenMessage,
|
|
6
|
+
GenService,
|
|
7
|
+
} from "@bufbuild/protobuf/codegenv2";
|
|
8
|
+
import {
|
|
9
|
+
fileDesc,
|
|
10
|
+
messageDesc,
|
|
11
|
+
serviceDesc,
|
|
12
|
+
} from "@bufbuild/protobuf/codegenv2";
|
|
13
|
+
import type { AssetRef } from "../../common/v1/media_pb.ts";
|
|
14
|
+
import { file_api_common_v1_media } from "../../common/v1/media_pb.ts";
|
|
15
|
+
import type { LocalizedRichTextDocument } from "../../content/v1/block_content_pb.ts";
|
|
16
|
+
import { file_api_content_v1_block_content } from "../../content/v1/block_content_pb.ts";
|
|
17
|
+
import type { LocalizationInfo } from "./translation_pb.ts";
|
|
18
|
+
import { file_api_open_v1_translation } from "./translation_pb.ts";
|
|
19
|
+
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
20
|
+
import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
21
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Describes the file api/open/v1/terms.proto.
|
|
25
|
+
*/
|
|
26
|
+
export const file_api_open_v1_terms: GenFile =
|
|
27
|
+
/*@__PURE__*/
|
|
28
|
+
fileDesc(
|
|
29
|
+
"ChdhcGkvb3Blbi92MS90ZXJtcy5wcm90bxILYXBpLm9wZW4udjEigwEKD0dldFRlcm1zUmVxdWVzdBIPCgJpZBgBIAEoCUgAiAEBEhgKC3NoYXJlX3Rva2VuGAIgASgJSAGIAQESGwoOc2hhcmVfcGFzc3dvcmQYAyABKAlIAogBAUIFCgNfaWRCDgoMX3NoYXJlX3Rva2VuQhEKD19zaGFyZV9wYXNzd29yZCJ+ChBHZXRUZXJtc1Jlc3BvbnNlEiYKBXRlcm1zGAEgASgLMhIuYXBpLm9wZW4udjEuVGVybXNIAIgBARIqCglzY2hlZHVsZWQYAiABKAsyEi5hcGkub3Blbi52MS5UZXJtc0gBiAEBQggKBl90ZXJtc0IMCgpfc2NoZWR1bGVkIpYDCgVUZXJtcxIKCgJpZBgBIAEoCRIPCgd2ZXJzaW9uGAIgASgFEg0KBXRpdGxlGAMgASgJEjsKCGRvY3VtZW50GAQgASgLMikuYXBpLmNvbnRlbnQudjEuTG9jYWxpemVkUmljaFRleHREb2N1bWVudBIQCghyZXZpc2lvbhgFIAEoCRIyCg5lZmZlY3RpdmVfZnJvbRgGIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXASOAoPZWZmZWN0aXZlX3VudGlsGAcgASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcEgAiAEBEj0KEWxvY2FsaXphdGlvbl9pbmZvGAggASgLMh0uYXBpLm9wZW4udjEuTG9jYWxpemF0aW9uSW5mb0gBiAEBEi4KCG9nX2Fzc2V0GAkgASgLMhcuYXBpLmNvbW1vbi52MS5Bc3NldFJlZkgCiAEBQhIKEF9lZmZlY3RpdmVfdW50aWxCFAoSX2xvY2FsaXphdGlvbl9pbmZvQgsKCV9vZ19hc3NldCIxChBMaXN0VGVybXNSZXF1ZXN0Eg0KBWxpbWl0GAEgASgFEg4KBm9mZnNldBgCIAEoBSJMChFMaXN0VGVybXNSZXNwb25zZRIoCgVpdGVtcxgBIAMoCzIZLmFwaS5vcGVuLnYxLlRlcm1zU3VtbWFyeRINCgV0b3RhbBgCIAEoBSKjAQoMVGVybXNTdW1tYXJ5EgoKAmlkGAEgASgJEg8KB3ZlcnNpb24YAiABKAUSDQoFdGl0bGUYAyABKAkSMgoOZWZmZWN0aXZlX2Zyb20YBCABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEjMKD2VmZmVjdGl2ZV91bnRpbBgFIAEoCzIaLmdvb2dsZS5wcm90b2J1Zi5UaW1lc3RhbXAymQEKDFRlcm1zU2VydmljZRJCCgNHZXQSHC5hcGkub3Blbi52MS5HZXRUZXJtc1JlcXVlc3QaHS5hcGkub3Blbi52MS5HZXRUZXJtc1Jlc3BvbnNlEkUKBExpc3QSHS5hcGkub3Blbi52MS5MaXN0VGVybXNSZXF1ZXN0Gh4uYXBpLm9wZW4udjEuTGlzdFRlcm1zUmVzcG9uc2VCpgEKD2NvbS5hcGkub3Blbi52MUIKVGVybXNQcm90b1ABWjlnaXRodWIuY29tL2RzdWItaW8vZXZlbnQtY29udHJhY3RzL2dlbi9hcGkvb3Blbi92MTtvcGVudjGiAgNBT1iqAgtBcGkuT3Blbi5WMcoCC0FwaVxPcGVuXFYx4gIXQXBpXE9wZW5cVjFcR1BCTWV0YWRhdGHqAg1BcGk6Ok9wZW46OlYxYgZwcm90bzM",
|
|
30
|
+
[
|
|
31
|
+
file_api_common_v1_media,
|
|
32
|
+
file_api_content_v1_block_content,
|
|
33
|
+
file_api_open_v1_translation,
|
|
34
|
+
file_google_protobuf_timestamp,
|
|
35
|
+
],
|
|
36
|
+
);
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* @generated from message api.open.v1.GetTermsRequest
|
|
40
|
+
*/
|
|
41
|
+
export type GetTermsRequest = Message<"api.open.v1.GetTermsRequest"> & {
|
|
42
|
+
/**
|
|
43
|
+
* @generated from field: optional string id = 1;
|
|
44
|
+
*/
|
|
45
|
+
id?: string | undefined;
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* @generated from field: optional string share_token = 2;
|
|
49
|
+
*/
|
|
50
|
+
shareToken?: string | undefined;
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* @generated from field: optional string share_password = 3;
|
|
54
|
+
*/
|
|
55
|
+
sharePassword?: string | undefined;
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* Describes the message api.open.v1.GetTermsRequest.
|
|
60
|
+
* Use `create(GetTermsRequestSchema)` to create a new message.
|
|
61
|
+
*/
|
|
62
|
+
export const GetTermsRequestSchema: GenMessage<GetTermsRequest> =
|
|
63
|
+
/*@__PURE__*/
|
|
64
|
+
messageDesc(file_api_open_v1_terms, 0);
|
|
65
|
+
|
|
66
|
+
/**
|
|
67
|
+
* @generated from message api.open.v1.GetTermsResponse
|
|
68
|
+
*/
|
|
69
|
+
export type GetTermsResponse = Message<"api.open.v1.GetTermsResponse"> & {
|
|
70
|
+
/**
|
|
71
|
+
* @generated from field: optional api.open.v1.Terms terms = 1;
|
|
72
|
+
*/
|
|
73
|
+
terms?: Terms | undefined;
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* @generated from field: optional api.open.v1.Terms scheduled = 2;
|
|
77
|
+
*/
|
|
78
|
+
scheduled?: Terms | undefined;
|
|
79
|
+
};
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* Describes the message api.open.v1.GetTermsResponse.
|
|
83
|
+
* Use `create(GetTermsResponseSchema)` to create a new message.
|
|
84
|
+
*/
|
|
85
|
+
export const GetTermsResponseSchema: GenMessage<GetTermsResponse> =
|
|
86
|
+
/*@__PURE__*/
|
|
87
|
+
messageDesc(file_api_open_v1_terms, 1);
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* Terms exposes the selected locale as a typed Block document. Rendered HTML
|
|
91
|
+
* and plain text are derived projections and are not public authoring state.
|
|
92
|
+
*
|
|
93
|
+
* @generated from message api.open.v1.Terms
|
|
94
|
+
*/
|
|
95
|
+
export type Terms = Message<"api.open.v1.Terms"> & {
|
|
96
|
+
/**
|
|
97
|
+
* @generated from field: string id = 1;
|
|
98
|
+
*/
|
|
99
|
+
id: string;
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* @generated from field: int32 version = 2;
|
|
103
|
+
*/
|
|
104
|
+
version: number;
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* @generated from field: string title = 3;
|
|
108
|
+
*/
|
|
109
|
+
title: string;
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* @generated from field: api.content.v1.LocalizedRichTextDocument document = 4;
|
|
113
|
+
*/
|
|
114
|
+
document?: LocalizedRichTextDocument | undefined;
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* @generated from field: string revision = 5;
|
|
118
|
+
*/
|
|
119
|
+
revision: string;
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* @generated from field: google.protobuf.Timestamp effective_from = 6;
|
|
123
|
+
*/
|
|
124
|
+
effectiveFrom?: Timestamp | undefined;
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* @generated from field: optional google.protobuf.Timestamp effective_until = 7;
|
|
128
|
+
*/
|
|
129
|
+
effectiveUntil?: Timestamp | undefined;
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* @generated from field: optional api.open.v1.LocalizationInfo localization_info = 8;
|
|
133
|
+
*/
|
|
134
|
+
localizationInfo?: LocalizationInfo | undefined;
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* @generated from field: optional api.common.v1.AssetRef og_asset = 9;
|
|
138
|
+
*/
|
|
139
|
+
ogAsset?: AssetRef | undefined;
|
|
140
|
+
};
|
|
141
|
+
|
|
142
|
+
/**
|
|
143
|
+
* Describes the message api.open.v1.Terms.
|
|
144
|
+
* Use `create(TermsSchema)` to create a new message.
|
|
145
|
+
*/
|
|
146
|
+
export const TermsSchema: GenMessage<Terms> =
|
|
147
|
+
/*@__PURE__*/
|
|
148
|
+
messageDesc(file_api_open_v1_terms, 2);
|
|
149
|
+
|
|
150
|
+
/**
|
|
151
|
+
* @generated from message api.open.v1.ListTermsRequest
|
|
152
|
+
*/
|
|
153
|
+
export type ListTermsRequest = Message<"api.open.v1.ListTermsRequest"> & {
|
|
154
|
+
/**
|
|
155
|
+
* @generated from field: int32 limit = 1;
|
|
156
|
+
*/
|
|
157
|
+
limit: number;
|
|
158
|
+
|
|
159
|
+
/**
|
|
160
|
+
* @generated from field: int32 offset = 2;
|
|
161
|
+
*/
|
|
162
|
+
offset: number;
|
|
163
|
+
};
|
|
164
|
+
|
|
165
|
+
/**
|
|
166
|
+
* Describes the message api.open.v1.ListTermsRequest.
|
|
167
|
+
* Use `create(ListTermsRequestSchema)` to create a new message.
|
|
168
|
+
*/
|
|
169
|
+
export const ListTermsRequestSchema: GenMessage<ListTermsRequest> =
|
|
170
|
+
/*@__PURE__*/
|
|
171
|
+
messageDesc(file_api_open_v1_terms, 3);
|
|
172
|
+
|
|
173
|
+
/**
|
|
174
|
+
* @generated from message api.open.v1.ListTermsResponse
|
|
175
|
+
*/
|
|
176
|
+
export type ListTermsResponse = Message<"api.open.v1.ListTermsResponse"> & {
|
|
177
|
+
/**
|
|
178
|
+
* @generated from field: repeated api.open.v1.TermsSummary items = 1;
|
|
179
|
+
*/
|
|
180
|
+
items: TermsSummary[];
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* @generated from field: int32 total = 2;
|
|
184
|
+
*/
|
|
185
|
+
total: number;
|
|
186
|
+
};
|
|
187
|
+
|
|
188
|
+
/**
|
|
189
|
+
* Describes the message api.open.v1.ListTermsResponse.
|
|
190
|
+
* Use `create(ListTermsResponseSchema)` to create a new message.
|
|
191
|
+
*/
|
|
192
|
+
export const ListTermsResponseSchema: GenMessage<ListTermsResponse> =
|
|
193
|
+
/*@__PURE__*/
|
|
194
|
+
messageDesc(file_api_open_v1_terms, 4);
|
|
195
|
+
|
|
196
|
+
/**
|
|
197
|
+
* @generated from message api.open.v1.TermsSummary
|
|
198
|
+
*/
|
|
199
|
+
export type TermsSummary = Message<"api.open.v1.TermsSummary"> & {
|
|
200
|
+
/**
|
|
201
|
+
* @generated from field: string id = 1;
|
|
202
|
+
*/
|
|
203
|
+
id: string;
|
|
204
|
+
|
|
205
|
+
/**
|
|
206
|
+
* @generated from field: int32 version = 2;
|
|
207
|
+
*/
|
|
208
|
+
version: number;
|
|
209
|
+
|
|
210
|
+
/**
|
|
211
|
+
* @generated from field: string title = 3;
|
|
212
|
+
*/
|
|
213
|
+
title: string;
|
|
214
|
+
|
|
215
|
+
/**
|
|
216
|
+
* @generated from field: google.protobuf.Timestamp effective_from = 4;
|
|
217
|
+
*/
|
|
218
|
+
effectiveFrom?: Timestamp | undefined;
|
|
219
|
+
|
|
220
|
+
/**
|
|
221
|
+
* @generated from field: google.protobuf.Timestamp effective_until = 5;
|
|
222
|
+
*/
|
|
223
|
+
effectiveUntil?: Timestamp | undefined;
|
|
224
|
+
};
|
|
225
|
+
|
|
226
|
+
/**
|
|
227
|
+
* Describes the message api.open.v1.TermsSummary.
|
|
228
|
+
* Use `create(TermsSummarySchema)` to create a new message.
|
|
229
|
+
*/
|
|
230
|
+
export const TermsSummarySchema: GenMessage<TermsSummary> =
|
|
231
|
+
/*@__PURE__*/
|
|
232
|
+
messageDesc(file_api_open_v1_terms, 5);
|
|
233
|
+
|
|
234
|
+
/**
|
|
235
|
+
* @generated from service api.open.v1.TermsService
|
|
236
|
+
*/
|
|
237
|
+
export const TermsService: GenService<{
|
|
238
|
+
/**
|
|
239
|
+
* Get returns the current policy, exact public history, or authorized
|
|
240
|
+
* scheduled preview selected by the request.
|
|
241
|
+
*
|
|
242
|
+
* @generated from rpc api.open.v1.TermsService.Get
|
|
243
|
+
*/
|
|
244
|
+
get: {
|
|
245
|
+
methodKind: "unary";
|
|
246
|
+
input: typeof GetTermsRequestSchema;
|
|
247
|
+
output: typeof GetTermsResponseSchema;
|
|
248
|
+
};
|
|
249
|
+
/**
|
|
250
|
+
* @generated from rpc api.open.v1.TermsService.List
|
|
251
|
+
*/
|
|
252
|
+
list: {
|
|
253
|
+
methodKind: "unary";
|
|
254
|
+
input: typeof ListTermsRequestSchema;
|
|
255
|
+
output: typeof ListTermsResponseSchema;
|
|
256
|
+
};
|
|
257
|
+
}> = /*@__PURE__*/ serviceDesc(file_api_open_v1_terms, 0);
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.14.0 with parameter "target=ts,import_extension=ts"
|
|
2
|
+
// @generated from file api/open/v1/translation.proto (package api.open.v1, syntax proto3)
|
|
3
|
+
import type {
|
|
4
|
+
GenEnum,
|
|
5
|
+
GenFile,
|
|
6
|
+
GenMessage,
|
|
7
|
+
} from "@bufbuild/protobuf/codegenv2";
|
|
8
|
+
import { enumDesc, fileDesc, messageDesc } from "@bufbuild/protobuf/codegenv2";
|
|
9
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Describes the file api/open/v1/translation.proto.
|
|
13
|
+
*/
|
|
14
|
+
export const file_api_open_v1_translation: GenFile =
|
|
15
|
+
/*@__PURE__*/
|
|
16
|
+
fileDesc(
|
|
17
|
+
"Ch1hcGkvb3Blbi92MS90cmFuc2xhdGlvbi5wcm90bxILYXBpLm9wZW4udjEi/wEKEExvY2FsaXphdGlvbkluZm8SGAoQcmVxdWVzdGVkX2xvY2FsZRgBIAEoCRIYChBkaXNwbGF5ZWRfbG9jYWxlGAIgASgJEhUKDXNvdXJjZV9sb2NhbGUYAyABKAkSEwoLaXNfZmFsbGJhY2sYBCABKAgSEwoLaXNfb3JpZ2luYWwYBSABKAgSGQoRbWFjaGluZV9nZW5lcmF0ZWQYBiABKAgSQAoPZmFsbGJhY2tfcmVhc29uGAcgASgOMicuYXBpLm9wZW4udjEuTG9jYWxpemF0aW9uRmFsbGJhY2tSZWFzb24SGQoRYXZhaWxhYmxlX2xvY2FsZXMYCCADKAkqygEKGkxvY2FsaXphdGlvbkZhbGxiYWNrUmVhc29uEiwKKExPQ0FMSVpBVElPTl9GQUxMQkFDS19SRUFTT05fVU5TUEVDSUZJRUQQABIlCiFMT0NBTElaQVRJT05fRkFMTEJBQ0tfUkVBU09OX05PTkUQARInCiNMT0NBTElaQVRJT05fRkFMTEJBQ0tfUkVBU09OX1NPVVJDRRACEi4KKkxPQ0FMSVpBVElPTl9GQUxMQkFDS19SRUFTT05fT1JJR0lOQUxfVklFVxADQqwBCg9jb20uYXBpLm9wZW4udjFCEFRyYW5zbGF0aW9uUHJvdG9QAVo5Z2l0aHViLmNvbS9kc3ViLWlvL2V2ZW50LWNvbnRyYWN0cy9nZW4vYXBpL29wZW4vdjE7b3BlbnYxogIDQU9YqgILQXBpLk9wZW4uVjHKAgtBcGlcT3BlblxWMeICF0FwaVxPcGVuXFYxXEdQQk1ldGFkYXRh6gINQXBpOjpPcGVuOjpWMWIGcHJvdG8z",
|
|
18
|
+
);
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* @generated from message api.open.v1.LocalizationInfo
|
|
22
|
+
*/
|
|
23
|
+
export type LocalizationInfo = Message<"api.open.v1.LocalizationInfo"> & {
|
|
24
|
+
/**
|
|
25
|
+
* @generated from field: string requested_locale = 1;
|
|
26
|
+
*/
|
|
27
|
+
requestedLocale: string;
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* @generated from field: string displayed_locale = 2;
|
|
31
|
+
*/
|
|
32
|
+
displayedLocale: string;
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* @generated from field: string source_locale = 3;
|
|
36
|
+
*/
|
|
37
|
+
sourceLocale: string;
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* @generated from field: bool is_fallback = 4;
|
|
41
|
+
*/
|
|
42
|
+
isFallback: boolean;
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* @generated from field: bool is_original = 5;
|
|
46
|
+
*/
|
|
47
|
+
isOriginal: boolean;
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* @generated from field: bool machine_generated = 6;
|
|
51
|
+
*/
|
|
52
|
+
machineGenerated: boolean;
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* @generated from field: api.open.v1.LocalizationFallbackReason fallback_reason = 7;
|
|
56
|
+
*/
|
|
57
|
+
fallbackReason: LocalizationFallbackReason;
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* @generated from field: repeated string available_locales = 8;
|
|
61
|
+
*/
|
|
62
|
+
availableLocales: string[];
|
|
63
|
+
};
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* Describes the message api.open.v1.LocalizationInfo.
|
|
67
|
+
* Use `create(LocalizationInfoSchema)` to create a new message.
|
|
68
|
+
*/
|
|
69
|
+
export const LocalizationInfoSchema: GenMessage<LocalizationInfo> =
|
|
70
|
+
/*@__PURE__*/
|
|
71
|
+
messageDesc(file_api_open_v1_translation, 0);
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* @generated from enum api.open.v1.LocalizationFallbackReason
|
|
75
|
+
*/
|
|
76
|
+
export enum LocalizationFallbackReason {
|
|
77
|
+
/**
|
|
78
|
+
* @generated from enum value: LOCALIZATION_FALLBACK_REASON_UNSPECIFIED = 0;
|
|
79
|
+
*/
|
|
80
|
+
UNSPECIFIED = 0,
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* @generated from enum value: LOCALIZATION_FALLBACK_REASON_NONE = 1;
|
|
84
|
+
*/
|
|
85
|
+
NONE = 1,
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* @generated from enum value: LOCALIZATION_FALLBACK_REASON_SOURCE = 2;
|
|
89
|
+
*/
|
|
90
|
+
SOURCE = 2,
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* @generated from enum value: LOCALIZATION_FALLBACK_REASON_ORIGINAL_VIEW = 3;
|
|
94
|
+
*/
|
|
95
|
+
ORIGINAL_VIEW = 3,
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* Describes the enum api.open.v1.LocalizationFallbackReason.
|
|
100
|
+
*/
|
|
101
|
+
export const LocalizationFallbackReasonSchema: GenEnum<LocalizationFallbackReason> =
|
|
102
|
+
/*@__PURE__*/
|
|
103
|
+
enumDesc(file_api_open_v1_translation, 0);
|