@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,351 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.14.0 with parameter "target=ts,import_extension=ts"
|
|
2
|
+
// @generated from file api/manage/v1/share_link.proto (package api.manage.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 { file_api_policy_v1_access } from "../../policy/v1/access_pb.ts";
|
|
16
|
+
import type { Timestamp } from "@bufbuild/protobuf/wkt";
|
|
17
|
+
import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
|
|
18
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Describes the file api/manage/v1/share_link.proto.
|
|
22
|
+
*/
|
|
23
|
+
export const file_api_manage_v1_share_link: GenFile =
|
|
24
|
+
/*@__PURE__*/
|
|
25
|
+
fileDesc(
|
|
26
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ZXF1ZXN0GiYuYXBpLm1hbmFnZS52MS5EZWxldGVTaGFyZUxpbmtSZXNwb25zZSIGyvMYAggCQrgBChFjb20uYXBpLm1hbmFnZS52MUIOU2hhcmVMaW5rUHJvdG9QAVo9Z2l0aHViLmNvbS9kc3ViLWlvL2V2ZW50LWNvbnRyYWN0cy9nZW4vYXBpL21hbmFnZS92MTttYW5hZ2V2MaICA0FNWKoCDUFwaS5NYW5hZ2UuVjHKAg1BcGlcTWFuYWdlXFYx4gIZQXBpXE1hbmFnZVxWMVxHUEJNZXRhZGF0YeoCD0FwaTo6TWFuYWdlOjpWMWIGcHJvdG8z",
|
|
27
|
+
[file_api_policy_v1_access, file_google_protobuf_timestamp],
|
|
28
|
+
);
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* @generated from message api.manage.v1.ShareLinkItem
|
|
32
|
+
*/
|
|
33
|
+
export type ShareLinkItem = Message<"api.manage.v1.ShareLinkItem"> & {
|
|
34
|
+
/**
|
|
35
|
+
* @generated from field: string id = 1;
|
|
36
|
+
*/
|
|
37
|
+
id: string;
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* @generated from field: api.manage.v1.ShareLinkEntityType entity_type = 2;
|
|
41
|
+
*/
|
|
42
|
+
entityType: ShareLinkEntityType;
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* @generated from field: string entity_id = 3;
|
|
46
|
+
*/
|
|
47
|
+
entityId: string;
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* @generated from field: string token = 4;
|
|
51
|
+
*/
|
|
52
|
+
token: string;
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* @generated from field: optional string label = 5;
|
|
56
|
+
*/
|
|
57
|
+
label?: string | undefined;
|
|
58
|
+
|
|
59
|
+
/**
|
|
60
|
+
* @generated from field: string url = 6;
|
|
61
|
+
*/
|
|
62
|
+
url: string;
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Always present. Omitted creation input receives the 7-day default.
|
|
66
|
+
*
|
|
67
|
+
* @generated from field: google.protobuf.Timestamp expires_at = 7;
|
|
68
|
+
*/
|
|
69
|
+
expiresAt?: Timestamp | undefined;
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
* @generated from field: google.protobuf.Timestamp created_at = 8;
|
|
73
|
+
*/
|
|
74
|
+
createdAt?: Timestamp | undefined;
|
|
75
|
+
|
|
76
|
+
/**
|
|
77
|
+
* @generated from field: bool has_password = 9;
|
|
78
|
+
*/
|
|
79
|
+
hasPassword: boolean;
|
|
80
|
+
};
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* Describes the message api.manage.v1.ShareLinkItem.
|
|
84
|
+
* Use `create(ShareLinkItemSchema)` to create a new message.
|
|
85
|
+
*/
|
|
86
|
+
export const ShareLinkItemSchema: GenMessage<ShareLinkItem> =
|
|
87
|
+
/*@__PURE__*/
|
|
88
|
+
messageDesc(file_api_manage_v1_share_link, 0);
|
|
89
|
+
|
|
90
|
+
/**
|
|
91
|
+
* ListShareLinksRequest - list share links for an entity
|
|
92
|
+
*
|
|
93
|
+
* @generated from message api.manage.v1.ListShareLinksRequest
|
|
94
|
+
*/
|
|
95
|
+
export type ListShareLinksRequest =
|
|
96
|
+
Message<"api.manage.v1.ListShareLinksRequest"> & {
|
|
97
|
+
/**
|
|
98
|
+
* @generated from field: api.manage.v1.ShareLinkEntityType entity_type = 1;
|
|
99
|
+
*/
|
|
100
|
+
entityType: ShareLinkEntityType;
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* @generated from field: string entity_id = 2;
|
|
104
|
+
*/
|
|
105
|
+
entityId: string;
|
|
106
|
+
};
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* Describes the message api.manage.v1.ListShareLinksRequest.
|
|
110
|
+
* Use `create(ListShareLinksRequestSchema)` to create a new message.
|
|
111
|
+
*/
|
|
112
|
+
export const ListShareLinksRequestSchema: GenMessage<ListShareLinksRequest> =
|
|
113
|
+
/*@__PURE__*/
|
|
114
|
+
messageDesc(file_api_manage_v1_share_link, 1);
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* ListShareLinksResponse
|
|
118
|
+
*
|
|
119
|
+
* @generated from message api.manage.v1.ListShareLinksResponse
|
|
120
|
+
*/
|
|
121
|
+
export type ListShareLinksResponse =
|
|
122
|
+
Message<"api.manage.v1.ListShareLinksResponse"> & {
|
|
123
|
+
/**
|
|
124
|
+
* @generated from field: repeated api.manage.v1.ShareLinkItem share_links = 1;
|
|
125
|
+
*/
|
|
126
|
+
shareLinks: ShareLinkItem[];
|
|
127
|
+
};
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* Describes the message api.manage.v1.ListShareLinksResponse.
|
|
131
|
+
* Use `create(ListShareLinksResponseSchema)` to create a new message.
|
|
132
|
+
*/
|
|
133
|
+
export const ListShareLinksResponseSchema: GenMessage<ListShareLinksResponse> =
|
|
134
|
+
/*@__PURE__*/
|
|
135
|
+
messageDesc(file_api_manage_v1_share_link, 2);
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* CreateShareLinkRequest - create a share link for an entity
|
|
139
|
+
*
|
|
140
|
+
* @generated from message api.manage.v1.CreateShareLinkRequest
|
|
141
|
+
*/
|
|
142
|
+
export type CreateShareLinkRequest =
|
|
143
|
+
Message<"api.manage.v1.CreateShareLinkRequest"> & {
|
|
144
|
+
/**
|
|
145
|
+
* @generated from field: api.manage.v1.ShareLinkEntityType entity_type = 1;
|
|
146
|
+
*/
|
|
147
|
+
entityType: ShareLinkEntityType;
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* @generated from field: string entity_id = 2;
|
|
151
|
+
*/
|
|
152
|
+
entityId: string;
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* @generated from field: optional string label = 3;
|
|
156
|
+
*/
|
|
157
|
+
label?: string | undefined;
|
|
158
|
+
|
|
159
|
+
/**
|
|
160
|
+
* Defaults to 7 days. The API rejects expirations after 1 year and never
|
|
161
|
+
* creates an unbounded link.
|
|
162
|
+
*
|
|
163
|
+
* @generated from field: optional google.protobuf.Timestamp expires_at = 4;
|
|
164
|
+
*/
|
|
165
|
+
expiresAt?: Timestamp | undefined;
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* Optional plaintext creation input. Only its password proof is persisted.
|
|
169
|
+
*
|
|
170
|
+
* @generated from field: optional string password = 5;
|
|
171
|
+
*/
|
|
172
|
+
password?: string | undefined;
|
|
173
|
+
};
|
|
174
|
+
|
|
175
|
+
/**
|
|
176
|
+
* Describes the message api.manage.v1.CreateShareLinkRequest.
|
|
177
|
+
* Use `create(CreateShareLinkRequestSchema)` to create a new message.
|
|
178
|
+
*/
|
|
179
|
+
export const CreateShareLinkRequestSchema: GenMessage<CreateShareLinkRequest> =
|
|
180
|
+
/*@__PURE__*/
|
|
181
|
+
messageDesc(file_api_manage_v1_share_link, 3);
|
|
182
|
+
|
|
183
|
+
/**
|
|
184
|
+
* CreateShareLinkResponse
|
|
185
|
+
*
|
|
186
|
+
* @generated from message api.manage.v1.CreateShareLinkResponse
|
|
187
|
+
*/
|
|
188
|
+
export type CreateShareLinkResponse =
|
|
189
|
+
Message<"api.manage.v1.CreateShareLinkResponse"> & {
|
|
190
|
+
/**
|
|
191
|
+
* @generated from field: api.manage.v1.ShareLinkItem share_link = 1;
|
|
192
|
+
*/
|
|
193
|
+
shareLink?: ShareLinkItem | undefined;
|
|
194
|
+
};
|
|
195
|
+
|
|
196
|
+
/**
|
|
197
|
+
* Describes the message api.manage.v1.CreateShareLinkResponse.
|
|
198
|
+
* Use `create(CreateShareLinkResponseSchema)` to create a new message.
|
|
199
|
+
*/
|
|
200
|
+
export const CreateShareLinkResponseSchema: GenMessage<CreateShareLinkResponse> =
|
|
201
|
+
/*@__PURE__*/
|
|
202
|
+
messageDesc(file_api_manage_v1_share_link, 4);
|
|
203
|
+
|
|
204
|
+
/**
|
|
205
|
+
* DeleteShareLinkRequest - delete a share link by ID
|
|
206
|
+
*
|
|
207
|
+
* @generated from message api.manage.v1.DeleteShareLinkRequest
|
|
208
|
+
*/
|
|
209
|
+
export type DeleteShareLinkRequest =
|
|
210
|
+
Message<"api.manage.v1.DeleteShareLinkRequest"> & {
|
|
211
|
+
/**
|
|
212
|
+
* @generated from field: string id = 1;
|
|
213
|
+
*/
|
|
214
|
+
id: string;
|
|
215
|
+
};
|
|
216
|
+
|
|
217
|
+
/**
|
|
218
|
+
* Describes the message api.manage.v1.DeleteShareLinkRequest.
|
|
219
|
+
* Use `create(DeleteShareLinkRequestSchema)` to create a new message.
|
|
220
|
+
*/
|
|
221
|
+
export const DeleteShareLinkRequestSchema: GenMessage<DeleteShareLinkRequest> =
|
|
222
|
+
/*@__PURE__*/
|
|
223
|
+
messageDesc(file_api_manage_v1_share_link, 5);
|
|
224
|
+
|
|
225
|
+
/**
|
|
226
|
+
* DeleteShareLinkResponse
|
|
227
|
+
*
|
|
228
|
+
* @generated from message api.manage.v1.DeleteShareLinkResponse
|
|
229
|
+
*/
|
|
230
|
+
export type DeleteShareLinkResponse =
|
|
231
|
+
Message<"api.manage.v1.DeleteShareLinkResponse"> & {
|
|
232
|
+
/**
|
|
233
|
+
* @generated from field: bool success = 1;
|
|
234
|
+
*/
|
|
235
|
+
success: boolean;
|
|
236
|
+
};
|
|
237
|
+
|
|
238
|
+
/**
|
|
239
|
+
* Describes the message api.manage.v1.DeleteShareLinkResponse.
|
|
240
|
+
* Use `create(DeleteShareLinkResponseSchema)` to create a new message.
|
|
241
|
+
*/
|
|
242
|
+
export const DeleteShareLinkResponseSchema: GenMessage<DeleteShareLinkResponse> =
|
|
243
|
+
/*@__PURE__*/
|
|
244
|
+
messageDesc(file_api_manage_v1_share_link, 6);
|
|
245
|
+
|
|
246
|
+
/**
|
|
247
|
+
* Entity types for share links
|
|
248
|
+
*
|
|
249
|
+
* @generated from enum api.manage.v1.ShareLinkEntityType
|
|
250
|
+
*/
|
|
251
|
+
export enum ShareLinkEntityType {
|
|
252
|
+
/**
|
|
253
|
+
* @generated from enum value: SHARE_LINK_ENTITY_TYPE_UNSPECIFIED = 0;
|
|
254
|
+
*/
|
|
255
|
+
UNSPECIFIED = 0,
|
|
256
|
+
|
|
257
|
+
/**
|
|
258
|
+
* @generated from enum value: SHARE_LINK_ENTITY_TYPE_POST = 1;
|
|
259
|
+
*/
|
|
260
|
+
POST = 1,
|
|
261
|
+
|
|
262
|
+
/**
|
|
263
|
+
* @generated from enum value: SHARE_LINK_ENTITY_TYPE_PAGE = 2;
|
|
264
|
+
*/
|
|
265
|
+
PAGE = 2,
|
|
266
|
+
|
|
267
|
+
/**
|
|
268
|
+
* @generated from enum value: SHARE_LINK_ENTITY_TYPE_WORK = 3;
|
|
269
|
+
*/
|
|
270
|
+
WORK = 3,
|
|
271
|
+
|
|
272
|
+
/**
|
|
273
|
+
* @generated from enum value: SHARE_LINK_ENTITY_TYPE_RELEASE = 4;
|
|
274
|
+
*/
|
|
275
|
+
RELEASE = 4,
|
|
276
|
+
|
|
277
|
+
/**
|
|
278
|
+
* @generated from enum value: SHARE_LINK_ENTITY_TYPE_FORM = 5;
|
|
279
|
+
*/
|
|
280
|
+
FORM = 5,
|
|
281
|
+
|
|
282
|
+
/**
|
|
283
|
+
* @generated from enum value: SHARE_LINK_ENTITY_TYPE_FORM_DASHBOARD = 6;
|
|
284
|
+
*/
|
|
285
|
+
FORM_DASHBOARD = 6,
|
|
286
|
+
|
|
287
|
+
/**
|
|
288
|
+
* @generated from enum value: SHARE_LINK_ENTITY_TYPE_PRIVACY = 7;
|
|
289
|
+
*/
|
|
290
|
+
PRIVACY = 7,
|
|
291
|
+
|
|
292
|
+
/**
|
|
293
|
+
* @generated from enum value: SHARE_LINK_ENTITY_TYPE_TERMS = 8;
|
|
294
|
+
*/
|
|
295
|
+
TERMS = 8,
|
|
296
|
+
|
|
297
|
+
/**
|
|
298
|
+
* @generated from enum value: SHARE_LINK_ENTITY_TYPE_LABEL = 9;
|
|
299
|
+
*/
|
|
300
|
+
LABEL = 9,
|
|
301
|
+
|
|
302
|
+
/**
|
|
303
|
+
* @generated from enum value: SHARE_LINK_ENTITY_TYPE_ARTIST = 10;
|
|
304
|
+
*/
|
|
305
|
+
ARTIST = 10,
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
/**
|
|
309
|
+
* Describes the enum api.manage.v1.ShareLinkEntityType.
|
|
310
|
+
*/
|
|
311
|
+
export const ShareLinkEntityTypeSchema: GenEnum<ShareLinkEntityType> =
|
|
312
|
+
/*@__PURE__*/
|
|
313
|
+
enumDesc(file_api_manage_v1_share_link, 0);
|
|
314
|
+
|
|
315
|
+
/**
|
|
316
|
+
* ShareLinkService provides operations for managing share links
|
|
317
|
+
*
|
|
318
|
+
* @generated from service api.manage.v1.ShareLinkService
|
|
319
|
+
*/
|
|
320
|
+
export const ShareLinkService: GenService<{
|
|
321
|
+
/**
|
|
322
|
+
* List all share links for an entity
|
|
323
|
+
*
|
|
324
|
+
* @generated from rpc api.manage.v1.ShareLinkService.ListShareLinks
|
|
325
|
+
*/
|
|
326
|
+
listShareLinks: {
|
|
327
|
+
methodKind: "unary";
|
|
328
|
+
input: typeof ListShareLinksRequestSchema;
|
|
329
|
+
output: typeof ListShareLinksResponseSchema;
|
|
330
|
+
};
|
|
331
|
+
/**
|
|
332
|
+
* Create a new share link
|
|
333
|
+
*
|
|
334
|
+
* @generated from rpc api.manage.v1.ShareLinkService.CreateShareLink
|
|
335
|
+
*/
|
|
336
|
+
createShareLink: {
|
|
337
|
+
methodKind: "unary";
|
|
338
|
+
input: typeof CreateShareLinkRequestSchema;
|
|
339
|
+
output: typeof CreateShareLinkResponseSchema;
|
|
340
|
+
};
|
|
341
|
+
/**
|
|
342
|
+
* Delete a share link
|
|
343
|
+
*
|
|
344
|
+
* @generated from rpc api.manage.v1.ShareLinkService.DeleteShareLink
|
|
345
|
+
*/
|
|
346
|
+
deleteShareLink: {
|
|
347
|
+
methodKind: "unary";
|
|
348
|
+
input: typeof DeleteShareLinkRequestSchema;
|
|
349
|
+
output: typeof DeleteShareLinkResponseSchema;
|
|
350
|
+
};
|
|
351
|
+
}> = /*@__PURE__*/ serviceDesc(file_api_manage_v1_share_link, 0);
|