UNPKG

@unaxiom/genesis-sdk

Version:

NPM module that provides access to Genesis' API

278 lines (277 loc) 8.86 kB
"use strict"; // @generated by protoc-gen-connect-es v0.12.0 with parameter "target=ts" // @generated from file departments.proto (package Genesis, syntax proto3) /* eslint-disable */ // @ts-nocheck Object.defineProperty(exports, "__esModule", { value: true }); exports.DepartmentsService = void 0; const departments_pb_js_1 = require("./departments_pb.js"); const base_pb_js_1 = require("./base_pb.js"); const protobuf_1 = require("@bufbuild/protobuf"); /** * * Describes the common methods applicable on each department * * @generated from service Genesis.DepartmentsService */ exports.DepartmentsService = { typeName: "Genesis.DepartmentsService", methods: { /** * Create and send for verification * * @generated from rpc Genesis.DepartmentsService.Create */ create: { name: "Create", I: departments_pb_js_1.DepartmentsServiceCreateRequest, O: base_pb_js_1.Identifier, kind: protobuf_1.MethodKind.Unary, }, /** * Create and save as draft * * @generated from rpc Genesis.DepartmentsService.Draft */ draft: { name: "Draft", I: departments_pb_js_1.DepartmentsServiceCreateRequest, O: base_pb_js_1.Identifier, kind: protobuf_1.MethodKind.Unary, }, /** * Update draft * * @generated from rpc Genesis.DepartmentsService.DraftUpdate */ draftUpdate: { name: "DraftUpdate", I: departments_pb_js_1.DepartmentsServiceUpdateRequest, O: base_pb_js_1.Identifier, kind: protobuf_1.MethodKind.Unary, }, /** * Send for verification * * @generated from rpc Genesis.DepartmentsService.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.DepartmentsService.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.DepartmentsService.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.DepartmentsService.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.DepartmentsService.RevisionUpdate */ revisionUpdate: { name: "RevisionUpdate", I: departments_pb_js_1.DepartmentsServiceUpdateRequest, O: base_pb_js_1.Identifier, kind: protobuf_1.MethodKind.Unary, }, /** * Halt * * @generated from rpc Genesis.DepartmentsService.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.DepartmentsService.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.DepartmentsService.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.DepartmentsService.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.DepartmentsService.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.DepartmentsService.Reopen */ reopen: { name: "Reopen", I: base_pb_js_1.IdentifierWithUserComment, O: base_pb_js_1.Identifier, kind: protobuf_1.MethodKind.Unary, }, /** * Add comment * * Send Email * rpc SendEmail (IdentifierWithEmailAttributes) returns (Identifier); * * @generated from rpc Genesis.DepartmentsService.CommentAdd */ commentAdd: { name: "CommentAdd", I: base_pb_js_1.IdentifierWithUserComment, O: base_pb_js_1.Identifier, kind: protobuf_1.MethodKind.Unary, }, /** * View by ID * * @generated from rpc Genesis.DepartmentsService.ViewByID */ viewByID: { name: "ViewByID", I: base_pb_js_1.Identifier, O: departments_pb_js_1.Department, kind: protobuf_1.MethodKind.Unary, }, /** * View all * * @generated from rpc Genesis.DepartmentsService.ViewAll */ viewAll: { name: "ViewAll", I: base_pb_js_1.ActiveStatus, O: departments_pb_js_1.DepartmentsList, kind: protobuf_1.MethodKind.Unary, }, /** * View all with the given entity UUID * * @generated from rpc Genesis.DepartmentsService.ViewAllForEntityUUID */ viewAllForEntityUUID: { name: "ViewAllForEntityUUID", I: base_pb_js_1.IdentifierUUID, O: departments_pb_js_1.DepartmentsList, kind: protobuf_1.MethodKind.Unary, }, /** * View with pagination * * @generated from rpc Genesis.DepartmentsService.ViewWithPagination */ viewWithPagination: { name: "ViewWithPagination", I: departments_pb_js_1.DepartmentsServicePaginationReq, O: departments_pb_js_1.DepartmentsServicePaginationResponse, kind: protobuf_1.MethodKind.Unary, }, /** * View with pagination with the given entity UUID * * @generated from rpc Genesis.DepartmentsService.ViewWithPaginationForEntityUUID */ viewWithPaginationForEntityUUID: { name: "ViewWithPaginationForEntityUUID", I: departments_pb_js_1.DepartmentsServiceEntityPaginationReq, O: departments_pb_js_1.DepartmentsServicePaginationResponse, kind: protobuf_1.MethodKind.Unary, }, /** * View all that match the given search key * * @generated from rpc Genesis.DepartmentsService.SearchAll */ searchAll: { name: "SearchAll", I: departments_pb_js_1.DepartmentsServiceSearchAllReq, O: departments_pb_js_1.DepartmentsList, kind: protobuf_1.MethodKind.Unary, }, /** * View all that match the given filter criteria * * @generated from rpc Genesis.DepartmentsService.Filter */ filter: { name: "Filter", I: departments_pb_js_1.DepartmentsServiceFilterReq, O: departments_pb_js_1.DepartmentsList, kind: protobuf_1.MethodKind.Unary, }, /** * Count in status * * @generated from rpc Genesis.DepartmentsService.CountInStatus */ countInStatus: { name: "CountInStatus", I: base_pb_js_1.CountInSLCStatusRequest, O: base_pb_js_1.CountResponse, kind: protobuf_1.MethodKind.Unary, }, } };