@maxischmaxi/maxforms-api-client 0.0.9 → 0.0.11

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.
@@ -107,6 +107,21 @@ export declare enum BlockType {
107
107
  */
108
108
  ROW = 5
109
109
  }
110
+ /**
111
+ * Webhook event types
112
+ *
113
+ * @generated from enum forms.v1.WebhookEvent
114
+ */
115
+ export declare enum WebhookEvent {
116
+ /**
117
+ * @generated from enum value: WEBHOOK_EVENT_UNSPECIFIED = 0;
118
+ */
119
+ UNSPECIFIED = 0,
120
+ /**
121
+ * @generated from enum value: WEBHOOK_EVENT_SUBMISSION_CREATED = 1;
122
+ */
123
+ SUBMISSION_CREATED = 1
124
+ }
110
125
  /**
111
126
  * FormField represents a single field in a form
112
127
  *
@@ -1151,4 +1166,566 @@ export declare class GetDownloadUrlResponse extends Message<GetDownloadUrlRespon
1151
1166
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetDownloadUrlResponse;
1152
1167
  static equals(a: GetDownloadUrlResponse | PlainMessage<GetDownloadUrlResponse> | undefined, b: GetDownloadUrlResponse | PlainMessage<GetDownloadUrlResponse> | undefined): boolean;
1153
1168
  }
1169
+ /**
1170
+ * Webhook represents a webhook configuration for a form
1171
+ *
1172
+ * @generated from message forms.v1.Webhook
1173
+ */
1174
+ export declare class Webhook extends Message<Webhook> {
1175
+ /**
1176
+ * @generated from field: string id = 1;
1177
+ */
1178
+ id: string;
1179
+ /**
1180
+ * @generated from field: string form_id = 2;
1181
+ */
1182
+ formId: string;
1183
+ /**
1184
+ * @generated from field: string url = 3;
1185
+ */
1186
+ url: string;
1187
+ /**
1188
+ * @generated from field: bool enabled = 4;
1189
+ */
1190
+ enabled: boolean;
1191
+ /**
1192
+ * @generated from field: repeated forms.v1.WebhookEvent events = 5;
1193
+ */
1194
+ events: WebhookEvent[];
1195
+ /**
1196
+ * Only indicates if secret is set (never expose actual secret)
1197
+ *
1198
+ * @generated from field: bool has_secret = 6;
1199
+ */
1200
+ hasSecret: boolean;
1201
+ /**
1202
+ * @generated from field: map<string, string> headers = 7;
1203
+ */
1204
+ headers: {
1205
+ [key: string]: string;
1206
+ };
1207
+ /**
1208
+ * Empty = all fields
1209
+ *
1210
+ * @generated from field: repeated string included_fields = 8;
1211
+ */
1212
+ includedFields: string[];
1213
+ /**
1214
+ * @generated from field: google.protobuf.Timestamp created_at = 9;
1215
+ */
1216
+ createdAt?: Timestamp;
1217
+ /**
1218
+ * @generated from field: google.protobuf.Timestamp updated_at = 10;
1219
+ */
1220
+ updatedAt?: Timestamp;
1221
+ constructor(data?: PartialMessage<Webhook>);
1222
+ static readonly runtime: typeof proto3;
1223
+ static readonly typeName = "forms.v1.Webhook";
1224
+ static readonly fields: FieldList;
1225
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Webhook;
1226
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Webhook;
1227
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Webhook;
1228
+ static equals(a: Webhook | PlainMessage<Webhook> | undefined, b: Webhook | PlainMessage<Webhook> | undefined): boolean;
1229
+ }
1230
+ /**
1231
+ * WebhookDelivery represents a webhook delivery attempt
1232
+ *
1233
+ * @generated from message forms.v1.WebhookDelivery
1234
+ */
1235
+ export declare class WebhookDelivery extends Message<WebhookDelivery> {
1236
+ /**
1237
+ * @generated from field: string id = 1;
1238
+ */
1239
+ id: string;
1240
+ /**
1241
+ * @generated from field: string webhook_id = 2;
1242
+ */
1243
+ webhookId: string;
1244
+ /**
1245
+ * @generated from field: string event = 3;
1246
+ */
1247
+ event: string;
1248
+ /**
1249
+ * @generated from field: int32 response_status = 4;
1250
+ */
1251
+ responseStatus: number;
1252
+ /**
1253
+ * Truncated to 1KB
1254
+ *
1255
+ * @generated from field: string response_body = 5;
1256
+ */
1257
+ responseBody: string;
1258
+ /**
1259
+ * @generated from field: bool success = 6;
1260
+ */
1261
+ success: boolean;
1262
+ /**
1263
+ * @generated from field: int32 attempts = 7;
1264
+ */
1265
+ attempts: number;
1266
+ /**
1267
+ * @generated from field: google.protobuf.Timestamp created_at = 8;
1268
+ */
1269
+ createdAt?: Timestamp;
1270
+ /**
1271
+ * @generated from field: google.protobuf.Timestamp delivered_at = 9;
1272
+ */
1273
+ deliveredAt?: Timestamp;
1274
+ constructor(data?: PartialMessage<WebhookDelivery>);
1275
+ static readonly runtime: typeof proto3;
1276
+ static readonly typeName = "forms.v1.WebhookDelivery";
1277
+ static readonly fields: FieldList;
1278
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WebhookDelivery;
1279
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WebhookDelivery;
1280
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WebhookDelivery;
1281
+ static equals(a: WebhookDelivery | PlainMessage<WebhookDelivery> | undefined, b: WebhookDelivery | PlainMessage<WebhookDelivery> | undefined): boolean;
1282
+ }
1283
+ /**
1284
+ * @generated from message forms.v1.CreateWebhookRequest
1285
+ */
1286
+ export declare class CreateWebhookRequest extends Message<CreateWebhookRequest> {
1287
+ /**
1288
+ * @generated from field: string form_id = 1;
1289
+ */
1290
+ formId: string;
1291
+ /**
1292
+ * @generated from field: string url = 2;
1293
+ */
1294
+ url: string;
1295
+ /**
1296
+ * @generated from field: repeated forms.v1.WebhookEvent events = 3;
1297
+ */
1298
+ events: WebhookEvent[];
1299
+ /**
1300
+ * Optional, write-only
1301
+ *
1302
+ * @generated from field: string secret = 4;
1303
+ */
1304
+ secret: string;
1305
+ /**
1306
+ * @generated from field: map<string, string> headers = 5;
1307
+ */
1308
+ headers: {
1309
+ [key: string]: string;
1310
+ };
1311
+ /**
1312
+ * @generated from field: repeated string included_fields = 6;
1313
+ */
1314
+ includedFields: string[];
1315
+ constructor(data?: PartialMessage<CreateWebhookRequest>);
1316
+ static readonly runtime: typeof proto3;
1317
+ static readonly typeName = "forms.v1.CreateWebhookRequest";
1318
+ static readonly fields: FieldList;
1319
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateWebhookRequest;
1320
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateWebhookRequest;
1321
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateWebhookRequest;
1322
+ static equals(a: CreateWebhookRequest | PlainMessage<CreateWebhookRequest> | undefined, b: CreateWebhookRequest | PlainMessage<CreateWebhookRequest> | undefined): boolean;
1323
+ }
1324
+ /**
1325
+ * @generated from message forms.v1.CreateWebhookResponse
1326
+ */
1327
+ export declare class CreateWebhookResponse extends Message<CreateWebhookResponse> {
1328
+ /**
1329
+ * @generated from field: forms.v1.Webhook webhook = 1;
1330
+ */
1331
+ webhook?: Webhook;
1332
+ constructor(data?: PartialMessage<CreateWebhookResponse>);
1333
+ static readonly runtime: typeof proto3;
1334
+ static readonly typeName = "forms.v1.CreateWebhookResponse";
1335
+ static readonly fields: FieldList;
1336
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateWebhookResponse;
1337
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateWebhookResponse;
1338
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateWebhookResponse;
1339
+ static equals(a: CreateWebhookResponse | PlainMessage<CreateWebhookResponse> | undefined, b: CreateWebhookResponse | PlainMessage<CreateWebhookResponse> | undefined): boolean;
1340
+ }
1341
+ /**
1342
+ * @generated from message forms.v1.GetWebhookRequest
1343
+ */
1344
+ export declare class GetWebhookRequest extends Message<GetWebhookRequest> {
1345
+ /**
1346
+ * @generated from field: string id = 1;
1347
+ */
1348
+ id: string;
1349
+ constructor(data?: PartialMessage<GetWebhookRequest>);
1350
+ static readonly runtime: typeof proto3;
1351
+ static readonly typeName = "forms.v1.GetWebhookRequest";
1352
+ static readonly fields: FieldList;
1353
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetWebhookRequest;
1354
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetWebhookRequest;
1355
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetWebhookRequest;
1356
+ static equals(a: GetWebhookRequest | PlainMessage<GetWebhookRequest> | undefined, b: GetWebhookRequest | PlainMessage<GetWebhookRequest> | undefined): boolean;
1357
+ }
1358
+ /**
1359
+ * @generated from message forms.v1.GetWebhookResponse
1360
+ */
1361
+ export declare class GetWebhookResponse extends Message<GetWebhookResponse> {
1362
+ /**
1363
+ * @generated from field: forms.v1.Webhook webhook = 1;
1364
+ */
1365
+ webhook?: Webhook;
1366
+ constructor(data?: PartialMessage<GetWebhookResponse>);
1367
+ static readonly runtime: typeof proto3;
1368
+ static readonly typeName = "forms.v1.GetWebhookResponse";
1369
+ static readonly fields: FieldList;
1370
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetWebhookResponse;
1371
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetWebhookResponse;
1372
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetWebhookResponse;
1373
+ static equals(a: GetWebhookResponse | PlainMessage<GetWebhookResponse> | undefined, b: GetWebhookResponse | PlainMessage<GetWebhookResponse> | undefined): boolean;
1374
+ }
1375
+ /**
1376
+ * @generated from message forms.v1.ListWebhooksRequest
1377
+ */
1378
+ export declare class ListWebhooksRequest extends Message<ListWebhooksRequest> {
1379
+ /**
1380
+ * @generated from field: string form_id = 1;
1381
+ */
1382
+ formId: string;
1383
+ constructor(data?: PartialMessage<ListWebhooksRequest>);
1384
+ static readonly runtime: typeof proto3;
1385
+ static readonly typeName = "forms.v1.ListWebhooksRequest";
1386
+ static readonly fields: FieldList;
1387
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListWebhooksRequest;
1388
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListWebhooksRequest;
1389
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListWebhooksRequest;
1390
+ static equals(a: ListWebhooksRequest | PlainMessage<ListWebhooksRequest> | undefined, b: ListWebhooksRequest | PlainMessage<ListWebhooksRequest> | undefined): boolean;
1391
+ }
1392
+ /**
1393
+ * @generated from message forms.v1.ListWebhooksResponse
1394
+ */
1395
+ export declare class ListWebhooksResponse extends Message<ListWebhooksResponse> {
1396
+ /**
1397
+ * @generated from field: repeated forms.v1.Webhook webhooks = 1;
1398
+ */
1399
+ webhooks: Webhook[];
1400
+ constructor(data?: PartialMessage<ListWebhooksResponse>);
1401
+ static readonly runtime: typeof proto3;
1402
+ static readonly typeName = "forms.v1.ListWebhooksResponse";
1403
+ static readonly fields: FieldList;
1404
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListWebhooksResponse;
1405
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListWebhooksResponse;
1406
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListWebhooksResponse;
1407
+ static equals(a: ListWebhooksResponse | PlainMessage<ListWebhooksResponse> | undefined, b: ListWebhooksResponse | PlainMessage<ListWebhooksResponse> | undefined): boolean;
1408
+ }
1409
+ /**
1410
+ * @generated from message forms.v1.UpdateWebhookRequest
1411
+ */
1412
+ export declare class UpdateWebhookRequest extends Message<UpdateWebhookRequest> {
1413
+ /**
1414
+ * @generated from field: string id = 1;
1415
+ */
1416
+ id: string;
1417
+ /**
1418
+ * @generated from field: string url = 2;
1419
+ */
1420
+ url: string;
1421
+ /**
1422
+ * @generated from field: bool enabled = 3;
1423
+ */
1424
+ enabled: boolean;
1425
+ /**
1426
+ * @generated from field: repeated forms.v1.WebhookEvent events = 4;
1427
+ */
1428
+ events: WebhookEvent[];
1429
+ /**
1430
+ * Empty = don't change, "-" = delete
1431
+ *
1432
+ * @generated from field: string secret = 5;
1433
+ */
1434
+ secret: string;
1435
+ /**
1436
+ * @generated from field: map<string, string> headers = 6;
1437
+ */
1438
+ headers: {
1439
+ [key: string]: string;
1440
+ };
1441
+ /**
1442
+ * @generated from field: repeated string included_fields = 7;
1443
+ */
1444
+ includedFields: string[];
1445
+ constructor(data?: PartialMessage<UpdateWebhookRequest>);
1446
+ static readonly runtime: typeof proto3;
1447
+ static readonly typeName = "forms.v1.UpdateWebhookRequest";
1448
+ static readonly fields: FieldList;
1449
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateWebhookRequest;
1450
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateWebhookRequest;
1451
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateWebhookRequest;
1452
+ static equals(a: UpdateWebhookRequest | PlainMessage<UpdateWebhookRequest> | undefined, b: UpdateWebhookRequest | PlainMessage<UpdateWebhookRequest> | undefined): boolean;
1453
+ }
1454
+ /**
1455
+ * @generated from message forms.v1.UpdateWebhookResponse
1456
+ */
1457
+ export declare class UpdateWebhookResponse extends Message<UpdateWebhookResponse> {
1458
+ /**
1459
+ * @generated from field: forms.v1.Webhook webhook = 1;
1460
+ */
1461
+ webhook?: Webhook;
1462
+ constructor(data?: PartialMessage<UpdateWebhookResponse>);
1463
+ static readonly runtime: typeof proto3;
1464
+ static readonly typeName = "forms.v1.UpdateWebhookResponse";
1465
+ static readonly fields: FieldList;
1466
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateWebhookResponse;
1467
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateWebhookResponse;
1468
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateWebhookResponse;
1469
+ static equals(a: UpdateWebhookResponse | PlainMessage<UpdateWebhookResponse> | undefined, b: UpdateWebhookResponse | PlainMessage<UpdateWebhookResponse> | undefined): boolean;
1470
+ }
1471
+ /**
1472
+ * @generated from message forms.v1.DeleteWebhookRequest
1473
+ */
1474
+ export declare class DeleteWebhookRequest extends Message<DeleteWebhookRequest> {
1475
+ /**
1476
+ * @generated from field: string id = 1;
1477
+ */
1478
+ id: string;
1479
+ constructor(data?: PartialMessage<DeleteWebhookRequest>);
1480
+ static readonly runtime: typeof proto3;
1481
+ static readonly typeName = "forms.v1.DeleteWebhookRequest";
1482
+ static readonly fields: FieldList;
1483
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteWebhookRequest;
1484
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteWebhookRequest;
1485
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteWebhookRequest;
1486
+ static equals(a: DeleteWebhookRequest | PlainMessage<DeleteWebhookRequest> | undefined, b: DeleteWebhookRequest | PlainMessage<DeleteWebhookRequest> | undefined): boolean;
1487
+ }
1488
+ /**
1489
+ * @generated from message forms.v1.DeleteWebhookResponse
1490
+ */
1491
+ export declare class DeleteWebhookResponse extends Message<DeleteWebhookResponse> {
1492
+ constructor(data?: PartialMessage<DeleteWebhookResponse>);
1493
+ static readonly runtime: typeof proto3;
1494
+ static readonly typeName = "forms.v1.DeleteWebhookResponse";
1495
+ static readonly fields: FieldList;
1496
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteWebhookResponse;
1497
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteWebhookResponse;
1498
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteWebhookResponse;
1499
+ static equals(a: DeleteWebhookResponse | PlainMessage<DeleteWebhookResponse> | undefined, b: DeleteWebhookResponse | PlainMessage<DeleteWebhookResponse> | undefined): boolean;
1500
+ }
1501
+ /**
1502
+ * @generated from message forms.v1.TestWebhookRequest
1503
+ */
1504
+ export declare class TestWebhookRequest extends Message<TestWebhookRequest> {
1505
+ /**
1506
+ * @generated from field: string id = 1;
1507
+ */
1508
+ id: string;
1509
+ constructor(data?: PartialMessage<TestWebhookRequest>);
1510
+ static readonly runtime: typeof proto3;
1511
+ static readonly typeName = "forms.v1.TestWebhookRequest";
1512
+ static readonly fields: FieldList;
1513
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TestWebhookRequest;
1514
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TestWebhookRequest;
1515
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TestWebhookRequest;
1516
+ static equals(a: TestWebhookRequest | PlainMessage<TestWebhookRequest> | undefined, b: TestWebhookRequest | PlainMessage<TestWebhookRequest> | undefined): boolean;
1517
+ }
1518
+ /**
1519
+ * @generated from message forms.v1.TestWebhookResponse
1520
+ */
1521
+ export declare class TestWebhookResponse extends Message<TestWebhookResponse> {
1522
+ /**
1523
+ * @generated from field: bool success = 1;
1524
+ */
1525
+ success: boolean;
1526
+ /**
1527
+ * @generated from field: int32 response_status = 2;
1528
+ */
1529
+ responseStatus: number;
1530
+ /**
1531
+ * @generated from field: string response_body = 3;
1532
+ */
1533
+ responseBody: string;
1534
+ /**
1535
+ * @generated from field: string error = 4;
1536
+ */
1537
+ error: string;
1538
+ constructor(data?: PartialMessage<TestWebhookResponse>);
1539
+ static readonly runtime: typeof proto3;
1540
+ static readonly typeName = "forms.v1.TestWebhookResponse";
1541
+ static readonly fields: FieldList;
1542
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TestWebhookResponse;
1543
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TestWebhookResponse;
1544
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TestWebhookResponse;
1545
+ static equals(a: TestWebhookResponse | PlainMessage<TestWebhookResponse> | undefined, b: TestWebhookResponse | PlainMessage<TestWebhookResponse> | undefined): boolean;
1546
+ }
1547
+ /**
1548
+ * @generated from message forms.v1.ListWebhookDeliveriesRequest
1549
+ */
1550
+ export declare class ListWebhookDeliveriesRequest extends Message<ListWebhookDeliveriesRequest> {
1551
+ /**
1552
+ * @generated from field: string webhook_id = 1;
1553
+ */
1554
+ webhookId: string;
1555
+ /**
1556
+ * Default 20, Max 50
1557
+ *
1558
+ * @generated from field: int32 page_size = 2;
1559
+ */
1560
+ pageSize: number;
1561
+ /**
1562
+ * @generated from field: string page_token = 3;
1563
+ */
1564
+ pageToken: string;
1565
+ constructor(data?: PartialMessage<ListWebhookDeliveriesRequest>);
1566
+ static readonly runtime: typeof proto3;
1567
+ static readonly typeName = "forms.v1.ListWebhookDeliveriesRequest";
1568
+ static readonly fields: FieldList;
1569
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListWebhookDeliveriesRequest;
1570
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListWebhookDeliveriesRequest;
1571
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListWebhookDeliveriesRequest;
1572
+ static equals(a: ListWebhookDeliveriesRequest | PlainMessage<ListWebhookDeliveriesRequest> | undefined, b: ListWebhookDeliveriesRequest | PlainMessage<ListWebhookDeliveriesRequest> | undefined): boolean;
1573
+ }
1574
+ /**
1575
+ * @generated from message forms.v1.ListWebhookDeliveriesResponse
1576
+ */
1577
+ export declare class ListWebhookDeliveriesResponse extends Message<ListWebhookDeliveriesResponse> {
1578
+ /**
1579
+ * @generated from field: repeated forms.v1.WebhookDelivery deliveries = 1;
1580
+ */
1581
+ deliveries: WebhookDelivery[];
1582
+ /**
1583
+ * @generated from field: string next_page_token = 2;
1584
+ */
1585
+ nextPageToken: string;
1586
+ constructor(data?: PartialMessage<ListWebhookDeliveriesResponse>);
1587
+ static readonly runtime: typeof proto3;
1588
+ static readonly typeName = "forms.v1.ListWebhookDeliveriesResponse";
1589
+ static readonly fields: FieldList;
1590
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListWebhookDeliveriesResponse;
1591
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListWebhookDeliveriesResponse;
1592
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListWebhookDeliveriesResponse;
1593
+ static equals(a: ListWebhookDeliveriesResponse | PlainMessage<ListWebhookDeliveriesResponse> | undefined, b: ListWebhookDeliveriesResponse | PlainMessage<ListWebhookDeliveriesResponse> | undefined): boolean;
1594
+ }
1595
+ /**
1596
+ * @generated from message forms.v1.RetryWebhookDeliveryRequest
1597
+ */
1598
+ export declare class RetryWebhookDeliveryRequest extends Message<RetryWebhookDeliveryRequest> {
1599
+ /**
1600
+ * @generated from field: string delivery_id = 1;
1601
+ */
1602
+ deliveryId: string;
1603
+ constructor(data?: PartialMessage<RetryWebhookDeliveryRequest>);
1604
+ static readonly runtime: typeof proto3;
1605
+ static readonly typeName = "forms.v1.RetryWebhookDeliveryRequest";
1606
+ static readonly fields: FieldList;
1607
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RetryWebhookDeliveryRequest;
1608
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RetryWebhookDeliveryRequest;
1609
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RetryWebhookDeliveryRequest;
1610
+ static equals(a: RetryWebhookDeliveryRequest | PlainMessage<RetryWebhookDeliveryRequest> | undefined, b: RetryWebhookDeliveryRequest | PlainMessage<RetryWebhookDeliveryRequest> | undefined): boolean;
1611
+ }
1612
+ /**
1613
+ * @generated from message forms.v1.RetryWebhookDeliveryResponse
1614
+ */
1615
+ export declare class RetryWebhookDeliveryResponse extends Message<RetryWebhookDeliveryResponse> {
1616
+ /**
1617
+ * @generated from field: forms.v1.WebhookDelivery delivery = 1;
1618
+ */
1619
+ delivery?: WebhookDelivery;
1620
+ constructor(data?: PartialMessage<RetryWebhookDeliveryResponse>);
1621
+ static readonly runtime: typeof proto3;
1622
+ static readonly typeName = "forms.v1.RetryWebhookDeliveryResponse";
1623
+ static readonly fields: FieldList;
1624
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RetryWebhookDeliveryResponse;
1625
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RetryWebhookDeliveryResponse;
1626
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RetryWebhookDeliveryResponse;
1627
+ static equals(a: RetryWebhookDeliveryResponse | PlainMessage<RetryWebhookDeliveryResponse> | undefined, b: RetryWebhookDeliveryResponse | PlainMessage<RetryWebhookDeliveryResponse> | undefined): boolean;
1628
+ }
1629
+ /**
1630
+ * @generated from message forms.v1.CreatePreviewTokenRequest
1631
+ */
1632
+ export declare class CreatePreviewTokenRequest extends Message<CreatePreviewTokenRequest> {
1633
+ /**
1634
+ * @generated from field: string form_id = 1;
1635
+ */
1636
+ formId: string;
1637
+ constructor(data?: PartialMessage<CreatePreviewTokenRequest>);
1638
+ static readonly runtime: typeof proto3;
1639
+ static readonly typeName = "forms.v1.CreatePreviewTokenRequest";
1640
+ static readonly fields: FieldList;
1641
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreatePreviewTokenRequest;
1642
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreatePreviewTokenRequest;
1643
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreatePreviewTokenRequest;
1644
+ static equals(a: CreatePreviewTokenRequest | PlainMessage<CreatePreviewTokenRequest> | undefined, b: CreatePreviewTokenRequest | PlainMessage<CreatePreviewTokenRequest> | undefined): boolean;
1645
+ }
1646
+ /**
1647
+ * @generated from message forms.v1.CreatePreviewTokenResponse
1648
+ */
1649
+ export declare class CreatePreviewTokenResponse extends Message<CreatePreviewTokenResponse> {
1650
+ /**
1651
+ * @generated from field: string token = 1;
1652
+ */
1653
+ token: string;
1654
+ /**
1655
+ * @generated from field: string preview_url = 2;
1656
+ */
1657
+ previewUrl: string;
1658
+ /**
1659
+ * @generated from field: google.protobuf.Timestamp expires_at = 3;
1660
+ */
1661
+ expiresAt?: Timestamp;
1662
+ constructor(data?: PartialMessage<CreatePreviewTokenResponse>);
1663
+ static readonly runtime: typeof proto3;
1664
+ static readonly typeName = "forms.v1.CreatePreviewTokenResponse";
1665
+ static readonly fields: FieldList;
1666
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreatePreviewTokenResponse;
1667
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreatePreviewTokenResponse;
1668
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreatePreviewTokenResponse;
1669
+ static equals(a: CreatePreviewTokenResponse | PlainMessage<CreatePreviewTokenResponse> | undefined, b: CreatePreviewTokenResponse | PlainMessage<CreatePreviewTokenResponse> | undefined): boolean;
1670
+ }
1671
+ /**
1672
+ * @generated from message forms.v1.GetFormByPreviewTokenRequest
1673
+ */
1674
+ export declare class GetFormByPreviewTokenRequest extends Message<GetFormByPreviewTokenRequest> {
1675
+ /**
1676
+ * @generated from field: string token = 1;
1677
+ */
1678
+ token: string;
1679
+ constructor(data?: PartialMessage<GetFormByPreviewTokenRequest>);
1680
+ static readonly runtime: typeof proto3;
1681
+ static readonly typeName = "forms.v1.GetFormByPreviewTokenRequest";
1682
+ static readonly fields: FieldList;
1683
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetFormByPreviewTokenRequest;
1684
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetFormByPreviewTokenRequest;
1685
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetFormByPreviewTokenRequest;
1686
+ static equals(a: GetFormByPreviewTokenRequest | PlainMessage<GetFormByPreviewTokenRequest> | undefined, b: GetFormByPreviewTokenRequest | PlainMessage<GetFormByPreviewTokenRequest> | undefined): boolean;
1687
+ }
1688
+ /**
1689
+ * @generated from message forms.v1.GetFormByPreviewTokenResponse
1690
+ */
1691
+ export declare class GetFormByPreviewTokenResponse extends Message<GetFormByPreviewTokenResponse> {
1692
+ /**
1693
+ * @generated from field: string id = 1;
1694
+ */
1695
+ id: string;
1696
+ /**
1697
+ * @generated from field: string name = 2;
1698
+ */
1699
+ name: string;
1700
+ /**
1701
+ * @generated from field: string description = 3;
1702
+ */
1703
+ description: string;
1704
+ /**
1705
+ * @generated from field: repeated forms.v1.FormField fields = 4;
1706
+ */
1707
+ fields: FormField[];
1708
+ /**
1709
+ * @generated from field: forms.v1.FormSettings settings = 5;
1710
+ */
1711
+ settings?: FormSettings;
1712
+ /**
1713
+ * @generated from field: repeated forms.v1.FormBlock layout = 6;
1714
+ */
1715
+ layout: FormBlock[];
1716
+ /**
1717
+ * Always true, indicates preview mode
1718
+ *
1719
+ * @generated from field: bool is_preview = 7;
1720
+ */
1721
+ isPreview: boolean;
1722
+ constructor(data?: PartialMessage<GetFormByPreviewTokenResponse>);
1723
+ static readonly runtime: typeof proto3;
1724
+ static readonly typeName = "forms.v1.GetFormByPreviewTokenResponse";
1725
+ static readonly fields: FieldList;
1726
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetFormByPreviewTokenResponse;
1727
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetFormByPreviewTokenResponse;
1728
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetFormByPreviewTokenResponse;
1729
+ static equals(a: GetFormByPreviewTokenResponse | PlainMessage<GetFormByPreviewTokenResponse> | undefined, b: GetFormByPreviewTokenResponse | PlainMessage<GetFormByPreviewTokenResponse> | undefined): boolean;
1730
+ }
1154
1731
  //# sourceMappingURL=forms_pb.d.ts.map