@unaxiom/genesis-sdk
Version:
NPM module that provides access to Genesis' API
385 lines (384 loc) • 13.7 kB
JavaScript
"use strict";
// @generated by protoc-gen-connect-es v0.12.0 with parameter "target=ts"
// @generated from file quotations_requests.proto (package Genesis, syntax proto3)
/* eslint-disable */
// @ts-nocheck
Object.defineProperty(exports, "__esModule", { value: true });
exports.QuotationsRequestsService = void 0;
const quotations_requests_pb_js_1 = require("./quotations_requests_pb.js");
const base_pb_js_1 = require("./base_pb.js");
const protobuf_1 = require("@bufbuild/protobuf");
/**
*
* Describes the common methods applicable on each quotation request
*
* @generated from service Genesis.QuotationsRequestsService
*/
exports.QuotationsRequestsService = {
typeName: "Genesis.QuotationsRequestsService",
methods: {
/**
* Create and send for verification
*
* @generated from rpc Genesis.QuotationsRequestsService.Create
*/
create: {
name: "Create",
I: quotations_requests_pb_js_1.QuotationsRequestsServiceCreateRequest,
O: base_pb_js_1.Identifier,
kind: protobuf_1.MethodKind.Unary,
},
/**
* Create and save as draft
*
* @generated from rpc Genesis.QuotationsRequestsService.Draft
*/
draft: {
name: "Draft",
I: quotations_requests_pb_js_1.QuotationsRequestsServiceCreateRequest,
O: base_pb_js_1.Identifier,
kind: protobuf_1.MethodKind.Unary,
},
/**
* Update draft
*
* @generated from rpc Genesis.QuotationsRequestsService.DraftUpdate
*/
draftUpdate: {
name: "DraftUpdate",
I: quotations_requests_pb_js_1.QuotationsRequestsServiceUpdateRequest,
O: base_pb_js_1.Identifier,
kind: protobuf_1.MethodKind.Unary,
},
/**
* Send for verification
*
* @generated from rpc Genesis.QuotationsRequestsService.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.QuotationsRequestsService.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.QuotationsRequestsService.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.QuotationsRequestsService.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.QuotationsRequestsService.RevisionUpdate
*/
revisionUpdate: {
name: "RevisionUpdate",
I: quotations_requests_pb_js_1.QuotationsRequestsServiceUpdateRequest,
O: base_pb_js_1.Identifier,
kind: protobuf_1.MethodKind.Unary,
},
/**
* Halt
*
* @generated from rpc Genesis.QuotationsRequestsService.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.QuotationsRequestsService.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.QuotationsRequestsService.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.QuotationsRequestsService.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.QuotationsRequestsService.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.QuotationsRequestsService.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.QuotationsRequestsService.CommentAdd
*/
commentAdd: {
name: "CommentAdd",
I: base_pb_js_1.IdentifierWithUserComment,
O: base_pb_js_1.Identifier,
kind: protobuf_1.MethodKind.Unary,
},
/**
* Autofill the quotation request (from the associated purchase enquiry)
*
* @generated from rpc Genesis.QuotationsRequestsService.Autofill
*/
autofill: {
name: "Autofill",
I: quotations_requests_pb_js_1.QuotationsRequestsServiceAutofillRequest,
O: base_pb_js_1.Identifier,
kind: protobuf_1.MethodKind.Unary,
},
/**
* Add an item to a quotation request
*
* @generated from rpc Genesis.QuotationsRequestsService.AddQuotationRequestItem
*/
addQuotationRequestItem: {
name: "AddQuotationRequestItem",
I: quotations_requests_pb_js_1.QuotationsRequestsServiceItemCreateRequest,
O: base_pb_js_1.Identifier,
kind: protobuf_1.MethodKind.Unary,
},
/**
* Modify an item in a quotation request
*
* @generated from rpc Genesis.QuotationsRequestsService.ModifyQuotationRequestItem
*/
modifyQuotationRequestItem: {
name: "ModifyQuotationRequestItem",
I: quotations_requests_pb_js_1.QuotationsRequestsServiceItemUpdateRequest,
O: base_pb_js_1.Identifier,
kind: protobuf_1.MethodKind.Unary,
},
/**
* Approve an item in a quotation request
*
* @generated from rpc Genesis.QuotationsRequestsService.ApproveQuotationRequestItem
*/
approveQuotationRequestItem: {
name: "ApproveQuotationRequestItem",
I: base_pb_js_1.IdentifierWithUserComment,
O: base_pb_js_1.Identifier,
kind: protobuf_1.MethodKind.Unary,
},
/**
* Delete an item in a quotation request
*
* @generated from rpc Genesis.QuotationsRequestsService.DeleteQuotationRequestItem
*/
deleteQuotationRequestItem: {
name: "DeleteQuotationRequestItem",
I: base_pb_js_1.IdentifierWithUserComment,
O: base_pb_js_1.Identifier,
kind: protobuf_1.MethodKind.Unary,
},
/**
* Reorder items in a quotation request
*
* @generated from rpc Genesis.QuotationsRequestsService.ReorderQuotationRequestItems
*/
reorderQuotationRequestItems: {
name: "ReorderQuotationRequestItems",
I: base_pb_js_1.ReorderItemsRequest,
O: base_pb_js_1.Identifier,
kind: protobuf_1.MethodKind.Unary,
},
/**
* View quotation request Item by ID
*
* @generated from rpc Genesis.QuotationsRequestsService.ViewQuotationRequestItemByID
*/
viewQuotationRequestItemByID: {
name: "ViewQuotationRequestItemByID",
I: base_pb_js_1.Identifier,
O: quotations_requests_pb_js_1.QuotationRequestItem,
kind: protobuf_1.MethodKind.Unary,
},
/**
* View approved quotation request items for given quotation request ID
*
* @generated from rpc Genesis.QuotationsRequestsService.ViewApprovedQuotationRequestItems
*/
viewApprovedQuotationRequestItems: {
name: "ViewApprovedQuotationRequestItems",
I: base_pb_js_1.IdentifierWithSearchKey,
O: quotations_requests_pb_js_1.QuotationsRequestsItemsList,
kind: protobuf_1.MethodKind.Unary,
},
/**
* View unapproved quotation request items for given quotation request ID
*
* @generated from rpc Genesis.QuotationsRequestsService.ViewUnapprovedQuotationRequestItems
*/
viewUnapprovedQuotationRequestItems: {
name: "ViewUnapprovedQuotationRequestItems",
I: base_pb_js_1.IdentifierWithSearchKey,
O: quotations_requests_pb_js_1.QuotationsRequestsItemsList,
kind: protobuf_1.MethodKind.Unary,
},
/**
* View the history of the quotation request item
*
* @generated from rpc Genesis.QuotationsRequestsService.ViewQuotationRequestItemHistory
*/
viewQuotationRequestItemHistory: {
name: "ViewQuotationRequestItemHistory",
I: quotations_requests_pb_js_1.QuotationRequestItemHistoryRequest,
O: quotations_requests_pb_js_1.QuotationsRequestsItemsList,
kind: protobuf_1.MethodKind.Unary,
},
/**
* View by ID
*
* @generated from rpc Genesis.QuotationsRequestsService.ViewByID
*/
viewByID: {
name: "ViewByID",
I: base_pb_js_1.Identifier,
O: quotations_requests_pb_js_1.QuotationRequest,
kind: protobuf_1.MethodKind.Unary,
},
/**
* View all
*
* @generated from rpc Genesis.QuotationsRequestsService.ViewAll
*/
viewAll: {
name: "ViewAll",
I: base_pb_js_1.ActiveStatus,
O: quotations_requests_pb_js_1.QuotationsRequestsList,
kind: protobuf_1.MethodKind.Unary,
},
/**
* View all with the given entity UUID
*
* @generated from rpc Genesis.QuotationsRequestsService.ViewAllForEntityUUID
*/
viewAllForEntityUUID: {
name: "ViewAllForEntityUUID",
I: base_pb_js_1.IdentifierUUID,
O: quotations_requests_pb_js_1.QuotationsRequestsList,
kind: protobuf_1.MethodKind.Unary,
},
/**
* View with pagination
*
* @generated from rpc Genesis.QuotationsRequestsService.ViewWithPagination
*/
viewWithPagination: {
name: "ViewWithPagination",
I: quotations_requests_pb_js_1.QuotationsRequestsServicePaginationReq,
O: quotations_requests_pb_js_1.QuotationsRequestsServicePaginationResponse,
kind: protobuf_1.MethodKind.Unary,
},
/**
* View with pagination with the given entity UUID
*
* @generated from rpc Genesis.QuotationsRequestsService.ViewWithPaginationForEntityUUID
*/
viewWithPaginationForEntityUUID: {
name: "ViewWithPaginationForEntityUUID",
I: quotations_requests_pb_js_1.QuotationsRequestsServiceEntityPaginationReq,
O: quotations_requests_pb_js_1.QuotationsRequestsServicePaginationResponse,
kind: protobuf_1.MethodKind.Unary,
},
/**
* View all that match the given search key
*
* @generated from rpc Genesis.QuotationsRequestsService.SearchAll
*/
searchAll: {
name: "SearchAll",
I: quotations_requests_pb_js_1.QuotationsRequestsServiceSearchAllReq,
O: quotations_requests_pb_js_1.QuotationsRequestsList,
kind: protobuf_1.MethodKind.Unary,
},
/**
* View all that match the given filter criteria
*
* @generated from rpc Genesis.QuotationsRequestsService.Filter
*/
filter: {
name: "Filter",
I: quotations_requests_pb_js_1.QuotationsRequestsServiceFilterReq,
O: quotations_requests_pb_js_1.QuotationsRequestsList,
kind: protobuf_1.MethodKind.Unary,
},
/**
* Count in status
*
* @generated from rpc Genesis.QuotationsRequestsService.CountInStatus
*/
countInStatus: {
name: "CountInStatus",
I: base_pb_js_1.CountInSLCStatusRequest,
O: base_pb_js_1.CountResponse,
kind: protobuf_1.MethodKind.Unary,
},
}
};