@unaxiom/genesis-sdk
Version:
NPM module that provides access to Genesis' API
267 lines (266 loc) • 8.4 kB
JavaScript
"use strict";
// @generated by protoc-gen-connect-es v0.12.0 with parameter "target=ts"
// @generated from file overtimes.proto (package Genesis, syntax proto3)
/* eslint-disable */
// @ts-nocheck
Object.defineProperty(exports, "__esModule", { value: true });
exports.OvertimesService = void 0;
const overtimes_pb_js_1 = require("./overtimes_pb.js");
const base_pb_js_1 = require("./base_pb.js");
const protobuf_1 = require("@bufbuild/protobuf");
/**
*
* Describes the common methods applicable on each overtime
*
* @generated from service Genesis.OvertimesService
*/
exports.OvertimesService = {
typeName: "Genesis.OvertimesService",
methods: {
/**
* Create and send for verification
*
* @generated from rpc Genesis.OvertimesService.Create
*/
create: {
name: "Create",
I: overtimes_pb_js_1.OvertimesServiceCreateRequest,
O: base_pb_js_1.Identifier,
kind: protobuf_1.MethodKind.Unary,
},
/**
* Create and save as draft
*
* @generated from rpc Genesis.OvertimesService.Draft
*/
draft: {
name: "Draft",
I: overtimes_pb_js_1.OvertimesServiceCreateRequest,
O: base_pb_js_1.Identifier,
kind: protobuf_1.MethodKind.Unary,
},
/**
* Update draft
*
* @generated from rpc Genesis.OvertimesService.DraftUpdate
*/
draftUpdate: {
name: "DraftUpdate",
I: overtimes_pb_js_1.OvertimesServiceUpdateRequest,
O: base_pb_js_1.Identifier,
kind: protobuf_1.MethodKind.Unary,
},
/**
* Send for verification
*
* @generated from rpc Genesis.OvertimesService.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.OvertimesService.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.OvertimesService.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.OvertimesService.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.OvertimesService.RevisionUpdate
*/
revisionUpdate: {
name: "RevisionUpdate",
I: overtimes_pb_js_1.OvertimesServiceUpdateRequest,
O: base_pb_js_1.Identifier,
kind: protobuf_1.MethodKind.Unary,
},
/**
* Halt
*
* @generated from rpc Genesis.OvertimesService.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.OvertimesService.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.OvertimesService.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.OvertimesService.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.OvertimesService.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.OvertimesService.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.OvertimesService.ViewByID
*/
viewByID: {
name: "ViewByID",
I: base_pb_js_1.Identifier,
O: overtimes_pb_js_1.Overtime,
kind: protobuf_1.MethodKind.Unary,
},
/**
* View all
*
* @generated from rpc Genesis.OvertimesService.ViewAll
*/
viewAll: {
name: "ViewAll",
I: base_pb_js_1.ActiveStatus,
O: overtimes_pb_js_1.OvertimesList,
kind: protobuf_1.MethodKind.Unary,
},
/**
* View all with the given entity UUID
*
* @generated from rpc Genesis.OvertimesService.ViewAllForEntityUUID
*/
viewAllForEntityUUID: {
name: "ViewAllForEntityUUID",
I: base_pb_js_1.IdentifierUUID,
O: overtimes_pb_js_1.OvertimesList,
kind: protobuf_1.MethodKind.Unary,
},
/**
* View with pagination
*
* @generated from rpc Genesis.OvertimesService.ViewWithPagination
*/
viewWithPagination: {
name: "ViewWithPagination",
I: overtimes_pb_js_1.OvertimesServicePaginationReq,
O: overtimes_pb_js_1.OvertimesServicePaginationResponse,
kind: protobuf_1.MethodKind.Unary,
},
/**
* View with pagination with the given entity UUID
*
* @generated from rpc Genesis.OvertimesService.ViewWithPaginationForEntityUUID
*/
viewWithPaginationForEntityUUID: {
name: "ViewWithPaginationForEntityUUID",
I: overtimes_pb_js_1.OvertimesServiceEntityPaginationReq,
O: overtimes_pb_js_1.OvertimesServicePaginationResponse,
kind: protobuf_1.MethodKind.Unary,
},
/**
* View all that match the given search key
*
* @generated from rpc Genesis.OvertimesService.SearchAll
*/
searchAll: {
name: "SearchAll",
I: overtimes_pb_js_1.OvertimesServiceSearchAllReq,
O: overtimes_pb_js_1.OvertimesList,
kind: protobuf_1.MethodKind.Unary,
},
/**
* View all that match the given filter criteria
*
* @generated from rpc Genesis.OvertimesService.Filter
*/
filter: {
name: "Filter",
I: overtimes_pb_js_1.OvertimesServiceFilterReq,
O: overtimes_pb_js_1.OvertimesList,
kind: protobuf_1.MethodKind.Unary,
},
/**
* Count in status
*
* @generated from rpc Genesis.OvertimesService.CountInStatus
*/
countInStatus: {
name: "CountInStatus",
I: base_pb_js_1.CountInSLCStatusRequest,
O: base_pb_js_1.CountResponse,
kind: protobuf_1.MethodKind.Unary,
},
}
};