@_henriquewilson/gabirubi-domain 1.4.5 → 1.4.6

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.
@@ -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;
17
18
  nome: string;
18
19
  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;
29
30
  nome: string;
30
31
  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;
602
603
  nome: string;
603
604
  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;
614
615
  nome: string;
615
616
  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;
1475
1476
  weight: string;
1476
1477
  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;
1490
1491
  weight: string;
1491
1492
  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;
1555
1554
  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;
1563
1562
  discount: string;
1564
1563
  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;
1584
1585
  weight: string;
1585
1586
  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;
1613
1612
  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;
1621
1620
  discount: string;
1622
1621
  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;
1642
1643
  weight: string;
1643
1644
  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
- company: string;
1708
1707
  price: number;
1708
+ company: string;
1709
1709
  service: string;
1710
1710
  deliveryTime: number;
1711
1711
  original: {
1712
- currency: string;
1713
1712
  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;
1721
1720
  discount: string;
1722
1721
  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;
1742
1743
  weight: string;
1743
1744
  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
- company: string;
1854
1853
  price: number;
1854
+ company: string;
1855
1855
  service: string;
1856
1856
  deliveryTime: number;
1857
1857
  original: {
1858
- currency: string;
1859
1858
  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;
1867
1866
  discount: string;
1868
1867
  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;
1888
1889
  weight: string;
1889
1890
  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;
2370
2371
  weight: string;
2371
2372
  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;
2385
2386
  weight: string;
2386
2387
  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;
2450
2449
  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;
2458
2457
  discount: string;
2459
2458
  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;
2479
2480
  weight: string;
2480
2481
  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;
2508
2507
  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;
2516
2515
  discount: string;
2517
2516
  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;
2537
2538
  weight: string;
2538
2539
  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
- company: string;
2603
2602
  price: number;
2603
+ company: string;
2604
2604
  service: string;
2605
2605
  deliveryTime: number;
2606
2606
  original: {
2607
- currency: string;
2608
2607
  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;
2616
2615
  discount: string;
2617
2616
  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;
2637
2638
  weight: string;
2638
2639
  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
- company: string;
2749
2748
  price: number;
2749
+ company: string;
2750
2750
  service: string;
2751
2751
  deliveryTime: number;
2752
2752
  original: {
2753
- currency: string;
2754
2753
  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;
2762
2761
  discount: string;
2763
2762
  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;
2783
2784
  weight: string;
2784
2785
  insurance_value: string;
2785
- price: string;
2786
2786
  discount: string;
2787
2787
  format: string;
2788
2788
  products: {
@@ -2894,6 +2894,7 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
2894
2894
  watching: z.ZodOptional<z.ZodBoolean>;
2895
2895
  useInApp: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
2896
2896
  appObservations: z.ZodOptional<z.ZodString>;
2897
+ orderBuilder: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2897
2898
  }>, "strip", z.ZodTypeAny, {
2898
2899
  id: string | number;
2899
2900
  itens: {
@@ -2927,9 +2928,9 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
2927
2928
  data_modificacao: string;
2928
2929
  cliente: {
2929
2930
  id: number;
2931
+ email: string;
2930
2932
  nome: string;
2931
2933
  cpf: string;
2932
- email: string;
2933
2934
  resource_uri: string;
2934
2935
  sexo: string;
2935
2936
  telefone_celular: string;
@@ -3027,6 +3028,8 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
3027
3028
  createdAt?: FirebaseFirestore.Timestamp | null | undefined;
3028
3029
  updatedAt?: FirebaseFirestore.Timestamp | null | undefined;
3029
3030
  order?: number | null | undefined;
3031
+ warning?: string | undefined;
3032
+ tags?: string[] | undefined;
3030
3033
  customShippingInfo?: {
3031
3034
  length: number;
3032
3035
  id: string | number;
@@ -3039,7 +3042,6 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
3039
3042
  name?: string | undefined;
3040
3043
  insurance?: number | undefined;
3041
3044
  } | undefined;
3042
- tags?: string[] | undefined;
3043
3045
  id_externo?: any;
3044
3046
  cliente_obs?: any;
3045
3047
  cupom_desconto?: {
@@ -3073,22 +3075,22 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
3073
3075
  utm_campaign?: any;
3074
3076
  shippingCalculate?: {
3075
3077
  id: string | number;
3076
- company: string;
3077
3078
  price: number;
3079
+ company: string;
3078
3080
  service: string;
3079
3081
  deliveryTime: number;
3080
3082
  original: {
3081
- currency: string;
3082
3083
  id: number;
3084
+ price: string;
3083
3085
  name: string;
3084
3086
  company: {
3085
3087
  id: number;
3086
3088
  name: string;
3087
3089
  picture: string;
3088
3090
  };
3089
- price: string;
3090
3091
  discount: string;
3091
3092
  custom_price: string;
3093
+ currency: string;
3092
3094
  delivery_time: number;
3093
3095
  delivery_range: {
3094
3096
  id: string | number;
@@ -3108,9 +3110,9 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
3108
3110
  order?: number | null | undefined;
3109
3111
  };
3110
3112
  packages: {
3113
+ price: string;
3111
3114
  weight: string;
3112
3115
  insurance_value: string;
3113
- price: string;
3114
3116
  discount: string;
3115
3117
  format: string;
3116
3118
  products: {
@@ -3220,22 +3222,22 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
3220
3222
  } | undefined;
3221
3223
  allShippingCalculates?: {
3222
3224
  id: string | number;
3223
- company: string;
3224
3225
  price: number;
3226
+ company: string;
3225
3227
  service: string;
3226
3228
  deliveryTime: number;
3227
3229
  original: {
3228
- currency: string;
3229
3230
  id: number;
3231
+ price: string;
3230
3232
  name: string;
3231
3233
  company: {
3232
3234
  id: number;
3233
3235
  name: string;
3234
3236
  picture: string;
3235
3237
  };
3236
- price: string;
3237
3238
  discount: string;
3238
3239
  custom_price: string;
3240
+ currency: string;
3239
3241
  delivery_time: number;
3240
3242
  delivery_range: {
3241
3243
  id: string | number;
@@ -3255,9 +3257,9 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
3255
3257
  order?: number | null | undefined;
3256
3258
  };
3257
3259
  packages: {
3260
+ price: string;
3258
3261
  weight: string;
3259
3262
  insurance_value: string;
3260
- price: string;
3261
3263
  discount: string;
3262
3264
  format: string;
3263
3265
  products: {
@@ -3365,10 +3367,10 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
3365
3367
  insurance?: number | undefined;
3366
3368
  } | undefined;
3367
3369
  }[] | undefined;
3368
- warning?: string | undefined;
3369
3370
  watching?: boolean | undefined;
3370
3371
  useInApp?: Record<string, string[]> | undefined;
3371
3372
  appObservations?: string | undefined;
3373
+ orderBuilder?: string[] | undefined;
3372
3374
  }, {
3373
3375
  itens: {
3374
3376
  id: number;
@@ -3401,9 +3403,9 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
3401
3403
  data_modificacao: string;
3402
3404
  cliente: {
3403
3405
  id: number;
3406
+ email: string;
3404
3407
  nome: string;
3405
3408
  cpf: string;
3406
- email: string;
3407
3409
  resource_uri: string;
3408
3410
  sexo: string;
3409
3411
  telefone_celular: string;
@@ -3502,6 +3504,8 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
3502
3504
  createdAt?: unknown;
3503
3505
  updatedAt?: unknown;
3504
3506
  order?: number | null | undefined;
3507
+ warning?: string | undefined;
3508
+ tags?: string[] | undefined;
3505
3509
  customShippingInfo?: {
3506
3510
  length: number;
3507
3511
  weight: number;
@@ -3514,7 +3518,6 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
3514
3518
  name?: string | undefined;
3515
3519
  insurance?: number | undefined;
3516
3520
  } | undefined;
3517
- tags?: string[] | undefined;
3518
3521
  id_externo?: any;
3519
3522
  cliente_obs?: any;
3520
3523
  cupom_desconto?: {
@@ -3548,22 +3551,22 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
3548
3551
  utm_campaign?: any;
3549
3552
  shippingCalculate?: {
3550
3553
  id: string | number;
3551
- company: string;
3552
3554
  price: number;
3555
+ company: string;
3553
3556
  service: string;
3554
3557
  deliveryTime: number;
3555
3558
  original: {
3556
- currency: string;
3557
3559
  id: number;
3560
+ price: string;
3558
3561
  name: string;
3559
3562
  company: {
3560
3563
  id: number;
3561
3564
  name: string;
3562
3565
  picture: string;
3563
3566
  };
3564
- price: string;
3565
3567
  discount: string;
3566
3568
  custom_price: string;
3569
+ currency: string;
3567
3570
  delivery_time: number;
3568
3571
  delivery_range: {
3569
3572
  min: number;
@@ -3583,9 +3586,9 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
3583
3586
  order?: number | null | undefined;
3584
3587
  };
3585
3588
  packages: {
3589
+ price: string;
3586
3590
  weight: string;
3587
3591
  insurance_value: string;
3588
- price: string;
3589
3592
  discount: string;
3590
3593
  format: string;
3591
3594
  products: {
@@ -3695,22 +3698,22 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
3695
3698
  } | undefined;
3696
3699
  allShippingCalculates?: {
3697
3700
  id: string | number;
3698
- company: string;
3699
3701
  price: number;
3702
+ company: string;
3700
3703
  service: string;
3701
3704
  deliveryTime: number;
3702
3705
  original: {
3703
- currency: string;
3704
3706
  id: number;
3707
+ price: string;
3705
3708
  name: string;
3706
3709
  company: {
3707
3710
  id: number;
3708
3711
  name: string;
3709
3712
  picture: string;
3710
3713
  };
3711
- price: string;
3712
3714
  discount: string;
3713
3715
  custom_price: string;
3716
+ currency: string;
3714
3717
  delivery_time: number;
3715
3718
  delivery_range: {
3716
3719
  min: number;
@@ -3730,9 +3733,9 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
3730
3733
  order?: number | null | undefined;
3731
3734
  };
3732
3735
  packages: {
3736
+ price: string;
3733
3737
  weight: string;
3734
3738
  insurance_value: string;
3735
- price: string;
3736
3739
  discount: string;
3737
3740
  format: string;
3738
3741
  products: {
@@ -3840,10 +3843,10 @@ declare const OrderSchema: z.ZodObject<z.objectUtil.extendShape<{
3840
3843
  insurance?: number | undefined;
3841
3844
  } | undefined;
3842
3845
  }[] | undefined;
3843
- warning?: string | undefined;
3844
3846
  watching?: boolean | undefined;
3845
3847
  useInApp?: Record<string, string[]> | undefined;
3846
3848
  appObservations?: string | undefined;
3849
+ orderBuilder?: string[] | undefined;
3847
3850
  }>;
3848
3851
  type CustomShippingInfo = z.infer<typeof CustomShippingInfoSchema>;
3849
3852
  type Order = z.infer<typeof OrderSchema>;