"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.Types = exports.Mutation = exports.Query = void 0;
const loading_worksheet_type_1 = require("./loading-worksheet-type");
const delivery_order_info_list_1 = require("./delivery-order-info-list");
const loading_assignment_1 = require("./loading-assignment");
exports.Query = `
  findLoadableReleaseGood(orderNo: String!, tabName: String!): [ReleaseGood] @transaction
  findLoadableReleaseGoodByBin(orderNo: String!): LoadingWorksheet @transaction
  loadingWorksheetv2(orderNo: String!, filter: String): LoadingWorksheet @transaction
  getDeliveryOrders(releaseGoodNo: String!): DeliveryOrderInfoList 
  myLoadingAssignmentStatus: LoadingAssignmentStatus
`;
exports.Mutation = `
  getLoadingTask: LoadingWorksheet @privilege(category: "worksheet_control", privilege: "mutation") @transaction
  sortItem(
    releaseGoodNo: String!
    productBarcode: String!
    qty: Float!
    worksheetDetails: [Object!]
    toteNo: String
  ): Boolean @transaction
  unsortItem(
    orderToteItemId: String!
    reason: String
  ): Boolean @transaction
  loadByQty(worksheetDetailPatch: LoadingWorksheetDetails): Boolean @transaction
  undoLoad(doId: String!): Boolean @transaction
  warehouseReturn (releaseGoodNo: String!, worksheetDetails: [Object!]): Worksheet @privilege(category: "worksheet_control", privilege: "mutation") @transaction
  completeLoad(orderId: String!, worksheetId: String!): Boolean @transaction
  completeLoadPartially(orderId: String!, worksheetId: String!): Boolean @transaction
`;
exports.Types = [loading_worksheet_type_1.LoadingWorksheet, loading_worksheet_type_1.LoadingWorksheetDetails, delivery_order_info_list_1.DeliveryOrderInfoList, loading_assignment_1.LoadingAssignmentStatus];
//# sourceMappingURL=index.js.map