@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,1046 @@
1
+ // @generated by protoc-gen-es v2.14.0 with parameter "target=ts,import_extension=ts"
2
+ // @generated from file api/manage/v1/form.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 type {
16
+ FilterSpec,
17
+ PaginationRequest,
18
+ PaginationResponse,
19
+ SortSpec,
20
+ } from "../../common/v1/common_pb.ts";
21
+ import { file_api_common_v1_common } from "../../common/v1/common_pb.ts";
22
+ import type { AssetRef } from "../../common/v1/media_pb.ts";
23
+ import { file_api_common_v1_media } from "../../common/v1/media_pb.ts";
24
+ import type {
25
+ DeleteResponseSchema,
26
+ OgAssetDeleteResponseSchema,
27
+ } from "./common_pb.ts";
28
+ import { file_api_manage_v1_common } from "./common_pb.ts";
29
+ import { file_api_policy_v1_access } from "../../policy/v1/access_pb.ts";
30
+ import type { Timestamp } from "@bufbuild/protobuf/wkt";
31
+ import { file_google_protobuf_timestamp } from "@bufbuild/protobuf/wkt";
32
+ import type { Message } from "@bufbuild/protobuf";
33
+
34
+ /**
35
+ * Describes the file api/manage/v1/form.proto.
36
+ */
37
+ export const file_api_manage_v1_form: GenFile =
38
+ /*@__PURE__*/
39
+ fileDesc(
40
+ "ChhhcGkvbWFuYWdlL3YxL2Zvcm0ucHJvdG8SDWFwaS5tYW5hZ2UudjEi/QUKBEZvcm0SCgoCaWQYASABKAkSDQoFdGl0bGUYAiABKAkSEQoEc2x1ZxgDIAEoCUgAiAEBEg4KBnNjaGVtYRgEIAEoDBIpCgZzdGF0dXMYBSABKA4yGS5hcGkubWFuYWdlLnYxLkZvcm1TdGF0dXMSEQoJaXNfcHVibGljGAYgASgIEhkKDHJlcXVpcmVfYXV0aBgHIAEoCEgBiAEBEhUKDWFsbG93ZWRfcm9sZXMYCCADKAkSJwoaYWxsb3dfZHVwbGljYXRlX3N1Ym1pc3Npb24YCSABKAhIAogBARIUCgxoYXNfcGFzc3dvcmQYCiABKAgSHAoPbWF4X3N1Ym1pc3Npb25zGAsgASgFSAOIAQESMQoIb3BlbnNfYXQYDCABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wSASIAQESMgoJY2xvc2VzX2F0GA0gASgLMhouZ29vZ2xlLnByb3RvYnVmLlRpbWVzdGFtcEgFiAEBEi4KCmNyZWF0ZWRfYXQYDiABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wEjMKCnVwZGF0ZWRfYXQYDyABKAsyGi5nb29nbGUucHJvdG9idWYuVGltZXN0YW1wSAaI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WFuYWdlLnYxLkxpc3RGb3JtU3VibWlzc2lvbnNSZXNwb25zZSIGyvMYAggEEn0KFkdldEZvcm1TdWJtaXNzaW9uU3RhdHMSLC5hcGkubWFuYWdlLnYxLkdldEZvcm1TdWJtaXNzaW9uU3RhdHNSZXF1ZXN0Gi0uYXBpLm1hbmFnZS52MS5HZXRGb3JtU3VibWlzc2lvblN0YXRzUmVzcG9uc2UiBsrzGAIIBBJ3ChtHZXRGb3JtU3VibWlzc2lvbldpdGhTY2hlbWESJy5hcGkubWFuYWdlLnYxLkdldEZvcm1TdWJtaXNzaW9uUmVxdWVzdBonLmFwaS5tYW5hZ2UudjEuRm9ybVN1Ym1pc3Npb25XaXRoU2NoZW1hIgbK8xgCCAQSaQoURGVsZXRlRm9ybVN1Ym1pc3Npb24SKi5hcGkubWFuYWdlLnYxLkRlbGV0ZUZvcm1TdWJtaXNzaW9uUmVxdWVzdBodLmFwaS5tYW5hZ2UudjEuRGVsZXRlUmVzcG9uc2UiBsrzGAIIBEKzAQoRY29tLmFwaS5tYW5hZ2UudjFCCUZvcm1Qcm90b1ABWj1naXRodWIuY29tL2RzdWItaW8vZXZlbnQtY29udHJhY3RzL2dlbi9hcGkvbWFuYWdlL3YxO21hbmFnZXYxogIDQU1YqgINQXBpLk1hbmFnZS5WMcoCDUFwaVxNYW5hZ2VcVjHiAhlBcGlcTWFuYWdlXFYxXEdQQk1ldGFkYXRh6gIPQXBpOjpNYW5hZ2U6OlYxYgZwcm90bzM",
41
+ [
42
+ file_api_common_v1_common,
43
+ file_api_common_v1_media,
44
+ file_api_manage_v1_common,
45
+ file_api_policy_v1_access,
46
+ file_google_protobuf_timestamp,
47
+ ],
48
+ );
49
+
50
+ /**
51
+ * @generated from message api.manage.v1.Form
52
+ */
53
+ export type Form = Message<"api.manage.v1.Form"> & {
54
+ /**
55
+ * @generated from field: string id = 1;
56
+ */
57
+ id: string;
58
+
59
+ /**
60
+ * @generated from field: string title = 2;
61
+ */
62
+ title: string;
63
+
64
+ /**
65
+ * @generated from field: optional string slug = 3;
66
+ */
67
+ slug?: string | undefined;
68
+
69
+ /**
70
+ * JSON - form field definitions
71
+ *
72
+ * @generated from field: bytes schema = 4;
73
+ */
74
+ schema: Uint8Array;
75
+
76
+ /**
77
+ * @generated from field: api.manage.v1.FormStatus status = 5;
78
+ */
79
+ status: FormStatus;
80
+
81
+ /**
82
+ * @generated from field: bool is_public = 6;
83
+ */
84
+ isPublic: boolean;
85
+
86
+ /**
87
+ * @generated from field: optional bool require_auth = 7;
88
+ */
89
+ requireAuth?: boolean | undefined;
90
+
91
+ /**
92
+ * @generated from field: repeated string allowed_roles = 8;
93
+ */
94
+ allowedRoles: string[];
95
+
96
+ /**
97
+ * @generated from field: optional bool allow_duplicate_submission = 9;
98
+ */
99
+ allowDuplicateSubmission?: boolean | undefined;
100
+
101
+ /**
102
+ * Don't expose the hash, just indicate if protected
103
+ *
104
+ * @generated from field: bool has_password = 10;
105
+ */
106
+ hasPassword: boolean;
107
+
108
+ /**
109
+ * @generated from field: optional int32 max_submissions = 11;
110
+ */
111
+ maxSubmissions?: number | undefined;
112
+
113
+ /**
114
+ * @generated from field: optional google.protobuf.Timestamp opens_at = 12;
115
+ */
116
+ opensAt?: Timestamp | undefined;
117
+
118
+ /**
119
+ * @generated from field: optional google.protobuf.Timestamp closes_at = 13;
120
+ */
121
+ closesAt?: Timestamp | undefined;
122
+
123
+ /**
124
+ * @generated from field: google.protobuf.Timestamp created_at = 14;
125
+ */
126
+ createdAt?: Timestamp | undefined;
127
+
128
+ /**
129
+ * @generated from field: optional google.protobuf.Timestamp updated_at = 15;
130
+ */
131
+ updatedAt?: Timestamp | undefined;
132
+
133
+ /**
134
+ * @generated from field: optional api.common.v1.AssetRef og_asset = 16;
135
+ */
136
+ ogAsset?: AssetRef | undefined;
137
+
138
+ /**
139
+ * @generated from field: optional api.common.v1.AssetRef featured_image_asset = 17;
140
+ */
141
+ featuredImageAsset?: AssetRef | undefined;
142
+
143
+ /**
144
+ * @generated from field: string source_locale = 18;
145
+ */
146
+ sourceLocale: string;
147
+ };
148
+
149
+ /**
150
+ * Describes the message api.manage.v1.Form.
151
+ * Use `create(FormSchema)` to create a new message.
152
+ */
153
+ export const FormSchema: GenMessage<Form> =
154
+ /*@__PURE__*/
155
+ messageDesc(file_api_manage_v1_form, 0);
156
+
157
+ /**
158
+ * Form summary for listing
159
+ *
160
+ * @generated from message api.manage.v1.FormSummary
161
+ */
162
+ export type FormSummary = Message<"api.manage.v1.FormSummary"> & {
163
+ /**
164
+ * @generated from field: string id = 1;
165
+ */
166
+ id: string;
167
+
168
+ /**
169
+ * @generated from field: string title = 2;
170
+ */
171
+ title: string;
172
+
173
+ /**
174
+ * @generated from field: optional string slug = 3;
175
+ */
176
+ slug?: string | undefined;
177
+
178
+ /**
179
+ * @generated from field: api.manage.v1.FormStatus status = 4;
180
+ */
181
+ status: FormStatus;
182
+
183
+ /**
184
+ * @generated from field: int32 submission_count = 5;
185
+ */
186
+ submissionCount: number;
187
+
188
+ /**
189
+ * @generated from field: google.protobuf.Timestamp created_at = 6;
190
+ */
191
+ createdAt?: Timestamp | undefined;
192
+
193
+ /**
194
+ * @generated from field: optional google.protobuf.Timestamp updated_at = 7;
195
+ */
196
+ updatedAt?: Timestamp | undefined;
197
+
198
+ /**
199
+ * @generated from field: string source_locale = 8;
200
+ */
201
+ sourceLocale: string;
202
+ };
203
+
204
+ /**
205
+ * Describes the message api.manage.v1.FormSummary.
206
+ * Use `create(FormSummarySchema)` to create a new message.
207
+ */
208
+ export const FormSummarySchema: GenMessage<FormSummary> =
209
+ /*@__PURE__*/
210
+ messageDesc(file_api_manage_v1_form, 1);
211
+
212
+ /**
213
+ * Form submission
214
+ * Maps to: postgres/init/schema.template - form_submission table
215
+ *
216
+ * @generated from message api.manage.v1.FormSubmission
217
+ */
218
+ export type FormSubmission = Message<"api.manage.v1.FormSubmission"> & {
219
+ /**
220
+ * @generated from field: string id = 1;
221
+ */
222
+ id: string;
223
+
224
+ /**
225
+ * @generated from field: string form_id = 2;
226
+ */
227
+ formId: string;
228
+
229
+ /**
230
+ * @generated from field: optional string member_id = 3;
231
+ */
232
+ memberId?: string | undefined;
233
+
234
+ /**
235
+ * JSON object of submitted values
236
+ *
237
+ * @generated from field: bytes data = 4;
238
+ */
239
+ data: Uint8Array;
240
+
241
+ /**
242
+ * @generated from field: optional string ip_address = 5;
243
+ */
244
+ ipAddress?: string | undefined;
245
+
246
+ /**
247
+ * @generated from field: optional string country_code = 6;
248
+ */
249
+ countryCode?: string | undefined;
250
+
251
+ /**
252
+ * @generated from field: optional string user_agent = 7;
253
+ */
254
+ userAgent?: string | undefined;
255
+
256
+ /**
257
+ * @generated from field: google.protobuf.Timestamp created_at = 8;
258
+ */
259
+ createdAt?: Timestamp | undefined;
260
+ };
261
+
262
+ /**
263
+ * Describes the message api.manage.v1.FormSubmission.
264
+ * Use `create(FormSubmissionSchema)` to create a new message.
265
+ */
266
+ export const FormSubmissionSchema: GenMessage<FormSubmission> =
267
+ /*@__PURE__*/
268
+ messageDesc(file_api_manage_v1_form, 2);
269
+
270
+ /**
271
+ * @generated from message api.manage.v1.GetFormRequest
272
+ */
273
+ export type GetFormRequest = Message<"api.manage.v1.GetFormRequest"> & {
274
+ /**
275
+ * @generated from field: string id = 1;
276
+ */
277
+ id: string;
278
+ };
279
+
280
+ /**
281
+ * Describes the message api.manage.v1.GetFormRequest.
282
+ * Use `create(GetFormRequestSchema)` to create a new message.
283
+ */
284
+ export const GetFormRequestSchema: GenMessage<GetFormRequest> =
285
+ /*@__PURE__*/
286
+ messageDesc(file_api_manage_v1_form, 3);
287
+
288
+ /**
289
+ * @generated from message api.manage.v1.CheckFormSlugAvailableRequest
290
+ */
291
+ export type CheckFormSlugAvailableRequest =
292
+ Message<"api.manage.v1.CheckFormSlugAvailableRequest"> & {
293
+ /**
294
+ * @generated from field: string slug = 1;
295
+ */
296
+ slug: string;
297
+
298
+ /**
299
+ * @generated from field: optional string exclude_id = 2;
300
+ */
301
+ excludeId?: string | undefined;
302
+ };
303
+
304
+ /**
305
+ * Describes the message api.manage.v1.CheckFormSlugAvailableRequest.
306
+ * Use `create(CheckFormSlugAvailableRequestSchema)` to create a new message.
307
+ */
308
+ export const CheckFormSlugAvailableRequestSchema: GenMessage<CheckFormSlugAvailableRequest> =
309
+ /*@__PURE__*/
310
+ messageDesc(file_api_manage_v1_form, 4);
311
+
312
+ /**
313
+ * @generated from message api.manage.v1.CheckFormSlugAvailableResponse
314
+ */
315
+ export type CheckFormSlugAvailableResponse =
316
+ Message<"api.manage.v1.CheckFormSlugAvailableResponse"> & {
317
+ /**
318
+ * @generated from field: bool available = 1;
319
+ */
320
+ available: boolean;
321
+ };
322
+
323
+ /**
324
+ * Describes the message api.manage.v1.CheckFormSlugAvailableResponse.
325
+ * Use `create(CheckFormSlugAvailableResponseSchema)` to create a new message.
326
+ */
327
+ export const CheckFormSlugAvailableResponseSchema: GenMessage<CheckFormSlugAvailableResponse> =
328
+ /*@__PURE__*/
329
+ messageDesc(file_api_manage_v1_form, 5);
330
+
331
+ /**
332
+ * @generated from message api.manage.v1.ListFormsAdminRequest
333
+ */
334
+ export type ListFormsAdminRequest =
335
+ Message<"api.manage.v1.ListFormsAdminRequest"> & {
336
+ /**
337
+ * @generated from field: api.common.v1.PaginationRequest pagination = 1;
338
+ */
339
+ pagination?: PaginationRequest | undefined;
340
+
341
+ /**
342
+ * @generated from field: repeated api.common.v1.FilterSpec filters = 2;
343
+ */
344
+ filters: FilterSpec[];
345
+
346
+ /**
347
+ * @generated from field: repeated api.common.v1.SortSpec sorts = 3;
348
+ */
349
+ sorts: SortSpec[];
350
+ };
351
+
352
+ /**
353
+ * Describes the message api.manage.v1.ListFormsAdminRequest.
354
+ * Use `create(ListFormsAdminRequestSchema)` to create a new message.
355
+ */
356
+ export const ListFormsAdminRequestSchema: GenMessage<ListFormsAdminRequest> =
357
+ /*@__PURE__*/
358
+ messageDesc(file_api_manage_v1_form, 6);
359
+
360
+ /**
361
+ * @generated from message api.manage.v1.ListFormsAdminResponse
362
+ */
363
+ export type ListFormsAdminResponse =
364
+ Message<"api.manage.v1.ListFormsAdminResponse"> & {
365
+ /**
366
+ * @generated from field: repeated api.manage.v1.FormSummary forms = 1;
367
+ */
368
+ forms: FormSummary[];
369
+
370
+ /**
371
+ * @generated from field: api.common.v1.PaginationResponse pagination = 2;
372
+ */
373
+ pagination?: PaginationResponse | undefined;
374
+ };
375
+
376
+ /**
377
+ * Describes the message api.manage.v1.ListFormsAdminResponse.
378
+ * Use `create(ListFormsAdminResponseSchema)` to create a new message.
379
+ */
380
+ export const ListFormsAdminResponseSchema: GenMessage<ListFormsAdminResponse> =
381
+ /*@__PURE__*/
382
+ messageDesc(file_api_manage_v1_form, 7);
383
+
384
+ /**
385
+ * @generated from message api.manage.v1.CreateFormRequest
386
+ */
387
+ export type CreateFormRequest = Message<"api.manage.v1.CreateFormRequest"> & {
388
+ /**
389
+ * @generated from field: string title = 1;
390
+ */
391
+ title: string;
392
+
393
+ /**
394
+ * @generated from field: optional string slug = 2;
395
+ */
396
+ slug?: string | undefined;
397
+
398
+ /**
399
+ * @generated from field: bytes schema = 3;
400
+ */
401
+ schema: Uint8Array;
402
+
403
+ /**
404
+ * @generated from field: optional bool is_public = 4;
405
+ */
406
+ isPublic?: boolean | undefined;
407
+
408
+ /**
409
+ * @generated from field: optional bool require_auth = 5;
410
+ */
411
+ requireAuth?: boolean | undefined;
412
+
413
+ /**
414
+ * @generated from field: optional bool allow_duplicate_submission = 6;
415
+ */
416
+ allowDuplicateSubmission?: boolean | undefined;
417
+
418
+ /**
419
+ * Plain text, will be hashed
420
+ *
421
+ * @generated from field: optional string password = 7;
422
+ */
423
+ password?: string | undefined;
424
+
425
+ /**
426
+ * @generated from field: optional int32 max_submissions = 8;
427
+ */
428
+ maxSubmissions?: number | undefined;
429
+
430
+ /**
431
+ * @generated from field: optional google.protobuf.Timestamp opens_at = 9;
432
+ */
433
+ opensAt?: Timestamp | undefined;
434
+
435
+ /**
436
+ * @generated from field: optional google.protobuf.Timestamp closes_at = 10;
437
+ */
438
+ closesAt?: Timestamp | undefined;
439
+
440
+ /**
441
+ * @generated from field: repeated string allowed_roles = 11;
442
+ */
443
+ allowedRoles: string[];
444
+
445
+ /**
446
+ * Required initial source locale for the new Form.
447
+ *
448
+ * @generated from field: string source_locale = 12;
449
+ */
450
+ sourceLocale: string;
451
+ };
452
+
453
+ /**
454
+ * Describes the message api.manage.v1.CreateFormRequest.
455
+ * Use `create(CreateFormRequestSchema)` to create a new message.
456
+ */
457
+ export const CreateFormRequestSchema: GenMessage<CreateFormRequest> =
458
+ /*@__PURE__*/
459
+ messageDesc(file_api_manage_v1_form, 8);
460
+
461
+ /**
462
+ * @generated from message api.manage.v1.UpdateFormRequest
463
+ */
464
+ export type UpdateFormRequest = Message<"api.manage.v1.UpdateFormRequest"> & {
465
+ /**
466
+ * @generated from field: string id = 1;
467
+ */
468
+ id: string;
469
+
470
+ /**
471
+ * @generated from field: optional string title = 2;
472
+ */
473
+ title?: string | undefined;
474
+
475
+ /**
476
+ * @generated from field: optional string slug = 3;
477
+ */
478
+ slug?: string | undefined;
479
+
480
+ /**
481
+ * @generated from field: optional bytes schema = 4;
482
+ */
483
+ schema?: Uint8Array | undefined;
484
+
485
+ /**
486
+ * @generated from field: optional bool is_public = 5;
487
+ */
488
+ isPublic?: boolean | undefined;
489
+
490
+ /**
491
+ * @generated from field: optional bool require_auth = 6;
492
+ */
493
+ requireAuth?: boolean | undefined;
494
+
495
+ /**
496
+ * @generated from field: optional bool allow_duplicate_submission = 7;
497
+ */
498
+ allowDuplicateSubmission?: boolean | undefined;
499
+
500
+ /**
501
+ * Empty string to remove password
502
+ *
503
+ * @generated from field: optional string password = 8;
504
+ */
505
+ password?: string | undefined;
506
+
507
+ /**
508
+ * @generated from field: optional int32 max_submissions = 9;
509
+ */
510
+ maxSubmissions?: number | undefined;
511
+
512
+ /**
513
+ * @generated from field: optional google.protobuf.Timestamp opens_at = 10;
514
+ */
515
+ opensAt?: Timestamp | undefined;
516
+
517
+ /**
518
+ * @generated from field: optional google.protobuf.Timestamp closes_at = 11;
519
+ */
520
+ closesAt?: Timestamp | undefined;
521
+
522
+ /**
523
+ * @generated from field: optional api.manage.v1.FormStatus status = 12;
524
+ */
525
+ status?: FormStatus | undefined;
526
+
527
+ /**
528
+ * @generated from field: repeated string allowed_roles = 13;
529
+ */
530
+ allowedRoles: string[];
531
+
532
+ /**
533
+ * @generated from field: bool clear_slug = 14;
534
+ */
535
+ clearSlug: boolean;
536
+
537
+ /**
538
+ * @generated from field: bool clear_opens_at = 15;
539
+ */
540
+ clearOpensAt: boolean;
541
+
542
+ /**
543
+ * @generated from field: bool clear_closes_at = 16;
544
+ */
545
+ clearClosesAt: boolean;
546
+
547
+ /**
548
+ * @generated from field: bool clear_max_submissions = 17;
549
+ */
550
+ clearMaxSubmissions: boolean;
551
+
552
+ /**
553
+ * Proto repeated fields have no presence. Set this when replacing the full
554
+ * role list, including when clearing it to an empty list.
555
+ *
556
+ * @generated from field: bool replace_allowed_roles = 18;
557
+ */
558
+ replaceAllowedRoles: boolean;
559
+ };
560
+
561
+ /**
562
+ * Describes the message api.manage.v1.UpdateFormRequest.
563
+ * Use `create(UpdateFormRequestSchema)` to create a new message.
564
+ */
565
+ export const UpdateFormRequestSchema: GenMessage<UpdateFormRequest> =
566
+ /*@__PURE__*/
567
+ messageDesc(file_api_manage_v1_form, 9);
568
+
569
+ /**
570
+ * @generated from message api.manage.v1.DeleteFormRequest
571
+ */
572
+ export type DeleteFormRequest = Message<"api.manage.v1.DeleteFormRequest"> & {
573
+ /**
574
+ * @generated from field: string id = 1;
575
+ */
576
+ id: string;
577
+ };
578
+
579
+ /**
580
+ * Describes the message api.manage.v1.DeleteFormRequest.
581
+ * Use `create(DeleteFormRequestSchema)` to create a new message.
582
+ */
583
+ export const DeleteFormRequestSchema: GenMessage<DeleteFormRequest> =
584
+ /*@__PURE__*/
585
+ messageDesc(file_api_manage_v1_form, 10);
586
+
587
+ /**
588
+ * @generated from message api.manage.v1.SetFormFeaturedImageRequest
589
+ */
590
+ export type SetFormFeaturedImageRequest =
591
+ Message<"api.manage.v1.SetFormFeaturedImageRequest"> & {
592
+ /**
593
+ * @generated from field: string form_id = 1;
594
+ */
595
+ formId: string;
596
+
597
+ /**
598
+ * @generated from field: string file_id = 2;
599
+ */
600
+ fileId: string;
601
+ };
602
+
603
+ /**
604
+ * Describes the message api.manage.v1.SetFormFeaturedImageRequest.
605
+ * Use `create(SetFormFeaturedImageRequestSchema)` to create a new message.
606
+ */
607
+ export const SetFormFeaturedImageRequestSchema: GenMessage<SetFormFeaturedImageRequest> =
608
+ /*@__PURE__*/
609
+ messageDesc(file_api_manage_v1_form, 11);
610
+
611
+ /**
612
+ * @generated from message api.manage.v1.SetFormFeaturedImageResponse
613
+ */
614
+ export type SetFormFeaturedImageResponse =
615
+ Message<"api.manage.v1.SetFormFeaturedImageResponse"> & {
616
+ /**
617
+ * @generated from field: api.common.v1.AssetRef image_asset = 1;
618
+ */
619
+ imageAsset?: AssetRef | undefined;
620
+
621
+ /**
622
+ * @generated from field: optional string og_generation_run_id = 2;
623
+ */
624
+ ogGenerationRunId?: string | undefined;
625
+ };
626
+
627
+ /**
628
+ * Describes the message api.manage.v1.SetFormFeaturedImageResponse.
629
+ * Use `create(SetFormFeaturedImageResponseSchema)` to create a new message.
630
+ */
631
+ export const SetFormFeaturedImageResponseSchema: GenMessage<SetFormFeaturedImageResponse> =
632
+ /*@__PURE__*/
633
+ messageDesc(file_api_manage_v1_form, 12);
634
+
635
+ /**
636
+ * @generated from message api.manage.v1.DeleteFormFeaturedImageRequest
637
+ */
638
+ export type DeleteFormFeaturedImageRequest =
639
+ Message<"api.manage.v1.DeleteFormFeaturedImageRequest"> & {
640
+ /**
641
+ * @generated from field: string form_id = 1;
642
+ */
643
+ formId: string;
644
+ };
645
+
646
+ /**
647
+ * Describes the message api.manage.v1.DeleteFormFeaturedImageRequest.
648
+ * Use `create(DeleteFormFeaturedImageRequestSchema)` to create a new message.
649
+ */
650
+ export const DeleteFormFeaturedImageRequestSchema: GenMessage<DeleteFormFeaturedImageRequest> =
651
+ /*@__PURE__*/
652
+ messageDesc(file_api_manage_v1_form, 13);
653
+
654
+ /**
655
+ * @generated from message api.manage.v1.ListFormSubmissionsRequest
656
+ */
657
+ export type ListFormSubmissionsRequest =
658
+ Message<"api.manage.v1.ListFormSubmissionsRequest"> & {
659
+ /**
660
+ * @generated from field: string form_id = 1;
661
+ */
662
+ formId: string;
663
+
664
+ /**
665
+ * @generated from field: api.common.v1.PaginationRequest pagination = 2;
666
+ */
667
+ pagination?: PaginationRequest | undefined;
668
+
669
+ /**
670
+ * @generated from field: repeated api.common.v1.SortSpec sorts = 3;
671
+ */
672
+ sorts: SortSpec[];
673
+ };
674
+
675
+ /**
676
+ * Describes the message api.manage.v1.ListFormSubmissionsRequest.
677
+ * Use `create(ListFormSubmissionsRequestSchema)` to create a new message.
678
+ */
679
+ export const ListFormSubmissionsRequestSchema: GenMessage<ListFormSubmissionsRequest> =
680
+ /*@__PURE__*/
681
+ messageDesc(file_api_manage_v1_form, 14);
682
+
683
+ /**
684
+ * @generated from message api.manage.v1.ListFormSubmissionsResponse
685
+ */
686
+ export type ListFormSubmissionsResponse =
687
+ Message<"api.manage.v1.ListFormSubmissionsResponse"> & {
688
+ /**
689
+ * @generated from field: repeated api.manage.v1.FormSubmission submissions = 1;
690
+ */
691
+ submissions: FormSubmission[];
692
+
693
+ /**
694
+ * @generated from field: api.common.v1.PaginationResponse pagination = 2;
695
+ */
696
+ pagination?: PaginationResponse | undefined;
697
+ };
698
+
699
+ /**
700
+ * Describes the message api.manage.v1.ListFormSubmissionsResponse.
701
+ * Use `create(ListFormSubmissionsResponseSchema)` to create a new message.
702
+ */
703
+ export const ListFormSubmissionsResponseSchema: GenMessage<ListFormSubmissionsResponse> =
704
+ /*@__PURE__*/
705
+ messageDesc(file_api_manage_v1_form, 15);
706
+
707
+ /**
708
+ * @generated from message api.manage.v1.FormSubmissionFieldValue
709
+ */
710
+ export type FormSubmissionFieldValue =
711
+ Message<"api.manage.v1.FormSubmissionFieldValue"> & {
712
+ /**
713
+ * @generated from field: string value = 1;
714
+ */
715
+ value: string;
716
+
717
+ /**
718
+ * @generated from field: int32 count = 2;
719
+ */
720
+ count: number;
721
+ };
722
+
723
+ /**
724
+ * Describes the message api.manage.v1.FormSubmissionFieldValue.
725
+ * Use `create(FormSubmissionFieldValueSchema)` to create a new message.
726
+ */
727
+ export const FormSubmissionFieldValueSchema: GenMessage<FormSubmissionFieldValue> =
728
+ /*@__PURE__*/
729
+ messageDesc(file_api_manage_v1_form, 16);
730
+
731
+ /**
732
+ * @generated from message api.manage.v1.FormSubmissionFieldStat
733
+ */
734
+ export type FormSubmissionFieldStat =
735
+ Message<"api.manage.v1.FormSubmissionFieldStat"> & {
736
+ /**
737
+ * @generated from field: string field_id = 1;
738
+ */
739
+ fieldId: string;
740
+
741
+ /**
742
+ * @generated from field: string field_label = 2;
743
+ */
744
+ fieldLabel: string;
745
+
746
+ /**
747
+ * @generated from field: repeated api.manage.v1.FormSubmissionFieldValue values = 3;
748
+ */
749
+ values: FormSubmissionFieldValue[];
750
+ };
751
+
752
+ /**
753
+ * Describes the message api.manage.v1.FormSubmissionFieldStat.
754
+ * Use `create(FormSubmissionFieldStatSchema)` to create a new message.
755
+ */
756
+ export const FormSubmissionFieldStatSchema: GenMessage<FormSubmissionFieldStat> =
757
+ /*@__PURE__*/
758
+ messageDesc(file_api_manage_v1_form, 17);
759
+
760
+ /**
761
+ * @generated from message api.manage.v1.FormSubmissionStats
762
+ */
763
+ export type FormSubmissionStats =
764
+ Message<"api.manage.v1.FormSubmissionStats"> & {
765
+ /**
766
+ * @generated from field: int32 total_submissions = 1;
767
+ */
768
+ totalSubmissions: number;
769
+
770
+ /**
771
+ * @generated from field: int32 submissions_today = 2;
772
+ */
773
+ submissionsToday: number;
774
+
775
+ /**
776
+ * @generated from field: int32 submissions_this_week = 3;
777
+ */
778
+ submissionsThisWeek: number;
779
+
780
+ /**
781
+ * @generated from field: int32 submissions_this_month = 4;
782
+ */
783
+ submissionsThisMonth: number;
784
+
785
+ /**
786
+ * @generated from field: repeated api.manage.v1.FormSubmissionFieldStat field_stats = 5;
787
+ */
788
+ fieldStats: FormSubmissionFieldStat[];
789
+ };
790
+
791
+ /**
792
+ * Describes the message api.manage.v1.FormSubmissionStats.
793
+ * Use `create(FormSubmissionStatsSchema)` to create a new message.
794
+ */
795
+ export const FormSubmissionStatsSchema: GenMessage<FormSubmissionStats> =
796
+ /*@__PURE__*/
797
+ messageDesc(file_api_manage_v1_form, 18);
798
+
799
+ /**
800
+ * @generated from message api.manage.v1.GetFormSubmissionStatsRequest
801
+ */
802
+ export type GetFormSubmissionStatsRequest =
803
+ Message<"api.manage.v1.GetFormSubmissionStatsRequest"> & {
804
+ /**
805
+ * @generated from field: string form_id = 1;
806
+ */
807
+ formId: string;
808
+ };
809
+
810
+ /**
811
+ * Describes the message api.manage.v1.GetFormSubmissionStatsRequest.
812
+ * Use `create(GetFormSubmissionStatsRequestSchema)` to create a new message.
813
+ */
814
+ export const GetFormSubmissionStatsRequestSchema: GenMessage<GetFormSubmissionStatsRequest> =
815
+ /*@__PURE__*/
816
+ messageDesc(file_api_manage_v1_form, 19);
817
+
818
+ /**
819
+ * @generated from message api.manage.v1.GetFormSubmissionStatsResponse
820
+ */
821
+ export type GetFormSubmissionStatsResponse =
822
+ Message<"api.manage.v1.GetFormSubmissionStatsResponse"> & {
823
+ /**
824
+ * @generated from field: api.manage.v1.FormSubmissionStats stats = 1;
825
+ */
826
+ stats?: FormSubmissionStats | undefined;
827
+ };
828
+
829
+ /**
830
+ * Describes the message api.manage.v1.GetFormSubmissionStatsResponse.
831
+ * Use `create(GetFormSubmissionStatsResponseSchema)` to create a new message.
832
+ */
833
+ export const GetFormSubmissionStatsResponseSchema: GenMessage<GetFormSubmissionStatsResponse> =
834
+ /*@__PURE__*/
835
+ messageDesc(file_api_manage_v1_form, 20);
836
+
837
+ /**
838
+ * @generated from message api.manage.v1.GetFormSubmissionRequest
839
+ */
840
+ export type GetFormSubmissionRequest =
841
+ Message<"api.manage.v1.GetFormSubmissionRequest"> & {
842
+ /**
843
+ * @generated from field: string id = 1;
844
+ */
845
+ id: string;
846
+ };
847
+
848
+ /**
849
+ * Describes the message api.manage.v1.GetFormSubmissionRequest.
850
+ * Use `create(GetFormSubmissionRequestSchema)` to create a new message.
851
+ */
852
+ export const GetFormSubmissionRequestSchema: GenMessage<GetFormSubmissionRequest> =
853
+ /*@__PURE__*/
854
+ messageDesc(file_api_manage_v1_form, 21);
855
+
856
+ /**
857
+ * Response containing submission with form schema for rendering
858
+ *
859
+ * @generated from message api.manage.v1.FormSubmissionWithSchema
860
+ */
861
+ export type FormSubmissionWithSchema =
862
+ Message<"api.manage.v1.FormSubmissionWithSchema"> & {
863
+ /**
864
+ * @generated from field: api.manage.v1.FormSubmission submission = 1;
865
+ */
866
+ submission?: FormSubmission | undefined;
867
+
868
+ /**
869
+ * JSON - form field definitions from Form.schema
870
+ *
871
+ * @generated from field: bytes form_schema = 2;
872
+ */
873
+ formSchema: Uint8Array;
874
+
875
+ /**
876
+ * @generated from field: string form_title = 3;
877
+ */
878
+ formTitle: string;
879
+ };
880
+
881
+ /**
882
+ * Describes the message api.manage.v1.FormSubmissionWithSchema.
883
+ * Use `create(FormSubmissionWithSchemaSchema)` to create a new message.
884
+ */
885
+ export const FormSubmissionWithSchemaSchema: GenMessage<FormSubmissionWithSchema> =
886
+ /*@__PURE__*/
887
+ messageDesc(file_api_manage_v1_form, 22);
888
+
889
+ /**
890
+ * @generated from message api.manage.v1.DeleteFormSubmissionRequest
891
+ */
892
+ export type DeleteFormSubmissionRequest =
893
+ Message<"api.manage.v1.DeleteFormSubmissionRequest"> & {
894
+ /**
895
+ * @generated from field: string id = 1;
896
+ */
897
+ id: string;
898
+ };
899
+
900
+ /**
901
+ * Describes the message api.manage.v1.DeleteFormSubmissionRequest.
902
+ * Use `create(DeleteFormSubmissionRequestSchema)` to create a new message.
903
+ */
904
+ export const DeleteFormSubmissionRequestSchema: GenMessage<DeleteFormSubmissionRequest> =
905
+ /*@__PURE__*/
906
+ messageDesc(file_api_manage_v1_form, 23);
907
+
908
+ /**
909
+ * Form status enum
910
+ * Maps to: postgres/init/schema.template - form_status ENUM
911
+ *
912
+ * @generated from enum api.manage.v1.FormStatus
913
+ */
914
+ export enum FormStatus {
915
+ /**
916
+ * @generated from enum value: FORM_STATUS_UNSPECIFIED = 0;
917
+ */
918
+ UNSPECIFIED = 0,
919
+
920
+ /**
921
+ * @generated from enum value: FORM_STATUS_DRAFT = 1;
922
+ */
923
+ DRAFT = 1,
924
+
925
+ /**
926
+ * @generated from enum value: FORM_STATUS_PUBLISHED = 2;
927
+ */
928
+ PUBLISHED = 2,
929
+ }
930
+
931
+ /**
932
+ * Describes the enum api.manage.v1.FormStatus.
933
+ */
934
+ export const FormStatusSchema: GenEnum<FormStatus> =
935
+ /*@__PURE__*/
936
+ enumDesc(file_api_manage_v1_form, 0);
937
+
938
+ /**
939
+ * Form Service
940
+ *
941
+ * @generated from service api.manage.v1.FormService
942
+ */
943
+ export const FormService: GenService<{
944
+ /**
945
+ * Site Admin management
946
+ *
947
+ * @generated from rpc api.manage.v1.FormService.GetForm
948
+ */
949
+ getForm: {
950
+ methodKind: "unary";
951
+ input: typeof GetFormRequestSchema;
952
+ output: typeof FormSchema;
953
+ };
954
+ /**
955
+ * @generated from rpc api.manage.v1.FormService.ListFormsAdmin
956
+ */
957
+ listFormsAdmin: {
958
+ methodKind: "unary";
959
+ input: typeof ListFormsAdminRequestSchema;
960
+ output: typeof ListFormsAdminResponseSchema;
961
+ };
962
+ /**
963
+ * @generated from rpc api.manage.v1.FormService.CreateForm
964
+ */
965
+ createForm: {
966
+ methodKind: "unary";
967
+ input: typeof CreateFormRequestSchema;
968
+ output: typeof FormSchema;
969
+ };
970
+ /**
971
+ * @generated from rpc api.manage.v1.FormService.UpdateForm
972
+ */
973
+ updateForm: {
974
+ methodKind: "unary";
975
+ input: typeof UpdateFormRequestSchema;
976
+ output: typeof FormSchema;
977
+ };
978
+ /**
979
+ * @generated from rpc api.manage.v1.FormService.DeleteForm
980
+ */
981
+ deleteForm: {
982
+ methodKind: "unary";
983
+ input: typeof DeleteFormRequestSchema;
984
+ output: typeof DeleteResponseSchema;
985
+ };
986
+ /**
987
+ * @generated from rpc api.manage.v1.FormService.SetFormFeaturedImage
988
+ */
989
+ setFormFeaturedImage: {
990
+ methodKind: "unary";
991
+ input: typeof SetFormFeaturedImageRequestSchema;
992
+ output: typeof SetFormFeaturedImageResponseSchema;
993
+ };
994
+ /**
995
+ * @generated from rpc api.manage.v1.FormService.DeleteFormFeaturedImage
996
+ */
997
+ deleteFormFeaturedImage: {
998
+ methodKind: "unary";
999
+ input: typeof DeleteFormFeaturedImageRequestSchema;
1000
+ output: typeof OgAssetDeleteResponseSchema;
1001
+ };
1002
+ /**
1003
+ * Utility
1004
+ *
1005
+ * @generated from rpc api.manage.v1.FormService.CheckFormSlugAvailable
1006
+ */
1007
+ checkFormSlugAvailable: {
1008
+ methodKind: "unary";
1009
+ input: typeof CheckFormSlugAvailableRequestSchema;
1010
+ output: typeof CheckFormSlugAvailableResponseSchema;
1011
+ };
1012
+ /**
1013
+ * Submissions
1014
+ *
1015
+ * @generated from rpc api.manage.v1.FormService.ListFormSubmissions
1016
+ */
1017
+ listFormSubmissions: {
1018
+ methodKind: "unary";
1019
+ input: typeof ListFormSubmissionsRequestSchema;
1020
+ output: typeof ListFormSubmissionsResponseSchema;
1021
+ };
1022
+ /**
1023
+ * @generated from rpc api.manage.v1.FormService.GetFormSubmissionStats
1024
+ */
1025
+ getFormSubmissionStats: {
1026
+ methodKind: "unary";
1027
+ input: typeof GetFormSubmissionStatsRequestSchema;
1028
+ output: typeof GetFormSubmissionStatsResponseSchema;
1029
+ };
1030
+ /**
1031
+ * @generated from rpc api.manage.v1.FormService.GetFormSubmissionWithSchema
1032
+ */
1033
+ getFormSubmissionWithSchema: {
1034
+ methodKind: "unary";
1035
+ input: typeof GetFormSubmissionRequestSchema;
1036
+ output: typeof FormSubmissionWithSchemaSchema;
1037
+ };
1038
+ /**
1039
+ * @generated from rpc api.manage.v1.FormService.DeleteFormSubmission
1040
+ */
1041
+ deleteFormSubmission: {
1042
+ methodKind: "unary";
1043
+ input: typeof DeleteFormSubmissionRequestSchema;
1044
+ output: typeof DeleteResponseSchema;
1045
+ };
1046
+ }> = /*@__PURE__*/ serviceDesc(file_api_manage_v1_form, 0);