@unaxiom/genesis-sdk
Version:
NPM module that provides access to Genesis' API
441 lines (440 loc) • 15.4 kB
JavaScript
"use strict";
// @generated by protoc-gen-connect-es v0.12.0 with parameter "target=ts"
// @generated from file stock_issuances.proto (package Genesis, syntax proto3)
/* eslint-disable */
// @ts-nocheck
Object.defineProperty(exports, "__esModule", { value: true });
exports.StockIssuancesService = void 0;
const stock_issuances_pb_js_1 = require("./stock_issuances_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 stock issuance
*
* @generated from service Genesis.StockIssuancesService
*/
exports.StockIssuancesService = {
typeName: "Genesis.StockIssuancesService",
methods: {
/**
* Create and send for verification
*
* @generated from rpc Genesis.StockIssuancesService.Create
*/
create: {
name: "Create",
I: stock_issuances_pb_js_1.StockIssuancesServiceCreateRequest,
O: base_pb_js_1.Identifier,
kind: protobuf_1.MethodKind.Unary,
},
/**
* Create and save as draft
*
* @generated from rpc Genesis.StockIssuancesService.Draft
*/
draft: {
name: "Draft",
I: stock_issuances_pb_js_1.StockIssuancesServiceCreateRequest,
O: base_pb_js_1.Identifier,
kind: protobuf_1.MethodKind.Unary,
},
/**
* Update draft
*
* @generated from rpc Genesis.StockIssuancesService.DraftUpdate
*/
draftUpdate: {
name: "DraftUpdate",
I: stock_issuances_pb_js_1.StockIssuancesServiceUpdateRequest,
O: base_pb_js_1.Identifier,
kind: protobuf_1.MethodKind.Unary,
},
/**
* Send for verification
*
* @generated from rpc Genesis.StockIssuancesService.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.StockIssuancesService.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.StockIssuancesService.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.StockIssuancesService.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.StockIssuancesService.RevisionUpdate
*/
revisionUpdate: {
name: "RevisionUpdate",
I: stock_issuances_pb_js_1.StockIssuancesServiceUpdateRequest,
O: base_pb_js_1.Identifier,
kind: protobuf_1.MethodKind.Unary,
},
/**
* Halt
*
* @generated from rpc Genesis.StockIssuancesService.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.StockIssuancesService.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.StockIssuancesService.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.StockIssuancesService.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.StockIssuancesService.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.StockIssuancesService.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.StockIssuancesService.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.StockIssuancesService.SendEmail
*/
sendEmail: {
name: "SendEmail",
I: base_pb_js_1.IdentifierWithEmailAttributes,
O: base_pb_js_1.Identifier,
kind: protobuf_1.MethodKind.Unary,
},
/**
* Autofill the stock issuance
*
* @generated from rpc Genesis.StockIssuancesService.Autofill
*/
autofill: {
name: "Autofill",
I: stock_issuances_pb_js_1.StockIssuancesServiceAutofillRequest,
O: base_pb_js_1.Identifier,
kind: protobuf_1.MethodKind.Unary,
},
/**
* Checks if the Stock Issuance can be marked as completed
*
* @generated from rpc Genesis.StockIssuancesService.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 stock issuance
*
* @generated from rpc Genesis.StockIssuancesService.AddStockIssuanceItem
*/
addStockIssuanceItem: {
name: "AddStockIssuanceItem",
I: stock_issuances_pb_js_1.StockIssuancesServiceItemCreateRequest,
O: base_pb_js_1.Identifier,
kind: protobuf_1.MethodKind.Unary,
},
/**
* Modify an item in a stock issuance
*
* @generated from rpc Genesis.StockIssuancesService.ModifyStockIssuanceItem
*/
modifyStockIssuanceItem: {
name: "ModifyStockIssuanceItem",
I: stock_issuances_pb_js_1.StockIssuancesServiceItemUpdateRequest,
O: base_pb_js_1.Identifier,
kind: protobuf_1.MethodKind.Unary,
},
/**
* Approve an item in a stock issuance
*
* @generated from rpc Genesis.StockIssuancesService.ApproveStockIssuanceItem
*/
approveStockIssuanceItem: {
name: "ApproveStockIssuanceItem",
I: base_pb_js_1.IdentifierWithUserComment,
O: base_pb_js_1.Identifier,
kind: protobuf_1.MethodKind.Unary,
},
/**
* Delete an item in a stock issuance
*
* @generated from rpc Genesis.StockIssuancesService.DeleteStockIssuanceItem
*/
deleteStockIssuanceItem: {
name: "DeleteStockIssuanceItem",
I: base_pb_js_1.IdentifierWithUserComment,
O: base_pb_js_1.Identifier,
kind: protobuf_1.MethodKind.Unary,
},
/**
* Reorder items in a stock issuance
*
* @generated from rpc Genesis.StockIssuancesService.ReorderStockIssuanceItems
*/
reorderStockIssuanceItems: {
name: "ReorderStockIssuanceItems",
I: base_pb_js_1.ReorderItemsRequest,
O: base_pb_js_1.Identifier,
kind: protobuf_1.MethodKind.Unary,
},
/**
* View Stock Issuance Item by ID
*
* @generated from rpc Genesis.StockIssuancesService.ViewStockIssuanceItemByID
*/
viewStockIssuanceItemByID: {
name: "ViewStockIssuanceItemByID",
I: base_pb_js_1.Identifier,
O: stock_issuances_pb_js_1.StockIssuanceItem,
kind: protobuf_1.MethodKind.Unary,
},
/**
* View approved stock issuance items for given stock issuance ID
*
* @generated from rpc Genesis.StockIssuancesService.ViewApprovedStockIssuanceItems
*/
viewApprovedStockIssuanceItems: {
name: "ViewApprovedStockIssuanceItems",
I: base_pb_js_1.IdentifierWithSearchKey,
O: stock_issuances_pb_js_1.StockIssuancesItemsList,
kind: protobuf_1.MethodKind.Unary,
},
/**
* View unapproved stock issuance items for given stock issuance ID
*
* @generated from rpc Genesis.StockIssuancesService.ViewUnapprovedStockIssuanceItems
*/
viewUnapprovedStockIssuanceItems: {
name: "ViewUnapprovedStockIssuanceItems",
I: base_pb_js_1.IdentifierWithSearchKey,
O: stock_issuances_pb_js_1.StockIssuancesItemsList,
kind: protobuf_1.MethodKind.Unary,
},
/**
* View the history of the stock issuance item
*
* @generated from rpc Genesis.StockIssuancesService.ViewStockIssuanceItemHistory
*/
viewStockIssuanceItemHistory: {
name: "ViewStockIssuanceItemHistory",
I: stock_issuances_pb_js_1.StockIssuanceItemHistoryRequest,
O: stock_issuances_pb_js_1.StockIssuancesItemsList,
kind: protobuf_1.MethodKind.Unary,
},
/**
* View by ID
*
* @generated from rpc Genesis.StockIssuancesService.ViewByID
*/
viewByID: {
name: "ViewByID",
I: base_pb_js_1.Identifier,
O: stock_issuances_pb_js_1.StockIssuance,
kind: protobuf_1.MethodKind.Unary,
},
/**
* View all
*
* @generated from rpc Genesis.StockIssuancesService.ViewAll
*/
viewAll: {
name: "ViewAll",
I: base_pb_js_1.ActiveStatus,
O: stock_issuances_pb_js_1.StockIssuancesList,
kind: protobuf_1.MethodKind.Unary,
},
/**
* View all with the given entity UUID
*
* @generated from rpc Genesis.StockIssuancesService.ViewAllForEntityUUID
*/
viewAllForEntityUUID: {
name: "ViewAllForEntityUUID",
I: base_pb_js_1.IdentifierUUID,
O: stock_issuances_pb_js_1.StockIssuancesList,
kind: protobuf_1.MethodKind.Unary,
},
/**
* View with pagination
*
* @generated from rpc Genesis.StockIssuancesService.ViewWithPagination
*/
viewWithPagination: {
name: "ViewWithPagination",
I: stock_issuances_pb_js_1.StockIssuancesServicePaginationReq,
O: stock_issuances_pb_js_1.StockIssuancesServicePaginationResponse,
kind: protobuf_1.MethodKind.Unary,
},
/**
* View with pagination with the given entity UUID
*
* @generated from rpc Genesis.StockIssuancesService.ViewWithPaginationForEntityUUID
*/
viewWithPaginationForEntityUUID: {
name: "ViewWithPaginationForEntityUUID",
I: stock_issuances_pb_js_1.StockIssuancesServiceEntityPaginationReq,
O: stock_issuances_pb_js_1.StockIssuancesServicePaginationResponse,
kind: protobuf_1.MethodKind.Unary,
},
/**
* View prospective families for the given stock issuance
*
* @generated from rpc Genesis.StockIssuancesService.ViewProspectiveFamilies
*/
viewProspectiveFamilies: {
name: "ViewProspectiveFamilies",
I: base_pb_js_1.IdentifierWithSearchKey,
O: families_pb_js_1.FamiliesList,
kind: protobuf_1.MethodKind.Unary,
},
/**
* View prospective stock issuance item info for the given family ID and stock issuance ID
*
* @generated from rpc Genesis.StockIssuancesService.ViewProspectiveStockIssuanceItem
*/
viewProspectiveStockIssuanceItem: {
name: "ViewProspectiveStockIssuanceItem",
I: stock_issuances_pb_js_1.StockIssuanceItemProspectiveInfoRequest,
O: stock_issuances_pb_js_1.StockIssuancesServiceItemCreateRequest,
kind: protobuf_1.MethodKind.Unary,
},
/**
* View already added quantities
*
* @generated from rpc Genesis.StockIssuancesService.ViewAddedFamilyQuantityForSource
*/
viewAddedFamilyQuantityForSource: {
name: "ViewAddedFamilyQuantityForSource",
I: stock_issuances_pb_js_1.StockIssuancesServiceAlreadyAddedQuantityForSourceRequest,
O: base_pb_js_1.QuantityResponse,
kind: protobuf_1.MethodKind.Unary,
},
/**
* View all that match the given search key
*
* @generated from rpc Genesis.StockIssuancesService.SearchAll
*/
searchAll: {
name: "SearchAll",
I: stock_issuances_pb_js_1.StockIssuancesServiceSearchAllReq,
O: stock_issuances_pb_js_1.StockIssuancesList,
kind: protobuf_1.MethodKind.Unary,
},
/**
* View all that match the given filter criteria
*
* @generated from rpc Genesis.StockIssuancesService.Filter
*/
filter: {
name: "Filter",
I: stock_issuances_pb_js_1.StockIssuancesServiceFilterReq,
O: stock_issuances_pb_js_1.StockIssuancesList,
kind: protobuf_1.MethodKind.Unary,
},
/**
* Count in status
*
* @generated from rpc Genesis.StockIssuancesService.CountInStatus
*/
countInStatus: {
name: "CountInStatus",
I: base_pb_js_1.CountInSLCStatusRequest,
O: base_pb_js_1.CountResponse,
kind: protobuf_1.MethodKind.Unary,
},
}
};