UNPKG

@unaxiom/genesis-sdk

Version:

NPM module that provides access to Genesis' API

430 lines (429 loc) 15 kB
"use strict"; // @generated by protoc-gen-connect-es v0.12.0 with parameter "target=ts" // @generated from file production_plans.proto (package Genesis, syntax proto3) /* eslint-disable */ // @ts-nocheck Object.defineProperty(exports, "__esModule", { value: true }); exports.ProductionPlansService = void 0; const production_plans_pb_js_1 = require("./production_plans_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 production plan * * @generated from service Genesis.ProductionPlansService */ exports.ProductionPlansService = { typeName: "Genesis.ProductionPlansService", methods: { /** * Create and send for verification * * @generated from rpc Genesis.ProductionPlansService.Create */ create: { name: "Create", I: production_plans_pb_js_1.ProductionPlansServiceCreateRequest, O: base_pb_js_1.Identifier, kind: protobuf_1.MethodKind.Unary, }, /** * Create and save as draft * * @generated from rpc Genesis.ProductionPlansService.Draft */ draft: { name: "Draft", I: production_plans_pb_js_1.ProductionPlansServiceCreateRequest, O: base_pb_js_1.Identifier, kind: protobuf_1.MethodKind.Unary, }, /** * Update draft * * @generated from rpc Genesis.ProductionPlansService.DraftUpdate */ draftUpdate: { name: "DraftUpdate", I: production_plans_pb_js_1.ProductionPlansServiceUpdateRequest, O: base_pb_js_1.Identifier, kind: protobuf_1.MethodKind.Unary, }, /** * Send for verification * * @generated from rpc Genesis.ProductionPlansService.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.ProductionPlansService.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.ProductionPlansService.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.ProductionPlansService.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.ProductionPlansService.RevisionUpdate */ revisionUpdate: { name: "RevisionUpdate", I: production_plans_pb_js_1.ProductionPlansServiceUpdateRequest, O: base_pb_js_1.Identifier, kind: protobuf_1.MethodKind.Unary, }, /** * Halt * * @generated from rpc Genesis.ProductionPlansService.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.ProductionPlansService.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.ProductionPlansService.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.ProductionPlansService.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.ProductionPlansService.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.ProductionPlansService.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.ProductionPlansService.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.ProductionPlansService.SendEmail */ sendEmail: { name: "SendEmail", I: base_pb_js_1.IdentifierWithEmailAttributes, O: base_pb_js_1.Identifier, kind: protobuf_1.MethodKind.Unary, }, /** * Autofill the production plan * * @generated from rpc Genesis.ProductionPlansService.Autofill */ autofill: { name: "Autofill", I: production_plans_pb_js_1.ProductionPlansServiceAutofillRequest, O: base_pb_js_1.Identifier, kind: protobuf_1.MethodKind.Unary, }, /** * Checks if the Production Plan can be marked as completed * * @generated from rpc Genesis.ProductionPlansService.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 production plan * * @generated from rpc Genesis.ProductionPlansService.AddProductionPlanItem */ addProductionPlanItem: { name: "AddProductionPlanItem", I: production_plans_pb_js_1.ProductionPlansServiceItemCreateRequest, O: base_pb_js_1.Identifier, kind: protobuf_1.MethodKind.Unary, }, /** * Modify an item in a production plan * * @generated from rpc Genesis.ProductionPlansService.ModifyProductionPlanItem */ modifyProductionPlanItem: { name: "ModifyProductionPlanItem", I: production_plans_pb_js_1.ProductionPlansServiceItemUpdateRequest, O: base_pb_js_1.Identifier, kind: protobuf_1.MethodKind.Unary, }, /** * Approve an item in a production plan * * @generated from rpc Genesis.ProductionPlansService.ApproveProductionPlanItem */ approveProductionPlanItem: { name: "ApproveProductionPlanItem", I: base_pb_js_1.IdentifierWithUserComment, O: base_pb_js_1.Identifier, kind: protobuf_1.MethodKind.Unary, }, /** * Delete an item in a production plan * * @generated from rpc Genesis.ProductionPlansService.DeleteProductionPlanItem */ deleteProductionPlanItem: { name: "DeleteProductionPlanItem", I: base_pb_js_1.IdentifierWithUserComment, O: base_pb_js_1.Identifier, kind: protobuf_1.MethodKind.Unary, }, /** * Reorder items in a production plan * * @generated from rpc Genesis.ProductionPlansService.ReorderProductionPlanItems */ reorderProductionPlanItems: { name: "ReorderProductionPlanItems", I: base_pb_js_1.ReorderItemsRequest, O: base_pb_js_1.Identifier, kind: protobuf_1.MethodKind.Unary, }, /** * View Production Plan Item by ID * * @generated from rpc Genesis.ProductionPlansService.ViewProductionPlanItemByID */ viewProductionPlanItemByID: { name: "ViewProductionPlanItemByID", I: base_pb_js_1.Identifier, O: production_plans_pb_js_1.ProductionPlanItem, kind: protobuf_1.MethodKind.Unary, }, /** * View approved production plan items for given production plan ID * * @generated from rpc Genesis.ProductionPlansService.ViewApprovedProductionPlanItems */ viewApprovedProductionPlanItems: { name: "ViewApprovedProductionPlanItems", I: base_pb_js_1.IdentifierWithSearchKey, O: production_plans_pb_js_1.ProductionPlansItemsList, kind: protobuf_1.MethodKind.Unary, }, /** * View unapproved production plan items for given production plan ID * * @generated from rpc Genesis.ProductionPlansService.ViewUnapprovedProductionPlanItems */ viewUnapprovedProductionPlanItems: { name: "ViewUnapprovedProductionPlanItems", I: base_pb_js_1.IdentifierWithSearchKey, O: production_plans_pb_js_1.ProductionPlansItemsList, kind: protobuf_1.MethodKind.Unary, }, /** * View the history of the production plan item * * @generated from rpc Genesis.ProductionPlansService.ViewProductionPlanItemHistory */ viewProductionPlanItemHistory: { name: "ViewProductionPlanItemHistory", I: production_plans_pb_js_1.ProductionPlanItemHistoryRequest, O: production_plans_pb_js_1.ProductionPlansItemsList, kind: protobuf_1.MethodKind.Unary, }, /** * View by ID * * @generated from rpc Genesis.ProductionPlansService.ViewByID */ viewByID: { name: "ViewByID", I: base_pb_js_1.Identifier, O: production_plans_pb_js_1.ProductionPlan, kind: protobuf_1.MethodKind.Unary, }, /** * View all * * @generated from rpc Genesis.ProductionPlansService.ViewAll */ viewAll: { name: "ViewAll", I: base_pb_js_1.ActiveStatus, O: production_plans_pb_js_1.ProductionPlansList, kind: protobuf_1.MethodKind.Unary, }, /** * View all with the given entity UUID * * @generated from rpc Genesis.ProductionPlansService.ViewAllForEntityUUID */ viewAllForEntityUUID: { name: "ViewAllForEntityUUID", I: base_pb_js_1.IdentifierUUID, O: production_plans_pb_js_1.ProductionPlansList, kind: protobuf_1.MethodKind.Unary, }, /** * View with pagination * * @generated from rpc Genesis.ProductionPlansService.ViewWithPagination */ viewWithPagination: { name: "ViewWithPagination", I: production_plans_pb_js_1.ProductionPlansServicePaginationReq, O: production_plans_pb_js_1.ProductionPlansServicePaginationResponse, kind: protobuf_1.MethodKind.Unary, }, /** * View with pagination with the given entity UUID * * @generated from rpc Genesis.ProductionPlansService.ViewWithPaginationForEntityUUID */ viewWithPaginationForEntityUUID: { name: "ViewWithPaginationForEntityUUID", I: production_plans_pb_js_1.ProductionPlansServiceEntityPaginationReq, O: production_plans_pb_js_1.ProductionPlansServicePaginationResponse, kind: protobuf_1.MethodKind.Unary, }, /** * View prospective families for the given production plan * * @generated from rpc Genesis.ProductionPlansService.ViewProspectiveFamilies */ viewProspectiveFamilies: { name: "ViewProspectiveFamilies", I: base_pb_js_1.IdentifierWithSearchKey, O: families_pb_js_1.FamiliesList, kind: protobuf_1.MethodKind.Unary, }, /** * View prospective production plan item info for the given family ID and production plan ID * * @generated from rpc Genesis.ProductionPlansService.ViewProspectiveProductionPlanItem */ viewProspectiveProductionPlanItem: { name: "ViewProspectiveProductionPlanItem", I: production_plans_pb_js_1.ProductionPlanItemProspectiveInfoRequest, O: production_plans_pb_js_1.ProductionPlansServiceItemCreateRequest, kind: protobuf_1.MethodKind.Unary, }, /** * View all that match the given search key * * @generated from rpc Genesis.ProductionPlansService.SearchAll */ searchAll: { name: "SearchAll", I: production_plans_pb_js_1.ProductionPlansServiceSearchAllReq, O: production_plans_pb_js_1.ProductionPlansList, kind: protobuf_1.MethodKind.Unary, }, /** * View all that match the given filter criteria * * @generated from rpc Genesis.ProductionPlansService.Filter */ filter: { name: "Filter", I: production_plans_pb_js_1.ProductionPlansServiceFilterReq, O: production_plans_pb_js_1.ProductionPlansList, kind: protobuf_1.MethodKind.Unary, }, /** * Count in status * * @generated from rpc Genesis.ProductionPlansService.CountInStatus */ countInStatus: { name: "CountInStatus", I: base_pb_js_1.CountInSLCStatusRequest, O: base_pb_js_1.CountResponse, kind: protobuf_1.MethodKind.Unary, }, } };