@mjtech-ems/schema 1.3.46 → 1.3.47

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.
@@ -314,6 +314,16 @@ export type CreateProjectResponse = {
314
314
  status?: Maybe<Scalars['String']['output']>;
315
315
  };
316
316
  export type CreateUserResponse = GeneralResponse | UserResponse;
317
+ export type Customers = {
318
+ __typename?: 'Customers';
319
+ customername?: Maybe<Scalars['String']['output']>;
320
+ email?: Maybe<Scalars['String']['output']>;
321
+ id?: Maybe<Scalars['ID']['output']>;
322
+ };
323
+ export type CustomersInput = {
324
+ customername?: InputMaybe<Scalars['String']['input']>;
325
+ email?: InputMaybe<Scalars['String']['input']>;
326
+ };
317
327
  export type DbInput = {
318
328
  appType?: InputMaybe<Scalars['String']['input']>;
319
329
  collection?: InputMaybe<Scalars['String']['input']>;
@@ -591,6 +601,34 @@ export type EditManyDepartmentsInput = {
591
601
  data?: InputMaybe<DepartmentsInput>;
592
602
  id?: InputMaybe<Scalars['ID']['input']>;
593
603
  };
604
+ export type EditManyPartsInput = {
605
+ PMAfterShots?: InputMaybe<Scalars['Int']['input']>;
606
+ allowedMachines?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
607
+ cavities?: InputMaybe<Scalars['Int']['input']>;
608
+ customerName?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
609
+ historyOfPart?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
610
+ id?: InputMaybe<Scalars['ID']['input']>;
611
+ issuesCount?: InputMaybe<Scalars['Int']['input']>;
612
+ lastPartPM?: InputMaybe<Scalars['String']['input']>;
613
+ lifeOfShots?: InputMaybe<Scalars['String']['input']>;
614
+ manufacturingDate?: InputMaybe<Scalars['String']['input']>;
615
+ maxShotsLimit?: InputMaybe<Scalars['String']['input']>;
616
+ meanTimeBetweenFailure?: InputMaybe<Scalars['String']['input']>;
617
+ meanTimeToRepair?: InputMaybe<Scalars['String']['input']>;
618
+ nextPartPM?: InputMaybe<Scalars['String']['input']>;
619
+ openingShots?: InputMaybe<Scalars['Int']['input']>;
620
+ partBarCode?: InputMaybe<Scalars['String']['input']>;
621
+ partCondition?: InputMaybe<Scalars['String']['input']>;
622
+ partNo?: InputMaybe<Scalars['Int']['input']>;
623
+ partStatus?: InputMaybe<Scalars['String']['input']>;
624
+ partStatusChangedTime?: InputMaybe<Scalars['String']['input']>;
625
+ partname?: InputMaybe<Scalars['String']['input']>;
626
+ totalRepairCost?: InputMaybe<Scalars['Int']['input']>;
627
+ totalRepairingHours?: InputMaybe<Scalars['String']['input']>;
628
+ totalShots?: InputMaybe<Scalars['Int']['input']>;
629
+ totalWorkingHours?: InputMaybe<Scalars['String']['input']>;
630
+ workorderCreatedCount?: InputMaybe<Scalars['Int']['input']>;
631
+ };
594
632
  export type EndKwHForDevice = {
595
633
  __typename?: 'EndKwHForDevice';
596
634
  EndKwH?: Maybe<Array<Maybe<Scalars['Float']['output']>>>;
@@ -1035,6 +1073,15 @@ export type LastMessagesFromMqttInput = {
1035
1073
  deviceIds?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>>>;
1036
1074
  filter?: InputMaybe<Scalars['String']['input']>;
1037
1075
  };
1076
+ export type ListOfSparesUsed = {
1077
+ __typename?: 'ListOfSparesUsed';
1078
+ cost?: Maybe<Scalars['String']['output']>;
1079
+ spareName?: Maybe<Scalars['String']['output']>;
1080
+ };
1081
+ export type ListOfSparesUsedInput = {
1082
+ cost?: InputMaybe<Scalars['String']['input']>;
1083
+ spareName?: InputMaybe<Scalars['String']['input']>;
1084
+ };
1038
1085
  export type LiveCurrentForPeriod = {
1039
1086
  __typename?: 'LiveCurrentForPeriod';
1040
1087
  deviceName?: Maybe<Scalars['String']['output']>;
@@ -1102,15 +1149,49 @@ export type LoginSuccessResponse = {
1102
1149
  __typename?: 'LoginSuccessResponse';
1103
1150
  companyId?: Maybe<Scalars['ID']['output']>;
1104
1151
  companyInfo?: Maybe<CompanyInfo>;
1152
+ dob?: Maybe<Scalars['String']['output']>;
1105
1153
  email?: Maybe<Scalars['EmailAddress']['output']>;
1106
1154
  firstName?: Maybe<Scalars['String']['output']>;
1107
1155
  id?: Maybe<Scalars['ID']['output']>;
1108
1156
  image?: Maybe<Scalars['String']['output']>;
1109
1157
  lastName?: Maybe<Scalars['String']['output']>;
1110
1158
  phone?: Maybe<Scalars['PhoneNumber']['output']>;
1159
+ profileImage?: Maybe<Scalars['String']['output']>;
1160
+ status?: Maybe<Scalars['String']['output']>;
1111
1161
  userType?: Maybe<Scalars['String']['output']>;
1112
1162
  };
1113
1163
  export type LoginUserResponse = GeneralResponse | LoginResponse;
1164
+ export type Machines = {
1165
+ __typename?: 'Machines';
1166
+ currentRunningParts?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
1167
+ id?: Maybe<Scalars['ID']['output']>;
1168
+ importedDate?: Maybe<Scalars['String']['output']>;
1169
+ lastPM?: Maybe<Scalars['String']['output']>;
1170
+ machineName?: Maybe<Scalars['String']['output']>;
1171
+ machineNo?: Maybe<Scalars['String']['output']>;
1172
+ nextPM?: Maybe<Scalars['String']['output']>;
1173
+ tonnage?: Maybe<Scalars['String']['output']>;
1174
+ };
1175
+ export type MachinesInput = {
1176
+ currentRunningParts?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
1177
+ importedDate?: InputMaybe<Scalars['String']['input']>;
1178
+ lastPM?: InputMaybe<Scalars['String']['input']>;
1179
+ machineName?: InputMaybe<Scalars['String']['input']>;
1180
+ machineNo?: InputMaybe<Scalars['String']['input']>;
1181
+ nextPM?: InputMaybe<Scalars['String']['input']>;
1182
+ tonnage?: InputMaybe<Scalars['String']['input']>;
1183
+ };
1184
+ export type MachinesResponse = {
1185
+ __typename?: 'MachinesResponse';
1186
+ currentRunningParts?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
1187
+ id?: Maybe<Scalars['ID']['output']>;
1188
+ importedDate?: Maybe<Scalars['String']['output']>;
1189
+ lastPM?: Maybe<Scalars['String']['output']>;
1190
+ machineName?: Maybe<Scalars['String']['output']>;
1191
+ machineNo?: Maybe<Scalars['String']['output']>;
1192
+ nextPM?: Maybe<Scalars['String']['output']>;
1193
+ tonnage?: Maybe<Scalars['String']['output']>;
1194
+ };
1114
1195
  export type MaterialOrderHistory = {
1115
1196
  __typename?: 'MaterialOrderHistory';
1116
1197
  description?: Maybe<Scalars['String']['output']>;
@@ -1173,6 +1254,8 @@ export type MqttConnectionConfig = {
1173
1254
  };
1174
1255
  export type Mutation = {
1175
1256
  __typename?: 'Mutation';
1257
+ addAllNewStorage?: Maybe<GeneralResponse>;
1258
+ addAllNewUiCustomNames?: Maybe<GeneralResponse>;
1176
1259
  addBilling?: Maybe<BillingResponse>;
1177
1260
  addInventoryBasicTable?: Maybe<GeneralResponse>;
1178
1261
  addInventoryColumn?: Maybe<GeneralResponse>;
@@ -1193,7 +1276,15 @@ export type Mutation = {
1193
1276
  addManyInventorySubCategoryTableFor?: Maybe<GeneralResponse>;
1194
1277
  addManyInventoryTableFor?: Maybe<GeneralResponse>;
1195
1278
  addManyInventoryWorkSchedule?: Maybe<GeneralResponse>;
1279
+ addNewCustomer?: Maybe<GeneralResponse>;
1196
1280
  addNewDepartment?: Maybe<DepartmentResponse>;
1281
+ addNewMachine?: Maybe<MachinesResponse>;
1282
+ addNewPart?: Maybe<GeneralResponse>;
1283
+ addNewReasonForUnload?: Maybe<GeneralResponse>;
1284
+ addNewStatusForWorkOrderTable?: Maybe<GeneralResponse>;
1285
+ addNewStorage?: Maybe<GeneralResponse>;
1286
+ addNewTool?: Maybe<GeneralResponse>;
1287
+ addNewUiCustomName?: Maybe<GeneralResponse>;
1197
1288
  addPurchaseOrder?: Maybe<PurchaseOrderResponse>;
1198
1289
  addSubCategoryItemInInward?: Maybe<InwardResponse>;
1199
1290
  addSubCategoryItemInOutward?: Maybe<OutwardResponse>;
@@ -1211,6 +1302,7 @@ export type Mutation = {
1211
1302
  createNguUser?: Maybe<GeneralResponse>;
1212
1303
  createProject?: Maybe<InventoryCreateProjectResponse>;
1213
1304
  createUser?: Maybe<CreateUserResponse>;
1305
+ deleteCustomer?: Maybe<GeneralResponse>;
1214
1306
  deleteDB?: Maybe<GeneralResponse>;
1215
1307
  deleteDepartment?: Maybe<GeneralResponse>;
1216
1308
  deleteDevice?: Maybe<GeneralResponse>;
@@ -1229,11 +1321,17 @@ export type Mutation = {
1229
1321
  deleteInventorySupplier?: Maybe<GeneralResponse>;
1230
1322
  deleteInventoryTableFor?: Maybe<GeneralResponse>;
1231
1323
  deleteInventoryWorkSchedule?: Maybe<GeneralResponse>;
1324
+ deleteMachine?: Maybe<MachinesResponse>;
1232
1325
  deleteManyInventoryWorkSchedule?: Maybe<GeneralResponse>;
1233
1326
  deleteNguDevice?: Maybe<GeneralResponse>;
1327
+ deletePart?: Maybe<GeneralResponse>;
1328
+ deleteReasonForUnload?: Maybe<GeneralResponse>;
1329
+ deleteStorage?: Maybe<GeneralResponse>;
1330
+ deleteTool?: Maybe<GeneralResponse>;
1234
1331
  deleteUser?: Maybe<GeneralResponse>;
1235
1332
  deleteUserSession?: Maybe<GeneralResponse>;
1236
1333
  editBilling?: Maybe<GeneralResponse>;
1334
+ editCustomer?: Maybe<GeneralResponse>;
1237
1335
  editDepartment?: Maybe<GeneralResponse>;
1238
1336
  editInventoryBasicTable?: Maybe<GeneralResponse>;
1239
1337
  editInventoryColumn?: Maybe<GeneralResponse>;
@@ -1248,12 +1346,19 @@ export type Mutation = {
1248
1346
  editInventorySupplier?: Maybe<GeneralResponse>;
1249
1347
  editInventoryTableFor?: Maybe<GeneralResponse>;
1250
1348
  editInventoryWorkSchedule?: Maybe<GeneralResponse>;
1349
+ editMachine?: Maybe<MachinesResponse>;
1251
1350
  editManyDepartments?: Maybe<GeneralResponse>;
1252
1351
  editManyInventorySubCategoryTableFor?: Maybe<GeneralResponse>;
1253
1352
  editManyInventoryTableFor?: Maybe<GeneralResponse>;
1254
1353
  editManyInventoryWorkSchedule?: Maybe<GeneralResponse>;
1354
+ editManyParts?: Maybe<GeneralResponse>;
1355
+ editPart?: Maybe<GeneralResponse>;
1255
1356
  editProject?: Maybe<GeneralResponse>;
1256
1357
  editPurchaseOrder?: Maybe<GeneralResponse>;
1358
+ editReasonForUnload?: Maybe<GeneralResponse>;
1359
+ editStorage?: Maybe<GeneralResponse>;
1360
+ editTool?: Maybe<GeneralResponse>;
1361
+ editUiCustomName?: Maybe<GeneralResponse>;
1257
1362
  forgotPassword?: Maybe<LoginUserResponse>;
1258
1363
  generateReport?: Maybe<Array<Maybe<ReportResponse>>>;
1259
1364
  moveItemToScrap?: Maybe<GeneralResponse>;
@@ -1286,6 +1391,12 @@ export type Mutation = {
1286
1391
  verifyLogin?: Maybe<LoginUserResponse>;
1287
1392
  verifyLogout?: Maybe<GeneralResponse>;
1288
1393
  };
1394
+ export type MutationAddAllNewStorageArgs = {
1395
+ data?: InputMaybe<Array<InputMaybe<StorageInput>>>;
1396
+ };
1397
+ export type MutationAddAllNewUiCustomNamesArgs = {
1398
+ data?: InputMaybe<Array<InputMaybe<UiCustomNamesInput>>>;
1399
+ };
1289
1400
  export type MutationAddBillingArgs = {
1290
1401
  data?: InputMaybe<BillingInput>;
1291
1402
  };
@@ -1354,9 +1465,33 @@ export type MutationAddManyInventoryTableForArgs = {
1354
1465
  export type MutationAddManyInventoryWorkScheduleArgs = {
1355
1466
  data?: InputMaybe<Array<InputMaybe<Scalars['JSON']['input']>>>;
1356
1467
  };
1468
+ export type MutationAddNewCustomerArgs = {
1469
+ data?: InputMaybe<CustomersInput>;
1470
+ };
1357
1471
  export type MutationAddNewDepartmentArgs = {
1358
1472
  data?: InputMaybe<DepartmentsInput>;
1359
1473
  };
1474
+ export type MutationAddNewMachineArgs = {
1475
+ data?: InputMaybe<MachinesInput>;
1476
+ };
1477
+ export type MutationAddNewPartArgs = {
1478
+ data?: InputMaybe<PartInput>;
1479
+ };
1480
+ export type MutationAddNewReasonForUnloadArgs = {
1481
+ data?: InputMaybe<ReasonForUnloadInput>;
1482
+ };
1483
+ export type MutationAddNewStatusForWorkOrderTableArgs = {
1484
+ data?: InputMaybe<StatusForWorkOrderTableInput>;
1485
+ };
1486
+ export type MutationAddNewStorageArgs = {
1487
+ data?: InputMaybe<StorageInput>;
1488
+ };
1489
+ export type MutationAddNewToolArgs = {
1490
+ data?: InputMaybe<ToolRoomInput>;
1491
+ };
1492
+ export type MutationAddNewUiCustomNameArgs = {
1493
+ data?: InputMaybe<UiCustomNamesInput>;
1494
+ };
1360
1495
  export type MutationAddPurchaseOrderArgs = {
1361
1496
  data?: InputMaybe<Scalars['JSON']['input']>;
1362
1497
  };
@@ -1416,6 +1551,9 @@ export type MutationCreateProjectArgs = {
1416
1551
  export type MutationCreateUserArgs = {
1417
1552
  data?: InputMaybe<UserInput>;
1418
1553
  };
1554
+ export type MutationDeleteCustomerArgs = {
1555
+ id: Scalars['ID']['input'];
1556
+ };
1419
1557
  export type MutationDeleteDbArgs = {
1420
1558
  data?: InputMaybe<DbInput>;
1421
1559
  };
@@ -1473,12 +1611,27 @@ export type MutationDeleteInventoryTableForArgs = {
1473
1611
  export type MutationDeleteInventoryWorkScheduleArgs = {
1474
1612
  id: Scalars['ID']['input'];
1475
1613
  };
1614
+ export type MutationDeleteMachineArgs = {
1615
+ id: Scalars['ID']['input'];
1616
+ };
1476
1617
  export type MutationDeleteManyInventoryWorkScheduleArgs = {
1477
1618
  ids?: InputMaybe<Array<Scalars['ID']['input']>>;
1478
1619
  };
1479
1620
  export type MutationDeleteNguDeviceArgs = {
1480
1621
  id: Scalars['ID']['input'];
1481
1622
  };
1623
+ export type MutationDeletePartArgs = {
1624
+ id: Scalars['ID']['input'];
1625
+ };
1626
+ export type MutationDeleteReasonForUnloadArgs = {
1627
+ id: Scalars['ID']['input'];
1628
+ };
1629
+ export type MutationDeleteStorageArgs = {
1630
+ id: Scalars['ID']['input'];
1631
+ };
1632
+ export type MutationDeleteToolArgs = {
1633
+ id: Scalars['ID']['input'];
1634
+ };
1482
1635
  export type MutationDeleteUserArgs = {
1483
1636
  id: Scalars['ID']['input'];
1484
1637
  };
@@ -1489,6 +1642,10 @@ export type MutationEditBillingArgs = {
1489
1642
  data?: InputMaybe<BillingInput>;
1490
1643
  id: Scalars['ID']['input'];
1491
1644
  };
1645
+ export type MutationEditCustomerArgs = {
1646
+ data?: InputMaybe<CustomersInput>;
1647
+ id: Scalars['ID']['input'];
1648
+ };
1492
1649
  export type MutationEditDepartmentArgs = {
1493
1650
  data?: InputMaybe<DepartmentsInput>;
1494
1651
  id: Scalars['ID']['input'];
@@ -1548,6 +1705,10 @@ export type MutationEditInventoryWorkScheduleArgs = {
1548
1705
  data?: InputMaybe<Scalars['JSON']['input']>;
1549
1706
  id: Scalars['ID']['input'];
1550
1707
  };
1708
+ export type MutationEditMachineArgs = {
1709
+ data?: InputMaybe<MachinesInput>;
1710
+ id: Scalars['ID']['input'];
1711
+ };
1551
1712
  export type MutationEditManyDepartmentsArgs = {
1552
1713
  data?: InputMaybe<Array<InputMaybe<EditManyDepartmentsInput>>>;
1553
1714
  };
@@ -1560,6 +1721,13 @@ export type MutationEditManyInventoryTableForArgs = {
1560
1721
  export type MutationEditManyInventoryWorkScheduleArgs = {
1561
1722
  data?: InputMaybe<Array<InputMaybe<Scalars['JSON']['input']>>>;
1562
1723
  };
1724
+ export type MutationEditManyPartsArgs = {
1725
+ data?: InputMaybe<Array<InputMaybe<EditManyPartsInput>>>;
1726
+ };
1727
+ export type MutationEditPartArgs = {
1728
+ data?: InputMaybe<PartInput>;
1729
+ id: Scalars['ID']['input'];
1730
+ };
1563
1731
  export type MutationEditProjectArgs = {
1564
1732
  data?: InputMaybe<Scalars['JSON']['input']>;
1565
1733
  id: Scalars['ID']['input'];
@@ -1568,6 +1736,22 @@ export type MutationEditPurchaseOrderArgs = {
1568
1736
  data?: InputMaybe<Scalars['JSON']['input']>;
1569
1737
  id: Scalars['ID']['input'];
1570
1738
  };
1739
+ export type MutationEditReasonForUnloadArgs = {
1740
+ data?: InputMaybe<ReasonForUnloadInput>;
1741
+ id: Scalars['ID']['input'];
1742
+ };
1743
+ export type MutationEditStorageArgs = {
1744
+ data?: InputMaybe<StorageInput>;
1745
+ id: Scalars['ID']['input'];
1746
+ };
1747
+ export type MutationEditToolArgs = {
1748
+ data?: InputMaybe<ToolRoomInput>;
1749
+ id: Scalars['ID']['input'];
1750
+ };
1751
+ export type MutationEditUiCustomNameArgs = {
1752
+ data?: InputMaybe<UiCustomNamesInput>;
1753
+ id: Scalars['ID']['input'];
1754
+ };
1571
1755
  export type MutationForgotPasswordArgs = {
1572
1756
  data?: InputMaybe<ForgotInput>;
1573
1757
  };
@@ -1888,6 +2072,73 @@ export type OfferResponse = {
1888
2072
  status?: Maybe<Scalars['String']['output']>;
1889
2073
  };
1890
2074
  export type OutwardResponse = GeneralResponse | InventoryOutwardResponse;
2075
+ export type Part = {
2076
+ __typename?: 'Part';
2077
+ PMAfterShots?: Maybe<Scalars['Int']['output']>;
2078
+ allowedMachines?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
2079
+ cavities?: Maybe<Scalars['Int']['output']>;
2080
+ customerName?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
2081
+ historyOfPart?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
2082
+ id?: Maybe<Scalars['ID']['output']>;
2083
+ issuesCount?: Maybe<Scalars['Int']['output']>;
2084
+ lastPartPM?: Maybe<Scalars['String']['output']>;
2085
+ lifeOfShots?: Maybe<Scalars['String']['output']>;
2086
+ manufacturingDate?: Maybe<Scalars['String']['output']>;
2087
+ maxShotsLimit?: Maybe<Scalars['String']['output']>;
2088
+ meanTimeBetweenFailure?: Maybe<Scalars['String']['output']>;
2089
+ meanTimeToRepair?: Maybe<Scalars['String']['output']>;
2090
+ nextPartPM?: Maybe<Scalars['String']['output']>;
2091
+ openingShots?: Maybe<Scalars['Int']['output']>;
2092
+ partBarCode?: Maybe<Scalars['String']['output']>;
2093
+ partCondition?: Maybe<Scalars['String']['output']>;
2094
+ partNo?: Maybe<Scalars['Int']['output']>;
2095
+ partStatus?: Maybe<Scalars['String']['output']>;
2096
+ partStatusChangedTime?: Maybe<Scalars['String']['output']>;
2097
+ partname?: Maybe<Scalars['String']['output']>;
2098
+ totalRepairCost?: Maybe<Scalars['Int']['output']>;
2099
+ totalRepairingHours?: Maybe<Scalars['String']['output']>;
2100
+ totalShots?: Maybe<Scalars['Int']['output']>;
2101
+ totalWorkingHours?: Maybe<Scalars['String']['output']>;
2102
+ workorderCreatedCount?: Maybe<Scalars['Int']['output']>;
2103
+ };
2104
+ export type PartInput = {
2105
+ PMAfterShots?: InputMaybe<Scalars['Int']['input']>;
2106
+ allowedMachines?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
2107
+ cavities?: InputMaybe<Scalars['Int']['input']>;
2108
+ customerName?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
2109
+ historyOfPart?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
2110
+ issuesCount?: InputMaybe<Scalars['Int']['input']>;
2111
+ lastPartPM?: InputMaybe<Scalars['String']['input']>;
2112
+ lifeOfShots?: InputMaybe<Scalars['String']['input']>;
2113
+ manufacturingDate?: InputMaybe<Scalars['String']['input']>;
2114
+ maxShotsLimit?: InputMaybe<Scalars['String']['input']>;
2115
+ meanTimeBetweenFailure?: InputMaybe<Scalars['String']['input']>;
2116
+ meanTimeToRepair?: InputMaybe<Scalars['String']['input']>;
2117
+ nextPartPM?: InputMaybe<Scalars['String']['input']>;
2118
+ openingShots?: InputMaybe<Scalars['Int']['input']>;
2119
+ partBarCode?: InputMaybe<Scalars['String']['input']>;
2120
+ partCondition?: InputMaybe<Scalars['String']['input']>;
2121
+ partNo?: InputMaybe<Scalars['Int']['input']>;
2122
+ partStatus?: InputMaybe<Scalars['String']['input']>;
2123
+ partStatusChangedTime?: InputMaybe<Scalars['String']['input']>;
2124
+ partname?: InputMaybe<Scalars['String']['input']>;
2125
+ totalRepairCost?: InputMaybe<Scalars['Int']['input']>;
2126
+ totalRepairingHours?: InputMaybe<Scalars['String']['input']>;
2127
+ totalShots?: InputMaybe<Scalars['Int']['input']>;
2128
+ totalWorkingHours?: InputMaybe<Scalars['String']['input']>;
2129
+ workorderCreatedCount?: InputMaybe<Scalars['Int']['input']>;
2130
+ };
2131
+ export type PartStoredLocation = {
2132
+ __typename?: 'PartStoredLocation';
2133
+ location?: Maybe<Scalars['String']['output']>;
2134
+ partName?: Maybe<Scalars['String']['output']>;
2135
+ storageName?: Maybe<Scalars['String']['output']>;
2136
+ };
2137
+ export type PartStoredLocationInput = {
2138
+ location?: InputMaybe<Scalars['String']['input']>;
2139
+ partName?: InputMaybe<Scalars['String']['input']>;
2140
+ storageName?: InputMaybe<Scalars['String']['input']>;
2141
+ };
1891
2142
  export type PasswordInput = {
1892
2143
  confirmPassword?: InputMaybe<Scalars['String']['input']>;
1893
2144
  oldPassword?: InputMaybe<Scalars['String']['input']>;
@@ -1957,10 +2208,12 @@ export type Query = {
1957
2208
  fetchAlerts?: Maybe<Array<Maybe<Alerts>>>;
1958
2209
  fetchAllInventorySubCategoryTableItems?: Maybe<AllInventoryTableItems>;
1959
2210
  fetchAllInventoryTableItems?: Maybe<AllInventoryTableItems>;
2211
+ fetchAllUsers?: Maybe<Array<Maybe<User>>>;
1960
2212
  fetchBasicSettings?: Maybe<BasicSettings>;
1961
2213
  fetchBillings?: Maybe<Array<Maybe<Billing>>>;
1962
2214
  fetchCompanyById?: Maybe<Company>;
1963
2215
  fetchCompanyList?: Maybe<Array<Maybe<Company>>>;
2216
+ fetchCustomers?: Maybe<Array<Maybe<Customers>>>;
1964
2217
  fetchDB?: Maybe<DbType>;
1965
2218
  fetchDashboardData?: Maybe<DashboardData>;
1966
2219
  fetchDataFromInwardOrOutward?: Maybe<InwardOrOutWardData>;
@@ -2019,6 +2272,7 @@ export type Query = {
2019
2272
  fetchLoadMapPageData?: Maybe<LoadMapPageData>;
2020
2273
  fetchLocationMapPageData?: Maybe<LocationMapPageData>;
2021
2274
  fetchLocations?: Maybe<Array<Maybe<Locations>>>;
2275
+ fetchMachines?: Maybe<Array<Maybe<Machines>>>;
2022
2276
  fetchMonthlyReport?: Maybe<Array<Maybe<TempDataTable>>>;
2023
2277
  fetchMonthlyReportByDeviceId?: Maybe<TempDataTable>;
2024
2278
  fetchMonthlyUtilizationDashboard?: Maybe<MonthlyUtilizationDashboard>;
@@ -2038,14 +2292,20 @@ export type Query = {
2038
2292
  fetchNguUserList?: Maybe<Array<Maybe<NguUser>>>;
2039
2293
  fetchNguUsers?: Maybe<Array<Maybe<NguUser>>>;
2040
2294
  fetchOffTimeByDeviceId?: Maybe<Array<Maybe<OffTimeReport>>>;
2295
+ fetchPartTable?: Maybe<Array<Maybe<Part>>>;
2041
2296
  fetchPowerConsumption?: Maybe<Array<Maybe<PowerConsumption>>>;
2042
2297
  fetchPowerConsumptionPageData?: Maybe<PowerConsumptionPageData>;
2043
2298
  fetchProjects?: Maybe<ProjectType>;
2044
2299
  fetchPurchaseOrders?: Maybe<Array<Maybe<PurchaseOrder>>>;
2300
+ fetchReasonForUnload?: Maybe<Array<Maybe<ReasonForUnload>>>;
2045
2301
  fetchSettingsPageData?: Maybe<SettingsPageData>;
2302
+ fetchStatusForWorkOrderTable?: Maybe<Array<Maybe<StatusForWorkOrderTable>>>;
2303
+ fetchStorage?: Maybe<Array<Maybe<Storage>>>;
2046
2304
  fetchTempDataTable?: Maybe<Array<Maybe<TempDataTable>>>;
2047
2305
  fetchTempDataTableByDeviceId?: Maybe<TempDataTable>;
2048
2306
  fetchTimelineChartPageData?: Maybe<TimelineChartPageData>;
2307
+ fetchToolRoom?: Maybe<Array<Maybe<ToolRoom>>>;
2308
+ fetchUiCustomNames?: Maybe<Array<Maybe<UiCustomNames>>>;
2049
2309
  fetchUserById?: Maybe<User>;
2050
2310
  fetchUserList?: Maybe<Array<Maybe<User>>>;
2051
2311
  fetchUserSession?: Maybe<Array<Maybe<UserSession>>>;
@@ -2291,6 +2551,14 @@ export type QueryFetchUserListArgs = {
2291
2551
  export type QueryFetchUserSessionArgs = {
2292
2552
  queryData?: InputMaybe<UserSessionInput>;
2293
2553
  };
2554
+ export type ReasonForUnload = {
2555
+ __typename?: 'ReasonForUnload';
2556
+ id?: Maybe<Scalars['ID']['output']>;
2557
+ reason?: Maybe<Scalars['String']['output']>;
2558
+ };
2559
+ export type ReasonForUnloadInput = {
2560
+ reason?: InputMaybe<Scalars['String']['input']>;
2561
+ };
2294
2562
  export type RegisterConfig = {
2295
2563
  __typename?: 'RegisterConfig';
2296
2564
  dbName?: Maybe<Scalars['String']['output']>;
@@ -2348,9 +2616,32 @@ export type SettingsPageData = {
2348
2616
  superadmin?: Maybe<User>;
2349
2617
  users?: Maybe<Array<Maybe<User>>>;
2350
2618
  };
2619
+ export type StatusForWorkOrderTable = {
2620
+ __typename?: 'StatusForWorkOrderTable';
2621
+ id?: Maybe<Scalars['Int']['output']>;
2622
+ statusLabel?: Maybe<Scalars['String']['output']>;
2623
+ };
2624
+ export type StatusForWorkOrderTableInput = {
2625
+ id?: InputMaybe<Scalars['Int']['input']>;
2626
+ statusLabel?: InputMaybe<Scalars['String']['input']>;
2627
+ };
2351
2628
  export type StatusInput = {
2352
2629
  status?: InputMaybe<Scalars['String']['input']>;
2353
2630
  };
2631
+ export type Storage = {
2632
+ __typename?: 'Storage';
2633
+ currentPartId?: Maybe<Scalars['String']['output']>;
2634
+ id?: Maybe<Scalars['ID']['output']>;
2635
+ isAvailable?: Maybe<Scalars['Boolean']['output']>;
2636
+ storageLocationNo?: Maybe<Scalars['Int']['output']>;
2637
+ storageName?: Maybe<Scalars['String']['output']>;
2638
+ };
2639
+ export type StorageInput = {
2640
+ currentPartId?: InputMaybe<Scalars['String']['input']>;
2641
+ isAvailable?: InputMaybe<Scalars['Boolean']['input']>;
2642
+ storageLocationNo?: InputMaybe<Scalars['Int']['input']>;
2643
+ storageName?: InputMaybe<Scalars['String']['input']>;
2644
+ };
2354
2645
  export type TempDataAlert = {
2355
2646
  __typename?: 'TempDataAlert';
2356
2647
  count?: Maybe<Scalars['Int']['output']>;
@@ -2380,6 +2671,15 @@ export type TempDataTable = {
2380
2671
  startKWH?: Maybe<Scalars['Float']['output']>;
2381
2672
  status?: Maybe<Scalars['String']['output']>;
2382
2673
  };
2674
+ export type TimeRecord = {
2675
+ __typename?: 'TimeRecord';
2676
+ end?: Maybe<Scalars['String']['output']>;
2677
+ start?: Maybe<Scalars['String']['output']>;
2678
+ };
2679
+ export type TimeRecordInput = {
2680
+ end?: InputMaybe<Scalars['String']['input']>;
2681
+ start?: InputMaybe<Scalars['String']['input']>;
2682
+ };
2383
2683
  export type TimeValueInput = {
2384
2684
  status?: InputMaybe<Scalars['Boolean']['input']>;
2385
2685
  time?: InputMaybe<Scalars['String']['input']>;
@@ -2394,6 +2694,132 @@ export type TimelineChartPageDataFetchInput = {
2394
2694
  devicesAlert?: InputMaybe<HourlyAlertReportInput>;
2395
2695
  devicesHourlyPowerConsumption?: InputMaybe<PowerConsumptionFetchInput>;
2396
2696
  };
2697
+ export type ToolRoom = {
2698
+ __typename?: 'ToolRoom';
2699
+ aborted?: Maybe<Scalars['Boolean']['output']>;
2700
+ acceptedQty?: Maybe<Scalars['Int']['output']>;
2701
+ actionTaken?: Maybe<Scalars['String']['output']>;
2702
+ avgMeanTimeBetweenFailure?: Maybe<Scalars['String']['output']>;
2703
+ createdDate?: Maybe<Scalars['String']['output']>;
2704
+ deliverToWhichMachine?: Maybe<Scalars['String']['output']>;
2705
+ descriptionofworkrequest?: Maybe<Scalars['String']['output']>;
2706
+ estimatedDeliveryDate?: Maybe<Scalars['Date']['output']>;
2707
+ feasibleDateToWorkCompletion?: Maybe<Scalars['Date']['output']>;
2708
+ id?: Maybe<Scalars['ID']['output']>;
2709
+ lastUpdated?: Maybe<Scalars['String']['output']>;
2710
+ listOfSparesUsed?: Maybe<Array<Maybe<ListOfSparesUsed>>>;
2711
+ moldLoadedDate?: Maybe<Scalars['String']['output']>;
2712
+ moldUnloadedBy?: Maybe<Scalars['String']['output']>;
2713
+ moldUnloadedDate?: Maybe<Scalars['String']['output']>;
2714
+ partStoredLocation?: Maybe<PartStoredLocation>;
2715
+ partname?: Maybe<Scalars['String']['output']>;
2716
+ pm?: Maybe<Scalars['Boolean']['output']>;
2717
+ postQualityApprovalComments?: Maybe<Scalars['String']['output']>;
2718
+ postQualityApprovedBy?: Maybe<Scalars['String']['output']>;
2719
+ preQualityApprovalComments?: Maybe<Scalars['String']['output']>;
2720
+ preQualityApprovedBy?: Maybe<Scalars['String']['output']>;
2721
+ problemInformedBy?: Maybe<Scalars['String']['output']>;
2722
+ productionApprovedBy?: Maybe<Scalars['String']['output']>;
2723
+ productionapprovalcomments?: Maybe<Scalars['String']['output']>;
2724
+ readyToDispatch?: Maybe<Scalars['String']['output']>;
2725
+ reasonforunload?: Maybe<Scalars['String']['output']>;
2726
+ rejectedQty?: Maybe<Scalars['Int']['output']>;
2727
+ remarks?: Maybe<Scalars['String']['output']>;
2728
+ repairingCost?: Maybe<Scalars['String']['output']>;
2729
+ shift?: Maybe<Scalars['String']['output']>;
2730
+ shotcount?: Maybe<Scalars['Int']['output']>;
2731
+ status?: Maybe<Scalars['String']['output']>;
2732
+ toolCompletionComments?: Maybe<Scalars['String']['output']>;
2733
+ toolDeliveredDate?: Maybe<Scalars['String']['output']>;
2734
+ toolDeliveredTo?: Maybe<Scalars['String']['output']>;
2735
+ toolDeliveryComments?: Maybe<Scalars['String']['output']>;
2736
+ toolDispatchDate?: Maybe<Scalars['Date']['output']>;
2737
+ toolRecievedBy?: Maybe<Scalars['String']['output']>;
2738
+ toolRecievedReportedBy?: Maybe<Scalars['String']['output']>;
2739
+ toolRecievedStatus?: Maybe<Scalars['String']['output']>;
2740
+ toolRecievingComments?: Maybe<Scalars['String']['output']>;
2741
+ toolRequiredDate?: Maybe<Scalars['Date']['output']>;
2742
+ toolStatus?: Maybe<Scalars['String']['output']>;
2743
+ toolWorkDifficulty?: Maybe<Scalars['String']['output']>;
2744
+ totalTimeTakenToCompleteRepairWork?: Maybe<Array<Maybe<TimeRecord>>>;
2745
+ totalWorkingHoursOfaToolOrPart?: Maybe<Scalars['String']['output']>;
2746
+ unloadingCheckPoints?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
2747
+ workCompletionDate?: Maybe<Scalars['String']['output']>;
2748
+ workCompletionReportedBy?: Maybe<Scalars['String']['output']>;
2749
+ workOrderCreatedBy?: Maybe<Scalars['String']['output']>;
2750
+ workOrderRecievedBy?: Maybe<Scalars['String']['output']>;
2751
+ workRequestedBy?: Maybe<Scalars['String']['output']>;
2752
+ workorderid?: Maybe<Scalars['String']['output']>;
2753
+ workorderstage?: Maybe<Scalars['String']['output']>;
2754
+ };
2755
+ export type ToolRoomInput = {
2756
+ aborted?: InputMaybe<Scalars['Boolean']['input']>;
2757
+ acceptedQty?: InputMaybe<Scalars['Int']['input']>;
2758
+ actionTaken?: InputMaybe<Scalars['String']['input']>;
2759
+ avgMeanTimeBetweenFailure?: InputMaybe<Scalars['String']['input']>;
2760
+ createdDate?: InputMaybe<Scalars['String']['input']>;
2761
+ deliverToWhichMachine?: InputMaybe<Scalars['String']['input']>;
2762
+ descriptionofworkrequest?: InputMaybe<Scalars['String']['input']>;
2763
+ estimatedDeliveryDate?: InputMaybe<Scalars['Date']['input']>;
2764
+ feasibleDateToWorkCompletion?: InputMaybe<Scalars['Date']['input']>;
2765
+ lastUpdated?: InputMaybe<Scalars['String']['input']>;
2766
+ listOfSparesUsed?: InputMaybe<Array<InputMaybe<ListOfSparesUsedInput>>>;
2767
+ moldLoadedDate?: InputMaybe<Scalars['String']['input']>;
2768
+ moldUnloadedBy?: InputMaybe<Scalars['String']['input']>;
2769
+ moldUnloadedDate?: InputMaybe<Scalars['String']['input']>;
2770
+ partStoredLocation?: InputMaybe<PartStoredLocationInput>;
2771
+ partname?: InputMaybe<Scalars['String']['input']>;
2772
+ pm?: InputMaybe<Scalars['Boolean']['input']>;
2773
+ postQualityApprovalComments?: InputMaybe<Scalars['String']['input']>;
2774
+ postQualityApprovedBy?: InputMaybe<Scalars['String']['input']>;
2775
+ preQualityApprovalComments?: InputMaybe<Scalars['String']['input']>;
2776
+ preQualityApprovedBy?: InputMaybe<Scalars['String']['input']>;
2777
+ problemInformedBy?: InputMaybe<Scalars['String']['input']>;
2778
+ productionApprovedBy?: InputMaybe<Scalars['String']['input']>;
2779
+ productionapprovalcomments?: InputMaybe<Scalars['String']['input']>;
2780
+ readyToDispatch?: InputMaybe<Scalars['String']['input']>;
2781
+ reasonforunload?: InputMaybe<Scalars['String']['input']>;
2782
+ rejectedQty?: InputMaybe<Scalars['Int']['input']>;
2783
+ remarks?: InputMaybe<Scalars['String']['input']>;
2784
+ repairingCost?: InputMaybe<Scalars['String']['input']>;
2785
+ shift?: InputMaybe<Scalars['String']['input']>;
2786
+ shotcount?: InputMaybe<Scalars['Int']['input']>;
2787
+ status?: InputMaybe<Scalars['String']['input']>;
2788
+ toolCompletionComments?: InputMaybe<Scalars['String']['input']>;
2789
+ toolDeliveredDate?: InputMaybe<Scalars['String']['input']>;
2790
+ toolDeliveredTo?: InputMaybe<Scalars['String']['input']>;
2791
+ toolDeliveryComments?: InputMaybe<Scalars['String']['input']>;
2792
+ toolDispatchDate?: InputMaybe<Scalars['Date']['input']>;
2793
+ toolRecievedBy?: InputMaybe<Scalars['String']['input']>;
2794
+ toolRecievedReportedBy?: InputMaybe<Scalars['String']['input']>;
2795
+ toolRecievedStatus?: InputMaybe<Scalars['String']['input']>;
2796
+ toolRecievingComments?: InputMaybe<Scalars['String']['input']>;
2797
+ toolRequiredDate?: InputMaybe<Scalars['Date']['input']>;
2798
+ toolStatus?: InputMaybe<Scalars['String']['input']>;
2799
+ toolWorkDifficulty?: InputMaybe<Scalars['String']['input']>;
2800
+ totalTimeTakenToCompleteRepairWork?: InputMaybe<Array<InputMaybe<TimeRecordInput>>>;
2801
+ totalWorkingHoursOfaToolOrPart?: InputMaybe<Scalars['String']['input']>;
2802
+ unloadingCheckPoints?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
2803
+ workCompletionDate?: InputMaybe<Scalars['String']['input']>;
2804
+ workCompletionReportedBy?: InputMaybe<Scalars['String']['input']>;
2805
+ workOrderCreatedBy?: InputMaybe<Scalars['String']['input']>;
2806
+ workOrderRecievedBy?: InputMaybe<Scalars['String']['input']>;
2807
+ workRequestedBy?: InputMaybe<Scalars['String']['input']>;
2808
+ workorderid?: InputMaybe<Scalars['String']['input']>;
2809
+ workorderstage?: InputMaybe<Scalars['String']['input']>;
2810
+ };
2811
+ export type UiCustomNames = {
2812
+ __typename?: 'UiCustomNames';
2813
+ customName?: Maybe<Scalars['String']['output']>;
2814
+ dbName?: Maybe<Scalars['String']['output']>;
2815
+ defaultName?: Maybe<Scalars['String']['output']>;
2816
+ id?: Maybe<Scalars['ID']['output']>;
2817
+ };
2818
+ export type UiCustomNamesInput = {
2819
+ customName?: InputMaybe<Scalars['String']['input']>;
2820
+ dbName?: InputMaybe<Scalars['String']['input']>;
2821
+ defaultName?: InputMaybe<Scalars['String']['input']>;
2822
+ };
2397
2823
  export type UpdateDeviceAlertStatusInput = {
2398
2824
  hourId?: InputMaybe<Scalars['Int']['input']>;
2399
2825
  parameter?: InputMaybe<Scalars['String']['input']>;
package/dist/index.d.ts CHANGED
@@ -4,3 +4,4 @@ export * from "./mjtech-ems";
4
4
  export * from "./mjtech-ngu";
5
5
  export * from "./mjtech-eqms";
6
6
  export * from "./mjtech-inventory-tracking";
7
+ export * from "./mjtech-tooldash";
package/dist/index.js CHANGED
@@ -25,3 +25,4 @@ __exportStar(require("./mjtech-ems"), exports);
25
25
  __exportStar(require("./mjtech-ngu"), exports);
26
26
  __exportStar(require("./mjtech-eqms"), exports);
27
27
  __exportStar(require("./mjtech-inventory-tracking"), exports);
28
+ __exportStar(require("./mjtech-tooldash"), exports);
@@ -6,11 +6,13 @@ var mjtech_ngu_1 = require("./mjtech-ngu");
6
6
  var mjtech_ems_1 = require("./mjtech-ems");
7
7
  var mjtech_eqms_1 = require("./mjtech-eqms");
8
8
  var mjtech_inventory_tracking_1 = require("./mjtech-inventory-tracking");
9
+ var mjtech_tooldash_1 = require("./mjtech-tooldash");
9
10
  var typeDefs = (0, merge_1.mergeTypeDefs)([
10
11
  mjtech_ems_1.ems_schema,
11
12
  mjtech_ngu_1.ngu_schema,
12
13
  mjtech_eqms_1.eqms_schema,
13
14
  mjtech_inventory_tracking_1.inventory_tracking_schema,
15
+ mjtech_tooldash_1.toolDash,
14
16
  ]);
15
17
  // Build a GraphQLSchema object
16
18
  var schema = (0, schema_1.makeExecutableSchema)({ typeDefs: typeDefs });