@be-pttmj/app-api 0.0.5 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +268 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -33625,6 +33625,274 @@ declare const appRouter: BuiltRouter<{
|
|
|
33625
33625
|
}>>;
|
|
33626
33626
|
}>>;
|
|
33627
33627
|
}>>;
|
|
33628
|
+
hr: BuiltRouter<{
|
|
33629
|
+
ctx: Context;
|
|
33630
|
+
meta: object;
|
|
33631
|
+
errorShape: DefaultErrorShape;
|
|
33632
|
+
transformer: false;
|
|
33633
|
+
}, DecorateCreateRouterOptions<{
|
|
33634
|
+
talents: BuiltRouter<{
|
|
33635
|
+
ctx: Context;
|
|
33636
|
+
meta: object;
|
|
33637
|
+
errorShape: DefaultErrorShape;
|
|
33638
|
+
transformer: false;
|
|
33639
|
+
}, DecorateCreateRouterOptions<{
|
|
33640
|
+
drivers: BuiltRouter<{
|
|
33641
|
+
ctx: Context;
|
|
33642
|
+
meta: object;
|
|
33643
|
+
errorShape: DefaultErrorShape;
|
|
33644
|
+
transformer: false;
|
|
33645
|
+
}, DecorateCreateRouterOptions<{
|
|
33646
|
+
get: MutationProcedure<{
|
|
33647
|
+
input: {
|
|
33648
|
+
search?: string | null | undefined;
|
|
33649
|
+
take?: string | number | null | undefined;
|
|
33650
|
+
skip?: string | number | null | undefined;
|
|
33651
|
+
is_active?: (string | boolean)[] | null | undefined;
|
|
33652
|
+
is_system?: (string | boolean)[] | null | undefined;
|
|
33653
|
+
ids_include?: (string | number | bigint)[] | null | undefined;
|
|
33654
|
+
ids_exclude?: (string | number | bigint)[] | null | undefined;
|
|
33655
|
+
logic_codes_include?: string[] | null | undefined;
|
|
33656
|
+
logic_codes_exclude?: string[] | null | undefined;
|
|
33657
|
+
order_by?: {
|
|
33658
|
+
field: string;
|
|
33659
|
+
direction: "asc" | "desc";
|
|
33660
|
+
} | null | undefined;
|
|
33661
|
+
order_bys?: {
|
|
33662
|
+
field: string;
|
|
33663
|
+
direction: "asc" | "desc";
|
|
33664
|
+
}[] | null | undefined;
|
|
33665
|
+
};
|
|
33666
|
+
output: {
|
|
33667
|
+
data: {
|
|
33668
|
+
is_active: boolean | null;
|
|
33669
|
+
id: string;
|
|
33670
|
+
logic_code: string | null;
|
|
33671
|
+
name: string | null;
|
|
33672
|
+
created_at: Date | null;
|
|
33673
|
+
created_by: string | null;
|
|
33674
|
+
updated_at: Date | null;
|
|
33675
|
+
updated_by: string | null;
|
|
33676
|
+
code: string | null;
|
|
33677
|
+
phone: string | null;
|
|
33678
|
+
address: string | null;
|
|
33679
|
+
}[] | undefined;
|
|
33680
|
+
total: number | undefined;
|
|
33681
|
+
};
|
|
33682
|
+
meta: object;
|
|
33683
|
+
}>;
|
|
33684
|
+
getDetail: MutationProcedure<{
|
|
33685
|
+
input: {
|
|
33686
|
+
id?: string | number | bigint | null | undefined;
|
|
33687
|
+
logic_code?: string | null | undefined;
|
|
33688
|
+
};
|
|
33689
|
+
output: {
|
|
33690
|
+
data: {
|
|
33691
|
+
_count: {
|
|
33692
|
+
driver_logs: number;
|
|
33693
|
+
billings: number;
|
|
33694
|
+
};
|
|
33695
|
+
is_active: boolean | null;
|
|
33696
|
+
id: string;
|
|
33697
|
+
logic_code: string | null;
|
|
33698
|
+
name: string | null;
|
|
33699
|
+
created_at: Date | null;
|
|
33700
|
+
created_by: string | null;
|
|
33701
|
+
updated_at: Date | null;
|
|
33702
|
+
updated_by: string | null;
|
|
33703
|
+
code: string | null;
|
|
33704
|
+
phone: string | null;
|
|
33705
|
+
address: string | null;
|
|
33706
|
+
};
|
|
33707
|
+
};
|
|
33708
|
+
meta: object;
|
|
33709
|
+
}>;
|
|
33710
|
+
histories: BuiltRouter<{
|
|
33711
|
+
ctx: Context;
|
|
33712
|
+
meta: object;
|
|
33713
|
+
errorShape: DefaultErrorShape;
|
|
33714
|
+
transformer: false;
|
|
33715
|
+
}, DecorateCreateRouterOptions<{
|
|
33716
|
+
get: MutationProcedure<{
|
|
33717
|
+
input: {
|
|
33718
|
+
search?: string | null | undefined;
|
|
33719
|
+
take?: string | number | null | undefined;
|
|
33720
|
+
skip?: string | number | null | undefined;
|
|
33721
|
+
is_active?: (string | boolean)[] | null | undefined;
|
|
33722
|
+
is_system?: (string | boolean)[] | null | undefined;
|
|
33723
|
+
ids_include?: (string | number | bigint)[] | null | undefined;
|
|
33724
|
+
ids_exclude?: (string | number | bigint)[] | null | undefined;
|
|
33725
|
+
logic_codes_include?: string[] | null | undefined;
|
|
33726
|
+
logic_codes_exclude?: string[] | null | undefined;
|
|
33727
|
+
order_by?: {
|
|
33728
|
+
field: string;
|
|
33729
|
+
direction: "asc" | "desc";
|
|
33730
|
+
} | null | undefined;
|
|
33731
|
+
order_bys?: {
|
|
33732
|
+
field: string;
|
|
33733
|
+
direction: "asc" | "desc";
|
|
33734
|
+
}[] | null | undefined;
|
|
33735
|
+
id_log_type?: string | number | bigint | null | undefined;
|
|
33736
|
+
ids_log_type?: (string | number | bigint)[] | null | undefined;
|
|
33737
|
+
id_driver?: string | number | bigint | null | undefined;
|
|
33738
|
+
ids_driver?: (string | number | bigint)[] | null | undefined;
|
|
33739
|
+
};
|
|
33740
|
+
output: {
|
|
33741
|
+
data: {
|
|
33742
|
+
log_type: {
|
|
33743
|
+
is_active: boolean | null;
|
|
33744
|
+
id: string;
|
|
33745
|
+
logic_code: string | null;
|
|
33746
|
+
name: string | null;
|
|
33747
|
+
created_at: Date | null;
|
|
33748
|
+
created_by: string | null;
|
|
33749
|
+
updated_at: Date | null;
|
|
33750
|
+
updated_by: string | null;
|
|
33751
|
+
} | null;
|
|
33752
|
+
id: string;
|
|
33753
|
+
id_log_type: string | null;
|
|
33754
|
+
id_main_data: string | null;
|
|
33755
|
+
url: string | null;
|
|
33756
|
+
params: SimpleJson;
|
|
33757
|
+
action: string | null;
|
|
33758
|
+
action_by: string | null;
|
|
33759
|
+
action_id: string | null;
|
|
33760
|
+
action_at: Date | null;
|
|
33761
|
+
}[] | undefined;
|
|
33762
|
+
total: number | undefined;
|
|
33763
|
+
};
|
|
33764
|
+
meta: object;
|
|
33765
|
+
}>;
|
|
33766
|
+
getDetail: MutationProcedure<{
|
|
33767
|
+
input: {
|
|
33768
|
+
id?: string | number | bigint | null | undefined;
|
|
33769
|
+
logic_code?: string | null | undefined;
|
|
33770
|
+
};
|
|
33771
|
+
output: {
|
|
33772
|
+
data: {
|
|
33773
|
+
log_type: {
|
|
33774
|
+
is_active: boolean | null;
|
|
33775
|
+
id: string;
|
|
33776
|
+
logic_code: string | null;
|
|
33777
|
+
name: string | null;
|
|
33778
|
+
created_at: Date | null;
|
|
33779
|
+
created_by: string | null;
|
|
33780
|
+
updated_at: Date | null;
|
|
33781
|
+
updated_by: string | null;
|
|
33782
|
+
} | null;
|
|
33783
|
+
id: string;
|
|
33784
|
+
id_log_type: string | null;
|
|
33785
|
+
id_main_data: string | null;
|
|
33786
|
+
url: string | null;
|
|
33787
|
+
params: SimpleJson;
|
|
33788
|
+
action: string | null;
|
|
33789
|
+
action_by: string | null;
|
|
33790
|
+
action_id: string | null;
|
|
33791
|
+
action_at: Date | null;
|
|
33792
|
+
} | undefined;
|
|
33793
|
+
};
|
|
33794
|
+
meta: object;
|
|
33795
|
+
}>;
|
|
33796
|
+
}>>;
|
|
33797
|
+
create: MutationProcedure<{
|
|
33798
|
+
input: {
|
|
33799
|
+
is_active?: string | boolean | null | undefined;
|
|
33800
|
+
code?: string | null | undefined;
|
|
33801
|
+
name?: string | null | undefined;
|
|
33802
|
+
phone?: string | null | undefined;
|
|
33803
|
+
address?: string | null | undefined;
|
|
33804
|
+
};
|
|
33805
|
+
output: {
|
|
33806
|
+
data: {
|
|
33807
|
+
is_active: boolean | null;
|
|
33808
|
+
id: string;
|
|
33809
|
+
logic_code: string | null;
|
|
33810
|
+
name: string | null;
|
|
33811
|
+
created_at: Date | null;
|
|
33812
|
+
created_by: string | null;
|
|
33813
|
+
updated_at: Date | null;
|
|
33814
|
+
updated_by: string | null;
|
|
33815
|
+
code: string | null;
|
|
33816
|
+
phone: string | null;
|
|
33817
|
+
address: string | null;
|
|
33818
|
+
} | undefined;
|
|
33819
|
+
log: {
|
|
33820
|
+
id: string;
|
|
33821
|
+
id_log_type: string | null;
|
|
33822
|
+
id_main_data: string | null;
|
|
33823
|
+
url: string | null;
|
|
33824
|
+
params: SimpleJson;
|
|
33825
|
+
action: string | null;
|
|
33826
|
+
action_by: string | null;
|
|
33827
|
+
action_id: string | null;
|
|
33828
|
+
action_at: Date | null;
|
|
33829
|
+
} | undefined;
|
|
33830
|
+
};
|
|
33831
|
+
meta: object;
|
|
33832
|
+
}>;
|
|
33833
|
+
update: MutationProcedure<{
|
|
33834
|
+
input: {
|
|
33835
|
+
id?: string | number | bigint | null | undefined;
|
|
33836
|
+
logic_code?: string | null | undefined;
|
|
33837
|
+
is_active?: string | boolean | null | undefined;
|
|
33838
|
+
code?: string | null | undefined;
|
|
33839
|
+
name?: string | null | undefined;
|
|
33840
|
+
phone?: string | null | undefined;
|
|
33841
|
+
address?: string | null | undefined;
|
|
33842
|
+
};
|
|
33843
|
+
output: {
|
|
33844
|
+
data: {
|
|
33845
|
+
is_active: boolean | null;
|
|
33846
|
+
id: string;
|
|
33847
|
+
logic_code: string | null;
|
|
33848
|
+
name: string | null;
|
|
33849
|
+
created_at: Date | null;
|
|
33850
|
+
created_by: string | null;
|
|
33851
|
+
updated_at: Date | null;
|
|
33852
|
+
updated_by: string | null;
|
|
33853
|
+
code: string | null;
|
|
33854
|
+
phone: string | null;
|
|
33855
|
+
address: string | null;
|
|
33856
|
+
} | undefined;
|
|
33857
|
+
log: {
|
|
33858
|
+
id: string;
|
|
33859
|
+
id_log_type: string | null;
|
|
33860
|
+
id_main_data: string | null;
|
|
33861
|
+
url: string | null;
|
|
33862
|
+
params: SimpleJson;
|
|
33863
|
+
action: string | null;
|
|
33864
|
+
action_by: string | null;
|
|
33865
|
+
action_id: string | null;
|
|
33866
|
+
action_at: Date | null;
|
|
33867
|
+
} | undefined;
|
|
33868
|
+
};
|
|
33869
|
+
meta: object;
|
|
33870
|
+
}>;
|
|
33871
|
+
delete: MutationProcedure<{
|
|
33872
|
+
input: {
|
|
33873
|
+
id?: string | number | bigint | null | undefined;
|
|
33874
|
+
ids?: (string | number | bigint)[] | null | undefined;
|
|
33875
|
+
};
|
|
33876
|
+
output: {
|
|
33877
|
+
data: ({
|
|
33878
|
+
is_active: boolean | null;
|
|
33879
|
+
id: string;
|
|
33880
|
+
logic_code: string | null;
|
|
33881
|
+
name: string | null;
|
|
33882
|
+
created_at: Date | null;
|
|
33883
|
+
created_by: string | null;
|
|
33884
|
+
updated_at: Date | null;
|
|
33885
|
+
updated_by: string | null;
|
|
33886
|
+
code: string | null;
|
|
33887
|
+
phone: string | null;
|
|
33888
|
+
address: string | null;
|
|
33889
|
+
} | undefined)[] | undefined;
|
|
33890
|
+
};
|
|
33891
|
+
meta: object;
|
|
33892
|
+
}>;
|
|
33893
|
+
}>>;
|
|
33894
|
+
}>>;
|
|
33895
|
+
}>>;
|
|
33628
33896
|
}>>;
|
|
33629
33897
|
type AppRouter = typeof appRouter;
|
|
33630
33898
|
//#endregion
|