@be-logixpair/api 0.0.5 → 0.0.7

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +1780 -1088
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -233,987 +233,294 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
233
233
  output: string;
234
234
  meta: object;
235
235
  }>;
236
- locations: import("@trpc/server").TRPCBuiltRouter<{
236
+ settings: import("@trpc/server").TRPCBuiltRouter<{
237
237
  ctx: Context$1;
238
238
  meta: object;
239
239
  errorShape: import("@trpc/server").TRPCDefaultErrorShape;
240
240
  transformer: false;
241
241
  }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
242
- unLocodes: import("@trpc/server").TRPCBuiltRouter<{
242
+ references: import("@trpc/server").TRPCBuiltRouter<{
243
243
  ctx: Context$1;
244
244
  meta: object;
245
245
  errorShape: import("@trpc/server").TRPCDefaultErrorShape;
246
246
  transformer: false;
247
247
  }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
248
- get: import("@trpc/server").TRPCMutationProcedure<{
249
- input: {
250
- search?: string | null | undefined;
251
- take?: number | null | undefined;
252
- skip?: number | null | undefined;
253
- is_active?: boolean[] | null | undefined;
254
- ids_include?: number[] | null | undefined;
255
- ids_exclude?: number[] | null | undefined;
256
- ids_string_include?: string[] | null | undefined;
257
- ids_string_exclude?: string[] | null | undefined;
258
- logic_codes_include?: string[] | null | undefined;
259
- logic_codes_exclude?: string[] | null | undefined;
260
- };
261
- output: {
262
- data: {
263
- id: number;
264
- is_active: boolean | null;
265
- id_country: number | null;
266
- id_state: number | null;
267
- created_at: Date | null;
268
- created_by: string | null;
269
- updated_at: Date | null;
270
- updated_by: string | null;
271
- logic_code: string | null;
272
- id_city: number | null;
273
- un_code: string | null;
274
- iata_code: string | null;
275
- iata_region_code: string | null;
276
- latitude: Decimal | null;
277
- longitude: Decimal | null;
278
- port_name: string | null;
279
- proper_name: string | null;
280
- is_system: boolean | null;
281
- is_system_updatable: boolean | null;
282
- has_post: boolean | null;
283
- has_customs: boolean | null;
284
- has_unload: boolean | null;
285
- has_airport: boolean | null;
286
- has_railway: boolean | null;
287
- has_road: boolean | null;
288
- has_store: boolean | null;
289
- has_terminal: boolean | null;
290
- has_discharge: boolean | null;
291
- has_seaport: boolean | null;
292
- has_outport: boolean | null;
293
- }[] | undefined;
294
- total: number | undefined;
295
- };
296
- meta: object;
297
- }>;
298
- getDetail: import("@trpc/server").TRPCMutationProcedure<{
299
- input: {
300
- id?: number | null | undefined;
301
- id_string?: string | null | undefined;
302
- };
303
- output: {
304
- data: {
305
- id: number;
306
- is_active: boolean | null;
307
- id_country: number | null;
308
- id_state: number | null;
309
- created_at: Date | null;
310
- created_by: string | null;
311
- updated_at: Date | null;
312
- updated_by: string | null;
313
- logic_code: string | null;
314
- id_city: number | null;
315
- un_code: string | null;
316
- iata_code: string | null;
317
- iata_region_code: string | null;
318
- latitude: Decimal | null;
319
- longitude: Decimal | null;
320
- port_name: string | null;
321
- proper_name: string | null;
322
- is_system: boolean | null;
323
- is_system_updatable: boolean | null;
324
- has_post: boolean | null;
325
- has_customs: boolean | null;
326
- has_unload: boolean | null;
327
- has_airport: boolean | null;
328
- has_railway: boolean | null;
329
- has_road: boolean | null;
330
- has_store: boolean | null;
331
- has_terminal: boolean | null;
332
- has_discharge: boolean | null;
333
- has_seaport: boolean | null;
334
- has_outport: boolean | null;
335
- } | undefined;
336
- };
337
- meta: object;
338
- }>;
339
- create: import("@trpc/server").TRPCMutationProcedure<{
340
- input: {
341
- is_active?: boolean | undefined;
342
- id_country?: number | null | undefined;
343
- id_state?: number | null | undefined;
344
- id_city?: number | null | undefined;
345
- logic_code?: string | null | undefined;
346
- un_code?: string | null | undefined;
347
- iata_code?: string | null | undefined;
348
- iata_region_code?: string | null | undefined;
349
- latitude?: string | null | undefined;
350
- longitude?: string | null | undefined;
351
- port_name?: string | null | undefined;
352
- proper_name?: string | null | undefined;
353
- is_system?: boolean | null | undefined;
354
- is_system_updatable?: boolean | null | undefined;
355
- has_post?: boolean | null | undefined;
356
- has_customs?: boolean | null | undefined;
357
- has_unload?: boolean | null | undefined;
358
- has_airport?: boolean | null | undefined;
359
- has_railway?: boolean | null | undefined;
360
- has_road?: boolean | null | undefined;
361
- has_store?: boolean | null | undefined;
362
- has_terminal?: boolean | null | undefined;
363
- has_discharge?: boolean | null | undefined;
364
- has_seaport?: boolean | null | undefined;
365
- has_outport?: boolean | null | undefined;
366
- };
367
- output: {
368
- data: {
369
- id: number;
370
- is_active: boolean | null;
371
- id_country: number | null;
372
- id_state: number | null;
373
- created_at: Date | null;
374
- created_by: string | null;
375
- updated_at: Date | null;
376
- updated_by: string | null;
377
- logic_code: string | null;
378
- id_city: number | null;
379
- un_code: string | null;
380
- iata_code: string | null;
381
- iata_region_code: string | null;
382
- latitude: Decimal | null;
383
- longitude: Decimal | null;
384
- port_name: string | null;
385
- proper_name: string | null;
386
- is_system: boolean | null;
387
- is_system_updatable: boolean | null;
388
- has_post: boolean | null;
389
- has_customs: boolean | null;
390
- has_unload: boolean | null;
391
- has_airport: boolean | null;
392
- has_railway: boolean | null;
393
- has_road: boolean | null;
394
- has_store: boolean | null;
395
- has_terminal: boolean | null;
396
- has_discharge: boolean | null;
397
- has_seaport: boolean | null;
398
- has_outport: boolean | null;
399
- } | undefined;
400
- log: {
401
- id: number;
402
- url: string | null;
403
- id_log_type: number | null;
404
- action: string | null;
405
- params: JsonValue | null;
406
- action_by: string | null;
407
- action_id: string | null;
408
- action_at: Date | null;
409
- id_un_locode: number | null;
410
- } | undefined;
411
- };
412
- meta: object;
413
- }>;
414
- update: import("@trpc/server").TRPCMutationProcedure<{
415
- input: {
416
- id?: number | null | undefined;
417
- id_string?: string | null | undefined;
418
- is_active?: boolean | undefined;
419
- id_country?: number | null | undefined;
420
- id_state?: number | null | undefined;
421
- id_city?: number | null | undefined;
422
- logic_code?: string | null | undefined;
423
- un_code?: string | null | undefined;
424
- iata_code?: string | null | undefined;
425
- iata_region_code?: string | null | undefined;
426
- latitude?: string | null | undefined;
427
- longitude?: string | null | undefined;
428
- port_name?: string | null | undefined;
429
- proper_name?: string | null | undefined;
430
- is_system?: boolean | null | undefined;
431
- is_system_updatable?: boolean | null | undefined;
432
- has_post?: boolean | null | undefined;
433
- has_customs?: boolean | null | undefined;
434
- has_unload?: boolean | null | undefined;
435
- has_airport?: boolean | null | undefined;
436
- has_railway?: boolean | null | undefined;
437
- has_road?: boolean | null | undefined;
438
- has_store?: boolean | null | undefined;
439
- has_terminal?: boolean | null | undefined;
440
- has_discharge?: boolean | null | undefined;
441
- has_seaport?: boolean | null | undefined;
442
- has_outport?: boolean | null | undefined;
443
- };
444
- output: {
445
- data: {
446
- id: number;
447
- is_active: boolean | null;
448
- id_country: number | null;
449
- id_state: number | null;
450
- created_at: Date | null;
451
- created_by: string | null;
452
- updated_at: Date | null;
453
- updated_by: string | null;
454
- logic_code: string | null;
455
- id_city: number | null;
456
- un_code: string | null;
457
- iata_code: string | null;
458
- iata_region_code: string | null;
459
- latitude: Decimal | null;
460
- longitude: Decimal | null;
461
- port_name: string | null;
462
- proper_name: string | null;
463
- is_system: boolean | null;
464
- is_system_updatable: boolean | null;
465
- has_post: boolean | null;
466
- has_customs: boolean | null;
467
- has_unload: boolean | null;
468
- has_airport: boolean | null;
469
- has_railway: boolean | null;
470
- has_road: boolean | null;
471
- has_store: boolean | null;
472
- has_terminal: boolean | null;
473
- has_discharge: boolean | null;
474
- has_seaport: boolean | null;
475
- has_outport: boolean | null;
476
- } | undefined;
477
- log: {
478
- id: number;
479
- url: string | null;
480
- id_log_type: number | null;
481
- action: string | null;
482
- params: JsonValue | null;
483
- action_by: string | null;
484
- action_id: string | null;
485
- action_at: Date | null;
486
- id_un_locode: number | null;
487
- } | undefined;
488
- };
489
- meta: object;
490
- }>;
491
- delete: import("@trpc/server").TRPCMutationProcedure<{
492
- input: {
493
- id?: number | null | undefined;
494
- ids?: number[] | null | undefined;
495
- id_string?: string | null | undefined;
496
- ids_string?: string[] | null | undefined;
497
- };
498
- output: {
499
- data: ({
500
- id: number;
501
- is_active: boolean | null;
502
- id_country: number | null;
503
- id_state: number | null;
504
- created_at: Date | null;
505
- created_by: string | null;
506
- updated_at: Date | null;
507
- updated_by: string | null;
508
- logic_code: string | null;
509
- id_city: number | null;
510
- un_code: string | null;
511
- iata_code: string | null;
512
- iata_region_code: string | null;
513
- latitude: Decimal | null;
514
- longitude: Decimal | null;
515
- port_name: string | null;
516
- proper_name: string | null;
517
- is_system: boolean | null;
518
- is_system_updatable: boolean | null;
519
- has_post: boolean | null;
520
- has_customs: boolean | null;
521
- has_unload: boolean | null;
522
- has_airport: boolean | null;
523
- has_railway: boolean | null;
524
- has_road: boolean | null;
525
- has_store: boolean | null;
526
- has_terminal: boolean | null;
527
- has_discharge: boolean | null;
528
- has_seaport: boolean | null;
529
- has_outport: boolean | null;
530
- } | undefined)[];
531
- };
532
- meta: object;
533
- }>;
534
- }>>;
535
- countries: import("@trpc/server").TRPCBuiltRouter<{
536
- ctx: Context$1;
537
- meta: object;
538
- errorShape: import("@trpc/server").TRPCDefaultErrorShape;
539
- transformer: false;
540
- }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
541
- get: import("@trpc/server").TRPCMutationProcedure<{
542
- input: {
543
- search?: string | null | undefined;
544
- take?: number | null | undefined;
545
- skip?: number | null | undefined;
546
- is_active?: boolean[] | null | undefined;
547
- ids_include?: number[] | null | undefined;
548
- ids_exclude?: number[] | null | undefined;
549
- ids_string_include?: string[] | null | undefined;
550
- ids_string_exclude?: string[] | null | undefined;
551
- logic_codes_include?: string[] | null | undefined;
552
- logic_codes_exclude?: string[] | null | undefined;
553
- };
554
- output: {
555
- data: {
556
- id: number;
557
- name: string | null;
558
- is_active: boolean | null;
559
- created_at: Date | null;
560
- created_by: string | null;
561
- updated_at: Date | null;
562
- updated_by: string | null;
563
- logic_code: string | null;
564
- id_currency: number | null;
565
- iso2_code: string | null;
566
- iso3_code: string | null;
567
- iso3_numeric: string | null;
568
- is_sanctioned: boolean | null;
569
- }[] | undefined;
570
- total: number | undefined;
571
- };
572
- meta: object;
573
- }>;
574
- getDetail: import("@trpc/server").TRPCMutationProcedure<{
575
- input: {
576
- id?: number | null | undefined;
577
- id_string?: string | null | undefined;
578
- };
579
- output: {
580
- data: {
581
- id: number;
582
- name: string | null;
583
- is_active: boolean | null;
584
- created_at: Date | null;
585
- created_by: string | null;
586
- updated_at: Date | null;
587
- updated_by: string | null;
588
- logic_code: string | null;
589
- id_currency: number | null;
590
- iso2_code: string | null;
591
- iso3_code: string | null;
592
- iso3_numeric: string | null;
593
- is_sanctioned: boolean | null;
594
- } | undefined;
595
- };
596
- meta: object;
597
- }>;
598
- create: import("@trpc/server").TRPCMutationProcedure<{
599
- input: {
600
- id_currency?: number | null | undefined;
601
- is_active?: boolean | undefined;
602
- name?: string | null | undefined;
603
- iso2_code?: string | null | undefined;
604
- iso3_code?: string | null | undefined;
605
- iso3_numeric?: string | null | undefined;
606
- is_sanctioned?: boolean | null | undefined;
607
- };
608
- output: {
609
- data: {
610
- id: number;
611
- name: string | null;
612
- is_active: boolean | null;
613
- created_at: Date | null;
614
- created_by: string | null;
615
- updated_at: Date | null;
616
- updated_by: string | null;
617
- logic_code: string | null;
618
- id_currency: number | null;
619
- iso2_code: string | null;
620
- iso3_code: string | null;
621
- iso3_numeric: string | null;
622
- is_sanctioned: boolean | null;
623
- } | undefined;
624
- log: {
625
- id: number;
626
- url: string | null;
627
- id_log_type: number | null;
628
- id_country: number | null;
629
- action: string | null;
630
- params: JsonValue | null;
631
- action_by: string | null;
632
- action_id: string | null;
633
- action_at: Date | null;
634
- } | undefined;
635
- };
636
- meta: object;
637
- }>;
638
- update: import("@trpc/server").TRPCMutationProcedure<{
639
- input: {
640
- id?: number | null | undefined;
641
- id_string?: string | null | undefined;
642
- id_currency?: number | null | undefined;
643
- is_active?: boolean | undefined;
644
- name?: string | null | undefined;
645
- iso2_code?: string | null | undefined;
646
- iso3_code?: string | null | undefined;
647
- iso3_numeric?: string | null | undefined;
648
- is_sanctioned?: boolean | null | undefined;
649
- };
650
- output: {
651
- data: {
652
- id: number;
653
- name: string | null;
654
- is_active: boolean | null;
655
- created_at: Date | null;
656
- created_by: string | null;
657
- updated_at: Date | null;
658
- updated_by: string | null;
659
- logic_code: string | null;
660
- id_currency: number | null;
661
- iso2_code: string | null;
662
- iso3_code: string | null;
663
- iso3_numeric: string | null;
664
- is_sanctioned: boolean | null;
665
- } | undefined;
666
- log: {
667
- id: number;
668
- url: string | null;
669
- id_log_type: number | null;
670
- id_country: number | null;
671
- action: string | null;
672
- params: JsonValue | null;
673
- action_by: string | null;
674
- action_id: string | null;
675
- action_at: Date | null;
676
- } | undefined;
677
- };
678
- meta: object;
679
- }>;
680
- delete: import("@trpc/server").TRPCMutationProcedure<{
681
- input: {
682
- id?: number | null | undefined;
683
- ids?: number[] | null | undefined;
684
- id_string?: string | null | undefined;
685
- ids_string?: string[] | null | undefined;
686
- };
687
- output: {
688
- data: ({
689
- id: number;
690
- name: string | null;
691
- is_active: boolean | null;
692
- created_at: Date | null;
693
- created_by: string | null;
694
- updated_at: Date | null;
695
- updated_by: string | null;
696
- logic_code: string | null;
697
- id_currency: number | null;
698
- iso2_code: string | null;
699
- iso3_code: string | null;
700
- iso3_numeric: string | null;
701
- is_sanctioned: boolean | null;
702
- } | undefined)[];
703
- };
704
- meta: object;
705
- }>;
706
- }>>;
707
- states: import("@trpc/server").TRPCBuiltRouter<{
708
- ctx: Context$1;
709
- meta: object;
710
- errorShape: import("@trpc/server").TRPCDefaultErrorShape;
711
- transformer: false;
712
- }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
713
- get: import("@trpc/server").TRPCMutationProcedure<{
714
- input: {
715
- search?: string | null | undefined;
716
- take?: number | null | undefined;
717
- skip?: number | null | undefined;
718
- is_active?: boolean[] | null | undefined;
719
- ids_include?: number[] | null | undefined;
720
- ids_exclude?: number[] | null | undefined;
721
- ids_string_include?: string[] | null | undefined;
722
- ids_string_exclude?: string[] | null | undefined;
723
- logic_codes_include?: string[] | null | undefined;
724
- logic_codes_exclude?: string[] | null | undefined;
725
- };
726
- output: {
727
- data: {
728
- id: number;
729
- name: string | null;
730
- is_active: boolean | null;
731
- id_country: number | null;
732
- code: string | null;
733
- created_at: Date | null;
734
- created_by: string | null;
735
- updated_at: Date | null;
736
- updated_by: string | null;
737
- logic_code: string | null;
738
- }[] | undefined;
739
- total: number | undefined;
740
- };
741
- meta: object;
742
- }>;
743
- getDetail: import("@trpc/server").TRPCMutationProcedure<{
744
- input: {
745
- id?: number | null | undefined;
746
- id_string?: string | null | undefined;
747
- };
748
- output: {
749
- data: {
750
- id: number;
751
- name: string | null;
752
- is_active: boolean | null;
753
- id_country: number | null;
754
- code: string | null;
755
- created_at: Date | null;
756
- created_by: string | null;
757
- updated_at: Date | null;
758
- updated_by: string | null;
759
- logic_code: string | null;
760
- } | undefined;
761
- };
762
- meta: object;
763
- }>;
764
- create: import("@trpc/server").TRPCMutationProcedure<{
765
- input: {
766
- is_active?: boolean | undefined;
767
- id_country?: number | null | undefined;
768
- code?: string | null | undefined;
769
- name?: string | null | undefined;
770
- };
771
- output: {
772
- data: {
773
- id: number;
774
- name: string | null;
775
- is_active: boolean | null;
776
- id_country: number | null;
777
- code: string | null;
778
- created_at: Date | null;
779
- created_by: string | null;
780
- updated_at: Date | null;
781
- updated_by: string | null;
782
- logic_code: string | null;
783
- } | undefined;
784
- log: {
785
- id: number;
786
- url: string | null;
787
- id_log_type: number | null;
788
- id_state: number | null;
789
- action: string | null;
790
- params: JsonValue | null;
791
- action_by: string | null;
792
- action_id: string | null;
793
- action_at: Date | null;
794
- } | undefined;
795
- };
796
- meta: object;
797
- }>;
798
- update: import("@trpc/server").TRPCMutationProcedure<{
799
- input: {
800
- id?: number | null | undefined;
801
- id_string?: string | null | undefined;
802
- is_active?: boolean | undefined;
803
- id_country?: number | null | undefined;
804
- code?: string | null | undefined;
805
- name?: string | null | undefined;
806
- };
807
- output: {
808
- data: {
809
- id: number;
810
- name: string | null;
811
- is_active: boolean | null;
812
- id_country: number | null;
813
- code: string | null;
814
- created_at: Date | null;
815
- created_by: string | null;
816
- updated_at: Date | null;
817
- updated_by: string | null;
818
- logic_code: string | null;
819
- } | undefined;
820
- log: {
821
- id: number;
822
- url: string | null;
823
- id_log_type: number | null;
824
- id_state: number | null;
825
- action: string | null;
826
- params: JsonValue | null;
827
- action_by: string | null;
828
- action_id: string | null;
829
- action_at: Date | null;
830
- } | undefined;
831
- };
832
- meta: object;
833
- }>;
834
- delete: import("@trpc/server").TRPCMutationProcedure<{
835
- input: {
836
- id?: number | null | undefined;
837
- ids?: number[] | null | undefined;
838
- id_string?: string | null | undefined;
839
- ids_string?: string[] | null | undefined;
840
- };
841
- output: {
842
- data: ({
843
- id: number;
844
- name: string | null;
845
- is_active: boolean | null;
846
- id_country: number | null;
847
- code: string | null;
848
- created_at: Date | null;
849
- created_by: string | null;
850
- updated_at: Date | null;
851
- updated_by: string | null;
852
- logic_code: string | null;
853
- } | undefined)[];
854
- };
855
- meta: object;
856
- }>;
857
- }>>;
858
- cities: import("@trpc/server").TRPCBuiltRouter<{
859
- ctx: Context$1;
860
- meta: object;
861
- errorShape: import("@trpc/server").TRPCDefaultErrorShape;
862
- transformer: false;
863
- }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
864
- get: import("@trpc/server").TRPCMutationProcedure<{
865
- input: {
866
- search?: string | null | undefined;
867
- take?: number | null | undefined;
868
- skip?: number | null | undefined;
869
- is_active?: boolean[] | null | undefined;
870
- ids_include?: number[] | null | undefined;
871
- ids_exclude?: number[] | null | undefined;
872
- ids_string_include?: string[] | null | undefined;
873
- ids_string_exclude?: string[] | null | undefined;
874
- logic_codes_include?: string[] | null | undefined;
875
- logic_codes_exclude?: string[] | null | undefined;
876
- };
877
- output: {
878
- data: {
879
- id: number;
880
- name: string | null;
881
- is_active: boolean | null;
882
- id_country: number | null;
883
- id_state: number | null;
884
- code: string | null;
885
- created_at: Date | null;
886
- created_by: string | null;
887
- updated_at: Date | null;
888
- updated_by: string | null;
889
- logic_code: string | null;
890
- }[] | undefined;
891
- total: number | undefined;
892
- };
893
- meta: object;
894
- }>;
895
- getDetail: import("@trpc/server").TRPCMutationProcedure<{
896
- input: {
897
- id?: number | null | undefined;
898
- id_string?: string | null | undefined;
899
- };
900
- output: {
901
- data: {
902
- id: number;
903
- name: string | null;
904
- is_active: boolean | null;
905
- id_country: number | null;
906
- id_state: number | null;
907
- code: string | null;
908
- created_at: Date | null;
909
- created_by: string | null;
910
- updated_at: Date | null;
911
- updated_by: string | null;
912
- logic_code: string | null;
913
- } | undefined;
914
- };
915
- meta: object;
916
- }>;
917
- create: import("@trpc/server").TRPCMutationProcedure<{
918
- input: {
919
- is_active?: boolean | undefined;
920
- id_country?: number | null | undefined;
921
- id_state?: number | null | undefined;
922
- code?: string | null | undefined;
923
- name?: string | null | undefined;
924
- };
925
- output: {
926
- data: {
927
- id: number;
928
- name: string | null;
929
- is_active: boolean | null;
930
- id_country: number | null;
931
- id_state: number | null;
932
- code: string | null;
933
- created_at: Date | null;
934
- created_by: string | null;
935
- updated_at: Date | null;
936
- updated_by: string | null;
937
- logic_code: string | null;
938
- } | undefined;
939
- log: {
940
- id: number;
941
- url: string | null;
942
- id_log_type: number | null;
943
- action: string | null;
944
- params: JsonValue | null;
945
- action_by: string | null;
946
- action_id: string | null;
947
- id_city: number | null;
948
- action_at: Date | null;
949
- } | undefined;
950
- };
951
- meta: object;
952
- }>;
953
- update: import("@trpc/server").TRPCMutationProcedure<{
954
- input: {
955
- id?: number | null | undefined;
956
- id_string?: string | null | undefined;
957
- is_active?: boolean | undefined;
958
- id_country?: number | null | undefined;
959
- id_state?: number | null | undefined;
960
- code?: string | null | undefined;
961
- name?: string | null | undefined;
962
- };
963
- output: {
964
- data: {
965
- id: number;
966
- name: string | null;
967
- is_active: boolean | null;
968
- id_country: number | null;
969
- id_state: number | null;
970
- code: string | null;
971
- created_at: Date | null;
972
- created_by: string | null;
973
- updated_at: Date | null;
974
- updated_by: string | null;
975
- logic_code: string | null;
976
- } | undefined;
977
- log: {
978
- id: number;
979
- url: string | null;
980
- id_log_type: number | null;
981
- id_state: number | null;
982
- action: string | null;
983
- params: JsonValue | null;
984
- action_by: string | null;
985
- action_id: string | null;
986
- action_at: Date | null;
987
- } | undefined;
988
- };
989
- meta: object;
990
- }>;
991
- delete: import("@trpc/server").TRPCMutationProcedure<{
992
- input: {
993
- id?: number | null | undefined;
994
- ids?: number[] | null | undefined;
995
- id_string?: string | null | undefined;
996
- ids_string?: string[] | null | undefined;
997
- };
998
- output: {
999
- data: ({
1000
- id: number;
1001
- name: string | null;
1002
- is_active: boolean | null;
1003
- id_country: number | null;
1004
- code: string | null;
1005
- created_at: Date | null;
1006
- created_by: string | null;
1007
- updated_at: Date | null;
1008
- updated_by: string | null;
1009
- logic_code: string | null;
1010
- } | undefined)[];
1011
- };
1012
- meta: object;
1013
- }>;
1014
- }>>;
1015
- postalCodes: import("@trpc/server").TRPCBuiltRouter<{
1016
- ctx: Context$1;
1017
- meta: object;
1018
- errorShape: import("@trpc/server").TRPCDefaultErrorShape;
1019
- transformer: false;
1020
- }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
1021
- get: import("@trpc/server").TRPCMutationProcedure<{
1022
- input: {
1023
- search?: string | null | undefined;
1024
- take?: number | null | undefined;
1025
- skip?: number | null | undefined;
1026
- is_active?: boolean[] | null | undefined;
1027
- ids_include?: number[] | null | undefined;
1028
- ids_exclude?: number[] | null | undefined;
1029
- ids_string_include?: string[] | null | undefined;
1030
- ids_string_exclude?: string[] | null | undefined;
1031
- logic_codes_include?: string[] | null | undefined;
1032
- logic_codes_exclude?: string[] | null | undefined;
1033
- };
1034
- output: {
1035
- data: {
1036
- id: number;
1037
- is_active: boolean | null;
1038
- id_country: number | null;
1039
- code: string | null;
1040
- created_at: Date | null;
1041
- created_by: string | null;
1042
- updated_at: Date | null;
1043
- updated_by: string | null;
1044
- logic_code: string | null;
1045
- }[] | undefined;
1046
- total: number | undefined;
1047
- };
1048
- meta: object;
1049
- }>;
1050
- getDetail: import("@trpc/server").TRPCMutationProcedure<{
1051
- input: {
1052
- id?: number | null | undefined;
1053
- id_string?: string | null | undefined;
1054
- };
1055
- output: {
1056
- data: {
1057
- id: number;
1058
- is_active: boolean | null;
1059
- id_country: number | null;
1060
- code: string | null;
1061
- created_at: Date | null;
1062
- created_by: string | null;
1063
- updated_at: Date | null;
1064
- updated_by: string | null;
1065
- logic_code: string | null;
1066
- } | undefined;
1067
- };
1068
- meta: object;
1069
- }>;
1070
- create: import("@trpc/server").TRPCMutationProcedure<{
1071
- input: {
1072
- is_active?: boolean | undefined;
1073
- id_country?: number | null | undefined;
1074
- code?: string | null | undefined;
1075
- };
1076
- output: {
1077
- data: {
1078
- id: number;
1079
- is_active: boolean | null;
1080
- id_country: number | null;
1081
- code: string | null;
1082
- created_at: Date | null;
1083
- created_by: string | null;
1084
- updated_at: Date | null;
1085
- updated_by: string | null;
1086
- logic_code: string | null;
1087
- } | undefined;
1088
- log: {
1089
- id: number;
1090
- url: string | null;
1091
- id_log_type: number | null;
1092
- action: string | null;
1093
- params: JsonValue | null;
1094
- action_by: string | null;
1095
- action_id: string | null;
1096
- action_at: Date | null;
1097
- id_postal_code: number | null;
1098
- } | undefined;
1099
- };
1100
- meta: object;
1101
- }>;
1102
- update: import("@trpc/server").TRPCMutationProcedure<{
1103
- input: {
1104
- id?: number | null | undefined;
1105
- id_string?: string | null | undefined;
1106
- is_active?: boolean | undefined;
1107
- id_country?: number | null | undefined;
1108
- code?: string | null | undefined;
1109
- };
1110
- output: {
1111
- data: {
1112
- id: number;
1113
- is_active: boolean | null;
1114
- id_country: number | null;
1115
- code: string | null;
1116
- created_at: Date | null;
1117
- created_by: string | null;
1118
- updated_at: Date | null;
1119
- updated_by: string | null;
1120
- logic_code: string | null;
1121
- } | undefined;
1122
- log: {
1123
- id: number;
1124
- url: string | null;
1125
- id_log_type: number | null;
1126
- id_country: number | null;
1127
- action: string | null;
1128
- params: JsonValue | null;
1129
- action_by: string | null;
1130
- action_id: string | null;
1131
- action_at: Date | null;
1132
- } | undefined;
1133
- };
1134
- meta: object;
1135
- }>;
1136
- delete: import("@trpc/server").TRPCMutationProcedure<{
1137
- input: {
1138
- id?: number | null | undefined;
1139
- ids?: number[] | null | undefined;
1140
- id_string?: string | null | undefined;
1141
- ids_string?: string[] | null | undefined;
1142
- };
1143
- output: {
1144
- data: ({
1145
- id: number;
1146
- is_active: boolean | null;
1147
- id_country: number | null;
1148
- code: string | null;
1149
- created_at: Date | null;
1150
- created_by: string | null;
1151
- updated_at: Date | null;
1152
- updated_by: string | null;
1153
- logic_code: string | null;
1154
- } | undefined)[];
1155
- };
248
+ currencies: import("@trpc/server").TRPCBuiltRouter<{
249
+ ctx: Context$1;
1156
250
  meta: object;
1157
- }>;
251
+ errorShape: import("@trpc/server").TRPCDefaultErrorShape;
252
+ transformer: false;
253
+ }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
254
+ get: import("@trpc/server").TRPCMutationProcedure<{
255
+ input: {
256
+ search?: string | null | undefined;
257
+ take?: number | null | undefined;
258
+ skip?: number | null | undefined;
259
+ is_active?: boolean[] | null | undefined;
260
+ ids_include?: number[] | null | undefined;
261
+ ids_exclude?: number[] | null | undefined;
262
+ ids_string_include?: string[] | null | undefined;
263
+ ids_string_exclude?: string[] | null | undefined;
264
+ logic_codes_include?: string[] | null | undefined;
265
+ logic_codes_exclude?: string[] | null | undefined;
266
+ };
267
+ output: {
268
+ data: {
269
+ symbol: string | null;
270
+ id: number;
271
+ name: string | null;
272
+ is_active: boolean | null;
273
+ created_at: Date | null;
274
+ created_by: string | null;
275
+ updated_at: Date | null;
276
+ updated_by: string | null;
277
+ logic_code: string | null;
278
+ currency_code: string | null;
279
+ currency_name: string | null;
280
+ major_unit: string | null;
281
+ minor_unit: string | null;
282
+ decimal_unit: number | null;
283
+ iso_decimal: number | null;
284
+ }[] | undefined;
285
+ total: number | undefined;
286
+ };
287
+ meta: object;
288
+ }>;
289
+ getDetail: import("@trpc/server").TRPCMutationProcedure<{
290
+ input: {
291
+ id?: number | null | undefined;
292
+ id_string?: string | null | undefined;
293
+ };
294
+ output: {
295
+ data: {
296
+ symbol: string | null;
297
+ id: number;
298
+ name: string | null;
299
+ is_active: boolean | null;
300
+ created_at: Date | null;
301
+ created_by: string | null;
302
+ updated_at: Date | null;
303
+ updated_by: string | null;
304
+ logic_code: string | null;
305
+ currency_code: string | null;
306
+ currency_name: string | null;
307
+ major_unit: string | null;
308
+ minor_unit: string | null;
309
+ decimal_unit: number | null;
310
+ iso_decimal: number | null;
311
+ } | undefined;
312
+ };
313
+ meta: object;
314
+ }>;
315
+ histories: import("@trpc/server").TRPCBuiltRouter<{
316
+ ctx: Context$1;
317
+ meta: object;
318
+ errorShape: import("@trpc/server").TRPCDefaultErrorShape;
319
+ transformer: false;
320
+ }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
321
+ get: import("@trpc/server").TRPCMutationProcedure<{
322
+ input: {
323
+ search?: string | null | undefined;
324
+ take?: number | null | undefined;
325
+ skip?: number | null | undefined;
326
+ is_active?: boolean[] | null | undefined;
327
+ ids_include?: number[] | null | undefined;
328
+ ids_exclude?: number[] | null | undefined;
329
+ ids_string_include?: string[] | null | undefined;
330
+ ids_string_exclude?: string[] | null | undefined;
331
+ logic_codes_include?: string[] | null | undefined;
332
+ logic_codes_exclude?: string[] | null | undefined;
333
+ id_log_type?: number | null | undefined;
334
+ ids_log_type?: number[] | null | undefined;
335
+ id_currency?: number | null | undefined;
336
+ ids_currency?: number[] | null | undefined;
337
+ };
338
+ output: {
339
+ data: ({
340
+ log_type: {
341
+ id: number;
342
+ name: string | null;
343
+ is_active: boolean | null;
344
+ created_at: Date | null;
345
+ created_by: string | null;
346
+ updated_at: Date | null;
347
+ updated_by: string | null;
348
+ logic_code: string | null;
349
+ } | null;
350
+ } & {
351
+ id: number;
352
+ url: string | null;
353
+ id_log_type: number | null;
354
+ action: string | null;
355
+ params: JsonValue | null;
356
+ action_by: string | null;
357
+ action_id: string | null;
358
+ action_at: Date | null;
359
+ id_currency: number | null;
360
+ })[] | undefined;
361
+ total: number | undefined;
362
+ };
363
+ meta: object;
364
+ }>;
365
+ getDetail: import("@trpc/server").TRPCMutationProcedure<{
366
+ input: {
367
+ id?: number | null | undefined;
368
+ id_string?: string | null | undefined;
369
+ };
370
+ output: {
371
+ data: ({
372
+ log_type: {
373
+ id: number;
374
+ name: string | null;
375
+ is_active: boolean | null;
376
+ created_at: Date | null;
377
+ created_by: string | null;
378
+ updated_at: Date | null;
379
+ updated_by: string | null;
380
+ logic_code: string | null;
381
+ } | null;
382
+ } & {
383
+ id: number;
384
+ url: string | null;
385
+ id_log_type: number | null;
386
+ action: string | null;
387
+ params: JsonValue | null;
388
+ action_by: string | null;
389
+ action_id: string | null;
390
+ action_at: Date | null;
391
+ id_currency: number | null;
392
+ }) | undefined;
393
+ };
394
+ meta: object;
395
+ }>;
396
+ }>>;
397
+ create: import("@trpc/server").TRPCMutationProcedure<{
398
+ input: {
399
+ is_active?: boolean | undefined;
400
+ name?: string | null | undefined;
401
+ currency_code?: string | null | undefined;
402
+ currency_name?: string | null | undefined;
403
+ major_unit?: string | null | undefined;
404
+ minor_unit?: string | null | undefined;
405
+ decimal_unit?: number | null | undefined;
406
+ iso_decimal?: number | null | undefined;
407
+ symbol?: string | null | undefined;
408
+ };
409
+ output: {
410
+ data: {
411
+ symbol: string | null;
412
+ id: number;
413
+ name: string | null;
414
+ is_active: boolean | null;
415
+ created_at: Date | null;
416
+ created_by: string | null;
417
+ updated_at: Date | null;
418
+ updated_by: string | null;
419
+ logic_code: string | null;
420
+ currency_code: string | null;
421
+ currency_name: string | null;
422
+ major_unit: string | null;
423
+ minor_unit: string | null;
424
+ decimal_unit: number | null;
425
+ iso_decimal: number | null;
426
+ } | undefined;
427
+ log: {
428
+ id: number;
429
+ url: string | null;
430
+ id_log_type: number | null;
431
+ action: string | null;
432
+ params: JsonValue | null;
433
+ action_by: string | null;
434
+ action_id: string | null;
435
+ action_at: Date | null;
436
+ id_currency: number | null;
437
+ } | undefined;
438
+ };
439
+ meta: object;
440
+ }>;
441
+ update: import("@trpc/server").TRPCMutationProcedure<{
442
+ input: {
443
+ id?: number | null | undefined;
444
+ id_string?: string | null | undefined;
445
+ is_active?: boolean | undefined;
446
+ name?: string | null | undefined;
447
+ currency_code?: string | null | undefined;
448
+ currency_name?: string | null | undefined;
449
+ major_unit?: string | null | undefined;
450
+ minor_unit?: string | null | undefined;
451
+ decimal_unit?: number | null | undefined;
452
+ iso_decimal?: number | null | undefined;
453
+ symbol?: string | null | undefined;
454
+ };
455
+ output: {
456
+ data: {
457
+ symbol: string | null;
458
+ id: number;
459
+ name: string | null;
460
+ is_active: boolean | null;
461
+ created_at: Date | null;
462
+ created_by: string | null;
463
+ updated_at: Date | null;
464
+ updated_by: string | null;
465
+ logic_code: string | null;
466
+ currency_code: string | null;
467
+ currency_name: string | null;
468
+ major_unit: string | null;
469
+ minor_unit: string | null;
470
+ decimal_unit: number | null;
471
+ iso_decimal: number | null;
472
+ } | undefined;
473
+ log: {
474
+ id: number;
475
+ url: string | null;
476
+ id_log_type: number | null;
477
+ action: string | null;
478
+ params: JsonValue | null;
479
+ action_by: string | null;
480
+ action_id: string | null;
481
+ action_at: Date | null;
482
+ id_currency: number | null;
483
+ } | undefined;
484
+ };
485
+ meta: object;
486
+ }>;
487
+ delete: import("@trpc/server").TRPCMutationProcedure<{
488
+ input: {
489
+ id?: number | null | undefined;
490
+ ids?: number[] | null | undefined;
491
+ id_string?: string | null | undefined;
492
+ ids_string?: string[] | null | undefined;
493
+ };
494
+ output: {
495
+ data: ({
496
+ symbol: string | null;
497
+ id: number;
498
+ name: string | null;
499
+ is_active: boolean | null;
500
+ created_at: Date | null;
501
+ created_by: string | null;
502
+ updated_at: Date | null;
503
+ updated_by: string | null;
504
+ logic_code: string | null;
505
+ currency_code: string | null;
506
+ currency_name: string | null;
507
+ major_unit: string | null;
508
+ minor_unit: string | null;
509
+ decimal_unit: number | null;
510
+ iso_decimal: number | null;
511
+ } | undefined)[];
512
+ };
513
+ meta: object;
514
+ }>;
515
+ }>>;
1158
516
  }>>;
1159
- timeZones: import("@trpc/server").TRPCBuiltRouter<{
517
+ locations: import("@trpc/server").TRPCBuiltRouter<{
1160
518
  ctx: Context$1;
1161
519
  meta: object;
1162
520
  errorShape: import("@trpc/server").TRPCDefaultErrorShape;
1163
521
  transformer: false;
1164
522
  }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
1165
- get: import("@trpc/server").TRPCMutationProcedure<{
1166
- input: {
1167
- search?: string | null | undefined;
1168
- take?: number | null | undefined;
1169
- skip?: number | null | undefined;
1170
- is_active?: boolean[] | null | undefined;
1171
- ids_include?: number[] | null | undefined;
1172
- ids_exclude?: number[] | null | undefined;
1173
- ids_string_include?: string[] | null | undefined;
1174
- ids_string_exclude?: string[] | null | undefined;
1175
- logic_codes_include?: string[] | null | undefined;
1176
- logic_codes_exclude?: string[] | null | undefined;
1177
- };
1178
- output: {
1179
- data: {
1180
- id: number;
1181
- name: string | null;
1182
- is_active: boolean | null;
1183
- code: string | null;
1184
- created_at: Date | null;
1185
- created_by: string | null;
1186
- updated_at: Date | null;
1187
- updated_by: string | null;
1188
- logic_code: string | null;
1189
- utc_offset: Decimal | null;
1190
- }[] | undefined;
1191
- total: number | undefined;
1192
- };
1193
- meta: object;
1194
- }>;
1195
- getDetail: import("@trpc/server").TRPCMutationProcedure<{
1196
- input: {
1197
- id?: number | null | undefined;
1198
- id_string?: string | null | undefined;
1199
- };
1200
- output: {
1201
- data: {
1202
- id: number;
1203
- name: string | null;
1204
- is_active: boolean | null;
1205
- code: string | null;
1206
- created_at: Date | null;
1207
- created_by: string | null;
1208
- updated_at: Date | null;
1209
- updated_by: string | null;
1210
- logic_code: string | null;
1211
- utc_offset: Decimal | null;
1212
- } | undefined;
1213
- };
1214
- meta: object;
1215
- }>;
1216
- histories: import("@trpc/server").TRPCBuiltRouter<{
523
+ unLocodes: import("@trpc/server").TRPCBuiltRouter<{
1217
524
  ctx: Context$1;
1218
525
  meta: object;
1219
526
  errorShape: import("@trpc/server").TRPCDefaultErrorShape;
@@ -1231,24 +538,229 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1231
538
  ids_string_exclude?: string[] | null | undefined;
1232
539
  logic_codes_include?: string[] | null | undefined;
1233
540
  logic_codes_exclude?: string[] | null | undefined;
1234
- id_log_type?: number | null | undefined;
1235
- ids_log_type?: number[] | null | undefined;
1236
- id_time_zone?: number | null | undefined;
1237
- ids_time_zone?: number[] | null | undefined;
1238
541
  };
1239
542
  output: {
1240
- data: ({
1241
- log_type: {
543
+ data: {
544
+ id: number;
545
+ is_active: boolean | null;
546
+ id_city: number | null;
547
+ id_country: number | null;
548
+ id_state: number | null;
549
+ created_at: Date | null;
550
+ created_by: string | null;
551
+ updated_at: Date | null;
552
+ updated_by: string | null;
553
+ logic_code: string | null;
554
+ un_code: string | null;
555
+ iata_code: string | null;
556
+ iata_region_code: string | null;
557
+ latitude: Decimal | null;
558
+ longitude: Decimal | null;
559
+ port_name: string | null;
560
+ proper_name: string | null;
561
+ is_system: boolean | null;
562
+ is_system_updatable: boolean | null;
563
+ has_post: boolean | null;
564
+ has_customs: boolean | null;
565
+ has_unload: boolean | null;
566
+ has_airport: boolean | null;
567
+ has_railway: boolean | null;
568
+ has_road: boolean | null;
569
+ has_store: boolean | null;
570
+ has_terminal: boolean | null;
571
+ has_discharge: boolean | null;
572
+ has_seaport: boolean | null;
573
+ has_outport: boolean | null;
574
+ }[] | undefined;
575
+ total: number | undefined;
576
+ };
577
+ meta: object;
578
+ }>;
579
+ getDetail: import("@trpc/server").TRPCMutationProcedure<{
580
+ input: {
581
+ id?: number | null | undefined;
582
+ id_string?: string | null | undefined;
583
+ };
584
+ output: {
585
+ data: {
586
+ id: number;
587
+ is_active: boolean | null;
588
+ id_city: number | null;
589
+ id_country: number | null;
590
+ id_state: number | null;
591
+ created_at: Date | null;
592
+ created_by: string | null;
593
+ updated_at: Date | null;
594
+ updated_by: string | null;
595
+ logic_code: string | null;
596
+ un_code: string | null;
597
+ iata_code: string | null;
598
+ iata_region_code: string | null;
599
+ latitude: Decimal | null;
600
+ longitude: Decimal | null;
601
+ port_name: string | null;
602
+ proper_name: string | null;
603
+ is_system: boolean | null;
604
+ is_system_updatable: boolean | null;
605
+ has_post: boolean | null;
606
+ has_customs: boolean | null;
607
+ has_unload: boolean | null;
608
+ has_airport: boolean | null;
609
+ has_railway: boolean | null;
610
+ has_road: boolean | null;
611
+ has_store: boolean | null;
612
+ has_terminal: boolean | null;
613
+ has_discharge: boolean | null;
614
+ has_seaport: boolean | null;
615
+ has_outport: boolean | null;
616
+ } | undefined;
617
+ };
618
+ meta: object;
619
+ }>;
620
+ histories: import("@trpc/server").TRPCBuiltRouter<{
621
+ ctx: Context$1;
622
+ meta: object;
623
+ errorShape: import("@trpc/server").TRPCDefaultErrorShape;
624
+ transformer: false;
625
+ }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
626
+ get: import("@trpc/server").TRPCMutationProcedure<{
627
+ input: {
628
+ search?: string | null | undefined;
629
+ take?: number | null | undefined;
630
+ skip?: number | null | undefined;
631
+ is_active?: boolean[] | null | undefined;
632
+ ids_include?: number[] | null | undefined;
633
+ ids_exclude?: number[] | null | undefined;
634
+ ids_string_include?: string[] | null | undefined;
635
+ ids_string_exclude?: string[] | null | undefined;
636
+ logic_codes_include?: string[] | null | undefined;
637
+ logic_codes_exclude?: string[] | null | undefined;
638
+ id_log_type?: number | null | undefined;
639
+ ids_log_type?: number[] | null | undefined;
640
+ id_un_locode?: number | null | undefined;
641
+ ids_un_locode?: number[] | null | undefined;
642
+ };
643
+ output: {
644
+ data: ({
645
+ log_type: {
646
+ id: number;
647
+ name: string | null;
648
+ is_active: boolean | null;
649
+ created_at: Date | null;
650
+ created_by: string | null;
651
+ updated_at: Date | null;
652
+ updated_by: string | null;
653
+ logic_code: string | null;
654
+ } | null;
655
+ } & {
656
+ id: number;
657
+ url: string | null;
658
+ id_log_type: number | null;
659
+ action: string | null;
660
+ params: JsonValue | null;
661
+ action_by: string | null;
662
+ action_id: string | null;
663
+ action_at: Date | null;
664
+ id_un_locode: number | null;
665
+ })[] | undefined;
666
+ total: number | undefined;
667
+ };
668
+ meta: object;
669
+ }>;
670
+ getDetail: import("@trpc/server").TRPCMutationProcedure<{
671
+ input: {
672
+ id?: number | null | undefined;
673
+ id_string?: string | null | undefined;
674
+ };
675
+ output: {
676
+ data: ({
677
+ log_type: {
678
+ id: number;
679
+ name: string | null;
680
+ is_active: boolean | null;
681
+ created_at: Date | null;
682
+ created_by: string | null;
683
+ updated_at: Date | null;
684
+ updated_by: string | null;
685
+ logic_code: string | null;
686
+ } | null;
687
+ } & {
1242
688
  id: number;
1243
- name: string | null;
1244
- is_active: boolean | null;
1245
- created_at: Date | null;
1246
- created_by: string | null;
1247
- updated_at: Date | null;
1248
- updated_by: string | null;
1249
- logic_code: string | null;
1250
- } | null;
1251
- } & {
689
+ url: string | null;
690
+ id_log_type: number | null;
691
+ action: string | null;
692
+ params: JsonValue | null;
693
+ action_by: string | null;
694
+ action_id: string | null;
695
+ action_at: Date | null;
696
+ id_un_locode: number | null;
697
+ }) | undefined;
698
+ };
699
+ meta: object;
700
+ }>;
701
+ }>>;
702
+ create: import("@trpc/server").TRPCMutationProcedure<{
703
+ input: {
704
+ is_active?: boolean | undefined;
705
+ id_country?: number | null | undefined;
706
+ id_state?: number | null | undefined;
707
+ id_city?: number | null | undefined;
708
+ logic_code?: string | null | undefined;
709
+ un_code?: string | null | undefined;
710
+ iata_code?: string | null | undefined;
711
+ iata_region_code?: string | null | undefined;
712
+ latitude?: string | null | undefined;
713
+ longitude?: string | null | undefined;
714
+ port_name?: string | null | undefined;
715
+ proper_name?: string | null | undefined;
716
+ is_system?: boolean | null | undefined;
717
+ is_system_updatable?: boolean | null | undefined;
718
+ has_post?: boolean | null | undefined;
719
+ has_customs?: boolean | null | undefined;
720
+ has_unload?: boolean | null | undefined;
721
+ has_airport?: boolean | null | undefined;
722
+ has_railway?: boolean | null | undefined;
723
+ has_road?: boolean | null | undefined;
724
+ has_store?: boolean | null | undefined;
725
+ has_terminal?: boolean | null | undefined;
726
+ has_discharge?: boolean | null | undefined;
727
+ has_seaport?: boolean | null | undefined;
728
+ has_outport?: boolean | null | undefined;
729
+ };
730
+ output: {
731
+ data: {
732
+ id: number;
733
+ is_active: boolean | null;
734
+ id_city: number | null;
735
+ id_country: number | null;
736
+ id_state: number | null;
737
+ created_at: Date | null;
738
+ created_by: string | null;
739
+ updated_at: Date | null;
740
+ updated_by: string | null;
741
+ logic_code: string | null;
742
+ un_code: string | null;
743
+ iata_code: string | null;
744
+ iata_region_code: string | null;
745
+ latitude: Decimal | null;
746
+ longitude: Decimal | null;
747
+ port_name: string | null;
748
+ proper_name: string | null;
749
+ is_system: boolean | null;
750
+ is_system_updatable: boolean | null;
751
+ has_post: boolean | null;
752
+ has_customs: boolean | null;
753
+ has_unload: boolean | null;
754
+ has_airport: boolean | null;
755
+ has_railway: boolean | null;
756
+ has_road: boolean | null;
757
+ has_store: boolean | null;
758
+ has_terminal: boolean | null;
759
+ has_discharge: boolean | null;
760
+ has_seaport: boolean | null;
761
+ has_outport: boolean | null;
762
+ } | undefined;
763
+ log: {
1252
764
  id: number;
1253
765
  url: string | null;
1254
766
  id_log_type: number | null;
@@ -1257,8 +769,167 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1257
769
  action_by: string | null;
1258
770
  action_id: string | null;
1259
771
  action_at: Date | null;
1260
- id_time_zone: number | null;
1261
- })[] | undefined;
772
+ id_un_locode: number | null;
773
+ } | undefined;
774
+ };
775
+ meta: object;
776
+ }>;
777
+ update: import("@trpc/server").TRPCMutationProcedure<{
778
+ input: {
779
+ id?: number | null | undefined;
780
+ id_string?: string | null | undefined;
781
+ is_active?: boolean | undefined;
782
+ id_country?: number | null | undefined;
783
+ id_state?: number | null | undefined;
784
+ id_city?: number | null | undefined;
785
+ logic_code?: string | null | undefined;
786
+ un_code?: string | null | undefined;
787
+ iata_code?: string | null | undefined;
788
+ iata_region_code?: string | null | undefined;
789
+ latitude?: string | null | undefined;
790
+ longitude?: string | null | undefined;
791
+ port_name?: string | null | undefined;
792
+ proper_name?: string | null | undefined;
793
+ is_system?: boolean | null | undefined;
794
+ is_system_updatable?: boolean | null | undefined;
795
+ has_post?: boolean | null | undefined;
796
+ has_customs?: boolean | null | undefined;
797
+ has_unload?: boolean | null | undefined;
798
+ has_airport?: boolean | null | undefined;
799
+ has_railway?: boolean | null | undefined;
800
+ has_road?: boolean | null | undefined;
801
+ has_store?: boolean | null | undefined;
802
+ has_terminal?: boolean | null | undefined;
803
+ has_discharge?: boolean | null | undefined;
804
+ has_seaport?: boolean | null | undefined;
805
+ has_outport?: boolean | null | undefined;
806
+ };
807
+ output: {
808
+ data: {
809
+ id: number;
810
+ is_active: boolean | null;
811
+ id_city: number | null;
812
+ id_country: number | null;
813
+ id_state: number | null;
814
+ created_at: Date | null;
815
+ created_by: string | null;
816
+ updated_at: Date | null;
817
+ updated_by: string | null;
818
+ logic_code: string | null;
819
+ un_code: string | null;
820
+ iata_code: string | null;
821
+ iata_region_code: string | null;
822
+ latitude: Decimal | null;
823
+ longitude: Decimal | null;
824
+ port_name: string | null;
825
+ proper_name: string | null;
826
+ is_system: boolean | null;
827
+ is_system_updatable: boolean | null;
828
+ has_post: boolean | null;
829
+ has_customs: boolean | null;
830
+ has_unload: boolean | null;
831
+ has_airport: boolean | null;
832
+ has_railway: boolean | null;
833
+ has_road: boolean | null;
834
+ has_store: boolean | null;
835
+ has_terminal: boolean | null;
836
+ has_discharge: boolean | null;
837
+ has_seaport: boolean | null;
838
+ has_outport: boolean | null;
839
+ } | undefined;
840
+ log: {
841
+ id: number;
842
+ url: string | null;
843
+ id_log_type: number | null;
844
+ action: string | null;
845
+ params: JsonValue | null;
846
+ action_by: string | null;
847
+ action_id: string | null;
848
+ action_at: Date | null;
849
+ id_un_locode: number | null;
850
+ } | undefined;
851
+ };
852
+ meta: object;
853
+ }>;
854
+ delete: import("@trpc/server").TRPCMutationProcedure<{
855
+ input: {
856
+ id?: number | null | undefined;
857
+ ids?: number[] | null | undefined;
858
+ id_string?: string | null | undefined;
859
+ ids_string?: string[] | null | undefined;
860
+ };
861
+ output: {
862
+ data: ({
863
+ id: number;
864
+ is_active: boolean | null;
865
+ id_city: number | null;
866
+ id_country: number | null;
867
+ id_state: number | null;
868
+ created_at: Date | null;
869
+ created_by: string | null;
870
+ updated_at: Date | null;
871
+ updated_by: string | null;
872
+ logic_code: string | null;
873
+ un_code: string | null;
874
+ iata_code: string | null;
875
+ iata_region_code: string | null;
876
+ latitude: Decimal | null;
877
+ longitude: Decimal | null;
878
+ port_name: string | null;
879
+ proper_name: string | null;
880
+ is_system: boolean | null;
881
+ is_system_updatable: boolean | null;
882
+ has_post: boolean | null;
883
+ has_customs: boolean | null;
884
+ has_unload: boolean | null;
885
+ has_airport: boolean | null;
886
+ has_railway: boolean | null;
887
+ has_road: boolean | null;
888
+ has_store: boolean | null;
889
+ has_terminal: boolean | null;
890
+ has_discharge: boolean | null;
891
+ has_seaport: boolean | null;
892
+ has_outport: boolean | null;
893
+ } | undefined)[];
894
+ };
895
+ meta: object;
896
+ }>;
897
+ }>>;
898
+ countries: import("@trpc/server").TRPCBuiltRouter<{
899
+ ctx: Context$1;
900
+ meta: object;
901
+ errorShape: import("@trpc/server").TRPCDefaultErrorShape;
902
+ transformer: false;
903
+ }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
904
+ get: import("@trpc/server").TRPCMutationProcedure<{
905
+ input: {
906
+ search?: string | null | undefined;
907
+ take?: number | null | undefined;
908
+ skip?: number | null | undefined;
909
+ is_active?: boolean[] | null | undefined;
910
+ ids_include?: number[] | null | undefined;
911
+ ids_exclude?: number[] | null | undefined;
912
+ ids_string_include?: string[] | null | undefined;
913
+ ids_string_exclude?: string[] | null | undefined;
914
+ logic_codes_include?: string[] | null | undefined;
915
+ logic_codes_exclude?: string[] | null | undefined;
916
+ };
917
+ output: {
918
+ data: {
919
+ id: number;
920
+ name: string | null;
921
+ is_active: boolean | null;
922
+ created_at: Date | null;
923
+ created_by: string | null;
924
+ updated_at: Date | null;
925
+ updated_by: string | null;
926
+ logic_code: string | null;
927
+ id_currency: number | null;
928
+ iso2_code: string | null;
929
+ iso3_code: string | null;
930
+ iso3_numeric: string | null;
931
+ is_sanctioned: boolean | null;
932
+ }[] | undefined;
1262
933
  total: number | undefined;
1263
934
  };
1264
935
  meta: object;
@@ -1269,125 +940,1146 @@ declare const appRouter: import("@trpc/server").TRPCBuiltRouter<{
1269
940
  id_string?: string | null | undefined;
1270
941
  };
1271
942
  output: {
1272
- data: ({
1273
- log_type: {
943
+ data: {
944
+ id: number;
945
+ name: string | null;
946
+ is_active: boolean | null;
947
+ created_at: Date | null;
948
+ created_by: string | null;
949
+ updated_at: Date | null;
950
+ updated_by: string | null;
951
+ logic_code: string | null;
952
+ id_currency: number | null;
953
+ iso2_code: string | null;
954
+ iso3_code: string | null;
955
+ iso3_numeric: string | null;
956
+ is_sanctioned: boolean | null;
957
+ } | undefined;
958
+ };
959
+ meta: object;
960
+ }>;
961
+ histories: import("@trpc/server").TRPCBuiltRouter<{
962
+ ctx: Context$1;
963
+ meta: object;
964
+ errorShape: import("@trpc/server").TRPCDefaultErrorShape;
965
+ transformer: false;
966
+ }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
967
+ get: import("@trpc/server").TRPCMutationProcedure<{
968
+ input: {
969
+ search?: string | null | undefined;
970
+ take?: number | null | undefined;
971
+ skip?: number | null | undefined;
972
+ is_active?: boolean[] | null | undefined;
973
+ ids_include?: number[] | null | undefined;
974
+ ids_exclude?: number[] | null | undefined;
975
+ ids_string_include?: string[] | null | undefined;
976
+ ids_string_exclude?: string[] | null | undefined;
977
+ logic_codes_include?: string[] | null | undefined;
978
+ logic_codes_exclude?: string[] | null | undefined;
979
+ id_log_type?: number | null | undefined;
980
+ ids_log_type?: number[] | null | undefined;
981
+ id_country?: number | null | undefined;
982
+ ids_country?: number[] | null | undefined;
983
+ };
984
+ output: {
985
+ data: ({
986
+ log_type: {
987
+ id: number;
988
+ name: string | null;
989
+ is_active: boolean | null;
990
+ created_at: Date | null;
991
+ created_by: string | null;
992
+ updated_at: Date | null;
993
+ updated_by: string | null;
994
+ logic_code: string | null;
995
+ } | null;
996
+ } & {
1274
997
  id: number;
1275
- name: string | null;
1276
- is_active: boolean | null;
1277
- created_at: Date | null;
1278
- created_by: string | null;
1279
- updated_at: Date | null;
1280
- updated_by: string | null;
1281
- logic_code: string | null;
1282
- } | null;
1283
- } & {
998
+ url: string | null;
999
+ id_log_type: number | null;
1000
+ id_country: number | null;
1001
+ action: string | null;
1002
+ params: JsonValue | null;
1003
+ action_by: string | null;
1004
+ action_id: string | null;
1005
+ action_at: Date | null;
1006
+ })[] | undefined;
1007
+ total: number | undefined;
1008
+ };
1009
+ meta: object;
1010
+ }>;
1011
+ getDetail: import("@trpc/server").TRPCMutationProcedure<{
1012
+ input: {
1013
+ id?: number | null | undefined;
1014
+ id_string?: string | null | undefined;
1015
+ };
1016
+ output: {
1017
+ data: ({
1018
+ log_type: {
1019
+ id: number;
1020
+ name: string | null;
1021
+ is_active: boolean | null;
1022
+ created_at: Date | null;
1023
+ created_by: string | null;
1024
+ updated_at: Date | null;
1025
+ updated_by: string | null;
1026
+ logic_code: string | null;
1027
+ } | null;
1028
+ } & {
1029
+ id: number;
1030
+ url: string | null;
1031
+ id_log_type: number | null;
1032
+ id_country: number | null;
1033
+ action: string | null;
1034
+ params: JsonValue | null;
1035
+ action_by: string | null;
1036
+ action_id: string | null;
1037
+ action_at: Date | null;
1038
+ }) | undefined;
1039
+ };
1040
+ meta: object;
1041
+ }>;
1042
+ }>>;
1043
+ create: import("@trpc/server").TRPCMutationProcedure<{
1044
+ input: {
1045
+ id_currency?: number | null | undefined;
1046
+ is_active?: boolean | undefined;
1047
+ name?: string | null | undefined;
1048
+ iso2_code?: string | null | undefined;
1049
+ iso3_code?: string | null | undefined;
1050
+ iso3_numeric?: string | null | undefined;
1051
+ is_sanctioned?: boolean | null | undefined;
1052
+ };
1053
+ output: {
1054
+ data: {
1055
+ id: number;
1056
+ name: string | null;
1057
+ is_active: boolean | null;
1058
+ created_at: Date | null;
1059
+ created_by: string | null;
1060
+ updated_at: Date | null;
1061
+ updated_by: string | null;
1062
+ logic_code: string | null;
1063
+ id_currency: number | null;
1064
+ iso2_code: string | null;
1065
+ iso3_code: string | null;
1066
+ iso3_numeric: string | null;
1067
+ is_sanctioned: boolean | null;
1068
+ } | undefined;
1069
+ log: {
1284
1070
  id: number;
1285
1071
  url: string | null;
1286
1072
  id_log_type: number | null;
1073
+ id_country: number | null;
1287
1074
  action: string | null;
1288
1075
  params: JsonValue | null;
1289
1076
  action_by: string | null;
1290
1077
  action_id: string | null;
1291
1078
  action_at: Date | null;
1292
- id_time_zone: number | null;
1293
- }) | undefined;
1079
+ } | undefined;
1294
1080
  };
1295
1081
  meta: object;
1296
1082
  }>;
1297
- }>>;
1298
- create: import("@trpc/server").TRPCMutationProcedure<{
1299
- input: {
1300
- is_active?: boolean | undefined;
1301
- code?: string | null | undefined;
1302
- name?: string | null | undefined;
1303
- utc_offset?: string | null | undefined;
1304
- };
1305
- output: {
1306
- data: {
1307
- id: number;
1308
- name: string | null;
1309
- is_active: boolean | null;
1310
- code: string | null;
1311
- created_at: Date | null;
1312
- created_by: string | null;
1313
- updated_at: Date | null;
1314
- updated_by: string | null;
1315
- logic_code: string | null;
1316
- utc_offset: Decimal | null;
1317
- } | undefined;
1318
- log: {
1319
- id: number;
1320
- url: string | null;
1321
- id_log_type: number | null;
1322
- action: string | null;
1323
- params: JsonValue | null;
1324
- action_by: string | null;
1325
- action_id: string | null;
1326
- action_at: Date | null;
1327
- id_time_zone: number | null;
1328
- } | undefined;
1329
- };
1330
- meta: object;
1331
- }>;
1332
- update: import("@trpc/server").TRPCMutationProcedure<{
1333
- input: {
1334
- id?: number | null | undefined;
1335
- id_string?: string | null | undefined;
1336
- is_active?: boolean | undefined;
1337
- code?: string | null | undefined;
1338
- name?: string | null | undefined;
1339
- utc_offset?: string | null | undefined;
1340
- };
1341
- output: {
1342
- data: {
1343
- id: number;
1344
- name: string | null;
1345
- is_active: boolean | null;
1346
- code: string | null;
1347
- created_at: Date | null;
1348
- created_by: string | null;
1349
- updated_at: Date | null;
1350
- updated_by: string | null;
1351
- logic_code: string | null;
1352
- utc_offset: Decimal | null;
1353
- } | undefined;
1354
- log: {
1355
- id: number;
1356
- url: string | null;
1357
- id_log_type: number | null;
1358
- action: string | null;
1359
- params: JsonValue | null;
1360
- action_by: string | null;
1361
- action_id: string | null;
1362
- action_at: Date | null;
1363
- id_time_zone: number | null;
1364
- } | undefined;
1365
- };
1366
- meta: object;
1367
- }>;
1368
- delete: import("@trpc/server").TRPCMutationProcedure<{
1369
- input: {
1370
- id?: number | null | undefined;
1371
- ids?: number[] | null | undefined;
1372
- id_string?: string | null | undefined;
1373
- ids_string?: string[] | null | undefined;
1374
- };
1375
- output: {
1376
- data: ({
1377
- id: number;
1378
- name: string | null;
1379
- is_active: boolean | null;
1380
- code: string | null;
1381
- created_at: Date | null;
1382
- created_by: string | null;
1383
- updated_at: Date | null;
1384
- updated_by: string | null;
1385
- logic_code: string | null;
1386
- utc_offset: Decimal | null;
1387
- } | undefined)[];
1388
- };
1389
- meta: object;
1390
- }>;
1083
+ update: import("@trpc/server").TRPCMutationProcedure<{
1084
+ input: {
1085
+ id?: number | null | undefined;
1086
+ id_string?: string | null | undefined;
1087
+ id_currency?: number | null | undefined;
1088
+ is_active?: boolean | undefined;
1089
+ name?: string | null | undefined;
1090
+ iso2_code?: string | null | undefined;
1091
+ iso3_code?: string | null | undefined;
1092
+ iso3_numeric?: string | null | undefined;
1093
+ is_sanctioned?: boolean | null | undefined;
1094
+ };
1095
+ output: {
1096
+ data: {
1097
+ id: number;
1098
+ name: string | null;
1099
+ is_active: boolean | null;
1100
+ created_at: Date | null;
1101
+ created_by: string | null;
1102
+ updated_at: Date | null;
1103
+ updated_by: string | null;
1104
+ logic_code: string | null;
1105
+ id_currency: number | null;
1106
+ iso2_code: string | null;
1107
+ iso3_code: string | null;
1108
+ iso3_numeric: string | null;
1109
+ is_sanctioned: boolean | null;
1110
+ } | undefined;
1111
+ log: {
1112
+ id: number;
1113
+ url: string | null;
1114
+ id_log_type: number | null;
1115
+ id_country: number | null;
1116
+ action: string | null;
1117
+ params: JsonValue | null;
1118
+ action_by: string | null;
1119
+ action_id: string | null;
1120
+ action_at: Date | null;
1121
+ } | undefined;
1122
+ };
1123
+ meta: object;
1124
+ }>;
1125
+ delete: import("@trpc/server").TRPCMutationProcedure<{
1126
+ input: {
1127
+ id?: number | null | undefined;
1128
+ ids?: number[] | null | undefined;
1129
+ id_string?: string | null | undefined;
1130
+ ids_string?: string[] | null | undefined;
1131
+ };
1132
+ output: {
1133
+ data: ({
1134
+ id: number;
1135
+ name: string | null;
1136
+ is_active: boolean | null;
1137
+ created_at: Date | null;
1138
+ created_by: string | null;
1139
+ updated_at: Date | null;
1140
+ updated_by: string | null;
1141
+ logic_code: string | null;
1142
+ id_currency: number | null;
1143
+ iso2_code: string | null;
1144
+ iso3_code: string | null;
1145
+ iso3_numeric: string | null;
1146
+ is_sanctioned: boolean | null;
1147
+ } | undefined)[];
1148
+ };
1149
+ meta: object;
1150
+ }>;
1151
+ }>>;
1152
+ states: import("@trpc/server").TRPCBuiltRouter<{
1153
+ ctx: Context$1;
1154
+ meta: object;
1155
+ errorShape: import("@trpc/server").TRPCDefaultErrorShape;
1156
+ transformer: false;
1157
+ }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
1158
+ get: import("@trpc/server").TRPCMutationProcedure<{
1159
+ input: {
1160
+ search?: string | null | undefined;
1161
+ take?: number | null | undefined;
1162
+ skip?: number | null | undefined;
1163
+ is_active?: boolean[] | null | undefined;
1164
+ ids_include?: number[] | null | undefined;
1165
+ ids_exclude?: number[] | null | undefined;
1166
+ ids_string_include?: string[] | null | undefined;
1167
+ ids_string_exclude?: string[] | null | undefined;
1168
+ logic_codes_include?: string[] | null | undefined;
1169
+ logic_codes_exclude?: string[] | null | undefined;
1170
+ };
1171
+ output: {
1172
+ data: {
1173
+ id: number;
1174
+ name: string | null;
1175
+ is_active: boolean | null;
1176
+ id_country: number | null;
1177
+ code: string | null;
1178
+ created_at: Date | null;
1179
+ created_by: string | null;
1180
+ updated_at: Date | null;
1181
+ updated_by: string | null;
1182
+ logic_code: string | null;
1183
+ }[] | undefined;
1184
+ total: number | undefined;
1185
+ };
1186
+ meta: object;
1187
+ }>;
1188
+ getDetail: import("@trpc/server").TRPCMutationProcedure<{
1189
+ input: {
1190
+ id?: number | null | undefined;
1191
+ id_string?: string | null | undefined;
1192
+ };
1193
+ output: {
1194
+ data: {
1195
+ id: number;
1196
+ name: string | null;
1197
+ is_active: boolean | null;
1198
+ id_country: number | null;
1199
+ code: string | null;
1200
+ created_at: Date | null;
1201
+ created_by: string | null;
1202
+ updated_at: Date | null;
1203
+ updated_by: string | null;
1204
+ logic_code: string | null;
1205
+ } | undefined;
1206
+ };
1207
+ meta: object;
1208
+ }>;
1209
+ histories: import("@trpc/server").TRPCBuiltRouter<{
1210
+ ctx: Context$1;
1211
+ meta: object;
1212
+ errorShape: import("@trpc/server").TRPCDefaultErrorShape;
1213
+ transformer: false;
1214
+ }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
1215
+ get: import("@trpc/server").TRPCMutationProcedure<{
1216
+ input: {
1217
+ search?: string | null | undefined;
1218
+ take?: number | null | undefined;
1219
+ skip?: number | null | undefined;
1220
+ is_active?: boolean[] | null | undefined;
1221
+ ids_include?: number[] | null | undefined;
1222
+ ids_exclude?: number[] | null | undefined;
1223
+ ids_string_include?: string[] | null | undefined;
1224
+ ids_string_exclude?: string[] | null | undefined;
1225
+ logic_codes_include?: string[] | null | undefined;
1226
+ logic_codes_exclude?: string[] | null | undefined;
1227
+ id_log_type?: number | null | undefined;
1228
+ ids_log_type?: number[] | null | undefined;
1229
+ id_state?: number | null | undefined;
1230
+ ids_state?: number[] | null | undefined;
1231
+ };
1232
+ output: {
1233
+ data: ({
1234
+ log_type: {
1235
+ id: number;
1236
+ name: string | null;
1237
+ is_active: boolean | null;
1238
+ created_at: Date | null;
1239
+ created_by: string | null;
1240
+ updated_at: Date | null;
1241
+ updated_by: string | null;
1242
+ logic_code: string | null;
1243
+ } | null;
1244
+ } & {
1245
+ id: number;
1246
+ url: string | null;
1247
+ id_log_type: number | null;
1248
+ id_state: number | null;
1249
+ action: string | null;
1250
+ params: JsonValue | null;
1251
+ action_by: string | null;
1252
+ action_id: string | null;
1253
+ action_at: Date | null;
1254
+ })[] | undefined;
1255
+ total: number | undefined;
1256
+ };
1257
+ meta: object;
1258
+ }>;
1259
+ getDetail: import("@trpc/server").TRPCMutationProcedure<{
1260
+ input: {
1261
+ id?: number | null | undefined;
1262
+ id_string?: string | null | undefined;
1263
+ };
1264
+ output: {
1265
+ data: ({
1266
+ log_type: {
1267
+ id: number;
1268
+ name: string | null;
1269
+ is_active: boolean | null;
1270
+ created_at: Date | null;
1271
+ created_by: string | null;
1272
+ updated_at: Date | null;
1273
+ updated_by: string | null;
1274
+ logic_code: string | null;
1275
+ } | null;
1276
+ } & {
1277
+ id: number;
1278
+ url: string | null;
1279
+ id_log_type: number | null;
1280
+ action: string | null;
1281
+ params: JsonValue | null;
1282
+ action_by: string | null;
1283
+ action_id: string | null;
1284
+ action_at: Date | null;
1285
+ id_time_zone: number | null;
1286
+ }) | undefined;
1287
+ };
1288
+ meta: object;
1289
+ }>;
1290
+ }>>;
1291
+ create: import("@trpc/server").TRPCMutationProcedure<{
1292
+ input: {
1293
+ is_active?: boolean | undefined;
1294
+ id_country?: number | null | undefined;
1295
+ code?: string | null | undefined;
1296
+ name?: string | null | undefined;
1297
+ };
1298
+ output: {
1299
+ data: {
1300
+ id: number;
1301
+ name: string | null;
1302
+ is_active: boolean | null;
1303
+ id_country: number | null;
1304
+ code: string | null;
1305
+ created_at: Date | null;
1306
+ created_by: string | null;
1307
+ updated_at: Date | null;
1308
+ updated_by: string | null;
1309
+ logic_code: string | null;
1310
+ } | undefined;
1311
+ log: {
1312
+ id: number;
1313
+ url: string | null;
1314
+ id_log_type: number | null;
1315
+ id_state: number | null;
1316
+ action: string | null;
1317
+ params: JsonValue | null;
1318
+ action_by: string | null;
1319
+ action_id: string | null;
1320
+ action_at: Date | null;
1321
+ } | undefined;
1322
+ };
1323
+ meta: object;
1324
+ }>;
1325
+ update: import("@trpc/server").TRPCMutationProcedure<{
1326
+ input: {
1327
+ id?: number | null | undefined;
1328
+ id_string?: string | null | undefined;
1329
+ is_active?: boolean | undefined;
1330
+ id_country?: number | null | undefined;
1331
+ code?: string | null | undefined;
1332
+ name?: string | null | undefined;
1333
+ };
1334
+ output: {
1335
+ data: {
1336
+ id: number;
1337
+ name: string | null;
1338
+ is_active: boolean | null;
1339
+ id_country: number | null;
1340
+ code: string | null;
1341
+ created_at: Date | null;
1342
+ created_by: string | null;
1343
+ updated_at: Date | null;
1344
+ updated_by: string | null;
1345
+ logic_code: string | null;
1346
+ } | undefined;
1347
+ log: {
1348
+ id: number;
1349
+ url: string | null;
1350
+ id_log_type: number | null;
1351
+ id_state: number | null;
1352
+ action: string | null;
1353
+ params: JsonValue | null;
1354
+ action_by: string | null;
1355
+ action_id: string | null;
1356
+ action_at: Date | null;
1357
+ } | undefined;
1358
+ };
1359
+ meta: object;
1360
+ }>;
1361
+ delete: import("@trpc/server").TRPCMutationProcedure<{
1362
+ input: {
1363
+ id?: number | null | undefined;
1364
+ ids?: number[] | null | undefined;
1365
+ id_string?: string | null | undefined;
1366
+ ids_string?: string[] | null | undefined;
1367
+ };
1368
+ output: {
1369
+ data: ({
1370
+ id: number;
1371
+ name: string | null;
1372
+ is_active: boolean | null;
1373
+ id_country: number | null;
1374
+ code: string | null;
1375
+ created_at: Date | null;
1376
+ created_by: string | null;
1377
+ updated_at: Date | null;
1378
+ updated_by: string | null;
1379
+ logic_code: string | null;
1380
+ } | undefined)[];
1381
+ };
1382
+ meta: object;
1383
+ }>;
1384
+ }>>;
1385
+ cities: import("@trpc/server").TRPCBuiltRouter<{
1386
+ ctx: Context$1;
1387
+ meta: object;
1388
+ errorShape: import("@trpc/server").TRPCDefaultErrorShape;
1389
+ transformer: false;
1390
+ }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
1391
+ get: import("@trpc/server").TRPCMutationProcedure<{
1392
+ input: {
1393
+ search?: string | null | undefined;
1394
+ take?: number | null | undefined;
1395
+ skip?: number | null | undefined;
1396
+ is_active?: boolean[] | null | undefined;
1397
+ ids_include?: number[] | null | undefined;
1398
+ ids_exclude?: number[] | null | undefined;
1399
+ ids_string_include?: string[] | null | undefined;
1400
+ ids_string_exclude?: string[] | null | undefined;
1401
+ logic_codes_include?: string[] | null | undefined;
1402
+ logic_codes_exclude?: string[] | null | undefined;
1403
+ };
1404
+ output: {
1405
+ data: {
1406
+ id: number;
1407
+ name: string | null;
1408
+ is_active: boolean | null;
1409
+ id_country: number | null;
1410
+ id_state: number | null;
1411
+ code: string | null;
1412
+ created_at: Date | null;
1413
+ created_by: string | null;
1414
+ updated_at: Date | null;
1415
+ updated_by: string | null;
1416
+ logic_code: string | null;
1417
+ }[] | undefined;
1418
+ total: number | undefined;
1419
+ };
1420
+ meta: object;
1421
+ }>;
1422
+ getDetail: import("@trpc/server").TRPCMutationProcedure<{
1423
+ input: {
1424
+ id?: number | null | undefined;
1425
+ id_string?: string | null | undefined;
1426
+ };
1427
+ output: {
1428
+ data: {
1429
+ id: number;
1430
+ name: string | null;
1431
+ is_active: boolean | null;
1432
+ id_country: number | null;
1433
+ id_state: number | null;
1434
+ code: string | null;
1435
+ created_at: Date | null;
1436
+ created_by: string | null;
1437
+ updated_at: Date | null;
1438
+ updated_by: string | null;
1439
+ logic_code: string | null;
1440
+ } | undefined;
1441
+ };
1442
+ meta: object;
1443
+ }>;
1444
+ histories: import("@trpc/server").TRPCBuiltRouter<{
1445
+ ctx: Context$1;
1446
+ meta: object;
1447
+ errorShape: import("@trpc/server").TRPCDefaultErrorShape;
1448
+ transformer: false;
1449
+ }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
1450
+ get: import("@trpc/server").TRPCMutationProcedure<{
1451
+ input: {
1452
+ search?: string | null | undefined;
1453
+ take?: number | null | undefined;
1454
+ skip?: number | null | undefined;
1455
+ is_active?: boolean[] | null | undefined;
1456
+ ids_include?: number[] | null | undefined;
1457
+ ids_exclude?: number[] | null | undefined;
1458
+ ids_string_include?: string[] | null | undefined;
1459
+ ids_string_exclude?: string[] | null | undefined;
1460
+ logic_codes_include?: string[] | null | undefined;
1461
+ logic_codes_exclude?: string[] | null | undefined;
1462
+ id_log_type?: number | null | undefined;
1463
+ ids_log_type?: number[] | null | undefined;
1464
+ id_city?: number | null | undefined;
1465
+ ids_city?: number[] | null | undefined;
1466
+ };
1467
+ output: {
1468
+ data: ({
1469
+ log_type: {
1470
+ id: number;
1471
+ name: string | null;
1472
+ is_active: boolean | null;
1473
+ created_at: Date | null;
1474
+ created_by: string | null;
1475
+ updated_at: Date | null;
1476
+ updated_by: string | null;
1477
+ logic_code: string | null;
1478
+ } | null;
1479
+ } & {
1480
+ id: number;
1481
+ url: string | null;
1482
+ id_log_type: number | null;
1483
+ id_city: number | null;
1484
+ action: string | null;
1485
+ params: JsonValue | null;
1486
+ action_by: string | null;
1487
+ action_id: string | null;
1488
+ action_at: Date | null;
1489
+ })[] | undefined;
1490
+ total: number | undefined;
1491
+ };
1492
+ meta: object;
1493
+ }>;
1494
+ getDetail: import("@trpc/server").TRPCMutationProcedure<{
1495
+ input: {
1496
+ id?: number | null | undefined;
1497
+ id_string?: string | null | undefined;
1498
+ };
1499
+ output: {
1500
+ data: ({
1501
+ log_type: {
1502
+ id: number;
1503
+ name: string | null;
1504
+ is_active: boolean | null;
1505
+ created_at: Date | null;
1506
+ created_by: string | null;
1507
+ updated_at: Date | null;
1508
+ updated_by: string | null;
1509
+ logic_code: string | null;
1510
+ } | null;
1511
+ } & {
1512
+ id: number;
1513
+ url: string | null;
1514
+ id_log_type: number | null;
1515
+ id_city: number | null;
1516
+ action: string | null;
1517
+ params: JsonValue | null;
1518
+ action_by: string | null;
1519
+ action_id: string | null;
1520
+ action_at: Date | null;
1521
+ }) | undefined;
1522
+ };
1523
+ meta: object;
1524
+ }>;
1525
+ }>>;
1526
+ create: import("@trpc/server").TRPCMutationProcedure<{
1527
+ input: {
1528
+ is_active?: boolean | undefined;
1529
+ id_country?: number | null | undefined;
1530
+ id_state?: number | null | undefined;
1531
+ code?: string | null | undefined;
1532
+ name?: string | null | undefined;
1533
+ };
1534
+ output: {
1535
+ data: {
1536
+ id: number;
1537
+ name: string | null;
1538
+ is_active: boolean | null;
1539
+ id_country: number | null;
1540
+ id_state: number | null;
1541
+ code: string | null;
1542
+ created_at: Date | null;
1543
+ created_by: string | null;
1544
+ updated_at: Date | null;
1545
+ updated_by: string | null;
1546
+ logic_code: string | null;
1547
+ } | undefined;
1548
+ log: {
1549
+ id: number;
1550
+ url: string | null;
1551
+ id_log_type: number | null;
1552
+ id_city: number | null;
1553
+ action: string | null;
1554
+ params: JsonValue | null;
1555
+ action_by: string | null;
1556
+ action_id: string | null;
1557
+ action_at: Date | null;
1558
+ } | undefined;
1559
+ };
1560
+ meta: object;
1561
+ }>;
1562
+ update: import("@trpc/server").TRPCMutationProcedure<{
1563
+ input: {
1564
+ id?: number | null | undefined;
1565
+ id_string?: string | null | undefined;
1566
+ is_active?: boolean | undefined;
1567
+ id_country?: number | null | undefined;
1568
+ id_state?: number | null | undefined;
1569
+ code?: string | null | undefined;
1570
+ name?: string | null | undefined;
1571
+ };
1572
+ output: {
1573
+ data: {
1574
+ id: number;
1575
+ name: string | null;
1576
+ is_active: boolean | null;
1577
+ id_country: number | null;
1578
+ id_state: number | null;
1579
+ code: string | null;
1580
+ created_at: Date | null;
1581
+ created_by: string | null;
1582
+ updated_at: Date | null;
1583
+ updated_by: string | null;
1584
+ logic_code: string | null;
1585
+ } | undefined;
1586
+ log: {
1587
+ id: number;
1588
+ url: string | null;
1589
+ id_log_type: number | null;
1590
+ id_state: number | null;
1591
+ action: string | null;
1592
+ params: JsonValue | null;
1593
+ action_by: string | null;
1594
+ action_id: string | null;
1595
+ action_at: Date | null;
1596
+ } | undefined;
1597
+ };
1598
+ meta: object;
1599
+ }>;
1600
+ delete: import("@trpc/server").TRPCMutationProcedure<{
1601
+ input: {
1602
+ id?: number | null | undefined;
1603
+ ids?: number[] | null | undefined;
1604
+ id_string?: string | null | undefined;
1605
+ ids_string?: string[] | null | undefined;
1606
+ };
1607
+ output: {
1608
+ data: ({
1609
+ id: number;
1610
+ name: string | null;
1611
+ is_active: boolean | null;
1612
+ id_country: number | null;
1613
+ code: string | null;
1614
+ created_at: Date | null;
1615
+ created_by: string | null;
1616
+ updated_at: Date | null;
1617
+ updated_by: string | null;
1618
+ logic_code: string | null;
1619
+ } | undefined)[];
1620
+ };
1621
+ meta: object;
1622
+ }>;
1623
+ }>>;
1624
+ postalCodes: import("@trpc/server").TRPCBuiltRouter<{
1625
+ ctx: Context$1;
1626
+ meta: object;
1627
+ errorShape: import("@trpc/server").TRPCDefaultErrorShape;
1628
+ transformer: false;
1629
+ }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
1630
+ get: import("@trpc/server").TRPCMutationProcedure<{
1631
+ input: {
1632
+ search?: string | null | undefined;
1633
+ take?: number | null | undefined;
1634
+ skip?: number | null | undefined;
1635
+ is_active?: boolean[] | null | undefined;
1636
+ ids_include?: number[] | null | undefined;
1637
+ ids_exclude?: number[] | null | undefined;
1638
+ ids_string_include?: string[] | null | undefined;
1639
+ ids_string_exclude?: string[] | null | undefined;
1640
+ logic_codes_include?: string[] | null | undefined;
1641
+ logic_codes_exclude?: string[] | null | undefined;
1642
+ };
1643
+ output: {
1644
+ data: {
1645
+ id: number;
1646
+ is_active: boolean | null;
1647
+ id_country: number | null;
1648
+ code: string | null;
1649
+ created_at: Date | null;
1650
+ created_by: string | null;
1651
+ updated_at: Date | null;
1652
+ updated_by: string | null;
1653
+ logic_code: string | null;
1654
+ }[] | undefined;
1655
+ total: number | undefined;
1656
+ };
1657
+ meta: object;
1658
+ }>;
1659
+ getDetail: import("@trpc/server").TRPCMutationProcedure<{
1660
+ input: {
1661
+ id?: number | null | undefined;
1662
+ id_string?: string | null | undefined;
1663
+ };
1664
+ output: {
1665
+ data: {
1666
+ id: number;
1667
+ is_active: boolean | null;
1668
+ id_country: number | null;
1669
+ code: string | null;
1670
+ created_at: Date | null;
1671
+ created_by: string | null;
1672
+ updated_at: Date | null;
1673
+ updated_by: string | null;
1674
+ logic_code: string | null;
1675
+ } | undefined;
1676
+ };
1677
+ meta: object;
1678
+ }>;
1679
+ histories: import("@trpc/server").TRPCBuiltRouter<{
1680
+ ctx: Context$1;
1681
+ meta: object;
1682
+ errorShape: import("@trpc/server").TRPCDefaultErrorShape;
1683
+ transformer: false;
1684
+ }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
1685
+ get: import("@trpc/server").TRPCMutationProcedure<{
1686
+ input: {
1687
+ search?: string | null | undefined;
1688
+ take?: number | null | undefined;
1689
+ skip?: number | null | undefined;
1690
+ is_active?: boolean[] | null | undefined;
1691
+ ids_include?: number[] | null | undefined;
1692
+ ids_exclude?: number[] | null | undefined;
1693
+ ids_string_include?: string[] | null | undefined;
1694
+ ids_string_exclude?: string[] | null | undefined;
1695
+ logic_codes_include?: string[] | null | undefined;
1696
+ logic_codes_exclude?: string[] | null | undefined;
1697
+ id_log_type?: number | null | undefined;
1698
+ ids_log_type?: number[] | null | undefined;
1699
+ id_postal_code?: number | null | undefined;
1700
+ ids_postal_code?: number[] | null | undefined;
1701
+ };
1702
+ output: {
1703
+ data: ({
1704
+ log_type: {
1705
+ id: number;
1706
+ name: string | null;
1707
+ is_active: boolean | null;
1708
+ created_at: Date | null;
1709
+ created_by: string | null;
1710
+ updated_at: Date | null;
1711
+ updated_by: string | null;
1712
+ logic_code: string | null;
1713
+ } | null;
1714
+ } & {
1715
+ id: number;
1716
+ url: string | null;
1717
+ id_log_type: number | null;
1718
+ action: string | null;
1719
+ params: JsonValue | null;
1720
+ action_by: string | null;
1721
+ action_id: string | null;
1722
+ action_at: Date | null;
1723
+ id_postal_code: number | null;
1724
+ })[] | undefined;
1725
+ total: number | undefined;
1726
+ };
1727
+ meta: object;
1728
+ }>;
1729
+ getDetail: import("@trpc/server").TRPCMutationProcedure<{
1730
+ input: {
1731
+ id?: number | null | undefined;
1732
+ id_string?: string | null | undefined;
1733
+ };
1734
+ output: {
1735
+ data: ({
1736
+ log_type: {
1737
+ id: number;
1738
+ name: string | null;
1739
+ is_active: boolean | null;
1740
+ created_at: Date | null;
1741
+ created_by: string | null;
1742
+ updated_at: Date | null;
1743
+ updated_by: string | null;
1744
+ logic_code: string | null;
1745
+ } | null;
1746
+ } & {
1747
+ id: number;
1748
+ url: string | null;
1749
+ id_log_type: number | null;
1750
+ action: string | null;
1751
+ params: JsonValue | null;
1752
+ action_by: string | null;
1753
+ action_id: string | null;
1754
+ action_at: Date | null;
1755
+ id_postal_code: number | null;
1756
+ }) | undefined;
1757
+ };
1758
+ meta: object;
1759
+ }>;
1760
+ }>>;
1761
+ create: import("@trpc/server").TRPCMutationProcedure<{
1762
+ input: {
1763
+ is_active?: boolean | undefined;
1764
+ id_country?: number | null | undefined;
1765
+ code?: string | null | undefined;
1766
+ };
1767
+ output: {
1768
+ data: {
1769
+ id: number;
1770
+ is_active: boolean | null;
1771
+ id_country: number | null;
1772
+ code: string | null;
1773
+ created_at: Date | null;
1774
+ created_by: string | null;
1775
+ updated_at: Date | null;
1776
+ updated_by: string | null;
1777
+ logic_code: string | null;
1778
+ } | undefined;
1779
+ log: {
1780
+ id: number;
1781
+ url: string | null;
1782
+ id_log_type: number | null;
1783
+ action: string | null;
1784
+ params: JsonValue | null;
1785
+ action_by: string | null;
1786
+ action_id: string | null;
1787
+ action_at: Date | null;
1788
+ id_postal_code: number | null;
1789
+ } | undefined;
1790
+ };
1791
+ meta: object;
1792
+ }>;
1793
+ update: import("@trpc/server").TRPCMutationProcedure<{
1794
+ input: {
1795
+ id?: number | null | undefined;
1796
+ id_string?: string | null | undefined;
1797
+ is_active?: boolean | undefined;
1798
+ id_country?: number | null | undefined;
1799
+ code?: string | null | undefined;
1800
+ };
1801
+ output: {
1802
+ data: {
1803
+ id: number;
1804
+ is_active: boolean | null;
1805
+ id_country: number | null;
1806
+ code: string | null;
1807
+ created_at: Date | null;
1808
+ created_by: string | null;
1809
+ updated_at: Date | null;
1810
+ updated_by: string | null;
1811
+ logic_code: string | null;
1812
+ } | undefined;
1813
+ log: {
1814
+ id: number;
1815
+ url: string | null;
1816
+ id_log_type: number | null;
1817
+ id_country: number | null;
1818
+ action: string | null;
1819
+ params: JsonValue | null;
1820
+ action_by: string | null;
1821
+ action_id: string | null;
1822
+ action_at: Date | null;
1823
+ } | undefined;
1824
+ };
1825
+ meta: object;
1826
+ }>;
1827
+ delete: import("@trpc/server").TRPCMutationProcedure<{
1828
+ input: {
1829
+ id?: number | null | undefined;
1830
+ ids?: number[] | null | undefined;
1831
+ id_string?: string | null | undefined;
1832
+ ids_string?: string[] | null | undefined;
1833
+ };
1834
+ output: {
1835
+ data: ({
1836
+ id: number;
1837
+ is_active: boolean | null;
1838
+ id_country: number | null;
1839
+ code: string | null;
1840
+ created_at: Date | null;
1841
+ created_by: string | null;
1842
+ updated_at: Date | null;
1843
+ updated_by: string | null;
1844
+ logic_code: string | null;
1845
+ } | undefined)[];
1846
+ };
1847
+ meta: object;
1848
+ }>;
1849
+ }>>;
1850
+ timeZones: import("@trpc/server").TRPCBuiltRouter<{
1851
+ ctx: Context$1;
1852
+ meta: object;
1853
+ errorShape: import("@trpc/server").TRPCDefaultErrorShape;
1854
+ transformer: false;
1855
+ }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
1856
+ get: import("@trpc/server").TRPCMutationProcedure<{
1857
+ input: {
1858
+ search?: string | null | undefined;
1859
+ take?: number | null | undefined;
1860
+ skip?: number | null | undefined;
1861
+ is_active?: boolean[] | null | undefined;
1862
+ ids_include?: number[] | null | undefined;
1863
+ ids_exclude?: number[] | null | undefined;
1864
+ ids_string_include?: string[] | null | undefined;
1865
+ ids_string_exclude?: string[] | null | undefined;
1866
+ logic_codes_include?: string[] | null | undefined;
1867
+ logic_codes_exclude?: string[] | null | undefined;
1868
+ };
1869
+ output: {
1870
+ data: {
1871
+ id: number;
1872
+ name: string | null;
1873
+ is_active: boolean | null;
1874
+ code: string | null;
1875
+ created_at: Date | null;
1876
+ created_by: string | null;
1877
+ updated_at: Date | null;
1878
+ updated_by: string | null;
1879
+ logic_code: string | null;
1880
+ utc_offset: Decimal | null;
1881
+ }[] | undefined;
1882
+ total: number | undefined;
1883
+ };
1884
+ meta: object;
1885
+ }>;
1886
+ getDetail: import("@trpc/server").TRPCMutationProcedure<{
1887
+ input: {
1888
+ id?: number | null | undefined;
1889
+ id_string?: string | null | undefined;
1890
+ };
1891
+ output: {
1892
+ data: {
1893
+ id: number;
1894
+ name: string | null;
1895
+ is_active: boolean | null;
1896
+ code: string | null;
1897
+ created_at: Date | null;
1898
+ created_by: string | null;
1899
+ updated_at: Date | null;
1900
+ updated_by: string | null;
1901
+ logic_code: string | null;
1902
+ utc_offset: Decimal | null;
1903
+ } | undefined;
1904
+ };
1905
+ meta: object;
1906
+ }>;
1907
+ histories: import("@trpc/server").TRPCBuiltRouter<{
1908
+ ctx: Context$1;
1909
+ meta: object;
1910
+ errorShape: import("@trpc/server").TRPCDefaultErrorShape;
1911
+ transformer: false;
1912
+ }, import("@trpc/server").TRPCDecorateCreateRouterOptions<{
1913
+ get: import("@trpc/server").TRPCMutationProcedure<{
1914
+ input: {
1915
+ search?: string | null | undefined;
1916
+ take?: number | null | undefined;
1917
+ skip?: number | null | undefined;
1918
+ is_active?: boolean[] | null | undefined;
1919
+ ids_include?: number[] | null | undefined;
1920
+ ids_exclude?: number[] | null | undefined;
1921
+ ids_string_include?: string[] | null | undefined;
1922
+ ids_string_exclude?: string[] | null | undefined;
1923
+ logic_codes_include?: string[] | null | undefined;
1924
+ logic_codes_exclude?: string[] | null | undefined;
1925
+ id_log_type?: number | null | undefined;
1926
+ ids_log_type?: number[] | null | undefined;
1927
+ id_time_zone?: number | null | undefined;
1928
+ ids_time_zone?: number[] | null | undefined;
1929
+ };
1930
+ output: {
1931
+ data: ({
1932
+ log_type: {
1933
+ id: number;
1934
+ name: string | null;
1935
+ is_active: boolean | null;
1936
+ created_at: Date | null;
1937
+ created_by: string | null;
1938
+ updated_at: Date | null;
1939
+ updated_by: string | null;
1940
+ logic_code: string | null;
1941
+ } | null;
1942
+ } & {
1943
+ id: number;
1944
+ url: string | null;
1945
+ id_log_type: number | null;
1946
+ action: string | null;
1947
+ params: JsonValue | null;
1948
+ action_by: string | null;
1949
+ action_id: string | null;
1950
+ action_at: Date | null;
1951
+ id_time_zone: number | null;
1952
+ })[] | undefined;
1953
+ total: number | undefined;
1954
+ };
1955
+ meta: object;
1956
+ }>;
1957
+ getDetail: import("@trpc/server").TRPCMutationProcedure<{
1958
+ input: {
1959
+ id?: number | null | undefined;
1960
+ id_string?: string | null | undefined;
1961
+ };
1962
+ output: {
1963
+ data: ({
1964
+ log_type: {
1965
+ id: number;
1966
+ name: string | null;
1967
+ is_active: boolean | null;
1968
+ created_at: Date | null;
1969
+ created_by: string | null;
1970
+ updated_at: Date | null;
1971
+ updated_by: string | null;
1972
+ logic_code: string | null;
1973
+ } | null;
1974
+ } & {
1975
+ id: number;
1976
+ url: string | null;
1977
+ id_log_type: number | null;
1978
+ action: string | null;
1979
+ params: JsonValue | null;
1980
+ action_by: string | null;
1981
+ action_id: string | null;
1982
+ action_at: Date | null;
1983
+ id_time_zone: number | null;
1984
+ }) | undefined;
1985
+ };
1986
+ meta: object;
1987
+ }>;
1988
+ }>>;
1989
+ create: import("@trpc/server").TRPCMutationProcedure<{
1990
+ input: {
1991
+ is_active?: boolean | undefined;
1992
+ code?: string | null | undefined;
1993
+ name?: string | null | undefined;
1994
+ utc_offset?: string | null | undefined;
1995
+ };
1996
+ output: {
1997
+ data: {
1998
+ id: number;
1999
+ name: string | null;
2000
+ is_active: boolean | null;
2001
+ code: string | null;
2002
+ created_at: Date | null;
2003
+ created_by: string | null;
2004
+ updated_at: Date | null;
2005
+ updated_by: string | null;
2006
+ logic_code: string | null;
2007
+ utc_offset: Decimal | null;
2008
+ } | undefined;
2009
+ log: {
2010
+ id: number;
2011
+ url: string | null;
2012
+ id_log_type: number | null;
2013
+ action: string | null;
2014
+ params: JsonValue | null;
2015
+ action_by: string | null;
2016
+ action_id: string | null;
2017
+ action_at: Date | null;
2018
+ id_time_zone: number | null;
2019
+ } | undefined;
2020
+ };
2021
+ meta: object;
2022
+ }>;
2023
+ update: import("@trpc/server").TRPCMutationProcedure<{
2024
+ input: {
2025
+ id?: number | null | undefined;
2026
+ id_string?: string | null | undefined;
2027
+ is_active?: boolean | undefined;
2028
+ code?: string | null | undefined;
2029
+ name?: string | null | undefined;
2030
+ utc_offset?: string | null | undefined;
2031
+ };
2032
+ output: {
2033
+ data: {
2034
+ id: number;
2035
+ name: string | null;
2036
+ is_active: boolean | null;
2037
+ code: string | null;
2038
+ created_at: Date | null;
2039
+ created_by: string | null;
2040
+ updated_at: Date | null;
2041
+ updated_by: string | null;
2042
+ logic_code: string | null;
2043
+ utc_offset: Decimal | null;
2044
+ } | undefined;
2045
+ log: {
2046
+ id: number;
2047
+ url: string | null;
2048
+ id_log_type: number | null;
2049
+ action: string | null;
2050
+ params: JsonValue | null;
2051
+ action_by: string | null;
2052
+ action_id: string | null;
2053
+ action_at: Date | null;
2054
+ id_time_zone: number | null;
2055
+ } | undefined;
2056
+ };
2057
+ meta: object;
2058
+ }>;
2059
+ delete: import("@trpc/server").TRPCMutationProcedure<{
2060
+ input: {
2061
+ id?: number | null | undefined;
2062
+ ids?: number[] | null | undefined;
2063
+ id_string?: string | null | undefined;
2064
+ ids_string?: string[] | null | undefined;
2065
+ };
2066
+ output: {
2067
+ data: ({
2068
+ id: number;
2069
+ name: string | null;
2070
+ is_active: boolean | null;
2071
+ code: string | null;
2072
+ created_at: Date | null;
2073
+ created_by: string | null;
2074
+ updated_at: Date | null;
2075
+ updated_by: string | null;
2076
+ logic_code: string | null;
2077
+ utc_offset: Decimal | null;
2078
+ } | undefined)[];
2079
+ };
2080
+ meta: object;
2081
+ }>;
2082
+ }>>;
1391
2083
  }>>;
1392
2084
  }>>;
1393
2085
  }>>;