@trackunit/filters-asset-filter-definitions 2.1.7-alpha-2ff0206584d.0 → 2.1.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/index.cjs.js +0 -1117
- package/index.esm.js +1 -1085
- package/package.json +19 -19
- package/src/index.d.ts +0 -1
- package/src/test/index.d.ts +6 -0
package/index.cjs.js
CHANGED
|
@@ -20,8 +20,6 @@ var translationsMachineType = require('@trackunit/translations-machine-type');
|
|
|
20
20
|
var criticalityIndicator = require('@trackunit/criticality-indicator');
|
|
21
21
|
var translationsDevice = require('@trackunit/translations-device');
|
|
22
22
|
var tailwindMerge = require('tailwind-merge');
|
|
23
|
-
var utilities = require('@apollo/client/utilities');
|
|
24
|
-
var reactCoreContextsTest = require('@trackunit/react-core-contexts-test');
|
|
25
23
|
|
|
26
24
|
var defaultTranslations = {
|
|
27
25
|
"access.management.accessManagementMode.LOCKED_FOR_ALL": "Locked for all",
|
|
@@ -1201,84 +1199,6 @@ const GetFleetModelsSummaryDocument = {
|
|
|
1201
1199
|
},
|
|
1202
1200
|
],
|
|
1203
1201
|
};
|
|
1204
|
-
const GetCustomFieldSummaryDocument = {
|
|
1205
|
-
kind: "Document",
|
|
1206
|
-
definitions: [
|
|
1207
|
-
{
|
|
1208
|
-
kind: "OperationDefinition",
|
|
1209
|
-
operation: "query",
|
|
1210
|
-
name: { kind: "Name", value: "GetCustomFieldSummary" },
|
|
1211
|
-
variableDefinitions: [
|
|
1212
|
-
{
|
|
1213
|
-
kind: "VariableDefinition",
|
|
1214
|
-
variable: { kind: "Variable", name: { kind: "Name", value: "filters" } },
|
|
1215
|
-
type: { kind: "NamedType", name: { kind: "Name", value: "AssetFiltersInput" } },
|
|
1216
|
-
},
|
|
1217
|
-
{
|
|
1218
|
-
kind: "VariableDefinition",
|
|
1219
|
-
variable: { kind: "Variable", name: { kind: "Name", value: "definitionIds" } },
|
|
1220
|
-
type: {
|
|
1221
|
-
kind: "NonNullType",
|
|
1222
|
-
type: {
|
|
1223
|
-
kind: "ListType",
|
|
1224
|
-
type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "String" } } },
|
|
1225
|
-
},
|
|
1226
|
-
},
|
|
1227
|
-
},
|
|
1228
|
-
],
|
|
1229
|
-
selectionSet: {
|
|
1230
|
-
kind: "SelectionSet",
|
|
1231
|
-
selections: [
|
|
1232
|
-
{
|
|
1233
|
-
kind: "Field",
|
|
1234
|
-
name: { kind: "Name", value: "assetSummary" },
|
|
1235
|
-
arguments: [
|
|
1236
|
-
{
|
|
1237
|
-
kind: "Argument",
|
|
1238
|
-
name: { kind: "Name", value: "filters" },
|
|
1239
|
-
value: { kind: "Variable", name: { kind: "Name", value: "filters" } },
|
|
1240
|
-
},
|
|
1241
|
-
],
|
|
1242
|
-
selectionSet: {
|
|
1243
|
-
kind: "SelectionSet",
|
|
1244
|
-
selections: [
|
|
1245
|
-
{
|
|
1246
|
-
kind: "Field",
|
|
1247
|
-
name: { kind: "Name", value: "customFields" },
|
|
1248
|
-
arguments: [
|
|
1249
|
-
{
|
|
1250
|
-
kind: "Argument",
|
|
1251
|
-
name: { kind: "Name", value: "definitionIds" },
|
|
1252
|
-
value: { kind: "Variable", name: { kind: "Name", value: "definitionIds" } },
|
|
1253
|
-
},
|
|
1254
|
-
],
|
|
1255
|
-
selectionSet: {
|
|
1256
|
-
kind: "SelectionSet",
|
|
1257
|
-
selections: [
|
|
1258
|
-
{ kind: "Field", name: { kind: "Name", value: "definitionId" } },
|
|
1259
|
-
{ kind: "Field", name: { kind: "Name", value: "total" } },
|
|
1260
|
-
{
|
|
1261
|
-
kind: "Field",
|
|
1262
|
-
name: { kind: "Name", value: "summary" },
|
|
1263
|
-
selectionSet: {
|
|
1264
|
-
kind: "SelectionSet",
|
|
1265
|
-
selections: [
|
|
1266
|
-
{ kind: "Field", name: { kind: "Name", value: "key" } },
|
|
1267
|
-
{ kind: "Field", name: { kind: "Name", value: "count" } },
|
|
1268
|
-
],
|
|
1269
|
-
},
|
|
1270
|
-
},
|
|
1271
|
-
],
|
|
1272
|
-
},
|
|
1273
|
-
},
|
|
1274
|
-
],
|
|
1275
|
-
},
|
|
1276
|
-
},
|
|
1277
|
-
],
|
|
1278
|
-
},
|
|
1279
|
-
},
|
|
1280
|
-
],
|
|
1281
|
-
};
|
|
1282
1202
|
const GetFleetBrandsSummaryDocument = {
|
|
1283
1203
|
kind: "Document",
|
|
1284
1204
|
definitions: [
|
|
@@ -1572,65 +1492,6 @@ const GetFleetProductionYearsSummaryDocument = {
|
|
|
1572
1492
|
},
|
|
1573
1493
|
],
|
|
1574
1494
|
};
|
|
1575
|
-
const GetServicePlanNamesSummaryDocument = {
|
|
1576
|
-
kind: "Document",
|
|
1577
|
-
definitions: [
|
|
1578
|
-
{
|
|
1579
|
-
kind: "OperationDefinition",
|
|
1580
|
-
operation: "query",
|
|
1581
|
-
name: { kind: "Name", value: "GetServicePlanNamesSummary" },
|
|
1582
|
-
variableDefinitions: [
|
|
1583
|
-
{
|
|
1584
|
-
kind: "VariableDefinition",
|
|
1585
|
-
variable: { kind: "Variable", name: { kind: "Name", value: "filters" } },
|
|
1586
|
-
type: { kind: "NamedType", name: { kind: "Name", value: "AssetFiltersInput" } },
|
|
1587
|
-
},
|
|
1588
|
-
],
|
|
1589
|
-
selectionSet: {
|
|
1590
|
-
kind: "SelectionSet",
|
|
1591
|
-
selections: [
|
|
1592
|
-
{
|
|
1593
|
-
kind: "Field",
|
|
1594
|
-
name: { kind: "Name", value: "assetSummary" },
|
|
1595
|
-
arguments: [
|
|
1596
|
-
{
|
|
1597
|
-
kind: "Argument",
|
|
1598
|
-
name: { kind: "Name", value: "filters" },
|
|
1599
|
-
value: { kind: "Variable", name: { kind: "Name", value: "filters" } },
|
|
1600
|
-
},
|
|
1601
|
-
],
|
|
1602
|
-
selectionSet: {
|
|
1603
|
-
kind: "SelectionSet",
|
|
1604
|
-
selections: [
|
|
1605
|
-
{
|
|
1606
|
-
kind: "Field",
|
|
1607
|
-
name: { kind: "Name", value: "servicePlanNames" },
|
|
1608
|
-
selectionSet: {
|
|
1609
|
-
kind: "SelectionSet",
|
|
1610
|
-
selections: [
|
|
1611
|
-
{ kind: "Field", name: { kind: "Name", value: "total" } },
|
|
1612
|
-
{
|
|
1613
|
-
kind: "Field",
|
|
1614
|
-
name: { kind: "Name", value: "summary" },
|
|
1615
|
-
selectionSet: {
|
|
1616
|
-
kind: "SelectionSet",
|
|
1617
|
-
selections: [
|
|
1618
|
-
{ kind: "Field", name: { kind: "Name", value: "key" } },
|
|
1619
|
-
{ kind: "Field", name: { kind: "Name", value: "count" } },
|
|
1620
|
-
],
|
|
1621
|
-
},
|
|
1622
|
-
},
|
|
1623
|
-
],
|
|
1624
|
-
},
|
|
1625
|
-
},
|
|
1626
|
-
],
|
|
1627
|
-
},
|
|
1628
|
-
},
|
|
1629
|
-
],
|
|
1630
|
-
},
|
|
1631
|
-
},
|
|
1632
|
-
],
|
|
1633
|
-
};
|
|
1634
1495
|
const GetFleetServicePlanStatusesSummaryDocument = {
|
|
1635
1496
|
kind: "Document",
|
|
1636
1497
|
definitions: [
|
|
@@ -1681,115 +1542,6 @@ const GetFleetServicePlanStatusesSummaryDocument = {
|
|
|
1681
1542
|
},
|
|
1682
1543
|
],
|
|
1683
1544
|
};
|
|
1684
|
-
const GetFleetServiceProvidersSummaryDocument = {
|
|
1685
|
-
kind: "Document",
|
|
1686
|
-
definitions: [
|
|
1687
|
-
{
|
|
1688
|
-
kind: "OperationDefinition",
|
|
1689
|
-
operation: "query",
|
|
1690
|
-
name: { kind: "Name", value: "GetFleetServiceProvidersSummary" },
|
|
1691
|
-
variableDefinitions: [
|
|
1692
|
-
{
|
|
1693
|
-
kind: "VariableDefinition",
|
|
1694
|
-
variable: { kind: "Variable", name: { kind: "Name", value: "filters" } },
|
|
1695
|
-
type: { kind: "NamedType", name: { kind: "Name", value: "AssetFiltersInput" } },
|
|
1696
|
-
},
|
|
1697
|
-
],
|
|
1698
|
-
selectionSet: {
|
|
1699
|
-
kind: "SelectionSet",
|
|
1700
|
-
selections: [
|
|
1701
|
-
{
|
|
1702
|
-
kind: "Field",
|
|
1703
|
-
name: { kind: "Name", value: "assetSummary" },
|
|
1704
|
-
arguments: [
|
|
1705
|
-
{
|
|
1706
|
-
kind: "Argument",
|
|
1707
|
-
name: { kind: "Name", value: "filters" },
|
|
1708
|
-
value: { kind: "Variable", name: { kind: "Name", value: "filters" } },
|
|
1709
|
-
},
|
|
1710
|
-
],
|
|
1711
|
-
selectionSet: {
|
|
1712
|
-
kind: "SelectionSet",
|
|
1713
|
-
selections: [
|
|
1714
|
-
{
|
|
1715
|
-
kind: "Field",
|
|
1716
|
-
name: { kind: "Name", value: "serviceProviders" },
|
|
1717
|
-
selectionSet: {
|
|
1718
|
-
kind: "SelectionSet",
|
|
1719
|
-
selections: [
|
|
1720
|
-
{ kind: "Field", name: { kind: "Name", value: "total" } },
|
|
1721
|
-
{
|
|
1722
|
-
kind: "Field",
|
|
1723
|
-
name: { kind: "Name", value: "summary" },
|
|
1724
|
-
selectionSet: {
|
|
1725
|
-
kind: "SelectionSet",
|
|
1726
|
-
selections: [
|
|
1727
|
-
{ kind: "Field", name: { kind: "Name", value: "key" } },
|
|
1728
|
-
{ kind: "Field", name: { kind: "Name", value: "count" } },
|
|
1729
|
-
],
|
|
1730
|
-
},
|
|
1731
|
-
},
|
|
1732
|
-
],
|
|
1733
|
-
},
|
|
1734
|
-
},
|
|
1735
|
-
],
|
|
1736
|
-
},
|
|
1737
|
-
},
|
|
1738
|
-
],
|
|
1739
|
-
},
|
|
1740
|
-
},
|
|
1741
|
-
],
|
|
1742
|
-
};
|
|
1743
|
-
const GetFleetServicePlanAssignmentsSummaryDocument = {
|
|
1744
|
-
kind: "Document",
|
|
1745
|
-
definitions: [
|
|
1746
|
-
{
|
|
1747
|
-
kind: "OperationDefinition",
|
|
1748
|
-
operation: "query",
|
|
1749
|
-
name: { kind: "Name", value: "GetFleetServicePlanAssignmentsSummary" },
|
|
1750
|
-
variableDefinitions: [
|
|
1751
|
-
{
|
|
1752
|
-
kind: "VariableDefinition",
|
|
1753
|
-
variable: { kind: "Variable", name: { kind: "Name", value: "filters" } },
|
|
1754
|
-
type: { kind: "NamedType", name: { kind: "Name", value: "AssetFiltersInput" } },
|
|
1755
|
-
},
|
|
1756
|
-
],
|
|
1757
|
-
selectionSet: {
|
|
1758
|
-
kind: "SelectionSet",
|
|
1759
|
-
selections: [
|
|
1760
|
-
{
|
|
1761
|
-
kind: "Field",
|
|
1762
|
-
name: { kind: "Name", value: "assetSummary" },
|
|
1763
|
-
arguments: [
|
|
1764
|
-
{
|
|
1765
|
-
kind: "Argument",
|
|
1766
|
-
name: { kind: "Name", value: "filters" },
|
|
1767
|
-
value: { kind: "Variable", name: { kind: "Name", value: "filters" } },
|
|
1768
|
-
},
|
|
1769
|
-
],
|
|
1770
|
-
selectionSet: {
|
|
1771
|
-
kind: "SelectionSet",
|
|
1772
|
-
selections: [
|
|
1773
|
-
{
|
|
1774
|
-
kind: "Field",
|
|
1775
|
-
name: { kind: "Name", value: "servicePlanAssignments" },
|
|
1776
|
-
selectionSet: {
|
|
1777
|
-
kind: "SelectionSet",
|
|
1778
|
-
selections: [
|
|
1779
|
-
{ kind: "Field", name: { kind: "Name", value: "fullyConfigured" } },
|
|
1780
|
-
{ kind: "Field", name: { kind: "Name", value: "partiallyConfigured" } },
|
|
1781
|
-
{ kind: "Field", name: { kind: "Name", value: "notConfigured" } },
|
|
1782
|
-
],
|
|
1783
|
-
},
|
|
1784
|
-
},
|
|
1785
|
-
],
|
|
1786
|
-
},
|
|
1787
|
-
},
|
|
1788
|
-
],
|
|
1789
|
-
},
|
|
1790
|
-
},
|
|
1791
|
-
],
|
|
1792
|
-
};
|
|
1793
1545
|
const GetFleetActivitySummaryDocument = {
|
|
1794
1546
|
kind: "Document",
|
|
1795
1547
|
definitions: [
|
|
@@ -2618,77 +2370,6 @@ const GetFleetRentalCustomerParentNameSummaryDocument = {
|
|
|
2618
2370
|
},
|
|
2619
2371
|
],
|
|
2620
2372
|
};
|
|
2621
|
-
const GetAccessManagementModeDesiredSummaryDocument = {
|
|
2622
|
-
kind: "Document",
|
|
2623
|
-
definitions: [
|
|
2624
|
-
{
|
|
2625
|
-
kind: "OperationDefinition",
|
|
2626
|
-
operation: "query",
|
|
2627
|
-
name: { kind: "Name", value: "GetAccessManagementModeDesiredSummary" },
|
|
2628
|
-
variableDefinitions: [
|
|
2629
|
-
{
|
|
2630
|
-
kind: "VariableDefinition",
|
|
2631
|
-
variable: { kind: "Variable", name: { kind: "Name", value: "filters" } },
|
|
2632
|
-
type: { kind: "NamedType", name: { kind: "Name", value: "AssetFiltersInput" } },
|
|
2633
|
-
},
|
|
2634
|
-
{
|
|
2635
|
-
kind: "VariableDefinition",
|
|
2636
|
-
variable: { kind: "Variable", name: { kind: "Name", value: "limit" } },
|
|
2637
|
-
type: { kind: "NonNullType", type: { kind: "NamedType", name: { kind: "Name", value: "Int" } } },
|
|
2638
|
-
},
|
|
2639
|
-
],
|
|
2640
|
-
selectionSet: {
|
|
2641
|
-
kind: "SelectionSet",
|
|
2642
|
-
selections: [
|
|
2643
|
-
{
|
|
2644
|
-
kind: "Field",
|
|
2645
|
-
name: { kind: "Name", value: "assetSummary" },
|
|
2646
|
-
arguments: [
|
|
2647
|
-
{
|
|
2648
|
-
kind: "Argument",
|
|
2649
|
-
name: { kind: "Name", value: "filters" },
|
|
2650
|
-
value: { kind: "Variable", name: { kind: "Name", value: "filters" } },
|
|
2651
|
-
},
|
|
2652
|
-
],
|
|
2653
|
-
selectionSet: {
|
|
2654
|
-
kind: "SelectionSet",
|
|
2655
|
-
selections: [
|
|
2656
|
-
{
|
|
2657
|
-
kind: "Field",
|
|
2658
|
-
name: { kind: "Name", value: "accessManagementModeDesired" },
|
|
2659
|
-
arguments: [
|
|
2660
|
-
{
|
|
2661
|
-
kind: "Argument",
|
|
2662
|
-
name: { kind: "Name", value: "limit" },
|
|
2663
|
-
value: { kind: "Variable", name: { kind: "Name", value: "limit" } },
|
|
2664
|
-
},
|
|
2665
|
-
],
|
|
2666
|
-
selectionSet: {
|
|
2667
|
-
kind: "SelectionSet",
|
|
2668
|
-
selections: [
|
|
2669
|
-
{ kind: "Field", name: { kind: "Name", value: "total" } },
|
|
2670
|
-
{
|
|
2671
|
-
kind: "Field",
|
|
2672
|
-
name: { kind: "Name", value: "summary" },
|
|
2673
|
-
selectionSet: {
|
|
2674
|
-
kind: "SelectionSet",
|
|
2675
|
-
selections: [
|
|
2676
|
-
{ kind: "Field", name: { kind: "Name", value: "accessManagementMode" } },
|
|
2677
|
-
{ kind: "Field", name: { kind: "Name", value: "count" } },
|
|
2678
|
-
],
|
|
2679
|
-
},
|
|
2680
|
-
},
|
|
2681
|
-
],
|
|
2682
|
-
},
|
|
2683
|
-
},
|
|
2684
|
-
],
|
|
2685
|
-
},
|
|
2686
|
-
},
|
|
2687
|
-
],
|
|
2688
|
-
},
|
|
2689
|
-
},
|
|
2690
|
-
],
|
|
2691
|
-
};
|
|
2692
2373
|
const GetPendingTelematicsDevicesSummaryDocument = {
|
|
2693
2374
|
kind: "Document",
|
|
2694
2375
|
definitions: [
|
|
@@ -5684,771 +5365,6 @@ const useTypesFilter = () => {
|
|
|
5684
5365
|
return result;
|
|
5685
5366
|
};
|
|
5686
5367
|
|
|
5687
|
-
const defaultDeviceHealthIssueCategorySummariesQueryVariables = {
|
|
5688
|
-
filters: undefined,
|
|
5689
|
-
};
|
|
5690
|
-
const mockForDeviceHealthIssueCategorySummariesQuery = (variables, data) => {
|
|
5691
|
-
return reactCoreContextsTest.queryFor(DeviceHealthIssueCategorySummariesDocument, reactCoreContextsTest.mergeDeepVars(defaultDeviceHealthIssueCategorySummariesQueryVariables, variables), utilities.mergeDeep({
|
|
5692
|
-
__typename: "Query",
|
|
5693
|
-
assetSummary: {
|
|
5694
|
-
__typename: "AssetSummary",
|
|
5695
|
-
fleetHealthCategoriesSummary: {
|
|
5696
|
-
__typename: "MetadataSummary",
|
|
5697
|
-
total: 6273236744536064,
|
|
5698
|
-
summary: [
|
|
5699
|
-
{
|
|
5700
|
-
__typename: "Summary",
|
|
5701
|
-
count: 6273236744536064,
|
|
5702
|
-
key: "subito",
|
|
5703
|
-
},
|
|
5704
|
-
],
|
|
5705
|
-
},
|
|
5706
|
-
},
|
|
5707
|
-
}, data || {}));
|
|
5708
|
-
};
|
|
5709
|
-
const defaultDeviceHealthIssueStatusSummariesQueryVariables = {
|
|
5710
|
-
filters: undefined,
|
|
5711
|
-
};
|
|
5712
|
-
const mockForDeviceHealthIssueStatusSummariesQuery = (variables, data) => {
|
|
5713
|
-
return reactCoreContextsTest.queryFor(DeviceHealthIssueStatusSummariesDocument, reactCoreContextsTest.mergeDeepVars(defaultDeviceHealthIssueStatusSummariesQueryVariables, variables), utilities.mergeDeep({
|
|
5714
|
-
__typename: "Query",
|
|
5715
|
-
assetSummary: {
|
|
5716
|
-
__typename: "AssetSummary",
|
|
5717
|
-
fleetHealthDeviceStatusSummary: {
|
|
5718
|
-
__typename: "MetadataSummary",
|
|
5719
|
-
total: 6273236744536064,
|
|
5720
|
-
summary: [
|
|
5721
|
-
{
|
|
5722
|
-
__typename: "Summary",
|
|
5723
|
-
key: "subito",
|
|
5724
|
-
count: 6273236744536064,
|
|
5725
|
-
},
|
|
5726
|
-
],
|
|
5727
|
-
},
|
|
5728
|
-
},
|
|
5729
|
-
}, data || {}));
|
|
5730
|
-
};
|
|
5731
|
-
const defaultDeviceHealthIssueTypeSummariesQueryVariables = {
|
|
5732
|
-
filters: undefined,
|
|
5733
|
-
};
|
|
5734
|
-
const mockForDeviceHealthIssueTypeSummariesQuery = (variables, data) => {
|
|
5735
|
-
return reactCoreContextsTest.queryFor(DeviceHealthIssueTypeSummariesDocument, reactCoreContextsTest.mergeDeepVars(defaultDeviceHealthIssueTypeSummariesQueryVariables, variables), utilities.mergeDeep({
|
|
5736
|
-
__typename: "Query",
|
|
5737
|
-
assetSummary: {
|
|
5738
|
-
__typename: "AssetSummary",
|
|
5739
|
-
fleetHealthTypesSummary: {
|
|
5740
|
-
__typename: "MetadataSummary",
|
|
5741
|
-
total: 6273236744536064,
|
|
5742
|
-
summary: [
|
|
5743
|
-
{
|
|
5744
|
-
__typename: "Summary",
|
|
5745
|
-
key: "subito",
|
|
5746
|
-
count: 6273236744536064,
|
|
5747
|
-
},
|
|
5748
|
-
],
|
|
5749
|
-
},
|
|
5750
|
-
},
|
|
5751
|
-
}, data || {}));
|
|
5752
|
-
};
|
|
5753
|
-
const defaultDeviceTypesSummaryQueryVariables = {
|
|
5754
|
-
filters: undefined,
|
|
5755
|
-
};
|
|
5756
|
-
const mockForDeviceTypesSummaryQuery = (variables, data) => {
|
|
5757
|
-
return reactCoreContextsTest.queryFor(DeviceTypesSummaryDocument, reactCoreContextsTest.mergeDeepVars(defaultDeviceTypesSummaryQueryVariables, variables), utilities.mergeDeep({
|
|
5758
|
-
__typename: "Query",
|
|
5759
|
-
assetSummary: {
|
|
5760
|
-
__typename: "AssetSummary",
|
|
5761
|
-
deviceTypesSummary: {
|
|
5762
|
-
__typename: "MetadataSummary",
|
|
5763
|
-
total: 6273236744536064,
|
|
5764
|
-
summary: [
|
|
5765
|
-
{
|
|
5766
|
-
__typename: "Summary",
|
|
5767
|
-
key: "subito",
|
|
5768
|
-
count: 6273236744536064,
|
|
5769
|
-
},
|
|
5770
|
-
],
|
|
5771
|
-
},
|
|
5772
|
-
},
|
|
5773
|
-
}, data || {}));
|
|
5774
|
-
};
|
|
5775
|
-
const defaultGetFleetAssetTypesSummaryQueryVariables = {
|
|
5776
|
-
filters: undefined,
|
|
5777
|
-
};
|
|
5778
|
-
const mockForGetFleetAssetTypesSummaryQuery = (variables, data) => {
|
|
5779
|
-
return reactCoreContextsTest.queryFor(GetFleetAssetTypesSummaryDocument, reactCoreContextsTest.mergeDeepVars(defaultGetFleetAssetTypesSummaryQueryVariables, variables), utilities.mergeDeep({
|
|
5780
|
-
__typename: "Query",
|
|
5781
|
-
assetSummary: {
|
|
5782
|
-
__typename: "AssetSummary",
|
|
5783
|
-
assetTypes: {
|
|
5784
|
-
__typename: "AssetTypesSummary",
|
|
5785
|
-
total: 6273236744536064,
|
|
5786
|
-
summary: {
|
|
5787
|
-
__typename: "AssetTypeSummary",
|
|
5788
|
-
machines: 6273236744536064,
|
|
5789
|
-
attachments: 6273236744536064,
|
|
5790
|
-
equipments: 6273236744536064,
|
|
5791
|
-
tools: 6273236744536064,
|
|
5792
|
-
gateways: 6273236744536064,
|
|
5793
|
-
others: 6273236744536064,
|
|
5794
|
-
vehicles: 6273236744536064,
|
|
5795
|
-
},
|
|
5796
|
-
},
|
|
5797
|
-
},
|
|
5798
|
-
}, data || {}));
|
|
5799
|
-
};
|
|
5800
|
-
const defaultGetFleetSiteTypeSummaryQueryVariables = {
|
|
5801
|
-
filters: undefined,
|
|
5802
|
-
};
|
|
5803
|
-
const mockForGetFleetSiteTypeSummaryQuery = (variables, data) => {
|
|
5804
|
-
return reactCoreContextsTest.queryFor(GetFleetSiteTypeSummaryDocument, reactCoreContextsTest.mergeDeepVars(defaultGetFleetSiteTypeSummaryQueryVariables, variables), utilities.mergeDeep({
|
|
5805
|
-
__typename: "Query",
|
|
5806
|
-
assetSummary: {
|
|
5807
|
-
__typename: "AssetSummary",
|
|
5808
|
-
siteTypes: {
|
|
5809
|
-
__typename: "SiteTypesSummary",
|
|
5810
|
-
total: 6273236744536064,
|
|
5811
|
-
summary: [
|
|
5812
|
-
{
|
|
5813
|
-
__typename: "SiteTypeSummary",
|
|
5814
|
-
siteType: "AREA",
|
|
5815
|
-
count: 6273236744536064,
|
|
5816
|
-
},
|
|
5817
|
-
],
|
|
5818
|
-
},
|
|
5819
|
-
},
|
|
5820
|
-
}, data || {}));
|
|
5821
|
-
};
|
|
5822
|
-
const defaultGetMetadataCompletenessSummaryQueryVariables = {
|
|
5823
|
-
filters: undefined,
|
|
5824
|
-
};
|
|
5825
|
-
const mockForGetMetadataCompletenessSummaryQuery = (variables, data) => {
|
|
5826
|
-
return reactCoreContextsTest.queryFor(GetMetadataCompletenessSummaryDocument, reactCoreContextsTest.mergeDeepVars(defaultGetMetadataCompletenessSummaryQueryVariables, variables), utilities.mergeDeep({
|
|
5827
|
-
__typename: "Query",
|
|
5828
|
-
assetSummary: {
|
|
5829
|
-
__typename: "AssetSummary",
|
|
5830
|
-
metadataCompletenesses: {
|
|
5831
|
-
__typename: "MetadataCompletenessesSummary",
|
|
5832
|
-
total: 6273236744536064,
|
|
5833
|
-
summary: [
|
|
5834
|
-
{
|
|
5835
|
-
__typename: "MetadataCompletenessSummary",
|
|
5836
|
-
metadataCompleteness: "COMPLETE",
|
|
5837
|
-
count: 6273236744536064,
|
|
5838
|
-
},
|
|
5839
|
-
],
|
|
5840
|
-
},
|
|
5841
|
-
},
|
|
5842
|
-
}, data || {}));
|
|
5843
|
-
};
|
|
5844
|
-
const defaultGetFleetGroupSummaryQueryVariables = {
|
|
5845
|
-
filters: undefined,
|
|
5846
|
-
search: undefined,
|
|
5847
|
-
limit: 6273236744536064,
|
|
5848
|
-
};
|
|
5849
|
-
const mockForGetFleetGroupSummaryQuery = (variables, data) => {
|
|
5850
|
-
return reactCoreContextsTest.queryFor(GetFleetGroupSummaryDocument, reactCoreContextsTest.mergeDeepVars(defaultGetFleetGroupSummaryQueryVariables, variables), utilities.mergeDeep({
|
|
5851
|
-
__typename: "Query",
|
|
5852
|
-
assetSummary: {
|
|
5853
|
-
__typename: "AssetSummary",
|
|
5854
|
-
groups: {
|
|
5855
|
-
__typename: "GroupsSummary",
|
|
5856
|
-
total: 6273236744536064,
|
|
5857
|
-
missing: 6273236744536064,
|
|
5858
|
-
summary: [
|
|
5859
|
-
{
|
|
5860
|
-
__typename: "GroupSummary",
|
|
5861
|
-
count: 6273236744536064,
|
|
5862
|
-
group: {
|
|
5863
|
-
__typename: "Group",
|
|
5864
|
-
id: "subito",
|
|
5865
|
-
groupId: "subito",
|
|
5866
|
-
name: "subito",
|
|
5867
|
-
},
|
|
5868
|
-
},
|
|
5869
|
-
],
|
|
5870
|
-
},
|
|
5871
|
-
},
|
|
5872
|
-
}, data || {}));
|
|
5873
|
-
};
|
|
5874
|
-
const defaultGetFleetOwnerAccountSummaryQueryVariables = {
|
|
5875
|
-
filters: undefined,
|
|
5876
|
-
search: undefined,
|
|
5877
|
-
limit: 6273236744536064,
|
|
5878
|
-
};
|
|
5879
|
-
const mockForGetFleetOwnerAccountSummaryQuery = (variables, data) => {
|
|
5880
|
-
return reactCoreContextsTest.queryFor(GetFleetOwnerAccountSummaryDocument, reactCoreContextsTest.mergeDeepVars(defaultGetFleetOwnerAccountSummaryQueryVariables, variables), utilities.mergeDeep({
|
|
5881
|
-
__typename: "Query",
|
|
5882
|
-
assetSummary: {
|
|
5883
|
-
__typename: "AssetSummary",
|
|
5884
|
-
ownerAccounts: {
|
|
5885
|
-
__typename: "OwnerAccountsSummary",
|
|
5886
|
-
total: 6273236744536064,
|
|
5887
|
-
summary: [
|
|
5888
|
-
{
|
|
5889
|
-
__typename: "OwnerAccountSummary",
|
|
5890
|
-
count: 6273236744536064,
|
|
5891
|
-
ownerAccount: {
|
|
5892
|
-
__typename: "Account",
|
|
5893
|
-
accountId: "subito",
|
|
5894
|
-
name: "subito",
|
|
5895
|
-
},
|
|
5896
|
-
},
|
|
5897
|
-
],
|
|
5898
|
-
},
|
|
5899
|
-
},
|
|
5900
|
-
}, data || {}));
|
|
5901
|
-
};
|
|
5902
|
-
const defaultGetFleetModelsSummaryQueryVariables = {
|
|
5903
|
-
filters: undefined,
|
|
5904
|
-
search: undefined,
|
|
5905
|
-
limit: undefined,
|
|
5906
|
-
};
|
|
5907
|
-
const mockForGetFleetModelsSummaryQuery = (variables, data) => {
|
|
5908
|
-
return reactCoreContextsTest.queryFor(GetFleetModelsSummaryDocument, reactCoreContextsTest.mergeDeepVars(defaultGetFleetModelsSummaryQueryVariables, variables), utilities.mergeDeep({
|
|
5909
|
-
__typename: "Query",
|
|
5910
|
-
assetSummary: {
|
|
5911
|
-
__typename: "AssetSummary",
|
|
5912
|
-
models: {
|
|
5913
|
-
__typename: "MetadataSummary",
|
|
5914
|
-
total: 6273236744536064,
|
|
5915
|
-
summary: [
|
|
5916
|
-
{
|
|
5917
|
-
__typename: "Summary",
|
|
5918
|
-
key: "subito",
|
|
5919
|
-
count: 6273236744536064,
|
|
5920
|
-
},
|
|
5921
|
-
],
|
|
5922
|
-
},
|
|
5923
|
-
},
|
|
5924
|
-
}, data || {}));
|
|
5925
|
-
};
|
|
5926
|
-
const defaultGetCustomFieldSummaryQueryVariables = {
|
|
5927
|
-
filters: undefined,
|
|
5928
|
-
definitionIds: "subito",
|
|
5929
|
-
};
|
|
5930
|
-
const mockForGetCustomFieldSummaryQuery = (variables, data) => {
|
|
5931
|
-
return reactCoreContextsTest.queryFor(GetCustomFieldSummaryDocument, reactCoreContextsTest.mergeDeepVars(defaultGetCustomFieldSummaryQueryVariables, variables), utilities.mergeDeep({
|
|
5932
|
-
__typename: "Query",
|
|
5933
|
-
assetSummary: {
|
|
5934
|
-
__typename: "AssetSummary",
|
|
5935
|
-
customFields: [
|
|
5936
|
-
{
|
|
5937
|
-
__typename: "CustomFieldSummary",
|
|
5938
|
-
definitionId: "subito",
|
|
5939
|
-
total: 6273236744536064,
|
|
5940
|
-
summary: [
|
|
5941
|
-
{
|
|
5942
|
-
__typename: "Summary",
|
|
5943
|
-
key: "subito",
|
|
5944
|
-
count: 6273236744536064,
|
|
5945
|
-
},
|
|
5946
|
-
],
|
|
5947
|
-
},
|
|
5948
|
-
],
|
|
5949
|
-
},
|
|
5950
|
-
}, data || {}));
|
|
5951
|
-
};
|
|
5952
|
-
const defaultGetFleetBrandsSummaryQueryVariables = {
|
|
5953
|
-
filters: undefined,
|
|
5954
|
-
search: undefined,
|
|
5955
|
-
limit: undefined,
|
|
5956
|
-
};
|
|
5957
|
-
const mockForGetFleetBrandsSummaryQuery = (variables, data) => {
|
|
5958
|
-
return reactCoreContextsTest.queryFor(GetFleetBrandsSummaryDocument, reactCoreContextsTest.mergeDeepVars(defaultGetFleetBrandsSummaryQueryVariables, variables), utilities.mergeDeep({
|
|
5959
|
-
__typename: "Query",
|
|
5960
|
-
assetSummary: {
|
|
5961
|
-
__typename: "AssetSummary",
|
|
5962
|
-
brands: {
|
|
5963
|
-
__typename: "MetadataSummary",
|
|
5964
|
-
total: 6273236744536064,
|
|
5965
|
-
summary: [
|
|
5966
|
-
{
|
|
5967
|
-
__typename: "Summary",
|
|
5968
|
-
key: "subito",
|
|
5969
|
-
count: 6273236744536064,
|
|
5970
|
-
},
|
|
5971
|
-
],
|
|
5972
|
-
},
|
|
5973
|
-
},
|
|
5974
|
-
}, data || {}));
|
|
5975
|
-
};
|
|
5976
|
-
const defaultGetFleetTypesSummaryQueryVariables = {
|
|
5977
|
-
filters: undefined,
|
|
5978
|
-
search: undefined,
|
|
5979
|
-
limit: undefined,
|
|
5980
|
-
};
|
|
5981
|
-
const mockForGetFleetTypesSummaryQuery = (variables, data) => {
|
|
5982
|
-
return reactCoreContextsTest.queryFor(GetFleetTypesSummaryDocument, reactCoreContextsTest.mergeDeepVars(defaultGetFleetTypesSummaryQueryVariables, variables), utilities.mergeDeep({
|
|
5983
|
-
__typename: "Query",
|
|
5984
|
-
assetSummary: {
|
|
5985
|
-
__typename: "AssetSummary",
|
|
5986
|
-
types: {
|
|
5987
|
-
__typename: "MetadataSummary",
|
|
5988
|
-
total: 6273236744536064,
|
|
5989
|
-
summary: [
|
|
5990
|
-
{
|
|
5991
|
-
__typename: "Summary",
|
|
5992
|
-
key: "subito",
|
|
5993
|
-
count: 6273236744536064,
|
|
5994
|
-
},
|
|
5995
|
-
],
|
|
5996
|
-
},
|
|
5997
|
-
},
|
|
5998
|
-
}, data || {}));
|
|
5999
|
-
};
|
|
6000
|
-
const defaultGetFleetCriticalitySummaryQueryVariables = {
|
|
6001
|
-
filters: undefined,
|
|
6002
|
-
};
|
|
6003
|
-
const mockForGetFleetCriticalitySummaryQuery = (variables, data) => {
|
|
6004
|
-
return reactCoreContextsTest.queryFor(GetFleetCriticalitySummaryDocument, reactCoreContextsTest.mergeDeepVars(defaultGetFleetCriticalitySummaryQueryVariables, variables), utilities.mergeDeep({
|
|
6005
|
-
__typename: "Query",
|
|
6006
|
-
assetSummary: {
|
|
6007
|
-
__typename: "AssetSummary",
|
|
6008
|
-
criticality: {
|
|
6009
|
-
__typename: "CriticalitySummary",
|
|
6010
|
-
critical: 6273236744536064,
|
|
6011
|
-
low: 6273236744536064,
|
|
6012
|
-
good: 6273236744536064,
|
|
6013
|
-
},
|
|
6014
|
-
},
|
|
6015
|
-
}, data || {}));
|
|
6016
|
-
};
|
|
6017
|
-
const defaultGetFleetProductionYearsSummaryQueryVariables = {
|
|
6018
|
-
filters: undefined,
|
|
6019
|
-
search: undefined,
|
|
6020
|
-
limit: undefined,
|
|
6021
|
-
};
|
|
6022
|
-
const mockForGetFleetProductionYearsSummaryQuery = (variables, data) => {
|
|
6023
|
-
return reactCoreContextsTest.queryFor(GetFleetProductionYearsSummaryDocument, reactCoreContextsTest.mergeDeepVars(defaultGetFleetProductionYearsSummaryQueryVariables, variables), utilities.mergeDeep({
|
|
6024
|
-
__typename: "Query",
|
|
6025
|
-
assetSummary: {
|
|
6026
|
-
__typename: "AssetSummary",
|
|
6027
|
-
productionYears: {
|
|
6028
|
-
__typename: "MetadataSummary",
|
|
6029
|
-
total: 6273236744536064,
|
|
6030
|
-
summary: [
|
|
6031
|
-
{
|
|
6032
|
-
__typename: "Summary",
|
|
6033
|
-
key: "subito",
|
|
6034
|
-
count: 6273236744536064,
|
|
6035
|
-
},
|
|
6036
|
-
],
|
|
6037
|
-
},
|
|
6038
|
-
},
|
|
6039
|
-
}, data || {}));
|
|
6040
|
-
};
|
|
6041
|
-
const defaultGetServicePlanNamesSummaryQueryVariables = {
|
|
6042
|
-
filters: undefined,
|
|
6043
|
-
};
|
|
6044
|
-
const mockForGetServicePlanNamesSummaryQuery = (variables, data) => {
|
|
6045
|
-
return reactCoreContextsTest.queryFor(GetServicePlanNamesSummaryDocument, reactCoreContextsTest.mergeDeepVars(defaultGetServicePlanNamesSummaryQueryVariables, variables), utilities.mergeDeep({
|
|
6046
|
-
__typename: "Query",
|
|
6047
|
-
assetSummary: {
|
|
6048
|
-
__typename: "AssetSummary",
|
|
6049
|
-
servicePlanNames: {
|
|
6050
|
-
__typename: "MetadataSummary",
|
|
6051
|
-
total: 6273236744536064,
|
|
6052
|
-
summary: [
|
|
6053
|
-
{
|
|
6054
|
-
__typename: "Summary",
|
|
6055
|
-
key: "subito",
|
|
6056
|
-
count: 6273236744536064,
|
|
6057
|
-
},
|
|
6058
|
-
],
|
|
6059
|
-
},
|
|
6060
|
-
},
|
|
6061
|
-
}, data || {}));
|
|
6062
|
-
};
|
|
6063
|
-
const defaultGetFleetServicePlanStatusesSummaryQueryVariables = {
|
|
6064
|
-
filters: undefined,
|
|
6065
|
-
};
|
|
6066
|
-
const mockForGetFleetServicePlanStatusesSummaryQuery = (variables, data) => {
|
|
6067
|
-
return reactCoreContextsTest.queryFor(GetFleetServicePlanStatusesSummaryDocument, reactCoreContextsTest.mergeDeepVars(defaultGetFleetServicePlanStatusesSummaryQueryVariables, variables), utilities.mergeDeep({
|
|
6068
|
-
__typename: "Query",
|
|
6069
|
-
assetSummary: {
|
|
6070
|
-
__typename: "AssetSummary",
|
|
6071
|
-
servicePlanStatuses: {
|
|
6072
|
-
__typename: "ServicePlanStatusSummary",
|
|
6073
|
-
overdue: 6273236744536064,
|
|
6074
|
-
upcoming: 6273236744536064,
|
|
6075
|
-
planned: 6273236744536064,
|
|
6076
|
-
},
|
|
6077
|
-
},
|
|
6078
|
-
}, data || {}));
|
|
6079
|
-
};
|
|
6080
|
-
const defaultGetFleetServiceProvidersSummaryQueryVariables = {
|
|
6081
|
-
filters: undefined,
|
|
6082
|
-
};
|
|
6083
|
-
const mockForGetFleetServiceProvidersSummaryQuery = (variables, data) => {
|
|
6084
|
-
return reactCoreContextsTest.queryFor(GetFleetServiceProvidersSummaryDocument, reactCoreContextsTest.mergeDeepVars(defaultGetFleetServiceProvidersSummaryQueryVariables, variables), utilities.mergeDeep({
|
|
6085
|
-
__typename: "Query",
|
|
6086
|
-
assetSummary: {
|
|
6087
|
-
__typename: "AssetSummary",
|
|
6088
|
-
serviceProviders: {
|
|
6089
|
-
__typename: "MetadataSummary",
|
|
6090
|
-
total: 6273236744536064,
|
|
6091
|
-
summary: [
|
|
6092
|
-
{
|
|
6093
|
-
__typename: "Summary",
|
|
6094
|
-
key: "subito",
|
|
6095
|
-
count: 6273236744536064,
|
|
6096
|
-
},
|
|
6097
|
-
],
|
|
6098
|
-
},
|
|
6099
|
-
},
|
|
6100
|
-
}, data || {}));
|
|
6101
|
-
};
|
|
6102
|
-
const defaultGetFleetServicePlanAssignmentsSummaryQueryVariables = {
|
|
6103
|
-
filters: undefined,
|
|
6104
|
-
};
|
|
6105
|
-
const mockForGetFleetServicePlanAssignmentsSummaryQuery = (variables, data) => {
|
|
6106
|
-
return reactCoreContextsTest.queryFor(GetFleetServicePlanAssignmentsSummaryDocument, reactCoreContextsTest.mergeDeepVars(defaultGetFleetServicePlanAssignmentsSummaryQueryVariables, variables), utilities.mergeDeep({
|
|
6107
|
-
__typename: "Query",
|
|
6108
|
-
assetSummary: {
|
|
6109
|
-
__typename: "AssetSummary",
|
|
6110
|
-
servicePlanAssignments: {
|
|
6111
|
-
__typename: "ServicePlanAssignmentSummary",
|
|
6112
|
-
fullyConfigured: 6273236744536064,
|
|
6113
|
-
partiallyConfigured: 6273236744536064,
|
|
6114
|
-
notConfigured: 6273236744536064,
|
|
6115
|
-
},
|
|
6116
|
-
},
|
|
6117
|
-
}, data || {}));
|
|
6118
|
-
};
|
|
6119
|
-
const defaultGetFleetActivitySummaryQueryVariables = {
|
|
6120
|
-
filters: undefined,
|
|
6121
|
-
};
|
|
6122
|
-
const mockForGetFleetActivitySummaryQuery = (variables, data) => {
|
|
6123
|
-
return reactCoreContextsTest.queryFor(GetFleetActivitySummaryDocument, reactCoreContextsTest.mergeDeepVars(defaultGetFleetActivitySummaryQueryVariables, variables), utilities.mergeDeep({
|
|
6124
|
-
__typename: "Query",
|
|
6125
|
-
assetSummary: {
|
|
6126
|
-
__typename: "AssetSummary",
|
|
6127
|
-
activity: {
|
|
6128
|
-
__typename: "ActivitySummary",
|
|
6129
|
-
working: 6273236744536064,
|
|
6130
|
-
idling: 6273236744536064,
|
|
6131
|
-
stopped: 6273236744536064,
|
|
6132
|
-
unknown: 6273236744536064,
|
|
6133
|
-
},
|
|
6134
|
-
},
|
|
6135
|
-
}, data || {}));
|
|
6136
|
-
};
|
|
6137
|
-
const defaultGetSiteIdSummaryQueryVariables = {
|
|
6138
|
-
filters: undefined,
|
|
6139
|
-
search: undefined,
|
|
6140
|
-
limit: 6273236744536064,
|
|
6141
|
-
};
|
|
6142
|
-
const mockForGetSiteIdSummaryQuery = (variables, data) => {
|
|
6143
|
-
return reactCoreContextsTest.queryFor(GetSiteIdSummaryDocument, reactCoreContextsTest.mergeDeepVars(defaultGetSiteIdSummaryQueryVariables, variables), utilities.mergeDeep({
|
|
6144
|
-
__typename: "Query",
|
|
6145
|
-
assetSummary: {
|
|
6146
|
-
__typename: "AssetSummary",
|
|
6147
|
-
sites: {
|
|
6148
|
-
__typename: "SitesSummary",
|
|
6149
|
-
total: 6273236744536064,
|
|
6150
|
-
summary: [
|
|
6151
|
-
{
|
|
6152
|
-
__typename: "SiteSummary",
|
|
6153
|
-
count: 6273236744536064,
|
|
6154
|
-
site: {
|
|
6155
|
-
__typename: "Site",
|
|
6156
|
-
id: "subito",
|
|
6157
|
-
siteId: "subito",
|
|
6158
|
-
name: "subito",
|
|
6159
|
-
},
|
|
6160
|
-
},
|
|
6161
|
-
],
|
|
6162
|
-
},
|
|
6163
|
-
},
|
|
6164
|
-
}, data || {}));
|
|
6165
|
-
};
|
|
6166
|
-
const defaultGetSiteDepotOwnershipIdSummaryQueryVariables = {
|
|
6167
|
-
filters: undefined,
|
|
6168
|
-
search: undefined,
|
|
6169
|
-
limit: 6273236744536064,
|
|
6170
|
-
};
|
|
6171
|
-
const mockForGetSiteDepotOwnershipIdSummaryQuery = (variables, data) => {
|
|
6172
|
-
return reactCoreContextsTest.queryFor(GetSiteDepotOwnershipIdSummaryDocument, reactCoreContextsTest.mergeDeepVars(defaultGetSiteDepotOwnershipIdSummaryQueryVariables, variables), utilities.mergeDeep({
|
|
6173
|
-
__typename: "Query",
|
|
6174
|
-
assetSummary: {
|
|
6175
|
-
__typename: "AssetSummary",
|
|
6176
|
-
owningDepots: {
|
|
6177
|
-
__typename: "SitesSummary",
|
|
6178
|
-
total: 6273236744536064,
|
|
6179
|
-
summary: [
|
|
6180
|
-
{
|
|
6181
|
-
__typename: "SiteSummary",
|
|
6182
|
-
count: 6273236744536064,
|
|
6183
|
-
site: {
|
|
6184
|
-
__typename: "Site",
|
|
6185
|
-
id: "subito",
|
|
6186
|
-
siteId: "subito",
|
|
6187
|
-
name: "subito",
|
|
6188
|
-
},
|
|
6189
|
-
},
|
|
6190
|
-
],
|
|
6191
|
-
},
|
|
6192
|
-
},
|
|
6193
|
-
}, data || {}));
|
|
6194
|
-
};
|
|
6195
|
-
const defaultGetCustomerIdSummaryQueryVariables = {
|
|
6196
|
-
filters: undefined,
|
|
6197
|
-
search: undefined,
|
|
6198
|
-
limit: 6273236744536064,
|
|
6199
|
-
};
|
|
6200
|
-
const mockForGetCustomerIdSummaryQuery = (variables, data) => {
|
|
6201
|
-
return reactCoreContextsTest.queryFor(GetCustomerIdSummaryDocument, reactCoreContextsTest.mergeDeepVars(defaultGetCustomerIdSummaryQueryVariables, variables), utilities.mergeDeep({
|
|
6202
|
-
__typename: "Query",
|
|
6203
|
-
assetSummary: {
|
|
6204
|
-
__typename: "AssetSummary",
|
|
6205
|
-
customers: {
|
|
6206
|
-
__typename: "CustomersSummary",
|
|
6207
|
-
total: 6273236744536064,
|
|
6208
|
-
summary: [
|
|
6209
|
-
{
|
|
6210
|
-
__typename: "CustomerSummary",
|
|
6211
|
-
count: 6273236744536064,
|
|
6212
|
-
customer: {
|
|
6213
|
-
__typename: "Customer",
|
|
6214
|
-
id: "subito",
|
|
6215
|
-
customerId: "subito",
|
|
6216
|
-
name: "subito",
|
|
6217
|
-
parent: {
|
|
6218
|
-
__typename: "Customer",
|
|
6219
|
-
customerId: "subito",
|
|
6220
|
-
name: "subito",
|
|
6221
|
-
},
|
|
6222
|
-
},
|
|
6223
|
-
},
|
|
6224
|
-
],
|
|
6225
|
-
},
|
|
6226
|
-
},
|
|
6227
|
-
}, data || {}));
|
|
6228
|
-
};
|
|
6229
|
-
const defaultGetAssetTelematicsDeviceConnectionSummaryQueryVariables = {
|
|
6230
|
-
filters: undefined,
|
|
6231
|
-
};
|
|
6232
|
-
const mockForGetAssetTelematicsDeviceConnectionSummaryQuery = (variables, data) => {
|
|
6233
|
-
return reactCoreContextsTest.queryFor(GetAssetTelematicsDeviceConnectionSummaryDocument, reactCoreContextsTest.mergeDeepVars(defaultGetAssetTelematicsDeviceConnectionSummaryQueryVariables, variables), utilities.mergeDeep({
|
|
6234
|
-
__typename: "Query",
|
|
6235
|
-
assetSummary: {
|
|
6236
|
-
__typename: "AssetSummary",
|
|
6237
|
-
assetTelematicsDeviceConnected: {
|
|
6238
|
-
__typename: "MetadataSummary",
|
|
6239
|
-
total: 6273236744536064,
|
|
6240
|
-
summary: [
|
|
6241
|
-
{
|
|
6242
|
-
__typename: "Summary",
|
|
6243
|
-
key: "subito",
|
|
6244
|
-
count: 6273236744536064,
|
|
6245
|
-
},
|
|
6246
|
-
],
|
|
6247
|
-
},
|
|
6248
|
-
},
|
|
6249
|
-
}, data || {}));
|
|
6250
|
-
};
|
|
6251
|
-
const defaultGetPlaceAutocompletePredictionsQueryVariables = {
|
|
6252
|
-
search: "subito",
|
|
6253
|
-
};
|
|
6254
|
-
const mockForGetPlaceAutocompletePredictionsQuery = (variables, data) => {
|
|
6255
|
-
return reactCoreContextsTest.queryFor(GetPlaceAutocompletePredictionsDocument, reactCoreContextsTest.mergeDeepVars(defaultGetPlaceAutocompletePredictionsQueryVariables, variables), utilities.mergeDeep({
|
|
6256
|
-
__typename: "Query",
|
|
6257
|
-
placeAutocomplete: {
|
|
6258
|
-
__typename: "PlaceAutocompleteResponse",
|
|
6259
|
-
predictions: [
|
|
6260
|
-
{
|
|
6261
|
-
__typename: "PlacePrediction",
|
|
6262
|
-
placeId: "subito",
|
|
6263
|
-
description: "subito",
|
|
6264
|
-
},
|
|
6265
|
-
],
|
|
6266
|
-
},
|
|
6267
|
-
}, data || {}));
|
|
6268
|
-
};
|
|
6269
|
-
const defaultGetPlaceDetailsQueryVariables = {
|
|
6270
|
-
placeId: "subito",
|
|
6271
|
-
};
|
|
6272
|
-
const mockForGetPlaceDetailsQuery = (variables, data) => {
|
|
6273
|
-
return reactCoreContextsTest.queryFor(GetPlaceDetailsDocument, reactCoreContextsTest.mergeDeepVars(defaultGetPlaceDetailsQueryVariables, variables), utilities.mergeDeep({
|
|
6274
|
-
__typename: "Query",
|
|
6275
|
-
placeDetails: {
|
|
6276
|
-
__typename: "Feature",
|
|
6277
|
-
bbox: [6273236744536064],
|
|
6278
|
-
geometry: {
|
|
6279
|
-
__typename: "Geometry",
|
|
6280
|
-
type: "subito",
|
|
6281
|
-
coordinates: [6273236744536064],
|
|
6282
|
-
},
|
|
6283
|
-
properties: {
|
|
6284
|
-
__typename: "Properties",
|
|
6285
|
-
formattedAddress: "subito",
|
|
6286
|
-
},
|
|
6287
|
-
},
|
|
6288
|
-
}, data || {}));
|
|
6289
|
-
};
|
|
6290
|
-
const defaultGetFleetRentalContractOrderNumberSummaryQueryVariables = {
|
|
6291
|
-
filters: undefined,
|
|
6292
|
-
limit: 6273236744536064,
|
|
6293
|
-
search: undefined,
|
|
6294
|
-
};
|
|
6295
|
-
const mockForGetFleetRentalContractOrderNumberSummaryQuery = (variables, data) => {
|
|
6296
|
-
return reactCoreContextsTest.queryFor(GetFleetRentalContractOrderNumberSummaryDocument, reactCoreContextsTest.mergeDeepVars(defaultGetFleetRentalContractOrderNumberSummaryQueryVariables, variables), utilities.mergeDeep({
|
|
6297
|
-
__typename: "Query",
|
|
6298
|
-
assetSummary: {
|
|
6299
|
-
__typename: "AssetSummary",
|
|
6300
|
-
rentalContractOrderNumbers: {
|
|
6301
|
-
__typename: "MetadataSummary",
|
|
6302
|
-
total: 6273236744536064,
|
|
6303
|
-
summary: [
|
|
6304
|
-
{
|
|
6305
|
-
__typename: "Summary",
|
|
6306
|
-
key: "subito",
|
|
6307
|
-
count: 6273236744536064,
|
|
6308
|
-
},
|
|
6309
|
-
],
|
|
6310
|
-
},
|
|
6311
|
-
},
|
|
6312
|
-
}, data || {}));
|
|
6313
|
-
};
|
|
6314
|
-
const defaultGetFleetRentalContractReferenceCodesSummaryQueryVariables = {
|
|
6315
|
-
filters: undefined,
|
|
6316
|
-
limit: 6273236744536064,
|
|
6317
|
-
search: undefined,
|
|
6318
|
-
};
|
|
6319
|
-
const mockForGetFleetRentalContractReferenceCodesSummaryQuery = (variables, data) => {
|
|
6320
|
-
return reactCoreContextsTest.queryFor(GetFleetRentalContractReferenceCodesSummaryDocument, reactCoreContextsTest.mergeDeepVars(defaultGetFleetRentalContractReferenceCodesSummaryQueryVariables, variables), utilities.mergeDeep({
|
|
6321
|
-
__typename: "Query",
|
|
6322
|
-
assetSummary: {
|
|
6323
|
-
__typename: "AssetSummary",
|
|
6324
|
-
rentalContractReferenceCodes: {
|
|
6325
|
-
__typename: "MetadataSummary",
|
|
6326
|
-
total: 6273236744536064,
|
|
6327
|
-
summary: [
|
|
6328
|
-
{
|
|
6329
|
-
__typename: "Summary",
|
|
6330
|
-
key: "subito",
|
|
6331
|
-
count: 6273236744536064,
|
|
6332
|
-
},
|
|
6333
|
-
],
|
|
6334
|
-
},
|
|
6335
|
-
},
|
|
6336
|
-
}, data || {}));
|
|
6337
|
-
};
|
|
6338
|
-
const defaultGetFleetRentalCustomerParentExternalReferenceSummaryQueryVariables = {
|
|
6339
|
-
filters: undefined,
|
|
6340
|
-
limit: 6273236744536064,
|
|
6341
|
-
search: undefined,
|
|
6342
|
-
};
|
|
6343
|
-
const mockForGetFleetRentalCustomerParentExternalReferenceSummaryQuery = (variables, data) => {
|
|
6344
|
-
return reactCoreContextsTest.queryFor(GetFleetRentalCustomerParentExternalReferenceSummaryDocument, reactCoreContextsTest.mergeDeepVars(defaultGetFleetRentalCustomerParentExternalReferenceSummaryQueryVariables, variables), utilities.mergeDeep({
|
|
6345
|
-
__typename: "Query",
|
|
6346
|
-
assetSummary: {
|
|
6347
|
-
__typename: "AssetSummary",
|
|
6348
|
-
rentalContractCustomerParentExternalReferences: {
|
|
6349
|
-
__typename: "MetadataSummary",
|
|
6350
|
-
total: 6273236744536064,
|
|
6351
|
-
summary: [
|
|
6352
|
-
{
|
|
6353
|
-
__typename: "Summary",
|
|
6354
|
-
key: "subito",
|
|
6355
|
-
count: 6273236744536064,
|
|
6356
|
-
},
|
|
6357
|
-
],
|
|
6358
|
-
},
|
|
6359
|
-
},
|
|
6360
|
-
}, data || {}));
|
|
6361
|
-
};
|
|
6362
|
-
const defaultGetFleetRentalCustomerParentNameSummaryQueryVariables = {
|
|
6363
|
-
filters: undefined,
|
|
6364
|
-
limit: 6273236744536064,
|
|
6365
|
-
search: undefined,
|
|
6366
|
-
};
|
|
6367
|
-
const mockForGetFleetRentalCustomerParentNameSummaryQuery = (variables, data) => {
|
|
6368
|
-
return reactCoreContextsTest.queryFor(GetFleetRentalCustomerParentNameSummaryDocument, reactCoreContextsTest.mergeDeepVars(defaultGetFleetRentalCustomerParentNameSummaryQueryVariables, variables), utilities.mergeDeep({
|
|
6369
|
-
__typename: "Query",
|
|
6370
|
-
assetSummary: {
|
|
6371
|
-
__typename: "AssetSummary",
|
|
6372
|
-
rentalContractCustomerParentNames: {
|
|
6373
|
-
__typename: "MetadataSummary",
|
|
6374
|
-
total: 6273236744536064,
|
|
6375
|
-
summary: [
|
|
6376
|
-
{
|
|
6377
|
-
__typename: "Summary",
|
|
6378
|
-
key: "subito",
|
|
6379
|
-
count: 6273236744536064,
|
|
6380
|
-
},
|
|
6381
|
-
],
|
|
6382
|
-
},
|
|
6383
|
-
},
|
|
6384
|
-
}, data || {}));
|
|
6385
|
-
};
|
|
6386
|
-
const defaultGetAccessManagementModeDesiredSummaryQueryVariables = {
|
|
6387
|
-
filters: undefined,
|
|
6388
|
-
limit: 6273236744536064,
|
|
6389
|
-
};
|
|
6390
|
-
const mockForGetAccessManagementModeDesiredSummaryQuery = (variables, data) => {
|
|
6391
|
-
return reactCoreContextsTest.queryFor(GetAccessManagementModeDesiredSummaryDocument, reactCoreContextsTest.mergeDeepVars(defaultGetAccessManagementModeDesiredSummaryQueryVariables, variables), utilities.mergeDeep({
|
|
6392
|
-
__typename: "Query",
|
|
6393
|
-
assetSummary: {
|
|
6394
|
-
__typename: "AssetSummary",
|
|
6395
|
-
accessManagementModeDesired: {
|
|
6396
|
-
__typename: "AccessManagementModesSummary",
|
|
6397
|
-
total: 6273236744536064,
|
|
6398
|
-
summary: [
|
|
6399
|
-
{
|
|
6400
|
-
__typename: "AccessManagementModeSummary",
|
|
6401
|
-
accessManagementMode: "LOCKED_FOR_ALL",
|
|
6402
|
-
count: 6273236744536064,
|
|
6403
|
-
},
|
|
6404
|
-
],
|
|
6405
|
-
},
|
|
6406
|
-
},
|
|
6407
|
-
}, data || {}));
|
|
6408
|
-
};
|
|
6409
|
-
const defaultGetPendingTelematicsDevicesSummaryQueryVariables = {
|
|
6410
|
-
filters: undefined,
|
|
6411
|
-
};
|
|
6412
|
-
const mockForGetPendingTelematicsDevicesSummaryQuery = (variables, data) => {
|
|
6413
|
-
return reactCoreContextsTest.queryFor(GetPendingTelematicsDevicesSummaryDocument, reactCoreContextsTest.mergeDeepVars(defaultGetPendingTelematicsDevicesSummaryQueryVariables, variables), utilities.mergeDeep({
|
|
6414
|
-
__typename: "Query",
|
|
6415
|
-
assetSummary: {
|
|
6416
|
-
__typename: "AssetSummary",
|
|
6417
|
-
pendingTelematicsDevices: {
|
|
6418
|
-
__typename: "MetadataSummary",
|
|
6419
|
-
total: 6273236744536064,
|
|
6420
|
-
summary: [
|
|
6421
|
-
{
|
|
6422
|
-
__typename: "Summary",
|
|
6423
|
-
key: "subito",
|
|
6424
|
-
count: 6273236744536064,
|
|
6425
|
-
},
|
|
6426
|
-
],
|
|
6427
|
-
},
|
|
6428
|
-
},
|
|
6429
|
-
}, data || {}));
|
|
6430
|
-
};
|
|
6431
|
-
const defaultGetBatteryChargerStageSummaryQueryVariables = {
|
|
6432
|
-
filters: undefined,
|
|
6433
|
-
};
|
|
6434
|
-
const mockForGetBatteryChargerStageSummaryQuery = (variables, data) => {
|
|
6435
|
-
return reactCoreContextsTest.queryFor(GetBatteryChargerStageSummaryDocument, reactCoreContextsTest.mergeDeepVars(defaultGetBatteryChargerStageSummaryQueryVariables, variables), utilities.mergeDeep({
|
|
6436
|
-
__typename: "Query",
|
|
6437
|
-
assetSummary: {
|
|
6438
|
-
__typename: "AssetSummary",
|
|
6439
|
-
insights: {
|
|
6440
|
-
__typename: "InsightsSummary",
|
|
6441
|
-
batteryChargerState: {
|
|
6442
|
-
__typename: "BooleanInsightSummary",
|
|
6443
|
-
disabled: 6273236744536064,
|
|
6444
|
-
enabled: 6273236744536064,
|
|
6445
|
-
undefined: 6273236744536064,
|
|
6446
|
-
},
|
|
6447
|
-
},
|
|
6448
|
-
},
|
|
6449
|
-
}, data || {}));
|
|
6450
|
-
};
|
|
6451
|
-
|
|
6452
5368
|
/**
|
|
6453
5369
|
* The `InsightsCumulativeIdleHoursFilterView` component provides a filter
|
|
6454
5370
|
* for selecting cumulative idle hours range.
|
|
@@ -6793,39 +5709,6 @@ exports.mapActivityToLabelId = mapActivityToLabelId;
|
|
|
6793
5709
|
exports.mapMetadataCompletenessToLabelId = mapMetadataCompletenessToLabelId;
|
|
6794
5710
|
exports.metadataCompleteness = metadataCompleteness;
|
|
6795
5711
|
exports.metadataCompletenessOptions = metadataCompletenessOptions;
|
|
6796
|
-
exports.mockForDeviceHealthIssueCategorySummariesQuery = mockForDeviceHealthIssueCategorySummariesQuery;
|
|
6797
|
-
exports.mockForDeviceHealthIssueStatusSummariesQuery = mockForDeviceHealthIssueStatusSummariesQuery;
|
|
6798
|
-
exports.mockForDeviceHealthIssueTypeSummariesQuery = mockForDeviceHealthIssueTypeSummariesQuery;
|
|
6799
|
-
exports.mockForDeviceTypesSummaryQuery = mockForDeviceTypesSummaryQuery;
|
|
6800
|
-
exports.mockForGetAccessManagementModeDesiredSummaryQuery = mockForGetAccessManagementModeDesiredSummaryQuery;
|
|
6801
|
-
exports.mockForGetAssetTelematicsDeviceConnectionSummaryQuery = mockForGetAssetTelematicsDeviceConnectionSummaryQuery;
|
|
6802
|
-
exports.mockForGetBatteryChargerStageSummaryQuery = mockForGetBatteryChargerStageSummaryQuery;
|
|
6803
|
-
exports.mockForGetCustomFieldSummaryQuery = mockForGetCustomFieldSummaryQuery;
|
|
6804
|
-
exports.mockForGetCustomerIdSummaryQuery = mockForGetCustomerIdSummaryQuery;
|
|
6805
|
-
exports.mockForGetFleetActivitySummaryQuery = mockForGetFleetActivitySummaryQuery;
|
|
6806
|
-
exports.mockForGetFleetAssetTypesSummaryQuery = mockForGetFleetAssetTypesSummaryQuery;
|
|
6807
|
-
exports.mockForGetFleetBrandsSummaryQuery = mockForGetFleetBrandsSummaryQuery;
|
|
6808
|
-
exports.mockForGetFleetCriticalitySummaryQuery = mockForGetFleetCriticalitySummaryQuery;
|
|
6809
|
-
exports.mockForGetFleetGroupSummaryQuery = mockForGetFleetGroupSummaryQuery;
|
|
6810
|
-
exports.mockForGetFleetModelsSummaryQuery = mockForGetFleetModelsSummaryQuery;
|
|
6811
|
-
exports.mockForGetFleetOwnerAccountSummaryQuery = mockForGetFleetOwnerAccountSummaryQuery;
|
|
6812
|
-
exports.mockForGetFleetProductionYearsSummaryQuery = mockForGetFleetProductionYearsSummaryQuery;
|
|
6813
|
-
exports.mockForGetFleetRentalContractOrderNumberSummaryQuery = mockForGetFleetRentalContractOrderNumberSummaryQuery;
|
|
6814
|
-
exports.mockForGetFleetRentalContractReferenceCodesSummaryQuery = mockForGetFleetRentalContractReferenceCodesSummaryQuery;
|
|
6815
|
-
exports.mockForGetFleetRentalCustomerParentExternalReferenceSummaryQuery = mockForGetFleetRentalCustomerParentExternalReferenceSummaryQuery;
|
|
6816
|
-
exports.mockForGetFleetRentalCustomerParentNameSummaryQuery = mockForGetFleetRentalCustomerParentNameSummaryQuery;
|
|
6817
|
-
exports.mockForGetFleetServicePlanAssignmentsSummaryQuery = mockForGetFleetServicePlanAssignmentsSummaryQuery;
|
|
6818
|
-
exports.mockForGetFleetServicePlanStatusesSummaryQuery = mockForGetFleetServicePlanStatusesSummaryQuery;
|
|
6819
|
-
exports.mockForGetFleetServiceProvidersSummaryQuery = mockForGetFleetServiceProvidersSummaryQuery;
|
|
6820
|
-
exports.mockForGetFleetSiteTypeSummaryQuery = mockForGetFleetSiteTypeSummaryQuery;
|
|
6821
|
-
exports.mockForGetFleetTypesSummaryQuery = mockForGetFleetTypesSummaryQuery;
|
|
6822
|
-
exports.mockForGetMetadataCompletenessSummaryQuery = mockForGetMetadataCompletenessSummaryQuery;
|
|
6823
|
-
exports.mockForGetPendingTelematicsDevicesSummaryQuery = mockForGetPendingTelematicsDevicesSummaryQuery;
|
|
6824
|
-
exports.mockForGetPlaceAutocompletePredictionsQuery = mockForGetPlaceAutocompletePredictionsQuery;
|
|
6825
|
-
exports.mockForGetPlaceDetailsQuery = mockForGetPlaceDetailsQuery;
|
|
6826
|
-
exports.mockForGetServicePlanNamesSummaryQuery = mockForGetServicePlanNamesSummaryQuery;
|
|
6827
|
-
exports.mockForGetSiteDepotOwnershipIdSummaryQuery = mockForGetSiteDepotOwnershipIdSummaryQuery;
|
|
6828
|
-
exports.mockForGetSiteIdSummaryQuery = mockForGetSiteIdSummaryQuery;
|
|
6829
5712
|
exports.placePredictionSchema = placePredictionSchema;
|
|
6830
5713
|
exports.placeSchema = placeSchema;
|
|
6831
5714
|
exports.sortSiteTypeSummary = sortSiteTypeSummary;
|