vms-nest-prisma-api-document 1.0.3 → 1.0.8
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.cjs +228 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +322 -1
- package/dist/index.d.ts +322 -1
- package/dist/index.js +218 -0
- package/dist/index.js.map +1 -1
- package/package.json +4 -3
package/dist/index.d.cts
CHANGED
|
@@ -1545,6 +1545,116 @@ interface MasterExpenseName extends Record<string, unknown> {
|
|
|
1545
1545
|
FleetIncidentManagementCost: number;
|
|
1546
1546
|
};
|
|
1547
1547
|
}
|
|
1548
|
+
declare const MasterExpenseNameSchema: z.ZodObject<{
|
|
1549
|
+
organisation_id: z.ZodEffects<z.ZodString, string, string>;
|
|
1550
|
+
expense_name: z.ZodEffects<z.ZodString, string, string>;
|
|
1551
|
+
expense_category: z.ZodType<ExpenseCategory, z.ZodTypeDef, ExpenseCategory>;
|
|
1552
|
+
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
1553
|
+
}, "strip", z.ZodTypeAny, {
|
|
1554
|
+
status: Status;
|
|
1555
|
+
organisation_id: string;
|
|
1556
|
+
expense_name: string;
|
|
1557
|
+
expense_category: ExpenseCategory;
|
|
1558
|
+
}, {
|
|
1559
|
+
status: Status;
|
|
1560
|
+
organisation_id: string;
|
|
1561
|
+
expense_name: string;
|
|
1562
|
+
expense_category: ExpenseCategory;
|
|
1563
|
+
}>;
|
|
1564
|
+
type MasterExpenseNameDTO = z.infer<typeof MasterExpenseNameSchema>;
|
|
1565
|
+
declare const MasterExpenseNameQuerySchema: z.ZodObject<{
|
|
1566
|
+
search: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
1567
|
+
status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof Status>, "many">>>;
|
|
1568
|
+
paging: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof PAGING>>>;
|
|
1569
|
+
page_count: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
|
1570
|
+
page_index: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
|
1571
|
+
load_parents: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadParents>>>;
|
|
1572
|
+
load_parents_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
1573
|
+
load_child: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadChild>>>;
|
|
1574
|
+
load_child_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
1575
|
+
load_child_count: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadChildCount>>>;
|
|
1576
|
+
load_child_count_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
1577
|
+
include_details: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
1578
|
+
where_relations: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
1579
|
+
order_by: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1580
|
+
name: z.ZodEffects<z.ZodString, string, string>;
|
|
1581
|
+
field: z.ZodEffects<z.ZodString, string, string>;
|
|
1582
|
+
direction: z.ZodType<OrderBy, z.ZodTypeDef, OrderBy>;
|
|
1583
|
+
}, "strip", z.ZodTypeAny, {
|
|
1584
|
+
name: string;
|
|
1585
|
+
field: string;
|
|
1586
|
+
direction: OrderBy;
|
|
1587
|
+
}, {
|
|
1588
|
+
name: string;
|
|
1589
|
+
field: string;
|
|
1590
|
+
direction: OrderBy;
|
|
1591
|
+
}>, "many">>>;
|
|
1592
|
+
include_master_data: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
|
|
1593
|
+
date_format_id: z.ZodEffects<z.ZodString, string, string>;
|
|
1594
|
+
time_zone_id: z.ZodEffects<z.ZodString, string, string>;
|
|
1595
|
+
} & {
|
|
1596
|
+
organisation_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
1597
|
+
expense_name_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
1598
|
+
expense_category: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof ExpenseCategory>, "many">>>;
|
|
1599
|
+
}, "strip", z.ZodTypeAny, {
|
|
1600
|
+
search: string;
|
|
1601
|
+
load_child: LoadChild;
|
|
1602
|
+
load_parents: LoadParents;
|
|
1603
|
+
paging: PAGING;
|
|
1604
|
+
page_index: number;
|
|
1605
|
+
page_count: number;
|
|
1606
|
+
status: Status[];
|
|
1607
|
+
load_parents_list: string[];
|
|
1608
|
+
load_child_list: string[];
|
|
1609
|
+
load_child_count: LoadChildCount;
|
|
1610
|
+
load_child_count_list: string[];
|
|
1611
|
+
include_details: Record<string, any>;
|
|
1612
|
+
where_relations: Record<string, any>;
|
|
1613
|
+
order_by: {
|
|
1614
|
+
name: string;
|
|
1615
|
+
field: string;
|
|
1616
|
+
direction: OrderBy;
|
|
1617
|
+
}[];
|
|
1618
|
+
include_master_data: YesNo;
|
|
1619
|
+
date_format_id: string;
|
|
1620
|
+
time_zone_id: string;
|
|
1621
|
+
organisation_ids: string[];
|
|
1622
|
+
expense_category: ExpenseCategory[];
|
|
1623
|
+
expense_name_ids: string[];
|
|
1624
|
+
}, {
|
|
1625
|
+
date_format_id: string;
|
|
1626
|
+
time_zone_id: string;
|
|
1627
|
+
search?: string | undefined;
|
|
1628
|
+
load_child?: LoadChild | undefined;
|
|
1629
|
+
load_parents?: LoadParents | undefined;
|
|
1630
|
+
paging?: PAGING | undefined;
|
|
1631
|
+
page_index?: unknown;
|
|
1632
|
+
page_count?: unknown;
|
|
1633
|
+
status?: Status[] | undefined;
|
|
1634
|
+
load_parents_list?: string[] | undefined;
|
|
1635
|
+
load_child_list?: string[] | undefined;
|
|
1636
|
+
load_child_count?: LoadChildCount | undefined;
|
|
1637
|
+
load_child_count_list?: string[] | undefined;
|
|
1638
|
+
include_details?: Record<string, any> | undefined;
|
|
1639
|
+
where_relations?: Record<string, any> | undefined;
|
|
1640
|
+
order_by?: {
|
|
1641
|
+
name: string;
|
|
1642
|
+
field: string;
|
|
1643
|
+
direction: OrderBy;
|
|
1644
|
+
}[] | undefined;
|
|
1645
|
+
include_master_data?: YesNo | undefined;
|
|
1646
|
+
organisation_ids?: string[] | undefined;
|
|
1647
|
+
expense_category?: ExpenseCategory[] | undefined;
|
|
1648
|
+
expense_name_ids?: string[] | undefined;
|
|
1649
|
+
}>;
|
|
1650
|
+
type MasterExpenseNameQueryDTO = z.infer<typeof MasterExpenseNameQuerySchema>;
|
|
1651
|
+
declare const toMasterExpenseNamePayload: (expense: MasterExpenseName) => MasterExpenseNameDTO;
|
|
1652
|
+
declare const newMasterExpenseNamePayload: () => MasterExpenseNameDTO;
|
|
1653
|
+
declare const findMasterExpenseNames: (data: MasterExpenseNameQueryDTO) => Promise<FBR<MasterExpenseName[]>>;
|
|
1654
|
+
declare const createMasterExpenseName: (data: MasterExpenseNameDTO) => Promise<SBR>;
|
|
1655
|
+
declare const updateMasterExpenseName: (id: string, data: MasterExpenseNameDTO) => Promise<SBR>;
|
|
1656
|
+
declare const deleteMasterExpenseName: (id: string) => Promise<SBR>;
|
|
1657
|
+
declare const getMasterExpenseNameCache: (organisation_id: string) => Promise<FBR<MasterExpenseName[]>>;
|
|
1548
1658
|
|
|
1549
1659
|
interface MasterExpenseType extends Record<string, unknown> {
|
|
1550
1660
|
expense_type_id: string;
|
|
@@ -1556,6 +1666,110 @@ interface MasterExpenseType extends Record<string, unknown> {
|
|
|
1556
1666
|
UserOrganisation?: UserOrganisation;
|
|
1557
1667
|
_count?: object;
|
|
1558
1668
|
}
|
|
1669
|
+
declare const MasterExpenseTypeSchema: z.ZodObject<{
|
|
1670
|
+
organisation_id: z.ZodEffects<z.ZodString, string, string>;
|
|
1671
|
+
expense_type_name: z.ZodEffects<z.ZodString, string, string>;
|
|
1672
|
+
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
1673
|
+
}, "strip", z.ZodTypeAny, {
|
|
1674
|
+
status: Status;
|
|
1675
|
+
organisation_id: string;
|
|
1676
|
+
expense_type_name: string;
|
|
1677
|
+
}, {
|
|
1678
|
+
status: Status;
|
|
1679
|
+
organisation_id: string;
|
|
1680
|
+
expense_type_name: string;
|
|
1681
|
+
}>;
|
|
1682
|
+
type MasterExpenseTypeDTO = z.infer<typeof MasterExpenseTypeSchema>;
|
|
1683
|
+
declare const MasterExpenseTypeQuerySchema: z.ZodObject<{
|
|
1684
|
+
search: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
1685
|
+
status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof Status>, "many">>>;
|
|
1686
|
+
paging: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof PAGING>>>;
|
|
1687
|
+
page_count: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
|
1688
|
+
page_index: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
|
1689
|
+
load_parents: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadParents>>>;
|
|
1690
|
+
load_parents_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
1691
|
+
load_child: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadChild>>>;
|
|
1692
|
+
load_child_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
1693
|
+
load_child_count: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadChildCount>>>;
|
|
1694
|
+
load_child_count_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
1695
|
+
include_details: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
1696
|
+
where_relations: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
1697
|
+
order_by: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1698
|
+
name: z.ZodEffects<z.ZodString, string, string>;
|
|
1699
|
+
field: z.ZodEffects<z.ZodString, string, string>;
|
|
1700
|
+
direction: z.ZodType<OrderBy, z.ZodTypeDef, OrderBy>;
|
|
1701
|
+
}, "strip", z.ZodTypeAny, {
|
|
1702
|
+
name: string;
|
|
1703
|
+
field: string;
|
|
1704
|
+
direction: OrderBy;
|
|
1705
|
+
}, {
|
|
1706
|
+
name: string;
|
|
1707
|
+
field: string;
|
|
1708
|
+
direction: OrderBy;
|
|
1709
|
+
}>, "many">>>;
|
|
1710
|
+
include_master_data: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
|
|
1711
|
+
date_format_id: z.ZodEffects<z.ZodString, string, string>;
|
|
1712
|
+
time_zone_id: z.ZodEffects<z.ZodString, string, string>;
|
|
1713
|
+
} & {
|
|
1714
|
+
organisation_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
1715
|
+
expense_type_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
1716
|
+
}, "strip", z.ZodTypeAny, {
|
|
1717
|
+
search: string;
|
|
1718
|
+
load_child: LoadChild;
|
|
1719
|
+
load_parents: LoadParents;
|
|
1720
|
+
paging: PAGING;
|
|
1721
|
+
page_index: number;
|
|
1722
|
+
page_count: number;
|
|
1723
|
+
status: Status[];
|
|
1724
|
+
load_parents_list: string[];
|
|
1725
|
+
load_child_list: string[];
|
|
1726
|
+
load_child_count: LoadChildCount;
|
|
1727
|
+
load_child_count_list: string[];
|
|
1728
|
+
include_details: Record<string, any>;
|
|
1729
|
+
where_relations: Record<string, any>;
|
|
1730
|
+
order_by: {
|
|
1731
|
+
name: string;
|
|
1732
|
+
field: string;
|
|
1733
|
+
direction: OrderBy;
|
|
1734
|
+
}[];
|
|
1735
|
+
include_master_data: YesNo;
|
|
1736
|
+
date_format_id: string;
|
|
1737
|
+
time_zone_id: string;
|
|
1738
|
+
organisation_ids: string[];
|
|
1739
|
+
expense_type_ids: string[];
|
|
1740
|
+
}, {
|
|
1741
|
+
date_format_id: string;
|
|
1742
|
+
time_zone_id: string;
|
|
1743
|
+
search?: string | undefined;
|
|
1744
|
+
load_child?: LoadChild | undefined;
|
|
1745
|
+
load_parents?: LoadParents | undefined;
|
|
1746
|
+
paging?: PAGING | undefined;
|
|
1747
|
+
page_index?: unknown;
|
|
1748
|
+
page_count?: unknown;
|
|
1749
|
+
status?: Status[] | undefined;
|
|
1750
|
+
load_parents_list?: string[] | undefined;
|
|
1751
|
+
load_child_list?: string[] | undefined;
|
|
1752
|
+
load_child_count?: LoadChildCount | undefined;
|
|
1753
|
+
load_child_count_list?: string[] | undefined;
|
|
1754
|
+
include_details?: Record<string, any> | undefined;
|
|
1755
|
+
where_relations?: Record<string, any> | undefined;
|
|
1756
|
+
order_by?: {
|
|
1757
|
+
name: string;
|
|
1758
|
+
field: string;
|
|
1759
|
+
direction: OrderBy;
|
|
1760
|
+
}[] | undefined;
|
|
1761
|
+
include_master_data?: YesNo | undefined;
|
|
1762
|
+
organisation_ids?: string[] | undefined;
|
|
1763
|
+
expense_type_ids?: string[] | undefined;
|
|
1764
|
+
}>;
|
|
1765
|
+
type MasterExpenseTypeQueryDTO = z.infer<typeof MasterExpenseTypeQuerySchema>;
|
|
1766
|
+
declare const toMasterExpenseTypePayload: (expenseType: MasterExpenseType) => MasterExpenseTypeDTO;
|
|
1767
|
+
declare const newMasterExpenseTypePayload: () => MasterExpenseTypeDTO;
|
|
1768
|
+
declare const findMasterExpenseTypes: (data: MasterExpenseTypeQueryDTO) => Promise<FBR<MasterExpenseType[]>>;
|
|
1769
|
+
declare const createMasterExpenseType: (data: MasterExpenseTypeDTO) => Promise<SBR>;
|
|
1770
|
+
declare const updateMasterExpenseType: (id: string, data: MasterExpenseTypeDTO) => Promise<SBR>;
|
|
1771
|
+
declare const deleteMasterExpenseType: (id: string) => Promise<SBR>;
|
|
1772
|
+
declare const getMasterExpenseTypeCache: (organisation_id: string) => Promise<FBR<MasterExpenseType[]>>;
|
|
1559
1773
|
|
|
1560
1774
|
interface MasterTyreGrade extends Record<string, unknown> {
|
|
1561
1775
|
tyre_grade_id: string;
|
|
@@ -1688,6 +1902,113 @@ interface MasterVendorType extends Record<string, unknown> {
|
|
|
1688
1902
|
organisation_id?: string;
|
|
1689
1903
|
UserOrganisation?: UserOrganisation;
|
|
1690
1904
|
}
|
|
1905
|
+
declare const MasterVendorTypeSchema: z.ZodObject<{
|
|
1906
|
+
organisation_id: z.ZodEffects<z.ZodString, string, string>;
|
|
1907
|
+
vendor_type: z.ZodEffects<z.ZodString, string, string>;
|
|
1908
|
+
description: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
1909
|
+
status: z.ZodType<Status, z.ZodTypeDef, Status>;
|
|
1910
|
+
}, "strip", z.ZodTypeAny, {
|
|
1911
|
+
status: Status;
|
|
1912
|
+
organisation_id: string;
|
|
1913
|
+
vendor_type: string;
|
|
1914
|
+
description: string;
|
|
1915
|
+
}, {
|
|
1916
|
+
status: Status;
|
|
1917
|
+
organisation_id: string;
|
|
1918
|
+
vendor_type: string;
|
|
1919
|
+
description?: string | undefined;
|
|
1920
|
+
}>;
|
|
1921
|
+
type MasterVendorTypeDTO = z.infer<typeof MasterVendorTypeSchema>;
|
|
1922
|
+
declare const MasterVendorTypeQuerySchema: z.ZodObject<{
|
|
1923
|
+
search: z.ZodDefault<z.ZodEffects<z.ZodString, string, string>>;
|
|
1924
|
+
status: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof Status>, "many">>>;
|
|
1925
|
+
paging: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof PAGING>>>;
|
|
1926
|
+
page_count: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
|
1927
|
+
page_index: z.ZodEffects<z.ZodDefault<z.ZodOptional<z.ZodNumber>>, number, unknown>;
|
|
1928
|
+
load_parents: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadParents>>>;
|
|
1929
|
+
load_parents_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
1930
|
+
load_child: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadChild>>>;
|
|
1931
|
+
load_child_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
1932
|
+
load_child_count: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof LoadChildCount>>>;
|
|
1933
|
+
load_child_count_list: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
1934
|
+
include_details: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
1935
|
+
where_relations: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
1936
|
+
order_by: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1937
|
+
name: z.ZodEffects<z.ZodString, string, string>;
|
|
1938
|
+
field: z.ZodEffects<z.ZodString, string, string>;
|
|
1939
|
+
direction: z.ZodType<OrderBy, z.ZodTypeDef, OrderBy>;
|
|
1940
|
+
}, "strip", z.ZodTypeAny, {
|
|
1941
|
+
name: string;
|
|
1942
|
+
field: string;
|
|
1943
|
+
direction: OrderBy;
|
|
1944
|
+
}, {
|
|
1945
|
+
name: string;
|
|
1946
|
+
field: string;
|
|
1947
|
+
direction: OrderBy;
|
|
1948
|
+
}>, "many">>>;
|
|
1949
|
+
include_master_data: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof YesNo>>>;
|
|
1950
|
+
date_format_id: z.ZodEffects<z.ZodString, string, string>;
|
|
1951
|
+
time_zone_id: z.ZodEffects<z.ZodString, string, string>;
|
|
1952
|
+
} & {
|
|
1953
|
+
organisation_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
1954
|
+
vendor_type_ids: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
|
|
1955
|
+
}, "strip", z.ZodTypeAny, {
|
|
1956
|
+
search: string;
|
|
1957
|
+
load_child: LoadChild;
|
|
1958
|
+
load_parents: LoadParents;
|
|
1959
|
+
paging: PAGING;
|
|
1960
|
+
page_index: number;
|
|
1961
|
+
page_count: number;
|
|
1962
|
+
status: Status[];
|
|
1963
|
+
load_parents_list: string[];
|
|
1964
|
+
load_child_list: string[];
|
|
1965
|
+
load_child_count: LoadChildCount;
|
|
1966
|
+
load_child_count_list: string[];
|
|
1967
|
+
include_details: Record<string, any>;
|
|
1968
|
+
where_relations: Record<string, any>;
|
|
1969
|
+
order_by: {
|
|
1970
|
+
name: string;
|
|
1971
|
+
field: string;
|
|
1972
|
+
direction: OrderBy;
|
|
1973
|
+
}[];
|
|
1974
|
+
include_master_data: YesNo;
|
|
1975
|
+
date_format_id: string;
|
|
1976
|
+
time_zone_id: string;
|
|
1977
|
+
organisation_ids: string[];
|
|
1978
|
+
vendor_type_ids: string[];
|
|
1979
|
+
}, {
|
|
1980
|
+
date_format_id: string;
|
|
1981
|
+
time_zone_id: string;
|
|
1982
|
+
search?: string | undefined;
|
|
1983
|
+
load_child?: LoadChild | undefined;
|
|
1984
|
+
load_parents?: LoadParents | undefined;
|
|
1985
|
+
paging?: PAGING | undefined;
|
|
1986
|
+
page_index?: unknown;
|
|
1987
|
+
page_count?: unknown;
|
|
1988
|
+
status?: Status[] | undefined;
|
|
1989
|
+
load_parents_list?: string[] | undefined;
|
|
1990
|
+
load_child_list?: string[] | undefined;
|
|
1991
|
+
load_child_count?: LoadChildCount | undefined;
|
|
1992
|
+
load_child_count_list?: string[] | undefined;
|
|
1993
|
+
include_details?: Record<string, any> | undefined;
|
|
1994
|
+
where_relations?: Record<string, any> | undefined;
|
|
1995
|
+
order_by?: {
|
|
1996
|
+
name: string;
|
|
1997
|
+
field: string;
|
|
1998
|
+
direction: OrderBy;
|
|
1999
|
+
}[] | undefined;
|
|
2000
|
+
include_master_data?: YesNo | undefined;
|
|
2001
|
+
organisation_ids?: string[] | undefined;
|
|
2002
|
+
vendor_type_ids?: string[] | undefined;
|
|
2003
|
+
}>;
|
|
2004
|
+
type MasterVendorTypeQueryDTO = z.infer<typeof MasterVendorTypeQuerySchema>;
|
|
2005
|
+
declare const toMasterVendorTypePayload: (vendorType: MasterVendorType) => MasterVendorTypeDTO;
|
|
2006
|
+
declare const newMasterVendorTypePayload: () => MasterVendorTypeDTO;
|
|
2007
|
+
declare const findMasterVendorTypes: (data: MasterVendorTypeQueryDTO) => Promise<FBR<MasterVendorType[]>>;
|
|
2008
|
+
declare const createMasterVendorType: (data: MasterVendorTypeDTO) => Promise<SBR>;
|
|
2009
|
+
declare const updateMasterVendorType: (id: string, data: MasterVendorTypeDTO) => Promise<SBR>;
|
|
2010
|
+
declare const deleteMasterVendorType: (id: string) => Promise<SBR>;
|
|
2011
|
+
declare const getMasterVendorTypeCache: (organisation_id: string) => Promise<FBR<MasterVendorType[]>>;
|
|
1691
2012
|
|
|
1692
2013
|
interface MasterSparePartSubCategory extends Record<string, unknown> {
|
|
1693
2014
|
spare_part_sub_category_id: string;
|
|
@@ -2324,4 +2645,4 @@ declare const getMasterDeviceManufacturerCache: () => Promise<FBR<MasterDeviceMa
|
|
|
2324
2645
|
declare const getMasterDeviceManufacturerCacheCount: () => Promise<FBR<number>>;
|
|
2325
2646
|
declare const getMasterDeviceManufacturerCacheChild: () => Promise<FBR<MasterDeviceManufacturer[]>>;
|
|
2326
2647
|
|
|
2327
|
-
export { AdminRole, AlertSubType, AlertType, type BR, type BaseFindParams, type BaseQueryDTO, BaseQuerySchema, BillingStatus, BooleanType, DefaultBaseFindParams, DeviceStatus, DeviceType, DocumentStatus, DocumentType, DocumentValidityStatus, DoorSensorStatus, ExpenseCategory, type FBR, FileType, FleetSize, GPSFuelApproveStatus, GPSSource, GPSType, GeofencePurposeType, GeofenceStatusType, GeofenceType, InspectionActionStatus, InspectionStatus, InspectionType, Is12AM, IssueSeverity, IssueSource, IssueStatus, JobCardStatus, LifeExpiry, LinkStatus, LinkType, LoadChild, LoadChildCount, LoadParents, LoginFrom, type MasterDeviceManufacturer, type MasterDeviceManufacturerDTO, type MasterDeviceManufacturerQueryDTO, MasterDeviceManufacturerQuerySchema, MasterDeviceManufacturerSchema, type MasterDeviceModel, type MasterDeviceModelDTO, type MasterDeviceModelQueryDTO, MasterDeviceModelQuerySchema, MasterDeviceModelSchema, type MasterDeviceType, type MasterDeviceTypeDTO, type MasterDeviceTypeQueryDTO, MasterDeviceTypeQuerySchema, MasterDeviceTypeSchema, MenuType, Module, type MongoBaseQueryDTO, MongoBaseQuerySchema, NightDriving, NotificationType, OdometerSource, OrderBy, OrderBySchema, OverSpeed, PAGING, type PageData, PaymentStatus, Priority, PurchaseOrderStatus, PurchaseType, PurchaseVehicleType, RecurrenceInterval, ReminderSource, ReminderStatus, ReminderTriggerType, RequestType, RetreadingMethod, type SBR, ScheduleStatus, ScheduleType, ServiceType, SimStatus, Status, StockType, SubModule, type SummaryData, TicketStatus, TimeSlot, TrackHistoryLinkStatus, TyreStatus, VerifyStatus, YesNo, apiDelete, apiGet, apiPatch, apiPost, booleanMandatory, booleanOptional, createMasterDeviceManufacturer, createMasterDeviceModel, createMasterDeviceType, dateMandatory, dateOptional, dateTimeMandatory, dateTimeOptional, deleteMasterDeviceManufacturer, deleteMasterDeviceModel, deleteMasterDeviceType, doubleMandatory, doubleMandatoryAmount, doubleMandatoryLatLng, doubleOptional, doubleOptionalAmount, doubleOptionalLatLng, dynamicJsonSchema, enumArrayMandatory, enumArrayOptional, enumMandatory, enumOptional, findMasterDeviceManufacturers, findMasterDeviceModels, findMasterDeviceTypes, getAllEnums, getMasterDeviceManufacturerCache, getMasterDeviceManufacturerCacheChild, getMasterDeviceManufacturerCacheCount, getMasterDeviceModelCache, getMasterDeviceModelCacheChild, getMasterDeviceModelCacheCount, getMasterDeviceTypeCache, getMasterDeviceTypeCacheChild, getMasterDeviceTypeCacheCount, multi_select_mandatory, multi_select_optional, nestedArrayOfObjectMandatory, nestedArrayOfObjectsOptional, nestedObjectMandatory, nestedObjectOptional, newMasterDeviceManufacturerPayload, newMasterDeviceModelPayload, newMasterDeviceTypePayload, numberArrayMandatory, numberArrayOptional, numberMandatory, numberOptional, r_log, setAxiosInstance as setupSdk, single_select_mandatory, single_select_optional, stringArrayMandatory, stringArrayOptional, stringMandatory, stringOptional, stringUUIDMandatory, toMasterDeviceManufacturerPayload, toMasterDeviceModelPayload, toMasterDeviceTypePayload, updateMasterDeviceManufacturer, updateMasterDeviceModel, updateMasterDeviceType, withDefaults };
|
|
2648
|
+
export { AdminRole, AlertSubType, AlertType, type BR, type BaseFindParams, type BaseQueryDTO, BaseQuerySchema, BillingStatus, BooleanType, DefaultBaseFindParams, DeviceStatus, DeviceType, DocumentStatus, DocumentType, DocumentValidityStatus, DoorSensorStatus, ExpenseCategory, type FBR, FileType, FleetSize, GPSFuelApproveStatus, GPSSource, GPSType, GeofencePurposeType, GeofenceStatusType, GeofenceType, InspectionActionStatus, InspectionStatus, InspectionType, Is12AM, IssueSeverity, IssueSource, IssueStatus, JobCardStatus, LifeExpiry, LinkStatus, LinkType, LoadChild, LoadChildCount, LoadParents, LoginFrom, type MasterDeviceManufacturer, type MasterDeviceManufacturerDTO, type MasterDeviceManufacturerQueryDTO, MasterDeviceManufacturerQuerySchema, MasterDeviceManufacturerSchema, type MasterDeviceModel, type MasterDeviceModelDTO, type MasterDeviceModelQueryDTO, MasterDeviceModelQuerySchema, MasterDeviceModelSchema, type MasterDeviceType, type MasterDeviceTypeDTO, type MasterDeviceTypeQueryDTO, MasterDeviceTypeQuerySchema, MasterDeviceTypeSchema, type MasterExpenseName, type MasterExpenseNameDTO, type MasterExpenseNameQueryDTO, MasterExpenseNameQuerySchema, MasterExpenseNameSchema, type MasterExpenseType, type MasterExpenseTypeDTO, type MasterExpenseTypeQueryDTO, MasterExpenseTypeQuerySchema, MasterExpenseTypeSchema, type MasterVendorType, type MasterVendorTypeDTO, type MasterVendorTypeQueryDTO, MasterVendorTypeQuerySchema, MasterVendorTypeSchema, MenuType, Module, type MongoBaseQueryDTO, MongoBaseQuerySchema, NightDriving, NotificationType, OdometerSource, OrderBy, OrderBySchema, OverSpeed, PAGING, type PageData, PaymentStatus, Priority, PurchaseOrderStatus, PurchaseType, PurchaseVehicleType, RecurrenceInterval, ReminderSource, ReminderStatus, ReminderTriggerType, RequestType, RetreadingMethod, type SBR, ScheduleStatus, ScheduleType, ServiceType, SimStatus, Status, StockType, SubModule, type SummaryData, TicketStatus, TimeSlot, TrackHistoryLinkStatus, TyreStatus, VerifyStatus, YesNo, apiDelete, apiGet, apiPatch, apiPost, booleanMandatory, booleanOptional, createMasterDeviceManufacturer, createMasterDeviceModel, createMasterDeviceType, createMasterExpenseName, createMasterExpenseType, createMasterVendorType, dateMandatory, dateOptional, dateTimeMandatory, dateTimeOptional, deleteMasterDeviceManufacturer, deleteMasterDeviceModel, deleteMasterDeviceType, deleteMasterExpenseName, deleteMasterExpenseType, deleteMasterVendorType, doubleMandatory, doubleMandatoryAmount, doubleMandatoryLatLng, doubleOptional, doubleOptionalAmount, doubleOptionalLatLng, dynamicJsonSchema, enumArrayMandatory, enumArrayOptional, enumMandatory, enumOptional, findMasterDeviceManufacturers, findMasterDeviceModels, findMasterDeviceTypes, findMasterExpenseNames, findMasterExpenseTypes, findMasterVendorTypes, getAllEnums, getMasterDeviceManufacturerCache, getMasterDeviceManufacturerCacheChild, getMasterDeviceManufacturerCacheCount, getMasterDeviceModelCache, getMasterDeviceModelCacheChild, getMasterDeviceModelCacheCount, getMasterDeviceTypeCache, getMasterDeviceTypeCacheChild, getMasterDeviceTypeCacheCount, getMasterExpenseNameCache, getMasterExpenseTypeCache, getMasterVendorTypeCache, multi_select_mandatory, multi_select_optional, nestedArrayOfObjectMandatory, nestedArrayOfObjectsOptional, nestedObjectMandatory, nestedObjectOptional, newMasterDeviceManufacturerPayload, newMasterDeviceModelPayload, newMasterDeviceTypePayload, newMasterExpenseNamePayload, newMasterExpenseTypePayload, newMasterVendorTypePayload, numberArrayMandatory, numberArrayOptional, numberMandatory, numberOptional, r_log, setAxiosInstance as setupSdk, single_select_mandatory, single_select_optional, stringArrayMandatory, stringArrayOptional, stringMandatory, stringOptional, stringUUIDMandatory, toMasterDeviceManufacturerPayload, toMasterDeviceModelPayload, toMasterDeviceTypePayload, toMasterExpenseNamePayload, toMasterExpenseTypePayload, toMasterVendorTypePayload, updateMasterDeviceManufacturer, updateMasterDeviceModel, updateMasterDeviceType, updateMasterExpenseName, updateMasterExpenseType, updateMasterVendorType, withDefaults };
|