UNPKG

@unaxiom/genesis-sdk

Version:

NPM module that provides access to Genesis' API

474 lines (473 loc) 16.8 kB
"use strict"; // @generated by protoc-gen-connect-es v0.12.0 with parameter "target=ts" // @generated from file goods_dispatches.proto (package Genesis, syntax proto3) /* eslint-disable */ // @ts-nocheck Object.defineProperty(exports, "__esModule", { value: true }); exports.GoodsDispatchesService = void 0; const goods_dispatches_pb_js_1 = require("./goods_dispatches_pb.js"); const base_pb_js_1 = require("./base_pb.js"); const protobuf_1 = require("@bufbuild/protobuf"); const families_pb_js_1 = require("./families_pb.js"); /** * * Describes the common methods applicable on each goods dispatch * * @generated from service Genesis.GoodsDispatchesService */ exports.GoodsDispatchesService = { typeName: "Genesis.GoodsDispatchesService", methods: { /** * Create and send for verification * * @generated from rpc Genesis.GoodsDispatchesService.Create */ create: { name: "Create", I: goods_dispatches_pb_js_1.GoodsDispatchesServiceCreateRequest, O: base_pb_js_1.Identifier, kind: protobuf_1.MethodKind.Unary, }, /** * Create and save as draft * * @generated from rpc Genesis.GoodsDispatchesService.Draft */ draft: { name: "Draft", I: goods_dispatches_pb_js_1.GoodsDispatchesServiceCreateRequest, O: base_pb_js_1.Identifier, kind: protobuf_1.MethodKind.Unary, }, /** * Update draft * * @generated from rpc Genesis.GoodsDispatchesService.DraftUpdate */ draftUpdate: { name: "DraftUpdate", I: goods_dispatches_pb_js_1.GoodsDispatchesServiceUpdateRequest, O: base_pb_js_1.Identifier, kind: protobuf_1.MethodKind.Unary, }, /** * Send for verification * * @generated from rpc Genesis.GoodsDispatchesService.SendForVerification */ sendForVerification: { name: "SendForVerification", I: base_pb_js_1.IdentifierWithUserComment, O: base_pb_js_1.Identifier, kind: protobuf_1.MethodKind.Unary, }, /** * Verify * * @generated from rpc Genesis.GoodsDispatchesService.Verify */ verify: { name: "Verify", I: base_pb_js_1.IdentifierWithUserComment, O: base_pb_js_1.Identifier, kind: protobuf_1.MethodKind.Unary, }, /** * Approve * * @generated from rpc Genesis.GoodsDispatchesService.Approve */ approve: { name: "Approve", I: base_pb_js_1.IdentifierWithUserComment, O: base_pb_js_1.Identifier, kind: protobuf_1.MethodKind.Unary, }, /** * Send For Revision * * @generated from rpc Genesis.GoodsDispatchesService.SendForRevision */ sendForRevision: { name: "SendForRevision", I: base_pb_js_1.IdentifierWithUserComment, O: base_pb_js_1.Identifier, kind: protobuf_1.MethodKind.Unary, }, /** * Update revision * * @generated from rpc Genesis.GoodsDispatchesService.RevisionUpdate */ revisionUpdate: { name: "RevisionUpdate", I: goods_dispatches_pb_js_1.GoodsDispatchesServiceUpdateRequest, O: base_pb_js_1.Identifier, kind: protobuf_1.MethodKind.Unary, }, /** * Halt * * @generated from rpc Genesis.GoodsDispatchesService.Halt */ halt: { name: "Halt", I: base_pb_js_1.IdentifierWithUserComment, O: base_pb_js_1.Identifier, kind: protobuf_1.MethodKind.Unary, }, /** * Discard * * @generated from rpc Genesis.GoodsDispatchesService.Discard */ discard: { name: "Discard", I: base_pb_js_1.IdentifierWithUserComment, O: base_pb_js_1.Identifier, kind: protobuf_1.MethodKind.Unary, }, /** * Restore * * @generated from rpc Genesis.GoodsDispatchesService.Restore */ restore: { name: "Restore", I: base_pb_js_1.IdentifierWithUserComment, O: base_pb_js_1.Identifier, kind: protobuf_1.MethodKind.Unary, }, /** * Complete * * @generated from rpc Genesis.GoodsDispatchesService.Complete */ complete: { name: "Complete", I: base_pb_js_1.IdentifierWithUserComment, O: base_pb_js_1.Identifier, kind: protobuf_1.MethodKind.Unary, }, /** * Repeat * * @generated from rpc Genesis.GoodsDispatchesService.Repeat */ repeat: { name: "Repeat", I: base_pb_js_1.IdentifierWithUserComment, O: base_pb_js_1.Identifier, kind: protobuf_1.MethodKind.Unary, }, /** * Reopen * * @generated from rpc Genesis.GoodsDispatchesService.Reopen */ reopen: { name: "Reopen", I: base_pb_js_1.IdentifierWithUserComment, O: base_pb_js_1.Identifier, kind: protobuf_1.MethodKind.Unary, }, /** * Add comment * * @generated from rpc Genesis.GoodsDispatchesService.CommentAdd */ commentAdd: { name: "CommentAdd", I: base_pb_js_1.IdentifierWithUserComment, O: base_pb_js_1.Identifier, kind: protobuf_1.MethodKind.Unary, }, /** * Send Email * * @generated from rpc Genesis.GoodsDispatchesService.SendEmail */ sendEmail: { name: "SendEmail", I: base_pb_js_1.IdentifierWithEmailAttributes, O: base_pb_js_1.Identifier, kind: protobuf_1.MethodKind.Unary, }, /** * Autofill the goods dispatch * * @generated from rpc Genesis.GoodsDispatchesService.Autofill */ autofill: { name: "Autofill", I: goods_dispatches_pb_js_1.GoodsDispatchesServiceAutofillRequest, O: base_pb_js_1.Identifier, kind: protobuf_1.MethodKind.Unary, }, /** * Checks if the Goods Dispatch can be marked as completed * * @generated from rpc Genesis.GoodsDispatchesService.IsCompletable */ isCompletable: { name: "IsCompletable", I: base_pb_js_1.Identifier, O: base_pb_js_1.BooleanResponse, kind: protobuf_1.MethodKind.Unary, }, /** * Add an item to a goods dispatch * * @generated from rpc Genesis.GoodsDispatchesService.AddGoodsDispatchItem */ addGoodsDispatchItem: { name: "AddGoodsDispatchItem", I: goods_dispatches_pb_js_1.GoodsDispatchesServiceItemCreateRequest, O: base_pb_js_1.Identifier, kind: protobuf_1.MethodKind.Unary, }, /** * Modify an item in a goods dispatch * * @generated from rpc Genesis.GoodsDispatchesService.ModifyGoodsDispatchItem */ modifyGoodsDispatchItem: { name: "ModifyGoodsDispatchItem", I: goods_dispatches_pb_js_1.GoodsDispatchesServiceItemUpdateRequest, O: base_pb_js_1.Identifier, kind: protobuf_1.MethodKind.Unary, }, /** * Approve an item in a goods dispatch * * @generated from rpc Genesis.GoodsDispatchesService.ApproveGoodsDispatchItem */ approveGoodsDispatchItem: { name: "ApproveGoodsDispatchItem", I: base_pb_js_1.IdentifierWithUserComment, O: base_pb_js_1.Identifier, kind: protobuf_1.MethodKind.Unary, }, /** * Delete an item in a goods dispatch * * @generated from rpc Genesis.GoodsDispatchesService.DeleteGoodsDispatchItem */ deleteGoodsDispatchItem: { name: "DeleteGoodsDispatchItem", I: base_pb_js_1.IdentifierWithUserComment, O: base_pb_js_1.Identifier, kind: protobuf_1.MethodKind.Unary, }, /** * Reorder items in a goods dispatch * * @generated from rpc Genesis.GoodsDispatchesService.ReorderGoodsDispatchItems */ reorderGoodsDispatchItems: { name: "ReorderGoodsDispatchItems", I: base_pb_js_1.ReorderItemsRequest, O: base_pb_js_1.Identifier, kind: protobuf_1.MethodKind.Unary, }, /** * View Goods Dispatch Item by ID * * @generated from rpc Genesis.GoodsDispatchesService.ViewGoodsDispatchItemByID */ viewGoodsDispatchItemByID: { name: "ViewGoodsDispatchItemByID", I: base_pb_js_1.Identifier, O: goods_dispatches_pb_js_1.GoodsDispatchItem, kind: protobuf_1.MethodKind.Unary, }, /** * View Goods Dispatch Item by Inventory Hash * * @generated from rpc Genesis.GoodsDispatchesService.ViewGoodsDispatchItemByInventoryHash */ viewGoodsDispatchItemByInventoryHash: { name: "ViewGoodsDispatchItemByInventoryHash", I: base_pb_js_1.SimpleSearchReq, O: goods_dispatches_pb_js_1.GoodsDispatchItem, kind: protobuf_1.MethodKind.Unary, }, /** * View approved goods dispatch items for given goods dispatch ID * * @generated from rpc Genesis.GoodsDispatchesService.ViewApprovedGoodsDispatchItems */ viewApprovedGoodsDispatchItems: { name: "ViewApprovedGoodsDispatchItems", I: base_pb_js_1.IdentifierWithSearchKey, O: goods_dispatches_pb_js_1.GoodsDispatchesItemsList, kind: protobuf_1.MethodKind.Unary, }, /** * View unapproved goods dispatch items for given goods dispatch ID * * @generated from rpc Genesis.GoodsDispatchesService.ViewUnapprovedGoodsDispatchItems */ viewUnapprovedGoodsDispatchItems: { name: "ViewUnapprovedGoodsDispatchItems", I: base_pb_js_1.IdentifierWithSearchKey, O: goods_dispatches_pb_js_1.GoodsDispatchesItemsList, kind: protobuf_1.MethodKind.Unary, }, /** * View the history of the goods dispatch item * * @generated from rpc Genesis.GoodsDispatchesService.ViewGoodsDispatchItemHistory */ viewGoodsDispatchItemHistory: { name: "ViewGoodsDispatchItemHistory", I: goods_dispatches_pb_js_1.GoodsDispatchItemHistoryRequest, O: goods_dispatches_pb_js_1.GoodsDispatchesItemsList, kind: protobuf_1.MethodKind.Unary, }, /** * View by ID * * @generated from rpc Genesis.GoodsDispatchesService.ViewByID */ viewByID: { name: "ViewByID", I: base_pb_js_1.Identifier, O: goods_dispatches_pb_js_1.GoodsDispatch, kind: protobuf_1.MethodKind.Unary, }, /** * View all * * @generated from rpc Genesis.GoodsDispatchesService.ViewAll */ viewAll: { name: "ViewAll", I: base_pb_js_1.ActiveStatus, O: goods_dispatches_pb_js_1.GoodsDispatchesList, kind: protobuf_1.MethodKind.Unary, }, /** * View all with the given entity UUID * * @generated from rpc Genesis.GoodsDispatchesService.ViewAllForEntityUUID */ viewAllForEntityUUID: { name: "ViewAllForEntityUUID", I: base_pb_js_1.IdentifierUUID, O: goods_dispatches_pb_js_1.GoodsDispatchesList, kind: protobuf_1.MethodKind.Unary, }, /** * View with pagination * * @generated from rpc Genesis.GoodsDispatchesService.ViewWithPagination */ viewWithPagination: { name: "ViewWithPagination", I: goods_dispatches_pb_js_1.GoodsDispatchesServicePaginationReq, O: goods_dispatches_pb_js_1.GoodsDispatchesServicePaginationResponse, kind: protobuf_1.MethodKind.Unary, }, /** * View with pagination with the given entity UUID * * @generated from rpc Genesis.GoodsDispatchesService.ViewWithPaginationForEntityUUID */ viewWithPaginationForEntityUUID: { name: "ViewWithPaginationForEntityUUID", I: goods_dispatches_pb_js_1.GoodsDispatchesServiceEntityPaginationReq, O: goods_dispatches_pb_js_1.GoodsDispatchesServicePaginationResponse, kind: protobuf_1.MethodKind.Unary, }, /** * View prospective families for the given goods dispatch * * @generated from rpc Genesis.GoodsDispatchesService.ViewProspectiveFamilies */ viewProspectiveFamilies: { name: "ViewProspectiveFamilies", I: base_pb_js_1.IdentifierWithSearchKey, O: families_pb_js_1.FamiliesList, kind: protobuf_1.MethodKind.Unary, }, /** * View prospective goods dispatch item info for the given family ID and goods dispatch ID * * @generated from rpc Genesis.GoodsDispatchesService.ViewProspectiveGoodsDispatchItem */ viewProspectiveGoodsDispatchItem: { name: "ViewProspectiveGoodsDispatchItem", I: goods_dispatches_pb_js_1.GoodsDispatchItemProspectiveInfoRequest, O: goods_dispatches_pb_js_1.GoodsDispatchesServiceItemCreateRequest, kind: protobuf_1.MethodKind.Unary, }, /** * View the associated sales invoice ID that is denoted by the identifier in the response for the goods dispatch that is denoted by the identifier in the request * * @generated from rpc Genesis.GoodsDispatchesService.ViewAssociatedSalesInvoiceID */ viewAssociatedSalesInvoiceID: { name: "ViewAssociatedSalesInvoiceID", I: base_pb_js_1.Identifier, O: base_pb_js_1.Identifier, kind: protobuf_1.MethodKind.Unary, }, /** * Checks if the Goods Dispatch has been billed * * @generated from rpc Genesis.GoodsDispatchesService.IsBilled */ isBilled: { name: "IsBilled", I: base_pb_js_1.Identifier, O: base_pb_js_1.BooleanResponse, kind: protobuf_1.MethodKind.Unary, }, /** * View already added quantities * * @generated from rpc Genesis.GoodsDispatchesService.ViewAddedFamilyQuantityForSource */ viewAddedFamilyQuantityForSource: { name: "ViewAddedFamilyQuantityForSource", I: goods_dispatches_pb_js_1.GoodsDispatchesServiceAlreadyAddedQuantityForSourceRequest, O: base_pb_js_1.DualQuantitiesResponse, kind: protobuf_1.MethodKind.Unary, }, /** * View all that match the given search key * * @generated from rpc Genesis.GoodsDispatchesService.SearchAll */ searchAll: { name: "SearchAll", I: goods_dispatches_pb_js_1.GoodsDispatchesServiceSearchAllReq, O: goods_dispatches_pb_js_1.GoodsDispatchesList, kind: protobuf_1.MethodKind.Unary, }, /** * View all that match the given filter criteria * * @generated from rpc Genesis.GoodsDispatchesService.Filter */ filter: { name: "Filter", I: goods_dispatches_pb_js_1.GoodsDispatchesServiceFilterReq, O: goods_dispatches_pb_js_1.GoodsDispatchesList, kind: protobuf_1.MethodKind.Unary, }, /** * Count in status * * @generated from rpc Genesis.GoodsDispatchesService.CountInStatus */ countInStatus: { name: "CountInStatus", I: base_pb_js_1.CountInSLCStatusRequest, O: base_pb_js_1.CountResponse, kind: protobuf_1.MethodKind.Unary, }, } };