@mjtech-ems/schema 1.3.38 → 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.
@@ -167,6 +167,7 @@ export type BasicSettings = {
167
167
  companyId?: Maybe<Scalars['ID']['output']>;
168
168
  costConfig?: Maybe<Array<Maybe<CostConfig>>>;
169
169
  duration?: Maybe<Scalars['String']['output']>;
170
+ id?: Maybe<Scalars['ID']['output']>;
170
171
  readingEndDate?: Maybe<Scalars['Date']['output']>;
171
172
  readingStartDate?: Maybe<Scalars['Date']['output']>;
172
173
  };
@@ -180,12 +181,50 @@ export type BasicSettingsInput = {
180
181
  export type Billing = {
181
182
  __typename?: 'Billing';
182
183
  billNumber?: Maybe<Scalars['String']['output']>;
184
+ cgstTotal?: Maybe<Scalars['Float']['output']>;
183
185
  date?: Maybe<Scalars['Date']['output']>;
184
- freight?: Maybe<Scalars['String']['output']>;
186
+ freight?: Maybe<Scalars['Float']['output']>;
187
+ freightGSTPercentage?: Maybe<Scalars['Int']['output']>;
185
188
  givenBy?: Maybe<Scalars['String']['output']>;
186
189
  id?: Maybe<Scalars['ID']['output']>;
190
+ igstTotal?: Maybe<Scalars['Float']['output']>;
191
+ isIGST?: Maybe<Scalars['Boolean']['output']>;
187
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']>;
188
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']>;
189
228
  };
190
229
  export type BillingResponse = GeneralResponse | InventoryBillingResponse;
191
230
  export declare enum Brand {
@@ -264,6 +303,12 @@ export type CostConfigInput = {
264
303
  range?: InputMaybe<Scalars['String']['input']>;
265
304
  };
266
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
+ };
267
312
  export type CreateUserResponse = GeneralResponse | UserResponse;
268
313
  export type DbInput = {
269
314
  appType?: InputMaybe<Scalars['String']['input']>;
@@ -732,8 +777,15 @@ export type HourlyUtilizationDataForGraphInput = {
732
777
  export type Image = {
733
778
  __typename?: 'Image';
734
779
  alt?: Maybe<Scalars['String']['output']>;
780
+ id?: Maybe<Scalars['ID']['output']>;
781
+ imgstr?: Maybe<Scalars['String']['output']>;
782
+ name?: Maybe<Scalars['String']['output']>;
735
783
  url?: Maybe<Scalars['URL']['output']>;
736
784
  };
785
+ export type ImageInput = {
786
+ imgstr?: InputMaybe<Scalars['String']['input']>;
787
+ name?: InputMaybe<Scalars['String']['input']>;
788
+ };
737
789
  export type InventoryBasicTableInput = {
738
790
  columnIds?: InputMaybe<Array<InputMaybe<Scalars['ID']['input']>>>;
739
791
  companyId?: InputMaybe<Scalars['ID']['input']>;
@@ -776,6 +828,7 @@ export type InventoryColumns = {
776
828
  id: Scalars['ID']['output'];
777
829
  type?: Maybe<Scalars['String']['output']>;
778
830
  };
831
+ export type InventoryCreateProjectResponse = CreateProjectResponse | GeneralResponse;
779
832
  export type InventoryCustomerInput = {
780
833
  companyId?: InputMaybe<Scalars['ID']['input']>;
781
834
  email?: InputMaybe<Scalars['EmailAddress']['input']>;
@@ -922,6 +975,11 @@ export type InventoryTableForResponse = {
922
975
  message?: Maybe<Scalars['String']['output']>;
923
976
  status?: Maybe<Scalars['String']['output']>;
924
977
  };
978
+ export type InventoryWorkSchedule = {
979
+ __typename?: 'InventoryWorkSchedule';
980
+ value?: Maybe<Array<Maybe<Scalars['JSON']['output']>>>;
981
+ };
982
+ export type InventoryWorkScheduleResponse = GeneralResponse | WorkScheduleResponse;
925
983
  export type InwardOrOutWardData = {
926
984
  __typename?: 'InwardOrOutWardData';
927
985
  value?: Maybe<Array<Maybe<Scalars['JSON']['output']>>>;
@@ -1057,6 +1115,7 @@ export type Mutation = {
1057
1115
  addInventoryBasicTable?: Maybe<GeneralResponse>;
1058
1116
  addInventoryColumn?: Maybe<GeneralResponse>;
1059
1117
  addInventoryCustomer?: Maybe<AddInventoryCustomerResponse>;
1118
+ addInventoryImage?: Maybe<GeneralResponse>;
1060
1119
  addInventoryMachine?: Maybe<AddInventoryMachineResponse>;
1061
1120
  addInventoryStatus?: Maybe<GeneralResponse>;
1062
1121
  addInventoryStorage?: Maybe<AddInventoryStorageResponse>;
@@ -1064,10 +1123,12 @@ export type Mutation = {
1064
1123
  addInventorySubCategoryTableFor?: Maybe<AddInventorySubCategoryTableForResponse>;
1065
1124
  addInventorySupplier?: Maybe<AddInventorySupplierResponse>;
1066
1125
  addInventoryTableFor?: Maybe<AddInventoryTableForResponse>;
1126
+ addInventoryWorkSchedule?: Maybe<InventoryWorkScheduleResponse>;
1067
1127
  addItemInInward?: Maybe<InwardResponse>;
1068
1128
  addItemInOutward?: Maybe<OutwardResponse>;
1069
1129
  addManyInventorySubCategoryTableFor?: Maybe<GeneralResponse>;
1070
1130
  addManyInventoryTableFor?: Maybe<GeneralResponse>;
1131
+ addManyInventoryWorkSchedule?: Maybe<GeneralResponse>;
1071
1132
  addNewDepartment?: Maybe<DepartmentResponse>;
1072
1133
  addPurchaseOrder?: Maybe<PurchaseOrderResponse>;
1073
1134
  addSubCategoryItemInInward?: Maybe<InwardResponse>;
@@ -1084,7 +1145,7 @@ export type Mutation = {
1084
1145
  createNguCompany?: Maybe<GeneralResponse>;
1085
1146
  createNguDevice?: Maybe<GeneralResponse>;
1086
1147
  createNguUser?: Maybe<GeneralResponse>;
1087
- createProject?: Maybe<GeneralResponse>;
1148
+ createProject?: Maybe<InventoryCreateProjectResponse>;
1088
1149
  createUser?: Maybe<CreateUserResponse>;
1089
1150
  deleteDB?: Maybe<GeneralResponse>;
1090
1151
  deleteDepartment?: Maybe<GeneralResponse>;
@@ -1093,6 +1154,7 @@ export type Mutation = {
1093
1154
  deleteInventoryBasicTable?: Maybe<GeneralResponse>;
1094
1155
  deleteInventoryColumn?: Maybe<GeneralResponse>;
1095
1156
  deleteInventoryCustomer?: Maybe<GeneralResponse>;
1157
+ deleteInventoryImage?: Maybe<GeneralResponse>;
1096
1158
  deleteInventoryMachine?: Maybe<GeneralResponse>;
1097
1159
  deleteInventoryStatus?: Maybe<GeneralResponse>;
1098
1160
  deleteInventoryStorage?: Maybe<GeneralResponse>;
@@ -1100,6 +1162,8 @@ export type Mutation = {
1100
1162
  deleteInventorySubCategoryTableFor?: Maybe<GeneralResponse>;
1101
1163
  deleteInventorySupplier?: Maybe<GeneralResponse>;
1102
1164
  deleteInventoryTableFor?: Maybe<GeneralResponse>;
1165
+ deleteInventoryWorkSchedule?: Maybe<GeneralResponse>;
1166
+ deleteManyInventoryWorkSchedule?: Maybe<GeneralResponse>;
1103
1167
  deleteNguDevice?: Maybe<GeneralResponse>;
1104
1168
  deleteUser?: Maybe<GeneralResponse>;
1105
1169
  deleteUserSession?: Maybe<GeneralResponse>;
@@ -1115,9 +1179,11 @@ export type Mutation = {
1115
1179
  editInventorySubCategoryTableFor?: Maybe<GeneralResponse>;
1116
1180
  editInventorySupplier?: Maybe<GeneralResponse>;
1117
1181
  editInventoryTableFor?: Maybe<GeneralResponse>;
1182
+ editInventoryWorkSchedule?: Maybe<GeneralResponse>;
1118
1183
  editManyDepartments?: Maybe<GeneralResponse>;
1119
1184
  editManyInventorySubCategoryTableFor?: Maybe<GeneralResponse>;
1120
1185
  editManyInventoryTableFor?: Maybe<GeneralResponse>;
1186
+ editManyInventoryWorkSchedule?: Maybe<GeneralResponse>;
1121
1187
  editProject?: Maybe<GeneralResponse>;
1122
1188
  editPurchaseOrder?: Maybe<GeneralResponse>;
1123
1189
  forgotPassword?: Maybe<GeneralResponse>;
@@ -1153,7 +1219,7 @@ export type Mutation = {
1153
1219
  verifyLogout?: Maybe<GeneralResponse>;
1154
1220
  };
1155
1221
  export type MutationAddBillingArgs = {
1156
- data?: InputMaybe<Scalars['JSON']['input']>;
1222
+ data?: InputMaybe<BillingInput>;
1157
1223
  };
1158
1224
  export type MutationAddInventoryBasicTableArgs = {
1159
1225
  queryData?: InputMaybe<InventoryBasicTableInput>;
@@ -1164,6 +1230,9 @@ export type MutationAddInventoryColumnArgs = {
1164
1230
  export type MutationAddInventoryCustomerArgs = {
1165
1231
  data?: InputMaybe<InventoryCustomerInput>;
1166
1232
  };
1233
+ export type MutationAddInventoryImageArgs = {
1234
+ data?: InputMaybe<ImageInput>;
1235
+ };
1167
1236
  export type MutationAddInventoryMachineArgs = {
1168
1237
  data?: InputMaybe<InventoryMachineInput>;
1169
1238
  };
@@ -1188,6 +1257,9 @@ export type MutationAddInventoryTableForArgs = {
1188
1257
  basicTableId: Scalars['ID']['input'];
1189
1258
  data?: InputMaybe<Scalars['JSON']['input']>;
1190
1259
  };
1260
+ export type MutationAddInventoryWorkScheduleArgs = {
1261
+ data?: InputMaybe<Scalars['JSON']['input']>;
1262
+ };
1191
1263
  export type MutationAddItemInInwardArgs = {
1192
1264
  basicTableId: Scalars['ID']['input'];
1193
1265
  data?: InputMaybe<Scalars['JSON']['input']>;
@@ -1205,6 +1277,9 @@ export type MutationAddManyInventoryTableForArgs = {
1205
1277
  basicTableId: Scalars['ID']['input'];
1206
1278
  data?: InputMaybe<Array<InputMaybe<Scalars['JSON']['input']>>>;
1207
1279
  };
1280
+ export type MutationAddManyInventoryWorkScheduleArgs = {
1281
+ data?: InputMaybe<Array<InputMaybe<Scalars['JSON']['input']>>>;
1282
+ };
1208
1283
  export type MutationAddNewDepartmentArgs = {
1209
1284
  data?: InputMaybe<DepartmentsInput>;
1210
1285
  };
@@ -1288,6 +1363,9 @@ export type MutationDeleteInventoryColumnArgs = {
1288
1363
  export type MutationDeleteInventoryCustomerArgs = {
1289
1364
  id: Scalars['ID']['input'];
1290
1365
  };
1366
+ export type MutationDeleteInventoryImageArgs = {
1367
+ id: Scalars['ID']['input'];
1368
+ };
1291
1369
  export type MutationDeleteInventoryMachineArgs = {
1292
1370
  id: Scalars['ID']['input'];
1293
1371
  };
@@ -1312,6 +1390,12 @@ export type MutationDeleteInventoryTableForArgs = {
1312
1390
  basicTableId: Scalars['ID']['input'];
1313
1391
  tableId: Scalars['ID']['input'];
1314
1392
  };
1393
+ export type MutationDeleteInventoryWorkScheduleArgs = {
1394
+ id: Scalars['ID']['input'];
1395
+ };
1396
+ export type MutationDeleteManyInventoryWorkScheduleArgs = {
1397
+ ids?: InputMaybe<Array<Scalars['ID']['input']>>;
1398
+ };
1315
1399
  export type MutationDeleteNguDeviceArgs = {
1316
1400
  id: Scalars['ID']['input'];
1317
1401
  };
@@ -1322,7 +1406,7 @@ export type MutationDeleteUserSessionArgs = {
1322
1406
  data?: InputMaybe<SessionInput>;
1323
1407
  };
1324
1408
  export type MutationEditBillingArgs = {
1325
- data?: InputMaybe<Scalars['JSON']['input']>;
1409
+ data?: InputMaybe<BillingInput>;
1326
1410
  id: Scalars['ID']['input'];
1327
1411
  };
1328
1412
  export type MutationEditDepartmentArgs = {
@@ -1372,6 +1456,10 @@ export type MutationEditInventoryTableForArgs = {
1372
1456
  data?: InputMaybe<Scalars['JSON']['input']>;
1373
1457
  tableId: Scalars['ID']['input'];
1374
1458
  };
1459
+ export type MutationEditInventoryWorkScheduleArgs = {
1460
+ data?: InputMaybe<Scalars['JSON']['input']>;
1461
+ id: Scalars['ID']['input'];
1462
+ };
1375
1463
  export type MutationEditManyDepartmentsArgs = {
1376
1464
  data?: InputMaybe<Array<InputMaybe<EditManyDepartmentsInput>>>;
1377
1465
  };
@@ -1381,6 +1469,9 @@ export type MutationEditManyInventorySubCategoryTableForArgs = {
1381
1469
  export type MutationEditManyInventoryTableForArgs = {
1382
1470
  data?: InputMaybe<Array<InputMaybe<Scalars['JSON']['input']>>>;
1383
1471
  };
1472
+ export type MutationEditManyInventoryWorkScheduleArgs = {
1473
+ data?: InputMaybe<Array<InputMaybe<Scalars['JSON']['input']>>>;
1474
+ };
1384
1475
  export type MutationEditProjectArgs = {
1385
1476
  data?: InputMaybe<Scalars['JSON']['input']>;
1386
1477
  id: Scalars['ID']['input'];
@@ -1419,6 +1510,7 @@ export type MutationUpdateAlertEmailArgs = {
1419
1510
  };
1420
1511
  export type MutationUpdateBasicSettingsArgs = {
1421
1512
  data?: InputMaybe<BasicSettingsInput>;
1513
+ id: Scalars['ID']['input'];
1422
1514
  };
1423
1515
  export type MutationUpdateCompanyArgs = {
1424
1516
  data?: InputMaybe<CompanyInput>;
@@ -1707,6 +1799,11 @@ export type PasswordInput = {
1707
1799
  oldPassword?: InputMaybe<Scalars['String']['input']>;
1708
1800
  password?: InputMaybe<Scalars['String']['input']>;
1709
1801
  };
1802
+ export type PeakKw = {
1803
+ __typename?: 'PeakKW';
1804
+ time?: Maybe<Scalars['String']['output']>;
1805
+ value?: Maybe<Scalars['Float']['output']>;
1806
+ };
1710
1807
  export type PeakKwh = {
1711
1808
  __typename?: 'PeakKWH';
1712
1809
  lastUpdated?: Maybe<Scalars['String']['output']>;
@@ -1751,11 +1848,12 @@ export type PurchaseOrder = {
1751
1848
  date?: Maybe<Scalars['String']['output']>;
1752
1849
  deliveryDate?: Maybe<Scalars['String']['output']>;
1753
1850
  expectedDeliveryDate?: Maybe<Scalars['String']['output']>;
1851
+ expectedStartDate?: Maybe<Scalars['String']['output']>;
1754
1852
  id: Scalars['ID']['output'];
1755
1853
  no?: Maybe<Scalars['String']['output']>;
1756
1854
  paymentTerm?: Maybe<Scalars['String']['output']>;
1757
1855
  price?: Maybe<Scalars['Int']['output']>;
1758
- projectNumber?: Maybe<Scalars['String']['output']>;
1856
+ projectId?: Maybe<Scalars['String']['output']>;
1759
1857
  quantity?: Maybe<Scalars['Int']['output']>;
1760
1858
  };
1761
1859
  export type PurchaseOrderResponse = GeneralResponse | InventoryPurchaseOrderResponse;
@@ -1804,6 +1902,7 @@ export type Query = {
1804
1902
  fetchInventoryBasicTables?: Maybe<Array<Maybe<InventoryBasicTables>>>;
1805
1903
  fetchInventoryColumns?: Maybe<Array<Maybe<InventoryColumns>>>;
1806
1904
  fetchInventoryCustomers?: Maybe<Array<Maybe<InventoryCustomers>>>;
1905
+ fetchInventoryImages?: Maybe<Array<Maybe<Image>>>;
1807
1906
  fetchInventoryInwards?: Maybe<InventoryInwards>;
1808
1907
  fetchInventoryMachines?: Maybe<Array<Maybe<InventoryMachines>>>;
1809
1908
  fetchInventoryStatuses?: Maybe<Array<Maybe<InventoryStatus>>>;
@@ -1815,6 +1914,8 @@ export type Query = {
1815
1914
  fetchInventorySuppliers?: Maybe<Array<Maybe<InventorySuppliers>>>;
1816
1915
  fetchInventoryTable?: Maybe<InventoryTable>;
1817
1916
  fetchInventoryTables?: Maybe<InventoryTable>;
1917
+ fetchInventoryWorkSchedule?: Maybe<InventoryWorkSchedule>;
1918
+ fetchInventoryWorkSchedules?: Maybe<InventoryWorkSchedule>;
1818
1919
  fetchLastMessagesFromMqtt?: Maybe<LastMessagesFromMqtt>;
1819
1920
  fetchLiveCurrentForPeriod?: Maybe<Array<Maybe<LiveCurrentForPeriod>>>;
1820
1921
  fetchLiveGraphPageData?: Maybe<LiveGraphPageData>;
@@ -2000,6 +2101,9 @@ export type QueryFetchInventoryTablesArgs = {
2000
2101
  basicTableIds?: InputMaybe<Array<Scalars['ID']['input']>>;
2001
2102
  properties?: InputMaybe<Scalars['JSON']['input']>;
2002
2103
  };
2104
+ export type QueryFetchInventoryWorkScheduleArgs = {
2105
+ data?: InputMaybe<Scalars['JSON']['input']>;
2106
+ };
2003
2107
  export type QueryFetchLastMessagesFromMqttArgs = {
2004
2108
  queryData?: InputMaybe<LastMessagesFromMqttInput>;
2005
2109
  };
@@ -2168,6 +2272,7 @@ export type TempDataTable = {
2168
2272
  peakKW?: Maybe<Scalars['JSON']['output']>;
2169
2273
  peakKWH?: Maybe<PeakKwh>;
2170
2274
  peakKWHsArray?: Maybe<Array<Maybe<PeakKwh>>>;
2275
+ peakKWsArray?: Maybe<Array<Maybe<PeakKw>>>;
2171
2276
  peaksAndLows?: Maybe<Scalars['JSON']['output']>;
2172
2277
  pkt?: Maybe<Scalars['String']['output']>;
2173
2278
  readingEndDate?: Maybe<Scalars['Date']['output']>;
@@ -2216,6 +2321,7 @@ export type UserInfo = {
2216
2321
  email?: Maybe<Scalars['EmailAddress']['output']>;
2217
2322
  firstName?: Maybe<Scalars['String']['output']>;
2218
2323
  lastName?: Maybe<Scalars['String']['output']>;
2324
+ password?: Maybe<Scalars['String']['output']>;
2219
2325
  phone?: Maybe<Scalars['PhoneNumber']['output']>;
2220
2326
  status?: Maybe<Scalars['String']['output']>;
2221
2327
  userType?: Maybe<Scalars['String']['output']>;
@@ -2257,6 +2363,12 @@ export type UtilizationDataForGraph = {
2257
2363
  datesArray?: Maybe<Array<Maybe<Scalars['String']['output']>>>;
2258
2364
  deviceName?: Maybe<Scalars['String']['output']>;
2259
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
+ };
2260
2372
  export type ForgotInput = {
2261
2373
  email?: InputMaybe<Scalars['EmailAddress']['input']>;
2262
2374
  };