@be-logixpair/api 0.0.28 → 0.0.29
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +1287 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -653303,6 +653303,1293 @@ declare const appRouter: BuiltRouter<{
|
|
|
653303
653303
|
}>>;
|
|
653304
653304
|
}>>;
|
|
653305
653305
|
}>>;
|
|
653306
|
+
userAdmin: BuiltRouter<{
|
|
653307
|
+
ctx: Context;
|
|
653308
|
+
meta: object;
|
|
653309
|
+
errorShape: DefaultErrorShape;
|
|
653310
|
+
transformer: false;
|
|
653311
|
+
}, DecorateCreateRouterOptions<{
|
|
653312
|
+
branches: BuiltRouter<{
|
|
653313
|
+
ctx: Context;
|
|
653314
|
+
meta: object;
|
|
653315
|
+
errorShape: DefaultErrorShape;
|
|
653316
|
+
transformer: false;
|
|
653317
|
+
}, DecorateCreateRouterOptions<{
|
|
653318
|
+
get: MutationProcedure<{
|
|
653319
|
+
input: {
|
|
653320
|
+
search?: string | null | undefined;
|
|
653321
|
+
take?: number | null | undefined;
|
|
653322
|
+
skip?: number | null | undefined;
|
|
653323
|
+
is_active?: boolean[] | null | undefined;
|
|
653324
|
+
ids_include?: number[] | null | undefined;
|
|
653325
|
+
ids_exclude?: number[] | null | undefined;
|
|
653326
|
+
ids_string_include?: string[] | null | undefined;
|
|
653327
|
+
ids_string_exclude?: string[] | null | undefined;
|
|
653328
|
+
logic_codes_include?: string[] | null | undefined;
|
|
653329
|
+
logic_codes_exclude?: string[] | null | undefined;
|
|
653330
|
+
order_by?: {
|
|
653331
|
+
field: string;
|
|
653332
|
+
direction: "asc" | "desc";
|
|
653333
|
+
} | null | undefined;
|
|
653334
|
+
order_bys?: {
|
|
653335
|
+
field: string;
|
|
653336
|
+
direction: "asc" | "desc";
|
|
653337
|
+
}[] | null | undefined;
|
|
653338
|
+
id_company?: number | null | undefined;
|
|
653339
|
+
ids_company?: number[] | null | undefined;
|
|
653340
|
+
id_country?: number | null | undefined;
|
|
653341
|
+
ids_country?: number[] | null | undefined;
|
|
653342
|
+
id_state?: number | null | undefined;
|
|
653343
|
+
ids_state?: number[] | null | undefined;
|
|
653344
|
+
id_city?: number | null | undefined;
|
|
653345
|
+
ids_city?: number[] | null | undefined;
|
|
653346
|
+
id_postal_code?: number | null | undefined;
|
|
653347
|
+
ids_postal_code?: number[] | null | undefined;
|
|
653348
|
+
id_un_locode?: number | null | undefined;
|
|
653349
|
+
ids_un_locode?: number[] | null | undefined;
|
|
653350
|
+
};
|
|
653351
|
+
output: {
|
|
653352
|
+
data: ({
|
|
653353
|
+
un_locode: {
|
|
653354
|
+
is_active: boolean | null;
|
|
653355
|
+
id_country: number | null;
|
|
653356
|
+
id_state: number | null;
|
|
653357
|
+
id_city: number | null;
|
|
653358
|
+
id: number;
|
|
653359
|
+
logic_code: string | null;
|
|
653360
|
+
created_at: Date | null;
|
|
653361
|
+
created_by: string | null;
|
|
653362
|
+
updated_at: Date | null;
|
|
653363
|
+
updated_by: string | null;
|
|
653364
|
+
id_time_zone: number | null;
|
|
653365
|
+
un_code: string | null;
|
|
653366
|
+
iata_code: string | null;
|
|
653367
|
+
iata_region_code: string | null;
|
|
653368
|
+
latitude: Decimal | null;
|
|
653369
|
+
longitude: Decimal | null;
|
|
653370
|
+
port_name: string | null;
|
|
653371
|
+
proper_name: string | null;
|
|
653372
|
+
has_post: boolean | null;
|
|
653373
|
+
has_customs: boolean | null;
|
|
653374
|
+
has_unload: boolean | null;
|
|
653375
|
+
has_airport: boolean | null;
|
|
653376
|
+
has_railway: boolean | null;
|
|
653377
|
+
has_road: boolean | null;
|
|
653378
|
+
has_store: boolean | null;
|
|
653379
|
+
has_terminal: boolean | null;
|
|
653380
|
+
has_discharge: boolean | null;
|
|
653381
|
+
has_seaport: boolean | null;
|
|
653382
|
+
has_outport: boolean | null;
|
|
653383
|
+
} | null;
|
|
653384
|
+
country: {
|
|
653385
|
+
is_active: boolean | null;
|
|
653386
|
+
id: number;
|
|
653387
|
+
name: string | null;
|
|
653388
|
+
logic_code: string | null;
|
|
653389
|
+
created_at: Date | null;
|
|
653390
|
+
created_by: string | null;
|
|
653391
|
+
updated_at: Date | null;
|
|
653392
|
+
updated_by: string | null;
|
|
653393
|
+
id_currency: number | null;
|
|
653394
|
+
iso2_code: string | null;
|
|
653395
|
+
iso3_code: string | null;
|
|
653396
|
+
iso3_numeric: string | null;
|
|
653397
|
+
is_sanctioned: boolean | null;
|
|
653398
|
+
} | null;
|
|
653399
|
+
state: {
|
|
653400
|
+
is_active: boolean | null;
|
|
653401
|
+
id_country: number | null;
|
|
653402
|
+
id: number;
|
|
653403
|
+
name: string | null;
|
|
653404
|
+
logic_code: string | null;
|
|
653405
|
+
created_at: Date | null;
|
|
653406
|
+
created_by: string | null;
|
|
653407
|
+
updated_at: Date | null;
|
|
653408
|
+
updated_by: string | null;
|
|
653409
|
+
code: string | null;
|
|
653410
|
+
} | null;
|
|
653411
|
+
city: {
|
|
653412
|
+
is_active: boolean | null;
|
|
653413
|
+
id_country: number | null;
|
|
653414
|
+
id_state: number | null;
|
|
653415
|
+
id: number;
|
|
653416
|
+
name: string | null;
|
|
653417
|
+
logic_code: string | null;
|
|
653418
|
+
created_at: Date | null;
|
|
653419
|
+
created_by: string | null;
|
|
653420
|
+
updated_at: Date | null;
|
|
653421
|
+
updated_by: string | null;
|
|
653422
|
+
code: string | null;
|
|
653423
|
+
} | null;
|
|
653424
|
+
postal_code: {
|
|
653425
|
+
is_active: boolean | null;
|
|
653426
|
+
id_country: number | null;
|
|
653427
|
+
id: number;
|
|
653428
|
+
logic_code: string | null;
|
|
653429
|
+
created_at: Date | null;
|
|
653430
|
+
created_by: string | null;
|
|
653431
|
+
updated_at: Date | null;
|
|
653432
|
+
updated_by: string | null;
|
|
653433
|
+
code: string | null;
|
|
653434
|
+
} | null;
|
|
653435
|
+
company: {
|
|
653436
|
+
is_active: boolean | null;
|
|
653437
|
+
id_un_locode: number | null;
|
|
653438
|
+
id_country: number | null;
|
|
653439
|
+
id_state: number | null;
|
|
653440
|
+
id_city: number | null;
|
|
653441
|
+
id_postal_code: number | null;
|
|
653442
|
+
id: number;
|
|
653443
|
+
name: string | null;
|
|
653444
|
+
logic_code: string | null;
|
|
653445
|
+
created_at: Date | null;
|
|
653446
|
+
created_by: string | null;
|
|
653447
|
+
updated_at: Date | null;
|
|
653448
|
+
updated_by: string | null;
|
|
653449
|
+
code: string | null;
|
|
653450
|
+
address: string | null;
|
|
653451
|
+
} | null;
|
|
653452
|
+
} & {
|
|
653453
|
+
is_active: boolean | null;
|
|
653454
|
+
id_un_locode: number | null;
|
|
653455
|
+
id_country: number | null;
|
|
653456
|
+
id_state: number | null;
|
|
653457
|
+
id_city: number | null;
|
|
653458
|
+
id_postal_code: number | null;
|
|
653459
|
+
id: number;
|
|
653460
|
+
name: string | null;
|
|
653461
|
+
logic_code: string | null;
|
|
653462
|
+
created_at: Date | null;
|
|
653463
|
+
created_by: string | null;
|
|
653464
|
+
updated_at: Date | null;
|
|
653465
|
+
updated_by: string | null;
|
|
653466
|
+
code: string | null;
|
|
653467
|
+
address: string | null;
|
|
653468
|
+
id_company: number | null;
|
|
653469
|
+
})[] | undefined;
|
|
653470
|
+
total: number | undefined;
|
|
653471
|
+
};
|
|
653472
|
+
meta: object;
|
|
653473
|
+
}>;
|
|
653474
|
+
getDetail: MutationProcedure<{
|
|
653475
|
+
input: {
|
|
653476
|
+
id?: number | null | undefined;
|
|
653477
|
+
id_string?: string | null | undefined;
|
|
653478
|
+
};
|
|
653479
|
+
output: {
|
|
653480
|
+
data: {
|
|
653481
|
+
un_locode: {
|
|
653482
|
+
is_active: boolean | null;
|
|
653483
|
+
id_country: number | null;
|
|
653484
|
+
id_state: number | null;
|
|
653485
|
+
id_city: number | null;
|
|
653486
|
+
id: number;
|
|
653487
|
+
logic_code: string | null;
|
|
653488
|
+
created_at: Date | null;
|
|
653489
|
+
created_by: string | null;
|
|
653490
|
+
updated_at: Date | null;
|
|
653491
|
+
updated_by: string | null;
|
|
653492
|
+
id_time_zone: number | null;
|
|
653493
|
+
un_code: string | null;
|
|
653494
|
+
iata_code: string | null;
|
|
653495
|
+
iata_region_code: string | null;
|
|
653496
|
+
latitude: Decimal | null;
|
|
653497
|
+
longitude: Decimal | null;
|
|
653498
|
+
port_name: string | null;
|
|
653499
|
+
proper_name: string | null;
|
|
653500
|
+
has_post: boolean | null;
|
|
653501
|
+
has_customs: boolean | null;
|
|
653502
|
+
has_unload: boolean | null;
|
|
653503
|
+
has_airport: boolean | null;
|
|
653504
|
+
has_railway: boolean | null;
|
|
653505
|
+
has_road: boolean | null;
|
|
653506
|
+
has_store: boolean | null;
|
|
653507
|
+
has_terminal: boolean | null;
|
|
653508
|
+
has_discharge: boolean | null;
|
|
653509
|
+
has_seaport: boolean | null;
|
|
653510
|
+
has_outport: boolean | null;
|
|
653511
|
+
} | null;
|
|
653512
|
+
country: {
|
|
653513
|
+
is_active: boolean | null;
|
|
653514
|
+
id: number;
|
|
653515
|
+
name: string | null;
|
|
653516
|
+
logic_code: string | null;
|
|
653517
|
+
created_at: Date | null;
|
|
653518
|
+
created_by: string | null;
|
|
653519
|
+
updated_at: Date | null;
|
|
653520
|
+
updated_by: string | null;
|
|
653521
|
+
id_currency: number | null;
|
|
653522
|
+
iso2_code: string | null;
|
|
653523
|
+
iso3_code: string | null;
|
|
653524
|
+
iso3_numeric: string | null;
|
|
653525
|
+
is_sanctioned: boolean | null;
|
|
653526
|
+
} | null;
|
|
653527
|
+
state: {
|
|
653528
|
+
is_active: boolean | null;
|
|
653529
|
+
id_country: number | null;
|
|
653530
|
+
id: number;
|
|
653531
|
+
name: string | null;
|
|
653532
|
+
logic_code: string | null;
|
|
653533
|
+
created_at: Date | null;
|
|
653534
|
+
created_by: string | null;
|
|
653535
|
+
updated_at: Date | null;
|
|
653536
|
+
updated_by: string | null;
|
|
653537
|
+
code: string | null;
|
|
653538
|
+
} | null;
|
|
653539
|
+
city: {
|
|
653540
|
+
is_active: boolean | null;
|
|
653541
|
+
id_country: number | null;
|
|
653542
|
+
id_state: number | null;
|
|
653543
|
+
id: number;
|
|
653544
|
+
name: string | null;
|
|
653545
|
+
logic_code: string | null;
|
|
653546
|
+
created_at: Date | null;
|
|
653547
|
+
created_by: string | null;
|
|
653548
|
+
updated_at: Date | null;
|
|
653549
|
+
updated_by: string | null;
|
|
653550
|
+
code: string | null;
|
|
653551
|
+
} | null;
|
|
653552
|
+
postal_code: {
|
|
653553
|
+
is_active: boolean | null;
|
|
653554
|
+
id_country: number | null;
|
|
653555
|
+
id: number;
|
|
653556
|
+
logic_code: string | null;
|
|
653557
|
+
created_at: Date | null;
|
|
653558
|
+
created_by: string | null;
|
|
653559
|
+
updated_at: Date | null;
|
|
653560
|
+
updated_by: string | null;
|
|
653561
|
+
code: string | null;
|
|
653562
|
+
} | null;
|
|
653563
|
+
_count: {
|
|
653564
|
+
company: number;
|
|
653565
|
+
country: number;
|
|
653566
|
+
state: number;
|
|
653567
|
+
city: number;
|
|
653568
|
+
postal_code: number;
|
|
653569
|
+
un_locode: number;
|
|
653570
|
+
branch_logs: number;
|
|
653571
|
+
users: number;
|
|
653572
|
+
bank_accounts: number;
|
|
653573
|
+
forwarding_shipment_billings: number;
|
|
653574
|
+
organization_account_credit_control_settlements: number;
|
|
653575
|
+
};
|
|
653576
|
+
company: {
|
|
653577
|
+
is_active: boolean | null;
|
|
653578
|
+
id_un_locode: number | null;
|
|
653579
|
+
id_country: number | null;
|
|
653580
|
+
id_state: number | null;
|
|
653581
|
+
id_city: number | null;
|
|
653582
|
+
id_postal_code: number | null;
|
|
653583
|
+
id: number;
|
|
653584
|
+
name: string | null;
|
|
653585
|
+
logic_code: string | null;
|
|
653586
|
+
created_at: Date | null;
|
|
653587
|
+
created_by: string | null;
|
|
653588
|
+
updated_at: Date | null;
|
|
653589
|
+
updated_by: string | null;
|
|
653590
|
+
code: string | null;
|
|
653591
|
+
address: string | null;
|
|
653592
|
+
} | null;
|
|
653593
|
+
} & {
|
|
653594
|
+
is_active: boolean | null;
|
|
653595
|
+
id_un_locode: number | null;
|
|
653596
|
+
id_country: number | null;
|
|
653597
|
+
id_state: number | null;
|
|
653598
|
+
id_city: number | null;
|
|
653599
|
+
id_postal_code: number | null;
|
|
653600
|
+
id: number;
|
|
653601
|
+
name: string | null;
|
|
653602
|
+
logic_code: string | null;
|
|
653603
|
+
created_at: Date | null;
|
|
653604
|
+
created_by: string | null;
|
|
653605
|
+
updated_at: Date | null;
|
|
653606
|
+
updated_by: string | null;
|
|
653607
|
+
code: string | null;
|
|
653608
|
+
address: string | null;
|
|
653609
|
+
id_company: number | null;
|
|
653610
|
+
};
|
|
653611
|
+
};
|
|
653612
|
+
meta: object;
|
|
653613
|
+
}>;
|
|
653614
|
+
histories: BuiltRouter<{
|
|
653615
|
+
ctx: Context;
|
|
653616
|
+
meta: object;
|
|
653617
|
+
errorShape: DefaultErrorShape;
|
|
653618
|
+
transformer: false;
|
|
653619
|
+
}, DecorateCreateRouterOptions<{
|
|
653620
|
+
get: MutationProcedure<{
|
|
653621
|
+
input: {
|
|
653622
|
+
search?: string | null | undefined;
|
|
653623
|
+
take?: number | null | undefined;
|
|
653624
|
+
skip?: number | null | undefined;
|
|
653625
|
+
is_active?: boolean[] | null | undefined;
|
|
653626
|
+
ids_include?: number[] | null | undefined;
|
|
653627
|
+
ids_exclude?: number[] | null | undefined;
|
|
653628
|
+
ids_string_include?: string[] | null | undefined;
|
|
653629
|
+
ids_string_exclude?: string[] | null | undefined;
|
|
653630
|
+
logic_codes_include?: string[] | null | undefined;
|
|
653631
|
+
logic_codes_exclude?: string[] | null | undefined;
|
|
653632
|
+
order_by?: {
|
|
653633
|
+
field: string;
|
|
653634
|
+
direction: "asc" | "desc";
|
|
653635
|
+
} | null | undefined;
|
|
653636
|
+
order_bys?: {
|
|
653637
|
+
field: string;
|
|
653638
|
+
direction: "asc" | "desc";
|
|
653639
|
+
}[] | null | undefined;
|
|
653640
|
+
id_log_type?: number | null | undefined;
|
|
653641
|
+
ids_log_type?: number[] | null | undefined;
|
|
653642
|
+
id_branch?: number | null | undefined;
|
|
653643
|
+
ids_branch?: number[] | null | undefined;
|
|
653644
|
+
};
|
|
653645
|
+
output: {
|
|
653646
|
+
data: {
|
|
653647
|
+
log_type: {
|
|
653648
|
+
is_active: boolean | null;
|
|
653649
|
+
id: number;
|
|
653650
|
+
name: string | null;
|
|
653651
|
+
logic_code: string | null;
|
|
653652
|
+
created_at: Date | null;
|
|
653653
|
+
created_by: string | null;
|
|
653654
|
+
updated_at: Date | null;
|
|
653655
|
+
updated_by: string | null;
|
|
653656
|
+
} | null;
|
|
653657
|
+
id: number;
|
|
653658
|
+
id_log_type: number | null;
|
|
653659
|
+
url: string | null;
|
|
653660
|
+
params: SimpleJson;
|
|
653661
|
+
action: string | null;
|
|
653662
|
+
action_by: string | null;
|
|
653663
|
+
action_id: string | null;
|
|
653664
|
+
action_at: Date | null;
|
|
653665
|
+
id_branch: number | null;
|
|
653666
|
+
}[] | undefined;
|
|
653667
|
+
total: number | undefined;
|
|
653668
|
+
};
|
|
653669
|
+
meta: object;
|
|
653670
|
+
}>;
|
|
653671
|
+
getDetail: MutationProcedure<{
|
|
653672
|
+
input: {
|
|
653673
|
+
id?: number | null | undefined;
|
|
653674
|
+
id_string?: string | null | undefined;
|
|
653675
|
+
};
|
|
653676
|
+
output: {
|
|
653677
|
+
data: {
|
|
653678
|
+
log_type: {
|
|
653679
|
+
is_active: boolean | null;
|
|
653680
|
+
id: number;
|
|
653681
|
+
name: string | null;
|
|
653682
|
+
logic_code: string | null;
|
|
653683
|
+
created_at: Date | null;
|
|
653684
|
+
created_by: string | null;
|
|
653685
|
+
updated_at: Date | null;
|
|
653686
|
+
updated_by: string | null;
|
|
653687
|
+
} | null;
|
|
653688
|
+
id: number;
|
|
653689
|
+
id_log_type: number | null;
|
|
653690
|
+
url: string | null;
|
|
653691
|
+
params: SimpleJson;
|
|
653692
|
+
action: string | null;
|
|
653693
|
+
action_by: string | null;
|
|
653694
|
+
action_id: string | null;
|
|
653695
|
+
action_at: Date | null;
|
|
653696
|
+
id_branch: number | null;
|
|
653697
|
+
} | undefined;
|
|
653698
|
+
};
|
|
653699
|
+
meta: object;
|
|
653700
|
+
}>;
|
|
653701
|
+
}>>;
|
|
653702
|
+
create: MutationProcedure<{
|
|
653703
|
+
input: {
|
|
653704
|
+
is_active?: boolean | undefined;
|
|
653705
|
+
id_company?: number | null | undefined;
|
|
653706
|
+
id_country?: number | null | undefined;
|
|
653707
|
+
id_state?: number | null | undefined;
|
|
653708
|
+
id_city?: number | null | undefined;
|
|
653709
|
+
id_postal_code?: number | null | undefined;
|
|
653710
|
+
id_un_locode?: number | null | undefined;
|
|
653711
|
+
code?: string | null | undefined;
|
|
653712
|
+
name?: string | null | undefined;
|
|
653713
|
+
address?: string | null | undefined;
|
|
653714
|
+
};
|
|
653715
|
+
output: {
|
|
653716
|
+
data: {
|
|
653717
|
+
is_active: boolean | null;
|
|
653718
|
+
id_un_locode: number | null;
|
|
653719
|
+
id_country: number | null;
|
|
653720
|
+
id_state: number | null;
|
|
653721
|
+
id_city: number | null;
|
|
653722
|
+
id_postal_code: number | null;
|
|
653723
|
+
id: number;
|
|
653724
|
+
name: string | null;
|
|
653725
|
+
logic_code: string | null;
|
|
653726
|
+
created_at: Date | null;
|
|
653727
|
+
created_by: string | null;
|
|
653728
|
+
updated_at: Date | null;
|
|
653729
|
+
updated_by: string | null;
|
|
653730
|
+
code: string | null;
|
|
653731
|
+
address: string | null;
|
|
653732
|
+
id_company: number | null;
|
|
653733
|
+
} | undefined;
|
|
653734
|
+
log: {
|
|
653735
|
+
id: number;
|
|
653736
|
+
id_log_type: number | null;
|
|
653737
|
+
url: string | null;
|
|
653738
|
+
params: SimpleJson;
|
|
653739
|
+
action: string | null;
|
|
653740
|
+
action_by: string | null;
|
|
653741
|
+
action_id: string | null;
|
|
653742
|
+
action_at: Date | null;
|
|
653743
|
+
id_branch: number | null;
|
|
653744
|
+
} | undefined;
|
|
653745
|
+
};
|
|
653746
|
+
meta: object;
|
|
653747
|
+
}>;
|
|
653748
|
+
update: MutationProcedure<{
|
|
653749
|
+
input: {
|
|
653750
|
+
id?: number | null | undefined;
|
|
653751
|
+
id_string?: string | null | undefined;
|
|
653752
|
+
is_active?: boolean | undefined;
|
|
653753
|
+
id_company?: number | null | undefined;
|
|
653754
|
+
id_country?: number | null | undefined;
|
|
653755
|
+
id_state?: number | null | undefined;
|
|
653756
|
+
id_city?: number | null | undefined;
|
|
653757
|
+
id_postal_code?: number | null | undefined;
|
|
653758
|
+
id_un_locode?: number | null | undefined;
|
|
653759
|
+
code?: string | null | undefined;
|
|
653760
|
+
name?: string | null | undefined;
|
|
653761
|
+
address?: string | null | undefined;
|
|
653762
|
+
};
|
|
653763
|
+
output: {
|
|
653764
|
+
data: {
|
|
653765
|
+
is_active: boolean | null;
|
|
653766
|
+
id_un_locode: number | null;
|
|
653767
|
+
id_country: number | null;
|
|
653768
|
+
id_state: number | null;
|
|
653769
|
+
id_city: number | null;
|
|
653770
|
+
id_postal_code: number | null;
|
|
653771
|
+
id: number;
|
|
653772
|
+
name: string | null;
|
|
653773
|
+
logic_code: string | null;
|
|
653774
|
+
created_at: Date | null;
|
|
653775
|
+
created_by: string | null;
|
|
653776
|
+
updated_at: Date | null;
|
|
653777
|
+
updated_by: string | null;
|
|
653778
|
+
code: string | null;
|
|
653779
|
+
address: string | null;
|
|
653780
|
+
id_company: number | null;
|
|
653781
|
+
} | undefined;
|
|
653782
|
+
log: {
|
|
653783
|
+
id: number;
|
|
653784
|
+
id_log_type: number | null;
|
|
653785
|
+
url: string | null;
|
|
653786
|
+
params: SimpleJson;
|
|
653787
|
+
action: string | null;
|
|
653788
|
+
action_by: string | null;
|
|
653789
|
+
action_id: string | null;
|
|
653790
|
+
action_at: Date | null;
|
|
653791
|
+
id_branch: number | null;
|
|
653792
|
+
} | undefined;
|
|
653793
|
+
};
|
|
653794
|
+
meta: object;
|
|
653795
|
+
}>;
|
|
653796
|
+
delete: MutationProcedure<{
|
|
653797
|
+
input: {
|
|
653798
|
+
id?: number | null | undefined;
|
|
653799
|
+
ids?: number[] | null | undefined;
|
|
653800
|
+
id_string?: string | null | undefined;
|
|
653801
|
+
ids_string?: string[] | null | undefined;
|
|
653802
|
+
};
|
|
653803
|
+
output: {
|
|
653804
|
+
data: ({
|
|
653805
|
+
is_active: boolean | null;
|
|
653806
|
+
id_un_locode: number | null;
|
|
653807
|
+
id_country: number | null;
|
|
653808
|
+
id_state: number | null;
|
|
653809
|
+
id_city: number | null;
|
|
653810
|
+
id_postal_code: number | null;
|
|
653811
|
+
id: number;
|
|
653812
|
+
name: string | null;
|
|
653813
|
+
logic_code: string | null;
|
|
653814
|
+
created_at: Date | null;
|
|
653815
|
+
created_by: string | null;
|
|
653816
|
+
updated_at: Date | null;
|
|
653817
|
+
updated_by: string | null;
|
|
653818
|
+
code: string | null;
|
|
653819
|
+
address: string | null;
|
|
653820
|
+
id_company: number | null;
|
|
653821
|
+
} | undefined)[] | undefined;
|
|
653822
|
+
};
|
|
653823
|
+
meta: object;
|
|
653824
|
+
}>;
|
|
653825
|
+
}>>;
|
|
653826
|
+
companies: BuiltRouter<{
|
|
653827
|
+
ctx: Context;
|
|
653828
|
+
meta: object;
|
|
653829
|
+
errorShape: DefaultErrorShape;
|
|
653830
|
+
transformer: false;
|
|
653831
|
+
}, DecorateCreateRouterOptions<{
|
|
653832
|
+
get: MutationProcedure<{
|
|
653833
|
+
input: {
|
|
653834
|
+
search?: string | null | undefined;
|
|
653835
|
+
take?: number | null | undefined;
|
|
653836
|
+
skip?: number | null | undefined;
|
|
653837
|
+
is_active?: boolean[] | null | undefined;
|
|
653838
|
+
ids_include?: number[] | null | undefined;
|
|
653839
|
+
ids_exclude?: number[] | null | undefined;
|
|
653840
|
+
ids_string_include?: string[] | null | undefined;
|
|
653841
|
+
ids_string_exclude?: string[] | null | undefined;
|
|
653842
|
+
logic_codes_include?: string[] | null | undefined;
|
|
653843
|
+
logic_codes_exclude?: string[] | null | undefined;
|
|
653844
|
+
order_by?: {
|
|
653845
|
+
field: string;
|
|
653846
|
+
direction: "asc" | "desc";
|
|
653847
|
+
} | null | undefined;
|
|
653848
|
+
order_bys?: {
|
|
653849
|
+
field: string;
|
|
653850
|
+
direction: "asc" | "desc";
|
|
653851
|
+
}[] | null | undefined;
|
|
653852
|
+
id_country?: number | null | undefined;
|
|
653853
|
+
ids_country?: number[] | null | undefined;
|
|
653854
|
+
id_state?: number | null | undefined;
|
|
653855
|
+
ids_state?: number[] | null | undefined;
|
|
653856
|
+
id_city?: number | null | undefined;
|
|
653857
|
+
ids_city?: number[] | null | undefined;
|
|
653858
|
+
id_postal_code?: number | null | undefined;
|
|
653859
|
+
ids_postal_code?: number[] | null | undefined;
|
|
653860
|
+
id_un_locode?: number | null | undefined;
|
|
653861
|
+
ids_un_locode?: number[] | null | undefined;
|
|
653862
|
+
};
|
|
653863
|
+
output: {
|
|
653864
|
+
data: ({
|
|
653865
|
+
un_locode: {
|
|
653866
|
+
is_active: boolean | null;
|
|
653867
|
+
id_country: number | null;
|
|
653868
|
+
id_state: number | null;
|
|
653869
|
+
id_city: number | null;
|
|
653870
|
+
id: number;
|
|
653871
|
+
logic_code: string | null;
|
|
653872
|
+
created_at: Date | null;
|
|
653873
|
+
created_by: string | null;
|
|
653874
|
+
updated_at: Date | null;
|
|
653875
|
+
updated_by: string | null;
|
|
653876
|
+
id_time_zone: number | null;
|
|
653877
|
+
un_code: string | null;
|
|
653878
|
+
iata_code: string | null;
|
|
653879
|
+
iata_region_code: string | null;
|
|
653880
|
+
latitude: Decimal | null;
|
|
653881
|
+
longitude: Decimal | null;
|
|
653882
|
+
port_name: string | null;
|
|
653883
|
+
proper_name: string | null;
|
|
653884
|
+
has_post: boolean | null;
|
|
653885
|
+
has_customs: boolean | null;
|
|
653886
|
+
has_unload: boolean | null;
|
|
653887
|
+
has_airport: boolean | null;
|
|
653888
|
+
has_railway: boolean | null;
|
|
653889
|
+
has_road: boolean | null;
|
|
653890
|
+
has_store: boolean | null;
|
|
653891
|
+
has_terminal: boolean | null;
|
|
653892
|
+
has_discharge: boolean | null;
|
|
653893
|
+
has_seaport: boolean | null;
|
|
653894
|
+
has_outport: boolean | null;
|
|
653895
|
+
} | null;
|
|
653896
|
+
country: {
|
|
653897
|
+
is_active: boolean | null;
|
|
653898
|
+
id: number;
|
|
653899
|
+
name: string | null;
|
|
653900
|
+
logic_code: string | null;
|
|
653901
|
+
created_at: Date | null;
|
|
653902
|
+
created_by: string | null;
|
|
653903
|
+
updated_at: Date | null;
|
|
653904
|
+
updated_by: string | null;
|
|
653905
|
+
id_currency: number | null;
|
|
653906
|
+
iso2_code: string | null;
|
|
653907
|
+
iso3_code: string | null;
|
|
653908
|
+
iso3_numeric: string | null;
|
|
653909
|
+
is_sanctioned: boolean | null;
|
|
653910
|
+
} | null;
|
|
653911
|
+
state: {
|
|
653912
|
+
is_active: boolean | null;
|
|
653913
|
+
id_country: number | null;
|
|
653914
|
+
id: number;
|
|
653915
|
+
name: string | null;
|
|
653916
|
+
logic_code: string | null;
|
|
653917
|
+
created_at: Date | null;
|
|
653918
|
+
created_by: string | null;
|
|
653919
|
+
updated_at: Date | null;
|
|
653920
|
+
updated_by: string | null;
|
|
653921
|
+
code: string | null;
|
|
653922
|
+
} | null;
|
|
653923
|
+
city: {
|
|
653924
|
+
is_active: boolean | null;
|
|
653925
|
+
id_country: number | null;
|
|
653926
|
+
id_state: number | null;
|
|
653927
|
+
id: number;
|
|
653928
|
+
name: string | null;
|
|
653929
|
+
logic_code: string | null;
|
|
653930
|
+
created_at: Date | null;
|
|
653931
|
+
created_by: string | null;
|
|
653932
|
+
updated_at: Date | null;
|
|
653933
|
+
updated_by: string | null;
|
|
653934
|
+
code: string | null;
|
|
653935
|
+
} | null;
|
|
653936
|
+
postal_code: {
|
|
653937
|
+
is_active: boolean | null;
|
|
653938
|
+
id_country: number | null;
|
|
653939
|
+
id: number;
|
|
653940
|
+
logic_code: string | null;
|
|
653941
|
+
created_at: Date | null;
|
|
653942
|
+
created_by: string | null;
|
|
653943
|
+
updated_at: Date | null;
|
|
653944
|
+
updated_by: string | null;
|
|
653945
|
+
code: string | null;
|
|
653946
|
+
} | null;
|
|
653947
|
+
} & {
|
|
653948
|
+
is_active: boolean | null;
|
|
653949
|
+
id_un_locode: number | null;
|
|
653950
|
+
id_country: number | null;
|
|
653951
|
+
id_state: number | null;
|
|
653952
|
+
id_city: number | null;
|
|
653953
|
+
id_postal_code: number | null;
|
|
653954
|
+
id: number;
|
|
653955
|
+
name: string | null;
|
|
653956
|
+
logic_code: string | null;
|
|
653957
|
+
created_at: Date | null;
|
|
653958
|
+
created_by: string | null;
|
|
653959
|
+
updated_at: Date | null;
|
|
653960
|
+
updated_by: string | null;
|
|
653961
|
+
code: string | null;
|
|
653962
|
+
address: string | null;
|
|
653963
|
+
})[] | undefined;
|
|
653964
|
+
total: number | undefined;
|
|
653965
|
+
};
|
|
653966
|
+
meta: object;
|
|
653967
|
+
}>;
|
|
653968
|
+
getDetail: MutationProcedure<{
|
|
653969
|
+
input: {
|
|
653970
|
+
id?: number | null | undefined;
|
|
653971
|
+
id_string?: string | null | undefined;
|
|
653972
|
+
};
|
|
653973
|
+
output: {
|
|
653974
|
+
data: {
|
|
653975
|
+
un_locode: {
|
|
653976
|
+
is_active: boolean | null;
|
|
653977
|
+
id_country: number | null;
|
|
653978
|
+
id_state: number | null;
|
|
653979
|
+
id_city: number | null;
|
|
653980
|
+
id: number;
|
|
653981
|
+
logic_code: string | null;
|
|
653982
|
+
created_at: Date | null;
|
|
653983
|
+
created_by: string | null;
|
|
653984
|
+
updated_at: Date | null;
|
|
653985
|
+
updated_by: string | null;
|
|
653986
|
+
id_time_zone: number | null;
|
|
653987
|
+
un_code: string | null;
|
|
653988
|
+
iata_code: string | null;
|
|
653989
|
+
iata_region_code: string | null;
|
|
653990
|
+
latitude: Decimal | null;
|
|
653991
|
+
longitude: Decimal | null;
|
|
653992
|
+
port_name: string | null;
|
|
653993
|
+
proper_name: string | null;
|
|
653994
|
+
has_post: boolean | null;
|
|
653995
|
+
has_customs: boolean | null;
|
|
653996
|
+
has_unload: boolean | null;
|
|
653997
|
+
has_airport: boolean | null;
|
|
653998
|
+
has_railway: boolean | null;
|
|
653999
|
+
has_road: boolean | null;
|
|
654000
|
+
has_store: boolean | null;
|
|
654001
|
+
has_terminal: boolean | null;
|
|
654002
|
+
has_discharge: boolean | null;
|
|
654003
|
+
has_seaport: boolean | null;
|
|
654004
|
+
has_outport: boolean | null;
|
|
654005
|
+
} | null;
|
|
654006
|
+
country: {
|
|
654007
|
+
is_active: boolean | null;
|
|
654008
|
+
id: number;
|
|
654009
|
+
name: string | null;
|
|
654010
|
+
logic_code: string | null;
|
|
654011
|
+
created_at: Date | null;
|
|
654012
|
+
created_by: string | null;
|
|
654013
|
+
updated_at: Date | null;
|
|
654014
|
+
updated_by: string | null;
|
|
654015
|
+
id_currency: number | null;
|
|
654016
|
+
iso2_code: string | null;
|
|
654017
|
+
iso3_code: string | null;
|
|
654018
|
+
iso3_numeric: string | null;
|
|
654019
|
+
is_sanctioned: boolean | null;
|
|
654020
|
+
} | null;
|
|
654021
|
+
state: {
|
|
654022
|
+
is_active: boolean | null;
|
|
654023
|
+
id_country: number | null;
|
|
654024
|
+
id: number;
|
|
654025
|
+
name: string | null;
|
|
654026
|
+
logic_code: string | null;
|
|
654027
|
+
created_at: Date | null;
|
|
654028
|
+
created_by: string | null;
|
|
654029
|
+
updated_at: Date | null;
|
|
654030
|
+
updated_by: string | null;
|
|
654031
|
+
code: string | null;
|
|
654032
|
+
} | null;
|
|
654033
|
+
city: {
|
|
654034
|
+
is_active: boolean | null;
|
|
654035
|
+
id_country: number | null;
|
|
654036
|
+
id_state: number | null;
|
|
654037
|
+
id: number;
|
|
654038
|
+
name: string | null;
|
|
654039
|
+
logic_code: string | null;
|
|
654040
|
+
created_at: Date | null;
|
|
654041
|
+
created_by: string | null;
|
|
654042
|
+
updated_at: Date | null;
|
|
654043
|
+
updated_by: string | null;
|
|
654044
|
+
code: string | null;
|
|
654045
|
+
} | null;
|
|
654046
|
+
postal_code: {
|
|
654047
|
+
is_active: boolean | null;
|
|
654048
|
+
id_country: number | null;
|
|
654049
|
+
id: number;
|
|
654050
|
+
logic_code: string | null;
|
|
654051
|
+
created_at: Date | null;
|
|
654052
|
+
created_by: string | null;
|
|
654053
|
+
updated_at: Date | null;
|
|
654054
|
+
updated_by: string | null;
|
|
654055
|
+
code: string | null;
|
|
654056
|
+
} | null;
|
|
654057
|
+
_count: {
|
|
654058
|
+
country: number;
|
|
654059
|
+
state: number;
|
|
654060
|
+
city: number;
|
|
654061
|
+
postal_code: number;
|
|
654062
|
+
un_locode: number;
|
|
654063
|
+
company_logs: number;
|
|
654064
|
+
users: number;
|
|
654065
|
+
bank_accounts: number;
|
|
654066
|
+
branches: number;
|
|
654067
|
+
department: number;
|
|
654068
|
+
gl_account_company_pivots: number;
|
|
654069
|
+
organization_account_payable_details: number;
|
|
654070
|
+
organization_account_receivable_details: number;
|
|
654071
|
+
};
|
|
654072
|
+
} & {
|
|
654073
|
+
is_active: boolean | null;
|
|
654074
|
+
id_un_locode: number | null;
|
|
654075
|
+
id_country: number | null;
|
|
654076
|
+
id_state: number | null;
|
|
654077
|
+
id_city: number | null;
|
|
654078
|
+
id_postal_code: number | null;
|
|
654079
|
+
id: number;
|
|
654080
|
+
name: string | null;
|
|
654081
|
+
logic_code: string | null;
|
|
654082
|
+
created_at: Date | null;
|
|
654083
|
+
created_by: string | null;
|
|
654084
|
+
updated_at: Date | null;
|
|
654085
|
+
updated_by: string | null;
|
|
654086
|
+
code: string | null;
|
|
654087
|
+
address: string | null;
|
|
654088
|
+
};
|
|
654089
|
+
};
|
|
654090
|
+
meta: object;
|
|
654091
|
+
}>;
|
|
654092
|
+
histories: BuiltRouter<{
|
|
654093
|
+
ctx: Context;
|
|
654094
|
+
meta: object;
|
|
654095
|
+
errorShape: DefaultErrorShape;
|
|
654096
|
+
transformer: false;
|
|
654097
|
+
}, DecorateCreateRouterOptions<{
|
|
654098
|
+
get: MutationProcedure<{
|
|
654099
|
+
input: {
|
|
654100
|
+
search?: string | null | undefined;
|
|
654101
|
+
take?: number | null | undefined;
|
|
654102
|
+
skip?: number | null | undefined;
|
|
654103
|
+
is_active?: boolean[] | null | undefined;
|
|
654104
|
+
ids_include?: number[] | null | undefined;
|
|
654105
|
+
ids_exclude?: number[] | null | undefined;
|
|
654106
|
+
ids_string_include?: string[] | null | undefined;
|
|
654107
|
+
ids_string_exclude?: string[] | null | undefined;
|
|
654108
|
+
logic_codes_include?: string[] | null | undefined;
|
|
654109
|
+
logic_codes_exclude?: string[] | null | undefined;
|
|
654110
|
+
order_by?: {
|
|
654111
|
+
field: string;
|
|
654112
|
+
direction: "asc" | "desc";
|
|
654113
|
+
} | null | undefined;
|
|
654114
|
+
order_bys?: {
|
|
654115
|
+
field: string;
|
|
654116
|
+
direction: "asc" | "desc";
|
|
654117
|
+
}[] | null | undefined;
|
|
654118
|
+
id_log_type?: number | null | undefined;
|
|
654119
|
+
ids_log_type?: number[] | null | undefined;
|
|
654120
|
+
id_company?: number | null | undefined;
|
|
654121
|
+
ids_company?: number[] | null | undefined;
|
|
654122
|
+
};
|
|
654123
|
+
output: {
|
|
654124
|
+
data: {
|
|
654125
|
+
log_type: {
|
|
654126
|
+
is_active: boolean | null;
|
|
654127
|
+
id: number;
|
|
654128
|
+
name: string | null;
|
|
654129
|
+
logic_code: string | null;
|
|
654130
|
+
created_at: Date | null;
|
|
654131
|
+
created_by: string | null;
|
|
654132
|
+
updated_at: Date | null;
|
|
654133
|
+
updated_by: string | null;
|
|
654134
|
+
} | null;
|
|
654135
|
+
id: number;
|
|
654136
|
+
id_log_type: number | null;
|
|
654137
|
+
url: string | null;
|
|
654138
|
+
params: SimpleJson;
|
|
654139
|
+
action: string | null;
|
|
654140
|
+
action_by: string | null;
|
|
654141
|
+
action_id: string | null;
|
|
654142
|
+
action_at: Date | null;
|
|
654143
|
+
id_company: number | null;
|
|
654144
|
+
}[] | undefined;
|
|
654145
|
+
total: number | undefined;
|
|
654146
|
+
};
|
|
654147
|
+
meta: object;
|
|
654148
|
+
}>;
|
|
654149
|
+
getDetail: MutationProcedure<{
|
|
654150
|
+
input: {
|
|
654151
|
+
id?: number | null | undefined;
|
|
654152
|
+
id_string?: string | null | undefined;
|
|
654153
|
+
};
|
|
654154
|
+
output: {
|
|
654155
|
+
data: {
|
|
654156
|
+
log_type: {
|
|
654157
|
+
is_active: boolean | null;
|
|
654158
|
+
id: number;
|
|
654159
|
+
name: string | null;
|
|
654160
|
+
logic_code: string | null;
|
|
654161
|
+
created_at: Date | null;
|
|
654162
|
+
created_by: string | null;
|
|
654163
|
+
updated_at: Date | null;
|
|
654164
|
+
updated_by: string | null;
|
|
654165
|
+
} | null;
|
|
654166
|
+
id: number;
|
|
654167
|
+
id_log_type: number | null;
|
|
654168
|
+
url: string | null;
|
|
654169
|
+
params: SimpleJson;
|
|
654170
|
+
action: string | null;
|
|
654171
|
+
action_by: string | null;
|
|
654172
|
+
action_id: string | null;
|
|
654173
|
+
action_at: Date | null;
|
|
654174
|
+
id_company: number | null;
|
|
654175
|
+
} | undefined;
|
|
654176
|
+
};
|
|
654177
|
+
meta: object;
|
|
654178
|
+
}>;
|
|
654179
|
+
}>>;
|
|
654180
|
+
create: MutationProcedure<{
|
|
654181
|
+
input: {
|
|
654182
|
+
is_active?: boolean | undefined;
|
|
654183
|
+
id_country?: number | null | undefined;
|
|
654184
|
+
id_state?: number | null | undefined;
|
|
654185
|
+
id_city?: number | null | undefined;
|
|
654186
|
+
id_postal_code?: number | null | undefined;
|
|
654187
|
+
id_un_locode?: number | null | undefined;
|
|
654188
|
+
code?: string | null | undefined;
|
|
654189
|
+
name?: string | null | undefined;
|
|
654190
|
+
address?: string | null | undefined;
|
|
654191
|
+
};
|
|
654192
|
+
output: {
|
|
654193
|
+
data: {
|
|
654194
|
+
is_active: boolean | null;
|
|
654195
|
+
id_un_locode: number | null;
|
|
654196
|
+
id_country: number | null;
|
|
654197
|
+
id_state: number | null;
|
|
654198
|
+
id_city: number | null;
|
|
654199
|
+
id_postal_code: number | null;
|
|
654200
|
+
id: number;
|
|
654201
|
+
name: string | null;
|
|
654202
|
+
logic_code: string | null;
|
|
654203
|
+
created_at: Date | null;
|
|
654204
|
+
created_by: string | null;
|
|
654205
|
+
updated_at: Date | null;
|
|
654206
|
+
updated_by: string | null;
|
|
654207
|
+
code: string | null;
|
|
654208
|
+
address: string | null;
|
|
654209
|
+
} | undefined;
|
|
654210
|
+
log: {
|
|
654211
|
+
id: number;
|
|
654212
|
+
id_log_type: number | null;
|
|
654213
|
+
url: string | null;
|
|
654214
|
+
params: SimpleJson;
|
|
654215
|
+
action: string | null;
|
|
654216
|
+
action_by: string | null;
|
|
654217
|
+
action_id: string | null;
|
|
654218
|
+
action_at: Date | null;
|
|
654219
|
+
id_company: number | null;
|
|
654220
|
+
} | undefined;
|
|
654221
|
+
};
|
|
654222
|
+
meta: object;
|
|
654223
|
+
}>;
|
|
654224
|
+
update: MutationProcedure<{
|
|
654225
|
+
input: {
|
|
654226
|
+
id?: number | null | undefined;
|
|
654227
|
+
id_string?: string | null | undefined;
|
|
654228
|
+
is_active?: boolean | undefined;
|
|
654229
|
+
id_country?: number | null | undefined;
|
|
654230
|
+
id_state?: number | null | undefined;
|
|
654231
|
+
id_city?: number | null | undefined;
|
|
654232
|
+
id_postal_code?: number | null | undefined;
|
|
654233
|
+
id_un_locode?: number | null | undefined;
|
|
654234
|
+
code?: string | null | undefined;
|
|
654235
|
+
name?: string | null | undefined;
|
|
654236
|
+
address?: string | null | undefined;
|
|
654237
|
+
};
|
|
654238
|
+
output: {
|
|
654239
|
+
data: {
|
|
654240
|
+
is_active: boolean | null;
|
|
654241
|
+
id_un_locode: number | null;
|
|
654242
|
+
id_country: number | null;
|
|
654243
|
+
id_state: number | null;
|
|
654244
|
+
id_city: number | null;
|
|
654245
|
+
id_postal_code: number | null;
|
|
654246
|
+
id: number;
|
|
654247
|
+
name: string | null;
|
|
654248
|
+
logic_code: string | null;
|
|
654249
|
+
created_at: Date | null;
|
|
654250
|
+
created_by: string | null;
|
|
654251
|
+
updated_at: Date | null;
|
|
654252
|
+
updated_by: string | null;
|
|
654253
|
+
code: string | null;
|
|
654254
|
+
address: string | null;
|
|
654255
|
+
} | undefined;
|
|
654256
|
+
log: {
|
|
654257
|
+
id: number;
|
|
654258
|
+
id_log_type: number | null;
|
|
654259
|
+
url: string | null;
|
|
654260
|
+
params: SimpleJson;
|
|
654261
|
+
action: string | null;
|
|
654262
|
+
action_by: string | null;
|
|
654263
|
+
action_id: string | null;
|
|
654264
|
+
action_at: Date | null;
|
|
654265
|
+
id_company: number | null;
|
|
654266
|
+
} | undefined;
|
|
654267
|
+
};
|
|
654268
|
+
meta: object;
|
|
654269
|
+
}>;
|
|
654270
|
+
delete: MutationProcedure<{
|
|
654271
|
+
input: {
|
|
654272
|
+
id?: number | null | undefined;
|
|
654273
|
+
ids?: number[] | null | undefined;
|
|
654274
|
+
id_string?: string | null | undefined;
|
|
654275
|
+
ids_string?: string[] | null | undefined;
|
|
654276
|
+
};
|
|
654277
|
+
output: {
|
|
654278
|
+
data: ({
|
|
654279
|
+
is_active: boolean | null;
|
|
654280
|
+
id_un_locode: number | null;
|
|
654281
|
+
id_country: number | null;
|
|
654282
|
+
id_state: number | null;
|
|
654283
|
+
id_city: number | null;
|
|
654284
|
+
id_postal_code: number | null;
|
|
654285
|
+
id: number;
|
|
654286
|
+
name: string | null;
|
|
654287
|
+
logic_code: string | null;
|
|
654288
|
+
created_at: Date | null;
|
|
654289
|
+
created_by: string | null;
|
|
654290
|
+
updated_at: Date | null;
|
|
654291
|
+
updated_by: string | null;
|
|
654292
|
+
code: string | null;
|
|
654293
|
+
address: string | null;
|
|
654294
|
+
} | undefined)[] | undefined;
|
|
654295
|
+
};
|
|
654296
|
+
meta: object;
|
|
654297
|
+
}>;
|
|
654298
|
+
}>>;
|
|
654299
|
+
departments: BuiltRouter<{
|
|
654300
|
+
ctx: Context;
|
|
654301
|
+
meta: object;
|
|
654302
|
+
errorShape: DefaultErrorShape;
|
|
654303
|
+
transformer: false;
|
|
654304
|
+
}, DecorateCreateRouterOptions<{
|
|
654305
|
+
get: MutationProcedure<{
|
|
654306
|
+
input: {
|
|
654307
|
+
search?: string | null | undefined;
|
|
654308
|
+
take?: number | null | undefined;
|
|
654309
|
+
skip?: number | null | undefined;
|
|
654310
|
+
is_active?: boolean[] | null | undefined;
|
|
654311
|
+
ids_include?: number[] | null | undefined;
|
|
654312
|
+
ids_exclude?: number[] | null | undefined;
|
|
654313
|
+
ids_string_include?: string[] | null | undefined;
|
|
654314
|
+
ids_string_exclude?: string[] | null | undefined;
|
|
654315
|
+
logic_codes_include?: string[] | null | undefined;
|
|
654316
|
+
logic_codes_exclude?: string[] | null | undefined;
|
|
654317
|
+
order_by?: {
|
|
654318
|
+
field: string;
|
|
654319
|
+
direction: "asc" | "desc";
|
|
654320
|
+
} | null | undefined;
|
|
654321
|
+
order_bys?: {
|
|
654322
|
+
field: string;
|
|
654323
|
+
direction: "asc" | "desc";
|
|
654324
|
+
}[] | null | undefined;
|
|
654325
|
+
id_company?: number | null | undefined;
|
|
654326
|
+
ids_company?: number[] | null | undefined;
|
|
654327
|
+
};
|
|
654328
|
+
output: {
|
|
654329
|
+
data: ({
|
|
654330
|
+
company: {
|
|
654331
|
+
is_active: boolean | null;
|
|
654332
|
+
id_un_locode: number | null;
|
|
654333
|
+
id_country: number | null;
|
|
654334
|
+
id_state: number | null;
|
|
654335
|
+
id_city: number | null;
|
|
654336
|
+
id_postal_code: number | null;
|
|
654337
|
+
id: number;
|
|
654338
|
+
name: string | null;
|
|
654339
|
+
logic_code: string | null;
|
|
654340
|
+
created_at: Date | null;
|
|
654341
|
+
created_by: string | null;
|
|
654342
|
+
updated_at: Date | null;
|
|
654343
|
+
updated_by: string | null;
|
|
654344
|
+
code: string | null;
|
|
654345
|
+
address: string | null;
|
|
654346
|
+
} | null;
|
|
654347
|
+
} & {
|
|
654348
|
+
is_active: boolean | null;
|
|
654349
|
+
id: number;
|
|
654350
|
+
name: string | null;
|
|
654351
|
+
logic_code: string | null;
|
|
654352
|
+
created_at: Date | null;
|
|
654353
|
+
created_by: string | null;
|
|
654354
|
+
updated_at: Date | null;
|
|
654355
|
+
updated_by: string | null;
|
|
654356
|
+
code: string | null;
|
|
654357
|
+
id_company: number | null;
|
|
654358
|
+
})[] | undefined;
|
|
654359
|
+
total: number | undefined;
|
|
654360
|
+
};
|
|
654361
|
+
meta: object;
|
|
654362
|
+
}>;
|
|
654363
|
+
getDetail: MutationProcedure<{
|
|
654364
|
+
input: {
|
|
654365
|
+
id?: number | null | undefined;
|
|
654366
|
+
id_string?: string | null | undefined;
|
|
654367
|
+
};
|
|
654368
|
+
output: {
|
|
654369
|
+
data: {
|
|
654370
|
+
_count: {
|
|
654371
|
+
company: number;
|
|
654372
|
+
department_logs: number;
|
|
654373
|
+
users: number;
|
|
654374
|
+
charge_codes: number;
|
|
654375
|
+
forwarding_shipment_billings: number;
|
|
654376
|
+
organization_account_credit_control_settlements: number;
|
|
654377
|
+
};
|
|
654378
|
+
company: {
|
|
654379
|
+
is_active: boolean | null;
|
|
654380
|
+
id_un_locode: number | null;
|
|
654381
|
+
id_country: number | null;
|
|
654382
|
+
id_state: number | null;
|
|
654383
|
+
id_city: number | null;
|
|
654384
|
+
id_postal_code: number | null;
|
|
654385
|
+
id: number;
|
|
654386
|
+
name: string | null;
|
|
654387
|
+
logic_code: string | null;
|
|
654388
|
+
created_at: Date | null;
|
|
654389
|
+
created_by: string | null;
|
|
654390
|
+
updated_at: Date | null;
|
|
654391
|
+
updated_by: string | null;
|
|
654392
|
+
code: string | null;
|
|
654393
|
+
address: string | null;
|
|
654394
|
+
} | null;
|
|
654395
|
+
} & {
|
|
654396
|
+
is_active: boolean | null;
|
|
654397
|
+
id: number;
|
|
654398
|
+
name: string | null;
|
|
654399
|
+
logic_code: string | null;
|
|
654400
|
+
created_at: Date | null;
|
|
654401
|
+
created_by: string | null;
|
|
654402
|
+
updated_at: Date | null;
|
|
654403
|
+
updated_by: string | null;
|
|
654404
|
+
code: string | null;
|
|
654405
|
+
id_company: number | null;
|
|
654406
|
+
};
|
|
654407
|
+
};
|
|
654408
|
+
meta: object;
|
|
654409
|
+
}>;
|
|
654410
|
+
histories: BuiltRouter<{
|
|
654411
|
+
ctx: Context;
|
|
654412
|
+
meta: object;
|
|
654413
|
+
errorShape: DefaultErrorShape;
|
|
654414
|
+
transformer: false;
|
|
654415
|
+
}, DecorateCreateRouterOptions<{
|
|
654416
|
+
get: MutationProcedure<{
|
|
654417
|
+
input: {
|
|
654418
|
+
search?: string | null | undefined;
|
|
654419
|
+
take?: number | null | undefined;
|
|
654420
|
+
skip?: number | null | undefined;
|
|
654421
|
+
is_active?: boolean[] | null | undefined;
|
|
654422
|
+
ids_include?: number[] | null | undefined;
|
|
654423
|
+
ids_exclude?: number[] | null | undefined;
|
|
654424
|
+
ids_string_include?: string[] | null | undefined;
|
|
654425
|
+
ids_string_exclude?: string[] | null | undefined;
|
|
654426
|
+
logic_codes_include?: string[] | null | undefined;
|
|
654427
|
+
logic_codes_exclude?: string[] | null | undefined;
|
|
654428
|
+
order_by?: {
|
|
654429
|
+
field: string;
|
|
654430
|
+
direction: "asc" | "desc";
|
|
654431
|
+
} | null | undefined;
|
|
654432
|
+
order_bys?: {
|
|
654433
|
+
field: string;
|
|
654434
|
+
direction: "asc" | "desc";
|
|
654435
|
+
}[] | null | undefined;
|
|
654436
|
+
id_log_type?: number | null | undefined;
|
|
654437
|
+
ids_log_type?: number[] | null | undefined;
|
|
654438
|
+
id_department?: number | null | undefined;
|
|
654439
|
+
ids_department?: number[] | null | undefined;
|
|
654440
|
+
};
|
|
654441
|
+
output: {
|
|
654442
|
+
data: {
|
|
654443
|
+
log_type: {
|
|
654444
|
+
is_active: boolean | null;
|
|
654445
|
+
id: number;
|
|
654446
|
+
name: string | null;
|
|
654447
|
+
logic_code: string | null;
|
|
654448
|
+
created_at: Date | null;
|
|
654449
|
+
created_by: string | null;
|
|
654450
|
+
updated_at: Date | null;
|
|
654451
|
+
updated_by: string | null;
|
|
654452
|
+
} | null;
|
|
654453
|
+
id: number;
|
|
654454
|
+
id_log_type: number | null;
|
|
654455
|
+
url: string | null;
|
|
654456
|
+
params: SimpleJson;
|
|
654457
|
+
action: string | null;
|
|
654458
|
+
action_by: string | null;
|
|
654459
|
+
action_id: string | null;
|
|
654460
|
+
action_at: Date | null;
|
|
654461
|
+
id_department: number | null;
|
|
654462
|
+
}[] | undefined;
|
|
654463
|
+
total: number | undefined;
|
|
654464
|
+
};
|
|
654465
|
+
meta: object;
|
|
654466
|
+
}>;
|
|
654467
|
+
getDetail: MutationProcedure<{
|
|
654468
|
+
input: {
|
|
654469
|
+
id?: number | null | undefined;
|
|
654470
|
+
id_string?: string | null | undefined;
|
|
654471
|
+
};
|
|
654472
|
+
output: {
|
|
654473
|
+
data: {
|
|
654474
|
+
log_type: {
|
|
654475
|
+
is_active: boolean | null;
|
|
654476
|
+
id: number;
|
|
654477
|
+
name: string | null;
|
|
654478
|
+
logic_code: string | null;
|
|
654479
|
+
created_at: Date | null;
|
|
654480
|
+
created_by: string | null;
|
|
654481
|
+
updated_at: Date | null;
|
|
654482
|
+
updated_by: string | null;
|
|
654483
|
+
} | null;
|
|
654484
|
+
id: number;
|
|
654485
|
+
id_log_type: number | null;
|
|
654486
|
+
url: string | null;
|
|
654487
|
+
params: SimpleJson;
|
|
654488
|
+
action: string | null;
|
|
654489
|
+
action_by: string | null;
|
|
654490
|
+
action_id: string | null;
|
|
654491
|
+
action_at: Date | null;
|
|
654492
|
+
id_department: number | null;
|
|
654493
|
+
} | undefined;
|
|
654494
|
+
};
|
|
654495
|
+
meta: object;
|
|
654496
|
+
}>;
|
|
654497
|
+
}>>;
|
|
654498
|
+
create: MutationProcedure<{
|
|
654499
|
+
input: {
|
|
654500
|
+
is_active?: boolean | undefined;
|
|
654501
|
+
id_company?: number | null | undefined;
|
|
654502
|
+
code?: string | null | undefined;
|
|
654503
|
+
name?: string | null | undefined;
|
|
654504
|
+
};
|
|
654505
|
+
output: {
|
|
654506
|
+
data: {
|
|
654507
|
+
is_active: boolean | null;
|
|
654508
|
+
id: number;
|
|
654509
|
+
name: string | null;
|
|
654510
|
+
logic_code: string | null;
|
|
654511
|
+
created_at: Date | null;
|
|
654512
|
+
created_by: string | null;
|
|
654513
|
+
updated_at: Date | null;
|
|
654514
|
+
updated_by: string | null;
|
|
654515
|
+
code: string | null;
|
|
654516
|
+
id_company: number | null;
|
|
654517
|
+
} | undefined;
|
|
654518
|
+
log: {
|
|
654519
|
+
id: number;
|
|
654520
|
+
id_log_type: number | null;
|
|
654521
|
+
url: string | null;
|
|
654522
|
+
params: SimpleJson;
|
|
654523
|
+
action: string | null;
|
|
654524
|
+
action_by: string | null;
|
|
654525
|
+
action_id: string | null;
|
|
654526
|
+
action_at: Date | null;
|
|
654527
|
+
id_department: number | null;
|
|
654528
|
+
} | undefined;
|
|
654529
|
+
};
|
|
654530
|
+
meta: object;
|
|
654531
|
+
}>;
|
|
654532
|
+
update: MutationProcedure<{
|
|
654533
|
+
input: {
|
|
654534
|
+
id?: number | null | undefined;
|
|
654535
|
+
id_string?: string | null | undefined;
|
|
654536
|
+
is_active?: boolean | undefined;
|
|
654537
|
+
id_company?: number | null | undefined;
|
|
654538
|
+
code?: string | null | undefined;
|
|
654539
|
+
name?: string | null | undefined;
|
|
654540
|
+
};
|
|
654541
|
+
output: {
|
|
654542
|
+
data: {
|
|
654543
|
+
is_active: boolean | null;
|
|
654544
|
+
id: number;
|
|
654545
|
+
name: string | null;
|
|
654546
|
+
logic_code: string | null;
|
|
654547
|
+
created_at: Date | null;
|
|
654548
|
+
created_by: string | null;
|
|
654549
|
+
updated_at: Date | null;
|
|
654550
|
+
updated_by: string | null;
|
|
654551
|
+
code: string | null;
|
|
654552
|
+
id_company: number | null;
|
|
654553
|
+
} | undefined;
|
|
654554
|
+
log: {
|
|
654555
|
+
id: number;
|
|
654556
|
+
id_log_type: number | null;
|
|
654557
|
+
url: string | null;
|
|
654558
|
+
params: SimpleJson;
|
|
654559
|
+
action: string | null;
|
|
654560
|
+
action_by: string | null;
|
|
654561
|
+
action_id: string | null;
|
|
654562
|
+
action_at: Date | null;
|
|
654563
|
+
id_department: number | null;
|
|
654564
|
+
} | undefined;
|
|
654565
|
+
};
|
|
654566
|
+
meta: object;
|
|
654567
|
+
}>;
|
|
654568
|
+
delete: MutationProcedure<{
|
|
654569
|
+
input: {
|
|
654570
|
+
id?: number | null | undefined;
|
|
654571
|
+
ids?: number[] | null | undefined;
|
|
654572
|
+
id_string?: string | null | undefined;
|
|
654573
|
+
ids_string?: string[] | null | undefined;
|
|
654574
|
+
};
|
|
654575
|
+
output: {
|
|
654576
|
+
data: ({
|
|
654577
|
+
is_active: boolean | null;
|
|
654578
|
+
id: number;
|
|
654579
|
+
name: string | null;
|
|
654580
|
+
logic_code: string | null;
|
|
654581
|
+
created_at: Date | null;
|
|
654582
|
+
created_by: string | null;
|
|
654583
|
+
updated_at: Date | null;
|
|
654584
|
+
updated_by: string | null;
|
|
654585
|
+
code: string | null;
|
|
654586
|
+
id_company: number | null;
|
|
654587
|
+
} | undefined)[] | undefined;
|
|
654588
|
+
};
|
|
654589
|
+
meta: object;
|
|
654590
|
+
}>;
|
|
654591
|
+
}>>;
|
|
654592
|
+
}>>;
|
|
653306
654593
|
}>>;
|
|
653307
654594
|
}>>;
|
|
653308
654595
|
type AppRouter = typeof appRouter;
|