@be-logixpair/api 0.1.0-rc1 → 0.1.0-rc2

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 +4699 -1
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -987664,6 +987664,4704 @@ declare const syncprocRouter: BuiltRouter<{
987664
987664
  }>>;
987665
987665
  type SyncprocRouter = typeof syncprocRouter;
987666
987666
  //#endregion
987667
+ //#region src/features/coficompass/inflow/inflow.routes.d.ts
987668
+ declare const inflowRouter: BuiltRouter<{
987669
+ ctx: Context;
987670
+ meta: object;
987671
+ errorShape: DefaultErrorShape;
987672
+ transformer: false;
987673
+ }, DecorateCreateRouterOptions<{
987674
+ arTransactions: BuiltRouter<{
987675
+ ctx: Context;
987676
+ meta: object;
987677
+ errorShape: DefaultErrorShape;
987678
+ transformer: false;
987679
+ }, DecorateCreateRouterOptions<{
987680
+ get: MutationProcedure<{
987681
+ input: {
987682
+ search?: string | number | boolean | null | undefined;
987683
+ take?: string | number | null | undefined;
987684
+ skip?: string | number | null | undefined;
987685
+ is_active?: (string | number | boolean)[] | null | undefined;
987686
+ is_system?: (string | number | boolean)[] | null | undefined;
987687
+ ids_include?: (string | number | boolean)[] | null | undefined;
987688
+ ids_exclude?: (string | number | boolean)[] | null | undefined;
987689
+ logic_codes_include?: (string | number | boolean)[] | null | undefined;
987690
+ logic_codes_exclude?: (string | number | boolean)[] | null | undefined;
987691
+ created_at?: {
987692
+ start_date?: string | number | boolean | null | undefined;
987693
+ end_date?: string | number | boolean | null | undefined;
987694
+ is_overlapping?: string | number | boolean | null | undefined;
987695
+ } | null | undefined;
987696
+ updated_at?: {
987697
+ start_date?: string | number | boolean | null | undefined;
987698
+ end_date?: string | number | boolean | null | undefined;
987699
+ is_overlapping?: string | number | boolean | null | undefined;
987700
+ } | null | undefined;
987701
+ order_by?: {
987702
+ field: string;
987703
+ direction: "asc" | "desc";
987704
+ } | null | undefined;
987705
+ order_bys?: {
987706
+ field: string;
987707
+ direction: "asc" | "desc";
987708
+ }[] | null | undefined;
987709
+ id_ar_transaction_cancelled?: string | number | boolean | null | undefined;
987710
+ ids_ar_transaction_cancelled?: (string | number | boolean)[] | null | undefined;
987711
+ id_forwarding_shipment_billing?: string | number | boolean | null | undefined;
987712
+ ids_forwarding_shipment_billing?: (string | number | boolean)[] | null | undefined;
987713
+ id_forwarding_consol?: string | number | boolean | null | undefined;
987714
+ ids_forwarding_consol?: (string | number | boolean)[] | null | undefined;
987715
+ id_account_organization?: string | number | boolean | null | undefined;
987716
+ ids_account_organization?: (string | number | boolean)[] | null | undefined;
987717
+ id_invoice_type?: string | number | boolean | null | undefined;
987718
+ ids_invoice_type?: (string | number | boolean)[] | null | undefined;
987719
+ id_transaction_type?: string | number | boolean | null | undefined;
987720
+ ids_transaction_type?: (string | number | boolean)[] | null | undefined;
987721
+ id_currency?: string | number | boolean | null | undefined;
987722
+ ids_currency?: (string | number | boolean)[] | null | undefined;
987723
+ id_agreed_payment_method?: string | number | boolean | null | undefined;
987724
+ ids_agreed_payment_method?: (string | number | boolean)[] | null | undefined;
987725
+ id_payment_status?: string | number | boolean | null | undefined;
987726
+ ids_payment_status?: (string | number | boolean)[] | null | undefined;
987727
+ is_cancelled?: (string | number | boolean)[] | null | undefined;
987728
+ };
987729
+ output: {
987730
+ data: {
987731
+ billing_ar_transaction_lines: {
987732
+ is_active: boolean | null;
987733
+ id: string;
987734
+ logic_code: string | null;
987735
+ name: string | null;
987736
+ code: string | null;
987737
+ created_at: Date | null;
987738
+ created_by: string | null;
987739
+ updated_at: Date | null;
987740
+ updated_by: string | null;
987741
+ id_charge_code: string | null;
987742
+ id_sell_currency: string | null;
987743
+ id_sell_latest_system_rate: string | null;
987744
+ sell_base_rate: Decimal$1 | null;
987745
+ sell_currency_amount: Decimal$1 | null;
987746
+ sell_currency_estimated_amount: Decimal$1 | null;
987747
+ sell_local_currency_amount: Decimal$1 | null;
987748
+ id_billing_ar_transaction: string | null;
987749
+ id_forwarding_consol_billing_detail_sell: string | null;
987750
+ id_sell_debtor: string | null;
987751
+ id_sell_invoice_type: string | null;
987752
+ id_sell_tax_rate: string | null;
987753
+ sell_tax_amount: Decimal$1 | null;
987754
+ sell_invoice_number: string | null;
987755
+ is_sell_posted: boolean | null;
987756
+ id_forwarding_shipment_billing_detail_copy: string | null;
987757
+ }[];
987758
+ currency: {
987759
+ symbol: string | null;
987760
+ is_active: boolean | null;
987761
+ id: string;
987762
+ logic_code: string | null;
987763
+ created_at: Date | null;
987764
+ created_by: string | null;
987765
+ updated_at: Date | null;
987766
+ updated_by: string | null;
987767
+ currency_code: string | null;
987768
+ currency_name: string | null;
987769
+ major_unit: string | null;
987770
+ minor_unit: string | null;
987771
+ decimal_unit: number | null;
987772
+ iso_decimal: number | null;
987773
+ } | null;
987774
+ forwarding_consol: {
987775
+ is_active: boolean | null;
987776
+ id: string;
987777
+ logic_code: string | null;
987778
+ name: string | null;
987779
+ code: string | null;
987780
+ other_reference: string | null;
987781
+ created_at: Date | null;
987782
+ created_by: string | null;
987783
+ updated_at: Date | null;
987784
+ updated_by: string | null;
987785
+ id_transport_mode: string | null;
987786
+ id_container_shipping_type: string | null;
987787
+ id_service_level: string | null;
987788
+ id_type: string | null;
987789
+ id_payment_type: string | null;
987790
+ id_local_currency: string | null;
987791
+ id_load_port: string | null;
987792
+ id_discharge_port: string | null;
987793
+ id_vessel: string | null;
987794
+ id_sending_agent: string | null;
987795
+ id_sending_agent_address: string | null;
987796
+ id_receiving_agent: string | null;
987797
+ id_receiving_agent_address: string | null;
987798
+ id_carrier_shipping_line: string | null;
987799
+ id_carrier_airline: string | null;
987800
+ id_creditor_origin: string | null;
987801
+ id_creditor_origin_address: string | null;
987802
+ id_creditor_destination: string | null;
987803
+ id_creditor_destination_address: string | null;
987804
+ id_consol_branch: string | null;
987805
+ consol_number: string | null;
987806
+ trip_number: string | null;
987807
+ aircraft_type: string | null;
987808
+ aircraft_registration: string | null;
987809
+ mawb_number: string | null;
987810
+ bol_number: string | null;
987811
+ carrier_booking_reference: string | null;
987812
+ agent_reference: string | null;
987813
+ estimated_departure: Date | null;
987814
+ estimated_arrival: Date | null;
987815
+ actual_departure: Date | null;
987816
+ actual_arrival: Date | null;
987817
+ is_neutral_mawb: boolean | null;
987818
+ } | null;
987819
+ forwarding_shipment_billing: {
987820
+ forwarding_shipment: {
987821
+ is_active: boolean | null;
987822
+ id: string;
987823
+ logic_code: string | null;
987824
+ created_at: Date | null;
987825
+ created_by: string | null;
987826
+ updated_at: Date | null;
987827
+ updated_by: string | null;
987828
+ id_transport_mode: string | null;
987829
+ id_container_shipping_type: string | null;
987830
+ id_incoterm: string | null;
987831
+ id_service_level: string | null;
987832
+ id_release_type: string | null;
987833
+ id_on_board_status: string | null;
987834
+ id_weight_unit: string | null;
987835
+ id_volume_unit: string | null;
987836
+ id_chargeable_unit: string | null;
987837
+ id_forwarding_booking: string | null;
987838
+ description: string | null;
987839
+ mark_number: string | null;
987840
+ estimated_delivery_date: Date | null;
987841
+ weight: Decimal$1 | null;
987842
+ volume: Decimal$1 | null;
987843
+ chargeable: Decimal$1 | null;
987844
+ id_forwarding_consol: string | null;
987845
+ id_transport_type: string | null;
987846
+ id_service_scope: string | null;
987847
+ id_origin: string | null;
987848
+ id_destination: string | null;
987849
+ id_weight_volume_unit: string | null;
987850
+ id_package_count_type: string | null;
987851
+ id_package_inner_count_type: string | null;
987852
+ id_air_waybill_dims: string | null;
987853
+ id_house_bill_type: string | null;
987854
+ id_hbl_delivery_mode: string | null;
987855
+ id_charge_apply: string | null;
987856
+ id_control_customer: string | null;
987857
+ id_control_agent: string | null;
987858
+ id_operator: string | null;
987859
+ id_shipment_branch: string | null;
987860
+ id_local_currency: string | null;
987861
+ shipment_number: string | null;
987862
+ house_bill: string | null;
987863
+ weight_volume: Decimal$1 | null;
987864
+ package_count: number | null;
987865
+ package_inner_count: number | null;
987866
+ original_bills: number | null;
987867
+ copy_bills: number | null;
987868
+ estimated_arrival_date: Date | null;
987869
+ issue_date: Date | null;
987870
+ on_board_date: Date | null;
987871
+ } | null;
987872
+ is_active: boolean | null;
987873
+ id: string;
987874
+ logic_code: string | null;
987875
+ name: string | null;
987876
+ id_branch: string | null;
987877
+ id_department: string | null;
987878
+ code: string | null;
987879
+ created_at: Date | null;
987880
+ created_by: string | null;
987881
+ updated_at: Date | null;
987882
+ updated_by: string | null;
987883
+ quote_number: string | null;
987884
+ id_forwarding_shipment: string | null;
987885
+ margin: Decimal$1 | null;
987886
+ id_local_client: string | null;
987887
+ id_local_client_address: string | null;
987888
+ id_overseas_agent: string | null;
987889
+ id_overseas_agent_address: string | null;
987890
+ id_sales_rep: string | null;
987891
+ id_operation_rep: string | null;
987892
+ id_profit_loss_reason: string | null;
987893
+ id_job_status: string | null;
987894
+ billing_number: string | null;
987895
+ job_date: Date | null;
987896
+ open_date: Date | null;
987897
+ close_date: Date | null;
987898
+ job_recognition_date: Date | null;
987899
+ on_hold_reason: string | null;
987900
+ client_contract_number: string | null;
987901
+ local_client_address: string | null;
987902
+ overseas_agent_address: string | null;
987903
+ is_on_hold: boolean | null;
987904
+ is_override_local_client: boolean | null;
987905
+ is_override_overseas_agent: boolean | null;
987906
+ } | null;
987907
+ billing_transaction_type: {
987908
+ is_active: boolean | null;
987909
+ id: string;
987910
+ logic_code: string | null;
987911
+ name: string | null;
987912
+ code: string | null;
987913
+ created_at: Date | null;
987914
+ created_by: string | null;
987915
+ updated_at: Date | null;
987916
+ updated_by: string | null;
987917
+ } | null;
987918
+ cancelled_transaction: {
987919
+ is_active: boolean | null;
987920
+ id: string;
987921
+ logic_code: string | null;
987922
+ created_at: Date | null;
987923
+ created_by: string | null;
987924
+ updated_at: Date | null;
987925
+ updated_by: string | null;
987926
+ id_currency: string | null;
987927
+ id_agreed_payment_method: string | null;
987928
+ id_forwarding_consol: string | null;
987929
+ id_forwarding_shipment_billing: string | null;
987930
+ id_account_organization: string | null;
987931
+ id_transaction_type: string | null;
987932
+ id_payment_status: string | null;
987933
+ transaction_number: string | null;
987934
+ outstanding_amount: Decimal$1 | null;
987935
+ transaction_amount: Decimal$1 | null;
987936
+ local_transaction_amount: Decimal$1 | null;
987937
+ post_date: Date | null;
987938
+ invoice_date: Date | null;
987939
+ due_date: Date | null;
987940
+ fully_paid_date: Date | null;
987941
+ is_cancelled: boolean | null;
987942
+ id_ar_transaction_cancelled: string | null;
987943
+ id_invoice_type: string | null;
987944
+ } | null;
987945
+ cancelling_transaction: {
987946
+ is_active: boolean | null;
987947
+ id: string;
987948
+ logic_code: string | null;
987949
+ created_at: Date | null;
987950
+ created_by: string | null;
987951
+ updated_at: Date | null;
987952
+ updated_by: string | null;
987953
+ id_currency: string | null;
987954
+ id_agreed_payment_method: string | null;
987955
+ id_forwarding_consol: string | null;
987956
+ id_forwarding_shipment_billing: string | null;
987957
+ id_account_organization: string | null;
987958
+ id_transaction_type: string | null;
987959
+ id_payment_status: string | null;
987960
+ transaction_number: string | null;
987961
+ outstanding_amount: Decimal$1 | null;
987962
+ transaction_amount: Decimal$1 | null;
987963
+ local_transaction_amount: Decimal$1 | null;
987964
+ post_date: Date | null;
987965
+ invoice_date: Date | null;
987966
+ due_date: Date | null;
987967
+ fully_paid_date: Date | null;
987968
+ is_cancelled: boolean | null;
987969
+ id_ar_transaction_cancelled: string | null;
987970
+ id_invoice_type: string | null;
987971
+ } | null;
987972
+ account_organization: {
987973
+ is_active: boolean | null;
987974
+ id: string;
987975
+ logic_code: string | null;
987976
+ name: string | null;
987977
+ id_country: string | null;
987978
+ id_state: string | null;
987979
+ id_city: string | null;
987980
+ id_postal_code: string | null;
987981
+ id_company: string | null;
987982
+ id_branch: string | null;
987983
+ code: string | null;
987984
+ created_at: Date | null;
987985
+ created_by: string | null;
987986
+ updated_at: Date | null;
987987
+ updated_by: string | null;
987988
+ id_un_locode: string | null;
987989
+ email: string | null;
987990
+ id_business_category: string | null;
987991
+ id_controlling_branch: string | null;
987992
+ id_airline: string | null;
987993
+ id_shipping_line: string | null;
987994
+ phone: string | null;
987995
+ website_url: string | null;
987996
+ company_number: string | null;
987997
+ company_tax_number: string | null;
987998
+ } | null;
987999
+ payment_status: {
988000
+ is_active: boolean | null;
988001
+ id: string;
988002
+ logic_code: string | null;
988003
+ name: string | null;
988004
+ code: string | null;
988005
+ created_at: Date | null;
988006
+ created_by: string | null;
988007
+ updated_at: Date | null;
988008
+ updated_by: string | null;
988009
+ } | null;
988010
+ invoice_type: {
988011
+ is_active: boolean | null;
988012
+ id: string;
988013
+ logic_code: string | null;
988014
+ name: string | null;
988015
+ code: string | null;
988016
+ created_at: Date | null;
988017
+ created_by: string | null;
988018
+ updated_at: Date | null;
988019
+ updated_by: string | null;
988020
+ invoice_header: string | null;
988021
+ } | null;
988022
+ agreed_payment_method: {
988023
+ is_active: boolean | null;
988024
+ id: string;
988025
+ logic_code: string | null;
988026
+ name: string | null;
988027
+ code: string | null;
988028
+ created_at: Date | null;
988029
+ created_by: string | null;
988030
+ updated_at: Date | null;
988031
+ updated_by: string | null;
988032
+ } | null;
988033
+ is_active: boolean | null;
988034
+ id: string;
988035
+ logic_code: string | null;
988036
+ created_at: Date | null;
988037
+ created_by: string | null;
988038
+ updated_at: Date | null;
988039
+ updated_by: string | null;
988040
+ id_currency: string | null;
988041
+ id_agreed_payment_method: string | null;
988042
+ id_forwarding_consol: string | null;
988043
+ id_forwarding_shipment_billing: string | null;
988044
+ id_account_organization: string | null;
988045
+ id_transaction_type: string | null;
988046
+ id_payment_status: string | null;
988047
+ transaction_number: string | null;
988048
+ outstanding_amount: Decimal$1 | null;
988049
+ transaction_amount: Decimal$1 | null;
988050
+ local_transaction_amount: Decimal$1 | null;
988051
+ post_date: Date | null;
988052
+ invoice_date: Date | null;
988053
+ due_date: Date | null;
988054
+ fully_paid_date: Date | null;
988055
+ is_cancelled: boolean | null;
988056
+ id_ar_transaction_cancelled: string | null;
988057
+ id_invoice_type: string | null;
988058
+ }[] | undefined;
988059
+ total: number | undefined;
988060
+ };
988061
+ meta: object;
988062
+ }>;
988063
+ getDetail: MutationProcedure<{
988064
+ input: {
988065
+ is_active?: (string | number | boolean)[] | null | undefined;
988066
+ is_system?: (string | number | boolean)[] | null | undefined;
988067
+ id?: string | number | boolean | null | undefined;
988068
+ logic_code?: string | number | boolean | null | undefined;
988069
+ };
988070
+ output: {
988071
+ data: {
988072
+ billing_ar_transaction_lines: {
988073
+ charge_code: {
988074
+ is_active: boolean | null;
988075
+ id: string;
988076
+ logic_code: string | null;
988077
+ name: string | null;
988078
+ id_department: string | null;
988079
+ code: string | null;
988080
+ created_at: Date | null;
988081
+ created_by: string | null;
988082
+ updated_at: Date | null;
988083
+ updated_by: string | null;
988084
+ id_incoterm: string | null;
988085
+ id_type: string | null;
988086
+ id_wht_type: string | null;
988087
+ id_tax_rate: string | null;
988088
+ id_revenue: string | null;
988089
+ id_wip: string | null;
988090
+ id_cost: string | null;
988091
+ id_accrual: string | null;
988092
+ id_sales_group: string | null;
988093
+ id_expense_group: string | null;
988094
+ id_group: string | null;
988095
+ id_sub_group: string | null;
988096
+ id_rate_calculation: string | null;
988097
+ remarks: string | null;
988098
+ margin: Decimal$1 | null;
988099
+ is_show_on_consol: boolean | null;
988100
+ is_show_on_quote: boolean | null;
988101
+ is_show_if_zero: boolean | null;
988102
+ } | null;
988103
+ sell_currency: {
988104
+ symbol: string | null;
988105
+ is_active: boolean | null;
988106
+ id: string;
988107
+ logic_code: string | null;
988108
+ created_at: Date | null;
988109
+ created_by: string | null;
988110
+ updated_at: Date | null;
988111
+ updated_by: string | null;
988112
+ currency_code: string | null;
988113
+ currency_name: string | null;
988114
+ major_unit: string | null;
988115
+ minor_unit: string | null;
988116
+ decimal_unit: number | null;
988117
+ iso_decimal: number | null;
988118
+ } | null;
988119
+ sell_debtor: {
988120
+ is_active: boolean | null;
988121
+ id: string;
988122
+ logic_code: string | null;
988123
+ name: string | null;
988124
+ id_country: string | null;
988125
+ id_state: string | null;
988126
+ id_city: string | null;
988127
+ id_postal_code: string | null;
988128
+ id_company: string | null;
988129
+ id_branch: string | null;
988130
+ code: string | null;
988131
+ created_at: Date | null;
988132
+ created_by: string | null;
988133
+ updated_at: Date | null;
988134
+ updated_by: string | null;
988135
+ id_un_locode: string | null;
988136
+ email: string | null;
988137
+ id_business_category: string | null;
988138
+ id_controlling_branch: string | null;
988139
+ id_airline: string | null;
988140
+ id_shipping_line: string | null;
988141
+ phone: string | null;
988142
+ website_url: string | null;
988143
+ company_number: string | null;
988144
+ company_tax_number: string | null;
988145
+ } | null;
988146
+ sell_invoice_type: {
988147
+ is_active: boolean | null;
988148
+ id: string;
988149
+ logic_code: string | null;
988150
+ name: string | null;
988151
+ code: string | null;
988152
+ created_at: Date | null;
988153
+ created_by: string | null;
988154
+ updated_at: Date | null;
988155
+ updated_by: string | null;
988156
+ invoice_header: string | null;
988157
+ } | null;
988158
+ sell_tax_rate: {
988159
+ is_active: boolean | null;
988160
+ id: string;
988161
+ logic_code: string | null;
988162
+ name: string | null;
988163
+ id_country: string | null;
988164
+ code: string | null;
988165
+ created_at: Date | null;
988166
+ created_by: string | null;
988167
+ updated_at: Date | null;
988168
+ updated_by: string | null;
988169
+ id_type: string | null;
988170
+ rate: Decimal$1 | null;
988171
+ id_system: string | null;
988172
+ tax_message: string | null;
988173
+ } | null;
988174
+ sell_system_rates: {
988175
+ is_active: boolean | null;
988176
+ id: string;
988177
+ logic_code: string | null;
988178
+ created_at: Date | null;
988179
+ created_by: string | null;
988180
+ updated_at: Date | null;
988181
+ updated_by: string | null;
988182
+ start_date: Date | null;
988183
+ end_date: Date | null;
988184
+ id_currency_from: string | null;
988185
+ id_currency_to: string | null;
988186
+ id_exchange_rate_type: string | null;
988187
+ rate: Decimal$1 | null;
988188
+ }[];
988189
+ is_active: boolean | null;
988190
+ id: string;
988191
+ logic_code: string | null;
988192
+ name: string | null;
988193
+ code: string | null;
988194
+ created_at: Date | null;
988195
+ created_by: string | null;
988196
+ updated_at: Date | null;
988197
+ updated_by: string | null;
988198
+ id_charge_code: string | null;
988199
+ id_sell_currency: string | null;
988200
+ id_sell_latest_system_rate: string | null;
988201
+ sell_base_rate: Decimal$1 | null;
988202
+ sell_currency_amount: Decimal$1 | null;
988203
+ sell_currency_estimated_amount: Decimal$1 | null;
988204
+ sell_local_currency_amount: Decimal$1 | null;
988205
+ id_billing_ar_transaction: string | null;
988206
+ id_forwarding_consol_billing_detail_sell: string | null;
988207
+ id_sell_debtor: string | null;
988208
+ id_sell_invoice_type: string | null;
988209
+ id_sell_tax_rate: string | null;
988210
+ sell_tax_amount: Decimal$1 | null;
988211
+ sell_invoice_number: string | null;
988212
+ is_sell_posted: boolean | null;
988213
+ id_forwarding_shipment_billing_detail_copy: string | null;
988214
+ }[];
988215
+ _count: {
988216
+ cancelled_transaction: number;
988217
+ forwarding_shipment_billing: number;
988218
+ forwarding_consol: number;
988219
+ account_organization: number;
988220
+ invoice_type: number;
988221
+ billing_transaction_type: number;
988222
+ currency: number;
988223
+ agreed_payment_method: number;
988224
+ payment_status: number;
988225
+ cancelling_transaction: number;
988226
+ billing_ar_transaction_logs: number;
988227
+ billing_ar_transaction_lines: number;
988228
+ forwarding_shipment_billing_details: number;
988229
+ };
988230
+ currency: {
988231
+ symbol: string | null;
988232
+ is_active: boolean | null;
988233
+ id: string;
988234
+ logic_code: string | null;
988235
+ created_at: Date | null;
988236
+ created_by: string | null;
988237
+ updated_at: Date | null;
988238
+ updated_by: string | null;
988239
+ currency_code: string | null;
988240
+ currency_name: string | null;
988241
+ major_unit: string | null;
988242
+ minor_unit: string | null;
988243
+ decimal_unit: number | null;
988244
+ iso_decimal: number | null;
988245
+ } | null;
988246
+ forwarding_consol: {
988247
+ is_active: boolean | null;
988248
+ id: string;
988249
+ logic_code: string | null;
988250
+ name: string | null;
988251
+ code: string | null;
988252
+ other_reference: string | null;
988253
+ created_at: Date | null;
988254
+ created_by: string | null;
988255
+ updated_at: Date | null;
988256
+ updated_by: string | null;
988257
+ id_transport_mode: string | null;
988258
+ id_container_shipping_type: string | null;
988259
+ id_service_level: string | null;
988260
+ id_type: string | null;
988261
+ id_payment_type: string | null;
988262
+ id_local_currency: string | null;
988263
+ id_load_port: string | null;
988264
+ id_discharge_port: string | null;
988265
+ id_vessel: string | null;
988266
+ id_sending_agent: string | null;
988267
+ id_sending_agent_address: string | null;
988268
+ id_receiving_agent: string | null;
988269
+ id_receiving_agent_address: string | null;
988270
+ id_carrier_shipping_line: string | null;
988271
+ id_carrier_airline: string | null;
988272
+ id_creditor_origin: string | null;
988273
+ id_creditor_origin_address: string | null;
988274
+ id_creditor_destination: string | null;
988275
+ id_creditor_destination_address: string | null;
988276
+ id_consol_branch: string | null;
988277
+ consol_number: string | null;
988278
+ trip_number: string | null;
988279
+ aircraft_type: string | null;
988280
+ aircraft_registration: string | null;
988281
+ mawb_number: string | null;
988282
+ bol_number: string | null;
988283
+ carrier_booking_reference: string | null;
988284
+ agent_reference: string | null;
988285
+ estimated_departure: Date | null;
988286
+ estimated_arrival: Date | null;
988287
+ actual_departure: Date | null;
988288
+ actual_arrival: Date | null;
988289
+ is_neutral_mawb: boolean | null;
988290
+ } | null;
988291
+ forwarding_shipment_billing: {
988292
+ forwarding_shipment: {
988293
+ is_active: boolean | null;
988294
+ id: string;
988295
+ logic_code: string | null;
988296
+ created_at: Date | null;
988297
+ created_by: string | null;
988298
+ updated_at: Date | null;
988299
+ updated_by: string | null;
988300
+ id_transport_mode: string | null;
988301
+ id_container_shipping_type: string | null;
988302
+ id_incoterm: string | null;
988303
+ id_service_level: string | null;
988304
+ id_release_type: string | null;
988305
+ id_on_board_status: string | null;
988306
+ id_weight_unit: string | null;
988307
+ id_volume_unit: string | null;
988308
+ id_chargeable_unit: string | null;
988309
+ id_forwarding_booking: string | null;
988310
+ description: string | null;
988311
+ mark_number: string | null;
988312
+ estimated_delivery_date: Date | null;
988313
+ weight: Decimal$1 | null;
988314
+ volume: Decimal$1 | null;
988315
+ chargeable: Decimal$1 | null;
988316
+ id_forwarding_consol: string | null;
988317
+ id_transport_type: string | null;
988318
+ id_service_scope: string | null;
988319
+ id_origin: string | null;
988320
+ id_destination: string | null;
988321
+ id_weight_volume_unit: string | null;
988322
+ id_package_count_type: string | null;
988323
+ id_package_inner_count_type: string | null;
988324
+ id_air_waybill_dims: string | null;
988325
+ id_house_bill_type: string | null;
988326
+ id_hbl_delivery_mode: string | null;
988327
+ id_charge_apply: string | null;
988328
+ id_control_customer: string | null;
988329
+ id_control_agent: string | null;
988330
+ id_operator: string | null;
988331
+ id_shipment_branch: string | null;
988332
+ id_local_currency: string | null;
988333
+ shipment_number: string | null;
988334
+ house_bill: string | null;
988335
+ weight_volume: Decimal$1 | null;
988336
+ package_count: number | null;
988337
+ package_inner_count: number | null;
988338
+ original_bills: number | null;
988339
+ copy_bills: number | null;
988340
+ estimated_arrival_date: Date | null;
988341
+ issue_date: Date | null;
988342
+ on_board_date: Date | null;
988343
+ } | null;
988344
+ is_active: boolean | null;
988345
+ id: string;
988346
+ logic_code: string | null;
988347
+ name: string | null;
988348
+ id_branch: string | null;
988349
+ id_department: string | null;
988350
+ code: string | null;
988351
+ created_at: Date | null;
988352
+ created_by: string | null;
988353
+ updated_at: Date | null;
988354
+ updated_by: string | null;
988355
+ quote_number: string | null;
988356
+ id_forwarding_shipment: string | null;
988357
+ margin: Decimal$1 | null;
988358
+ id_local_client: string | null;
988359
+ id_local_client_address: string | null;
988360
+ id_overseas_agent: string | null;
988361
+ id_overseas_agent_address: string | null;
988362
+ id_sales_rep: string | null;
988363
+ id_operation_rep: string | null;
988364
+ id_profit_loss_reason: string | null;
988365
+ id_job_status: string | null;
988366
+ billing_number: string | null;
988367
+ job_date: Date | null;
988368
+ open_date: Date | null;
988369
+ close_date: Date | null;
988370
+ job_recognition_date: Date | null;
988371
+ on_hold_reason: string | null;
988372
+ client_contract_number: string | null;
988373
+ local_client_address: string | null;
988374
+ overseas_agent_address: string | null;
988375
+ is_on_hold: boolean | null;
988376
+ is_override_local_client: boolean | null;
988377
+ is_override_overseas_agent: boolean | null;
988378
+ } | null;
988379
+ billing_transaction_type: {
988380
+ is_active: boolean | null;
988381
+ id: string;
988382
+ logic_code: string | null;
988383
+ name: string | null;
988384
+ code: string | null;
988385
+ created_at: Date | null;
988386
+ created_by: string | null;
988387
+ updated_at: Date | null;
988388
+ updated_by: string | null;
988389
+ } | null;
988390
+ cancelled_transaction: {
988391
+ is_active: boolean | null;
988392
+ id: string;
988393
+ logic_code: string | null;
988394
+ created_at: Date | null;
988395
+ created_by: string | null;
988396
+ updated_at: Date | null;
988397
+ updated_by: string | null;
988398
+ id_currency: string | null;
988399
+ id_agreed_payment_method: string | null;
988400
+ id_forwarding_consol: string | null;
988401
+ id_forwarding_shipment_billing: string | null;
988402
+ id_account_organization: string | null;
988403
+ id_transaction_type: string | null;
988404
+ id_payment_status: string | null;
988405
+ transaction_number: string | null;
988406
+ outstanding_amount: Decimal$1 | null;
988407
+ transaction_amount: Decimal$1 | null;
988408
+ local_transaction_amount: Decimal$1 | null;
988409
+ post_date: Date | null;
988410
+ invoice_date: Date | null;
988411
+ due_date: Date | null;
988412
+ fully_paid_date: Date | null;
988413
+ is_cancelled: boolean | null;
988414
+ id_ar_transaction_cancelled: string | null;
988415
+ id_invoice_type: string | null;
988416
+ } | null;
988417
+ cancelling_transaction: {
988418
+ is_active: boolean | null;
988419
+ id: string;
988420
+ logic_code: string | null;
988421
+ created_at: Date | null;
988422
+ created_by: string | null;
988423
+ updated_at: Date | null;
988424
+ updated_by: string | null;
988425
+ id_currency: string | null;
988426
+ id_agreed_payment_method: string | null;
988427
+ id_forwarding_consol: string | null;
988428
+ id_forwarding_shipment_billing: string | null;
988429
+ id_account_organization: string | null;
988430
+ id_transaction_type: string | null;
988431
+ id_payment_status: string | null;
988432
+ transaction_number: string | null;
988433
+ outstanding_amount: Decimal$1 | null;
988434
+ transaction_amount: Decimal$1 | null;
988435
+ local_transaction_amount: Decimal$1 | null;
988436
+ post_date: Date | null;
988437
+ invoice_date: Date | null;
988438
+ due_date: Date | null;
988439
+ fully_paid_date: Date | null;
988440
+ is_cancelled: boolean | null;
988441
+ id_ar_transaction_cancelled: string | null;
988442
+ id_invoice_type: string | null;
988443
+ } | null;
988444
+ account_organization: {
988445
+ is_active: boolean | null;
988446
+ id: string;
988447
+ logic_code: string | null;
988448
+ name: string | null;
988449
+ id_country: string | null;
988450
+ id_state: string | null;
988451
+ id_city: string | null;
988452
+ id_postal_code: string | null;
988453
+ id_company: string | null;
988454
+ id_branch: string | null;
988455
+ code: string | null;
988456
+ created_at: Date | null;
988457
+ created_by: string | null;
988458
+ updated_at: Date | null;
988459
+ updated_by: string | null;
988460
+ id_un_locode: string | null;
988461
+ email: string | null;
988462
+ id_business_category: string | null;
988463
+ id_controlling_branch: string | null;
988464
+ id_airline: string | null;
988465
+ id_shipping_line: string | null;
988466
+ phone: string | null;
988467
+ website_url: string | null;
988468
+ company_number: string | null;
988469
+ company_tax_number: string | null;
988470
+ } | null;
988471
+ payment_status: {
988472
+ is_active: boolean | null;
988473
+ id: string;
988474
+ logic_code: string | null;
988475
+ name: string | null;
988476
+ code: string | null;
988477
+ created_at: Date | null;
988478
+ created_by: string | null;
988479
+ updated_at: Date | null;
988480
+ updated_by: string | null;
988481
+ } | null;
988482
+ invoice_type: {
988483
+ is_active: boolean | null;
988484
+ id: string;
988485
+ logic_code: string | null;
988486
+ name: string | null;
988487
+ code: string | null;
988488
+ created_at: Date | null;
988489
+ created_by: string | null;
988490
+ updated_at: Date | null;
988491
+ updated_by: string | null;
988492
+ invoice_header: string | null;
988493
+ } | null;
988494
+ agreed_payment_method: {
988495
+ is_active: boolean | null;
988496
+ id: string;
988497
+ logic_code: string | null;
988498
+ name: string | null;
988499
+ code: string | null;
988500
+ created_at: Date | null;
988501
+ created_by: string | null;
988502
+ updated_at: Date | null;
988503
+ updated_by: string | null;
988504
+ } | null;
988505
+ is_active: boolean | null;
988506
+ id: string;
988507
+ logic_code: string | null;
988508
+ created_at: Date | null;
988509
+ created_by: string | null;
988510
+ updated_at: Date | null;
988511
+ updated_by: string | null;
988512
+ id_currency: string | null;
988513
+ id_agreed_payment_method: string | null;
988514
+ id_forwarding_consol: string | null;
988515
+ id_forwarding_shipment_billing: string | null;
988516
+ id_account_organization: string | null;
988517
+ id_transaction_type: string | null;
988518
+ id_payment_status: string | null;
988519
+ transaction_number: string | null;
988520
+ outstanding_amount: Decimal$1 | null;
988521
+ transaction_amount: Decimal$1 | null;
988522
+ local_transaction_amount: Decimal$1 | null;
988523
+ post_date: Date | null;
988524
+ invoice_date: Date | null;
988525
+ due_date: Date | null;
988526
+ fully_paid_date: Date | null;
988527
+ is_cancelled: boolean | null;
988528
+ id_ar_transaction_cancelled: string | null;
988529
+ id_invoice_type: string | null;
988530
+ };
988531
+ };
988532
+ meta: object;
988533
+ }>;
988534
+ histories: BuiltRouter<{
988535
+ ctx: Context;
988536
+ meta: object;
988537
+ errorShape: DefaultErrorShape;
988538
+ transformer: false;
988539
+ }, DecorateCreateRouterOptions<{
988540
+ get: MutationProcedure<{
988541
+ input: {
988542
+ search?: string | number | boolean | null | undefined;
988543
+ take?: string | number | null | undefined;
988544
+ skip?: string | number | null | undefined;
988545
+ is_active?: (string | number | boolean)[] | null | undefined;
988546
+ is_system?: (string | number | boolean)[] | null | undefined;
988547
+ ids_include?: (string | number | boolean)[] | null | undefined;
988548
+ ids_exclude?: (string | number | boolean)[] | null | undefined;
988549
+ logic_codes_include?: (string | number | boolean)[] | null | undefined;
988550
+ logic_codes_exclude?: (string | number | boolean)[] | null | undefined;
988551
+ created_at?: {
988552
+ start_date?: string | number | boolean | null | undefined;
988553
+ end_date?: string | number | boolean | null | undefined;
988554
+ is_overlapping?: string | number | boolean | null | undefined;
988555
+ } | null | undefined;
988556
+ updated_at?: {
988557
+ start_date?: string | number | boolean | null | undefined;
988558
+ end_date?: string | number | boolean | null | undefined;
988559
+ is_overlapping?: string | number | boolean | null | undefined;
988560
+ } | null | undefined;
988561
+ order_by?: {
988562
+ field: string;
988563
+ direction: "asc" | "desc";
988564
+ } | null | undefined;
988565
+ order_bys?: {
988566
+ field: string;
988567
+ direction: "asc" | "desc";
988568
+ }[] | null | undefined;
988569
+ id_log_type?: string | number | boolean | null | undefined;
988570
+ ids_log_type?: (string | number | boolean)[] | null | undefined;
988571
+ id_billing_ar_transaction?: string | number | boolean | null | undefined;
988572
+ ids_billing_ar_transaction?: (string | number | boolean)[] | null | undefined;
988573
+ };
988574
+ output: {
988575
+ data: {
988576
+ log_type: {
988577
+ is_active: boolean | null;
988578
+ id: string;
988579
+ logic_code: string | null;
988580
+ name: string | null;
988581
+ created_at: Date | null;
988582
+ created_by: string | null;
988583
+ updated_at: Date | null;
988584
+ updated_by: string | null;
988585
+ } | null;
988586
+ id: string;
988587
+ params: SimpleJson;
988588
+ id_log_type: string | null;
988589
+ url: string | null;
988590
+ action: string | null;
988591
+ action_by: string | null;
988592
+ action_id: string | null;
988593
+ action_at: Date | null;
988594
+ id_billing_ar_transaction: string | null;
988595
+ }[] | undefined;
988596
+ total: number | undefined;
988597
+ };
988598
+ meta: object;
988599
+ }>;
988600
+ getDetail: MutationProcedure<{
988601
+ input: {
988602
+ is_active?: (string | number | boolean)[] | null | undefined;
988603
+ is_system?: (string | number | boolean)[] | null | undefined;
988604
+ id?: string | number | boolean | null | undefined;
988605
+ logic_code?: string | number | boolean | null | undefined;
988606
+ };
988607
+ output: {
988608
+ data: {
988609
+ log_type: {
988610
+ is_active: boolean | null;
988611
+ id: string;
988612
+ logic_code: string | null;
988613
+ name: string | null;
988614
+ created_at: Date | null;
988615
+ created_by: string | null;
988616
+ updated_at: Date | null;
988617
+ updated_by: string | null;
988618
+ } | null;
988619
+ id: string;
988620
+ params: SimpleJson;
988621
+ id_log_type: string | null;
988622
+ url: string | null;
988623
+ action: string | null;
988624
+ action_by: string | null;
988625
+ action_id: string | null;
988626
+ action_at: Date | null;
988627
+ id_billing_ar_transaction: string | null;
988628
+ } | undefined;
988629
+ };
988630
+ meta: object;
988631
+ }>;
988632
+ }>>;
988633
+ create: MutationProcedure<{
988634
+ input: {
988635
+ id?: string | number | boolean | null | undefined;
988636
+ is_active?: string | number | boolean | null | undefined;
988637
+ is_cancelled?: string | number | boolean | null | undefined;
988638
+ id_ar_transaction_cancelled?: string | number | boolean | null | undefined;
988639
+ id_forwarding_shipment_billing?: string | number | boolean | null | undefined;
988640
+ id_forwarding_consol?: string | number | boolean | null | undefined;
988641
+ id_account_organization?: string | number | boolean | null | undefined;
988642
+ id_invoice_type?: string | number | boolean | null | undefined;
988643
+ id_transaction_type?: string | number | boolean | null | undefined;
988644
+ id_currency?: string | number | boolean | null | undefined;
988645
+ id_agreed_payment_method?: string | number | boolean | null | undefined;
988646
+ id_payment_status?: string | number | boolean | null | undefined;
988647
+ transaction_number?: string | number | boolean | null | undefined;
988648
+ outstanding_amount?: string | number | boolean | null | undefined;
988649
+ transaction_amount?: string | number | boolean | null | undefined;
988650
+ local_transaction_amount?: string | number | boolean | null | undefined;
988651
+ post_date?: string | number | boolean | null | undefined;
988652
+ invoice_date?: string | number | boolean | null | undefined;
988653
+ due_date?: string | number | boolean | null | undefined;
988654
+ fully_paid_date?: string | number | boolean | null | undefined;
988655
+ };
988656
+ output: {
988657
+ data: {
988658
+ is_active: boolean | null;
988659
+ id: string;
988660
+ logic_code: string | null;
988661
+ created_at: Date | null;
988662
+ created_by: string | null;
988663
+ updated_at: Date | null;
988664
+ updated_by: string | null;
988665
+ id_currency: string | null;
988666
+ id_agreed_payment_method: string | null;
988667
+ id_forwarding_consol: string | null;
988668
+ id_forwarding_shipment_billing: string | null;
988669
+ id_account_organization: string | null;
988670
+ id_transaction_type: string | null;
988671
+ id_payment_status: string | null;
988672
+ transaction_number: string | null;
988673
+ outstanding_amount: Decimal$1 | null;
988674
+ transaction_amount: Decimal$1 | null;
988675
+ local_transaction_amount: Decimal$1 | null;
988676
+ post_date: Date | null;
988677
+ invoice_date: Date | null;
988678
+ due_date: Date | null;
988679
+ fully_paid_date: Date | null;
988680
+ is_cancelled: boolean | null;
988681
+ id_ar_transaction_cancelled: string | null;
988682
+ id_invoice_type: string | null;
988683
+ };
988684
+ log: {
988685
+ id: string;
988686
+ params: SimpleJson;
988687
+ id_log_type: string | null;
988688
+ url: string | null;
988689
+ action: string | null;
988690
+ action_by: string | null;
988691
+ action_id: string | null;
988692
+ action_at: Date | null;
988693
+ id_billing_ar_transaction: string | null;
988694
+ } | undefined;
988695
+ } | undefined;
988696
+ meta: object;
988697
+ }>;
988698
+ update: MutationProcedure<{
988699
+ input: {
988700
+ is_system?: (string | number | boolean)[] | null | undefined;
988701
+ logic_code?: string | number | boolean | null | undefined;
988702
+ id?: string | number | boolean | null | undefined;
988703
+ is_active?: string | number | boolean | null | undefined;
988704
+ is_cancelled?: string | number | boolean | null | undefined;
988705
+ id_ar_transaction_cancelled?: string | number | boolean | null | undefined;
988706
+ id_forwarding_shipment_billing?: string | number | boolean | null | undefined;
988707
+ id_forwarding_consol?: string | number | boolean | null | undefined;
988708
+ id_account_organization?: string | number | boolean | null | undefined;
988709
+ id_invoice_type?: string | number | boolean | null | undefined;
988710
+ id_transaction_type?: string | number | boolean | null | undefined;
988711
+ id_currency?: string | number | boolean | null | undefined;
988712
+ id_agreed_payment_method?: string | number | boolean | null | undefined;
988713
+ id_payment_status?: string | number | boolean | null | undefined;
988714
+ transaction_number?: string | number | boolean | null | undefined;
988715
+ outstanding_amount?: string | number | boolean | null | undefined;
988716
+ transaction_amount?: string | number | boolean | null | undefined;
988717
+ local_transaction_amount?: string | number | boolean | null | undefined;
988718
+ post_date?: string | number | boolean | null | undefined;
988719
+ invoice_date?: string | number | boolean | null | undefined;
988720
+ due_date?: string | number | boolean | null | undefined;
988721
+ fully_paid_date?: string | number | boolean | null | undefined;
988722
+ };
988723
+ output: {
988724
+ data: {
988725
+ is_active: boolean | null;
988726
+ id: string;
988727
+ logic_code: string | null;
988728
+ created_at: Date | null;
988729
+ created_by: string | null;
988730
+ updated_at: Date | null;
988731
+ updated_by: string | null;
988732
+ id_currency: string | null;
988733
+ id_agreed_payment_method: string | null;
988734
+ id_forwarding_consol: string | null;
988735
+ id_forwarding_shipment_billing: string | null;
988736
+ id_account_organization: string | null;
988737
+ id_transaction_type: string | null;
988738
+ id_payment_status: string | null;
988739
+ transaction_number: string | null;
988740
+ outstanding_amount: Decimal$1 | null;
988741
+ transaction_amount: Decimal$1 | null;
988742
+ local_transaction_amount: Decimal$1 | null;
988743
+ post_date: Date | null;
988744
+ invoice_date: Date | null;
988745
+ due_date: Date | null;
988746
+ fully_paid_date: Date | null;
988747
+ is_cancelled: boolean | null;
988748
+ id_ar_transaction_cancelled: string | null;
988749
+ id_invoice_type: string | null;
988750
+ };
988751
+ log: {
988752
+ id: string;
988753
+ params: SimpleJson;
988754
+ id_log_type: string | null;
988755
+ url: string | null;
988756
+ action: string | null;
988757
+ action_by: string | null;
988758
+ action_id: string | null;
988759
+ action_at: Date | null;
988760
+ id_billing_ar_transaction: string | null;
988761
+ } | undefined;
988762
+ } | undefined;
988763
+ meta: object;
988764
+ }>;
988765
+ delete: MutationProcedure<{
988766
+ input: {
988767
+ id?: string | number | boolean | null | undefined;
988768
+ ids?: (string | number | boolean)[] | null | undefined;
988769
+ };
988770
+ output: {
988771
+ data: ({
988772
+ is_active: boolean | null;
988773
+ id: string;
988774
+ logic_code: string | null;
988775
+ created_at: Date | null;
988776
+ created_by: string | null;
988777
+ updated_at: Date | null;
988778
+ updated_by: string | null;
988779
+ id_currency: string | null;
988780
+ id_agreed_payment_method: string | null;
988781
+ id_forwarding_consol: string | null;
988782
+ id_forwarding_shipment_billing: string | null;
988783
+ id_account_organization: string | null;
988784
+ id_transaction_type: string | null;
988785
+ id_payment_status: string | null;
988786
+ transaction_number: string | null;
988787
+ outstanding_amount: Decimal$1 | null;
988788
+ transaction_amount: Decimal$1 | null;
988789
+ local_transaction_amount: Decimal$1 | null;
988790
+ post_date: Date | null;
988791
+ invoice_date: Date | null;
988792
+ due_date: Date | null;
988793
+ fully_paid_date: Date | null;
988794
+ is_cancelled: boolean | null;
988795
+ id_ar_transaction_cancelled: string | null;
988796
+ id_invoice_type: string | null;
988797
+ } | undefined)[] | undefined;
988798
+ } | undefined;
988799
+ meta: object;
988800
+ }>;
988801
+ upsertBatch: MutationProcedure<{
988802
+ input: {
988803
+ create?: {
988804
+ id?: string | number | boolean | null | undefined;
988805
+ is_active?: string | number | boolean | null | undefined;
988806
+ is_cancelled?: string | number | boolean | null | undefined;
988807
+ id_ar_transaction_cancelled?: string | number | boolean | null | undefined;
988808
+ id_forwarding_shipment_billing?: string | number | boolean | null | undefined;
988809
+ id_forwarding_consol?: string | number | boolean | null | undefined;
988810
+ id_account_organization?: string | number | boolean | null | undefined;
988811
+ id_invoice_type?: string | number | boolean | null | undefined;
988812
+ id_transaction_type?: string | number | boolean | null | undefined;
988813
+ id_currency?: string | number | boolean | null | undefined;
988814
+ id_agreed_payment_method?: string | number | boolean | null | undefined;
988815
+ id_payment_status?: string | number | boolean | null | undefined;
988816
+ transaction_number?: string | number | boolean | null | undefined;
988817
+ outstanding_amount?: string | number | boolean | null | undefined;
988818
+ transaction_amount?: string | number | boolean | null | undefined;
988819
+ local_transaction_amount?: string | number | boolean | null | undefined;
988820
+ post_date?: string | number | boolean | null | undefined;
988821
+ invoice_date?: string | number | boolean | null | undefined;
988822
+ due_date?: string | number | boolean | null | undefined;
988823
+ fully_paid_date?: string | number | boolean | null | undefined;
988824
+ }[] | undefined;
988825
+ update?: {
988826
+ is_system?: (string | number | boolean)[] | null | undefined;
988827
+ logic_code?: string | number | boolean | null | undefined;
988828
+ id?: string | number | boolean | null | undefined;
988829
+ is_active?: string | number | boolean | null | undefined;
988830
+ is_cancelled?: string | number | boolean | null | undefined;
988831
+ id_ar_transaction_cancelled?: string | number | boolean | null | undefined;
988832
+ id_forwarding_shipment_billing?: string | number | boolean | null | undefined;
988833
+ id_forwarding_consol?: string | number | boolean | null | undefined;
988834
+ id_account_organization?: string | number | boolean | null | undefined;
988835
+ id_invoice_type?: string | number | boolean | null | undefined;
988836
+ id_transaction_type?: string | number | boolean | null | undefined;
988837
+ id_currency?: string | number | boolean | null | undefined;
988838
+ id_agreed_payment_method?: string | number | boolean | null | undefined;
988839
+ id_payment_status?: string | number | boolean | null | undefined;
988840
+ transaction_number?: string | number | boolean | null | undefined;
988841
+ outstanding_amount?: string | number | boolean | null | undefined;
988842
+ transaction_amount?: string | number | boolean | null | undefined;
988843
+ local_transaction_amount?: string | number | boolean | null | undefined;
988844
+ post_date?: string | number | boolean | null | undefined;
988845
+ invoice_date?: string | number | boolean | null | undefined;
988846
+ due_date?: string | number | boolean | null | undefined;
988847
+ fully_paid_date?: string | number | boolean | null | undefined;
988848
+ }[] | undefined;
988849
+ };
988850
+ output: {
988851
+ created_data: ({
988852
+ data: {
988853
+ is_active: boolean | null;
988854
+ id: string;
988855
+ logic_code: string | null;
988856
+ created_at: Date | null;
988857
+ created_by: string | null;
988858
+ updated_at: Date | null;
988859
+ updated_by: string | null;
988860
+ id_currency: string | null;
988861
+ id_agreed_payment_method: string | null;
988862
+ id_forwarding_consol: string | null;
988863
+ id_forwarding_shipment_billing: string | null;
988864
+ id_account_organization: string | null;
988865
+ id_transaction_type: string | null;
988866
+ id_payment_status: string | null;
988867
+ transaction_number: string | null;
988868
+ outstanding_amount: Decimal$1 | null;
988869
+ transaction_amount: Decimal$1 | null;
988870
+ local_transaction_amount: Decimal$1 | null;
988871
+ post_date: Date | null;
988872
+ invoice_date: Date | null;
988873
+ due_date: Date | null;
988874
+ fully_paid_date: Date | null;
988875
+ is_cancelled: boolean | null;
988876
+ id_ar_transaction_cancelled: string | null;
988877
+ id_invoice_type: string | null;
988878
+ };
988879
+ log: {
988880
+ id: string;
988881
+ params: SimpleJson;
988882
+ id_log_type: string | null;
988883
+ url: string | null;
988884
+ action: string | null;
988885
+ action_by: string | null;
988886
+ action_id: string | null;
988887
+ action_at: Date | null;
988888
+ id_billing_ar_transaction: string | null;
988889
+ } | undefined;
988890
+ } | undefined)[];
988891
+ updated_data: ({
988892
+ data: {
988893
+ is_active: boolean | null;
988894
+ id: string;
988895
+ logic_code: string | null;
988896
+ created_at: Date | null;
988897
+ created_by: string | null;
988898
+ updated_at: Date | null;
988899
+ updated_by: string | null;
988900
+ id_currency: string | null;
988901
+ id_agreed_payment_method: string | null;
988902
+ id_forwarding_consol: string | null;
988903
+ id_forwarding_shipment_billing: string | null;
988904
+ id_account_organization: string | null;
988905
+ id_transaction_type: string | null;
988906
+ id_payment_status: string | null;
988907
+ transaction_number: string | null;
988908
+ outstanding_amount: Decimal$1 | null;
988909
+ transaction_amount: Decimal$1 | null;
988910
+ local_transaction_amount: Decimal$1 | null;
988911
+ post_date: Date | null;
988912
+ invoice_date: Date | null;
988913
+ due_date: Date | null;
988914
+ fully_paid_date: Date | null;
988915
+ is_cancelled: boolean | null;
988916
+ id_ar_transaction_cancelled: string | null;
988917
+ id_invoice_type: string | null;
988918
+ };
988919
+ log: {
988920
+ id: string;
988921
+ params: SimpleJson;
988922
+ id_log_type: string | null;
988923
+ url: string | null;
988924
+ action: string | null;
988925
+ action_by: string | null;
988926
+ action_id: string | null;
988927
+ action_at: Date | null;
988928
+ id_billing_ar_transaction: string | null;
988929
+ } | undefined;
988930
+ } | undefined)[];
988931
+ } | undefined;
988932
+ meta: object;
988933
+ }>;
988934
+ cancel: MutationProcedure<{
988935
+ input: {
988936
+ id?: string | number | boolean | null | undefined;
988937
+ ids?: (string | number | boolean)[] | null | undefined;
988938
+ };
988939
+ output: {
988940
+ data: ({
988941
+ is_active: boolean | null;
988942
+ id: string;
988943
+ logic_code: string | null;
988944
+ created_at: Date | null;
988945
+ created_by: string | null;
988946
+ updated_at: Date | null;
988947
+ updated_by: string | null;
988948
+ id_currency: string | null;
988949
+ id_agreed_payment_method: string | null;
988950
+ id_forwarding_consol: string | null;
988951
+ id_forwarding_shipment_billing: string | null;
988952
+ id_account_organization: string | null;
988953
+ id_transaction_type: string | null;
988954
+ id_payment_status: string | null;
988955
+ transaction_number: string | null;
988956
+ outstanding_amount: Decimal$1 | null;
988957
+ transaction_amount: Decimal$1 | null;
988958
+ local_transaction_amount: Decimal$1 | null;
988959
+ post_date: Date | null;
988960
+ invoice_date: Date | null;
988961
+ due_date: Date | null;
988962
+ fully_paid_date: Date | null;
988963
+ is_cancelled: boolean | null;
988964
+ id_ar_transaction_cancelled: string | null;
988965
+ id_invoice_type: string | null;
988966
+ } | undefined)[] | undefined;
988967
+ } | undefined;
988968
+ meta: object;
988969
+ }>;
988970
+ lines: BuiltRouter<{
988971
+ ctx: Context;
988972
+ meta: object;
988973
+ errorShape: DefaultErrorShape;
988974
+ transformer: false;
988975
+ }, DecorateCreateRouterOptions<{
988976
+ get: MutationProcedure<{
988977
+ input: {
988978
+ search?: string | number | boolean | null | undefined;
988979
+ take?: string | number | null | undefined;
988980
+ skip?: string | number | null | undefined;
988981
+ is_active?: (string | number | boolean)[] | null | undefined;
988982
+ is_system?: (string | number | boolean)[] | null | undefined;
988983
+ ids_include?: (string | number | boolean)[] | null | undefined;
988984
+ ids_exclude?: (string | number | boolean)[] | null | undefined;
988985
+ logic_codes_include?: (string | number | boolean)[] | null | undefined;
988986
+ logic_codes_exclude?: (string | number | boolean)[] | null | undefined;
988987
+ created_at?: {
988988
+ start_date?: string | number | boolean | null | undefined;
988989
+ end_date?: string | number | boolean | null | undefined;
988990
+ is_overlapping?: string | number | boolean | null | undefined;
988991
+ } | null | undefined;
988992
+ updated_at?: {
988993
+ start_date?: string | number | boolean | null | undefined;
988994
+ end_date?: string | number | boolean | null | undefined;
988995
+ is_overlapping?: string | number | boolean | null | undefined;
988996
+ } | null | undefined;
988997
+ order_by?: {
988998
+ field: string;
988999
+ direction: "asc" | "desc";
989000
+ } | null | undefined;
989001
+ order_bys?: {
989002
+ field: string;
989003
+ direction: "asc" | "desc";
989004
+ }[] | null | undefined;
989005
+ id_billing_ar_transaction?: string | number | boolean | null | undefined;
989006
+ ids_billing_ar_transaction?: (string | number | boolean)[] | null | undefined;
989007
+ id_forwarding_shipment_billing_detail_copy?: string | number | boolean | null | undefined;
989008
+ ids_forwarding_shipment_billing_detail_copy?: (string | number | boolean)[] | null | undefined;
989009
+ id_forwarding_consol_billing_detail_sell?: string | number | boolean | null | undefined;
989010
+ ids_forwarding_consol_billing_detail_sell?: (string | number | boolean)[] | null | undefined;
989011
+ id_charge_code?: string | number | boolean | null | undefined;
989012
+ ids_charge_code?: (string | number | boolean)[] | null | undefined;
989013
+ id_sell_currency?: string | number | boolean | null | undefined;
989014
+ ids_sell_currency?: (string | number | boolean)[] | null | undefined;
989015
+ id_sell_latest_system_rate?: string | number | boolean | null | undefined;
989016
+ ids_sell_latest_system_rate?: (string | number | boolean)[] | null | undefined;
989017
+ id_sell_debtor?: string | number | boolean | null | undefined;
989018
+ ids_sell_debtor?: (string | number | boolean)[] | null | undefined;
989019
+ id_sell_invoice_type?: string | number | boolean | null | undefined;
989020
+ ids_sell_invoice_type?: (string | number | boolean)[] | null | undefined;
989021
+ id_sell_tax_rate?: string | number | boolean | null | undefined;
989022
+ ids_sell_tax_rate?: (string | number | boolean)[] | null | undefined;
989023
+ is_sell_posted?: (string | number | boolean)[] | null | undefined;
989024
+ };
989025
+ output: {
989026
+ data: {
989027
+ charge_code: {
989028
+ is_active: boolean | null;
989029
+ id: string;
989030
+ logic_code: string | null;
989031
+ name: string | null;
989032
+ id_department: string | null;
989033
+ code: string | null;
989034
+ created_at: Date | null;
989035
+ created_by: string | null;
989036
+ updated_at: Date | null;
989037
+ updated_by: string | null;
989038
+ id_incoterm: string | null;
989039
+ id_type: string | null;
989040
+ id_wht_type: string | null;
989041
+ id_tax_rate: string | null;
989042
+ id_revenue: string | null;
989043
+ id_wip: string | null;
989044
+ id_cost: string | null;
989045
+ id_accrual: string | null;
989046
+ id_sales_group: string | null;
989047
+ id_expense_group: string | null;
989048
+ id_group: string | null;
989049
+ id_sub_group: string | null;
989050
+ id_rate_calculation: string | null;
989051
+ remarks: string | null;
989052
+ margin: Decimal$1 | null;
989053
+ is_show_on_consol: boolean | null;
989054
+ is_show_on_quote: boolean | null;
989055
+ is_show_if_zero: boolean | null;
989056
+ } | null;
989057
+ sell_currency: {
989058
+ symbol: string | null;
989059
+ is_active: boolean | null;
989060
+ id: string;
989061
+ logic_code: string | null;
989062
+ created_at: Date | null;
989063
+ created_by: string | null;
989064
+ updated_at: Date | null;
989065
+ updated_by: string | null;
989066
+ currency_code: string | null;
989067
+ currency_name: string | null;
989068
+ major_unit: string | null;
989069
+ minor_unit: string | null;
989070
+ decimal_unit: number | null;
989071
+ iso_decimal: number | null;
989072
+ } | null;
989073
+ sell_latest_system_rate: {
989074
+ is_active: boolean | null;
989075
+ id: string;
989076
+ logic_code: string | null;
989077
+ created_at: Date | null;
989078
+ created_by: string | null;
989079
+ updated_at: Date | null;
989080
+ updated_by: string | null;
989081
+ start_date: Date | null;
989082
+ end_date: Date | null;
989083
+ id_currency_from: string | null;
989084
+ id_currency_to: string | null;
989085
+ id_exchange_rate_type: string | null;
989086
+ rate: Decimal$1 | null;
989087
+ } | null;
989088
+ billing_ar_transaction: {
989089
+ is_active: boolean | null;
989090
+ id: string;
989091
+ logic_code: string | null;
989092
+ created_at: Date | null;
989093
+ created_by: string | null;
989094
+ updated_at: Date | null;
989095
+ updated_by: string | null;
989096
+ id_currency: string | null;
989097
+ id_agreed_payment_method: string | null;
989098
+ id_forwarding_consol: string | null;
989099
+ id_forwarding_shipment_billing: string | null;
989100
+ id_account_organization: string | null;
989101
+ id_transaction_type: string | null;
989102
+ id_payment_status: string | null;
989103
+ transaction_number: string | null;
989104
+ outstanding_amount: Decimal$1 | null;
989105
+ transaction_amount: Decimal$1 | null;
989106
+ local_transaction_amount: Decimal$1 | null;
989107
+ post_date: Date | null;
989108
+ invoice_date: Date | null;
989109
+ due_date: Date | null;
989110
+ fully_paid_date: Date | null;
989111
+ is_cancelled: boolean | null;
989112
+ id_ar_transaction_cancelled: string | null;
989113
+ id_invoice_type: string | null;
989114
+ } | null;
989115
+ forwarding_consol_billing_detail_sell: {
989116
+ is_active: boolean | null;
989117
+ id: string;
989118
+ logic_code: string | null;
989119
+ name: string | null;
989120
+ code: string | null;
989121
+ created_at: Date | null;
989122
+ created_by: string | null;
989123
+ updated_at: Date | null;
989124
+ updated_by: string | null;
989125
+ id_forwarding_consol: string | null;
989126
+ id_charge_code: string | null;
989127
+ id_sell_currency: string | null;
989128
+ id_sell_latest_system_rate: string | null;
989129
+ id_sell_apportion_method: string | null;
989130
+ sell_base_rate: Decimal$1 | null;
989131
+ sell_currency_amount: Decimal$1 | null;
989132
+ sell_currency_estimated_amount: Decimal$1 | null;
989133
+ sell_local_currency_amount: Decimal$1 | null;
989134
+ sell_tax_amount: Decimal$1 | null;
989135
+ } | null;
989136
+ sell_debtor: {
989137
+ is_active: boolean | null;
989138
+ id: string;
989139
+ logic_code: string | null;
989140
+ name: string | null;
989141
+ id_country: string | null;
989142
+ id_state: string | null;
989143
+ id_city: string | null;
989144
+ id_postal_code: string | null;
989145
+ id_company: string | null;
989146
+ id_branch: string | null;
989147
+ code: string | null;
989148
+ created_at: Date | null;
989149
+ created_by: string | null;
989150
+ updated_at: Date | null;
989151
+ updated_by: string | null;
989152
+ id_un_locode: string | null;
989153
+ email: string | null;
989154
+ id_business_category: string | null;
989155
+ id_controlling_branch: string | null;
989156
+ id_airline: string | null;
989157
+ id_shipping_line: string | null;
989158
+ phone: string | null;
989159
+ website_url: string | null;
989160
+ company_number: string | null;
989161
+ company_tax_number: string | null;
989162
+ } | null;
989163
+ sell_invoice_type: {
989164
+ is_active: boolean | null;
989165
+ id: string;
989166
+ logic_code: string | null;
989167
+ name: string | null;
989168
+ code: string | null;
989169
+ created_at: Date | null;
989170
+ created_by: string | null;
989171
+ updated_at: Date | null;
989172
+ updated_by: string | null;
989173
+ invoice_header: string | null;
989174
+ } | null;
989175
+ sell_tax_rate: {
989176
+ is_active: boolean | null;
989177
+ id: string;
989178
+ logic_code: string | null;
989179
+ name: string | null;
989180
+ id_country: string | null;
989181
+ code: string | null;
989182
+ created_at: Date | null;
989183
+ created_by: string | null;
989184
+ updated_at: Date | null;
989185
+ updated_by: string | null;
989186
+ id_type: string | null;
989187
+ rate: Decimal$1 | null;
989188
+ id_system: string | null;
989189
+ tax_message: string | null;
989190
+ } | null;
989191
+ sell_system_rates: {
989192
+ is_active: boolean | null;
989193
+ id: string;
989194
+ logic_code: string | null;
989195
+ created_at: Date | null;
989196
+ created_by: string | null;
989197
+ updated_at: Date | null;
989198
+ updated_by: string | null;
989199
+ start_date: Date | null;
989200
+ end_date: Date | null;
989201
+ id_currency_from: string | null;
989202
+ id_currency_to: string | null;
989203
+ id_exchange_rate_type: string | null;
989204
+ rate: Decimal$1 | null;
989205
+ }[];
989206
+ forwarding_shipment_billing_detail_copy: {
989207
+ is_active: boolean | null;
989208
+ id: string;
989209
+ logic_code: string | null;
989210
+ name: string | null;
989211
+ code: string | null;
989212
+ created_at: Date | null;
989213
+ created_by: string | null;
989214
+ updated_at: Date | null;
989215
+ updated_by: string | null;
989216
+ id_billing_ap_transaction: string | null;
989217
+ id_charge_code: string | null;
989218
+ id_cost_currency: string | null;
989219
+ id_cost_latest_system_rate: string | null;
989220
+ id_cost_creditor: string | null;
989221
+ id_cost_tax_rate: string | null;
989222
+ cost_base_rate: Decimal$1 | null;
989223
+ cost_currency_amount: Decimal$1 | null;
989224
+ cost_currency_estimated_amount: Decimal$1 | null;
989225
+ cost_local_currency_amount: Decimal$1 | null;
989226
+ cost_invoice_number: string | null;
989227
+ cost_invoice_date: Date | null;
989228
+ cost_tax_amount: Decimal$1 | null;
989229
+ cost_supplier_reference: string | null;
989230
+ is_cost_posted: boolean | null;
989231
+ id_sell_currency: string | null;
989232
+ id_sell_latest_system_rate: string | null;
989233
+ sell_base_rate: Decimal$1 | null;
989234
+ sell_currency_amount: Decimal$1 | null;
989235
+ sell_currency_estimated_amount: Decimal$1 | null;
989236
+ sell_local_currency_amount: Decimal$1 | null;
989237
+ id_forwarding_shipment_billing: string | null;
989238
+ id_billing_ar_transaction: string | null;
989239
+ id_forwarding_consol_billing_detail_cost: string | null;
989240
+ id_forwarding_consol_billing_detail_sell: string | null;
989241
+ id_sell_debtor: string | null;
989242
+ id_sell_invoice_type: string | null;
989243
+ id_sell_tax_rate: string | null;
989244
+ sell_tax_amount: Decimal$1 | null;
989245
+ sell_invoice_number: string | null;
989246
+ is_sell_posted: boolean | null;
989247
+ } | null;
989248
+ is_active: boolean | null;
989249
+ id: string;
989250
+ logic_code: string | null;
989251
+ name: string | null;
989252
+ code: string | null;
989253
+ created_at: Date | null;
989254
+ created_by: string | null;
989255
+ updated_at: Date | null;
989256
+ updated_by: string | null;
989257
+ id_charge_code: string | null;
989258
+ id_sell_currency: string | null;
989259
+ id_sell_latest_system_rate: string | null;
989260
+ sell_base_rate: Decimal$1 | null;
989261
+ sell_currency_amount: Decimal$1 | null;
989262
+ sell_currency_estimated_amount: Decimal$1 | null;
989263
+ sell_local_currency_amount: Decimal$1 | null;
989264
+ id_billing_ar_transaction: string | null;
989265
+ id_forwarding_consol_billing_detail_sell: string | null;
989266
+ id_sell_debtor: string | null;
989267
+ id_sell_invoice_type: string | null;
989268
+ id_sell_tax_rate: string | null;
989269
+ sell_tax_amount: Decimal$1 | null;
989270
+ sell_invoice_number: string | null;
989271
+ is_sell_posted: boolean | null;
989272
+ id_forwarding_shipment_billing_detail_copy: string | null;
989273
+ }[] | undefined;
989274
+ total: number | undefined;
989275
+ };
989276
+ meta: object;
989277
+ }>;
989278
+ getDetail: MutationProcedure<{
989279
+ input: {
989280
+ is_active?: (string | number | boolean)[] | null | undefined;
989281
+ is_system?: (string | number | boolean)[] | null | undefined;
989282
+ id?: string | number | boolean | null | undefined;
989283
+ logic_code?: string | number | boolean | null | undefined;
989284
+ };
989285
+ output: {
989286
+ data: {
989287
+ _count: {
989288
+ billing_ar_transaction: number;
989289
+ forwarding_shipment_billing_detail_copy: number;
989290
+ forwarding_consol_billing_detail_sell: number;
989291
+ charge_code: number;
989292
+ sell_currency: number;
989293
+ sell_latest_system_rate: number;
989294
+ sell_debtor: number;
989295
+ sell_invoice_type: number;
989296
+ sell_tax_rate: number;
989297
+ billing_ar_transaction_line_logs: number;
989298
+ sell_system_rates: number;
989299
+ };
989300
+ charge_code: {
989301
+ is_active: boolean | null;
989302
+ id: string;
989303
+ logic_code: string | null;
989304
+ name: string | null;
989305
+ id_department: string | null;
989306
+ code: string | null;
989307
+ created_at: Date | null;
989308
+ created_by: string | null;
989309
+ updated_at: Date | null;
989310
+ updated_by: string | null;
989311
+ id_incoterm: string | null;
989312
+ id_type: string | null;
989313
+ id_wht_type: string | null;
989314
+ id_tax_rate: string | null;
989315
+ id_revenue: string | null;
989316
+ id_wip: string | null;
989317
+ id_cost: string | null;
989318
+ id_accrual: string | null;
989319
+ id_sales_group: string | null;
989320
+ id_expense_group: string | null;
989321
+ id_group: string | null;
989322
+ id_sub_group: string | null;
989323
+ id_rate_calculation: string | null;
989324
+ remarks: string | null;
989325
+ margin: Decimal$1 | null;
989326
+ is_show_on_consol: boolean | null;
989327
+ is_show_on_quote: boolean | null;
989328
+ is_show_if_zero: boolean | null;
989329
+ } | null;
989330
+ sell_currency: {
989331
+ symbol: string | null;
989332
+ is_active: boolean | null;
989333
+ id: string;
989334
+ logic_code: string | null;
989335
+ created_at: Date | null;
989336
+ created_by: string | null;
989337
+ updated_at: Date | null;
989338
+ updated_by: string | null;
989339
+ currency_code: string | null;
989340
+ currency_name: string | null;
989341
+ major_unit: string | null;
989342
+ minor_unit: string | null;
989343
+ decimal_unit: number | null;
989344
+ iso_decimal: number | null;
989345
+ } | null;
989346
+ sell_latest_system_rate: {
989347
+ is_active: boolean | null;
989348
+ id: string;
989349
+ logic_code: string | null;
989350
+ created_at: Date | null;
989351
+ created_by: string | null;
989352
+ updated_at: Date | null;
989353
+ updated_by: string | null;
989354
+ start_date: Date | null;
989355
+ end_date: Date | null;
989356
+ id_currency_from: string | null;
989357
+ id_currency_to: string | null;
989358
+ id_exchange_rate_type: string | null;
989359
+ rate: Decimal$1 | null;
989360
+ } | null;
989361
+ billing_ar_transaction: {
989362
+ is_active: boolean | null;
989363
+ id: string;
989364
+ logic_code: string | null;
989365
+ created_at: Date | null;
989366
+ created_by: string | null;
989367
+ updated_at: Date | null;
989368
+ updated_by: string | null;
989369
+ id_currency: string | null;
989370
+ id_agreed_payment_method: string | null;
989371
+ id_forwarding_consol: string | null;
989372
+ id_forwarding_shipment_billing: string | null;
989373
+ id_account_organization: string | null;
989374
+ id_transaction_type: string | null;
989375
+ id_payment_status: string | null;
989376
+ transaction_number: string | null;
989377
+ outstanding_amount: Decimal$1 | null;
989378
+ transaction_amount: Decimal$1 | null;
989379
+ local_transaction_amount: Decimal$1 | null;
989380
+ post_date: Date | null;
989381
+ invoice_date: Date | null;
989382
+ due_date: Date | null;
989383
+ fully_paid_date: Date | null;
989384
+ is_cancelled: boolean | null;
989385
+ id_ar_transaction_cancelled: string | null;
989386
+ id_invoice_type: string | null;
989387
+ } | null;
989388
+ forwarding_consol_billing_detail_sell: {
989389
+ is_active: boolean | null;
989390
+ id: string;
989391
+ logic_code: string | null;
989392
+ name: string | null;
989393
+ code: string | null;
989394
+ created_at: Date | null;
989395
+ created_by: string | null;
989396
+ updated_at: Date | null;
989397
+ updated_by: string | null;
989398
+ id_forwarding_consol: string | null;
989399
+ id_charge_code: string | null;
989400
+ id_sell_currency: string | null;
989401
+ id_sell_latest_system_rate: string | null;
989402
+ id_sell_apportion_method: string | null;
989403
+ sell_base_rate: Decimal$1 | null;
989404
+ sell_currency_amount: Decimal$1 | null;
989405
+ sell_currency_estimated_amount: Decimal$1 | null;
989406
+ sell_local_currency_amount: Decimal$1 | null;
989407
+ sell_tax_amount: Decimal$1 | null;
989408
+ } | null;
989409
+ sell_debtor: {
989410
+ is_active: boolean | null;
989411
+ id: string;
989412
+ logic_code: string | null;
989413
+ name: string | null;
989414
+ id_country: string | null;
989415
+ id_state: string | null;
989416
+ id_city: string | null;
989417
+ id_postal_code: string | null;
989418
+ id_company: string | null;
989419
+ id_branch: string | null;
989420
+ code: string | null;
989421
+ created_at: Date | null;
989422
+ created_by: string | null;
989423
+ updated_at: Date | null;
989424
+ updated_by: string | null;
989425
+ id_un_locode: string | null;
989426
+ email: string | null;
989427
+ id_business_category: string | null;
989428
+ id_controlling_branch: string | null;
989429
+ id_airline: string | null;
989430
+ id_shipping_line: string | null;
989431
+ phone: string | null;
989432
+ website_url: string | null;
989433
+ company_number: string | null;
989434
+ company_tax_number: string | null;
989435
+ } | null;
989436
+ sell_invoice_type: {
989437
+ is_active: boolean | null;
989438
+ id: string;
989439
+ logic_code: string | null;
989440
+ name: string | null;
989441
+ code: string | null;
989442
+ created_at: Date | null;
989443
+ created_by: string | null;
989444
+ updated_at: Date | null;
989445
+ updated_by: string | null;
989446
+ invoice_header: string | null;
989447
+ } | null;
989448
+ sell_tax_rate: {
989449
+ is_active: boolean | null;
989450
+ id: string;
989451
+ logic_code: string | null;
989452
+ name: string | null;
989453
+ id_country: string | null;
989454
+ code: string | null;
989455
+ created_at: Date | null;
989456
+ created_by: string | null;
989457
+ updated_at: Date | null;
989458
+ updated_by: string | null;
989459
+ id_type: string | null;
989460
+ rate: Decimal$1 | null;
989461
+ id_system: string | null;
989462
+ tax_message: string | null;
989463
+ } | null;
989464
+ sell_system_rates: {
989465
+ is_active: boolean | null;
989466
+ id: string;
989467
+ logic_code: string | null;
989468
+ created_at: Date | null;
989469
+ created_by: string | null;
989470
+ updated_at: Date | null;
989471
+ updated_by: string | null;
989472
+ start_date: Date | null;
989473
+ end_date: Date | null;
989474
+ id_currency_from: string | null;
989475
+ id_currency_to: string | null;
989476
+ id_exchange_rate_type: string | null;
989477
+ rate: Decimal$1 | null;
989478
+ }[];
989479
+ forwarding_shipment_billing_detail_copy: {
989480
+ is_active: boolean | null;
989481
+ id: string;
989482
+ logic_code: string | null;
989483
+ name: string | null;
989484
+ code: string | null;
989485
+ created_at: Date | null;
989486
+ created_by: string | null;
989487
+ updated_at: Date | null;
989488
+ updated_by: string | null;
989489
+ id_billing_ap_transaction: string | null;
989490
+ id_charge_code: string | null;
989491
+ id_cost_currency: string | null;
989492
+ id_cost_latest_system_rate: string | null;
989493
+ id_cost_creditor: string | null;
989494
+ id_cost_tax_rate: string | null;
989495
+ cost_base_rate: Decimal$1 | null;
989496
+ cost_currency_amount: Decimal$1 | null;
989497
+ cost_currency_estimated_amount: Decimal$1 | null;
989498
+ cost_local_currency_amount: Decimal$1 | null;
989499
+ cost_invoice_number: string | null;
989500
+ cost_invoice_date: Date | null;
989501
+ cost_tax_amount: Decimal$1 | null;
989502
+ cost_supplier_reference: string | null;
989503
+ is_cost_posted: boolean | null;
989504
+ id_sell_currency: string | null;
989505
+ id_sell_latest_system_rate: string | null;
989506
+ sell_base_rate: Decimal$1 | null;
989507
+ sell_currency_amount: Decimal$1 | null;
989508
+ sell_currency_estimated_amount: Decimal$1 | null;
989509
+ sell_local_currency_amount: Decimal$1 | null;
989510
+ id_forwarding_shipment_billing: string | null;
989511
+ id_billing_ar_transaction: string | null;
989512
+ id_forwarding_consol_billing_detail_cost: string | null;
989513
+ id_forwarding_consol_billing_detail_sell: string | null;
989514
+ id_sell_debtor: string | null;
989515
+ id_sell_invoice_type: string | null;
989516
+ id_sell_tax_rate: string | null;
989517
+ sell_tax_amount: Decimal$1 | null;
989518
+ sell_invoice_number: string | null;
989519
+ is_sell_posted: boolean | null;
989520
+ } | null;
989521
+ is_active: boolean | null;
989522
+ id: string;
989523
+ logic_code: string | null;
989524
+ name: string | null;
989525
+ code: string | null;
989526
+ created_at: Date | null;
989527
+ created_by: string | null;
989528
+ updated_at: Date | null;
989529
+ updated_by: string | null;
989530
+ id_charge_code: string | null;
989531
+ id_sell_currency: string | null;
989532
+ id_sell_latest_system_rate: string | null;
989533
+ sell_base_rate: Decimal$1 | null;
989534
+ sell_currency_amount: Decimal$1 | null;
989535
+ sell_currency_estimated_amount: Decimal$1 | null;
989536
+ sell_local_currency_amount: Decimal$1 | null;
989537
+ id_billing_ar_transaction: string | null;
989538
+ id_forwarding_consol_billing_detail_sell: string | null;
989539
+ id_sell_debtor: string | null;
989540
+ id_sell_invoice_type: string | null;
989541
+ id_sell_tax_rate: string | null;
989542
+ sell_tax_amount: Decimal$1 | null;
989543
+ sell_invoice_number: string | null;
989544
+ is_sell_posted: boolean | null;
989545
+ id_forwarding_shipment_billing_detail_copy: string | null;
989546
+ };
989547
+ };
989548
+ meta: object;
989549
+ }>;
989550
+ histories: BuiltRouter<{
989551
+ ctx: Context;
989552
+ meta: object;
989553
+ errorShape: DefaultErrorShape;
989554
+ transformer: false;
989555
+ }, DecorateCreateRouterOptions<{
989556
+ get: MutationProcedure<{
989557
+ input: {
989558
+ search?: string | number | boolean | null | undefined;
989559
+ take?: string | number | null | undefined;
989560
+ skip?: string | number | null | undefined;
989561
+ is_active?: (string | number | boolean)[] | null | undefined;
989562
+ is_system?: (string | number | boolean)[] | null | undefined;
989563
+ ids_include?: (string | number | boolean)[] | null | undefined;
989564
+ ids_exclude?: (string | number | boolean)[] | null | undefined;
989565
+ logic_codes_include?: (string | number | boolean)[] | null | undefined;
989566
+ logic_codes_exclude?: (string | number | boolean)[] | null | undefined;
989567
+ created_at?: {
989568
+ start_date?: string | number | boolean | null | undefined;
989569
+ end_date?: string | number | boolean | null | undefined;
989570
+ is_overlapping?: string | number | boolean | null | undefined;
989571
+ } | null | undefined;
989572
+ updated_at?: {
989573
+ start_date?: string | number | boolean | null | undefined;
989574
+ end_date?: string | number | boolean | null | undefined;
989575
+ is_overlapping?: string | number | boolean | null | undefined;
989576
+ } | null | undefined;
989577
+ order_by?: {
989578
+ field: string;
989579
+ direction: "asc" | "desc";
989580
+ } | null | undefined;
989581
+ order_bys?: {
989582
+ field: string;
989583
+ direction: "asc" | "desc";
989584
+ }[] | null | undefined;
989585
+ id_log_type?: string | number | boolean | null | undefined;
989586
+ ids_log_type?: (string | number | boolean)[] | null | undefined;
989587
+ id_billing_ar_transaction_line?: string | number | boolean | null | undefined;
989588
+ ids_billing_ar_transaction_line?: (string | number | boolean)[] | null | undefined;
989589
+ };
989590
+ output: {
989591
+ data: {
989592
+ log_type: {
989593
+ is_active: boolean | null;
989594
+ id: string;
989595
+ logic_code: string | null;
989596
+ name: string | null;
989597
+ created_at: Date | null;
989598
+ created_by: string | null;
989599
+ updated_at: Date | null;
989600
+ updated_by: string | null;
989601
+ } | null;
989602
+ id: string;
989603
+ params: SimpleJson;
989604
+ id_log_type: string | null;
989605
+ url: string | null;
989606
+ action: string | null;
989607
+ action_by: string | null;
989608
+ action_id: string | null;
989609
+ action_at: Date | null;
989610
+ id_billing_ar_transaction_line: string | null;
989611
+ }[] | undefined;
989612
+ total: number | undefined;
989613
+ };
989614
+ meta: object;
989615
+ }>;
989616
+ getDetail: MutationProcedure<{
989617
+ input: {
989618
+ is_active?: (string | number | boolean)[] | null | undefined;
989619
+ is_system?: (string | number | boolean)[] | null | undefined;
989620
+ id?: string | number | boolean | null | undefined;
989621
+ logic_code?: string | number | boolean | null | undefined;
989622
+ };
989623
+ output: {
989624
+ data: {
989625
+ log_type: {
989626
+ is_active: boolean | null;
989627
+ id: string;
989628
+ logic_code: string | null;
989629
+ name: string | null;
989630
+ created_at: Date | null;
989631
+ created_by: string | null;
989632
+ updated_at: Date | null;
989633
+ updated_by: string | null;
989634
+ } | null;
989635
+ id: string;
989636
+ params: SimpleJson;
989637
+ id_log_type: string | null;
989638
+ url: string | null;
989639
+ action: string | null;
989640
+ action_by: string | null;
989641
+ action_id: string | null;
989642
+ action_at: Date | null;
989643
+ id_billing_ar_transaction_line: string | null;
989644
+ } | undefined;
989645
+ };
989646
+ meta: object;
989647
+ }>;
989648
+ }>>;
989649
+ create: MutationProcedure<{
989650
+ input: {
989651
+ is_active?: string | number | boolean | null | undefined;
989652
+ id_billing_ar_transaction?: string | number | boolean | null | undefined;
989653
+ id_forwarding_shipment_billing_detail_copy?: string | number | boolean | null | undefined;
989654
+ id_forwarding_consol_billing_detail_sell?: string | number | boolean | null | undefined;
989655
+ ids_sell_system_rate?: (string | number | boolean)[] | null | undefined;
989656
+ id_charge_code?: string | number | boolean | null | undefined;
989657
+ id_sell_currency?: string | number | boolean | null | undefined;
989658
+ id_sell_latest_system_rate?: string | number | boolean | null | undefined;
989659
+ id_sell_debtor?: string | number | boolean | null | undefined;
989660
+ id_sell_invoice_type?: string | number | boolean | null | undefined;
989661
+ id_sell_tax_rate?: string | number | boolean | null | undefined;
989662
+ code?: string | number | boolean | null | undefined;
989663
+ name?: string | number | boolean | null | undefined;
989664
+ sell_base_rate?: string | number | boolean | null | undefined;
989665
+ sell_currency_amount?: string | number | boolean | null | undefined;
989666
+ sell_currency_estimated_amount?: string | number | boolean | null | undefined;
989667
+ sell_local_currency_amount?: string | number | boolean | null | undefined;
989668
+ sell_tax_amount?: string | number | boolean | null | undefined;
989669
+ sell_invoice_number?: string | number | boolean | null | undefined;
989670
+ is_sell_posted?: string | number | boolean | null | undefined;
989671
+ };
989672
+ output: {
989673
+ data: {
989674
+ is_active: boolean | null;
989675
+ id: string;
989676
+ logic_code: string | null;
989677
+ name: string | null;
989678
+ code: string | null;
989679
+ created_at: Date | null;
989680
+ created_by: string | null;
989681
+ updated_at: Date | null;
989682
+ updated_by: string | null;
989683
+ id_charge_code: string | null;
989684
+ id_sell_currency: string | null;
989685
+ id_sell_latest_system_rate: string | null;
989686
+ sell_base_rate: Decimal$1 | null;
989687
+ sell_currency_amount: Decimal$1 | null;
989688
+ sell_currency_estimated_amount: Decimal$1 | null;
989689
+ sell_local_currency_amount: Decimal$1 | null;
989690
+ id_billing_ar_transaction: string | null;
989691
+ id_forwarding_consol_billing_detail_sell: string | null;
989692
+ id_sell_debtor: string | null;
989693
+ id_sell_invoice_type: string | null;
989694
+ id_sell_tax_rate: string | null;
989695
+ sell_tax_amount: Decimal$1 | null;
989696
+ sell_invoice_number: string | null;
989697
+ is_sell_posted: boolean | null;
989698
+ id_forwarding_shipment_billing_detail_copy: string | null;
989699
+ };
989700
+ log: {
989701
+ id: string;
989702
+ params: SimpleJson;
989703
+ id_log_type: string | null;
989704
+ url: string | null;
989705
+ action: string | null;
989706
+ action_by: string | null;
989707
+ action_id: string | null;
989708
+ action_at: Date | null;
989709
+ id_billing_ar_transaction_line: string | null;
989710
+ } | undefined;
989711
+ } | undefined;
989712
+ meta: object;
989713
+ }>;
989714
+ update: MutationProcedure<{
989715
+ input: {
989716
+ is_system?: (string | number | boolean)[] | null | undefined;
989717
+ id?: string | number | boolean | null | undefined;
989718
+ logic_code?: string | number | boolean | null | undefined;
989719
+ is_active?: string | number | boolean | null | undefined;
989720
+ id_billing_ar_transaction?: string | number | boolean | null | undefined;
989721
+ id_forwarding_shipment_billing_detail_copy?: string | number | boolean | null | undefined;
989722
+ id_forwarding_consol_billing_detail_sell?: string | number | boolean | null | undefined;
989723
+ ids_sell_system_rate?: (string | number | boolean)[] | null | undefined;
989724
+ id_charge_code?: string | number | boolean | null | undefined;
989725
+ id_sell_currency?: string | number | boolean | null | undefined;
989726
+ id_sell_latest_system_rate?: string | number | boolean | null | undefined;
989727
+ id_sell_debtor?: string | number | boolean | null | undefined;
989728
+ id_sell_invoice_type?: string | number | boolean | null | undefined;
989729
+ id_sell_tax_rate?: string | number | boolean | null | undefined;
989730
+ code?: string | number | boolean | null | undefined;
989731
+ name?: string | number | boolean | null | undefined;
989732
+ sell_base_rate?: string | number | boolean | null | undefined;
989733
+ sell_currency_amount?: string | number | boolean | null | undefined;
989734
+ sell_currency_estimated_amount?: string | number | boolean | null | undefined;
989735
+ sell_local_currency_amount?: string | number | boolean | null | undefined;
989736
+ sell_tax_amount?: string | number | boolean | null | undefined;
989737
+ sell_invoice_number?: string | number | boolean | null | undefined;
989738
+ is_sell_posted?: string | number | boolean | null | undefined;
989739
+ };
989740
+ output: {
989741
+ data: {
989742
+ is_active: boolean | null;
989743
+ id: string;
989744
+ logic_code: string | null;
989745
+ name: string | null;
989746
+ code: string | null;
989747
+ created_at: Date | null;
989748
+ created_by: string | null;
989749
+ updated_at: Date | null;
989750
+ updated_by: string | null;
989751
+ id_charge_code: string | null;
989752
+ id_sell_currency: string | null;
989753
+ id_sell_latest_system_rate: string | null;
989754
+ sell_base_rate: Decimal$1 | null;
989755
+ sell_currency_amount: Decimal$1 | null;
989756
+ sell_currency_estimated_amount: Decimal$1 | null;
989757
+ sell_local_currency_amount: Decimal$1 | null;
989758
+ id_billing_ar_transaction: string | null;
989759
+ id_forwarding_consol_billing_detail_sell: string | null;
989760
+ id_sell_debtor: string | null;
989761
+ id_sell_invoice_type: string | null;
989762
+ id_sell_tax_rate: string | null;
989763
+ sell_tax_amount: Decimal$1 | null;
989764
+ sell_invoice_number: string | null;
989765
+ is_sell_posted: boolean | null;
989766
+ id_forwarding_shipment_billing_detail_copy: string | null;
989767
+ };
989768
+ log: {
989769
+ id: string;
989770
+ params: SimpleJson;
989771
+ id_log_type: string | null;
989772
+ url: string | null;
989773
+ action: string | null;
989774
+ action_by: string | null;
989775
+ action_id: string | null;
989776
+ action_at: Date | null;
989777
+ id_billing_ar_transaction_line: string | null;
989778
+ } | undefined;
989779
+ } | undefined;
989780
+ meta: object;
989781
+ }>;
989782
+ delete: MutationProcedure<{
989783
+ input: {
989784
+ id?: string | number | boolean | null | undefined;
989785
+ ids?: (string | number | boolean)[] | null | undefined;
989786
+ };
989787
+ output: {
989788
+ data: ({
989789
+ is_active: boolean | null;
989790
+ id: string;
989791
+ logic_code: string | null;
989792
+ name: string | null;
989793
+ code: string | null;
989794
+ created_at: Date | null;
989795
+ created_by: string | null;
989796
+ updated_at: Date | null;
989797
+ updated_by: string | null;
989798
+ id_charge_code: string | null;
989799
+ id_sell_currency: string | null;
989800
+ id_sell_latest_system_rate: string | null;
989801
+ sell_base_rate: Decimal$1 | null;
989802
+ sell_currency_amount: Decimal$1 | null;
989803
+ sell_currency_estimated_amount: Decimal$1 | null;
989804
+ sell_local_currency_amount: Decimal$1 | null;
989805
+ id_billing_ar_transaction: string | null;
989806
+ id_forwarding_consol_billing_detail_sell: string | null;
989807
+ id_sell_debtor: string | null;
989808
+ id_sell_invoice_type: string | null;
989809
+ id_sell_tax_rate: string | null;
989810
+ sell_tax_amount: Decimal$1 | null;
989811
+ sell_invoice_number: string | null;
989812
+ is_sell_posted: boolean | null;
989813
+ id_forwarding_shipment_billing_detail_copy: string | null;
989814
+ } | undefined)[] | undefined;
989815
+ } | undefined;
989816
+ meta: object;
989817
+ }>;
989818
+ upsertBatch: MutationProcedure<{
989819
+ input: {
989820
+ create?: {
989821
+ is_active?: string | number | boolean | null | undefined;
989822
+ id_billing_ar_transaction?: string | number | boolean | null | undefined;
989823
+ id_forwarding_shipment_billing_detail_copy?: string | number | boolean | null | undefined;
989824
+ id_forwarding_consol_billing_detail_sell?: string | number | boolean | null | undefined;
989825
+ ids_sell_system_rate?: (string | number | boolean)[] | null | undefined;
989826
+ id_charge_code?: string | number | boolean | null | undefined;
989827
+ id_sell_currency?: string | number | boolean | null | undefined;
989828
+ id_sell_latest_system_rate?: string | number | boolean | null | undefined;
989829
+ id_sell_debtor?: string | number | boolean | null | undefined;
989830
+ id_sell_invoice_type?: string | number | boolean | null | undefined;
989831
+ id_sell_tax_rate?: string | number | boolean | null | undefined;
989832
+ code?: string | number | boolean | null | undefined;
989833
+ name?: string | number | boolean | null | undefined;
989834
+ sell_base_rate?: string | number | boolean | null | undefined;
989835
+ sell_currency_amount?: string | number | boolean | null | undefined;
989836
+ sell_currency_estimated_amount?: string | number | boolean | null | undefined;
989837
+ sell_local_currency_amount?: string | number | boolean | null | undefined;
989838
+ sell_tax_amount?: string | number | boolean | null | undefined;
989839
+ sell_invoice_number?: string | number | boolean | null | undefined;
989840
+ is_sell_posted?: string | number | boolean | null | undefined;
989841
+ }[] | undefined;
989842
+ update?: {
989843
+ is_system?: (string | number | boolean)[] | null | undefined;
989844
+ id?: string | number | boolean | null | undefined;
989845
+ logic_code?: string | number | boolean | null | undefined;
989846
+ is_active?: string | number | boolean | null | undefined;
989847
+ id_billing_ar_transaction?: string | number | boolean | null | undefined;
989848
+ id_forwarding_shipment_billing_detail_copy?: string | number | boolean | null | undefined;
989849
+ id_forwarding_consol_billing_detail_sell?: string | number | boolean | null | undefined;
989850
+ ids_sell_system_rate?: (string | number | boolean)[] | null | undefined;
989851
+ id_charge_code?: string | number | boolean | null | undefined;
989852
+ id_sell_currency?: string | number | boolean | null | undefined;
989853
+ id_sell_latest_system_rate?: string | number | boolean | null | undefined;
989854
+ id_sell_debtor?: string | number | boolean | null | undefined;
989855
+ id_sell_invoice_type?: string | number | boolean | null | undefined;
989856
+ id_sell_tax_rate?: string | number | boolean | null | undefined;
989857
+ code?: string | number | boolean | null | undefined;
989858
+ name?: string | number | boolean | null | undefined;
989859
+ sell_base_rate?: string | number | boolean | null | undefined;
989860
+ sell_currency_amount?: string | number | boolean | null | undefined;
989861
+ sell_currency_estimated_amount?: string | number | boolean | null | undefined;
989862
+ sell_local_currency_amount?: string | number | boolean | null | undefined;
989863
+ sell_tax_amount?: string | number | boolean | null | undefined;
989864
+ sell_invoice_number?: string | number | boolean | null | undefined;
989865
+ is_sell_posted?: string | number | boolean | null | undefined;
989866
+ }[] | undefined;
989867
+ };
989868
+ output: {
989869
+ created_data: ({
989870
+ data: {
989871
+ is_active: boolean | null;
989872
+ id: string;
989873
+ logic_code: string | null;
989874
+ name: string | null;
989875
+ code: string | null;
989876
+ created_at: Date | null;
989877
+ created_by: string | null;
989878
+ updated_at: Date | null;
989879
+ updated_by: string | null;
989880
+ id_charge_code: string | null;
989881
+ id_sell_currency: string | null;
989882
+ id_sell_latest_system_rate: string | null;
989883
+ sell_base_rate: Decimal$1 | null;
989884
+ sell_currency_amount: Decimal$1 | null;
989885
+ sell_currency_estimated_amount: Decimal$1 | null;
989886
+ sell_local_currency_amount: Decimal$1 | null;
989887
+ id_billing_ar_transaction: string | null;
989888
+ id_forwarding_consol_billing_detail_sell: string | null;
989889
+ id_sell_debtor: string | null;
989890
+ id_sell_invoice_type: string | null;
989891
+ id_sell_tax_rate: string | null;
989892
+ sell_tax_amount: Decimal$1 | null;
989893
+ sell_invoice_number: string | null;
989894
+ is_sell_posted: boolean | null;
989895
+ id_forwarding_shipment_billing_detail_copy: string | null;
989896
+ };
989897
+ log: {
989898
+ id: string;
989899
+ params: SimpleJson;
989900
+ id_log_type: string | null;
989901
+ url: string | null;
989902
+ action: string | null;
989903
+ action_by: string | null;
989904
+ action_id: string | null;
989905
+ action_at: Date | null;
989906
+ id_billing_ar_transaction_line: string | null;
989907
+ } | undefined;
989908
+ } | undefined)[];
989909
+ updated_data: ({
989910
+ data: {
989911
+ is_active: boolean | null;
989912
+ id: string;
989913
+ logic_code: string | null;
989914
+ name: string | null;
989915
+ code: string | null;
989916
+ created_at: Date | null;
989917
+ created_by: string | null;
989918
+ updated_at: Date | null;
989919
+ updated_by: string | null;
989920
+ id_charge_code: string | null;
989921
+ id_sell_currency: string | null;
989922
+ id_sell_latest_system_rate: string | null;
989923
+ sell_base_rate: Decimal$1 | null;
989924
+ sell_currency_amount: Decimal$1 | null;
989925
+ sell_currency_estimated_amount: Decimal$1 | null;
989926
+ sell_local_currency_amount: Decimal$1 | null;
989927
+ id_billing_ar_transaction: string | null;
989928
+ id_forwarding_consol_billing_detail_sell: string | null;
989929
+ id_sell_debtor: string | null;
989930
+ id_sell_invoice_type: string | null;
989931
+ id_sell_tax_rate: string | null;
989932
+ sell_tax_amount: Decimal$1 | null;
989933
+ sell_invoice_number: string | null;
989934
+ is_sell_posted: boolean | null;
989935
+ id_forwarding_shipment_billing_detail_copy: string | null;
989936
+ };
989937
+ log: {
989938
+ id: string;
989939
+ params: SimpleJson;
989940
+ id_log_type: string | null;
989941
+ url: string | null;
989942
+ action: string | null;
989943
+ action_by: string | null;
989944
+ action_id: string | null;
989945
+ action_at: Date | null;
989946
+ id_billing_ar_transaction_line: string | null;
989947
+ } | undefined;
989948
+ } | undefined)[];
989949
+ } | undefined;
989950
+ meta: object;
989951
+ }>;
989952
+ }>>;
989953
+ }>>;
989954
+ }>>;
989955
+ type InflowRouter = typeof inflowRouter;
989956
+ //#endregion
989957
+ //#region src/features/coficompass/outflow/outflow.routes.d.ts
989958
+ declare const outflowRouter: BuiltRouter<{
989959
+ ctx: Context;
989960
+ meta: object;
989961
+ errorShape: DefaultErrorShape;
989962
+ transformer: false;
989963
+ }, DecorateCreateRouterOptions<{
989964
+ apTransactions: BuiltRouter<{
989965
+ ctx: Context;
989966
+ meta: object;
989967
+ errorShape: DefaultErrorShape;
989968
+ transformer: false;
989969
+ }, DecorateCreateRouterOptions<{
989970
+ get: MutationProcedure<{
989971
+ input: {
989972
+ search?: string | number | boolean | null | undefined;
989973
+ take?: string | number | null | undefined;
989974
+ skip?: string | number | null | undefined;
989975
+ is_active?: (string | number | boolean)[] | null | undefined;
989976
+ is_system?: (string | number | boolean)[] | null | undefined;
989977
+ ids_include?: (string | number | boolean)[] | null | undefined;
989978
+ ids_exclude?: (string | number | boolean)[] | null | undefined;
989979
+ logic_codes_include?: (string | number | boolean)[] | null | undefined;
989980
+ logic_codes_exclude?: (string | number | boolean)[] | null | undefined;
989981
+ created_at?: {
989982
+ start_date?: string | number | boolean | null | undefined;
989983
+ end_date?: string | number | boolean | null | undefined;
989984
+ is_overlapping?: string | number | boolean | null | undefined;
989985
+ } | null | undefined;
989986
+ updated_at?: {
989987
+ start_date?: string | number | boolean | null | undefined;
989988
+ end_date?: string | number | boolean | null | undefined;
989989
+ is_overlapping?: string | number | boolean | null | undefined;
989990
+ } | null | undefined;
989991
+ order_by?: {
989992
+ field: string;
989993
+ direction: "asc" | "desc";
989994
+ } | null | undefined;
989995
+ order_bys?: {
989996
+ field: string;
989997
+ direction: "asc" | "desc";
989998
+ }[] | null | undefined;
989999
+ id_ap_transaction_cancelled?: string | number | boolean | null | undefined;
990000
+ ids_ap_transaction_cancelled?: (string | number | boolean)[] | null | undefined;
990001
+ id_forwarding_shipment_billing?: string | number | boolean | null | undefined;
990002
+ ids_forwarding_shipment_billing?: (string | number | boolean)[] | null | undefined;
990003
+ id_forwarding_consol?: string | number | boolean | null | undefined;
990004
+ ids_forwarding_consol?: (string | number | boolean)[] | null | undefined;
990005
+ id_account_organization?: string | number | boolean | null | undefined;
990006
+ ids_account_organization?: (string | number | boolean)[] | null | undefined;
990007
+ id_transaction_type?: string | number | boolean | null | undefined;
990008
+ ids_transaction_type?: (string | number | boolean)[] | null | undefined;
990009
+ id_currency?: string | number | boolean | null | undefined;
990010
+ ids_currency?: (string | number | boolean)[] | null | undefined;
990011
+ id_requisition_status?: string | number | boolean | null | undefined;
990012
+ ids_requisition_status?: (string | number | boolean)[] | null | undefined;
990013
+ id_payment_status?: string | number | boolean | null | undefined;
990014
+ ids_payment_status?: (string | number | boolean)[] | null | undefined;
990015
+ is_cancelled?: (string | number | boolean)[] | null | undefined;
990016
+ };
990017
+ output: {
990018
+ data: {
990019
+ billing_ap_transaction_lines: {
990020
+ is_active: boolean | null;
990021
+ id: string;
990022
+ logic_code: string | null;
990023
+ name: string | null;
990024
+ code: string | null;
990025
+ created_at: Date | null;
990026
+ created_by: string | null;
990027
+ updated_at: Date | null;
990028
+ updated_by: string | null;
990029
+ id_billing_ap_transaction: string | null;
990030
+ id_charge_code: string | null;
990031
+ id_cost_currency: string | null;
990032
+ id_cost_latest_system_rate: string | null;
990033
+ id_cost_creditor: string | null;
990034
+ id_cost_tax_rate: string | null;
990035
+ id_cost_apportion_method: string | null;
990036
+ cost_base_rate: Decimal$1 | null;
990037
+ cost_currency_amount: Decimal$1 | null;
990038
+ cost_currency_estimated_amount: Decimal$1 | null;
990039
+ cost_local_currency_amount: Decimal$1 | null;
990040
+ cost_invoice_number: string | null;
990041
+ cost_invoice_date: Date | null;
990042
+ cost_tax_amount: Decimal$1 | null;
990043
+ cost_supplier_reference: string | null;
990044
+ is_cost_posted: boolean | null;
990045
+ id_forwarding_consol_billing_detail_cost: string | null;
990046
+ id_forwarding_shipment_billing_detail_copy: string | null;
990047
+ id_forwarding_consol_billing_detail_cost_copy: string | null;
990048
+ }[];
990049
+ currency: {
990050
+ symbol: string | null;
990051
+ is_active: boolean | null;
990052
+ id: string;
990053
+ logic_code: string | null;
990054
+ created_at: Date | null;
990055
+ created_by: string | null;
990056
+ updated_at: Date | null;
990057
+ updated_by: string | null;
990058
+ currency_code: string | null;
990059
+ currency_name: string | null;
990060
+ major_unit: string | null;
990061
+ minor_unit: string | null;
990062
+ decimal_unit: number | null;
990063
+ iso_decimal: number | null;
990064
+ } | null;
990065
+ forwarding_consol: {
990066
+ is_active: boolean | null;
990067
+ id: string;
990068
+ logic_code: string | null;
990069
+ name: string | null;
990070
+ code: string | null;
990071
+ other_reference: string | null;
990072
+ created_at: Date | null;
990073
+ created_by: string | null;
990074
+ updated_at: Date | null;
990075
+ updated_by: string | null;
990076
+ id_transport_mode: string | null;
990077
+ id_container_shipping_type: string | null;
990078
+ id_service_level: string | null;
990079
+ id_type: string | null;
990080
+ id_payment_type: string | null;
990081
+ id_local_currency: string | null;
990082
+ id_load_port: string | null;
990083
+ id_discharge_port: string | null;
990084
+ id_vessel: string | null;
990085
+ id_sending_agent: string | null;
990086
+ id_sending_agent_address: string | null;
990087
+ id_receiving_agent: string | null;
990088
+ id_receiving_agent_address: string | null;
990089
+ id_carrier_shipping_line: string | null;
990090
+ id_carrier_airline: string | null;
990091
+ id_creditor_origin: string | null;
990092
+ id_creditor_origin_address: string | null;
990093
+ id_creditor_destination: string | null;
990094
+ id_creditor_destination_address: string | null;
990095
+ id_consol_branch: string | null;
990096
+ consol_number: string | null;
990097
+ trip_number: string | null;
990098
+ aircraft_type: string | null;
990099
+ aircraft_registration: string | null;
990100
+ mawb_number: string | null;
990101
+ bol_number: string | null;
990102
+ carrier_booking_reference: string | null;
990103
+ agent_reference: string | null;
990104
+ estimated_departure: Date | null;
990105
+ estimated_arrival: Date | null;
990106
+ actual_departure: Date | null;
990107
+ actual_arrival: Date | null;
990108
+ is_neutral_mawb: boolean | null;
990109
+ } | null;
990110
+ billing_transaction_type: {
990111
+ is_active: boolean | null;
990112
+ id: string;
990113
+ logic_code: string | null;
990114
+ name: string | null;
990115
+ code: string | null;
990116
+ created_at: Date | null;
990117
+ created_by: string | null;
990118
+ updated_at: Date | null;
990119
+ updated_by: string | null;
990120
+ } | null;
990121
+ requisition_status: {
990122
+ is_active: boolean | null;
990123
+ id: string;
990124
+ logic_code: string | null;
990125
+ name: string | null;
990126
+ code: string | null;
990127
+ created_at: Date | null;
990128
+ created_by: string | null;
990129
+ updated_at: Date | null;
990130
+ updated_by: string | null;
990131
+ } | null;
990132
+ cancelled_transaction: {
990133
+ is_active: boolean | null;
990134
+ id: string;
990135
+ logic_code: string | null;
990136
+ created_at: Date | null;
990137
+ created_by: string | null;
990138
+ updated_at: Date | null;
990139
+ updated_by: string | null;
990140
+ id_currency: string | null;
990141
+ id_forwarding_consol: string | null;
990142
+ id_ap_transaction_cancelled: string | null;
990143
+ id_account_organization: string | null;
990144
+ id_transaction_type: string | null;
990145
+ id_requisition_status: string | null;
990146
+ id_payment_status: string | null;
990147
+ transaction_number: string | null;
990148
+ invoice_number: string | null;
990149
+ outstanding_amount: Decimal$1 | null;
990150
+ transaction_amount: Decimal$1 | null;
990151
+ local_transaction_amount: Decimal$1 | null;
990152
+ post_date: Date | null;
990153
+ invoice_date: Date | null;
990154
+ due_date: Date | null;
990155
+ fully_paid_date: Date | null;
990156
+ requisition_date: Date | null;
990157
+ is_cancelled: boolean | null;
990158
+ } | null;
990159
+ cancelling_transaction: {
990160
+ is_active: boolean | null;
990161
+ id: string;
990162
+ logic_code: string | null;
990163
+ created_at: Date | null;
990164
+ created_by: string | null;
990165
+ updated_at: Date | null;
990166
+ updated_by: string | null;
990167
+ id_currency: string | null;
990168
+ id_forwarding_consol: string | null;
990169
+ id_ap_transaction_cancelled: string | null;
990170
+ id_account_organization: string | null;
990171
+ id_transaction_type: string | null;
990172
+ id_requisition_status: string | null;
990173
+ id_payment_status: string | null;
990174
+ transaction_number: string | null;
990175
+ invoice_number: string | null;
990176
+ outstanding_amount: Decimal$1 | null;
990177
+ transaction_amount: Decimal$1 | null;
990178
+ local_transaction_amount: Decimal$1 | null;
990179
+ post_date: Date | null;
990180
+ invoice_date: Date | null;
990181
+ due_date: Date | null;
990182
+ fully_paid_date: Date | null;
990183
+ requisition_date: Date | null;
990184
+ is_cancelled: boolean | null;
990185
+ } | null;
990186
+ account_organization: {
990187
+ is_active: boolean | null;
990188
+ id: string;
990189
+ logic_code: string | null;
990190
+ name: string | null;
990191
+ id_country: string | null;
990192
+ id_state: string | null;
990193
+ id_city: string | null;
990194
+ id_postal_code: string | null;
990195
+ id_company: string | null;
990196
+ id_branch: string | null;
990197
+ code: string | null;
990198
+ created_at: Date | null;
990199
+ created_by: string | null;
990200
+ updated_at: Date | null;
990201
+ updated_by: string | null;
990202
+ id_un_locode: string | null;
990203
+ email: string | null;
990204
+ id_business_category: string | null;
990205
+ id_controlling_branch: string | null;
990206
+ id_airline: string | null;
990207
+ id_shipping_line: string | null;
990208
+ phone: string | null;
990209
+ website_url: string | null;
990210
+ company_number: string | null;
990211
+ company_tax_number: string | null;
990212
+ } | null;
990213
+ payment_status: {
990214
+ is_active: boolean | null;
990215
+ id: string;
990216
+ logic_code: string | null;
990217
+ name: string | null;
990218
+ code: string | null;
990219
+ created_at: Date | null;
990220
+ created_by: string | null;
990221
+ updated_at: Date | null;
990222
+ updated_by: string | null;
990223
+ } | null;
990224
+ forwarding_consol_edoc: {
990225
+ is_active: boolean | null;
990226
+ id: string;
990227
+ id_company: string | null;
990228
+ id_branch: string | null;
990229
+ id_department: string | null;
990230
+ created_at: Date | null;
990231
+ created_by: string | null;
990232
+ updated_at: Date | null;
990233
+ updated_by: string | null;
990234
+ id_edoc_type: string | null;
990235
+ id_edoc_source: string | null;
990236
+ id_storage_provider: string | null;
990237
+ label: string | null;
990238
+ file_name: string | null;
990239
+ file_path: string | null;
990240
+ file_size: string | null;
990241
+ file_extension: string | null;
990242
+ is_visibility_specific: boolean | null;
990243
+ id_forwarding_consol: string | null;
990244
+ id_billing_ap_transaction: string | null;
990245
+ } | null;
990246
+ forwarding_shipment_edoc: {
990247
+ is_active: boolean | null;
990248
+ id: string;
990249
+ id_company: string | null;
990250
+ id_branch: string | null;
990251
+ id_department: string | null;
990252
+ created_at: Date | null;
990253
+ created_by: string | null;
990254
+ updated_at: Date | null;
990255
+ updated_by: string | null;
990256
+ id_edoc_type: string | null;
990257
+ id_edoc_source: string | null;
990258
+ id_storage_provider: string | null;
990259
+ label: string | null;
990260
+ file_name: string | null;
990261
+ file_path: string | null;
990262
+ file_size: string | null;
990263
+ file_extension: string | null;
990264
+ is_visibility_specific: boolean | null;
990265
+ id_forwarding_shipment: string | null;
990266
+ id_billing_ap_transaction: string | null;
990267
+ } | null;
990268
+ is_active: boolean | null;
990269
+ id: string;
990270
+ logic_code: string | null;
990271
+ created_at: Date | null;
990272
+ created_by: string | null;
990273
+ updated_at: Date | null;
990274
+ updated_by: string | null;
990275
+ id_currency: string | null;
990276
+ id_forwarding_consol: string | null;
990277
+ id_ap_transaction_cancelled: string | null;
990278
+ id_account_organization: string | null;
990279
+ id_transaction_type: string | null;
990280
+ id_requisition_status: string | null;
990281
+ id_payment_status: string | null;
990282
+ transaction_number: string | null;
990283
+ invoice_number: string | null;
990284
+ outstanding_amount: Decimal$1 | null;
990285
+ transaction_amount: Decimal$1 | null;
990286
+ local_transaction_amount: Decimal$1 | null;
990287
+ post_date: Date | null;
990288
+ invoice_date: Date | null;
990289
+ due_date: Date | null;
990290
+ fully_paid_date: Date | null;
990291
+ requisition_date: Date | null;
990292
+ is_cancelled: boolean | null;
990293
+ }[] | undefined;
990294
+ total: number | undefined;
990295
+ };
990296
+ meta: object;
990297
+ }>;
990298
+ getDetail: MutationProcedure<{
990299
+ input: {
990300
+ is_active?: (string | number | boolean)[] | null | undefined;
990301
+ is_system?: (string | number | boolean)[] | null | undefined;
990302
+ id?: string | number | boolean | null | undefined;
990303
+ logic_code?: string | number | boolean | null | undefined;
990304
+ };
990305
+ output: {
990306
+ data: {
990307
+ billing_ap_transaction_lines: {
990308
+ charge_code: {
990309
+ is_active: boolean | null;
990310
+ id: string;
990311
+ logic_code: string | null;
990312
+ name: string | null;
990313
+ id_department: string | null;
990314
+ code: string | null;
990315
+ created_at: Date | null;
990316
+ created_by: string | null;
990317
+ updated_at: Date | null;
990318
+ updated_by: string | null;
990319
+ id_incoterm: string | null;
990320
+ id_type: string | null;
990321
+ id_wht_type: string | null;
990322
+ id_tax_rate: string | null;
990323
+ id_revenue: string | null;
990324
+ id_wip: string | null;
990325
+ id_cost: string | null;
990326
+ id_accrual: string | null;
990327
+ id_sales_group: string | null;
990328
+ id_expense_group: string | null;
990329
+ id_group: string | null;
990330
+ id_sub_group: string | null;
990331
+ id_rate_calculation: string | null;
990332
+ remarks: string | null;
990333
+ margin: Decimal$1 | null;
990334
+ is_show_on_consol: boolean | null;
990335
+ is_show_on_quote: boolean | null;
990336
+ is_show_if_zero: boolean | null;
990337
+ } | null;
990338
+ cost_currency: {
990339
+ symbol: string | null;
990340
+ is_active: boolean | null;
990341
+ id: string;
990342
+ logic_code: string | null;
990343
+ created_at: Date | null;
990344
+ created_by: string | null;
990345
+ updated_at: Date | null;
990346
+ updated_by: string | null;
990347
+ currency_code: string | null;
990348
+ currency_name: string | null;
990349
+ major_unit: string | null;
990350
+ minor_unit: string | null;
990351
+ decimal_unit: number | null;
990352
+ iso_decimal: number | null;
990353
+ } | null;
990354
+ cost_latest_system_rate: {
990355
+ is_active: boolean | null;
990356
+ id: string;
990357
+ logic_code: string | null;
990358
+ created_at: Date | null;
990359
+ created_by: string | null;
990360
+ updated_at: Date | null;
990361
+ updated_by: string | null;
990362
+ start_date: Date | null;
990363
+ end_date: Date | null;
990364
+ id_currency_from: string | null;
990365
+ id_currency_to: string | null;
990366
+ id_exchange_rate_type: string | null;
990367
+ rate: Decimal$1 | null;
990368
+ } | null;
990369
+ cost_creditor: {
990370
+ is_active: boolean | null;
990371
+ id: string;
990372
+ logic_code: string | null;
990373
+ name: string | null;
990374
+ id_country: string | null;
990375
+ id_state: string | null;
990376
+ id_city: string | null;
990377
+ id_postal_code: string | null;
990378
+ id_company: string | null;
990379
+ id_branch: string | null;
990380
+ code: string | null;
990381
+ created_at: Date | null;
990382
+ created_by: string | null;
990383
+ updated_at: Date | null;
990384
+ updated_by: string | null;
990385
+ id_un_locode: string | null;
990386
+ email: string | null;
990387
+ id_business_category: string | null;
990388
+ id_controlling_branch: string | null;
990389
+ id_airline: string | null;
990390
+ id_shipping_line: string | null;
990391
+ phone: string | null;
990392
+ website_url: string | null;
990393
+ company_number: string | null;
990394
+ company_tax_number: string | null;
990395
+ } | null;
990396
+ cost_tax_rate: {
990397
+ is_active: boolean | null;
990398
+ id: string;
990399
+ logic_code: string | null;
990400
+ name: string | null;
990401
+ id_country: string | null;
990402
+ code: string | null;
990403
+ created_at: Date | null;
990404
+ created_by: string | null;
990405
+ updated_at: Date | null;
990406
+ updated_by: string | null;
990407
+ id_type: string | null;
990408
+ rate: Decimal$1 | null;
990409
+ id_system: string | null;
990410
+ tax_message: string | null;
990411
+ } | null;
990412
+ cost_apportion_method: {
990413
+ is_active: boolean | null;
990414
+ id: string;
990415
+ logic_code: string | null;
990416
+ name: string | null;
990417
+ code: string | null;
990418
+ created_at: Date | null;
990419
+ created_by: string | null;
990420
+ updated_at: Date | null;
990421
+ updated_by: string | null;
990422
+ } | null;
990423
+ forwarding_consol_billing_detail_cost_copy: {
990424
+ is_active: boolean | null;
990425
+ id: string;
990426
+ logic_code: string | null;
990427
+ name: string | null;
990428
+ code: string | null;
990429
+ created_at: Date | null;
990430
+ created_by: string | null;
990431
+ updated_at: Date | null;
990432
+ updated_by: string | null;
990433
+ id_forwarding_consol: string | null;
990434
+ id_billing_ap_transaction: string | null;
990435
+ id_charge_code: string | null;
990436
+ id_cost_currency: string | null;
990437
+ id_cost_latest_system_rate: string | null;
990438
+ id_cost_creditor: string | null;
990439
+ id_cost_tax_rate: string | null;
990440
+ id_cost_apportion_method: string | null;
990441
+ cost_base_rate: Decimal$1 | null;
990442
+ cost_currency_amount: Decimal$1 | null;
990443
+ cost_currency_estimated_amount: Decimal$1 | null;
990444
+ cost_local_currency_amount: Decimal$1 | null;
990445
+ cost_invoice_number: string | null;
990446
+ cost_invoice_date: Date | null;
990447
+ cost_tax_amount: Decimal$1 | null;
990448
+ cost_supplier_reference: string | null;
990449
+ is_cost_posted: boolean | null;
990450
+ } | null;
990451
+ forwarding_consol_billing_detail_cost: {
990452
+ is_active: boolean | null;
990453
+ id: string;
990454
+ logic_code: string | null;
990455
+ name: string | null;
990456
+ code: string | null;
990457
+ created_at: Date | null;
990458
+ created_by: string | null;
990459
+ updated_at: Date | null;
990460
+ updated_by: string | null;
990461
+ id_forwarding_consol: string | null;
990462
+ id_billing_ap_transaction: string | null;
990463
+ id_charge_code: string | null;
990464
+ id_cost_currency: string | null;
990465
+ id_cost_latest_system_rate: string | null;
990466
+ id_cost_creditor: string | null;
990467
+ id_cost_tax_rate: string | null;
990468
+ id_cost_apportion_method: string | null;
990469
+ cost_base_rate: Decimal$1 | null;
990470
+ cost_currency_amount: Decimal$1 | null;
990471
+ cost_currency_estimated_amount: Decimal$1 | null;
990472
+ cost_local_currency_amount: Decimal$1 | null;
990473
+ cost_invoice_number: string | null;
990474
+ cost_invoice_date: Date | null;
990475
+ cost_tax_amount: Decimal$1 | null;
990476
+ cost_supplier_reference: string | null;
990477
+ is_cost_posted: boolean | null;
990478
+ } | null;
990479
+ cost_system_rates: {
990480
+ is_active: boolean | null;
990481
+ id: string;
990482
+ logic_code: string | null;
990483
+ created_at: Date | null;
990484
+ created_by: string | null;
990485
+ updated_at: Date | null;
990486
+ updated_by: string | null;
990487
+ start_date: Date | null;
990488
+ end_date: Date | null;
990489
+ id_currency_from: string | null;
990490
+ id_currency_to: string | null;
990491
+ id_exchange_rate_type: string | null;
990492
+ rate: Decimal$1 | null;
990493
+ }[];
990494
+ forwarding_shipment_billing_detail_copy: {
990495
+ is_active: boolean | null;
990496
+ id: string;
990497
+ logic_code: string | null;
990498
+ name: string | null;
990499
+ code: string | null;
990500
+ created_at: Date | null;
990501
+ created_by: string | null;
990502
+ updated_at: Date | null;
990503
+ updated_by: string | null;
990504
+ id_billing_ap_transaction: string | null;
990505
+ id_charge_code: string | null;
990506
+ id_cost_currency: string | null;
990507
+ id_cost_latest_system_rate: string | null;
990508
+ id_cost_creditor: string | null;
990509
+ id_cost_tax_rate: string | null;
990510
+ cost_base_rate: Decimal$1 | null;
990511
+ cost_currency_amount: Decimal$1 | null;
990512
+ cost_currency_estimated_amount: Decimal$1 | null;
990513
+ cost_local_currency_amount: Decimal$1 | null;
990514
+ cost_invoice_number: string | null;
990515
+ cost_invoice_date: Date | null;
990516
+ cost_tax_amount: Decimal$1 | null;
990517
+ cost_supplier_reference: string | null;
990518
+ is_cost_posted: boolean | null;
990519
+ id_sell_currency: string | null;
990520
+ id_sell_latest_system_rate: string | null;
990521
+ sell_base_rate: Decimal$1 | null;
990522
+ sell_currency_amount: Decimal$1 | null;
990523
+ sell_currency_estimated_amount: Decimal$1 | null;
990524
+ sell_local_currency_amount: Decimal$1 | null;
990525
+ id_forwarding_shipment_billing: string | null;
990526
+ id_billing_ar_transaction: string | null;
990527
+ id_forwarding_consol_billing_detail_cost: string | null;
990528
+ id_forwarding_consol_billing_detail_sell: string | null;
990529
+ id_sell_debtor: string | null;
990530
+ id_sell_invoice_type: string | null;
990531
+ id_sell_tax_rate: string | null;
990532
+ sell_tax_amount: Decimal$1 | null;
990533
+ sell_invoice_number: string | null;
990534
+ is_sell_posted: boolean | null;
990535
+ } | null;
990536
+ is_active: boolean | null;
990537
+ id: string;
990538
+ logic_code: string | null;
990539
+ name: string | null;
990540
+ code: string | null;
990541
+ created_at: Date | null;
990542
+ created_by: string | null;
990543
+ updated_at: Date | null;
990544
+ updated_by: string | null;
990545
+ id_billing_ap_transaction: string | null;
990546
+ id_charge_code: string | null;
990547
+ id_cost_currency: string | null;
990548
+ id_cost_latest_system_rate: string | null;
990549
+ id_cost_creditor: string | null;
990550
+ id_cost_tax_rate: string | null;
990551
+ id_cost_apportion_method: string | null;
990552
+ cost_base_rate: Decimal$1 | null;
990553
+ cost_currency_amount: Decimal$1 | null;
990554
+ cost_currency_estimated_amount: Decimal$1 | null;
990555
+ cost_local_currency_amount: Decimal$1 | null;
990556
+ cost_invoice_number: string | null;
990557
+ cost_invoice_date: Date | null;
990558
+ cost_tax_amount: Decimal$1 | null;
990559
+ cost_supplier_reference: string | null;
990560
+ is_cost_posted: boolean | null;
990561
+ id_forwarding_consol_billing_detail_cost: string | null;
990562
+ id_forwarding_shipment_billing_detail_copy: string | null;
990563
+ id_forwarding_consol_billing_detail_cost_copy: string | null;
990564
+ }[];
990565
+ _count: {
990566
+ cancelled_transaction: number;
990567
+ forwarding_consol: number;
990568
+ account_organization: number;
990569
+ billing_transaction_type: number;
990570
+ currency: number;
990571
+ requisition_status: number;
990572
+ payment_status: number;
990573
+ cancelling_transaction: number;
990574
+ forwarding_consol_edoc: number;
990575
+ forwarding_shipment_edoc: number;
990576
+ billing_ap_transaction_logs: number;
990577
+ forwarding_shipment_billings: number;
990578
+ billing_ap_transaction_lines: number;
990579
+ forwarding_shipment_billing_details: number;
990580
+ forwarding_consol_billing_detail_costs: number;
990581
+ };
990582
+ currency: {
990583
+ symbol: string | null;
990584
+ is_active: boolean | null;
990585
+ id: string;
990586
+ logic_code: string | null;
990587
+ created_at: Date | null;
990588
+ created_by: string | null;
990589
+ updated_at: Date | null;
990590
+ updated_by: string | null;
990591
+ currency_code: string | null;
990592
+ currency_name: string | null;
990593
+ major_unit: string | null;
990594
+ minor_unit: string | null;
990595
+ decimal_unit: number | null;
990596
+ iso_decimal: number | null;
990597
+ } | null;
990598
+ forwarding_consol: {
990599
+ is_active: boolean | null;
990600
+ id: string;
990601
+ logic_code: string | null;
990602
+ name: string | null;
990603
+ code: string | null;
990604
+ other_reference: string | null;
990605
+ created_at: Date | null;
990606
+ created_by: string | null;
990607
+ updated_at: Date | null;
990608
+ updated_by: string | null;
990609
+ id_transport_mode: string | null;
990610
+ id_container_shipping_type: string | null;
990611
+ id_service_level: string | null;
990612
+ id_type: string | null;
990613
+ id_payment_type: string | null;
990614
+ id_local_currency: string | null;
990615
+ id_load_port: string | null;
990616
+ id_discharge_port: string | null;
990617
+ id_vessel: string | null;
990618
+ id_sending_agent: string | null;
990619
+ id_sending_agent_address: string | null;
990620
+ id_receiving_agent: string | null;
990621
+ id_receiving_agent_address: string | null;
990622
+ id_carrier_shipping_line: string | null;
990623
+ id_carrier_airline: string | null;
990624
+ id_creditor_origin: string | null;
990625
+ id_creditor_origin_address: string | null;
990626
+ id_creditor_destination: string | null;
990627
+ id_creditor_destination_address: string | null;
990628
+ id_consol_branch: string | null;
990629
+ consol_number: string | null;
990630
+ trip_number: string | null;
990631
+ aircraft_type: string | null;
990632
+ aircraft_registration: string | null;
990633
+ mawb_number: string | null;
990634
+ bol_number: string | null;
990635
+ carrier_booking_reference: string | null;
990636
+ agent_reference: string | null;
990637
+ estimated_departure: Date | null;
990638
+ estimated_arrival: Date | null;
990639
+ actual_departure: Date | null;
990640
+ actual_arrival: Date | null;
990641
+ is_neutral_mawb: boolean | null;
990642
+ } | null;
990643
+ billing_transaction_type: {
990644
+ is_active: boolean | null;
990645
+ id: string;
990646
+ logic_code: string | null;
990647
+ name: string | null;
990648
+ code: string | null;
990649
+ created_at: Date | null;
990650
+ created_by: string | null;
990651
+ updated_at: Date | null;
990652
+ updated_by: string | null;
990653
+ } | null;
990654
+ requisition_status: {
990655
+ is_active: boolean | null;
990656
+ id: string;
990657
+ logic_code: string | null;
990658
+ name: string | null;
990659
+ code: string | null;
990660
+ created_at: Date | null;
990661
+ created_by: string | null;
990662
+ updated_at: Date | null;
990663
+ updated_by: string | null;
990664
+ } | null;
990665
+ cancelled_transaction: {
990666
+ is_active: boolean | null;
990667
+ id: string;
990668
+ logic_code: string | null;
990669
+ created_at: Date | null;
990670
+ created_by: string | null;
990671
+ updated_at: Date | null;
990672
+ updated_by: string | null;
990673
+ id_currency: string | null;
990674
+ id_forwarding_consol: string | null;
990675
+ id_ap_transaction_cancelled: string | null;
990676
+ id_account_organization: string | null;
990677
+ id_transaction_type: string | null;
990678
+ id_requisition_status: string | null;
990679
+ id_payment_status: string | null;
990680
+ transaction_number: string | null;
990681
+ invoice_number: string | null;
990682
+ outstanding_amount: Decimal$1 | null;
990683
+ transaction_amount: Decimal$1 | null;
990684
+ local_transaction_amount: Decimal$1 | null;
990685
+ post_date: Date | null;
990686
+ invoice_date: Date | null;
990687
+ due_date: Date | null;
990688
+ fully_paid_date: Date | null;
990689
+ requisition_date: Date | null;
990690
+ is_cancelled: boolean | null;
990691
+ } | null;
990692
+ cancelling_transaction: {
990693
+ is_active: boolean | null;
990694
+ id: string;
990695
+ logic_code: string | null;
990696
+ created_at: Date | null;
990697
+ created_by: string | null;
990698
+ updated_at: Date | null;
990699
+ updated_by: string | null;
990700
+ id_currency: string | null;
990701
+ id_forwarding_consol: string | null;
990702
+ id_ap_transaction_cancelled: string | null;
990703
+ id_account_organization: string | null;
990704
+ id_transaction_type: string | null;
990705
+ id_requisition_status: string | null;
990706
+ id_payment_status: string | null;
990707
+ transaction_number: string | null;
990708
+ invoice_number: string | null;
990709
+ outstanding_amount: Decimal$1 | null;
990710
+ transaction_amount: Decimal$1 | null;
990711
+ local_transaction_amount: Decimal$1 | null;
990712
+ post_date: Date | null;
990713
+ invoice_date: Date | null;
990714
+ due_date: Date | null;
990715
+ fully_paid_date: Date | null;
990716
+ requisition_date: Date | null;
990717
+ is_cancelled: boolean | null;
990718
+ } | null;
990719
+ account_organization: {
990720
+ is_active: boolean | null;
990721
+ id: string;
990722
+ logic_code: string | null;
990723
+ name: string | null;
990724
+ id_country: string | null;
990725
+ id_state: string | null;
990726
+ id_city: string | null;
990727
+ id_postal_code: string | null;
990728
+ id_company: string | null;
990729
+ id_branch: string | null;
990730
+ code: string | null;
990731
+ created_at: Date | null;
990732
+ created_by: string | null;
990733
+ updated_at: Date | null;
990734
+ updated_by: string | null;
990735
+ id_un_locode: string | null;
990736
+ email: string | null;
990737
+ id_business_category: string | null;
990738
+ id_controlling_branch: string | null;
990739
+ id_airline: string | null;
990740
+ id_shipping_line: string | null;
990741
+ phone: string | null;
990742
+ website_url: string | null;
990743
+ company_number: string | null;
990744
+ company_tax_number: string | null;
990745
+ } | null;
990746
+ payment_status: {
990747
+ is_active: boolean | null;
990748
+ id: string;
990749
+ logic_code: string | null;
990750
+ name: string | null;
990751
+ code: string | null;
990752
+ created_at: Date | null;
990753
+ created_by: string | null;
990754
+ updated_at: Date | null;
990755
+ updated_by: string | null;
990756
+ } | null;
990757
+ forwarding_consol_edoc: {
990758
+ is_active: boolean | null;
990759
+ id: string;
990760
+ id_company: string | null;
990761
+ id_branch: string | null;
990762
+ id_department: string | null;
990763
+ created_at: Date | null;
990764
+ created_by: string | null;
990765
+ updated_at: Date | null;
990766
+ updated_by: string | null;
990767
+ id_edoc_type: string | null;
990768
+ id_edoc_source: string | null;
990769
+ id_storage_provider: string | null;
990770
+ label: string | null;
990771
+ file_name: string | null;
990772
+ file_path: string | null;
990773
+ file_size: string | null;
990774
+ file_extension: string | null;
990775
+ is_visibility_specific: boolean | null;
990776
+ id_forwarding_consol: string | null;
990777
+ id_billing_ap_transaction: string | null;
990778
+ } | null;
990779
+ forwarding_shipment_edoc: {
990780
+ is_active: boolean | null;
990781
+ id: string;
990782
+ id_company: string | null;
990783
+ id_branch: string | null;
990784
+ id_department: string | null;
990785
+ created_at: Date | null;
990786
+ created_by: string | null;
990787
+ updated_at: Date | null;
990788
+ updated_by: string | null;
990789
+ id_edoc_type: string | null;
990790
+ id_edoc_source: string | null;
990791
+ id_storage_provider: string | null;
990792
+ label: string | null;
990793
+ file_name: string | null;
990794
+ file_path: string | null;
990795
+ file_size: string | null;
990796
+ file_extension: string | null;
990797
+ is_visibility_specific: boolean | null;
990798
+ id_forwarding_shipment: string | null;
990799
+ id_billing_ap_transaction: string | null;
990800
+ } | null;
990801
+ is_active: boolean | null;
990802
+ id: string;
990803
+ logic_code: string | null;
990804
+ created_at: Date | null;
990805
+ created_by: string | null;
990806
+ updated_at: Date | null;
990807
+ updated_by: string | null;
990808
+ id_currency: string | null;
990809
+ id_forwarding_consol: string | null;
990810
+ id_ap_transaction_cancelled: string | null;
990811
+ id_account_organization: string | null;
990812
+ id_transaction_type: string | null;
990813
+ id_requisition_status: string | null;
990814
+ id_payment_status: string | null;
990815
+ transaction_number: string | null;
990816
+ invoice_number: string | null;
990817
+ outstanding_amount: Decimal$1 | null;
990818
+ transaction_amount: Decimal$1 | null;
990819
+ local_transaction_amount: Decimal$1 | null;
990820
+ post_date: Date | null;
990821
+ invoice_date: Date | null;
990822
+ due_date: Date | null;
990823
+ fully_paid_date: Date | null;
990824
+ requisition_date: Date | null;
990825
+ is_cancelled: boolean | null;
990826
+ };
990827
+ };
990828
+ meta: object;
990829
+ }>;
990830
+ histories: BuiltRouter<{
990831
+ ctx: Context;
990832
+ meta: object;
990833
+ errorShape: DefaultErrorShape;
990834
+ transformer: false;
990835
+ }, DecorateCreateRouterOptions<{
990836
+ get: MutationProcedure<{
990837
+ input: {
990838
+ search?: string | number | boolean | null | undefined;
990839
+ take?: string | number | null | undefined;
990840
+ skip?: string | number | null | undefined;
990841
+ is_active?: (string | number | boolean)[] | null | undefined;
990842
+ is_system?: (string | number | boolean)[] | null | undefined;
990843
+ ids_include?: (string | number | boolean)[] | null | undefined;
990844
+ ids_exclude?: (string | number | boolean)[] | null | undefined;
990845
+ logic_codes_include?: (string | number | boolean)[] | null | undefined;
990846
+ logic_codes_exclude?: (string | number | boolean)[] | null | undefined;
990847
+ created_at?: {
990848
+ start_date?: string | number | boolean | null | undefined;
990849
+ end_date?: string | number | boolean | null | undefined;
990850
+ is_overlapping?: string | number | boolean | null | undefined;
990851
+ } | null | undefined;
990852
+ updated_at?: {
990853
+ start_date?: string | number | boolean | null | undefined;
990854
+ end_date?: string | number | boolean | null | undefined;
990855
+ is_overlapping?: string | number | boolean | null | undefined;
990856
+ } | null | undefined;
990857
+ order_by?: {
990858
+ field: string;
990859
+ direction: "asc" | "desc";
990860
+ } | null | undefined;
990861
+ order_bys?: {
990862
+ field: string;
990863
+ direction: "asc" | "desc";
990864
+ }[] | null | undefined;
990865
+ id_log_type?: string | number | boolean | null | undefined;
990866
+ ids_log_type?: (string | number | boolean)[] | null | undefined;
990867
+ id_billing_ap_transaction?: string | number | boolean | null | undefined;
990868
+ ids_billing_ap_transaction?: (string | number | boolean)[] | null | undefined;
990869
+ };
990870
+ output: {
990871
+ data: {
990872
+ log_type: {
990873
+ is_active: boolean | null;
990874
+ id: string;
990875
+ logic_code: string | null;
990876
+ name: string | null;
990877
+ created_at: Date | null;
990878
+ created_by: string | null;
990879
+ updated_at: Date | null;
990880
+ updated_by: string | null;
990881
+ } | null;
990882
+ id: string;
990883
+ params: SimpleJson;
990884
+ id_log_type: string | null;
990885
+ url: string | null;
990886
+ action: string | null;
990887
+ action_by: string | null;
990888
+ action_id: string | null;
990889
+ action_at: Date | null;
990890
+ id_billing_ap_transaction: string | null;
990891
+ }[] | undefined;
990892
+ total: number | undefined;
990893
+ };
990894
+ meta: object;
990895
+ }>;
990896
+ getDetail: MutationProcedure<{
990897
+ input: {
990898
+ is_active?: (string | number | boolean)[] | null | undefined;
990899
+ is_system?: (string | number | boolean)[] | null | undefined;
990900
+ id?: string | number | boolean | null | undefined;
990901
+ logic_code?: string | number | boolean | null | undefined;
990902
+ };
990903
+ output: {
990904
+ data: {
990905
+ log_type: {
990906
+ is_active: boolean | null;
990907
+ id: string;
990908
+ logic_code: string | null;
990909
+ name: string | null;
990910
+ created_at: Date | null;
990911
+ created_by: string | null;
990912
+ updated_at: Date | null;
990913
+ updated_by: string | null;
990914
+ } | null;
990915
+ id: string;
990916
+ params: SimpleJson;
990917
+ id_log_type: string | null;
990918
+ url: string | null;
990919
+ action: string | null;
990920
+ action_by: string | null;
990921
+ action_id: string | null;
990922
+ action_at: Date | null;
990923
+ id_billing_ap_transaction: string | null;
990924
+ } | undefined;
990925
+ };
990926
+ meta: object;
990927
+ }>;
990928
+ }>>;
990929
+ create: MutationProcedure<{
990930
+ input: {
990931
+ id?: string | number | boolean | null | undefined;
990932
+ is_active?: string | number | boolean | null | undefined;
990933
+ is_cancelled?: string | number | boolean | null | undefined;
990934
+ id_ap_transaction_cancelled?: string | number | boolean | null | undefined;
990935
+ id_forwarding_consol?: string | number | boolean | null | undefined;
990936
+ ids_forwarding_shipment_billing?: (string | number | boolean)[] | null | undefined;
990937
+ id_account_organization?: string | number | boolean | null | undefined;
990938
+ id_transaction_type?: string | number | boolean | null | undefined;
990939
+ id_currency?: string | number | boolean | null | undefined;
990940
+ id_requisition_status?: string | number | boolean | null | undefined;
990941
+ id_payment_status?: string | number | boolean | null | undefined;
990942
+ transaction_number?: string | number | boolean | null | undefined;
990943
+ invoice_number?: string | number | boolean | null | undefined;
990944
+ outstanding_amount?: string | number | boolean | null | undefined;
990945
+ transaction_amount?: string | number | boolean | null | undefined;
990946
+ local_transaction_amount?: string | number | boolean | null | undefined;
990947
+ post_date?: string | number | boolean | null | undefined;
990948
+ invoice_date?: string | number | boolean | null | undefined;
990949
+ due_date?: string | number | boolean | null | undefined;
990950
+ fully_paid_date?: string | number | boolean | null | undefined;
990951
+ requisition_date?: string | number | boolean | null | undefined;
990952
+ };
990953
+ output: {
990954
+ data: {
990955
+ is_active: boolean | null;
990956
+ id: string;
990957
+ logic_code: string | null;
990958
+ created_at: Date | null;
990959
+ created_by: string | null;
990960
+ updated_at: Date | null;
990961
+ updated_by: string | null;
990962
+ id_currency: string | null;
990963
+ id_forwarding_consol: string | null;
990964
+ id_ap_transaction_cancelled: string | null;
990965
+ id_account_organization: string | null;
990966
+ id_transaction_type: string | null;
990967
+ id_requisition_status: string | null;
990968
+ id_payment_status: string | null;
990969
+ transaction_number: string | null;
990970
+ invoice_number: string | null;
990971
+ outstanding_amount: Decimal$1 | null;
990972
+ transaction_amount: Decimal$1 | null;
990973
+ local_transaction_amount: Decimal$1 | null;
990974
+ post_date: Date | null;
990975
+ invoice_date: Date | null;
990976
+ due_date: Date | null;
990977
+ fully_paid_date: Date | null;
990978
+ requisition_date: Date | null;
990979
+ is_cancelled: boolean | null;
990980
+ };
990981
+ log: {
990982
+ id: string;
990983
+ params: SimpleJson;
990984
+ id_log_type: string | null;
990985
+ url: string | null;
990986
+ action: string | null;
990987
+ action_by: string | null;
990988
+ action_id: string | null;
990989
+ action_at: Date | null;
990990
+ id_billing_ap_transaction: string | null;
990991
+ } | undefined;
990992
+ } | undefined;
990993
+ meta: object;
990994
+ }>;
990995
+ update: MutationProcedure<{
990996
+ input: {
990997
+ is_system?: (string | number | boolean)[] | null | undefined;
990998
+ logic_code?: string | number | boolean | null | undefined;
990999
+ ids_shipment_billing_connect?: (string | number | boolean)[] | null | undefined;
991000
+ ids_shipment_billing_set?: (string | number | boolean)[] | null | undefined;
991001
+ id?: string | number | boolean | null | undefined;
991002
+ is_active?: string | number | boolean | null | undefined;
991003
+ is_cancelled?: string | number | boolean | null | undefined;
991004
+ id_ap_transaction_cancelled?: string | number | boolean | null | undefined;
991005
+ id_forwarding_consol?: string | number | boolean | null | undefined;
991006
+ ids_forwarding_shipment_billing?: (string | number | boolean)[] | null | undefined;
991007
+ id_account_organization?: string | number | boolean | null | undefined;
991008
+ id_transaction_type?: string | number | boolean | null | undefined;
991009
+ id_currency?: string | number | boolean | null | undefined;
991010
+ id_requisition_status?: string | number | boolean | null | undefined;
991011
+ id_payment_status?: string | number | boolean | null | undefined;
991012
+ transaction_number?: string | number | boolean | null | undefined;
991013
+ invoice_number?: string | number | boolean | null | undefined;
991014
+ outstanding_amount?: string | number | boolean | null | undefined;
991015
+ transaction_amount?: string | number | boolean | null | undefined;
991016
+ local_transaction_amount?: string | number | boolean | null | undefined;
991017
+ post_date?: string | number | boolean | null | undefined;
991018
+ invoice_date?: string | number | boolean | null | undefined;
991019
+ due_date?: string | number | boolean | null | undefined;
991020
+ fully_paid_date?: string | number | boolean | null | undefined;
991021
+ requisition_date?: string | number | boolean | null | undefined;
991022
+ };
991023
+ output: {
991024
+ data: {
991025
+ is_active: boolean | null;
991026
+ id: string;
991027
+ logic_code: string | null;
991028
+ created_at: Date | null;
991029
+ created_by: string | null;
991030
+ updated_at: Date | null;
991031
+ updated_by: string | null;
991032
+ id_currency: string | null;
991033
+ id_forwarding_consol: string | null;
991034
+ id_ap_transaction_cancelled: string | null;
991035
+ id_account_organization: string | null;
991036
+ id_transaction_type: string | null;
991037
+ id_requisition_status: string | null;
991038
+ id_payment_status: string | null;
991039
+ transaction_number: string | null;
991040
+ invoice_number: string | null;
991041
+ outstanding_amount: Decimal$1 | null;
991042
+ transaction_amount: Decimal$1 | null;
991043
+ local_transaction_amount: Decimal$1 | null;
991044
+ post_date: Date | null;
991045
+ invoice_date: Date | null;
991046
+ due_date: Date | null;
991047
+ fully_paid_date: Date | null;
991048
+ requisition_date: Date | null;
991049
+ is_cancelled: boolean | null;
991050
+ };
991051
+ log: {
991052
+ id: string;
991053
+ params: SimpleJson;
991054
+ id_log_type: string | null;
991055
+ url: string | null;
991056
+ action: string | null;
991057
+ action_by: string | null;
991058
+ action_id: string | null;
991059
+ action_at: Date | null;
991060
+ id_billing_ap_transaction: string | null;
991061
+ } | undefined;
991062
+ } | undefined;
991063
+ meta: object;
991064
+ }>;
991065
+ delete: MutationProcedure<{
991066
+ input: {
991067
+ id?: string | number | boolean | null | undefined;
991068
+ ids?: (string | number | boolean)[] | null | undefined;
991069
+ };
991070
+ output: {
991071
+ data: ({
991072
+ is_active: boolean | null;
991073
+ id: string;
991074
+ logic_code: string | null;
991075
+ created_at: Date | null;
991076
+ created_by: string | null;
991077
+ updated_at: Date | null;
991078
+ updated_by: string | null;
991079
+ id_currency: string | null;
991080
+ id_forwarding_consol: string | null;
991081
+ id_ap_transaction_cancelled: string | null;
991082
+ id_account_organization: string | null;
991083
+ id_transaction_type: string | null;
991084
+ id_requisition_status: string | null;
991085
+ id_payment_status: string | null;
991086
+ transaction_number: string | null;
991087
+ invoice_number: string | null;
991088
+ outstanding_amount: Decimal$1 | null;
991089
+ transaction_amount: Decimal$1 | null;
991090
+ local_transaction_amount: Decimal$1 | null;
991091
+ post_date: Date | null;
991092
+ invoice_date: Date | null;
991093
+ due_date: Date | null;
991094
+ fully_paid_date: Date | null;
991095
+ requisition_date: Date | null;
991096
+ is_cancelled: boolean | null;
991097
+ } | undefined)[] | undefined;
991098
+ } | undefined;
991099
+ meta: object;
991100
+ }>;
991101
+ upsertBatch: MutationProcedure<{
991102
+ input: {
991103
+ create?: {
991104
+ id?: string | number | boolean | null | undefined;
991105
+ is_active?: string | number | boolean | null | undefined;
991106
+ is_cancelled?: string | number | boolean | null | undefined;
991107
+ id_ap_transaction_cancelled?: string | number | boolean | null | undefined;
991108
+ id_forwarding_consol?: string | number | boolean | null | undefined;
991109
+ ids_forwarding_shipment_billing?: (string | number | boolean)[] | null | undefined;
991110
+ id_account_organization?: string | number | boolean | null | undefined;
991111
+ id_transaction_type?: string | number | boolean | null | undefined;
991112
+ id_currency?: string | number | boolean | null | undefined;
991113
+ id_requisition_status?: string | number | boolean | null | undefined;
991114
+ id_payment_status?: string | number | boolean | null | undefined;
991115
+ transaction_number?: string | number | boolean | null | undefined;
991116
+ invoice_number?: string | number | boolean | null | undefined;
991117
+ outstanding_amount?: string | number | boolean | null | undefined;
991118
+ transaction_amount?: string | number | boolean | null | undefined;
991119
+ local_transaction_amount?: string | number | boolean | null | undefined;
991120
+ post_date?: string | number | boolean | null | undefined;
991121
+ invoice_date?: string | number | boolean | null | undefined;
991122
+ due_date?: string | number | boolean | null | undefined;
991123
+ fully_paid_date?: string | number | boolean | null | undefined;
991124
+ requisition_date?: string | number | boolean | null | undefined;
991125
+ }[] | undefined;
991126
+ update?: {
991127
+ is_system?: (string | number | boolean)[] | null | undefined;
991128
+ logic_code?: string | number | boolean | null | undefined;
991129
+ ids_shipment_billing_connect?: (string | number | boolean)[] | null | undefined;
991130
+ ids_shipment_billing_set?: (string | number | boolean)[] | null | undefined;
991131
+ id?: string | number | boolean | null | undefined;
991132
+ is_active?: string | number | boolean | null | undefined;
991133
+ is_cancelled?: string | number | boolean | null | undefined;
991134
+ id_ap_transaction_cancelled?: string | number | boolean | null | undefined;
991135
+ id_forwarding_consol?: string | number | boolean | null | undefined;
991136
+ ids_forwarding_shipment_billing?: (string | number | boolean)[] | null | undefined;
991137
+ id_account_organization?: string | number | boolean | null | undefined;
991138
+ id_transaction_type?: string | number | boolean | null | undefined;
991139
+ id_currency?: string | number | boolean | null | undefined;
991140
+ id_requisition_status?: string | number | boolean | null | undefined;
991141
+ id_payment_status?: string | number | boolean | null | undefined;
991142
+ transaction_number?: string | number | boolean | null | undefined;
991143
+ invoice_number?: string | number | boolean | null | undefined;
991144
+ outstanding_amount?: string | number | boolean | null | undefined;
991145
+ transaction_amount?: string | number | boolean | null | undefined;
991146
+ local_transaction_amount?: string | number | boolean | null | undefined;
991147
+ post_date?: string | number | boolean | null | undefined;
991148
+ invoice_date?: string | number | boolean | null | undefined;
991149
+ due_date?: string | number | boolean | null | undefined;
991150
+ fully_paid_date?: string | number | boolean | null | undefined;
991151
+ requisition_date?: string | number | boolean | null | undefined;
991152
+ }[] | undefined;
991153
+ };
991154
+ output: {
991155
+ created_data: ({
991156
+ data: {
991157
+ is_active: boolean | null;
991158
+ id: string;
991159
+ logic_code: string | null;
991160
+ created_at: Date | null;
991161
+ created_by: string | null;
991162
+ updated_at: Date | null;
991163
+ updated_by: string | null;
991164
+ id_currency: string | null;
991165
+ id_forwarding_consol: string | null;
991166
+ id_ap_transaction_cancelled: string | null;
991167
+ id_account_organization: string | null;
991168
+ id_transaction_type: string | null;
991169
+ id_requisition_status: string | null;
991170
+ id_payment_status: string | null;
991171
+ transaction_number: string | null;
991172
+ invoice_number: string | null;
991173
+ outstanding_amount: Decimal$1 | null;
991174
+ transaction_amount: Decimal$1 | null;
991175
+ local_transaction_amount: Decimal$1 | null;
991176
+ post_date: Date | null;
991177
+ invoice_date: Date | null;
991178
+ due_date: Date | null;
991179
+ fully_paid_date: Date | null;
991180
+ requisition_date: Date | null;
991181
+ is_cancelled: boolean | null;
991182
+ };
991183
+ log: {
991184
+ id: string;
991185
+ params: SimpleJson;
991186
+ id_log_type: string | null;
991187
+ url: string | null;
991188
+ action: string | null;
991189
+ action_by: string | null;
991190
+ action_id: string | null;
991191
+ action_at: Date | null;
991192
+ id_billing_ap_transaction: string | null;
991193
+ } | undefined;
991194
+ } | undefined)[];
991195
+ updated_data: ({
991196
+ data: {
991197
+ is_active: boolean | null;
991198
+ id: string;
991199
+ logic_code: string | null;
991200
+ created_at: Date | null;
991201
+ created_by: string | null;
991202
+ updated_at: Date | null;
991203
+ updated_by: string | null;
991204
+ id_currency: string | null;
991205
+ id_forwarding_consol: string | null;
991206
+ id_ap_transaction_cancelled: string | null;
991207
+ id_account_organization: string | null;
991208
+ id_transaction_type: string | null;
991209
+ id_requisition_status: string | null;
991210
+ id_payment_status: string | null;
991211
+ transaction_number: string | null;
991212
+ invoice_number: string | null;
991213
+ outstanding_amount: Decimal$1 | null;
991214
+ transaction_amount: Decimal$1 | null;
991215
+ local_transaction_amount: Decimal$1 | null;
991216
+ post_date: Date | null;
991217
+ invoice_date: Date | null;
991218
+ due_date: Date | null;
991219
+ fully_paid_date: Date | null;
991220
+ requisition_date: Date | null;
991221
+ is_cancelled: boolean | null;
991222
+ };
991223
+ log: {
991224
+ id: string;
991225
+ params: SimpleJson;
991226
+ id_log_type: string | null;
991227
+ url: string | null;
991228
+ action: string | null;
991229
+ action_by: string | null;
991230
+ action_id: string | null;
991231
+ action_at: Date | null;
991232
+ id_billing_ap_transaction: string | null;
991233
+ } | undefined;
991234
+ } | undefined)[];
991235
+ } | undefined;
991236
+ meta: object;
991237
+ }>;
991238
+ cancel: MutationProcedure<{
991239
+ input: {
991240
+ id?: string | number | boolean | null | undefined;
991241
+ ids?: (string | number | boolean)[] | null | undefined;
991242
+ };
991243
+ output: {
991244
+ data: ({
991245
+ is_active: boolean | null;
991246
+ id: string;
991247
+ logic_code: string | null;
991248
+ created_at: Date | null;
991249
+ created_by: string | null;
991250
+ updated_at: Date | null;
991251
+ updated_by: string | null;
991252
+ id_currency: string | null;
991253
+ id_forwarding_consol: string | null;
991254
+ id_ap_transaction_cancelled: string | null;
991255
+ id_account_organization: string | null;
991256
+ id_transaction_type: string | null;
991257
+ id_requisition_status: string | null;
991258
+ id_payment_status: string | null;
991259
+ transaction_number: string | null;
991260
+ invoice_number: string | null;
991261
+ outstanding_amount: Decimal$1 | null;
991262
+ transaction_amount: Decimal$1 | null;
991263
+ local_transaction_amount: Decimal$1 | null;
991264
+ post_date: Date | null;
991265
+ invoice_date: Date | null;
991266
+ due_date: Date | null;
991267
+ fully_paid_date: Date | null;
991268
+ requisition_date: Date | null;
991269
+ is_cancelled: boolean | null;
991270
+ } | undefined)[] | undefined;
991271
+ } | undefined;
991272
+ meta: object;
991273
+ }>;
991274
+ lines: BuiltRouter<{
991275
+ ctx: Context;
991276
+ meta: object;
991277
+ errorShape: DefaultErrorShape;
991278
+ transformer: false;
991279
+ }, DecorateCreateRouterOptions<{
991280
+ get: MutationProcedure<{
991281
+ input: {
991282
+ search?: string | number | boolean | null | undefined;
991283
+ take?: string | number | null | undefined;
991284
+ skip?: string | number | null | undefined;
991285
+ is_active?: (string | number | boolean)[] | null | undefined;
991286
+ is_system?: (string | number | boolean)[] | null | undefined;
991287
+ ids_include?: (string | number | boolean)[] | null | undefined;
991288
+ ids_exclude?: (string | number | boolean)[] | null | undefined;
991289
+ logic_codes_include?: (string | number | boolean)[] | null | undefined;
991290
+ logic_codes_exclude?: (string | number | boolean)[] | null | undefined;
991291
+ created_at?: {
991292
+ start_date?: string | number | boolean | null | undefined;
991293
+ end_date?: string | number | boolean | null | undefined;
991294
+ is_overlapping?: string | number | boolean | null | undefined;
991295
+ } | null | undefined;
991296
+ updated_at?: {
991297
+ start_date?: string | number | boolean | null | undefined;
991298
+ end_date?: string | number | boolean | null | undefined;
991299
+ is_overlapping?: string | number | boolean | null | undefined;
991300
+ } | null | undefined;
991301
+ order_by?: {
991302
+ field: string;
991303
+ direction: "asc" | "desc";
991304
+ } | null | undefined;
991305
+ order_bys?: {
991306
+ field: string;
991307
+ direction: "asc" | "desc";
991308
+ }[] | null | undefined;
991309
+ id_billing_ap_transaction?: string | number | boolean | null | undefined;
991310
+ ids_billing_ap_transaction?: (string | number | boolean)[] | null | undefined;
991311
+ id_forwarding_shipment_billing_detail_copy?: string | number | boolean | null | undefined;
991312
+ ids_forwarding_shipment_billing_detail_copy?: (string | number | boolean)[] | null | undefined;
991313
+ id_forwarding_consol_billing_detail_cost_copy?: string | number | boolean | null | undefined;
991314
+ ids_forwarding_consol_billing_detail_cost_copy?: (string | number | boolean)[] | null | undefined;
991315
+ id_forwarding_consol_billing_detail_cost?: string | number | boolean | null | undefined;
991316
+ ids_forwarding_consol_billing_detail_cost?: (string | number | boolean)[] | null | undefined;
991317
+ id_charge_code?: string | number | boolean | null | undefined;
991318
+ ids_charge_code?: (string | number | boolean)[] | null | undefined;
991319
+ id_cost_currency?: string | number | boolean | null | undefined;
991320
+ ids_cost_currency?: (string | number | boolean)[] | null | undefined;
991321
+ id_cost_latest_system_rate?: string | number | boolean | null | undefined;
991322
+ ids_cost_latest_system_rate?: (string | number | boolean)[] | null | undefined;
991323
+ id_cost_creditor?: string | number | boolean | null | undefined;
991324
+ ids_cost_creditor?: (string | number | boolean)[] | null | undefined;
991325
+ id_cost_tax_rate?: string | number | boolean | null | undefined;
991326
+ ids_cost_tax_rate?: (string | number | boolean)[] | null | undefined;
991327
+ id_cost_apportion_method?: string | number | boolean | null | undefined;
991328
+ ids_cost_apportion_method?: (string | number | boolean)[] | null | undefined;
991329
+ is_cost_posted?: (string | number | boolean)[] | null | undefined;
991330
+ };
991331
+ output: {
991332
+ data: {
991333
+ charge_code: {
991334
+ is_active: boolean | null;
991335
+ id: string;
991336
+ logic_code: string | null;
991337
+ name: string | null;
991338
+ id_department: string | null;
991339
+ code: string | null;
991340
+ created_at: Date | null;
991341
+ created_by: string | null;
991342
+ updated_at: Date | null;
991343
+ updated_by: string | null;
991344
+ id_incoterm: string | null;
991345
+ id_type: string | null;
991346
+ id_wht_type: string | null;
991347
+ id_tax_rate: string | null;
991348
+ id_revenue: string | null;
991349
+ id_wip: string | null;
991350
+ id_cost: string | null;
991351
+ id_accrual: string | null;
991352
+ id_sales_group: string | null;
991353
+ id_expense_group: string | null;
991354
+ id_group: string | null;
991355
+ id_sub_group: string | null;
991356
+ id_rate_calculation: string | null;
991357
+ remarks: string | null;
991358
+ margin: Decimal$1 | null;
991359
+ is_show_on_consol: boolean | null;
991360
+ is_show_on_quote: boolean | null;
991361
+ is_show_if_zero: boolean | null;
991362
+ } | null;
991363
+ cost_currency: {
991364
+ symbol: string | null;
991365
+ is_active: boolean | null;
991366
+ id: string;
991367
+ logic_code: string | null;
991368
+ created_at: Date | null;
991369
+ created_by: string | null;
991370
+ updated_at: Date | null;
991371
+ updated_by: string | null;
991372
+ currency_code: string | null;
991373
+ currency_name: string | null;
991374
+ major_unit: string | null;
991375
+ minor_unit: string | null;
991376
+ decimal_unit: number | null;
991377
+ iso_decimal: number | null;
991378
+ } | null;
991379
+ cost_latest_system_rate: {
991380
+ is_active: boolean | null;
991381
+ id: string;
991382
+ logic_code: string | null;
991383
+ created_at: Date | null;
991384
+ created_by: string | null;
991385
+ updated_at: Date | null;
991386
+ updated_by: string | null;
991387
+ start_date: Date | null;
991388
+ end_date: Date | null;
991389
+ id_currency_from: string | null;
991390
+ id_currency_to: string | null;
991391
+ id_exchange_rate_type: string | null;
991392
+ rate: Decimal$1 | null;
991393
+ } | null;
991394
+ cost_creditor: {
991395
+ is_active: boolean | null;
991396
+ id: string;
991397
+ logic_code: string | null;
991398
+ name: string | null;
991399
+ id_country: string | null;
991400
+ id_state: string | null;
991401
+ id_city: string | null;
991402
+ id_postal_code: string | null;
991403
+ id_company: string | null;
991404
+ id_branch: string | null;
991405
+ code: string | null;
991406
+ created_at: Date | null;
991407
+ created_by: string | null;
991408
+ updated_at: Date | null;
991409
+ updated_by: string | null;
991410
+ id_un_locode: string | null;
991411
+ email: string | null;
991412
+ id_business_category: string | null;
991413
+ id_controlling_branch: string | null;
991414
+ id_airline: string | null;
991415
+ id_shipping_line: string | null;
991416
+ phone: string | null;
991417
+ website_url: string | null;
991418
+ company_number: string | null;
991419
+ company_tax_number: string | null;
991420
+ } | null;
991421
+ cost_tax_rate: {
991422
+ is_active: boolean | null;
991423
+ id: string;
991424
+ logic_code: string | null;
991425
+ name: string | null;
991426
+ id_country: string | null;
991427
+ code: string | null;
991428
+ created_at: Date | null;
991429
+ created_by: string | null;
991430
+ updated_at: Date | null;
991431
+ updated_by: string | null;
991432
+ id_type: string | null;
991433
+ rate: Decimal$1 | null;
991434
+ id_system: string | null;
991435
+ tax_message: string | null;
991436
+ } | null;
991437
+ cost_apportion_method: {
991438
+ is_active: boolean | null;
991439
+ id: string;
991440
+ logic_code: string | null;
991441
+ name: string | null;
991442
+ code: string | null;
991443
+ created_at: Date | null;
991444
+ created_by: string | null;
991445
+ updated_at: Date | null;
991446
+ updated_by: string | null;
991447
+ } | null;
991448
+ forwarding_consol_billing_detail_cost_copy: {
991449
+ is_active: boolean | null;
991450
+ id: string;
991451
+ logic_code: string | null;
991452
+ name: string | null;
991453
+ code: string | null;
991454
+ created_at: Date | null;
991455
+ created_by: string | null;
991456
+ updated_at: Date | null;
991457
+ updated_by: string | null;
991458
+ id_forwarding_consol: string | null;
991459
+ id_billing_ap_transaction: string | null;
991460
+ id_charge_code: string | null;
991461
+ id_cost_currency: string | null;
991462
+ id_cost_latest_system_rate: string | null;
991463
+ id_cost_creditor: string | null;
991464
+ id_cost_tax_rate: string | null;
991465
+ id_cost_apportion_method: string | null;
991466
+ cost_base_rate: Decimal$1 | null;
991467
+ cost_currency_amount: Decimal$1 | null;
991468
+ cost_currency_estimated_amount: Decimal$1 | null;
991469
+ cost_local_currency_amount: Decimal$1 | null;
991470
+ cost_invoice_number: string | null;
991471
+ cost_invoice_date: Date | null;
991472
+ cost_tax_amount: Decimal$1 | null;
991473
+ cost_supplier_reference: string | null;
991474
+ is_cost_posted: boolean | null;
991475
+ } | null;
991476
+ forwarding_consol_billing_detail_cost: {
991477
+ is_active: boolean | null;
991478
+ id: string;
991479
+ logic_code: string | null;
991480
+ name: string | null;
991481
+ code: string | null;
991482
+ created_at: Date | null;
991483
+ created_by: string | null;
991484
+ updated_at: Date | null;
991485
+ updated_by: string | null;
991486
+ id_forwarding_consol: string | null;
991487
+ id_billing_ap_transaction: string | null;
991488
+ id_charge_code: string | null;
991489
+ id_cost_currency: string | null;
991490
+ id_cost_latest_system_rate: string | null;
991491
+ id_cost_creditor: string | null;
991492
+ id_cost_tax_rate: string | null;
991493
+ id_cost_apportion_method: string | null;
991494
+ cost_base_rate: Decimal$1 | null;
991495
+ cost_currency_amount: Decimal$1 | null;
991496
+ cost_currency_estimated_amount: Decimal$1 | null;
991497
+ cost_local_currency_amount: Decimal$1 | null;
991498
+ cost_invoice_number: string | null;
991499
+ cost_invoice_date: Date | null;
991500
+ cost_tax_amount: Decimal$1 | null;
991501
+ cost_supplier_reference: string | null;
991502
+ is_cost_posted: boolean | null;
991503
+ } | null;
991504
+ cost_system_rates: {
991505
+ is_active: boolean | null;
991506
+ id: string;
991507
+ logic_code: string | null;
991508
+ created_at: Date | null;
991509
+ created_by: string | null;
991510
+ updated_at: Date | null;
991511
+ updated_by: string | null;
991512
+ start_date: Date | null;
991513
+ end_date: Date | null;
991514
+ id_currency_from: string | null;
991515
+ id_currency_to: string | null;
991516
+ id_exchange_rate_type: string | null;
991517
+ rate: Decimal$1 | null;
991518
+ }[];
991519
+ billing_ap_transaction: {
991520
+ is_active: boolean | null;
991521
+ id: string;
991522
+ logic_code: string | null;
991523
+ created_at: Date | null;
991524
+ created_by: string | null;
991525
+ updated_at: Date | null;
991526
+ updated_by: string | null;
991527
+ id_currency: string | null;
991528
+ id_forwarding_consol: string | null;
991529
+ id_ap_transaction_cancelled: string | null;
991530
+ id_account_organization: string | null;
991531
+ id_transaction_type: string | null;
991532
+ id_requisition_status: string | null;
991533
+ id_payment_status: string | null;
991534
+ transaction_number: string | null;
991535
+ invoice_number: string | null;
991536
+ outstanding_amount: Decimal$1 | null;
991537
+ transaction_amount: Decimal$1 | null;
991538
+ local_transaction_amount: Decimal$1 | null;
991539
+ post_date: Date | null;
991540
+ invoice_date: Date | null;
991541
+ due_date: Date | null;
991542
+ fully_paid_date: Date | null;
991543
+ requisition_date: Date | null;
991544
+ is_cancelled: boolean | null;
991545
+ } | null;
991546
+ forwarding_shipment_billing_detail_copy: {
991547
+ is_active: boolean | null;
991548
+ id: string;
991549
+ logic_code: string | null;
991550
+ name: string | null;
991551
+ code: string | null;
991552
+ created_at: Date | null;
991553
+ created_by: string | null;
991554
+ updated_at: Date | null;
991555
+ updated_by: string | null;
991556
+ id_billing_ap_transaction: string | null;
991557
+ id_charge_code: string | null;
991558
+ id_cost_currency: string | null;
991559
+ id_cost_latest_system_rate: string | null;
991560
+ id_cost_creditor: string | null;
991561
+ id_cost_tax_rate: string | null;
991562
+ cost_base_rate: Decimal$1 | null;
991563
+ cost_currency_amount: Decimal$1 | null;
991564
+ cost_currency_estimated_amount: Decimal$1 | null;
991565
+ cost_local_currency_amount: Decimal$1 | null;
991566
+ cost_invoice_number: string | null;
991567
+ cost_invoice_date: Date | null;
991568
+ cost_tax_amount: Decimal$1 | null;
991569
+ cost_supplier_reference: string | null;
991570
+ is_cost_posted: boolean | null;
991571
+ id_sell_currency: string | null;
991572
+ id_sell_latest_system_rate: string | null;
991573
+ sell_base_rate: Decimal$1 | null;
991574
+ sell_currency_amount: Decimal$1 | null;
991575
+ sell_currency_estimated_amount: Decimal$1 | null;
991576
+ sell_local_currency_amount: Decimal$1 | null;
991577
+ id_forwarding_shipment_billing: string | null;
991578
+ id_billing_ar_transaction: string | null;
991579
+ id_forwarding_consol_billing_detail_cost: string | null;
991580
+ id_forwarding_consol_billing_detail_sell: string | null;
991581
+ id_sell_debtor: string | null;
991582
+ id_sell_invoice_type: string | null;
991583
+ id_sell_tax_rate: string | null;
991584
+ sell_tax_amount: Decimal$1 | null;
991585
+ sell_invoice_number: string | null;
991586
+ is_sell_posted: boolean | null;
991587
+ } | null;
991588
+ is_active: boolean | null;
991589
+ id: string;
991590
+ logic_code: string | null;
991591
+ name: string | null;
991592
+ code: string | null;
991593
+ created_at: Date | null;
991594
+ created_by: string | null;
991595
+ updated_at: Date | null;
991596
+ updated_by: string | null;
991597
+ id_billing_ap_transaction: string | null;
991598
+ id_charge_code: string | null;
991599
+ id_cost_currency: string | null;
991600
+ id_cost_latest_system_rate: string | null;
991601
+ id_cost_creditor: string | null;
991602
+ id_cost_tax_rate: string | null;
991603
+ id_cost_apportion_method: string | null;
991604
+ cost_base_rate: Decimal$1 | null;
991605
+ cost_currency_amount: Decimal$1 | null;
991606
+ cost_currency_estimated_amount: Decimal$1 | null;
991607
+ cost_local_currency_amount: Decimal$1 | null;
991608
+ cost_invoice_number: string | null;
991609
+ cost_invoice_date: Date | null;
991610
+ cost_tax_amount: Decimal$1 | null;
991611
+ cost_supplier_reference: string | null;
991612
+ is_cost_posted: boolean | null;
991613
+ id_forwarding_consol_billing_detail_cost: string | null;
991614
+ id_forwarding_shipment_billing_detail_copy: string | null;
991615
+ id_forwarding_consol_billing_detail_cost_copy: string | null;
991616
+ }[] | undefined;
991617
+ total: number | undefined;
991618
+ };
991619
+ meta: object;
991620
+ }>;
991621
+ getDetail: MutationProcedure<{
991622
+ input: {
991623
+ is_active?: (string | number | boolean)[] | null | undefined;
991624
+ is_system?: (string | number | boolean)[] | null | undefined;
991625
+ id?: string | number | boolean | null | undefined;
991626
+ logic_code?: string | number | boolean | null | undefined;
991627
+ };
991628
+ output: {
991629
+ data: {
991630
+ _count: {
991631
+ billing_ap_transaction: number;
991632
+ forwarding_shipment_billing_detail_copy: number;
991633
+ forwarding_consol_billing_detail_cost_copy: number;
991634
+ forwarding_consol_billing_detail_cost: number;
991635
+ charge_code: number;
991636
+ cost_currency: number;
991637
+ cost_latest_system_rate: number;
991638
+ cost_creditor: number;
991639
+ cost_tax_rate: number;
991640
+ cost_apportion_method: number;
991641
+ billing_ap_transaction_line_logs: number;
991642
+ cost_system_rates: number;
991643
+ };
991644
+ charge_code: {
991645
+ is_active: boolean | null;
991646
+ id: string;
991647
+ logic_code: string | null;
991648
+ name: string | null;
991649
+ id_department: string | null;
991650
+ code: string | null;
991651
+ created_at: Date | null;
991652
+ created_by: string | null;
991653
+ updated_at: Date | null;
991654
+ updated_by: string | null;
991655
+ id_incoterm: string | null;
991656
+ id_type: string | null;
991657
+ id_wht_type: string | null;
991658
+ id_tax_rate: string | null;
991659
+ id_revenue: string | null;
991660
+ id_wip: string | null;
991661
+ id_cost: string | null;
991662
+ id_accrual: string | null;
991663
+ id_sales_group: string | null;
991664
+ id_expense_group: string | null;
991665
+ id_group: string | null;
991666
+ id_sub_group: string | null;
991667
+ id_rate_calculation: string | null;
991668
+ remarks: string | null;
991669
+ margin: Decimal$1 | null;
991670
+ is_show_on_consol: boolean | null;
991671
+ is_show_on_quote: boolean | null;
991672
+ is_show_if_zero: boolean | null;
991673
+ } | null;
991674
+ cost_currency: {
991675
+ symbol: string | null;
991676
+ is_active: boolean | null;
991677
+ id: string;
991678
+ logic_code: string | null;
991679
+ created_at: Date | null;
991680
+ created_by: string | null;
991681
+ updated_at: Date | null;
991682
+ updated_by: string | null;
991683
+ currency_code: string | null;
991684
+ currency_name: string | null;
991685
+ major_unit: string | null;
991686
+ minor_unit: string | null;
991687
+ decimal_unit: number | null;
991688
+ iso_decimal: number | null;
991689
+ } | null;
991690
+ cost_latest_system_rate: {
991691
+ is_active: boolean | null;
991692
+ id: string;
991693
+ logic_code: string | null;
991694
+ created_at: Date | null;
991695
+ created_by: string | null;
991696
+ updated_at: Date | null;
991697
+ updated_by: string | null;
991698
+ start_date: Date | null;
991699
+ end_date: Date | null;
991700
+ id_currency_from: string | null;
991701
+ id_currency_to: string | null;
991702
+ id_exchange_rate_type: string | null;
991703
+ rate: Decimal$1 | null;
991704
+ } | null;
991705
+ cost_creditor: {
991706
+ is_active: boolean | null;
991707
+ id: string;
991708
+ logic_code: string | null;
991709
+ name: string | null;
991710
+ id_country: string | null;
991711
+ id_state: string | null;
991712
+ id_city: string | null;
991713
+ id_postal_code: string | null;
991714
+ id_company: string | null;
991715
+ id_branch: string | null;
991716
+ code: string | null;
991717
+ created_at: Date | null;
991718
+ created_by: string | null;
991719
+ updated_at: Date | null;
991720
+ updated_by: string | null;
991721
+ id_un_locode: string | null;
991722
+ email: string | null;
991723
+ id_business_category: string | null;
991724
+ id_controlling_branch: string | null;
991725
+ id_airline: string | null;
991726
+ id_shipping_line: string | null;
991727
+ phone: string | null;
991728
+ website_url: string | null;
991729
+ company_number: string | null;
991730
+ company_tax_number: string | null;
991731
+ } | null;
991732
+ cost_tax_rate: {
991733
+ is_active: boolean | null;
991734
+ id: string;
991735
+ logic_code: string | null;
991736
+ name: string | null;
991737
+ id_country: string | null;
991738
+ code: string | null;
991739
+ created_at: Date | null;
991740
+ created_by: string | null;
991741
+ updated_at: Date | null;
991742
+ updated_by: string | null;
991743
+ id_type: string | null;
991744
+ rate: Decimal$1 | null;
991745
+ id_system: string | null;
991746
+ tax_message: string | null;
991747
+ } | null;
991748
+ cost_apportion_method: {
991749
+ is_active: boolean | null;
991750
+ id: string;
991751
+ logic_code: string | null;
991752
+ name: string | null;
991753
+ code: string | null;
991754
+ created_at: Date | null;
991755
+ created_by: string | null;
991756
+ updated_at: Date | null;
991757
+ updated_by: string | null;
991758
+ } | null;
991759
+ forwarding_consol_billing_detail_cost_copy: {
991760
+ is_active: boolean | null;
991761
+ id: string;
991762
+ logic_code: string | null;
991763
+ name: string | null;
991764
+ code: string | null;
991765
+ created_at: Date | null;
991766
+ created_by: string | null;
991767
+ updated_at: Date | null;
991768
+ updated_by: string | null;
991769
+ id_forwarding_consol: string | null;
991770
+ id_billing_ap_transaction: string | null;
991771
+ id_charge_code: string | null;
991772
+ id_cost_currency: string | null;
991773
+ id_cost_latest_system_rate: string | null;
991774
+ id_cost_creditor: string | null;
991775
+ id_cost_tax_rate: string | null;
991776
+ id_cost_apportion_method: string | null;
991777
+ cost_base_rate: Decimal$1 | null;
991778
+ cost_currency_amount: Decimal$1 | null;
991779
+ cost_currency_estimated_amount: Decimal$1 | null;
991780
+ cost_local_currency_amount: Decimal$1 | null;
991781
+ cost_invoice_number: string | null;
991782
+ cost_invoice_date: Date | null;
991783
+ cost_tax_amount: Decimal$1 | null;
991784
+ cost_supplier_reference: string | null;
991785
+ is_cost_posted: boolean | null;
991786
+ } | null;
991787
+ forwarding_consol_billing_detail_cost: {
991788
+ is_active: boolean | null;
991789
+ id: string;
991790
+ logic_code: string | null;
991791
+ name: string | null;
991792
+ code: string | null;
991793
+ created_at: Date | null;
991794
+ created_by: string | null;
991795
+ updated_at: Date | null;
991796
+ updated_by: string | null;
991797
+ id_forwarding_consol: string | null;
991798
+ id_billing_ap_transaction: string | null;
991799
+ id_charge_code: string | null;
991800
+ id_cost_currency: string | null;
991801
+ id_cost_latest_system_rate: string | null;
991802
+ id_cost_creditor: string | null;
991803
+ id_cost_tax_rate: string | null;
991804
+ id_cost_apportion_method: string | null;
991805
+ cost_base_rate: Decimal$1 | null;
991806
+ cost_currency_amount: Decimal$1 | null;
991807
+ cost_currency_estimated_amount: Decimal$1 | null;
991808
+ cost_local_currency_amount: Decimal$1 | null;
991809
+ cost_invoice_number: string | null;
991810
+ cost_invoice_date: Date | null;
991811
+ cost_tax_amount: Decimal$1 | null;
991812
+ cost_supplier_reference: string | null;
991813
+ is_cost_posted: boolean | null;
991814
+ } | null;
991815
+ cost_system_rates: {
991816
+ is_active: boolean | null;
991817
+ id: string;
991818
+ logic_code: string | null;
991819
+ created_at: Date | null;
991820
+ created_by: string | null;
991821
+ updated_at: Date | null;
991822
+ updated_by: string | null;
991823
+ start_date: Date | null;
991824
+ end_date: Date | null;
991825
+ id_currency_from: string | null;
991826
+ id_currency_to: string | null;
991827
+ id_exchange_rate_type: string | null;
991828
+ rate: Decimal$1 | null;
991829
+ }[];
991830
+ billing_ap_transaction: {
991831
+ is_active: boolean | null;
991832
+ id: string;
991833
+ logic_code: string | null;
991834
+ created_at: Date | null;
991835
+ created_by: string | null;
991836
+ updated_at: Date | null;
991837
+ updated_by: string | null;
991838
+ id_currency: string | null;
991839
+ id_forwarding_consol: string | null;
991840
+ id_ap_transaction_cancelled: string | null;
991841
+ id_account_organization: string | null;
991842
+ id_transaction_type: string | null;
991843
+ id_requisition_status: string | null;
991844
+ id_payment_status: string | null;
991845
+ transaction_number: string | null;
991846
+ invoice_number: string | null;
991847
+ outstanding_amount: Decimal$1 | null;
991848
+ transaction_amount: Decimal$1 | null;
991849
+ local_transaction_amount: Decimal$1 | null;
991850
+ post_date: Date | null;
991851
+ invoice_date: Date | null;
991852
+ due_date: Date | null;
991853
+ fully_paid_date: Date | null;
991854
+ requisition_date: Date | null;
991855
+ is_cancelled: boolean | null;
991856
+ } | null;
991857
+ forwarding_shipment_billing_detail_copy: {
991858
+ is_active: boolean | null;
991859
+ id: string;
991860
+ logic_code: string | null;
991861
+ name: string | null;
991862
+ code: string | null;
991863
+ created_at: Date | null;
991864
+ created_by: string | null;
991865
+ updated_at: Date | null;
991866
+ updated_by: string | null;
991867
+ id_billing_ap_transaction: string | null;
991868
+ id_charge_code: string | null;
991869
+ id_cost_currency: string | null;
991870
+ id_cost_latest_system_rate: string | null;
991871
+ id_cost_creditor: string | null;
991872
+ id_cost_tax_rate: string | null;
991873
+ cost_base_rate: Decimal$1 | null;
991874
+ cost_currency_amount: Decimal$1 | null;
991875
+ cost_currency_estimated_amount: Decimal$1 | null;
991876
+ cost_local_currency_amount: Decimal$1 | null;
991877
+ cost_invoice_number: string | null;
991878
+ cost_invoice_date: Date | null;
991879
+ cost_tax_amount: Decimal$1 | null;
991880
+ cost_supplier_reference: string | null;
991881
+ is_cost_posted: boolean | null;
991882
+ id_sell_currency: string | null;
991883
+ id_sell_latest_system_rate: string | null;
991884
+ sell_base_rate: Decimal$1 | null;
991885
+ sell_currency_amount: Decimal$1 | null;
991886
+ sell_currency_estimated_amount: Decimal$1 | null;
991887
+ sell_local_currency_amount: Decimal$1 | null;
991888
+ id_forwarding_shipment_billing: string | null;
991889
+ id_billing_ar_transaction: string | null;
991890
+ id_forwarding_consol_billing_detail_cost: string | null;
991891
+ id_forwarding_consol_billing_detail_sell: string | null;
991892
+ id_sell_debtor: string | null;
991893
+ id_sell_invoice_type: string | null;
991894
+ id_sell_tax_rate: string | null;
991895
+ sell_tax_amount: Decimal$1 | null;
991896
+ sell_invoice_number: string | null;
991897
+ is_sell_posted: boolean | null;
991898
+ } | null;
991899
+ is_active: boolean | null;
991900
+ id: string;
991901
+ logic_code: string | null;
991902
+ name: string | null;
991903
+ code: string | null;
991904
+ created_at: Date | null;
991905
+ created_by: string | null;
991906
+ updated_at: Date | null;
991907
+ updated_by: string | null;
991908
+ id_billing_ap_transaction: string | null;
991909
+ id_charge_code: string | null;
991910
+ id_cost_currency: string | null;
991911
+ id_cost_latest_system_rate: string | null;
991912
+ id_cost_creditor: string | null;
991913
+ id_cost_tax_rate: string | null;
991914
+ id_cost_apportion_method: string | null;
991915
+ cost_base_rate: Decimal$1 | null;
991916
+ cost_currency_amount: Decimal$1 | null;
991917
+ cost_currency_estimated_amount: Decimal$1 | null;
991918
+ cost_local_currency_amount: Decimal$1 | null;
991919
+ cost_invoice_number: string | null;
991920
+ cost_invoice_date: Date | null;
991921
+ cost_tax_amount: Decimal$1 | null;
991922
+ cost_supplier_reference: string | null;
991923
+ is_cost_posted: boolean | null;
991924
+ id_forwarding_consol_billing_detail_cost: string | null;
991925
+ id_forwarding_shipment_billing_detail_copy: string | null;
991926
+ id_forwarding_consol_billing_detail_cost_copy: string | null;
991927
+ };
991928
+ };
991929
+ meta: object;
991930
+ }>;
991931
+ histories: BuiltRouter<{
991932
+ ctx: Context;
991933
+ meta: object;
991934
+ errorShape: DefaultErrorShape;
991935
+ transformer: false;
991936
+ }, DecorateCreateRouterOptions<{
991937
+ get: MutationProcedure<{
991938
+ input: {
991939
+ search?: string | number | boolean | null | undefined;
991940
+ take?: string | number | null | undefined;
991941
+ skip?: string | number | null | undefined;
991942
+ is_active?: (string | number | boolean)[] | null | undefined;
991943
+ is_system?: (string | number | boolean)[] | null | undefined;
991944
+ ids_include?: (string | number | boolean)[] | null | undefined;
991945
+ ids_exclude?: (string | number | boolean)[] | null | undefined;
991946
+ logic_codes_include?: (string | number | boolean)[] | null | undefined;
991947
+ logic_codes_exclude?: (string | number | boolean)[] | null | undefined;
991948
+ created_at?: {
991949
+ start_date?: string | number | boolean | null | undefined;
991950
+ end_date?: string | number | boolean | null | undefined;
991951
+ is_overlapping?: string | number | boolean | null | undefined;
991952
+ } | null | undefined;
991953
+ updated_at?: {
991954
+ start_date?: string | number | boolean | null | undefined;
991955
+ end_date?: string | number | boolean | null | undefined;
991956
+ is_overlapping?: string | number | boolean | null | undefined;
991957
+ } | null | undefined;
991958
+ order_by?: {
991959
+ field: string;
991960
+ direction: "asc" | "desc";
991961
+ } | null | undefined;
991962
+ order_bys?: {
991963
+ field: string;
991964
+ direction: "asc" | "desc";
991965
+ }[] | null | undefined;
991966
+ id_log_type?: string | number | boolean | null | undefined;
991967
+ ids_log_type?: (string | number | boolean)[] | null | undefined;
991968
+ id_billing_ap_transaction_line?: string | number | boolean | null | undefined;
991969
+ ids_billing_ap_transaction_line?: (string | number | boolean)[] | null | undefined;
991970
+ };
991971
+ output: {
991972
+ data: {
991973
+ log_type: {
991974
+ is_active: boolean | null;
991975
+ id: string;
991976
+ logic_code: string | null;
991977
+ name: string | null;
991978
+ created_at: Date | null;
991979
+ created_by: string | null;
991980
+ updated_at: Date | null;
991981
+ updated_by: string | null;
991982
+ } | null;
991983
+ id: string;
991984
+ params: SimpleJson;
991985
+ id_log_type: string | null;
991986
+ url: string | null;
991987
+ action: string | null;
991988
+ action_by: string | null;
991989
+ action_id: string | null;
991990
+ action_at: Date | null;
991991
+ id_billing_ap_transaction_line: string | null;
991992
+ }[] | undefined;
991993
+ total: number | undefined;
991994
+ };
991995
+ meta: object;
991996
+ }>;
991997
+ getDetail: MutationProcedure<{
991998
+ input: {
991999
+ is_active?: (string | number | boolean)[] | null | undefined;
992000
+ is_system?: (string | number | boolean)[] | null | undefined;
992001
+ id?: string | number | boolean | null | undefined;
992002
+ logic_code?: string | number | boolean | null | undefined;
992003
+ };
992004
+ output: {
992005
+ data: {
992006
+ log_type: {
992007
+ is_active: boolean | null;
992008
+ id: string;
992009
+ logic_code: string | null;
992010
+ name: string | null;
992011
+ created_at: Date | null;
992012
+ created_by: string | null;
992013
+ updated_at: Date | null;
992014
+ updated_by: string | null;
992015
+ } | null;
992016
+ id: string;
992017
+ params: SimpleJson;
992018
+ id_log_type: string | null;
992019
+ url: string | null;
992020
+ action: string | null;
992021
+ action_by: string | null;
992022
+ action_id: string | null;
992023
+ action_at: Date | null;
992024
+ id_billing_ap_transaction_line: string | null;
992025
+ } | undefined;
992026
+ };
992027
+ meta: object;
992028
+ }>;
992029
+ }>>;
992030
+ create: MutationProcedure<{
992031
+ input: {
992032
+ is_active?: string | number | boolean | null | undefined;
992033
+ id_billing_ap_transaction?: string | number | boolean | null | undefined;
992034
+ id_forwarding_shipment_billing_detail_copy?: string | number | boolean | null | undefined;
992035
+ id_forwarding_consol_billing_detail_cost_copy?: string | number | boolean | null | undefined;
992036
+ id_forwarding_consol_billing_detail_cost?: string | number | boolean | null | undefined;
992037
+ ids_cost_system_rate?: (string | number | boolean)[] | null | undefined;
992038
+ id_charge_code?: string | number | boolean | null | undefined;
992039
+ id_cost_currency?: string | number | boolean | null | undefined;
992040
+ id_cost_latest_system_rate?: string | number | boolean | null | undefined;
992041
+ id_cost_creditor?: string | number | boolean | null | undefined;
992042
+ id_cost_tax_rate?: string | number | boolean | null | undefined;
992043
+ id_cost_apportion_method?: string | number | boolean | null | undefined;
992044
+ code?: string | number | boolean | null | undefined;
992045
+ name?: string | number | boolean | null | undefined;
992046
+ cost_base_rate?: string | number | boolean | null | undefined;
992047
+ cost_currency_amount?: string | number | boolean | null | undefined;
992048
+ cost_currency_estimated_amount?: string | number | boolean | null | undefined;
992049
+ cost_local_currency_amount?: string | number | boolean | null | undefined;
992050
+ cost_invoice_number?: string | number | boolean | null | undefined;
992051
+ cost_invoice_date?: string | number | boolean | null | undefined;
992052
+ cost_tax_amount?: string | number | boolean | null | undefined;
992053
+ cost_supplier_reference?: string | number | boolean | null | undefined;
992054
+ is_cost_posted?: string | number | boolean | null | undefined;
992055
+ };
992056
+ output: {
992057
+ data: {
992058
+ is_active: boolean | null;
992059
+ id: string;
992060
+ logic_code: string | null;
992061
+ name: string | null;
992062
+ code: string | null;
992063
+ created_at: Date | null;
992064
+ created_by: string | null;
992065
+ updated_at: Date | null;
992066
+ updated_by: string | null;
992067
+ id_billing_ap_transaction: string | null;
992068
+ id_charge_code: string | null;
992069
+ id_cost_currency: string | null;
992070
+ id_cost_latest_system_rate: string | null;
992071
+ id_cost_creditor: string | null;
992072
+ id_cost_tax_rate: string | null;
992073
+ id_cost_apportion_method: string | null;
992074
+ cost_base_rate: Decimal$1 | null;
992075
+ cost_currency_amount: Decimal$1 | null;
992076
+ cost_currency_estimated_amount: Decimal$1 | null;
992077
+ cost_local_currency_amount: Decimal$1 | null;
992078
+ cost_invoice_number: string | null;
992079
+ cost_invoice_date: Date | null;
992080
+ cost_tax_amount: Decimal$1 | null;
992081
+ cost_supplier_reference: string | null;
992082
+ is_cost_posted: boolean | null;
992083
+ id_forwarding_consol_billing_detail_cost: string | null;
992084
+ id_forwarding_shipment_billing_detail_copy: string | null;
992085
+ id_forwarding_consol_billing_detail_cost_copy: string | null;
992086
+ };
992087
+ log: {
992088
+ id: string;
992089
+ params: SimpleJson;
992090
+ id_log_type: string | null;
992091
+ url: string | null;
992092
+ action: string | null;
992093
+ action_by: string | null;
992094
+ action_id: string | null;
992095
+ action_at: Date | null;
992096
+ id_billing_ap_transaction_line: string | null;
992097
+ } | undefined;
992098
+ } | undefined;
992099
+ meta: object;
992100
+ }>;
992101
+ update: MutationProcedure<{
992102
+ input: {
992103
+ is_system?: (string | number | boolean)[] | null | undefined;
992104
+ id?: string | number | boolean | null | undefined;
992105
+ logic_code?: string | number | boolean | null | undefined;
992106
+ is_active?: string | number | boolean | null | undefined;
992107
+ id_billing_ap_transaction?: string | number | boolean | null | undefined;
992108
+ id_forwarding_shipment_billing_detail_copy?: string | number | boolean | null | undefined;
992109
+ id_forwarding_consol_billing_detail_cost_copy?: string | number | boolean | null | undefined;
992110
+ id_forwarding_consol_billing_detail_cost?: string | number | boolean | null | undefined;
992111
+ ids_cost_system_rate?: (string | number | boolean)[] | null | undefined;
992112
+ id_charge_code?: string | number | boolean | null | undefined;
992113
+ id_cost_currency?: string | number | boolean | null | undefined;
992114
+ id_cost_latest_system_rate?: string | number | boolean | null | undefined;
992115
+ id_cost_creditor?: string | number | boolean | null | undefined;
992116
+ id_cost_tax_rate?: string | number | boolean | null | undefined;
992117
+ id_cost_apportion_method?: string | number | boolean | null | undefined;
992118
+ code?: string | number | boolean | null | undefined;
992119
+ name?: string | number | boolean | null | undefined;
992120
+ cost_base_rate?: string | number | boolean | null | undefined;
992121
+ cost_currency_amount?: string | number | boolean | null | undefined;
992122
+ cost_currency_estimated_amount?: string | number | boolean | null | undefined;
992123
+ cost_local_currency_amount?: string | number | boolean | null | undefined;
992124
+ cost_invoice_number?: string | number | boolean | null | undefined;
992125
+ cost_invoice_date?: string | number | boolean | null | undefined;
992126
+ cost_tax_amount?: string | number | boolean | null | undefined;
992127
+ cost_supplier_reference?: string | number | boolean | null | undefined;
992128
+ is_cost_posted?: string | number | boolean | null | undefined;
992129
+ };
992130
+ output: {
992131
+ data: {
992132
+ is_active: boolean | null;
992133
+ id: string;
992134
+ logic_code: string | null;
992135
+ name: string | null;
992136
+ code: string | null;
992137
+ created_at: Date | null;
992138
+ created_by: string | null;
992139
+ updated_at: Date | null;
992140
+ updated_by: string | null;
992141
+ id_billing_ap_transaction: string | null;
992142
+ id_charge_code: string | null;
992143
+ id_cost_currency: string | null;
992144
+ id_cost_latest_system_rate: string | null;
992145
+ id_cost_creditor: string | null;
992146
+ id_cost_tax_rate: string | null;
992147
+ id_cost_apportion_method: string | null;
992148
+ cost_base_rate: Decimal$1 | null;
992149
+ cost_currency_amount: Decimal$1 | null;
992150
+ cost_currency_estimated_amount: Decimal$1 | null;
992151
+ cost_local_currency_amount: Decimal$1 | null;
992152
+ cost_invoice_number: string | null;
992153
+ cost_invoice_date: Date | null;
992154
+ cost_tax_amount: Decimal$1 | null;
992155
+ cost_supplier_reference: string | null;
992156
+ is_cost_posted: boolean | null;
992157
+ id_forwarding_consol_billing_detail_cost: string | null;
992158
+ id_forwarding_shipment_billing_detail_copy: string | null;
992159
+ id_forwarding_consol_billing_detail_cost_copy: string | null;
992160
+ };
992161
+ log: {
992162
+ id: string;
992163
+ params: SimpleJson;
992164
+ id_log_type: string | null;
992165
+ url: string | null;
992166
+ action: string | null;
992167
+ action_by: string | null;
992168
+ action_id: string | null;
992169
+ action_at: Date | null;
992170
+ id_billing_ap_transaction_line: string | null;
992171
+ } | undefined;
992172
+ } | undefined;
992173
+ meta: object;
992174
+ }>;
992175
+ delete: MutationProcedure<{
992176
+ input: {
992177
+ id?: string | number | boolean | null | undefined;
992178
+ ids?: (string | number | boolean)[] | null | undefined;
992179
+ };
992180
+ output: {
992181
+ data: ({
992182
+ is_active: boolean | null;
992183
+ id: string;
992184
+ logic_code: string | null;
992185
+ name: string | null;
992186
+ code: string | null;
992187
+ created_at: Date | null;
992188
+ created_by: string | null;
992189
+ updated_at: Date | null;
992190
+ updated_by: string | null;
992191
+ id_billing_ap_transaction: string | null;
992192
+ id_charge_code: string | null;
992193
+ id_cost_currency: string | null;
992194
+ id_cost_latest_system_rate: string | null;
992195
+ id_cost_creditor: string | null;
992196
+ id_cost_tax_rate: string | null;
992197
+ id_cost_apportion_method: string | null;
992198
+ cost_base_rate: Decimal$1 | null;
992199
+ cost_currency_amount: Decimal$1 | null;
992200
+ cost_currency_estimated_amount: Decimal$1 | null;
992201
+ cost_local_currency_amount: Decimal$1 | null;
992202
+ cost_invoice_number: string | null;
992203
+ cost_invoice_date: Date | null;
992204
+ cost_tax_amount: Decimal$1 | null;
992205
+ cost_supplier_reference: string | null;
992206
+ is_cost_posted: boolean | null;
992207
+ id_forwarding_consol_billing_detail_cost: string | null;
992208
+ id_forwarding_shipment_billing_detail_copy: string | null;
992209
+ id_forwarding_consol_billing_detail_cost_copy: string | null;
992210
+ } | undefined)[] | undefined;
992211
+ } | undefined;
992212
+ meta: object;
992213
+ }>;
992214
+ upsertBatch: MutationProcedure<{
992215
+ input: {
992216
+ create?: {
992217
+ is_active?: string | number | boolean | null | undefined;
992218
+ id_billing_ap_transaction?: string | number | boolean | null | undefined;
992219
+ id_forwarding_shipment_billing_detail_copy?: string | number | boolean | null | undefined;
992220
+ id_forwarding_consol_billing_detail_cost_copy?: string | number | boolean | null | undefined;
992221
+ id_forwarding_consol_billing_detail_cost?: string | number | boolean | null | undefined;
992222
+ ids_cost_system_rate?: (string | number | boolean)[] | null | undefined;
992223
+ id_charge_code?: string | number | boolean | null | undefined;
992224
+ id_cost_currency?: string | number | boolean | null | undefined;
992225
+ id_cost_latest_system_rate?: string | number | boolean | null | undefined;
992226
+ id_cost_creditor?: string | number | boolean | null | undefined;
992227
+ id_cost_tax_rate?: string | number | boolean | null | undefined;
992228
+ id_cost_apportion_method?: string | number | boolean | null | undefined;
992229
+ code?: string | number | boolean | null | undefined;
992230
+ name?: string | number | boolean | null | undefined;
992231
+ cost_base_rate?: string | number | boolean | null | undefined;
992232
+ cost_currency_amount?: string | number | boolean | null | undefined;
992233
+ cost_currency_estimated_amount?: string | number | boolean | null | undefined;
992234
+ cost_local_currency_amount?: string | number | boolean | null | undefined;
992235
+ cost_invoice_number?: string | number | boolean | null | undefined;
992236
+ cost_invoice_date?: string | number | boolean | null | undefined;
992237
+ cost_tax_amount?: string | number | boolean | null | undefined;
992238
+ cost_supplier_reference?: string | number | boolean | null | undefined;
992239
+ is_cost_posted?: string | number | boolean | null | undefined;
992240
+ }[] | undefined;
992241
+ update?: {
992242
+ is_system?: (string | number | boolean)[] | null | undefined;
992243
+ id?: string | number | boolean | null | undefined;
992244
+ logic_code?: string | number | boolean | null | undefined;
992245
+ is_active?: string | number | boolean | null | undefined;
992246
+ id_billing_ap_transaction?: string | number | boolean | null | undefined;
992247
+ id_forwarding_shipment_billing_detail_copy?: string | number | boolean | null | undefined;
992248
+ id_forwarding_consol_billing_detail_cost_copy?: string | number | boolean | null | undefined;
992249
+ id_forwarding_consol_billing_detail_cost?: string | number | boolean | null | undefined;
992250
+ ids_cost_system_rate?: (string | number | boolean)[] | null | undefined;
992251
+ id_charge_code?: string | number | boolean | null | undefined;
992252
+ id_cost_currency?: string | number | boolean | null | undefined;
992253
+ id_cost_latest_system_rate?: string | number | boolean | null | undefined;
992254
+ id_cost_creditor?: string | number | boolean | null | undefined;
992255
+ id_cost_tax_rate?: string | number | boolean | null | undefined;
992256
+ id_cost_apportion_method?: string | number | boolean | null | undefined;
992257
+ code?: string | number | boolean | null | undefined;
992258
+ name?: string | number | boolean | null | undefined;
992259
+ cost_base_rate?: string | number | boolean | null | undefined;
992260
+ cost_currency_amount?: string | number | boolean | null | undefined;
992261
+ cost_currency_estimated_amount?: string | number | boolean | null | undefined;
992262
+ cost_local_currency_amount?: string | number | boolean | null | undefined;
992263
+ cost_invoice_number?: string | number | boolean | null | undefined;
992264
+ cost_invoice_date?: string | number | boolean | null | undefined;
992265
+ cost_tax_amount?: string | number | boolean | null | undefined;
992266
+ cost_supplier_reference?: string | number | boolean | null | undefined;
992267
+ is_cost_posted?: string | number | boolean | null | undefined;
992268
+ }[] | undefined;
992269
+ };
992270
+ output: {
992271
+ created_data: ({
992272
+ data: {
992273
+ is_active: boolean | null;
992274
+ id: string;
992275
+ logic_code: string | null;
992276
+ name: string | null;
992277
+ code: string | null;
992278
+ created_at: Date | null;
992279
+ created_by: string | null;
992280
+ updated_at: Date | null;
992281
+ updated_by: string | null;
992282
+ id_billing_ap_transaction: string | null;
992283
+ id_charge_code: string | null;
992284
+ id_cost_currency: string | null;
992285
+ id_cost_latest_system_rate: string | null;
992286
+ id_cost_creditor: string | null;
992287
+ id_cost_tax_rate: string | null;
992288
+ id_cost_apportion_method: string | null;
992289
+ cost_base_rate: Decimal$1 | null;
992290
+ cost_currency_amount: Decimal$1 | null;
992291
+ cost_currency_estimated_amount: Decimal$1 | null;
992292
+ cost_local_currency_amount: Decimal$1 | null;
992293
+ cost_invoice_number: string | null;
992294
+ cost_invoice_date: Date | null;
992295
+ cost_tax_amount: Decimal$1 | null;
992296
+ cost_supplier_reference: string | null;
992297
+ is_cost_posted: boolean | null;
992298
+ id_forwarding_consol_billing_detail_cost: string | null;
992299
+ id_forwarding_shipment_billing_detail_copy: string | null;
992300
+ id_forwarding_consol_billing_detail_cost_copy: string | null;
992301
+ };
992302
+ log: {
992303
+ id: string;
992304
+ params: SimpleJson;
992305
+ id_log_type: string | null;
992306
+ url: string | null;
992307
+ action: string | null;
992308
+ action_by: string | null;
992309
+ action_id: string | null;
992310
+ action_at: Date | null;
992311
+ id_billing_ap_transaction_line: string | null;
992312
+ } | undefined;
992313
+ } | undefined)[];
992314
+ updated_data: ({
992315
+ data: {
992316
+ is_active: boolean | null;
992317
+ id: string;
992318
+ logic_code: string | null;
992319
+ name: string | null;
992320
+ code: string | null;
992321
+ created_at: Date | null;
992322
+ created_by: string | null;
992323
+ updated_at: Date | null;
992324
+ updated_by: string | null;
992325
+ id_billing_ap_transaction: string | null;
992326
+ id_charge_code: string | null;
992327
+ id_cost_currency: string | null;
992328
+ id_cost_latest_system_rate: string | null;
992329
+ id_cost_creditor: string | null;
992330
+ id_cost_tax_rate: string | null;
992331
+ id_cost_apportion_method: string | null;
992332
+ cost_base_rate: Decimal$1 | null;
992333
+ cost_currency_amount: Decimal$1 | null;
992334
+ cost_currency_estimated_amount: Decimal$1 | null;
992335
+ cost_local_currency_amount: Decimal$1 | null;
992336
+ cost_invoice_number: string | null;
992337
+ cost_invoice_date: Date | null;
992338
+ cost_tax_amount: Decimal$1 | null;
992339
+ cost_supplier_reference: string | null;
992340
+ is_cost_posted: boolean | null;
992341
+ id_forwarding_consol_billing_detail_cost: string | null;
992342
+ id_forwarding_shipment_billing_detail_copy: string | null;
992343
+ id_forwarding_consol_billing_detail_cost_copy: string | null;
992344
+ };
992345
+ log: {
992346
+ id: string;
992347
+ params: SimpleJson;
992348
+ id_log_type: string | null;
992349
+ url: string | null;
992350
+ action: string | null;
992351
+ action_by: string | null;
992352
+ action_id: string | null;
992353
+ action_at: Date | null;
992354
+ id_billing_ap_transaction_line: string | null;
992355
+ } | undefined;
992356
+ } | undefined)[];
992357
+ } | undefined;
992358
+ meta: object;
992359
+ }>;
992360
+ }>>;
992361
+ }>>;
992362
+ }>>;
992363
+ type OutflowRouter = typeof outflowRouter;
992364
+ //#endregion
987667
992365
  //#region src/features/human-capital/human-capital.routes.d.ts
987668
992366
  declare const humanCapitalRouter: BuiltRouter<{
987669
992367
  ctx: Context;
@@ -1036880,5 +1041578,5 @@ type UploadsRouter = typeof uploadsRouter;
1036880
1041578
  declare const appRouter: AnyRouter;
1036881
1041579
  type AppRouter = typeof appRouter;
1036882
1041580
  //#endregion
1036883
- export { type AppRouter, type BookingsRouter, type ConsolidationsRouter, type Context, type CustomsRouter, type HumanCapitalRouter, type SettingsRouter, type ShipmentsRouter, type SyncprocRouter, type SystemRouter, type UploadsRouter };
1041581
+ export { type AppRouter, type BookingsRouter, type ConsolidationsRouter, type Context, type CustomsRouter, type HumanCapitalRouter, type InflowRouter, type OutflowRouter, type SettingsRouter, type ShipmentsRouter, type SyncprocRouter, type SystemRouter, type UploadsRouter };
1036884
1041582
  //# sourceMappingURL=index.d.ts.map