@unaxiom/genesis-sdk
Version:
NPM module that provides access to Genesis' API
165 lines (164 loc) • 5.47 kB
JavaScript
"use strict";
// @generated by protoc-gen-connect-es v0.12.0 with parameter "target=ts"
// @generated from file associates.proto (package Genesis, syntax proto3)
/* eslint-disable */
// @ts-nocheck
Object.defineProperty(exports, "__esModule", { value: true });
exports.AssociatesService = void 0;
const associates_pb_js_1 = require("./associates_pb.js");
const protobuf_1 = require("@bufbuild/protobuf");
const base_pb_js_1 = require("./base_pb.js");
/**
*
* Describes the methods applicable on each associate
*
* @generated from service Genesis.AssociatesService
*/
exports.AssociatesService = {
typeName: "Genesis.AssociatesService",
methods: {
/**
* Create a associate
*
* @generated from rpc Genesis.AssociatesService.Create
*/
create: {
name: "Create",
I: associates_pb_js_1.AssociatesServiceCreateRequest,
O: associates_pb_js_1.Associate,
kind: protobuf_1.MethodKind.Unary,
},
/**
* Update a associate
*
* @generated from rpc Genesis.AssociatesService.Update
*/
update: {
name: "Update",
I: associates_pb_js_1.AssociatesServiceUpdateRequest,
O: associates_pb_js_1.Associate,
kind: protobuf_1.MethodKind.Unary,
},
/**
* Discard the associate
*
* @generated from rpc Genesis.AssociatesService.Discard
*/
discard: {
name: "Discard",
I: base_pb_js_1.IdentifierWithUserComment,
O: base_pb_js_1.Identifier,
kind: protobuf_1.MethodKind.Unary,
},
/**
* Restore the associate
*
* @generated from rpc Genesis.AssociatesService.Restore
*/
restore: {
name: "Restore",
I: base_pb_js_1.IdentifierWithUserComment,
O: base_pb_js_1.Identifier,
kind: protobuf_1.MethodKind.Unary,
},
/**
* View by ID
*
* @generated from rpc Genesis.AssociatesService.ViewByID
*/
viewByID: {
name: "ViewByID",
I: base_pb_js_1.Identifier,
O: associates_pb_js_1.Associate,
kind: protobuf_1.MethodKind.Unary,
},
/**
* Download Associate by ID as a vCard
*
* @generated from rpc Genesis.AssociatesService.DownloadVCard
*/
downloadVCard: {
name: "DownloadVCard",
I: base_pb_js_1.Identifier,
O: base_pb_js_1.BytesResponse,
kind: protobuf_1.MethodKind.Unary,
},
/**
* View all associates
*
* @generated from rpc Genesis.AssociatesService.ViewAll
*/
viewAll: {
name: "ViewAll",
I: base_pb_js_1.ActiveStatus,
O: associates_pb_js_1.AssociatesList,
kind: protobuf_1.MethodKind.Unary,
},
/**
* View all associates with the given entity UUID
*
* @generated from rpc Genesis.AssociatesService.ViewAllForEntityUUID
*/
viewAllForEntityUUID: {
name: "ViewAllForEntityUUID",
I: base_pb_js_1.IdentifierUUID,
O: associates_pb_js_1.AssociatesList,
kind: protobuf_1.MethodKind.Unary,
},
/**
* View associates with pagination
*
* @generated from rpc Genesis.AssociatesService.ViewWithPagination
*/
viewWithPagination: {
name: "ViewWithPagination",
I: associates_pb_js_1.AssociatesServicePaginationReq,
O: associates_pb_js_1.AssociatePaginationResp,
kind: protobuf_1.MethodKind.Unary,
},
/**
* View associates with pagination with the given entity UUID
*
* @generated from rpc Genesis.AssociatesService.ViewWithPaginationForEntityUUID
*/
viewWithPaginationForEntityUUID: {
name: "ViewWithPaginationForEntityUUID",
I: associates_pb_js_1.AssociatesServiceEntityPaginationReq,
O: associates_pb_js_1.AssociatePaginationResp,
kind: protobuf_1.MethodKind.Unary,
},
/**
* Check if the user has permission to modify an associate
*
* @generated from rpc Genesis.AssociatesService.CheckModifyPermission
*/
checkModifyPermission: {
name: "CheckModifyPermission",
I: base_pb_js_1.Empty,
O: base_pb_js_1.BooleanResponse,
kind: protobuf_1.MethodKind.Unary,
},
/**
* Check if the user has permission to add an associate
*
* @generated from rpc Genesis.AssociatesService.CheckAddPermission
*/
checkAddPermission: {
name: "CheckAddPermission",
I: base_pb_js_1.Empty,
O: base_pb_js_1.BooleanResponse,
kind: protobuf_1.MethodKind.Unary,
},
/**
* View all associates that match the given search key
*
* @generated from rpc Genesis.AssociatesService.SearchAll
*/
searchAll: {
name: "SearchAll",
I: associates_pb_js_1.AssociatesServiceSearchAllReq,
O: associates_pb_js_1.AssociatesList,
kind: protobuf_1.MethodKind.Unary,
},
}
};