@wise/dynamic-flow-types 2.22.2-experimental-bundle-analysis-0f13856 → 2.22.3
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 +282 -282
- package/build/main.min.js +1 -1
- package/build/main.mjs +282 -282
- package/build/zod/schemas.d.ts +2302 -2302
- package/package.json +1 -1
package/build/main.mjs
CHANGED
|
@@ -3822,13 +3822,21 @@ var z = /* @__PURE__ */ Object.freeze({
|
|
|
3822
3822
|
});
|
|
3823
3823
|
|
|
3824
3824
|
// src/zod/schemas.ts
|
|
3825
|
-
var
|
|
3826
|
-
z.
|
|
3827
|
-
z.
|
|
3828
|
-
z.
|
|
3829
|
-
|
|
3830
|
-
|
|
3825
|
+
var imageSchema = z.object({
|
|
3826
|
+
text: z.string().optional(),
|
|
3827
|
+
url: z.string(),
|
|
3828
|
+
accessibilityDescription: z.string().optional()
|
|
3829
|
+
});
|
|
3830
|
+
var httpMethodSchema = z.union([
|
|
3831
|
+
z.literal("GET"),
|
|
3832
|
+
z.literal("POST"),
|
|
3833
|
+
z.literal("PUT"),
|
|
3834
|
+
z.literal("PATCH"),
|
|
3835
|
+
z.literal("DELETE")
|
|
3831
3836
|
]);
|
|
3837
|
+
var iconNamedSchema = z.object({
|
|
3838
|
+
name: z.string()
|
|
3839
|
+
});
|
|
3832
3840
|
var contextSchema = z.union([
|
|
3833
3841
|
z.literal("positive"),
|
|
3834
3842
|
z.literal("neutral"),
|
|
@@ -3839,107 +3847,18 @@ var contextSchema = z.union([
|
|
|
3839
3847
|
z.literal("info"),
|
|
3840
3848
|
z.literal("primary")
|
|
3841
3849
|
]);
|
|
3842
|
-
var
|
|
3843
|
-
z.
|
|
3844
|
-
z.literal("left"),
|
|
3845
|
-
z.literal("right")
|
|
3846
|
-
]);
|
|
3847
|
-
var statusListLayoutStatusSchema = z.union([
|
|
3848
|
-
z.literal("not-done"),
|
|
3849
|
-
z.literal("pending"),
|
|
3850
|
-
z.literal("done")
|
|
3851
|
-
]);
|
|
3852
|
-
var alignSchema = z.union([z.literal("left"), z.literal("center"), z.literal("right")]);
|
|
3853
|
-
var formLayoutSchemaReferenceSchema = z.object({
|
|
3854
|
-
$ref: z.string()
|
|
3855
|
-
});
|
|
3856
|
-
var modalLayoutTriggerSchema = z.object({
|
|
3857
|
-
title: z.string()
|
|
3858
|
-
});
|
|
3859
|
-
var httpMethodSchema = z.union([
|
|
3860
|
-
z.literal("GET"),
|
|
3861
|
-
z.literal("POST"),
|
|
3862
|
-
z.literal("PUT"),
|
|
3863
|
-
z.literal("PATCH"),
|
|
3864
|
-
z.literal("DELETE")
|
|
3865
|
-
]);
|
|
3866
|
-
var dividerLayoutSchema = z.object({
|
|
3867
|
-
type: z.literal("divider"),
|
|
3868
|
-
control: z.string().optional(),
|
|
3869
|
-
margin: sizeSchema.optional()
|
|
3850
|
+
var iconTextSchema = z.object({
|
|
3851
|
+
text: z.string()
|
|
3870
3852
|
});
|
|
3871
|
-
var
|
|
3872
|
-
z.literal("
|
|
3873
|
-
z.literal("
|
|
3874
|
-
z.literal("
|
|
3853
|
+
var sizeSchema = z.union([
|
|
3854
|
+
z.literal("xs"),
|
|
3855
|
+
z.literal("sm"),
|
|
3856
|
+
z.literal("md"),
|
|
3857
|
+
z.literal("lg"),
|
|
3858
|
+
z.literal("xl")
|
|
3875
3859
|
]);
|
|
3876
|
-
var
|
|
3877
|
-
|
|
3878
|
-
text: z.string(),
|
|
3879
|
-
size: sizeSchema.optional(),
|
|
3880
|
-
align: alignSchema.optional(),
|
|
3881
|
-
control: z.string().optional(),
|
|
3882
|
-
margin: sizeSchema.optional()
|
|
3883
|
-
});
|
|
3884
|
-
var formLayoutSchema = z.object({
|
|
3885
|
-
type: z.literal("form"),
|
|
3886
|
-
schema: formLayoutSchemaReferenceSchema.optional(),
|
|
3887
|
-
schemaId: z.string(),
|
|
3888
|
-
control: z.string().optional(),
|
|
3889
|
-
margin: sizeSchema.optional()
|
|
3890
|
-
});
|
|
3891
|
-
var imageLayoutSchema = z.object({
|
|
3892
|
-
type: z.literal("image"),
|
|
3893
|
-
text: z.string().optional(),
|
|
3894
|
-
url: z.string(),
|
|
3895
|
-
size: sizeSchema.optional(),
|
|
3896
|
-
accessibilityDescription: z.string().optional(),
|
|
3897
|
-
control: z.string().optional(),
|
|
3898
|
-
margin: sizeSchema.optional()
|
|
3899
|
-
});
|
|
3900
|
-
var infoLayoutSchema = z.object({
|
|
3901
|
-
type: z.literal("info"),
|
|
3902
|
-
markdown: z.string(),
|
|
3903
|
-
align: alignSchema.optional(),
|
|
3904
|
-
control: z.string().optional(),
|
|
3905
|
-
margin: sizeSchema.optional()
|
|
3906
|
-
});
|
|
3907
|
-
var loadingIndicatorLayoutSchema = z.object({
|
|
3908
|
-
type: z.literal("loading-indicator"),
|
|
3909
|
-
size: sizeSchema.optional(),
|
|
3910
|
-
control: z.string().optional(),
|
|
3911
|
-
margin: sizeSchema.optional()
|
|
3912
|
-
});
|
|
3913
|
-
var paragraphLayoutSchema = z.object({
|
|
3914
|
-
type: z.literal("paragraph"),
|
|
3915
|
-
text: z.string(),
|
|
3916
|
-
align: alignSchema.optional(),
|
|
3917
|
-
control: z.string().optional(),
|
|
3918
|
-
margin: sizeSchema.optional()
|
|
3919
|
-
});
|
|
3920
|
-
var instructionsLayoutItemSchema = z.object({
|
|
3921
|
-
text: z.string(),
|
|
3922
|
-
context: contextSchema
|
|
3923
|
-
});
|
|
3924
|
-
var helpSchema = z.object({
|
|
3925
|
-
markdown: z.string()
|
|
3926
|
-
});
|
|
3927
|
-
var imageSchema = z.object({
|
|
3928
|
-
text: z.string().optional(),
|
|
3929
|
-
url: z.string(),
|
|
3930
|
-
accessibilityDescription: z.string().optional()
|
|
3931
|
-
});
|
|
3932
|
-
var summaryProviderSchema = z.object({
|
|
3933
|
-
providesTitle: z.boolean().optional(),
|
|
3934
|
-
providesDescription: z.boolean().optional(),
|
|
3935
|
-
providesIcon: z.boolean().optional(),
|
|
3936
|
-
providesImage: z.boolean().optional()
|
|
3937
|
-
});
|
|
3938
|
-
var validateAsyncSchema = z.object({
|
|
3939
|
-
param: z.string(),
|
|
3940
|
-
method: httpMethodSchema,
|
|
3941
|
-
url: z.string()
|
|
3942
|
-
});
|
|
3860
|
+
var alignSchema = z.union([z.literal("left"), z.literal("center"), z.literal("right")]);
|
|
3861
|
+
var iconSchema = z.union([iconNamedSchema, iconTextSchema]);
|
|
3943
3862
|
var autocompleteTokenSchema = z.union([
|
|
3944
3863
|
z.literal("on"),
|
|
3945
3864
|
z.literal("name"),
|
|
@@ -4005,14 +3924,106 @@ var autocompleteTokenSchema = z.union([
|
|
|
4005
3924
|
z.literal("fax"),
|
|
4006
3925
|
z.literal("pager")
|
|
4007
3926
|
]);
|
|
4008
|
-
var
|
|
4009
|
-
z.literal("
|
|
4010
|
-
|
|
4011
|
-
z.
|
|
4012
|
-
|
|
4013
|
-
|
|
4014
|
-
|
|
3927
|
+
var loadingIndicatorLayoutSchema = z.object({
|
|
3928
|
+
type: z.literal("loading-indicator"),
|
|
3929
|
+
size: sizeSchema.optional(),
|
|
3930
|
+
control: z.string().optional(),
|
|
3931
|
+
margin: sizeSchema.optional()
|
|
3932
|
+
});
|
|
3933
|
+
var paragraphLayoutSchema = z.object({
|
|
3934
|
+
type: z.literal("paragraph"),
|
|
3935
|
+
text: z.string(),
|
|
3936
|
+
align: alignSchema.optional(),
|
|
3937
|
+
control: z.string().optional(),
|
|
3938
|
+
margin: sizeSchema.optional()
|
|
3939
|
+
});
|
|
3940
|
+
var dividerLayoutSchema = z.object({
|
|
3941
|
+
type: z.literal("divider"),
|
|
3942
|
+
control: z.string().optional(),
|
|
3943
|
+
margin: sizeSchema.optional()
|
|
3944
|
+
});
|
|
3945
|
+
var listLayoutStatusSchema = z.union([
|
|
3946
|
+
z.literal("warning"),
|
|
3947
|
+
z.literal("neutral"),
|
|
3948
|
+
z.literal("positive")
|
|
4015
3949
|
]);
|
|
3950
|
+
var formLayoutSchemaReferenceSchema = z.object({
|
|
3951
|
+
$ref: z.string()
|
|
3952
|
+
});
|
|
3953
|
+
var imageLayoutSchema = z.object({
|
|
3954
|
+
type: z.literal("image"),
|
|
3955
|
+
text: z.string().optional(),
|
|
3956
|
+
url: z.string(),
|
|
3957
|
+
size: sizeSchema.optional(),
|
|
3958
|
+
accessibilityDescription: z.string().optional(),
|
|
3959
|
+
control: z.string().optional(),
|
|
3960
|
+
margin: sizeSchema.optional()
|
|
3961
|
+
});
|
|
3962
|
+
var statusListLayoutStatusSchema = z.union([
|
|
3963
|
+
z.literal("not-done"),
|
|
3964
|
+
z.literal("pending"),
|
|
3965
|
+
z.literal("done")
|
|
3966
|
+
]);
|
|
3967
|
+
var instructionsLayoutItemSchema = z.object({
|
|
3968
|
+
text: z.string(),
|
|
3969
|
+
context: contextSchema
|
|
3970
|
+
});
|
|
3971
|
+
var modalLayoutTriggerSchema = z.object({
|
|
3972
|
+
title: z.string()
|
|
3973
|
+
});
|
|
3974
|
+
var searchLayoutSchema = z.object({
|
|
3975
|
+
type: z.literal("search"),
|
|
3976
|
+
title: z.string(),
|
|
3977
|
+
method: httpMethodSchema,
|
|
3978
|
+
url: z.string(),
|
|
3979
|
+
param: z.string(),
|
|
3980
|
+
emptyMessage: z.string().optional(),
|
|
3981
|
+
control: z.string().optional(),
|
|
3982
|
+
margin: sizeSchema.optional()
|
|
3983
|
+
});
|
|
3984
|
+
var infoLayoutSchema = z.object({
|
|
3985
|
+
type: z.literal("info"),
|
|
3986
|
+
markdown: z.string(),
|
|
3987
|
+
align: alignSchema.optional(),
|
|
3988
|
+
control: z.string().optional(),
|
|
3989
|
+
margin: sizeSchema.optional()
|
|
3990
|
+
});
|
|
3991
|
+
var formLayoutSchema = z.object({
|
|
3992
|
+
type: z.literal("form"),
|
|
3993
|
+
schema: formLayoutSchemaReferenceSchema.optional(),
|
|
3994
|
+
schemaId: z.string(),
|
|
3995
|
+
control: z.string().optional(),
|
|
3996
|
+
margin: sizeSchema.optional()
|
|
3997
|
+
});
|
|
3998
|
+
var headingLayoutSchema = z.object({
|
|
3999
|
+
type: z.literal("heading"),
|
|
4000
|
+
text: z.string(),
|
|
4001
|
+
size: sizeSchema.optional(),
|
|
4002
|
+
align: alignSchema.optional(),
|
|
4003
|
+
control: z.string().optional(),
|
|
4004
|
+
margin: sizeSchema.optional()
|
|
4005
|
+
});
|
|
4006
|
+
var markdownLayoutSchema = z.object({
|
|
4007
|
+
type: z.literal("markdown"),
|
|
4008
|
+
content: z.string(),
|
|
4009
|
+
align: alignSchema.optional(),
|
|
4010
|
+
control: z.string().optional(),
|
|
4011
|
+
margin: sizeSchema.optional()
|
|
4012
|
+
});
|
|
4013
|
+
var columnsLayoutBiasSchema = z.union([
|
|
4014
|
+
z.literal("none"),
|
|
4015
|
+
z.literal("left"),
|
|
4016
|
+
z.literal("right")
|
|
4017
|
+
]);
|
|
4018
|
+
var helpSchema = z.object({
|
|
4019
|
+
markdown: z.string()
|
|
4020
|
+
});
|
|
4021
|
+
var searchSearchRequestSchema = z.object({
|
|
4022
|
+
url: z.string(),
|
|
4023
|
+
method: httpMethodSchema,
|
|
4024
|
+
param: z.string(),
|
|
4025
|
+
query: z.string()
|
|
4026
|
+
});
|
|
4016
4027
|
var jsonElementSchema = z.lazy(
|
|
4017
4028
|
() => z.union([
|
|
4018
4029
|
z.string(),
|
|
@@ -4022,7 +4033,6 @@ var jsonElementSchema = z.lazy(
|
|
|
4022
4033
|
z.array(jsonElementSchema)
|
|
4023
4034
|
]).nullable()
|
|
4024
4035
|
);
|
|
4025
|
-
var uploadSourceSchema = z.union([z.literal("camera"), z.literal("file")]);
|
|
4026
4036
|
var externalSchema = z.object({
|
|
4027
4037
|
url: z.string()
|
|
4028
4038
|
});
|
|
@@ -4030,28 +4040,42 @@ var stepErrorSchema = z.object({
|
|
|
4030
4040
|
error: z.string().optional(),
|
|
4031
4041
|
validation: jsonElementSchema.optional()
|
|
4032
4042
|
});
|
|
4033
|
-
var
|
|
4034
|
-
|
|
4035
|
-
|
|
4036
|
-
|
|
4037
|
-
|
|
4038
|
-
|
|
4043
|
+
var stringSchemaFormatSchema = z.union([
|
|
4044
|
+
z.literal("date"),
|
|
4045
|
+
z.literal("email"),
|
|
4046
|
+
z.literal("numeric"),
|
|
4047
|
+
z.literal("password"),
|
|
4048
|
+
z.literal("phone-number"),
|
|
4049
|
+
z.literal("base64url")
|
|
4050
|
+
]);
|
|
4051
|
+
var summarySummariserSchema = z.object({
|
|
4052
|
+
defaultTitle: z.string().optional(),
|
|
4053
|
+
defaultDescription: z.string().optional(),
|
|
4054
|
+
defaultIcon: iconSchema.optional(),
|
|
4055
|
+
defaultImage: imageLayoutSchema.optional(),
|
|
4056
|
+
providesTitle: z.boolean().optional(),
|
|
4057
|
+
providesDescription: z.boolean().optional(),
|
|
4058
|
+
providesIcon: z.boolean().optional(),
|
|
4059
|
+
providesImage: z.boolean().optional()
|
|
4039
4060
|
});
|
|
4040
|
-
var
|
|
4041
|
-
url: z.string(),
|
|
4042
|
-
method: httpMethodSchema,
|
|
4061
|
+
var validateAsyncSchema = z.object({
|
|
4043
4062
|
param: z.string(),
|
|
4044
|
-
|
|
4063
|
+
method: httpMethodSchema,
|
|
4064
|
+
url: z.string()
|
|
4045
4065
|
});
|
|
4066
|
+
var summaryProviderSchema = z.object({
|
|
4067
|
+
providesTitle: z.boolean().optional(),
|
|
4068
|
+
providesDescription: z.boolean().optional(),
|
|
4069
|
+
providesIcon: z.boolean().optional(),
|
|
4070
|
+
providesImage: z.boolean().optional()
|
|
4071
|
+
});
|
|
4072
|
+
var uploadSourceSchema = z.union([z.literal("camera"), z.literal("file")]);
|
|
4046
4073
|
var navigationStackBehaviorSchema = z.union([
|
|
4047
4074
|
z.literal("default"),
|
|
4048
4075
|
z.literal("remove-previous"),
|
|
4049
4076
|
z.literal("remove-all"),
|
|
4050
4077
|
z.literal("replace-current")
|
|
4051
4078
|
]);
|
|
4052
|
-
var linkSchema = z.object({
|
|
4053
|
-
url: z.string()
|
|
4054
|
-
});
|
|
4055
4079
|
var actionTypeSchema = z.union([
|
|
4056
4080
|
z.literal("primary"),
|
|
4057
4081
|
z.literal("secondary"),
|
|
@@ -4059,11 +4083,9 @@ var actionTypeSchema = z.union([
|
|
|
4059
4083
|
z.literal("positive"),
|
|
4060
4084
|
z.literal("negative")
|
|
4061
4085
|
]);
|
|
4062
|
-
var
|
|
4063
|
-
|
|
4064
|
-
|
|
4065
|
-
var iconTextSchema = z.object({
|
|
4066
|
-
text: z.string()
|
|
4086
|
+
var summarySchema = z.union([summaryProviderSchema, summarySummariserSchema]);
|
|
4087
|
+
var linkSchema = z.object({
|
|
4088
|
+
url: z.string()
|
|
4067
4089
|
});
|
|
4068
4090
|
var actionSchema = z.object({
|
|
4069
4091
|
title: z.string().optional(),
|
|
@@ -4080,26 +4102,25 @@ var actionSchema = z.object({
|
|
|
4080
4102
|
timeout: z.number().optional(),
|
|
4081
4103
|
skipValidation: z.boolean().optional()
|
|
4082
4104
|
});
|
|
4083
|
-
var
|
|
4084
|
-
|
|
4085
|
-
|
|
4086
|
-
|
|
4087
|
-
|
|
4088
|
-
margin: sizeSchema.optional()
|
|
4105
|
+
var listLayoutItemSchema = z.object({
|
|
4106
|
+
title: z.string(),
|
|
4107
|
+
description: z.string().optional(),
|
|
4108
|
+
icon: iconSchema,
|
|
4109
|
+
status: listLayoutStatusSchema.optional()
|
|
4089
4110
|
});
|
|
4090
|
-
var
|
|
4091
|
-
|
|
4111
|
+
var decisionLayoutOptionSchema = z.object({
|
|
4112
|
+
action: actionSchema,
|
|
4092
4113
|
title: z.string(),
|
|
4093
|
-
|
|
4094
|
-
|
|
4095
|
-
|
|
4096
|
-
|
|
4097
|
-
control: z.string().optional(),
|
|
4098
|
-
margin: sizeSchema.optional()
|
|
4114
|
+
description: z.string().optional(),
|
|
4115
|
+
disabled: z.boolean().optional(),
|
|
4116
|
+
icon: iconSchema.optional(),
|
|
4117
|
+
image: imageLayoutSchema.optional()
|
|
4099
4118
|
});
|
|
4100
|
-
var
|
|
4119
|
+
var statusListLayoutItemSchema = z.object({
|
|
4101
4120
|
title: z.string(),
|
|
4102
|
-
|
|
4121
|
+
description: z.string().optional(),
|
|
4122
|
+
icon: iconSchema,
|
|
4123
|
+
status: statusListLayoutStatusSchema.optional()
|
|
4103
4124
|
});
|
|
4104
4125
|
var instructionsLayoutSchema = z.object({
|
|
4105
4126
|
type: z.literal("instructions"),
|
|
@@ -4108,39 +4129,26 @@ var instructionsLayoutSchema = z.object({
|
|
|
4108
4129
|
control: z.string().optional(),
|
|
4109
4130
|
margin: sizeSchema.optional()
|
|
4110
4131
|
});
|
|
4111
|
-
var
|
|
4132
|
+
var buttonLayoutSchema = z.object({
|
|
4133
|
+
type: z.literal("button"),
|
|
4134
|
+
size: sizeSchema.optional(),
|
|
4135
|
+
title: z.string().optional(),
|
|
4136
|
+
action: actionSchema,
|
|
4137
|
+
context: contextSchema.optional(),
|
|
4138
|
+
disabled: z.boolean().optional(),
|
|
4139
|
+
pinOrder: z.number().optional(),
|
|
4140
|
+
control: z.string().optional(),
|
|
4141
|
+
margin: sizeSchema.optional()
|
|
4142
|
+
});
|
|
4112
4143
|
var reviewLayoutFieldSchema = z.object({
|
|
4113
4144
|
label: z.string(),
|
|
4114
4145
|
value: z.string(),
|
|
4115
4146
|
help: helpSchema.optional()
|
|
4116
4147
|
});
|
|
4117
|
-
var statusListLayoutItemSchema = z.object({
|
|
4118
|
-
title: z.string(),
|
|
4119
|
-
description: z.string().optional(),
|
|
4120
|
-
icon: iconSchema,
|
|
4121
|
-
status: statusListLayoutStatusSchema.optional()
|
|
4122
|
-
});
|
|
4123
4148
|
var behaviorSchema = z.object({
|
|
4124
4149
|
action: actionSchema.optional(),
|
|
4125
4150
|
link: linkSchema.optional()
|
|
4126
4151
|
});
|
|
4127
|
-
var summarySummariserSchema = z.object({
|
|
4128
|
-
defaultTitle: z.string().optional(),
|
|
4129
|
-
defaultDescription: z.string().optional(),
|
|
4130
|
-
defaultIcon: iconSchema.optional(),
|
|
4131
|
-
defaultImage: imageLayoutSchema.optional(),
|
|
4132
|
-
providesTitle: z.boolean().optional(),
|
|
4133
|
-
providesDescription: z.boolean().optional(),
|
|
4134
|
-
providesIcon: z.boolean().optional(),
|
|
4135
|
-
providesImage: z.boolean().optional()
|
|
4136
|
-
});
|
|
4137
|
-
var linkHandlerSchema = z.object({
|
|
4138
|
-
regexPattern: z.string(),
|
|
4139
|
-
action: actionSchema
|
|
4140
|
-
});
|
|
4141
|
-
var actionResponseBodySchema = z.object({
|
|
4142
|
-
action: actionSchema
|
|
4143
|
-
});
|
|
4144
4152
|
var searchResultSearchSchema = z.object({
|
|
4145
4153
|
type: z.literal("search"),
|
|
4146
4154
|
title: z.string(),
|
|
@@ -4157,6 +4165,20 @@ var searchResultActionSchema = z.object({
|
|
|
4157
4165
|
image: imageLayoutSchema.optional(),
|
|
4158
4166
|
value: actionSchema
|
|
4159
4167
|
});
|
|
4168
|
+
var actionResponseBodySchema = z.object({
|
|
4169
|
+
action: actionSchema
|
|
4170
|
+
});
|
|
4171
|
+
var errorResponseBodySchema = z.object({
|
|
4172
|
+
refreshFormUrl: z.string().optional(),
|
|
4173
|
+
analytics: z.record(z.string()).optional(),
|
|
4174
|
+
error: z.string().optional(),
|
|
4175
|
+
validation: jsonElementSchema.optional(),
|
|
4176
|
+
refreshUrl: z.string().optional()
|
|
4177
|
+
});
|
|
4178
|
+
var linkHandlerSchema = z.object({
|
|
4179
|
+
regexPattern: z.string(),
|
|
4180
|
+
action: actionSchema
|
|
4181
|
+
});
|
|
4160
4182
|
var pollingOnErrorSchema = z.object({
|
|
4161
4183
|
action: actionSchema
|
|
4162
4184
|
});
|
|
@@ -4164,33 +4186,26 @@ var navigationBackBehaviorSchema = z.object({
|
|
|
4164
4186
|
title: z.string().optional(),
|
|
4165
4187
|
action: actionSchema
|
|
4166
4188
|
});
|
|
4167
|
-
var
|
|
4168
|
-
|
|
4169
|
-
|
|
4170
|
-
|
|
4189
|
+
var reviewLayoutCallToActionSchema = z.object({
|
|
4190
|
+
title: z.string(),
|
|
4191
|
+
action: actionSchema
|
|
4192
|
+
});
|
|
4193
|
+
var alertLayoutCallToActionSchema = z.object({
|
|
4194
|
+
title: z.string(),
|
|
4195
|
+
accessibilityDescription: z.string().optional(),
|
|
4196
|
+
behavior: behaviorSchema
|
|
4197
|
+
});
|
|
4198
|
+
var listLayoutSchema = z.object({
|
|
4199
|
+
type: z.literal("list"),
|
|
4200
|
+
items: z.array(listLayoutItemSchema),
|
|
4171
4201
|
title: z.string().optional(),
|
|
4172
|
-
action: actionSchema,
|
|
4173
|
-
context: contextSchema.optional(),
|
|
4174
|
-
disabled: z.boolean().optional(),
|
|
4175
|
-
pinOrder: z.number().optional(),
|
|
4176
4202
|
control: z.string().optional(),
|
|
4177
4203
|
margin: sizeSchema.optional()
|
|
4178
4204
|
});
|
|
4179
|
-
var
|
|
4180
|
-
|
|
4181
|
-
title: z.string(),
|
|
4182
|
-
description: z.string().optional(),
|
|
4183
|
-
disabled: z.boolean().optional(),
|
|
4184
|
-
icon: iconSchema.optional(),
|
|
4185
|
-
image: imageLayoutSchema.optional()
|
|
4186
|
-
});
|
|
4187
|
-
var reviewLayoutSchema = z.object({
|
|
4188
|
-
type: z.literal("review"),
|
|
4189
|
-
orientation: z.string().optional(),
|
|
4190
|
-
action: actionSchema.optional(),
|
|
4191
|
-
fields: z.array(reviewLayoutFieldSchema),
|
|
4205
|
+
var decisionLayoutSchema = z.object({
|
|
4206
|
+
type: z.literal("decision"),
|
|
4192
4207
|
title: z.string().optional(),
|
|
4193
|
-
|
|
4208
|
+
options: z.array(decisionLayoutOptionSchema),
|
|
4194
4209
|
control: z.string().optional(),
|
|
4195
4210
|
margin: sizeSchema.optional()
|
|
4196
4211
|
});
|
|
@@ -4201,17 +4216,17 @@ var statusListLayoutSchema = z.object({
|
|
|
4201
4216
|
control: z.string().optional(),
|
|
4202
4217
|
margin: sizeSchema.optional()
|
|
4203
4218
|
});
|
|
4204
|
-
var
|
|
4205
|
-
|
|
4206
|
-
|
|
4207
|
-
|
|
4208
|
-
|
|
4209
|
-
|
|
4210
|
-
|
|
4211
|
-
|
|
4212
|
-
|
|
4213
|
-
behavior: behaviorSchema
|
|
4219
|
+
var reviewLayoutSchema = z.object({
|
|
4220
|
+
type: z.literal("review"),
|
|
4221
|
+
orientation: z.string().optional(),
|
|
4222
|
+
action: actionSchema.optional(),
|
|
4223
|
+
fields: z.array(reviewLayoutFieldSchema),
|
|
4224
|
+
title: z.string().optional(),
|
|
4225
|
+
callToAction: reviewLayoutCallToActionSchema.optional(),
|
|
4226
|
+
control: z.string().optional(),
|
|
4227
|
+
margin: sizeSchema.optional()
|
|
4214
4228
|
});
|
|
4229
|
+
var searchResultSchema = z.union([searchResultActionSchema, searchResultSearchSchema]);
|
|
4215
4230
|
var pollingSchema = z.object({
|
|
4216
4231
|
url: z.string(),
|
|
4217
4232
|
interval: z.number().optional(),
|
|
@@ -4225,14 +4240,6 @@ var navigationSchema = z.object({
|
|
|
4225
4240
|
back: navigationBackBehaviorSchema.optional(),
|
|
4226
4241
|
stackBehavior: navigationStackBehaviorSchema.optional()
|
|
4227
4242
|
});
|
|
4228
|
-
var searchResultSchema = z.union([searchResultActionSchema, searchResultSearchSchema]);
|
|
4229
|
-
var decisionLayoutSchema = z.object({
|
|
4230
|
-
type: z.literal("decision"),
|
|
4231
|
-
title: z.string().optional(),
|
|
4232
|
-
options: z.array(decisionLayoutOptionSchema),
|
|
4233
|
-
control: z.string().optional(),
|
|
4234
|
-
margin: sizeSchema.optional()
|
|
4235
|
-
});
|
|
4236
4243
|
var alertLayoutSchema = z.object({
|
|
4237
4244
|
type: z.literal("alert"),
|
|
4238
4245
|
markdown: z.string(),
|
|
@@ -4241,12 +4248,8 @@ var alertLayoutSchema = z.object({
|
|
|
4241
4248
|
margin: sizeSchema.optional(),
|
|
4242
4249
|
callToAction: alertLayoutCallToActionSchema.optional()
|
|
4243
4250
|
});
|
|
4244
|
-
var
|
|
4245
|
-
|
|
4246
|
-
items: z.array(listLayoutItemSchema),
|
|
4247
|
-
title: z.string().optional(),
|
|
4248
|
-
control: z.string().optional(),
|
|
4249
|
-
margin: sizeSchema.optional()
|
|
4251
|
+
var searchResponseBodySchema = z.object({
|
|
4252
|
+
results: z.array(searchResultSchema)
|
|
4250
4253
|
});
|
|
4251
4254
|
var blobSchemaSchema = z.object({
|
|
4252
4255
|
type: z.literal("blob"),
|
|
@@ -4286,19 +4289,6 @@ var constSchemaSchema = z.object({
|
|
|
4286
4289
|
analyticsId: z.string().optional(),
|
|
4287
4290
|
disabled: z.boolean().optional()
|
|
4288
4291
|
});
|
|
4289
|
-
var searchResponseBodySchema = z.object({
|
|
4290
|
-
results: z.array(searchResultSchema)
|
|
4291
|
-
});
|
|
4292
|
-
var columnsLayoutSchema = z.lazy(
|
|
4293
|
-
() => z.object({
|
|
4294
|
-
type: z.literal("columns"),
|
|
4295
|
-
left: z.array(layoutSchema),
|
|
4296
|
-
right: z.array(layoutSchema),
|
|
4297
|
-
bias: columnsLayoutBiasSchema.optional(),
|
|
4298
|
-
control: z.string().optional(),
|
|
4299
|
-
margin: sizeSchema.optional()
|
|
4300
|
-
})
|
|
4301
|
-
);
|
|
4302
4292
|
var layoutSchema = z.lazy(
|
|
4303
4293
|
() => z.union([
|
|
4304
4294
|
alertLayoutSchema,
|
|
@@ -4322,6 +4312,26 @@ var layoutSchema = z.lazy(
|
|
|
4322
4312
|
statusListLayoutSchema
|
|
4323
4313
|
])
|
|
4324
4314
|
);
|
|
4315
|
+
var boxLayoutSchema = z.lazy(
|
|
4316
|
+
() => z.object({
|
|
4317
|
+
type: z.literal("box"),
|
|
4318
|
+
components: z.array(layoutSchema),
|
|
4319
|
+
width: sizeSchema.optional(),
|
|
4320
|
+
border: z.boolean().optional(),
|
|
4321
|
+
control: z.string().optional(),
|
|
4322
|
+
margin: sizeSchema.optional()
|
|
4323
|
+
})
|
|
4324
|
+
);
|
|
4325
|
+
var columnsLayoutSchema = z.lazy(
|
|
4326
|
+
() => z.object({
|
|
4327
|
+
type: z.literal("columns"),
|
|
4328
|
+
left: z.array(layoutSchema),
|
|
4329
|
+
right: z.array(layoutSchema),
|
|
4330
|
+
bias: columnsLayoutBiasSchema.optional(),
|
|
4331
|
+
control: z.string().optional(),
|
|
4332
|
+
margin: sizeSchema.optional()
|
|
4333
|
+
})
|
|
4334
|
+
);
|
|
4325
4335
|
var modalLayoutSchema = z.lazy(
|
|
4326
4336
|
() => z.object({
|
|
4327
4337
|
type: z.literal("modal"),
|
|
@@ -4337,14 +4347,25 @@ var modalLayoutContentSchema = z.lazy(
|
|
|
4337
4347
|
components: z.array(layoutSchema)
|
|
4338
4348
|
})
|
|
4339
4349
|
);
|
|
4340
|
-
var
|
|
4350
|
+
var stepSchema = z.lazy(
|
|
4341
4351
|
() => z.object({
|
|
4342
|
-
|
|
4343
|
-
|
|
4344
|
-
|
|
4345
|
-
|
|
4346
|
-
|
|
4347
|
-
|
|
4352
|
+
key: z.string().optional(),
|
|
4353
|
+
type: z.string().optional(),
|
|
4354
|
+
actions: z.array(actionSchema).optional(),
|
|
4355
|
+
refreshFormUrl: z.string().optional(),
|
|
4356
|
+
id: z.string(),
|
|
4357
|
+
title: z.string(),
|
|
4358
|
+
schemas: z.array(schemaSchema),
|
|
4359
|
+
layout: z.array(layoutSchema),
|
|
4360
|
+
description: z.string().optional(),
|
|
4361
|
+
model: jsonElementSchema.optional(),
|
|
4362
|
+
external: externalSchema.optional(),
|
|
4363
|
+
polling: pollingSchema.optional(),
|
|
4364
|
+
linkHandlers: z.array(linkHandlerSchema).optional(),
|
|
4365
|
+
analytics: z.record(z.string()).optional(),
|
|
4366
|
+
errors: stepErrorSchema.optional(),
|
|
4367
|
+
navigation: navigationSchema.optional(),
|
|
4368
|
+
refreshUrl: z.string().optional()
|
|
4348
4369
|
})
|
|
4349
4370
|
);
|
|
4350
4371
|
var schemaSchema = z.lazy(
|
|
@@ -4570,21 +4591,17 @@ var stringSchemaSchema = z.lazy(
|
|
|
4570
4591
|
help: helpSchema.optional()
|
|
4571
4592
|
})
|
|
4572
4593
|
);
|
|
4573
|
-
var
|
|
4574
|
-
() => z.object({
|
|
4575
|
-
param: z.string(),
|
|
4576
|
-
idProperty: z.string(),
|
|
4577
|
-
schema: schemaSchema,
|
|
4578
|
-
url: z.string(),
|
|
4579
|
-
method: httpMethodSchema
|
|
4580
|
-
})
|
|
4581
|
-
);
|
|
4582
|
-
var arraySchemaTupleSchema = z.lazy(
|
|
4594
|
+
var arraySchemaListSchema = z.lazy(
|
|
4583
4595
|
() => z.object({
|
|
4584
4596
|
type: z.literal("array"),
|
|
4585
4597
|
promoted: z.boolean().optional(),
|
|
4586
4598
|
$id: z.string().optional(),
|
|
4587
|
-
items:
|
|
4599
|
+
items: schemaSchema,
|
|
4600
|
+
addItemTitle: z.string(),
|
|
4601
|
+
editItemTitle: z.string(),
|
|
4602
|
+
minItems: z.number().optional(),
|
|
4603
|
+
maxItems: z.number().optional(),
|
|
4604
|
+
placeholder: z.string().optional(),
|
|
4588
4605
|
title: z.string().optional(),
|
|
4589
4606
|
description: z.string().optional(),
|
|
4590
4607
|
control: z.string().optional(),
|
|
@@ -4592,24 +4609,30 @@ var arraySchemaTupleSchema = z.lazy(
|
|
|
4592
4609
|
icon: iconSchema.optional(),
|
|
4593
4610
|
image: imageSchema.optional(),
|
|
4594
4611
|
keywords: z.array(z.string()).optional(),
|
|
4595
|
-
summary:
|
|
4612
|
+
summary: summarySummariserSchema.optional(),
|
|
4596
4613
|
analyticsId: z.string().optional(),
|
|
4597
4614
|
persistAsync: persistAsyncSchema.optional(),
|
|
4598
4615
|
validationAsync: validateAsyncSchema.optional(),
|
|
4599
|
-
alert: alertLayoutSchema.optional()
|
|
4616
|
+
alert: alertLayoutSchema.optional(),
|
|
4617
|
+
validationMessages: z.record(z.string()).optional(),
|
|
4618
|
+
disabled: z.boolean().optional()
|
|
4600
4619
|
})
|
|
4601
4620
|
);
|
|
4602
|
-
var
|
|
4621
|
+
var persistAsyncSchema = z.lazy(
|
|
4622
|
+
() => z.object({
|
|
4623
|
+
param: z.string(),
|
|
4624
|
+
idProperty: z.string(),
|
|
4625
|
+
schema: schemaSchema,
|
|
4626
|
+
url: z.string(),
|
|
4627
|
+
method: httpMethodSchema
|
|
4628
|
+
})
|
|
4629
|
+
);
|
|
4630
|
+
var arraySchemaTupleSchema = z.lazy(
|
|
4603
4631
|
() => z.object({
|
|
4604
4632
|
type: z.literal("array"),
|
|
4605
4633
|
promoted: z.boolean().optional(),
|
|
4606
4634
|
$id: z.string().optional(),
|
|
4607
|
-
items: schemaSchema,
|
|
4608
|
-
addItemTitle: z.string(),
|
|
4609
|
-
editItemTitle: z.string(),
|
|
4610
|
-
minItems: z.number().optional(),
|
|
4611
|
-
maxItems: z.number().optional(),
|
|
4612
|
-
placeholder: z.string().optional(),
|
|
4635
|
+
items: z.array(schemaSchema),
|
|
4613
4636
|
title: z.string().optional(),
|
|
4614
4637
|
description: z.string().optional(),
|
|
4615
4638
|
control: z.string().optional(),
|
|
@@ -4617,34 +4640,11 @@ var arraySchemaListSchema = z.lazy(
|
|
|
4617
4640
|
icon: iconSchema.optional(),
|
|
4618
4641
|
image: imageSchema.optional(),
|
|
4619
4642
|
keywords: z.array(z.string()).optional(),
|
|
4620
|
-
summary:
|
|
4643
|
+
summary: summaryProviderSchema.optional(),
|
|
4621
4644
|
analyticsId: z.string().optional(),
|
|
4622
4645
|
persistAsync: persistAsyncSchema.optional(),
|
|
4623
4646
|
validationAsync: validateAsyncSchema.optional(),
|
|
4624
|
-
alert: alertLayoutSchema.optional()
|
|
4625
|
-
validationMessages: z.record(z.string()).optional(),
|
|
4626
|
-
disabled: z.boolean().optional()
|
|
4627
|
-
})
|
|
4628
|
-
);
|
|
4629
|
-
var stepSchema = z.lazy(
|
|
4630
|
-
() => z.object({
|
|
4631
|
-
key: z.string().optional(),
|
|
4632
|
-
type: z.string().optional(),
|
|
4633
|
-
actions: z.array(actionSchema).optional(),
|
|
4634
|
-
refreshFormUrl: z.string().optional(),
|
|
4635
|
-
id: z.string(),
|
|
4636
|
-
title: z.string(),
|
|
4637
|
-
schemas: z.array(schemaSchema),
|
|
4638
|
-
layout: z.array(layoutSchema),
|
|
4639
|
-
description: z.string().optional(),
|
|
4640
|
-
model: jsonElementSchema.optional(),
|
|
4641
|
-
external: externalSchema.optional(),
|
|
4642
|
-
polling: pollingSchema.optional(),
|
|
4643
|
-
linkHandlers: z.array(linkHandlerSchema).optional(),
|
|
4644
|
-
analytics: z.record(z.string()).optional(),
|
|
4645
|
-
errors: stepErrorSchema.optional(),
|
|
4646
|
-
navigation: navigationSchema.optional(),
|
|
4647
|
-
refreshUrl: z.string().optional()
|
|
4647
|
+
alert: alertLayoutSchema.optional()
|
|
4648
4648
|
})
|
|
4649
4649
|
);
|
|
4650
4650
|
|