@ecomiq/core 0.1.8 → 0.1.9
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/{client-4ZTG2RZ3.d.ts → client-Ba1r_uiO.d.ts} +4 -4
- package/dist/{client-BpX4yR6S.d.cts → client-Cqcnv2tC.d.cts} +4 -4
- package/dist/client.cjs +72 -77
- package/dist/client.cjs.map +1 -1
- package/dist/client.d.cts +2 -2
- package/dist/client.d.ts +2 -2
- package/dist/client.js +72 -77
- package/dist/client.js.map +1 -1
- package/dist/index.cjs +73 -89
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +64 -54
- package/dist/index.d.ts +64 -54
- package/dist/index.js +73 -88
- package/dist/index.js.map +1 -1
- package/dist/models/collections.cjs +2 -4
- package/dist/models/collections.cjs.map +1 -1
- package/dist/models/collections.d.cts +2 -2
- package/dist/models/collections.d.ts +2 -2
- package/dist/models/collections.js +2 -4
- package/dist/models/collections.js.map +1 -1
- package/dist/models/customer-address.cjs +7 -1
- package/dist/models/customer-address.cjs.map +1 -1
- package/dist/models/customer-address.d.cts +4 -4
- package/dist/models/customer-address.d.ts +4 -4
- package/dist/models/customer-address.js +7 -1
- package/dist/models/customer-address.js.map +1 -1
- package/dist/models/customer-order.cjs +14 -8
- package/dist/models/customer-order.cjs.map +1 -1
- package/dist/models/customer-order.d.cts +1 -5
- package/dist/models/customer-order.d.ts +1 -5
- package/dist/models/customer-order.js +14 -8
- package/dist/models/customer-order.js.map +1 -1
- package/dist/models/customer-profile.cjs +8 -2
- package/dist/models/customer-profile.cjs.map +1 -1
- package/dist/models/customer-profile.d.cts +3 -3
- package/dist/models/customer-profile.d.ts +3 -3
- package/dist/models/customer-profile.js +8 -2
- package/dist/models/customer-profile.js.map +1 -1
- package/dist/models/geo.cjs +2 -4
- package/dist/models/geo.cjs.map +1 -1
- package/dist/models/geo.d.cts +14 -14
- package/dist/models/geo.d.ts +14 -14
- package/dist/models/geo.js +2 -4
- package/dist/models/geo.js.map +1 -1
- package/dist/models/ids.cjs +3 -4
- package/dist/models/ids.cjs.map +1 -1
- package/dist/models/ids.d.cts +8 -8
- package/dist/models/ids.d.ts +8 -8
- package/dist/models/ids.js +3 -5
- package/dist/models/ids.js.map +1 -1
- package/dist/models/products.cjs +12 -19
- package/dist/models/products.cjs.map +1 -1
- package/dist/models/products.d.cts +32 -33
- package/dist/models/products.d.ts +32 -33
- package/dist/models/products.js +13 -19
- package/dist/models/products.js.map +1 -1
- package/dist/models/search.cjs +3 -180
- package/dist/models/search.cjs.map +1 -1
- package/dist/models/search.d.cts +5 -5
- package/dist/models/search.d.ts +5 -5
- package/dist/models/search.js +3 -180
- package/dist/models/search.js.map +1 -1
- package/dist/models/settings.cjs +2 -4
- package/dist/models/settings.cjs.map +1 -1
- package/dist/models/settings.d.cts +63 -63
- package/dist/models/settings.d.ts +63 -63
- package/dist/models/settings.js +2 -4
- package/dist/models/settings.js.map +1 -1
- package/dist/models/storefront-cart.cjs +14 -26
- package/dist/models/storefront-cart.cjs.map +1 -1
- package/dist/models/storefront-cart.d.cts +100 -98
- package/dist/models/storefront-cart.d.ts +100 -98
- package/dist/models/storefront-cart.js +15 -26
- package/dist/models/storefront-cart.js.map +1 -1
- package/dist/models/storefront-checkout.cjs +26 -27
- package/dist/models/storefront-checkout.cjs.map +1 -1
- package/dist/models/storefront-checkout.d.cts +130 -120
- package/dist/models/storefront-checkout.d.ts +130 -120
- package/dist/models/storefront-checkout.js +26 -27
- package/dist/models/storefront-checkout.js.map +1 -1
- package/dist/models/storefront-reviews.cjs +8 -187
- package/dist/models/storefront-reviews.cjs.map +1 -1
- package/dist/models/storefront-reviews.d.cts +17 -17
- package/dist/models/storefront-reviews.d.ts +17 -17
- package/dist/models/storefront-reviews.js +8 -187
- package/dist/models/storefront-reviews.js.map +1 -1
- package/package.json +1 -1
|
@@ -290,9 +290,9 @@ declare const StoreCheckoutSettingsSchema: z.ZodObject<{
|
|
|
290
290
|
};
|
|
291
291
|
}>;
|
|
292
292
|
declare const StoreModelSchema: z.ZodObject<{
|
|
293
|
-
id: z.
|
|
294
|
-
tenantId: z.
|
|
295
|
-
sellerId: z.ZodNullable<z.
|
|
293
|
+
id: z.ZodString;
|
|
294
|
+
tenantId: z.ZodString;
|
|
295
|
+
sellerId: z.ZodNullable<z.ZodString>;
|
|
296
296
|
type: z.ZodEnum<["b2C", "marketplace", "retail", "b2B", "social", "hub", "restaurant"]>;
|
|
297
297
|
isActive: z.ZodBoolean;
|
|
298
298
|
name: z.ZodString;
|
|
@@ -969,7 +969,7 @@ declare const CmsMenuDtoSchema: z.ZodObject<{
|
|
|
969
969
|
}>;
|
|
970
970
|
type CmsMenuDto = z.infer<typeof CmsMenuDtoSchema>;
|
|
971
971
|
declare const CmsBlockDtoSchema: z.ZodObject<{
|
|
972
|
-
id: z.
|
|
972
|
+
id: z.ZodString;
|
|
973
973
|
type: z.ZodString;
|
|
974
974
|
order: z.ZodNumber;
|
|
975
975
|
settings: z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>;
|
|
@@ -986,12 +986,12 @@ declare const CmsBlockDtoSchema: z.ZodObject<{
|
|
|
986
986
|
}>;
|
|
987
987
|
type CmsBlockDto = z.infer<typeof CmsBlockDtoSchema>;
|
|
988
988
|
declare const CmsSectionDtoSchema: z.ZodObject<{
|
|
989
|
-
id: z.
|
|
989
|
+
id: z.ZodString;
|
|
990
990
|
type: z.ZodString;
|
|
991
991
|
order: z.ZodNumber;
|
|
992
992
|
settings: z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>;
|
|
993
993
|
blocks: z.ZodArray<z.ZodObject<{
|
|
994
|
-
id: z.
|
|
994
|
+
id: z.ZodString;
|
|
995
995
|
type: z.ZodString;
|
|
996
996
|
order: z.ZodNumber;
|
|
997
997
|
settings: z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>;
|
|
@@ -1033,7 +1033,7 @@ type CmsSectionDto = z.infer<typeof CmsSectionDtoSchema>;
|
|
|
1033
1033
|
declare const CmsContentChannelSchema: z.ZodEnum<["storefront", "pos"]>;
|
|
1034
1034
|
declare const CmsPageStatusSchema: z.ZodEnum<["draft", "published", "archived"]>;
|
|
1035
1035
|
declare const CmsPageDetailsDtoSchema: z.ZodObject<{
|
|
1036
|
-
id: z.
|
|
1036
|
+
id: z.ZodString;
|
|
1037
1037
|
name: z.ZodString;
|
|
1038
1038
|
slug: z.ZodString;
|
|
1039
1039
|
channel: z.ZodEnum<["storefront", "pos"]>;
|
|
@@ -1041,12 +1041,12 @@ declare const CmsPageDetailsDtoSchema: z.ZodObject<{
|
|
|
1041
1041
|
version: z.ZodNullable<z.ZodNumber>;
|
|
1042
1042
|
settings: z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>;
|
|
1043
1043
|
sections: z.ZodArray<z.ZodObject<{
|
|
1044
|
-
id: z.
|
|
1044
|
+
id: z.ZodString;
|
|
1045
1045
|
type: z.ZodString;
|
|
1046
1046
|
order: z.ZodNumber;
|
|
1047
1047
|
settings: z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>;
|
|
1048
1048
|
blocks: z.ZodArray<z.ZodObject<{
|
|
1049
|
-
id: z.
|
|
1049
|
+
id: z.ZodString;
|
|
1050
1050
|
type: z.ZodString;
|
|
1051
1051
|
order: z.ZodNumber;
|
|
1052
1052
|
settings: z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>;
|
|
@@ -1087,11 +1087,11 @@ declare const CmsPageDetailsDtoSchema: z.ZodObject<{
|
|
|
1087
1087
|
status: z.ZodEnum<["draft", "published", "archived"]>;
|
|
1088
1088
|
hasPublishedVersion: z.ZodBoolean;
|
|
1089
1089
|
publishedOn: z.ZodNullable<z.ZodString>;
|
|
1090
|
-
publishedBy: z.ZodNullable<z.
|
|
1090
|
+
publishedBy: z.ZodNullable<z.ZodString>;
|
|
1091
1091
|
createdOn: z.ZodString;
|
|
1092
1092
|
updatedOn: z.ZodNullable<z.ZodString>;
|
|
1093
|
-
createdBy: z.ZodNullable<z.
|
|
1094
|
-
updatedBy: z.ZodNullable<z.
|
|
1093
|
+
createdBy: z.ZodNullable<z.ZodString>;
|
|
1094
|
+
updatedBy: z.ZodNullable<z.ZodString>;
|
|
1095
1095
|
lastModifiedBy: z.ZodNullable<z.ZodString>;
|
|
1096
1096
|
}, "strict", z.ZodTypeAny, {
|
|
1097
1097
|
version: number | null;
|
|
@@ -1347,7 +1347,7 @@ declare const CmsSnapshotDtoSchema: z.ZodObject<{
|
|
|
1347
1347
|
};
|
|
1348
1348
|
}>;
|
|
1349
1349
|
pages: z.ZodArray<z.ZodObject<{
|
|
1350
|
-
id: z.
|
|
1350
|
+
id: z.ZodString;
|
|
1351
1351
|
name: z.ZodString;
|
|
1352
1352
|
slug: z.ZodString;
|
|
1353
1353
|
channel: z.ZodEnum<["storefront", "pos"]>;
|
|
@@ -1355,12 +1355,12 @@ declare const CmsSnapshotDtoSchema: z.ZodObject<{
|
|
|
1355
1355
|
version: z.ZodNullable<z.ZodNumber>;
|
|
1356
1356
|
settings: z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>;
|
|
1357
1357
|
sections: z.ZodArray<z.ZodObject<{
|
|
1358
|
-
id: z.
|
|
1358
|
+
id: z.ZodString;
|
|
1359
1359
|
type: z.ZodString;
|
|
1360
1360
|
order: z.ZodNumber;
|
|
1361
1361
|
settings: z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>;
|
|
1362
1362
|
blocks: z.ZodArray<z.ZodObject<{
|
|
1363
|
-
id: z.
|
|
1363
|
+
id: z.ZodString;
|
|
1364
1364
|
type: z.ZodString;
|
|
1365
1365
|
order: z.ZodNumber;
|
|
1366
1366
|
settings: z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>;
|
|
@@ -1401,11 +1401,11 @@ declare const CmsSnapshotDtoSchema: z.ZodObject<{
|
|
|
1401
1401
|
status: z.ZodEnum<["draft", "published", "archived"]>;
|
|
1402
1402
|
hasPublishedVersion: z.ZodBoolean;
|
|
1403
1403
|
publishedOn: z.ZodNullable<z.ZodString>;
|
|
1404
|
-
publishedBy: z.ZodNullable<z.
|
|
1404
|
+
publishedBy: z.ZodNullable<z.ZodString>;
|
|
1405
1405
|
createdOn: z.ZodString;
|
|
1406
1406
|
updatedOn: z.ZodNullable<z.ZodString>;
|
|
1407
|
-
createdBy: z.ZodNullable<z.
|
|
1408
|
-
updatedBy: z.ZodNullable<z.
|
|
1407
|
+
createdBy: z.ZodNullable<z.ZodString>;
|
|
1408
|
+
updatedBy: z.ZodNullable<z.ZodString>;
|
|
1409
1409
|
lastModifiedBy: z.ZodNullable<z.ZodString>;
|
|
1410
1410
|
}, "strict", z.ZodTypeAny, {
|
|
1411
1411
|
version: number | null;
|
|
@@ -1637,9 +1637,9 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
1637
1637
|
schemaVersion: z.ZodLiteral<1>;
|
|
1638
1638
|
generatedAt: z.ZodString;
|
|
1639
1639
|
store: z.ZodObject<{
|
|
1640
|
-
id: z.
|
|
1641
|
-
tenantId: z.
|
|
1642
|
-
sellerId: z.ZodNullable<z.
|
|
1640
|
+
id: z.ZodString;
|
|
1641
|
+
tenantId: z.ZodString;
|
|
1642
|
+
sellerId: z.ZodNullable<z.ZodString>;
|
|
1643
1643
|
type: z.ZodEnum<["b2C", "marketplace", "retail", "b2B", "social", "hub", "restaurant"]>;
|
|
1644
1644
|
isActive: z.ZodBoolean;
|
|
1645
1645
|
name: z.ZodString;
|
|
@@ -2164,7 +2164,7 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
2164
2164
|
};
|
|
2165
2165
|
}>;
|
|
2166
2166
|
pages: z.ZodArray<z.ZodObject<{
|
|
2167
|
-
id: z.
|
|
2167
|
+
id: z.ZodString;
|
|
2168
2168
|
name: z.ZodString;
|
|
2169
2169
|
slug: z.ZodString;
|
|
2170
2170
|
channel: z.ZodEnum<["storefront", "pos"]>;
|
|
@@ -2172,12 +2172,12 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
2172
2172
|
version: z.ZodNullable<z.ZodNumber>;
|
|
2173
2173
|
settings: z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>;
|
|
2174
2174
|
sections: z.ZodArray<z.ZodObject<{
|
|
2175
|
-
id: z.
|
|
2175
|
+
id: z.ZodString;
|
|
2176
2176
|
type: z.ZodString;
|
|
2177
2177
|
order: z.ZodNumber;
|
|
2178
2178
|
settings: z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>;
|
|
2179
2179
|
blocks: z.ZodArray<z.ZodObject<{
|
|
2180
|
-
id: z.
|
|
2180
|
+
id: z.ZodString;
|
|
2181
2181
|
type: z.ZodString;
|
|
2182
2182
|
order: z.ZodNumber;
|
|
2183
2183
|
settings: z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>;
|
|
@@ -2218,11 +2218,11 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
2218
2218
|
status: z.ZodEnum<["draft", "published", "archived"]>;
|
|
2219
2219
|
hasPublishedVersion: z.ZodBoolean;
|
|
2220
2220
|
publishedOn: z.ZodNullable<z.ZodString>;
|
|
2221
|
-
publishedBy: z.ZodNullable<z.
|
|
2221
|
+
publishedBy: z.ZodNullable<z.ZodString>;
|
|
2222
2222
|
createdOn: z.ZodString;
|
|
2223
2223
|
updatedOn: z.ZodNullable<z.ZodString>;
|
|
2224
|
-
createdBy: z.ZodNullable<z.
|
|
2225
|
-
updatedBy: z.ZodNullable<z.
|
|
2224
|
+
createdBy: z.ZodNullable<z.ZodString>;
|
|
2225
|
+
updatedBy: z.ZodNullable<z.ZodString>;
|
|
2226
2226
|
lastModifiedBy: z.ZodNullable<z.ZodString>;
|
|
2227
2227
|
}, "strict", z.ZodTypeAny, {
|
|
2228
2228
|
version: number | null;
|
|
@@ -2741,9 +2741,9 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
2741
2741
|
schemaVersion: z.ZodLiteral<2>;
|
|
2742
2742
|
generatedAt: z.ZodString;
|
|
2743
2743
|
store: z.ZodObject<{
|
|
2744
|
-
id: z.
|
|
2745
|
-
tenantId: z.
|
|
2746
|
-
sellerId: z.ZodNullable<z.
|
|
2744
|
+
id: z.ZodString;
|
|
2745
|
+
tenantId: z.ZodString;
|
|
2746
|
+
sellerId: z.ZodNullable<z.ZodString>;
|
|
2747
2747
|
type: z.ZodEnum<["b2C", "marketplace", "retail", "b2B", "social", "hub", "restaurant"]>;
|
|
2748
2748
|
isActive: z.ZodBoolean;
|
|
2749
2749
|
name: z.ZodString;
|
|
@@ -3268,7 +3268,7 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
3268
3268
|
};
|
|
3269
3269
|
}>;
|
|
3270
3270
|
pages: z.ZodArray<z.ZodObject<{
|
|
3271
|
-
id: z.
|
|
3271
|
+
id: z.ZodString;
|
|
3272
3272
|
name: z.ZodString;
|
|
3273
3273
|
slug: z.ZodString;
|
|
3274
3274
|
channel: z.ZodEnum<["storefront", "pos"]>;
|
|
@@ -3276,12 +3276,12 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
3276
3276
|
version: z.ZodNullable<z.ZodNumber>;
|
|
3277
3277
|
settings: z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>;
|
|
3278
3278
|
sections: z.ZodArray<z.ZodObject<{
|
|
3279
|
-
id: z.
|
|
3279
|
+
id: z.ZodString;
|
|
3280
3280
|
type: z.ZodString;
|
|
3281
3281
|
order: z.ZodNumber;
|
|
3282
3282
|
settings: z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>;
|
|
3283
3283
|
blocks: z.ZodArray<z.ZodObject<{
|
|
3284
|
-
id: z.
|
|
3284
|
+
id: z.ZodString;
|
|
3285
3285
|
type: z.ZodString;
|
|
3286
3286
|
order: z.ZodNumber;
|
|
3287
3287
|
settings: z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>;
|
|
@@ -3322,11 +3322,11 @@ declare const StoreSettingsSnapshotDtoSchema: z.ZodDiscriminatedUnion<"schemaVer
|
|
|
3322
3322
|
status: z.ZodEnum<["draft", "published", "archived"]>;
|
|
3323
3323
|
hasPublishedVersion: z.ZodBoolean;
|
|
3324
3324
|
publishedOn: z.ZodNullable<z.ZodString>;
|
|
3325
|
-
publishedBy: z.ZodNullable<z.
|
|
3325
|
+
publishedBy: z.ZodNullable<z.ZodString>;
|
|
3326
3326
|
createdOn: z.ZodString;
|
|
3327
3327
|
updatedOn: z.ZodNullable<z.ZodString>;
|
|
3328
|
-
createdBy: z.ZodNullable<z.
|
|
3329
|
-
updatedBy: z.ZodNullable<z.
|
|
3328
|
+
createdBy: z.ZodNullable<z.ZodString>;
|
|
3329
|
+
updatedBy: z.ZodNullable<z.ZodString>;
|
|
3330
3330
|
lastModifiedBy: z.ZodNullable<z.ZodString>;
|
|
3331
3331
|
}, "strict", z.ZodTypeAny, {
|
|
3332
3332
|
version: number | null;
|
|
@@ -4051,9 +4051,9 @@ declare const StorefrontThemeConfigSchema: z.ZodObject<{
|
|
|
4051
4051
|
}>;
|
|
4052
4052
|
declare const StorefrontStoreTypeSchema: z.ZodEnum<["b2C", "marketplace", "retail", "b2B", "social", "hub", "restaurant"]>;
|
|
4053
4053
|
declare const StorefrontStoreSchema: z.ZodObject<{
|
|
4054
|
-
id: z.
|
|
4055
|
-
tenantId: z.
|
|
4056
|
-
sellerId: z.ZodNullable<z.
|
|
4054
|
+
id: z.ZodString;
|
|
4055
|
+
tenantId: z.ZodString;
|
|
4056
|
+
sellerId: z.ZodNullable<z.ZodString>;
|
|
4057
4057
|
type: z.ZodEnum<["b2C", "marketplace", "retail", "b2B", "social", "hub", "restaurant"]>;
|
|
4058
4058
|
isActive: z.ZodBoolean;
|
|
4059
4059
|
name: z.ZodString;
|
|
@@ -4704,7 +4704,7 @@ declare const StorefrontMenuSchema: z.ZodObject<{
|
|
|
4704
4704
|
items: CmsMenuItem[];
|
|
4705
4705
|
}>;
|
|
4706
4706
|
declare const StorefrontCmsPageSchema: z.ZodObject<{
|
|
4707
|
-
id: z.
|
|
4707
|
+
id: z.ZodString;
|
|
4708
4708
|
name: z.ZodString;
|
|
4709
4709
|
slug: z.ZodString;
|
|
4710
4710
|
channel: z.ZodEnum<["storefront", "pos"]>;
|
|
@@ -4712,12 +4712,12 @@ declare const StorefrontCmsPageSchema: z.ZodObject<{
|
|
|
4712
4712
|
version: z.ZodNullable<z.ZodNumber>;
|
|
4713
4713
|
settings: z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>;
|
|
4714
4714
|
sections: z.ZodArray<z.ZodObject<{
|
|
4715
|
-
id: z.
|
|
4715
|
+
id: z.ZodString;
|
|
4716
4716
|
type: z.ZodString;
|
|
4717
4717
|
order: z.ZodNumber;
|
|
4718
4718
|
settings: z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>;
|
|
4719
4719
|
blocks: z.ZodArray<z.ZodObject<{
|
|
4720
|
-
id: z.
|
|
4720
|
+
id: z.ZodString;
|
|
4721
4721
|
type: z.ZodString;
|
|
4722
4722
|
order: z.ZodNumber;
|
|
4723
4723
|
settings: z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>;
|
|
@@ -4758,11 +4758,11 @@ declare const StorefrontCmsPageSchema: z.ZodObject<{
|
|
|
4758
4758
|
status: z.ZodEnum<["draft", "published", "archived"]>;
|
|
4759
4759
|
hasPublishedVersion: z.ZodBoolean;
|
|
4760
4760
|
publishedOn: z.ZodNullable<z.ZodString>;
|
|
4761
|
-
publishedBy: z.ZodNullable<z.
|
|
4761
|
+
publishedBy: z.ZodNullable<z.ZodString>;
|
|
4762
4762
|
createdOn: z.ZodString;
|
|
4763
4763
|
updatedOn: z.ZodNullable<z.ZodString>;
|
|
4764
|
-
createdBy: z.ZodNullable<z.
|
|
4765
|
-
updatedBy: z.ZodNullable<z.
|
|
4764
|
+
createdBy: z.ZodNullable<z.ZodString>;
|
|
4765
|
+
updatedBy: z.ZodNullable<z.ZodString>;
|
|
4766
4766
|
lastModifiedBy: z.ZodNullable<z.ZodString>;
|
|
4767
4767
|
}, "strict", z.ZodTypeAny, {
|
|
4768
4768
|
version: number | null;
|
|
@@ -4827,9 +4827,9 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
4827
4827
|
schemaVersion: z.ZodLiteral<1>;
|
|
4828
4828
|
generatedAt: z.ZodString;
|
|
4829
4829
|
store: z.ZodObject<{
|
|
4830
|
-
id: z.
|
|
4831
|
-
tenantId: z.
|
|
4832
|
-
sellerId: z.ZodNullable<z.
|
|
4830
|
+
id: z.ZodString;
|
|
4831
|
+
tenantId: z.ZodString;
|
|
4832
|
+
sellerId: z.ZodNullable<z.ZodString>;
|
|
4833
4833
|
type: z.ZodEnum<["b2C", "marketplace", "retail", "b2B", "social", "hub", "restaurant"]>;
|
|
4834
4834
|
isActive: z.ZodBoolean;
|
|
4835
4835
|
name: z.ZodString;
|
|
@@ -5354,7 +5354,7 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
5354
5354
|
};
|
|
5355
5355
|
}>;
|
|
5356
5356
|
pages: z.ZodArray<z.ZodObject<{
|
|
5357
|
-
id: z.
|
|
5357
|
+
id: z.ZodString;
|
|
5358
5358
|
name: z.ZodString;
|
|
5359
5359
|
slug: z.ZodString;
|
|
5360
5360
|
channel: z.ZodEnum<["storefront", "pos"]>;
|
|
@@ -5362,12 +5362,12 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
5362
5362
|
version: z.ZodNullable<z.ZodNumber>;
|
|
5363
5363
|
settings: z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>;
|
|
5364
5364
|
sections: z.ZodArray<z.ZodObject<{
|
|
5365
|
-
id: z.
|
|
5365
|
+
id: z.ZodString;
|
|
5366
5366
|
type: z.ZodString;
|
|
5367
5367
|
order: z.ZodNumber;
|
|
5368
5368
|
settings: z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>;
|
|
5369
5369
|
blocks: z.ZodArray<z.ZodObject<{
|
|
5370
|
-
id: z.
|
|
5370
|
+
id: z.ZodString;
|
|
5371
5371
|
type: z.ZodString;
|
|
5372
5372
|
order: z.ZodNumber;
|
|
5373
5373
|
settings: z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>;
|
|
@@ -5408,11 +5408,11 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
5408
5408
|
status: z.ZodEnum<["draft", "published", "archived"]>;
|
|
5409
5409
|
hasPublishedVersion: z.ZodBoolean;
|
|
5410
5410
|
publishedOn: z.ZodNullable<z.ZodString>;
|
|
5411
|
-
publishedBy: z.ZodNullable<z.
|
|
5411
|
+
publishedBy: z.ZodNullable<z.ZodString>;
|
|
5412
5412
|
createdOn: z.ZodString;
|
|
5413
5413
|
updatedOn: z.ZodNullable<z.ZodString>;
|
|
5414
|
-
createdBy: z.ZodNullable<z.
|
|
5415
|
-
updatedBy: z.ZodNullable<z.
|
|
5414
|
+
createdBy: z.ZodNullable<z.ZodString>;
|
|
5415
|
+
updatedBy: z.ZodNullable<z.ZodString>;
|
|
5416
5416
|
lastModifiedBy: z.ZodNullable<z.ZodString>;
|
|
5417
5417
|
}, "strict", z.ZodTypeAny, {
|
|
5418
5418
|
version: number | null;
|
|
@@ -5931,9 +5931,9 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
5931
5931
|
schemaVersion: z.ZodLiteral<2>;
|
|
5932
5932
|
generatedAt: z.ZodString;
|
|
5933
5933
|
store: z.ZodObject<{
|
|
5934
|
-
id: z.
|
|
5935
|
-
tenantId: z.
|
|
5936
|
-
sellerId: z.ZodNullable<z.
|
|
5934
|
+
id: z.ZodString;
|
|
5935
|
+
tenantId: z.ZodString;
|
|
5936
|
+
sellerId: z.ZodNullable<z.ZodString>;
|
|
5937
5937
|
type: z.ZodEnum<["b2C", "marketplace", "retail", "b2B", "social", "hub", "restaurant"]>;
|
|
5938
5938
|
isActive: z.ZodBoolean;
|
|
5939
5939
|
name: z.ZodString;
|
|
@@ -6458,7 +6458,7 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
6458
6458
|
};
|
|
6459
6459
|
}>;
|
|
6460
6460
|
pages: z.ZodArray<z.ZodObject<{
|
|
6461
|
-
id: z.
|
|
6461
|
+
id: z.ZodString;
|
|
6462
6462
|
name: z.ZodString;
|
|
6463
6463
|
slug: z.ZodString;
|
|
6464
6464
|
channel: z.ZodEnum<["storefront", "pos"]>;
|
|
@@ -6466,12 +6466,12 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
6466
6466
|
version: z.ZodNullable<z.ZodNumber>;
|
|
6467
6467
|
settings: z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>;
|
|
6468
6468
|
sections: z.ZodArray<z.ZodObject<{
|
|
6469
|
-
id: z.
|
|
6469
|
+
id: z.ZodString;
|
|
6470
6470
|
type: z.ZodString;
|
|
6471
6471
|
order: z.ZodNumber;
|
|
6472
6472
|
settings: z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>;
|
|
6473
6473
|
blocks: z.ZodArray<z.ZodObject<{
|
|
6474
|
-
id: z.
|
|
6474
|
+
id: z.ZodString;
|
|
6475
6475
|
type: z.ZodString;
|
|
6476
6476
|
order: z.ZodNumber;
|
|
6477
6477
|
settings: z.ZodType<JsonElement, z.ZodTypeDef, JsonElement>;
|
|
@@ -6512,11 +6512,11 @@ declare const StorefrontSettingsSchema: z.ZodDiscriminatedUnion<"schemaVersion",
|
|
|
6512
6512
|
status: z.ZodEnum<["draft", "published", "archived"]>;
|
|
6513
6513
|
hasPublishedVersion: z.ZodBoolean;
|
|
6514
6514
|
publishedOn: z.ZodNullable<z.ZodString>;
|
|
6515
|
-
publishedBy: z.ZodNullable<z.
|
|
6515
|
+
publishedBy: z.ZodNullable<z.ZodString>;
|
|
6516
6516
|
createdOn: z.ZodString;
|
|
6517
6517
|
updatedOn: z.ZodNullable<z.ZodString>;
|
|
6518
|
-
createdBy: z.ZodNullable<z.
|
|
6519
|
-
updatedBy: z.ZodNullable<z.
|
|
6518
|
+
createdBy: z.ZodNullable<z.ZodString>;
|
|
6519
|
+
updatedBy: z.ZodNullable<z.ZodString>;
|
|
6520
6520
|
lastModifiedBy: z.ZodNullable<z.ZodString>;
|
|
6521
6521
|
}, "strict", z.ZodTypeAny, {
|
|
6522
6522
|
version: number | null;
|