@fire-spark/types 0.13.1 → 0.13.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/dist/index.d.ts +58 -51
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1307,6 +1307,13 @@ type StorefrontPreferences = {
|
|
|
1307
1307
|
ios_store_url: string;
|
|
1308
1308
|
android_store_url: string;
|
|
1309
1309
|
};
|
|
1310
|
+
masivo: {
|
|
1311
|
+
coupons_enabled: boolean;
|
|
1312
|
+
loyalty_enabled: boolean;
|
|
1313
|
+
sync_registered_customers_enabled: boolean;
|
|
1314
|
+
sync_anonymous_customers_enabled: boolean;
|
|
1315
|
+
sync_anonymous_order_contacts_enabled: boolean;
|
|
1316
|
+
};
|
|
1310
1317
|
payments: {
|
|
1311
1318
|
mixed: {
|
|
1312
1319
|
max_methods: number;
|
|
@@ -1427,57 +1434,6 @@ type StorefrontMenu = {
|
|
|
1427
1434
|
tags: Record<string, string | number | boolean | (string | number | boolean)[]>;
|
|
1428
1435
|
metadata: Record<string, unknown>;
|
|
1429
1436
|
}[];
|
|
1430
|
-
categories: {
|
|
1431
|
-
id: string;
|
|
1432
|
-
name: Record<string, string>;
|
|
1433
|
-
description?: Record<string, string> | null | undefined;
|
|
1434
|
-
cms_template_id?: string | null | undefined;
|
|
1435
|
-
cms?: {
|
|
1436
|
-
id: string;
|
|
1437
|
-
merchant_id: string;
|
|
1438
|
-
env: string;
|
|
1439
|
-
name: string;
|
|
1440
|
-
fields: {
|
|
1441
|
-
name: string;
|
|
1442
|
-
type: "IMAGE" | "LIST" | "SELECT" | "TEXT";
|
|
1443
|
-
label?: Record<string, string> | null | undefined;
|
|
1444
|
-
required: boolean;
|
|
1445
|
-
placeholder?: string | null | undefined;
|
|
1446
|
-
options?: {
|
|
1447
|
-
label: string;
|
|
1448
|
-
value: string;
|
|
1449
|
-
}[] | null | undefined;
|
|
1450
|
-
altText?: string | null | undefined;
|
|
1451
|
-
src?: string | null | undefined;
|
|
1452
|
-
href?: string | null | undefined;
|
|
1453
|
-
}[];
|
|
1454
|
-
entity: "BRANDS" | "CATEGORIES" | "CHANNELS" | "MENUS" | "PRODUCTS" | "STORES";
|
|
1455
|
-
status: string;
|
|
1456
|
-
} | null | undefined;
|
|
1457
|
-
items: {
|
|
1458
|
-
type: "CATEGORY" | "PRODUCT";
|
|
1459
|
-
id: string;
|
|
1460
|
-
}[];
|
|
1461
|
-
availability: {
|
|
1462
|
-
schedules?: {
|
|
1463
|
-
day_of_week: "friday" | "monday" | "saturday" | "sunday" | "thursday" | "tuesday" | "wednesday";
|
|
1464
|
-
periods: {
|
|
1465
|
-
closed: boolean;
|
|
1466
|
-
start_time?: string | undefined;
|
|
1467
|
-
end_time?: string | undefined;
|
|
1468
|
-
start_date?: string | null | undefined;
|
|
1469
|
-
end_date?: string | null | undefined;
|
|
1470
|
-
}[];
|
|
1471
|
-
}[] | null | undefined;
|
|
1472
|
-
inactive_until?: string | null | undefined;
|
|
1473
|
-
status: "ACTIVE" | "HIDDEN" | "INACTIVE";
|
|
1474
|
-
};
|
|
1475
|
-
image_url: string | null;
|
|
1476
|
-
image_origin_url?: string | null | undefined;
|
|
1477
|
-
labels: string[];
|
|
1478
|
-
tags: Record<string, string | number | boolean | (string | number | boolean)[]>;
|
|
1479
|
-
metadata: Record<string, unknown>;
|
|
1480
|
-
}[];
|
|
1481
1437
|
modifier_groups: {
|
|
1482
1438
|
id: string;
|
|
1483
1439
|
title: Record<string, string>;
|
|
@@ -1552,6 +1508,57 @@ type StorefrontMenu = {
|
|
|
1552
1508
|
value?: unknown;
|
|
1553
1509
|
}[];
|
|
1554
1510
|
} | null | undefined;
|
|
1511
|
+
categories: {
|
|
1512
|
+
id: string;
|
|
1513
|
+
name: Record<string, string>;
|
|
1514
|
+
description?: Record<string, string> | null | undefined;
|
|
1515
|
+
cms_template_id?: string | null | undefined;
|
|
1516
|
+
cms?: {
|
|
1517
|
+
id: string;
|
|
1518
|
+
merchant_id: string;
|
|
1519
|
+
env: string;
|
|
1520
|
+
name: string;
|
|
1521
|
+
fields: {
|
|
1522
|
+
name: string;
|
|
1523
|
+
type: "IMAGE" | "LIST" | "SELECT" | "TEXT";
|
|
1524
|
+
label?: Record<string, string> | null | undefined;
|
|
1525
|
+
required: boolean;
|
|
1526
|
+
placeholder?: string | null | undefined;
|
|
1527
|
+
options?: {
|
|
1528
|
+
label: string;
|
|
1529
|
+
value: string;
|
|
1530
|
+
}[] | null | undefined;
|
|
1531
|
+
altText?: string | null | undefined;
|
|
1532
|
+
src?: string | null | undefined;
|
|
1533
|
+
href?: string | null | undefined;
|
|
1534
|
+
}[];
|
|
1535
|
+
entity: "BRANDS" | "CATEGORIES" | "CHANNELS" | "MENUS" | "PRODUCTS" | "STORES";
|
|
1536
|
+
status: string;
|
|
1537
|
+
} | null | undefined;
|
|
1538
|
+
availability: {
|
|
1539
|
+
schedules?: {
|
|
1540
|
+
day_of_week: "friday" | "monday" | "saturday" | "sunday" | "thursday" | "tuesday" | "wednesday";
|
|
1541
|
+
periods: {
|
|
1542
|
+
closed: boolean;
|
|
1543
|
+
start_time?: string | undefined;
|
|
1544
|
+
end_time?: string | undefined;
|
|
1545
|
+
start_date?: string | null | undefined;
|
|
1546
|
+
end_date?: string | null | undefined;
|
|
1547
|
+
}[];
|
|
1548
|
+
}[] | null | undefined;
|
|
1549
|
+
inactive_until?: string | null | undefined;
|
|
1550
|
+
status: "ACTIVE" | "HIDDEN" | "INACTIVE";
|
|
1551
|
+
};
|
|
1552
|
+
image_url: string | null;
|
|
1553
|
+
image_origin_url?: string | null | undefined;
|
|
1554
|
+
labels: string[];
|
|
1555
|
+
tags: Record<string, string | number | boolean | (string | number | boolean)[]>;
|
|
1556
|
+
metadata: Record<string, unknown>;
|
|
1557
|
+
items: {
|
|
1558
|
+
type: "CATEGORY" | "PRODUCT";
|
|
1559
|
+
id: string;
|
|
1560
|
+
}[];
|
|
1561
|
+
}[];
|
|
1555
1562
|
};
|
|
1556
1563
|
/** Query scope for storefront menu list. */
|
|
1557
1564
|
type StorefrontMenuScope = {
|