UNPKG

@unaxiom/genesis-sdk

Version:

NPM module that provides access to Genesis' API

267 lines (266 loc) 8.22 kB
"use strict"; // @generated by protoc-gen-connect-es v0.12.0 with parameter "target=ts" // @generated from file shifts.proto (package Genesis, syntax proto3) /* eslint-disable */ // @ts-nocheck Object.defineProperty(exports, "__esModule", { value: true }); exports.ShiftsService = void 0; const shifts_pb_js_1 = require("./shifts_pb.js"); const base_pb_js_1 = require("./base_pb.js"); const protobuf_1 = require("@bufbuild/protobuf"); /** * * Describes the common methods applicable on each shift * * @generated from service Genesis.ShiftsService */ exports.ShiftsService = { typeName: "Genesis.ShiftsService", methods: { /** * Create and send for verification * * @generated from rpc Genesis.ShiftsService.Create */ create: { name: "Create", I: shifts_pb_js_1.ShiftsServiceCreateRequest, O: base_pb_js_1.Identifier, kind: protobuf_1.MethodKind.Unary, }, /** * Create and save as draft * * @generated from rpc Genesis.ShiftsService.Draft */ draft: { name: "Draft", I: shifts_pb_js_1.ShiftsServiceCreateRequest, O: base_pb_js_1.Identifier, kind: protobuf_1.MethodKind.Unary, }, /** * Update draft * * @generated from rpc Genesis.ShiftsService.DraftUpdate */ draftUpdate: { name: "DraftUpdate", I: shifts_pb_js_1.ShiftsServiceUpdateRequest, O: base_pb_js_1.Identifier, kind: protobuf_1.MethodKind.Unary, }, /** * Send for verification * * @generated from rpc Genesis.ShiftsService.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.ShiftsService.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.ShiftsService.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.ShiftsService.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.ShiftsService.RevisionUpdate */ revisionUpdate: { name: "RevisionUpdate", I: shifts_pb_js_1.ShiftsServiceUpdateRequest, O: base_pb_js_1.Identifier, kind: protobuf_1.MethodKind.Unary, }, /** * Halt * * @generated from rpc Genesis.ShiftsService.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.ShiftsService.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.ShiftsService.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.ShiftsService.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.ShiftsService.Repeat */ repeat: { name: "Repeat", I: base_pb_js_1.IdentifierWithUserComment, O: base_pb_js_1.Identifier, kind: protobuf_1.MethodKind.Unary, }, /** * Add comment * * Send Email * rpc SendEmail (Identifier) returns (Identifier); * * @generated from rpc Genesis.ShiftsService.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.ShiftsService.ViewByID */ viewByID: { name: "ViewByID", I: base_pb_js_1.Identifier, O: shifts_pb_js_1.Shift, kind: protobuf_1.MethodKind.Unary, }, /** * View all * * @generated from rpc Genesis.ShiftsService.ViewAll */ viewAll: { name: "ViewAll", I: base_pb_js_1.ActiveStatus, O: shifts_pb_js_1.ShiftsList, kind: protobuf_1.MethodKind.Unary, }, /** * View all with the given entity UUID * * @generated from rpc Genesis.ShiftsService.ViewAllForEntityUUID */ viewAllForEntityUUID: { name: "ViewAllForEntityUUID", I: base_pb_js_1.IdentifierUUID, O: shifts_pb_js_1.ShiftsList, kind: protobuf_1.MethodKind.Unary, }, /** * View with pagination * * @generated from rpc Genesis.ShiftsService.ViewWithPagination */ viewWithPagination: { name: "ViewWithPagination", I: shifts_pb_js_1.ShiftsServicePaginationReq, O: shifts_pb_js_1.ShiftsServicePaginationResponse, kind: protobuf_1.MethodKind.Unary, }, /** * View with pagination with the given entity UUID * * @generated from rpc Genesis.ShiftsService.ViewWithPaginationForEntityUUID */ viewWithPaginationForEntityUUID: { name: "ViewWithPaginationForEntityUUID", I: shifts_pb_js_1.ShiftsServiceEntityPaginationReq, O: shifts_pb_js_1.ShiftsServicePaginationResponse, kind: protobuf_1.MethodKind.Unary, }, /** * View all that match the given search key * * @generated from rpc Genesis.ShiftsService.SearchAll */ searchAll: { name: "SearchAll", I: shifts_pb_js_1.ShiftsServiceSearchAllReq, O: shifts_pb_js_1.ShiftsList, kind: protobuf_1.MethodKind.Unary, }, /** * View all that match the given filter criteria * * @generated from rpc Genesis.ShiftsService.Filter */ filter: { name: "Filter", I: shifts_pb_js_1.ShiftsServiceFilterReq, O: shifts_pb_js_1.ShiftsList, kind: protobuf_1.MethodKind.Unary, }, /** * Count in status * * @generated from rpc Genesis.ShiftsService.CountInStatus */ countInStatus: { name: "CountInStatus", I: base_pb_js_1.CountInSLCStatusRequest, O: base_pb_js_1.CountResponse, kind: protobuf_1.MethodKind.Unary, }, } };