@wise/dynamic-flow-client 4.0.4-experimental-df596b9 → 4.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/main.js +444 -444
- package/build/main.mjs +444 -444
- package/package.json +1 -1
package/build/main.js
CHANGED
|
@@ -5427,37 +5427,11 @@ var z = /* @__PURE__ */ Object.freeze({
|
|
|
5427
5427
|
quotelessJson,
|
|
5428
5428
|
ZodError
|
|
5429
5429
|
});
|
|
5430
|
-
var
|
|
5431
|
-
|
|
5432
|
-
url: z.string()
|
|
5433
|
-
|
|
5434
|
-
|
|
5435
|
-
z.literal("default"),
|
|
5436
|
-
z.literal("remove-previous"),
|
|
5437
|
-
z.literal("remove-all"),
|
|
5438
|
-
z.literal("replace-current")
|
|
5439
|
-
]);
|
|
5440
|
-
var jsonElementSchema = z.lazy(
|
|
5441
|
-
() => z.union([
|
|
5442
|
-
z.string(),
|
|
5443
|
-
z.number(),
|
|
5444
|
-
z.boolean(),
|
|
5445
|
-
z.record(jsonElementSchema),
|
|
5446
|
-
z.array(jsonElementSchema)
|
|
5447
|
-
]).nullable()
|
|
5448
|
-
);
|
|
5449
|
-
var helpSchema = z.object({
|
|
5450
|
-
markdown: z.string()
|
|
5451
|
-
});
|
|
5452
|
-
var actionTypeSchema = z.union([
|
|
5453
|
-
z.literal("primary"),
|
|
5454
|
-
z.literal("secondary"),
|
|
5455
|
-
z.literal("link"),
|
|
5456
|
-
z.literal("positive"),
|
|
5457
|
-
z.literal("negative")
|
|
5458
|
-
]);
|
|
5459
|
-
var linkSchema = z.object({
|
|
5460
|
-
url: z.string()
|
|
5430
|
+
var imageSchema = z.object({
|
|
5431
|
+
text: z.string().optional(),
|
|
5432
|
+
url: z.string().optional(),
|
|
5433
|
+
uri: z.string().optional(),
|
|
5434
|
+
accessibilityDescription: z.string().optional()
|
|
5461
5435
|
});
|
|
5462
5436
|
var httpMethodSchema = z.union([
|
|
5463
5437
|
z.literal("GET"),
|
|
@@ -5466,54 +5440,8 @@ var httpMethodSchema = z.union([
|
|
|
5466
5440
|
z.literal("PATCH"),
|
|
5467
5441
|
z.literal("DELETE")
|
|
5468
5442
|
]);
|
|
5469
|
-
var
|
|
5470
|
-
|
|
5471
|
-
url: z.string().optional(),
|
|
5472
|
-
uri: z.string().optional(),
|
|
5473
|
-
accessibilityDescription: z.string().optional()
|
|
5474
|
-
});
|
|
5475
|
-
var uploadSourceSchema = z.union([z.literal("camera"), z.literal("file")]);
|
|
5476
|
-
var validateAsyncSchema = z.object({
|
|
5477
|
-
param: z.string(),
|
|
5478
|
-
method: httpMethodSchema,
|
|
5479
|
-
url: z.string()
|
|
5480
|
-
});
|
|
5481
|
-
var summaryProviderSchema = z.object({
|
|
5482
|
-
providesTitle: z.boolean().optional(),
|
|
5483
|
-
providesDescription: z.boolean().optional(),
|
|
5484
|
-
providesIcon: z.boolean().optional(),
|
|
5485
|
-
providesImage: z.boolean().optional()
|
|
5486
|
-
});
|
|
5487
|
-
var externalSchema = z.object({
|
|
5488
|
-
url: z.string()
|
|
5489
|
-
});
|
|
5490
|
-
var columnsLayoutBiasSchema = z.union([
|
|
5491
|
-
z.literal("none"),
|
|
5492
|
-
z.literal("left"),
|
|
5493
|
-
z.literal("right")
|
|
5494
|
-
]);
|
|
5495
|
-
var sizeSchema = z.union([
|
|
5496
|
-
z.literal("xs"),
|
|
5497
|
-
z.literal("sm"),
|
|
5498
|
-
z.literal("md"),
|
|
5499
|
-
z.literal("lg"),
|
|
5500
|
-
z.literal("xl")
|
|
5501
|
-
]);
|
|
5502
|
-
var dividerLayoutSchema = z.object({
|
|
5503
|
-
type: z.literal("divider"),
|
|
5504
|
-
control: z.string().optional(),
|
|
5505
|
-
margin: sizeSchema.optional()
|
|
5506
|
-
});
|
|
5507
|
-
var statusListLayoutStatusSchema = z.union([
|
|
5508
|
-
z.literal("not-done"),
|
|
5509
|
-
z.literal("pending"),
|
|
5510
|
-
z.literal("done")
|
|
5511
|
-
]);
|
|
5512
|
-
var loadingIndicatorLayoutSchema = z.object({
|
|
5513
|
-
type: z.literal("loading-indicator"),
|
|
5514
|
-
size: sizeSchema.optional(),
|
|
5515
|
-
control: z.string().optional(),
|
|
5516
|
-
margin: sizeSchema.optional()
|
|
5443
|
+
var iconNamedSchema = z.object({
|
|
5444
|
+
name: z.string()
|
|
5517
5445
|
});
|
|
5518
5446
|
var contextSchema = z.union([
|
|
5519
5447
|
z.literal("positive"),
|
|
@@ -5525,93 +5453,24 @@ var contextSchema = z.union([
|
|
|
5525
5453
|
z.literal("info"),
|
|
5526
5454
|
z.literal("primary")
|
|
5527
5455
|
]);
|
|
5528
|
-
var
|
|
5529
|
-
text: z.string()
|
|
5530
|
-
context: contextSchema,
|
|
5531
|
-
tag: z.string().optional()
|
|
5532
|
-
});
|
|
5533
|
-
var formLayoutSchemaReferenceSchema = z.object({
|
|
5534
|
-
$ref: z.string()
|
|
5535
|
-
});
|
|
5536
|
-
var modalLayoutTriggerSchema = z.object({
|
|
5537
|
-
title: z.string()
|
|
5538
|
-
});
|
|
5539
|
-
var instructionsLayoutSchema = z.object({
|
|
5540
|
-
type: z.literal("instructions"),
|
|
5541
|
-
title: z.string().optional(),
|
|
5542
|
-
items: z.array(instructionsLayoutItemSchema),
|
|
5543
|
-
control: z.string().optional(),
|
|
5544
|
-
margin: sizeSchema.optional()
|
|
5545
|
-
});
|
|
5546
|
-
var reviewLayoutFieldSchema = z.object({
|
|
5547
|
-
label: z.string(),
|
|
5548
|
-
value: z.string(),
|
|
5549
|
-
rawValue: z.string().optional(),
|
|
5550
|
-
help: helpSchema.optional(),
|
|
5551
|
-
tag: z.string().optional()
|
|
5552
|
-
});
|
|
5553
|
-
var alignSchema = z.union([z.literal("left"), z.literal("center"), z.literal("right")]);
|
|
5554
|
-
var searchLayoutSchema = z.object({
|
|
5555
|
-
type: z.literal("search"),
|
|
5556
|
-
title: z.string(),
|
|
5557
|
-
method: httpMethodSchema,
|
|
5558
|
-
url: z.string(),
|
|
5559
|
-
param: z.string(),
|
|
5560
|
-
emptyMessage: z.string().optional(),
|
|
5561
|
-
control: z.string().optional(),
|
|
5562
|
-
margin: sizeSchema.optional()
|
|
5563
|
-
});
|
|
5564
|
-
var headingLayoutSchema = z.object({
|
|
5565
|
-
type: z.literal("heading"),
|
|
5566
|
-
text: z.string(),
|
|
5567
|
-
size: sizeSchema.optional(),
|
|
5568
|
-
align: alignSchema.optional(),
|
|
5569
|
-
control: z.string().optional(),
|
|
5570
|
-
margin: sizeSchema.optional()
|
|
5571
|
-
});
|
|
5572
|
-
var imageLayoutSchema = z.object({
|
|
5573
|
-
type: z.literal("image"),
|
|
5574
|
-
text: z.string().optional(),
|
|
5575
|
-
url: z.string().optional(),
|
|
5576
|
-
accessibilityDescription: z.string().optional(),
|
|
5577
|
-
content: imageSchema.optional(),
|
|
5578
|
-
size: sizeSchema.optional(),
|
|
5579
|
-
control: z.string().optional(),
|
|
5580
|
-
margin: sizeSchema.optional(),
|
|
5581
|
-
align: alignSchema.optional()
|
|
5582
|
-
});
|
|
5583
|
-
var markdownLayoutSchema = z.object({
|
|
5584
|
-
type: z.literal("markdown"),
|
|
5585
|
-
content: z.string(),
|
|
5586
|
-
align: alignSchema.optional(),
|
|
5587
|
-
control: z.string().optional(),
|
|
5588
|
-
margin: sizeSchema.optional()
|
|
5589
|
-
});
|
|
5590
|
-
var paragraphLayoutSchema = z.object({
|
|
5591
|
-
type: z.literal("paragraph"),
|
|
5592
|
-
text: z.string(),
|
|
5593
|
-
align: alignSchema.optional(),
|
|
5594
|
-
control: z.string().optional(),
|
|
5595
|
-
margin: sizeSchema.optional()
|
|
5456
|
+
var iconTextSchema = z.object({
|
|
5457
|
+
text: z.string()
|
|
5596
5458
|
});
|
|
5597
|
-
var
|
|
5598
|
-
z.literal("
|
|
5599
|
-
z.literal("
|
|
5600
|
-
z.literal("
|
|
5459
|
+
var sizeSchema = z.union([
|
|
5460
|
+
z.literal("xs"),
|
|
5461
|
+
z.literal("sm"),
|
|
5462
|
+
z.literal("md"),
|
|
5463
|
+
z.literal("lg"),
|
|
5464
|
+
z.literal("xl")
|
|
5601
5465
|
]);
|
|
5602
|
-
var
|
|
5603
|
-
|
|
5604
|
-
|
|
5605
|
-
|
|
5606
|
-
|
|
5607
|
-
|
|
5608
|
-
|
|
5609
|
-
var
|
|
5610
|
-
url: z.string(),
|
|
5611
|
-
method: httpMethodSchema,
|
|
5612
|
-
param: z.string(),
|
|
5613
|
-
query: z.string()
|
|
5614
|
-
});
|
|
5466
|
+
var autocapitalizationTypeSchema = z.union([
|
|
5467
|
+
z.literal("none"),
|
|
5468
|
+
z.literal("characters"),
|
|
5469
|
+
z.literal("sentences"),
|
|
5470
|
+
z.literal("words")
|
|
5471
|
+
]);
|
|
5472
|
+
var alignSchema = z.union([z.literal("left"), z.literal("center"), z.literal("right")]);
|
|
5473
|
+
var iconSchema = z.union([iconNamedSchema, iconTextSchema]);
|
|
5615
5474
|
var autocompleteTokenSchema = z.union([
|
|
5616
5475
|
z.literal("on"),
|
|
5617
5476
|
z.literal("name"),
|
|
@@ -5677,17 +5536,124 @@ var autocompleteTokenSchema = z.union([
|
|
|
5677
5536
|
z.literal("fax"),
|
|
5678
5537
|
z.literal("pager")
|
|
5679
5538
|
]);
|
|
5680
|
-
var
|
|
5539
|
+
var loadingIndicatorLayoutSchema = z.object({
|
|
5540
|
+
type: z.literal("loading-indicator"),
|
|
5541
|
+
size: sizeSchema.optional(),
|
|
5542
|
+
control: z.string().optional(),
|
|
5543
|
+
margin: sizeSchema.optional()
|
|
5544
|
+
});
|
|
5545
|
+
var paragraphLayoutSchema = z.object({
|
|
5546
|
+
type: z.literal("paragraph"),
|
|
5547
|
+
text: z.string(),
|
|
5548
|
+
align: alignSchema.optional(),
|
|
5549
|
+
control: z.string().optional(),
|
|
5550
|
+
margin: sizeSchema.optional()
|
|
5551
|
+
});
|
|
5552
|
+
var dividerLayoutSchema = z.object({
|
|
5553
|
+
type: z.literal("divider"),
|
|
5554
|
+
control: z.string().optional(),
|
|
5555
|
+
margin: sizeSchema.optional()
|
|
5556
|
+
});
|
|
5557
|
+
var listLayoutStatusSchema = z.union([
|
|
5558
|
+
z.literal("warning"),
|
|
5559
|
+
z.literal("neutral"),
|
|
5560
|
+
z.literal("positive")
|
|
5561
|
+
]);
|
|
5562
|
+
var formLayoutSchemaReferenceSchema = z.object({
|
|
5563
|
+
$ref: z.string()
|
|
5564
|
+
});
|
|
5565
|
+
var imageLayoutSchema = z.object({
|
|
5566
|
+
type: z.literal("image"),
|
|
5567
|
+
text: z.string().optional(),
|
|
5568
|
+
url: z.string().optional(),
|
|
5569
|
+
accessibilityDescription: z.string().optional(),
|
|
5570
|
+
content: imageSchema.optional(),
|
|
5571
|
+
size: sizeSchema.optional(),
|
|
5572
|
+
control: z.string().optional(),
|
|
5573
|
+
margin: sizeSchema.optional(),
|
|
5574
|
+
align: alignSchema.optional()
|
|
5575
|
+
});
|
|
5576
|
+
var statusListLayoutStatusSchema = z.union([
|
|
5577
|
+
z.literal("not-done"),
|
|
5578
|
+
z.literal("pending"),
|
|
5579
|
+
z.literal("done")
|
|
5580
|
+
]);
|
|
5581
|
+
var instructionsLayoutItemSchema = z.object({
|
|
5582
|
+
text: z.string(),
|
|
5583
|
+
context: contextSchema,
|
|
5584
|
+
tag: z.string().optional()
|
|
5585
|
+
});
|
|
5586
|
+
var modalLayoutTriggerSchema = z.object({
|
|
5587
|
+
title: z.string()
|
|
5588
|
+
});
|
|
5589
|
+
var searchLayoutSchema = z.object({
|
|
5590
|
+
type: z.literal("search"),
|
|
5591
|
+
title: z.string(),
|
|
5592
|
+
method: httpMethodSchema,
|
|
5593
|
+
url: z.string(),
|
|
5594
|
+
param: z.string(),
|
|
5595
|
+
emptyMessage: z.string().optional(),
|
|
5596
|
+
control: z.string().optional(),
|
|
5597
|
+
margin: sizeSchema.optional()
|
|
5598
|
+
});
|
|
5599
|
+
var infoLayoutSchema = z.object({
|
|
5600
|
+
type: z.literal("info"),
|
|
5601
|
+
markdown: z.string(),
|
|
5602
|
+
align: alignSchema.optional(),
|
|
5603
|
+
control: z.string().optional(),
|
|
5604
|
+
margin: sizeSchema.optional()
|
|
5605
|
+
});
|
|
5606
|
+
var formLayoutSchema = z.object({
|
|
5607
|
+
type: z.literal("form"),
|
|
5608
|
+
schema: formLayoutSchemaReferenceSchema.optional(),
|
|
5609
|
+
schemaId: z.string(),
|
|
5610
|
+
control: z.string().optional(),
|
|
5611
|
+
margin: sizeSchema.optional()
|
|
5612
|
+
});
|
|
5613
|
+
var headingLayoutSchema = z.object({
|
|
5614
|
+
type: z.literal("heading"),
|
|
5615
|
+
text: z.string(),
|
|
5616
|
+
size: sizeSchema.optional(),
|
|
5617
|
+
align: alignSchema.optional(),
|
|
5618
|
+
control: z.string().optional(),
|
|
5619
|
+
margin: sizeSchema.optional()
|
|
5620
|
+
});
|
|
5621
|
+
var markdownLayoutSchema = z.object({
|
|
5622
|
+
type: z.literal("markdown"),
|
|
5623
|
+
content: z.string(),
|
|
5624
|
+
align: alignSchema.optional(),
|
|
5625
|
+
control: z.string().optional(),
|
|
5626
|
+
margin: sizeSchema.optional()
|
|
5627
|
+
});
|
|
5628
|
+
var columnsLayoutBiasSchema = z.union([
|
|
5681
5629
|
z.literal("none"),
|
|
5682
|
-
z.literal("
|
|
5683
|
-
z.literal("
|
|
5684
|
-
z.literal("words")
|
|
5630
|
+
z.literal("left"),
|
|
5631
|
+
z.literal("right")
|
|
5685
5632
|
]);
|
|
5686
|
-
var
|
|
5687
|
-
|
|
5633
|
+
var helpSchema = z.object({
|
|
5634
|
+
markdown: z.string()
|
|
5688
5635
|
});
|
|
5689
|
-
var
|
|
5690
|
-
|
|
5636
|
+
var searchSearchRequestSchema = z.object({
|
|
5637
|
+
url: z.string(),
|
|
5638
|
+
method: httpMethodSchema,
|
|
5639
|
+
param: z.string(),
|
|
5640
|
+
query: z.string()
|
|
5641
|
+
});
|
|
5642
|
+
var jsonElementSchema = z.lazy(
|
|
5643
|
+
() => z.union([
|
|
5644
|
+
z.string(),
|
|
5645
|
+
z.number(),
|
|
5646
|
+
z.boolean(),
|
|
5647
|
+
z.record(jsonElementSchema),
|
|
5648
|
+
z.array(jsonElementSchema)
|
|
5649
|
+
]).nullable()
|
|
5650
|
+
);
|
|
5651
|
+
var externalSchema = z.object({
|
|
5652
|
+
url: z.string()
|
|
5653
|
+
});
|
|
5654
|
+
var stepErrorSchema = z.object({
|
|
5655
|
+
error: z.string().optional(),
|
|
5656
|
+
validation: jsonElementSchema.optional()
|
|
5691
5657
|
});
|
|
5692
5658
|
var stringSchemaFormatSchema = z.union([
|
|
5693
5659
|
z.literal("date"),
|
|
@@ -5697,26 +5663,6 @@ var stringSchemaFormatSchema = z.union([
|
|
|
5697
5663
|
z.literal("phone-number"),
|
|
5698
5664
|
z.literal("base64url")
|
|
5699
5665
|
]);
|
|
5700
|
-
var stepErrorSchema = z.object({
|
|
5701
|
-
error: z.string().optional(),
|
|
5702
|
-
validation: jsonElementSchema.optional()
|
|
5703
|
-
});
|
|
5704
|
-
var actionSchema = z.object({
|
|
5705
|
-
title: z.string().optional(),
|
|
5706
|
-
type: actionTypeSchema.optional(),
|
|
5707
|
-
disabled: z.boolean().optional(),
|
|
5708
|
-
$id: z.string().optional(),
|
|
5709
|
-
$ref: z.string().optional(),
|
|
5710
|
-
id: z.string().optional(),
|
|
5711
|
-
url: z.string().optional(),
|
|
5712
|
-
method: httpMethodSchema.optional(),
|
|
5713
|
-
exit: z.boolean().optional(),
|
|
5714
|
-
result: jsonElementSchema.optional(),
|
|
5715
|
-
data: jsonElementSchema.optional(),
|
|
5716
|
-
timeout: z.number().optional(),
|
|
5717
|
-
skipValidation: z.boolean().optional()
|
|
5718
|
-
});
|
|
5719
|
-
var iconSchema = z.union([iconNamedSchema, iconTextSchema]);
|
|
5720
5666
|
var summarySummariserSchema = z.object({
|
|
5721
5667
|
defaultTitle: z.string().optional(),
|
|
5722
5668
|
defaultDescription: z.string().optional(),
|
|
@@ -5727,19 +5673,60 @@ var summarySummariserSchema = z.object({
|
|
|
5727
5673
|
providesIcon: z.boolean().optional(),
|
|
5728
5674
|
providesImage: z.boolean().optional()
|
|
5729
5675
|
});
|
|
5730
|
-
var
|
|
5731
|
-
|
|
5732
|
-
|
|
5733
|
-
|
|
5734
|
-
control: z.string().optional(),
|
|
5735
|
-
margin: sizeSchema.optional()
|
|
5676
|
+
var validateAsyncSchema = z.object({
|
|
5677
|
+
param: z.string(),
|
|
5678
|
+
method: httpMethodSchema,
|
|
5679
|
+
url: z.string()
|
|
5736
5680
|
});
|
|
5737
|
-
var
|
|
5738
|
-
|
|
5739
|
-
|
|
5740
|
-
|
|
5741
|
-
|
|
5742
|
-
|
|
5681
|
+
var summaryProviderSchema = z.object({
|
|
5682
|
+
providesTitle: z.boolean().optional(),
|
|
5683
|
+
providesDescription: z.boolean().optional(),
|
|
5684
|
+
providesIcon: z.boolean().optional(),
|
|
5685
|
+
providesImage: z.boolean().optional()
|
|
5686
|
+
});
|
|
5687
|
+
var uploadSourceSchema = z.union([z.literal("camera"), z.literal("file")]);
|
|
5688
|
+
var suggestionsValueSchema = z.object({
|
|
5689
|
+
label: z.string(),
|
|
5690
|
+
value: jsonElementSchema.optional(),
|
|
5691
|
+
icon: iconSchema.optional(),
|
|
5692
|
+
image: imageSchema.optional(),
|
|
5693
|
+
tag: z.string().optional()
|
|
5694
|
+
});
|
|
5695
|
+
var navigationStackBehaviorSchema = z.union([
|
|
5696
|
+
z.literal("default"),
|
|
5697
|
+
z.literal("remove-previous"),
|
|
5698
|
+
z.literal("remove-all"),
|
|
5699
|
+
z.literal("replace-current")
|
|
5700
|
+
]);
|
|
5701
|
+
var actionTypeSchema = z.union([
|
|
5702
|
+
z.literal("primary"),
|
|
5703
|
+
z.literal("secondary"),
|
|
5704
|
+
z.literal("link"),
|
|
5705
|
+
z.literal("positive"),
|
|
5706
|
+
z.literal("negative")
|
|
5707
|
+
]);
|
|
5708
|
+
var summarySchema = z.union([summaryProviderSchema, summarySummariserSchema]);
|
|
5709
|
+
var linkBehaviorSchema = z.object({
|
|
5710
|
+
type: z.literal("link"),
|
|
5711
|
+
url: z.string()
|
|
5712
|
+
});
|
|
5713
|
+
var linkSchema = z.object({
|
|
5714
|
+
url: z.string()
|
|
5715
|
+
});
|
|
5716
|
+
var actionSchema = z.object({
|
|
5717
|
+
title: z.string().optional(),
|
|
5718
|
+
type: actionTypeSchema.optional(),
|
|
5719
|
+
disabled: z.boolean().optional(),
|
|
5720
|
+
$id: z.string().optional(),
|
|
5721
|
+
$ref: z.string().optional(),
|
|
5722
|
+
id: z.string().optional(),
|
|
5723
|
+
url: z.string().optional(),
|
|
5724
|
+
method: httpMethodSchema.optional(),
|
|
5725
|
+
exit: z.boolean().optional(),
|
|
5726
|
+
result: jsonElementSchema.optional(),
|
|
5727
|
+
data: jsonElementSchema.optional(),
|
|
5728
|
+
timeout: z.number().optional(),
|
|
5729
|
+
skipValidation: z.boolean().optional()
|
|
5743
5730
|
});
|
|
5744
5731
|
var listLayoutItemSchema = z.object({
|
|
5745
5732
|
description: z.string().optional(),
|
|
@@ -5752,16 +5739,19 @@ var listLayoutItemSchema = z.object({
|
|
|
5752
5739
|
subvalue: z.string().optional(),
|
|
5753
5740
|
tag: z.string().optional()
|
|
5754
5741
|
});
|
|
5755
|
-
var
|
|
5756
|
-
|
|
5742
|
+
var instructionsLayoutSchema = z.object({
|
|
5743
|
+
type: z.literal("instructions"),
|
|
5744
|
+
title: z.string().optional(),
|
|
5745
|
+
items: z.array(instructionsLayoutItemSchema),
|
|
5746
|
+
control: z.string().optional(),
|
|
5747
|
+
margin: sizeSchema.optional()
|
|
5757
5748
|
});
|
|
5758
|
-
var
|
|
5759
|
-
|
|
5760
|
-
|
|
5761
|
-
|
|
5762
|
-
|
|
5763
|
-
|
|
5764
|
-
value: actionSchema
|
|
5749
|
+
var reviewLayoutFieldSchema = z.object({
|
|
5750
|
+
label: z.string(),
|
|
5751
|
+
value: z.string(),
|
|
5752
|
+
rawValue: z.string().optional(),
|
|
5753
|
+
help: helpSchema.optional(),
|
|
5754
|
+
tag: z.string().optional()
|
|
5765
5755
|
});
|
|
5766
5756
|
var searchResultSearchSchema = z.object({
|
|
5767
5757
|
type: z.literal("search"),
|
|
@@ -5771,58 +5761,53 @@ var searchResultSearchSchema = z.object({
|
|
|
5771
5761
|
image: imageSchema.optional(),
|
|
5772
5762
|
value: searchSearchRequestSchema
|
|
5773
5763
|
});
|
|
5774
|
-
var
|
|
5764
|
+
var searchResultActionSchema = z.object({
|
|
5775
5765
|
type: z.literal("action"),
|
|
5766
|
+
title: z.string(),
|
|
5767
|
+
description: z.string().optional(),
|
|
5768
|
+
icon: iconSchema.optional(),
|
|
5769
|
+
image: imageSchema.optional(),
|
|
5770
|
+
value: actionSchema
|
|
5771
|
+
});
|
|
5772
|
+
var actionResponseBodySchema = z.object({
|
|
5776
5773
|
action: actionSchema
|
|
5777
5774
|
});
|
|
5778
|
-
var
|
|
5779
|
-
|
|
5780
|
-
|
|
5775
|
+
var errorResponseBodySchema = z.object({
|
|
5776
|
+
refreshFormUrl: z.string().optional(),
|
|
5777
|
+
analytics: z.record(z.string()).optional(),
|
|
5778
|
+
error: z.string().optional(),
|
|
5779
|
+
validation: jsonElementSchema.optional(),
|
|
5780
|
+
refreshUrl: z.string().optional()
|
|
5781
|
+
});
|
|
5782
|
+
var suggestionsSchema = z.object({
|
|
5783
|
+
values: z.array(suggestionsValueSchema)
|
|
5781
5784
|
});
|
|
5782
5785
|
var navigationBackBehaviorSchema = z.object({
|
|
5783
5786
|
title: z.string().optional(),
|
|
5784
5787
|
action: actionSchema
|
|
5785
5788
|
});
|
|
5786
|
-
var
|
|
5787
|
-
|
|
5788
|
-
|
|
5789
|
-
icon: iconSchema.optional(),
|
|
5790
|
-
image: imageSchema.optional(),
|
|
5791
|
-
tag: z.string().optional()
|
|
5792
|
-
});
|
|
5793
|
-
var suggestionsSchema = z.object({
|
|
5794
|
-
values: z.array(suggestionsValueSchema)
|
|
5789
|
+
var actionBehaviorSchema = z.object({
|
|
5790
|
+
type: z.literal("action"),
|
|
5791
|
+
action: actionSchema
|
|
5795
5792
|
});
|
|
5796
|
-
var
|
|
5797
|
-
|
|
5798
|
-
|
|
5799
|
-
results: z.array(searchResultSchema)
|
|
5793
|
+
var containerBehaviorSchema = z.object({
|
|
5794
|
+
action: actionSchema.optional(),
|
|
5795
|
+
link: linkSchema.optional()
|
|
5800
5796
|
});
|
|
5801
5797
|
var behaviorSchema = z.union([
|
|
5802
5798
|
actionBehaviorSchema,
|
|
5803
5799
|
containerBehaviorSchema,
|
|
5804
5800
|
linkBehaviorSchema
|
|
5805
5801
|
]);
|
|
5806
|
-
var
|
|
5807
|
-
|
|
5808
|
-
|
|
5809
|
-
|
|
5810
|
-
});
|
|
5811
|
-
var linkHandlerSchema = z.object({
|
|
5812
|
-
regexPattern: z.string(),
|
|
5813
|
-
behavior: behaviorSchema.optional()
|
|
5814
|
-
});
|
|
5815
|
-
var pollingOnErrorSchema = z.object({
|
|
5816
|
-
action: actionSchema.optional(),
|
|
5817
|
-
behavior: behaviorSchema.optional()
|
|
5802
|
+
var alertLayoutCallToActionSchema = z.object({
|
|
5803
|
+
title: z.string(),
|
|
5804
|
+
accessibilityDescription: z.string().optional(),
|
|
5805
|
+
behavior: behaviorSchema
|
|
5818
5806
|
});
|
|
5819
|
-
var
|
|
5820
|
-
|
|
5821
|
-
|
|
5822
|
-
|
|
5823
|
-
timeout: z.number().optional(),
|
|
5824
|
-
maxAttempts: z.number(),
|
|
5825
|
-
onError: pollingOnErrorSchema
|
|
5807
|
+
var listLayoutCallToActionSchema = z.object({
|
|
5808
|
+
title: z.string(),
|
|
5809
|
+
accessibilityDescription: z.string().optional(),
|
|
5810
|
+
behavior: behaviorSchema
|
|
5826
5811
|
});
|
|
5827
5812
|
var decisionLayoutOptionSchema = z.object({
|
|
5828
5813
|
action: actionSchema.optional(),
|
|
@@ -5834,6 +5819,11 @@ var decisionLayoutOptionSchema = z.object({
|
|
|
5834
5819
|
behavior: behaviorSchema.optional(),
|
|
5835
5820
|
tag: z.string().optional()
|
|
5836
5821
|
});
|
|
5822
|
+
var itemCallToActionSchema = z.object({
|
|
5823
|
+
title: z.string(),
|
|
5824
|
+
accessibilityDescription: z.string().optional(),
|
|
5825
|
+
behavior: behaviorSchema
|
|
5826
|
+
});
|
|
5837
5827
|
var buttonLayoutSchema = z.object({
|
|
5838
5828
|
type: z.literal("button"),
|
|
5839
5829
|
action: actionSchema.optional(),
|
|
@@ -5846,21 +5836,25 @@ var buttonLayoutSchema = z.object({
|
|
|
5846
5836
|
control: z.string().optional(),
|
|
5847
5837
|
margin: sizeSchema.optional()
|
|
5848
5838
|
});
|
|
5849
|
-
var
|
|
5850
|
-
|
|
5851
|
-
|
|
5852
|
-
accessibilityDescription: z.string().optional(),
|
|
5839
|
+
var searchResultSchema = z.union([searchResultActionSchema, searchResultSearchSchema]);
|
|
5840
|
+
var linkHandlerSchema = z.object({
|
|
5841
|
+
regexPattern: z.string(),
|
|
5853
5842
|
behavior: behaviorSchema.optional()
|
|
5854
5843
|
});
|
|
5855
|
-
var
|
|
5856
|
-
|
|
5857
|
-
|
|
5858
|
-
|
|
5844
|
+
var navigationSchema = z.object({
|
|
5845
|
+
backButton: navigationBackBehaviorSchema.optional(),
|
|
5846
|
+
back: navigationBackBehaviorSchema.optional(),
|
|
5847
|
+
stackBehavior: navigationStackBehaviorSchema.optional()
|
|
5859
5848
|
});
|
|
5860
|
-
var
|
|
5849
|
+
var pollingOnErrorSchema = z.object({
|
|
5850
|
+
action: actionSchema.optional(),
|
|
5851
|
+
behavior: behaviorSchema.optional()
|
|
5852
|
+
});
|
|
5853
|
+
var reviewLayoutCallToActionSchema = z.object({
|
|
5854
|
+
action: actionSchema.optional(),
|
|
5861
5855
|
title: z.string(),
|
|
5862
5856
|
accessibilityDescription: z.string().optional(),
|
|
5863
|
-
behavior: behaviorSchema
|
|
5857
|
+
behavior: behaviorSchema.optional()
|
|
5864
5858
|
});
|
|
5865
5859
|
var alertLayoutSchema = z.object({
|
|
5866
5860
|
type: z.literal("alert"),
|
|
@@ -5870,10 +5864,13 @@ var alertLayoutSchema = z.object({
|
|
|
5870
5864
|
margin: sizeSchema.optional(),
|
|
5871
5865
|
callToAction: alertLayoutCallToActionSchema.optional()
|
|
5872
5866
|
});
|
|
5873
|
-
var
|
|
5874
|
-
|
|
5875
|
-
|
|
5876
|
-
|
|
5867
|
+
var listLayoutSchema = z.object({
|
|
5868
|
+
type: z.literal("list"),
|
|
5869
|
+
title: z.string().optional(),
|
|
5870
|
+
callToAction: listLayoutCallToActionSchema.optional(),
|
|
5871
|
+
items: z.array(listLayoutItemSchema),
|
|
5872
|
+
control: z.string().optional(),
|
|
5873
|
+
margin: sizeSchema.optional()
|
|
5877
5874
|
});
|
|
5878
5875
|
var decisionLayoutSchema = z.object({
|
|
5879
5876
|
type: z.literal("decision"),
|
|
@@ -5882,29 +5879,34 @@ var decisionLayoutSchema = z.object({
|
|
|
5882
5879
|
control: z.string().optional(),
|
|
5883
5880
|
margin: sizeSchema.optional()
|
|
5884
5881
|
});
|
|
5885
|
-
var
|
|
5886
|
-
|
|
5882
|
+
var statusListLayoutItemSchema = z.object({
|
|
5883
|
+
title: z.string(),
|
|
5884
|
+
description: z.string().optional(),
|
|
5885
|
+
icon: iconSchema,
|
|
5886
|
+
status: statusListLayoutStatusSchema.optional(),
|
|
5887
|
+
callToAction: itemCallToActionSchema.optional(),
|
|
5888
|
+
tag: z.string().optional()
|
|
5889
|
+
});
|
|
5890
|
+
var reviewLayoutSchema = z.object({
|
|
5891
|
+
type: z.literal("review"),
|
|
5892
|
+
orientation: z.string().optional(),
|
|
5893
|
+
action: actionSchema.optional(),
|
|
5894
|
+
fields: z.array(reviewLayoutFieldSchema),
|
|
5887
5895
|
title: z.string().optional(),
|
|
5888
|
-
callToAction:
|
|
5889
|
-
items: z.array(listLayoutItemSchema),
|
|
5896
|
+
callToAction: reviewLayoutCallToActionSchema.optional(),
|
|
5890
5897
|
control: z.string().optional(),
|
|
5891
5898
|
margin: sizeSchema.optional()
|
|
5892
5899
|
});
|
|
5893
|
-
var
|
|
5894
|
-
|
|
5895
|
-
|
|
5896
|
-
|
|
5897
|
-
|
|
5898
|
-
|
|
5899
|
-
|
|
5900
|
-
|
|
5901
|
-
|
|
5902
|
-
|
|
5903
|
-
image: imageSchema.optional(),
|
|
5904
|
-
keywords: z.array(z.string()).optional(),
|
|
5905
|
-
summary: summaryProviderSchema.optional(),
|
|
5906
|
-
analyticsId: z.string().optional(),
|
|
5907
|
-
disabled: z.boolean().optional()
|
|
5900
|
+
var searchResponseBodySchema = z.object({
|
|
5901
|
+
results: z.array(searchResultSchema)
|
|
5902
|
+
});
|
|
5903
|
+
var pollingSchema = z.object({
|
|
5904
|
+
interval: z.number().optional(),
|
|
5905
|
+
url: z.string(),
|
|
5906
|
+
delay: z.number().optional(),
|
|
5907
|
+
timeout: z.number().optional(),
|
|
5908
|
+
maxAttempts: z.number(),
|
|
5909
|
+
onError: pollingOnErrorSchema
|
|
5908
5910
|
});
|
|
5909
5911
|
var blobSchemaSchema = z.object({
|
|
5910
5912
|
type: z.literal("blob"),
|
|
@@ -5920,72 +5922,37 @@ var blobSchemaSchema = z.object({
|
|
|
5920
5922
|
summary: summaryProviderSchema.optional(),
|
|
5921
5923
|
analyticsId: z.string().optional(),
|
|
5922
5924
|
validationAsync: validateAsyncSchema.optional(),
|
|
5923
|
-
validationMessages: z.record(z.string()).optional(),
|
|
5924
|
-
alert: alertLayoutSchema.optional(),
|
|
5925
|
-
cameraConfig: jsonElementSchema.optional(),
|
|
5926
|
-
accepts: z.array(z.string()).optional(),
|
|
5927
|
-
maxSize: z.number().optional(),
|
|
5928
|
-
source: uploadSourceSchema.optional(),
|
|
5929
|
-
disabled: z.boolean().optional()
|
|
5930
|
-
});
|
|
5931
|
-
var
|
|
5932
|
-
|
|
5933
|
-
|
|
5934
|
-
|
|
5935
|
-
|
|
5936
|
-
|
|
5937
|
-
|
|
5938
|
-
|
|
5939
|
-
|
|
5940
|
-
|
|
5941
|
-
|
|
5942
|
-
|
|
5943
|
-
|
|
5944
|
-
|
|
5945
|
-
|
|
5946
|
-
|
|
5947
|
-
|
|
5948
|
-
|
|
5949
|
-
|
|
5950
|
-
|
|
5951
|
-
|
|
5952
|
-
|
|
5953
|
-
|
|
5954
|
-
margin: sizeSchema.optional()
|
|
5955
|
-
});
|
|
5956
|
-
var persistAsyncSchema = z.lazy(
|
|
5957
|
-
() => z.object({
|
|
5958
|
-
param: z.string(),
|
|
5959
|
-
idProperty: z.string(),
|
|
5960
|
-
schema: schemaSchema,
|
|
5961
|
-
url: z.string(),
|
|
5962
|
-
method: httpMethodSchema
|
|
5963
|
-
})
|
|
5964
|
-
);
|
|
5965
|
-
var schemaSchema = z.lazy(
|
|
5966
|
-
() => z.union([
|
|
5967
|
-
allOfSchemaSchema,
|
|
5968
|
-
arraySchemaSchema,
|
|
5969
|
-
blobSchemaSchema,
|
|
5970
|
-
booleanSchemaSchema,
|
|
5971
|
-
constSchemaSchema,
|
|
5972
|
-
integerSchemaSchema,
|
|
5973
|
-
numberSchemaSchema,
|
|
5974
|
-
objectSchemaSchema,
|
|
5975
|
-
oneOfSchemaSchema,
|
|
5976
|
-
stringSchemaSchema
|
|
5977
|
-
])
|
|
5978
|
-
);
|
|
5979
|
-
var columnsLayoutSchema = z.lazy(
|
|
5980
|
-
() => z.object({
|
|
5981
|
-
type: z.literal("columns"),
|
|
5982
|
-
left: z.array(layoutSchema),
|
|
5983
|
-
right: z.array(layoutSchema),
|
|
5984
|
-
bias: columnsLayoutBiasSchema.optional(),
|
|
5985
|
-
control: z.string().optional(),
|
|
5986
|
-
margin: sizeSchema.optional()
|
|
5987
|
-
})
|
|
5988
|
-
);
|
|
5925
|
+
validationMessages: z.record(z.string()).optional(),
|
|
5926
|
+
alert: alertLayoutSchema.optional(),
|
|
5927
|
+
cameraConfig: jsonElementSchema.optional(),
|
|
5928
|
+
accepts: z.array(z.string()).optional(),
|
|
5929
|
+
maxSize: z.number().optional(),
|
|
5930
|
+
source: uploadSourceSchema.optional(),
|
|
5931
|
+
disabled: z.boolean().optional()
|
|
5932
|
+
});
|
|
5933
|
+
var constSchemaSchema = z.object({
|
|
5934
|
+
hidden: z.boolean().optional(),
|
|
5935
|
+
alert: alertLayoutSchema.optional(),
|
|
5936
|
+
control: z.string().optional(),
|
|
5937
|
+
promoted: z.boolean().optional(),
|
|
5938
|
+
$id: z.string().optional(),
|
|
5939
|
+
const: jsonElementSchema,
|
|
5940
|
+
title: z.string().optional(),
|
|
5941
|
+
description: z.string().optional(),
|
|
5942
|
+
icon: iconSchema.optional(),
|
|
5943
|
+
image: imageSchema.optional(),
|
|
5944
|
+
keywords: z.array(z.string()).optional(),
|
|
5945
|
+
summary: summaryProviderSchema.optional(),
|
|
5946
|
+
analyticsId: z.string().optional(),
|
|
5947
|
+
disabled: z.boolean().optional()
|
|
5948
|
+
});
|
|
5949
|
+
var statusListLayoutSchema = z.object({
|
|
5950
|
+
type: z.literal("status-list"),
|
|
5951
|
+
items: z.array(statusListLayoutItemSchema),
|
|
5952
|
+
title: z.string().optional(),
|
|
5953
|
+
control: z.string().optional(),
|
|
5954
|
+
margin: sizeSchema.optional()
|
|
5955
|
+
});
|
|
5989
5956
|
var layoutSchema = z.lazy(
|
|
5990
5957
|
() => z.union([
|
|
5991
5958
|
alertLayoutSchema,
|
|
@@ -6009,12 +5976,6 @@ var layoutSchema = z.lazy(
|
|
|
6009
5976
|
statusListLayoutSchema
|
|
6010
5977
|
])
|
|
6011
5978
|
);
|
|
6012
|
-
var modalLayoutContentSchema = z.lazy(
|
|
6013
|
-
() => z.object({
|
|
6014
|
-
title: z.string().optional(),
|
|
6015
|
-
components: z.array(layoutSchema)
|
|
6016
|
-
})
|
|
6017
|
-
);
|
|
6018
5979
|
var boxLayoutSchema = z.lazy(
|
|
6019
5980
|
() => z.object({
|
|
6020
5981
|
type: z.literal("box"),
|
|
@@ -6025,6 +5986,16 @@ var boxLayoutSchema = z.lazy(
|
|
|
6025
5986
|
margin: sizeSchema.optional()
|
|
6026
5987
|
})
|
|
6027
5988
|
);
|
|
5989
|
+
var columnsLayoutSchema = z.lazy(
|
|
5990
|
+
() => z.object({
|
|
5991
|
+
type: z.literal("columns"),
|
|
5992
|
+
left: z.array(layoutSchema),
|
|
5993
|
+
right: z.array(layoutSchema),
|
|
5994
|
+
bias: columnsLayoutBiasSchema.optional(),
|
|
5995
|
+
control: z.string().optional(),
|
|
5996
|
+
margin: sizeSchema.optional()
|
|
5997
|
+
})
|
|
5998
|
+
);
|
|
6028
5999
|
var modalLayoutSchema = z.lazy(
|
|
6029
6000
|
() => z.object({
|
|
6030
6001
|
type: z.literal("modal"),
|
|
@@ -6034,6 +6005,12 @@ var modalLayoutSchema = z.lazy(
|
|
|
6034
6005
|
content: modalLayoutContentSchema
|
|
6035
6006
|
})
|
|
6036
6007
|
);
|
|
6008
|
+
var modalLayoutContentSchema = z.lazy(
|
|
6009
|
+
() => z.object({
|
|
6010
|
+
title: z.string().optional(),
|
|
6011
|
+
components: z.array(layoutSchema)
|
|
6012
|
+
})
|
|
6013
|
+
);
|
|
6037
6014
|
var stepSchema = z.lazy(
|
|
6038
6015
|
() => z.object({
|
|
6039
6016
|
key: z.string().optional(),
|
|
@@ -6057,29 +6034,54 @@ var stepSchema = z.lazy(
|
|
|
6057
6034
|
refreshAfter: z.string().optional()
|
|
6058
6035
|
})
|
|
6059
6036
|
);
|
|
6060
|
-
var
|
|
6037
|
+
var schemaSchema = z.lazy(
|
|
6038
|
+
() => z.union([
|
|
6039
|
+
allOfSchemaSchema,
|
|
6040
|
+
arraySchemaSchema,
|
|
6041
|
+
blobSchemaSchema,
|
|
6042
|
+
booleanSchemaSchema,
|
|
6043
|
+
constSchemaSchema,
|
|
6044
|
+
integerSchemaSchema,
|
|
6045
|
+
numberSchemaSchema,
|
|
6046
|
+
objectSchemaSchema,
|
|
6047
|
+
oneOfSchemaSchema,
|
|
6048
|
+
stringSchemaSchema
|
|
6049
|
+
])
|
|
6050
|
+
);
|
|
6051
|
+
var allOfSchemaSchema = z.lazy(
|
|
6061
6052
|
() => z.object({
|
|
6062
|
-
|
|
6053
|
+
disabled: z.boolean().optional(),
|
|
6054
|
+
promoted: z.boolean().optional(),
|
|
6055
|
+
allOf: z.array(schemaSchema),
|
|
6056
|
+
$id: z.string().optional(),
|
|
6057
|
+
title: z.string().optional(),
|
|
6058
|
+
description: z.string().optional(),
|
|
6059
|
+
control: z.string().optional(),
|
|
6060
|
+
hidden: z.boolean().optional(),
|
|
6061
|
+
icon: iconSchema.optional(),
|
|
6062
|
+
image: imageSchema.optional(),
|
|
6063
|
+
keywords: z.array(z.string()).optional(),
|
|
6064
|
+
summary: summaryProviderSchema.optional(),
|
|
6065
|
+
analyticsId: z.string().optional(),
|
|
6066
|
+
alert: alertLayoutSchema.optional()
|
|
6067
|
+
})
|
|
6068
|
+
);
|
|
6069
|
+
var arraySchemaSchema = z.lazy(
|
|
6070
|
+
() => z.union([arraySchemaListSchema, arraySchemaTupleSchema])
|
|
6071
|
+
);
|
|
6072
|
+
var booleanSchemaSchema = z.lazy(
|
|
6073
|
+
() => z.object({
|
|
6074
|
+
type: z.literal("boolean"),
|
|
6063
6075
|
autofillProvider: z.string().optional(),
|
|
6064
6076
|
promoted: z.boolean().optional(),
|
|
6065
6077
|
refreshFormOnChange: z.boolean().optional(),
|
|
6066
6078
|
refreshUrl: z.string().optional(),
|
|
6067
6079
|
refreshFormUrl: z.string().optional(),
|
|
6068
|
-
format: stringSchemaFormatSchema.optional(),
|
|
6069
|
-
displayFormat: z.string().optional(),
|
|
6070
|
-
placeholder: z.string().optional(),
|
|
6071
|
-
minLength: z.number().optional(),
|
|
6072
|
-
maxLength: z.number().optional(),
|
|
6073
|
-
minimum: z.string().optional(),
|
|
6074
|
-
maximum: z.string().optional(),
|
|
6075
|
-
pattern: z.string().optional(),
|
|
6076
|
-
autocapitalization: autocapitalizationTypeSchema.optional(),
|
|
6077
|
-
autocorrect: z.boolean().optional(),
|
|
6078
6080
|
$id: z.string().optional(),
|
|
6079
6081
|
title: z.string().optional(),
|
|
6080
6082
|
description: z.string().optional(),
|
|
6081
6083
|
control: z.string().optional(),
|
|
6082
|
-
default: z.
|
|
6084
|
+
default: z.boolean().optional(),
|
|
6083
6085
|
hidden: z.boolean().optional(),
|
|
6084
6086
|
disabled: z.boolean().optional(),
|
|
6085
6087
|
icon: iconSchema.optional(),
|
|
@@ -6090,46 +6092,42 @@ var stringSchemaSchema = z.lazy(
|
|
|
6090
6092
|
persistAsync: persistAsyncSchema.optional(),
|
|
6091
6093
|
refreshStepOnChange: z.boolean().optional(),
|
|
6092
6094
|
validationAsync: validateAsyncSchema.optional(),
|
|
6093
|
-
validationMessages: z.record(z.string()).optional(),
|
|
6094
6095
|
alert: alertLayoutSchema.optional(),
|
|
6095
|
-
cameraConfig: jsonElementSchema.optional(),
|
|
6096
|
-
accepts: z.array(z.string()).optional(),
|
|
6097
|
-
maxSize: z.number().optional(),
|
|
6098
|
-
source: uploadSourceSchema.optional(),
|
|
6099
|
-
autocompleteHint: z.array(autocompleteTokenSchema).optional(),
|
|
6100
6096
|
autofillKey: z.string().optional(),
|
|
6101
|
-
help: helpSchema.optional()
|
|
6102
|
-
suggestions: suggestionsSchema.optional()
|
|
6097
|
+
help: helpSchema.optional()
|
|
6103
6098
|
})
|
|
6104
6099
|
);
|
|
6105
|
-
var
|
|
6100
|
+
var integerSchemaSchema = z.lazy(
|
|
6106
6101
|
() => z.object({
|
|
6102
|
+
type: z.literal("integer"),
|
|
6107
6103
|
autofillProvider: z.string().optional(),
|
|
6108
6104
|
promoted: z.boolean().optional(),
|
|
6109
6105
|
refreshFormOnChange: z.boolean().optional(),
|
|
6110
6106
|
refreshUrl: z.string().optional(),
|
|
6111
6107
|
refreshFormUrl: z.string().optional(),
|
|
6112
|
-
promotion: jsonElementSchema.optional(),
|
|
6113
|
-
oneOf: z.array(schemaSchema),
|
|
6114
6108
|
placeholder: z.string().optional(),
|
|
6109
|
+
minimum: z.number().optional(),
|
|
6110
|
+
maximum: z.number().optional(),
|
|
6115
6111
|
$id: z.string().optional(),
|
|
6116
6112
|
title: z.string().optional(),
|
|
6117
6113
|
description: z.string().optional(),
|
|
6118
6114
|
control: z.string().optional(),
|
|
6119
|
-
default:
|
|
6115
|
+
default: z.number().optional(),
|
|
6120
6116
|
hidden: z.boolean().optional(),
|
|
6117
|
+
disabled: z.boolean().optional(),
|
|
6121
6118
|
icon: iconSchema.optional(),
|
|
6122
6119
|
image: imageSchema.optional(),
|
|
6123
6120
|
keywords: z.array(z.string()).optional(),
|
|
6124
6121
|
summary: summaryProviderSchema.optional(),
|
|
6125
6122
|
analyticsId: z.string().optional(),
|
|
6123
|
+
persistAsync: persistAsyncSchema.optional(),
|
|
6126
6124
|
refreshStepOnChange: z.boolean().optional(),
|
|
6125
|
+
validationAsync: validateAsyncSchema.optional(),
|
|
6126
|
+
validationMessages: z.record(z.string()).optional(),
|
|
6127
6127
|
alert: alertLayoutSchema.optional(),
|
|
6128
|
-
help: helpSchema.optional(),
|
|
6129
6128
|
autocompleteHint: z.array(autocompleteTokenSchema).optional(),
|
|
6130
6129
|
autofillKey: z.string().optional(),
|
|
6131
|
-
|
|
6132
|
-
disabled: z.boolean().optional()
|
|
6130
|
+
help: helpSchema.optional()
|
|
6133
6131
|
})
|
|
6134
6132
|
);
|
|
6135
6133
|
var numberSchemaSchema = z.lazy(
|
|
@@ -6165,12 +6163,16 @@ var numberSchemaSchema = z.lazy(
|
|
|
6165
6163
|
help: helpSchema.optional()
|
|
6166
6164
|
})
|
|
6167
6165
|
);
|
|
6168
|
-
var
|
|
6166
|
+
var objectSchemaSchema = z.lazy(
|
|
6169
6167
|
() => z.object({
|
|
6170
|
-
type: z.literal("
|
|
6168
|
+
type: z.literal("object"),
|
|
6169
|
+
disabled: z.boolean().optional(),
|
|
6171
6170
|
promoted: z.boolean().optional(),
|
|
6171
|
+
help: helpSchema.optional(),
|
|
6172
|
+
properties: z.record(schemaSchema),
|
|
6173
|
+
displayOrder: z.array(z.string()),
|
|
6174
|
+
required: z.array(z.string()).optional(),
|
|
6172
6175
|
$id: z.string().optional(),
|
|
6173
|
-
items: z.array(schemaSchema),
|
|
6174
6176
|
title: z.string().optional(),
|
|
6175
6177
|
description: z.string().optional(),
|
|
6176
6178
|
control: z.string().optional(),
|
|
@@ -6180,27 +6182,62 @@ var arraySchemaTupleSchema = z.lazy(
|
|
|
6180
6182
|
keywords: z.array(z.string()).optional(),
|
|
6181
6183
|
summary: summaryProviderSchema.optional(),
|
|
6182
6184
|
analyticsId: z.string().optional(),
|
|
6183
|
-
persistAsync: persistAsyncSchema.optional(),
|
|
6184
|
-
validationAsync: validateAsyncSchema.optional(),
|
|
6185
6185
|
alert: alertLayoutSchema.optional()
|
|
6186
6186
|
})
|
|
6187
6187
|
);
|
|
6188
|
-
var
|
|
6188
|
+
var oneOfSchemaSchema = z.lazy(
|
|
6189
6189
|
() => z.object({
|
|
6190
|
-
type: z.literal("integer"),
|
|
6191
6190
|
autofillProvider: z.string().optional(),
|
|
6192
6191
|
promoted: z.boolean().optional(),
|
|
6193
6192
|
refreshFormOnChange: z.boolean().optional(),
|
|
6194
6193
|
refreshUrl: z.string().optional(),
|
|
6195
6194
|
refreshFormUrl: z.string().optional(),
|
|
6195
|
+
promotion: jsonElementSchema.optional(),
|
|
6196
|
+
oneOf: z.array(schemaSchema),
|
|
6196
6197
|
placeholder: z.string().optional(),
|
|
6197
|
-
minimum: z.number().optional(),
|
|
6198
|
-
maximum: z.number().optional(),
|
|
6199
6198
|
$id: z.string().optional(),
|
|
6200
6199
|
title: z.string().optional(),
|
|
6201
6200
|
description: z.string().optional(),
|
|
6202
6201
|
control: z.string().optional(),
|
|
6203
|
-
default:
|
|
6202
|
+
default: jsonElementSchema.optional(),
|
|
6203
|
+
hidden: z.boolean().optional(),
|
|
6204
|
+
icon: iconSchema.optional(),
|
|
6205
|
+
image: imageSchema.optional(),
|
|
6206
|
+
keywords: z.array(z.string()).optional(),
|
|
6207
|
+
summary: summaryProviderSchema.optional(),
|
|
6208
|
+
analyticsId: z.string().optional(),
|
|
6209
|
+
refreshStepOnChange: z.boolean().optional(),
|
|
6210
|
+
alert: alertLayoutSchema.optional(),
|
|
6211
|
+
help: helpSchema.optional(),
|
|
6212
|
+
autocompleteHint: z.array(autocompleteTokenSchema).optional(),
|
|
6213
|
+
autofillKey: z.string().optional(),
|
|
6214
|
+
validationMessages: z.record(z.string()).optional(),
|
|
6215
|
+
disabled: z.boolean().optional()
|
|
6216
|
+
})
|
|
6217
|
+
);
|
|
6218
|
+
var stringSchemaSchema = z.lazy(
|
|
6219
|
+
() => z.object({
|
|
6220
|
+
type: z.literal("string"),
|
|
6221
|
+
autofillProvider: z.string().optional(),
|
|
6222
|
+
promoted: z.boolean().optional(),
|
|
6223
|
+
refreshFormOnChange: z.boolean().optional(),
|
|
6224
|
+
refreshUrl: z.string().optional(),
|
|
6225
|
+
refreshFormUrl: z.string().optional(),
|
|
6226
|
+
format: stringSchemaFormatSchema.optional(),
|
|
6227
|
+
displayFormat: z.string().optional(),
|
|
6228
|
+
placeholder: z.string().optional(),
|
|
6229
|
+
minLength: z.number().optional(),
|
|
6230
|
+
maxLength: z.number().optional(),
|
|
6231
|
+
minimum: z.string().optional(),
|
|
6232
|
+
maximum: z.string().optional(),
|
|
6233
|
+
pattern: z.string().optional(),
|
|
6234
|
+
autocapitalization: autocapitalizationTypeSchema.optional(),
|
|
6235
|
+
autocorrect: z.boolean().optional(),
|
|
6236
|
+
$id: z.string().optional(),
|
|
6237
|
+
title: z.string().optional(),
|
|
6238
|
+
description: z.string().optional(),
|
|
6239
|
+
control: z.string().optional(),
|
|
6240
|
+
default: z.string().optional(),
|
|
6204
6241
|
hidden: z.boolean().optional(),
|
|
6205
6242
|
disabled: z.boolean().optional(),
|
|
6206
6243
|
icon: iconSchema.optional(),
|
|
@@ -6213,14 +6250,16 @@ var integerSchemaSchema = z.lazy(
|
|
|
6213
6250
|
validationAsync: validateAsyncSchema.optional(),
|
|
6214
6251
|
validationMessages: z.record(z.string()).optional(),
|
|
6215
6252
|
alert: alertLayoutSchema.optional(),
|
|
6253
|
+
cameraConfig: jsonElementSchema.optional(),
|
|
6254
|
+
accepts: z.array(z.string()).optional(),
|
|
6255
|
+
maxSize: z.number().optional(),
|
|
6256
|
+
source: uploadSourceSchema.optional(),
|
|
6216
6257
|
autocompleteHint: z.array(autocompleteTokenSchema).optional(),
|
|
6217
6258
|
autofillKey: z.string().optional(),
|
|
6218
|
-
help: helpSchema.optional()
|
|
6259
|
+
help: helpSchema.optional(),
|
|
6260
|
+
suggestions: suggestionsSchema.optional()
|
|
6219
6261
|
})
|
|
6220
6262
|
);
|
|
6221
|
-
var arraySchemaSchema = z.lazy(
|
|
6222
|
-
() => z.union([arraySchemaListSchema, arraySchemaTupleSchema])
|
|
6223
|
-
);
|
|
6224
6263
|
var arraySchemaListSchema = z.lazy(
|
|
6225
6264
|
() => z.object({
|
|
6226
6265
|
type: z.literal("array"),
|
|
@@ -6248,71 +6287,32 @@ var arraySchemaListSchema = z.lazy(
|
|
|
6248
6287
|
disabled: z.boolean().optional()
|
|
6249
6288
|
})
|
|
6250
6289
|
);
|
|
6251
|
-
var
|
|
6290
|
+
var persistAsyncSchema = z.lazy(
|
|
6252
6291
|
() => z.object({
|
|
6253
|
-
|
|
6254
|
-
|
|
6255
|
-
|
|
6256
|
-
|
|
6257
|
-
|
|
6258
|
-
description: z.string().optional(),
|
|
6259
|
-
control: z.string().optional(),
|
|
6260
|
-
hidden: z.boolean().optional(),
|
|
6261
|
-
icon: iconSchema.optional(),
|
|
6262
|
-
image: imageSchema.optional(),
|
|
6263
|
-
keywords: z.array(z.string()).optional(),
|
|
6264
|
-
summary: summaryProviderSchema.optional(),
|
|
6265
|
-
analyticsId: z.string().optional(),
|
|
6266
|
-
alert: alertLayoutSchema.optional()
|
|
6292
|
+
param: z.string(),
|
|
6293
|
+
idProperty: z.string(),
|
|
6294
|
+
schema: schemaSchema,
|
|
6295
|
+
url: z.string(),
|
|
6296
|
+
method: httpMethodSchema
|
|
6267
6297
|
})
|
|
6268
6298
|
);
|
|
6269
|
-
var
|
|
6299
|
+
var arraySchemaTupleSchema = z.lazy(
|
|
6270
6300
|
() => z.object({
|
|
6271
|
-
type: z.literal("
|
|
6272
|
-
autofillProvider: z.string().optional(),
|
|
6301
|
+
type: z.literal("array"),
|
|
6273
6302
|
promoted: z.boolean().optional(),
|
|
6274
|
-
refreshFormOnChange: z.boolean().optional(),
|
|
6275
|
-
refreshUrl: z.string().optional(),
|
|
6276
|
-
refreshFormUrl: z.string().optional(),
|
|
6277
6303
|
$id: z.string().optional(),
|
|
6304
|
+
items: z.array(schemaSchema),
|
|
6278
6305
|
title: z.string().optional(),
|
|
6279
6306
|
description: z.string().optional(),
|
|
6280
6307
|
control: z.string().optional(),
|
|
6281
|
-
default: z.boolean().optional(),
|
|
6282
6308
|
hidden: z.boolean().optional(),
|
|
6283
|
-
disabled: z.boolean().optional(),
|
|
6284
6309
|
icon: iconSchema.optional(),
|
|
6285
6310
|
image: imageSchema.optional(),
|
|
6286
6311
|
keywords: z.array(z.string()).optional(),
|
|
6287
6312
|
summary: summaryProviderSchema.optional(),
|
|
6288
6313
|
analyticsId: z.string().optional(),
|
|
6289
6314
|
persistAsync: persistAsyncSchema.optional(),
|
|
6290
|
-
refreshStepOnChange: z.boolean().optional(),
|
|
6291
6315
|
validationAsync: validateAsyncSchema.optional(),
|
|
6292
|
-
alert: alertLayoutSchema.optional(),
|
|
6293
|
-
autofillKey: z.string().optional(),
|
|
6294
|
-
help: helpSchema.optional()
|
|
6295
|
-
})
|
|
6296
|
-
);
|
|
6297
|
-
var objectSchemaSchema = z.lazy(
|
|
6298
|
-
() => z.object({
|
|
6299
|
-
type: z.literal("object"),
|
|
6300
|
-
disabled: z.boolean().optional(),
|
|
6301
|
-
promoted: z.boolean().optional(),
|
|
6302
|
-
help: helpSchema.optional(),
|
|
6303
|
-
properties: z.record(schemaSchema),
|
|
6304
|
-
displayOrder: z.array(z.string()),
|
|
6305
|
-
required: z.array(z.string()).optional(),
|
|
6306
|
-
$id: z.string().optional(),
|
|
6307
|
-
title: z.string().optional(),
|
|
6308
|
-
description: z.string().optional(),
|
|
6309
|
-
control: z.string().optional(),
|
|
6310
|
-
hidden: z.boolean().optional(),
|
|
6311
|
-
icon: iconSchema.optional(),
|
|
6312
|
-
image: imageSchema.optional(),
|
|
6313
|
-
keywords: z.array(z.string()).optional(),
|
|
6314
|
-
summary: summaryProviderSchema.optional(),
|
|
6315
|
-
analyticsId: z.string().optional(),
|
|
6316
6316
|
alert: alertLayoutSchema.optional()
|
|
6317
6317
|
})
|
|
6318
6318
|
);
|