@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,276 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.14.0 with parameter "target=ts,import_extension=ts"
|
|
2
|
+
// @generated from file api/intra/v1/form.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 { AIDocumentFieldTarget } from "../../manage/v1/ai_pb.ts";
|
|
14
|
+
import { file_api_manage_v1_ai } from "../../manage/v1/ai_pb.ts";
|
|
15
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Describes the file api/intra/v1/form.proto.
|
|
19
|
+
*/
|
|
20
|
+
export const file_api_intra_v1_form: GenFile =
|
|
21
|
+
/*@__PURE__*/
|
|
22
|
+
fileDesc(
|
|
23
|
+
"ChdhcGkvaW50cmEvdjEvZm9ybS5wcm90bxIMYXBpLmludHJhLnYxIkgKCEZvcm1NZXRhEhIKBXRpdGxlGAEgASgJSACIAQESEwoGc2NoZW1hGAIgASgJSAGIAQFCCAoGX3RpdGxlQgkKB19zY2hlbWEiuwIKF1NhdmVGb3JtRG9jdW1lbnRSZXF1ZXN0Eg8KB2Zvcm1faWQYASABKAkSKQoEbWV0YRgCIAEoCzIWLmFwaS5pbnRyYS52MS5Gb3JtTWV0YUgAiAEBEh4KFmNvbnRyaWJ1dG9yX21lbWJlcl9pZHMYAyADKAkSDgoGbG9jYWxlGAQgASgJEkMKFXByZXNlbnRfbG9jYWxlX3ZhbHVlcxgFIAMoCzIkLmFwaS5tYW5hZ2UudjEuQUlEb2N1bWVudEZpZWxkVGFyZ2V0EiIKGmV4cGVjdGVkX2RvY3VtZW50X3JldmlzaW9uGAYgASgJEiUKGGV4cGVjdGVkX3RhcmdldF9yZXZpc2lvbhgHIAEoCUgBiAEBQgcKBV9tZXRhQhsKGV9leHBlY3RlZF90YXJnZXRfcmV2aXNpb24iiAEKGFNhdmVGb3JtRG9jdW1lbnRSZXNwb25zZRIPCgdzdWNjZXNzGAEgASgIEg4KBmxvY2FsZRgCIAEoCRIZChFkb2N1bWVudF9yZXZpc2lvbhgDIAEoCRIcCg90YXJnZXRfcmV2aXNpb24YBCABKAlIAIgBAUISChBfdGFyZ2V0X3JldmlzaW9uIjoKF0xvYWRGb3JtRG9jdW1lbnRSZXF1ZXN0Eg8KB2Zvcm1faWQYASABKAkSDgoGbG9jYWxlGAIgASgJIuUCChhMb2FkRm9ybURvY3VtZW50UmVzcG9uc2USLwoPc291cmNlX21ldGFkYXRhGAEgASgLMhYuYXBpLmludHJhLnYxLkZvcm1NZXRhEjQKD2xvY2FsZV9tZXRhZGF0YRgCIAEoCzIWLmFwaS5pbnRyYS52MS5Gb3JtTWV0YUgAiAEBEhUKDXNvdXJjZV9sb2NhbGUYAyABKAkSDgoGbG9jYWxlGAQgASgJEhUKDWxvY2FsZV9leGlzdHMYBSABKAgSQwoVcHJlc2VudF9sb2NhbGVfdmFsdWVzGAYgAygLMiQuYXBpLm1hbmFnZS52MS5BSURvY3VtZW50RmllbGRUYXJnZXQSGQoRZG9jdW1lbnRfcmV2aXNpb24YByABKAkSHAoPdGFyZ2V0X3JldmlzaW9uGAggASgJSAGIAQFCEgoQX2xvY2FsZV9tZXRhZGF0YUISChBfdGFyZ2V0X3JldmlzaW9uMtMBChNJbnRlcm5hbEZvcm1TZXJ2aWNlEl0KDFNhdmVEb2N1bWVudBIlLmFwaS5pbnRyYS52MS5TYXZlRm9ybURvY3VtZW50UmVxdWVzdBomLmFwaS5pbnRyYS52MS5TYXZlRm9ybURvY3VtZW50UmVzcG9uc2USXQoMTG9hZERvY3VtZW50EiUuYXBpLmludHJhLnYxLkxvYWRGb3JtRG9jdW1lbnRSZXF1ZXN0GiYuYXBpLmludHJhLnYxLkxvYWRGb3JtRG9jdW1lbnRSZXNwb25zZUKsAQoQY29tLmFwaS5pbnRyYS52MUIJRm9ybVByb3RvUAFaO2dpdGh1Yi5jb20vZHN1Yi1pby9ldmVudC1jb250cmFjdHMvZ2VuL2FwaS9pbnRyYS92MTtpbnRyYXYxogIDQUlYqgIMQXBpLkludHJhLlYxygIMQXBpXEludHJhXFYx4gIYQXBpXEludHJhXFYxXEdQQk1ldGFkYXRh6gIOQXBpOjpJbnRyYTo6VjFiBnByb3RvMw",
|
|
24
|
+
[file_api_manage_v1_ai],
|
|
25
|
+
);
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* @generated from message api.intra.v1.FormMeta
|
|
29
|
+
*/
|
|
30
|
+
export type FormMeta = Message<"api.intra.v1.FormMeta"> & {
|
|
31
|
+
/**
|
|
32
|
+
* @generated from field: optional string title = 1;
|
|
33
|
+
*/
|
|
34
|
+
title?: string | undefined;
|
|
35
|
+
|
|
36
|
+
/**
|
|
37
|
+
* Canonical JSON string.
|
|
38
|
+
*
|
|
39
|
+
* @generated from field: optional string schema = 2;
|
|
40
|
+
*/
|
|
41
|
+
schema?: string | undefined;
|
|
42
|
+
};
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Describes the message api.intra.v1.FormMeta.
|
|
46
|
+
* Use `create(FormMetaSchema)` to create a new message.
|
|
47
|
+
*/
|
|
48
|
+
export const FormMetaSchema: GenMessage<FormMeta> =
|
|
49
|
+
/*@__PURE__*/
|
|
50
|
+
messageDesc(file_api_intra_v1_form, 0);
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* @generated from message api.intra.v1.SaveFormDocumentRequest
|
|
54
|
+
*/
|
|
55
|
+
export type SaveFormDocumentRequest =
|
|
56
|
+
Message<"api.intra.v1.SaveFormDocumentRequest"> & {
|
|
57
|
+
/**
|
|
58
|
+
* @generated from field: string form_id = 1;
|
|
59
|
+
*/
|
|
60
|
+
formId: string;
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* Whole canonical post-state owned by this exact room locale. The message is
|
|
64
|
+
* required semantically: schema must be present, an omitted title means the
|
|
65
|
+
* canonical title is absent/NULL, and an empty title is explicitly present.
|
|
66
|
+
* This message carries no patch history or lifecycle state.
|
|
67
|
+
*
|
|
68
|
+
* @generated from field: optional api.intra.v1.FormMeta meta = 2;
|
|
69
|
+
*/
|
|
70
|
+
meta?: FormMeta | undefined;
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* @generated from field: repeated string contributor_member_ids = 3;
|
|
74
|
+
*/
|
|
75
|
+
contributorMemberIds: string[];
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* Exact canonical collaboration room locale. The owning root source pointer
|
|
79
|
+
* is loaded by the API and protected by expected_document_revision.
|
|
80
|
+
*
|
|
81
|
+
* @generated from field: string locale = 4;
|
|
82
|
+
*/
|
|
83
|
+
locale: string;
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* Whole post-state declaration of locale-owned leaf terminals actually
|
|
87
|
+
* present in this exact room. The API validates source saves against
|
|
88
|
+
* canonical source presence and validates/preserves target saves as sparse
|
|
89
|
+
* target presence. It is never inferred from fallback/materialized values;
|
|
90
|
+
* callers send canonical-sorted, duplicate-free targets. relation_item,
|
|
91
|
+
* shared/topology/File, identity-terminal (row_id, cell_id, Page unit_id), and
|
|
92
|
+
* composite object/list targets are forbidden.
|
|
93
|
+
*
|
|
94
|
+
* @generated from field: repeated api.manage.v1.AIDocumentFieldTarget present_locale_values = 5;
|
|
95
|
+
*/
|
|
96
|
+
presentLocaleValues: AIDocumentFieldTarget[];
|
|
97
|
+
|
|
98
|
+
/**
|
|
99
|
+
* Current source/shared document CAS. A root source-locale pointer change
|
|
100
|
+
* advances this token and therefore fails a stale room save closed.
|
|
101
|
+
*
|
|
102
|
+
* @generated from field: string expected_document_revision = 6;
|
|
103
|
+
*/
|
|
104
|
+
expectedDocumentRevision: string;
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* Required for an existing non-source locale and absent for the source
|
|
108
|
+
* locale. Missing-target creation remains an AIDocument lifecycle operation.
|
|
109
|
+
*
|
|
110
|
+
* @generated from field: optional string expected_target_revision = 7;
|
|
111
|
+
*/
|
|
112
|
+
expectedTargetRevision?: string | undefined;
|
|
113
|
+
};
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* Describes the message api.intra.v1.SaveFormDocumentRequest.
|
|
117
|
+
* Use `create(SaveFormDocumentRequestSchema)` to create a new message.
|
|
118
|
+
*/
|
|
119
|
+
export const SaveFormDocumentRequestSchema: GenMessage<SaveFormDocumentRequest> =
|
|
120
|
+
/*@__PURE__*/
|
|
121
|
+
messageDesc(file_api_intra_v1_form, 1);
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* @generated from message api.intra.v1.SaveFormDocumentResponse
|
|
125
|
+
*/
|
|
126
|
+
export type SaveFormDocumentResponse =
|
|
127
|
+
Message<"api.intra.v1.SaveFormDocumentResponse"> & {
|
|
128
|
+
/**
|
|
129
|
+
* @generated from field: bool success = 1;
|
|
130
|
+
*/
|
|
131
|
+
success: boolean;
|
|
132
|
+
|
|
133
|
+
/**
|
|
134
|
+
* @generated from field: string locale = 2;
|
|
135
|
+
*/
|
|
136
|
+
locale: string;
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* @generated from field: string document_revision = 3;
|
|
140
|
+
*/
|
|
141
|
+
documentRevision: string;
|
|
142
|
+
|
|
143
|
+
/**
|
|
144
|
+
* @generated from field: optional string target_revision = 4;
|
|
145
|
+
*/
|
|
146
|
+
targetRevision?: string | undefined;
|
|
147
|
+
};
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* Describes the message api.intra.v1.SaveFormDocumentResponse.
|
|
151
|
+
* Use `create(SaveFormDocumentResponseSchema)` to create a new message.
|
|
152
|
+
*/
|
|
153
|
+
export const SaveFormDocumentResponseSchema: GenMessage<SaveFormDocumentResponse> =
|
|
154
|
+
/*@__PURE__*/
|
|
155
|
+
messageDesc(file_api_intra_v1_form, 2);
|
|
156
|
+
|
|
157
|
+
/**
|
|
158
|
+
* @generated from message api.intra.v1.LoadFormDocumentRequest
|
|
159
|
+
*/
|
|
160
|
+
export type LoadFormDocumentRequest =
|
|
161
|
+
Message<"api.intra.v1.LoadFormDocumentRequest"> & {
|
|
162
|
+
/**
|
|
163
|
+
* @generated from field: string form_id = 1;
|
|
164
|
+
*/
|
|
165
|
+
formId: string;
|
|
166
|
+
|
|
167
|
+
/**
|
|
168
|
+
* @generated from field: string locale = 2;
|
|
169
|
+
*/
|
|
170
|
+
locale: string;
|
|
171
|
+
};
|
|
172
|
+
|
|
173
|
+
/**
|
|
174
|
+
* Describes the message api.intra.v1.LoadFormDocumentRequest.
|
|
175
|
+
* Use `create(LoadFormDocumentRequestSchema)` to create a new message.
|
|
176
|
+
*/
|
|
177
|
+
export const LoadFormDocumentRequestSchema: GenMessage<LoadFormDocumentRequest> =
|
|
178
|
+
/*@__PURE__*/
|
|
179
|
+
messageDesc(file_api_intra_v1_form, 3);
|
|
180
|
+
|
|
181
|
+
/**
|
|
182
|
+
* @generated from message api.intra.v1.LoadFormDocumentResponse
|
|
183
|
+
*/
|
|
184
|
+
export type LoadFormDocumentResponse =
|
|
185
|
+
Message<"api.intra.v1.LoadFormDocumentResponse"> & {
|
|
186
|
+
/**
|
|
187
|
+
* Exact canonical source values. The source row is authoritative even when
|
|
188
|
+
* the requested target locale is missing.
|
|
189
|
+
*
|
|
190
|
+
* @generated from field: api.intra.v1.FormMeta source_metadata = 1;
|
|
191
|
+
*/
|
|
192
|
+
sourceMetadata?: FormMeta | undefined;
|
|
193
|
+
|
|
194
|
+
/**
|
|
195
|
+
* Exact canonical values from the requested locale row, present only when
|
|
196
|
+
* that row exists. A missing target is represented by locale_exists=false.
|
|
197
|
+
*
|
|
198
|
+
* @generated from field: optional api.intra.v1.FormMeta locale_metadata = 2;
|
|
199
|
+
*/
|
|
200
|
+
localeMetadata?: FormMeta | undefined;
|
|
201
|
+
|
|
202
|
+
/**
|
|
203
|
+
* @generated from field: string source_locale = 3;
|
|
204
|
+
*/
|
|
205
|
+
sourceLocale: string;
|
|
206
|
+
|
|
207
|
+
/**
|
|
208
|
+
* @generated from field: string locale = 4;
|
|
209
|
+
*/
|
|
210
|
+
locale: string;
|
|
211
|
+
|
|
212
|
+
/**
|
|
213
|
+
* @generated from field: bool locale_exists = 5;
|
|
214
|
+
*/
|
|
215
|
+
localeExists: boolean;
|
|
216
|
+
|
|
217
|
+
/**
|
|
218
|
+
* Exact persisted locale-owned leaf-terminal presence for the requested room
|
|
219
|
+
* locale; never inferred from materialized/source-fallback values. Source and
|
|
220
|
+
* target rooms report actual presence; a missing target reports an empty list.
|
|
221
|
+
* Order is meaningless; producers emit canonical-sorted, duplicate-free
|
|
222
|
+
* targets. relation_item, shared/topology/File, identity-terminal (row_id,
|
|
223
|
+
* cell_id, Page unit_id), and composite object/list targets are forbidden.
|
|
224
|
+
*
|
|
225
|
+
* @generated from field: repeated api.manage.v1.AIDocumentFieldTarget present_locale_values = 6;
|
|
226
|
+
*/
|
|
227
|
+
presentLocaleValues: AIDocumentFieldTarget[];
|
|
228
|
+
|
|
229
|
+
/**
|
|
230
|
+
* @generated from field: string document_revision = 7;
|
|
231
|
+
*/
|
|
232
|
+
documentRevision: string;
|
|
233
|
+
|
|
234
|
+
/**
|
|
235
|
+
* @generated from field: optional string target_revision = 8;
|
|
236
|
+
*/
|
|
237
|
+
targetRevision?: string | undefined;
|
|
238
|
+
};
|
|
239
|
+
|
|
240
|
+
/**
|
|
241
|
+
* Describes the message api.intra.v1.LoadFormDocumentResponse.
|
|
242
|
+
* Use `create(LoadFormDocumentResponseSchema)` to create a new message.
|
|
243
|
+
*/
|
|
244
|
+
export const LoadFormDocumentResponseSchema: GenMessage<LoadFormDocumentResponse> =
|
|
245
|
+
/*@__PURE__*/
|
|
246
|
+
messageDesc(file_api_intra_v1_form, 4);
|
|
247
|
+
|
|
248
|
+
/**
|
|
249
|
+
* InternalFormService provides internal-only access for form document operations.
|
|
250
|
+
* This service is NOT exposed via the public gateway and should only be called
|
|
251
|
+
* by trusted internal services (e.g., Collab server).
|
|
252
|
+
*
|
|
253
|
+
* @generated from service api.intra.v1.InternalFormService
|
|
254
|
+
*/
|
|
255
|
+
export const InternalFormService: GenService<{
|
|
256
|
+
/**
|
|
257
|
+
* SaveDocument saves document state from Hocuspocus.
|
|
258
|
+
*
|
|
259
|
+
* @generated from rpc api.intra.v1.InternalFormService.SaveDocument
|
|
260
|
+
*/
|
|
261
|
+
saveDocument: {
|
|
262
|
+
methodKind: "unary";
|
|
263
|
+
input: typeof SaveFormDocumentRequestSchema;
|
|
264
|
+
output: typeof SaveFormDocumentResponseSchema;
|
|
265
|
+
};
|
|
266
|
+
/**
|
|
267
|
+
* LoadDocument loads document state for Hocuspocus initial sync.
|
|
268
|
+
*
|
|
269
|
+
* @generated from rpc api.intra.v1.InternalFormService.LoadDocument
|
|
270
|
+
*/
|
|
271
|
+
loadDocument: {
|
|
272
|
+
methodKind: "unary";
|
|
273
|
+
input: typeof LoadFormDocumentRequestSchema;
|
|
274
|
+
output: typeof LoadFormDocumentResponseSchema;
|
|
275
|
+
};
|
|
276
|
+
}> = /*@__PURE__*/ serviceDesc(file_api_intra_v1_form, 0);
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v2.14.0 with parameter "target=ts,import_extension=ts"
|
|
2
|
+
// @generated from file api/intra/v1/gateway_authorization.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 { AuthorizationRole } from "../../policy/v1/access_pb.ts";
|
|
14
|
+
import { file_api_policy_v1_access } from "../../policy/v1/access_pb.ts";
|
|
15
|
+
import type { Message } from "@bufbuild/protobuf";
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Describes the file api/intra/v1/gateway_authorization.proto.
|
|
19
|
+
*/
|
|
20
|
+
export const file_api_intra_v1_gateway_authorization: GenFile =
|
|
21
|
+
/*@__PURE__*/
|
|
22
|
+
fileDesc(
|
|
23
|
+
"CihhcGkvaW50cmEvdjEvZ2F0ZXdheV9hdXRob3JpemF0aW9uLnByb3RvEgxhcGkuaW50cmEudjEigAEKHUF1dGhvcml6ZUdhdGV3YXlBY2Nlc3NSZXF1ZXN0EhsKE2FjY291bnRfaWRlbnRpdHlfaWQYASABKAkSEgoKc2Vzc2lvbl9pZBgCIAEoCRIuCgRyb2xlGAMgASgOMiAuYXBpLnBvbGljeS52MS5BdXRob3JpemF0aW9uUm9sZSIgCh5BdXRob3JpemVHYXRld2F5QWNjZXNzUmVzcG9uc2UymgEKI0ludGVybmFsR2F0ZXdheUF1dGhvcml6YXRpb25TZXJ2aWNlEnMKFkF1dGhvcml6ZUdhdGV3YXlBY2Nlc3MSKy5hcGkuaW50cmEudjEuQXV0aG9yaXplR2F0ZXdheUFjY2Vzc1JlcXVlc3QaLC5hcGkuaW50cmEudjEuQXV0aG9yaXplR2F0ZXdheUFjY2Vzc1Jlc3BvbnNlQrwBChBjb20uYXBpLmludHJhLnYxQhlHYXRld2F5QXV0aG9yaXphdGlvblByb3RvUAFaO2dpdGh1Yi5jb20vZHN1Yi1pby9ldmVudC1jb250cmFjdHMvZ2VuL2FwaS9pbnRyYS92MTtpbnRyYXYxogIDQUlYqgIMQXBpLkludHJhLlYxygIMQXBpXEludHJhXFYx4gIYQXBpXEludHJhXFYxXEdQQk1ldGFkYXRh6gIOQXBpOjpJbnRyYTo6VjFiBnByb3RvMw",
|
|
24
|
+
[file_api_policy_v1_access],
|
|
25
|
+
);
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* AuthorizeGatewayAccessRequest is the private Oathkeeper remote_json /
|
|
29
|
+
* Connect JSON request. account_identity_id is the UUID of the Kratos
|
|
30
|
+
* identity and the canonical SpiceDB subject; session_id is the UUID of the
|
|
31
|
+
* Oathkeeper-verified Kratos session. Both are checked together by the API.
|
|
32
|
+
*
|
|
33
|
+
* @generated from message api.intra.v1.AuthorizeGatewayAccessRequest
|
|
34
|
+
*/
|
|
35
|
+
export type AuthorizeGatewayAccessRequest =
|
|
36
|
+
Message<"api.intra.v1.AuthorizeGatewayAccessRequest"> & {
|
|
37
|
+
/**
|
|
38
|
+
* @generated from field: string account_identity_id = 1;
|
|
39
|
+
*/
|
|
40
|
+
accountIdentityId: string;
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* @generated from field: string session_id = 2;
|
|
44
|
+
*/
|
|
45
|
+
sessionId: string;
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* @generated from field: api.policy.v1.AuthorizationRole role = 3;
|
|
49
|
+
*/
|
|
50
|
+
role: AuthorizationRole;
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* Describes the message api.intra.v1.AuthorizeGatewayAccessRequest.
|
|
55
|
+
* Use `create(AuthorizeGatewayAccessRequestSchema)` to create a new message.
|
|
56
|
+
*/
|
|
57
|
+
export const AuthorizeGatewayAccessRequestSchema: GenMessage<AuthorizeGatewayAccessRequest> =
|
|
58
|
+
/*@__PURE__*/
|
|
59
|
+
messageDesc(file_api_intra_v1_gateway_authorization, 0);
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* An empty response means that the requested coarse role is authorized.
|
|
63
|
+
* Invalid authentication is unauthenticated and a failed role check is
|
|
64
|
+
* permission denied at the Connect boundary; neither is encoded as a second
|
|
65
|
+
* success state in this message.
|
|
66
|
+
*
|
|
67
|
+
* @generated from message api.intra.v1.AuthorizeGatewayAccessResponse
|
|
68
|
+
*/
|
|
69
|
+
export type AuthorizeGatewayAccessResponse =
|
|
70
|
+
Message<"api.intra.v1.AuthorizeGatewayAccessResponse"> & {};
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Describes the message api.intra.v1.AuthorizeGatewayAccessResponse.
|
|
74
|
+
* Use `create(AuthorizeGatewayAccessResponseSchema)` to create a new message.
|
|
75
|
+
*/
|
|
76
|
+
export const AuthorizeGatewayAccessResponseSchema: GenMessage<AuthorizeGatewayAccessResponse> =
|
|
77
|
+
/*@__PURE__*/
|
|
78
|
+
messageDesc(file_api_intra_v1_gateway_authorization, 1);
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* InternalGatewayAuthorizationService is the private coarse authorization
|
|
82
|
+
* boundary used by Oathkeeper. It is not a public API and accepts no generic
|
|
83
|
+
* authorization tuple fields.
|
|
84
|
+
*
|
|
85
|
+
* @generated from service api.intra.v1.InternalGatewayAuthorizationService
|
|
86
|
+
*/
|
|
87
|
+
export const InternalGatewayAuthorizationService: GenService<{
|
|
88
|
+
/**
|
|
89
|
+
* @generated from rpc api.intra.v1.InternalGatewayAuthorizationService.AuthorizeGatewayAccess
|
|
90
|
+
*/
|
|
91
|
+
authorizeGatewayAccess: {
|
|
92
|
+
methodKind: "unary";
|
|
93
|
+
input: typeof AuthorizeGatewayAccessRequestSchema;
|
|
94
|
+
output: typeof AuthorizeGatewayAccessResponseSchema;
|
|
95
|
+
};
|
|
96
|
+
}> = /*@__PURE__*/ serviceDesc(file_api_intra_v1_gateway_authorization, 0);
|