@be-logixpair/api 0.0.54 → 0.0.56

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 +1308 -134
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -668038,7 +668038,7 @@ declare const appRouter: BuiltRouter<{
668038
668038
  id_transaction_restriction?: string | number | bigint | null | undefined;
668039
668039
  id_agreed_payment_method?: string | number | bigint | null | undefined;
668040
668040
  id_tax_type?: string | number | bigint | null | undefined;
668041
- credit_limit?: number | null | undefined;
668041
+ credit_limit?: string | null | undefined;
668042
668042
  tntd_days?: number | null | undefined;
668043
668043
  };
668044
668044
  output: {
@@ -668088,7 +668088,7 @@ declare const appRouter: BuiltRouter<{
668088
668088
  id_transaction_restriction?: string | number | bigint | null | undefined;
668089
668089
  id_agreed_payment_method?: string | number | bigint | null | undefined;
668090
668090
  id_tax_type?: string | number | bigint | null | undefined;
668091
- credit_limit?: number | null | undefined;
668091
+ credit_limit?: string | null | undefined;
668092
668092
  tntd_days?: number | null | undefined;
668093
668093
  };
668094
668094
  output: {
@@ -668153,6 +668153,559 @@ declare const appRouter: BuiltRouter<{
668153
668153
  };
668154
668154
  meta: object;
668155
668155
  }>;
668156
+ accountBankDetails: BuiltRouter<{
668157
+ ctx: Context;
668158
+ meta: object;
668159
+ errorShape: DefaultErrorShape;
668160
+ transformer: false;
668161
+ }, DecorateCreateRouterOptions<{
668162
+ get: MutationProcedure<{
668163
+ input: {
668164
+ search?: string | null | undefined;
668165
+ take?: string | number | null | undefined;
668166
+ skip?: string | number | null | undefined;
668167
+ is_active?: (string | boolean)[] | null | undefined;
668168
+ is_system?: (string | boolean)[] | null | undefined;
668169
+ ids_include?: (string | number | bigint)[] | null | undefined;
668170
+ ids_exclude?: (string | number | bigint)[] | null | undefined;
668171
+ logic_codes_include?: string[] | null | undefined;
668172
+ logic_codes_exclude?: string[] | null | undefined;
668173
+ order_by?: {
668174
+ field: string;
668175
+ direction: "asc" | "desc";
668176
+ } | null | undefined;
668177
+ order_bys?: {
668178
+ field: string;
668179
+ direction: "asc" | "desc";
668180
+ }[] | null | undefined;
668181
+ id_account_payable?: string | number | bigint | null | undefined;
668182
+ ids_account_payable?: (string | number | bigint)[] | null | undefined;
668183
+ id_currency?: string | number | bigint | null | undefined;
668184
+ ids_currency?: (string | number | bigint)[] | null | undefined;
668185
+ id_bank_account?: string | number | bigint | null | undefined;
668186
+ ids_bank_account?: (string | number | bigint)[] | null | undefined;
668187
+ id_charge_code?: string | number | bigint | null | undefined;
668188
+ ids_charge_code?: (string | number | bigint)[] | null | undefined;
668189
+ id_settlement_group?: string | number | bigint | null | undefined;
668190
+ ids_settlement_group?: (string | number | bigint)[] | null | undefined;
668191
+ is_default?: (string | boolean)[] | null | undefined;
668192
+ };
668193
+ output: {
668194
+ data: {
668195
+ currency: {
668196
+ symbol: string | null;
668197
+ is_active: boolean | null;
668198
+ id: string;
668199
+ logic_code: string | null;
668200
+ created_at: Date | null;
668201
+ created_by: string | null;
668202
+ updated_at: Date | null;
668203
+ updated_by: string | null;
668204
+ currency_code: string | null;
668205
+ currency_name: string | null;
668206
+ major_unit: string | null;
668207
+ minor_unit: string | null;
668208
+ decimal_unit: number | null;
668209
+ iso_decimal: number | null;
668210
+ } | null;
668211
+ account_payable: {
668212
+ is_active: boolean | null;
668213
+ id_company: string | null;
668214
+ id: string;
668215
+ logic_code: string | null;
668216
+ id_organization: string | null;
668217
+ created_at: Date | null;
668218
+ created_by: string | null;
668219
+ updated_at: Date | null;
668220
+ updated_by: string | null;
668221
+ id_account_group: string | null;
668222
+ id_account_relationship: string | null;
668223
+ id_consolidation_category: string | null;
668224
+ id_transaction_restriction: string | null;
668225
+ id_agreed_payment_method: string | null;
668226
+ id_tax_type: string | null;
668227
+ credit_limit: Decimal | null;
668228
+ tntd_days: number | null;
668229
+ } | null;
668230
+ bank_account: {
668231
+ is_active: boolean | null;
668232
+ id_company: string | null;
668233
+ id_branch: string | null;
668234
+ id_country: string | null;
668235
+ id: string;
668236
+ logic_code: string | null;
668237
+ name: string | null;
668238
+ created_at: Date | null;
668239
+ created_by: string | null;
668240
+ updated_at: Date | null;
668241
+ updated_by: string | null;
668242
+ code: string | null;
668243
+ id_currency: string | null;
668244
+ id_type: string | null;
668245
+ id_gl_account: string | null;
668246
+ id_os_balance_currency: string | null;
668247
+ id_local_balance_currency: string | null;
668248
+ bank_name: string | null;
668249
+ bank_address: string | null;
668250
+ bank_account_name: string | null;
668251
+ bank_account_number: string | null;
668252
+ bank_bsb_number: string | null;
668253
+ bank_swift_code: string | null;
668254
+ bank_iban_code: string | null;
668255
+ bank_unique_account_number: string | null;
668256
+ opening_os_balance: Decimal | null;
668257
+ opening_local_balance: Decimal | null;
668258
+ is_detailed_deposit_slip: boolean | null;
668259
+ is_default_receipt_account: boolean | null;
668260
+ } | null;
668261
+ charge_code: {
668262
+ is_active: boolean | null;
668263
+ id: string;
668264
+ logic_code: string | null;
668265
+ name: string | null;
668266
+ created_at: Date | null;
668267
+ created_by: string | null;
668268
+ updated_at: Date | null;
668269
+ updated_by: string | null;
668270
+ code: string | null;
668271
+ id_department: string | null;
668272
+ id_type: string | null;
668273
+ id_wht_type: string | null;
668274
+ id_tax_rate: string | null;
668275
+ id_revenue: string | null;
668276
+ id_wip: string | null;
668277
+ id_cost: string | null;
668278
+ id_accrual: string | null;
668279
+ id_sales_group: string | null;
668280
+ id_expense_group: string | null;
668281
+ id_group: string | null;
668282
+ id_sub_group: string | null;
668283
+ id_rate_calculation: string | null;
668284
+ id_incoterm: string | null;
668285
+ remarks: string | null;
668286
+ margin: Decimal | null;
668287
+ is_show_on_console: boolean | null;
668288
+ is_show_on_quote: boolean | null;
668289
+ is_show_if_zero: boolean | null;
668290
+ } | null;
668291
+ settlement_group: {
668292
+ is_active: boolean | null;
668293
+ id: string;
668294
+ logic_code: string | null;
668295
+ name: string | null;
668296
+ created_at: Date | null;
668297
+ created_by: string | null;
668298
+ updated_at: Date | null;
668299
+ updated_by: string | null;
668300
+ code: string | null;
668301
+ } | null;
668302
+ is_active: boolean | null;
668303
+ id: string;
668304
+ logic_code: string | null;
668305
+ created_at: Date | null;
668306
+ created_by: string | null;
668307
+ updated_at: Date | null;
668308
+ updated_by: string | null;
668309
+ id_currency: string | null;
668310
+ id_account_payable: string | null;
668311
+ id_bank_account: string | null;
668312
+ id_charge_code: string | null;
668313
+ id_settlement_group: string | null;
668314
+ is_default: boolean | null;
668315
+ }[] | undefined;
668316
+ total: number | undefined;
668317
+ };
668318
+ meta: object;
668319
+ }>;
668320
+ getDetail: MutationProcedure<{
668321
+ input: {
668322
+ id?: string | number | bigint | null | undefined;
668323
+ logic_code?: string | null | undefined;
668324
+ };
668325
+ output: {
668326
+ data: {
668327
+ _count: {
668328
+ account_payable: number;
668329
+ currency: number;
668330
+ bank_account: number;
668331
+ charge_code: number;
668332
+ settlement_group: number;
668333
+ organization_account_bank_detail_logs: number;
668334
+ };
668335
+ currency: {
668336
+ symbol: string | null;
668337
+ is_active: boolean | null;
668338
+ id: string;
668339
+ logic_code: string | null;
668340
+ created_at: Date | null;
668341
+ created_by: string | null;
668342
+ updated_at: Date | null;
668343
+ updated_by: string | null;
668344
+ currency_code: string | null;
668345
+ currency_name: string | null;
668346
+ major_unit: string | null;
668347
+ minor_unit: string | null;
668348
+ decimal_unit: number | null;
668349
+ iso_decimal: number | null;
668350
+ } | null;
668351
+ account_payable: {
668352
+ organization: {
668353
+ is_active: boolean | null;
668354
+ id_company: string | null;
668355
+ id_branch: string | null;
668356
+ id_business_category: string | null;
668357
+ id_country: string | null;
668358
+ id_state: string | null;
668359
+ id_city: string | null;
668360
+ id_postal_code: string | null;
668361
+ id_un_locode: string | null;
668362
+ id_controlling_branch: string | null;
668363
+ id_airline: string | null;
668364
+ id_shipping_line: string | null;
668365
+ is_receipt_account: boolean | null;
668366
+ is_payment_account: boolean | null;
668367
+ is_shipper: boolean | null;
668368
+ is_consignee: boolean | null;
668369
+ is_transport_client: boolean | null;
668370
+ is_warehouse: boolean | null;
668371
+ is_forwarder: boolean | null;
668372
+ is_broker: boolean | null;
668373
+ is_service: boolean | null;
668374
+ is_controlling_customer: boolean | null;
668375
+ is_controlling_agent: boolean | null;
668376
+ is_internal_organization: boolean | null;
668377
+ id: string;
668378
+ logic_code: string | null;
668379
+ name: string | null;
668380
+ created_at: Date | null;
668381
+ created_by: string | null;
668382
+ updated_at: Date | null;
668383
+ updated_by: string | null;
668384
+ code: string | null;
668385
+ phone: string | null;
668386
+ email: string | null;
668387
+ website_url: string | null;
668388
+ company_number: string | null;
668389
+ company_tax_number: string | null;
668390
+ } | null;
668391
+ company: {
668392
+ is_active: boolean | null;
668393
+ id_country: string | null;
668394
+ id_state: string | null;
668395
+ id_city: string | null;
668396
+ id_postal_code: string | null;
668397
+ id_un_locode: string | null;
668398
+ id: string;
668399
+ logic_code: string | null;
668400
+ name: string | null;
668401
+ created_at: Date | null;
668402
+ created_by: string | null;
668403
+ updated_at: Date | null;
668404
+ updated_by: string | null;
668405
+ code: string | null;
668406
+ address: string | null;
668407
+ } | null;
668408
+ is_active: boolean | null;
668409
+ id_company: string | null;
668410
+ id: string;
668411
+ logic_code: string | null;
668412
+ id_organization: string | null;
668413
+ created_at: Date | null;
668414
+ created_by: string | null;
668415
+ updated_at: Date | null;
668416
+ updated_by: string | null;
668417
+ id_account_group: string | null;
668418
+ id_account_relationship: string | null;
668419
+ id_consolidation_category: string | null;
668420
+ id_transaction_restriction: string | null;
668421
+ id_agreed_payment_method: string | null;
668422
+ id_tax_type: string | null;
668423
+ credit_limit: Decimal | null;
668424
+ tntd_days: number | null;
668425
+ } | null;
668426
+ bank_account: {
668427
+ is_active: boolean | null;
668428
+ id_company: string | null;
668429
+ id_branch: string | null;
668430
+ id_country: string | null;
668431
+ id: string;
668432
+ logic_code: string | null;
668433
+ name: string | null;
668434
+ created_at: Date | null;
668435
+ created_by: string | null;
668436
+ updated_at: Date | null;
668437
+ updated_by: string | null;
668438
+ code: string | null;
668439
+ id_currency: string | null;
668440
+ id_type: string | null;
668441
+ id_gl_account: string | null;
668442
+ id_os_balance_currency: string | null;
668443
+ id_local_balance_currency: string | null;
668444
+ bank_name: string | null;
668445
+ bank_address: string | null;
668446
+ bank_account_name: string | null;
668447
+ bank_account_number: string | null;
668448
+ bank_bsb_number: string | null;
668449
+ bank_swift_code: string | null;
668450
+ bank_iban_code: string | null;
668451
+ bank_unique_account_number: string | null;
668452
+ opening_os_balance: Decimal | null;
668453
+ opening_local_balance: Decimal | null;
668454
+ is_detailed_deposit_slip: boolean | null;
668455
+ is_default_receipt_account: boolean | null;
668456
+ } | null;
668457
+ charge_code: {
668458
+ is_active: boolean | null;
668459
+ id: string;
668460
+ logic_code: string | null;
668461
+ name: string | null;
668462
+ created_at: Date | null;
668463
+ created_by: string | null;
668464
+ updated_at: Date | null;
668465
+ updated_by: string | null;
668466
+ code: string | null;
668467
+ id_department: string | null;
668468
+ id_type: string | null;
668469
+ id_wht_type: string | null;
668470
+ id_tax_rate: string | null;
668471
+ id_revenue: string | null;
668472
+ id_wip: string | null;
668473
+ id_cost: string | null;
668474
+ id_accrual: string | null;
668475
+ id_sales_group: string | null;
668476
+ id_expense_group: string | null;
668477
+ id_group: string | null;
668478
+ id_sub_group: string | null;
668479
+ id_rate_calculation: string | null;
668480
+ id_incoterm: string | null;
668481
+ remarks: string | null;
668482
+ margin: Decimal | null;
668483
+ is_show_on_console: boolean | null;
668484
+ is_show_on_quote: boolean | null;
668485
+ is_show_if_zero: boolean | null;
668486
+ } | null;
668487
+ settlement_group: {
668488
+ is_active: boolean | null;
668489
+ id: string;
668490
+ logic_code: string | null;
668491
+ name: string | null;
668492
+ created_at: Date | null;
668493
+ created_by: string | null;
668494
+ updated_at: Date | null;
668495
+ updated_by: string | null;
668496
+ code: string | null;
668497
+ } | null;
668498
+ is_active: boolean | null;
668499
+ id: string;
668500
+ logic_code: string | null;
668501
+ created_at: Date | null;
668502
+ created_by: string | null;
668503
+ updated_at: Date | null;
668504
+ updated_by: string | null;
668505
+ id_currency: string | null;
668506
+ id_account_payable: string | null;
668507
+ id_bank_account: string | null;
668508
+ id_charge_code: string | null;
668509
+ id_settlement_group: string | null;
668510
+ is_default: boolean | null;
668511
+ };
668512
+ };
668513
+ meta: object;
668514
+ }>;
668515
+ histories: BuiltRouter<{
668516
+ ctx: Context;
668517
+ meta: object;
668518
+ errorShape: DefaultErrorShape;
668519
+ transformer: false;
668520
+ }, DecorateCreateRouterOptions<{
668521
+ get: MutationProcedure<{
668522
+ input: {
668523
+ search?: string | null | undefined;
668524
+ take?: string | number | null | undefined;
668525
+ skip?: string | number | null | undefined;
668526
+ is_active?: (string | boolean)[] | null | undefined;
668527
+ is_system?: (string | boolean)[] | null | undefined;
668528
+ ids_include?: (string | number | bigint)[] | null | undefined;
668529
+ ids_exclude?: (string | number | bigint)[] | null | undefined;
668530
+ logic_codes_include?: string[] | null | undefined;
668531
+ logic_codes_exclude?: string[] | null | undefined;
668532
+ order_by?: {
668533
+ field: string;
668534
+ direction: "asc" | "desc";
668535
+ } | null | undefined;
668536
+ order_bys?: {
668537
+ field: string;
668538
+ direction: "asc" | "desc";
668539
+ }[] | null | undefined;
668540
+ id_log_type?: string | number | bigint | null | undefined;
668541
+ ids_log_type?: (string | number | bigint)[] | null | undefined;
668542
+ id_organization_account_bank_detail?: string | number | bigint | null | undefined;
668543
+ ids_organization_account_bank_detail?: (string | number | bigint)[] | null | undefined;
668544
+ };
668545
+ output: {
668546
+ data: {
668547
+ log_type: {
668548
+ is_active: boolean | null;
668549
+ id: bigint;
668550
+ logic_code: string | null;
668551
+ name: string | null;
668552
+ created_at: Date | null;
668553
+ created_by: string | null;
668554
+ updated_at: Date | null;
668555
+ updated_by: string | null;
668556
+ } | null;
668557
+ id: bigint;
668558
+ id_log_type: bigint | null;
668559
+ url: string | null;
668560
+ params: SimpleJson;
668561
+ action: string | null;
668562
+ action_by: string | null;
668563
+ action_id: string | null;
668564
+ action_at: Date | null;
668565
+ id_organization_account_bank_detail: bigint | null;
668566
+ }[] | undefined;
668567
+ total: number | undefined;
668568
+ };
668569
+ meta: object;
668570
+ }>;
668571
+ getDetail: MutationProcedure<{
668572
+ input: {
668573
+ id?: string | number | bigint | null | undefined;
668574
+ logic_code?: string | null | undefined;
668575
+ };
668576
+ output: {
668577
+ data: {
668578
+ log_type: {
668579
+ is_active: boolean | null;
668580
+ id: bigint;
668581
+ logic_code: string | null;
668582
+ name: string | null;
668583
+ created_at: Date | null;
668584
+ created_by: string | null;
668585
+ updated_at: Date | null;
668586
+ updated_by: string | null;
668587
+ } | null;
668588
+ id: bigint;
668589
+ id_log_type: bigint | null;
668590
+ url: string | null;
668591
+ params: SimpleJson;
668592
+ action: string | null;
668593
+ action_by: string | null;
668594
+ action_id: string | null;
668595
+ action_at: Date | null;
668596
+ id_organization_account_bank_detail: bigint | null;
668597
+ } | undefined;
668598
+ };
668599
+ meta: object;
668600
+ }>;
668601
+ }>>;
668602
+ create: MutationProcedure<{
668603
+ input: {
668604
+ is_active?: boolean | undefined;
668605
+ id_account_payable?: string | number | bigint | null | undefined;
668606
+ id_currency?: string | number | bigint | null | undefined;
668607
+ id_bank_account?: string | number | bigint | null | undefined;
668608
+ id_charge_code?: string | number | bigint | null | undefined;
668609
+ id_settlement_group?: string | number | bigint | null | undefined;
668610
+ is_default?: string | boolean | null | undefined;
668611
+ };
668612
+ output: {
668613
+ data: {
668614
+ is_active: boolean | null;
668615
+ id: string;
668616
+ logic_code: string | null;
668617
+ created_at: Date | null;
668618
+ created_by: string | null;
668619
+ updated_at: Date | null;
668620
+ updated_by: string | null;
668621
+ id_currency: string | null;
668622
+ id_account_payable: string | null;
668623
+ id_bank_account: string | null;
668624
+ id_charge_code: string | null;
668625
+ id_settlement_group: string | null;
668626
+ is_default: boolean | null;
668627
+ } | undefined;
668628
+ log: {
668629
+ id: string;
668630
+ id_log_type: string | null;
668631
+ url: string | null;
668632
+ params: SimpleJson;
668633
+ action: string | null;
668634
+ action_by: string | null;
668635
+ action_id: string | null;
668636
+ action_at: Date | null;
668637
+ id_organization_account_bank_detail: string | null;
668638
+ } | undefined;
668639
+ };
668640
+ meta: object;
668641
+ }>;
668642
+ update: MutationProcedure<{
668643
+ input: {
668644
+ id?: string | number | bigint | null | undefined;
668645
+ logic_code?: string | null | undefined;
668646
+ is_active?: boolean | undefined;
668647
+ id_account_payable?: string | number | bigint | null | undefined;
668648
+ id_currency?: string | number | bigint | null | undefined;
668649
+ id_bank_account?: string | number | bigint | null | undefined;
668650
+ id_charge_code?: string | number | bigint | null | undefined;
668651
+ id_settlement_group?: string | number | bigint | null | undefined;
668652
+ is_default?: string | boolean | null | undefined;
668653
+ };
668654
+ output: {
668655
+ data: {
668656
+ is_active: boolean | null;
668657
+ id: string;
668658
+ logic_code: string | null;
668659
+ created_at: Date | null;
668660
+ created_by: string | null;
668661
+ updated_at: Date | null;
668662
+ updated_by: string | null;
668663
+ id_currency: string | null;
668664
+ id_account_payable: string | null;
668665
+ id_bank_account: string | null;
668666
+ id_charge_code: string | null;
668667
+ id_settlement_group: string | null;
668668
+ is_default: boolean | null;
668669
+ } | undefined;
668670
+ log: {
668671
+ id: string;
668672
+ id_log_type: string | null;
668673
+ url: string | null;
668674
+ params: SimpleJson;
668675
+ action: string | null;
668676
+ action_by: string | null;
668677
+ action_id: string | null;
668678
+ action_at: Date | null;
668679
+ id_organization_account_bank_detail: string | null;
668680
+ } | undefined;
668681
+ };
668682
+ meta: object;
668683
+ }>;
668684
+ delete: MutationProcedure<{
668685
+ input: {
668686
+ id?: string | number | bigint | null | undefined;
668687
+ ids?: (string | number | bigint)[] | null | undefined;
668688
+ };
668689
+ output: {
668690
+ data: ({
668691
+ is_active: boolean | null;
668692
+ id: string;
668693
+ logic_code: string | null;
668694
+ created_at: Date | null;
668695
+ created_by: string | null;
668696
+ updated_at: Date | null;
668697
+ updated_by: string | null;
668698
+ id_currency: string | null;
668699
+ id_account_payable: string | null;
668700
+ id_bank_account: string | null;
668701
+ id_charge_code: string | null;
668702
+ id_settlement_group: string | null;
668703
+ is_default: boolean | null;
668704
+ } | undefined)[] | undefined;
668705
+ };
668706
+ meta: object;
668707
+ }>;
668708
+ }>>;
668156
668709
  }>>;
668157
668710
  accountReceivableDetails: BuiltRouter<{
668158
668711
  ctx: Context;
@@ -668309,22 +668862,6 @@ declare const appRouter: BuiltRouter<{
668309
668862
  code: string | null;
668310
668863
  address: string | null;
668311
668864
  } | null;
668312
- default_currency: {
668313
- symbol: string | null;
668314
- is_active: boolean | null;
668315
- id: string;
668316
- logic_code: string | null;
668317
- created_at: Date | null;
668318
- created_by: string | null;
668319
- updated_at: Date | null;
668320
- updated_by: string | null;
668321
- currency_code: string | null;
668322
- currency_name: string | null;
668323
- major_unit: string | null;
668324
- minor_unit: string | null;
668325
- decimal_unit: number | null;
668326
- iso_decimal: number | null;
668327
- } | null;
668328
668865
  organization_account_credit_control_settlement: {
668329
668866
  is_active: boolean | null;
668330
668867
  id: string;
@@ -668336,21 +668873,37 @@ declare const appRouter: BuiltRouter<{
668336
668873
  id_agreed_payment_method: string | null;
668337
668874
  credit_limit: Decimal | null;
668338
668875
  tntd_days: number | null;
668876
+ id_settlement_group: string | null;
668339
668877
  is_global: boolean | null;
668340
668878
  id_account_receivable: string | null;
668341
668879
  id_credit_rating: string | null;
668342
- id_settlement_group: string | null;
668343
668880
  id_tntd_job_type: string | null;
668344
668881
  id_tntd_branch: string | null;
668345
668882
  id_tntd_department: string | null;
668346
- temporary_credit_limit_increase: Decimal | null;
668347
- temporary_credit_limit: Decimal | null;
668348
- account_credit_review_due: number | null;
668349
- temporary_credit_limit_expiration_date: Date | null;
668350
668883
  is_use_settlement_group_credit_limit: boolean | null;
668351
668884
  is_credit_approved: boolean | null;
668352
668885
  is_credit_on_hold: boolean | null;
668353
668886
  is_no_checking_overdue: boolean | null;
668887
+ temporary_credit_limit_increase: Decimal | null;
668888
+ temporary_credit_limit: Decimal | null;
668889
+ account_credit_review_due: number | null;
668890
+ temporary_credit_limit_expiration_date: Date | null;
668891
+ } | null;
668892
+ default_currency: {
668893
+ symbol: string | null;
668894
+ is_active: boolean | null;
668895
+ id: string;
668896
+ logic_code: string | null;
668897
+ created_at: Date | null;
668898
+ created_by: string | null;
668899
+ updated_at: Date | null;
668900
+ updated_by: string | null;
668901
+ currency_code: string | null;
668902
+ currency_name: string | null;
668903
+ major_unit: string | null;
668904
+ minor_unit: string | null;
668905
+ decimal_unit: number | null;
668906
+ iso_decimal: number | null;
668354
668907
  } | null;
668355
668908
  is_active: boolean | null;
668356
668909
  id_company: string | null;
@@ -668503,23 +669056,7 @@ declare const appRouter: BuiltRouter<{
668503
669056
  code: string | null;
668504
669057
  address: string | null;
668505
669058
  } | null;
668506
- default_currency: {
668507
- symbol: string | null;
668508
- is_active: boolean | null;
668509
- id: string;
668510
- logic_code: string | null;
668511
- created_at: Date | null;
668512
- created_by: string | null;
668513
- updated_at: Date | null;
668514
- updated_by: string | null;
668515
- currency_code: string | null;
668516
- currency_name: string | null;
668517
- major_unit: string | null;
668518
- minor_unit: string | null;
668519
- decimal_unit: number | null;
668520
- iso_decimal: number | null;
668521
- } | null;
668522
- organization_account_credit_control_settlement: {
669059
+ organization_account_credit_control_settlement: {
668523
669060
  is_active: boolean | null;
668524
669061
  id: string;
668525
669062
  logic_code: string | null;
@@ -668530,21 +669067,37 @@ declare const appRouter: BuiltRouter<{
668530
669067
  id_agreed_payment_method: string | null;
668531
669068
  credit_limit: Decimal | null;
668532
669069
  tntd_days: number | null;
669070
+ id_settlement_group: string | null;
668533
669071
  is_global: boolean | null;
668534
669072
  id_account_receivable: string | null;
668535
669073
  id_credit_rating: string | null;
668536
- id_settlement_group: string | null;
668537
669074
  id_tntd_job_type: string | null;
668538
669075
  id_tntd_branch: string | null;
668539
669076
  id_tntd_department: string | null;
668540
- temporary_credit_limit_increase: Decimal | null;
668541
- temporary_credit_limit: Decimal | null;
668542
- account_credit_review_due: number | null;
668543
- temporary_credit_limit_expiration_date: Date | null;
668544
669077
  is_use_settlement_group_credit_limit: boolean | null;
668545
669078
  is_credit_approved: boolean | null;
668546
669079
  is_credit_on_hold: boolean | null;
668547
669080
  is_no_checking_overdue: boolean | null;
669081
+ temporary_credit_limit_increase: Decimal | null;
669082
+ temporary_credit_limit: Decimal | null;
669083
+ account_credit_review_due: number | null;
669084
+ temporary_credit_limit_expiration_date: Date | null;
669085
+ } | null;
669086
+ default_currency: {
669087
+ symbol: string | null;
669088
+ is_active: boolean | null;
669089
+ id: string;
669090
+ logic_code: string | null;
669091
+ created_at: Date | null;
669092
+ created_by: string | null;
669093
+ updated_at: Date | null;
669094
+ updated_by: string | null;
669095
+ currency_code: string | null;
669096
+ currency_name: string | null;
669097
+ major_unit: string | null;
669098
+ minor_unit: string | null;
669099
+ decimal_unit: number | null;
669100
+ iso_decimal: number | null;
668548
669101
  } | null;
668549
669102
  is_active: boolean | null;
668550
669103
  id_company: string | null;
@@ -668774,6 +669327,627 @@ declare const appRouter: BuiltRouter<{
668774
669327
  };
668775
669328
  meta: object;
668776
669329
  }>;
669330
+ accountCreditControlSettlements: BuiltRouter<{
669331
+ ctx: Context;
669332
+ meta: object;
669333
+ errorShape: DefaultErrorShape;
669334
+ transformer: false;
669335
+ }, DecorateCreateRouterOptions<{
669336
+ get: MutationProcedure<{
669337
+ input: {
669338
+ search?: string | null | undefined;
669339
+ take?: string | number | null | undefined;
669340
+ skip?: string | number | null | undefined;
669341
+ is_active?: (string | boolean)[] | null | undefined;
669342
+ is_system?: (string | boolean)[] | null | undefined;
669343
+ ids_include?: (string | number | bigint)[] | null | undefined;
669344
+ ids_exclude?: (string | number | bigint)[] | null | undefined;
669345
+ logic_codes_include?: string[] | null | undefined;
669346
+ logic_codes_exclude?: string[] | null | undefined;
669347
+ order_by?: {
669348
+ field: string;
669349
+ direction: "asc" | "desc";
669350
+ } | null | undefined;
669351
+ order_bys?: {
669352
+ field: string;
669353
+ direction: "asc" | "desc";
669354
+ }[] | null | undefined;
669355
+ id_account_receivable?: string | number | bigint | null | undefined;
669356
+ ids_account_receivable?: (string | number | bigint)[] | null | undefined;
669357
+ id_credit_rating?: string | number | bigint | null | undefined;
669358
+ ids_credit_rating?: (string | number | bigint)[] | null | undefined;
669359
+ id_agreed_payment_method?: string | number | bigint | null | undefined;
669360
+ ids_agreed_payment_method?: (string | number | bigint)[] | null | undefined;
669361
+ id_settlement_group?: string | number | bigint | null | undefined;
669362
+ ids_settlement_group?: (string | number | bigint)[] | null | undefined;
669363
+ id_tntd_job_type?: string | number | bigint | null | undefined;
669364
+ ids_tntd_job_type?: (string | number | bigint)[] | null | undefined;
669365
+ id_tntd_branch?: string | number | bigint | null | undefined;
669366
+ ids_tntd_branch?: (string | number | bigint)[] | null | undefined;
669367
+ id_tntd_department?: string | number | bigint | null | undefined;
669368
+ ids_tntd_department?: (string | number | bigint)[] | null | undefined;
669369
+ is_use_settlement_group_credit_limit?: (string | boolean)[] | null | undefined;
669370
+ is_credit_approved?: (string | boolean)[] | null | undefined;
669371
+ is_credit_on_hold?: (string | boolean)[] | null | undefined;
669372
+ is_no_checking_overdue?: (string | boolean)[] | null | undefined;
669373
+ is_global?: (string | boolean)[] | null | undefined;
669374
+ };
669375
+ output: {
669376
+ data: {
669377
+ creditor_groups: {
669378
+ is_active: boolean | null;
669379
+ id: string;
669380
+ logic_code: string | null;
669381
+ name: string | null;
669382
+ created_at: Date | null;
669383
+ created_by: string | null;
669384
+ updated_at: Date | null;
669385
+ updated_by: string | null;
669386
+ code: string | null;
669387
+ is_allow_matching: boolean | null;
669388
+ is_no_matching_while_open: boolean | null;
669389
+ } | null;
669390
+ organization_account_receivable_details: {
669391
+ is_active: boolean | null;
669392
+ id_company: string | null;
669393
+ id: string;
669394
+ logic_code: string | null;
669395
+ id_organization: string | null;
669396
+ created_at: Date | null;
669397
+ created_by: string | null;
669398
+ updated_at: Date | null;
669399
+ updated_by: string | null;
669400
+ id_account_group: string | null;
669401
+ id_account_relationship: string | null;
669402
+ id_consolidation_category: string | null;
669403
+ id_transaction_restriction: string | null;
669404
+ id_tax_type: string | null;
669405
+ id_default_currency: string | null;
669406
+ client_number: string | null;
669407
+ } | null;
669408
+ branch: {
669409
+ is_active: boolean | null;
669410
+ id_company: string | null;
669411
+ id_country: string | null;
669412
+ id_state: string | null;
669413
+ id_city: string | null;
669414
+ id_postal_code: string | null;
669415
+ id_un_locode: string | null;
669416
+ id: string;
669417
+ logic_code: string | null;
669418
+ name: string | null;
669419
+ created_at: Date | null;
669420
+ created_by: string | null;
669421
+ updated_at: Date | null;
669422
+ updated_by: string | null;
669423
+ code: string | null;
669424
+ address: string | null;
669425
+ } | null;
669426
+ department: {
669427
+ is_active: boolean | null;
669428
+ id_company: string | null;
669429
+ id: string;
669430
+ logic_code: string | null;
669431
+ name: string | null;
669432
+ created_at: Date | null;
669433
+ created_by: string | null;
669434
+ updated_at: Date | null;
669435
+ updated_by: string | null;
669436
+ code: string | null;
669437
+ } | null;
669438
+ organization_account_agreed_payment_method: {
669439
+ is_active: boolean | null;
669440
+ id: string;
669441
+ logic_code: string | null;
669442
+ name: string | null;
669443
+ created_at: Date | null;
669444
+ created_by: string | null;
669445
+ updated_at: Date | null;
669446
+ updated_by: string | null;
669447
+ code: string | null;
669448
+ } | null;
669449
+ organization_account_credit_rating: {
669450
+ is_active: boolean | null;
669451
+ id: string;
669452
+ logic_code: string | null;
669453
+ name: string | null;
669454
+ created_at: Date | null;
669455
+ created_by: string | null;
669456
+ updated_at: Date | null;
669457
+ updated_by: string | null;
669458
+ code: string | null;
669459
+ } | null;
669460
+ organization_tntd_job_type: {
669461
+ is_active: boolean | null;
669462
+ id: string;
669463
+ logic_code: string | null;
669464
+ name: string | null;
669465
+ created_at: Date | null;
669466
+ created_by: string | null;
669467
+ updated_at: Date | null;
669468
+ updated_by: string | null;
669469
+ code: string | null;
669470
+ } | null;
669471
+ is_active: boolean | null;
669472
+ id: string;
669473
+ logic_code: string | null;
669474
+ created_at: Date | null;
669475
+ created_by: string | null;
669476
+ updated_at: Date | null;
669477
+ updated_by: string | null;
669478
+ id_agreed_payment_method: string | null;
669479
+ credit_limit: Decimal | null;
669480
+ tntd_days: number | null;
669481
+ id_settlement_group: string | null;
669482
+ is_global: boolean | null;
669483
+ id_account_receivable: string | null;
669484
+ id_credit_rating: string | null;
669485
+ id_tntd_job_type: string | null;
669486
+ id_tntd_branch: string | null;
669487
+ id_tntd_department: string | null;
669488
+ is_use_settlement_group_credit_limit: boolean | null;
669489
+ is_credit_approved: boolean | null;
669490
+ is_credit_on_hold: boolean | null;
669491
+ is_no_checking_overdue: boolean | null;
669492
+ temporary_credit_limit_increase: Decimal | null;
669493
+ temporary_credit_limit: Decimal | null;
669494
+ account_credit_review_due: number | null;
669495
+ temporary_credit_limit_expiration_date: Date | null;
669496
+ }[] | undefined;
669497
+ total: number | undefined;
669498
+ };
669499
+ meta: object;
669500
+ }>;
669501
+ getDetail: MutationProcedure<{
669502
+ input: {
669503
+ id?: string | number | bigint | null | undefined;
669504
+ logic_code?: string | null | undefined;
669505
+ };
669506
+ output: {
669507
+ data: {
669508
+ _count: {
669509
+ organization_account_receivable_details: number;
669510
+ organization_account_credit_rating: number;
669511
+ organization_account_agreed_payment_method: number;
669512
+ creditor_groups: number;
669513
+ organization_tntd_job_type: number;
669514
+ branch: number;
669515
+ department: number;
669516
+ organization_account_credit_control_settlement_logs: number;
669517
+ };
669518
+ creditor_groups: {
669519
+ is_active: boolean | null;
669520
+ id: string;
669521
+ logic_code: string | null;
669522
+ name: string | null;
669523
+ created_at: Date | null;
669524
+ created_by: string | null;
669525
+ updated_at: Date | null;
669526
+ updated_by: string | null;
669527
+ code: string | null;
669528
+ is_allow_matching: boolean | null;
669529
+ is_no_matching_while_open: boolean | null;
669530
+ } | null;
669531
+ organization_account_receivable_details: {
669532
+ organization: {
669533
+ is_active: boolean | null;
669534
+ id_company: string | null;
669535
+ id_branch: string | null;
669536
+ id_business_category: string | null;
669537
+ id_country: string | null;
669538
+ id_state: string | null;
669539
+ id_city: string | null;
669540
+ id_postal_code: string | null;
669541
+ id_un_locode: string | null;
669542
+ id_controlling_branch: string | null;
669543
+ id_airline: string | null;
669544
+ id_shipping_line: string | null;
669545
+ is_receipt_account: boolean | null;
669546
+ is_payment_account: boolean | null;
669547
+ is_shipper: boolean | null;
669548
+ is_consignee: boolean | null;
669549
+ is_transport_client: boolean | null;
669550
+ is_warehouse: boolean | null;
669551
+ is_forwarder: boolean | null;
669552
+ is_broker: boolean | null;
669553
+ is_service: boolean | null;
669554
+ is_controlling_customer: boolean | null;
669555
+ is_controlling_agent: boolean | null;
669556
+ is_internal_organization: boolean | null;
669557
+ id: string;
669558
+ logic_code: string | null;
669559
+ name: string | null;
669560
+ created_at: Date | null;
669561
+ created_by: string | null;
669562
+ updated_at: Date | null;
669563
+ updated_by: string | null;
669564
+ code: string | null;
669565
+ phone: string | null;
669566
+ email: string | null;
669567
+ website_url: string | null;
669568
+ company_number: string | null;
669569
+ company_tax_number: string | null;
669570
+ } | null;
669571
+ company: {
669572
+ is_active: boolean | null;
669573
+ id_country: string | null;
669574
+ id_state: string | null;
669575
+ id_city: string | null;
669576
+ id_postal_code: string | null;
669577
+ id_un_locode: string | null;
669578
+ id: string;
669579
+ logic_code: string | null;
669580
+ name: string | null;
669581
+ created_at: Date | null;
669582
+ created_by: string | null;
669583
+ updated_at: Date | null;
669584
+ updated_by: string | null;
669585
+ code: string | null;
669586
+ address: string | null;
669587
+ } | null;
669588
+ is_active: boolean | null;
669589
+ id_company: string | null;
669590
+ id: string;
669591
+ logic_code: string | null;
669592
+ id_organization: string | null;
669593
+ created_at: Date | null;
669594
+ created_by: string | null;
669595
+ updated_at: Date | null;
669596
+ updated_by: string | null;
669597
+ id_account_group: string | null;
669598
+ id_account_relationship: string | null;
669599
+ id_consolidation_category: string | null;
669600
+ id_transaction_restriction: string | null;
669601
+ id_tax_type: string | null;
669602
+ id_default_currency: string | null;
669603
+ client_number: string | null;
669604
+ } | null;
669605
+ branch: {
669606
+ is_active: boolean | null;
669607
+ id_company: string | null;
669608
+ id_country: string | null;
669609
+ id_state: string | null;
669610
+ id_city: string | null;
669611
+ id_postal_code: string | null;
669612
+ id_un_locode: string | null;
669613
+ id: string;
669614
+ logic_code: string | null;
669615
+ name: string | null;
669616
+ created_at: Date | null;
669617
+ created_by: string | null;
669618
+ updated_at: Date | null;
669619
+ updated_by: string | null;
669620
+ code: string | null;
669621
+ address: string | null;
669622
+ } | null;
669623
+ department: {
669624
+ is_active: boolean | null;
669625
+ id_company: string | null;
669626
+ id: string;
669627
+ logic_code: string | null;
669628
+ name: string | null;
669629
+ created_at: Date | null;
669630
+ created_by: string | null;
669631
+ updated_at: Date | null;
669632
+ updated_by: string | null;
669633
+ code: string | null;
669634
+ } | null;
669635
+ organization_account_agreed_payment_method: {
669636
+ is_active: boolean | null;
669637
+ id: string;
669638
+ logic_code: string | null;
669639
+ name: string | null;
669640
+ created_at: Date | null;
669641
+ created_by: string | null;
669642
+ updated_at: Date | null;
669643
+ updated_by: string | null;
669644
+ code: string | null;
669645
+ } | null;
669646
+ organization_account_credit_rating: {
669647
+ is_active: boolean | null;
669648
+ id: string;
669649
+ logic_code: string | null;
669650
+ name: string | null;
669651
+ created_at: Date | null;
669652
+ created_by: string | null;
669653
+ updated_at: Date | null;
669654
+ updated_by: string | null;
669655
+ code: string | null;
669656
+ } | null;
669657
+ organization_tntd_job_type: {
669658
+ is_active: boolean | null;
669659
+ id: string;
669660
+ logic_code: string | null;
669661
+ name: string | null;
669662
+ created_at: Date | null;
669663
+ created_by: string | null;
669664
+ updated_at: Date | null;
669665
+ updated_by: string | null;
669666
+ code: string | null;
669667
+ } | null;
669668
+ is_active: boolean | null;
669669
+ id: string;
669670
+ logic_code: string | null;
669671
+ created_at: Date | null;
669672
+ created_by: string | null;
669673
+ updated_at: Date | null;
669674
+ updated_by: string | null;
669675
+ id_agreed_payment_method: string | null;
669676
+ credit_limit: Decimal | null;
669677
+ tntd_days: number | null;
669678
+ id_settlement_group: string | null;
669679
+ is_global: boolean | null;
669680
+ id_account_receivable: string | null;
669681
+ id_credit_rating: string | null;
669682
+ id_tntd_job_type: string | null;
669683
+ id_tntd_branch: string | null;
669684
+ id_tntd_department: string | null;
669685
+ is_use_settlement_group_credit_limit: boolean | null;
669686
+ is_credit_approved: boolean | null;
669687
+ is_credit_on_hold: boolean | null;
669688
+ is_no_checking_overdue: boolean | null;
669689
+ temporary_credit_limit_increase: Decimal | null;
669690
+ temporary_credit_limit: Decimal | null;
669691
+ account_credit_review_due: number | null;
669692
+ temporary_credit_limit_expiration_date: Date | null;
669693
+ };
669694
+ };
669695
+ meta: object;
669696
+ }>;
669697
+ histories: BuiltRouter<{
669698
+ ctx: Context;
669699
+ meta: object;
669700
+ errorShape: DefaultErrorShape;
669701
+ transformer: false;
669702
+ }, DecorateCreateRouterOptions<{
669703
+ get: MutationProcedure<{
669704
+ input: {
669705
+ search?: string | null | undefined;
669706
+ take?: string | number | null | undefined;
669707
+ skip?: string | number | null | undefined;
669708
+ is_active?: (string | boolean)[] | null | undefined;
669709
+ is_system?: (string | boolean)[] | null | undefined;
669710
+ ids_include?: (string | number | bigint)[] | null | undefined;
669711
+ ids_exclude?: (string | number | bigint)[] | null | undefined;
669712
+ logic_codes_include?: string[] | null | undefined;
669713
+ logic_codes_exclude?: string[] | null | undefined;
669714
+ order_by?: {
669715
+ field: string;
669716
+ direction: "asc" | "desc";
669717
+ } | null | undefined;
669718
+ order_bys?: {
669719
+ field: string;
669720
+ direction: "asc" | "desc";
669721
+ }[] | null | undefined;
669722
+ id_log_type?: string | number | bigint | null | undefined;
669723
+ ids_log_type?: (string | number | bigint)[] | null | undefined;
669724
+ id_organization_account_credit_control_settlement?: string | number | bigint | null | undefined;
669725
+ ids_organization_account_credit_control_settlement?: (string | number | bigint)[] | null | undefined;
669726
+ };
669727
+ output: {
669728
+ data: {
669729
+ log_type: {
669730
+ is_active: boolean | null;
669731
+ id: bigint;
669732
+ logic_code: string | null;
669733
+ name: string | null;
669734
+ created_at: Date | null;
669735
+ created_by: string | null;
669736
+ updated_at: Date | null;
669737
+ updated_by: string | null;
669738
+ } | null;
669739
+ id: bigint;
669740
+ id_log_type: bigint | null;
669741
+ url: string | null;
669742
+ params: SimpleJson;
669743
+ action: string | null;
669744
+ action_by: string | null;
669745
+ action_id: string | null;
669746
+ action_at: Date | null;
669747
+ id_organization_account_credit_control_settlement: bigint | null;
669748
+ }[] | undefined;
669749
+ total: number | undefined;
669750
+ };
669751
+ meta: object;
669752
+ }>;
669753
+ getDetail: MutationProcedure<{
669754
+ input: {
669755
+ id?: string | number | bigint | null | undefined;
669756
+ logic_code?: string | null | undefined;
669757
+ };
669758
+ output: {
669759
+ data: {
669760
+ log_type: {
669761
+ is_active: boolean | null;
669762
+ id: bigint;
669763
+ logic_code: string | null;
669764
+ name: string | null;
669765
+ created_at: Date | null;
669766
+ created_by: string | null;
669767
+ updated_at: Date | null;
669768
+ updated_by: string | null;
669769
+ } | null;
669770
+ id: bigint;
669771
+ id_log_type: bigint | null;
669772
+ url: string | null;
669773
+ params: SimpleJson;
669774
+ action: string | null;
669775
+ action_by: string | null;
669776
+ action_id: string | null;
669777
+ action_at: Date | null;
669778
+ id_organization_account_credit_control_settlement: bigint | null;
669779
+ } | undefined;
669780
+ };
669781
+ meta: object;
669782
+ }>;
669783
+ }>>;
669784
+ create: MutationProcedure<{
669785
+ input: {
669786
+ is_active?: boolean | undefined;
669787
+ id_account_receivable?: string | number | bigint | null | undefined;
669788
+ id_credit_rating?: string | number | bigint | null | undefined;
669789
+ id_agreed_payment_method?: string | number | bigint | null | undefined;
669790
+ id_settlement_group?: string | number | bigint | null | undefined;
669791
+ id_tntd_job_type?: string | number | bigint | null | undefined;
669792
+ id_tntd_branch?: string | number | bigint | null | undefined;
669793
+ id_tntd_department?: string | number | bigint | null | undefined;
669794
+ credit_limit?: string | null | undefined;
669795
+ temporary_credit_limit_increase?: string | null | undefined;
669796
+ temporary_credit_limit?: string | null | undefined;
669797
+ account_credit_review_due?: number | null | undefined;
669798
+ tntd_days?: number | null | undefined;
669799
+ temporary_credit_limit_expiration_date?: string | null | undefined;
669800
+ is_use_settlement_group_credit_limit?: string | boolean | null | undefined;
669801
+ is_credit_approved?: string | boolean | null | undefined;
669802
+ is_credit_on_hold?: string | boolean | null | undefined;
669803
+ is_no_checking_overdue?: string | boolean | null | undefined;
669804
+ is_global?: string | boolean | null | undefined;
669805
+ };
669806
+ output: {
669807
+ data: {
669808
+ is_active: boolean | null;
669809
+ id: string;
669810
+ logic_code: string | null;
669811
+ created_at: Date | null;
669812
+ created_by: string | null;
669813
+ updated_at: Date | null;
669814
+ updated_by: string | null;
669815
+ id_agreed_payment_method: string | null;
669816
+ credit_limit: Decimal | null;
669817
+ tntd_days: number | null;
669818
+ id_settlement_group: string | null;
669819
+ is_global: boolean | null;
669820
+ id_account_receivable: string | null;
669821
+ id_credit_rating: string | null;
669822
+ id_tntd_job_type: string | null;
669823
+ id_tntd_branch: string | null;
669824
+ id_tntd_department: string | null;
669825
+ is_use_settlement_group_credit_limit: boolean | null;
669826
+ is_credit_approved: boolean | null;
669827
+ is_credit_on_hold: boolean | null;
669828
+ is_no_checking_overdue: boolean | null;
669829
+ temporary_credit_limit_increase: Decimal | null;
669830
+ temporary_credit_limit: Decimal | null;
669831
+ account_credit_review_due: number | null;
669832
+ temporary_credit_limit_expiration_date: Date | null;
669833
+ } | undefined;
669834
+ log: {
669835
+ id: string;
669836
+ id_log_type: string | null;
669837
+ url: string | null;
669838
+ params: SimpleJson;
669839
+ action: string | null;
669840
+ action_by: string | null;
669841
+ action_id: string | null;
669842
+ action_at: Date | null;
669843
+ id_organization_account_credit_control_settlement: string | null;
669844
+ } | undefined;
669845
+ };
669846
+ meta: object;
669847
+ }>;
669848
+ update: MutationProcedure<{
669849
+ input: {
669850
+ id?: string | number | bigint | null | undefined;
669851
+ logic_code?: string | null | undefined;
669852
+ is_active?: boolean | undefined;
669853
+ id_account_receivable?: string | number | bigint | null | undefined;
669854
+ id_credit_rating?: string | number | bigint | null | undefined;
669855
+ id_agreed_payment_method?: string | number | bigint | null | undefined;
669856
+ id_settlement_group?: string | number | bigint | null | undefined;
669857
+ id_tntd_job_type?: string | number | bigint | null | undefined;
669858
+ id_tntd_branch?: string | number | bigint | null | undefined;
669859
+ id_tntd_department?: string | number | bigint | null | undefined;
669860
+ credit_limit?: string | null | undefined;
669861
+ temporary_credit_limit_increase?: string | null | undefined;
669862
+ temporary_credit_limit?: string | null | undefined;
669863
+ account_credit_review_due?: number | null | undefined;
669864
+ tntd_days?: number | null | undefined;
669865
+ temporary_credit_limit_expiration_date?: string | null | undefined;
669866
+ is_use_settlement_group_credit_limit?: string | boolean | null | undefined;
669867
+ is_credit_approved?: string | boolean | null | undefined;
669868
+ is_credit_on_hold?: string | boolean | null | undefined;
669869
+ is_no_checking_overdue?: string | boolean | null | undefined;
669870
+ is_global?: string | boolean | null | undefined;
669871
+ };
669872
+ output: {
669873
+ data: {
669874
+ is_active: boolean | null;
669875
+ id: string;
669876
+ logic_code: string | null;
669877
+ created_at: Date | null;
669878
+ created_by: string | null;
669879
+ updated_at: Date | null;
669880
+ updated_by: string | null;
669881
+ id_agreed_payment_method: string | null;
669882
+ credit_limit: Decimal | null;
669883
+ tntd_days: number | null;
669884
+ id_settlement_group: string | null;
669885
+ is_global: boolean | null;
669886
+ id_account_receivable: string | null;
669887
+ id_credit_rating: string | null;
669888
+ id_tntd_job_type: string | null;
669889
+ id_tntd_branch: string | null;
669890
+ id_tntd_department: string | null;
669891
+ is_use_settlement_group_credit_limit: boolean | null;
669892
+ is_credit_approved: boolean | null;
669893
+ is_credit_on_hold: boolean | null;
669894
+ is_no_checking_overdue: boolean | null;
669895
+ temporary_credit_limit_increase: Decimal | null;
669896
+ temporary_credit_limit: Decimal | null;
669897
+ account_credit_review_due: number | null;
669898
+ temporary_credit_limit_expiration_date: Date | null;
669899
+ } | undefined;
669900
+ log: {
669901
+ id: string;
669902
+ id_log_type: string | null;
669903
+ url: string | null;
669904
+ params: SimpleJson;
669905
+ action: string | null;
669906
+ action_by: string | null;
669907
+ action_id: string | null;
669908
+ action_at: Date | null;
669909
+ id_organization_account_credit_control_settlement: string | null;
669910
+ } | undefined;
669911
+ };
669912
+ meta: object;
669913
+ }>;
669914
+ delete: MutationProcedure<{
669915
+ input: {
669916
+ id?: string | number | bigint | null | undefined;
669917
+ ids?: (string | number | bigint)[] | null | undefined;
669918
+ };
669919
+ output: {
669920
+ data: ({
669921
+ is_active: boolean | null;
669922
+ id: string;
669923
+ logic_code: string | null;
669924
+ created_at: Date | null;
669925
+ created_by: string | null;
669926
+ updated_at: Date | null;
669927
+ updated_by: string | null;
669928
+ id_agreed_payment_method: string | null;
669929
+ credit_limit: Decimal | null;
669930
+ tntd_days: number | null;
669931
+ id_settlement_group: string | null;
669932
+ is_global: boolean | null;
669933
+ id_account_receivable: string | null;
669934
+ id_credit_rating: string | null;
669935
+ id_tntd_job_type: string | null;
669936
+ id_tntd_branch: string | null;
669937
+ id_tntd_department: string | null;
669938
+ is_use_settlement_group_credit_limit: boolean | null;
669939
+ is_credit_approved: boolean | null;
669940
+ is_credit_on_hold: boolean | null;
669941
+ is_no_checking_overdue: boolean | null;
669942
+ temporary_credit_limit_increase: Decimal | null;
669943
+ temporary_credit_limit: Decimal | null;
669944
+ account_credit_review_due: number | null;
669945
+ temporary_credit_limit_expiration_date: Date | null;
669946
+ } | undefined)[] | undefined;
669947
+ };
669948
+ meta: object;
669949
+ }>;
669950
+ }>>;
668777
669951
  }>>;
668778
669952
  accountGroups: BuiltRouter<{
668779
669953
  ctx: Context;
@@ -672797,8 +673971,8 @@ declare const appRouter: BuiltRouter<{
672797
673971
  created_by: string | null;
672798
673972
  updated_at: Date | null;
672799
673973
  updated_by: string | null;
672800
- id_transport_mode: string | null;
672801
673974
  id_type: string | null;
673975
+ id_transport_mode: string | null;
672802
673976
  id_iata_uld_rate_class: string | null;
672803
673977
  id_storage_class: string | null;
672804
673978
  id_freight_charges_rate_class: string | null;
@@ -673127,8 +674301,8 @@ declare const appRouter: BuiltRouter<{
673127
674301
  created_by: string | null;
673128
674302
  updated_at: Date | null;
673129
674303
  updated_by: string | null;
673130
- id_transport_mode: string | null;
673131
674304
  id_type: string | null;
674305
+ id_transport_mode: string | null;
673132
674306
  id_iata_uld_rate_class: string | null;
673133
674307
  id_storage_class: string | null;
673134
674308
  id_freight_charges_rate_class: string | null;
@@ -673317,8 +674491,8 @@ declare const appRouter: BuiltRouter<{
673317
674491
  created_by: string | null;
673318
674492
  updated_at: Date | null;
673319
674493
  updated_by: string | null;
673320
- id_transport_mode: string | null;
673321
674494
  id_type: string | null;
674495
+ id_transport_mode: string | null;
673322
674496
  id_iata_uld_rate_class: string | null;
673323
674497
  id_storage_class: string | null;
673324
674498
  id_freight_charges_rate_class: string | null;
@@ -673433,8 +674607,8 @@ declare const appRouter: BuiltRouter<{
673433
674607
  created_by: string | null;
673434
674608
  updated_at: Date | null;
673435
674609
  updated_by: string | null;
673436
- id_transport_mode: string | null;
673437
674610
  id_type: string | null;
674611
+ id_transport_mode: string | null;
673438
674612
  id_iata_uld_rate_class: string | null;
673439
674613
  id_storage_class: string | null;
673440
674614
  id_freight_charges_rate_class: string | null;
@@ -673505,8 +674679,8 @@ declare const appRouter: BuiltRouter<{
673505
674679
  created_by: string | null;
673506
674680
  updated_at: Date | null;
673507
674681
  updated_by: string | null;
673508
- id_transport_mode: string | null;
673509
674682
  id_type: string | null;
674683
+ id_transport_mode: string | null;
673510
674684
  id_iata_uld_rate_class: string | null;
673511
674685
  id_storage_class: string | null;
673512
674686
  id_freight_charges_rate_class: string | null;
@@ -680337,10 +681511,10 @@ declare const appRouter: BuiltRouter<{
680337
681511
  created_by: string | null;
680338
681512
  updated_at: Date | null;
680339
681513
  updated_by: string | null;
681514
+ rate: Decimal | null;
680340
681515
  id_currency_from: string | null;
680341
681516
  id_currency_to: string | null;
680342
681517
  id_exchange_rate_type: string | null;
680343
- rate: Decimal | null;
680344
681518
  start_date: Date | null;
680345
681519
  end_date: Date | null;
680346
681520
  }[] | undefined;
@@ -680415,10 +681589,10 @@ declare const appRouter: BuiltRouter<{
680415
681589
  created_by: string | null;
680416
681590
  updated_at: Date | null;
680417
681591
  updated_by: string | null;
681592
+ rate: Decimal | null;
680418
681593
  id_currency_from: string | null;
680419
681594
  id_currency_to: string | null;
680420
681595
  id_exchange_rate_type: string | null;
680421
- rate: Decimal | null;
680422
681596
  start_date: Date | null;
680423
681597
  end_date: Date | null;
680424
681598
  };
@@ -680531,10 +681705,10 @@ declare const appRouter: BuiltRouter<{
680531
681705
  created_by: string | null;
680532
681706
  updated_at: Date | null;
680533
681707
  updated_by: string | null;
681708
+ rate: Decimal | null;
680534
681709
  id_currency_from: string | null;
680535
681710
  id_currency_to: string | null;
680536
681711
  id_exchange_rate_type: string | null;
680537
- rate: Decimal | null;
680538
681712
  start_date: Date | null;
680539
681713
  end_date: Date | null;
680540
681714
  } | undefined;
@@ -680573,10 +681747,10 @@ declare const appRouter: BuiltRouter<{
680573
681747
  created_by: string | null;
680574
681748
  updated_at: Date | null;
680575
681749
  updated_by: string | null;
681750
+ rate: Decimal | null;
680576
681751
  id_currency_from: string | null;
680577
681752
  id_currency_to: string | null;
680578
681753
  id_exchange_rate_type: string | null;
680579
- rate: Decimal | null;
680580
681754
  start_date: Date | null;
680581
681755
  end_date: Date | null;
680582
681756
  } | undefined;
@@ -680608,10 +681782,10 @@ declare const appRouter: BuiltRouter<{
680608
681782
  created_by: string | null;
680609
681783
  updated_at: Date | null;
680610
681784
  updated_by: string | null;
681785
+ rate: Decimal | null;
680611
681786
  id_currency_from: string | null;
680612
681787
  id_currency_to: string | null;
680613
681788
  id_exchange_rate_type: string | null;
680614
- rate: Decimal | null;
680615
681789
  start_date: Date | null;
680616
681790
  end_date: Date | null;
680617
681791
  } | undefined)[] | undefined;
@@ -680654,10 +681828,10 @@ declare const appRouter: BuiltRouter<{
680654
681828
  created_by: string | null;
680655
681829
  updated_at: Date | null;
680656
681830
  updated_by: string | null;
681831
+ rate: Decimal | null;
680657
681832
  id_currency_from: string | null;
680658
681833
  id_currency_to: string | null;
680659
681834
  id_exchange_rate_type: string | null;
680660
- rate: Decimal | null;
680661
681835
  start_date: Date | null;
680662
681836
  end_date: Date | null;
680663
681837
  }[];
@@ -683974,9 +685148,9 @@ declare const appRouter: BuiltRouter<{
683974
685148
  updated_by: string | null;
683975
685149
  code: string | null;
683976
685150
  id_type: string | null;
683977
- rate: Decimal | null;
683978
685151
  id_system: string | null;
683979
685152
  tax_message: string | null;
685153
+ rate: Decimal | null;
683980
685154
  } | null;
683981
685155
  charge_code_groups: {
683982
685156
  is_active: boolean | null;
@@ -684001,18 +685175,6 @@ declare const appRouter: BuiltRouter<{
684001
685175
  updated_by: string | null;
684002
685176
  code: string | null;
684003
685177
  } | null;
684004
- incoterm: {
684005
- is_active: boolean | null;
684006
- id: string;
684007
- logic_code: string | null;
684008
- name: string | null;
684009
- created_at: Date | null;
684010
- created_by: string | null;
684011
- updated_at: Date | null;
684012
- updated_by: string | null;
684013
- description: string | null;
684014
- code: string | null;
684015
- } | null;
684016
685178
  charge_code_type: {
684017
685179
  is_active: boolean | null;
684018
685180
  id: string;
@@ -684035,17 +685197,6 @@ declare const appRouter: BuiltRouter<{
684035
685197
  updated_by: string | null;
684036
685198
  code: string | null;
684037
685199
  } | null;
684038
- charge_code_rate_calculation: {
684039
- is_active: boolean | null;
684040
- id: string;
684041
- logic_code: string | null;
684042
- name: string | null;
684043
- created_at: Date | null;
684044
- created_by: string | null;
684045
- updated_at: Date | null;
684046
- updated_by: string | null;
684047
- code: string | null;
684048
- } | null;
684049
685200
  charge_code_sales_group: {
684050
685201
  is_active: boolean | null;
684051
685202
  id: string;
@@ -684175,6 +685326,29 @@ declare const appRouter: BuiltRouter<{
684175
685326
  updated_by: string | null;
684176
685327
  code: string | null;
684177
685328
  } | null;
685329
+ charge_code_rate_calculation: {
685330
+ is_active: boolean | null;
685331
+ id: string;
685332
+ logic_code: string | null;
685333
+ name: string | null;
685334
+ created_at: Date | null;
685335
+ created_by: string | null;
685336
+ updated_at: Date | null;
685337
+ updated_by: string | null;
685338
+ code: string | null;
685339
+ } | null;
685340
+ incoterm: {
685341
+ is_active: boolean | null;
685342
+ id: string;
685343
+ logic_code: string | null;
685344
+ name: string | null;
685345
+ created_at: Date | null;
685346
+ created_by: string | null;
685347
+ updated_at: Date | null;
685348
+ updated_by: string | null;
685349
+ description: string | null;
685350
+ code: string | null;
685351
+ } | null;
684178
685352
  is_active: boolean | null;
684179
685353
  id: string;
684180
685354
  logic_code: string | null;
@@ -684186,18 +685360,18 @@ declare const appRouter: BuiltRouter<{
684186
685360
  code: string | null;
684187
685361
  id_department: string | null;
684188
685362
  id_type: string | null;
684189
- id_incoterm: string | null;
684190
685363
  id_wht_type: string | null;
684191
685364
  id_tax_rate: string | null;
685365
+ id_revenue: string | null;
685366
+ id_wip: string | null;
685367
+ id_cost: string | null;
685368
+ id_accrual: string | null;
684192
685369
  id_sales_group: string | null;
684193
685370
  id_expense_group: string | null;
684194
685371
  id_group: string | null;
684195
685372
  id_sub_group: string | null;
684196
685373
  id_rate_calculation: string | null;
684197
- id_revenue: string | null;
684198
- id_wip: string | null;
684199
- id_cost: string | null;
684200
- id_accrual: string | null;
685374
+ id_incoterm: string | null;
684201
685375
  remarks: string | null;
684202
685376
  margin: Decimal | null;
684203
685377
  is_show_on_console: boolean | null;
@@ -684247,9 +685421,9 @@ declare const appRouter: BuiltRouter<{
684247
685421
  updated_by: string | null;
684248
685422
  code: string | null;
684249
685423
  id_type: string | null;
684250
- rate: Decimal | null;
684251
685424
  id_system: string | null;
684252
685425
  tax_message: string | null;
685426
+ rate: Decimal | null;
684253
685427
  } | null;
684254
685428
  charge_code_groups: {
684255
685429
  is_active: boolean | null;
@@ -684274,18 +685448,6 @@ declare const appRouter: BuiltRouter<{
684274
685448
  updated_by: string | null;
684275
685449
  code: string | null;
684276
685450
  } | null;
684277
- incoterm: {
684278
- is_active: boolean | null;
684279
- id: string;
684280
- logic_code: string | null;
684281
- name: string | null;
684282
- created_at: Date | null;
684283
- created_by: string | null;
684284
- updated_at: Date | null;
684285
- updated_by: string | null;
684286
- description: string | null;
684287
- code: string | null;
684288
- } | null;
684289
685451
  charge_code_type: {
684290
685452
  is_active: boolean | null;
684291
685453
  id: string;
@@ -684308,17 +685470,6 @@ declare const appRouter: BuiltRouter<{
684308
685470
  updated_by: string | null;
684309
685471
  code: string | null;
684310
685472
  } | null;
684311
- charge_code_rate_calculation: {
684312
- is_active: boolean | null;
684313
- id: string;
684314
- logic_code: string | null;
684315
- name: string | null;
684316
- created_at: Date | null;
684317
- created_by: string | null;
684318
- updated_at: Date | null;
684319
- updated_by: string | null;
684320
- code: string | null;
684321
- } | null;
684322
685473
  charge_code_sales_group: {
684323
685474
  is_active: boolean | null;
684324
685475
  id: string;
@@ -684448,6 +685599,29 @@ declare const appRouter: BuiltRouter<{
684448
685599
  updated_by: string | null;
684449
685600
  code: string | null;
684450
685601
  } | null;
685602
+ charge_code_rate_calculation: {
685603
+ is_active: boolean | null;
685604
+ id: string;
685605
+ logic_code: string | null;
685606
+ name: string | null;
685607
+ created_at: Date | null;
685608
+ created_by: string | null;
685609
+ updated_at: Date | null;
685610
+ updated_by: string | null;
685611
+ code: string | null;
685612
+ } | null;
685613
+ incoterm: {
685614
+ is_active: boolean | null;
685615
+ id: string;
685616
+ logic_code: string | null;
685617
+ name: string | null;
685618
+ created_at: Date | null;
685619
+ created_by: string | null;
685620
+ updated_at: Date | null;
685621
+ updated_by: string | null;
685622
+ description: string | null;
685623
+ code: string | null;
685624
+ } | null;
684451
685625
  is_active: boolean | null;
684452
685626
  id: string;
684453
685627
  logic_code: string | null;
@@ -684459,18 +685633,18 @@ declare const appRouter: BuiltRouter<{
684459
685633
  code: string | null;
684460
685634
  id_department: string | null;
684461
685635
  id_type: string | null;
684462
- id_incoterm: string | null;
684463
685636
  id_wht_type: string | null;
684464
685637
  id_tax_rate: string | null;
685638
+ id_revenue: string | null;
685639
+ id_wip: string | null;
685640
+ id_cost: string | null;
685641
+ id_accrual: string | null;
684465
685642
  id_sales_group: string | null;
684466
685643
  id_expense_group: string | null;
684467
685644
  id_group: string | null;
684468
685645
  id_sub_group: string | null;
684469
685646
  id_rate_calculation: string | null;
684470
- id_revenue: string | null;
684471
- id_wip: string | null;
684472
- id_cost: string | null;
684473
- id_accrual: string | null;
685647
+ id_incoterm: string | null;
684474
685648
  remarks: string | null;
684475
685649
  margin: Decimal | null;
684476
685650
  is_show_on_console: boolean | null;
@@ -684605,18 +685779,18 @@ declare const appRouter: BuiltRouter<{
684605
685779
  code: string | null;
684606
685780
  id_department: string | null;
684607
685781
  id_type: string | null;
684608
- id_incoterm: string | null;
684609
685782
  id_wht_type: string | null;
684610
685783
  id_tax_rate: string | null;
685784
+ id_revenue: string | null;
685785
+ id_wip: string | null;
685786
+ id_cost: string | null;
685787
+ id_accrual: string | null;
684611
685788
  id_sales_group: string | null;
684612
685789
  id_expense_group: string | null;
684613
685790
  id_group: string | null;
684614
685791
  id_sub_group: string | null;
684615
685792
  id_rate_calculation: string | null;
684616
- id_revenue: string | null;
684617
- id_wip: string | null;
684618
- id_cost: string | null;
684619
- id_accrual: string | null;
685793
+ id_incoterm: string | null;
684620
685794
  remarks: string | null;
684621
685795
  margin: Decimal | null;
684622
685796
  is_show_on_console: boolean | null;
@@ -684677,18 +685851,18 @@ declare const appRouter: BuiltRouter<{
684677
685851
  code: string | null;
684678
685852
  id_department: string | null;
684679
685853
  id_type: string | null;
684680
- id_incoterm: string | null;
684681
685854
  id_wht_type: string | null;
684682
685855
  id_tax_rate: string | null;
685856
+ id_revenue: string | null;
685857
+ id_wip: string | null;
685858
+ id_cost: string | null;
685859
+ id_accrual: string | null;
684683
685860
  id_sales_group: string | null;
684684
685861
  id_expense_group: string | null;
684685
685862
  id_group: string | null;
684686
685863
  id_sub_group: string | null;
684687
685864
  id_rate_calculation: string | null;
684688
- id_revenue: string | null;
684689
- id_wip: string | null;
684690
- id_cost: string | null;
684691
- id_accrual: string | null;
685865
+ id_incoterm: string | null;
684692
685866
  remarks: string | null;
684693
685867
  margin: Decimal | null;
684694
685868
  is_show_on_console: boolean | null;
@@ -684727,18 +685901,18 @@ declare const appRouter: BuiltRouter<{
684727
685901
  code: string | null;
684728
685902
  id_department: string | null;
684729
685903
  id_type: string | null;
684730
- id_incoterm: string | null;
684731
685904
  id_wht_type: string | null;
684732
685905
  id_tax_rate: string | null;
685906
+ id_revenue: string | null;
685907
+ id_wip: string | null;
685908
+ id_cost: string | null;
685909
+ id_accrual: string | null;
684733
685910
  id_sales_group: string | null;
684734
685911
  id_expense_group: string | null;
684735
685912
  id_group: string | null;
684736
685913
  id_sub_group: string | null;
684737
685914
  id_rate_calculation: string | null;
684738
- id_revenue: string | null;
684739
- id_wip: string | null;
684740
- id_cost: string | null;
684741
- id_accrual: string | null;
685915
+ id_incoterm: string | null;
684742
685916
  remarks: string | null;
684743
685917
  margin: Decimal | null;
684744
685918
  is_show_on_console: boolean | null;
@@ -687567,9 +688741,9 @@ declare const appRouter: BuiltRouter<{
687567
688741
  updated_by: string | null;
687568
688742
  code: string | null;
687569
688743
  id_type: string | null;
687570
- rate: Decimal | null;
687571
688744
  id_system: string | null;
687572
688745
  tax_message: string | null;
688746
+ rate: Decimal | null;
687573
688747
  }[] | undefined;
687574
688748
  total: number | undefined;
687575
688749
  };
@@ -687642,9 +688816,9 @@ declare const appRouter: BuiltRouter<{
687642
688816
  updated_by: string | null;
687643
688817
  code: string | null;
687644
688818
  id_type: string | null;
687645
- rate: Decimal | null;
687646
688819
  id_system: string | null;
687647
688820
  tax_message: string | null;
688821
+ rate: Decimal | null;
687648
688822
  };
687649
688823
  };
687650
688824
  meta: object;
@@ -687760,9 +688934,9 @@ declare const appRouter: BuiltRouter<{
687760
688934
  updated_by: string | null;
687761
688935
  code: string | null;
687762
688936
  id_type: string | null;
687763
- rate: Decimal | null;
687764
688937
  id_system: string | null;
687765
688938
  tax_message: string | null;
688939
+ rate: Decimal | null;
687766
688940
  } | undefined;
687767
688941
  log: {
687768
688942
  id: string;
@@ -687804,9 +688978,9 @@ declare const appRouter: BuiltRouter<{
687804
688978
  updated_by: string | null;
687805
688979
  code: string | null;
687806
688980
  id_type: string | null;
687807
- rate: Decimal | null;
687808
688981
  id_system: string | null;
687809
688982
  tax_message: string | null;
688983
+ rate: Decimal | null;
687810
688984
  } | undefined;
687811
688985
  log: {
687812
688986
  id: string;
@@ -687840,9 +689014,9 @@ declare const appRouter: BuiltRouter<{
687840
689014
  updated_by: string | null;
687841
689015
  code: string | null;
687842
689016
  id_type: string | null;
687843
- rate: Decimal | null;
687844
689017
  id_system: string | null;
687845
689018
  tax_message: string | null;
689019
+ rate: Decimal | null;
687846
689020
  } | undefined)[] | undefined;
687847
689021
  };
687848
689022
  meta: object;