@mjtech-ems/schema 1.3.41 → 1.3.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generated/index.d.ts +61 -0
- package/dist/mjtech-inventory-tracking.js +1 -1
- package/package.json +25 -42
- package/generated/index.ts +0 -2954
- package/index.ts +0 -6
- package/mergedSchema.ts +0 -18
- package/mjtech-ems.ts +0 -1339
- package/mjtech-eqms.ts +0 -312
- package/mjtech-inventory-tracking.ts +0 -601
- package/mjtech-ngu.ts +0 -342
|
@@ -877,6 +877,43 @@ export type InventoryMachines = {
|
|
|
877
877
|
id: Scalars['ID']['output'];
|
|
878
878
|
name?: Maybe<Scalars['String']['output']>;
|
|
879
879
|
};
|
|
880
|
+
export type InventoryOffer = {
|
|
881
|
+
__typename?: 'InventoryOffer';
|
|
882
|
+
customer?: Maybe<Scalars['ID']['output']>;
|
|
883
|
+
daysAfter?: Maybe<Scalars['Int']['output']>;
|
|
884
|
+
dueDate?: Maybe<Scalars['Date']['output']>;
|
|
885
|
+
id?: Maybe<Scalars['ID']['output']>;
|
|
886
|
+
lastFollowDate?: Maybe<Scalars['Date']['output']>;
|
|
887
|
+
nextFollowDate?: Maybe<Scalars['Date']['output']>;
|
|
888
|
+
notes?: Maybe<Scalars['String']['output']>;
|
|
889
|
+
offerDate?: Maybe<Scalars['Date']['output']>;
|
|
890
|
+
offerNo?: Maybe<Scalars['String']['output']>;
|
|
891
|
+
offerPrice?: Maybe<Scalars['String']['output']>;
|
|
892
|
+
overDueDate?: Maybe<Scalars['Date']['output']>;
|
|
893
|
+
poPrice?: Maybe<Scalars['String']['output']>;
|
|
894
|
+
previousStatus?: Maybe<Scalars['String']['output']>;
|
|
895
|
+
requirement?: Maybe<Scalars['ID']['output']>;
|
|
896
|
+
status?: Maybe<Scalars['String']['output']>;
|
|
897
|
+
totalFollowed?: Maybe<Scalars['Int']['output']>;
|
|
898
|
+
};
|
|
899
|
+
export type InventoryOfferInput = {
|
|
900
|
+
customer?: InputMaybe<Scalars['ID']['input']>;
|
|
901
|
+
daysAfter?: InputMaybe<Scalars['Int']['input']>;
|
|
902
|
+
dueDate?: InputMaybe<Scalars['String']['input']>;
|
|
903
|
+
lastFollowDate?: InputMaybe<Scalars['String']['input']>;
|
|
904
|
+
nextFollowDate?: InputMaybe<Scalars['String']['input']>;
|
|
905
|
+
notes?: InputMaybe<Scalars['String']['input']>;
|
|
906
|
+
offerDate?: InputMaybe<Scalars['String']['input']>;
|
|
907
|
+
offerNo?: InputMaybe<Scalars['String']['input']>;
|
|
908
|
+
offerPrice?: InputMaybe<Scalars['String']['input']>;
|
|
909
|
+
overDueDate?: InputMaybe<Scalars['String']['input']>;
|
|
910
|
+
poPrice?: InputMaybe<Scalars['String']['input']>;
|
|
911
|
+
previousStatus?: InputMaybe<Scalars['String']['input']>;
|
|
912
|
+
requirement?: InputMaybe<Scalars['ID']['input']>;
|
|
913
|
+
status?: InputMaybe<Scalars['String']['input']>;
|
|
914
|
+
totalFollowed?: InputMaybe<Scalars['Int']['input']>;
|
|
915
|
+
};
|
|
916
|
+
export type InventoryOfferResponse = GeneralResponse | OfferResponse;
|
|
880
917
|
export type InventoryOutwardResponse = {
|
|
881
918
|
__typename?: 'InventoryOutwardResponse';
|
|
882
919
|
message?: Maybe<Scalars['String']['output']>;
|
|
@@ -1138,6 +1175,7 @@ export type Mutation = {
|
|
|
1138
1175
|
addInventoryImage?: Maybe<GeneralResponse>;
|
|
1139
1176
|
addInventoryMachine?: Maybe<AddInventoryMachineResponse>;
|
|
1140
1177
|
addInventoryMaterialOrderStatus?: Maybe<GeneralResponse>;
|
|
1178
|
+
addInventoryOffer?: Maybe<InventoryOfferResponse>;
|
|
1141
1179
|
addInventoryStatus?: Maybe<GeneralResponse>;
|
|
1142
1180
|
addInventoryStorage?: Maybe<AddInventoryStorageResponse>;
|
|
1143
1181
|
addInventorySubBasicTable?: Maybe<GeneralResponse>;
|
|
@@ -1178,6 +1216,7 @@ export type Mutation = {
|
|
|
1178
1216
|
deleteInventoryImage?: Maybe<GeneralResponse>;
|
|
1179
1217
|
deleteInventoryMachine?: Maybe<GeneralResponse>;
|
|
1180
1218
|
deleteInventoryMaterialOrderStatus?: Maybe<GeneralResponse>;
|
|
1219
|
+
deleteInventoryOffer?: Maybe<GeneralResponse>;
|
|
1181
1220
|
deleteInventoryStatus?: Maybe<GeneralResponse>;
|
|
1182
1221
|
deleteInventoryStorage?: Maybe<GeneralResponse>;
|
|
1183
1222
|
deleteInventorySubBasicTable?: Maybe<GeneralResponse>;
|
|
@@ -1196,6 +1235,7 @@ export type Mutation = {
|
|
|
1196
1235
|
editInventoryCustomer?: Maybe<GeneralResponse>;
|
|
1197
1236
|
editInventoryMachine?: Maybe<GeneralResponse>;
|
|
1198
1237
|
editInventoryMaterialOrderStatus?: Maybe<GeneralResponse>;
|
|
1238
|
+
editInventoryOffer?: Maybe<GeneralResponse>;
|
|
1199
1239
|
editInventoryStatus?: Maybe<GeneralResponse>;
|
|
1200
1240
|
editInventoryStorage?: Maybe<GeneralResponse>;
|
|
1201
1241
|
editInventorySubBasicTable?: Maybe<GeneralResponse>;
|
|
@@ -1262,6 +1302,9 @@ export type MutationAddInventoryMachineArgs = {
|
|
|
1262
1302
|
export type MutationAddInventoryMaterialOrderStatusArgs = {
|
|
1263
1303
|
data?: InputMaybe<MaterialOrderStatusInput>;
|
|
1264
1304
|
};
|
|
1305
|
+
export type MutationAddInventoryOfferArgs = {
|
|
1306
|
+
data?: InputMaybe<InventoryOfferInput>;
|
|
1307
|
+
};
|
|
1265
1308
|
export type MutationAddInventoryStatusArgs = {
|
|
1266
1309
|
data?: InputMaybe<InventoryStatusInput>;
|
|
1267
1310
|
};
|
|
@@ -1398,6 +1441,9 @@ export type MutationDeleteInventoryMachineArgs = {
|
|
|
1398
1441
|
export type MutationDeleteInventoryMaterialOrderStatusArgs = {
|
|
1399
1442
|
id: Scalars['ID']['input'];
|
|
1400
1443
|
};
|
|
1444
|
+
export type MutationDeleteInventoryOfferArgs = {
|
|
1445
|
+
id: Scalars['ID']['input'];
|
|
1446
|
+
};
|
|
1401
1447
|
export type MutationDeleteInventoryStatusArgs = {
|
|
1402
1448
|
id: Scalars['ID']['input'];
|
|
1403
1449
|
};
|
|
@@ -1462,6 +1508,10 @@ export type MutationEditInventoryMaterialOrderStatusArgs = {
|
|
|
1462
1508
|
data?: InputMaybe<MaterialOrderStatusInput>;
|
|
1463
1509
|
id: Scalars['ID']['input'];
|
|
1464
1510
|
};
|
|
1511
|
+
export type MutationEditInventoryOfferArgs = {
|
|
1512
|
+
data?: InputMaybe<InventoryOfferInput>;
|
|
1513
|
+
id: Scalars['ID']['input'];
|
|
1514
|
+
};
|
|
1465
1515
|
export type MutationEditInventoryStatusArgs = {
|
|
1466
1516
|
data?: InputMaybe<InventoryStatusInput>;
|
|
1467
1517
|
id: Scalars['ID']['input'];
|
|
@@ -1826,6 +1876,12 @@ export type OffTimeInput = {
|
|
|
1826
1876
|
endDate?: InputMaybe<Scalars['String']['input']>;
|
|
1827
1877
|
startDate?: InputMaybe<Scalars['String']['input']>;
|
|
1828
1878
|
};
|
|
1879
|
+
export type OfferResponse = {
|
|
1880
|
+
__typename?: 'OfferResponse';
|
|
1881
|
+
id: Scalars['ID']['output'];
|
|
1882
|
+
message?: Maybe<Scalars['String']['output']>;
|
|
1883
|
+
status?: Maybe<Scalars['String']['output']>;
|
|
1884
|
+
};
|
|
1829
1885
|
export type OutwardResponse = GeneralResponse | InventoryOutwardResponse;
|
|
1830
1886
|
export type PasswordInput = {
|
|
1831
1887
|
confirmPassword?: InputMaybe<Scalars['String']['input']>;
|
|
@@ -1939,6 +1995,8 @@ export type Query = {
|
|
|
1939
1995
|
fetchInventoryInwards?: Maybe<InventoryInwards>;
|
|
1940
1996
|
fetchInventoryMachines?: Maybe<Array<Maybe<InventoryMachines>>>;
|
|
1941
1997
|
fetchInventoryMaterialOrderStatus?: Maybe<Array<Maybe<MaterialOrderStatus>>>;
|
|
1998
|
+
fetchInventoryOffer?: Maybe<InventoryOffer>;
|
|
1999
|
+
fetchInventoryOffers?: Maybe<Array<Maybe<InventoryOffer>>>;
|
|
1942
2000
|
fetchInventoryStatuses?: Maybe<Array<Maybe<InventoryStatus>>>;
|
|
1943
2001
|
fetchInventoryStorages?: Maybe<Array<Maybe<InventoryStorage>>>;
|
|
1944
2002
|
fetchInventorySubBasicTables?: Maybe<Array<Maybe<InventorySubBasicTables>>>;
|
|
@@ -2111,6 +2169,9 @@ export type QueryFetchInventoryInwardsArgs = {
|
|
|
2111
2169
|
data?: InputMaybe<Array<InputMaybe<Scalars['JSON']['input']>>>;
|
|
2112
2170
|
properties?: InputMaybe<Scalars['JSON']['input']>;
|
|
2113
2171
|
};
|
|
2172
|
+
export type QueryFetchInventoryOfferArgs = {
|
|
2173
|
+
id?: InputMaybe<Scalars['ID']['input']>;
|
|
2174
|
+
};
|
|
2114
2175
|
export type QueryFetchInventorySubCategoryInwardsArgs = {
|
|
2115
2176
|
data?: InputMaybe<Array<InputMaybe<Scalars['JSON']['input']>>>;
|
|
2116
2177
|
properties?: InputMaybe<Scalars['JSON']['input']>;
|
|
@@ -6,5 +6,5 @@ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cook
|
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
7
|
exports.inventory_tracking_schema = void 0;
|
|
8
8
|
var graphql_tag_1 = require("graphql-tag");
|
|
9
|
-
exports.inventory_tracking_schema = (0, graphql_tag_1.gql)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n type Query {\n fetchInventoryCustomers: [InventoryCustomers]\n fetchInventorySuppliers: [InventorySuppliers]\n fetchInventoryColumns: [InventoryColumns]\n # table structure example - rawmaterial, toolacessory\n fetchInventoryBasicTables: [InventoryBasicTables] # category\n fetchInventorySubBasicTables: [InventorySubBasicTables]\n # individual table that has array of data example - rawmaterial [], toolacessory []\n fetchInventoryTable(\n basicTableId: ID!\n properties: JSON\n companyId: ID\n ): InventoryTable\n fetchInventoryTables(\n basicTableIds: [ID!]\n properties: JSON\n ): InventoryTable\n\n fetchInventorySubCategoryTable(\n basicTableId: ID!\n subBasicTableId: ID!\n properties: JSON\n companyId: ID\n ): InventorySubCategoryTable\n fetchInventorySubCategoryTables(\n basicTableIds: [ID!]\n subBasicTableIds: [ID!]\n properties: JSON\n ): InventorySubCategoryTable\n fetchInventoryInwards(data: [JSON], properties: JSON): InventoryInwards\n fetchInventorySubCategoryInwards(\n data: [JSON]\n properties: JSON\n ): InventoryInwards\n fetchBillings(filter: JSON): [Billing]\n fetchPurchaseOrders(filter: JSON): [PurchaseOrder]\n fetchDataFromInwardOrOutward(\n basicTableId: ID\n transactionType: String\n itemType: String\n startDate: String\n endDate: String\n ): InwardOrOutWardData\n fetchDataFromInwardOrOutwardSubCategoryTable(\n basicTableId: ID\n subBasicTableId: ID\n transactionType: String\n itemType: String\n startDate: String\n endDate: String\n ): InwardOrOutWardData\n fetchInventoryStatuses: [InventoryStatus]\n\n fetchInventoryMachines: [InventoryMachines]\n fetchInventoryStorages: [InventoryStorage]\n\n fetchProjects: ProjectType\n fetchAllInventoryTableItems(properties: JSON): AllInventoryTableItems\n fetchAllInventorySubCategoryTableItems(\n properties: JSON\n ): AllInventoryTableItems\n fetchInventoryWorkSchedules: InventoryWorkSchedule\n fetchInventoryWorkSchedule(data: JSON): InventoryWorkSchedule\n fetchInventoryImages: [Image]\n\n fetchInventoryMaterialOrderStatus: [MaterialOrderStatus]\n }\n\n type Mutation {\n addInventoryCustomer(\n data: InventoryCustomerInput\n ): AddInventoryCustomerResponse\n editInventoryCustomer(\n data: InventoryCustomerInput\n id: ID!\n ): GeneralResponse\n deleteInventoryCustomer(id: ID!): GeneralResponse\n addInventorySupplier(\n data: InventorySupplierInput\n ): AddInventorySupplierResponse\n editInventorySupplier(\n data: InventorySupplierInput\n id: ID!\n ): GeneralResponse\n deleteInventorySupplier(id: ID!): GeneralResponse\n\n addInventoryColumn(queryData: InventoryColumnInput): GeneralResponse\n editInventoryColumn(\n data: InventoryColumnInput\n id: ID!\n ): GeneralResponse\n deleteInventoryColumn(id: ID!): GeneralResponse\n # table structure example - rawmaterial, toolacessory\n addInventoryBasicTable(\n queryData: InventoryBasicTableInput\n ): GeneralResponse\n editInventoryBasicTable(\n data: InventoryBasicTableInput\n id: ID!\n ): GeneralResponse\n deleteInventoryBasicTable(id: ID!): GeneralResponse\n # individual table that has array of data example - rawmaterial [], toolacessory []\n addInventoryTableFor(\n basicTableId: ID!\n data: JSON\n ): AddInventoryTableForResponse\n addManyInventoryTableFor(\n basicTableId: ID!\n data: [JSON]\n ): GeneralResponse\n editInventoryTableFor(\n basicTableId: ID!\n tableId: ID!\n data: JSON\n ): GeneralResponse\n editManyInventoryTableFor(data: [JSON]): GeneralResponse\n deleteInventoryTableFor(\n basicTableId: ID!\n tableId: ID!\n ): GeneralResponse\n #sub basi\n addInventorySubBasicTable(\n queryData: InventorySubBasicTableInput\n ): GeneralResponse\n editInventorySubBasicTable(\n data: InventorySubBasicTableInput\n id: ID!\n ): GeneralResponse\n deleteInventorySubBasicTable(id: ID!): GeneralResponse\n #sub category\n addInventorySubCategoryTableFor(\n basicTableId: ID!\n subBasicTableId: ID!\n data: JSON\n ): AddInventorySubCategoryTableForResponse\n addManyInventorySubCategoryTableFor(\n basicTableId: ID!\n subBasicTableId: ID!\n data: [JSON]\n ): GeneralResponse\n editInventorySubCategoryTableFor(\n basicTableId: ID!\n subBasicTableId: ID!\n tableId: ID!\n data: JSON\n ): GeneralResponse\n editManyInventorySubCategoryTableFor(data: [JSON]): GeneralResponse\n deleteInventorySubCategoryTableFor(\n basicTableId: ID!\n subBasicTableId: ID!\n tableId: ID!\n ): GeneralResponse\n #add Billing\n addBilling(data: BillingInput): BillingResponse\n editBilling(id: ID!, data: BillingInput): GeneralResponse\n #add PO\n addPurchaseOrder(data: JSON): PurchaseOrderResponse\n editPurchaseOrder(id: ID!, data: JSON): GeneralResponse\n #add inward\n addItemInInward(basicTableId: ID!, data: JSON): InwardResponse\n #add outward\n addItemInOutward(basicTableId: ID!, data: JSON): OutwardResponse\n #to scrap\n moveItemToScrap(\n scrapTableId: ID!\n basicTableId: ID!\n data: JSON\n ): GeneralResponse\n #sub category\n #add inward\n addSubCategoryItemInInward(\n basicTableId: ID!\n subBasicTableId: ID!\n data: JSON\n ): InwardResponse\n #add outward\n addSubCategoryItemInOutward(\n basicTableId: ID!\n subBasicTableId: ID!\n data: JSON\n ): OutwardResponse\n #to scrap\n moveSubCategoryItemToScrap(\n scrapTableId: ID!\n scrapSubBasicTableId: String\n basicTableId: ID!\n subBasicTableId: ID!\n data: JSON\n ): GeneralResponse\n #InventoryStatus#\n addInventoryStatus(data: InventoryStatusInput): GeneralResponse\n editInventoryStatus(\n id: ID!\n data: InventoryStatusInput\n ): GeneralResponse\n deleteInventoryStatus(id: ID!): GeneralResponse\n #InventoryMachiness#\n addInventoryMachine(\n data: InventoryMachineInput\n ): AddInventoryMachineResponse\n editInventoryMachine(\n id: ID!\n data: InventoryMachineInput\n ): GeneralResponse\n deleteInventoryMachine(id: ID!): GeneralResponse\n #InventoryStorage#\n addInventoryStorage(\n data: InventoryStorageInput\n ): AddInventoryStorageResponse\n editInventoryStorage(\n id: ID!\n data: InventoryStorageInput\n ): GeneralResponse\n deleteInventoryStorage(id: ID!): GeneralResponse\n\n createProject(data: JSON): InventoryCreateProjectResponse\n editProject(id: ID!, data: JSON): GeneralResponse\n changeProjectStatus(id: ID!, status: Int): GeneralResponse\n\n #change item status\n changeInventoryItemStatus(\n id: ID!\n basicTableId: ID\n subBasicTableId: String\n data: JSON\n ): GeneralResponse\n addInventoryImage(data: ImageInput): GeneralResponse\n deleteInventoryImage(id: ID!): GeneralResponse\n\n addInventoryWorkSchedule(data: JSON): InventoryWorkScheduleResponse\n editInventoryWorkSchedule(id: ID!, data: JSON): GeneralResponse\n deleteInventoryWorkSchedule(id: ID!): GeneralResponse\n addManyInventoryWorkSchedule(data: [JSON]): GeneralResponse\n editManyInventoryWorkSchedule(data: [JSON]): GeneralResponse\n deleteManyInventoryWorkSchedule(ids: [ID!]): GeneralResponse\n\n addInventoryMaterialOrderStatus(\n data: MaterialOrderStatusInput\n ): GeneralResponse\n editInventoryMaterialOrderStatus(\n id: ID!\n data: MaterialOrderStatusInput\n ): GeneralResponse\n deleteInventoryMaterialOrderStatus(id: ID!): GeneralResponse\n }\n #input\n input InventoryCustomerInput {\n companyId: ID\n name: String\n email: EmailAddress\n phone: String\n gstNumber: String\n }\n input InventorySupplierInput {\n companyId: ID\n name: String\n email: EmailAddress\n phone: String\n gstNumber: String\n }\n input InventoryColumnInput {\n dbName: String\n customName: String\n type: String\n }\n input InventoryBasicTableInput {\n tableName: String\n tableAlias: String\n companyId: ID\n columnIds: [ID]\n isStock: Boolean\n isVisible: Boolean\n isReturnable: Boolean\n isProduct: Boolean\n isScrap: Boolean\n }\n input InventorySubBasicTableInput {\n basicTableId: String\n tableName: String\n tableAlias: String\n companyId: ID\n columnIds: [ID]\n }\n input InventoryStatusInput {\n basicTableId: ID!\n message: String\n color: String\n }\n input InventoryMachineInput {\n name: String\n companyId: ID!\n }\n input InventoryStorageInput {\n name: String\n companyId: ID!\n }\n input BillingInput {\n billNumber: String\n date: Date\n suppliedBy: String\n freight: Float\n givenBy: String\n isIGST: Boolean\n verifiedBy: String\n cgstTotal: Float\n igstTotal: Float\n sgstTotal: Float\n roundOff: Float\n totalBillValue: Float\n otherThanBillExpenses: Float\n loadingAndUnloadingCharges: Float\n otherCharges: Float\n transportedBy: String\n transportAmount: Float\n freightGSTPercentage: Int\n #freightGSTValue: Float\n pf: Float\n pfGSTPercentage: Int\n #pfGSTValue: Float\n items: [JSON]\n }\n input MaterialOrderStatusInput {\n supplier: ID\n itemId: String\n description: String\n orderedDate: Date\n expectedDate: Date\n payment: String\n status: Int\n }\n input ImageInput {\n name: String\n imgstr: String\n }\n type InventoryCustomerResponse {\n customerId: ID!\n message: String\n status: String\n }\n type InventorySupplierResponse {\n supplierId: ID!\n message: String\n status: String\n }\n type InventoryMachineResponse {\n machineId: ID!\n message: String\n status: String\n }\n type InventoryStorageResponse {\n storageId: ID!\n message: String\n status: String\n }\n type InventoryBillingResponse {\n billingId: ID!\n message: String\n status: String\n }\n type InventoryPurchaseOrderResponse {\n purchaseOrderId: ID!\n message: String\n status: String\n }\n type InventoryTableForResponse {\n inventoryTableForId: ID!\n message: String\n status: String\n }\n type InventorySubCategoryTableForResponse {\n inventorySubCategoryTableForId: ID!\n message: String\n status: String\n }\n type InventoryOutwardResponse {\n outwardItemId: ID!\n message: String\n status: String\n }\n type InventoryInwardResponse {\n inwardItemId: ID!\n message: String\n status: String\n }\n type WorkScheduleResponse {\n Id: ID!\n message: String\n status: String\n }\n\n type CreateProjectResponse {\n id: ID!\n message: String\n status: String\n }\n union AddInventoryCustomerResponse =\n | InventoryCustomerResponse\n | GeneralResponse\n union AddInventorySupplierResponse =\n | InventorySupplierResponse\n | GeneralResponse\n\n union AddInventoryMachineResponse =\n | InventoryMachineResponse\n | GeneralResponse\n union AddInventoryStorageResponse =\n | InventoryStorageResponse\n | GeneralResponse\n union BillingResponse = InventoryBillingResponse | GeneralResponse\n union PurchaseOrderResponse =\n | InventoryPurchaseOrderResponse\n | GeneralResponse\n union AddInventoryTableForResponse =\n | InventoryTableForResponse\n | GeneralResponse\n union OutwardResponse = InventoryOutwardResponse | GeneralResponse\n union InwardResponse = InventoryInwardResponse | GeneralResponse\n union AddInventorySubCategoryTableForResponse =\n | InventorySubCategoryTableForResponse\n | GeneralResponse\n union InventoryWorkScheduleResponse = WorkScheduleResponse | GeneralResponse\n union InventoryCreateProjectResponse =\n | CreateProjectResponse\n | GeneralResponse\n # input EqmsDeviceListInput {\n # status: String\n # companyId: ID\n # }\n\n # input DepartmentsInput {\n # name: String\n # companyId: ID\n # value: String\n # appType: String\n # userAllowedPages: [String]\n # }\n # input EditManyDepartmentsInput {\n # id: ID\n # data: DepartmentsInput\n # }\n type InventoryCustomers {\n id: ID!\n companyId: ID!\n name: String\n email: EmailAddress\n phone: String\n gstNumber: String\n }\n type InventorySuppliers {\n id: ID!\n companyId: ID!\n name: String\n email: EmailAddress\n phone: String\n gstNumber: String\n }\n type InventoryColumns {\n id: ID!\n dbName: String\n customName: String\n type: String\n }\n type InventoryTable {\n value: [JSON]\n }\n type InventoryBasicTables {\n id: ID!\n companyId: ID\n tableName: String\n tableAlias: String\n columns: [InventoryColumns]\n isStock: Boolean\n isVisible: Boolean\n isReturnable: Boolean\n isProduct: Boolean\n isScrap: Boolean\n }\n type InventorySubBasicTables {\n id: ID!\n basicTableId: ID!\n companyId: ID\n tableName: String\n tableAlias: String\n columns: [InventoryColumns]\n }\n type InventorySubCategoryTable {\n value: [JSON]\n }\n type InwardOrOutWardData {\n value: [JSON]\n }\n type InventoryStatus {\n id: ID!\n basicTableId: ID!\n message: String\n color: String\n }\n type InventoryMachines {\n id: ID!\n name: String\n companyId: ID!\n }\n type InventoryStorage {\n id: ID!\n name: String\n companyId: ID!\n }\n type ProjectType {\n value: [JSON]\n }\n type Billing {\n id: ID\n billNumber: String\n date: Date\n suppliedBy: String\n freight: Float\n givenBy: String\n isIGST: Boolean\n verifiedBy: String\n cgstTotal: Float\n igstTotal: Float\n sgstTotal: Float\n roundOff: Float\n totalBillValue: Float\n otherThanBillExpenses: Float\n loadingAndUnloadingCharges: Float\n otherCharges: Float\n transportedBy: String\n transportAmount: Float\n freightGSTPercentage: Int\n #freightGSTValue: Float\n pf: Int\n pfGSTPercentage: Int\n #pfGSTValue: Float\n items: [JSON]\n }\n type PurchaseOrder {\n id: ID!\n no: String\n projectId: String\n # projectNumber: String\n # projectName: String\n date: String\n quantity: Int\n price: Int\n paymentTerm: String\n deliveryDate: String\n expectedStartDate: String\n expectedDeliveryDate: String\n }\n type InventoryInwards {\n value: [JSON]\n }\n type AllInventoryTableItems {\n value: [JSON]\n }\n type InventoryWorkSchedule {\n value: [JSON]\n }\n type MaterialOrderStatus {\n id: ID!\n supplier: ID\n itemId: String\n description: String\n orderedDate: Date\n expectedDate: Date\n payment: String\n status: Int\n }\n type Image {\n id: ID\n name: String\n imgstr: String\n }\n # type Machines {\n # id: ID!\n # name: String\n # }\n\n enum Brand {\n MJTECH\n }\n\n enum ErrorType {\n BAD_REQUEST\n BAD_USER_INPUT\n GRAPHQL_PARSE_FAILED\n GRAPHQL_VALIDATION_FAILED\n INTERNAL_SERVER_ERROR\n NOT_FOUND\n UNAUTHORIZED\n }\n schema {\n query: Query\n mutation: Mutation\n }\n"], ["\n type Query {\n fetchInventoryCustomers: [InventoryCustomers]\n fetchInventorySuppliers: [InventorySuppliers]\n fetchInventoryColumns: [InventoryColumns]\n # table structure example - rawmaterial, toolacessory\n fetchInventoryBasicTables: [InventoryBasicTables] # category\n fetchInventorySubBasicTables: [InventorySubBasicTables]\n # individual table that has array of data example - rawmaterial [], toolacessory []\n fetchInventoryTable(\n basicTableId: ID!\n properties: JSON\n companyId: ID\n ): InventoryTable\n fetchInventoryTables(\n basicTableIds: [ID!]\n properties: JSON\n ): InventoryTable\n\n fetchInventorySubCategoryTable(\n basicTableId: ID!\n subBasicTableId: ID!\n properties: JSON\n companyId: ID\n ): InventorySubCategoryTable\n fetchInventorySubCategoryTables(\n basicTableIds: [ID!]\n subBasicTableIds: [ID!]\n properties: JSON\n ): InventorySubCategoryTable\n fetchInventoryInwards(data: [JSON], properties: JSON): InventoryInwards\n fetchInventorySubCategoryInwards(\n data: [JSON]\n properties: JSON\n ): InventoryInwards\n fetchBillings(filter: JSON): [Billing]\n fetchPurchaseOrders(filter: JSON): [PurchaseOrder]\n fetchDataFromInwardOrOutward(\n basicTableId: ID\n transactionType: String\n itemType: String\n startDate: String\n endDate: String\n ): InwardOrOutWardData\n fetchDataFromInwardOrOutwardSubCategoryTable(\n basicTableId: ID\n subBasicTableId: ID\n transactionType: String\n itemType: String\n startDate: String\n endDate: String\n ): InwardOrOutWardData\n fetchInventoryStatuses: [InventoryStatus]\n\n fetchInventoryMachines: [InventoryMachines]\n fetchInventoryStorages: [InventoryStorage]\n\n fetchProjects: ProjectType\n fetchAllInventoryTableItems(properties: JSON): AllInventoryTableItems\n fetchAllInventorySubCategoryTableItems(\n properties: JSON\n ): AllInventoryTableItems\n fetchInventoryWorkSchedules: InventoryWorkSchedule\n fetchInventoryWorkSchedule(data: JSON): InventoryWorkSchedule\n fetchInventoryImages: [Image]\n\n fetchInventoryMaterialOrderStatus: [MaterialOrderStatus]\n }\n\n type Mutation {\n addInventoryCustomer(\n data: InventoryCustomerInput\n ): AddInventoryCustomerResponse\n editInventoryCustomer(\n data: InventoryCustomerInput\n id: ID!\n ): GeneralResponse\n deleteInventoryCustomer(id: ID!): GeneralResponse\n addInventorySupplier(\n data: InventorySupplierInput\n ): AddInventorySupplierResponse\n editInventorySupplier(\n data: InventorySupplierInput\n id: ID!\n ): GeneralResponse\n deleteInventorySupplier(id: ID!): GeneralResponse\n\n addInventoryColumn(queryData: InventoryColumnInput): GeneralResponse\n editInventoryColumn(\n data: InventoryColumnInput\n id: ID!\n ): GeneralResponse\n deleteInventoryColumn(id: ID!): GeneralResponse\n # table structure example - rawmaterial, toolacessory\n addInventoryBasicTable(\n queryData: InventoryBasicTableInput\n ): GeneralResponse\n editInventoryBasicTable(\n data: InventoryBasicTableInput\n id: ID!\n ): GeneralResponse\n deleteInventoryBasicTable(id: ID!): GeneralResponse\n # individual table that has array of data example - rawmaterial [], toolacessory []\n addInventoryTableFor(\n basicTableId: ID!\n data: JSON\n ): AddInventoryTableForResponse\n addManyInventoryTableFor(\n basicTableId: ID!\n data: [JSON]\n ): GeneralResponse\n editInventoryTableFor(\n basicTableId: ID!\n tableId: ID!\n data: JSON\n ): GeneralResponse\n editManyInventoryTableFor(data: [JSON]): GeneralResponse\n deleteInventoryTableFor(\n basicTableId: ID!\n tableId: ID!\n ): GeneralResponse\n #sub basi\n addInventorySubBasicTable(\n queryData: InventorySubBasicTableInput\n ): GeneralResponse\n editInventorySubBasicTable(\n data: InventorySubBasicTableInput\n id: ID!\n ): GeneralResponse\n deleteInventorySubBasicTable(id: ID!): GeneralResponse\n #sub category\n addInventorySubCategoryTableFor(\n basicTableId: ID!\n subBasicTableId: ID!\n data: JSON\n ): AddInventorySubCategoryTableForResponse\n addManyInventorySubCategoryTableFor(\n basicTableId: ID!\n subBasicTableId: ID!\n data: [JSON]\n ): GeneralResponse\n editInventorySubCategoryTableFor(\n basicTableId: ID!\n subBasicTableId: ID!\n tableId: ID!\n data: JSON\n ): GeneralResponse\n editManyInventorySubCategoryTableFor(data: [JSON]): GeneralResponse\n deleteInventorySubCategoryTableFor(\n basicTableId: ID!\n subBasicTableId: ID!\n tableId: ID!\n ): GeneralResponse\n #add Billing\n addBilling(data: BillingInput): BillingResponse\n editBilling(id: ID!, data: BillingInput): GeneralResponse\n #add PO\n addPurchaseOrder(data: JSON): PurchaseOrderResponse\n editPurchaseOrder(id: ID!, data: JSON): GeneralResponse\n #add inward\n addItemInInward(basicTableId: ID!, data: JSON): InwardResponse\n #add outward\n addItemInOutward(basicTableId: ID!, data: JSON): OutwardResponse\n #to scrap\n moveItemToScrap(\n scrapTableId: ID!\n basicTableId: ID!\n data: JSON\n ): GeneralResponse\n #sub category\n #add inward\n addSubCategoryItemInInward(\n basicTableId: ID!\n subBasicTableId: ID!\n data: JSON\n ): InwardResponse\n #add outward\n addSubCategoryItemInOutward(\n basicTableId: ID!\n subBasicTableId: ID!\n data: JSON\n ): OutwardResponse\n #to scrap\n moveSubCategoryItemToScrap(\n scrapTableId: ID!\n scrapSubBasicTableId: String\n basicTableId: ID!\n subBasicTableId: ID!\n data: JSON\n ): GeneralResponse\n #InventoryStatus#\n addInventoryStatus(data: InventoryStatusInput): GeneralResponse\n editInventoryStatus(\n id: ID!\n data: InventoryStatusInput\n ): GeneralResponse\n deleteInventoryStatus(id: ID!): GeneralResponse\n #InventoryMachiness#\n addInventoryMachine(\n data: InventoryMachineInput\n ): AddInventoryMachineResponse\n editInventoryMachine(\n id: ID!\n data: InventoryMachineInput\n ): GeneralResponse\n deleteInventoryMachine(id: ID!): GeneralResponse\n #InventoryStorage#\n addInventoryStorage(\n data: InventoryStorageInput\n ): AddInventoryStorageResponse\n editInventoryStorage(\n id: ID!\n data: InventoryStorageInput\n ): GeneralResponse\n deleteInventoryStorage(id: ID!): GeneralResponse\n\n createProject(data: JSON): InventoryCreateProjectResponse\n editProject(id: ID!, data: JSON): GeneralResponse\n changeProjectStatus(id: ID!, status: Int): GeneralResponse\n\n #change item status\n changeInventoryItemStatus(\n id: ID!\n basicTableId: ID\n subBasicTableId: String\n data: JSON\n ): GeneralResponse\n addInventoryImage(data: ImageInput): GeneralResponse\n deleteInventoryImage(id: ID!): GeneralResponse\n\n addInventoryWorkSchedule(data: JSON): InventoryWorkScheduleResponse\n editInventoryWorkSchedule(id: ID!, data: JSON): GeneralResponse\n deleteInventoryWorkSchedule(id: ID!): GeneralResponse\n addManyInventoryWorkSchedule(data: [JSON]): GeneralResponse\n editManyInventoryWorkSchedule(data: [JSON]): GeneralResponse\n deleteManyInventoryWorkSchedule(ids: [ID!]): GeneralResponse\n\n addInventoryMaterialOrderStatus(\n data: MaterialOrderStatusInput\n ): GeneralResponse\n editInventoryMaterialOrderStatus(\n id: ID!\n data: MaterialOrderStatusInput\n ): GeneralResponse\n deleteInventoryMaterialOrderStatus(id: ID!): GeneralResponse\n }\n #input\n input InventoryCustomerInput {\n companyId: ID\n name: String\n email: EmailAddress\n phone: String\n gstNumber: String\n }\n input InventorySupplierInput {\n companyId: ID\n name: String\n email: EmailAddress\n phone: String\n gstNumber: String\n }\n input InventoryColumnInput {\n dbName: String\n customName: String\n type: String\n }\n input InventoryBasicTableInput {\n tableName: String\n tableAlias: String\n companyId: ID\n columnIds: [ID]\n isStock: Boolean\n isVisible: Boolean\n isReturnable: Boolean\n isProduct: Boolean\n isScrap: Boolean\n }\n input InventorySubBasicTableInput {\n basicTableId: String\n tableName: String\n tableAlias: String\n companyId: ID\n columnIds: [ID]\n }\n input InventoryStatusInput {\n basicTableId: ID!\n message: String\n color: String\n }\n input InventoryMachineInput {\n name: String\n companyId: ID!\n }\n input InventoryStorageInput {\n name: String\n companyId: ID!\n }\n input BillingInput {\n billNumber: String\n date: Date\n suppliedBy: String\n freight: Float\n givenBy: String\n isIGST: Boolean\n verifiedBy: String\n cgstTotal: Float\n igstTotal: Float\n sgstTotal: Float\n roundOff: Float\n totalBillValue: Float\n otherThanBillExpenses: Float\n loadingAndUnloadingCharges: Float\n otherCharges: Float\n transportedBy: String\n transportAmount: Float\n freightGSTPercentage: Int\n #freightGSTValue: Float\n pf: Float\n pfGSTPercentage: Int\n #pfGSTValue: Float\n items: [JSON]\n }\n input MaterialOrderStatusInput {\n supplier: ID\n itemId: String\n description: String\n orderedDate: Date\n expectedDate: Date\n payment: String\n status: Int\n }\n input ImageInput {\n name: String\n imgstr: String\n }\n type InventoryCustomerResponse {\n customerId: ID!\n message: String\n status: String\n }\n type InventorySupplierResponse {\n supplierId: ID!\n message: String\n status: String\n }\n type InventoryMachineResponse {\n machineId: ID!\n message: String\n status: String\n }\n type InventoryStorageResponse {\n storageId: ID!\n message: String\n status: String\n }\n type InventoryBillingResponse {\n billingId: ID!\n message: String\n status: String\n }\n type InventoryPurchaseOrderResponse {\n purchaseOrderId: ID!\n message: String\n status: String\n }\n type InventoryTableForResponse {\n inventoryTableForId: ID!\n message: String\n status: String\n }\n type InventorySubCategoryTableForResponse {\n inventorySubCategoryTableForId: ID!\n message: String\n status: String\n }\n type InventoryOutwardResponse {\n outwardItemId: ID!\n message: String\n status: String\n }\n type InventoryInwardResponse {\n inwardItemId: ID!\n message: String\n status: String\n }\n type WorkScheduleResponse {\n Id: ID!\n message: String\n status: String\n }\n\n type CreateProjectResponse {\n id: ID!\n message: String\n status: String\n }\n union AddInventoryCustomerResponse =\n | InventoryCustomerResponse\n | GeneralResponse\n union AddInventorySupplierResponse =\n | InventorySupplierResponse\n | GeneralResponse\n\n union AddInventoryMachineResponse =\n | InventoryMachineResponse\n | GeneralResponse\n union AddInventoryStorageResponse =\n | InventoryStorageResponse\n | GeneralResponse\n union BillingResponse = InventoryBillingResponse | GeneralResponse\n union PurchaseOrderResponse =\n | InventoryPurchaseOrderResponse\n | GeneralResponse\n union AddInventoryTableForResponse =\n | InventoryTableForResponse\n | GeneralResponse\n union OutwardResponse = InventoryOutwardResponse | GeneralResponse\n union InwardResponse = InventoryInwardResponse | GeneralResponse\n union AddInventorySubCategoryTableForResponse =\n | InventorySubCategoryTableForResponse\n | GeneralResponse\n union InventoryWorkScheduleResponse = WorkScheduleResponse | GeneralResponse\n union InventoryCreateProjectResponse =\n | CreateProjectResponse\n | GeneralResponse\n # input EqmsDeviceListInput {\n # status: String\n # companyId: ID\n # }\n\n # input DepartmentsInput {\n # name: String\n # companyId: ID\n # value: String\n # appType: String\n # userAllowedPages: [String]\n # }\n # input EditManyDepartmentsInput {\n # id: ID\n # data: DepartmentsInput\n # }\n type InventoryCustomers {\n id: ID!\n companyId: ID!\n name: String\n email: EmailAddress\n phone: String\n gstNumber: String\n }\n type InventorySuppliers {\n id: ID!\n companyId: ID!\n name: String\n email: EmailAddress\n phone: String\n gstNumber: String\n }\n type InventoryColumns {\n id: ID!\n dbName: String\n customName: String\n type: String\n }\n type InventoryTable {\n value: [JSON]\n }\n type InventoryBasicTables {\n id: ID!\n companyId: ID\n tableName: String\n tableAlias: String\n columns: [InventoryColumns]\n isStock: Boolean\n isVisible: Boolean\n isReturnable: Boolean\n isProduct: Boolean\n isScrap: Boolean\n }\n type InventorySubBasicTables {\n id: ID!\n basicTableId: ID!\n companyId: ID\n tableName: String\n tableAlias: String\n columns: [InventoryColumns]\n }\n type InventorySubCategoryTable {\n value: [JSON]\n }\n type InwardOrOutWardData {\n value: [JSON]\n }\n type InventoryStatus {\n id: ID!\n basicTableId: ID!\n message: String\n color: String\n }\n type InventoryMachines {\n id: ID!\n name: String\n companyId: ID!\n }\n type InventoryStorage {\n id: ID!\n name: String\n companyId: ID!\n }\n type ProjectType {\n value: [JSON]\n }\n type Billing {\n id: ID\n billNumber: String\n date: Date\n suppliedBy: String\n freight: Float\n givenBy: String\n isIGST: Boolean\n verifiedBy: String\n cgstTotal: Float\n igstTotal: Float\n sgstTotal: Float\n roundOff: Float\n totalBillValue: Float\n otherThanBillExpenses: Float\n loadingAndUnloadingCharges: Float\n otherCharges: Float\n transportedBy: String\n transportAmount: Float\n freightGSTPercentage: Int\n #freightGSTValue: Float\n pf: Int\n pfGSTPercentage: Int\n #pfGSTValue: Float\n items: [JSON]\n }\n type PurchaseOrder {\n id: ID!\n no: String\n projectId: String\n # projectNumber: String\n # projectName: String\n date: String\n quantity: Int\n price: Int\n paymentTerm: String\n deliveryDate: String\n expectedStartDate: String\n expectedDeliveryDate: String\n }\n type InventoryInwards {\n value: [JSON]\n }\n type AllInventoryTableItems {\n value: [JSON]\n }\n type InventoryWorkSchedule {\n value: [JSON]\n }\n type MaterialOrderStatus {\n id: ID!\n supplier: ID\n itemId: String\n description: String\n orderedDate: Date\n expectedDate: Date\n payment: String\n status: Int\n }\n type Image {\n id: ID\n name: String\n imgstr: String\n }\n # type Machines {\n # id: ID!\n # name: String\n # }\n\n enum Brand {\n MJTECH\n }\n\n enum ErrorType {\n BAD_REQUEST\n BAD_USER_INPUT\n GRAPHQL_PARSE_FAILED\n GRAPHQL_VALIDATION_FAILED\n INTERNAL_SERVER_ERROR\n NOT_FOUND\n UNAUTHORIZED\n }\n schema {\n query: Query\n mutation: Mutation\n }\n"])));
|
|
9
|
+
exports.inventory_tracking_schema = (0, graphql_tag_1.gql)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n type Query {\n fetchInventoryCustomers: [InventoryCustomers]\n fetchInventorySuppliers: [InventorySuppliers]\n fetchInventoryColumns: [InventoryColumns]\n # table structure example - rawmaterial, toolacessory\n fetchInventoryBasicTables: [InventoryBasicTables] # category\n fetchInventorySubBasicTables: [InventorySubBasicTables]\n # individual table that has array of data example - rawmaterial [], toolacessory []\n fetchInventoryTable(\n basicTableId: ID!\n properties: JSON\n companyId: ID\n ): InventoryTable\n fetchInventoryTables(\n basicTableIds: [ID!]\n properties: JSON\n ): InventoryTable\n\n fetchInventorySubCategoryTable(\n basicTableId: ID!\n subBasicTableId: ID!\n properties: JSON\n companyId: ID\n ): InventorySubCategoryTable\n fetchInventorySubCategoryTables(\n basicTableIds: [ID!]\n subBasicTableIds: [ID!]\n properties: JSON\n ): InventorySubCategoryTable\n fetchInventoryInwards(data: [JSON], properties: JSON): InventoryInwards\n fetchInventorySubCategoryInwards(\n data: [JSON]\n properties: JSON\n ): InventoryInwards\n fetchBillings(filter: JSON): [Billing]\n fetchPurchaseOrders(filter: JSON): [PurchaseOrder]\n fetchDataFromInwardOrOutward(\n basicTableId: ID\n transactionType: String\n itemType: String\n startDate: String\n endDate: String\n ): InwardOrOutWardData\n fetchDataFromInwardOrOutwardSubCategoryTable(\n basicTableId: ID\n subBasicTableId: ID\n transactionType: String\n itemType: String\n startDate: String\n endDate: String\n ): InwardOrOutWardData\n fetchInventoryStatuses: [InventoryStatus]\n\n fetchInventoryMachines: [InventoryMachines]\n fetchInventoryStorages: [InventoryStorage]\n\n fetchProjects: ProjectType\n fetchAllInventoryTableItems(properties: JSON): AllInventoryTableItems\n fetchAllInventorySubCategoryTableItems(\n properties: JSON\n ): AllInventoryTableItems\n fetchInventoryWorkSchedules: InventoryWorkSchedule\n fetchInventoryWorkSchedule(data: JSON): InventoryWorkSchedule\n fetchInventoryImages: [Image]\n\n fetchInventoryMaterialOrderStatus: [MaterialOrderStatus]\n\n fetchInventoryOffer(id: ID): InventoryOffer\n fetchInventoryOffers: [InventoryOffer]\n }\n\n type Mutation {\n addInventoryCustomer(\n data: InventoryCustomerInput\n ): AddInventoryCustomerResponse\n editInventoryCustomer(\n data: InventoryCustomerInput\n id: ID!\n ): GeneralResponse\n deleteInventoryCustomer(id: ID!): GeneralResponse\n addInventorySupplier(\n data: InventorySupplierInput\n ): AddInventorySupplierResponse\n editInventorySupplier(\n data: InventorySupplierInput\n id: ID!\n ): GeneralResponse\n deleteInventorySupplier(id: ID!): GeneralResponse\n\n addInventoryColumn(queryData: InventoryColumnInput): GeneralResponse\n editInventoryColumn(\n data: InventoryColumnInput\n id: ID!\n ): GeneralResponse\n deleteInventoryColumn(id: ID!): GeneralResponse\n # table structure example - rawmaterial, toolacessory\n addInventoryBasicTable(\n queryData: InventoryBasicTableInput\n ): GeneralResponse\n editInventoryBasicTable(\n data: InventoryBasicTableInput\n id: ID!\n ): GeneralResponse\n deleteInventoryBasicTable(id: ID!): GeneralResponse\n # individual table that has array of data example - rawmaterial [], toolacessory []\n addInventoryTableFor(\n basicTableId: ID!\n data: JSON\n ): AddInventoryTableForResponse\n addManyInventoryTableFor(\n basicTableId: ID!\n data: [JSON]\n ): GeneralResponse\n editInventoryTableFor(\n basicTableId: ID!\n tableId: ID!\n data: JSON\n ): GeneralResponse\n editManyInventoryTableFor(data: [JSON]): GeneralResponse\n deleteInventoryTableFor(\n basicTableId: ID!\n tableId: ID!\n ): GeneralResponse\n #sub basi\n addInventorySubBasicTable(\n queryData: InventorySubBasicTableInput\n ): GeneralResponse\n editInventorySubBasicTable(\n data: InventorySubBasicTableInput\n id: ID!\n ): GeneralResponse\n deleteInventorySubBasicTable(id: ID!): GeneralResponse\n #sub category\n addInventorySubCategoryTableFor(\n basicTableId: ID!\n subBasicTableId: ID!\n data: JSON\n ): AddInventorySubCategoryTableForResponse\n addManyInventorySubCategoryTableFor(\n basicTableId: ID!\n subBasicTableId: ID!\n data: [JSON]\n ): GeneralResponse\n editInventorySubCategoryTableFor(\n basicTableId: ID!\n subBasicTableId: ID!\n tableId: ID!\n data: JSON\n ): GeneralResponse\n editManyInventorySubCategoryTableFor(data: [JSON]): GeneralResponse\n deleteInventorySubCategoryTableFor(\n basicTableId: ID!\n subBasicTableId: ID!\n tableId: ID!\n ): GeneralResponse\n #add Billing\n addBilling(data: BillingInput): BillingResponse\n editBilling(id: ID!, data: BillingInput): GeneralResponse\n #add PO\n addPurchaseOrder(data: JSON): PurchaseOrderResponse\n editPurchaseOrder(id: ID!, data: JSON): GeneralResponse\n #add inward\n addItemInInward(basicTableId: ID!, data: JSON): InwardResponse\n #add outward\n addItemInOutward(basicTableId: ID!, data: JSON): OutwardResponse\n #to scrap\n moveItemToScrap(\n scrapTableId: ID!\n basicTableId: ID!\n data: JSON\n ): GeneralResponse\n #sub category\n #add inward\n addSubCategoryItemInInward(\n basicTableId: ID!\n subBasicTableId: ID!\n data: JSON\n ): InwardResponse\n #add outward\n addSubCategoryItemInOutward(\n basicTableId: ID!\n subBasicTableId: ID!\n data: JSON\n ): OutwardResponse\n #to scrap\n moveSubCategoryItemToScrap(\n scrapTableId: ID!\n scrapSubBasicTableId: String\n basicTableId: ID!\n subBasicTableId: ID!\n data: JSON\n ): GeneralResponse\n #InventoryStatus#\n addInventoryStatus(data: InventoryStatusInput): GeneralResponse\n editInventoryStatus(\n id: ID!\n data: InventoryStatusInput\n ): GeneralResponse\n deleteInventoryStatus(id: ID!): GeneralResponse\n #InventoryMachiness#\n addInventoryMachine(\n data: InventoryMachineInput\n ): AddInventoryMachineResponse\n editInventoryMachine(\n id: ID!\n data: InventoryMachineInput\n ): GeneralResponse\n deleteInventoryMachine(id: ID!): GeneralResponse\n #InventoryStorage#\n addInventoryStorage(\n data: InventoryStorageInput\n ): AddInventoryStorageResponse\n editInventoryStorage(\n id: ID!\n data: InventoryStorageInput\n ): GeneralResponse\n deleteInventoryStorage(id: ID!): GeneralResponse\n\n createProject(data: JSON): InventoryCreateProjectResponse\n editProject(id: ID!, data: JSON): GeneralResponse\n changeProjectStatus(id: ID!, status: Int): GeneralResponse\n\n #change item status\n changeInventoryItemStatus(\n id: ID!\n basicTableId: ID\n subBasicTableId: String\n data: JSON\n ): GeneralResponse\n addInventoryImage(data: ImageInput): GeneralResponse\n deleteInventoryImage(id: ID!): GeneralResponse\n\n addInventoryWorkSchedule(data: JSON): InventoryWorkScheduleResponse\n editInventoryWorkSchedule(id: ID!, data: JSON): GeneralResponse\n deleteInventoryWorkSchedule(id: ID!): GeneralResponse\n addManyInventoryWorkSchedule(data: [JSON]): GeneralResponse\n editManyInventoryWorkSchedule(data: [JSON]): GeneralResponse\n deleteManyInventoryWorkSchedule(ids: [ID!]): GeneralResponse\n\n addInventoryMaterialOrderStatus(\n data: MaterialOrderStatusInput\n ): GeneralResponse\n editInventoryMaterialOrderStatus(\n id: ID!\n data: MaterialOrderStatusInput\n ): GeneralResponse\n deleteInventoryMaterialOrderStatus(id: ID!): GeneralResponse\n #offer\n addInventoryOffer(data: InventoryOfferInput): InventoryOfferResponse\n editInventoryOffer(id: ID!, data: InventoryOfferInput): GeneralResponse\n deleteInventoryOffer(id: ID!): GeneralResponse\n }\n #input\n input InventoryCustomerInput {\n companyId: ID\n name: String\n email: EmailAddress\n phone: String\n gstNumber: String\n }\n input InventorySupplierInput {\n companyId: ID\n name: String\n email: EmailAddress\n phone: String\n gstNumber: String\n }\n input InventoryColumnInput {\n dbName: String\n customName: String\n type: String\n }\n input InventoryBasicTableInput {\n tableName: String\n tableAlias: String\n companyId: ID\n columnIds: [ID]\n isStock: Boolean\n isVisible: Boolean\n isReturnable: Boolean\n isProduct: Boolean\n isScrap: Boolean\n }\n input InventorySubBasicTableInput {\n basicTableId: String\n tableName: String\n tableAlias: String\n companyId: ID\n columnIds: [ID]\n }\n input InventoryStatusInput {\n basicTableId: ID!\n message: String\n color: String\n }\n input InventoryMachineInput {\n name: String\n companyId: ID!\n }\n input InventoryStorageInput {\n name: String\n companyId: ID!\n }\n input BillingInput {\n billNumber: String\n date: Date\n suppliedBy: String\n freight: Float\n givenBy: String\n isIGST: Boolean\n verifiedBy: String\n cgstTotal: Float\n igstTotal: Float\n sgstTotal: Float\n roundOff: Float\n totalBillValue: Float\n otherThanBillExpenses: Float\n loadingAndUnloadingCharges: Float\n otherCharges: Float\n transportedBy: String\n transportAmount: Float\n freightGSTPercentage: Int\n #freightGSTValue: Float\n pf: Float\n pfGSTPercentage: Int\n #pfGSTValue: Float\n items: [JSON]\n }\n input MaterialOrderStatusInput {\n supplier: ID\n itemId: String\n description: String\n orderedDate: Date\n expectedDate: Date\n payment: String\n status: Int\n }\n input InventoryOfferInput {\n offerNo: String\n offerDate: String\n customer: ID\n requirement: ID\n offerPrice: String\n poPrice: String\n status: String\n dueDate: String\n overDueDate: String\n lastFollowDate: String\n nextFollowDate: String\n daysAfter: Int\n previousStatus: String\n totalFollowed: Int\n notes: String\n }\n\n input ImageInput {\n name: String\n imgstr: String\n }\n type InventoryCustomerResponse {\n customerId: ID!\n message: String\n status: String\n }\n type InventorySupplierResponse {\n supplierId: ID!\n message: String\n status: String\n }\n type InventoryMachineResponse {\n machineId: ID!\n message: String\n status: String\n }\n type InventoryStorageResponse {\n storageId: ID!\n message: String\n status: String\n }\n type InventoryBillingResponse {\n billingId: ID!\n message: String\n status: String\n }\n type InventoryPurchaseOrderResponse {\n purchaseOrderId: ID!\n message: String\n status: String\n }\n type InventoryTableForResponse {\n inventoryTableForId: ID!\n message: String\n status: String\n }\n type InventorySubCategoryTableForResponse {\n inventorySubCategoryTableForId: ID!\n message: String\n status: String\n }\n type InventoryOutwardResponse {\n outwardItemId: ID!\n message: String\n status: String\n }\n type InventoryInwardResponse {\n inwardItemId: ID!\n message: String\n status: String\n }\n type WorkScheduleResponse {\n Id: ID!\n message: String\n status: String\n }\n\n type CreateProjectResponse {\n id: ID!\n message: String\n status: String\n }\n type OfferResponse {\n id: ID!\n message: String\n status: String\n }\n union AddInventoryCustomerResponse =\n | InventoryCustomerResponse\n | GeneralResponse\n union AddInventorySupplierResponse =\n | InventorySupplierResponse\n | GeneralResponse\n\n union AddInventoryMachineResponse =\n | InventoryMachineResponse\n | GeneralResponse\n union AddInventoryStorageResponse =\n | InventoryStorageResponse\n | GeneralResponse\n union BillingResponse = InventoryBillingResponse | GeneralResponse\n union PurchaseOrderResponse =\n | InventoryPurchaseOrderResponse\n | GeneralResponse\n union AddInventoryTableForResponse =\n | InventoryTableForResponse\n | GeneralResponse\n union OutwardResponse = InventoryOutwardResponse | GeneralResponse\n union InwardResponse = InventoryInwardResponse | GeneralResponse\n union AddInventorySubCategoryTableForResponse =\n | InventorySubCategoryTableForResponse\n | GeneralResponse\n union InventoryWorkScheduleResponse = WorkScheduleResponse | GeneralResponse\n union InventoryCreateProjectResponse =\n | CreateProjectResponse\n | GeneralResponse\n union InventoryOfferResponse = OfferResponse | GeneralResponse\n # input EqmsDeviceListInput {\n # status: String\n # companyId: ID\n # }\n\n # input DepartmentsInput {\n # name: String\n # companyId: ID\n # value: String\n # appType: String\n # userAllowedPages: [String]\n # }\n # input EditManyDepartmentsInput {\n # id: ID\n # data: DepartmentsInput\n # }\n type InventoryCustomers {\n id: ID!\n companyId: ID!\n name: String\n email: EmailAddress\n phone: String\n gstNumber: String\n }\n type InventorySuppliers {\n id: ID!\n companyId: ID!\n name: String\n email: EmailAddress\n phone: String\n gstNumber: String\n }\n type InventoryColumns {\n id: ID!\n dbName: String\n customName: String\n type: String\n }\n type InventoryTable {\n value: [JSON]\n }\n type InventoryBasicTables {\n id: ID!\n companyId: ID\n tableName: String\n tableAlias: String\n columns: [InventoryColumns]\n isStock: Boolean\n isVisible: Boolean\n isReturnable: Boolean\n isProduct: Boolean\n isScrap: Boolean\n }\n type InventorySubBasicTables {\n id: ID!\n basicTableId: ID!\n companyId: ID\n tableName: String\n tableAlias: String\n columns: [InventoryColumns]\n }\n type InventorySubCategoryTable {\n value: [JSON]\n }\n type InwardOrOutWardData {\n value: [JSON]\n }\n type InventoryStatus {\n id: ID!\n basicTableId: ID!\n message: String\n color: String\n }\n type InventoryMachines {\n id: ID!\n name: String\n companyId: ID!\n }\n type InventoryStorage {\n id: ID!\n name: String\n companyId: ID!\n }\n type ProjectType {\n value: [JSON]\n }\n type Billing {\n id: ID\n billNumber: String\n date: Date\n suppliedBy: String\n freight: Float\n givenBy: String\n isIGST: Boolean\n verifiedBy: String\n cgstTotal: Float\n igstTotal: Float\n sgstTotal: Float\n roundOff: Float\n totalBillValue: Float\n otherThanBillExpenses: Float\n loadingAndUnloadingCharges: Float\n otherCharges: Float\n transportedBy: String\n transportAmount: Float\n freightGSTPercentage: Int\n #freightGSTValue: Float\n pf: Int\n pfGSTPercentage: Int\n #pfGSTValue: Float\n items: [JSON]\n }\n type PurchaseOrder {\n id: ID!\n no: String\n projectId: String\n # projectNumber: String\n # projectName: String\n date: String\n quantity: Int\n price: Int\n paymentTerm: String\n deliveryDate: String\n expectedStartDate: String\n expectedDeliveryDate: String\n }\n type InventoryInwards {\n value: [JSON]\n }\n type AllInventoryTableItems {\n value: [JSON]\n }\n type InventoryWorkSchedule {\n value: [JSON]\n }\n type MaterialOrderStatus {\n id: ID!\n supplier: ID\n itemId: String\n description: String\n orderedDate: Date\n expectedDate: Date\n payment: String\n status: Int\n }\n type InventoryOffer {\n id: ID\n offerNo: String\n offerDate: Date\n customer: ID\n requirement: ID\n offerPrice: String\n poPrice: String\n status: String\n dueDate: Date\n overDueDate: Date\n lastFollowDate: Date\n nextFollowDate: Date\n daysAfter: Int\n previousStatus: String\n totalFollowed: Int\n notes: String\n }\n\n type Image {\n id: ID\n name: String\n imgstr: String\n }\n # type Machines {\n # id: ID!\n # name: String\n # }\n\n enum Brand {\n MJTECH\n }\n\n enum ErrorType {\n BAD_REQUEST\n BAD_USER_INPUT\n GRAPHQL_PARSE_FAILED\n GRAPHQL_VALIDATION_FAILED\n INTERNAL_SERVER_ERROR\n NOT_FOUND\n UNAUTHORIZED\n }\n schema {\n query: Query\n mutation: Mutation\n }\n"], ["\n type Query {\n fetchInventoryCustomers: [InventoryCustomers]\n fetchInventorySuppliers: [InventorySuppliers]\n fetchInventoryColumns: [InventoryColumns]\n # table structure example - rawmaterial, toolacessory\n fetchInventoryBasicTables: [InventoryBasicTables] # category\n fetchInventorySubBasicTables: [InventorySubBasicTables]\n # individual table that has array of data example - rawmaterial [], toolacessory []\n fetchInventoryTable(\n basicTableId: ID!\n properties: JSON\n companyId: ID\n ): InventoryTable\n fetchInventoryTables(\n basicTableIds: [ID!]\n properties: JSON\n ): InventoryTable\n\n fetchInventorySubCategoryTable(\n basicTableId: ID!\n subBasicTableId: ID!\n properties: JSON\n companyId: ID\n ): InventorySubCategoryTable\n fetchInventorySubCategoryTables(\n basicTableIds: [ID!]\n subBasicTableIds: [ID!]\n properties: JSON\n ): InventorySubCategoryTable\n fetchInventoryInwards(data: [JSON], properties: JSON): InventoryInwards\n fetchInventorySubCategoryInwards(\n data: [JSON]\n properties: JSON\n ): InventoryInwards\n fetchBillings(filter: JSON): [Billing]\n fetchPurchaseOrders(filter: JSON): [PurchaseOrder]\n fetchDataFromInwardOrOutward(\n basicTableId: ID\n transactionType: String\n itemType: String\n startDate: String\n endDate: String\n ): InwardOrOutWardData\n fetchDataFromInwardOrOutwardSubCategoryTable(\n basicTableId: ID\n subBasicTableId: ID\n transactionType: String\n itemType: String\n startDate: String\n endDate: String\n ): InwardOrOutWardData\n fetchInventoryStatuses: [InventoryStatus]\n\n fetchInventoryMachines: [InventoryMachines]\n fetchInventoryStorages: [InventoryStorage]\n\n fetchProjects: ProjectType\n fetchAllInventoryTableItems(properties: JSON): AllInventoryTableItems\n fetchAllInventorySubCategoryTableItems(\n properties: JSON\n ): AllInventoryTableItems\n fetchInventoryWorkSchedules: InventoryWorkSchedule\n fetchInventoryWorkSchedule(data: JSON): InventoryWorkSchedule\n fetchInventoryImages: [Image]\n\n fetchInventoryMaterialOrderStatus: [MaterialOrderStatus]\n\n fetchInventoryOffer(id: ID): InventoryOffer\n fetchInventoryOffers: [InventoryOffer]\n }\n\n type Mutation {\n addInventoryCustomer(\n data: InventoryCustomerInput\n ): AddInventoryCustomerResponse\n editInventoryCustomer(\n data: InventoryCustomerInput\n id: ID!\n ): GeneralResponse\n deleteInventoryCustomer(id: ID!): GeneralResponse\n addInventorySupplier(\n data: InventorySupplierInput\n ): AddInventorySupplierResponse\n editInventorySupplier(\n data: InventorySupplierInput\n id: ID!\n ): GeneralResponse\n deleteInventorySupplier(id: ID!): GeneralResponse\n\n addInventoryColumn(queryData: InventoryColumnInput): GeneralResponse\n editInventoryColumn(\n data: InventoryColumnInput\n id: ID!\n ): GeneralResponse\n deleteInventoryColumn(id: ID!): GeneralResponse\n # table structure example - rawmaterial, toolacessory\n addInventoryBasicTable(\n queryData: InventoryBasicTableInput\n ): GeneralResponse\n editInventoryBasicTable(\n data: InventoryBasicTableInput\n id: ID!\n ): GeneralResponse\n deleteInventoryBasicTable(id: ID!): GeneralResponse\n # individual table that has array of data example - rawmaterial [], toolacessory []\n addInventoryTableFor(\n basicTableId: ID!\n data: JSON\n ): AddInventoryTableForResponse\n addManyInventoryTableFor(\n basicTableId: ID!\n data: [JSON]\n ): GeneralResponse\n editInventoryTableFor(\n basicTableId: ID!\n tableId: ID!\n data: JSON\n ): GeneralResponse\n editManyInventoryTableFor(data: [JSON]): GeneralResponse\n deleteInventoryTableFor(\n basicTableId: ID!\n tableId: ID!\n ): GeneralResponse\n #sub basi\n addInventorySubBasicTable(\n queryData: InventorySubBasicTableInput\n ): GeneralResponse\n editInventorySubBasicTable(\n data: InventorySubBasicTableInput\n id: ID!\n ): GeneralResponse\n deleteInventorySubBasicTable(id: ID!): GeneralResponse\n #sub category\n addInventorySubCategoryTableFor(\n basicTableId: ID!\n subBasicTableId: ID!\n data: JSON\n ): AddInventorySubCategoryTableForResponse\n addManyInventorySubCategoryTableFor(\n basicTableId: ID!\n subBasicTableId: ID!\n data: [JSON]\n ): GeneralResponse\n editInventorySubCategoryTableFor(\n basicTableId: ID!\n subBasicTableId: ID!\n tableId: ID!\n data: JSON\n ): GeneralResponse\n editManyInventorySubCategoryTableFor(data: [JSON]): GeneralResponse\n deleteInventorySubCategoryTableFor(\n basicTableId: ID!\n subBasicTableId: ID!\n tableId: ID!\n ): GeneralResponse\n #add Billing\n addBilling(data: BillingInput): BillingResponse\n editBilling(id: ID!, data: BillingInput): GeneralResponse\n #add PO\n addPurchaseOrder(data: JSON): PurchaseOrderResponse\n editPurchaseOrder(id: ID!, data: JSON): GeneralResponse\n #add inward\n addItemInInward(basicTableId: ID!, data: JSON): InwardResponse\n #add outward\n addItemInOutward(basicTableId: ID!, data: JSON): OutwardResponse\n #to scrap\n moveItemToScrap(\n scrapTableId: ID!\n basicTableId: ID!\n data: JSON\n ): GeneralResponse\n #sub category\n #add inward\n addSubCategoryItemInInward(\n basicTableId: ID!\n subBasicTableId: ID!\n data: JSON\n ): InwardResponse\n #add outward\n addSubCategoryItemInOutward(\n basicTableId: ID!\n subBasicTableId: ID!\n data: JSON\n ): OutwardResponse\n #to scrap\n moveSubCategoryItemToScrap(\n scrapTableId: ID!\n scrapSubBasicTableId: String\n basicTableId: ID!\n subBasicTableId: ID!\n data: JSON\n ): GeneralResponse\n #InventoryStatus#\n addInventoryStatus(data: InventoryStatusInput): GeneralResponse\n editInventoryStatus(\n id: ID!\n data: InventoryStatusInput\n ): GeneralResponse\n deleteInventoryStatus(id: ID!): GeneralResponse\n #InventoryMachiness#\n addInventoryMachine(\n data: InventoryMachineInput\n ): AddInventoryMachineResponse\n editInventoryMachine(\n id: ID!\n data: InventoryMachineInput\n ): GeneralResponse\n deleteInventoryMachine(id: ID!): GeneralResponse\n #InventoryStorage#\n addInventoryStorage(\n data: InventoryStorageInput\n ): AddInventoryStorageResponse\n editInventoryStorage(\n id: ID!\n data: InventoryStorageInput\n ): GeneralResponse\n deleteInventoryStorage(id: ID!): GeneralResponse\n\n createProject(data: JSON): InventoryCreateProjectResponse\n editProject(id: ID!, data: JSON): GeneralResponse\n changeProjectStatus(id: ID!, status: Int): GeneralResponse\n\n #change item status\n changeInventoryItemStatus(\n id: ID!\n basicTableId: ID\n subBasicTableId: String\n data: JSON\n ): GeneralResponse\n addInventoryImage(data: ImageInput): GeneralResponse\n deleteInventoryImage(id: ID!): GeneralResponse\n\n addInventoryWorkSchedule(data: JSON): InventoryWorkScheduleResponse\n editInventoryWorkSchedule(id: ID!, data: JSON): GeneralResponse\n deleteInventoryWorkSchedule(id: ID!): GeneralResponse\n addManyInventoryWorkSchedule(data: [JSON]): GeneralResponse\n editManyInventoryWorkSchedule(data: [JSON]): GeneralResponse\n deleteManyInventoryWorkSchedule(ids: [ID!]): GeneralResponse\n\n addInventoryMaterialOrderStatus(\n data: MaterialOrderStatusInput\n ): GeneralResponse\n editInventoryMaterialOrderStatus(\n id: ID!\n data: MaterialOrderStatusInput\n ): GeneralResponse\n deleteInventoryMaterialOrderStatus(id: ID!): GeneralResponse\n #offer\n addInventoryOffer(data: InventoryOfferInput): InventoryOfferResponse\n editInventoryOffer(id: ID!, data: InventoryOfferInput): GeneralResponse\n deleteInventoryOffer(id: ID!): GeneralResponse\n }\n #input\n input InventoryCustomerInput {\n companyId: ID\n name: String\n email: EmailAddress\n phone: String\n gstNumber: String\n }\n input InventorySupplierInput {\n companyId: ID\n name: String\n email: EmailAddress\n phone: String\n gstNumber: String\n }\n input InventoryColumnInput {\n dbName: String\n customName: String\n type: String\n }\n input InventoryBasicTableInput {\n tableName: String\n tableAlias: String\n companyId: ID\n columnIds: [ID]\n isStock: Boolean\n isVisible: Boolean\n isReturnable: Boolean\n isProduct: Boolean\n isScrap: Boolean\n }\n input InventorySubBasicTableInput {\n basicTableId: String\n tableName: String\n tableAlias: String\n companyId: ID\n columnIds: [ID]\n }\n input InventoryStatusInput {\n basicTableId: ID!\n message: String\n color: String\n }\n input InventoryMachineInput {\n name: String\n companyId: ID!\n }\n input InventoryStorageInput {\n name: String\n companyId: ID!\n }\n input BillingInput {\n billNumber: String\n date: Date\n suppliedBy: String\n freight: Float\n givenBy: String\n isIGST: Boolean\n verifiedBy: String\n cgstTotal: Float\n igstTotal: Float\n sgstTotal: Float\n roundOff: Float\n totalBillValue: Float\n otherThanBillExpenses: Float\n loadingAndUnloadingCharges: Float\n otherCharges: Float\n transportedBy: String\n transportAmount: Float\n freightGSTPercentage: Int\n #freightGSTValue: Float\n pf: Float\n pfGSTPercentage: Int\n #pfGSTValue: Float\n items: [JSON]\n }\n input MaterialOrderStatusInput {\n supplier: ID\n itemId: String\n description: String\n orderedDate: Date\n expectedDate: Date\n payment: String\n status: Int\n }\n input InventoryOfferInput {\n offerNo: String\n offerDate: String\n customer: ID\n requirement: ID\n offerPrice: String\n poPrice: String\n status: String\n dueDate: String\n overDueDate: String\n lastFollowDate: String\n nextFollowDate: String\n daysAfter: Int\n previousStatus: String\n totalFollowed: Int\n notes: String\n }\n\n input ImageInput {\n name: String\n imgstr: String\n }\n type InventoryCustomerResponse {\n customerId: ID!\n message: String\n status: String\n }\n type InventorySupplierResponse {\n supplierId: ID!\n message: String\n status: String\n }\n type InventoryMachineResponse {\n machineId: ID!\n message: String\n status: String\n }\n type InventoryStorageResponse {\n storageId: ID!\n message: String\n status: String\n }\n type InventoryBillingResponse {\n billingId: ID!\n message: String\n status: String\n }\n type InventoryPurchaseOrderResponse {\n purchaseOrderId: ID!\n message: String\n status: String\n }\n type InventoryTableForResponse {\n inventoryTableForId: ID!\n message: String\n status: String\n }\n type InventorySubCategoryTableForResponse {\n inventorySubCategoryTableForId: ID!\n message: String\n status: String\n }\n type InventoryOutwardResponse {\n outwardItemId: ID!\n message: String\n status: String\n }\n type InventoryInwardResponse {\n inwardItemId: ID!\n message: String\n status: String\n }\n type WorkScheduleResponse {\n Id: ID!\n message: String\n status: String\n }\n\n type CreateProjectResponse {\n id: ID!\n message: String\n status: String\n }\n type OfferResponse {\n id: ID!\n message: String\n status: String\n }\n union AddInventoryCustomerResponse =\n | InventoryCustomerResponse\n | GeneralResponse\n union AddInventorySupplierResponse =\n | InventorySupplierResponse\n | GeneralResponse\n\n union AddInventoryMachineResponse =\n | InventoryMachineResponse\n | GeneralResponse\n union AddInventoryStorageResponse =\n | InventoryStorageResponse\n | GeneralResponse\n union BillingResponse = InventoryBillingResponse | GeneralResponse\n union PurchaseOrderResponse =\n | InventoryPurchaseOrderResponse\n | GeneralResponse\n union AddInventoryTableForResponse =\n | InventoryTableForResponse\n | GeneralResponse\n union OutwardResponse = InventoryOutwardResponse | GeneralResponse\n union InwardResponse = InventoryInwardResponse | GeneralResponse\n union AddInventorySubCategoryTableForResponse =\n | InventorySubCategoryTableForResponse\n | GeneralResponse\n union InventoryWorkScheduleResponse = WorkScheduleResponse | GeneralResponse\n union InventoryCreateProjectResponse =\n | CreateProjectResponse\n | GeneralResponse\n union InventoryOfferResponse = OfferResponse | GeneralResponse\n # input EqmsDeviceListInput {\n # status: String\n # companyId: ID\n # }\n\n # input DepartmentsInput {\n # name: String\n # companyId: ID\n # value: String\n # appType: String\n # userAllowedPages: [String]\n # }\n # input EditManyDepartmentsInput {\n # id: ID\n # data: DepartmentsInput\n # }\n type InventoryCustomers {\n id: ID!\n companyId: ID!\n name: String\n email: EmailAddress\n phone: String\n gstNumber: String\n }\n type InventorySuppliers {\n id: ID!\n companyId: ID!\n name: String\n email: EmailAddress\n phone: String\n gstNumber: String\n }\n type InventoryColumns {\n id: ID!\n dbName: String\n customName: String\n type: String\n }\n type InventoryTable {\n value: [JSON]\n }\n type InventoryBasicTables {\n id: ID!\n companyId: ID\n tableName: String\n tableAlias: String\n columns: [InventoryColumns]\n isStock: Boolean\n isVisible: Boolean\n isReturnable: Boolean\n isProduct: Boolean\n isScrap: Boolean\n }\n type InventorySubBasicTables {\n id: ID!\n basicTableId: ID!\n companyId: ID\n tableName: String\n tableAlias: String\n columns: [InventoryColumns]\n }\n type InventorySubCategoryTable {\n value: [JSON]\n }\n type InwardOrOutWardData {\n value: [JSON]\n }\n type InventoryStatus {\n id: ID!\n basicTableId: ID!\n message: String\n color: String\n }\n type InventoryMachines {\n id: ID!\n name: String\n companyId: ID!\n }\n type InventoryStorage {\n id: ID!\n name: String\n companyId: ID!\n }\n type ProjectType {\n value: [JSON]\n }\n type Billing {\n id: ID\n billNumber: String\n date: Date\n suppliedBy: String\n freight: Float\n givenBy: String\n isIGST: Boolean\n verifiedBy: String\n cgstTotal: Float\n igstTotal: Float\n sgstTotal: Float\n roundOff: Float\n totalBillValue: Float\n otherThanBillExpenses: Float\n loadingAndUnloadingCharges: Float\n otherCharges: Float\n transportedBy: String\n transportAmount: Float\n freightGSTPercentage: Int\n #freightGSTValue: Float\n pf: Int\n pfGSTPercentage: Int\n #pfGSTValue: Float\n items: [JSON]\n }\n type PurchaseOrder {\n id: ID!\n no: String\n projectId: String\n # projectNumber: String\n # projectName: String\n date: String\n quantity: Int\n price: Int\n paymentTerm: String\n deliveryDate: String\n expectedStartDate: String\n expectedDeliveryDate: String\n }\n type InventoryInwards {\n value: [JSON]\n }\n type AllInventoryTableItems {\n value: [JSON]\n }\n type InventoryWorkSchedule {\n value: [JSON]\n }\n type MaterialOrderStatus {\n id: ID!\n supplier: ID\n itemId: String\n description: String\n orderedDate: Date\n expectedDate: Date\n payment: String\n status: Int\n }\n type InventoryOffer {\n id: ID\n offerNo: String\n offerDate: Date\n customer: ID\n requirement: ID\n offerPrice: String\n poPrice: String\n status: String\n dueDate: Date\n overDueDate: Date\n lastFollowDate: Date\n nextFollowDate: Date\n daysAfter: Int\n previousStatus: String\n totalFollowed: Int\n notes: String\n }\n\n type Image {\n id: ID\n name: String\n imgstr: String\n }\n # type Machines {\n # id: ID!\n # name: String\n # }\n\n enum Brand {\n MJTECH\n }\n\n enum ErrorType {\n BAD_REQUEST\n BAD_USER_INPUT\n GRAPHQL_PARSE_FAILED\n GRAPHQL_VALIDATION_FAILED\n INTERNAL_SERVER_ERROR\n NOT_FOUND\n UNAUTHORIZED\n }\n schema {\n query: Query\n mutation: Mutation\n }\n"])));
|
|
10
10
|
var templateObject_1;
|
package/package.json
CHANGED
|
@@ -1,42 +1,25 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@mjtech-ems/schema",
|
|
3
|
-
"version": "1.3.
|
|
4
|
-
"license": "MIT",
|
|
5
|
-
"main": "./index.
|
|
6
|
-
"types": "./index.ts",
|
|
7
|
-
"
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
"
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
"
|
|
20
|
-
},
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
"generate": "graphql-codegen --require ts-node/register --config codegen.yml"
|
|
27
|
-
},
|
|
28
|
-
"devDependencies": {
|
|
29
|
-
"@graphql-codegen/cli": "^5.0.3",
|
|
30
|
-
"@graphql-codegen/typed-document-node": "^5.0.11",
|
|
31
|
-
"@graphql-codegen/typescript": "^4.1.1",
|
|
32
|
-
"@graphql-codegen/typescript-operations": "^4.3.1",
|
|
33
|
-
"@mysetup/tsconfig": "latest",
|
|
34
|
-
"graphql": "16.9.0",
|
|
35
|
-
"graphql-tag": "2.12.6",
|
|
36
|
-
"typescript": "5.4.5"
|
|
37
|
-
},
|
|
38
|
-
"dependencies": {
|
|
39
|
-
"@graphql-tools/merge": "^9.0.24",
|
|
40
|
-
"@graphql-tools/schema": "^10.0.8"
|
|
41
|
-
}
|
|
42
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@mjtech-ems/schema",
|
|
3
|
+
"version": "1.3.43",
|
|
4
|
+
"license": "MIT",
|
|
5
|
+
"main": "./dist/index.js",
|
|
6
|
+
"types": "./dist/index.d.ts",
|
|
7
|
+
"files": [
|
|
8
|
+
"dist"
|
|
9
|
+
],
|
|
10
|
+
"exports": {
|
|
11
|
+
".": {
|
|
12
|
+
"types": "./dist/index.d.ts",
|
|
13
|
+
"import": "./dist/index.js",
|
|
14
|
+
"require": "./dist/index.js"
|
|
15
|
+
},
|
|
16
|
+
"./package.json": "./package.json"
|
|
17
|
+
},
|
|
18
|
+
"publishConfig": {
|
|
19
|
+
"access": "public"
|
|
20
|
+
},
|
|
21
|
+
"dependencies": {
|
|
22
|
+
"@graphql-tools/merge": "^9.0.24",
|
|
23
|
+
"@graphql-tools/schema": "^10.0.8"
|
|
24
|
+
}
|
|
25
|
+
}
|