@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,326 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.14.0 with parameter "target=ts,import_extension=ts"
|
|
2
|
+
// @generated from file api/open/v1/manifest.proto (package api.open.v1, syntax proto3)
|
|
3
|
+
import type {
|
|
4
|
+
GenEnum,
|
|
5
|
+
GenFile,
|
|
6
|
+
GenMessage,
|
|
7
|
+
GenService,
|
|
8
|
+
} from "@bufbuild/protobuf/codegenv2";
|
|
9
|
+
import {
|
|
10
|
+
enumDesc,
|
|
11
|
+
fileDesc,
|
|
12
|
+
messageDesc,
|
|
13
|
+
serviceDesc,
|
|
14
|
+
} from "@bufbuild/protobuf/codegenv2";
|
|
15
|
+
import type { AssetRef, FaviconAssetSet } from "../../common/v1/media_pb.ts";
|
|
16
|
+
import { file_api_common_v1_media } from "../../common/v1/media_pb.ts";
|
|
17
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Describes the file api/open/v1/manifest.proto.
|
|
21
|
+
*/
|
|
22
|
+
export const file_api_open_v1_manifest: GenFile =
|
|
23
|
+
/*@__PURE__*/
|
|
24
|
+
fileDesc(
|
|
25
|
+
"ChphcGkvb3Blbi92MS9tYW5pZmVzdC5wcm90bxILY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FwaS5vcGVuLnYxLkdldFJlcXVlc3QaGC5hcGkub3Blbi52MS5HZXRSZXNwb25zZUKpAQoPY29tLmFwaS5vcGVuLnYxQg1NYW5pZmVzdFByb3RvUAFaOWdpdGh1Yi5jb20vZHN1Yi1pby9ldmVudC1jb250cmFjdHMvZ2VuL2FwaS9vcGVuL3YxO29wZW52MaICA0FPWKoCC0FwaS5PcGVuLlYxygILQXBpXE9wZW5cVjHiAhdBcGlcT3BlblxWMVxHUEJNZXRhZGF0YeoCDUFwaTo6T3Blbjo6VjFiBnByb3RvMw",
|
|
26
|
+
[file_api_common_v1_media],
|
|
27
|
+
);
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* @generated from message api.open.v1.GetRequest
|
|
31
|
+
*/
|
|
32
|
+
export type GetRequest = Message<"api.open.v1.GetRequest"> & {};
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Describes the message api.open.v1.GetRequest.
|
|
36
|
+
* Use `create(GetRequestSchema)` to create a new message.
|
|
37
|
+
*/
|
|
38
|
+
export const GetRequestSchema: GenMessage<GetRequest> =
|
|
39
|
+
/*@__PURE__*/
|
|
40
|
+
messageDesc(file_api_open_v1_manifest, 0);
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* @generated from message api.open.v1.GetResponse
|
|
44
|
+
*/
|
|
45
|
+
export type GetResponse = Message<"api.open.v1.GetResponse"> & {
|
|
46
|
+
/**
|
|
47
|
+
* @generated from field: api.open.v1.SiteSettings settings = 1;
|
|
48
|
+
*/
|
|
49
|
+
settings?: SiteSettings | undefined;
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* @generated from field: api.open.v1.Menus menus = 2;
|
|
53
|
+
*/
|
|
54
|
+
menus?: Menus | undefined;
|
|
55
|
+
};
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* Describes the message api.open.v1.GetResponse.
|
|
59
|
+
* Use `create(GetResponseSchema)` to create a new message.
|
|
60
|
+
*/
|
|
61
|
+
export const GetResponseSchema: GenMessage<GetResponse> =
|
|
62
|
+
/*@__PURE__*/
|
|
63
|
+
messageDesc(file_api_open_v1_manifest, 1);
|
|
64
|
+
|
|
65
|
+
/**
|
|
66
|
+
* SiteSettings contains public configuration values
|
|
67
|
+
*
|
|
68
|
+
* @generated from message api.open.v1.SiteSettings
|
|
69
|
+
*/
|
|
70
|
+
export type SiteSettings = Message<"api.open.v1.SiteSettings"> & {
|
|
71
|
+
/**
|
|
72
|
+
* @generated from field: string site_title = 1;
|
|
73
|
+
*/
|
|
74
|
+
siteTitle: string;
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* @generated from field: string meta_description = 2;
|
|
78
|
+
*/
|
|
79
|
+
metaDescription: string;
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* @generated from field: string primary_color = 3;
|
|
83
|
+
*/
|
|
84
|
+
primaryColor: string;
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* @generated from field: optional string google_analytics_id = 4;
|
|
88
|
+
*/
|
|
89
|
+
googleAnalyticsId?: string | undefined;
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* @generated from field: string company_name = 5;
|
|
93
|
+
*/
|
|
94
|
+
companyName: string;
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* @generated from field: string company_address = 6;
|
|
98
|
+
*/
|
|
99
|
+
companyAddress: string;
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* @generated from field: string tax_id = 7;
|
|
103
|
+
*/
|
|
104
|
+
taxId: string;
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* @generated from field: map<string, string> social_links = 8;
|
|
108
|
+
*/
|
|
109
|
+
socialLinks: { [key: string]: string };
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* @generated from field: bool default_comments_enabled = 9;
|
|
113
|
+
*/
|
|
114
|
+
defaultCommentsEnabled: boolean;
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* @generated from field: optional api.common.v1.AssetRef site_og_asset = 10;
|
|
118
|
+
*/
|
|
119
|
+
siteOgAsset?: AssetRef | undefined;
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* @generated from field: string site_origin = 11;
|
|
123
|
+
*/
|
|
124
|
+
siteOrigin: string;
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* @generated from field: optional api.common.v1.AssetRef logo_light_asset = 12;
|
|
128
|
+
*/
|
|
129
|
+
logoLightAsset?: AssetRef | undefined;
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* @generated from field: optional api.common.v1.AssetRef logo_dark_asset = 13;
|
|
133
|
+
*/
|
|
134
|
+
logoDarkAsset?: AssetRef | undefined;
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* When favicon_asset_set is present, this MUST be that set's icon_png_32
|
|
138
|
+
* from the same active source. When absent, this may be a legacy original.
|
|
139
|
+
*
|
|
140
|
+
* @generated from field: optional api.common.v1.AssetRef favicon_asset = 14;
|
|
141
|
+
*/
|
|
142
|
+
faviconAsset?: AssetRef | undefined;
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* @generated from field: repeated api.common.v1.AssetRef loader_assets = 15;
|
|
146
|
+
*/
|
|
147
|
+
loaderAssets: AssetRef[];
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* @generated from field: optional api.common.v1.FaviconAssetSet favicon_asset_set = 16;
|
|
151
|
+
*/
|
|
152
|
+
faviconAssetSet?: FaviconAssetSet | undefined;
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* @generated from field: string legal_email = 17;
|
|
156
|
+
*/
|
|
157
|
+
legalEmail: string;
|
|
158
|
+
|
|
159
|
+
/**
|
|
160
|
+
* @generated from field: string support_email = 18;
|
|
161
|
+
*/
|
|
162
|
+
supportEmail: string;
|
|
163
|
+
|
|
164
|
+
/**
|
|
165
|
+
* @generated from field: string privacy_email = 19;
|
|
166
|
+
*/
|
|
167
|
+
privacyEmail: string;
|
|
168
|
+
};
|
|
169
|
+
|
|
170
|
+
/**
|
|
171
|
+
* Describes the message api.open.v1.SiteSettings.
|
|
172
|
+
* Use `create(SiteSettingsSchema)` to create a new message.
|
|
173
|
+
*/
|
|
174
|
+
export const SiteSettingsSchema: GenMessage<SiteSettings> =
|
|
175
|
+
/*@__PURE__*/
|
|
176
|
+
messageDesc(file_api_open_v1_manifest, 2);
|
|
177
|
+
|
|
178
|
+
/**
|
|
179
|
+
* Menus contains all navigation menus (pre-filtered by user role)
|
|
180
|
+
*
|
|
181
|
+
* @generated from message api.open.v1.Menus
|
|
182
|
+
*/
|
|
183
|
+
export type Menus = Message<"api.open.v1.Menus"> & {
|
|
184
|
+
/**
|
|
185
|
+
* @generated from field: repeated api.open.v1.MenuItem header = 1;
|
|
186
|
+
*/
|
|
187
|
+
header: MenuItem[];
|
|
188
|
+
|
|
189
|
+
/**
|
|
190
|
+
* @generated from field: repeated api.open.v1.MenuItem secondary = 2;
|
|
191
|
+
*/
|
|
192
|
+
secondary: MenuItem[];
|
|
193
|
+
|
|
194
|
+
/**
|
|
195
|
+
* @generated from field: repeated api.open.v1.MenuItem footer = 3;
|
|
196
|
+
*/
|
|
197
|
+
footer: MenuItem[];
|
|
198
|
+
|
|
199
|
+
/**
|
|
200
|
+
* @generated from field: repeated api.open.v1.MenuItem avatar_dropdown = 4;
|
|
201
|
+
*/
|
|
202
|
+
avatarDropdown: MenuItem[];
|
|
203
|
+
};
|
|
204
|
+
|
|
205
|
+
/**
|
|
206
|
+
* Describes the message api.open.v1.Menus.
|
|
207
|
+
* Use `create(MenusSchema)` to create a new message.
|
|
208
|
+
*/
|
|
209
|
+
export const MenusSchema: GenMessage<Menus> =
|
|
210
|
+
/*@__PURE__*/
|
|
211
|
+
messageDesc(file_api_open_v1_manifest, 3);
|
|
212
|
+
|
|
213
|
+
/**
|
|
214
|
+
* MenuItem represents a single menu entry (visibility already filtered server-side)
|
|
215
|
+
*
|
|
216
|
+
* @generated from message api.open.v1.MenuItem
|
|
217
|
+
*/
|
|
218
|
+
export type MenuItem = Message<"api.open.v1.MenuItem"> & {
|
|
219
|
+
/**
|
|
220
|
+
* @generated from field: string id = 1;
|
|
221
|
+
*/
|
|
222
|
+
id: string;
|
|
223
|
+
|
|
224
|
+
/**
|
|
225
|
+
* @generated from field: string label = 2;
|
|
226
|
+
*/
|
|
227
|
+
label: string;
|
|
228
|
+
|
|
229
|
+
/**
|
|
230
|
+
* @generated from field: api.open.v1.LinkType link_type = 3;
|
|
231
|
+
*/
|
|
232
|
+
linkType: LinkType;
|
|
233
|
+
|
|
234
|
+
/**
|
|
235
|
+
* @generated from field: optional string url = 4;
|
|
236
|
+
*/
|
|
237
|
+
url?: string | undefined;
|
|
238
|
+
|
|
239
|
+
/**
|
|
240
|
+
* @generated from field: optional string target_id = 5;
|
|
241
|
+
*/
|
|
242
|
+
targetId?: string | undefined;
|
|
243
|
+
|
|
244
|
+
/**
|
|
245
|
+
* @generated from field: optional string target_slug = 6;
|
|
246
|
+
*/
|
|
247
|
+
targetSlug?: string | undefined;
|
|
248
|
+
|
|
249
|
+
/**
|
|
250
|
+
* @generated from field: bool open_in_new_tab = 7;
|
|
251
|
+
*/
|
|
252
|
+
openInNewTab: boolean;
|
|
253
|
+
|
|
254
|
+
/**
|
|
255
|
+
* @generated from field: repeated api.open.v1.MenuItem children = 8;
|
|
256
|
+
*/
|
|
257
|
+
children: MenuItem[];
|
|
258
|
+
};
|
|
259
|
+
|
|
260
|
+
/**
|
|
261
|
+
* Describes the message api.open.v1.MenuItem.
|
|
262
|
+
* Use `create(MenuItemSchema)` to create a new message.
|
|
263
|
+
*/
|
|
264
|
+
export const MenuItemSchema: GenMessage<MenuItem> =
|
|
265
|
+
/*@__PURE__*/
|
|
266
|
+
messageDesc(file_api_open_v1_manifest, 4);
|
|
267
|
+
|
|
268
|
+
/**
|
|
269
|
+
* LinkType defines how a menu item links to content
|
|
270
|
+
*
|
|
271
|
+
* @generated from enum api.open.v1.LinkType
|
|
272
|
+
*/
|
|
273
|
+
export enum LinkType {
|
|
274
|
+
/**
|
|
275
|
+
* @generated from enum value: LINK_TYPE_UNSPECIFIED = 0;
|
|
276
|
+
*/
|
|
277
|
+
UNSPECIFIED = 0,
|
|
278
|
+
|
|
279
|
+
/**
|
|
280
|
+
* @generated from enum value: LINK_TYPE_CUSTOM = 1;
|
|
281
|
+
*/
|
|
282
|
+
CUSTOM = 1,
|
|
283
|
+
|
|
284
|
+
/**
|
|
285
|
+
* @generated from enum value: LINK_TYPE_PAGE = 2;
|
|
286
|
+
*/
|
|
287
|
+
PAGE = 2,
|
|
288
|
+
|
|
289
|
+
/**
|
|
290
|
+
* @generated from enum value: LINK_TYPE_CATEGORY = 3;
|
|
291
|
+
*/
|
|
292
|
+
CATEGORY = 3,
|
|
293
|
+
|
|
294
|
+
/**
|
|
295
|
+
* @generated from enum value: LINK_TYPE_TAG = 4;
|
|
296
|
+
*/
|
|
297
|
+
TAG = 4,
|
|
298
|
+
|
|
299
|
+
/**
|
|
300
|
+
* @generated from enum value: LINK_TYPE_SERIES = 5;
|
|
301
|
+
*/
|
|
302
|
+
SERIES = 5,
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
/**
|
|
306
|
+
* Describes the enum api.open.v1.LinkType.
|
|
307
|
+
*/
|
|
308
|
+
export const LinkTypeSchema: GenEnum<LinkType> =
|
|
309
|
+
/*@__PURE__*/
|
|
310
|
+
enumDesc(file_api_open_v1_manifest, 0);
|
|
311
|
+
|
|
312
|
+
/**
|
|
313
|
+
* ManifestService provides site manifest for initial page load
|
|
314
|
+
*
|
|
315
|
+
* @generated from service api.open.v1.ManifestService
|
|
316
|
+
*/
|
|
317
|
+
export const ManifestService: GenService<{
|
|
318
|
+
/**
|
|
319
|
+
* @generated from rpc api.open.v1.ManifestService.Get
|
|
320
|
+
*/
|
|
321
|
+
get: {
|
|
322
|
+
methodKind: "unary";
|
|
323
|
+
input: typeof GetRequestSchema;
|
|
324
|
+
output: typeof GetResponseSchema;
|
|
325
|
+
};
|
|
326
|
+
}> = /*@__PURE__*/ serviceDesc(file_api_open_v1_manifest, 0);
|
|
@@ -0,0 +1,228 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.14.0 with parameter "target=ts,import_extension=ts"
|
|
2
|
+
// @generated from file api/open/v1/map_place.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 { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
16
|
+
import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
17
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* Describes the file api/open/v1/map_place.proto.
|
|
21
|
+
*/
|
|
22
|
+
export const file_api_open_v1_map_place: GenFile =
|
|
23
|
+
/*@__PURE__*/
|
|
24
|
+
fileDesc(
|
|
25
|
+
"ChthcGkvb3Blbi92MS9tYXBfcGxhY2UucHJvdG8SC2FwaS5vcGVuLnYxIrsBChFBZGRyZXNzQ29tcG9uZW50cxITCgZzdHJlZXQYASABKAlIAIgBARIRCgRjaXR5GAIgASgJSAGIAQESEwoGcmVnaW9uGAMgASgJSAKIAQESFAoHY291bnRyeRgEIAEoCUgDiAEBEhgKC3Bvc3RhbF9jb2RlGAUgASgJSASIAQFCCQoHX3N0cmVldEIHCgVfY2l0eUIJCgdfcmVnaW9uQgoKCF9jb3VudHJ5Qg4KDF9wb3N0YWxfY29kZSLMAgoITWFwUGxhY2USCgo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XQXBpXE9wZW5cVjFcR1BCTWV0YWRhdGHqAg1BcGk6Ok9wZW46OlYxYgZwcm90bzM",
|
|
26
|
+
[file_api_common_v1_media, file_google_protobuf_timestamp],
|
|
27
|
+
);
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* Address components parsed from geocoding service
|
|
31
|
+
*
|
|
32
|
+
* @generated from message api.open.v1.AddressComponents
|
|
33
|
+
*/
|
|
34
|
+
export type AddressComponents = Message<"api.open.v1.AddressComponents"> & {
|
|
35
|
+
/**
|
|
36
|
+
* @generated from field: optional string street = 1;
|
|
37
|
+
*/
|
|
38
|
+
street?: string | undefined;
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* @generated from field: optional string city = 2;
|
|
42
|
+
*/
|
|
43
|
+
city?: string | undefined;
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* @generated from field: optional string region = 3;
|
|
47
|
+
*/
|
|
48
|
+
region?: string | undefined;
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
* @generated from field: optional string country = 4;
|
|
52
|
+
*/
|
|
53
|
+
country?: string | undefined;
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* @generated from field: optional string postal_code = 5;
|
|
57
|
+
*/
|
|
58
|
+
postalCode?: string | undefined;
|
|
59
|
+
};
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* Describes the message api.open.v1.AddressComponents.
|
|
63
|
+
* Use `create(AddressComponentsSchema)` to create a new message.
|
|
64
|
+
*/
|
|
65
|
+
export const AddressComponentsSchema: GenMessage<AddressComponents> =
|
|
66
|
+
/*@__PURE__*/
|
|
67
|
+
messageDesc(file_api_open_v1_map_place, 0);
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* Full MapPlace entity
|
|
71
|
+
*
|
|
72
|
+
* @generated from message api.open.v1.MapPlace
|
|
73
|
+
*/
|
|
74
|
+
export type MapPlace = Message<"api.open.v1.MapPlace"> & {
|
|
75
|
+
/**
|
|
76
|
+
* @generated from field: string id = 1;
|
|
77
|
+
*/
|
|
78
|
+
id: string;
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* @generated from field: string name = 2;
|
|
82
|
+
*/
|
|
83
|
+
name: string;
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* @generated from field: string address = 3;
|
|
87
|
+
*/
|
|
88
|
+
address: string;
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* @generated from field: double lat = 4;
|
|
92
|
+
*/
|
|
93
|
+
lat: number;
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* @generated from field: double lng = 5;
|
|
97
|
+
*/
|
|
98
|
+
lng: number;
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* @generated from field: optional api.open.v1.AddressComponents address_components = 6;
|
|
102
|
+
*/
|
|
103
|
+
addressComponents?: AddressComponents | undefined;
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* @generated from field: google.protobuf.Timestamp created_at = 7;
|
|
107
|
+
*/
|
|
108
|
+
createdAt?: Timestamp | undefined;
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* @generated from field: optional string google_place_id = 8;
|
|
112
|
+
*/
|
|
113
|
+
googlePlaceId?: string | undefined;
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* @generated from field: optional api.common.v1.AssetRef image_asset = 9;
|
|
117
|
+
*/
|
|
118
|
+
imageAsset?: AssetRef | undefined;
|
|
119
|
+
};
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* Describes the message api.open.v1.MapPlace.
|
|
123
|
+
* Use `create(MapPlaceSchema)` to create a new message.
|
|
124
|
+
*/
|
|
125
|
+
export const MapPlaceSchema: GenMessage<MapPlace> =
|
|
126
|
+
/*@__PURE__*/
|
|
127
|
+
messageDesc(file_api_open_v1_map_place, 1);
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* Compact map place data embedded in public content responses.
|
|
131
|
+
*
|
|
132
|
+
* @generated from message api.open.v1.MapPlaceBasic
|
|
133
|
+
*/
|
|
134
|
+
export type MapPlaceBasic = Message<"api.open.v1.MapPlaceBasic"> & {
|
|
135
|
+
/**
|
|
136
|
+
* @generated from field: string id = 1;
|
|
137
|
+
*/
|
|
138
|
+
id: string;
|
|
139
|
+
|
|
140
|
+
/**
|
|
141
|
+
* @generated from field: string name = 2;
|
|
142
|
+
*/
|
|
143
|
+
name: string;
|
|
144
|
+
|
|
145
|
+
/**
|
|
146
|
+
* @generated from field: string address = 3;
|
|
147
|
+
*/
|
|
148
|
+
address: string;
|
|
149
|
+
|
|
150
|
+
/**
|
|
151
|
+
* @generated from field: double lat = 4;
|
|
152
|
+
*/
|
|
153
|
+
lat: number;
|
|
154
|
+
|
|
155
|
+
/**
|
|
156
|
+
* @generated from field: double lng = 5;
|
|
157
|
+
*/
|
|
158
|
+
lng: number;
|
|
159
|
+
|
|
160
|
+
/**
|
|
161
|
+
* @generated from field: optional string google_place_id = 6;
|
|
162
|
+
*/
|
|
163
|
+
googlePlaceId?: string | undefined;
|
|
164
|
+
};
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* Describes the message api.open.v1.MapPlaceBasic.
|
|
168
|
+
* Use `create(MapPlaceBasicSchema)` to create a new message.
|
|
169
|
+
*/
|
|
170
|
+
export const MapPlaceBasicSchema: GenMessage<MapPlaceBasic> =
|
|
171
|
+
/*@__PURE__*/
|
|
172
|
+
messageDesc(file_api_open_v1_map_place, 2);
|
|
173
|
+
|
|
174
|
+
/**
|
|
175
|
+
* @generated from message api.open.v1.GetMapPlacesByIdsRequest
|
|
176
|
+
*/
|
|
177
|
+
export type GetMapPlacesByIdsRequest =
|
|
178
|
+
Message<"api.open.v1.GetMapPlacesByIdsRequest"> & {
|
|
179
|
+
/**
|
|
180
|
+
* @generated from field: repeated string ids = 1;
|
|
181
|
+
*/
|
|
182
|
+
ids: string[];
|
|
183
|
+
};
|
|
184
|
+
|
|
185
|
+
/**
|
|
186
|
+
* Describes the message api.open.v1.GetMapPlacesByIdsRequest.
|
|
187
|
+
* Use `create(GetMapPlacesByIdsRequestSchema)` to create a new message.
|
|
188
|
+
*/
|
|
189
|
+
export const GetMapPlacesByIdsRequestSchema: GenMessage<GetMapPlacesByIdsRequest> =
|
|
190
|
+
/*@__PURE__*/
|
|
191
|
+
messageDesc(file_api_open_v1_map_place, 3);
|
|
192
|
+
|
|
193
|
+
/**
|
|
194
|
+
* @generated from message api.open.v1.GetMapPlacesByIdsResponse
|
|
195
|
+
*/
|
|
196
|
+
export type GetMapPlacesByIdsResponse =
|
|
197
|
+
Message<"api.open.v1.GetMapPlacesByIdsResponse"> & {
|
|
198
|
+
/**
|
|
199
|
+
* @generated from field: repeated api.open.v1.MapPlace places = 1;
|
|
200
|
+
*/
|
|
201
|
+
places: MapPlace[];
|
|
202
|
+
};
|
|
203
|
+
|
|
204
|
+
/**
|
|
205
|
+
* Describes the message api.open.v1.GetMapPlacesByIdsResponse.
|
|
206
|
+
* Use `create(GetMapPlacesByIdsResponseSchema)` to create a new message.
|
|
207
|
+
*/
|
|
208
|
+
export const GetMapPlacesByIdsResponseSchema: GenMessage<GetMapPlacesByIdsResponse> =
|
|
209
|
+
/*@__PURE__*/
|
|
210
|
+
messageDesc(file_api_open_v1_map_place, 4);
|
|
211
|
+
|
|
212
|
+
/**
|
|
213
|
+
* MapPlaceService provides public access to map places
|
|
214
|
+
*
|
|
215
|
+
* @generated from service api.open.v1.MapPlaceService
|
|
216
|
+
*/
|
|
217
|
+
export const MapPlaceService: GenService<{
|
|
218
|
+
/**
|
|
219
|
+
* GetByIds returns multiple map places by IDs
|
|
220
|
+
*
|
|
221
|
+
* @generated from rpc api.open.v1.MapPlaceService.GetByIds
|
|
222
|
+
*/
|
|
223
|
+
getByIds: {
|
|
224
|
+
methodKind: "unary";
|
|
225
|
+
input: typeof GetMapPlacesByIdsRequestSchema;
|
|
226
|
+
output: typeof GetMapPlacesByIdsResponseSchema;
|
|
227
|
+
};
|
|
228
|
+
}> = /*@__PURE__*/ serviceDesc(file_api_open_v1_map_place, 0);
|