@mjtech-ems/schema 1.3.37 → 1.3.39

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.
@@ -96,6 +96,7 @@ export type ActiveAppsInput = {
96
96
  export type AddInventoryCustomerResponse = GeneralResponse | InventoryCustomerResponse;
97
97
  export type AddInventoryMachineResponse = GeneralResponse | InventoryMachineResponse;
98
98
  export type AddInventoryStorageResponse = GeneralResponse | InventoryStorageResponse;
99
+ export type AddInventorySubCategoryTableForResponse = GeneralResponse | InventorySubCategoryTableForResponse;
99
100
  export type AddInventorySupplierResponse = GeneralResponse | InventorySupplierResponse;
100
101
  export type AddInventoryTableForResponse = GeneralResponse | InventoryTableForResponse;
101
102
  export type AlertEmail = {
@@ -141,6 +142,10 @@ export type AlertsInput = {
141
142
  seen?: InputMaybe<AlertSeenInput>;
142
143
  value?: InputMaybe<Scalars['JSON']['input']>;
143
144
  };
145
+ export type AllInventoryTableItems = {
146
+ __typename?: 'AllInventoryTableItems';
147
+ value?: Maybe<Array<Maybe<Scalars['JSON']['output']>>>;
148
+ };
144
149
  export type AnalyticsInfo = {
145
150
  __typename?: 'AnalyticsInfo';
146
151
  KWh?: Maybe<Scalars['String']['output']>;
@@ -159,12 +164,15 @@ export type AttachmentsInput = {
159
164
  };
160
165
  export type BasicSettings = {
161
166
  __typename?: 'BasicSettings';
167
+ companyId?: Maybe<Scalars['ID']['output']>;
162
168
  costConfig?: Maybe<Array<Maybe<CostConfig>>>;
163
169
  duration?: Maybe<Scalars['String']['output']>;
170
+ id?: Maybe<Scalars['ID']['output']>;
164
171
  readingEndDate?: Maybe<Scalars['Date']['output']>;
165
172
  readingStartDate?: Maybe<Scalars['Date']['output']>;
166
173
  };
167
174
  export type BasicSettingsInput = {
175
+ companyId?: InputMaybe<Scalars['ID']['input']>;
168
176
  costConfig?: InputMaybe<Array<InputMaybe<CostConfigInput>>>;
169
177
  duration?: InputMaybe<Scalars['String']['input']>;
170
178
  readingEndDate?: InputMaybe<Scalars['Date']['input']>;
@@ -173,12 +181,50 @@ export type BasicSettingsInput = {
173
181
  export type Billing = {
174
182
  __typename?: 'Billing';
175
183
  billNumber?: Maybe<Scalars['String']['output']>;
184
+ cgstTotal?: Maybe<Scalars['Float']['output']>;
176
185
  date?: Maybe<Scalars['Date']['output']>;
177
- freight?: Maybe<Scalars['String']['output']>;
186
+ freight?: Maybe<Scalars['Float']['output']>;
187
+ freightGSTPercentage?: Maybe<Scalars['Int']['output']>;
178
188
  givenBy?: Maybe<Scalars['String']['output']>;
179
189
  id?: Maybe<Scalars['ID']['output']>;
190
+ igstTotal?: Maybe<Scalars['Float']['output']>;
191
+ isIGST?: Maybe<Scalars['Boolean']['output']>;
180
192
  items?: Maybe<Array<Maybe<Scalars['JSON']['output']>>>;
193
+ loadingAndUnloadingCharges?: Maybe<Scalars['Float']['output']>;
194
+ otherCharges?: Maybe<Scalars['Float']['output']>;
195
+ otherThanBillExpenses?: Maybe<Scalars['Float']['output']>;
196
+ pf?: Maybe<Scalars['Int']['output']>;
197
+ pfGSTPercentage?: Maybe<Scalars['Int']['output']>;
198
+ roundOff?: Maybe<Scalars['Float']['output']>;
199
+ sgstTotal?: Maybe<Scalars['Float']['output']>;
181
200
  suppliedBy?: Maybe<Scalars['String']['output']>;
201
+ totalBillValue?: Maybe<Scalars['Float']['output']>;
202
+ transportAmount?: Maybe<Scalars['Float']['output']>;
203
+ transportedBy?: Maybe<Scalars['String']['output']>;
204
+ verifiedBy?: Maybe<Scalars['String']['output']>;
205
+ };
206
+ export type BillingInput = {
207
+ billNumber?: InputMaybe<Scalars['String']['input']>;
208
+ cgstTotal?: InputMaybe<Scalars['Float']['input']>;
209
+ date?: InputMaybe<Scalars['Date']['input']>;
210
+ freight?: InputMaybe<Scalars['Float']['input']>;
211
+ freightGSTPercentage?: InputMaybe<Scalars['Int']['input']>;
212
+ givenBy?: InputMaybe<Scalars['String']['input']>;
213
+ igstTotal?: InputMaybe<Scalars['Float']['input']>;
214
+ isIGST?: InputMaybe<Scalars['Boolean']['input']>;
215
+ items?: InputMaybe<Array<InputMaybe<Scalars['JSON']['input']>>>;
216
+ loadingAndUnloadingCharges?: InputMaybe<Scalars['Float']['input']>;
217
+ otherCharges?: InputMaybe<Scalars['Float']['input']>;
218
+ otherThanBillExpenses?: InputMaybe<Scalars['Float']['input']>;
219
+ pf?: InputMaybe<Scalars['Float']['input']>;
220
+ pfGSTPercentage?: InputMaybe<Scalars['Int']['input']>;
221
+ roundOff?: InputMaybe<Scalars['Float']['input']>;
222
+ sgstTotal?: InputMaybe<Scalars['Float']['input']>;
223
+ suppliedBy?: InputMaybe<Scalars['String']['input']>;
224
+ totalBillValue?: InputMaybe<Scalars['Float']['input']>;
225
+ transportAmount?: InputMaybe<Scalars['Float']['input']>;
226
+ transportedBy?: InputMaybe<Scalars['String']['input']>;
227
+ verifiedBy?: InputMaybe<Scalars['String']['input']>;
182
228
  };
183
229
  export type BillingResponse = GeneralResponse | InventoryBillingResponse;
184
230
  export declare enum Brand {
@@ -257,9 +303,16 @@ export type CostConfigInput = {
257
303
  range?: InputMaybe<Scalars['String']['input']>;
258
304
  };
259
305
  export type CreateCompanyResponse = CompanyResponse | GeneralResponse;
306
+ export type CreateProjectResponse = {
307
+ __typename?: 'CreateProjectResponse';
308
+ id: Scalars['ID']['output'];
309
+ message?: Maybe<Scalars['String']['output']>;
310
+ status?: Maybe<Scalars['String']['output']>;
311
+ };
260
312
  export type CreateUserResponse = GeneralResponse | UserResponse;
261
313
  export type DbInput = {
262
314
  appType?: InputMaybe<Scalars['String']['input']>;
315
+ collection?: InputMaybe<Scalars['String']['input']>;
263
316
  companyId?: InputMaybe<Scalars['ID']['input']>;
264
317
  endDate?: InputMaybe<Scalars['String']['input']>;
265
318
  inventoryTableCategory?: InputMaybe<Scalars['String']['input']>;
@@ -724,8 +777,15 @@ export type HourlyUtilizationDataForGraphInput = {
724
777
  export type Image = {
725
778
  __typename?: 'Image';
726
779
  alt?: Maybe<Scalars['String']['output']>;
780
+ id?: Maybe<Scalars['ID']['output']>;
781
+ imgstr?: Maybe<Scalars['String']['output']>;
782
+ name?: Maybe<Scalars['String']['output']>;
727
783
  url?: Maybe<Scalars['URL']['output']>;
728
784
  };
785
+ export type ImageInput = {
786
+ imgstr?: InputMaybe<Scalars['String']['input']>;
787
+ name?: InputMaybe<Scalars['String']['input']>;
788
+ };
729
789
  export type InventoryBasicTableInput = {
730
790
  columnIds?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>>>;
731
791
  companyId?: InputMaybe<Scalars['ID']['input']>;
@@ -768,6 +828,7 @@ export type InventoryColumns = {
768
828
  id: Scalars['ID']['output'];
769
829
  type?: Maybe<Scalars['String']['output']>;
770
830
  };
831
+ export type InventoryCreateProjectResponse = CreateProjectResponse | GeneralResponse;
771
832
  export type InventoryCustomerInput = {
772
833
  companyId?: InputMaybe<Scalars['ID']['input']>;
773
834
  email?: InputMaybe<Scalars['EmailAddress']['input']>;
@@ -822,6 +883,12 @@ export type InventoryOutwardResponse = {
822
883
  outwardItemId: Scalars['ID']['output'];
823
884
  status?: Maybe<Scalars['String']['output']>;
824
885
  };
886
+ export type InventoryPurchaseOrderResponse = {
887
+ __typename?: 'InventoryPurchaseOrderResponse';
888
+ message?: Maybe<Scalars['String']['output']>;
889
+ purchaseOrderId: Scalars['ID']['output'];
890
+ status?: Maybe<Scalars['String']['output']>;
891
+ };
825
892
  export type InventoryStatus = {
826
893
  __typename?: 'InventoryStatus';
827
894
  basicTableId: Scalars['ID']['output'];
@@ -850,6 +917,32 @@ export type InventoryStorageResponse = {
850
917
  status?: Maybe<Scalars['String']['output']>;
851
918
  storageId: Scalars['ID']['output'];
852
919
  };
920
+ export type InventorySubBasicTableInput = {
921
+ basicTableId?: InputMaybe<Scalars['String']['input']>;
922
+ columnIds?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>>>;
923
+ companyId?: InputMaybe<Scalars['ID']['input']>;
924
+ tableAlias?: InputMaybe<Scalars['String']['input']>;
925
+ tableName?: InputMaybe<Scalars['String']['input']>;
926
+ };
927
+ export type InventorySubBasicTables = {
928
+ __typename?: 'InventorySubBasicTables';
929
+ basicTableId: Scalars['ID']['output'];
930
+ columns?: Maybe<Array<Maybe<InventoryColumns>>>;
931
+ companyId?: Maybe<Scalars['ID']['output']>;
932
+ id: Scalars['ID']['output'];
933
+ tableAlias?: Maybe<Scalars['String']['output']>;
934
+ tableName?: Maybe<Scalars['String']['output']>;
935
+ };
936
+ export type InventorySubCategoryTable = {
937
+ __typename?: 'InventorySubCategoryTable';
938
+ value?: Maybe<Array<Maybe<Scalars['JSON']['output']>>>;
939
+ };
940
+ export type InventorySubCategoryTableForResponse = {
941
+ __typename?: 'InventorySubCategoryTableForResponse';
942
+ inventorySubCategoryTableForId: Scalars['ID']['output'];
943
+ message?: Maybe<Scalars['String']['output']>;
944
+ status?: Maybe<Scalars['String']['output']>;
945
+ };
853
946
  export type InventorySupplierInput = {
854
947
  companyId?: InputMaybe<Scalars['ID']['input']>;
855
948
  email?: InputMaybe<Scalars['EmailAddress']['input']>;
@@ -882,6 +975,11 @@ export type InventoryTableForResponse = {
882
975
  message?: Maybe<Scalars['String']['output']>;
883
976
  status?: Maybe<Scalars['String']['output']>;
884
977
  };
978
+ export type InventoryWorkSchedule = {
979
+ __typename?: 'InventoryWorkSchedule';
980
+ value?: Maybe<Array<Maybe<Scalars['JSON']['output']>>>;
981
+ };
982
+ export type InventoryWorkScheduleResponse = GeneralResponse | WorkScheduleResponse;
885
983
  export type InwardOrOutWardData = {
886
984
  __typename?: 'InwardOrOutWardData';
887
985
  value?: Maybe<Array<Maybe<Scalars['JSON']['output']>>>;
@@ -1017,15 +1115,25 @@ export type Mutation = {
1017
1115
  addInventoryBasicTable?: Maybe<GeneralResponse>;
1018
1116
  addInventoryColumn?: Maybe<GeneralResponse>;
1019
1117
  addInventoryCustomer?: Maybe<AddInventoryCustomerResponse>;
1118
+ addInventoryImage?: Maybe<GeneralResponse>;
1020
1119
  addInventoryMachine?: Maybe<AddInventoryMachineResponse>;
1021
1120
  addInventoryStatus?: Maybe<GeneralResponse>;
1022
1121
  addInventoryStorage?: Maybe<AddInventoryStorageResponse>;
1122
+ addInventorySubBasicTable?: Maybe<GeneralResponse>;
1123
+ addInventorySubCategoryTableFor?: Maybe<AddInventorySubCategoryTableForResponse>;
1023
1124
  addInventorySupplier?: Maybe<AddInventorySupplierResponse>;
1024
1125
  addInventoryTableFor?: Maybe<AddInventoryTableForResponse>;
1126
+ addInventoryWorkSchedule?: Maybe<InventoryWorkScheduleResponse>;
1025
1127
  addItemInInward?: Maybe<InwardResponse>;
1026
1128
  addItemInOutward?: Maybe<OutwardResponse>;
1129
+ addManyInventorySubCategoryTableFor?: Maybe<GeneralResponse>;
1027
1130
  addManyInventoryTableFor?: Maybe<GeneralResponse>;
1131
+ addManyInventoryWorkSchedule?: Maybe<GeneralResponse>;
1028
1132
  addNewDepartment?: Maybe<DepartmentResponse>;
1133
+ addPurchaseOrder?: Maybe<PurchaseOrderResponse>;
1134
+ addSubCategoryItemInInward?: Maybe<InwardResponse>;
1135
+ addSubCategoryItemInOutward?: Maybe<OutwardResponse>;
1136
+ changeInventoryItemStatus?: Maybe<GeneralResponse>;
1029
1137
  changePassword?: Maybe<GeneralResponse>;
1030
1138
  changeProjectStatus?: Maybe<GeneralResponse>;
1031
1139
  createAlert?: Maybe<GeneralResponse>;
@@ -1037,7 +1145,7 @@ export type Mutation = {
1037
1145
  createNguCompany?: Maybe<GeneralResponse>;
1038
1146
  createNguDevice?: Maybe<GeneralResponse>;
1039
1147
  createNguUser?: Maybe<GeneralResponse>;
1040
- createProject?: Maybe<GeneralResponse>;
1148
+ createProject?: Maybe<InventoryCreateProjectResponse>;
1041
1149
  createUser?: Maybe<CreateUserResponse>;
1042
1150
  deleteDB?: Maybe<GeneralResponse>;
1043
1151
  deleteDepartment?: Maybe<GeneralResponse>;
@@ -1046,11 +1154,16 @@ export type Mutation = {
1046
1154
  deleteInventoryBasicTable?: Maybe<GeneralResponse>;
1047
1155
  deleteInventoryColumn?: Maybe<GeneralResponse>;
1048
1156
  deleteInventoryCustomer?: Maybe<GeneralResponse>;
1157
+ deleteInventoryImage?: Maybe<GeneralResponse>;
1049
1158
  deleteInventoryMachine?: Maybe<GeneralResponse>;
1050
1159
  deleteInventoryStatus?: Maybe<GeneralResponse>;
1051
1160
  deleteInventoryStorage?: Maybe<GeneralResponse>;
1161
+ deleteInventorySubBasicTable?: Maybe<GeneralResponse>;
1162
+ deleteInventorySubCategoryTableFor?: Maybe<GeneralResponse>;
1052
1163
  deleteInventorySupplier?: Maybe<GeneralResponse>;
1053
1164
  deleteInventoryTableFor?: Maybe<GeneralResponse>;
1165
+ deleteInventoryWorkSchedule?: Maybe<GeneralResponse>;
1166
+ deleteManyInventoryWorkSchedule?: Maybe<GeneralResponse>;
1054
1167
  deleteNguDevice?: Maybe<GeneralResponse>;
1055
1168
  deleteUser?: Maybe<GeneralResponse>;
1056
1169
  deleteUserSession?: Maybe<GeneralResponse>;
@@ -1062,14 +1175,21 @@ export type Mutation = {
1062
1175
  editInventoryMachine?: Maybe<GeneralResponse>;
1063
1176
  editInventoryStatus?: Maybe<GeneralResponse>;
1064
1177
  editInventoryStorage?: Maybe<GeneralResponse>;
1178
+ editInventorySubBasicTable?: Maybe<GeneralResponse>;
1179
+ editInventorySubCategoryTableFor?: Maybe<GeneralResponse>;
1065
1180
  editInventorySupplier?: Maybe<GeneralResponse>;
1066
1181
  editInventoryTableFor?: Maybe<GeneralResponse>;
1182
+ editInventoryWorkSchedule?: Maybe<GeneralResponse>;
1067
1183
  editManyDepartments?: Maybe<GeneralResponse>;
1184
+ editManyInventorySubCategoryTableFor?: Maybe<GeneralResponse>;
1068
1185
  editManyInventoryTableFor?: Maybe<GeneralResponse>;
1186
+ editManyInventoryWorkSchedule?: Maybe<GeneralResponse>;
1069
1187
  editProject?: Maybe<GeneralResponse>;
1188
+ editPurchaseOrder?: Maybe<GeneralResponse>;
1070
1189
  forgotPassword?: Maybe<GeneralResponse>;
1071
1190
  generateReport?: Maybe<Array<Maybe<ReportResponse>>>;
1072
1191
  moveItemToScrap?: Maybe<GeneralResponse>;
1192
+ moveSubCategoryItemToScrap?: Maybe<GeneralResponse>;
1073
1193
  sendEmail?: Maybe<GeneralResponse>;
1074
1194
  updateAlert?: Maybe<GeneralResponse>;
1075
1195
  updateAlertEmail?: Maybe<GeneralResponse>;
@@ -1099,7 +1219,7 @@ export type Mutation = {
1099
1219
  verifyLogout?: Maybe<GeneralResponse>;
1100
1220
  };
1101
1221
  export type MutationAddBillingArgs = {
1102
- data?: InputMaybe<Scalars['JSON']['input']>;
1222
+ data?: InputMaybe<BillingInput>;
1103
1223
  };
1104
1224
  export type MutationAddInventoryBasicTableArgs = {
1105
1225
  queryData?: InputMaybe<InventoryBasicTableInput>;
@@ -1110,6 +1230,9 @@ export type MutationAddInventoryColumnArgs = {
1110
1230
  export type MutationAddInventoryCustomerArgs = {
1111
1231
  data?: InputMaybe<InventoryCustomerInput>;
1112
1232
  };
1233
+ export type MutationAddInventoryImageArgs = {
1234
+ data?: InputMaybe<ImageInput>;
1235
+ };
1113
1236
  export type MutationAddInventoryMachineArgs = {
1114
1237
  data?: InputMaybe<InventoryMachineInput>;
1115
1238
  };
@@ -1119,6 +1242,14 @@ export type MutationAddInventoryStatusArgs = {
1119
1242
  export type MutationAddInventoryStorageArgs = {
1120
1243
  data?: InputMaybe<InventoryStorageInput>;
1121
1244
  };
1245
+ export type MutationAddInventorySubBasicTableArgs = {
1246
+ queryData?: InputMaybe<InventorySubBasicTableInput>;
1247
+ };
1248
+ export type MutationAddInventorySubCategoryTableForArgs = {
1249
+ basicTableId: Scalars['ID']['input'];
1250
+ data?: InputMaybe<Scalars['JSON']['input']>;
1251
+ subBasicTableId: Scalars['ID']['input'];
1252
+ };
1122
1253
  export type MutationAddInventorySupplierArgs = {
1123
1254
  data?: InputMaybe<InventorySupplierInput>;
1124
1255
  };
@@ -1126,6 +1257,9 @@ export type MutationAddInventoryTableForArgs = {
1126
1257
  basicTableId: Scalars['ID']['input'];
1127
1258
  data?: InputMaybe<Scalars['JSON']['input']>;
1128
1259
  };
1260
+ export type MutationAddInventoryWorkScheduleArgs = {
1261
+ data?: InputMaybe<Scalars['JSON']['input']>;
1262
+ };
1129
1263
  export type MutationAddItemInInwardArgs = {
1130
1264
  basicTableId: Scalars['ID']['input'];
1131
1265
  data?: InputMaybe<Scalars['JSON']['input']>;
@@ -1134,13 +1268,40 @@ export type MutationAddItemInOutwardArgs = {
1134
1268
  basicTableId: Scalars['ID']['input'];
1135
1269
  data?: InputMaybe<Scalars['JSON']['input']>;
1136
1270
  };
1271
+ export type MutationAddManyInventorySubCategoryTableForArgs = {
1272
+ basicTableId: Scalars['ID']['input'];
1273
+ data?: InputMaybe<Array<InputMaybe<Scalars['JSON']['input']>>>;
1274
+ subBasicTableId: Scalars['ID']['input'];
1275
+ };
1137
1276
  export type MutationAddManyInventoryTableForArgs = {
1138
1277
  basicTableId: Scalars['ID']['input'];
1139
1278
  data?: InputMaybe<Array<InputMaybe<Scalars['JSON']['input']>>>;
1140
1279
  };
1280
+ export type MutationAddManyInventoryWorkScheduleArgs = {
1281
+ data?: InputMaybe<Array<InputMaybe<Scalars['JSON']['input']>>>;
1282
+ };
1141
1283
  export type MutationAddNewDepartmentArgs = {
1142
1284
  data?: InputMaybe<DepartmentsInput>;
1143
1285
  };
1286
+ export type MutationAddPurchaseOrderArgs = {
1287
+ data?: InputMaybe<Scalars['JSON']['input']>;
1288
+ };
1289
+ export type MutationAddSubCategoryItemInInwardArgs = {
1290
+ basicTableId: Scalars['ID']['input'];
1291
+ data?: InputMaybe<Scalars['JSON']['input']>;
1292
+ subBasicTableId: Scalars['ID']['input'];
1293
+ };
1294
+ export type MutationAddSubCategoryItemInOutwardArgs = {
1295
+ basicTableId: Scalars['ID']['input'];
1296
+ data?: InputMaybe<Scalars['JSON']['input']>;
1297
+ subBasicTableId: Scalars['ID']['input'];
1298
+ };
1299
+ export type MutationChangeInventoryItemStatusArgs = {
1300
+ basicTableId?: InputMaybe<Scalars['ID']['input']>;
1301
+ data?: InputMaybe<Scalars['JSON']['input']>;
1302
+ id: Scalars['ID']['input'];
1303
+ subBasicTableId?: InputMaybe<Scalars['String']['input']>;
1304
+ };
1144
1305
  export type MutationChangePasswordArgs = {
1145
1306
  data?: InputMaybe<PasswordInput>;
1146
1307
  };
@@ -1202,6 +1363,9 @@ export type MutationDeleteInventoryColumnArgs = {
1202
1363
  export type MutationDeleteInventoryCustomerArgs = {
1203
1364
  id: Scalars['ID']['input'];
1204
1365
  };
1366
+ export type MutationDeleteInventoryImageArgs = {
1367
+ id: Scalars['ID']['input'];
1368
+ };
1205
1369
  export type MutationDeleteInventoryMachineArgs = {
1206
1370
  id: Scalars['ID']['input'];
1207
1371
  };
@@ -1211,6 +1375,14 @@ export type MutationDeleteInventoryStatusArgs = {
1211
1375
  export type MutationDeleteInventoryStorageArgs = {
1212
1376
  id: Scalars['ID']['input'];
1213
1377
  };
1378
+ export type MutationDeleteInventorySubBasicTableArgs = {
1379
+ id: Scalars['ID']['input'];
1380
+ };
1381
+ export type MutationDeleteInventorySubCategoryTableForArgs = {
1382
+ basicTableId: Scalars['ID']['input'];
1383
+ subBasicTableId: Scalars['ID']['input'];
1384
+ tableId: Scalars['ID']['input'];
1385
+ };
1214
1386
  export type MutationDeleteInventorySupplierArgs = {
1215
1387
  id: Scalars['ID']['input'];
1216
1388
  };
@@ -1218,6 +1390,12 @@ export type MutationDeleteInventoryTableForArgs = {
1218
1390
  basicTableId: Scalars['ID']['input'];
1219
1391
  tableId: Scalars['ID']['input'];
1220
1392
  };
1393
+ export type MutationDeleteInventoryWorkScheduleArgs = {
1394
+ id: Scalars['ID']['input'];
1395
+ };
1396
+ export type MutationDeleteManyInventoryWorkScheduleArgs = {
1397
+ ids?: InputMaybe<Array<Scalars['ID']['input']>>;
1398
+ };
1221
1399
  export type MutationDeleteNguDeviceArgs = {
1222
1400
  id: Scalars['ID']['input'];
1223
1401
  };
@@ -1228,7 +1406,7 @@ export type MutationDeleteUserSessionArgs = {
1228
1406
  data?: InputMaybe<SessionInput>;
1229
1407
  };
1230
1408
  export type MutationEditBillingArgs = {
1231
- data?: InputMaybe<Scalars['JSON']['input']>;
1409
+ data?: InputMaybe<BillingInput>;
1232
1410
  id: Scalars['ID']['input'];
1233
1411
  };
1234
1412
  export type MutationEditDepartmentArgs = {
@@ -1259,6 +1437,16 @@ export type MutationEditInventoryStorageArgs = {
1259
1437
  data?: InputMaybe<InventoryStorageInput>;
1260
1438
  id: Scalars['ID']['input'];
1261
1439
  };
1440
+ export type MutationEditInventorySubBasicTableArgs = {
1441
+ data?: InputMaybe<InventorySubBasicTableInput>;
1442
+ id: Scalars['ID']['input'];
1443
+ };
1444
+ export type MutationEditInventorySubCategoryTableForArgs = {
1445
+ basicTableId: Scalars['ID']['input'];
1446
+ data?: InputMaybe<Scalars['JSON']['input']>;
1447
+ subBasicTableId: Scalars['ID']['input'];
1448
+ tableId: Scalars['ID']['input'];
1449
+ };
1262
1450
  export type MutationEditInventorySupplierArgs = {
1263
1451
  data?: InputMaybe<InventorySupplierInput>;
1264
1452
  id: Scalars['ID']['input'];
@@ -1268,16 +1456,30 @@ export type MutationEditInventoryTableForArgs = {
1268
1456
  data?: InputMaybe<Scalars['JSON']['input']>;
1269
1457
  tableId: Scalars['ID']['input'];
1270
1458
  };
1459
+ export type MutationEditInventoryWorkScheduleArgs = {
1460
+ data?: InputMaybe<Scalars['JSON']['input']>;
1461
+ id: Scalars['ID']['input'];
1462
+ };
1271
1463
  export type MutationEditManyDepartmentsArgs = {
1272
1464
  data?: InputMaybe<Array<InputMaybe<EditManyDepartmentsInput>>>;
1273
1465
  };
1466
+ export type MutationEditManyInventorySubCategoryTableForArgs = {
1467
+ data?: InputMaybe<Array<InputMaybe<Scalars['JSON']['input']>>>;
1468
+ };
1274
1469
  export type MutationEditManyInventoryTableForArgs = {
1275
1470
  data?: InputMaybe<Array<InputMaybe<Scalars['JSON']['input']>>>;
1276
1471
  };
1472
+ export type MutationEditManyInventoryWorkScheduleArgs = {
1473
+ data?: InputMaybe<Array<InputMaybe<Scalars['JSON']['input']>>>;
1474
+ };
1277
1475
  export type MutationEditProjectArgs = {
1278
1476
  data?: InputMaybe<Scalars['JSON']['input']>;
1279
1477
  id: Scalars['ID']['input'];
1280
1478
  };
1479
+ export type MutationEditPurchaseOrderArgs = {
1480
+ data?: InputMaybe<Scalars['JSON']['input']>;
1481
+ id: Scalars['ID']['input'];
1482
+ };
1281
1483
  export type MutationForgotPasswordArgs = {
1282
1484
  data?: InputMaybe<ForgotInput>;
1283
1485
  };
@@ -1289,6 +1491,13 @@ export type MutationMoveItemToScrapArgs = {
1289
1491
  data?: InputMaybe<Scalars['JSON']['input']>;
1290
1492
  scrapTableId: Scalars['ID']['input'];
1291
1493
  };
1494
+ export type MutationMoveSubCategoryItemToScrapArgs = {
1495
+ basicTableId: Scalars['ID']['input'];
1496
+ data?: InputMaybe<Scalars['JSON']['input']>;
1497
+ scrapSubBasicTableId?: InputMaybe<Scalars['String']['input']>;
1498
+ scrapTableId: Scalars['ID']['input'];
1499
+ subBasicTableId: Scalars['ID']['input'];
1500
+ };
1292
1501
  export type MutationSendEmailArgs = {
1293
1502
  data?: InputMaybe<SendEmailInput>;
1294
1503
  };
@@ -1301,6 +1510,7 @@ export type MutationUpdateAlertEmailArgs = {
1301
1510
  };
1302
1511
  export type MutationUpdateBasicSettingsArgs = {
1303
1512
  data?: InputMaybe<BasicSettingsInput>;
1513
+ id: Scalars['ID']['input'];
1304
1514
  };
1305
1515
  export type MutationUpdateCompanyArgs = {
1306
1516
  data?: InputMaybe<CompanyInput>;
@@ -1589,6 +1799,11 @@ export type PasswordInput = {
1589
1799
  oldPassword?: InputMaybe<Scalars['String']['input']>;
1590
1800
  password?: InputMaybe<Scalars['String']['input']>;
1591
1801
  };
1802
+ export type PeakKw = {
1803
+ __typename?: 'PeakKW';
1804
+ time?: Maybe<Scalars['String']['output']>;
1805
+ value?: Maybe<Scalars['Float']['output']>;
1806
+ };
1592
1807
  export type PeakKwh = {
1593
1808
  __typename?: 'PeakKWH';
1594
1809
  lastUpdated?: Maybe<Scalars['String']['output']>;
@@ -1628,10 +1843,26 @@ export type ProjectType = {
1628
1843
  __typename?: 'ProjectType';
1629
1844
  value?: Maybe<Array<Maybe<Scalars['JSON']['output']>>>;
1630
1845
  };
1846
+ export type PurchaseOrder = {
1847
+ __typename?: 'PurchaseOrder';
1848
+ date?: Maybe<Scalars['String']['output']>;
1849
+ deliveryDate?: Maybe<Scalars['String']['output']>;
1850
+ expectedDeliveryDate?: Maybe<Scalars['String']['output']>;
1851
+ expectedStartDate?: Maybe<Scalars['String']['output']>;
1852
+ id: Scalars['ID']['output'];
1853
+ no?: Maybe<Scalars['String']['output']>;
1854
+ paymentTerm?: Maybe<Scalars['String']['output']>;
1855
+ price?: Maybe<Scalars['Int']['output']>;
1856
+ projectId?: Maybe<Scalars['String']['output']>;
1857
+ quantity?: Maybe<Scalars['Int']['output']>;
1858
+ };
1859
+ export type PurchaseOrderResponse = GeneralResponse | InventoryPurchaseOrderResponse;
1631
1860
  export type Query = {
1632
1861
  __typename?: 'Query';
1633
1862
  fetchAlertEmail?: Maybe<Array<Maybe<AlertEmail>>>;
1634
1863
  fetchAlerts?: Maybe<Array<Maybe<Alerts>>>;
1864
+ fetchAllInventorySubCategoryTableItems?: Maybe<AllInventoryTableItems>;
1865
+ fetchAllInventoryTableItems?: Maybe<AllInventoryTableItems>;
1635
1866
  fetchBasicSettings?: Maybe<BasicSettings>;
1636
1867
  fetchBillings?: Maybe<Array<Maybe<Billing>>>;
1637
1868
  fetchCompanyById?: Maybe<Company>;
@@ -1639,6 +1870,7 @@ export type Query = {
1639
1870
  fetchDB?: Maybe<DbType>;
1640
1871
  fetchDashboardData?: Maybe<DashboardData>;
1641
1872
  fetchDataFromInwardOrOutward?: Maybe<InwardOrOutWardData>;
1873
+ fetchDataFromInwardOrOutwardSubCategoryTable?: Maybe<InwardOrOutWardData>;
1642
1874
  fetchDepartments?: Maybe<Array<Maybe<Departments>>>;
1643
1875
  fetchDeviceActiveVsDownTime?: Maybe<Array<Maybe<DeviceActiveVsDownTime>>>;
1644
1876
  fetchDeviceAnalytics?: Maybe<Array<Maybe<DeviceAnalytics>>>;
@@ -1670,13 +1902,20 @@ export type Query = {
1670
1902
  fetchInventoryBasicTables?: Maybe<Array<Maybe<InventoryBasicTables>>>;
1671
1903
  fetchInventoryColumns?: Maybe<Array<Maybe<InventoryColumns>>>;
1672
1904
  fetchInventoryCustomers?: Maybe<Array<Maybe<InventoryCustomers>>>;
1905
+ fetchInventoryImages?: Maybe<Array<Maybe<Image>>>;
1673
1906
  fetchInventoryInwards?: Maybe<InventoryInwards>;
1674
1907
  fetchInventoryMachines?: Maybe<Array<Maybe<InventoryMachines>>>;
1675
1908
  fetchInventoryStatuses?: Maybe<Array<Maybe<InventoryStatus>>>;
1676
1909
  fetchInventoryStorages?: Maybe<Array<Maybe<InventoryStorage>>>;
1910
+ fetchInventorySubBasicTables?: Maybe<Array<Maybe<InventorySubBasicTables>>>;
1911
+ fetchInventorySubCategoryInwards?: Maybe<InventoryInwards>;
1912
+ fetchInventorySubCategoryTable?: Maybe<InventorySubCategoryTable>;
1913
+ fetchInventorySubCategoryTables?: Maybe<InventorySubCategoryTable>;
1677
1914
  fetchInventorySuppliers?: Maybe<Array<Maybe<InventorySuppliers>>>;
1678
1915
  fetchInventoryTable?: Maybe<InventoryTable>;
1679
1916
  fetchInventoryTables?: Maybe<InventoryTable>;
1917
+ fetchInventoryWorkSchedule?: Maybe<InventoryWorkSchedule>;
1918
+ fetchInventoryWorkSchedules?: Maybe<InventoryWorkSchedule>;
1680
1919
  fetchLastMessagesFromMqtt?: Maybe<LastMessagesFromMqtt>;
1681
1920
  fetchLiveCurrentForPeriod?: Maybe<Array<Maybe<LiveCurrentForPeriod>>>;
1682
1921
  fetchLiveGraphPageData?: Maybe<LiveGraphPageData>;
@@ -1705,6 +1944,7 @@ export type Query = {
1705
1944
  fetchPowerConsumption?: Maybe<Array<Maybe<PowerConsumption>>>;
1706
1945
  fetchPowerConsumptionPageData?: Maybe<PowerConsumptionPageData>;
1707
1946
  fetchProjects?: Maybe<ProjectType>;
1947
+ fetchPurchaseOrders?: Maybe<Array<Maybe<PurchaseOrder>>>;
1708
1948
  fetchSettingsPageData?: Maybe<SettingsPageData>;
1709
1949
  fetchTempDataTable?: Maybe<Array<Maybe<TempDataTable>>>;
1710
1950
  fetchTempDataTableByDeviceId?: Maybe<TempDataTable>;
@@ -1716,6 +1956,12 @@ export type Query = {
1716
1956
  triggerMqttConnection?: Maybe<GeneralResponse>;
1717
1957
  verifyToken?: Maybe<LoginSuccessResponse>;
1718
1958
  };
1959
+ export type QueryFetchAllInventorySubCategoryTableItemsArgs = {
1960
+ properties?: InputMaybe<Scalars['JSON']['input']>;
1961
+ };
1962
+ export type QueryFetchAllInventoryTableItemsArgs = {
1963
+ properties?: InputMaybe<Scalars['JSON']['input']>;
1964
+ };
1719
1965
  export type QueryFetchBillingsArgs = {
1720
1966
  filter?: InputMaybe<Scalars['JSON']['input']>;
1721
1967
  };
@@ -1738,6 +1984,14 @@ export type QueryFetchDataFromInwardOrOutwardArgs = {
1738
1984
  startDate?: InputMaybe<Scalars['String']['input']>;
1739
1985
  transactionType?: InputMaybe<Scalars['String']['input']>;
1740
1986
  };
1987
+ export type QueryFetchDataFromInwardOrOutwardSubCategoryTableArgs = {
1988
+ basicTableId?: InputMaybe<Scalars['ID']['input']>;
1989
+ endDate?: InputMaybe<Scalars['String']['input']>;
1990
+ itemType?: InputMaybe<Scalars['String']['input']>;
1991
+ startDate?: InputMaybe<Scalars['String']['input']>;
1992
+ subBasicTableId?: InputMaybe<Scalars['ID']['input']>;
1993
+ transactionType?: InputMaybe<Scalars['String']['input']>;
1994
+ };
1741
1995
  export type QueryFetchDepartmentsArgs = {
1742
1996
  companyId?: InputMaybe<Scalars['ID']['input']>;
1743
1997
  };
@@ -1823,6 +2077,21 @@ export type QueryFetchInventoryInwardsArgs = {
1823
2077
  data?: InputMaybe<Array<InputMaybe<Scalars['JSON']['input']>>>;
1824
2078
  properties?: InputMaybe<Scalars['JSON']['input']>;
1825
2079
  };
2080
+ export type QueryFetchInventorySubCategoryInwardsArgs = {
2081
+ data?: InputMaybe<Array<InputMaybe<Scalars['JSON']['input']>>>;
2082
+ properties?: InputMaybe<Scalars['JSON']['input']>;
2083
+ };
2084
+ export type QueryFetchInventorySubCategoryTableArgs = {
2085
+ basicTableId: Scalars['ID']['input'];
2086
+ companyId?: InputMaybe<Scalars['ID']['input']>;
2087
+ properties?: InputMaybe<Scalars['JSON']['input']>;
2088
+ subBasicTableId: Scalars['ID']['input'];
2089
+ };
2090
+ export type QueryFetchInventorySubCategoryTablesArgs = {
2091
+ basicTableIds?: InputMaybe<Array<Scalars['ID']['input']>>;
2092
+ properties?: InputMaybe<Scalars['JSON']['input']>;
2093
+ subBasicTableIds?: InputMaybe<Array<Scalars['ID']['input']>>;
2094
+ };
1826
2095
  export type QueryFetchInventoryTableArgs = {
1827
2096
  basicTableId: Scalars['ID']['input'];
1828
2097
  companyId?: InputMaybe<Scalars['ID']['input']>;
@@ -1832,6 +2101,9 @@ export type QueryFetchInventoryTablesArgs = {
1832
2101
  basicTableIds?: InputMaybe<Array<Scalars['ID']['input']>>;
1833
2102
  properties?: InputMaybe<Scalars['JSON']['input']>;
1834
2103
  };
2104
+ export type QueryFetchInventoryWorkScheduleArgs = {
2105
+ data?: InputMaybe<Scalars['JSON']['input']>;
2106
+ };
1835
2107
  export type QueryFetchLastMessagesFromMqttArgs = {
1836
2108
  queryData?: InputMaybe<LastMessagesFromMqttInput>;
1837
2109
  };
@@ -1901,6 +2173,9 @@ export type QueryFetchPowerConsumptionArgs = {
1901
2173
  export type QueryFetchPowerConsumptionPageDataArgs = {
1902
2174
  data?: InputMaybe<PowerConsumptionPageDataFetchInput>;
1903
2175
  };
2176
+ export type QueryFetchPurchaseOrdersArgs = {
2177
+ filter?: InputMaybe<Scalars['JSON']['input']>;
2178
+ };
1904
2179
  export type QueryFetchTempDataTableByDeviceIdArgs = {
1905
2180
  id?: InputMaybe<Scalars['ID']['input']>;
1906
2181
  };
@@ -1997,6 +2272,7 @@ export type TempDataTable = {
1997
2272
  peakKW?: Maybe<Scalars['JSON']['output']>;
1998
2273
  peakKWH?: Maybe<PeakKwh>;
1999
2274
  peakKWHsArray?: Maybe<Array<Maybe<PeakKwh>>>;
2275
+ peakKWsArray?: Maybe<Array<Maybe<PeakKw>>>;
2000
2276
  peaksAndLows?: Maybe<Scalars['JSON']['output']>;
2001
2277
  pkt?: Maybe<Scalars['String']['output']>;
2002
2278
  readingEndDate?: Maybe<Scalars['Date']['output']>;
@@ -2045,6 +2321,7 @@ export type UserInfo = {
2045
2321
  email?: Maybe<Scalars['EmailAddress']['output']>;
2046
2322
  firstName?: Maybe<Scalars['String']['output']>;
2047
2323
  lastName?: Maybe<Scalars['String']['output']>;
2324
+ password?: Maybe<Scalars['String']['output']>;
2048
2325
  phone?: Maybe<Scalars['PhoneNumber']['output']>;
2049
2326
  status?: Maybe<Scalars['String']['output']>;
2050
2327
  userType?: Maybe<Scalars['String']['output']>;
@@ -2086,6 +2363,12 @@ export type UtilizationDataForGraph = {
2086
2363
  datesArray?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
2087
2364
  deviceName?: Maybe<Scalars['String']['output']>;
2088
2365
  };
2366
+ export type WorkScheduleResponse = {
2367
+ __typename?: 'WorkScheduleResponse';
2368
+ Id: Scalars['ID']['output'];
2369
+ message?: Maybe<Scalars['String']['output']>;
2370
+ status?: Maybe<Scalars['String']['output']>;
2371
+ };
2089
2372
  export type ForgotInput = {
2090
2373
  email?: InputMaybe<Scalars['EmailAddress']['input']>;
2091
2374
  };