@_henriquewilson/gabirubi-domain 1.3.35 → 1.3.37
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/model/integrada/category.d.mts +6 -6
- package/dist/model/integrada/category.d.ts +6 -6
- package/dist/model/integrada/order.d.mts +24 -23
- package/dist/model/integrada/order.d.ts +24 -23
- package/dist/model/integrada/order.js +21 -16
- package/dist/model/integrada/order.js.map +1 -1
- package/dist/model/integrada/order.mjs +17 -16
- package/dist/model/integrada/order.mjs.map +1 -1
- package/dist/model/integrada/product.d.mts +503 -503
- package/dist/model/integrada/product.d.ts +503 -503
- package/dist/model/melhorenvio/calculate.d.mts +2 -2
- package/dist/model/melhorenvio/calculate.d.ts +2 -2
- package/dist/model/melhorenvio/order.d.mts +28 -28
- package/dist/model/melhorenvio/order.d.ts +28 -28
- package/dist/model/store/shipping.d.mts +4 -4
- package/dist/model/store/shipping.d.ts +4 -4
- package/dist/model/store/shipping.js +16 -15
- package/dist/model/store/shipping.js.map +1 -1
- package/dist/model/store/shipping.mjs +16 -15
- package/dist/model/store/shipping.mjs.map +1 -1
- package/dist/model/subscription.model.d.mts +4 -1
- package/dist/model/subscription.model.d.ts +4 -1
- package/dist/model/subscription.model.js +2 -1
- package/dist/model/subscription.model.js.map +1 -1
- package/dist/model/subscription.model.mjs +2 -1
- package/dist/model/subscription.model.mjs.map +1 -1
- package/dist/model/user.model.d.mts +3 -3
- package/dist/model/user.model.d.ts +3 -3
- package/dist/model/user.model.js +1 -1
- package/dist/model/user.model.js.map +1 -1
- package/dist/model/user.model.mjs +1 -1
- package/dist/model/user.model.mjs.map +1 -1
- package/dist/test/store.test.js +16 -15
- package/dist/test/store.test.js.map +1 -1
- package/dist/test/store.test.mjs +16 -15
- package/dist/test/store.test.mjs.map +1 -1
- package/dist/test/user.test.js +1 -1
- package/dist/test/user.test.js.map +1 -1
- package/dist/test/user.test.mjs +1 -1
- package/dist/test/user.test.mjs.map +1 -1
- package/package.json +1 -1
|
@@ -15,24 +15,24 @@ declare const CategorySchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
15
15
|
url: z.ZodString;
|
|
16
16
|
}>, "strip", z.ZodTypeAny, {
|
|
17
17
|
id: string | number;
|
|
18
|
+
resource_uri: string;
|
|
18
19
|
id_externo: number;
|
|
19
|
-
categoria_pai: string;
|
|
20
|
-
descricao: string;
|
|
21
20
|
nome: string;
|
|
22
|
-
resource_uri: string;
|
|
23
21
|
seo: string;
|
|
24
22
|
url: string;
|
|
23
|
+
categoria_pai: string;
|
|
24
|
+
descricao: string;
|
|
25
25
|
createdAt?: FirebaseFirestore.Timestamp | null | undefined;
|
|
26
26
|
updatedAt?: FirebaseFirestore.Timestamp | null | undefined;
|
|
27
27
|
order?: number | null | undefined;
|
|
28
28
|
}, {
|
|
29
|
+
resource_uri: string;
|
|
29
30
|
id_externo: number;
|
|
30
|
-
categoria_pai: string;
|
|
31
|
-
descricao: string;
|
|
32
31
|
nome: string;
|
|
33
|
-
resource_uri: string;
|
|
34
32
|
seo: string;
|
|
35
33
|
url: string;
|
|
34
|
+
categoria_pai: string;
|
|
35
|
+
descricao: string;
|
|
36
36
|
id?: unknown;
|
|
37
37
|
createdAt?: unknown;
|
|
38
38
|
updatedAt?: unknown;
|
|
@@ -15,24 +15,24 @@ declare const CategorySchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
15
15
|
url: z.ZodString;
|
|
16
16
|
}>, "strip", z.ZodTypeAny, {
|
|
17
17
|
id: string | number;
|
|
18
|
+
resource_uri: string;
|
|
18
19
|
id_externo: number;
|
|
19
|
-
categoria_pai: string;
|
|
20
|
-
descricao: string;
|
|
21
20
|
nome: string;
|
|
22
|
-
resource_uri: string;
|
|
23
21
|
seo: string;
|
|
24
22
|
url: string;
|
|
23
|
+
categoria_pai: string;
|
|
24
|
+
descricao: string;
|
|
25
25
|
createdAt?: FirebaseFirestore.Timestamp | null | undefined;
|
|
26
26
|
updatedAt?: FirebaseFirestore.Timestamp | null | undefined;
|
|
27
27
|
order?: number | null | undefined;
|
|
28
28
|
}, {
|
|
29
|
+
resource_uri: string;
|
|
29
30
|
id_externo: number;
|
|
30
|
-
categoria_pai: string;
|
|
31
|
-
descricao: string;
|
|
32
31
|
nome: string;
|
|
33
|
-
resource_uri: string;
|
|
34
32
|
seo: string;
|
|
35
33
|
url: string;
|
|
34
|
+
categoria_pai: string;
|
|
35
|
+
descricao: string;
|
|
36
36
|
id?: unknown;
|
|
37
37
|
createdAt?: unknown;
|
|
38
38
|
updatedAt?: unknown;
|
|
@@ -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;
|
|
@@ -128,6 +128,7 @@ declare const ParcelamentoSchema: z.ZodObject<{
|
|
|
128
128
|
numero_parcelas: number;
|
|
129
129
|
valor_parcela: number;
|
|
130
130
|
}>;
|
|
131
|
+
declare const situcaoCodigo: z.ZodEnum<["aguardando_pagamento", "em_producao", "pagamento_devolvido", "pagamento_em_analise", "pedido_chargeback", "pagamento_em_disputa", "pedido_cancelado", "pedido_efetuado", "pedido_em_separacao", "pedido_entregue", "pedido_enviado", "pedido_pago", "pronto_para_retirada"]>;
|
|
131
132
|
declare const SituacaoSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
132
133
|
id: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, string | number, unknown>;
|
|
133
134
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodType<FirebaseFirestore.Timestamp, z.ZodTypeDef, FirebaseFirestore.Timestamp>, FirebaseFirestore.Timestamp, unknown>>>>;
|
|
@@ -525,9 +526,9 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
525
526
|
telefone_principal: z.ZodString;
|
|
526
527
|
}, "strip", z.ZodTypeAny, {
|
|
527
528
|
id: number;
|
|
528
|
-
email: string;
|
|
529
529
|
nome: string;
|
|
530
530
|
cpf: string;
|
|
531
|
+
email: string;
|
|
531
532
|
resource_uri: string;
|
|
532
533
|
sexo: string;
|
|
533
534
|
telefone_celular: string;
|
|
@@ -537,9 +538,9 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
537
538
|
razao_social?: any;
|
|
538
539
|
}, {
|
|
539
540
|
id: number;
|
|
540
|
-
email: string;
|
|
541
541
|
nome: string;
|
|
542
542
|
cpf: string;
|
|
543
|
+
email: string;
|
|
543
544
|
resource_uri: string;
|
|
544
545
|
sexo: string;
|
|
545
546
|
telefone_celular: string;
|
|
@@ -1405,6 +1406,7 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1405
1406
|
picture: string;
|
|
1406
1407
|
}>;
|
|
1407
1408
|
}, "strip", z.ZodTypeAny, {
|
|
1409
|
+
currency: string;
|
|
1408
1410
|
id: number;
|
|
1409
1411
|
name: string;
|
|
1410
1412
|
company: {
|
|
@@ -1415,7 +1417,6 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1415
1417
|
price: string;
|
|
1416
1418
|
discount: string;
|
|
1417
1419
|
custom_price: string;
|
|
1418
|
-
currency: string;
|
|
1419
1420
|
delivery_time: number;
|
|
1420
1421
|
delivery_range: {
|
|
1421
1422
|
id: string | number;
|
|
@@ -1463,6 +1464,7 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1463
1464
|
};
|
|
1464
1465
|
error?: string | undefined;
|
|
1465
1466
|
}, {
|
|
1467
|
+
currency: string;
|
|
1466
1468
|
id: number;
|
|
1467
1469
|
name: string;
|
|
1468
1470
|
company: {
|
|
@@ -1473,7 +1475,6 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1473
1475
|
price: string;
|
|
1474
1476
|
discount: string;
|
|
1475
1477
|
custom_price: string;
|
|
1476
|
-
currency: string;
|
|
1477
1478
|
delivery_time: number;
|
|
1478
1479
|
delivery_range: {
|
|
1479
1480
|
min: number;
|
|
@@ -1563,6 +1564,7 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1563
1564
|
service: string;
|
|
1564
1565
|
deliveryTime: number;
|
|
1565
1566
|
original: {
|
|
1567
|
+
currency: string;
|
|
1566
1568
|
id: number;
|
|
1567
1569
|
name: string;
|
|
1568
1570
|
company: {
|
|
@@ -1573,7 +1575,6 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1573
1575
|
price: string;
|
|
1574
1576
|
discount: string;
|
|
1575
1577
|
custom_price: string;
|
|
1576
|
-
currency: string;
|
|
1577
1578
|
delivery_time: number;
|
|
1578
1579
|
delivery_range: {
|
|
1579
1580
|
id: string | number;
|
|
@@ -1709,6 +1710,7 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1709
1710
|
service: string;
|
|
1710
1711
|
deliveryTime: number;
|
|
1711
1712
|
original: {
|
|
1713
|
+
currency: string;
|
|
1712
1714
|
id: number;
|
|
1713
1715
|
name: string;
|
|
1714
1716
|
company: {
|
|
@@ -1719,7 +1721,6 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1719
1721
|
price: string;
|
|
1720
1722
|
discount: string;
|
|
1721
1723
|
custom_price: string;
|
|
1722
|
-
currency: string;
|
|
1723
1724
|
delivery_time: number;
|
|
1724
1725
|
delivery_range: {
|
|
1725
1726
|
min: number;
|
|
@@ -2300,6 +2301,7 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2300
2301
|
picture: string;
|
|
2301
2302
|
}>;
|
|
2302
2303
|
}, "strip", z.ZodTypeAny, {
|
|
2304
|
+
currency: string;
|
|
2303
2305
|
id: number;
|
|
2304
2306
|
name: string;
|
|
2305
2307
|
company: {
|
|
@@ -2310,7 +2312,6 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2310
2312
|
price: string;
|
|
2311
2313
|
discount: string;
|
|
2312
2314
|
custom_price: string;
|
|
2313
|
-
currency: string;
|
|
2314
2315
|
delivery_time: number;
|
|
2315
2316
|
delivery_range: {
|
|
2316
2317
|
id: string | number;
|
|
@@ -2358,6 +2359,7 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2358
2359
|
};
|
|
2359
2360
|
error?: string | undefined;
|
|
2360
2361
|
}, {
|
|
2362
|
+
currency: string;
|
|
2361
2363
|
id: number;
|
|
2362
2364
|
name: string;
|
|
2363
2365
|
company: {
|
|
@@ -2368,7 +2370,6 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2368
2370
|
price: string;
|
|
2369
2371
|
discount: string;
|
|
2370
2372
|
custom_price: string;
|
|
2371
|
-
currency: string;
|
|
2372
2373
|
delivery_time: number;
|
|
2373
2374
|
delivery_range: {
|
|
2374
2375
|
min: number;
|
|
@@ -2458,6 +2459,7 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2458
2459
|
service: string;
|
|
2459
2460
|
deliveryTime: number;
|
|
2460
2461
|
original: {
|
|
2462
|
+
currency: string;
|
|
2461
2463
|
id: number;
|
|
2462
2464
|
name: string;
|
|
2463
2465
|
company: {
|
|
@@ -2468,7 +2470,6 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2468
2470
|
price: string;
|
|
2469
2471
|
discount: string;
|
|
2470
2472
|
custom_price: string;
|
|
2471
|
-
currency: string;
|
|
2472
2473
|
delivery_time: number;
|
|
2473
2474
|
delivery_range: {
|
|
2474
2475
|
id: string | number;
|
|
@@ -2604,6 +2605,7 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2604
2605
|
service: string;
|
|
2605
2606
|
deliveryTime: number;
|
|
2606
2607
|
original: {
|
|
2608
|
+
currency: string;
|
|
2607
2609
|
id: number;
|
|
2608
2610
|
name: string;
|
|
2609
2611
|
company: {
|
|
@@ -2614,7 +2616,6 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2614
2616
|
price: string;
|
|
2615
2617
|
discount: string;
|
|
2616
2618
|
custom_price: string;
|
|
2617
|
-
currency: string;
|
|
2618
2619
|
delivery_time: number;
|
|
2619
2620
|
delivery_range: {
|
|
2620
2621
|
min: number;
|
|
@@ -2780,9 +2781,9 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2780
2781
|
data_modificacao: string;
|
|
2781
2782
|
cliente: {
|
|
2782
2783
|
id: number;
|
|
2783
|
-
email: string;
|
|
2784
2784
|
nome: string;
|
|
2785
2785
|
cpf: string;
|
|
2786
|
+
email: string;
|
|
2786
2787
|
resource_uri: string;
|
|
2787
2788
|
sexo: string;
|
|
2788
2789
|
telefone_celular: string;
|
|
@@ -2880,8 +2881,6 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2880
2881
|
createdAt?: FirebaseFirestore.Timestamp | null | undefined;
|
|
2881
2882
|
updatedAt?: FirebaseFirestore.Timestamp | null | undefined;
|
|
2882
2883
|
order?: number | null | undefined;
|
|
2883
|
-
warning?: string | undefined;
|
|
2884
|
-
tags?: string[] | undefined;
|
|
2885
2884
|
customShippingInfo?: {
|
|
2886
2885
|
length: number;
|
|
2887
2886
|
id: string | number;
|
|
@@ -2894,6 +2893,7 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2894
2893
|
name?: string | undefined;
|
|
2895
2894
|
insurance?: number | undefined;
|
|
2896
2895
|
} | undefined;
|
|
2896
|
+
tags?: string[] | undefined;
|
|
2897
2897
|
cliente_obs?: any;
|
|
2898
2898
|
cupom_desconto?: any;
|
|
2899
2899
|
id_anymarket?: any;
|
|
@@ -2908,6 +2908,7 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2908
2908
|
service: string;
|
|
2909
2909
|
deliveryTime: number;
|
|
2910
2910
|
original: {
|
|
2911
|
+
currency: string;
|
|
2911
2912
|
id: number;
|
|
2912
2913
|
name: string;
|
|
2913
2914
|
company: {
|
|
@@ -2918,7 +2919,6 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2918
2919
|
price: string;
|
|
2919
2920
|
discount: string;
|
|
2920
2921
|
custom_price: string;
|
|
2921
|
-
currency: string;
|
|
2922
2922
|
delivery_time: number;
|
|
2923
2923
|
delivery_range: {
|
|
2924
2924
|
id: string | number;
|
|
@@ -3055,6 +3055,7 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3055
3055
|
service: string;
|
|
3056
3056
|
deliveryTime: number;
|
|
3057
3057
|
original: {
|
|
3058
|
+
currency: string;
|
|
3058
3059
|
id: number;
|
|
3059
3060
|
name: string;
|
|
3060
3061
|
company: {
|
|
@@ -3065,7 +3066,6 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3065
3066
|
price: string;
|
|
3066
3067
|
discount: string;
|
|
3067
3068
|
custom_price: string;
|
|
3068
|
-
currency: string;
|
|
3069
3069
|
delivery_time: number;
|
|
3070
3070
|
delivery_range: {
|
|
3071
3071
|
id: string | number;
|
|
@@ -3195,6 +3195,7 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3195
3195
|
insurance?: number | undefined;
|
|
3196
3196
|
} | undefined;
|
|
3197
3197
|
}[] | undefined;
|
|
3198
|
+
warning?: string | undefined;
|
|
3198
3199
|
watching?: boolean | undefined;
|
|
3199
3200
|
useInApp?: Record<string, string[]> | undefined;
|
|
3200
3201
|
}, {
|
|
@@ -3229,9 +3230,9 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3229
3230
|
data_modificacao: string;
|
|
3230
3231
|
cliente: {
|
|
3231
3232
|
id: number;
|
|
3232
|
-
email: string;
|
|
3233
3233
|
nome: string;
|
|
3234
3234
|
cpf: string;
|
|
3235
|
+
email: string;
|
|
3235
3236
|
resource_uri: string;
|
|
3236
3237
|
sexo: string;
|
|
3237
3238
|
telefone_celular: string;
|
|
@@ -3330,8 +3331,6 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3330
3331
|
createdAt?: unknown;
|
|
3331
3332
|
updatedAt?: unknown;
|
|
3332
3333
|
order?: number | null | undefined;
|
|
3333
|
-
warning?: string | undefined;
|
|
3334
|
-
tags?: string[] | undefined;
|
|
3335
3334
|
customShippingInfo?: {
|
|
3336
3335
|
length: number;
|
|
3337
3336
|
weight: number;
|
|
@@ -3344,6 +3343,7 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3344
3343
|
name?: string | undefined;
|
|
3345
3344
|
insurance?: number | undefined;
|
|
3346
3345
|
} | undefined;
|
|
3346
|
+
tags?: string[] | undefined;
|
|
3347
3347
|
cliente_obs?: any;
|
|
3348
3348
|
cupom_desconto?: any;
|
|
3349
3349
|
id_anymarket?: any;
|
|
@@ -3358,6 +3358,7 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3358
3358
|
service: string;
|
|
3359
3359
|
deliveryTime: number;
|
|
3360
3360
|
original: {
|
|
3361
|
+
currency: string;
|
|
3361
3362
|
id: number;
|
|
3362
3363
|
name: string;
|
|
3363
3364
|
company: {
|
|
@@ -3368,7 +3369,6 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3368
3369
|
price: string;
|
|
3369
3370
|
discount: string;
|
|
3370
3371
|
custom_price: string;
|
|
3371
|
-
currency: string;
|
|
3372
3372
|
delivery_time: number;
|
|
3373
3373
|
delivery_range: {
|
|
3374
3374
|
min: number;
|
|
@@ -3505,6 +3505,7 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3505
3505
|
service: string;
|
|
3506
3506
|
deliveryTime: number;
|
|
3507
3507
|
original: {
|
|
3508
|
+
currency: string;
|
|
3508
3509
|
id: number;
|
|
3509
3510
|
name: string;
|
|
3510
3511
|
company: {
|
|
@@ -3515,7 +3516,6 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3515
3516
|
price: string;
|
|
3516
3517
|
discount: string;
|
|
3517
3518
|
custom_price: string;
|
|
3518
|
-
currency: string;
|
|
3519
3519
|
delivery_time: number;
|
|
3520
3520
|
delivery_range: {
|
|
3521
3521
|
min: number;
|
|
@@ -3645,6 +3645,7 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3645
3645
|
insurance?: number | undefined;
|
|
3646
3646
|
} | undefined;
|
|
3647
3647
|
}[] | undefined;
|
|
3648
|
+
warning?: string | undefined;
|
|
3648
3649
|
watching?: boolean | undefined;
|
|
3649
3650
|
useInApp?: Record<string, string[]> | undefined;
|
|
3650
3651
|
}>;
|
|
@@ -3655,4 +3656,4 @@ type OrderStatus = z.infer<typeof SituacaoSchema>;
|
|
|
3655
3656
|
type AddressShipping = z.infer<typeof EnderecoEntregaSchema>;
|
|
3656
3657
|
type CustomerOrder = z.infer<typeof CustomerOrderSchema>;
|
|
3657
3658
|
|
|
3658
|
-
export { type AddressShipping, ConfiguracoesSchema, type CustomShippingInfo, CustomShippingInfoSchema, type CustomerOrder, CustomerOrderSchema, EnderecoEntregaSchema, EnvioSchema, FormaEnvioSchema, type Item, ItemSchema, type Order, OrderSchema, type OrderStatus, ParcelamentoSchema, SituacaoSchema, VariacaoSchema, formaPagamentoSchema, pagamentoSchema };
|
|
3659
|
+
export { type AddressShipping, ConfiguracoesSchema, type CustomShippingInfo, CustomShippingInfoSchema, type CustomerOrder, CustomerOrderSchema, EnderecoEntregaSchema, EnvioSchema, FormaEnvioSchema, type Item, ItemSchema, type Order, OrderSchema, type OrderStatus, ParcelamentoSchema, SituacaoSchema, VariacaoSchema, formaPagamentoSchema, pagamentoSchema, situcaoCodigo };
|
|
@@ -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;
|
|
@@ -128,6 +128,7 @@ declare const ParcelamentoSchema: z.ZodObject<{
|
|
|
128
128
|
numero_parcelas: number;
|
|
129
129
|
valor_parcela: number;
|
|
130
130
|
}>;
|
|
131
|
+
declare const situcaoCodigo: z.ZodEnum<["aguardando_pagamento", "em_producao", "pagamento_devolvido", "pagamento_em_analise", "pedido_chargeback", "pagamento_em_disputa", "pedido_cancelado", "pedido_efetuado", "pedido_em_separacao", "pedido_entregue", "pedido_enviado", "pedido_pago", "pronto_para_retirada"]>;
|
|
131
132
|
declare const SituacaoSchema: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
132
133
|
id: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, string | number, unknown>;
|
|
133
134
|
createdAt: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodEffects<z.ZodType<FirebaseFirestore.Timestamp, z.ZodTypeDef, FirebaseFirestore.Timestamp>, FirebaseFirestore.Timestamp, unknown>>>>;
|
|
@@ -525,9 +526,9 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
525
526
|
telefone_principal: z.ZodString;
|
|
526
527
|
}, "strip", z.ZodTypeAny, {
|
|
527
528
|
id: number;
|
|
528
|
-
email: string;
|
|
529
529
|
nome: string;
|
|
530
530
|
cpf: string;
|
|
531
|
+
email: string;
|
|
531
532
|
resource_uri: string;
|
|
532
533
|
sexo: string;
|
|
533
534
|
telefone_celular: string;
|
|
@@ -537,9 +538,9 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
537
538
|
razao_social?: any;
|
|
538
539
|
}, {
|
|
539
540
|
id: number;
|
|
540
|
-
email: string;
|
|
541
541
|
nome: string;
|
|
542
542
|
cpf: string;
|
|
543
|
+
email: string;
|
|
543
544
|
resource_uri: string;
|
|
544
545
|
sexo: string;
|
|
545
546
|
telefone_celular: string;
|
|
@@ -1405,6 +1406,7 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1405
1406
|
picture: string;
|
|
1406
1407
|
}>;
|
|
1407
1408
|
}, "strip", z.ZodTypeAny, {
|
|
1409
|
+
currency: string;
|
|
1408
1410
|
id: number;
|
|
1409
1411
|
name: string;
|
|
1410
1412
|
company: {
|
|
@@ -1415,7 +1417,6 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1415
1417
|
price: string;
|
|
1416
1418
|
discount: string;
|
|
1417
1419
|
custom_price: string;
|
|
1418
|
-
currency: string;
|
|
1419
1420
|
delivery_time: number;
|
|
1420
1421
|
delivery_range: {
|
|
1421
1422
|
id: string | number;
|
|
@@ -1463,6 +1464,7 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1463
1464
|
};
|
|
1464
1465
|
error?: string | undefined;
|
|
1465
1466
|
}, {
|
|
1467
|
+
currency: string;
|
|
1466
1468
|
id: number;
|
|
1467
1469
|
name: string;
|
|
1468
1470
|
company: {
|
|
@@ -1473,7 +1475,6 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1473
1475
|
price: string;
|
|
1474
1476
|
discount: string;
|
|
1475
1477
|
custom_price: string;
|
|
1476
|
-
currency: string;
|
|
1477
1478
|
delivery_time: number;
|
|
1478
1479
|
delivery_range: {
|
|
1479
1480
|
min: number;
|
|
@@ -1563,6 +1564,7 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1563
1564
|
service: string;
|
|
1564
1565
|
deliveryTime: number;
|
|
1565
1566
|
original: {
|
|
1567
|
+
currency: string;
|
|
1566
1568
|
id: number;
|
|
1567
1569
|
name: string;
|
|
1568
1570
|
company: {
|
|
@@ -1573,7 +1575,6 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1573
1575
|
price: string;
|
|
1574
1576
|
discount: string;
|
|
1575
1577
|
custom_price: string;
|
|
1576
|
-
currency: string;
|
|
1577
1578
|
delivery_time: number;
|
|
1578
1579
|
delivery_range: {
|
|
1579
1580
|
id: string | number;
|
|
@@ -1709,6 +1710,7 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1709
1710
|
service: string;
|
|
1710
1711
|
deliveryTime: number;
|
|
1711
1712
|
original: {
|
|
1713
|
+
currency: string;
|
|
1712
1714
|
id: number;
|
|
1713
1715
|
name: string;
|
|
1714
1716
|
company: {
|
|
@@ -1719,7 +1721,6 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1719
1721
|
price: string;
|
|
1720
1722
|
discount: string;
|
|
1721
1723
|
custom_price: string;
|
|
1722
|
-
currency: string;
|
|
1723
1724
|
delivery_time: number;
|
|
1724
1725
|
delivery_range: {
|
|
1725
1726
|
min: number;
|
|
@@ -2300,6 +2301,7 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2300
2301
|
picture: string;
|
|
2301
2302
|
}>;
|
|
2302
2303
|
}, "strip", z.ZodTypeAny, {
|
|
2304
|
+
currency: string;
|
|
2303
2305
|
id: number;
|
|
2304
2306
|
name: string;
|
|
2305
2307
|
company: {
|
|
@@ -2310,7 +2312,6 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2310
2312
|
price: string;
|
|
2311
2313
|
discount: string;
|
|
2312
2314
|
custom_price: string;
|
|
2313
|
-
currency: string;
|
|
2314
2315
|
delivery_time: number;
|
|
2315
2316
|
delivery_range: {
|
|
2316
2317
|
id: string | number;
|
|
@@ -2358,6 +2359,7 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2358
2359
|
};
|
|
2359
2360
|
error?: string | undefined;
|
|
2360
2361
|
}, {
|
|
2362
|
+
currency: string;
|
|
2361
2363
|
id: number;
|
|
2362
2364
|
name: string;
|
|
2363
2365
|
company: {
|
|
@@ -2368,7 +2370,6 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2368
2370
|
price: string;
|
|
2369
2371
|
discount: string;
|
|
2370
2372
|
custom_price: string;
|
|
2371
|
-
currency: string;
|
|
2372
2373
|
delivery_time: number;
|
|
2373
2374
|
delivery_range: {
|
|
2374
2375
|
min: number;
|
|
@@ -2458,6 +2459,7 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2458
2459
|
service: string;
|
|
2459
2460
|
deliveryTime: number;
|
|
2460
2461
|
original: {
|
|
2462
|
+
currency: string;
|
|
2461
2463
|
id: number;
|
|
2462
2464
|
name: string;
|
|
2463
2465
|
company: {
|
|
@@ -2468,7 +2470,6 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2468
2470
|
price: string;
|
|
2469
2471
|
discount: string;
|
|
2470
2472
|
custom_price: string;
|
|
2471
|
-
currency: string;
|
|
2472
2473
|
delivery_time: number;
|
|
2473
2474
|
delivery_range: {
|
|
2474
2475
|
id: string | number;
|
|
@@ -2604,6 +2605,7 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2604
2605
|
service: string;
|
|
2605
2606
|
deliveryTime: number;
|
|
2606
2607
|
original: {
|
|
2608
|
+
currency: string;
|
|
2607
2609
|
id: number;
|
|
2608
2610
|
name: string;
|
|
2609
2611
|
company: {
|
|
@@ -2614,7 +2616,6 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2614
2616
|
price: string;
|
|
2615
2617
|
discount: string;
|
|
2616
2618
|
custom_price: string;
|
|
2617
|
-
currency: string;
|
|
2618
2619
|
delivery_time: number;
|
|
2619
2620
|
delivery_range: {
|
|
2620
2621
|
min: number;
|
|
@@ -2780,9 +2781,9 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2780
2781
|
data_modificacao: string;
|
|
2781
2782
|
cliente: {
|
|
2782
2783
|
id: number;
|
|
2783
|
-
email: string;
|
|
2784
2784
|
nome: string;
|
|
2785
2785
|
cpf: string;
|
|
2786
|
+
email: string;
|
|
2786
2787
|
resource_uri: string;
|
|
2787
2788
|
sexo: string;
|
|
2788
2789
|
telefone_celular: string;
|
|
@@ -2880,8 +2881,6 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2880
2881
|
createdAt?: FirebaseFirestore.Timestamp | null | undefined;
|
|
2881
2882
|
updatedAt?: FirebaseFirestore.Timestamp | null | undefined;
|
|
2882
2883
|
order?: number | null | undefined;
|
|
2883
|
-
warning?: string | undefined;
|
|
2884
|
-
tags?: string[] | undefined;
|
|
2885
2884
|
customShippingInfo?: {
|
|
2886
2885
|
length: number;
|
|
2887
2886
|
id: string | number;
|
|
@@ -2894,6 +2893,7 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2894
2893
|
name?: string | undefined;
|
|
2895
2894
|
insurance?: number | undefined;
|
|
2896
2895
|
} | undefined;
|
|
2896
|
+
tags?: string[] | undefined;
|
|
2897
2897
|
cliente_obs?: any;
|
|
2898
2898
|
cupom_desconto?: any;
|
|
2899
2899
|
id_anymarket?: any;
|
|
@@ -2908,6 +2908,7 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2908
2908
|
service: string;
|
|
2909
2909
|
deliveryTime: number;
|
|
2910
2910
|
original: {
|
|
2911
|
+
currency: string;
|
|
2911
2912
|
id: number;
|
|
2912
2913
|
name: string;
|
|
2913
2914
|
company: {
|
|
@@ -2918,7 +2919,6 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
2918
2919
|
price: string;
|
|
2919
2920
|
discount: string;
|
|
2920
2921
|
custom_price: string;
|
|
2921
|
-
currency: string;
|
|
2922
2922
|
delivery_time: number;
|
|
2923
2923
|
delivery_range: {
|
|
2924
2924
|
id: string | number;
|
|
@@ -3055,6 +3055,7 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3055
3055
|
service: string;
|
|
3056
3056
|
deliveryTime: number;
|
|
3057
3057
|
original: {
|
|
3058
|
+
currency: string;
|
|
3058
3059
|
id: number;
|
|
3059
3060
|
name: string;
|
|
3060
3061
|
company: {
|
|
@@ -3065,7 +3066,6 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3065
3066
|
price: string;
|
|
3066
3067
|
discount: string;
|
|
3067
3068
|
custom_price: string;
|
|
3068
|
-
currency: string;
|
|
3069
3069
|
delivery_time: number;
|
|
3070
3070
|
delivery_range: {
|
|
3071
3071
|
id: string | number;
|
|
@@ -3195,6 +3195,7 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3195
3195
|
insurance?: number | undefined;
|
|
3196
3196
|
} | undefined;
|
|
3197
3197
|
}[] | undefined;
|
|
3198
|
+
warning?: string | undefined;
|
|
3198
3199
|
watching?: boolean | undefined;
|
|
3199
3200
|
useInApp?: Record<string, string[]> | undefined;
|
|
3200
3201
|
}, {
|
|
@@ -3229,9 +3230,9 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3229
3230
|
data_modificacao: string;
|
|
3230
3231
|
cliente: {
|
|
3231
3232
|
id: number;
|
|
3232
|
-
email: string;
|
|
3233
3233
|
nome: string;
|
|
3234
3234
|
cpf: string;
|
|
3235
|
+
email: string;
|
|
3235
3236
|
resource_uri: string;
|
|
3236
3237
|
sexo: string;
|
|
3237
3238
|
telefone_celular: string;
|
|
@@ -3330,8 +3331,6 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3330
3331
|
createdAt?: unknown;
|
|
3331
3332
|
updatedAt?: unknown;
|
|
3332
3333
|
order?: number | null | undefined;
|
|
3333
|
-
warning?: string | undefined;
|
|
3334
|
-
tags?: string[] | undefined;
|
|
3335
3334
|
customShippingInfo?: {
|
|
3336
3335
|
length: number;
|
|
3337
3336
|
weight: number;
|
|
@@ -3344,6 +3343,7 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3344
3343
|
name?: string | undefined;
|
|
3345
3344
|
insurance?: number | undefined;
|
|
3346
3345
|
} | undefined;
|
|
3346
|
+
tags?: string[] | undefined;
|
|
3347
3347
|
cliente_obs?: any;
|
|
3348
3348
|
cupom_desconto?: any;
|
|
3349
3349
|
id_anymarket?: any;
|
|
@@ -3358,6 +3358,7 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3358
3358
|
service: string;
|
|
3359
3359
|
deliveryTime: number;
|
|
3360
3360
|
original: {
|
|
3361
|
+
currency: string;
|
|
3361
3362
|
id: number;
|
|
3362
3363
|
name: string;
|
|
3363
3364
|
company: {
|
|
@@ -3368,7 +3369,6 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3368
3369
|
price: string;
|
|
3369
3370
|
discount: string;
|
|
3370
3371
|
custom_price: string;
|
|
3371
|
-
currency: string;
|
|
3372
3372
|
delivery_time: number;
|
|
3373
3373
|
delivery_range: {
|
|
3374
3374
|
min: number;
|
|
@@ -3505,6 +3505,7 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3505
3505
|
service: string;
|
|
3506
3506
|
deliveryTime: number;
|
|
3507
3507
|
original: {
|
|
3508
|
+
currency: string;
|
|
3508
3509
|
id: number;
|
|
3509
3510
|
name: string;
|
|
3510
3511
|
company: {
|
|
@@ -3515,7 +3516,6 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3515
3516
|
price: string;
|
|
3516
3517
|
discount: string;
|
|
3517
3518
|
custom_price: string;
|
|
3518
|
-
currency: string;
|
|
3519
3519
|
delivery_time: number;
|
|
3520
3520
|
delivery_range: {
|
|
3521
3521
|
min: number;
|
|
@@ -3645,6 +3645,7 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
3645
3645
|
insurance?: number | undefined;
|
|
3646
3646
|
} | undefined;
|
|
3647
3647
|
}[] | undefined;
|
|
3648
|
+
warning?: string | undefined;
|
|
3648
3649
|
watching?: boolean | undefined;
|
|
3649
3650
|
useInApp?: Record<string, string[]> | undefined;
|
|
3650
3651
|
}>;
|
|
@@ -3655,4 +3656,4 @@ type OrderStatus = z.infer<typeof SituacaoSchema>;
|
|
|
3655
3656
|
type AddressShipping = z.infer<typeof EnderecoEntregaSchema>;
|
|
3656
3657
|
type CustomerOrder = z.infer<typeof CustomerOrderSchema>;
|
|
3657
3658
|
|
|
3658
|
-
export { type AddressShipping, ConfiguracoesSchema, type CustomShippingInfo, CustomShippingInfoSchema, type CustomerOrder, CustomerOrderSchema, EnderecoEntregaSchema, EnvioSchema, FormaEnvioSchema, type Item, ItemSchema, type Order, OrderSchema, type OrderStatus, ParcelamentoSchema, SituacaoSchema, VariacaoSchema, formaPagamentoSchema, pagamentoSchema };
|
|
3659
|
+
export { type AddressShipping, ConfiguracoesSchema, type CustomShippingInfo, CustomShippingInfoSchema, type CustomerOrder, CustomerOrderSchema, EnderecoEntregaSchema, EnvioSchema, FormaEnvioSchema, type Item, ItemSchema, type Order, OrderSchema, type OrderStatus, ParcelamentoSchema, SituacaoSchema, VariacaoSchema, formaPagamentoSchema, pagamentoSchema, situcaoCodigo };
|