@be-logixpair/api 0.0.27 → 0.0.28

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 +1819 -0
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -651484,6 +651484,1825 @@ declare const appRouter: BuiltRouter<{
651484
651484
  }>;
651485
651485
  }>>;
651486
651486
  }>>;
651487
+ accounts: BuiltRouter<{
651488
+ ctx: Context;
651489
+ meta: object;
651490
+ errorShape: DefaultErrorShape;
651491
+ transformer: false;
651492
+ }, DecorateCreateRouterOptions<{
651493
+ bankAccounts: BuiltRouter<{
651494
+ ctx: Context;
651495
+ meta: object;
651496
+ errorShape: DefaultErrorShape;
651497
+ transformer: false;
651498
+ }, DecorateCreateRouterOptions<{
651499
+ get: MutationProcedure<{
651500
+ input: {
651501
+ search?: string | null | undefined;
651502
+ take?: number | null | undefined;
651503
+ skip?: number | null | undefined;
651504
+ is_active?: boolean[] | null | undefined;
651505
+ ids_include?: number[] | null | undefined;
651506
+ ids_exclude?: number[] | null | undefined;
651507
+ ids_string_include?: string[] | null | undefined;
651508
+ ids_string_exclude?: string[] | null | undefined;
651509
+ logic_codes_include?: string[] | null | undefined;
651510
+ logic_codes_exclude?: string[] | null | undefined;
651511
+ order_by?: {
651512
+ field: string;
651513
+ direction: "asc" | "desc";
651514
+ } | null | undefined;
651515
+ order_bys?: {
651516
+ field: string;
651517
+ direction: "asc" | "desc";
651518
+ }[] | null | undefined;
651519
+ id_type?: number | null | undefined;
651520
+ ids_type?: number[] | null | undefined;
651521
+ id_company?: number | null | undefined;
651522
+ ids_company?: number[] | null | undefined;
651523
+ id_branch?: number | null | undefined;
651524
+ ids_branch?: number[] | null | undefined;
651525
+ id_gl_account?: number | null | undefined;
651526
+ ids_gl_account?: number[] | null | undefined;
651527
+ id_country?: number | null | undefined;
651528
+ ids_country?: number[] | null | undefined;
651529
+ id_currency?: number | null | undefined;
651530
+ ids_currency?: number[] | null | undefined;
651531
+ id_os_balance_currency?: number | null | undefined;
651532
+ ids_os_balance_currency?: number[] | null | undefined;
651533
+ id_local_balance_currency?: number | null | undefined;
651534
+ ids_local_balance_currency?: number[] | null | undefined;
651535
+ };
651536
+ output: {
651537
+ data: ({
651538
+ country: {
651539
+ is_active: boolean | null;
651540
+ id: number;
651541
+ name: string | null;
651542
+ logic_code: string | null;
651543
+ created_at: Date | null;
651544
+ created_by: string | null;
651545
+ updated_at: Date | null;
651546
+ updated_by: string | null;
651547
+ id_currency: number | null;
651548
+ iso2_code: string | null;
651549
+ iso3_code: string | null;
651550
+ iso3_numeric: string | null;
651551
+ is_sanctioned: boolean | null;
651552
+ } | null;
651553
+ currency: {
651554
+ symbol: string | null;
651555
+ is_active: boolean | null;
651556
+ id: number;
651557
+ name: string | null;
651558
+ logic_code: string | null;
651559
+ created_at: Date | null;
651560
+ created_by: string | null;
651561
+ updated_at: Date | null;
651562
+ updated_by: string | null;
651563
+ currency_code: string | null;
651564
+ currency_name: string | null;
651565
+ major_unit: string | null;
651566
+ minor_unit: string | null;
651567
+ decimal_unit: number | null;
651568
+ iso_decimal: number | null;
651569
+ } | null;
651570
+ bank_account_type: {
651571
+ is_active: boolean | null;
651572
+ id: number;
651573
+ name: string | null;
651574
+ logic_code: string | null;
651575
+ created_at: Date | null;
651576
+ created_by: string | null;
651577
+ updated_at: Date | null;
651578
+ updated_by: string | null;
651579
+ code: string | null;
651580
+ } | null;
651581
+ company: {
651582
+ is_active: boolean | null;
651583
+ id_un_locode: number | null;
651584
+ id_country: number | null;
651585
+ id_state: number | null;
651586
+ id_city: number | null;
651587
+ id_postal_code: number | null;
651588
+ id: number;
651589
+ name: string | null;
651590
+ logic_code: string | null;
651591
+ created_at: Date | null;
651592
+ created_by: string | null;
651593
+ updated_at: Date | null;
651594
+ updated_by: string | null;
651595
+ code: string | null;
651596
+ address: string | null;
651597
+ } | null;
651598
+ branch: {
651599
+ is_active: boolean | null;
651600
+ id_un_locode: number | null;
651601
+ id_country: number | null;
651602
+ id_state: number | null;
651603
+ id_city: number | null;
651604
+ id_postal_code: number | null;
651605
+ id: number;
651606
+ name: string | null;
651607
+ logic_code: string | null;
651608
+ created_at: Date | null;
651609
+ created_by: string | null;
651610
+ updated_at: Date | null;
651611
+ updated_by: string | null;
651612
+ code: string | null;
651613
+ address: string | null;
651614
+ id_company: number | null;
651615
+ } | null;
651616
+ os_balance_currency: {
651617
+ symbol: string | null;
651618
+ is_active: boolean | null;
651619
+ id: number;
651620
+ name: string | null;
651621
+ logic_code: string | null;
651622
+ created_at: Date | null;
651623
+ created_by: string | null;
651624
+ updated_at: Date | null;
651625
+ updated_by: string | null;
651626
+ currency_code: string | null;
651627
+ currency_name: string | null;
651628
+ major_unit: string | null;
651629
+ minor_unit: string | null;
651630
+ decimal_unit: number | null;
651631
+ iso_decimal: number | null;
651632
+ } | null;
651633
+ local_balance_currency: {
651634
+ symbol: string | null;
651635
+ is_active: boolean | null;
651636
+ id: number;
651637
+ name: string | null;
651638
+ logic_code: string | null;
651639
+ created_at: Date | null;
651640
+ created_by: string | null;
651641
+ updated_at: Date | null;
651642
+ updated_by: string | null;
651643
+ currency_code: string | null;
651644
+ currency_name: string | null;
651645
+ major_unit: string | null;
651646
+ minor_unit: string | null;
651647
+ decimal_unit: number | null;
651648
+ iso_decimal: number | null;
651649
+ } | null;
651650
+ gl_account: {
651651
+ is_active: boolean | null;
651652
+ id: number;
651653
+ name: string | null;
651654
+ logic_code: string | null;
651655
+ created_at: Date | null;
651656
+ created_by: string | null;
651657
+ updated_at: Date | null;
651658
+ updated_by: string | null;
651659
+ code: string | null;
651660
+ id_type: number | null;
651661
+ id_percent_of_account: number | null;
651662
+ id_consolidate_account: number | null;
651663
+ id_alternate_account: number | null;
651664
+ id_section: number | null;
651665
+ id_cash_flow_type: number | null;
651666
+ id_sub_account_type: number | null;
651667
+ credit_debit: ("CREDIT" | "DEBIT") | null;
651668
+ code_account_for_total: string | null;
651669
+ code_local_account: string | null;
651670
+ local_account_description: string | null;
651671
+ is_controllable: boolean | null;
651672
+ } | null;
651673
+ } & {
651674
+ is_active: boolean | null;
651675
+ id_country: number | null;
651676
+ id: number;
651677
+ name: string | null;
651678
+ logic_code: string | null;
651679
+ created_at: Date | null;
651680
+ created_by: string | null;
651681
+ updated_at: Date | null;
651682
+ updated_by: string | null;
651683
+ code: string | null;
651684
+ id_currency: number | null;
651685
+ id_type: number | null;
651686
+ id_company: number | null;
651687
+ id_branch: number | null;
651688
+ id_gl_account: number | null;
651689
+ id_os_balance_currency: number | null;
651690
+ id_local_balance_currency: number | null;
651691
+ bank_name: string | null;
651692
+ bank_address: string | null;
651693
+ bank_account_name: string | null;
651694
+ bank_account_number: string | null;
651695
+ bank_bsb_number: string | null;
651696
+ bank_swift_code: string | null;
651697
+ bank_iban_code: string | null;
651698
+ bank_unique_account_number: string | null;
651699
+ opening_os_balance: Decimal | null;
651700
+ opening_local_balance: Decimal | null;
651701
+ credit_card_name: string | null;
651702
+ credit_card_number: string | null;
651703
+ credit_card_expiry_date: Date | null;
651704
+ credit_card_cvv: string | null;
651705
+ is_detailed_deposit_slip: boolean | null;
651706
+ is_default_receipt_account: boolean | null;
651707
+ })[] | undefined;
651708
+ total: number | undefined;
651709
+ };
651710
+ meta: object;
651711
+ }>;
651712
+ getDetail: MutationProcedure<{
651713
+ input: {
651714
+ id?: number | null | undefined;
651715
+ id_string?: string | null | undefined;
651716
+ };
651717
+ output: {
651718
+ data: {
651719
+ country: {
651720
+ is_active: boolean | null;
651721
+ id: number;
651722
+ name: string | null;
651723
+ logic_code: string | null;
651724
+ created_at: Date | null;
651725
+ created_by: string | null;
651726
+ updated_at: Date | null;
651727
+ updated_by: string | null;
651728
+ id_currency: number | null;
651729
+ iso2_code: string | null;
651730
+ iso3_code: string | null;
651731
+ iso3_numeric: string | null;
651732
+ is_sanctioned: boolean | null;
651733
+ } | null;
651734
+ _count: {
651735
+ bank_account_type: number;
651736
+ company: number;
651737
+ branch: number;
651738
+ country: number;
651739
+ currency: number;
651740
+ os_balance_currency: number;
651741
+ local_balance_currency: number;
651742
+ gl_account: number;
651743
+ bank_account_logs: number;
651744
+ bank_account_attachments: number;
651745
+ organization_account_bank_details: number;
651746
+ };
651747
+ currency: {
651748
+ symbol: string | null;
651749
+ is_active: boolean | null;
651750
+ id: number;
651751
+ name: string | null;
651752
+ logic_code: string | null;
651753
+ created_at: Date | null;
651754
+ created_by: string | null;
651755
+ updated_at: Date | null;
651756
+ updated_by: string | null;
651757
+ currency_code: string | null;
651758
+ currency_name: string | null;
651759
+ major_unit: string | null;
651760
+ minor_unit: string | null;
651761
+ decimal_unit: number | null;
651762
+ iso_decimal: number | null;
651763
+ } | null;
651764
+ bank_account_type: {
651765
+ is_active: boolean | null;
651766
+ id: number;
651767
+ name: string | null;
651768
+ logic_code: string | null;
651769
+ created_at: Date | null;
651770
+ created_by: string | null;
651771
+ updated_at: Date | null;
651772
+ updated_by: string | null;
651773
+ code: string | null;
651774
+ } | null;
651775
+ company: {
651776
+ is_active: boolean | null;
651777
+ id_un_locode: number | null;
651778
+ id_country: number | null;
651779
+ id_state: number | null;
651780
+ id_city: number | null;
651781
+ id_postal_code: number | null;
651782
+ id: number;
651783
+ name: string | null;
651784
+ logic_code: string | null;
651785
+ created_at: Date | null;
651786
+ created_by: string | null;
651787
+ updated_at: Date | null;
651788
+ updated_by: string | null;
651789
+ code: string | null;
651790
+ address: string | null;
651791
+ } | null;
651792
+ branch: {
651793
+ is_active: boolean | null;
651794
+ id_un_locode: number | null;
651795
+ id_country: number | null;
651796
+ id_state: number | null;
651797
+ id_city: number | null;
651798
+ id_postal_code: number | null;
651799
+ id: number;
651800
+ name: string | null;
651801
+ logic_code: string | null;
651802
+ created_at: Date | null;
651803
+ created_by: string | null;
651804
+ updated_at: Date | null;
651805
+ updated_by: string | null;
651806
+ code: string | null;
651807
+ address: string | null;
651808
+ id_company: number | null;
651809
+ } | null;
651810
+ os_balance_currency: {
651811
+ symbol: string | null;
651812
+ is_active: boolean | null;
651813
+ id: number;
651814
+ name: string | null;
651815
+ logic_code: string | null;
651816
+ created_at: Date | null;
651817
+ created_by: string | null;
651818
+ updated_at: Date | null;
651819
+ updated_by: string | null;
651820
+ currency_code: string | null;
651821
+ currency_name: string | null;
651822
+ major_unit: string | null;
651823
+ minor_unit: string | null;
651824
+ decimal_unit: number | null;
651825
+ iso_decimal: number | null;
651826
+ } | null;
651827
+ local_balance_currency: {
651828
+ symbol: string | null;
651829
+ is_active: boolean | null;
651830
+ id: number;
651831
+ name: string | null;
651832
+ logic_code: string | null;
651833
+ created_at: Date | null;
651834
+ created_by: string | null;
651835
+ updated_at: Date | null;
651836
+ updated_by: string | null;
651837
+ currency_code: string | null;
651838
+ currency_name: string | null;
651839
+ major_unit: string | null;
651840
+ minor_unit: string | null;
651841
+ decimal_unit: number | null;
651842
+ iso_decimal: number | null;
651843
+ } | null;
651844
+ gl_account: {
651845
+ is_active: boolean | null;
651846
+ id: number;
651847
+ name: string | null;
651848
+ logic_code: string | null;
651849
+ created_at: Date | null;
651850
+ created_by: string | null;
651851
+ updated_at: Date | null;
651852
+ updated_by: string | null;
651853
+ code: string | null;
651854
+ id_type: number | null;
651855
+ id_percent_of_account: number | null;
651856
+ id_consolidate_account: number | null;
651857
+ id_alternate_account: number | null;
651858
+ id_section: number | null;
651859
+ id_cash_flow_type: number | null;
651860
+ id_sub_account_type: number | null;
651861
+ credit_debit: ("CREDIT" | "DEBIT") | null;
651862
+ code_account_for_total: string | null;
651863
+ code_local_account: string | null;
651864
+ local_account_description: string | null;
651865
+ is_controllable: boolean | null;
651866
+ } | null;
651867
+ } & {
651868
+ is_active: boolean | null;
651869
+ id_country: number | null;
651870
+ id: number;
651871
+ name: string | null;
651872
+ logic_code: string | null;
651873
+ created_at: Date | null;
651874
+ created_by: string | null;
651875
+ updated_at: Date | null;
651876
+ updated_by: string | null;
651877
+ code: string | null;
651878
+ id_currency: number | null;
651879
+ id_type: number | null;
651880
+ id_company: number | null;
651881
+ id_branch: number | null;
651882
+ id_gl_account: number | null;
651883
+ id_os_balance_currency: number | null;
651884
+ id_local_balance_currency: number | null;
651885
+ bank_name: string | null;
651886
+ bank_address: string | null;
651887
+ bank_account_name: string | null;
651888
+ bank_account_number: string | null;
651889
+ bank_bsb_number: string | null;
651890
+ bank_swift_code: string | null;
651891
+ bank_iban_code: string | null;
651892
+ bank_unique_account_number: string | null;
651893
+ opening_os_balance: Decimal | null;
651894
+ opening_local_balance: Decimal | null;
651895
+ credit_card_name: string | null;
651896
+ credit_card_number: string | null;
651897
+ credit_card_expiry_date: Date | null;
651898
+ credit_card_cvv: string | null;
651899
+ is_detailed_deposit_slip: boolean | null;
651900
+ is_default_receipt_account: boolean | null;
651901
+ };
651902
+ };
651903
+ meta: object;
651904
+ }>;
651905
+ histories: BuiltRouter<{
651906
+ ctx: Context;
651907
+ meta: object;
651908
+ errorShape: DefaultErrorShape;
651909
+ transformer: false;
651910
+ }, DecorateCreateRouterOptions<{
651911
+ get: MutationProcedure<{
651912
+ input: {
651913
+ search?: string | null | undefined;
651914
+ take?: number | null | undefined;
651915
+ skip?: number | null | undefined;
651916
+ is_active?: boolean[] | null | undefined;
651917
+ ids_include?: number[] | null | undefined;
651918
+ ids_exclude?: number[] | null | undefined;
651919
+ ids_string_include?: string[] | null | undefined;
651920
+ ids_string_exclude?: string[] | null | undefined;
651921
+ logic_codes_include?: string[] | null | undefined;
651922
+ logic_codes_exclude?: string[] | null | undefined;
651923
+ order_by?: {
651924
+ field: string;
651925
+ direction: "asc" | "desc";
651926
+ } | null | undefined;
651927
+ order_bys?: {
651928
+ field: string;
651929
+ direction: "asc" | "desc";
651930
+ }[] | null | undefined;
651931
+ id_log_type?: number | null | undefined;
651932
+ ids_log_type?: number[] | null | undefined;
651933
+ id_bank_account?: number | null | undefined;
651934
+ ids_bank_account?: number[] | null | undefined;
651935
+ };
651936
+ output: {
651937
+ data: {
651938
+ log_type: {
651939
+ is_active: boolean | null;
651940
+ id: number;
651941
+ name: string | null;
651942
+ logic_code: string | null;
651943
+ created_at: Date | null;
651944
+ created_by: string | null;
651945
+ updated_at: Date | null;
651946
+ updated_by: string | null;
651947
+ } | null;
651948
+ id: number;
651949
+ id_log_type: number | null;
651950
+ url: string | null;
651951
+ params: SimpleJson;
651952
+ action: string | null;
651953
+ action_by: string | null;
651954
+ action_id: string | null;
651955
+ action_at: Date | null;
651956
+ id_bank_account: number | null;
651957
+ }[] | undefined;
651958
+ total: number | undefined;
651959
+ };
651960
+ meta: object;
651961
+ }>;
651962
+ getDetail: MutationProcedure<{
651963
+ input: {
651964
+ id?: number | null | undefined;
651965
+ id_string?: string | null | undefined;
651966
+ };
651967
+ output: {
651968
+ data: {
651969
+ log_type: {
651970
+ is_active: boolean | null;
651971
+ id: number;
651972
+ name: string | null;
651973
+ logic_code: string | null;
651974
+ created_at: Date | null;
651975
+ created_by: string | null;
651976
+ updated_at: Date | null;
651977
+ updated_by: string | null;
651978
+ } | null;
651979
+ id: number;
651980
+ id_log_type: number | null;
651981
+ url: string | null;
651982
+ params: SimpleJson;
651983
+ action: string | null;
651984
+ action_by: string | null;
651985
+ action_id: string | null;
651986
+ action_at: Date | null;
651987
+ id_bank_account: number | null;
651988
+ } | undefined;
651989
+ };
651990
+ meta: object;
651991
+ }>;
651992
+ }>>;
651993
+ create: MutationProcedure<{
651994
+ input: {
651995
+ is_active?: boolean | undefined;
651996
+ id_type?: number | null | undefined;
651997
+ id_company?: number | null | undefined;
651998
+ id_branch?: number | null | undefined;
651999
+ id_gl_account?: number | null | undefined;
652000
+ id_country?: number | null | undefined;
652001
+ id_currency?: number | null | undefined;
652002
+ id_os_balance_currency?: number | null | undefined;
652003
+ id_local_balance_currency?: number | null | undefined;
652004
+ code?: string | null | undefined;
652005
+ name?: string | null | undefined;
652006
+ bank_name?: string | null | undefined;
652007
+ bank_address?: string | null | undefined;
652008
+ bank_account_name?: string | null | undefined;
652009
+ bank_account_number?: string | null | undefined;
652010
+ bank_bsb_number?: string | null | undefined;
652011
+ bank_swift_code?: string | null | undefined;
652012
+ bank_iban_code?: string | null | undefined;
652013
+ bank_unique_account_number?: string | null | undefined;
652014
+ opening_os_balance?: string | null | undefined;
652015
+ opening_local_balance?: string | null | undefined;
652016
+ credit_card_name?: string | null | undefined;
652017
+ credit_card_number?: string | null | undefined;
652018
+ credit_card_expiry_date?: string | null | undefined;
652019
+ credit_card_cvv?: string | null | undefined;
652020
+ is_detailed_deposit_slip?: boolean | null | undefined;
652021
+ is_default_receipt_account?: boolean | null | undefined;
652022
+ };
652023
+ output: {
652024
+ data: {
652025
+ is_active: boolean | null;
652026
+ id_country: number | null;
652027
+ id: number;
652028
+ name: string | null;
652029
+ logic_code: string | null;
652030
+ created_at: Date | null;
652031
+ created_by: string | null;
652032
+ updated_at: Date | null;
652033
+ updated_by: string | null;
652034
+ code: string | null;
652035
+ id_currency: number | null;
652036
+ id_type: number | null;
652037
+ id_company: number | null;
652038
+ id_branch: number | null;
652039
+ id_gl_account: number | null;
652040
+ id_os_balance_currency: number | null;
652041
+ id_local_balance_currency: number | null;
652042
+ bank_name: string | null;
652043
+ bank_address: string | null;
652044
+ bank_account_name: string | null;
652045
+ bank_account_number: string | null;
652046
+ bank_bsb_number: string | null;
652047
+ bank_swift_code: string | null;
652048
+ bank_iban_code: string | null;
652049
+ bank_unique_account_number: string | null;
652050
+ opening_os_balance: Decimal | null;
652051
+ opening_local_balance: Decimal | null;
652052
+ credit_card_name: string | null;
652053
+ credit_card_number: string | null;
652054
+ credit_card_expiry_date: Date | null;
652055
+ credit_card_cvv: string | null;
652056
+ is_detailed_deposit_slip: boolean | null;
652057
+ is_default_receipt_account: boolean | null;
652058
+ } | undefined;
652059
+ log: {
652060
+ id: number;
652061
+ id_log_type: number | null;
652062
+ url: string | null;
652063
+ params: SimpleJson;
652064
+ action: string | null;
652065
+ action_by: string | null;
652066
+ action_id: string | null;
652067
+ action_at: Date | null;
652068
+ id_bank_account: number | null;
652069
+ } | undefined;
652070
+ };
652071
+ meta: object;
652072
+ }>;
652073
+ update: MutationProcedure<{
652074
+ input: {
652075
+ id?: number | null | undefined;
652076
+ id_string?: string | null | undefined;
652077
+ is_active?: boolean | undefined;
652078
+ id_type?: number | null | undefined;
652079
+ id_company?: number | null | undefined;
652080
+ id_branch?: number | null | undefined;
652081
+ id_gl_account?: number | null | undefined;
652082
+ id_country?: number | null | undefined;
652083
+ id_currency?: number | null | undefined;
652084
+ id_os_balance_currency?: number | null | undefined;
652085
+ id_local_balance_currency?: number | null | undefined;
652086
+ code?: string | null | undefined;
652087
+ name?: string | null | undefined;
652088
+ bank_name?: string | null | undefined;
652089
+ bank_address?: string | null | undefined;
652090
+ bank_account_name?: string | null | undefined;
652091
+ bank_account_number?: string | null | undefined;
652092
+ bank_bsb_number?: string | null | undefined;
652093
+ bank_swift_code?: string | null | undefined;
652094
+ bank_iban_code?: string | null | undefined;
652095
+ bank_unique_account_number?: string | null | undefined;
652096
+ opening_os_balance?: string | null | undefined;
652097
+ opening_local_balance?: string | null | undefined;
652098
+ credit_card_name?: string | null | undefined;
652099
+ credit_card_number?: string | null | undefined;
652100
+ credit_card_expiry_date?: string | null | undefined;
652101
+ credit_card_cvv?: string | null | undefined;
652102
+ is_detailed_deposit_slip?: boolean | null | undefined;
652103
+ is_default_receipt_account?: boolean | null | undefined;
652104
+ };
652105
+ output: {
652106
+ data: {
652107
+ is_active: boolean | null;
652108
+ id_country: number | null;
652109
+ id: number;
652110
+ name: string | null;
652111
+ logic_code: string | null;
652112
+ created_at: Date | null;
652113
+ created_by: string | null;
652114
+ updated_at: Date | null;
652115
+ updated_by: string | null;
652116
+ code: string | null;
652117
+ id_currency: number | null;
652118
+ id_type: number | null;
652119
+ id_company: number | null;
652120
+ id_branch: number | null;
652121
+ id_gl_account: number | null;
652122
+ id_os_balance_currency: number | null;
652123
+ id_local_balance_currency: number | null;
652124
+ bank_name: string | null;
652125
+ bank_address: string | null;
652126
+ bank_account_name: string | null;
652127
+ bank_account_number: string | null;
652128
+ bank_bsb_number: string | null;
652129
+ bank_swift_code: string | null;
652130
+ bank_iban_code: string | null;
652131
+ bank_unique_account_number: string | null;
652132
+ opening_os_balance: Decimal | null;
652133
+ opening_local_balance: Decimal | null;
652134
+ credit_card_name: string | null;
652135
+ credit_card_number: string | null;
652136
+ credit_card_expiry_date: Date | null;
652137
+ credit_card_cvv: string | null;
652138
+ is_detailed_deposit_slip: boolean | null;
652139
+ is_default_receipt_account: boolean | null;
652140
+ } | undefined;
652141
+ log: {
652142
+ id: number;
652143
+ id_log_type: number | null;
652144
+ url: string | null;
652145
+ params: SimpleJson;
652146
+ action: string | null;
652147
+ action_by: string | null;
652148
+ action_id: string | null;
652149
+ action_at: Date | null;
652150
+ id_bank_account: number | null;
652151
+ } | undefined;
652152
+ };
652153
+ meta: object;
652154
+ }>;
652155
+ delete: MutationProcedure<{
652156
+ input: {
652157
+ id?: number | null | undefined;
652158
+ ids?: number[] | null | undefined;
652159
+ id_string?: string | null | undefined;
652160
+ ids_string?: string[] | null | undefined;
652161
+ };
652162
+ output: {
652163
+ data: ({
652164
+ is_active: boolean | null;
652165
+ id_country: number | null;
652166
+ id: number;
652167
+ name: string | null;
652168
+ logic_code: string | null;
652169
+ created_at: Date | null;
652170
+ created_by: string | null;
652171
+ updated_at: Date | null;
652172
+ updated_by: string | null;
652173
+ code: string | null;
652174
+ id_currency: number | null;
652175
+ id_type: number | null;
652176
+ id_company: number | null;
652177
+ id_branch: number | null;
652178
+ id_gl_account: number | null;
652179
+ id_os_balance_currency: number | null;
652180
+ id_local_balance_currency: number | null;
652181
+ bank_name: string | null;
652182
+ bank_address: string | null;
652183
+ bank_account_name: string | null;
652184
+ bank_account_number: string | null;
652185
+ bank_bsb_number: string | null;
652186
+ bank_swift_code: string | null;
652187
+ bank_iban_code: string | null;
652188
+ bank_unique_account_number: string | null;
652189
+ opening_os_balance: Decimal | null;
652190
+ opening_local_balance: Decimal | null;
652191
+ credit_card_name: string | null;
652192
+ credit_card_number: string | null;
652193
+ credit_card_expiry_date: Date | null;
652194
+ credit_card_cvv: string | null;
652195
+ is_detailed_deposit_slip: boolean | null;
652196
+ is_default_receipt_account: boolean | null;
652197
+ } | undefined)[] | undefined;
652198
+ };
652199
+ meta: object;
652200
+ }>;
652201
+ types: BuiltRouter<{
652202
+ ctx: Context;
652203
+ meta: object;
652204
+ errorShape: DefaultErrorShape;
652205
+ transformer: false;
652206
+ }, DecorateCreateRouterOptions<{
652207
+ get: MutationProcedure<{
652208
+ input: {
652209
+ search?: string | null | undefined;
652210
+ take?: number | null | undefined;
652211
+ skip?: number | null | undefined;
652212
+ is_active?: boolean[] | null | undefined;
652213
+ ids_include?: number[] | null | undefined;
652214
+ ids_exclude?: number[] | null | undefined;
652215
+ ids_string_include?: string[] | null | undefined;
652216
+ ids_string_exclude?: string[] | null | undefined;
652217
+ logic_codes_include?: string[] | null | undefined;
652218
+ logic_codes_exclude?: string[] | null | undefined;
652219
+ order_by?: {
652220
+ field: string;
652221
+ direction: "asc" | "desc";
652222
+ } | null | undefined;
652223
+ order_bys?: {
652224
+ field: string;
652225
+ direction: "asc" | "desc";
652226
+ }[] | null | undefined;
652227
+ };
652228
+ output: {
652229
+ data: {
652230
+ is_active: boolean | null;
652231
+ id: number;
652232
+ name: string | null;
652233
+ logic_code: string | null;
652234
+ created_at: Date | null;
652235
+ created_by: string | null;
652236
+ updated_at: Date | null;
652237
+ updated_by: string | null;
652238
+ code: string | null;
652239
+ }[] | undefined;
652240
+ total: number | undefined;
652241
+ };
652242
+ meta: object;
652243
+ }>;
652244
+ getDetail: MutationProcedure<{
652245
+ input: {
652246
+ id?: number | null | undefined;
652247
+ id_string?: string | null | undefined;
652248
+ };
652249
+ output: {
652250
+ data: {
652251
+ _count: {
652252
+ bank_account_type_logs: number;
652253
+ bank_accounts: number;
652254
+ };
652255
+ } & {
652256
+ is_active: boolean | null;
652257
+ id: number;
652258
+ name: string | null;
652259
+ logic_code: string | null;
652260
+ created_at: Date | null;
652261
+ created_by: string | null;
652262
+ updated_at: Date | null;
652263
+ updated_by: string | null;
652264
+ code: string | null;
652265
+ };
652266
+ };
652267
+ meta: object;
652268
+ }>;
652269
+ histories: BuiltRouter<{
652270
+ ctx: Context;
652271
+ meta: object;
652272
+ errorShape: DefaultErrorShape;
652273
+ transformer: false;
652274
+ }, DecorateCreateRouterOptions<{
652275
+ get: MutationProcedure<{
652276
+ input: {
652277
+ search?: string | null | undefined;
652278
+ take?: number | null | undefined;
652279
+ skip?: number | null | undefined;
652280
+ is_active?: boolean[] | null | undefined;
652281
+ ids_include?: number[] | null | undefined;
652282
+ ids_exclude?: number[] | null | undefined;
652283
+ ids_string_include?: string[] | null | undefined;
652284
+ ids_string_exclude?: string[] | null | undefined;
652285
+ logic_codes_include?: string[] | null | undefined;
652286
+ logic_codes_exclude?: string[] | null | undefined;
652287
+ order_by?: {
652288
+ field: string;
652289
+ direction: "asc" | "desc";
652290
+ } | null | undefined;
652291
+ order_bys?: {
652292
+ field: string;
652293
+ direction: "asc" | "desc";
652294
+ }[] | null | undefined;
652295
+ id_log_type?: number | null | undefined;
652296
+ ids_log_type?: number[] | null | undefined;
652297
+ id_bank_account_type?: number | null | undefined;
652298
+ ids_bank_account_type?: number[] | null | undefined;
652299
+ };
652300
+ output: {
652301
+ data: {
652302
+ log_type: {
652303
+ is_active: boolean | null;
652304
+ id: number;
652305
+ name: string | null;
652306
+ logic_code: string | null;
652307
+ created_at: Date | null;
652308
+ created_by: string | null;
652309
+ updated_at: Date | null;
652310
+ updated_by: string | null;
652311
+ } | null;
652312
+ id: number;
652313
+ id_log_type: number | null;
652314
+ url: string | null;
652315
+ params: SimpleJson;
652316
+ action: string | null;
652317
+ action_by: string | null;
652318
+ action_id: string | null;
652319
+ action_at: Date | null;
652320
+ id_bank_account_type: number | null;
652321
+ }[] | undefined;
652322
+ total: number | undefined;
652323
+ };
652324
+ meta: object;
652325
+ }>;
652326
+ getDetail: MutationProcedure<{
652327
+ input: {
652328
+ id?: number | null | undefined;
652329
+ id_string?: string | null | undefined;
652330
+ };
652331
+ output: {
652332
+ data: {
652333
+ log_type: {
652334
+ is_active: boolean | null;
652335
+ id: number;
652336
+ name: string | null;
652337
+ logic_code: string | null;
652338
+ created_at: Date | null;
652339
+ created_by: string | null;
652340
+ updated_at: Date | null;
652341
+ updated_by: string | null;
652342
+ } | null;
652343
+ id: number;
652344
+ id_log_type: number | null;
652345
+ url: string | null;
652346
+ params: SimpleJson;
652347
+ action: string | null;
652348
+ action_by: string | null;
652349
+ action_id: string | null;
652350
+ action_at: Date | null;
652351
+ id_bank_account_type: number | null;
652352
+ } | undefined;
652353
+ };
652354
+ meta: object;
652355
+ }>;
652356
+ }>>;
652357
+ create: MutationProcedure<{
652358
+ input: {
652359
+ is_active?: boolean | undefined;
652360
+ code?: string | null | undefined;
652361
+ name?: string | null | undefined;
652362
+ };
652363
+ output: {
652364
+ data: {
652365
+ is_active: boolean | null;
652366
+ id: number;
652367
+ name: string | null;
652368
+ logic_code: string | null;
652369
+ created_at: Date | null;
652370
+ created_by: string | null;
652371
+ updated_at: Date | null;
652372
+ updated_by: string | null;
652373
+ code: string | null;
652374
+ } | undefined;
652375
+ log: {
652376
+ id: number;
652377
+ id_log_type: number | null;
652378
+ url: string | null;
652379
+ params: SimpleJson;
652380
+ action: string | null;
652381
+ action_by: string | null;
652382
+ action_id: string | null;
652383
+ action_at: Date | null;
652384
+ id_bank_account_type: number | null;
652385
+ } | undefined;
652386
+ };
652387
+ meta: object;
652388
+ }>;
652389
+ update: MutationProcedure<{
652390
+ input: {
652391
+ id?: number | null | undefined;
652392
+ id_string?: string | null | undefined;
652393
+ is_active?: boolean | undefined;
652394
+ code?: string | null | undefined;
652395
+ name?: string | null | undefined;
652396
+ };
652397
+ output: {
652398
+ data: {
652399
+ is_active: boolean | null;
652400
+ id: number;
652401
+ name: string | null;
652402
+ logic_code: string | null;
652403
+ created_at: Date | null;
652404
+ created_by: string | null;
652405
+ updated_at: Date | null;
652406
+ updated_by: string | null;
652407
+ code: string | null;
652408
+ } | undefined;
652409
+ log: {
652410
+ id: number;
652411
+ id_log_type: number | null;
652412
+ url: string | null;
652413
+ params: SimpleJson;
652414
+ action: string | null;
652415
+ action_by: string | null;
652416
+ action_id: string | null;
652417
+ action_at: Date | null;
652418
+ id_bank_account_type: number | null;
652419
+ } | undefined;
652420
+ };
652421
+ meta: object;
652422
+ }>;
652423
+ delete: MutationProcedure<{
652424
+ input: {
652425
+ id?: number | null | undefined;
652426
+ ids?: number[] | null | undefined;
652427
+ id_string?: string | null | undefined;
652428
+ ids_string?: string[] | null | undefined;
652429
+ };
652430
+ output: {
652431
+ data: ({
652432
+ is_active: boolean | null;
652433
+ id: number;
652434
+ name: string | null;
652435
+ logic_code: string | null;
652436
+ created_at: Date | null;
652437
+ created_by: string | null;
652438
+ updated_at: Date | null;
652439
+ updated_by: string | null;
652440
+ code: string | null;
652441
+ } | undefined)[] | undefined;
652442
+ };
652443
+ meta: object;
652444
+ }>;
652445
+ }>>;
652446
+ }>>;
652447
+ taxRates: BuiltRouter<{
652448
+ ctx: Context;
652449
+ meta: object;
652450
+ errorShape: DefaultErrorShape;
652451
+ transformer: false;
652452
+ }, DecorateCreateRouterOptions<{
652453
+ get: MutationProcedure<{
652454
+ input: {
652455
+ search?: string | null | undefined;
652456
+ take?: number | null | undefined;
652457
+ skip?: number | null | undefined;
652458
+ is_active?: boolean[] | null | undefined;
652459
+ ids_include?: number[] | null | undefined;
652460
+ ids_exclude?: number[] | null | undefined;
652461
+ ids_string_include?: string[] | null | undefined;
652462
+ ids_string_exclude?: string[] | null | undefined;
652463
+ logic_codes_include?: string[] | null | undefined;
652464
+ logic_codes_exclude?: string[] | null | undefined;
652465
+ order_by?: {
652466
+ field: string;
652467
+ direction: "asc" | "desc";
652468
+ } | null | undefined;
652469
+ order_bys?: {
652470
+ field: string;
652471
+ direction: "asc" | "desc";
652472
+ }[] | null | undefined;
652473
+ id_type?: number | null | undefined;
652474
+ ids_type?: number[] | null | undefined;
652475
+ id_system?: number | null | undefined;
652476
+ ids_system?: number[] | null | undefined;
652477
+ id_country?: number | null | undefined;
652478
+ ids_country?: number[] | null | undefined;
652479
+ };
652480
+ output: {
652481
+ data: ({
652482
+ country: {
652483
+ is_active: boolean | null;
652484
+ id: number;
652485
+ name: string | null;
652486
+ logic_code: string | null;
652487
+ created_at: Date | null;
652488
+ created_by: string | null;
652489
+ updated_at: Date | null;
652490
+ updated_by: string | null;
652491
+ id_currency: number | null;
652492
+ iso2_code: string | null;
652493
+ iso3_code: string | null;
652494
+ iso3_numeric: string | null;
652495
+ is_sanctioned: boolean | null;
652496
+ } | null;
652497
+ tax_rate_type: {
652498
+ is_active: boolean | null;
652499
+ id: number;
652500
+ name: string | null;
652501
+ logic_code: string | null;
652502
+ created_at: Date | null;
652503
+ created_by: string | null;
652504
+ updated_at: Date | null;
652505
+ updated_by: string | null;
652506
+ code: string | null;
652507
+ } | null;
652508
+ tax_rate_system: {
652509
+ is_active: boolean | null;
652510
+ id: number;
652511
+ name: string | null;
652512
+ logic_code: string | null;
652513
+ created_at: Date | null;
652514
+ created_by: string | null;
652515
+ updated_at: Date | null;
652516
+ updated_by: string | null;
652517
+ code: string | null;
652518
+ } | null;
652519
+ } & {
652520
+ is_active: boolean | null;
652521
+ id_country: number | null;
652522
+ id: number;
652523
+ name: string | null;
652524
+ logic_code: string | null;
652525
+ created_at: Date | null;
652526
+ created_by: string | null;
652527
+ updated_at: Date | null;
652528
+ updated_by: string | null;
652529
+ code: string | null;
652530
+ id_type: number | null;
652531
+ rate: Decimal | null;
652532
+ id_system: number | null;
652533
+ tax_message: string | null;
652534
+ })[] | undefined;
652535
+ total: number | undefined;
652536
+ };
652537
+ meta: object;
652538
+ }>;
652539
+ getDetail: MutationProcedure<{
652540
+ input: {
652541
+ id?: number | null | undefined;
652542
+ id_string?: string | null | undefined;
652543
+ };
652544
+ output: {
652545
+ data: {
652546
+ country: {
652547
+ is_active: boolean | null;
652548
+ id: number;
652549
+ name: string | null;
652550
+ logic_code: string | null;
652551
+ created_at: Date | null;
652552
+ created_by: string | null;
652553
+ updated_at: Date | null;
652554
+ updated_by: string | null;
652555
+ id_currency: number | null;
652556
+ iso2_code: string | null;
652557
+ iso3_code: string | null;
652558
+ iso3_numeric: string | null;
652559
+ is_sanctioned: boolean | null;
652560
+ } | null;
652561
+ _count: {
652562
+ tax_rate_type: number;
652563
+ tax_rate_system: number;
652564
+ country: number;
652565
+ tax_rate_logs: number;
652566
+ charge_codes: number;
652567
+ forwarding_shipment_billing_details_cost: number;
652568
+ forwarding_shipment_billing_details_sell: number;
652569
+ forwarding_console_billing_details_cost: number;
652570
+ forwarding_console_billing_details_sell: number;
652571
+ };
652572
+ tax_rate_type: {
652573
+ is_active: boolean | null;
652574
+ id: number;
652575
+ name: string | null;
652576
+ logic_code: string | null;
652577
+ created_at: Date | null;
652578
+ created_by: string | null;
652579
+ updated_at: Date | null;
652580
+ updated_by: string | null;
652581
+ code: string | null;
652582
+ } | null;
652583
+ tax_rate_system: {
652584
+ is_active: boolean | null;
652585
+ id: number;
652586
+ name: string | null;
652587
+ logic_code: string | null;
652588
+ created_at: Date | null;
652589
+ created_by: string | null;
652590
+ updated_at: Date | null;
652591
+ updated_by: string | null;
652592
+ code: string | null;
652593
+ } | null;
652594
+ } & {
652595
+ is_active: boolean | null;
652596
+ id_country: number | null;
652597
+ id: number;
652598
+ name: string | null;
652599
+ logic_code: string | null;
652600
+ created_at: Date | null;
652601
+ created_by: string | null;
652602
+ updated_at: Date | null;
652603
+ updated_by: string | null;
652604
+ code: string | null;
652605
+ id_type: number | null;
652606
+ rate: Decimal | null;
652607
+ id_system: number | null;
652608
+ tax_message: string | null;
652609
+ };
652610
+ };
652611
+ meta: object;
652612
+ }>;
652613
+ histories: BuiltRouter<{
652614
+ ctx: Context;
652615
+ meta: object;
652616
+ errorShape: DefaultErrorShape;
652617
+ transformer: false;
652618
+ }, DecorateCreateRouterOptions<{
652619
+ get: MutationProcedure<{
652620
+ input: {
652621
+ search?: string | null | undefined;
652622
+ take?: number | null | undefined;
652623
+ skip?: number | null | undefined;
652624
+ is_active?: boolean[] | null | undefined;
652625
+ ids_include?: number[] | null | undefined;
652626
+ ids_exclude?: number[] | null | undefined;
652627
+ ids_string_include?: string[] | null | undefined;
652628
+ ids_string_exclude?: string[] | null | undefined;
652629
+ logic_codes_include?: string[] | null | undefined;
652630
+ logic_codes_exclude?: string[] | null | undefined;
652631
+ order_by?: {
652632
+ field: string;
652633
+ direction: "asc" | "desc";
652634
+ } | null | undefined;
652635
+ order_bys?: {
652636
+ field: string;
652637
+ direction: "asc" | "desc";
652638
+ }[] | null | undefined;
652639
+ id_log_type?: number | null | undefined;
652640
+ ids_log_type?: number[] | null | undefined;
652641
+ id_tax_rate?: number | null | undefined;
652642
+ ids_tax_rate?: number[] | null | undefined;
652643
+ };
652644
+ output: {
652645
+ data: {
652646
+ log_type: {
652647
+ is_active: boolean | null;
652648
+ id: number;
652649
+ name: string | null;
652650
+ logic_code: string | null;
652651
+ created_at: Date | null;
652652
+ created_by: string | null;
652653
+ updated_at: Date | null;
652654
+ updated_by: string | null;
652655
+ } | null;
652656
+ id: number;
652657
+ id_log_type: number | null;
652658
+ url: string | null;
652659
+ params: SimpleJson;
652660
+ action: string | null;
652661
+ action_by: string | null;
652662
+ action_id: string | null;
652663
+ action_at: Date | null;
652664
+ id_tax_rate: number | null;
652665
+ }[] | undefined;
652666
+ total: number | undefined;
652667
+ };
652668
+ meta: object;
652669
+ }>;
652670
+ getDetail: MutationProcedure<{
652671
+ input: {
652672
+ id?: number | null | undefined;
652673
+ id_string?: string | null | undefined;
652674
+ };
652675
+ output: {
652676
+ data: {
652677
+ log_type: {
652678
+ is_active: boolean | null;
652679
+ id: number;
652680
+ name: string | null;
652681
+ logic_code: string | null;
652682
+ created_at: Date | null;
652683
+ created_by: string | null;
652684
+ updated_at: Date | null;
652685
+ updated_by: string | null;
652686
+ } | null;
652687
+ id: number;
652688
+ id_log_type: number | null;
652689
+ url: string | null;
652690
+ params: SimpleJson;
652691
+ action: string | null;
652692
+ action_by: string | null;
652693
+ action_id: string | null;
652694
+ action_at: Date | null;
652695
+ id_tax_rate: number | null;
652696
+ } | undefined;
652697
+ };
652698
+ meta: object;
652699
+ }>;
652700
+ }>>;
652701
+ create: MutationProcedure<{
652702
+ input: {
652703
+ is_active?: boolean | undefined;
652704
+ id_type?: number | null | undefined;
652705
+ id_system?: number | null | undefined;
652706
+ id_country?: number | null | undefined;
652707
+ code?: string | null | undefined;
652708
+ name?: string | null | undefined;
652709
+ tax_message?: string | null | undefined;
652710
+ rate?: string | null | undefined;
652711
+ };
652712
+ output: {
652713
+ data: {
652714
+ is_active: boolean | null;
652715
+ id_country: number | null;
652716
+ id: number;
652717
+ name: string | null;
652718
+ logic_code: string | null;
652719
+ created_at: Date | null;
652720
+ created_by: string | null;
652721
+ updated_at: Date | null;
652722
+ updated_by: string | null;
652723
+ code: string | null;
652724
+ id_type: number | null;
652725
+ rate: Decimal | null;
652726
+ id_system: number | null;
652727
+ tax_message: string | null;
652728
+ } | undefined;
652729
+ log: {
652730
+ id: number;
652731
+ id_log_type: number | null;
652732
+ url: string | null;
652733
+ params: SimpleJson;
652734
+ action: string | null;
652735
+ action_by: string | null;
652736
+ action_id: string | null;
652737
+ action_at: Date | null;
652738
+ id_tax_rate: number | null;
652739
+ } | undefined;
652740
+ };
652741
+ meta: object;
652742
+ }>;
652743
+ update: MutationProcedure<{
652744
+ input: {
652745
+ id?: number | null | undefined;
652746
+ id_string?: string | null | undefined;
652747
+ is_active?: boolean | undefined;
652748
+ id_type?: number | null | undefined;
652749
+ id_system?: number | null | undefined;
652750
+ id_country?: number | null | undefined;
652751
+ code?: string | null | undefined;
652752
+ name?: string | null | undefined;
652753
+ tax_message?: string | null | undefined;
652754
+ rate?: string | null | undefined;
652755
+ };
652756
+ output: {
652757
+ data: {
652758
+ is_active: boolean | null;
652759
+ id_country: number | null;
652760
+ id: number;
652761
+ name: string | null;
652762
+ logic_code: string | null;
652763
+ created_at: Date | null;
652764
+ created_by: string | null;
652765
+ updated_at: Date | null;
652766
+ updated_by: string | null;
652767
+ code: string | null;
652768
+ id_type: number | null;
652769
+ rate: Decimal | null;
652770
+ id_system: number | null;
652771
+ tax_message: string | null;
652772
+ } | undefined;
652773
+ log: {
652774
+ id: number;
652775
+ id_log_type: number | null;
652776
+ url: string | null;
652777
+ params: SimpleJson;
652778
+ action: string | null;
652779
+ action_by: string | null;
652780
+ action_id: string | null;
652781
+ action_at: Date | null;
652782
+ id_tax_rate: number | null;
652783
+ } | undefined;
652784
+ };
652785
+ meta: object;
652786
+ }>;
652787
+ delete: MutationProcedure<{
652788
+ input: {
652789
+ id?: number | null | undefined;
652790
+ ids?: number[] | null | undefined;
652791
+ id_string?: string | null | undefined;
652792
+ ids_string?: string[] | null | undefined;
652793
+ };
652794
+ output: {
652795
+ data: ({
652796
+ is_active: boolean | null;
652797
+ id_country: number | null;
652798
+ id: number;
652799
+ name: string | null;
652800
+ logic_code: string | null;
652801
+ created_at: Date | null;
652802
+ created_by: string | null;
652803
+ updated_at: Date | null;
652804
+ updated_by: string | null;
652805
+ code: string | null;
652806
+ id_type: number | null;
652807
+ rate: Decimal | null;
652808
+ id_system: number | null;
652809
+ tax_message: string | null;
652810
+ } | undefined)[] | undefined;
652811
+ };
652812
+ meta: object;
652813
+ }>;
652814
+ types: BuiltRouter<{
652815
+ ctx: Context;
652816
+ meta: object;
652817
+ errorShape: DefaultErrorShape;
652818
+ transformer: false;
652819
+ }, DecorateCreateRouterOptions<{
652820
+ get: MutationProcedure<{
652821
+ input: {
652822
+ search?: string | null | undefined;
652823
+ take?: number | null | undefined;
652824
+ skip?: number | null | undefined;
652825
+ is_active?: boolean[] | null | undefined;
652826
+ ids_include?: number[] | null | undefined;
652827
+ ids_exclude?: number[] | null | undefined;
652828
+ ids_string_include?: string[] | null | undefined;
652829
+ ids_string_exclude?: string[] | null | undefined;
652830
+ logic_codes_include?: string[] | null | undefined;
652831
+ logic_codes_exclude?: string[] | null | undefined;
652832
+ order_by?: {
652833
+ field: string;
652834
+ direction: "asc" | "desc";
652835
+ } | null | undefined;
652836
+ order_bys?: {
652837
+ field: string;
652838
+ direction: "asc" | "desc";
652839
+ }[] | null | undefined;
652840
+ };
652841
+ output: {
652842
+ data: {
652843
+ is_active: boolean | null;
652844
+ id: number;
652845
+ name: string | null;
652846
+ logic_code: string | null;
652847
+ created_at: Date | null;
652848
+ created_by: string | null;
652849
+ updated_at: Date | null;
652850
+ updated_by: string | null;
652851
+ code: string | null;
652852
+ }[] | undefined;
652853
+ total: number | undefined;
652854
+ };
652855
+ meta: object;
652856
+ }>;
652857
+ getDetail: MutationProcedure<{
652858
+ input: {
652859
+ id?: number | null | undefined;
652860
+ id_string?: string | null | undefined;
652861
+ };
652862
+ output: {
652863
+ data: {
652864
+ _count: {
652865
+ tax_rate_type_logs: number;
652866
+ tax_rates: number;
652867
+ };
652868
+ } & {
652869
+ is_active: boolean | null;
652870
+ id: number;
652871
+ name: string | null;
652872
+ logic_code: string | null;
652873
+ created_at: Date | null;
652874
+ created_by: string | null;
652875
+ updated_at: Date | null;
652876
+ updated_by: string | null;
652877
+ code: string | null;
652878
+ };
652879
+ };
652880
+ meta: object;
652881
+ }>;
652882
+ histories: BuiltRouter<{
652883
+ ctx: Context;
652884
+ meta: object;
652885
+ errorShape: DefaultErrorShape;
652886
+ transformer: false;
652887
+ }, DecorateCreateRouterOptions<{
652888
+ get: MutationProcedure<{
652889
+ input: {
652890
+ search?: string | null | undefined;
652891
+ take?: number | null | undefined;
652892
+ skip?: number | null | undefined;
652893
+ is_active?: boolean[] | null | undefined;
652894
+ ids_include?: number[] | null | undefined;
652895
+ ids_exclude?: number[] | null | undefined;
652896
+ ids_string_include?: string[] | null | undefined;
652897
+ ids_string_exclude?: string[] | null | undefined;
652898
+ logic_codes_include?: string[] | null | undefined;
652899
+ logic_codes_exclude?: string[] | null | undefined;
652900
+ order_by?: {
652901
+ field: string;
652902
+ direction: "asc" | "desc";
652903
+ } | null | undefined;
652904
+ order_bys?: {
652905
+ field: string;
652906
+ direction: "asc" | "desc";
652907
+ }[] | null | undefined;
652908
+ id_log_type?: number | null | undefined;
652909
+ ids_log_type?: number[] | null | undefined;
652910
+ id_tax_rate_type?: number | null | undefined;
652911
+ ids_tax_rate_type?: number[] | null | undefined;
652912
+ };
652913
+ output: {
652914
+ data: {
652915
+ log_type: {
652916
+ is_active: boolean | null;
652917
+ id: number;
652918
+ name: string | null;
652919
+ logic_code: string | null;
652920
+ created_at: Date | null;
652921
+ created_by: string | null;
652922
+ updated_at: Date | null;
652923
+ updated_by: string | null;
652924
+ } | null;
652925
+ id: number;
652926
+ id_log_type: number | null;
652927
+ url: string | null;
652928
+ params: SimpleJson;
652929
+ action: string | null;
652930
+ action_by: string | null;
652931
+ action_id: string | null;
652932
+ action_at: Date | null;
652933
+ id_tax_rate_type: number | null;
652934
+ }[] | undefined;
652935
+ total: number | undefined;
652936
+ };
652937
+ meta: object;
652938
+ }>;
652939
+ getDetail: MutationProcedure<{
652940
+ input: {
652941
+ id?: number | null | undefined;
652942
+ id_string?: string | null | undefined;
652943
+ };
652944
+ output: {
652945
+ data: {
652946
+ log_type: {
652947
+ is_active: boolean | null;
652948
+ id: number;
652949
+ name: string | null;
652950
+ logic_code: string | null;
652951
+ created_at: Date | null;
652952
+ created_by: string | null;
652953
+ updated_at: Date | null;
652954
+ updated_by: string | null;
652955
+ } | null;
652956
+ id: number;
652957
+ id_log_type: number | null;
652958
+ url: string | null;
652959
+ params: SimpleJson;
652960
+ action: string | null;
652961
+ action_by: string | null;
652962
+ action_id: string | null;
652963
+ action_at: Date | null;
652964
+ id_tax_rate_type: number | null;
652965
+ } | undefined;
652966
+ };
652967
+ meta: object;
652968
+ }>;
652969
+ }>>;
652970
+ create: MutationProcedure<{
652971
+ input: {
652972
+ is_active?: boolean | undefined;
652973
+ code?: string | null | undefined;
652974
+ name?: string | null | undefined;
652975
+ };
652976
+ output: {
652977
+ data: {
652978
+ is_active: boolean | null;
652979
+ id: number;
652980
+ name: string | null;
652981
+ logic_code: string | null;
652982
+ created_at: Date | null;
652983
+ created_by: string | null;
652984
+ updated_at: Date | null;
652985
+ updated_by: string | null;
652986
+ code: string | null;
652987
+ } | undefined;
652988
+ log: {
652989
+ id: number;
652990
+ id_log_type: number | null;
652991
+ url: string | null;
652992
+ params: SimpleJson;
652993
+ action: string | null;
652994
+ action_by: string | null;
652995
+ action_id: string | null;
652996
+ action_at: Date | null;
652997
+ id_tax_rate_type: number | null;
652998
+ } | undefined;
652999
+ };
653000
+ meta: object;
653001
+ }>;
653002
+ update: MutationProcedure<{
653003
+ input: {
653004
+ id?: number | null | undefined;
653005
+ id_string?: string | null | undefined;
653006
+ is_active?: boolean | undefined;
653007
+ code?: string | null | undefined;
653008
+ name?: string | null | undefined;
653009
+ };
653010
+ output: {
653011
+ data: {
653012
+ is_active: boolean | null;
653013
+ id: number;
653014
+ name: string | null;
653015
+ logic_code: string | null;
653016
+ created_at: Date | null;
653017
+ created_by: string | null;
653018
+ updated_at: Date | null;
653019
+ updated_by: string | null;
653020
+ code: string | null;
653021
+ } | undefined;
653022
+ log: {
653023
+ id: number;
653024
+ id_log_type: number | null;
653025
+ url: string | null;
653026
+ params: SimpleJson;
653027
+ action: string | null;
653028
+ action_by: string | null;
653029
+ action_id: string | null;
653030
+ action_at: Date | null;
653031
+ id_tax_rate_type: number | null;
653032
+ } | undefined;
653033
+ };
653034
+ meta: object;
653035
+ }>;
653036
+ delete: MutationProcedure<{
653037
+ input: {
653038
+ id?: number | null | undefined;
653039
+ ids?: number[] | null | undefined;
653040
+ id_string?: string | null | undefined;
653041
+ ids_string?: string[] | null | undefined;
653042
+ };
653043
+ output: {
653044
+ data: ({
653045
+ is_active: boolean | null;
653046
+ id: number;
653047
+ name: string | null;
653048
+ logic_code: string | null;
653049
+ created_at: Date | null;
653050
+ created_by: string | null;
653051
+ updated_at: Date | null;
653052
+ updated_by: string | null;
653053
+ code: string | null;
653054
+ } | undefined)[] | undefined;
653055
+ };
653056
+ meta: object;
653057
+ }>;
653058
+ }>>;
653059
+ systems: BuiltRouter<{
653060
+ ctx: Context;
653061
+ meta: object;
653062
+ errorShape: DefaultErrorShape;
653063
+ transformer: false;
653064
+ }, DecorateCreateRouterOptions<{
653065
+ get: MutationProcedure<{
653066
+ input: {
653067
+ search?: string | null | undefined;
653068
+ take?: number | null | undefined;
653069
+ skip?: number | null | undefined;
653070
+ is_active?: boolean[] | null | undefined;
653071
+ ids_include?: number[] | null | undefined;
653072
+ ids_exclude?: number[] | null | undefined;
653073
+ ids_string_include?: string[] | null | undefined;
653074
+ ids_string_exclude?: string[] | null | undefined;
653075
+ logic_codes_include?: string[] | null | undefined;
653076
+ logic_codes_exclude?: string[] | null | undefined;
653077
+ order_by?: {
653078
+ field: string;
653079
+ direction: "asc" | "desc";
653080
+ } | null | undefined;
653081
+ order_bys?: {
653082
+ field: string;
653083
+ direction: "asc" | "desc";
653084
+ }[] | null | undefined;
653085
+ };
653086
+ output: {
653087
+ data: {
653088
+ is_active: boolean | null;
653089
+ id: number;
653090
+ name: string | null;
653091
+ logic_code: string | null;
653092
+ created_at: Date | null;
653093
+ created_by: string | null;
653094
+ updated_at: Date | null;
653095
+ updated_by: string | null;
653096
+ code: string | null;
653097
+ }[] | undefined;
653098
+ total: number | undefined;
653099
+ };
653100
+ meta: object;
653101
+ }>;
653102
+ getDetail: MutationProcedure<{
653103
+ input: {
653104
+ id?: number | null | undefined;
653105
+ id_string?: string | null | undefined;
653106
+ };
653107
+ output: {
653108
+ data: {
653109
+ _count: {
653110
+ tax_rate_system_logs: number;
653111
+ tax_rates: number;
653112
+ };
653113
+ } & {
653114
+ is_active: boolean | null;
653115
+ id: number;
653116
+ name: string | null;
653117
+ logic_code: string | null;
653118
+ created_at: Date | null;
653119
+ created_by: string | null;
653120
+ updated_at: Date | null;
653121
+ updated_by: string | null;
653122
+ code: string | null;
653123
+ };
653124
+ };
653125
+ meta: object;
653126
+ }>;
653127
+ histories: BuiltRouter<{
653128
+ ctx: Context;
653129
+ meta: object;
653130
+ errorShape: DefaultErrorShape;
653131
+ transformer: false;
653132
+ }, DecorateCreateRouterOptions<{
653133
+ get: MutationProcedure<{
653134
+ input: {
653135
+ search?: string | null | undefined;
653136
+ take?: number | null | undefined;
653137
+ skip?: number | null | undefined;
653138
+ is_active?: boolean[] | null | undefined;
653139
+ ids_include?: number[] | null | undefined;
653140
+ ids_exclude?: number[] | null | undefined;
653141
+ ids_string_include?: string[] | null | undefined;
653142
+ ids_string_exclude?: string[] | null | undefined;
653143
+ logic_codes_include?: string[] | null | undefined;
653144
+ logic_codes_exclude?: string[] | null | undefined;
653145
+ order_by?: {
653146
+ field: string;
653147
+ direction: "asc" | "desc";
653148
+ } | null | undefined;
653149
+ order_bys?: {
653150
+ field: string;
653151
+ direction: "asc" | "desc";
653152
+ }[] | null | undefined;
653153
+ id_log_type?: number | null | undefined;
653154
+ ids_log_type?: number[] | null | undefined;
653155
+ id_tax_rate_system?: number | null | undefined;
653156
+ ids_tax_rate_system?: number[] | null | undefined;
653157
+ };
653158
+ output: {
653159
+ data: {
653160
+ log_type: {
653161
+ is_active: boolean | null;
653162
+ id: number;
653163
+ name: string | null;
653164
+ logic_code: string | null;
653165
+ created_at: Date | null;
653166
+ created_by: string | null;
653167
+ updated_at: Date | null;
653168
+ updated_by: string | null;
653169
+ } | null;
653170
+ id: number;
653171
+ id_log_type: number | null;
653172
+ url: string | null;
653173
+ params: SimpleJson;
653174
+ action: string | null;
653175
+ action_by: string | null;
653176
+ action_id: string | null;
653177
+ action_at: Date | null;
653178
+ id_tax_rate_system: number | null;
653179
+ }[] | undefined;
653180
+ total: number | undefined;
653181
+ };
653182
+ meta: object;
653183
+ }>;
653184
+ getDetail: MutationProcedure<{
653185
+ input: {
653186
+ id?: number | null | undefined;
653187
+ id_string?: string | null | undefined;
653188
+ };
653189
+ output: {
653190
+ data: {
653191
+ log_type: {
653192
+ is_active: boolean | null;
653193
+ id: number;
653194
+ name: string | null;
653195
+ logic_code: string | null;
653196
+ created_at: Date | null;
653197
+ created_by: string | null;
653198
+ updated_at: Date | null;
653199
+ updated_by: string | null;
653200
+ } | null;
653201
+ id: number;
653202
+ id_log_type: number | null;
653203
+ url: string | null;
653204
+ params: SimpleJson;
653205
+ action: string | null;
653206
+ action_by: string | null;
653207
+ action_id: string | null;
653208
+ action_at: Date | null;
653209
+ id_tax_rate_system: number | null;
653210
+ } | undefined;
653211
+ };
653212
+ meta: object;
653213
+ }>;
653214
+ }>>;
653215
+ create: MutationProcedure<{
653216
+ input: {
653217
+ is_active?: boolean | undefined;
653218
+ code?: string | null | undefined;
653219
+ name?: string | null | undefined;
653220
+ };
653221
+ output: {
653222
+ data: {
653223
+ is_active: boolean | null;
653224
+ id: number;
653225
+ name: string | null;
653226
+ logic_code: string | null;
653227
+ created_at: Date | null;
653228
+ created_by: string | null;
653229
+ updated_at: Date | null;
653230
+ updated_by: string | null;
653231
+ code: string | null;
653232
+ } | undefined;
653233
+ log: {
653234
+ id: number;
653235
+ id_log_type: number | null;
653236
+ url: string | null;
653237
+ params: SimpleJson;
653238
+ action: string | null;
653239
+ action_by: string | null;
653240
+ action_id: string | null;
653241
+ action_at: Date | null;
653242
+ id_tax_rate_system: number | null;
653243
+ } | undefined;
653244
+ };
653245
+ meta: object;
653246
+ }>;
653247
+ update: MutationProcedure<{
653248
+ input: {
653249
+ id?: number | null | undefined;
653250
+ id_string?: string | null | undefined;
653251
+ is_active?: boolean | undefined;
653252
+ code?: string | null | undefined;
653253
+ name?: string | null | undefined;
653254
+ };
653255
+ output: {
653256
+ data: {
653257
+ is_active: boolean | null;
653258
+ id: number;
653259
+ name: string | null;
653260
+ logic_code: string | null;
653261
+ created_at: Date | null;
653262
+ created_by: string | null;
653263
+ updated_at: Date | null;
653264
+ updated_by: string | null;
653265
+ code: string | null;
653266
+ } | undefined;
653267
+ log: {
653268
+ id: number;
653269
+ id_log_type: number | null;
653270
+ url: string | null;
653271
+ params: SimpleJson;
653272
+ action: string | null;
653273
+ action_by: string | null;
653274
+ action_id: string | null;
653275
+ action_at: Date | null;
653276
+ id_tax_rate_system: number | null;
653277
+ } | undefined;
653278
+ };
653279
+ meta: object;
653280
+ }>;
653281
+ delete: MutationProcedure<{
653282
+ input: {
653283
+ id?: number | null | undefined;
653284
+ ids?: number[] | null | undefined;
653285
+ id_string?: string | null | undefined;
653286
+ ids_string?: string[] | null | undefined;
653287
+ };
653288
+ output: {
653289
+ data: ({
653290
+ is_active: boolean | null;
653291
+ id: number;
653292
+ name: string | null;
653293
+ logic_code: string | null;
653294
+ created_at: Date | null;
653295
+ created_by: string | null;
653296
+ updated_at: Date | null;
653297
+ updated_by: string | null;
653298
+ code: string | null;
653299
+ } | undefined)[] | undefined;
653300
+ };
653301
+ meta: object;
653302
+ }>;
653303
+ }>>;
653304
+ }>>;
653305
+ }>>;
651487
653306
  }>>;
651488
653307
  }>>;
651489
653308
  type AppRouter = typeof appRouter;