UNPKG

@unaxiom/genesis-sdk

Version:

NPM module that provides access to Genesis' API

452 lines (451 loc) 16.1 kB
"use strict"; // @generated by protoc-gen-connect-es v0.12.0 with parameter "target=ts" // @generated from file purchases_indents.proto (package Genesis, syntax proto3) /* eslint-disable */ // @ts-nocheck Object.defineProperty(exports, "__esModule", { value: true }); exports.PurchasesIndentsService = void 0; const purchases_indents_pb_js_1 = require("./purchases_indents_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 purchase indent * * @generated from service Genesis.PurchasesIndentsService */ exports.PurchasesIndentsService = { typeName: "Genesis.PurchasesIndentsService", methods: { /** * Create and send for verification * * @generated from rpc Genesis.PurchasesIndentsService.Create */ create: { name: "Create", I: purchases_indents_pb_js_1.PurchasesIndentsServiceCreateRequest, O: base_pb_js_1.Identifier, kind: protobuf_1.MethodKind.Unary, }, /** * Create and save as draft * * @generated from rpc Genesis.PurchasesIndentsService.Draft */ draft: { name: "Draft", I: purchases_indents_pb_js_1.PurchasesIndentsServiceCreateRequest, O: base_pb_js_1.Identifier, kind: protobuf_1.MethodKind.Unary, }, /** * Update draft * * @generated from rpc Genesis.PurchasesIndentsService.DraftUpdate */ draftUpdate: { name: "DraftUpdate", I: purchases_indents_pb_js_1.PurchasesIndentsServiceUpdateRequest, O: base_pb_js_1.Identifier, kind: protobuf_1.MethodKind.Unary, }, /** * Send for verification * * @generated from rpc Genesis.PurchasesIndentsService.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.PurchasesIndentsService.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.PurchasesIndentsService.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.PurchasesIndentsService.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.PurchasesIndentsService.RevisionUpdate */ revisionUpdate: { name: "RevisionUpdate", I: purchases_indents_pb_js_1.PurchasesIndentsServiceUpdateRequest, O: base_pb_js_1.Identifier, kind: protobuf_1.MethodKind.Unary, }, /** * Halt * * @generated from rpc Genesis.PurchasesIndentsService.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.PurchasesIndentsService.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.PurchasesIndentsService.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.PurchasesIndentsService.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.PurchasesIndentsService.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.PurchasesIndentsService.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.PurchasesIndentsService.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.PurchasesIndentsService.SendEmail */ sendEmail: { name: "SendEmail", I: base_pb_js_1.IdentifierWithEmailAttributes, O: base_pb_js_1.Identifier, kind: protobuf_1.MethodKind.Unary, }, /** * Autofill the purchase indent * * @generated from rpc Genesis.PurchasesIndentsService.Autofill */ autofill: { name: "Autofill", I: purchases_indents_pb_js_1.PurchasesIndentsServiceAutofillRequest, O: base_pb_js_1.Identifier, kind: protobuf_1.MethodKind.Unary, }, /** * Checks if the Purchase Indent can be marked as completed * * @generated from rpc Genesis.PurchasesIndentsService.IsCompletable */ isCompletable: { name: "IsCompletable", I: base_pb_js_1.Identifier, O: base_pb_js_1.BooleanResponse, kind: protobuf_1.MethodKind.Unary, }, /** * Add multiple items to a purchase indent * * @generated from rpc Genesis.PurchasesIndentsService.AddMultiplePurchaseIndentItems */ addMultiplePurchaseIndentItems: { name: "AddMultiplePurchaseIndentItems", I: purchases_indents_pb_js_1.PurchasesIndentsServiceMultipleItemsCreateRequest, O: base_pb_js_1.Identifier, kind: protobuf_1.MethodKind.Unary, }, /** * Add an item to a purchase indent * * @generated from rpc Genesis.PurchasesIndentsService.AddPurchaseIndentItem */ addPurchaseIndentItem: { name: "AddPurchaseIndentItem", I: purchases_indents_pb_js_1.PurchasesIndentsServiceItemCreateRequest, O: base_pb_js_1.Identifier, kind: protobuf_1.MethodKind.Unary, }, /** * Modify an item in a purchase indent * * @generated from rpc Genesis.PurchasesIndentsService.ModifyPurchaseIndentItem */ modifyPurchaseIndentItem: { name: "ModifyPurchaseIndentItem", I: purchases_indents_pb_js_1.PurchasesIndentsServiceItemUpdateRequest, O: base_pb_js_1.Identifier, kind: protobuf_1.MethodKind.Unary, }, /** * Approve an item in a purchase indent * * @generated from rpc Genesis.PurchasesIndentsService.ApprovePurchaseIndentItem */ approvePurchaseIndentItem: { name: "ApprovePurchaseIndentItem", I: base_pb_js_1.IdentifierWithUserComment, O: base_pb_js_1.Identifier, kind: protobuf_1.MethodKind.Unary, }, /** * Delete an item in a purchase indent * * @generated from rpc Genesis.PurchasesIndentsService.DeletePurchaseIndentItem */ deletePurchaseIndentItem: { name: "DeletePurchaseIndentItem", I: base_pb_js_1.IdentifierWithUserComment, O: base_pb_js_1.Identifier, kind: protobuf_1.MethodKind.Unary, }, /** * Reorder items in a purchase indent * * @generated from rpc Genesis.PurchasesIndentsService.ReorderPurchaseIndentItems */ reorderPurchaseIndentItems: { name: "ReorderPurchaseIndentItems", I: base_pb_js_1.ReorderItemsRequest, O: base_pb_js_1.Identifier, kind: protobuf_1.MethodKind.Unary, }, /** * View Purchase Indent Item by ID * * @generated from rpc Genesis.PurchasesIndentsService.ViewPurchaseIndentItemByID */ viewPurchaseIndentItemByID: { name: "ViewPurchaseIndentItemByID", I: base_pb_js_1.Identifier, O: purchases_indents_pb_js_1.PurchaseIndentItem, kind: protobuf_1.MethodKind.Unary, }, /** * View approved purchase indent items for given purchase indent ID * * @generated from rpc Genesis.PurchasesIndentsService.ViewApprovedPurchaseIndentItems */ viewApprovedPurchaseIndentItems: { name: "ViewApprovedPurchaseIndentItems", I: base_pb_js_1.IdentifierWithSearchKey, O: purchases_indents_pb_js_1.PurchasesIndentsItemsList, kind: protobuf_1.MethodKind.Unary, }, /** * View unapproved purchase indent items for given purchase indent ID * * @generated from rpc Genesis.PurchasesIndentsService.ViewUnapprovedPurchaseIndentItems */ viewUnapprovedPurchaseIndentItems: { name: "ViewUnapprovedPurchaseIndentItems", I: base_pb_js_1.IdentifierWithSearchKey, O: purchases_indents_pb_js_1.PurchasesIndentsItemsList, kind: protobuf_1.MethodKind.Unary, }, /** * View the history of the purchase indent item * * @generated from rpc Genesis.PurchasesIndentsService.ViewPurchaseIndentItemHistory */ viewPurchaseIndentItemHistory: { name: "ViewPurchaseIndentItemHistory", I: purchases_indents_pb_js_1.PurchaseIndentItemHistoryRequest, O: purchases_indents_pb_js_1.PurchasesIndentsItemsList, kind: protobuf_1.MethodKind.Unary, }, /** * View by ID * * @generated from rpc Genesis.PurchasesIndentsService.ViewByID */ viewByID: { name: "ViewByID", I: base_pb_js_1.Identifier, O: purchases_indents_pb_js_1.PurchaseIndent, kind: protobuf_1.MethodKind.Unary, }, /** * View all * * @generated from rpc Genesis.PurchasesIndentsService.ViewAll */ viewAll: { name: "ViewAll", I: base_pb_js_1.ActiveStatus, O: purchases_indents_pb_js_1.PurchasesIndentsList, kind: protobuf_1.MethodKind.Unary, }, /** * View all with the given entity UUID * * @generated from rpc Genesis.PurchasesIndentsService.ViewAllForEntityUUID */ viewAllForEntityUUID: { name: "ViewAllForEntityUUID", I: base_pb_js_1.IdentifierUUID, O: purchases_indents_pb_js_1.PurchasesIndentsList, kind: protobuf_1.MethodKind.Unary, }, /** * View with pagination * * @generated from rpc Genesis.PurchasesIndentsService.ViewWithPagination */ viewWithPagination: { name: "ViewWithPagination", I: purchases_indents_pb_js_1.PurchasesIndentsServicePaginationReq, O: purchases_indents_pb_js_1.PurchasesIndentsServicePaginationResponse, kind: protobuf_1.MethodKind.Unary, }, /** * View with pagination with the given entity UUID * * @generated from rpc Genesis.PurchasesIndentsService.ViewWithPaginationForEntityUUID */ viewWithPaginationForEntityUUID: { name: "ViewWithPaginationForEntityUUID", I: purchases_indents_pb_js_1.PurchasesIndentsServiceEntityPaginationReq, O: purchases_indents_pb_js_1.PurchasesIndentsServicePaginationResponse, kind: protobuf_1.MethodKind.Unary, }, /** * View all purchase order IDs that are associated with the given purchase indent ID * * @generated from rpc Genesis.PurchasesIndentsService.ViewAssociatedPurchaseOrderIDs */ viewAssociatedPurchaseOrderIDs: { name: "ViewAssociatedPurchaseOrderIDs", I: base_pb_js_1.Identifier, O: base_pb_js_1.IdentifiersList, kind: protobuf_1.MethodKind.Unary, }, /** * View prospective items for the given purchase indent * * @generated from rpc Genesis.PurchasesIndentsService.ViewProspectiveFamilies */ viewProspectiveFamilies: { name: "ViewProspectiveFamilies", I: base_pb_js_1.IdentifierWithSearchKey, O: families_pb_js_1.FamiliesList, kind: protobuf_1.MethodKind.Unary, }, /** * View prospective purchase indent item info for the given family ID and purchase indent ID * * @generated from rpc Genesis.PurchasesIndentsService.ViewProspectivePurchaseIndentItem */ viewProspectivePurchaseIndentItem: { name: "ViewProspectivePurchaseIndentItem", I: purchases_indents_pb_js_1.PurchaseIndentItemProspectiveInfoRequest, O: purchases_indents_pb_js_1.PurchasesIndentsServiceItemCreateRequest, kind: protobuf_1.MethodKind.Unary, }, /** * View all that match the given search key * * @generated from rpc Genesis.PurchasesIndentsService.SearchAll */ searchAll: { name: "SearchAll", I: purchases_indents_pb_js_1.PurchasesIndentsServiceSearchAllReq, O: purchases_indents_pb_js_1.PurchasesIndentsList, kind: protobuf_1.MethodKind.Unary, }, /** * View all that match the given filter criteria * * @generated from rpc Genesis.PurchasesIndentsService.Filter */ filter: { name: "Filter", I: purchases_indents_pb_js_1.PurchasesIndentsServiceFilterReq, O: purchases_indents_pb_js_1.PurchasesIndentsList, kind: protobuf_1.MethodKind.Unary, }, /** * Count in status * * @generated from rpc Genesis.PurchasesIndentsService.CountInStatus */ countInStatus: { name: "CountInStatus", I: base_pb_js_1.CountInSLCStatusRequest, O: base_pb_js_1.CountResponse, kind: protobuf_1.MethodKind.Unary, }, } };