@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,477 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.14.0 with parameter "target=ts,import_extension=ts"
|
|
2
|
+
// @generated from file api/intra/v1/work.proto (package api.intra.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 {
|
|
14
|
+
ContentBlockMediaItem,
|
|
15
|
+
LocalizedRichTextDocument,
|
|
16
|
+
RichTextBlockMutationBatch,
|
|
17
|
+
} from "../../content/v1/block_content_pb.ts";
|
|
18
|
+
import { file_api_content_v1_block_content } from "../../content/v1/block_content_pb.ts";
|
|
19
|
+
import type { CollaborationPrincipal } from "./collaboration_pb.ts";
|
|
20
|
+
import { file_api_intra_v1_collaboration } from "./collaboration_pb.ts";
|
|
21
|
+
import type { AIDocumentFieldTarget } from "../../manage/v1/ai_pb.ts";
|
|
22
|
+
import { file_api_manage_v1_ai } from "../../manage/v1/ai_pb.ts";
|
|
23
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* Describes the file api/intra/v1/work.proto.
|
|
27
|
+
*/
|
|
28
|
+
export const file_api_intra_v1_work: GenFile =
|
|
29
|
+
/*@__PURE__*/
|
|
30
|
+
fileDesc(
|
|
31
|
+
"ChdhcGkvaW50cmEvdjEvd29yay5wcm90bxIMYXBpLmludHJhLnYxIngKHExvYWRXb3JrQmxvY2tEb2N1bWVudFJlcXVlc3QSDwoHd29ya19pZBgBIAEoCRI3CglwcmluY2lwYWwYAiABKAsyJC5hcGkuaW50cmEudjEuQ29sbGFib3JhdGlvblByaW5jaXBhbBIOCgZsb2NhbGUYAyABKAki4AMKHUxvYWRXb3JrQmxvY2tEb2N1bWVudFJlc3BvbnNlEjsKCGRvY3VtZW50GAEgASgLMikuYXBpLmNvbnRlbnQudjEuTG9jYWxpemVkUmljaFRleHREb2N1bWVudBIZChFkb2N1bWVudF9yZXZpc2lvbhgCIAEoCRI6CgtibG9ja19tZWRpYRgDIAMoCzIlLmFwaS5jb250ZW50LnYxLkNvbnRlbnRCbG9ja01lZGlhSXRlbRI5Cg9zb3VyY2VfbWV0YWRhdGEYBCABKAsyIC5hcGkuaW50cmEudjEuV29ya0xvY2FsZU1ldGFkYXRhEg4KBmxvY2FsZRgFIAEoCRIVCg1sb2NhbGVfZXhpc3RzGAYgASgIEj4KD2xvY2FsZV9tZXRhZGF0YRgHIAEoCzIgLmFwaS5pbnRyYS52MS5Xb3JrTG9jYWxlTWV0YWRhdGFIAIgBARIcCg90YXJnZXRfcmV2aXNpb24YCCABKAlIAYgBARJDChVwcmVzZW50X2xvY2FsZV92YWx1ZXMYCSADKAsyJC5hcGkubWFuYWdlLnYxLkFJRG9jdW1lbnRGaWVsZFRhcmdldEISChBfbG9jYWxlX21ldGFkYXRhQhIKEF90YXJnZXRfcmV2aXNpb24iZAoSV29ya0xvY2FsZU1ldGFkYXRhEg4KBmxvY2FsZRgBIAEoC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hLnYxLlVwZGF0ZVdvcmtMb2NhbGVNZXRhZGF0YVJlc3BvbnNlEoIBChtDcmVhdGVXb3JrVmVyc2lvbkNoZWNrcG9pbnQSMC5hcGkuaW50cmEudjEuQ3JlYXRlV29ya1ZlcnNpb25DaGVja3BvaW50UmVxdWVzdBoxLmFwaS5pbnRyYS52MS5DcmVhdGVXb3JrVmVyc2lvbkNoZWNrcG9pbnRSZXNwb25zZUKsAQoQY29tLmFwaS5pbnRyYS52MUIJV29ya1Byb3RvUAFaO2dpdGh1Yi5jb20vZHN1Yi1pby9ldmVudC1jb250cmFjdHMvZ2VuL2FwaS9pbnRyYS92MTtpbnRyYXYxogIDQUlYqgIMQXBpLkludHJhLlYxygIMQXBpXEludHJhXFYx4gIYQXBpXEludHJhXFYxXEdQQk1ldGFkYXRh6gIOQXBpOjpJbnRyYTo6VjFiBnByb3RvMw",
|
|
32
|
+
[
|
|
33
|
+
file_api_content_v1_block_content,
|
|
34
|
+
file_api_intra_v1_collaboration,
|
|
35
|
+
file_api_manage_v1_ai,
|
|
36
|
+
],
|
|
37
|
+
);
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* @generated from message api.intra.v1.LoadWorkBlockDocumentRequest
|
|
41
|
+
*/
|
|
42
|
+
export type LoadWorkBlockDocumentRequest =
|
|
43
|
+
Message<"api.intra.v1.LoadWorkBlockDocumentRequest"> & {
|
|
44
|
+
/**
|
|
45
|
+
* @generated from field: string work_id = 1;
|
|
46
|
+
*/
|
|
47
|
+
workId: string;
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* @generated from field: api.intra.v1.CollaborationPrincipal principal = 2;
|
|
51
|
+
*/
|
|
52
|
+
principal?: CollaborationPrincipal | undefined;
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* @generated from field: string locale = 3;
|
|
56
|
+
*/
|
|
57
|
+
locale: string;
|
|
58
|
+
};
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* Describes the message api.intra.v1.LoadWorkBlockDocumentRequest.
|
|
62
|
+
* Use `create(LoadWorkBlockDocumentRequestSchema)` to create a new message.
|
|
63
|
+
*/
|
|
64
|
+
export const LoadWorkBlockDocumentRequestSchema: GenMessage<LoadWorkBlockDocumentRequest> =
|
|
65
|
+
/*@__PURE__*/
|
|
66
|
+
messageDesc(file_api_intra_v1_work, 0);
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* @generated from message api.intra.v1.LoadWorkBlockDocumentResponse
|
|
70
|
+
*/
|
|
71
|
+
export type LoadWorkBlockDocumentResponse =
|
|
72
|
+
Message<"api.intra.v1.LoadWorkBlockDocumentResponse"> & {
|
|
73
|
+
/**
|
|
74
|
+
* @generated from field: api.content.v1.LocalizedRichTextDocument document = 1;
|
|
75
|
+
*/
|
|
76
|
+
document?: LocalizedRichTextDocument | undefined;
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* Persisted content_document.revision for the shared/source graph only.
|
|
80
|
+
* Target-only writes must not advance it.
|
|
81
|
+
*
|
|
82
|
+
* @generated from field: string document_revision = 2;
|
|
83
|
+
*/
|
|
84
|
+
documentRevision: string;
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* @generated from field: repeated api.content.v1.ContentBlockMediaItem block_media = 3;
|
|
88
|
+
*/
|
|
89
|
+
blockMedia: ContentBlockMediaItem[];
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* @generated from field: api.intra.v1.WorkLocaleMetadata source_metadata = 4;
|
|
93
|
+
*/
|
|
94
|
+
sourceMetadata?: WorkLocaleMetadata | undefined;
|
|
95
|
+
|
|
96
|
+
/**
|
|
97
|
+
* @generated from field: string locale = 5;
|
|
98
|
+
*/
|
|
99
|
+
locale: string;
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* @generated from field: bool locale_exists = 6;
|
|
103
|
+
*/
|
|
104
|
+
localeExists: boolean;
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* @generated from field: optional api.intra.v1.WorkLocaleMetadata locale_metadata = 7;
|
|
108
|
+
*/
|
|
109
|
+
localeMetadata?: WorkLocaleMetadata | undefined;
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* @generated from field: optional string target_revision = 8;
|
|
113
|
+
*/
|
|
114
|
+
targetRevision?: string | undefined;
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* Exact persisted locale-owned leaf-terminal presence for the requested room
|
|
118
|
+
* locale; never inferred from materialized/source-fallback values. Source and
|
|
119
|
+
* target rooms report actual presence; a missing target reports an empty list.
|
|
120
|
+
* Order is meaningless; producers emit canonical-sorted, duplicate-free
|
|
121
|
+
* targets. relation_item, shared/topology/File, identity-terminal (row_id,
|
|
122
|
+
* cell_id, Page unit_id), and composite object/list targets are forbidden.
|
|
123
|
+
*
|
|
124
|
+
* @generated from field: repeated api.manage.v1.AIDocumentFieldTarget present_locale_values = 9;
|
|
125
|
+
*/
|
|
126
|
+
presentLocaleValues: AIDocumentFieldTarget[];
|
|
127
|
+
};
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* Describes the message api.intra.v1.LoadWorkBlockDocumentResponse.
|
|
131
|
+
* Use `create(LoadWorkBlockDocumentResponseSchema)` to create a new message.
|
|
132
|
+
*/
|
|
133
|
+
export const LoadWorkBlockDocumentResponseSchema: GenMessage<LoadWorkBlockDocumentResponse> =
|
|
134
|
+
/*@__PURE__*/
|
|
135
|
+
messageDesc(file_api_intra_v1_work, 1);
|
|
136
|
+
|
|
137
|
+
/**
|
|
138
|
+
* @generated from message api.intra.v1.WorkLocaleMetadata
|
|
139
|
+
*/
|
|
140
|
+
export type WorkLocaleMetadata = Message<"api.intra.v1.WorkLocaleMetadata"> & {
|
|
141
|
+
/**
|
|
142
|
+
* @generated from field: string locale = 1;
|
|
143
|
+
*/
|
|
144
|
+
locale: string;
|
|
145
|
+
|
|
146
|
+
/**
|
|
147
|
+
* @generated from field: optional string summary = 2;
|
|
148
|
+
*/
|
|
149
|
+
summary?: string | undefined;
|
|
150
|
+
|
|
151
|
+
/**
|
|
152
|
+
* @generated from field: optional string title = 3;
|
|
153
|
+
*/
|
|
154
|
+
title?: string | undefined;
|
|
155
|
+
};
|
|
156
|
+
|
|
157
|
+
/**
|
|
158
|
+
* Describes the message api.intra.v1.WorkLocaleMetadata.
|
|
159
|
+
* Use `create(WorkLocaleMetadataSchema)` to create a new message.
|
|
160
|
+
*/
|
|
161
|
+
export const WorkLocaleMetadataSchema: GenMessage<WorkLocaleMetadata> =
|
|
162
|
+
/*@__PURE__*/
|
|
163
|
+
messageDesc(file_api_intra_v1_work, 2);
|
|
164
|
+
|
|
165
|
+
/**
|
|
166
|
+
* @generated from message api.intra.v1.ApplyWorkBlockBatchRequest
|
|
167
|
+
*/
|
|
168
|
+
export type ApplyWorkBlockBatchRequest =
|
|
169
|
+
Message<"api.intra.v1.ApplyWorkBlockBatchRequest"> & {
|
|
170
|
+
/**
|
|
171
|
+
* @generated from field: string work_id = 1;
|
|
172
|
+
*/
|
|
173
|
+
workId: string;
|
|
174
|
+
|
|
175
|
+
/**
|
|
176
|
+
* @generated from field: api.content.v1.RichTextBlockMutationBatch batch = 2;
|
|
177
|
+
*/
|
|
178
|
+
batch?: RichTextBlockMutationBatch | undefined;
|
|
179
|
+
|
|
180
|
+
/**
|
|
181
|
+
* @generated from field: string locale = 3;
|
|
182
|
+
*/
|
|
183
|
+
locale: string;
|
|
184
|
+
|
|
185
|
+
/**
|
|
186
|
+
* Required for every existing non-source save; absent for source. Missing
|
|
187
|
+
* targets are rejected until explicit create commits and the room reconnects.
|
|
188
|
+
*
|
|
189
|
+
* @generated from field: optional string expected_target_revision = 4;
|
|
190
|
+
*/
|
|
191
|
+
expectedTargetRevision?: string | undefined;
|
|
192
|
+
|
|
193
|
+
/**
|
|
194
|
+
* Actual changed locale-owned leaf terminals in this batch, including
|
|
195
|
+
* explicit-empty writes and presence removal. Callers emit canonical-sorted,
|
|
196
|
+
* duplicate-free targets. relation_item, shared/topology/File,
|
|
197
|
+
* identity-terminal (row_id, cell_id, Page unit_id), and composite object/list
|
|
198
|
+
* targets are forbidden. Source/shared-only batches send an empty list.
|
|
199
|
+
*
|
|
200
|
+
* @generated from field: repeated api.manage.v1.AIDocumentFieldTarget affected_locale_values = 5;
|
|
201
|
+
*/
|
|
202
|
+
affectedLocaleValues: AIDocumentFieldTarget[];
|
|
203
|
+
};
|
|
204
|
+
|
|
205
|
+
/**
|
|
206
|
+
* Describes the message api.intra.v1.ApplyWorkBlockBatchRequest.
|
|
207
|
+
* Use `create(ApplyWorkBlockBatchRequestSchema)` to create a new message.
|
|
208
|
+
*/
|
|
209
|
+
export const ApplyWorkBlockBatchRequestSchema: GenMessage<ApplyWorkBlockBatchRequest> =
|
|
210
|
+
/*@__PURE__*/
|
|
211
|
+
messageDesc(file_api_intra_v1_work, 3);
|
|
212
|
+
|
|
213
|
+
/**
|
|
214
|
+
* @generated from message api.intra.v1.ApplyWorkBlockBatchResponse
|
|
215
|
+
*/
|
|
216
|
+
export type ApplyWorkBlockBatchResponse =
|
|
217
|
+
Message<"api.intra.v1.ApplyWorkBlockBatchResponse"> & {
|
|
218
|
+
/**
|
|
219
|
+
* @generated from field: string document_revision = 1;
|
|
220
|
+
*/
|
|
221
|
+
documentRevision: string;
|
|
222
|
+
|
|
223
|
+
/**
|
|
224
|
+
* @generated from field: bool changed = 2;
|
|
225
|
+
*/
|
|
226
|
+
changed: boolean;
|
|
227
|
+
|
|
228
|
+
/**
|
|
229
|
+
* @generated from field: bool source_changed = 3;
|
|
230
|
+
*/
|
|
231
|
+
sourceChanged: boolean;
|
|
232
|
+
|
|
233
|
+
/**
|
|
234
|
+
* @generated from field: repeated string changed_locales = 4;
|
|
235
|
+
*/
|
|
236
|
+
changedLocales: string[];
|
|
237
|
+
|
|
238
|
+
/**
|
|
239
|
+
* @generated from field: string locale = 5;
|
|
240
|
+
*/
|
|
241
|
+
locale: string;
|
|
242
|
+
|
|
243
|
+
/**
|
|
244
|
+
* @generated from field: optional string target_revision = 6;
|
|
245
|
+
*/
|
|
246
|
+
targetRevision?: string | undefined;
|
|
247
|
+
};
|
|
248
|
+
|
|
249
|
+
/**
|
|
250
|
+
* Describes the message api.intra.v1.ApplyWorkBlockBatchResponse.
|
|
251
|
+
* Use `create(ApplyWorkBlockBatchResponseSchema)` to create a new message.
|
|
252
|
+
*/
|
|
253
|
+
export const ApplyWorkBlockBatchResponseSchema: GenMessage<ApplyWorkBlockBatchResponse> =
|
|
254
|
+
/*@__PURE__*/
|
|
255
|
+
messageDesc(file_api_intra_v1_work, 4);
|
|
256
|
+
|
|
257
|
+
/**
|
|
258
|
+
* @generated from message api.intra.v1.UpdateWorkLocaleMetadataRequest
|
|
259
|
+
*/
|
|
260
|
+
export type UpdateWorkLocaleMetadataRequest =
|
|
261
|
+
Message<"api.intra.v1.UpdateWorkLocaleMetadataRequest"> & {
|
|
262
|
+
/**
|
|
263
|
+
* @generated from field: string work_id = 1;
|
|
264
|
+
*/
|
|
265
|
+
workId: string;
|
|
266
|
+
|
|
267
|
+
/**
|
|
268
|
+
* @generated from field: optional string title = 2;
|
|
269
|
+
*/
|
|
270
|
+
title?: string | undefined;
|
|
271
|
+
|
|
272
|
+
/**
|
|
273
|
+
* @generated from oneof api.intra.v1.UpdateWorkLocaleMetadataRequest.summary_update
|
|
274
|
+
*/
|
|
275
|
+
summaryUpdate:
|
|
276
|
+
| {
|
|
277
|
+
/**
|
|
278
|
+
* @generated from field: string summary = 3;
|
|
279
|
+
*/
|
|
280
|
+
value: string;
|
|
281
|
+
case: "summary";
|
|
282
|
+
}
|
|
283
|
+
| {
|
|
284
|
+
/**
|
|
285
|
+
* @generated from field: bool clear_summary = 4;
|
|
286
|
+
*/
|
|
287
|
+
value: boolean;
|
|
288
|
+
case: "clearSummary";
|
|
289
|
+
}
|
|
290
|
+
| { case: undefined; value?: undefined };
|
|
291
|
+
|
|
292
|
+
/**
|
|
293
|
+
* @generated from field: string expected_revision = 5;
|
|
294
|
+
*/
|
|
295
|
+
expectedRevision: string;
|
|
296
|
+
|
|
297
|
+
/**
|
|
298
|
+
* @generated from field: repeated string contributor_member_ids = 6;
|
|
299
|
+
*/
|
|
300
|
+
contributorMemberIds: string[];
|
|
301
|
+
|
|
302
|
+
/**
|
|
303
|
+
* Exact canonical room locale. Existing non-source rooms may change only
|
|
304
|
+
* these values; a missing target is not created by this RPC.
|
|
305
|
+
*
|
|
306
|
+
* @generated from field: string locale = 7;
|
|
307
|
+
*/
|
|
308
|
+
locale: string;
|
|
309
|
+
|
|
310
|
+
/**
|
|
311
|
+
* Required for every existing non-source save; absent for source.
|
|
312
|
+
*
|
|
313
|
+
* @generated from field: optional string expected_target_revision = 8;
|
|
314
|
+
*/
|
|
315
|
+
expectedTargetRevision?: string | undefined;
|
|
316
|
+
};
|
|
317
|
+
|
|
318
|
+
/**
|
|
319
|
+
* Describes the message api.intra.v1.UpdateWorkLocaleMetadataRequest.
|
|
320
|
+
* Use `create(UpdateWorkLocaleMetadataRequestSchema)` to create a new message.
|
|
321
|
+
*/
|
|
322
|
+
export const UpdateWorkLocaleMetadataRequestSchema: GenMessage<UpdateWorkLocaleMetadataRequest> =
|
|
323
|
+
/*@__PURE__*/
|
|
324
|
+
messageDesc(file_api_intra_v1_work, 5);
|
|
325
|
+
|
|
326
|
+
/**
|
|
327
|
+
* @generated from message api.intra.v1.UpdateWorkLocaleMetadataResponse
|
|
328
|
+
*/
|
|
329
|
+
export type UpdateWorkLocaleMetadataResponse =
|
|
330
|
+
Message<"api.intra.v1.UpdateWorkLocaleMetadataResponse"> & {
|
|
331
|
+
/**
|
|
332
|
+
* @generated from field: string document_revision = 1;
|
|
333
|
+
*/
|
|
334
|
+
documentRevision: string;
|
|
335
|
+
|
|
336
|
+
/**
|
|
337
|
+
* @generated from field: bool changed = 2;
|
|
338
|
+
*/
|
|
339
|
+
changed: boolean;
|
|
340
|
+
|
|
341
|
+
/**
|
|
342
|
+
* @generated from field: bool source_changed = 3;
|
|
343
|
+
*/
|
|
344
|
+
sourceChanged: boolean;
|
|
345
|
+
|
|
346
|
+
/**
|
|
347
|
+
* @generated from field: repeated string changed_locales = 4;
|
|
348
|
+
*/
|
|
349
|
+
changedLocales: string[];
|
|
350
|
+
|
|
351
|
+
/**
|
|
352
|
+
* @generated from field: string locale = 5;
|
|
353
|
+
*/
|
|
354
|
+
locale: string;
|
|
355
|
+
|
|
356
|
+
/**
|
|
357
|
+
* @generated from field: optional string target_revision = 6;
|
|
358
|
+
*/
|
|
359
|
+
targetRevision?: string | undefined;
|
|
360
|
+
};
|
|
361
|
+
|
|
362
|
+
/**
|
|
363
|
+
* Describes the message api.intra.v1.UpdateWorkLocaleMetadataResponse.
|
|
364
|
+
* Use `create(UpdateWorkLocaleMetadataResponseSchema)` to create a new message.
|
|
365
|
+
*/
|
|
366
|
+
export const UpdateWorkLocaleMetadataResponseSchema: GenMessage<UpdateWorkLocaleMetadataResponse> =
|
|
367
|
+
/*@__PURE__*/
|
|
368
|
+
messageDesc(file_api_intra_v1_work, 6);
|
|
369
|
+
|
|
370
|
+
/**
|
|
371
|
+
* @generated from message api.intra.v1.CreateWorkVersionCheckpointRequest
|
|
372
|
+
*/
|
|
373
|
+
export type CreateWorkVersionCheckpointRequest =
|
|
374
|
+
Message<"api.intra.v1.CreateWorkVersionCheckpointRequest"> & {
|
|
375
|
+
/**
|
|
376
|
+
* @generated from field: string work_id = 1;
|
|
377
|
+
*/
|
|
378
|
+
workId: string;
|
|
379
|
+
|
|
380
|
+
/**
|
|
381
|
+
* @generated from field: string expected_revision = 2;
|
|
382
|
+
*/
|
|
383
|
+
expectedRevision: string;
|
|
384
|
+
|
|
385
|
+
/**
|
|
386
|
+
* @generated from field: repeated string contributor_member_ids = 3;
|
|
387
|
+
*/
|
|
388
|
+
contributorMemberIds: string[];
|
|
389
|
+
|
|
390
|
+
/**
|
|
391
|
+
* @generated from field: string locale = 4;
|
|
392
|
+
*/
|
|
393
|
+
locale: string;
|
|
394
|
+
};
|
|
395
|
+
|
|
396
|
+
/**
|
|
397
|
+
* Describes the message api.intra.v1.CreateWorkVersionCheckpointRequest.
|
|
398
|
+
* Use `create(CreateWorkVersionCheckpointRequestSchema)` to create a new message.
|
|
399
|
+
*/
|
|
400
|
+
export const CreateWorkVersionCheckpointRequestSchema: GenMessage<CreateWorkVersionCheckpointRequest> =
|
|
401
|
+
/*@__PURE__*/
|
|
402
|
+
messageDesc(file_api_intra_v1_work, 7);
|
|
403
|
+
|
|
404
|
+
/**
|
|
405
|
+
* @generated from message api.intra.v1.CreateWorkVersionCheckpointResponse
|
|
406
|
+
*/
|
|
407
|
+
export type CreateWorkVersionCheckpointResponse =
|
|
408
|
+
Message<"api.intra.v1.CreateWorkVersionCheckpointResponse"> & {
|
|
409
|
+
/**
|
|
410
|
+
* @generated from field: bool created = 1;
|
|
411
|
+
*/
|
|
412
|
+
created: boolean;
|
|
413
|
+
|
|
414
|
+
/**
|
|
415
|
+
* @generated from field: optional string version_id = 2;
|
|
416
|
+
*/
|
|
417
|
+
versionId?: string | undefined;
|
|
418
|
+
|
|
419
|
+
/**
|
|
420
|
+
* @generated from field: string revision = 3;
|
|
421
|
+
*/
|
|
422
|
+
revision: string;
|
|
423
|
+
|
|
424
|
+
/**
|
|
425
|
+
* @generated from field: string locale = 4;
|
|
426
|
+
*/
|
|
427
|
+
locale: string;
|
|
428
|
+
};
|
|
429
|
+
|
|
430
|
+
/**
|
|
431
|
+
* Describes the message api.intra.v1.CreateWorkVersionCheckpointResponse.
|
|
432
|
+
* Use `create(CreateWorkVersionCheckpointResponseSchema)` to create a new message.
|
|
433
|
+
*/
|
|
434
|
+
export const CreateWorkVersionCheckpointResponseSchema: GenMessage<CreateWorkVersionCheckpointResponse> =
|
|
435
|
+
/*@__PURE__*/
|
|
436
|
+
messageDesc(file_api_intra_v1_work, 8);
|
|
437
|
+
|
|
438
|
+
/**
|
|
439
|
+
* InternalWorkService is the trusted collaboration adapter for typed Work
|
|
440
|
+
* Blocks and source metadata. Yjs remains collaboration runtime state only.
|
|
441
|
+
*
|
|
442
|
+
* @generated from service api.intra.v1.InternalWorkService
|
|
443
|
+
*/
|
|
444
|
+
export const InternalWorkService: GenService<{
|
|
445
|
+
/**
|
|
446
|
+
* @generated from rpc api.intra.v1.InternalWorkService.LoadWorkBlockDocument
|
|
447
|
+
*/
|
|
448
|
+
loadWorkBlockDocument: {
|
|
449
|
+
methodKind: "unary";
|
|
450
|
+
input: typeof LoadWorkBlockDocumentRequestSchema;
|
|
451
|
+
output: typeof LoadWorkBlockDocumentResponseSchema;
|
|
452
|
+
};
|
|
453
|
+
/**
|
|
454
|
+
* @generated from rpc api.intra.v1.InternalWorkService.ApplyWorkBlockBatch
|
|
455
|
+
*/
|
|
456
|
+
applyWorkBlockBatch: {
|
|
457
|
+
methodKind: "unary";
|
|
458
|
+
input: typeof ApplyWorkBlockBatchRequestSchema;
|
|
459
|
+
output: typeof ApplyWorkBlockBatchResponseSchema;
|
|
460
|
+
};
|
|
461
|
+
/**
|
|
462
|
+
* @generated from rpc api.intra.v1.InternalWorkService.UpdateWorkLocaleMetadata
|
|
463
|
+
*/
|
|
464
|
+
updateWorkLocaleMetadata: {
|
|
465
|
+
methodKind: "unary";
|
|
466
|
+
input: typeof UpdateWorkLocaleMetadataRequestSchema;
|
|
467
|
+
output: typeof UpdateWorkLocaleMetadataResponseSchema;
|
|
468
|
+
};
|
|
469
|
+
/**
|
|
470
|
+
* @generated from rpc api.intra.v1.InternalWorkService.CreateWorkVersionCheckpoint
|
|
471
|
+
*/
|
|
472
|
+
createWorkVersionCheckpoint: {
|
|
473
|
+
methodKind: "unary";
|
|
474
|
+
input: typeof CreateWorkVersionCheckpointRequestSchema;
|
|
475
|
+
output: typeof CreateWorkVersionCheckpointResponseSchema;
|
|
476
|
+
};
|
|
477
|
+
}> = /*@__PURE__*/ serviceDesc(file_api_intra_v1_work, 0);
|