@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.
Files changed (120) hide show
  1. package/LICENSE.md +6 -0
  2. package/README.md +6 -0
  3. package/eslint.config.mjs +15 -0
  4. package/gen/api/common/v1/common_pb.ts +391 -0
  5. package/gen/api/common/v1/media_pb.ts +578 -0
  6. package/gen/api/content/v1/block_catalog.ts +5978 -0
  7. package/gen/api/content/v1/block_content_pb.ts +11420 -0
  8. package/gen/api/intra/v1/artist_pb.ts +597 -0
  9. package/gen/api/intra/v1/campaign_pb.ts +383 -0
  10. package/gen/api/intra/v1/collaboration_pb.ts +661 -0
  11. package/gen/api/intra/v1/email_courier_pb.ts +98 -0
  12. package/gen/api/intra/v1/email_layout_pb.ts +295 -0
  13. package/gen/api/intra/v1/email_template_pb.ts +384 -0
  14. package/gen/api/intra/v1/file_ingest_pb.ts +144 -0
  15. package/gen/api/intra/v1/form_locale_catalog.ts +128 -0
  16. package/gen/api/intra/v1/form_locale_catalog_parity.json +24 -0
  17. package/gen/api/intra/v1/form_pb.ts +276 -0
  18. package/gen/api/intra/v1/gateway_authorization_pb.ts +96 -0
  19. package/gen/api/intra/v1/label_pb.ts +558 -0
  20. package/gen/api/intra/v1/map_pb.ts +382 -0
  21. package/gen/api/intra/v1/menu_pb.ts +282 -0
  22. package/gen/api/intra/v1/og_pb.ts +335 -0
  23. package/gen/api/intra/v1/page_pb.ts +572 -0
  24. package/gen/api/intra/v1/post_pb.ts +657 -0
  25. package/gen/api/intra/v1/post_series_pb.ts +217 -0
  26. package/gen/api/intra/v1/privacy_pb.ts +384 -0
  27. package/gen/api/intra/v1/program_event_pb.ts +390 -0
  28. package/gen/api/intra/v1/release_pb.ts +462 -0
  29. package/gen/api/intra/v1/terms_pb.ts +384 -0
  30. package/gen/api/intra/v1/work_pb.ts +477 -0
  31. package/gen/api/manage/v1/account_pb.ts +1311 -0
  32. package/gen/api/manage/v1/admin_pb.ts +681 -0
  33. package/gen/api/manage/v1/ai_pb.ts +2621 -0
  34. package/gen/api/manage/v1/artist_pb.ts +1271 -0
  35. package/gen/api/manage/v1/audience_pb.ts +597 -0
  36. package/gen/api/manage/v1/campaign_pb.ts +1289 -0
  37. package/gen/api/manage/v1/category_pb.ts +351 -0
  38. package/gen/api/manage/v1/client_pb.ts +512 -0
  39. package/gen/api/manage/v1/collaboration_pb.ts +112 -0
  40. package/gen/api/manage/v1/comment_pb.ts +530 -0
  41. package/gen/api/manage/v1/common_pb.ts +192 -0
  42. package/gen/api/manage/v1/email_layout_pb.ts +487 -0
  43. package/gen/api/manage/v1/email_suppression_pb.ts +192 -0
  44. package/gen/api/manage/v1/email_template_pb.ts +683 -0
  45. package/gen/api/manage/v1/events_pb.ts +3251 -0
  46. package/gen/api/manage/v1/file_pb.ts +2810 -0
  47. package/gen/api/manage/v1/form_pb.ts +1046 -0
  48. package/gen/api/manage/v1/format_pb.ts +321 -0
  49. package/gen/api/manage/v1/genre_pb.ts +340 -0
  50. package/gen/api/manage/v1/label_pb.ts +1105 -0
  51. package/gen/api/manage/v1/mail_adapter_pb.ts +656 -0
  52. package/gen/api/manage/v1/map_place_pb.ts +572 -0
  53. package/gen/api/manage/v1/map_theme_pb.ts +691 -0
  54. package/gen/api/manage/v1/member_pb.ts +1281 -0
  55. package/gen/api/manage/v1/menu_pb.ts +535 -0
  56. package/gen/api/manage/v1/page_pb.ts +894 -0
  57. package/gen/api/manage/v1/post_pb.ts +1475 -0
  58. package/gen/api/manage/v1/privacy_pb.ts +518 -0
  59. package/gen/api/manage/v1/program_event_pb.ts +2234 -0
  60. package/gen/api/manage/v1/release_pb.ts +1168 -0
  61. package/gen/api/manage/v1/series_pb.ts +1033 -0
  62. package/gen/api/manage/v1/share_link_pb.ts +351 -0
  63. package/gen/api/manage/v1/site_setting_pb.ts +623 -0
  64. package/gen/api/manage/v1/style_pb.ts +340 -0
  65. package/gen/api/manage/v1/tag_pb.ts +323 -0
  66. package/gen/api/manage/v1/terms_pb.ts +517 -0
  67. package/gen/api/manage/v1/track_pb.ts +543 -0
  68. package/gen/api/manage/v1/translation_pb.ts +1838 -0
  69. package/gen/api/manage/v1/work_pb.ts +1662 -0
  70. package/gen/api/open/v1/account_pb.ts +243 -0
  71. package/gen/api/open/v1/artist_pb.ts +732 -0
  72. package/gen/api/open/v1/category_pb.ts +143 -0
  73. package/gen/api/open/v1/client_pb.ts +190 -0
  74. package/gen/api/open/v1/file_pb.ts +244 -0
  75. package/gen/api/open/v1/form_pb.ts +698 -0
  76. package/gen/api/open/v1/label_pb.ts +512 -0
  77. package/gen/api/open/v1/manifest_pb.ts +326 -0
  78. package/gen/api/open/v1/map_place_pb.ts +228 -0
  79. package/gen/api/open/v1/map_theme_pb.ts +400 -0
  80. package/gen/api/open/v1/member_pb.ts +200 -0
  81. package/gen/api/open/v1/newsletter_pb.ts +77 -0
  82. package/gen/api/open/v1/page_pb.ts +236 -0
  83. package/gen/api/open/v1/post_pb.ts +834 -0
  84. package/gen/api/open/v1/privacy_pb.ts +257 -0
  85. package/gen/api/open/v1/program_event_pb.ts +1024 -0
  86. package/gen/api/open/v1/release_pb.ts +758 -0
  87. package/gen/api/open/v1/series_pb.ts +210 -0
  88. package/gen/api/open/v1/share_link_pb.ts +106 -0
  89. package/gen/api/open/v1/sitemap_pb.ts +188 -0
  90. package/gen/api/open/v1/tag_pb.ts +136 -0
  91. package/gen/api/open/v1/terms_pb.ts +257 -0
  92. package/gen/api/open/v1/translation_pb.ts +103 -0
  93. package/gen/api/open/v1/work_pb.ts +904 -0
  94. package/gen/api/policy/v1/access_pb.ts +105 -0
  95. package/gen/api/policy/v1/spicedb/artist.ts +101 -0
  96. package/gen/api/policy/v1/spicedb/audience.ts +64 -0
  97. package/gen/api/policy/v1/spicedb/campaign.ts +49 -0
  98. package/gen/api/policy/v1/spicedb/core.ts +196 -0
  99. package/gen/api/policy/v1/spicedb/email_authoring.ts +91 -0
  100. package/gen/api/policy/v1/spicedb/email_delivery.ts +44 -0
  101. package/gen/api/policy/v1/spicedb/file.ts +49 -0
  102. package/gen/api/policy/v1/spicedb/form.ts +54 -0
  103. package/gen/api/policy/v1/spicedb/internal.ts +350 -0
  104. package/gen/api/policy/v1/spicedb/label.ts +98 -0
  105. package/gen/api/policy/v1/spicedb/legal_policy.ts +103 -0
  106. package/gen/api/policy/v1/spicedb/map_theme.ts +48 -0
  107. package/gen/api/policy/v1/spicedb/member.ts +47 -0
  108. package/gen/api/policy/v1/spicedb/menu.ts +48 -0
  109. package/gen/api/policy/v1/spicedb/page.ts +54 -0
  110. package/gen/api/policy/v1/spicedb/post.ts +105 -0
  111. package/gen/api/policy/v1/spicedb/post_series.ts +70 -0
  112. package/gen/api/policy/v1/spicedb/program_event.ts +66 -0
  113. package/gen/api/policy/v1/spicedb/program_event_series.ts +62 -0
  114. package/gen/api/policy/v1/spicedb/reference_data.ts +209 -0
  115. package/gen/api/policy/v1/spicedb/release.ts +81 -0
  116. package/gen/api/policy/v1/spicedb/site_settings.ts +49 -0
  117. package/gen/api/policy/v1/spicedb/translation.ts +46 -0
  118. package/gen/api/policy/v1/spicedb/work.ts +58 -0
  119. package/package.json +66 -0
  120. package/tsconfig.json +15 -0
@@ -0,0 +1,698 @@
1
+ // @generated by protoc-gen-es v2.14.0 with parameter "target=ts,import_extension=ts"
2
+ // @generated from file api/open/v1/form.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 } from "../../common/v1/media_pb.ts";
16
+ import { file_api_common_v1_media } from "../../common/v1/media_pb.ts";
17
+ import type { LocalizationInfo } from "./translation_pb.ts";
18
+ import { file_api_open_v1_translation } from "./translation_pb.ts";
19
+ import type { Timestamp } from "@bufbuild/protobuf/wkt";
20
+ import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
21
+ import type { Message } from "@bufbuild/protobuf";
22
+
23
+ /**
24
+ * Describes the file api/open/v1/form.proto.
25
+ */
26
+ export const file_api_open_v1_form: GenFile =
27
+ /*@__PURE__*/
28
+ fileDesc(
29
+ "ChZhcGkvb3Blbi92MS9mb3JtLnByb3RvEgthcGkub3Blbi52MSKEAgoWQ2hlY2tGb3JtQWNjZXNzUmVxdWVzdBIMCgRzbHVnGAEgASgJEhgKC3NoYXJlX3Rva2VuGAIgASgJSACIAQESFQoIcGFzc3dvcmQYAyABKAlIAYgBARIvCgdjb250ZXh0GAQgASgOMh4uYXBpLm9wZW4udjEuRm9ybUFjY2Vzc0NvbnRleHQSLQoGdGFyZ2V0GAUgASgOMh0uYXBpLm9wZW4udjEuRm9ybUFjY2Vzc1RhcmdldBIbCg5zaGFyZV9wYXNzd29yZBgGIAEoCUgCiAEBQg4KDF9zaGFyZV90b2tlbkILCglfcGFzc3dvcmRCEQoPX3NoYXJlX3Bhc3N3b3JkIosBChdDaGVja0Zvcm1BY2Nlc3NSZXNwb25zZRISCgphY2Nlc3NpYmxlGAEgASgIEi0KBnJlYXNvbhgCIAEoDjIdLmFwaS5vcGVuLnYxLkZvcm1BY2Nlc3NSZWFzb24SJAoEZm9ybRgDIAEoCzIRLmFwaS5vcGVuLnYxLkZvcm1IAIgBAUIHCgVfZm9ybSLrBQoERm9ybRIKCgJpZBgBIAEoCRINCgV0aXRsZRgCIAEoCRIRCgRzbHVnGAMgASgJSACIAQESDgoGc2NoZW1hGAQgASgMEicKBnN0YXR1cxgFIAEoDjIXLmFwaS5vcGVuLnYxLkZvcm1TdGF0dXMSEQoJaXNfcHVibGljGAYgASgIEhQKDHJlcXVpcmVfYXV0aBgHIAEoCBIVCg1hbGxvd2VkX3JvbGVzGAggAygJEiIKGmFsbG93X2R1cGxpY2F0ZV9zdWJtaXNzaW9uGAkgASgIEhQKDGhhc19wY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FwaS5vcGVuLnYxLkNoZWNrRm9ybUFjY2Vzc1Jlc3BvbnNlEkkKBlN1Ym1pdBIeLmFwaS5vcGVuLnYxLlN1Ym1pdEZvcm1SZXF1ZXN0Gh8uYXBpLm9wZW4udjEuU3VibWl0Rm9ybVJlc3BvbnNlEmEKDlZlcmlmeVBhc3N3b3JkEiYuYXBpLm9wZW4udjEuVmVyaWZ5Rm9ybVBhc3N3b3JkUmVxdWVzdBonLmFwaS5vcGVuLnYxLlZlcmlmeUZvcm1QYXNzd29yZFJlc3BvbnNlElsKDEdldERhc2hib2FyZBIkLmFwaS5vcGVuLnYxLkdldEZvcm1EYXNoYm9hcmRSZXF1ZXN0GiUuYXBpLm9wZW4udjEuR2V0Rm9ybURhc2hib2FyZFJlc3BvbnNlQqUBCg9jb20uYXBpLm9wZW4udjFCCUZvcm1Qcm90b1ABWjlnaXRodWIuY29tL2RzdWItaW8vZXZlbnQtY29udHJhY3RzL2dlbi9hcGkvb3Blbi92MTtvcGVudjGiAgNBT1iqAgtBcGkuT3Blbi5WMcoCC0FwaVxPcGVuXFYx4gIXQXBpXE9wZW5cVjFcR1BCTWV0YWRhdGHqAg1BcGk6Ok9wZW46OlYxYgZwcm90bzM",
30
+ [
31
+ file_api_common_v1_media,
32
+ file_api_open_v1_translation,
33
+ file_google_protobuf_timestamp,
34
+ ],
35
+ );
36
+
37
+ /**
38
+ * @generated from message api.open.v1.CheckFormAccessRequest
39
+ */
40
+ export type CheckFormAccessRequest =
41
+ Message<"api.open.v1.CheckFormAccessRequest"> & {
42
+ /**
43
+ * @generated from field: string slug = 1;
44
+ */
45
+ slug: string;
46
+
47
+ /**
48
+ * @generated from field: optional string share_token = 2;
49
+ */
50
+ shareToken?: string | undefined;
51
+
52
+ /**
53
+ * @generated from field: optional string password = 3;
54
+ */
55
+ password?: string | undefined;
56
+
57
+ /**
58
+ * @generated from field: api.open.v1.FormAccessContext context = 4;
59
+ */
60
+ context: FormAccessContext;
61
+
62
+ /**
63
+ * @generated from field: api.open.v1.FormAccessTarget target = 5;
64
+ */
65
+ target: FormAccessTarget;
66
+
67
+ /**
68
+ * ShareLink password proof; distinct from Form access password
69
+ *
70
+ * @generated from field: optional string share_password = 6;
71
+ */
72
+ sharePassword?: string | undefined;
73
+ };
74
+
75
+ /**
76
+ * Describes the message api.open.v1.CheckFormAccessRequest.
77
+ * Use `create(CheckFormAccessRequestSchema)` to create a new message.
78
+ */
79
+ export const CheckFormAccessRequestSchema: GenMessage<CheckFormAccessRequest> =
80
+ /*@__PURE__*/
81
+ messageDesc(file_api_open_v1_form, 0);
82
+
83
+ /**
84
+ * @generated from message api.open.v1.CheckFormAccessResponse
85
+ */
86
+ export type CheckFormAccessResponse =
87
+ Message<"api.open.v1.CheckFormAccessResponse"> & {
88
+ /**
89
+ * @generated from field: bool accessible = 1;
90
+ */
91
+ accessible: boolean;
92
+
93
+ /**
94
+ * @generated from field: api.open.v1.FormAccessReason reason = 2;
95
+ */
96
+ reason: FormAccessReason;
97
+
98
+ /**
99
+ * Present when accessible=true
100
+ *
101
+ * @generated from field: optional api.open.v1.Form form = 3;
102
+ */
103
+ form?: Form | undefined;
104
+ };
105
+
106
+ /**
107
+ * Describes the message api.open.v1.CheckFormAccessResponse.
108
+ * Use `create(CheckFormAccessResponseSchema)` to create a new message.
109
+ */
110
+ export const CheckFormAccessResponseSchema: GenMessage<CheckFormAccessResponse> =
111
+ /*@__PURE__*/
112
+ messageDesc(file_api_open_v1_form, 1);
113
+
114
+ /**
115
+ * @generated from message api.open.v1.Form
116
+ */
117
+ export type Form = Message<"api.open.v1.Form"> & {
118
+ /**
119
+ * @generated from field: string id = 1;
120
+ */
121
+ id: string;
122
+
123
+ /**
124
+ * @generated from field: string title = 2;
125
+ */
126
+ title: string;
127
+
128
+ /**
129
+ * @generated from field: optional string slug = 3;
130
+ */
131
+ slug?: string | undefined;
132
+
133
+ /**
134
+ * JSON schema for form fields
135
+ *
136
+ * @generated from field: bytes schema = 4;
137
+ */
138
+ schema: Uint8Array;
139
+
140
+ /**
141
+ * @generated from field: api.open.v1.FormStatus status = 5;
142
+ */
143
+ status: FormStatus;
144
+
145
+ /**
146
+ * @generated from field: bool is_public = 6;
147
+ */
148
+ isPublic: boolean;
149
+
150
+ /**
151
+ * @generated from field: bool require_auth = 7;
152
+ */
153
+ requireAuth: boolean;
154
+
155
+ /**
156
+ * @generated from field: repeated string allowed_roles = 8;
157
+ */
158
+ allowedRoles: string[];
159
+
160
+ /**
161
+ * @generated from field: bool allow_duplicate_submission = 9;
162
+ */
163
+ allowDuplicateSubmission: boolean;
164
+
165
+ /**
166
+ * true if password is set (don't expose actual password)
167
+ *
168
+ * @generated from field: bool has_password = 10;
169
+ */
170
+ hasPassword: boolean;
171
+
172
+ /**
173
+ * @generated from field: optional int32 max_submissions = 11;
174
+ */
175
+ maxSubmissions?: number | undefined;
176
+
177
+ /**
178
+ * @generated from field: optional google.protobuf.Timestamp opens_at = 12;
179
+ */
180
+ opensAt?: Timestamp | undefined;
181
+
182
+ /**
183
+ * @generated from field: optional google.protobuf.Timestamp closes_at = 13;
184
+ */
185
+ closesAt?: Timestamp | undefined;
186
+
187
+ /**
188
+ * @generated from field: google.protobuf.Timestamp created_at = 14;
189
+ */
190
+ createdAt?: Timestamp | undefined;
191
+
192
+ /**
193
+ * @generated from field: google.protobuf.Timestamp updated_at = 15;
194
+ */
195
+ updatedAt?: Timestamp | undefined;
196
+
197
+ /**
198
+ * @generated from field: optional api.common.v1.AssetRef og_asset = 16;
199
+ */
200
+ ogAsset?: AssetRef | undefined;
201
+
202
+ /**
203
+ * @generated from field: optional api.common.v1.AssetRef featured_image_asset = 17;
204
+ */
205
+ featuredImageAsset?: AssetRef | undefined;
206
+
207
+ /**
208
+ * @generated from field: optional api.open.v1.LocalizationInfo localization_info = 18;
209
+ */
210
+ localizationInfo?: LocalizationInfo | undefined;
211
+ };
212
+
213
+ /**
214
+ * Describes the message api.open.v1.Form.
215
+ * Use `create(FormSchema)` to create a new message.
216
+ */
217
+ export const FormSchema: GenMessage<Form> =
218
+ /*@__PURE__*/
219
+ messageDesc(file_api_open_v1_form, 2);
220
+
221
+ /**
222
+ * @generated from message api.open.v1.FormDashboardFieldValue
223
+ */
224
+ export type FormDashboardFieldValue =
225
+ Message<"api.open.v1.FormDashboardFieldValue"> & {
226
+ /**
227
+ * @generated from field: string value = 1;
228
+ */
229
+ value: string;
230
+
231
+ /**
232
+ * @generated from field: int32 count = 2;
233
+ */
234
+ count: number;
235
+ };
236
+
237
+ /**
238
+ * Describes the message api.open.v1.FormDashboardFieldValue.
239
+ * Use `create(FormDashboardFieldValueSchema)` to create a new message.
240
+ */
241
+ export const FormDashboardFieldValueSchema: GenMessage<FormDashboardFieldValue> =
242
+ /*@__PURE__*/
243
+ messageDesc(file_api_open_v1_form, 3);
244
+
245
+ /**
246
+ * @generated from message api.open.v1.FormDashboardFieldStat
247
+ */
248
+ export type FormDashboardFieldStat =
249
+ Message<"api.open.v1.FormDashboardFieldStat"> & {
250
+ /**
251
+ * @generated from field: string field_id = 1;
252
+ */
253
+ fieldId: string;
254
+
255
+ /**
256
+ * @generated from field: string field_label = 2;
257
+ */
258
+ fieldLabel: string;
259
+
260
+ /**
261
+ * @generated from field: repeated api.open.v1.FormDashboardFieldValue values = 3;
262
+ */
263
+ values: FormDashboardFieldValue[];
264
+ };
265
+
266
+ /**
267
+ * Describes the message api.open.v1.FormDashboardFieldStat.
268
+ * Use `create(FormDashboardFieldStatSchema)` to create a new message.
269
+ */
270
+ export const FormDashboardFieldStatSchema: GenMessage<FormDashboardFieldStat> =
271
+ /*@__PURE__*/
272
+ messageDesc(file_api_open_v1_form, 4);
273
+
274
+ /**
275
+ * @generated from message api.open.v1.FormDashboard
276
+ */
277
+ export type FormDashboard = Message<"api.open.v1.FormDashboard"> & {
278
+ /**
279
+ * @generated from field: string form_id = 1;
280
+ */
281
+ formId: string;
282
+
283
+ /**
284
+ * @generated from field: string form_title = 2;
285
+ */
286
+ formTitle: string;
287
+
288
+ /**
289
+ * @generated from field: string form_slug = 3;
290
+ */
291
+ formSlug: string;
292
+
293
+ /**
294
+ * @generated from field: int32 total_submissions = 4;
295
+ */
296
+ totalSubmissions: number;
297
+
298
+ /**
299
+ * @generated from field: int32 submissions_today = 5;
300
+ */
301
+ submissionsToday: number;
302
+
303
+ /**
304
+ * @generated from field: int32 submissions_this_week = 6;
305
+ */
306
+ submissionsThisWeek: number;
307
+
308
+ /**
309
+ * @generated from field: int32 submissions_this_month = 7;
310
+ */
311
+ submissionsThisMonth: number;
312
+
313
+ /**
314
+ * @generated from field: repeated api.open.v1.FormDashboardFieldStat field_stats = 8;
315
+ */
316
+ fieldStats: FormDashboardFieldStat[];
317
+ };
318
+
319
+ /**
320
+ * Describes the message api.open.v1.FormDashboard.
321
+ * Use `create(FormDashboardSchema)` to create a new message.
322
+ */
323
+ export const FormDashboardSchema: GenMessage<FormDashboard> =
324
+ /*@__PURE__*/
325
+ messageDesc(file_api_open_v1_form, 5);
326
+
327
+ /**
328
+ * @generated from message api.open.v1.GetFormDashboardRequest
329
+ */
330
+ export type GetFormDashboardRequest =
331
+ Message<"api.open.v1.GetFormDashboardRequest"> & {
332
+ /**
333
+ * @generated from field: string slug = 1;
334
+ */
335
+ slug: string;
336
+
337
+ /**
338
+ * @generated from field: string share_token = 2;
339
+ */
340
+ shareToken: string;
341
+
342
+ /**
343
+ * @generated from field: optional string password = 3;
344
+ */
345
+ password?: string | undefined;
346
+
347
+ /**
348
+ * Dashboard ShareLink password proof
349
+ *
350
+ * @generated from field: optional string share_password = 4;
351
+ */
352
+ sharePassword?: string | undefined;
353
+ };
354
+
355
+ /**
356
+ * Describes the message api.open.v1.GetFormDashboardRequest.
357
+ * Use `create(GetFormDashboardRequestSchema)` to create a new message.
358
+ */
359
+ export const GetFormDashboardRequestSchema: GenMessage<GetFormDashboardRequest> =
360
+ /*@__PURE__*/
361
+ messageDesc(file_api_open_v1_form, 6);
362
+
363
+ /**
364
+ * @generated from message api.open.v1.GetFormDashboardResponse
365
+ */
366
+ export type GetFormDashboardResponse =
367
+ Message<"api.open.v1.GetFormDashboardResponse"> & {
368
+ /**
369
+ * @generated from field: api.open.v1.FormDashboard dashboard = 1;
370
+ */
371
+ dashboard?: FormDashboard | undefined;
372
+ };
373
+
374
+ /**
375
+ * Describes the message api.open.v1.GetFormDashboardResponse.
376
+ * Use `create(GetFormDashboardResponseSchema)` to create a new message.
377
+ */
378
+ export const GetFormDashboardResponseSchema: GenMessage<GetFormDashboardResponse> =
379
+ /*@__PURE__*/
380
+ messageDesc(file_api_open_v1_form, 7);
381
+
382
+ /**
383
+ * @generated from message api.open.v1.SubmitFormRequest
384
+ */
385
+ export type SubmitFormRequest = Message<"api.open.v1.SubmitFormRequest"> & {
386
+ /**
387
+ * @generated from field: string form_id = 1;
388
+ */
389
+ formId: string;
390
+
391
+ /**
392
+ * JSON submission data
393
+ *
394
+ * @generated from field: bytes data = 2;
395
+ */
396
+ data: Uint8Array;
397
+
398
+ /**
399
+ * Password if form requires it
400
+ *
401
+ * @generated from field: optional string password = 3;
402
+ */
403
+ password?: string | undefined;
404
+ };
405
+
406
+ /**
407
+ * Describes the message api.open.v1.SubmitFormRequest.
408
+ * Use `create(SubmitFormRequestSchema)` to create a new message.
409
+ */
410
+ export const SubmitFormRequestSchema: GenMessage<SubmitFormRequest> =
411
+ /*@__PURE__*/
412
+ messageDesc(file_api_open_v1_form, 8);
413
+
414
+ /**
415
+ * @generated from message api.open.v1.SubmitFormResponse
416
+ */
417
+ export type SubmitFormResponse = Message<"api.open.v1.SubmitFormResponse"> & {
418
+ /**
419
+ * @generated from field: string submission_id = 1;
420
+ */
421
+ submissionId: string;
422
+ };
423
+
424
+ /**
425
+ * Describes the message api.open.v1.SubmitFormResponse.
426
+ * Use `create(SubmitFormResponseSchema)` to create a new message.
427
+ */
428
+ export const SubmitFormResponseSchema: GenMessage<SubmitFormResponse> =
429
+ /*@__PURE__*/
430
+ messageDesc(file_api_open_v1_form, 9);
431
+
432
+ /**
433
+ * @generated from message api.open.v1.VerifyFormPasswordRequest
434
+ */
435
+ export type VerifyFormPasswordRequest =
436
+ Message<"api.open.v1.VerifyFormPasswordRequest"> & {
437
+ /**
438
+ * @generated from field: string slug = 1;
439
+ */
440
+ slug: string;
441
+
442
+ /**
443
+ * @generated from field: string password = 2;
444
+ */
445
+ password: string;
446
+
447
+ /**
448
+ * @generated from field: optional string share_token = 3;
449
+ */
450
+ shareToken?: string | undefined;
451
+
452
+ /**
453
+ * ShareLink password proof; distinct from Form access password
454
+ *
455
+ * @generated from field: optional string share_password = 4;
456
+ */
457
+ sharePassword?: string | undefined;
458
+ };
459
+
460
+ /**
461
+ * Describes the message api.open.v1.VerifyFormPasswordRequest.
462
+ * Use `create(VerifyFormPasswordRequestSchema)` to create a new message.
463
+ */
464
+ export const VerifyFormPasswordRequestSchema: GenMessage<VerifyFormPasswordRequest> =
465
+ /*@__PURE__*/
466
+ messageDesc(file_api_open_v1_form, 10);
467
+
468
+ /**
469
+ * @generated from message api.open.v1.VerifyFormPasswordResponse
470
+ */
471
+ export type VerifyFormPasswordResponse =
472
+ Message<"api.open.v1.VerifyFormPasswordResponse"> & {
473
+ /**
474
+ * @generated from field: bool valid = 1;
475
+ */
476
+ valid: boolean;
477
+ };
478
+
479
+ /**
480
+ * Describes the message api.open.v1.VerifyFormPasswordResponse.
481
+ * Use `create(VerifyFormPasswordResponseSchema)` to create a new message.
482
+ */
483
+ export const VerifyFormPasswordResponseSchema: GenMessage<VerifyFormPasswordResponse> =
484
+ /*@__PURE__*/
485
+ messageDesc(file_api_open_v1_form, 11);
486
+
487
+ /**
488
+ * @generated from enum api.open.v1.FormAccessContext
489
+ */
490
+ export enum FormAccessContext {
491
+ /**
492
+ * @generated from enum value: FORM_ACCESS_CONTEXT_UNSPECIFIED = 0;
493
+ */
494
+ UNSPECIFIED = 0,
495
+
496
+ /**
497
+ * Direct /forms/{slug} access
498
+ *
499
+ * @generated from enum value: FORM_ACCESS_CONTEXT_URL = 1;
500
+ */
501
+ URL = 1,
502
+
503
+ /**
504
+ * Embedded in page/post/block
505
+ *
506
+ * @generated from enum value: FORM_ACCESS_CONTEXT_EMBED = 2;
507
+ */
508
+ EMBED = 2,
509
+ }
510
+
511
+ /**
512
+ * Describes the enum api.open.v1.FormAccessContext.
513
+ */
514
+ export const FormAccessContextSchema: GenEnum<FormAccessContext> =
515
+ /*@__PURE__*/
516
+ enumDesc(file_api_open_v1_form, 0);
517
+
518
+ /**
519
+ * @generated from enum api.open.v1.FormAccessTarget
520
+ */
521
+ export enum FormAccessTarget {
522
+ /**
523
+ * @generated from enum value: FORM_ACCESS_TARGET_UNSPECIFIED = 0;
524
+ */
525
+ UNSPECIFIED = 0,
526
+
527
+ /**
528
+ * @generated from enum value: FORM_ACCESS_TARGET_FORM = 1;
529
+ */
530
+ FORM = 1,
531
+
532
+ /**
533
+ * @generated from enum value: FORM_ACCESS_TARGET_DASHBOARD = 2;
534
+ */
535
+ DASHBOARD = 2,
536
+ }
537
+
538
+ /**
539
+ * Describes the enum api.open.v1.FormAccessTarget.
540
+ */
541
+ export const FormAccessTargetSchema: GenEnum<FormAccessTarget> =
542
+ /*@__PURE__*/
543
+ enumDesc(file_api_open_v1_form, 1);
544
+
545
+ /**
546
+ * @generated from enum api.open.v1.FormAccessReason
547
+ */
548
+ export enum FormAccessReason {
549
+ /**
550
+ * @generated from enum value: FORM_ACCESS_REASON_UNSPECIFIED = 0;
551
+ */
552
+ UNSPECIFIED = 0,
553
+
554
+ /**
555
+ * @generated from enum value: FORM_ACCESS_REASON_ALLOWED = 1;
556
+ */
557
+ ALLOWED = 1,
558
+
559
+ /**
560
+ * @generated from enum value: FORM_ACCESS_REASON_FORM_NOT_FOUND = 2;
561
+ */
562
+ FORM_NOT_FOUND = 2,
563
+
564
+ /**
565
+ * @generated from enum value: FORM_ACCESS_REASON_FORM_NOT_PUBLISHED = 3;
566
+ */
567
+ FORM_NOT_PUBLISHED = 3,
568
+
569
+ /**
570
+ * @generated from enum value: FORM_ACCESS_REASON_NOT_PUBLIC = 4;
571
+ */
572
+ NOT_PUBLIC = 4,
573
+
574
+ /**
575
+ * @generated from enum value: FORM_ACCESS_REASON_AUTH_REQUIRED = 5;
576
+ */
577
+ AUTH_REQUIRED = 5,
578
+
579
+ /**
580
+ * @generated from enum value: FORM_ACCESS_REASON_ROLE_NOT_ALLOWED = 6;
581
+ */
582
+ ROLE_NOT_ALLOWED = 6,
583
+
584
+ /**
585
+ * @generated from enum value: FORM_ACCESS_REASON_PASSWORD_REQUIRED = 7;
586
+ */
587
+ PASSWORD_REQUIRED = 7,
588
+
589
+ /**
590
+ * @generated from enum value: FORM_ACCESS_REASON_NOT_YET_OPEN = 8;
591
+ */
592
+ NOT_YET_OPEN = 8,
593
+
594
+ /**
595
+ * @generated from enum value: FORM_ACCESS_REASON_CLOSED = 9;
596
+ */
597
+ CLOSED = 9,
598
+
599
+ /**
600
+ * @generated from enum value: FORM_ACCESS_REASON_MAX_SUBMISSIONS_REACHED = 10;
601
+ */
602
+ MAX_SUBMISSIONS_REACHED = 10,
603
+
604
+ /**
605
+ * @generated from enum value: FORM_ACCESS_REASON_ALREADY_SUBMITTED = 11;
606
+ */
607
+ ALREADY_SUBMITTED = 11,
608
+ }
609
+
610
+ /**
611
+ * Describes the enum api.open.v1.FormAccessReason.
612
+ */
613
+ export const FormAccessReasonSchema: GenEnum<FormAccessReason> =
614
+ /*@__PURE__*/
615
+ enumDesc(file_api_open_v1_form, 2);
616
+
617
+ /**
618
+ * Form status enum
619
+ *
620
+ * @generated from enum api.open.v1.FormStatus
621
+ */
622
+ export enum FormStatus {
623
+ /**
624
+ * @generated from enum value: FORM_STATUS_UNSPECIFIED = 0;
625
+ */
626
+ UNSPECIFIED = 0,
627
+
628
+ /**
629
+ * @generated from enum value: FORM_STATUS_DRAFT = 1;
630
+ */
631
+ DRAFT = 1,
632
+
633
+ /**
634
+ * @generated from enum value: FORM_STATUS_PUBLISHED = 2;
635
+ */
636
+ PUBLISHED = 2,
637
+ }
638
+
639
+ /**
640
+ * Describes the enum api.open.v1.FormStatus.
641
+ */
642
+ export const FormStatusSchema: GenEnum<FormStatus> =
643
+ /*@__PURE__*/
644
+ enumDesc(file_api_open_v1_form, 3);
645
+
646
+ /**
647
+ * FormService provides public form access
648
+ *
649
+ * @generated from service api.open.v1.FormService
650
+ */
651
+ export const FormService: GenService<{
652
+ /**
653
+ * CheckAccess evaluates form access policy and returns a structured decision.
654
+ *
655
+ * @generated from rpc api.open.v1.FormService.CheckAccess
656
+ */
657
+ checkAccess: {
658
+ methodKind: "unary";
659
+ input: typeof CheckFormAccessRequestSchema;
660
+ output: typeof CheckFormAccessResponseSchema;
661
+ };
662
+ /**
663
+ * Submit submits form data
664
+ * - Validates form is published and within open/close window
665
+ * - Handles password verification if form has password
666
+ *
667
+ * @generated from rpc api.open.v1.FormService.Submit
668
+ */
669
+ submit: {
670
+ methodKind: "unary";
671
+ input: typeof SubmitFormRequestSchema;
672
+ output: typeof SubmitFormResponseSchema;
673
+ };
674
+ /**
675
+ * VerifyPassword checks if the provided password is correct for a form
676
+ * - Returns valid=true if password matches, false otherwise
677
+ * - Returns valid=false if form has no password
678
+ *
679
+ * @generated from rpc api.open.v1.FormService.VerifyPassword
680
+ */
681
+ verifyPassword: {
682
+ methodKind: "unary";
683
+ input: typeof VerifyFormPasswordRequestSchema;
684
+ output: typeof VerifyFormPasswordResponseSchema;
685
+ };
686
+ /**
687
+ * GetDashboard retrieves form dashboard stats via dashboard share link.
688
+ * - Requires a valid dashboard share_token
689
+ * - Enforces exact Dashboard ShareLink proof; Form access policy is separate
690
+ *
691
+ * @generated from rpc api.open.v1.FormService.GetDashboard
692
+ */
693
+ getDashboard: {
694
+ methodKind: "unary";
695
+ input: typeof GetFormDashboardRequestSchema;
696
+ output: typeof GetFormDashboardResponseSchema;
697
+ };
698
+ }> = /*@__PURE__*/ serviceDesc(file_api_open_v1_form, 0);