@unaxiom/genesis-sdk
Version:
NPM module that provides access to Genesis' API
441 lines (440 loc) • 15.8 kB
JavaScript
"use strict";
// @generated by protoc-gen-connect-es v0.12.0 with parameter "target=ts"
// @generated from file production_indents.proto (package Genesis, syntax proto3)
/* eslint-disable */
// @ts-nocheck
Object.defineProperty(exports, "__esModule", { value: true });
exports.ProductionIndentsService = void 0;
const production_indents_pb_js_1 = require("./production_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 production indent
*
* @generated from service Genesis.ProductionIndentsService
*/
exports.ProductionIndentsService = {
typeName: "Genesis.ProductionIndentsService",
methods: {
/**
* Create and send for verification
*
* @generated from rpc Genesis.ProductionIndentsService.Create
*/
create: {
name: "Create",
I: production_indents_pb_js_1.ProductionIndentsServiceCreateRequest,
O: base_pb_js_1.Identifier,
kind: protobuf_1.MethodKind.Unary,
},
/**
* Create and save as draft
*
* @generated from rpc Genesis.ProductionIndentsService.Draft
*/
draft: {
name: "Draft",
I: production_indents_pb_js_1.ProductionIndentsServiceCreateRequest,
O: base_pb_js_1.Identifier,
kind: protobuf_1.MethodKind.Unary,
},
/**
* Update draft
*
* @generated from rpc Genesis.ProductionIndentsService.DraftUpdate
*/
draftUpdate: {
name: "DraftUpdate",
I: production_indents_pb_js_1.ProductionIndentsServiceUpdateRequest,
O: base_pb_js_1.Identifier,
kind: protobuf_1.MethodKind.Unary,
},
/**
* Send for verification
*
* @generated from rpc Genesis.ProductionIndentsService.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.ProductionIndentsService.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.ProductionIndentsService.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.ProductionIndentsService.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.ProductionIndentsService.RevisionUpdate
*/
revisionUpdate: {
name: "RevisionUpdate",
I: production_indents_pb_js_1.ProductionIndentsServiceUpdateRequest,
O: base_pb_js_1.Identifier,
kind: protobuf_1.MethodKind.Unary,
},
/**
* Halt
*
* @generated from rpc Genesis.ProductionIndentsService.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.ProductionIndentsService.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.ProductionIndentsService.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.ProductionIndentsService.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.ProductionIndentsService.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.ProductionIndentsService.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.ProductionIndentsService.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.ProductionIndentsService.SendEmail
*/
sendEmail: {
name: "SendEmail",
I: base_pb_js_1.IdentifierWithEmailAttributes,
O: base_pb_js_1.Identifier,
kind: protobuf_1.MethodKind.Unary,
},
/**
* Autofill the production indent
*
* @generated from rpc Genesis.ProductionIndentsService.Autofill
*/
autofill: {
name: "Autofill",
I: production_indents_pb_js_1.ProductionIndentsServiceAutofillRequest,
O: base_pb_js_1.Identifier,
kind: protobuf_1.MethodKind.Unary,
},
/**
* Checks if the Production Indent can be marked as completed
*
* @generated from rpc Genesis.ProductionIndentsService.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 indent
*
* @generated from rpc Genesis.ProductionIndentsService.AddProductionIndentItem
*/
addProductionIndentItem: {
name: "AddProductionIndentItem",
I: production_indents_pb_js_1.ProductionIndentsServiceItemCreateRequest,
O: base_pb_js_1.Identifier,
kind: protobuf_1.MethodKind.Unary,
},
/**
* Modify an item in a production indent
*
* @generated from rpc Genesis.ProductionIndentsService.ModifyProductionIndentItem
*/
modifyProductionIndentItem: {
name: "ModifyProductionIndentItem",
I: production_indents_pb_js_1.ProductionIndentsServiceItemUpdateRequest,
O: base_pb_js_1.Identifier,
kind: protobuf_1.MethodKind.Unary,
},
/**
* Approve an item in a production indent
*
* @generated from rpc Genesis.ProductionIndentsService.ApproveProductionIndentItem
*/
approveProductionIndentItem: {
name: "ApproveProductionIndentItem",
I: base_pb_js_1.IdentifierWithUserComment,
O: base_pb_js_1.Identifier,
kind: protobuf_1.MethodKind.Unary,
},
/**
* Delete an item in a production indent
*
* @generated from rpc Genesis.ProductionIndentsService.DeleteProductionIndentItem
*/
deleteProductionIndentItem: {
name: "DeleteProductionIndentItem",
I: base_pb_js_1.IdentifierWithUserComment,
O: base_pb_js_1.Identifier,
kind: protobuf_1.MethodKind.Unary,
},
/**
* Reorder items in a production indent
*
* @generated from rpc Genesis.ProductionIndentsService.ReorderProductionIndentItems
*/
reorderProductionIndentItems: {
name: "ReorderProductionIndentItems",
I: base_pb_js_1.ReorderItemsRequest,
O: base_pb_js_1.Identifier,
kind: protobuf_1.MethodKind.Unary,
},
/**
* View Production Indent Item by ID
*
* @generated from rpc Genesis.ProductionIndentsService.ViewProductionIndentItemByID
*/
viewProductionIndentItemByID: {
name: "ViewProductionIndentItemByID",
I: base_pb_js_1.Identifier,
O: production_indents_pb_js_1.ProductionIndentItem,
kind: protobuf_1.MethodKind.Unary,
},
/**
* View approved production indent items for given production indent ID
*
* @generated from rpc Genesis.ProductionIndentsService.ViewApprovedProductionIndentItems
*/
viewApprovedProductionIndentItems: {
name: "ViewApprovedProductionIndentItems",
I: base_pb_js_1.IdentifierWithSearchKey,
O: production_indents_pb_js_1.ProductionIndentsItemsList,
kind: protobuf_1.MethodKind.Unary,
},
/**
* View unapproved production indent items for given production indent ID
*
* @generated from rpc Genesis.ProductionIndentsService.ViewUnapprovedProductionIndentItems
*/
viewUnapprovedProductionIndentItems: {
name: "ViewUnapprovedProductionIndentItems",
I: base_pb_js_1.IdentifierWithSearchKey,
O: production_indents_pb_js_1.ProductionIndentsItemsList,
kind: protobuf_1.MethodKind.Unary,
},
/**
* View the history of the production indent item
*
* @generated from rpc Genesis.ProductionIndentsService.ViewProductionIndentItemHistory
*/
viewProductionIndentItemHistory: {
name: "ViewProductionIndentItemHistory",
I: production_indents_pb_js_1.ProductionIndentItemHistoryRequest,
O: production_indents_pb_js_1.ProductionIndentsItemsList,
kind: protobuf_1.MethodKind.Unary,
},
/**
* View by ID
*
* @generated from rpc Genesis.ProductionIndentsService.ViewByID
*/
viewByID: {
name: "ViewByID",
I: base_pb_js_1.Identifier,
O: production_indents_pb_js_1.ProductionIndent,
kind: protobuf_1.MethodKind.Unary,
},
/**
* View all
*
* @generated from rpc Genesis.ProductionIndentsService.ViewAll
*/
viewAll: {
name: "ViewAll",
I: base_pb_js_1.ActiveStatus,
O: production_indents_pb_js_1.ProductionIndentsList,
kind: protobuf_1.MethodKind.Unary,
},
/**
* View all with the given entity UUID
*
* @generated from rpc Genesis.ProductionIndentsService.ViewAllForEntityUUID
*/
viewAllForEntityUUID: {
name: "ViewAllForEntityUUID",
I: base_pb_js_1.IdentifierUUID,
O: production_indents_pb_js_1.ProductionIndentsList,
kind: protobuf_1.MethodKind.Unary,
},
/**
* View with pagination
*
* @generated from rpc Genesis.ProductionIndentsService.ViewWithPagination
*/
viewWithPagination: {
name: "ViewWithPagination",
I: production_indents_pb_js_1.ProductionIndentsServicePaginationReq,
O: production_indents_pb_js_1.ProductionIndentsServicePaginationResponse,
kind: protobuf_1.MethodKind.Unary,
},
/**
* View with pagination with the given entity UUID
*
* @generated from rpc Genesis.ProductionIndentsService.ViewWithPaginationForEntityUUID
*/
viewWithPaginationForEntityUUID: {
name: "ViewWithPaginationForEntityUUID",
I: production_indents_pb_js_1.ProductionIndentsServiceEntityPaginationReq,
O: production_indents_pb_js_1.ProductionIndentsServicePaginationResponse,
kind: protobuf_1.MethodKind.Unary,
},
/**
* View prospective families for the given production indent
*
* @generated from rpc Genesis.ProductionIndentsService.ViewProspectiveFamilies
*/
viewProspectiveFamilies: {
name: "ViewProspectiveFamilies",
I: base_pb_js_1.IdentifierWithSearchKey,
O: families_pb_js_1.FamiliesList,
kind: protobuf_1.MethodKind.Unary,
},
/**
* View prospective production indent item info for the given family ID and production indent ID
*
* @generated from rpc Genesis.ProductionIndentsService.ViewProspectiveProductionIndentItem
*/
viewProspectiveProductionIndentItem: {
name: "ViewProspectiveProductionIndentItem",
I: production_indents_pb_js_1.ProductionIndentItemProspectiveInfoRequest,
O: production_indents_pb_js_1.ProductionIndentsServiceItemCreateRequest,
kind: protobuf_1.MethodKind.Unary,
},
/**
* View the added quantity for the family with the given request payload
*
* @generated from rpc Genesis.ProductionIndentsService.ViewAddedQuantityForFamily
*/
viewAddedQuantityForFamily: {
name: "ViewAddedQuantityForFamily",
I: production_indents_pb_js_1.ProductionIndentItemProspectiveInfoRequest,
O: base_pb_js_1.QuantityResponse,
kind: protobuf_1.MethodKind.Unary,
},
/**
* View all that match the given search key
*
* @generated from rpc Genesis.ProductionIndentsService.SearchAll
*/
searchAll: {
name: "SearchAll",
I: production_indents_pb_js_1.ProductionIndentsServiceSearchAllReq,
O: production_indents_pb_js_1.ProductionIndentsList,
kind: protobuf_1.MethodKind.Unary,
},
/**
* View all that match the given filter criteria
*
* @generated from rpc Genesis.ProductionIndentsService.Filter
*/
filter: {
name: "Filter",
I: production_indents_pb_js_1.ProductionIndentsServiceFilterReq,
O: production_indents_pb_js_1.ProductionIndentsList,
kind: protobuf_1.MethodKind.Unary,
},
/**
* Count in status
*
* @generated from rpc Genesis.ProductionIndentsService.CountInStatus
*/
countInStatus: {
name: "CountInStatus",
I: base_pb_js_1.CountInSLCStatusRequest,
O: base_pb_js_1.CountResponse,
kind: protobuf_1.MethodKind.Unary,
},
}
};