@_henriquewilson/gabirubi-domain 1.4.2 → 1.4.5
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/helper/constants.d.mts +1 -1
- package/dist/helper/constants.d.ts +1 -1
- package/dist/helper/constants.js +1 -1
- package/dist/helper/constants.js.map +1 -1
- package/dist/helper/constants.mjs +1 -1
- package/dist/helper/constants.mjs.map +1 -1
- package/dist/model/integrada/order.d.mts +58 -58
- package/dist/model/integrada/order.d.ts +58 -58
- package/dist/model/integrada/product.d.mts +14 -0
- package/dist/model/integrada/product.d.ts +14 -0
- package/dist/model/integrada/product.js +1 -0
- package/dist/model/integrada/product.js.map +1 -1
- package/dist/model/integrada/product.mjs +1 -0
- package/dist/model/integrada/product.mjs.map +1 -1
- package/dist/model/iugu/iugu-charge.d.mts +2 -2
- package/dist/model/iugu/iugu-charge.d.ts +2 -2
- package/dist/model/iugu/iugu-client.d.mts +12 -12
- package/dist/model/iugu/iugu-client.d.ts +12 -12
- package/dist/model/melhorenvio/calculate.d.mts +10 -10
- package/dist/model/melhorenvio/calculate.d.ts +10 -10
- package/dist/model/melhorenvio/order.d.mts +30 -30
- package/dist/model/melhorenvio/order.d.ts +30 -30
- package/dist/model/store/shipping.d.mts +16 -16
- package/dist/model/store/shipping.d.ts +16 -16
- package/dist/util/array.util.d.mts +5 -0
- package/dist/util/array.util.d.ts +5 -0
- package/dist/util/array.util.js +99 -0
- package/dist/util/array.util.js.map +1 -0
- package/dist/util/array.util.mjs +43 -0
- package/dist/util/array.util.mjs.map +1 -0
- package/package.json +1 -1
package/dist/helper/constants.js
CHANGED
|
@@ -56,7 +56,7 @@ __export(constants_exports, {
|
|
|
56
56
|
}
|
|
57
57
|
});
|
|
58
58
|
module.exports = __toCommonJS(constants_exports);
|
|
59
|
-
var CURRENT_JOURNEY = "
|
|
59
|
+
var CURRENT_JOURNEY = "journey_balance_avalon_2025";
|
|
60
60
|
var MINIMAL_COMPLETE_PERCENT = 80;
|
|
61
61
|
// Annotate the CommonJS export names for ESM import in node:
|
|
62
62
|
0 && (module.exports = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/Users/henriquewilson/Developer/Projects/gabirubi-domain/dist/helper/constants.js","../../src/helper/constants.ts"],"names":["__defProp","Object","defineProperty","__getOwnPropDesc","getOwnPropertyDescriptor","__getOwnPropNames","getOwnPropertyNames","__hasOwnProp","prototype","hasOwnProperty","__export","target","all","name","get","enumerable","__copyProps","to","from","except","desc","key","call","__toCommonJS","mod","value","constants_exports","CURRENT_JOURNEY","MINIMAL_COMPLETE_PERCENT","module","exports"],"mappings":"AAAA;AACA,IAAIA,YAAYC,OAAOC,cAAc;AACrC,IAAIC,mBAAmBF,OAAOG,wBAAwB;AACtD,IAAIC,oBAAoBJ,OAAOK,mBAAmB;AAClD,IAAIC,eAAeN,OAAOO,SAAS,CAACC,cAAc;AAClD,IAAIC,WAAW,SAACC,QAAQC;IACtB,IAAK,IAAIC,QAAQD,IACfZ,UAAUW,QAAQE,MAAM;QAAEC,KAAKF,GAAG,CAACC,KAAK;QAAEE,YAAY;IAAK;AAC/D;AACA,IAAIC,cAAc,SAACC,IAAIC,MAAMC,QAAQC;IACnC,IAAIF,QAAQ,OAAOA,SAAS,YAAY,OAAOA,SAAS,YAAY;YAC7D,kCAAA,2BAAA;;;gBAAA,IAAIG,MAAJ;gBACH,IAAI,CAACd,aAAae,IAAI,CAACL,IAAII,QAAQA,QAAQF,QACzCnB,UAAUiB,IAAII,KAAK;oBAAEP,KAAK;+BAAMI,IAAI,CAACG,IAAI;;oBAAEN,YAAY,CAAEK,CAAAA,OAAOjB,iBAAiBe,MAAMG,IAAG,KAAMD,KAAKL,UAAU;gBAAC;;YAFpH,QAAK,YAAWV,kBAAkBa,0BAA7B,SAAA,6BAAA,QAAA,yBAAA;;YAAA;YAAA;;;qBAAA,6BAAA;oBAAA;;;oBAAA;0BAAA;;;;IAGP;IACA,OAAOD;AACT;AACA,IAAIM,eAAe,SAACC;WAAQR,YAAYhB,UAAU,CAAC,GAAG,cAAc;QAAEyB,OAAO;IAAK,IAAID;;AAEtF,0BAA0B;ACnB1B,IAAAE,oBAAA,CAAA;AAAAhB,SAAAgB,mBAAA;IAAAC,iBAAA;eAAAA;;IAAAC,0BAAA;eAAAA;;AAAA;AAAAC,OAAAC,OAAA,GAAAP,aAAAG;AAAO,IAAMC,kBAAkB;AACxB,IAAMC,2BAA2B;AD2BxC,6DAA6D;AAC7D,KAAMC,CAAAA,OAAOC,OAAO,GAAG;IACrBH,iBAAAA;IACAC,0BAAAA;AACF,CAAA","sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/helper/constants.ts\nvar constants_exports = {};\n__export(constants_exports, {\n CURRENT_JOURNEY: () => CURRENT_JOURNEY,\n MINIMAL_COMPLETE_PERCENT: () => MINIMAL_COMPLETE_PERCENT\n});\nmodule.exports = __toCommonJS(constants_exports);\nvar CURRENT_JOURNEY = \"
|
|
1
|
+
{"version":3,"sources":["/Users/henriquewilson/Developer/Projects/gabirubi-domain/dist/helper/constants.js","../../src/helper/constants.ts"],"names":["__defProp","Object","defineProperty","__getOwnPropDesc","getOwnPropertyDescriptor","__getOwnPropNames","getOwnPropertyNames","__hasOwnProp","prototype","hasOwnProperty","__export","target","all","name","get","enumerable","__copyProps","to","from","except","desc","key","call","__toCommonJS","mod","value","constants_exports","CURRENT_JOURNEY","MINIMAL_COMPLETE_PERCENT","module","exports"],"mappings":"AAAA;AACA,IAAIA,YAAYC,OAAOC,cAAc;AACrC,IAAIC,mBAAmBF,OAAOG,wBAAwB;AACtD,IAAIC,oBAAoBJ,OAAOK,mBAAmB;AAClD,IAAIC,eAAeN,OAAOO,SAAS,CAACC,cAAc;AAClD,IAAIC,WAAW,SAACC,QAAQC;IACtB,IAAK,IAAIC,QAAQD,IACfZ,UAAUW,QAAQE,MAAM;QAAEC,KAAKF,GAAG,CAACC,KAAK;QAAEE,YAAY;IAAK;AAC/D;AACA,IAAIC,cAAc,SAACC,IAAIC,MAAMC,QAAQC;IACnC,IAAIF,QAAQ,OAAOA,SAAS,YAAY,OAAOA,SAAS,YAAY;YAC7D,kCAAA,2BAAA;;;gBAAA,IAAIG,MAAJ;gBACH,IAAI,CAACd,aAAae,IAAI,CAACL,IAAII,QAAQA,QAAQF,QACzCnB,UAAUiB,IAAII,KAAK;oBAAEP,KAAK;+BAAMI,IAAI,CAACG,IAAI;;oBAAEN,YAAY,CAAEK,CAAAA,OAAOjB,iBAAiBe,MAAMG,IAAG,KAAMD,KAAKL,UAAU;gBAAC;;YAFpH,QAAK,YAAWV,kBAAkBa,0BAA7B,SAAA,6BAAA,QAAA,yBAAA;;YAAA;YAAA;;;qBAAA,6BAAA;oBAAA;;;oBAAA;0BAAA;;;;IAGP;IACA,OAAOD;AACT;AACA,IAAIM,eAAe,SAACC;WAAQR,YAAYhB,UAAU,CAAC,GAAG,cAAc;QAAEyB,OAAO;IAAK,IAAID;;AAEtF,0BAA0B;ACnB1B,IAAAE,oBAAA,CAAA;AAAAhB,SAAAgB,mBAAA;IAAAC,iBAAA;eAAAA;;IAAAC,0BAAA;eAAAA;;AAAA;AAAAC,OAAAC,OAAA,GAAAP,aAAAG;AAAO,IAAMC,kBAAkB;AACxB,IAAMC,2BAA2B;AD2BxC,6DAA6D;AAC7D,KAAMC,CAAAA,OAAOC,OAAO,GAAG;IACrBH,iBAAAA;IACAC,0BAAAA;AACF,CAAA","sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\n\n// src/helper/constants.ts\nvar constants_exports = {};\n__export(constants_exports, {\n CURRENT_JOURNEY: () => CURRENT_JOURNEY,\n MINIMAL_COMPLETE_PERCENT: () => MINIMAL_COMPLETE_PERCENT\n});\nmodule.exports = __toCommonJS(constants_exports);\nvar CURRENT_JOURNEY = \"journey_balance_avalon_2025\";\nvar MINIMAL_COMPLETE_PERCENT = 80;\n// Annotate the CommonJS export names for ESM import in node:\n0 && (module.exports = {\n CURRENT_JOURNEY,\n MINIMAL_COMPLETE_PERCENT\n});\n","export const CURRENT_JOURNEY = 'journey_balance_avalon_2025'\nexport const MINIMAL_COMPLETE_PERCENT = 80\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["/Users/henriquewilson/Developer/Projects/gabirubi-domain/dist/helper/constants.mjs","../../src/helper/constants.ts"],"names":["CURRENT_JOURNEY","MINIMAL_COMPLETE_PERCENT"],"mappings":"AAAA,0BAA0B;ACAnB,IAAMA,kBAAkB;AACxB,IAAMC,2BAA2B;ADExC,SACED,eAAe,EACfC,wBAAwB,GACxB","sourcesContent":["// src/helper/constants.ts\nvar CURRENT_JOURNEY = \"
|
|
1
|
+
{"version":3,"sources":["/Users/henriquewilson/Developer/Projects/gabirubi-domain/dist/helper/constants.mjs","../../src/helper/constants.ts"],"names":["CURRENT_JOURNEY","MINIMAL_COMPLETE_PERCENT"],"mappings":"AAAA,0BAA0B;ACAnB,IAAMA,kBAAkB;AACxB,IAAMC,2BAA2B;ADExC,SACED,eAAe,EACfC,wBAAwB,GACxB","sourcesContent":["// src/helper/constants.ts\nvar CURRENT_JOURNEY = \"journey_balance_avalon_2025\";\nvar MINIMAL_COMPLETE_PERCENT = 80;\nexport {\n CURRENT_JOURNEY,\n MINIMAL_COMPLETE_PERCENT\n};\n","export const CURRENT_JOURNEY = 'journey_balance_avalon_2025'\nexport const MINIMAL_COMPLETE_PERCENT = 80\n"]}
|
|
@@ -14,9 +14,9 @@ declare const CustomerOrderSchema: z.ZodObject<{
|
|
|
14
14
|
telefone_principal: z.ZodString;
|
|
15
15
|
}, "strip", z.ZodTypeAny, {
|
|
16
16
|
id: number;
|
|
17
|
-
email: string;
|
|
18
17
|
nome: string;
|
|
19
18
|
cpf: string;
|
|
19
|
+
email: string;
|
|
20
20
|
resource_uri: string;
|
|
21
21
|
sexo: string;
|
|
22
22
|
telefone_celular: string;
|
|
@@ -26,9 +26,9 @@ declare const CustomerOrderSchema: z.ZodObject<{
|
|
|
26
26
|
razao_social?: any;
|
|
27
27
|
}, {
|
|
28
28
|
id: number;
|
|
29
|
-
email: string;
|
|
30
29
|
nome: string;
|
|
31
30
|
cpf: string;
|
|
31
|
+
email: string;
|
|
32
32
|
resource_uri: string;
|
|
33
33
|
sexo: string;
|
|
34
34
|
telefone_celular: string;
|
|
@@ -599,9 +599,9 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
599
599
|
telefone_principal: z.ZodString;
|
|
600
600
|
}, "strip", z.ZodTypeAny, {
|
|
601
601
|
id: number;
|
|
602
|
-
email: string;
|
|
603
602
|
nome: string;
|
|
604
603
|
cpf: string;
|
|
604
|
+
email: string;
|
|
605
605
|
resource_uri: string;
|
|
606
606
|
sexo: string;
|
|
607
607
|
telefone_celular: string;
|
|
@@ -611,9 +611,9 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
611
611
|
razao_social?: any;
|
|
612
612
|
}, {
|
|
613
613
|
id: number;
|
|
614
|
-
email: string;
|
|
615
614
|
nome: string;
|
|
616
615
|
cpf: string;
|
|
616
|
+
email: string;
|
|
617
617
|
resource_uri: string;
|
|
618
618
|
sexo: string;
|
|
619
619
|
telefone_celular: string;
|
|
@@ -1472,9 +1472,9 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1472
1472
|
height: number;
|
|
1473
1473
|
}>;
|
|
1474
1474
|
}, "strip", z.ZodTypeAny, {
|
|
1475
|
-
price: string;
|
|
1476
1475
|
weight: string;
|
|
1477
1476
|
insurance_value: string;
|
|
1477
|
+
price: string;
|
|
1478
1478
|
discount: string;
|
|
1479
1479
|
format: string;
|
|
1480
1480
|
products: {
|
|
@@ -1487,9 +1487,9 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1487
1487
|
height: number;
|
|
1488
1488
|
};
|
|
1489
1489
|
}, {
|
|
1490
|
-
price: string;
|
|
1491
1490
|
weight: string;
|
|
1492
1491
|
insurance_value: string;
|
|
1492
|
+
price: string;
|
|
1493
1493
|
discount: string;
|
|
1494
1494
|
format: string;
|
|
1495
1495
|
products: {
|
|
@@ -1551,17 +1551,17 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1551
1551
|
picture: string;
|
|
1552
1552
|
}>;
|
|
1553
1553
|
}, "strip", z.ZodTypeAny, {
|
|
1554
|
+
currency: string;
|
|
1554
1555
|
id: number;
|
|
1555
|
-
price: string;
|
|
1556
1556
|
name: string;
|
|
1557
1557
|
company: {
|
|
1558
1558
|
id: number;
|
|
1559
1559
|
name: string;
|
|
1560
1560
|
picture: string;
|
|
1561
1561
|
};
|
|
1562
|
+
price: string;
|
|
1562
1563
|
discount: string;
|
|
1563
1564
|
custom_price: string;
|
|
1564
|
-
currency: string;
|
|
1565
1565
|
delivery_time: number;
|
|
1566
1566
|
delivery_range: {
|
|
1567
1567
|
id: string | number;
|
|
@@ -1581,9 +1581,9 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1581
1581
|
order?: number | null | undefined;
|
|
1582
1582
|
};
|
|
1583
1583
|
packages: {
|
|
1584
|
-
price: string;
|
|
1585
1584
|
weight: string;
|
|
1586
1585
|
insurance_value: string;
|
|
1586
|
+
price: string;
|
|
1587
1587
|
discount: string;
|
|
1588
1588
|
format: string;
|
|
1589
1589
|
products: {
|
|
@@ -1609,17 +1609,17 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1609
1609
|
};
|
|
1610
1610
|
error?: string | undefined;
|
|
1611
1611
|
}, {
|
|
1612
|
+
currency: string;
|
|
1612
1613
|
id: number;
|
|
1613
|
-
price: string;
|
|
1614
1614
|
name: string;
|
|
1615
1615
|
company: {
|
|
1616
1616
|
id: number;
|
|
1617
1617
|
name: string;
|
|
1618
1618
|
picture: string;
|
|
1619
1619
|
};
|
|
1620
|
+
price: string;
|
|
1620
1621
|
discount: string;
|
|
1621
1622
|
custom_price: string;
|
|
1622
|
-
currency: string;
|
|
1623
1623
|
delivery_time: number;
|
|
1624
1624
|
delivery_range: {
|
|
1625
1625
|
min: number;
|
|
@@ -1639,9 +1639,9 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1639
1639
|
order?: number | null | undefined;
|
|
1640
1640
|
};
|
|
1641
1641
|
packages: {
|
|
1642
|
-
price: string;
|
|
1643
1642
|
weight: string;
|
|
1644
1643
|
insurance_value: string;
|
|
1644
|
+
price: string;
|
|
1645
1645
|
discount: string;
|
|
1646
1646
|
format: string;
|
|
1647
1647
|
products: {
|
|
@@ -1704,22 +1704,22 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1704
1704
|
}>>;
|
|
1705
1705
|
}>, "strip", z.ZodTypeAny, {
|
|
1706
1706
|
id: string | number;
|
|
1707
|
-
price: number;
|
|
1708
1707
|
company: string;
|
|
1708
|
+
price: number;
|
|
1709
1709
|
service: string;
|
|
1710
1710
|
deliveryTime: number;
|
|
1711
1711
|
original: {
|
|
1712
|
+
currency: string;
|
|
1712
1713
|
id: number;
|
|
1713
|
-
price: string;
|
|
1714
1714
|
name: string;
|
|
1715
1715
|
company: {
|
|
1716
1716
|
id: number;
|
|
1717
1717
|
name: string;
|
|
1718
1718
|
picture: string;
|
|
1719
1719
|
};
|
|
1720
|
+
price: string;
|
|
1720
1721
|
discount: string;
|
|
1721
1722
|
custom_price: string;
|
|
1722
|
-
currency: string;
|
|
1723
1723
|
delivery_time: number;
|
|
1724
1724
|
delivery_range: {
|
|
1725
1725
|
id: string | number;
|
|
@@ -1739,9 +1739,9 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1739
1739
|
order?: number | null | undefined;
|
|
1740
1740
|
};
|
|
1741
1741
|
packages: {
|
|
1742
|
-
price: string;
|
|
1743
1742
|
weight: string;
|
|
1744
1743
|
insurance_value: string;
|
|
1744
|
+
price: string;
|
|
1745
1745
|
discount: string;
|
|
1746
1746
|
format: string;
|
|
1747
1747
|
products: {
|
|
@@ -1850,22 +1850,22 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1850
1850
|
} | undefined;
|
|
1851
1851
|
}, {
|
|
1852
1852
|
id: string | number;
|
|
1853
|
-
price: number;
|
|
1854
1853
|
company: string;
|
|
1854
|
+
price: number;
|
|
1855
1855
|
service: string;
|
|
1856
1856
|
deliveryTime: number;
|
|
1857
1857
|
original: {
|
|
1858
|
+
currency: string;
|
|
1858
1859
|
id: number;
|
|
1859
|
-
price: string;
|
|
1860
1860
|
name: string;
|
|
1861
1861
|
company: {
|
|
1862
1862
|
id: number;
|
|
1863
1863
|
name: string;
|
|
1864
1864
|
picture: string;
|
|
1865
1865
|
};
|
|
1866
|
+
price: string;
|
|
1866
1867
|
discount: string;
|
|
1867
1868
|
custom_price: string;
|
|
1868
|
-
currency: string;
|
|
1869
1869
|
delivery_time: number;
|
|
1870
1870
|
delivery_range: {
|
|
1871
1871
|
min: number;
|
|
@@ -1885,9 +1885,9 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1885
1885
|
order?: number | null | undefined;
|
|
1886
1886
|
};
|
|
1887
1887
|
packages: {
|
|
1888
|
-
price: string;
|
|
1889
1888
|
weight: string;
|
|
1890
1889
|
insurance_value: string;
|
|
1890
|
+
price: string;
|
|
1891
1891
|
discount: string;
|
|
1892
1892
|
format: string;
|
|
1893
1893
|
products: {
|
|
@@ -2367,9 +2367,9 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2367
2367
|
height: number;
|
|
2368
2368
|
}>;
|
|
2369
2369
|
}, "strip", z.ZodTypeAny, {
|
|
2370
|
-
price: string;
|
|
2371
2370
|
weight: string;
|
|
2372
2371
|
insurance_value: string;
|
|
2372
|
+
price: string;
|
|
2373
2373
|
discount: string;
|
|
2374
2374
|
format: string;
|
|
2375
2375
|
products: {
|
|
@@ -2382,9 +2382,9 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2382
2382
|
height: number;
|
|
2383
2383
|
};
|
|
2384
2384
|
}, {
|
|
2385
|
-
price: string;
|
|
2386
2385
|
weight: string;
|
|
2387
2386
|
insurance_value: string;
|
|
2387
|
+
price: string;
|
|
2388
2388
|
discount: string;
|
|
2389
2389
|
format: string;
|
|
2390
2390
|
products: {
|
|
@@ -2446,17 +2446,17 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2446
2446
|
picture: string;
|
|
2447
2447
|
}>;
|
|
2448
2448
|
}, "strip", z.ZodTypeAny, {
|
|
2449
|
+
currency: string;
|
|
2449
2450
|
id: number;
|
|
2450
|
-
price: string;
|
|
2451
2451
|
name: string;
|
|
2452
2452
|
company: {
|
|
2453
2453
|
id: number;
|
|
2454
2454
|
name: string;
|
|
2455
2455
|
picture: string;
|
|
2456
2456
|
};
|
|
2457
|
+
price: string;
|
|
2457
2458
|
discount: string;
|
|
2458
2459
|
custom_price: string;
|
|
2459
|
-
currency: string;
|
|
2460
2460
|
delivery_time: number;
|
|
2461
2461
|
delivery_range: {
|
|
2462
2462
|
id: string | number;
|
|
@@ -2476,9 +2476,9 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2476
2476
|
order?: number | null | undefined;
|
|
2477
2477
|
};
|
|
2478
2478
|
packages: {
|
|
2479
|
-
price: string;
|
|
2480
2479
|
weight: string;
|
|
2481
2480
|
insurance_value: string;
|
|
2481
|
+
price: string;
|
|
2482
2482
|
discount: string;
|
|
2483
2483
|
format: string;
|
|
2484
2484
|
products: {
|
|
@@ -2504,17 +2504,17 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2504
2504
|
};
|
|
2505
2505
|
error?: string | undefined;
|
|
2506
2506
|
}, {
|
|
2507
|
+
currency: string;
|
|
2507
2508
|
id: number;
|
|
2508
|
-
price: string;
|
|
2509
2509
|
name: string;
|
|
2510
2510
|
company: {
|
|
2511
2511
|
id: number;
|
|
2512
2512
|
name: string;
|
|
2513
2513
|
picture: string;
|
|
2514
2514
|
};
|
|
2515
|
+
price: string;
|
|
2515
2516
|
discount: string;
|
|
2516
2517
|
custom_price: string;
|
|
2517
|
-
currency: string;
|
|
2518
2518
|
delivery_time: number;
|
|
2519
2519
|
delivery_range: {
|
|
2520
2520
|
min: number;
|
|
@@ -2534,9 +2534,9 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2534
2534
|
order?: number | null | undefined;
|
|
2535
2535
|
};
|
|
2536
2536
|
packages: {
|
|
2537
|
-
price: string;
|
|
2538
2537
|
weight: string;
|
|
2539
2538
|
insurance_value: string;
|
|
2539
|
+
price: string;
|
|
2540
2540
|
discount: string;
|
|
2541
2541
|
format: string;
|
|
2542
2542
|
products: {
|
|
@@ -2599,22 +2599,22 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2599
2599
|
}>>;
|
|
2600
2600
|
}>, "strip", z.ZodTypeAny, {
|
|
2601
2601
|
id: string | number;
|
|
2602
|
-
price: number;
|
|
2603
2602
|
company: string;
|
|
2603
|
+
price: number;
|
|
2604
2604
|
service: string;
|
|
2605
2605
|
deliveryTime: number;
|
|
2606
2606
|
original: {
|
|
2607
|
+
currency: string;
|
|
2607
2608
|
id: number;
|
|
2608
|
-
price: string;
|
|
2609
2609
|
name: string;
|
|
2610
2610
|
company: {
|
|
2611
2611
|
id: number;
|
|
2612
2612
|
name: string;
|
|
2613
2613
|
picture: string;
|
|
2614
2614
|
};
|
|
2615
|
+
price: string;
|
|
2615
2616
|
discount: string;
|
|
2616
2617
|
custom_price: string;
|
|
2617
|
-
currency: string;
|
|
2618
2618
|
delivery_time: number;
|
|
2619
2619
|
delivery_range: {
|
|
2620
2620
|
id: string | number;
|
|
@@ -2634,9 +2634,9 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2634
2634
|
order?: number | null | undefined;
|
|
2635
2635
|
};
|
|
2636
2636
|
packages: {
|
|
2637
|
-
price: string;
|
|
2638
2637
|
weight: string;
|
|
2639
2638
|
insurance_value: string;
|
|
2639
|
+
price: string;
|
|
2640
2640
|
discount: string;
|
|
2641
2641
|
format: string;
|
|
2642
2642
|
products: {
|
|
@@ -2745,22 +2745,22 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2745
2745
|
} | undefined;
|
|
2746
2746
|
}, {
|
|
2747
2747
|
id: string | number;
|
|
2748
|
-
price: number;
|
|
2749
2748
|
company: string;
|
|
2749
|
+
price: number;
|
|
2750
2750
|
service: string;
|
|
2751
2751
|
deliveryTime: number;
|
|
2752
2752
|
original: {
|
|
2753
|
+
currency: string;
|
|
2753
2754
|
id: number;
|
|
2754
|
-
price: string;
|
|
2755
2755
|
name: string;
|
|
2756
2756
|
company: {
|
|
2757
2757
|
id: number;
|
|
2758
2758
|
name: string;
|
|
2759
2759
|
picture: string;
|
|
2760
2760
|
};
|
|
2761
|
+
price: string;
|
|
2761
2762
|
discount: string;
|
|
2762
2763
|
custom_price: string;
|
|
2763
|
-
currency: string;
|
|
2764
2764
|
delivery_time: number;
|
|
2765
2765
|
delivery_range: {
|
|
2766
2766
|
min: number;
|
|
@@ -2780,9 +2780,9 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2780
2780
|
order?: number | null | undefined;
|
|
2781
2781
|
};
|
|
2782
2782
|
packages: {
|
|
2783
|
-
price: string;
|
|
2784
2783
|
weight: string;
|
|
2785
2784
|
insurance_value: string;
|
|
2785
|
+
price: string;
|
|
2786
2786
|
discount: string;
|
|
2787
2787
|
format: string;
|
|
2788
2788
|
products: {
|
|
@@ -2927,9 +2927,9 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2927
2927
|
data_modificacao: string;
|
|
2928
2928
|
cliente: {
|
|
2929
2929
|
id: number;
|
|
2930
|
-
email: string;
|
|
2931
2930
|
nome: string;
|
|
2932
2931
|
cpf: string;
|
|
2932
|
+
email: string;
|
|
2933
2933
|
resource_uri: string;
|
|
2934
2934
|
sexo: string;
|
|
2935
2935
|
telefone_celular: string;
|
|
@@ -3027,8 +3027,6 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3027
3027
|
createdAt?: FirebaseFirestore.Timestamp | null | undefined;
|
|
3028
3028
|
updatedAt?: FirebaseFirestore.Timestamp | null | undefined;
|
|
3029
3029
|
order?: number | null | undefined;
|
|
3030
|
-
warning?: string | undefined;
|
|
3031
|
-
tags?: string[] | undefined;
|
|
3032
3030
|
customShippingInfo?: {
|
|
3033
3031
|
length: number;
|
|
3034
3032
|
id: string | number;
|
|
@@ -3041,6 +3039,7 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3041
3039
|
name?: string | undefined;
|
|
3042
3040
|
insurance?: number | undefined;
|
|
3043
3041
|
} | undefined;
|
|
3042
|
+
tags?: string[] | undefined;
|
|
3044
3043
|
id_externo?: any;
|
|
3045
3044
|
cliente_obs?: any;
|
|
3046
3045
|
cupom_desconto?: {
|
|
@@ -3074,22 +3073,22 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3074
3073
|
utm_campaign?: any;
|
|
3075
3074
|
shippingCalculate?: {
|
|
3076
3075
|
id: string | number;
|
|
3077
|
-
price: number;
|
|
3078
3076
|
company: string;
|
|
3077
|
+
price: number;
|
|
3079
3078
|
service: string;
|
|
3080
3079
|
deliveryTime: number;
|
|
3081
3080
|
original: {
|
|
3081
|
+
currency: string;
|
|
3082
3082
|
id: number;
|
|
3083
|
-
price: string;
|
|
3084
3083
|
name: string;
|
|
3085
3084
|
company: {
|
|
3086
3085
|
id: number;
|
|
3087
3086
|
name: string;
|
|
3088
3087
|
picture: string;
|
|
3089
3088
|
};
|
|
3089
|
+
price: string;
|
|
3090
3090
|
discount: string;
|
|
3091
3091
|
custom_price: string;
|
|
3092
|
-
currency: string;
|
|
3093
3092
|
delivery_time: number;
|
|
3094
3093
|
delivery_range: {
|
|
3095
3094
|
id: string | number;
|
|
@@ -3109,9 +3108,9 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3109
3108
|
order?: number | null | undefined;
|
|
3110
3109
|
};
|
|
3111
3110
|
packages: {
|
|
3112
|
-
price: string;
|
|
3113
3111
|
weight: string;
|
|
3114
3112
|
insurance_value: string;
|
|
3113
|
+
price: string;
|
|
3115
3114
|
discount: string;
|
|
3116
3115
|
format: string;
|
|
3117
3116
|
products: {
|
|
@@ -3221,22 +3220,22 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3221
3220
|
} | undefined;
|
|
3222
3221
|
allShippingCalculates?: {
|
|
3223
3222
|
id: string | number;
|
|
3224
|
-
price: number;
|
|
3225
3223
|
company: string;
|
|
3224
|
+
price: number;
|
|
3226
3225
|
service: string;
|
|
3227
3226
|
deliveryTime: number;
|
|
3228
3227
|
original: {
|
|
3228
|
+
currency: string;
|
|
3229
3229
|
id: number;
|
|
3230
|
-
price: string;
|
|
3231
3230
|
name: string;
|
|
3232
3231
|
company: {
|
|
3233
3232
|
id: number;
|
|
3234
3233
|
name: string;
|
|
3235
3234
|
picture: string;
|
|
3236
3235
|
};
|
|
3236
|
+
price: string;
|
|
3237
3237
|
discount: string;
|
|
3238
3238
|
custom_price: string;
|
|
3239
|
-
currency: string;
|
|
3240
3239
|
delivery_time: number;
|
|
3241
3240
|
delivery_range: {
|
|
3242
3241
|
id: string | number;
|
|
@@ -3256,9 +3255,9 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3256
3255
|
order?: number | null | undefined;
|
|
3257
3256
|
};
|
|
3258
3257
|
packages: {
|
|
3259
|
-
price: string;
|
|
3260
3258
|
weight: string;
|
|
3261
3259
|
insurance_value: string;
|
|
3260
|
+
price: string;
|
|
3262
3261
|
discount: string;
|
|
3263
3262
|
format: string;
|
|
3264
3263
|
products: {
|
|
@@ -3366,6 +3365,7 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3366
3365
|
insurance?: number | undefined;
|
|
3367
3366
|
} | undefined;
|
|
3368
3367
|
}[] | undefined;
|
|
3368
|
+
warning?: string | undefined;
|
|
3369
3369
|
watching?: boolean | undefined;
|
|
3370
3370
|
useInApp?: Record<string, string[]> | undefined;
|
|
3371
3371
|
appObservations?: string | undefined;
|
|
@@ -3401,9 +3401,9 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3401
3401
|
data_modificacao: string;
|
|
3402
3402
|
cliente: {
|
|
3403
3403
|
id: number;
|
|
3404
|
-
email: string;
|
|
3405
3404
|
nome: string;
|
|
3406
3405
|
cpf: string;
|
|
3406
|
+
email: string;
|
|
3407
3407
|
resource_uri: string;
|
|
3408
3408
|
sexo: string;
|
|
3409
3409
|
telefone_celular: string;
|
|
@@ -3502,8 +3502,6 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3502
3502
|
createdAt?: unknown;
|
|
3503
3503
|
updatedAt?: unknown;
|
|
3504
3504
|
order?: number | null | undefined;
|
|
3505
|
-
warning?: string | undefined;
|
|
3506
|
-
tags?: string[] | undefined;
|
|
3507
3505
|
customShippingInfo?: {
|
|
3508
3506
|
length: number;
|
|
3509
3507
|
weight: number;
|
|
@@ -3516,6 +3514,7 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3516
3514
|
name?: string | undefined;
|
|
3517
3515
|
insurance?: number | undefined;
|
|
3518
3516
|
} | undefined;
|
|
3517
|
+
tags?: string[] | undefined;
|
|
3519
3518
|
id_externo?: any;
|
|
3520
3519
|
cliente_obs?: any;
|
|
3521
3520
|
cupom_desconto?: {
|
|
@@ -3549,22 +3548,22 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3549
3548
|
utm_campaign?: any;
|
|
3550
3549
|
shippingCalculate?: {
|
|
3551
3550
|
id: string | number;
|
|
3552
|
-
price: number;
|
|
3553
3551
|
company: string;
|
|
3552
|
+
price: number;
|
|
3554
3553
|
service: string;
|
|
3555
3554
|
deliveryTime: number;
|
|
3556
3555
|
original: {
|
|
3556
|
+
currency: string;
|
|
3557
3557
|
id: number;
|
|
3558
|
-
price: string;
|
|
3559
3558
|
name: string;
|
|
3560
3559
|
company: {
|
|
3561
3560
|
id: number;
|
|
3562
3561
|
name: string;
|
|
3563
3562
|
picture: string;
|
|
3564
3563
|
};
|
|
3564
|
+
price: string;
|
|
3565
3565
|
discount: string;
|
|
3566
3566
|
custom_price: string;
|
|
3567
|
-
currency: string;
|
|
3568
3567
|
delivery_time: number;
|
|
3569
3568
|
delivery_range: {
|
|
3570
3569
|
min: number;
|
|
@@ -3584,9 +3583,9 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3584
3583
|
order?: number | null | undefined;
|
|
3585
3584
|
};
|
|
3586
3585
|
packages: {
|
|
3587
|
-
price: string;
|
|
3588
3586
|
weight: string;
|
|
3589
3587
|
insurance_value: string;
|
|
3588
|
+
price: string;
|
|
3590
3589
|
discount: string;
|
|
3591
3590
|
format: string;
|
|
3592
3591
|
products: {
|
|
@@ -3696,22 +3695,22 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3696
3695
|
} | undefined;
|
|
3697
3696
|
allShippingCalculates?: {
|
|
3698
3697
|
id: string | number;
|
|
3699
|
-
price: number;
|
|
3700
3698
|
company: string;
|
|
3699
|
+
price: number;
|
|
3701
3700
|
service: string;
|
|
3702
3701
|
deliveryTime: number;
|
|
3703
3702
|
original: {
|
|
3703
|
+
currency: string;
|
|
3704
3704
|
id: number;
|
|
3705
|
-
price: string;
|
|
3706
3705
|
name: string;
|
|
3707
3706
|
company: {
|
|
3708
3707
|
id: number;
|
|
3709
3708
|
name: string;
|
|
3710
3709
|
picture: string;
|
|
3711
3710
|
};
|
|
3711
|
+
price: string;
|
|
3712
3712
|
discount: string;
|
|
3713
3713
|
custom_price: string;
|
|
3714
|
-
currency: string;
|
|
3715
3714
|
delivery_time: number;
|
|
3716
3715
|
delivery_range: {
|
|
3717
3716
|
min: number;
|
|
@@ -3731,9 +3730,9 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3731
3730
|
order?: number | null | undefined;
|
|
3732
3731
|
};
|
|
3733
3732
|
packages: {
|
|
3734
|
-
price: string;
|
|
3735
3733
|
weight: string;
|
|
3736
3734
|
insurance_value: string;
|
|
3735
|
+
price: string;
|
|
3737
3736
|
discount: string;
|
|
3738
3737
|
format: string;
|
|
3739
3738
|
products: {
|
|
@@ -3841,6 +3840,7 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3841
3840
|
insurance?: number | undefined;
|
|
3842
3841
|
} | undefined;
|
|
3843
3842
|
}[] | undefined;
|
|
3843
|
+
warning?: string | undefined;
|
|
3844
3844
|
watching?: boolean | undefined;
|
|
3845
3845
|
useInApp?: Record<string, string[]> | undefined;
|
|
3846
3846
|
appObservations?: string | undefined;
|