@cimplify/sdk 0.44.18 → 0.44.19
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/dist/{chunk-VDH3O7UB.mjs → chunk-GLOO4HUN.mjs} +82 -10
- package/dist/{chunk-MJBSVUHO.mjs → chunk-KSKZAXG2.mjs} +2 -0
- package/dist/{chunk-CCSONJCO.js → chunk-PGSM3NQ2.js} +2 -0
- package/dist/{chunk-53J2WE4S.js → chunk-Q4I7JRGO.js} +86 -10
- package/dist/mock/cli.mjs +2 -0
- package/dist/mock/library.js +2 -0
- package/dist/mock/library.mjs +2 -0
- package/dist/mock/msw.js +2 -0
- package/dist/mock/msw.mjs +2 -0
- package/dist/testing/msw.js +2 -2
- package/dist/testing/msw.mjs +1 -1
- package/dist/testing/suite.js +21 -21
- package/dist/testing/suite.mjs +2 -2
- package/dist/testing.d.mts +329 -27
- package/dist/testing.d.ts +329 -27
- package/dist/testing.js +89 -73
- package/dist/testing.mjs +3 -3
- package/package.json +1 -1
package/dist/testing.d.mts
CHANGED
|
@@ -667,7 +667,9 @@ declare const VariantInfoSchema: z.ZodObject<{
|
|
|
667
667
|
id: z.ZodString;
|
|
668
668
|
name: z.ZodString;
|
|
669
669
|
sku: z.ZodOptional<z.ZodString>;
|
|
670
|
+
price: z.ZodString;
|
|
670
671
|
price_adjustment: z.ZodString;
|
|
672
|
+
is_default: z.ZodBoolean;
|
|
671
673
|
display_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
672
674
|
axis_id: z.ZodString;
|
|
673
675
|
axis_name: z.ZodString;
|
|
@@ -689,10 +691,68 @@ declare const ChosenPriceSchema: z.ZodObject<{
|
|
|
689
691
|
markup_discount_percentage: z.ZodString;
|
|
690
692
|
markup_discount_amount: z.ZodString;
|
|
691
693
|
}, z.core.$strip>;
|
|
694
|
+
declare const SelectedAddOnOptionSchema: z.ZodObject<{
|
|
695
|
+
option_id: z.ZodString;
|
|
696
|
+
add_on_id: z.ZodString;
|
|
697
|
+
name: z.ZodString;
|
|
698
|
+
price: z.ZodString;
|
|
699
|
+
quantity: z.ZodNumber;
|
|
700
|
+
is_required: z.ZodBoolean;
|
|
701
|
+
selected_at: z.ZodUnion<readonly [z.ZodISODateTime, z.ZodString]>;
|
|
702
|
+
price_info: z.ZodOptional<z.ZodUnknown>;
|
|
703
|
+
}, z.core.$strip>;
|
|
704
|
+
declare const AddOnInDetailsSchema: z.ZodObject<{
|
|
705
|
+
add_on_id: z.ZodString;
|
|
706
|
+
name: z.ZodString;
|
|
707
|
+
min_selections: z.ZodNumber;
|
|
708
|
+
max_selections: z.ZodNumber;
|
|
709
|
+
selected_options: z.ZodArray<z.ZodString>;
|
|
710
|
+
is_required: z.ZodBoolean;
|
|
711
|
+
}, z.core.$strip>;
|
|
692
712
|
declare const AddOnDetailsSchema: z.ZodObject<{
|
|
693
|
-
selected_options: z.ZodArray<z.
|
|
713
|
+
selected_options: z.ZodArray<z.ZodObject<{
|
|
714
|
+
option_id: z.ZodString;
|
|
715
|
+
add_on_id: z.ZodString;
|
|
716
|
+
name: z.ZodString;
|
|
717
|
+
price: z.ZodString;
|
|
718
|
+
quantity: z.ZodNumber;
|
|
719
|
+
is_required: z.ZodBoolean;
|
|
720
|
+
selected_at: z.ZodUnion<readonly [z.ZodISODateTime, z.ZodString]>;
|
|
721
|
+
price_info: z.ZodOptional<z.ZodUnknown>;
|
|
722
|
+
}, z.core.$strip>>;
|
|
694
723
|
total_add_on_price: z.ZodString;
|
|
695
|
-
add_ons: z.ZodArray<z.
|
|
724
|
+
add_ons: z.ZodArray<z.ZodObject<{
|
|
725
|
+
add_on_id: z.ZodString;
|
|
726
|
+
name: z.ZodString;
|
|
727
|
+
min_selections: z.ZodNumber;
|
|
728
|
+
max_selections: z.ZodNumber;
|
|
729
|
+
selected_options: z.ZodArray<z.ZodString>;
|
|
730
|
+
is_required: z.ZodBoolean;
|
|
731
|
+
}, z.core.$strip>>;
|
|
732
|
+
}, z.core.$strip>;
|
|
733
|
+
declare const AddOnOptionDetailsSchema: z.ZodObject<{
|
|
734
|
+
id: z.ZodString;
|
|
735
|
+
name: z.ZodString;
|
|
736
|
+
is_required: z.ZodBoolean;
|
|
737
|
+
description: z.ZodOptional<z.ZodString>;
|
|
738
|
+
price: z.ZodOptional<z.ZodString>;
|
|
739
|
+
image_url: z.ZodOptional<z.ZodString>;
|
|
740
|
+
}, z.core.$strip>;
|
|
741
|
+
declare const AddOnGroupDetailsSchema: z.ZodObject<{
|
|
742
|
+
id: z.ZodString;
|
|
743
|
+
name: z.ZodString;
|
|
744
|
+
is_multiple_allowed: z.ZodBoolean;
|
|
745
|
+
min_selections: z.ZodNumber;
|
|
746
|
+
max_selections: z.ZodNumber;
|
|
747
|
+
required: z.ZodBoolean;
|
|
748
|
+
options: z.ZodArray<z.ZodObject<{
|
|
749
|
+
id: z.ZodString;
|
|
750
|
+
name: z.ZodString;
|
|
751
|
+
is_required: z.ZodBoolean;
|
|
752
|
+
description: z.ZodOptional<z.ZodString>;
|
|
753
|
+
price: z.ZodOptional<z.ZodString>;
|
|
754
|
+
image_url: z.ZodOptional<z.ZodString>;
|
|
755
|
+
}, z.core.$strip>>;
|
|
696
756
|
}, z.core.$strip>;
|
|
697
757
|
declare const BundleResolvedSchema: z.ZodObject<{
|
|
698
758
|
bundle_id: z.ZodString;
|
|
@@ -738,7 +798,9 @@ declare const CartItemSchema: z.ZodObject<{
|
|
|
738
798
|
id: z.ZodString;
|
|
739
799
|
name: z.ZodString;
|
|
740
800
|
sku: z.ZodOptional<z.ZodString>;
|
|
801
|
+
price: z.ZodString;
|
|
741
802
|
price_adjustment: z.ZodString;
|
|
803
|
+
is_default: z.ZodBoolean;
|
|
742
804
|
display_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
743
805
|
axis_id: z.ZodString;
|
|
744
806
|
axis_name: z.ZodString;
|
|
@@ -767,12 +829,50 @@ declare const CartItemSchema: z.ZodObject<{
|
|
|
767
829
|
add_on_option_ids: z.ZodArray<z.ZodString>;
|
|
768
830
|
add_on_ids: z.ZodArray<z.ZodString>;
|
|
769
831
|
add_on_details: z.ZodObject<{
|
|
770
|
-
selected_options: z.ZodArray<z.
|
|
832
|
+
selected_options: z.ZodArray<z.ZodObject<{
|
|
833
|
+
option_id: z.ZodString;
|
|
834
|
+
add_on_id: z.ZodString;
|
|
835
|
+
name: z.ZodString;
|
|
836
|
+
price: z.ZodString;
|
|
837
|
+
quantity: z.ZodNumber;
|
|
838
|
+
is_required: z.ZodBoolean;
|
|
839
|
+
selected_at: z.ZodUnion<readonly [z.ZodISODateTime, z.ZodString]>;
|
|
840
|
+
price_info: z.ZodOptional<z.ZodUnknown>;
|
|
841
|
+
}, z.core.$strip>>;
|
|
771
842
|
total_add_on_price: z.ZodString;
|
|
772
|
-
add_ons: z.ZodArray<z.
|
|
843
|
+
add_ons: z.ZodArray<z.ZodObject<{
|
|
844
|
+
add_on_id: z.ZodString;
|
|
845
|
+
name: z.ZodString;
|
|
846
|
+
min_selections: z.ZodNumber;
|
|
847
|
+
max_selections: z.ZodNumber;
|
|
848
|
+
selected_options: z.ZodArray<z.ZodString>;
|
|
849
|
+
is_required: z.ZodBoolean;
|
|
850
|
+
}, z.core.$strip>>;
|
|
773
851
|
}, z.core.$strip>;
|
|
774
|
-
add_on_options: z.ZodArray<z.
|
|
775
|
-
|
|
852
|
+
add_on_options: z.ZodArray<z.ZodObject<{
|
|
853
|
+
id: z.ZodString;
|
|
854
|
+
name: z.ZodString;
|
|
855
|
+
is_required: z.ZodBoolean;
|
|
856
|
+
description: z.ZodOptional<z.ZodString>;
|
|
857
|
+
price: z.ZodOptional<z.ZodString>;
|
|
858
|
+
image_url: z.ZodOptional<z.ZodString>;
|
|
859
|
+
}, z.core.$strip>>;
|
|
860
|
+
add_ons: z.ZodArray<z.ZodObject<{
|
|
861
|
+
id: z.ZodString;
|
|
862
|
+
name: z.ZodString;
|
|
863
|
+
is_multiple_allowed: z.ZodBoolean;
|
|
864
|
+
min_selections: z.ZodNumber;
|
|
865
|
+
max_selections: z.ZodNumber;
|
|
866
|
+
required: z.ZodBoolean;
|
|
867
|
+
options: z.ZodArray<z.ZodObject<{
|
|
868
|
+
id: z.ZodString;
|
|
869
|
+
name: z.ZodString;
|
|
870
|
+
is_required: z.ZodBoolean;
|
|
871
|
+
description: z.ZodOptional<z.ZodString>;
|
|
872
|
+
price: z.ZodOptional<z.ZodString>;
|
|
873
|
+
image_url: z.ZodOptional<z.ZodString>;
|
|
874
|
+
}, z.core.$strip>>;
|
|
875
|
+
}, z.core.$strip>>;
|
|
776
876
|
scheduled_start: z.ZodOptional<z.ZodString>;
|
|
777
877
|
scheduled_end: z.ZodOptional<z.ZodString>;
|
|
778
878
|
staff_id: z.ZodOptional<z.ZodString>;
|
|
@@ -844,12 +944,50 @@ declare const assertCartItem: (value: unknown) => asserts value is {
|
|
|
844
944
|
add_on_option_ids: string[];
|
|
845
945
|
add_on_ids: string[];
|
|
846
946
|
add_on_details: {
|
|
847
|
-
selected_options:
|
|
947
|
+
selected_options: {
|
|
948
|
+
option_id: string;
|
|
949
|
+
add_on_id: string;
|
|
950
|
+
name: string;
|
|
951
|
+
price: string;
|
|
952
|
+
quantity: number;
|
|
953
|
+
is_required: boolean;
|
|
954
|
+
selected_at: string;
|
|
955
|
+
price_info?: unknown;
|
|
956
|
+
}[];
|
|
848
957
|
total_add_on_price: string;
|
|
849
|
-
add_ons:
|
|
958
|
+
add_ons: {
|
|
959
|
+
add_on_id: string;
|
|
960
|
+
name: string;
|
|
961
|
+
min_selections: number;
|
|
962
|
+
max_selections: number;
|
|
963
|
+
selected_options: string[];
|
|
964
|
+
is_required: boolean;
|
|
965
|
+
}[];
|
|
850
966
|
};
|
|
851
|
-
add_on_options:
|
|
852
|
-
|
|
967
|
+
add_on_options: {
|
|
968
|
+
id: string;
|
|
969
|
+
name: string;
|
|
970
|
+
is_required: boolean;
|
|
971
|
+
description?: string | undefined;
|
|
972
|
+
price?: string | undefined;
|
|
973
|
+
image_url?: string | undefined;
|
|
974
|
+
}[];
|
|
975
|
+
add_ons: {
|
|
976
|
+
id: string;
|
|
977
|
+
name: string;
|
|
978
|
+
is_multiple_allowed: boolean;
|
|
979
|
+
min_selections: number;
|
|
980
|
+
max_selections: number;
|
|
981
|
+
required: boolean;
|
|
982
|
+
options: {
|
|
983
|
+
id: string;
|
|
984
|
+
name: string;
|
|
985
|
+
is_required: boolean;
|
|
986
|
+
description?: string | undefined;
|
|
987
|
+
price?: string | undefined;
|
|
988
|
+
image_url?: string | undefined;
|
|
989
|
+
}[];
|
|
990
|
+
}[];
|
|
853
991
|
applied_discount_ids: string[];
|
|
854
992
|
created_at: string;
|
|
855
993
|
updated_at: string;
|
|
@@ -862,7 +1000,9 @@ declare const assertCartItem: (value: unknown) => asserts value is {
|
|
|
862
1000
|
variant_info?: {
|
|
863
1001
|
id: string;
|
|
864
1002
|
name: string;
|
|
1003
|
+
price: string;
|
|
865
1004
|
price_adjustment: string;
|
|
1005
|
+
is_default: boolean;
|
|
866
1006
|
sku?: string | undefined;
|
|
867
1007
|
display_attributes?: {
|
|
868
1008
|
axis_id: string;
|
|
@@ -954,7 +1094,9 @@ declare const CartSchema: z.ZodObject<{
|
|
|
954
1094
|
id: z.ZodString;
|
|
955
1095
|
name: z.ZodString;
|
|
956
1096
|
sku: z.ZodOptional<z.ZodString>;
|
|
1097
|
+
price: z.ZodString;
|
|
957
1098
|
price_adjustment: z.ZodString;
|
|
1099
|
+
is_default: z.ZodBoolean;
|
|
958
1100
|
display_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
959
1101
|
axis_id: z.ZodString;
|
|
960
1102
|
axis_name: z.ZodString;
|
|
@@ -983,12 +1125,50 @@ declare const CartSchema: z.ZodObject<{
|
|
|
983
1125
|
add_on_option_ids: z.ZodArray<z.ZodString>;
|
|
984
1126
|
add_on_ids: z.ZodArray<z.ZodString>;
|
|
985
1127
|
add_on_details: z.ZodObject<{
|
|
986
|
-
selected_options: z.ZodArray<z.
|
|
1128
|
+
selected_options: z.ZodArray<z.ZodObject<{
|
|
1129
|
+
option_id: z.ZodString;
|
|
1130
|
+
add_on_id: z.ZodString;
|
|
1131
|
+
name: z.ZodString;
|
|
1132
|
+
price: z.ZodString;
|
|
1133
|
+
quantity: z.ZodNumber;
|
|
1134
|
+
is_required: z.ZodBoolean;
|
|
1135
|
+
selected_at: z.ZodUnion<readonly [z.ZodISODateTime, z.ZodString]>;
|
|
1136
|
+
price_info: z.ZodOptional<z.ZodUnknown>;
|
|
1137
|
+
}, z.core.$strip>>;
|
|
987
1138
|
total_add_on_price: z.ZodString;
|
|
988
|
-
add_ons: z.ZodArray<z.
|
|
1139
|
+
add_ons: z.ZodArray<z.ZodObject<{
|
|
1140
|
+
add_on_id: z.ZodString;
|
|
1141
|
+
name: z.ZodString;
|
|
1142
|
+
min_selections: z.ZodNumber;
|
|
1143
|
+
max_selections: z.ZodNumber;
|
|
1144
|
+
selected_options: z.ZodArray<z.ZodString>;
|
|
1145
|
+
is_required: z.ZodBoolean;
|
|
1146
|
+
}, z.core.$strip>>;
|
|
989
1147
|
}, z.core.$strip>;
|
|
990
|
-
add_on_options: z.ZodArray<z.
|
|
991
|
-
|
|
1148
|
+
add_on_options: z.ZodArray<z.ZodObject<{
|
|
1149
|
+
id: z.ZodString;
|
|
1150
|
+
name: z.ZodString;
|
|
1151
|
+
is_required: z.ZodBoolean;
|
|
1152
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1153
|
+
price: z.ZodOptional<z.ZodString>;
|
|
1154
|
+
image_url: z.ZodOptional<z.ZodString>;
|
|
1155
|
+
}, z.core.$strip>>;
|
|
1156
|
+
add_ons: z.ZodArray<z.ZodObject<{
|
|
1157
|
+
id: z.ZodString;
|
|
1158
|
+
name: z.ZodString;
|
|
1159
|
+
is_multiple_allowed: z.ZodBoolean;
|
|
1160
|
+
min_selections: z.ZodNumber;
|
|
1161
|
+
max_selections: z.ZodNumber;
|
|
1162
|
+
required: z.ZodBoolean;
|
|
1163
|
+
options: z.ZodArray<z.ZodObject<{
|
|
1164
|
+
id: z.ZodString;
|
|
1165
|
+
name: z.ZodString;
|
|
1166
|
+
is_required: z.ZodBoolean;
|
|
1167
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1168
|
+
price: z.ZodOptional<z.ZodString>;
|
|
1169
|
+
image_url: z.ZodOptional<z.ZodString>;
|
|
1170
|
+
}, z.core.$strip>>;
|
|
1171
|
+
}, z.core.$strip>>;
|
|
992
1172
|
scheduled_start: z.ZodOptional<z.ZodString>;
|
|
993
1173
|
scheduled_end: z.ZodOptional<z.ZodString>;
|
|
994
1174
|
staff_id: z.ZodOptional<z.ZodString>;
|
|
@@ -1087,12 +1267,50 @@ declare const assertCart: (value: unknown) => asserts value is {
|
|
|
1087
1267
|
add_on_option_ids: string[];
|
|
1088
1268
|
add_on_ids: string[];
|
|
1089
1269
|
add_on_details: {
|
|
1090
|
-
selected_options:
|
|
1270
|
+
selected_options: {
|
|
1271
|
+
option_id: string;
|
|
1272
|
+
add_on_id: string;
|
|
1273
|
+
name: string;
|
|
1274
|
+
price: string;
|
|
1275
|
+
quantity: number;
|
|
1276
|
+
is_required: boolean;
|
|
1277
|
+
selected_at: string;
|
|
1278
|
+
price_info?: unknown;
|
|
1279
|
+
}[];
|
|
1091
1280
|
total_add_on_price: string;
|
|
1092
|
-
add_ons:
|
|
1281
|
+
add_ons: {
|
|
1282
|
+
add_on_id: string;
|
|
1283
|
+
name: string;
|
|
1284
|
+
min_selections: number;
|
|
1285
|
+
max_selections: number;
|
|
1286
|
+
selected_options: string[];
|
|
1287
|
+
is_required: boolean;
|
|
1288
|
+
}[];
|
|
1093
1289
|
};
|
|
1094
|
-
add_on_options:
|
|
1095
|
-
|
|
1290
|
+
add_on_options: {
|
|
1291
|
+
id: string;
|
|
1292
|
+
name: string;
|
|
1293
|
+
is_required: boolean;
|
|
1294
|
+
description?: string | undefined;
|
|
1295
|
+
price?: string | undefined;
|
|
1296
|
+
image_url?: string | undefined;
|
|
1297
|
+
}[];
|
|
1298
|
+
add_ons: {
|
|
1299
|
+
id: string;
|
|
1300
|
+
name: string;
|
|
1301
|
+
is_multiple_allowed: boolean;
|
|
1302
|
+
min_selections: number;
|
|
1303
|
+
max_selections: number;
|
|
1304
|
+
required: boolean;
|
|
1305
|
+
options: {
|
|
1306
|
+
id: string;
|
|
1307
|
+
name: string;
|
|
1308
|
+
is_required: boolean;
|
|
1309
|
+
description?: string | undefined;
|
|
1310
|
+
price?: string | undefined;
|
|
1311
|
+
image_url?: string | undefined;
|
|
1312
|
+
}[];
|
|
1313
|
+
}[];
|
|
1096
1314
|
applied_discount_ids: string[];
|
|
1097
1315
|
created_at: string;
|
|
1098
1316
|
updated_at: string;
|
|
@@ -1105,7 +1323,9 @@ declare const assertCart: (value: unknown) => asserts value is {
|
|
|
1105
1323
|
variant_info?: {
|
|
1106
1324
|
id: string;
|
|
1107
1325
|
name: string;
|
|
1326
|
+
price: string;
|
|
1108
1327
|
price_adjustment: string;
|
|
1328
|
+
is_default: boolean;
|
|
1109
1329
|
sku?: string | undefined;
|
|
1110
1330
|
display_attributes?: {
|
|
1111
1331
|
axis_id: string;
|
|
@@ -1581,7 +1801,9 @@ declare const PUBLIC_SCHEMAS: {
|
|
|
1581
1801
|
id: z.ZodString;
|
|
1582
1802
|
name: z.ZodString;
|
|
1583
1803
|
sku: z.ZodOptional<z.ZodString>;
|
|
1804
|
+
price: z.ZodString;
|
|
1584
1805
|
price_adjustment: z.ZodString;
|
|
1806
|
+
is_default: z.ZodBoolean;
|
|
1585
1807
|
display_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1586
1808
|
axis_id: z.ZodString;
|
|
1587
1809
|
axis_name: z.ZodString;
|
|
@@ -1610,12 +1832,50 @@ declare const PUBLIC_SCHEMAS: {
|
|
|
1610
1832
|
add_on_option_ids: z.ZodArray<z.ZodString>;
|
|
1611
1833
|
add_on_ids: z.ZodArray<z.ZodString>;
|
|
1612
1834
|
add_on_details: z.ZodObject<{
|
|
1613
|
-
selected_options: z.ZodArray<z.
|
|
1835
|
+
selected_options: z.ZodArray<z.ZodObject<{
|
|
1836
|
+
option_id: z.ZodString;
|
|
1837
|
+
add_on_id: z.ZodString;
|
|
1838
|
+
name: z.ZodString;
|
|
1839
|
+
price: z.ZodString;
|
|
1840
|
+
quantity: z.ZodNumber;
|
|
1841
|
+
is_required: z.ZodBoolean;
|
|
1842
|
+
selected_at: z.ZodUnion<readonly [z.ZodISODateTime, z.ZodString]>;
|
|
1843
|
+
price_info: z.ZodOptional<z.ZodUnknown>;
|
|
1844
|
+
}, z.core.$strip>>;
|
|
1614
1845
|
total_add_on_price: z.ZodString;
|
|
1615
|
-
add_ons: z.ZodArray<z.
|
|
1846
|
+
add_ons: z.ZodArray<z.ZodObject<{
|
|
1847
|
+
add_on_id: z.ZodString;
|
|
1848
|
+
name: z.ZodString;
|
|
1849
|
+
min_selections: z.ZodNumber;
|
|
1850
|
+
max_selections: z.ZodNumber;
|
|
1851
|
+
selected_options: z.ZodArray<z.ZodString>;
|
|
1852
|
+
is_required: z.ZodBoolean;
|
|
1853
|
+
}, z.core.$strip>>;
|
|
1616
1854
|
}, z.core.$strip>;
|
|
1617
|
-
add_on_options: z.ZodArray<z.
|
|
1618
|
-
|
|
1855
|
+
add_on_options: z.ZodArray<z.ZodObject<{
|
|
1856
|
+
id: z.ZodString;
|
|
1857
|
+
name: z.ZodString;
|
|
1858
|
+
is_required: z.ZodBoolean;
|
|
1859
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1860
|
+
price: z.ZodOptional<z.ZodString>;
|
|
1861
|
+
image_url: z.ZodOptional<z.ZodString>;
|
|
1862
|
+
}, z.core.$strip>>;
|
|
1863
|
+
add_ons: z.ZodArray<z.ZodObject<{
|
|
1864
|
+
id: z.ZodString;
|
|
1865
|
+
name: z.ZodString;
|
|
1866
|
+
is_multiple_allowed: z.ZodBoolean;
|
|
1867
|
+
min_selections: z.ZodNumber;
|
|
1868
|
+
max_selections: z.ZodNumber;
|
|
1869
|
+
required: z.ZodBoolean;
|
|
1870
|
+
options: z.ZodArray<z.ZodObject<{
|
|
1871
|
+
id: z.ZodString;
|
|
1872
|
+
name: z.ZodString;
|
|
1873
|
+
is_required: z.ZodBoolean;
|
|
1874
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1875
|
+
price: z.ZodOptional<z.ZodString>;
|
|
1876
|
+
image_url: z.ZodOptional<z.ZodString>;
|
|
1877
|
+
}, z.core.$strip>>;
|
|
1878
|
+
}, z.core.$strip>>;
|
|
1619
1879
|
scheduled_start: z.ZodOptional<z.ZodString>;
|
|
1620
1880
|
scheduled_end: z.ZodOptional<z.ZodString>;
|
|
1621
1881
|
staff_id: z.ZodOptional<z.ZodString>;
|
|
@@ -1709,7 +1969,9 @@ declare const PUBLIC_SCHEMAS: {
|
|
|
1709
1969
|
id: z.ZodString;
|
|
1710
1970
|
name: z.ZodString;
|
|
1711
1971
|
sku: z.ZodOptional<z.ZodString>;
|
|
1972
|
+
price: z.ZodString;
|
|
1712
1973
|
price_adjustment: z.ZodString;
|
|
1974
|
+
is_default: z.ZodBoolean;
|
|
1713
1975
|
display_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1714
1976
|
axis_id: z.ZodString;
|
|
1715
1977
|
axis_name: z.ZodString;
|
|
@@ -1738,12 +2000,50 @@ declare const PUBLIC_SCHEMAS: {
|
|
|
1738
2000
|
add_on_option_ids: z.ZodArray<z.ZodString>;
|
|
1739
2001
|
add_on_ids: z.ZodArray<z.ZodString>;
|
|
1740
2002
|
add_on_details: z.ZodObject<{
|
|
1741
|
-
selected_options: z.ZodArray<z.
|
|
2003
|
+
selected_options: z.ZodArray<z.ZodObject<{
|
|
2004
|
+
option_id: z.ZodString;
|
|
2005
|
+
add_on_id: z.ZodString;
|
|
2006
|
+
name: z.ZodString;
|
|
2007
|
+
price: z.ZodString;
|
|
2008
|
+
quantity: z.ZodNumber;
|
|
2009
|
+
is_required: z.ZodBoolean;
|
|
2010
|
+
selected_at: z.ZodUnion<readonly [z.ZodISODateTime, z.ZodString]>;
|
|
2011
|
+
price_info: z.ZodOptional<z.ZodUnknown>;
|
|
2012
|
+
}, z.core.$strip>>;
|
|
1742
2013
|
total_add_on_price: z.ZodString;
|
|
1743
|
-
add_ons: z.ZodArray<z.
|
|
2014
|
+
add_ons: z.ZodArray<z.ZodObject<{
|
|
2015
|
+
add_on_id: z.ZodString;
|
|
2016
|
+
name: z.ZodString;
|
|
2017
|
+
min_selections: z.ZodNumber;
|
|
2018
|
+
max_selections: z.ZodNumber;
|
|
2019
|
+
selected_options: z.ZodArray<z.ZodString>;
|
|
2020
|
+
is_required: z.ZodBoolean;
|
|
2021
|
+
}, z.core.$strip>>;
|
|
1744
2022
|
}, z.core.$strip>;
|
|
1745
|
-
add_on_options: z.ZodArray<z.
|
|
1746
|
-
|
|
2023
|
+
add_on_options: z.ZodArray<z.ZodObject<{
|
|
2024
|
+
id: z.ZodString;
|
|
2025
|
+
name: z.ZodString;
|
|
2026
|
+
is_required: z.ZodBoolean;
|
|
2027
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2028
|
+
price: z.ZodOptional<z.ZodString>;
|
|
2029
|
+
image_url: z.ZodOptional<z.ZodString>;
|
|
2030
|
+
}, z.core.$strip>>;
|
|
2031
|
+
add_ons: z.ZodArray<z.ZodObject<{
|
|
2032
|
+
id: z.ZodString;
|
|
2033
|
+
name: z.ZodString;
|
|
2034
|
+
is_multiple_allowed: z.ZodBoolean;
|
|
2035
|
+
min_selections: z.ZodNumber;
|
|
2036
|
+
max_selections: z.ZodNumber;
|
|
2037
|
+
required: z.ZodBoolean;
|
|
2038
|
+
options: z.ZodArray<z.ZodObject<{
|
|
2039
|
+
id: z.ZodString;
|
|
2040
|
+
name: z.ZodString;
|
|
2041
|
+
is_required: z.ZodBoolean;
|
|
2042
|
+
description: z.ZodOptional<z.ZodString>;
|
|
2043
|
+
price: z.ZodOptional<z.ZodString>;
|
|
2044
|
+
image_url: z.ZodOptional<z.ZodString>;
|
|
2045
|
+
}, z.core.$strip>>;
|
|
2046
|
+
}, z.core.$strip>>;
|
|
1747
2047
|
scheduled_start: z.ZodOptional<z.ZodString>;
|
|
1748
2048
|
scheduled_end: z.ZodOptional<z.ZodString>;
|
|
1749
2049
|
staff_id: z.ZodOptional<z.ZodString>;
|
|
@@ -1855,7 +2155,9 @@ declare const PUBLIC_SCHEMAS: {
|
|
|
1855
2155
|
id: z.ZodString;
|
|
1856
2156
|
name: z.ZodString;
|
|
1857
2157
|
sku: z.ZodOptional<z.ZodString>;
|
|
2158
|
+
price: z.ZodString;
|
|
1858
2159
|
price_adjustment: z.ZodString;
|
|
2160
|
+
is_default: z.ZodBoolean;
|
|
1859
2161
|
display_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1860
2162
|
axis_id: z.ZodString;
|
|
1861
2163
|
axis_name: z.ZodString;
|
|
@@ -1882,4 +2184,4 @@ declare function listRegisteredSchemas(): Array<{
|
|
|
1882
2184
|
meta: CimplifySchemaMeta;
|
|
1883
2185
|
}>;
|
|
1884
2186
|
|
|
1885
|
-
export { type AddItemPayload, AddItemPayloadSchema, AddOnDetailsSchema, AuthorizationTypeSchema, type Brand, BrandContactSchema, BrandFaqSchema, BrandHeroSchema, BrandNavLinkSchema, BrandPolicyPageSchema, BrandPolicySectionSchema, BrandSchema, BrandSocialSchema, BundleResolvedSchema, BundleSelectionInputSchema, type Cart, type CartItem, CartItemSchema, CartPricingSchema, CartSchema, type CheckoutBody, CheckoutBodySchema, CheckoutCustomerSchema, type CheckoutResponse, CheckoutResponseSchema, ChosenPriceSchema, type CimplifySchemaMeta, CompositeResolvedSchema, CompositeSelectionInputSchema, CountryCodeSchema, CurrencyCodeSchema, CustomerInputValueSchema, DiscountDetailsSchema, IsoDateTimeSchema, LineTypeSchema, LocaleSchema, MoneyLooseSchema, MoneySchema, NextActionSchema, PhoneE164Schema, ProductTypeSchema, type PublicSchemaName, SchemaViolationError, SeedNameSchema, ServiceStatusSchema, TimestampSchema, VariantDetailsSchema, VariantDisplayAttributeSchema, VariantInfoSchema, assertAddItemPayload, assertBrand, assertCart, assertCartItem, assertCheckoutBody, assertCheckoutResponse, cimplifyRegistry, exportJsonSchemas, listRegisteredSchemas, makeAssertion, registerSchema };
|
|
2187
|
+
export { type AddItemPayload, AddItemPayloadSchema, AddOnDetailsSchema, AddOnGroupDetailsSchema, AddOnInDetailsSchema, AddOnOptionDetailsSchema, AuthorizationTypeSchema, type Brand, BrandContactSchema, BrandFaqSchema, BrandHeroSchema, BrandNavLinkSchema, BrandPolicyPageSchema, BrandPolicySectionSchema, BrandSchema, BrandSocialSchema, BundleResolvedSchema, BundleSelectionInputSchema, type Cart, type CartItem, CartItemSchema, CartPricingSchema, CartSchema, type CheckoutBody, CheckoutBodySchema, CheckoutCustomerSchema, type CheckoutResponse, CheckoutResponseSchema, ChosenPriceSchema, type CimplifySchemaMeta, CompositeResolvedSchema, CompositeSelectionInputSchema, CountryCodeSchema, CurrencyCodeSchema, CustomerInputValueSchema, DiscountDetailsSchema, IsoDateTimeSchema, LineTypeSchema, LocaleSchema, MoneyLooseSchema, MoneySchema, NextActionSchema, PhoneE164Schema, ProductTypeSchema, type PublicSchemaName, SchemaViolationError, SeedNameSchema, SelectedAddOnOptionSchema, ServiceStatusSchema, TimestampSchema, VariantDetailsSchema, VariantDisplayAttributeSchema, VariantInfoSchema, assertAddItemPayload, assertBrand, assertCart, assertCartItem, assertCheckoutBody, assertCheckoutResponse, cimplifyRegistry, exportJsonSchemas, listRegisteredSchemas, makeAssertion, registerSchema };
|