@edgebound/bigcommerce 0.3.0 → 0.3.1

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/orders.d.ts CHANGED
@@ -195,7 +195,7 @@ declare const getAllOrdersBy: (criteria: Omit<z.input<typeof FindOrdersCriteriaS
195
195
  payment_provider_id?: string | null | undefined;
196
196
  }[], SomeBigCommerceError | InputValidationError, BigCommerceFetcher>;
197
197
 
198
- declare const getOrder: (orderId: string) => Effect.Effect<{
198
+ declare const getOrder: (orderId: number) => Effect.Effect<{
199
199
  id: number;
200
200
  customer_id: number;
201
201
  date_created: string;
@@ -299,69 +299,9 @@ declare const getAllOrderShippingAddresses: (orderId: number) => Effect.Effect<{
299
299
  name: string;
300
300
  value: string;
301
301
  }[];
302
- "~standard": unknown;
303
- shape: unknown;
304
- keyof: unknown;
305
- catchall: unknown;
306
- passthrough: unknown;
307
- loose: unknown;
308
- strict: unknown;
309
- strip: unknown;
310
- extend: unknown;
311
- safeExtend: unknown;
312
- merge: unknown;
313
- pick: unknown;
314
- omit: unknown;
315
- partial: unknown;
316
- required: unknown;
317
- def: unknown;
318
- type: unknown;
319
- _def: unknown;
320
- _output: unknown;
321
- _input: unknown;
322
- toJSONSchema: unknown;
323
- check: unknown;
324
- with: unknown;
325
- clone: unknown;
326
- register: unknown;
327
- brand: unknown;
328
- parse: unknown;
329
- safeParse: unknown;
330
- parseAsync: unknown;
331
- safeParseAsync: unknown;
332
- spa: unknown;
333
- encode: unknown;
334
- decode: unknown;
335
- encodeAsync: unknown;
336
- decodeAsync: unknown;
337
- safeEncode: unknown;
338
- safeDecode: unknown;
339
- safeEncodeAsync: unknown;
340
- safeDecodeAsync: unknown;
341
- refine: unknown;
342
- superRefine: unknown;
343
- overwrite: unknown;
344
- optional: unknown;
345
- exactOptional: unknown;
346
- nonoptional: unknown;
347
- nullable: unknown;
348
- nullish: unknown;
349
- default: unknown;
350
- prefault: unknown;
351
- array: unknown;
352
- or: unknown;
353
- and: unknown;
354
- transform: unknown;
355
- catch: unknown;
356
- pipe: unknown;
357
- readonly: unknown;
358
- describe: unknown;
359
- description?: unknown;
360
- meta: unknown;
361
- isOptional: unknown;
362
- isNullable: unknown;
363
- apply: unknown;
364
- _zod: unknown;
302
+ id: number;
303
+ order_id: number;
304
+ shipping_method: string;
365
305
  }[], SomeBigCommerceError, BigCommerceFetcher>;
366
306
 
367
307
  declare const getAllOrderProducts: (orderId: number) => Effect.Effect<{
@@ -439,1196 +379,9 @@ declare const OrderShippingAddressSchema: z.ZodObject<{
439
379
  name: z.ZodString;
440
380
  value: z.ZodString;
441
381
  }, z.core.$strip>>;
442
- "~standard": z.ZodStandardSchemaWithJSON<{
443
- first_name: z.ZodString;
444
- last_name: z.ZodString;
445
- company: z.ZodString;
446
- street_1: z.ZodString;
447
- street_2: z.ZodString;
448
- city: z.ZodString;
449
- state: z.ZodString;
450
- zip: z.ZodString;
451
- country: z.ZodString;
452
- country_iso2: z.ZodString;
453
- phone: z.ZodString;
454
- email: z.ZodString;
455
- form_fields: z.ZodArray<z.ZodObject<{
456
- name: z.ZodString;
457
- value: z.ZodString;
458
- }, z.core.$strip>>;
459
- } & z.ZodObject<{
460
- id: z.ZodInt;
461
- order_id: z.ZodInt;
462
- shipping_method: z.ZodString;
463
- }, z.core.$strip>>;
464
- shape: {
465
- id: z.ZodInt;
466
- order_id: z.ZodInt;
467
- shipping_method: z.ZodString;
468
- };
469
- keyof: () => z.ZodEnum<{
470
- id: "id";
471
- order_id: "order_id";
472
- shipping_method: "shipping_method";
473
- }>;
474
- catchall: <T extends z.core.SomeType>(schema: T) => z.ZodObject<{
475
- id: z.ZodInt;
476
- order_id: z.ZodInt;
477
- shipping_method: z.ZodString;
478
- }, z.core.$catchall<T>>;
479
- passthrough: () => z.ZodObject<{
480
- id: z.ZodInt;
481
- order_id: z.ZodInt;
482
- shipping_method: z.ZodString;
483
- }, z.core.$loose>;
484
- loose: () => z.ZodObject<{
485
- id: z.ZodInt;
486
- order_id: z.ZodInt;
487
- shipping_method: z.ZodString;
488
- }, z.core.$loose>;
489
- strict: () => z.ZodObject<{
490
- id: z.ZodInt;
491
- order_id: z.ZodInt;
492
- shipping_method: z.ZodString;
493
- }, z.core.$strict>;
494
- strip: () => z.ZodObject<{
495
- id: z.ZodInt;
496
- order_id: z.ZodInt;
497
- shipping_method: z.ZodString;
498
- }, z.core.$strip>;
499
- extend: <U extends z.core.$ZodLooseShape>(shape: U) => z.ZodObject<(("id" | "order_id" | "shipping_method") & keyof U extends never ? {
500
- id: z.ZodInt;
501
- order_id: z.ZodInt;
502
- shipping_method: z.ZodString;
503
- } & U : ({
504
- id: z.ZodInt;
505
- order_id: z.ZodInt;
506
- shipping_method: z.ZodString;
507
- } extends infer T_1 extends z.core.util.SomeObject ? { [K in keyof T_1 as K extends keyof U ? never : K]: T_1[K]; } : never) & { [K_1 in keyof U]: U[K_1]; }) extends infer T ? { [k in keyof T]: T[k]; } : never, z.core.$strip>;
508
- safeExtend: <U extends z.core.$ZodLooseShape>(shape: z.SafeExtendShape<{
509
- id: z.ZodInt;
510
- order_id: z.ZodInt;
511
- shipping_method: z.ZodString;
512
- }, U> & Partial<Record<"id" | "order_id" | "shipping_method", z.core.SomeType>>) => z.ZodObject<(("id" | "order_id" | "shipping_method") & keyof U extends never ? {
513
- id: z.ZodInt;
514
- order_id: z.ZodInt;
515
- shipping_method: z.ZodString;
516
- } & U : ({
517
- id: z.ZodInt;
518
- order_id: z.ZodInt;
519
- shipping_method: z.ZodString;
520
- } extends infer T_1 extends z.core.util.SomeObject ? { [K in keyof T_1 as K extends keyof U ? never : K]: T_1[K]; } : never) & { [K_1 in keyof U]: U[K_1]; }) extends infer T ? { [k in keyof T]: T[k]; } : never, z.core.$strip>;
521
- merge: <U extends z.ZodObject>(other: U) => z.ZodObject<(("id" | "order_id" | "shipping_method") & keyof U["shape"] extends never ? {
522
- id: z.ZodInt;
523
- order_id: z.ZodInt;
524
- shipping_method: z.ZodString;
525
- } & U["shape"] : ({
526
- id: z.ZodInt;
527
- order_id: z.ZodInt;
528
- shipping_method: z.ZodString;
529
- } extends infer T_1 extends z.core.util.SomeObject ? { [K in keyof T_1 as K extends keyof U["shape"] ? never : K]: T_1[K]; } : never) & (U["shape"] extends infer T_2 extends z.core.util.SomeObject ? { [K_1 in keyof T_2]: T_2[K_1]; } : never)) extends infer T ? { [k in keyof T]: T[k]; } : never, U["_zod"]["config"]>;
530
- pick: <M extends z.core.util.Mask<"id" | "order_id" | "shipping_method">>(mask: M & Record<Exclude<keyof M, "id" | "order_id" | "shipping_method">, never>) => z.ZodObject<Pick<{
531
- id: z.ZodInt;
532
- order_id: z.ZodInt;
533
- shipping_method: z.ZodString;
534
- }, Extract<"id", keyof M> | Extract<"order_id", keyof M> | Extract<"shipping_method", keyof M>> extends infer T ? { [k in keyof T]: T[k]; } : never, z.core.$strip>;
535
- omit: <M extends z.core.util.Mask<"id" | "order_id" | "shipping_method">>(mask: M & Record<Exclude<keyof M, "id" | "order_id" | "shipping_method">, never>) => z.ZodObject<Omit<{
536
- id: z.ZodInt;
537
- order_id: z.ZodInt;
538
- shipping_method: z.ZodString;
539
- }, Extract<"id", keyof M> | Extract<"order_id", keyof M> | Extract<"shipping_method", keyof M>> extends infer T ? { [k in keyof T]: T[k]; } : never, z.core.$strip>;
540
- partial: {
541
- (): z.ZodObject<{
542
- id: z.ZodOptional<z.ZodInt>;
543
- order_id: z.ZodOptional<z.ZodInt>;
544
- shipping_method: z.ZodOptional<z.ZodString>;
545
- }, z.core.$strip>;
546
- <M extends z.core.util.Mask<"id" | "order_id" | "shipping_method">>(mask: M & Record<Exclude<keyof M, "id" | "order_id" | "shipping_method">, never>): z.ZodObject<{
547
- id: "id" extends infer T ? T extends "id" ? T extends keyof M ? z.ZodOptional<{
548
- id: z.ZodInt;
549
- order_id: z.ZodInt;
550
- shipping_method: z.ZodString;
551
- }[T]> : {
552
- id: z.ZodInt;
553
- order_id: z.ZodInt;
554
- shipping_method: z.ZodString;
555
- }[T] : never : never;
556
- order_id: "order_id" extends infer T_1 ? T_1 extends "order_id" ? T_1 extends keyof M ? z.ZodOptional<{
557
- id: z.ZodInt;
558
- order_id: z.ZodInt;
559
- shipping_method: z.ZodString;
560
- }[T_1]> : {
561
- id: z.ZodInt;
562
- order_id: z.ZodInt;
563
- shipping_method: z.ZodString;
564
- }[T_1] : never : never;
565
- shipping_method: "shipping_method" extends infer T_2 ? T_2 extends "shipping_method" ? T_2 extends keyof M ? z.ZodOptional<{
566
- id: z.ZodInt;
567
- order_id: z.ZodInt;
568
- shipping_method: z.ZodString;
569
- }[T_2]> : {
570
- id: z.ZodInt;
571
- order_id: z.ZodInt;
572
- shipping_method: z.ZodString;
573
- }[T_2] : never : never;
574
- }, z.core.$strip>;
575
- };
576
- required: {
577
- (): z.ZodObject<{
578
- id: z.ZodNonOptional<z.ZodInt>;
579
- order_id: z.ZodNonOptional<z.ZodInt>;
580
- shipping_method: z.ZodNonOptional<z.ZodString>;
581
- }, z.core.$strip>;
582
- <M extends z.core.util.Mask<"id" | "order_id" | "shipping_method">>(mask: M & Record<Exclude<keyof M, "id" | "order_id" | "shipping_method">, never>): z.ZodObject<{
583
- id: "id" extends infer T ? T extends "id" ? T extends keyof M ? z.ZodNonOptional<{
584
- id: z.ZodInt;
585
- order_id: z.ZodInt;
586
- shipping_method: z.ZodString;
587
- }[T]> : {
588
- id: z.ZodInt;
589
- order_id: z.ZodInt;
590
- shipping_method: z.ZodString;
591
- }[T] : never : never;
592
- order_id: "order_id" extends infer T_1 ? T_1 extends "order_id" ? T_1 extends keyof M ? z.ZodNonOptional<{
593
- id: z.ZodInt;
594
- order_id: z.ZodInt;
595
- shipping_method: z.ZodString;
596
- }[T_1]> : {
597
- id: z.ZodInt;
598
- order_id: z.ZodInt;
599
- shipping_method: z.ZodString;
600
- }[T_1] : never : never;
601
- shipping_method: "shipping_method" extends infer T_2 ? T_2 extends "shipping_method" ? T_2 extends keyof M ? z.ZodNonOptional<{
602
- id: z.ZodInt;
603
- order_id: z.ZodInt;
604
- shipping_method: z.ZodString;
605
- }[T_2]> : {
606
- id: z.ZodInt;
607
- order_id: z.ZodInt;
608
- shipping_method: z.ZodString;
609
- }[T_2] : never : never;
610
- }, z.core.$strip>;
611
- };
612
- def: z.core.$ZodObjectDef<{
613
- id: z.ZodInt;
614
- order_id: z.ZodInt;
615
- shipping_method: z.ZodString;
616
- }>;
617
- type: "object";
618
- _def: z.core.$ZodObjectDef<{
619
- id: z.ZodInt;
620
- order_id: z.ZodInt;
621
- shipping_method: z.ZodString;
622
- }>;
623
- _output: {
624
- id: number;
625
- order_id: number;
626
- shipping_method: string;
627
- };
628
- _input: {
629
- id: number;
630
- order_id: number;
631
- shipping_method: string;
632
- };
633
- toJSONSchema: (params?: z.core.ToJSONSchemaParams) => z.core.ZodStandardJSONSchemaPayload<{
634
- first_name: z.ZodString;
635
- last_name: z.ZodString;
636
- company: z.ZodString;
637
- street_1: z.ZodString;
638
- street_2: z.ZodString;
639
- city: z.ZodString;
640
- state: z.ZodString;
641
- zip: z.ZodString;
642
- country: z.ZodString;
643
- country_iso2: z.ZodString;
644
- phone: z.ZodString;
645
- email: z.ZodString;
646
- form_fields: z.ZodArray<z.ZodObject<{
647
- name: z.ZodString;
648
- value: z.ZodString;
649
- }, z.core.$strip>>;
650
- } & z.ZodObject<{
651
- id: z.ZodInt;
652
- order_id: z.ZodInt;
653
- shipping_method: z.ZodString;
654
- }, z.core.$strip>>;
655
- check: (...checks: (z.core.CheckFn<{
656
- id: number;
657
- order_id: number;
658
- shipping_method: string;
659
- }> | z.core.$ZodCheck<{
660
- id: number;
661
- order_id: number;
662
- shipping_method: string;
663
- }>)[]) => {
664
- first_name: z.ZodString;
665
- last_name: z.ZodString;
666
- company: z.ZodString;
667
- street_1: z.ZodString;
668
- street_2: z.ZodString;
669
- city: z.ZodString;
670
- state: z.ZodString;
671
- zip: z.ZodString;
672
- country: z.ZodString;
673
- country_iso2: z.ZodString;
674
- phone: z.ZodString;
675
- email: z.ZodString;
676
- form_fields: z.ZodArray<z.ZodObject<{
677
- name: z.ZodString;
678
- value: z.ZodString;
679
- }, z.core.$strip>>;
680
- } & z.ZodObject<{
681
- id: z.ZodInt;
682
- order_id: z.ZodInt;
683
- shipping_method: z.ZodString;
684
- }, z.core.$strip>;
685
- with: (...checks: (z.core.CheckFn<{
686
- id: number;
687
- order_id: number;
688
- shipping_method: string;
689
- }> | z.core.$ZodCheck<{
690
- id: number;
691
- order_id: number;
692
- shipping_method: string;
693
- }>)[]) => {
694
- first_name: z.ZodString;
695
- last_name: z.ZodString;
696
- company: z.ZodString;
697
- street_1: z.ZodString;
698
- street_2: z.ZodString;
699
- city: z.ZodString;
700
- state: z.ZodString;
701
- zip: z.ZodString;
702
- country: z.ZodString;
703
- country_iso2: z.ZodString;
704
- phone: z.ZodString;
705
- email: z.ZodString;
706
- form_fields: z.ZodArray<z.ZodObject<{
707
- name: z.ZodString;
708
- value: z.ZodString;
709
- }, z.core.$strip>>;
710
- } & z.ZodObject<{
711
- id: z.ZodInt;
712
- order_id: z.ZodInt;
713
- shipping_method: z.ZodString;
714
- }, z.core.$strip>;
715
- clone: (def?: z.core.$ZodObjectDef<{
716
- id: z.ZodInt;
717
- order_id: z.ZodInt;
718
- shipping_method: z.ZodString;
719
- }> | undefined, params?: {
720
- parent: boolean;
721
- } | undefined) => {
722
- first_name: z.ZodString;
723
- last_name: z.ZodString;
724
- company: z.ZodString;
725
- street_1: z.ZodString;
726
- street_2: z.ZodString;
727
- city: z.ZodString;
728
- state: z.ZodString;
729
- zip: z.ZodString;
730
- country: z.ZodString;
731
- country_iso2: z.ZodString;
732
- phone: z.ZodString;
733
- email: z.ZodString;
734
- form_fields: z.ZodArray<z.ZodObject<{
735
- name: z.ZodString;
736
- value: z.ZodString;
737
- }, z.core.$strip>>;
738
- } & z.ZodObject<{
739
- id: z.ZodInt;
740
- order_id: z.ZodInt;
741
- shipping_method: z.ZodString;
742
- }, z.core.$strip>;
743
- register: <R extends z.core.$ZodRegistry>(registry: R, ...meta: {
744
- first_name: z.ZodString;
745
- last_name: z.ZodString;
746
- company: z.ZodString;
747
- street_1: z.ZodString;
748
- street_2: z.ZodString;
749
- city: z.ZodString;
750
- state: z.ZodString;
751
- zip: z.ZodString;
752
- country: z.ZodString;
753
- country_iso2: z.ZodString;
754
- phone: z.ZodString;
755
- email: z.ZodString;
756
- form_fields: z.ZodArray<z.ZodObject<{
757
- name: z.ZodString;
758
- value: z.ZodString;
759
- }, z.core.$strip>>;
760
- } & z.ZodObject<{
761
- id: z.ZodInt;
762
- order_id: z.ZodInt;
763
- shipping_method: z.ZodString;
764
- }, z.core.$strip> extends infer T ? T extends {
765
- first_name: z.ZodString;
766
- last_name: z.ZodString;
767
- company: z.ZodString;
768
- street_1: z.ZodString;
769
- street_2: z.ZodString;
770
- city: z.ZodString;
771
- state: z.ZodString;
772
- zip: z.ZodString;
773
- country: z.ZodString;
774
- country_iso2: z.ZodString;
775
- phone: z.ZodString;
776
- email: z.ZodString;
777
- form_fields: z.ZodArray<z.ZodObject<{
778
- name: z.ZodString;
779
- value: z.ZodString;
780
- }, z.core.$strip>>;
781
- } & z.ZodObject<{
782
- id: z.ZodInt;
783
- order_id: z.ZodInt;
784
- shipping_method: z.ZodString;
785
- }, z.core.$strip> ? T extends R["_schema"] ? undefined extends R["_meta"] ? [z.core.$replace<R["_meta"], R["_schema"] & {
786
- first_name: z.ZodString;
787
- last_name: z.ZodString;
788
- company: z.ZodString;
789
- street_1: z.ZodString;
790
- street_2: z.ZodString;
791
- city: z.ZodString;
792
- state: z.ZodString;
793
- zip: z.ZodString;
794
- country: z.ZodString;
795
- country_iso2: z.ZodString;
796
- phone: z.ZodString;
797
- email: z.ZodString;
798
- form_fields: z.ZodArray<z.ZodObject<{
799
- name: z.ZodString;
800
- value: z.ZodString;
801
- }, z.core.$strip>>;
802
- } & z.ZodObject<{
803
- id: z.ZodInt;
804
- order_id: z.ZodInt;
805
- shipping_method: z.ZodString;
806
- }, z.core.$strip>>?] : [z.core.$replace<R["_meta"], R["_schema"] & {
807
- first_name: z.ZodString;
808
- last_name: z.ZodString;
809
- company: z.ZodString;
810
- street_1: z.ZodString;
811
- street_2: z.ZodString;
812
- city: z.ZodString;
813
- state: z.ZodString;
814
- zip: z.ZodString;
815
- country: z.ZodString;
816
- country_iso2: z.ZodString;
817
- phone: z.ZodString;
818
- email: z.ZodString;
819
- form_fields: z.ZodArray<z.ZodObject<{
820
- name: z.ZodString;
821
- value: z.ZodString;
822
- }, z.core.$strip>>;
823
- } & z.ZodObject<{
824
- id: z.ZodInt;
825
- order_id: z.ZodInt;
826
- shipping_method: z.ZodString;
827
- }, z.core.$strip>>] : ["Incompatible schema"] : never : never) => {
828
- first_name: z.ZodString;
829
- last_name: z.ZodString;
830
- company: z.ZodString;
831
- street_1: z.ZodString;
832
- street_2: z.ZodString;
833
- city: z.ZodString;
834
- state: z.ZodString;
835
- zip: z.ZodString;
836
- country: z.ZodString;
837
- country_iso2: z.ZodString;
838
- phone: z.ZodString;
839
- email: z.ZodString;
840
- form_fields: z.ZodArray<z.ZodObject<{
841
- name: z.ZodString;
842
- value: z.ZodString;
843
- }, z.core.$strip>>;
844
- } & z.ZodObject<{
845
- id: z.ZodInt;
846
- order_id: z.ZodInt;
847
- shipping_method: z.ZodString;
848
- }, z.core.$strip>;
849
- brand: <T extends PropertyKey = PropertyKey, Dir extends "in" | "out" | "inout" = "out">(value?: T | undefined) => PropertyKey extends T ? {
850
- first_name: z.ZodString;
851
- last_name: z.ZodString;
852
- company: z.ZodString;
853
- street_1: z.ZodString;
854
- street_2: z.ZodString;
855
- city: z.ZodString;
856
- state: z.ZodString;
857
- zip: z.ZodString;
858
- country: z.ZodString;
859
- country_iso2: z.ZodString;
860
- phone: z.ZodString;
861
- email: z.ZodString;
862
- form_fields: z.ZodArray<z.ZodObject<{
863
- name: z.ZodString;
864
- value: z.ZodString;
865
- }, z.core.$strip>>;
866
- } & z.ZodObject<{
867
- id: z.ZodInt;
868
- order_id: z.ZodInt;
869
- shipping_method: z.ZodString;
870
- }, z.core.$strip> : z.core.$ZodBranded<{
871
- first_name: z.ZodString;
872
- last_name: z.ZodString;
873
- company: z.ZodString;
874
- street_1: z.ZodString;
875
- street_2: z.ZodString;
876
- city: z.ZodString;
877
- state: z.ZodString;
878
- zip: z.ZodString;
879
- country: z.ZodString;
880
- country_iso2: z.ZodString;
881
- phone: z.ZodString;
882
- email: z.ZodString;
883
- form_fields: z.ZodArray<z.ZodObject<{
884
- name: z.ZodString;
885
- value: z.ZodString;
886
- }, z.core.$strip>>;
887
- } & z.ZodObject<{
888
- id: z.ZodInt;
889
- order_id: z.ZodInt;
890
- shipping_method: z.ZodString;
891
- }, z.core.$strip>, T, Dir>;
892
- parse: (data: unknown, params?: z.core.ParseContext<z.core.$ZodIssue>) => {
893
- id: number;
894
- order_id: number;
895
- shipping_method: string;
896
- };
897
- safeParse: (data: unknown, params?: z.core.ParseContext<z.core.$ZodIssue>) => z.ZodSafeParseResult<{
898
- id: number;
899
- order_id: number;
900
- shipping_method: string;
901
- }>;
902
- parseAsync: (data: unknown, params?: z.core.ParseContext<z.core.$ZodIssue>) => Promise<{
903
- id: number;
904
- order_id: number;
905
- shipping_method: string;
906
- }>;
907
- safeParseAsync: (data: unknown, params?: z.core.ParseContext<z.core.$ZodIssue>) => Promise<z.ZodSafeParseResult<{
908
- id: number;
909
- order_id: number;
910
- shipping_method: string;
911
- }>>;
912
- spa: (data: unknown, params?: z.core.ParseContext<z.core.$ZodIssue>) => Promise<z.ZodSafeParseResult<{
913
- id: number;
914
- order_id: number;
915
- shipping_method: string;
916
- }>>;
917
- encode: (data: {
918
- id: number;
919
- order_id: number;
920
- shipping_method: string;
921
- }, params?: z.core.ParseContext<z.core.$ZodIssue>) => {
922
- id: number;
923
- order_id: number;
924
- shipping_method: string;
925
- };
926
- decode: (data: {
927
- id: number;
928
- order_id: number;
929
- shipping_method: string;
930
- }, params?: z.core.ParseContext<z.core.$ZodIssue>) => {
931
- id: number;
932
- order_id: number;
933
- shipping_method: string;
934
- };
935
- encodeAsync: (data: {
936
- id: number;
937
- order_id: number;
938
- shipping_method: string;
939
- }, params?: z.core.ParseContext<z.core.$ZodIssue>) => Promise<{
940
- id: number;
941
- order_id: number;
942
- shipping_method: string;
943
- }>;
944
- decodeAsync: (data: {
945
- id: number;
946
- order_id: number;
947
- shipping_method: string;
948
- }, params?: z.core.ParseContext<z.core.$ZodIssue>) => Promise<{
949
- id: number;
950
- order_id: number;
951
- shipping_method: string;
952
- }>;
953
- safeEncode: (data: {
954
- id: number;
955
- order_id: number;
956
- shipping_method: string;
957
- }, params?: z.core.ParseContext<z.core.$ZodIssue>) => z.ZodSafeParseResult<{
958
- id: number;
959
- order_id: number;
960
- shipping_method: string;
961
- }>;
962
- safeDecode: (data: {
963
- id: number;
964
- order_id: number;
965
- shipping_method: string;
966
- }, params?: z.core.ParseContext<z.core.$ZodIssue>) => z.ZodSafeParseResult<{
967
- id: number;
968
- order_id: number;
969
- shipping_method: string;
970
- }>;
971
- safeEncodeAsync: (data: {
972
- id: number;
973
- order_id: number;
974
- shipping_method: string;
975
- }, params?: z.core.ParseContext<z.core.$ZodIssue>) => Promise<z.ZodSafeParseResult<{
976
- id: number;
977
- order_id: number;
978
- shipping_method: string;
979
- }>>;
980
- safeDecodeAsync: (data: {
981
- id: number;
982
- order_id: number;
983
- shipping_method: string;
984
- }, params?: z.core.ParseContext<z.core.$ZodIssue>) => Promise<z.ZodSafeParseResult<{
985
- id: number;
986
- order_id: number;
987
- shipping_method: string;
988
- }>>;
989
- refine: <Ch extends (arg: {
990
- id: number;
991
- order_id: number;
992
- shipping_method: string;
993
- }) => unknown | Promise<unknown>>(check: Ch, params?: string | {
994
- abort?: boolean | undefined | undefined;
995
- when?: ((payload: z.core.ParsePayload) => boolean) | undefined | undefined;
996
- path?: PropertyKey[] | undefined | undefined;
997
- params?: Record<string, any> | undefined;
998
- error?: string | z.core.$ZodErrorMap<NonNullable<z.core.$ZodIssue>> | undefined;
999
- message?: string | undefined | undefined;
1000
- } | undefined) => Ch extends (arg: any) => arg is infer R ? {
1001
- first_name: z.ZodString;
1002
- last_name: z.ZodString;
1003
- company: z.ZodString;
1004
- street_1: z.ZodString;
1005
- street_2: z.ZodString;
1006
- city: z.ZodString;
1007
- state: z.ZodString;
1008
- zip: z.ZodString;
1009
- country: z.ZodString;
1010
- country_iso2: z.ZodString;
1011
- phone: z.ZodString;
1012
- email: z.ZodString;
1013
- form_fields: z.ZodArray<z.ZodObject<{
1014
- name: z.ZodString;
1015
- value: z.ZodString;
1016
- }, z.core.$strip>>;
1017
- } & z.ZodObject<{
1018
- id: z.ZodInt;
1019
- order_id: z.ZodInt;
1020
- shipping_method: z.ZodString;
1021
- }, z.core.$strip> & z.ZodType<R, {
1022
- id: number;
1023
- order_id: number;
1024
- shipping_method: string;
1025
- }, z.core.$ZodTypeInternals<R, {
1026
- id: number;
1027
- order_id: number;
1028
- shipping_method: string;
1029
- }>> : {
1030
- first_name: z.ZodString;
1031
- last_name: z.ZodString;
1032
- company: z.ZodString;
1033
- street_1: z.ZodString;
1034
- street_2: z.ZodString;
1035
- city: z.ZodString;
1036
- state: z.ZodString;
1037
- zip: z.ZodString;
1038
- country: z.ZodString;
1039
- country_iso2: z.ZodString;
1040
- phone: z.ZodString;
1041
- email: z.ZodString;
1042
- form_fields: z.ZodArray<z.ZodObject<{
1043
- name: z.ZodString;
1044
- value: z.ZodString;
1045
- }, z.core.$strip>>;
1046
- } & z.ZodObject<{
1047
- id: z.ZodInt;
1048
- order_id: z.ZodInt;
1049
- shipping_method: z.ZodString;
1050
- }, z.core.$strip>;
1051
- superRefine: (refinement: (arg: {
1052
- id: number;
1053
- order_id: number;
1054
- shipping_method: string;
1055
- }, ctx: z.core.$RefinementCtx<{
1056
- id: number;
1057
- order_id: number;
1058
- shipping_method: string;
1059
- }>) => void | Promise<void>) => {
1060
- first_name: z.ZodString;
1061
- last_name: z.ZodString;
1062
- company: z.ZodString;
1063
- street_1: z.ZodString;
1064
- street_2: z.ZodString;
1065
- city: z.ZodString;
1066
- state: z.ZodString;
1067
- zip: z.ZodString;
1068
- country: z.ZodString;
1069
- country_iso2: z.ZodString;
1070
- phone: z.ZodString;
1071
- email: z.ZodString;
1072
- form_fields: z.ZodArray<z.ZodObject<{
1073
- name: z.ZodString;
1074
- value: z.ZodString;
1075
- }, z.core.$strip>>;
1076
- } & z.ZodObject<{
1077
- id: z.ZodInt;
1078
- order_id: z.ZodInt;
1079
- shipping_method: z.ZodString;
1080
- }, z.core.$strip>;
1081
- overwrite: (fn: (x: {
1082
- id: number;
1083
- order_id: number;
1084
- shipping_method: string;
1085
- }) => {
1086
- id: number;
1087
- order_id: number;
1088
- shipping_method: string;
1089
- }) => {
1090
- first_name: z.ZodString;
1091
- last_name: z.ZodString;
1092
- company: z.ZodString;
1093
- street_1: z.ZodString;
1094
- street_2: z.ZodString;
1095
- city: z.ZodString;
1096
- state: z.ZodString;
1097
- zip: z.ZodString;
1098
- country: z.ZodString;
1099
- country_iso2: z.ZodString;
1100
- phone: z.ZodString;
1101
- email: z.ZodString;
1102
- form_fields: z.ZodArray<z.ZodObject<{
1103
- name: z.ZodString;
1104
- value: z.ZodString;
1105
- }, z.core.$strip>>;
1106
- } & z.ZodObject<{
1107
- id: z.ZodInt;
1108
- order_id: z.ZodInt;
1109
- shipping_method: z.ZodString;
1110
- }, z.core.$strip>;
1111
- optional: () => z.ZodOptional<{
1112
- first_name: z.ZodString;
1113
- last_name: z.ZodString;
1114
- company: z.ZodString;
1115
- street_1: z.ZodString;
1116
- street_2: z.ZodString;
1117
- city: z.ZodString;
1118
- state: z.ZodString;
1119
- zip: z.ZodString;
1120
- country: z.ZodString;
1121
- country_iso2: z.ZodString;
1122
- phone: z.ZodString;
1123
- email: z.ZodString;
1124
- form_fields: z.ZodArray<z.ZodObject<{
1125
- name: z.ZodString;
1126
- value: z.ZodString;
1127
- }, z.core.$strip>>;
1128
- } & z.ZodObject<{
1129
- id: z.ZodInt;
1130
- order_id: z.ZodInt;
1131
- shipping_method: z.ZodString;
1132
- }, z.core.$strip>>;
1133
- exactOptional: () => z.ZodExactOptional<{
1134
- first_name: z.ZodString;
1135
- last_name: z.ZodString;
1136
- company: z.ZodString;
1137
- street_1: z.ZodString;
1138
- street_2: z.ZodString;
1139
- city: z.ZodString;
1140
- state: z.ZodString;
1141
- zip: z.ZodString;
1142
- country: z.ZodString;
1143
- country_iso2: z.ZodString;
1144
- phone: z.ZodString;
1145
- email: z.ZodString;
1146
- form_fields: z.ZodArray<z.ZodObject<{
1147
- name: z.ZodString;
1148
- value: z.ZodString;
1149
- }, z.core.$strip>>;
1150
- } & z.ZodObject<{
1151
- id: z.ZodInt;
1152
- order_id: z.ZodInt;
1153
- shipping_method: z.ZodString;
1154
- }, z.core.$strip>>;
1155
- nonoptional: (params?: string | z.core.$ZodNonOptionalParams) => z.ZodNonOptional<{
1156
- first_name: z.ZodString;
1157
- last_name: z.ZodString;
1158
- company: z.ZodString;
1159
- street_1: z.ZodString;
1160
- street_2: z.ZodString;
1161
- city: z.ZodString;
1162
- state: z.ZodString;
1163
- zip: z.ZodString;
1164
- country: z.ZodString;
1165
- country_iso2: z.ZodString;
1166
- phone: z.ZodString;
1167
- email: z.ZodString;
1168
- form_fields: z.ZodArray<z.ZodObject<{
1169
- name: z.ZodString;
1170
- value: z.ZodString;
1171
- }, z.core.$strip>>;
1172
- } & z.ZodObject<{
1173
- id: z.ZodInt;
1174
- order_id: z.ZodInt;
1175
- shipping_method: z.ZodString;
1176
- }, z.core.$strip>>;
1177
- nullable: () => z.ZodNullable<{
1178
- first_name: z.ZodString;
1179
- last_name: z.ZodString;
1180
- company: z.ZodString;
1181
- street_1: z.ZodString;
1182
- street_2: z.ZodString;
1183
- city: z.ZodString;
1184
- state: z.ZodString;
1185
- zip: z.ZodString;
1186
- country: z.ZodString;
1187
- country_iso2: z.ZodString;
1188
- phone: z.ZodString;
1189
- email: z.ZodString;
1190
- form_fields: z.ZodArray<z.ZodObject<{
1191
- name: z.ZodString;
1192
- value: z.ZodString;
1193
- }, z.core.$strip>>;
1194
- } & z.ZodObject<{
1195
- id: z.ZodInt;
1196
- order_id: z.ZodInt;
1197
- shipping_method: z.ZodString;
1198
- }, z.core.$strip>>;
1199
- nullish: () => z.ZodOptional<z.ZodNullable<{
1200
- first_name: z.ZodString;
1201
- last_name: z.ZodString;
1202
- company: z.ZodString;
1203
- street_1: z.ZodString;
1204
- street_2: z.ZodString;
1205
- city: z.ZodString;
1206
- state: z.ZodString;
1207
- zip: z.ZodString;
1208
- country: z.ZodString;
1209
- country_iso2: z.ZodString;
1210
- phone: z.ZodString;
1211
- email: z.ZodString;
1212
- form_fields: z.ZodArray<z.ZodObject<{
1213
- name: z.ZodString;
1214
- value: z.ZodString;
1215
- }, z.core.$strip>>;
1216
- } & z.ZodObject<{
1217
- id: z.ZodInt;
1218
- order_id: z.ZodInt;
1219
- shipping_method: z.ZodString;
1220
- }, z.core.$strip>>>;
1221
- default: {
1222
- (def: {
1223
- id: number;
1224
- order_id: number;
1225
- shipping_method: string;
1226
- }): z.ZodDefault<{
1227
- first_name: z.ZodString;
1228
- last_name: z.ZodString;
1229
- company: z.ZodString;
1230
- street_1: z.ZodString;
1231
- street_2: z.ZodString;
1232
- city: z.ZodString;
1233
- state: z.ZodString;
1234
- zip: z.ZodString;
1235
- country: z.ZodString;
1236
- country_iso2: z.ZodString;
1237
- phone: z.ZodString;
1238
- email: z.ZodString;
1239
- form_fields: z.ZodArray<z.ZodObject<{
1240
- name: z.ZodString;
1241
- value: z.ZodString;
1242
- }, z.core.$strip>>;
1243
- } & z.ZodObject<{
1244
- id: z.ZodInt;
1245
- order_id: z.ZodInt;
1246
- shipping_method: z.ZodString;
1247
- }, z.core.$strip>>;
1248
- (def: () => {
1249
- id: number;
1250
- order_id: number;
1251
- shipping_method: string;
1252
- }): z.ZodDefault<{
1253
- first_name: z.ZodString;
1254
- last_name: z.ZodString;
1255
- company: z.ZodString;
1256
- street_1: z.ZodString;
1257
- street_2: z.ZodString;
1258
- city: z.ZodString;
1259
- state: z.ZodString;
1260
- zip: z.ZodString;
1261
- country: z.ZodString;
1262
- country_iso2: z.ZodString;
1263
- phone: z.ZodString;
1264
- email: z.ZodString;
1265
- form_fields: z.ZodArray<z.ZodObject<{
1266
- name: z.ZodString;
1267
- value: z.ZodString;
1268
- }, z.core.$strip>>;
1269
- } & z.ZodObject<{
1270
- id: z.ZodInt;
1271
- order_id: z.ZodInt;
1272
- shipping_method: z.ZodString;
1273
- }, z.core.$strip>>;
1274
- };
1275
- prefault: {
1276
- (def: () => {
1277
- id: number;
1278
- order_id: number;
1279
- shipping_method: string;
1280
- }): z.ZodPrefault<{
1281
- first_name: z.ZodString;
1282
- last_name: z.ZodString;
1283
- company: z.ZodString;
1284
- street_1: z.ZodString;
1285
- street_2: z.ZodString;
1286
- city: z.ZodString;
1287
- state: z.ZodString;
1288
- zip: z.ZodString;
1289
- country: z.ZodString;
1290
- country_iso2: z.ZodString;
1291
- phone: z.ZodString;
1292
- email: z.ZodString;
1293
- form_fields: z.ZodArray<z.ZodObject<{
1294
- name: z.ZodString;
1295
- value: z.ZodString;
1296
- }, z.core.$strip>>;
1297
- } & z.ZodObject<{
1298
- id: z.ZodInt;
1299
- order_id: z.ZodInt;
1300
- shipping_method: z.ZodString;
1301
- }, z.core.$strip>>;
1302
- (def: {
1303
- id: number;
1304
- order_id: number;
1305
- shipping_method: string;
1306
- }): z.ZodPrefault<{
1307
- first_name: z.ZodString;
1308
- last_name: z.ZodString;
1309
- company: z.ZodString;
1310
- street_1: z.ZodString;
1311
- street_2: z.ZodString;
1312
- city: z.ZodString;
1313
- state: z.ZodString;
1314
- zip: z.ZodString;
1315
- country: z.ZodString;
1316
- country_iso2: z.ZodString;
1317
- phone: z.ZodString;
1318
- email: z.ZodString;
1319
- form_fields: z.ZodArray<z.ZodObject<{
1320
- name: z.ZodString;
1321
- value: z.ZodString;
1322
- }, z.core.$strip>>;
1323
- } & z.ZodObject<{
1324
- id: z.ZodInt;
1325
- order_id: z.ZodInt;
1326
- shipping_method: z.ZodString;
1327
- }, z.core.$strip>>;
1328
- };
1329
- array: () => z.ZodArray<{
1330
- first_name: z.ZodString;
1331
- last_name: z.ZodString;
1332
- company: z.ZodString;
1333
- street_1: z.ZodString;
1334
- street_2: z.ZodString;
1335
- city: z.ZodString;
1336
- state: z.ZodString;
1337
- zip: z.ZodString;
1338
- country: z.ZodString;
1339
- country_iso2: z.ZodString;
1340
- phone: z.ZodString;
1341
- email: z.ZodString;
1342
- form_fields: z.ZodArray<z.ZodObject<{
1343
- name: z.ZodString;
1344
- value: z.ZodString;
1345
- }, z.core.$strip>>;
1346
- } & z.ZodObject<{
1347
- id: z.ZodInt;
1348
- order_id: z.ZodInt;
1349
- shipping_method: z.ZodString;
1350
- }, z.core.$strip>>;
1351
- or: <T extends z.core.SomeType>(option: T) => z.ZodUnion<[{
1352
- first_name: z.ZodString;
1353
- last_name: z.ZodString;
1354
- company: z.ZodString;
1355
- street_1: z.ZodString;
1356
- street_2: z.ZodString;
1357
- city: z.ZodString;
1358
- state: z.ZodString;
1359
- zip: z.ZodString;
1360
- country: z.ZodString;
1361
- country_iso2: z.ZodString;
1362
- phone: z.ZodString;
1363
- email: z.ZodString;
1364
- form_fields: z.ZodArray<z.ZodObject<{
1365
- name: z.ZodString;
1366
- value: z.ZodString;
1367
- }, z.core.$strip>>;
1368
- } & z.ZodObject<{
1369
- id: z.ZodInt;
1370
- order_id: z.ZodInt;
1371
- shipping_method: z.ZodString;
1372
- }, z.core.$strip>, T]>;
1373
- and: <T extends z.core.SomeType>(incoming: T) => z.ZodIntersection<{
1374
- first_name: z.ZodString;
1375
- last_name: z.ZodString;
1376
- company: z.ZodString;
1377
- street_1: z.ZodString;
1378
- street_2: z.ZodString;
1379
- city: z.ZodString;
1380
- state: z.ZodString;
1381
- zip: z.ZodString;
1382
- country: z.ZodString;
1383
- country_iso2: z.ZodString;
1384
- phone: z.ZodString;
1385
- email: z.ZodString;
1386
- form_fields: z.ZodArray<z.ZodObject<{
1387
- name: z.ZodString;
1388
- value: z.ZodString;
1389
- }, z.core.$strip>>;
1390
- } & z.ZodObject<{
1391
- id: z.ZodInt;
1392
- order_id: z.ZodInt;
1393
- shipping_method: z.ZodString;
1394
- }, z.core.$strip>, T>;
1395
- transform: <NewOut>(transform: (arg: {
1396
- id: number;
1397
- order_id: number;
1398
- shipping_method: string;
1399
- }, ctx: z.core.$RefinementCtx<{
1400
- id: number;
1401
- order_id: number;
1402
- shipping_method: string;
1403
- }>) => NewOut | Promise<NewOut>) => z.ZodPipe<{
1404
- first_name: z.ZodString;
1405
- last_name: z.ZodString;
1406
- company: z.ZodString;
1407
- street_1: z.ZodString;
1408
- street_2: z.ZodString;
1409
- city: z.ZodString;
1410
- state: z.ZodString;
1411
- zip: z.ZodString;
1412
- country: z.ZodString;
1413
- country_iso2: z.ZodString;
1414
- phone: z.ZodString;
1415
- email: z.ZodString;
1416
- form_fields: z.ZodArray<z.ZodObject<{
1417
- name: z.ZodString;
1418
- value: z.ZodString;
1419
- }, z.core.$strip>>;
1420
- } & z.ZodObject<{
1421
- id: z.ZodInt;
1422
- order_id: z.ZodInt;
1423
- shipping_method: z.ZodString;
1424
- }, z.core.$strip>, z.ZodTransform<Awaited<NewOut>, {
1425
- id: number;
1426
- order_id: number;
1427
- shipping_method: string;
1428
- }>>;
1429
- catch: {
1430
- (def: {
1431
- id: number;
1432
- order_id: number;
1433
- shipping_method: string;
1434
- }): z.ZodCatch<{
1435
- first_name: z.ZodString;
1436
- last_name: z.ZodString;
1437
- company: z.ZodString;
1438
- street_1: z.ZodString;
1439
- street_2: z.ZodString;
1440
- city: z.ZodString;
1441
- state: z.ZodString;
1442
- zip: z.ZodString;
1443
- country: z.ZodString;
1444
- country_iso2: z.ZodString;
1445
- phone: z.ZodString;
1446
- email: z.ZodString;
1447
- form_fields: z.ZodArray<z.ZodObject<{
1448
- name: z.ZodString;
1449
- value: z.ZodString;
1450
- }, z.core.$strip>>;
1451
- } & z.ZodObject<{
1452
- id: z.ZodInt;
1453
- order_id: z.ZodInt;
1454
- shipping_method: z.ZodString;
1455
- }, z.core.$strip>>;
1456
- (def: (ctx: z.core.$ZodCatchCtx) => {
1457
- id: number;
1458
- order_id: number;
1459
- shipping_method: string;
1460
- }): z.ZodCatch<{
1461
- first_name: z.ZodString;
1462
- last_name: z.ZodString;
1463
- company: z.ZodString;
1464
- street_1: z.ZodString;
1465
- street_2: z.ZodString;
1466
- city: z.ZodString;
1467
- state: z.ZodString;
1468
- zip: z.ZodString;
1469
- country: z.ZodString;
1470
- country_iso2: z.ZodString;
1471
- phone: z.ZodString;
1472
- email: z.ZodString;
1473
- form_fields: z.ZodArray<z.ZodObject<{
1474
- name: z.ZodString;
1475
- value: z.ZodString;
1476
- }, z.core.$strip>>;
1477
- } & z.ZodObject<{
1478
- id: z.ZodInt;
1479
- order_id: z.ZodInt;
1480
- shipping_method: z.ZodString;
1481
- }, z.core.$strip>>;
1482
- };
1483
- pipe: <T extends z.core.$ZodType<any, {
1484
- id: number;
1485
- order_id: number;
1486
- shipping_method: string;
1487
- }, z.core.$ZodTypeInternals<any, {
1488
- id: number;
1489
- order_id: number;
1490
- shipping_method: string;
1491
- }>>>(target: T | z.core.$ZodType<any, {
1492
- id: number;
1493
- order_id: number;
1494
- shipping_method: string;
1495
- }, z.core.$ZodTypeInternals<any, {
1496
- id: number;
1497
- order_id: number;
1498
- shipping_method: string;
1499
- }>>) => z.ZodPipe<{
1500
- first_name: z.ZodString;
1501
- last_name: z.ZodString;
1502
- company: z.ZodString;
1503
- street_1: z.ZodString;
1504
- street_2: z.ZodString;
1505
- city: z.ZodString;
1506
- state: z.ZodString;
1507
- zip: z.ZodString;
1508
- country: z.ZodString;
1509
- country_iso2: z.ZodString;
1510
- phone: z.ZodString;
1511
- email: z.ZodString;
1512
- form_fields: z.ZodArray<z.ZodObject<{
1513
- name: z.ZodString;
1514
- value: z.ZodString;
1515
- }, z.core.$strip>>;
1516
- } & z.ZodObject<{
1517
- id: z.ZodInt;
1518
- order_id: z.ZodInt;
1519
- shipping_method: z.ZodString;
1520
- }, z.core.$strip>, T>;
1521
- readonly: () => z.ZodReadonly<{
1522
- first_name: z.ZodString;
1523
- last_name: z.ZodString;
1524
- company: z.ZodString;
1525
- street_1: z.ZodString;
1526
- street_2: z.ZodString;
1527
- city: z.ZodString;
1528
- state: z.ZodString;
1529
- zip: z.ZodString;
1530
- country: z.ZodString;
1531
- country_iso2: z.ZodString;
1532
- phone: z.ZodString;
1533
- email: z.ZodString;
1534
- form_fields: z.ZodArray<z.ZodObject<{
1535
- name: z.ZodString;
1536
- value: z.ZodString;
1537
- }, z.core.$strip>>;
1538
- } & z.ZodObject<{
1539
- id: z.ZodInt;
1540
- order_id: z.ZodInt;
1541
- shipping_method: z.ZodString;
1542
- }, z.core.$strip>>;
1543
- describe: (description: string) => {
1544
- first_name: z.ZodString;
1545
- last_name: z.ZodString;
1546
- company: z.ZodString;
1547
- street_1: z.ZodString;
1548
- street_2: z.ZodString;
1549
- city: z.ZodString;
1550
- state: z.ZodString;
1551
- zip: z.ZodString;
1552
- country: z.ZodString;
1553
- country_iso2: z.ZodString;
1554
- phone: z.ZodString;
1555
- email: z.ZodString;
1556
- form_fields: z.ZodArray<z.ZodObject<{
1557
- name: z.ZodString;
1558
- value: z.ZodString;
1559
- }, z.core.$strip>>;
1560
- } & z.ZodObject<{
1561
- id: z.ZodInt;
1562
- order_id: z.ZodInt;
1563
- shipping_method: z.ZodString;
1564
- }, z.core.$strip>;
1565
- description?: string;
1566
- meta: {
1567
- (): {
1568
- [x: string]: unknown;
1569
- id?: string | undefined | undefined;
1570
- title?: string | undefined | undefined;
1571
- description?: string | undefined | undefined;
1572
- deprecated?: boolean | undefined | undefined;
1573
- } | undefined;
1574
- (data: {
1575
- [x: string]: unknown;
1576
- id?: string | undefined | undefined;
1577
- title?: string | undefined | undefined;
1578
- description?: string | undefined | undefined;
1579
- deprecated?: boolean | undefined | undefined;
1580
- }): {
1581
- first_name: z.ZodString;
1582
- last_name: z.ZodString;
1583
- company: z.ZodString;
1584
- street_1: z.ZodString;
1585
- street_2: z.ZodString;
1586
- city: z.ZodString;
1587
- state: z.ZodString;
1588
- zip: z.ZodString;
1589
- country: z.ZodString;
1590
- country_iso2: z.ZodString;
1591
- phone: z.ZodString;
1592
- email: z.ZodString;
1593
- form_fields: z.ZodArray<z.ZodObject<{
1594
- name: z.ZodString;
1595
- value: z.ZodString;
1596
- }, z.core.$strip>>;
1597
- } & z.ZodObject<{
1598
- id: z.ZodInt;
1599
- order_id: z.ZodInt;
1600
- shipping_method: z.ZodString;
1601
- }, z.core.$strip>;
1602
- };
1603
- isOptional: () => boolean;
1604
- isNullable: () => boolean;
1605
- apply: <T>(fn: (schema: {
1606
- first_name: z.ZodString;
1607
- last_name: z.ZodString;
1608
- company: z.ZodString;
1609
- street_1: z.ZodString;
1610
- street_2: z.ZodString;
1611
- city: z.ZodString;
1612
- state: z.ZodString;
1613
- zip: z.ZodString;
1614
- country: z.ZodString;
1615
- country_iso2: z.ZodString;
1616
- phone: z.ZodString;
1617
- email: z.ZodString;
1618
- form_fields: z.ZodArray<z.ZodObject<{
1619
- name: z.ZodString;
1620
- value: z.ZodString;
1621
- }, z.core.$strip>>;
1622
- } & z.ZodObject<{
1623
- id: z.ZodInt;
1624
- order_id: z.ZodInt;
1625
- shipping_method: z.ZodString;
1626
- }, z.core.$strip>) => T) => T;
1627
- _zod: z.core.$ZodObjectInternals<{
1628
- id: z.ZodInt;
1629
- order_id: z.ZodInt;
1630
- shipping_method: z.ZodString;
1631
- }, z.core.$strip>;
382
+ id: z.ZodInt;
383
+ order_id: z.ZodInt;
384
+ shipping_method: z.ZodString;
1632
385
  }, z.core.$strip>;
1633
386
  type OrderShippingAddress = z.output<typeof OrderShippingAddressSchema>;
1634
387