mirror of
https://github.com/anyproto/anytype-heart.git
synced 2025-06-08 05:47:07 +09:00
4633 lines
194 KiB
Go
4633 lines
194 KiB
Go
// Code generated by protoc-gen-gogo. DO NOT EDIT.
|
|
// source: pb/protos/service/service.proto
|
|
|
|
package service
|
|
|
|
import (
|
|
"context"
|
|
fmt "fmt"
|
|
pb "github.com/anyproto/anytype-heart/pb"
|
|
proto "github.com/gogo/protobuf/proto"
|
|
math "math"
|
|
)
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
var _ = proto.Marshal
|
|
var _ = fmt.Errorf
|
|
var _ = math.Inf
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
// is compatible with the proto package it is being compiled against.
|
|
// A compilation error at this line likely means your copy of the
|
|
// proto package needs to be updated.
|
|
const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
|
|
|
|
func init() { proto.RegisterFile("pb/protos/service/service.proto", fileDescriptor_93a29dc403579097) }
|
|
|
|
var fileDescriptor_93a29dc403579097 = []byte{
|
|
// 3653 bytes of a gzipped FileDescriptorProto
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x9c, 0x9c, 0x5b, 0x6f, 0xdd, 0xc6,
|
|
0xb5, 0xc7, 0xb3, 0x5f, 0x4e, 0xce, 0x61, 0x4e, 0x72, 0x4e, 0x99, 0xd6, 0x4d, 0xdd, 0x44, 0x76,
|
|
0x1c, 0xdb, 0x92, 0x2d, 0x69, 0x4b, 0xb1, 0x9d, 0x4b, 0x2f, 0x40, 0x21, 0x4b, 0x96, 0x2d, 0xc4,
|
|
0xb7, 0x6a, 0xcb, 0x36, 0x10, 0xa0, 0x40, 0x29, 0xee, 0xf1, 0xde, 0xac, 0xb8, 0x39, 0x0c, 0xc9,
|
|
0xbd, 0x65, 0xb5, 0x68, 0xd1, 0xa2, 0x45, 0x8b, 0x16, 0x2d, 0x5a, 0xf4, 0xf2, 0xd4, 0xa7, 0xf6,
|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0x32, 0xf8, 0xc3, 0xe7, 0x2b, 0x2f,
|
|
0x7d, 0xfa, 0xf9, 0xca, 0x4b, 0xff, 0xfa, 0x7c, 0xe5, 0xa5, 0x8f, 0x5f, 0x86, 0xbf, 0x99, 0x78,
|
|
0xfc, 0x5f, 0xcd, 0x5f, 0x3e, 0xbc, 0xf9, 0x9f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xaa, 0x10, 0x48,
|
|
0xcc, 0x57, 0x51, 0x00, 0x00,
|
|
}
|
|
|
|
// This is a compile-time assertion to ensure that this generated file
|
|
// is compatible with the gomobile package it is being compiled against.
|
|
|
|
// ClientCommandsHandler is the handler API for ClientCommands service.
|
|
var clientCommandsHandler ClientCommandsHandler
|
|
|
|
type ClientCommandsHandler interface {
|
|
AppGetVersion(context.Context, *pb.RpcAppGetVersionRequest) *pb.RpcAppGetVersionResponse
|
|
AppSetDeviceState(context.Context, *pb.RpcAppSetDeviceStateRequest) *pb.RpcAppSetDeviceStateResponse
|
|
AppShutdown(context.Context, *pb.RpcAppShutdownRequest) *pb.RpcAppShutdownResponse
|
|
// Wallet
|
|
// ***
|
|
WalletCreate(context.Context, *pb.RpcWalletCreateRequest) *pb.RpcWalletCreateResponse
|
|
WalletRecover(context.Context, *pb.RpcWalletRecoverRequest) *pb.RpcWalletRecoverResponse
|
|
WalletConvert(context.Context, *pb.RpcWalletConvertRequest) *pb.RpcWalletConvertResponse
|
|
WalletCreateSession(context.Context, *pb.RpcWalletCreateSessionRequest) *pb.RpcWalletCreateSessionResponse
|
|
WalletCloseSession(context.Context, *pb.RpcWalletCloseSessionRequest) *pb.RpcWalletCloseSessionResponse
|
|
// Workspace
|
|
// ***
|
|
WorkspaceCreate(context.Context, *pb.RpcWorkspaceCreateRequest) *pb.RpcWorkspaceCreateResponse
|
|
WorkspaceObjectAdd(context.Context, *pb.RpcWorkspaceObjectAddRequest) *pb.RpcWorkspaceObjectAddResponse
|
|
WorkspaceObjectListAdd(context.Context, *pb.RpcWorkspaceObjectListAddRequest) *pb.RpcWorkspaceObjectListAddResponse
|
|
WorkspaceObjectListRemove(context.Context, *pb.RpcWorkspaceObjectListRemoveRequest) *pb.RpcWorkspaceObjectListRemoveResponse
|
|
WorkspaceSelect(context.Context, *pb.RpcWorkspaceSelectRequest) *pb.RpcWorkspaceSelectResponse
|
|
WorkspaceGetCurrent(context.Context, *pb.RpcWorkspaceGetCurrentRequest) *pb.RpcWorkspaceGetCurrentResponse
|
|
WorkspaceGetAll(context.Context, *pb.RpcWorkspaceGetAllRequest) *pb.RpcWorkspaceGetAllResponse
|
|
WorkspaceSetIsHighlighted(context.Context, *pb.RpcWorkspaceSetIsHighlightedRequest) *pb.RpcWorkspaceSetIsHighlightedResponse
|
|
WorkspaceExport(context.Context, *pb.RpcWorkspaceExportRequest) *pb.RpcWorkspaceExportResponse
|
|
// Account
|
|
// ***
|
|
AccountRecover(context.Context, *pb.RpcAccountRecoverRequest) *pb.RpcAccountRecoverResponse
|
|
AccountCreate(context.Context, *pb.RpcAccountCreateRequest) *pb.RpcAccountCreateResponse
|
|
AccountDelete(context.Context, *pb.RpcAccountDeleteRequest) *pb.RpcAccountDeleteResponse
|
|
AccountSelect(context.Context, *pb.RpcAccountSelectRequest) *pb.RpcAccountSelectResponse
|
|
AccountStop(context.Context, *pb.RpcAccountStopRequest) *pb.RpcAccountStopResponse
|
|
AccountMove(context.Context, *pb.RpcAccountMoveRequest) *pb.RpcAccountMoveResponse
|
|
AccountConfigUpdate(context.Context, *pb.RpcAccountConfigUpdateRequest) *pb.RpcAccountConfigUpdateResponse
|
|
AccountRecoverFromLegacyExport(context.Context, *pb.RpcAccountRecoverFromLegacyExportRequest) *pb.RpcAccountRecoverFromLegacyExportResponse
|
|
// Object
|
|
// ***
|
|
ObjectOpen(context.Context, *pb.RpcObjectOpenRequest) *pb.RpcObjectOpenResponse
|
|
ObjectClose(context.Context, *pb.RpcObjectCloseRequest) *pb.RpcObjectCloseResponse
|
|
ObjectShow(context.Context, *pb.RpcObjectShowRequest) *pb.RpcObjectShowResponse
|
|
// ObjectCreate just creates the new page, without adding the link to it from some other page
|
|
ObjectCreate(context.Context, *pb.RpcObjectCreateRequest) *pb.RpcObjectCreateResponse
|
|
ObjectCreateBookmark(context.Context, *pb.RpcObjectCreateBookmarkRequest) *pb.RpcObjectCreateBookmarkResponse
|
|
// ObjectCreateSet just creates the new set, without adding the link to it from some other page
|
|
ObjectCreateSet(context.Context, *pb.RpcObjectCreateSetRequest) *pb.RpcObjectCreateSetResponse
|
|
ObjectGraph(context.Context, *pb.RpcObjectGraphRequest) *pb.RpcObjectGraphResponse
|
|
ObjectSearch(context.Context, *pb.RpcObjectSearchRequest) *pb.RpcObjectSearchResponse
|
|
ObjectSearchSubscribe(context.Context, *pb.RpcObjectSearchSubscribeRequest) *pb.RpcObjectSearchSubscribeResponse
|
|
ObjectSubscribeIds(context.Context, *pb.RpcObjectSubscribeIdsRequest) *pb.RpcObjectSubscribeIdsResponse
|
|
ObjectGroupsSubscribe(context.Context, *pb.RpcObjectGroupsSubscribeRequest) *pb.RpcObjectGroupsSubscribeResponse
|
|
ObjectSearchUnsubscribe(context.Context, *pb.RpcObjectSearchUnsubscribeRequest) *pb.RpcObjectSearchUnsubscribeResponse
|
|
ObjectSetDetails(context.Context, *pb.RpcObjectSetDetailsRequest) *pb.RpcObjectSetDetailsResponse
|
|
ObjectDuplicate(context.Context, *pb.RpcObjectDuplicateRequest) *pb.RpcObjectDuplicateResponse
|
|
// ObjectSetObjectType sets an existing object type to the object so it will appear in sets and suggests relations from this type
|
|
ObjectSetObjectType(context.Context, *pb.RpcObjectSetObjectTypeRequest) *pb.RpcObjectSetObjectTypeResponse
|
|
ObjectSetLayout(context.Context, *pb.RpcObjectSetLayoutRequest) *pb.RpcObjectSetLayoutResponse
|
|
ObjectSetInternalFlags(context.Context, *pb.RpcObjectSetInternalFlagsRequest) *pb.RpcObjectSetInternalFlagsResponse
|
|
ObjectSetIsFavorite(context.Context, *pb.RpcObjectSetIsFavoriteRequest) *pb.RpcObjectSetIsFavoriteResponse
|
|
ObjectSetIsArchived(context.Context, *pb.RpcObjectSetIsArchivedRequest) *pb.RpcObjectSetIsArchivedResponse
|
|
ObjectSetSource(context.Context, *pb.RpcObjectSetSourceRequest) *pb.RpcObjectSetSourceResponse
|
|
ObjectWorkspaceSetDashboard(context.Context, *pb.RpcObjectWorkspaceSetDashboardRequest) *pb.RpcObjectWorkspaceSetDashboardResponse
|
|
ObjectListDuplicate(context.Context, *pb.RpcObjectListDuplicateRequest) *pb.RpcObjectListDuplicateResponse
|
|
ObjectListDelete(context.Context, *pb.RpcObjectListDeleteRequest) *pb.RpcObjectListDeleteResponse
|
|
ObjectListSetIsArchived(context.Context, *pb.RpcObjectListSetIsArchivedRequest) *pb.RpcObjectListSetIsArchivedResponse
|
|
ObjectListSetIsFavorite(context.Context, *pb.RpcObjectListSetIsFavoriteRequest) *pb.RpcObjectListSetIsFavoriteResponse
|
|
ObjectApplyTemplate(context.Context, *pb.RpcObjectApplyTemplateRequest) *pb.RpcObjectApplyTemplateResponse
|
|
// ObjectToSet creates new set from given object and removes object
|
|
ObjectToSet(context.Context, *pb.RpcObjectToSetRequest) *pb.RpcObjectToSetResponse
|
|
ObjectToCollection(context.Context, *pb.RpcObjectToCollectionRequest) *pb.RpcObjectToCollectionResponse
|
|
ObjectShareByLink(context.Context, *pb.RpcObjectShareByLinkRequest) *pb.RpcObjectShareByLinkResponse
|
|
ObjectUndo(context.Context, *pb.RpcObjectUndoRequest) *pb.RpcObjectUndoResponse
|
|
ObjectRedo(context.Context, *pb.RpcObjectRedoRequest) *pb.RpcObjectRedoResponse
|
|
ObjectListExport(context.Context, *pb.RpcObjectListExportRequest) *pb.RpcObjectListExportResponse
|
|
ObjectBookmarkFetch(context.Context, *pb.RpcObjectBookmarkFetchRequest) *pb.RpcObjectBookmarkFetchResponse
|
|
ObjectToBookmark(context.Context, *pb.RpcObjectToBookmarkRequest) *pb.RpcObjectToBookmarkResponse
|
|
ObjectImport(context.Context, *pb.RpcObjectImportRequest) *pb.RpcObjectImportResponse
|
|
ObjectImportList(context.Context, *pb.RpcObjectImportListRequest) *pb.RpcObjectImportListResponse
|
|
ObjectImportNotionValidateToken(context.Context, *pb.RpcObjectImportNotionValidateTokenRequest) *pb.RpcObjectImportNotionValidateTokenResponse
|
|
// Collections
|
|
// ***
|
|
ObjectCollectionAdd(context.Context, *pb.RpcObjectCollectionAddRequest) *pb.RpcObjectCollectionAddResponse
|
|
ObjectCollectionRemove(context.Context, *pb.RpcObjectCollectionRemoveRequest) *pb.RpcObjectCollectionRemoveResponse
|
|
ObjectCollectionSort(context.Context, *pb.RpcObjectCollectionSortRequest) *pb.RpcObjectCollectionSortResponse
|
|
// Relations
|
|
// ***
|
|
ObjectCreateRelation(context.Context, *pb.RpcObjectCreateRelationRequest) *pb.RpcObjectCreateRelationResponse
|
|
ObjectCreateRelationOption(context.Context, *pb.RpcObjectCreateRelationOptionRequest) *pb.RpcObjectCreateRelationOptionResponse
|
|
RelationListRemoveOption(context.Context, *pb.RpcRelationListRemoveOptionRequest) *pb.RpcRelationListRemoveOptionResponse
|
|
RelationOptions(context.Context, *pb.RpcRelationOptionsRequest) *pb.RpcRelationOptionsResponse
|
|
// Object Relations
|
|
// ***
|
|
ObjectRelationAdd(context.Context, *pb.RpcObjectRelationAddRequest) *pb.RpcObjectRelationAddResponse
|
|
ObjectRelationDelete(context.Context, *pb.RpcObjectRelationDeleteRequest) *pb.RpcObjectRelationDeleteResponse
|
|
ObjectRelationAddFeatured(context.Context, *pb.RpcObjectRelationAddFeaturedRequest) *pb.RpcObjectRelationAddFeaturedResponse
|
|
ObjectRelationRemoveFeatured(context.Context, *pb.RpcObjectRelationRemoveFeaturedRequest) *pb.RpcObjectRelationRemoveFeaturedResponse
|
|
ObjectRelationListAvailable(context.Context, *pb.RpcObjectRelationListAvailableRequest) *pb.RpcObjectRelationListAvailableResponse
|
|
// ObjectType commands
|
|
// ***
|
|
ObjectCreateObjectType(context.Context, *pb.RpcObjectCreateObjectTypeRequest) *pb.RpcObjectCreateObjectTypeResponse
|
|
ObjectTypeRelationList(context.Context, *pb.RpcObjectTypeRelationListRequest) *pb.RpcObjectTypeRelationListResponse
|
|
ObjectTypeRelationAdd(context.Context, *pb.RpcObjectTypeRelationAddRequest) *pb.RpcObjectTypeRelationAddResponse
|
|
ObjectTypeRelationRemove(context.Context, *pb.RpcObjectTypeRelationRemoveRequest) *pb.RpcObjectTypeRelationRemoveResponse
|
|
HistoryShowVersion(context.Context, *pb.RpcHistoryShowVersionRequest) *pb.RpcHistoryShowVersionResponse
|
|
HistoryGetVersions(context.Context, *pb.RpcHistoryGetVersionsRequest) *pb.RpcHistoryGetVersionsResponse
|
|
HistorySetVersion(context.Context, *pb.RpcHistorySetVersionRequest) *pb.RpcHistorySetVersionResponse
|
|
// Files
|
|
// ***
|
|
FileOffload(context.Context, *pb.RpcFileOffloadRequest) *pb.RpcFileOffloadResponse
|
|
FileListOffload(context.Context, *pb.RpcFileListOffloadRequest) *pb.RpcFileListOffloadResponse
|
|
FileUpload(context.Context, *pb.RpcFileUploadRequest) *pb.RpcFileUploadResponse
|
|
FileDownload(context.Context, *pb.RpcFileDownloadRequest) *pb.RpcFileDownloadResponse
|
|
FileDrop(context.Context, *pb.RpcFileDropRequest) *pb.RpcFileDropResponse
|
|
FileSpaceUsage(context.Context, *pb.RpcFileSpaceUsageRequest) *pb.RpcFileSpaceUsageResponse
|
|
NavigationListObjects(context.Context, *pb.RpcNavigationListObjectsRequest) *pb.RpcNavigationListObjectsResponse
|
|
NavigationGetObjectInfoWithLinks(context.Context, *pb.RpcNavigationGetObjectInfoWithLinksRequest) *pb.RpcNavigationGetObjectInfoWithLinksResponse
|
|
TemplateCreateFromObject(context.Context, *pb.RpcTemplateCreateFromObjectRequest) *pb.RpcTemplateCreateFromObjectResponse
|
|
TemplateCreateFromObjectType(context.Context, *pb.RpcTemplateCreateFromObjectTypeRequest) *pb.RpcTemplateCreateFromObjectTypeResponse
|
|
TemplateClone(context.Context, *pb.RpcTemplateCloneRequest) *pb.RpcTemplateCloneResponse
|
|
TemplateExportAll(context.Context, *pb.RpcTemplateExportAllRequest) *pb.RpcTemplateExportAllResponse
|
|
LinkPreview(context.Context, *pb.RpcLinkPreviewRequest) *pb.RpcLinkPreviewResponse
|
|
UnsplashSearch(context.Context, *pb.RpcUnsplashSearchRequest) *pb.RpcUnsplashSearchResponse
|
|
// UnsplashDownload downloads picture from unsplash by ID, put it to the IPFS and returns the hash.
|
|
// The artist info is available in the object details
|
|
UnsplashDownload(context.Context, *pb.RpcUnsplashDownloadRequest) *pb.RpcUnsplashDownloadResponse
|
|
// General Block commands
|
|
// ***
|
|
BlockUpload(context.Context, *pb.RpcBlockUploadRequest) *pb.RpcBlockUploadResponse
|
|
BlockReplace(context.Context, *pb.RpcBlockReplaceRequest) *pb.RpcBlockReplaceResponse
|
|
BlockCreate(context.Context, *pb.RpcBlockCreateRequest) *pb.RpcBlockCreateResponse
|
|
BlockSplit(context.Context, *pb.RpcBlockSplitRequest) *pb.RpcBlockSplitResponse
|
|
BlockMerge(context.Context, *pb.RpcBlockMergeRequest) *pb.RpcBlockMergeResponse
|
|
BlockCopy(context.Context, *pb.RpcBlockCopyRequest) *pb.RpcBlockCopyResponse
|
|
BlockPaste(context.Context, *pb.RpcBlockPasteRequest) *pb.RpcBlockPasteResponse
|
|
BlockCut(context.Context, *pb.RpcBlockCutRequest) *pb.RpcBlockCutResponse
|
|
BlockSetFields(context.Context, *pb.RpcBlockSetFieldsRequest) *pb.RpcBlockSetFieldsResponse
|
|
BlockExport(context.Context, *pb.RpcBlockExportRequest) *pb.RpcBlockExportResponse
|
|
BlockListDelete(context.Context, *pb.RpcBlockListDeleteRequest) *pb.RpcBlockListDeleteResponse
|
|
BlockListMoveToExistingObject(context.Context, *pb.RpcBlockListMoveToExistingObjectRequest) *pb.RpcBlockListMoveToExistingObjectResponse
|
|
BlockListMoveToNewObject(context.Context, *pb.RpcBlockListMoveToNewObjectRequest) *pb.RpcBlockListMoveToNewObjectResponse
|
|
BlockListConvertToObjects(context.Context, *pb.RpcBlockListConvertToObjectsRequest) *pb.RpcBlockListConvertToObjectsResponse
|
|
BlockListSetFields(context.Context, *pb.RpcBlockListSetFieldsRequest) *pb.RpcBlockListSetFieldsResponse
|
|
BlockListDuplicate(context.Context, *pb.RpcBlockListDuplicateRequest) *pb.RpcBlockListDuplicateResponse
|
|
BlockListSetBackgroundColor(context.Context, *pb.RpcBlockListSetBackgroundColorRequest) *pb.RpcBlockListSetBackgroundColorResponse
|
|
BlockListSetAlign(context.Context, *pb.RpcBlockListSetAlignRequest) *pb.RpcBlockListSetAlignResponse
|
|
BlockListSetVerticalAlign(context.Context, *pb.RpcBlockListSetVerticalAlignRequest) *pb.RpcBlockListSetVerticalAlignResponse
|
|
BlockListTurnInto(context.Context, *pb.RpcBlockListTurnIntoRequest) *pb.RpcBlockListTurnIntoResponse
|
|
// Text Block commands
|
|
// ***
|
|
BlockTextSetText(context.Context, *pb.RpcBlockTextSetTextRequest) *pb.RpcBlockTextSetTextResponse
|
|
BlockTextSetColor(context.Context, *pb.RpcBlockTextSetColorRequest) *pb.RpcBlockTextSetColorResponse
|
|
BlockTextSetStyle(context.Context, *pb.RpcBlockTextSetStyleRequest) *pb.RpcBlockTextSetStyleResponse
|
|
BlockTextSetChecked(context.Context, *pb.RpcBlockTextSetCheckedRequest) *pb.RpcBlockTextSetCheckedResponse
|
|
BlockTextSetIcon(context.Context, *pb.RpcBlockTextSetIconRequest) *pb.RpcBlockTextSetIconResponse
|
|
BlockTextListSetColor(context.Context, *pb.RpcBlockTextListSetColorRequest) *pb.RpcBlockTextListSetColorResponse
|
|
BlockTextListSetMark(context.Context, *pb.RpcBlockTextListSetMarkRequest) *pb.RpcBlockTextListSetMarkResponse
|
|
BlockTextListSetStyle(context.Context, *pb.RpcBlockTextListSetStyleRequest) *pb.RpcBlockTextListSetStyleResponse
|
|
BlockTextListClearStyle(context.Context, *pb.RpcBlockTextListClearStyleRequest) *pb.RpcBlockTextListClearStyleResponse
|
|
BlockTextListClearContent(context.Context, *pb.RpcBlockTextListClearContentRequest) *pb.RpcBlockTextListClearContentResponse
|
|
// File block commands
|
|
// ***
|
|
BlockFileSetName(context.Context, *pb.RpcBlockFileSetNameRequest) *pb.RpcBlockFileSetNameResponse
|
|
BlockImageSetName(context.Context, *pb.RpcBlockImageSetNameRequest) *pb.RpcBlockImageSetNameResponse
|
|
BlockVideoSetName(context.Context, *pb.RpcBlockVideoSetNameRequest) *pb.RpcBlockVideoSetNameResponse
|
|
BlockFileCreateAndUpload(context.Context, *pb.RpcBlockFileCreateAndUploadRequest) *pb.RpcBlockFileCreateAndUploadResponse
|
|
BlockFileListSetStyle(context.Context, *pb.RpcBlockFileListSetStyleRequest) *pb.RpcBlockFileListSetStyleResponse
|
|
// Dataview block commands
|
|
// ***
|
|
BlockDataviewViewCreate(context.Context, *pb.RpcBlockDataviewViewCreateRequest) *pb.RpcBlockDataviewViewCreateResponse
|
|
BlockDataviewViewDelete(context.Context, *pb.RpcBlockDataviewViewDeleteRequest) *pb.RpcBlockDataviewViewDeleteResponse
|
|
BlockDataviewViewUpdate(context.Context, *pb.RpcBlockDataviewViewUpdateRequest) *pb.RpcBlockDataviewViewUpdateResponse
|
|
BlockDataviewViewSetActive(context.Context, *pb.RpcBlockDataviewViewSetActiveRequest) *pb.RpcBlockDataviewViewSetActiveResponse
|
|
BlockDataviewViewSetPosition(context.Context, *pb.RpcBlockDataviewViewSetPositionRequest) *pb.RpcBlockDataviewViewSetPositionResponse
|
|
BlockDataviewSetSource(context.Context, *pb.RpcBlockDataviewSetSourceRequest) *pb.RpcBlockDataviewSetSourceResponse
|
|
BlockDataviewRelationAdd(context.Context, *pb.RpcBlockDataviewRelationAddRequest) *pb.RpcBlockDataviewRelationAddResponse
|
|
BlockDataviewRelationDelete(context.Context, *pb.RpcBlockDataviewRelationDeleteRequest) *pb.RpcBlockDataviewRelationDeleteResponse
|
|
BlockDataviewRelationListAvailable(context.Context, *pb.RpcBlockDataviewRelationListAvailableRequest) *pb.RpcBlockDataviewRelationListAvailableResponse
|
|
BlockDataviewGroupOrderUpdate(context.Context, *pb.RpcBlockDataviewGroupOrderUpdateRequest) *pb.RpcBlockDataviewGroupOrderUpdateResponse
|
|
BlockDataviewObjectOrderUpdate(context.Context, *pb.RpcBlockDataviewObjectOrderUpdateRequest) *pb.RpcBlockDataviewObjectOrderUpdateResponse
|
|
BlockDataviewObjectOrderMove(context.Context, *pb.RpcBlockDataviewObjectOrderMoveRequest) *pb.RpcBlockDataviewObjectOrderMoveResponse
|
|
BlockDataviewCreateFromExistingObject(context.Context, *pb.RpcBlockDataviewCreateFromExistingObjectRequest) *pb.RpcBlockDataviewCreateFromExistingObjectResponse
|
|
BlockDataviewFilterAdd(context.Context, *pb.RpcBlockDataviewFilterAddRequest) *pb.RpcBlockDataviewFilterAddResponse
|
|
BlockDataviewFilterRemove(context.Context, *pb.RpcBlockDataviewFilterRemoveRequest) *pb.RpcBlockDataviewFilterRemoveResponse
|
|
BlockDataviewFilterReplace(context.Context, *pb.RpcBlockDataviewFilterReplaceRequest) *pb.RpcBlockDataviewFilterReplaceResponse
|
|
BlockDataviewFilterSort(context.Context, *pb.RpcBlockDataviewFilterSortRequest) *pb.RpcBlockDataviewFilterSortResponse
|
|
BlockDataviewSortAdd(context.Context, *pb.RpcBlockDataviewSortAddRequest) *pb.RpcBlockDataviewSortAddResponse
|
|
BlockDataviewSortRemove(context.Context, *pb.RpcBlockDataviewSortRemoveRequest) *pb.RpcBlockDataviewSortRemoveResponse
|
|
BlockDataviewSortReplace(context.Context, *pb.RpcBlockDataviewSortReplaceRequest) *pb.RpcBlockDataviewSortReplaceResponse
|
|
BlockDataviewSortSort(context.Context, *pb.RpcBlockDataviewSortSortRequest) *pb.RpcBlockDataviewSortSortResponse
|
|
BlockDataviewViewRelationAdd(context.Context, *pb.RpcBlockDataviewViewRelationAddRequest) *pb.RpcBlockDataviewViewRelationAddResponse
|
|
BlockDataviewViewRelationRemove(context.Context, *pb.RpcBlockDataviewViewRelationRemoveRequest) *pb.RpcBlockDataviewViewRelationRemoveResponse
|
|
BlockDataviewViewRelationReplace(context.Context, *pb.RpcBlockDataviewViewRelationReplaceRequest) *pb.RpcBlockDataviewViewRelationReplaceResponse
|
|
BlockDataviewViewRelationSort(context.Context, *pb.RpcBlockDataviewViewRelationSortRequest) *pb.RpcBlockDataviewViewRelationSortResponse
|
|
// Simple table block commands
|
|
// ***
|
|
BlockTableCreate(context.Context, *pb.RpcBlockTableCreateRequest) *pb.RpcBlockTableCreateResponse
|
|
BlockTableExpand(context.Context, *pb.RpcBlockTableExpandRequest) *pb.RpcBlockTableExpandResponse
|
|
BlockTableRowCreate(context.Context, *pb.RpcBlockTableRowCreateRequest) *pb.RpcBlockTableRowCreateResponse
|
|
BlockTableRowDelete(context.Context, *pb.RpcBlockTableRowDeleteRequest) *pb.RpcBlockTableRowDeleteResponse
|
|
BlockTableRowDuplicate(context.Context, *pb.RpcBlockTableRowDuplicateRequest) *pb.RpcBlockTableRowDuplicateResponse
|
|
BlockTableRowSetHeader(context.Context, *pb.RpcBlockTableRowSetHeaderRequest) *pb.RpcBlockTableRowSetHeaderResponse
|
|
BlockTableColumnCreate(context.Context, *pb.RpcBlockTableColumnCreateRequest) *pb.RpcBlockTableColumnCreateResponse
|
|
BlockTableColumnMove(context.Context, *pb.RpcBlockTableColumnMoveRequest) *pb.RpcBlockTableColumnMoveResponse
|
|
BlockTableColumnDelete(context.Context, *pb.RpcBlockTableColumnDeleteRequest) *pb.RpcBlockTableColumnDeleteResponse
|
|
BlockTableColumnDuplicate(context.Context, *pb.RpcBlockTableColumnDuplicateRequest) *pb.RpcBlockTableColumnDuplicateResponse
|
|
BlockTableRowListFill(context.Context, *pb.RpcBlockTableRowListFillRequest) *pb.RpcBlockTableRowListFillResponse
|
|
BlockTableRowListClean(context.Context, *pb.RpcBlockTableRowListCleanRequest) *pb.RpcBlockTableRowListCleanResponse
|
|
BlockTableColumnListFill(context.Context, *pb.RpcBlockTableColumnListFillRequest) *pb.RpcBlockTableColumnListFillResponse
|
|
BlockTableSort(context.Context, *pb.RpcBlockTableSortRequest) *pb.RpcBlockTableSortResponse
|
|
// Other specific block commands
|
|
// ***
|
|
BlockLinkCreateWithObject(context.Context, *pb.RpcBlockLinkCreateWithObjectRequest) *pb.RpcBlockLinkCreateWithObjectResponse
|
|
BlockLinkListSetAppearance(context.Context, *pb.RpcBlockLinkListSetAppearanceRequest) *pb.RpcBlockLinkListSetAppearanceResponse
|
|
BlockBookmarkFetch(context.Context, *pb.RpcBlockBookmarkFetchRequest) *pb.RpcBlockBookmarkFetchResponse
|
|
BlockBookmarkCreateAndFetch(context.Context, *pb.RpcBlockBookmarkCreateAndFetchRequest) *pb.RpcBlockBookmarkCreateAndFetchResponse
|
|
BlockRelationSetKey(context.Context, *pb.RpcBlockRelationSetKeyRequest) *pb.RpcBlockRelationSetKeyResponse
|
|
BlockRelationAdd(context.Context, *pb.RpcBlockRelationAddRequest) *pb.RpcBlockRelationAddResponse
|
|
BlockDivListSetStyle(context.Context, *pb.RpcBlockDivListSetStyleRequest) *pb.RpcBlockDivListSetStyleResponse
|
|
BlockLatexSetText(context.Context, *pb.RpcBlockLatexSetTextRequest) *pb.RpcBlockLatexSetTextResponse
|
|
BlockCreateWidget(context.Context, *pb.RpcBlockCreateWidgetRequest) *pb.RpcBlockCreateWidgetResponse
|
|
ProcessCancel(context.Context, *pb.RpcProcessCancelRequest) *pb.RpcProcessCancelResponse
|
|
LogSend(context.Context, *pb.RpcLogSendRequest) *pb.RpcLogSendResponse
|
|
DebugTree(context.Context, *pb.RpcDebugTreeRequest) *pb.RpcDebugTreeResponse
|
|
DebugTreeHeads(context.Context, *pb.RpcDebugTreeHeadsRequest) *pb.RpcDebugTreeHeadsResponse
|
|
DebugSpaceSummary(context.Context, *pb.RpcDebugSpaceSummaryRequest) *pb.RpcDebugSpaceSummaryResponse
|
|
DebugExportLocalstore(context.Context, *pb.RpcDebugExportLocalstoreRequest) *pb.RpcDebugExportLocalstoreResponse
|
|
DebugPing(context.Context, *pb.RpcDebugPingRequest) *pb.RpcDebugPingResponse
|
|
MetricsSetParameters(context.Context, *pb.RpcMetricsSetParametersRequest) *pb.RpcMetricsSetParametersResponse
|
|
// used only for lib-server via grpc
|
|
// Streams not supported ### ListenSessionEvents(context.Context, *pb.StreamRequest)
|
|
}
|
|
|
|
func registerClientCommandsHandler(srv ClientCommandsHandler) {
|
|
clientCommandsHandler = srv
|
|
}
|
|
|
|
func AppGetVersion(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcAppGetVersionResponse{Error: &pb.RpcAppGetVersionResponseError{Code: pb.RpcAppGetVersionResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcAppGetVersionRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcAppGetVersionResponse{Error: &pb.RpcAppGetVersionResponseError{Code: pb.RpcAppGetVersionResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.AppGetVersion(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func AppSetDeviceState(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcAppSetDeviceStateResponse{Error: &pb.RpcAppSetDeviceStateResponseError{Code: pb.RpcAppSetDeviceStateResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcAppSetDeviceStateRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcAppSetDeviceStateResponse{Error: &pb.RpcAppSetDeviceStateResponseError{Code: pb.RpcAppSetDeviceStateResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.AppSetDeviceState(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func AppShutdown(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcAppShutdownResponse{Error: &pb.RpcAppShutdownResponseError{Code: pb.RpcAppShutdownResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcAppShutdownRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcAppShutdownResponse{Error: &pb.RpcAppShutdownResponseError{Code: pb.RpcAppShutdownResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.AppShutdown(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func WalletCreate(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcWalletCreateResponse{Error: &pb.RpcWalletCreateResponseError{Code: pb.RpcWalletCreateResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcWalletCreateRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcWalletCreateResponse{Error: &pb.RpcWalletCreateResponseError{Code: pb.RpcWalletCreateResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.WalletCreate(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func WalletRecover(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcWalletRecoverResponse{Error: &pb.RpcWalletRecoverResponseError{Code: pb.RpcWalletRecoverResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcWalletRecoverRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcWalletRecoverResponse{Error: &pb.RpcWalletRecoverResponseError{Code: pb.RpcWalletRecoverResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.WalletRecover(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func WalletConvert(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcWalletConvertResponse{Error: &pb.RpcWalletConvertResponseError{Code: pb.RpcWalletConvertResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcWalletConvertRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcWalletConvertResponse{Error: &pb.RpcWalletConvertResponseError{Code: pb.RpcWalletConvertResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.WalletConvert(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func WalletCreateSession(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcWalletCreateSessionResponse{Error: &pb.RpcWalletCreateSessionResponseError{Code: pb.RpcWalletCreateSessionResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcWalletCreateSessionRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcWalletCreateSessionResponse{Error: &pb.RpcWalletCreateSessionResponseError{Code: pb.RpcWalletCreateSessionResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.WalletCreateSession(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func WalletCloseSession(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcWalletCloseSessionResponse{Error: &pb.RpcWalletCloseSessionResponseError{Code: pb.RpcWalletCloseSessionResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcWalletCloseSessionRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcWalletCloseSessionResponse{Error: &pb.RpcWalletCloseSessionResponseError{Code: pb.RpcWalletCloseSessionResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.WalletCloseSession(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func WorkspaceCreate(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcWorkspaceCreateResponse{Error: &pb.RpcWorkspaceCreateResponseError{Code: pb.RpcWorkspaceCreateResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcWorkspaceCreateRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcWorkspaceCreateResponse{Error: &pb.RpcWorkspaceCreateResponseError{Code: pb.RpcWorkspaceCreateResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.WorkspaceCreate(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func WorkspaceObjectAdd(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcWorkspaceObjectAddResponse{Error: &pb.RpcWorkspaceObjectAddResponseError{Code: pb.RpcWorkspaceObjectAddResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcWorkspaceObjectAddRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcWorkspaceObjectAddResponse{Error: &pb.RpcWorkspaceObjectAddResponseError{Code: pb.RpcWorkspaceObjectAddResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.WorkspaceObjectAdd(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func WorkspaceObjectListAdd(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcWorkspaceObjectListAddResponse{Error: &pb.RpcWorkspaceObjectListAddResponseError{Code: pb.RpcWorkspaceObjectListAddResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcWorkspaceObjectListAddRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcWorkspaceObjectListAddResponse{Error: &pb.RpcWorkspaceObjectListAddResponseError{Code: pb.RpcWorkspaceObjectListAddResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.WorkspaceObjectListAdd(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func WorkspaceObjectListRemove(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcWorkspaceObjectListRemoveResponse{Error: &pb.RpcWorkspaceObjectListRemoveResponseError{Code: pb.RpcWorkspaceObjectListRemoveResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcWorkspaceObjectListRemoveRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcWorkspaceObjectListRemoveResponse{Error: &pb.RpcWorkspaceObjectListRemoveResponseError{Code: pb.RpcWorkspaceObjectListRemoveResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.WorkspaceObjectListRemove(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func WorkspaceSelect(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcWorkspaceSelectResponse{Error: &pb.RpcWorkspaceSelectResponseError{Code: pb.RpcWorkspaceSelectResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcWorkspaceSelectRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcWorkspaceSelectResponse{Error: &pb.RpcWorkspaceSelectResponseError{Code: pb.RpcWorkspaceSelectResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.WorkspaceSelect(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func WorkspaceGetCurrent(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcWorkspaceGetCurrentResponse{Error: &pb.RpcWorkspaceGetCurrentResponseError{Code: pb.RpcWorkspaceGetCurrentResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcWorkspaceGetCurrentRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcWorkspaceGetCurrentResponse{Error: &pb.RpcWorkspaceGetCurrentResponseError{Code: pb.RpcWorkspaceGetCurrentResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.WorkspaceGetCurrent(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func WorkspaceGetAll(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcWorkspaceGetAllResponse{Error: &pb.RpcWorkspaceGetAllResponseError{Code: pb.RpcWorkspaceGetAllResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcWorkspaceGetAllRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcWorkspaceGetAllResponse{Error: &pb.RpcWorkspaceGetAllResponseError{Code: pb.RpcWorkspaceGetAllResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.WorkspaceGetAll(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func WorkspaceSetIsHighlighted(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcWorkspaceSetIsHighlightedResponse{Error: &pb.RpcWorkspaceSetIsHighlightedResponseError{Code: pb.RpcWorkspaceSetIsHighlightedResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcWorkspaceSetIsHighlightedRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcWorkspaceSetIsHighlightedResponse{Error: &pb.RpcWorkspaceSetIsHighlightedResponseError{Code: pb.RpcWorkspaceSetIsHighlightedResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.WorkspaceSetIsHighlighted(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func WorkspaceExport(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcWorkspaceExportResponse{Error: &pb.RpcWorkspaceExportResponseError{Code: pb.RpcWorkspaceExportResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcWorkspaceExportRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcWorkspaceExportResponse{Error: &pb.RpcWorkspaceExportResponseError{Code: pb.RpcWorkspaceExportResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.WorkspaceExport(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func AccountRecover(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcAccountRecoverResponse{Error: &pb.RpcAccountRecoverResponseError{Code: pb.RpcAccountRecoverResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcAccountRecoverRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcAccountRecoverResponse{Error: &pb.RpcAccountRecoverResponseError{Code: pb.RpcAccountRecoverResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.AccountRecover(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func AccountCreate(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcAccountCreateResponse{Error: &pb.RpcAccountCreateResponseError{Code: pb.RpcAccountCreateResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcAccountCreateRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcAccountCreateResponse{Error: &pb.RpcAccountCreateResponseError{Code: pb.RpcAccountCreateResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.AccountCreate(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func AccountDelete(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcAccountDeleteResponse{Error: &pb.RpcAccountDeleteResponseError{Code: pb.RpcAccountDeleteResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcAccountDeleteRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcAccountDeleteResponse{Error: &pb.RpcAccountDeleteResponseError{Code: pb.RpcAccountDeleteResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.AccountDelete(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func AccountSelect(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcAccountSelectResponse{Error: &pb.RpcAccountSelectResponseError{Code: pb.RpcAccountSelectResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcAccountSelectRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcAccountSelectResponse{Error: &pb.RpcAccountSelectResponseError{Code: pb.RpcAccountSelectResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.AccountSelect(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func AccountStop(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcAccountStopResponse{Error: &pb.RpcAccountStopResponseError{Code: pb.RpcAccountStopResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcAccountStopRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcAccountStopResponse{Error: &pb.RpcAccountStopResponseError{Code: pb.RpcAccountStopResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.AccountStop(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func AccountMove(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcAccountMoveResponse{Error: &pb.RpcAccountMoveResponseError{Code: pb.RpcAccountMoveResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcAccountMoveRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcAccountMoveResponse{Error: &pb.RpcAccountMoveResponseError{Code: pb.RpcAccountMoveResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.AccountMove(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func AccountConfigUpdate(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcAccountConfigUpdateResponse{Error: &pb.RpcAccountConfigUpdateResponseError{Code: pb.RpcAccountConfigUpdateResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcAccountConfigUpdateRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcAccountConfigUpdateResponse{Error: &pb.RpcAccountConfigUpdateResponseError{Code: pb.RpcAccountConfigUpdateResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.AccountConfigUpdate(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func AccountRecoverFromLegacyExport(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcAccountRecoverFromLegacyExportResponse{Error: &pb.RpcAccountRecoverFromLegacyExportResponseError{Code: pb.RpcAccountRecoverFromLegacyExportResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcAccountRecoverFromLegacyExportRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcAccountRecoverFromLegacyExportResponse{Error: &pb.RpcAccountRecoverFromLegacyExportResponseError{Code: pb.RpcAccountRecoverFromLegacyExportResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.AccountRecoverFromLegacyExport(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func ObjectOpen(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcObjectOpenResponse{Error: &pb.RpcObjectOpenResponseError{Code: pb.RpcObjectOpenResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcObjectOpenRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcObjectOpenResponse{Error: &pb.RpcObjectOpenResponseError{Code: pb.RpcObjectOpenResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.ObjectOpen(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func ObjectClose(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcObjectCloseResponse{Error: &pb.RpcObjectCloseResponseError{Code: pb.RpcObjectCloseResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcObjectCloseRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcObjectCloseResponse{Error: &pb.RpcObjectCloseResponseError{Code: pb.RpcObjectCloseResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.ObjectClose(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func ObjectShow(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcObjectShowResponse{Error: &pb.RpcObjectShowResponseError{Code: pb.RpcObjectShowResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcObjectShowRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcObjectShowResponse{Error: &pb.RpcObjectShowResponseError{Code: pb.RpcObjectShowResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.ObjectShow(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func ObjectCreate(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcObjectCreateResponse{Error: &pb.RpcObjectCreateResponseError{Code: pb.RpcObjectCreateResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcObjectCreateRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcObjectCreateResponse{Error: &pb.RpcObjectCreateResponseError{Code: pb.RpcObjectCreateResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.ObjectCreate(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func ObjectCreateBookmark(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcObjectCreateBookmarkResponse{Error: &pb.RpcObjectCreateBookmarkResponseError{Code: pb.RpcObjectCreateBookmarkResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcObjectCreateBookmarkRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcObjectCreateBookmarkResponse{Error: &pb.RpcObjectCreateBookmarkResponseError{Code: pb.RpcObjectCreateBookmarkResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.ObjectCreateBookmark(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func ObjectCreateSet(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcObjectCreateSetResponse{Error: &pb.RpcObjectCreateSetResponseError{Code: pb.RpcObjectCreateSetResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcObjectCreateSetRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcObjectCreateSetResponse{Error: &pb.RpcObjectCreateSetResponseError{Code: pb.RpcObjectCreateSetResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.ObjectCreateSet(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func ObjectGraph(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcObjectGraphResponse{Error: &pb.RpcObjectGraphResponseError{Code: pb.RpcObjectGraphResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcObjectGraphRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcObjectGraphResponse{Error: &pb.RpcObjectGraphResponseError{Code: pb.RpcObjectGraphResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.ObjectGraph(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func ObjectSearch(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcObjectSearchResponse{Error: &pb.RpcObjectSearchResponseError{Code: pb.RpcObjectSearchResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcObjectSearchRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcObjectSearchResponse{Error: &pb.RpcObjectSearchResponseError{Code: pb.RpcObjectSearchResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.ObjectSearch(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func ObjectSearchSubscribe(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcObjectSearchSubscribeResponse{Error: &pb.RpcObjectSearchSubscribeResponseError{Code: pb.RpcObjectSearchSubscribeResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcObjectSearchSubscribeRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcObjectSearchSubscribeResponse{Error: &pb.RpcObjectSearchSubscribeResponseError{Code: pb.RpcObjectSearchSubscribeResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.ObjectSearchSubscribe(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func ObjectSubscribeIds(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcObjectSubscribeIdsResponse{Error: &pb.RpcObjectSubscribeIdsResponseError{Code: pb.RpcObjectSubscribeIdsResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcObjectSubscribeIdsRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcObjectSubscribeIdsResponse{Error: &pb.RpcObjectSubscribeIdsResponseError{Code: pb.RpcObjectSubscribeIdsResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.ObjectSubscribeIds(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func ObjectGroupsSubscribe(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcObjectGroupsSubscribeResponse{Error: &pb.RpcObjectGroupsSubscribeResponseError{Code: pb.RpcObjectGroupsSubscribeResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcObjectGroupsSubscribeRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcObjectGroupsSubscribeResponse{Error: &pb.RpcObjectGroupsSubscribeResponseError{Code: pb.RpcObjectGroupsSubscribeResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.ObjectGroupsSubscribe(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func ObjectSearchUnsubscribe(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcObjectSearchUnsubscribeResponse{Error: &pb.RpcObjectSearchUnsubscribeResponseError{Code: pb.RpcObjectSearchUnsubscribeResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcObjectSearchUnsubscribeRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcObjectSearchUnsubscribeResponse{Error: &pb.RpcObjectSearchUnsubscribeResponseError{Code: pb.RpcObjectSearchUnsubscribeResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.ObjectSearchUnsubscribe(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func ObjectSetDetails(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcObjectSetDetailsResponse{Error: &pb.RpcObjectSetDetailsResponseError{Code: pb.RpcObjectSetDetailsResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcObjectSetDetailsRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcObjectSetDetailsResponse{Error: &pb.RpcObjectSetDetailsResponseError{Code: pb.RpcObjectSetDetailsResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.ObjectSetDetails(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func ObjectDuplicate(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcObjectDuplicateResponse{Error: &pb.RpcObjectDuplicateResponseError{Code: pb.RpcObjectDuplicateResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcObjectDuplicateRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcObjectDuplicateResponse{Error: &pb.RpcObjectDuplicateResponseError{Code: pb.RpcObjectDuplicateResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.ObjectDuplicate(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func ObjectSetObjectType(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcObjectSetObjectTypeResponse{Error: &pb.RpcObjectSetObjectTypeResponseError{Code: pb.RpcObjectSetObjectTypeResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcObjectSetObjectTypeRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcObjectSetObjectTypeResponse{Error: &pb.RpcObjectSetObjectTypeResponseError{Code: pb.RpcObjectSetObjectTypeResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.ObjectSetObjectType(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func ObjectSetLayout(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcObjectSetLayoutResponse{Error: &pb.RpcObjectSetLayoutResponseError{Code: pb.RpcObjectSetLayoutResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcObjectSetLayoutRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcObjectSetLayoutResponse{Error: &pb.RpcObjectSetLayoutResponseError{Code: pb.RpcObjectSetLayoutResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.ObjectSetLayout(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func ObjectSetInternalFlags(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcObjectSetInternalFlagsResponse{Error: &pb.RpcObjectSetInternalFlagsResponseError{Code: pb.RpcObjectSetInternalFlagsResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcObjectSetInternalFlagsRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcObjectSetInternalFlagsResponse{Error: &pb.RpcObjectSetInternalFlagsResponseError{Code: pb.RpcObjectSetInternalFlagsResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.ObjectSetInternalFlags(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func ObjectSetIsFavorite(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcObjectSetIsFavoriteResponse{Error: &pb.RpcObjectSetIsFavoriteResponseError{Code: pb.RpcObjectSetIsFavoriteResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcObjectSetIsFavoriteRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcObjectSetIsFavoriteResponse{Error: &pb.RpcObjectSetIsFavoriteResponseError{Code: pb.RpcObjectSetIsFavoriteResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.ObjectSetIsFavorite(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func ObjectSetIsArchived(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcObjectSetIsArchivedResponse{Error: &pb.RpcObjectSetIsArchivedResponseError{Code: pb.RpcObjectSetIsArchivedResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcObjectSetIsArchivedRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcObjectSetIsArchivedResponse{Error: &pb.RpcObjectSetIsArchivedResponseError{Code: pb.RpcObjectSetIsArchivedResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.ObjectSetIsArchived(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func ObjectSetSource(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcObjectSetSourceResponse{Error: &pb.RpcObjectSetSourceResponseError{Code: pb.RpcObjectSetSourceResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcObjectSetSourceRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcObjectSetSourceResponse{Error: &pb.RpcObjectSetSourceResponseError{Code: pb.RpcObjectSetSourceResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.ObjectSetSource(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func ObjectWorkspaceSetDashboard(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcObjectWorkspaceSetDashboardResponse{Error: &pb.RpcObjectWorkspaceSetDashboardResponseError{Code: pb.RpcObjectWorkspaceSetDashboardResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcObjectWorkspaceSetDashboardRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcObjectWorkspaceSetDashboardResponse{Error: &pb.RpcObjectWorkspaceSetDashboardResponseError{Code: pb.RpcObjectWorkspaceSetDashboardResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.ObjectWorkspaceSetDashboard(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func ObjectListDuplicate(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcObjectListDuplicateResponse{Error: &pb.RpcObjectListDuplicateResponseError{Code: pb.RpcObjectListDuplicateResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcObjectListDuplicateRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcObjectListDuplicateResponse{Error: &pb.RpcObjectListDuplicateResponseError{Code: pb.RpcObjectListDuplicateResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.ObjectListDuplicate(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func ObjectListDelete(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcObjectListDeleteResponse{Error: &pb.RpcObjectListDeleteResponseError{Code: pb.RpcObjectListDeleteResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcObjectListDeleteRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcObjectListDeleteResponse{Error: &pb.RpcObjectListDeleteResponseError{Code: pb.RpcObjectListDeleteResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.ObjectListDelete(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func ObjectListSetIsArchived(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcObjectListSetIsArchivedResponse{Error: &pb.RpcObjectListSetIsArchivedResponseError{Code: pb.RpcObjectListSetIsArchivedResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcObjectListSetIsArchivedRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcObjectListSetIsArchivedResponse{Error: &pb.RpcObjectListSetIsArchivedResponseError{Code: pb.RpcObjectListSetIsArchivedResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.ObjectListSetIsArchived(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func ObjectListSetIsFavorite(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcObjectListSetIsFavoriteResponse{Error: &pb.RpcObjectListSetIsFavoriteResponseError{Code: pb.RpcObjectListSetIsFavoriteResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcObjectListSetIsFavoriteRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcObjectListSetIsFavoriteResponse{Error: &pb.RpcObjectListSetIsFavoriteResponseError{Code: pb.RpcObjectListSetIsFavoriteResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.ObjectListSetIsFavorite(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func ObjectApplyTemplate(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcObjectApplyTemplateResponse{Error: &pb.RpcObjectApplyTemplateResponseError{Code: pb.RpcObjectApplyTemplateResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcObjectApplyTemplateRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcObjectApplyTemplateResponse{Error: &pb.RpcObjectApplyTemplateResponseError{Code: pb.RpcObjectApplyTemplateResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.ObjectApplyTemplate(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func ObjectToSet(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcObjectToSetResponse{Error: &pb.RpcObjectToSetResponseError{Code: pb.RpcObjectToSetResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcObjectToSetRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcObjectToSetResponse{Error: &pb.RpcObjectToSetResponseError{Code: pb.RpcObjectToSetResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.ObjectToSet(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func ObjectToCollection(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcObjectToCollectionResponse{Error: &pb.RpcObjectToCollectionResponseError{Code: pb.RpcObjectToCollectionResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcObjectToCollectionRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcObjectToCollectionResponse{Error: &pb.RpcObjectToCollectionResponseError{Code: pb.RpcObjectToCollectionResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.ObjectToCollection(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func ObjectShareByLink(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcObjectShareByLinkResponse{Error: &pb.RpcObjectShareByLinkResponseError{Code: pb.RpcObjectShareByLinkResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcObjectShareByLinkRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcObjectShareByLinkResponse{Error: &pb.RpcObjectShareByLinkResponseError{Code: pb.RpcObjectShareByLinkResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.ObjectShareByLink(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func ObjectUndo(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcObjectUndoResponse{Error: &pb.RpcObjectUndoResponseError{Code: pb.RpcObjectUndoResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcObjectUndoRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcObjectUndoResponse{Error: &pb.RpcObjectUndoResponseError{Code: pb.RpcObjectUndoResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.ObjectUndo(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func ObjectRedo(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcObjectRedoResponse{Error: &pb.RpcObjectRedoResponseError{Code: pb.RpcObjectRedoResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcObjectRedoRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcObjectRedoResponse{Error: &pb.RpcObjectRedoResponseError{Code: pb.RpcObjectRedoResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.ObjectRedo(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func ObjectListExport(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcObjectListExportResponse{Error: &pb.RpcObjectListExportResponseError{Code: pb.RpcObjectListExportResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcObjectListExportRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcObjectListExportResponse{Error: &pb.RpcObjectListExportResponseError{Code: pb.RpcObjectListExportResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.ObjectListExport(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func ObjectBookmarkFetch(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcObjectBookmarkFetchResponse{Error: &pb.RpcObjectBookmarkFetchResponseError{Code: pb.RpcObjectBookmarkFetchResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcObjectBookmarkFetchRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcObjectBookmarkFetchResponse{Error: &pb.RpcObjectBookmarkFetchResponseError{Code: pb.RpcObjectBookmarkFetchResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.ObjectBookmarkFetch(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func ObjectToBookmark(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcObjectToBookmarkResponse{Error: &pb.RpcObjectToBookmarkResponseError{Code: pb.RpcObjectToBookmarkResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcObjectToBookmarkRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcObjectToBookmarkResponse{Error: &pb.RpcObjectToBookmarkResponseError{Code: pb.RpcObjectToBookmarkResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.ObjectToBookmark(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func ObjectImport(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcObjectImportResponse{Error: &pb.RpcObjectImportResponseError{Code: pb.RpcObjectImportResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcObjectImportRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcObjectImportResponse{Error: &pb.RpcObjectImportResponseError{Code: pb.RpcObjectImportResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.ObjectImport(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func ObjectImportList(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcObjectImportListResponse{Error: &pb.RpcObjectImportListResponseError{Code: pb.RpcObjectImportListResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcObjectImportListRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcObjectImportListResponse{Error: &pb.RpcObjectImportListResponseError{Code: pb.RpcObjectImportListResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.ObjectImportList(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func ObjectImportNotionValidateToken(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcObjectImportNotionValidateTokenResponse{Error: &pb.RpcObjectImportNotionValidateTokenResponseError{Code: pb.RpcObjectImportNotionValidateTokenResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcObjectImportNotionValidateTokenRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcObjectImportNotionValidateTokenResponse{Error: &pb.RpcObjectImportNotionValidateTokenResponseError{Code: pb.RpcObjectImportNotionValidateTokenResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.ObjectImportNotionValidateToken(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func ObjectCollectionAdd(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcObjectCollectionAddResponse{Error: &pb.RpcObjectCollectionAddResponseError{Code: pb.RpcObjectCollectionAddResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcObjectCollectionAddRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcObjectCollectionAddResponse{Error: &pb.RpcObjectCollectionAddResponseError{Code: pb.RpcObjectCollectionAddResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.ObjectCollectionAdd(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func ObjectCollectionRemove(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcObjectCollectionRemoveResponse{Error: &pb.RpcObjectCollectionRemoveResponseError{Code: pb.RpcObjectCollectionRemoveResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcObjectCollectionRemoveRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcObjectCollectionRemoveResponse{Error: &pb.RpcObjectCollectionRemoveResponseError{Code: pb.RpcObjectCollectionRemoveResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.ObjectCollectionRemove(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func ObjectCollectionSort(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcObjectCollectionSortResponse{Error: &pb.RpcObjectCollectionSortResponseError{Code: pb.RpcObjectCollectionSortResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcObjectCollectionSortRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcObjectCollectionSortResponse{Error: &pb.RpcObjectCollectionSortResponseError{Code: pb.RpcObjectCollectionSortResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.ObjectCollectionSort(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func ObjectCreateRelation(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcObjectCreateRelationResponse{Error: &pb.RpcObjectCreateRelationResponseError{Code: pb.RpcObjectCreateRelationResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcObjectCreateRelationRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcObjectCreateRelationResponse{Error: &pb.RpcObjectCreateRelationResponseError{Code: pb.RpcObjectCreateRelationResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.ObjectCreateRelation(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func ObjectCreateRelationOption(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcObjectCreateRelationOptionResponse{Error: &pb.RpcObjectCreateRelationOptionResponseError{Code: pb.RpcObjectCreateRelationOptionResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcObjectCreateRelationOptionRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcObjectCreateRelationOptionResponse{Error: &pb.RpcObjectCreateRelationOptionResponseError{Code: pb.RpcObjectCreateRelationOptionResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.ObjectCreateRelationOption(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func RelationListRemoveOption(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcRelationListRemoveOptionResponse{Error: &pb.RpcRelationListRemoveOptionResponseError{Code: pb.RpcRelationListRemoveOptionResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcRelationListRemoveOptionRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcRelationListRemoveOptionResponse{Error: &pb.RpcRelationListRemoveOptionResponseError{Code: pb.RpcRelationListRemoveOptionResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.RelationListRemoveOption(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func RelationOptions(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcRelationOptionsResponse{Error: &pb.RpcRelationOptionsResponseError{Code: pb.RpcRelationOptionsResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcRelationOptionsRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcRelationOptionsResponse{Error: &pb.RpcRelationOptionsResponseError{Code: pb.RpcRelationOptionsResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.RelationOptions(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func ObjectRelationAdd(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcObjectRelationAddResponse{Error: &pb.RpcObjectRelationAddResponseError{Code: pb.RpcObjectRelationAddResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcObjectRelationAddRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcObjectRelationAddResponse{Error: &pb.RpcObjectRelationAddResponseError{Code: pb.RpcObjectRelationAddResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.ObjectRelationAdd(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func ObjectRelationDelete(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcObjectRelationDeleteResponse{Error: &pb.RpcObjectRelationDeleteResponseError{Code: pb.RpcObjectRelationDeleteResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcObjectRelationDeleteRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcObjectRelationDeleteResponse{Error: &pb.RpcObjectRelationDeleteResponseError{Code: pb.RpcObjectRelationDeleteResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.ObjectRelationDelete(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func ObjectRelationAddFeatured(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcObjectRelationAddFeaturedResponse{Error: &pb.RpcObjectRelationAddFeaturedResponseError{Code: pb.RpcObjectRelationAddFeaturedResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcObjectRelationAddFeaturedRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcObjectRelationAddFeaturedResponse{Error: &pb.RpcObjectRelationAddFeaturedResponseError{Code: pb.RpcObjectRelationAddFeaturedResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.ObjectRelationAddFeatured(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func ObjectRelationRemoveFeatured(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcObjectRelationRemoveFeaturedResponse{Error: &pb.RpcObjectRelationRemoveFeaturedResponseError{Code: pb.RpcObjectRelationRemoveFeaturedResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcObjectRelationRemoveFeaturedRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcObjectRelationRemoveFeaturedResponse{Error: &pb.RpcObjectRelationRemoveFeaturedResponseError{Code: pb.RpcObjectRelationRemoveFeaturedResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.ObjectRelationRemoveFeatured(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func ObjectRelationListAvailable(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcObjectRelationListAvailableResponse{Error: &pb.RpcObjectRelationListAvailableResponseError{Code: pb.RpcObjectRelationListAvailableResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcObjectRelationListAvailableRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcObjectRelationListAvailableResponse{Error: &pb.RpcObjectRelationListAvailableResponseError{Code: pb.RpcObjectRelationListAvailableResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.ObjectRelationListAvailable(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func ObjectCreateObjectType(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcObjectCreateObjectTypeResponse{Error: &pb.RpcObjectCreateObjectTypeResponseError{Code: pb.RpcObjectCreateObjectTypeResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcObjectCreateObjectTypeRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcObjectCreateObjectTypeResponse{Error: &pb.RpcObjectCreateObjectTypeResponseError{Code: pb.RpcObjectCreateObjectTypeResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.ObjectCreateObjectType(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func ObjectTypeRelationList(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcObjectTypeRelationListResponse{Error: &pb.RpcObjectTypeRelationListResponseError{Code: pb.RpcObjectTypeRelationListResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcObjectTypeRelationListRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcObjectTypeRelationListResponse{Error: &pb.RpcObjectTypeRelationListResponseError{Code: pb.RpcObjectTypeRelationListResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.ObjectTypeRelationList(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func ObjectTypeRelationAdd(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcObjectTypeRelationAddResponse{Error: &pb.RpcObjectTypeRelationAddResponseError{Code: pb.RpcObjectTypeRelationAddResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcObjectTypeRelationAddRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcObjectTypeRelationAddResponse{Error: &pb.RpcObjectTypeRelationAddResponseError{Code: pb.RpcObjectTypeRelationAddResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.ObjectTypeRelationAdd(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func ObjectTypeRelationRemove(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcObjectTypeRelationRemoveResponse{Error: &pb.RpcObjectTypeRelationRemoveResponseError{Code: pb.RpcObjectTypeRelationRemoveResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcObjectTypeRelationRemoveRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcObjectTypeRelationRemoveResponse{Error: &pb.RpcObjectTypeRelationRemoveResponseError{Code: pb.RpcObjectTypeRelationRemoveResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.ObjectTypeRelationRemove(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func HistoryShowVersion(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcHistoryShowVersionResponse{Error: &pb.RpcHistoryShowVersionResponseError{Code: pb.RpcHistoryShowVersionResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcHistoryShowVersionRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcHistoryShowVersionResponse{Error: &pb.RpcHistoryShowVersionResponseError{Code: pb.RpcHistoryShowVersionResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.HistoryShowVersion(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func HistoryGetVersions(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcHistoryGetVersionsResponse{Error: &pb.RpcHistoryGetVersionsResponseError{Code: pb.RpcHistoryGetVersionsResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcHistoryGetVersionsRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcHistoryGetVersionsResponse{Error: &pb.RpcHistoryGetVersionsResponseError{Code: pb.RpcHistoryGetVersionsResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.HistoryGetVersions(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func HistorySetVersion(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcHistorySetVersionResponse{Error: &pb.RpcHistorySetVersionResponseError{Code: pb.RpcHistorySetVersionResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcHistorySetVersionRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcHistorySetVersionResponse{Error: &pb.RpcHistorySetVersionResponseError{Code: pb.RpcHistorySetVersionResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.HistorySetVersion(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func FileOffload(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcFileOffloadResponse{Error: &pb.RpcFileOffloadResponseError{Code: pb.RpcFileOffloadResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcFileOffloadRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcFileOffloadResponse{Error: &pb.RpcFileOffloadResponseError{Code: pb.RpcFileOffloadResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.FileOffload(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func FileListOffload(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcFileListOffloadResponse{Error: &pb.RpcFileListOffloadResponseError{Code: pb.RpcFileListOffloadResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcFileListOffloadRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcFileListOffloadResponse{Error: &pb.RpcFileListOffloadResponseError{Code: pb.RpcFileListOffloadResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.FileListOffload(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func FileUpload(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcFileUploadResponse{Error: &pb.RpcFileUploadResponseError{Code: pb.RpcFileUploadResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcFileUploadRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcFileUploadResponse{Error: &pb.RpcFileUploadResponseError{Code: pb.RpcFileUploadResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.FileUpload(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func FileDownload(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcFileDownloadResponse{Error: &pb.RpcFileDownloadResponseError{Code: pb.RpcFileDownloadResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcFileDownloadRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcFileDownloadResponse{Error: &pb.RpcFileDownloadResponseError{Code: pb.RpcFileDownloadResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.FileDownload(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func FileDrop(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcFileDropResponse{Error: &pb.RpcFileDropResponseError{Code: pb.RpcFileDropResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcFileDropRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcFileDropResponse{Error: &pb.RpcFileDropResponseError{Code: pb.RpcFileDropResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.FileDrop(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func FileSpaceUsage(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcFileSpaceUsageResponse{Error: &pb.RpcFileSpaceUsageResponseError{Code: pb.RpcFileSpaceUsageResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcFileSpaceUsageRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcFileSpaceUsageResponse{Error: &pb.RpcFileSpaceUsageResponseError{Code: pb.RpcFileSpaceUsageResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.FileSpaceUsage(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func NavigationListObjects(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcNavigationListObjectsResponse{Error: &pb.RpcNavigationListObjectsResponseError{Code: pb.RpcNavigationListObjectsResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcNavigationListObjectsRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcNavigationListObjectsResponse{Error: &pb.RpcNavigationListObjectsResponseError{Code: pb.RpcNavigationListObjectsResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.NavigationListObjects(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func NavigationGetObjectInfoWithLinks(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcNavigationGetObjectInfoWithLinksResponse{Error: &pb.RpcNavigationGetObjectInfoWithLinksResponseError{Code: pb.RpcNavigationGetObjectInfoWithLinksResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcNavigationGetObjectInfoWithLinksRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcNavigationGetObjectInfoWithLinksResponse{Error: &pb.RpcNavigationGetObjectInfoWithLinksResponseError{Code: pb.RpcNavigationGetObjectInfoWithLinksResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.NavigationGetObjectInfoWithLinks(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func TemplateCreateFromObject(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcTemplateCreateFromObjectResponse{Error: &pb.RpcTemplateCreateFromObjectResponseError{Code: pb.RpcTemplateCreateFromObjectResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcTemplateCreateFromObjectRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcTemplateCreateFromObjectResponse{Error: &pb.RpcTemplateCreateFromObjectResponseError{Code: pb.RpcTemplateCreateFromObjectResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.TemplateCreateFromObject(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func TemplateCreateFromObjectType(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcTemplateCreateFromObjectTypeResponse{Error: &pb.RpcTemplateCreateFromObjectTypeResponseError{Code: pb.RpcTemplateCreateFromObjectTypeResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcTemplateCreateFromObjectTypeRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcTemplateCreateFromObjectTypeResponse{Error: &pb.RpcTemplateCreateFromObjectTypeResponseError{Code: pb.RpcTemplateCreateFromObjectTypeResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.TemplateCreateFromObjectType(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func TemplateClone(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcTemplateCloneResponse{Error: &pb.RpcTemplateCloneResponseError{Code: pb.RpcTemplateCloneResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcTemplateCloneRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcTemplateCloneResponse{Error: &pb.RpcTemplateCloneResponseError{Code: pb.RpcTemplateCloneResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.TemplateClone(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func TemplateExportAll(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcTemplateExportAllResponse{Error: &pb.RpcTemplateExportAllResponseError{Code: pb.RpcTemplateExportAllResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcTemplateExportAllRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcTemplateExportAllResponse{Error: &pb.RpcTemplateExportAllResponseError{Code: pb.RpcTemplateExportAllResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.TemplateExportAll(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func LinkPreview(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcLinkPreviewResponse{Error: &pb.RpcLinkPreviewResponseError{Code: pb.RpcLinkPreviewResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcLinkPreviewRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcLinkPreviewResponse{Error: &pb.RpcLinkPreviewResponseError{Code: pb.RpcLinkPreviewResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.LinkPreview(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func UnsplashSearch(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcUnsplashSearchResponse{Error: &pb.RpcUnsplashSearchResponseError{Code: pb.RpcUnsplashSearchResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcUnsplashSearchRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcUnsplashSearchResponse{Error: &pb.RpcUnsplashSearchResponseError{Code: pb.RpcUnsplashSearchResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.UnsplashSearch(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func UnsplashDownload(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcUnsplashDownloadResponse{Error: &pb.RpcUnsplashDownloadResponseError{Code: pb.RpcUnsplashDownloadResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcUnsplashDownloadRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcUnsplashDownloadResponse{Error: &pb.RpcUnsplashDownloadResponseError{Code: pb.RpcUnsplashDownloadResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.UnsplashDownload(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func BlockUpload(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcBlockUploadResponse{Error: &pb.RpcBlockUploadResponseError{Code: pb.RpcBlockUploadResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcBlockUploadRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcBlockUploadResponse{Error: &pb.RpcBlockUploadResponseError{Code: pb.RpcBlockUploadResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.BlockUpload(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func BlockReplace(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcBlockReplaceResponse{Error: &pb.RpcBlockReplaceResponseError{Code: pb.RpcBlockReplaceResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcBlockReplaceRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcBlockReplaceResponse{Error: &pb.RpcBlockReplaceResponseError{Code: pb.RpcBlockReplaceResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.BlockReplace(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func BlockCreate(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcBlockCreateResponse{Error: &pb.RpcBlockCreateResponseError{Code: pb.RpcBlockCreateResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcBlockCreateRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcBlockCreateResponse{Error: &pb.RpcBlockCreateResponseError{Code: pb.RpcBlockCreateResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.BlockCreate(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func BlockSplit(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcBlockSplitResponse{Error: &pb.RpcBlockSplitResponseError{Code: pb.RpcBlockSplitResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcBlockSplitRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcBlockSplitResponse{Error: &pb.RpcBlockSplitResponseError{Code: pb.RpcBlockSplitResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.BlockSplit(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func BlockMerge(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcBlockMergeResponse{Error: &pb.RpcBlockMergeResponseError{Code: pb.RpcBlockMergeResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcBlockMergeRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcBlockMergeResponse{Error: &pb.RpcBlockMergeResponseError{Code: pb.RpcBlockMergeResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.BlockMerge(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func BlockCopy(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcBlockCopyResponse{Error: &pb.RpcBlockCopyResponseError{Code: pb.RpcBlockCopyResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcBlockCopyRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcBlockCopyResponse{Error: &pb.RpcBlockCopyResponseError{Code: pb.RpcBlockCopyResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.BlockCopy(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func BlockPaste(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcBlockPasteResponse{Error: &pb.RpcBlockPasteResponseError{Code: pb.RpcBlockPasteResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcBlockPasteRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcBlockPasteResponse{Error: &pb.RpcBlockPasteResponseError{Code: pb.RpcBlockPasteResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.BlockPaste(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func BlockCut(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcBlockCutResponse{Error: &pb.RpcBlockCutResponseError{Code: pb.RpcBlockCutResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcBlockCutRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcBlockCutResponse{Error: &pb.RpcBlockCutResponseError{Code: pb.RpcBlockCutResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.BlockCut(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func BlockSetFields(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcBlockSetFieldsResponse{Error: &pb.RpcBlockSetFieldsResponseError{Code: pb.RpcBlockSetFieldsResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcBlockSetFieldsRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcBlockSetFieldsResponse{Error: &pb.RpcBlockSetFieldsResponseError{Code: pb.RpcBlockSetFieldsResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.BlockSetFields(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func BlockExport(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcBlockExportResponse{Error: &pb.RpcBlockExportResponseError{Code: pb.RpcBlockExportResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcBlockExportRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcBlockExportResponse{Error: &pb.RpcBlockExportResponseError{Code: pb.RpcBlockExportResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.BlockExport(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func BlockListDelete(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcBlockListDeleteResponse{Error: &pb.RpcBlockListDeleteResponseError{Code: pb.RpcBlockListDeleteResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcBlockListDeleteRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcBlockListDeleteResponse{Error: &pb.RpcBlockListDeleteResponseError{Code: pb.RpcBlockListDeleteResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.BlockListDelete(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func BlockListMoveToExistingObject(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcBlockListMoveToExistingObjectResponse{Error: &pb.RpcBlockListMoveToExistingObjectResponseError{Code: pb.RpcBlockListMoveToExistingObjectResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcBlockListMoveToExistingObjectRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcBlockListMoveToExistingObjectResponse{Error: &pb.RpcBlockListMoveToExistingObjectResponseError{Code: pb.RpcBlockListMoveToExistingObjectResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.BlockListMoveToExistingObject(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func BlockListMoveToNewObject(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcBlockListMoveToNewObjectResponse{Error: &pb.RpcBlockListMoveToNewObjectResponseError{Code: pb.RpcBlockListMoveToNewObjectResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcBlockListMoveToNewObjectRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcBlockListMoveToNewObjectResponse{Error: &pb.RpcBlockListMoveToNewObjectResponseError{Code: pb.RpcBlockListMoveToNewObjectResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.BlockListMoveToNewObject(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func BlockListConvertToObjects(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcBlockListConvertToObjectsResponse{Error: &pb.RpcBlockListConvertToObjectsResponseError{Code: pb.RpcBlockListConvertToObjectsResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcBlockListConvertToObjectsRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcBlockListConvertToObjectsResponse{Error: &pb.RpcBlockListConvertToObjectsResponseError{Code: pb.RpcBlockListConvertToObjectsResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.BlockListConvertToObjects(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func BlockListSetFields(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcBlockListSetFieldsResponse{Error: &pb.RpcBlockListSetFieldsResponseError{Code: pb.RpcBlockListSetFieldsResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcBlockListSetFieldsRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcBlockListSetFieldsResponse{Error: &pb.RpcBlockListSetFieldsResponseError{Code: pb.RpcBlockListSetFieldsResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.BlockListSetFields(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func BlockListDuplicate(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcBlockListDuplicateResponse{Error: &pb.RpcBlockListDuplicateResponseError{Code: pb.RpcBlockListDuplicateResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcBlockListDuplicateRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcBlockListDuplicateResponse{Error: &pb.RpcBlockListDuplicateResponseError{Code: pb.RpcBlockListDuplicateResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.BlockListDuplicate(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func BlockListSetBackgroundColor(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcBlockListSetBackgroundColorResponse{Error: &pb.RpcBlockListSetBackgroundColorResponseError{Code: pb.RpcBlockListSetBackgroundColorResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcBlockListSetBackgroundColorRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcBlockListSetBackgroundColorResponse{Error: &pb.RpcBlockListSetBackgroundColorResponseError{Code: pb.RpcBlockListSetBackgroundColorResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.BlockListSetBackgroundColor(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func BlockListSetAlign(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcBlockListSetAlignResponse{Error: &pb.RpcBlockListSetAlignResponseError{Code: pb.RpcBlockListSetAlignResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcBlockListSetAlignRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcBlockListSetAlignResponse{Error: &pb.RpcBlockListSetAlignResponseError{Code: pb.RpcBlockListSetAlignResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.BlockListSetAlign(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func BlockListSetVerticalAlign(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcBlockListSetVerticalAlignResponse{Error: &pb.RpcBlockListSetVerticalAlignResponseError{Code: pb.RpcBlockListSetVerticalAlignResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcBlockListSetVerticalAlignRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcBlockListSetVerticalAlignResponse{Error: &pb.RpcBlockListSetVerticalAlignResponseError{Code: pb.RpcBlockListSetVerticalAlignResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.BlockListSetVerticalAlign(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func BlockListTurnInto(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcBlockListTurnIntoResponse{Error: &pb.RpcBlockListTurnIntoResponseError{Code: pb.RpcBlockListTurnIntoResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcBlockListTurnIntoRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcBlockListTurnIntoResponse{Error: &pb.RpcBlockListTurnIntoResponseError{Code: pb.RpcBlockListTurnIntoResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.BlockListTurnInto(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func BlockTextSetText(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcBlockTextSetTextResponse{Error: &pb.RpcBlockTextSetTextResponseError{Code: pb.RpcBlockTextSetTextResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcBlockTextSetTextRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcBlockTextSetTextResponse{Error: &pb.RpcBlockTextSetTextResponseError{Code: pb.RpcBlockTextSetTextResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.BlockTextSetText(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func BlockTextSetColor(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcBlockTextSetColorResponse{Error: &pb.RpcBlockTextSetColorResponseError{Code: pb.RpcBlockTextSetColorResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcBlockTextSetColorRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcBlockTextSetColorResponse{Error: &pb.RpcBlockTextSetColorResponseError{Code: pb.RpcBlockTextSetColorResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.BlockTextSetColor(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func BlockTextSetStyle(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcBlockTextSetStyleResponse{Error: &pb.RpcBlockTextSetStyleResponseError{Code: pb.RpcBlockTextSetStyleResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcBlockTextSetStyleRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcBlockTextSetStyleResponse{Error: &pb.RpcBlockTextSetStyleResponseError{Code: pb.RpcBlockTextSetStyleResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.BlockTextSetStyle(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func BlockTextSetChecked(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcBlockTextSetCheckedResponse{Error: &pb.RpcBlockTextSetCheckedResponseError{Code: pb.RpcBlockTextSetCheckedResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcBlockTextSetCheckedRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcBlockTextSetCheckedResponse{Error: &pb.RpcBlockTextSetCheckedResponseError{Code: pb.RpcBlockTextSetCheckedResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.BlockTextSetChecked(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func BlockTextSetIcon(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcBlockTextSetIconResponse{Error: &pb.RpcBlockTextSetIconResponseError{Code: pb.RpcBlockTextSetIconResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcBlockTextSetIconRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcBlockTextSetIconResponse{Error: &pb.RpcBlockTextSetIconResponseError{Code: pb.RpcBlockTextSetIconResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.BlockTextSetIcon(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func BlockTextListSetColor(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcBlockTextListSetColorResponse{Error: &pb.RpcBlockTextListSetColorResponseError{Code: pb.RpcBlockTextListSetColorResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcBlockTextListSetColorRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcBlockTextListSetColorResponse{Error: &pb.RpcBlockTextListSetColorResponseError{Code: pb.RpcBlockTextListSetColorResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.BlockTextListSetColor(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func BlockTextListSetMark(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcBlockTextListSetMarkResponse{Error: &pb.RpcBlockTextListSetMarkResponseError{Code: pb.RpcBlockTextListSetMarkResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcBlockTextListSetMarkRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcBlockTextListSetMarkResponse{Error: &pb.RpcBlockTextListSetMarkResponseError{Code: pb.RpcBlockTextListSetMarkResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.BlockTextListSetMark(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func BlockTextListSetStyle(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcBlockTextListSetStyleResponse{Error: &pb.RpcBlockTextListSetStyleResponseError{Code: pb.RpcBlockTextListSetStyleResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcBlockTextListSetStyleRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcBlockTextListSetStyleResponse{Error: &pb.RpcBlockTextListSetStyleResponseError{Code: pb.RpcBlockTextListSetStyleResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.BlockTextListSetStyle(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func BlockTextListClearStyle(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcBlockTextListClearStyleResponse{Error: &pb.RpcBlockTextListClearStyleResponseError{Code: pb.RpcBlockTextListClearStyleResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcBlockTextListClearStyleRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcBlockTextListClearStyleResponse{Error: &pb.RpcBlockTextListClearStyleResponseError{Code: pb.RpcBlockTextListClearStyleResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.BlockTextListClearStyle(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func BlockTextListClearContent(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcBlockTextListClearContentResponse{Error: &pb.RpcBlockTextListClearContentResponseError{Code: pb.RpcBlockTextListClearContentResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcBlockTextListClearContentRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcBlockTextListClearContentResponse{Error: &pb.RpcBlockTextListClearContentResponseError{Code: pb.RpcBlockTextListClearContentResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.BlockTextListClearContent(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func BlockFileSetName(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcBlockFileSetNameResponse{Error: &pb.RpcBlockFileSetNameResponseError{Code: pb.RpcBlockFileSetNameResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcBlockFileSetNameRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcBlockFileSetNameResponse{Error: &pb.RpcBlockFileSetNameResponseError{Code: pb.RpcBlockFileSetNameResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.BlockFileSetName(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func BlockImageSetName(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcBlockImageSetNameResponse{Error: &pb.RpcBlockImageSetNameResponseError{Code: pb.RpcBlockImageSetNameResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcBlockImageSetNameRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcBlockImageSetNameResponse{Error: &pb.RpcBlockImageSetNameResponseError{Code: pb.RpcBlockImageSetNameResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.BlockImageSetName(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func BlockVideoSetName(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcBlockVideoSetNameResponse{Error: &pb.RpcBlockVideoSetNameResponseError{Code: pb.RpcBlockVideoSetNameResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcBlockVideoSetNameRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcBlockVideoSetNameResponse{Error: &pb.RpcBlockVideoSetNameResponseError{Code: pb.RpcBlockVideoSetNameResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.BlockVideoSetName(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func BlockFileCreateAndUpload(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcBlockFileCreateAndUploadResponse{Error: &pb.RpcBlockFileCreateAndUploadResponseError{Code: pb.RpcBlockFileCreateAndUploadResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcBlockFileCreateAndUploadRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcBlockFileCreateAndUploadResponse{Error: &pb.RpcBlockFileCreateAndUploadResponseError{Code: pb.RpcBlockFileCreateAndUploadResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.BlockFileCreateAndUpload(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func BlockFileListSetStyle(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcBlockFileListSetStyleResponse{Error: &pb.RpcBlockFileListSetStyleResponseError{Code: pb.RpcBlockFileListSetStyleResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcBlockFileListSetStyleRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcBlockFileListSetStyleResponse{Error: &pb.RpcBlockFileListSetStyleResponseError{Code: pb.RpcBlockFileListSetStyleResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.BlockFileListSetStyle(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func BlockDataviewViewCreate(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcBlockDataviewViewCreateResponse{Error: &pb.RpcBlockDataviewViewCreateResponseError{Code: pb.RpcBlockDataviewViewCreateResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcBlockDataviewViewCreateRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcBlockDataviewViewCreateResponse{Error: &pb.RpcBlockDataviewViewCreateResponseError{Code: pb.RpcBlockDataviewViewCreateResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.BlockDataviewViewCreate(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func BlockDataviewViewDelete(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcBlockDataviewViewDeleteResponse{Error: &pb.RpcBlockDataviewViewDeleteResponseError{Code: pb.RpcBlockDataviewViewDeleteResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcBlockDataviewViewDeleteRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcBlockDataviewViewDeleteResponse{Error: &pb.RpcBlockDataviewViewDeleteResponseError{Code: pb.RpcBlockDataviewViewDeleteResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.BlockDataviewViewDelete(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func BlockDataviewViewUpdate(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcBlockDataviewViewUpdateResponse{Error: &pb.RpcBlockDataviewViewUpdateResponseError{Code: pb.RpcBlockDataviewViewUpdateResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcBlockDataviewViewUpdateRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcBlockDataviewViewUpdateResponse{Error: &pb.RpcBlockDataviewViewUpdateResponseError{Code: pb.RpcBlockDataviewViewUpdateResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.BlockDataviewViewUpdate(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func BlockDataviewViewSetActive(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcBlockDataviewViewSetActiveResponse{Error: &pb.RpcBlockDataviewViewSetActiveResponseError{Code: pb.RpcBlockDataviewViewSetActiveResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcBlockDataviewViewSetActiveRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcBlockDataviewViewSetActiveResponse{Error: &pb.RpcBlockDataviewViewSetActiveResponseError{Code: pb.RpcBlockDataviewViewSetActiveResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.BlockDataviewViewSetActive(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func BlockDataviewViewSetPosition(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcBlockDataviewViewSetPositionResponse{Error: &pb.RpcBlockDataviewViewSetPositionResponseError{Code: pb.RpcBlockDataviewViewSetPositionResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcBlockDataviewViewSetPositionRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcBlockDataviewViewSetPositionResponse{Error: &pb.RpcBlockDataviewViewSetPositionResponseError{Code: pb.RpcBlockDataviewViewSetPositionResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.BlockDataviewViewSetPosition(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func BlockDataviewSetSource(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcBlockDataviewSetSourceResponse{Error: &pb.RpcBlockDataviewSetSourceResponseError{Code: pb.RpcBlockDataviewSetSourceResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcBlockDataviewSetSourceRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcBlockDataviewSetSourceResponse{Error: &pb.RpcBlockDataviewSetSourceResponseError{Code: pb.RpcBlockDataviewSetSourceResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.BlockDataviewSetSource(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func BlockDataviewRelationAdd(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcBlockDataviewRelationAddResponse{Error: &pb.RpcBlockDataviewRelationAddResponseError{Code: pb.RpcBlockDataviewRelationAddResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcBlockDataviewRelationAddRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcBlockDataviewRelationAddResponse{Error: &pb.RpcBlockDataviewRelationAddResponseError{Code: pb.RpcBlockDataviewRelationAddResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.BlockDataviewRelationAdd(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func BlockDataviewRelationDelete(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcBlockDataviewRelationDeleteResponse{Error: &pb.RpcBlockDataviewRelationDeleteResponseError{Code: pb.RpcBlockDataviewRelationDeleteResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcBlockDataviewRelationDeleteRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcBlockDataviewRelationDeleteResponse{Error: &pb.RpcBlockDataviewRelationDeleteResponseError{Code: pb.RpcBlockDataviewRelationDeleteResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.BlockDataviewRelationDelete(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func BlockDataviewRelationListAvailable(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcBlockDataviewRelationListAvailableResponse{Error: &pb.RpcBlockDataviewRelationListAvailableResponseError{Code: pb.RpcBlockDataviewRelationListAvailableResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcBlockDataviewRelationListAvailableRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcBlockDataviewRelationListAvailableResponse{Error: &pb.RpcBlockDataviewRelationListAvailableResponseError{Code: pb.RpcBlockDataviewRelationListAvailableResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.BlockDataviewRelationListAvailable(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func BlockDataviewGroupOrderUpdate(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcBlockDataviewGroupOrderUpdateResponse{Error: &pb.RpcBlockDataviewGroupOrderUpdateResponseError{Code: pb.RpcBlockDataviewGroupOrderUpdateResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcBlockDataviewGroupOrderUpdateRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcBlockDataviewGroupOrderUpdateResponse{Error: &pb.RpcBlockDataviewGroupOrderUpdateResponseError{Code: pb.RpcBlockDataviewGroupOrderUpdateResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.BlockDataviewGroupOrderUpdate(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func BlockDataviewObjectOrderUpdate(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcBlockDataviewObjectOrderUpdateResponse{Error: &pb.RpcBlockDataviewObjectOrderUpdateResponseError{Code: pb.RpcBlockDataviewObjectOrderUpdateResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcBlockDataviewObjectOrderUpdateRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcBlockDataviewObjectOrderUpdateResponse{Error: &pb.RpcBlockDataviewObjectOrderUpdateResponseError{Code: pb.RpcBlockDataviewObjectOrderUpdateResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.BlockDataviewObjectOrderUpdate(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func BlockDataviewObjectOrderMove(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcBlockDataviewObjectOrderMoveResponse{Error: &pb.RpcBlockDataviewObjectOrderMoveResponseError{Code: pb.RpcBlockDataviewObjectOrderMoveResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcBlockDataviewObjectOrderMoveRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcBlockDataviewObjectOrderMoveResponse{Error: &pb.RpcBlockDataviewObjectOrderMoveResponseError{Code: pb.RpcBlockDataviewObjectOrderMoveResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.BlockDataviewObjectOrderMove(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func BlockDataviewCreateFromExistingObject(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcBlockDataviewCreateFromExistingObjectResponse{Error: &pb.RpcBlockDataviewCreateFromExistingObjectResponseError{Code: pb.RpcBlockDataviewCreateFromExistingObjectResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcBlockDataviewCreateFromExistingObjectRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcBlockDataviewCreateFromExistingObjectResponse{Error: &pb.RpcBlockDataviewCreateFromExistingObjectResponseError{Code: pb.RpcBlockDataviewCreateFromExistingObjectResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.BlockDataviewCreateFromExistingObject(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func BlockDataviewFilterAdd(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcBlockDataviewFilterAddResponse{Error: &pb.RpcBlockDataviewFilterAddResponseError{Code: pb.RpcBlockDataviewFilterAddResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcBlockDataviewFilterAddRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcBlockDataviewFilterAddResponse{Error: &pb.RpcBlockDataviewFilterAddResponseError{Code: pb.RpcBlockDataviewFilterAddResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.BlockDataviewFilterAdd(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func BlockDataviewFilterRemove(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcBlockDataviewFilterRemoveResponse{Error: &pb.RpcBlockDataviewFilterRemoveResponseError{Code: pb.RpcBlockDataviewFilterRemoveResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcBlockDataviewFilterRemoveRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcBlockDataviewFilterRemoveResponse{Error: &pb.RpcBlockDataviewFilterRemoveResponseError{Code: pb.RpcBlockDataviewFilterRemoveResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.BlockDataviewFilterRemove(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func BlockDataviewFilterReplace(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcBlockDataviewFilterReplaceResponse{Error: &pb.RpcBlockDataviewFilterReplaceResponseError{Code: pb.RpcBlockDataviewFilterReplaceResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcBlockDataviewFilterReplaceRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcBlockDataviewFilterReplaceResponse{Error: &pb.RpcBlockDataviewFilterReplaceResponseError{Code: pb.RpcBlockDataviewFilterReplaceResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.BlockDataviewFilterReplace(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func BlockDataviewFilterSort(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcBlockDataviewFilterSortResponse{Error: &pb.RpcBlockDataviewFilterSortResponseError{Code: pb.RpcBlockDataviewFilterSortResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcBlockDataviewFilterSortRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcBlockDataviewFilterSortResponse{Error: &pb.RpcBlockDataviewFilterSortResponseError{Code: pb.RpcBlockDataviewFilterSortResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.BlockDataviewFilterSort(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func BlockDataviewSortAdd(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcBlockDataviewSortAddResponse{Error: &pb.RpcBlockDataviewSortAddResponseError{Code: pb.RpcBlockDataviewSortAddResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcBlockDataviewSortAddRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcBlockDataviewSortAddResponse{Error: &pb.RpcBlockDataviewSortAddResponseError{Code: pb.RpcBlockDataviewSortAddResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.BlockDataviewSortAdd(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func BlockDataviewSortRemove(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcBlockDataviewSortRemoveResponse{Error: &pb.RpcBlockDataviewSortRemoveResponseError{Code: pb.RpcBlockDataviewSortRemoveResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcBlockDataviewSortRemoveRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcBlockDataviewSortRemoveResponse{Error: &pb.RpcBlockDataviewSortRemoveResponseError{Code: pb.RpcBlockDataviewSortRemoveResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.BlockDataviewSortRemove(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func BlockDataviewSortReplace(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcBlockDataviewSortReplaceResponse{Error: &pb.RpcBlockDataviewSortReplaceResponseError{Code: pb.RpcBlockDataviewSortReplaceResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcBlockDataviewSortReplaceRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcBlockDataviewSortReplaceResponse{Error: &pb.RpcBlockDataviewSortReplaceResponseError{Code: pb.RpcBlockDataviewSortReplaceResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.BlockDataviewSortReplace(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func BlockDataviewSortSort(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcBlockDataviewSortSortResponse{Error: &pb.RpcBlockDataviewSortSortResponseError{Code: pb.RpcBlockDataviewSortSortResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcBlockDataviewSortSortRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcBlockDataviewSortSortResponse{Error: &pb.RpcBlockDataviewSortSortResponseError{Code: pb.RpcBlockDataviewSortSortResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.BlockDataviewSortSort(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func BlockDataviewViewRelationAdd(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcBlockDataviewViewRelationAddResponse{Error: &pb.RpcBlockDataviewViewRelationAddResponseError{Code: pb.RpcBlockDataviewViewRelationAddResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcBlockDataviewViewRelationAddRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcBlockDataviewViewRelationAddResponse{Error: &pb.RpcBlockDataviewViewRelationAddResponseError{Code: pb.RpcBlockDataviewViewRelationAddResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.BlockDataviewViewRelationAdd(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func BlockDataviewViewRelationRemove(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcBlockDataviewViewRelationRemoveResponse{Error: &pb.RpcBlockDataviewViewRelationRemoveResponseError{Code: pb.RpcBlockDataviewViewRelationRemoveResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcBlockDataviewViewRelationRemoveRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcBlockDataviewViewRelationRemoveResponse{Error: &pb.RpcBlockDataviewViewRelationRemoveResponseError{Code: pb.RpcBlockDataviewViewRelationRemoveResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.BlockDataviewViewRelationRemove(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func BlockDataviewViewRelationReplace(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcBlockDataviewViewRelationReplaceResponse{Error: &pb.RpcBlockDataviewViewRelationReplaceResponseError{Code: pb.RpcBlockDataviewViewRelationReplaceResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcBlockDataviewViewRelationReplaceRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcBlockDataviewViewRelationReplaceResponse{Error: &pb.RpcBlockDataviewViewRelationReplaceResponseError{Code: pb.RpcBlockDataviewViewRelationReplaceResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.BlockDataviewViewRelationReplace(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func BlockDataviewViewRelationSort(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcBlockDataviewViewRelationSortResponse{Error: &pb.RpcBlockDataviewViewRelationSortResponseError{Code: pb.RpcBlockDataviewViewRelationSortResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcBlockDataviewViewRelationSortRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcBlockDataviewViewRelationSortResponse{Error: &pb.RpcBlockDataviewViewRelationSortResponseError{Code: pb.RpcBlockDataviewViewRelationSortResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.BlockDataviewViewRelationSort(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func BlockTableCreate(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcBlockTableCreateResponse{Error: &pb.RpcBlockTableCreateResponseError{Code: pb.RpcBlockTableCreateResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcBlockTableCreateRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcBlockTableCreateResponse{Error: &pb.RpcBlockTableCreateResponseError{Code: pb.RpcBlockTableCreateResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.BlockTableCreate(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func BlockTableExpand(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcBlockTableExpandResponse{Error: &pb.RpcBlockTableExpandResponseError{Code: pb.RpcBlockTableExpandResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcBlockTableExpandRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcBlockTableExpandResponse{Error: &pb.RpcBlockTableExpandResponseError{Code: pb.RpcBlockTableExpandResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.BlockTableExpand(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func BlockTableRowCreate(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcBlockTableRowCreateResponse{Error: &pb.RpcBlockTableRowCreateResponseError{Code: pb.RpcBlockTableRowCreateResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcBlockTableRowCreateRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcBlockTableRowCreateResponse{Error: &pb.RpcBlockTableRowCreateResponseError{Code: pb.RpcBlockTableRowCreateResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.BlockTableRowCreate(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func BlockTableRowDelete(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcBlockTableRowDeleteResponse{Error: &pb.RpcBlockTableRowDeleteResponseError{Code: pb.RpcBlockTableRowDeleteResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcBlockTableRowDeleteRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcBlockTableRowDeleteResponse{Error: &pb.RpcBlockTableRowDeleteResponseError{Code: pb.RpcBlockTableRowDeleteResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.BlockTableRowDelete(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func BlockTableRowDuplicate(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcBlockTableRowDuplicateResponse{Error: &pb.RpcBlockTableRowDuplicateResponseError{Code: pb.RpcBlockTableRowDuplicateResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcBlockTableRowDuplicateRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcBlockTableRowDuplicateResponse{Error: &pb.RpcBlockTableRowDuplicateResponseError{Code: pb.RpcBlockTableRowDuplicateResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.BlockTableRowDuplicate(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func BlockTableRowSetHeader(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcBlockTableRowSetHeaderResponse{Error: &pb.RpcBlockTableRowSetHeaderResponseError{Code: pb.RpcBlockTableRowSetHeaderResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcBlockTableRowSetHeaderRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcBlockTableRowSetHeaderResponse{Error: &pb.RpcBlockTableRowSetHeaderResponseError{Code: pb.RpcBlockTableRowSetHeaderResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.BlockTableRowSetHeader(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func BlockTableColumnCreate(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcBlockTableColumnCreateResponse{Error: &pb.RpcBlockTableColumnCreateResponseError{Code: pb.RpcBlockTableColumnCreateResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcBlockTableColumnCreateRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcBlockTableColumnCreateResponse{Error: &pb.RpcBlockTableColumnCreateResponseError{Code: pb.RpcBlockTableColumnCreateResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.BlockTableColumnCreate(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func BlockTableColumnMove(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcBlockTableColumnMoveResponse{Error: &pb.RpcBlockTableColumnMoveResponseError{Code: pb.RpcBlockTableColumnMoveResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcBlockTableColumnMoveRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcBlockTableColumnMoveResponse{Error: &pb.RpcBlockTableColumnMoveResponseError{Code: pb.RpcBlockTableColumnMoveResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.BlockTableColumnMove(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func BlockTableColumnDelete(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcBlockTableColumnDeleteResponse{Error: &pb.RpcBlockTableColumnDeleteResponseError{Code: pb.RpcBlockTableColumnDeleteResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcBlockTableColumnDeleteRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcBlockTableColumnDeleteResponse{Error: &pb.RpcBlockTableColumnDeleteResponseError{Code: pb.RpcBlockTableColumnDeleteResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.BlockTableColumnDelete(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func BlockTableColumnDuplicate(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcBlockTableColumnDuplicateResponse{Error: &pb.RpcBlockTableColumnDuplicateResponseError{Code: pb.RpcBlockTableColumnDuplicateResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcBlockTableColumnDuplicateRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcBlockTableColumnDuplicateResponse{Error: &pb.RpcBlockTableColumnDuplicateResponseError{Code: pb.RpcBlockTableColumnDuplicateResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.BlockTableColumnDuplicate(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func BlockTableRowListFill(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcBlockTableRowListFillResponse{Error: &pb.RpcBlockTableRowListFillResponseError{Code: pb.RpcBlockTableRowListFillResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcBlockTableRowListFillRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcBlockTableRowListFillResponse{Error: &pb.RpcBlockTableRowListFillResponseError{Code: pb.RpcBlockTableRowListFillResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.BlockTableRowListFill(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func BlockTableRowListClean(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcBlockTableRowListCleanResponse{Error: &pb.RpcBlockTableRowListCleanResponseError{Code: pb.RpcBlockTableRowListCleanResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcBlockTableRowListCleanRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcBlockTableRowListCleanResponse{Error: &pb.RpcBlockTableRowListCleanResponseError{Code: pb.RpcBlockTableRowListCleanResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.BlockTableRowListClean(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func BlockTableColumnListFill(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcBlockTableColumnListFillResponse{Error: &pb.RpcBlockTableColumnListFillResponseError{Code: pb.RpcBlockTableColumnListFillResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcBlockTableColumnListFillRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcBlockTableColumnListFillResponse{Error: &pb.RpcBlockTableColumnListFillResponseError{Code: pb.RpcBlockTableColumnListFillResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.BlockTableColumnListFill(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func BlockTableSort(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcBlockTableSortResponse{Error: &pb.RpcBlockTableSortResponseError{Code: pb.RpcBlockTableSortResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcBlockTableSortRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcBlockTableSortResponse{Error: &pb.RpcBlockTableSortResponseError{Code: pb.RpcBlockTableSortResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.BlockTableSort(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func BlockLinkCreateWithObject(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcBlockLinkCreateWithObjectResponse{Error: &pb.RpcBlockLinkCreateWithObjectResponseError{Code: pb.RpcBlockLinkCreateWithObjectResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcBlockLinkCreateWithObjectRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcBlockLinkCreateWithObjectResponse{Error: &pb.RpcBlockLinkCreateWithObjectResponseError{Code: pb.RpcBlockLinkCreateWithObjectResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.BlockLinkCreateWithObject(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func BlockLinkListSetAppearance(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcBlockLinkListSetAppearanceResponse{Error: &pb.RpcBlockLinkListSetAppearanceResponseError{Code: pb.RpcBlockLinkListSetAppearanceResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcBlockLinkListSetAppearanceRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcBlockLinkListSetAppearanceResponse{Error: &pb.RpcBlockLinkListSetAppearanceResponseError{Code: pb.RpcBlockLinkListSetAppearanceResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.BlockLinkListSetAppearance(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func BlockBookmarkFetch(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcBlockBookmarkFetchResponse{Error: &pb.RpcBlockBookmarkFetchResponseError{Code: pb.RpcBlockBookmarkFetchResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcBlockBookmarkFetchRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcBlockBookmarkFetchResponse{Error: &pb.RpcBlockBookmarkFetchResponseError{Code: pb.RpcBlockBookmarkFetchResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.BlockBookmarkFetch(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func BlockBookmarkCreateAndFetch(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcBlockBookmarkCreateAndFetchResponse{Error: &pb.RpcBlockBookmarkCreateAndFetchResponseError{Code: pb.RpcBlockBookmarkCreateAndFetchResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcBlockBookmarkCreateAndFetchRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcBlockBookmarkCreateAndFetchResponse{Error: &pb.RpcBlockBookmarkCreateAndFetchResponseError{Code: pb.RpcBlockBookmarkCreateAndFetchResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.BlockBookmarkCreateAndFetch(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func BlockRelationSetKey(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcBlockRelationSetKeyResponse{Error: &pb.RpcBlockRelationSetKeyResponseError{Code: pb.RpcBlockRelationSetKeyResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcBlockRelationSetKeyRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcBlockRelationSetKeyResponse{Error: &pb.RpcBlockRelationSetKeyResponseError{Code: pb.RpcBlockRelationSetKeyResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.BlockRelationSetKey(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func BlockRelationAdd(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcBlockRelationAddResponse{Error: &pb.RpcBlockRelationAddResponseError{Code: pb.RpcBlockRelationAddResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcBlockRelationAddRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcBlockRelationAddResponse{Error: &pb.RpcBlockRelationAddResponseError{Code: pb.RpcBlockRelationAddResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.BlockRelationAdd(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func BlockDivListSetStyle(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcBlockDivListSetStyleResponse{Error: &pb.RpcBlockDivListSetStyleResponseError{Code: pb.RpcBlockDivListSetStyleResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcBlockDivListSetStyleRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcBlockDivListSetStyleResponse{Error: &pb.RpcBlockDivListSetStyleResponseError{Code: pb.RpcBlockDivListSetStyleResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.BlockDivListSetStyle(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func BlockLatexSetText(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcBlockLatexSetTextResponse{Error: &pb.RpcBlockLatexSetTextResponseError{Code: pb.RpcBlockLatexSetTextResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcBlockLatexSetTextRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcBlockLatexSetTextResponse{Error: &pb.RpcBlockLatexSetTextResponseError{Code: pb.RpcBlockLatexSetTextResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.BlockLatexSetText(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func BlockCreateWidget(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcBlockCreateWidgetResponse{Error: &pb.RpcBlockCreateWidgetResponseError{Code: pb.RpcBlockCreateWidgetResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcBlockCreateWidgetRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcBlockCreateWidgetResponse{Error: &pb.RpcBlockCreateWidgetResponseError{Code: pb.RpcBlockCreateWidgetResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.BlockCreateWidget(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func ProcessCancel(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcProcessCancelResponse{Error: &pb.RpcProcessCancelResponseError{Code: pb.RpcProcessCancelResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcProcessCancelRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcProcessCancelResponse{Error: &pb.RpcProcessCancelResponseError{Code: pb.RpcProcessCancelResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.ProcessCancel(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func LogSend(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcLogSendResponse{Error: &pb.RpcLogSendResponseError{Code: pb.RpcLogSendResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcLogSendRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcLogSendResponse{Error: &pb.RpcLogSendResponseError{Code: pb.RpcLogSendResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.LogSend(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func DebugTree(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcDebugTreeResponse{Error: &pb.RpcDebugTreeResponseError{Code: pb.RpcDebugTreeResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcDebugTreeRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcDebugTreeResponse{Error: &pb.RpcDebugTreeResponseError{Code: pb.RpcDebugTreeResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.DebugTree(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func DebugTreeHeads(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcDebugTreeHeadsResponse{Error: &pb.RpcDebugTreeHeadsResponseError{Code: pb.RpcDebugTreeHeadsResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcDebugTreeHeadsRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcDebugTreeHeadsResponse{Error: &pb.RpcDebugTreeHeadsResponseError{Code: pb.RpcDebugTreeHeadsResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.DebugTreeHeads(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func DebugSpaceSummary(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcDebugSpaceSummaryResponse{Error: &pb.RpcDebugSpaceSummaryResponseError{Code: pb.RpcDebugSpaceSummaryResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcDebugSpaceSummaryRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcDebugSpaceSummaryResponse{Error: &pb.RpcDebugSpaceSummaryResponseError{Code: pb.RpcDebugSpaceSummaryResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.DebugSpaceSummary(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func DebugExportLocalstore(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcDebugExportLocalstoreResponse{Error: &pb.RpcDebugExportLocalstoreResponseError{Code: pb.RpcDebugExportLocalstoreResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcDebugExportLocalstoreRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcDebugExportLocalstoreResponse{Error: &pb.RpcDebugExportLocalstoreResponseError{Code: pb.RpcDebugExportLocalstoreResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.DebugExportLocalstore(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func DebugPing(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcDebugPingResponse{Error: &pb.RpcDebugPingResponseError{Code: pb.RpcDebugPingResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcDebugPingRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcDebugPingResponse{Error: &pb.RpcDebugPingResponseError{Code: pb.RpcDebugPingResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.DebugPing(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
func MetricsSetParameters(b []byte) (resp []byte) {
|
|
defer func() {
|
|
if PanicHandler != nil {
|
|
if r := recover(); r != nil {
|
|
resp, _ = (&pb.RpcMetricsSetParametersResponse{Error: &pb.RpcMetricsSetParametersResponseError{Code: pb.RpcMetricsSetParametersResponseError_UNKNOWN_ERROR, Description: "panic recovered"}}).Marshal()
|
|
PanicHandler(r)
|
|
}
|
|
}
|
|
}()
|
|
|
|
in := new(pb.RpcMetricsSetParametersRequest)
|
|
if err := in.Unmarshal(b); err != nil {
|
|
resp, _ = (&pb.RpcMetricsSetParametersResponse{Error: &pb.RpcMetricsSetParametersResponseError{Code: pb.RpcMetricsSetParametersResponseError_BAD_INPUT, Description: err.Error()}}).Marshal()
|
|
return resp
|
|
}
|
|
|
|
resp, _ = clientCommandsHandler.MetricsSetParameters(context.Background(), in).Marshal()
|
|
return resp
|
|
}
|
|
|
|
var PanicHandler func(v interface{})
|
|
|
|
func CommandAsync(cmd string, data []byte, callback func(data []byte)) {
|
|
go func() {
|
|
var cd []byte
|
|
switch cmd {
|
|
case "AppGetVersion":
|
|
cd = AppGetVersion(data)
|
|
case "AppSetDeviceState":
|
|
cd = AppSetDeviceState(data)
|
|
case "AppShutdown":
|
|
cd = AppShutdown(data)
|
|
case "WalletCreate":
|
|
cd = WalletCreate(data)
|
|
case "WalletRecover":
|
|
cd = WalletRecover(data)
|
|
case "WalletConvert":
|
|
cd = WalletConvert(data)
|
|
case "WalletCreateSession":
|
|
cd = WalletCreateSession(data)
|
|
case "WalletCloseSession":
|
|
cd = WalletCloseSession(data)
|
|
case "WorkspaceCreate":
|
|
cd = WorkspaceCreate(data)
|
|
case "WorkspaceObjectAdd":
|
|
cd = WorkspaceObjectAdd(data)
|
|
case "WorkspaceObjectListAdd":
|
|
cd = WorkspaceObjectListAdd(data)
|
|
case "WorkspaceObjectListRemove":
|
|
cd = WorkspaceObjectListRemove(data)
|
|
case "WorkspaceSelect":
|
|
cd = WorkspaceSelect(data)
|
|
case "WorkspaceGetCurrent":
|
|
cd = WorkspaceGetCurrent(data)
|
|
case "WorkspaceGetAll":
|
|
cd = WorkspaceGetAll(data)
|
|
case "WorkspaceSetIsHighlighted":
|
|
cd = WorkspaceSetIsHighlighted(data)
|
|
case "WorkspaceExport":
|
|
cd = WorkspaceExport(data)
|
|
case "AccountRecover":
|
|
cd = AccountRecover(data)
|
|
case "AccountCreate":
|
|
cd = AccountCreate(data)
|
|
case "AccountDelete":
|
|
cd = AccountDelete(data)
|
|
case "AccountSelect":
|
|
cd = AccountSelect(data)
|
|
case "AccountStop":
|
|
cd = AccountStop(data)
|
|
case "AccountMove":
|
|
cd = AccountMove(data)
|
|
case "AccountConfigUpdate":
|
|
cd = AccountConfigUpdate(data)
|
|
case "AccountRecoverFromLegacyExport":
|
|
cd = AccountRecoverFromLegacyExport(data)
|
|
case "ObjectOpen":
|
|
cd = ObjectOpen(data)
|
|
case "ObjectClose":
|
|
cd = ObjectClose(data)
|
|
case "ObjectShow":
|
|
cd = ObjectShow(data)
|
|
case "ObjectCreate":
|
|
cd = ObjectCreate(data)
|
|
case "ObjectCreateBookmark":
|
|
cd = ObjectCreateBookmark(data)
|
|
case "ObjectCreateSet":
|
|
cd = ObjectCreateSet(data)
|
|
case "ObjectGraph":
|
|
cd = ObjectGraph(data)
|
|
case "ObjectSearch":
|
|
cd = ObjectSearch(data)
|
|
case "ObjectSearchSubscribe":
|
|
cd = ObjectSearchSubscribe(data)
|
|
case "ObjectSubscribeIds":
|
|
cd = ObjectSubscribeIds(data)
|
|
case "ObjectGroupsSubscribe":
|
|
cd = ObjectGroupsSubscribe(data)
|
|
case "ObjectSearchUnsubscribe":
|
|
cd = ObjectSearchUnsubscribe(data)
|
|
case "ObjectSetDetails":
|
|
cd = ObjectSetDetails(data)
|
|
case "ObjectDuplicate":
|
|
cd = ObjectDuplicate(data)
|
|
case "ObjectSetObjectType":
|
|
cd = ObjectSetObjectType(data)
|
|
case "ObjectSetLayout":
|
|
cd = ObjectSetLayout(data)
|
|
case "ObjectSetInternalFlags":
|
|
cd = ObjectSetInternalFlags(data)
|
|
case "ObjectSetIsFavorite":
|
|
cd = ObjectSetIsFavorite(data)
|
|
case "ObjectSetIsArchived":
|
|
cd = ObjectSetIsArchived(data)
|
|
case "ObjectSetSource":
|
|
cd = ObjectSetSource(data)
|
|
case "ObjectWorkspaceSetDashboard":
|
|
cd = ObjectWorkspaceSetDashboard(data)
|
|
case "ObjectListDuplicate":
|
|
cd = ObjectListDuplicate(data)
|
|
case "ObjectListDelete":
|
|
cd = ObjectListDelete(data)
|
|
case "ObjectListSetIsArchived":
|
|
cd = ObjectListSetIsArchived(data)
|
|
case "ObjectListSetIsFavorite":
|
|
cd = ObjectListSetIsFavorite(data)
|
|
case "ObjectApplyTemplate":
|
|
cd = ObjectApplyTemplate(data)
|
|
case "ObjectToSet":
|
|
cd = ObjectToSet(data)
|
|
case "ObjectToCollection":
|
|
cd = ObjectToCollection(data)
|
|
case "ObjectShareByLink":
|
|
cd = ObjectShareByLink(data)
|
|
case "ObjectUndo":
|
|
cd = ObjectUndo(data)
|
|
case "ObjectRedo":
|
|
cd = ObjectRedo(data)
|
|
case "ObjectListExport":
|
|
cd = ObjectListExport(data)
|
|
case "ObjectBookmarkFetch":
|
|
cd = ObjectBookmarkFetch(data)
|
|
case "ObjectToBookmark":
|
|
cd = ObjectToBookmark(data)
|
|
case "ObjectImport":
|
|
cd = ObjectImport(data)
|
|
case "ObjectImportList":
|
|
cd = ObjectImportList(data)
|
|
case "ObjectImportNotionValidateToken":
|
|
cd = ObjectImportNotionValidateToken(data)
|
|
case "ObjectCollectionAdd":
|
|
cd = ObjectCollectionAdd(data)
|
|
case "ObjectCollectionRemove":
|
|
cd = ObjectCollectionRemove(data)
|
|
case "ObjectCollectionSort":
|
|
cd = ObjectCollectionSort(data)
|
|
case "ObjectCreateRelation":
|
|
cd = ObjectCreateRelation(data)
|
|
case "ObjectCreateRelationOption":
|
|
cd = ObjectCreateRelationOption(data)
|
|
case "RelationListRemoveOption":
|
|
cd = RelationListRemoveOption(data)
|
|
case "RelationOptions":
|
|
cd = RelationOptions(data)
|
|
case "ObjectRelationAdd":
|
|
cd = ObjectRelationAdd(data)
|
|
case "ObjectRelationDelete":
|
|
cd = ObjectRelationDelete(data)
|
|
case "ObjectRelationAddFeatured":
|
|
cd = ObjectRelationAddFeatured(data)
|
|
case "ObjectRelationRemoveFeatured":
|
|
cd = ObjectRelationRemoveFeatured(data)
|
|
case "ObjectRelationListAvailable":
|
|
cd = ObjectRelationListAvailable(data)
|
|
case "ObjectCreateObjectType":
|
|
cd = ObjectCreateObjectType(data)
|
|
case "ObjectTypeRelationList":
|
|
cd = ObjectTypeRelationList(data)
|
|
case "ObjectTypeRelationAdd":
|
|
cd = ObjectTypeRelationAdd(data)
|
|
case "ObjectTypeRelationRemove":
|
|
cd = ObjectTypeRelationRemove(data)
|
|
case "HistoryShowVersion":
|
|
cd = HistoryShowVersion(data)
|
|
case "HistoryGetVersions":
|
|
cd = HistoryGetVersions(data)
|
|
case "HistorySetVersion":
|
|
cd = HistorySetVersion(data)
|
|
case "FileOffload":
|
|
cd = FileOffload(data)
|
|
case "FileListOffload":
|
|
cd = FileListOffload(data)
|
|
case "FileUpload":
|
|
cd = FileUpload(data)
|
|
case "FileDownload":
|
|
cd = FileDownload(data)
|
|
case "FileDrop":
|
|
cd = FileDrop(data)
|
|
case "FileSpaceUsage":
|
|
cd = FileSpaceUsage(data)
|
|
case "NavigationListObjects":
|
|
cd = NavigationListObjects(data)
|
|
case "NavigationGetObjectInfoWithLinks":
|
|
cd = NavigationGetObjectInfoWithLinks(data)
|
|
case "TemplateCreateFromObject":
|
|
cd = TemplateCreateFromObject(data)
|
|
case "TemplateCreateFromObjectType":
|
|
cd = TemplateCreateFromObjectType(data)
|
|
case "TemplateClone":
|
|
cd = TemplateClone(data)
|
|
case "TemplateExportAll":
|
|
cd = TemplateExportAll(data)
|
|
case "LinkPreview":
|
|
cd = LinkPreview(data)
|
|
case "UnsplashSearch":
|
|
cd = UnsplashSearch(data)
|
|
case "UnsplashDownload":
|
|
cd = UnsplashDownload(data)
|
|
case "BlockUpload":
|
|
cd = BlockUpload(data)
|
|
case "BlockReplace":
|
|
cd = BlockReplace(data)
|
|
case "BlockCreate":
|
|
cd = BlockCreate(data)
|
|
case "BlockSplit":
|
|
cd = BlockSplit(data)
|
|
case "BlockMerge":
|
|
cd = BlockMerge(data)
|
|
case "BlockCopy":
|
|
cd = BlockCopy(data)
|
|
case "BlockPaste":
|
|
cd = BlockPaste(data)
|
|
case "BlockCut":
|
|
cd = BlockCut(data)
|
|
case "BlockSetFields":
|
|
cd = BlockSetFields(data)
|
|
case "BlockExport":
|
|
cd = BlockExport(data)
|
|
case "BlockListDelete":
|
|
cd = BlockListDelete(data)
|
|
case "BlockListMoveToExistingObject":
|
|
cd = BlockListMoveToExistingObject(data)
|
|
case "BlockListMoveToNewObject":
|
|
cd = BlockListMoveToNewObject(data)
|
|
case "BlockListConvertToObjects":
|
|
cd = BlockListConvertToObjects(data)
|
|
case "BlockListSetFields":
|
|
cd = BlockListSetFields(data)
|
|
case "BlockListDuplicate":
|
|
cd = BlockListDuplicate(data)
|
|
case "BlockListSetBackgroundColor":
|
|
cd = BlockListSetBackgroundColor(data)
|
|
case "BlockListSetAlign":
|
|
cd = BlockListSetAlign(data)
|
|
case "BlockListSetVerticalAlign":
|
|
cd = BlockListSetVerticalAlign(data)
|
|
case "BlockListTurnInto":
|
|
cd = BlockListTurnInto(data)
|
|
case "BlockTextSetText":
|
|
cd = BlockTextSetText(data)
|
|
case "BlockTextSetColor":
|
|
cd = BlockTextSetColor(data)
|
|
case "BlockTextSetStyle":
|
|
cd = BlockTextSetStyle(data)
|
|
case "BlockTextSetChecked":
|
|
cd = BlockTextSetChecked(data)
|
|
case "BlockTextSetIcon":
|
|
cd = BlockTextSetIcon(data)
|
|
case "BlockTextListSetColor":
|
|
cd = BlockTextListSetColor(data)
|
|
case "BlockTextListSetMark":
|
|
cd = BlockTextListSetMark(data)
|
|
case "BlockTextListSetStyle":
|
|
cd = BlockTextListSetStyle(data)
|
|
case "BlockTextListClearStyle":
|
|
cd = BlockTextListClearStyle(data)
|
|
case "BlockTextListClearContent":
|
|
cd = BlockTextListClearContent(data)
|
|
case "BlockFileSetName":
|
|
cd = BlockFileSetName(data)
|
|
case "BlockImageSetName":
|
|
cd = BlockImageSetName(data)
|
|
case "BlockVideoSetName":
|
|
cd = BlockVideoSetName(data)
|
|
case "BlockFileCreateAndUpload":
|
|
cd = BlockFileCreateAndUpload(data)
|
|
case "BlockFileListSetStyle":
|
|
cd = BlockFileListSetStyle(data)
|
|
case "BlockDataviewViewCreate":
|
|
cd = BlockDataviewViewCreate(data)
|
|
case "BlockDataviewViewDelete":
|
|
cd = BlockDataviewViewDelete(data)
|
|
case "BlockDataviewViewUpdate":
|
|
cd = BlockDataviewViewUpdate(data)
|
|
case "BlockDataviewViewSetActive":
|
|
cd = BlockDataviewViewSetActive(data)
|
|
case "BlockDataviewViewSetPosition":
|
|
cd = BlockDataviewViewSetPosition(data)
|
|
case "BlockDataviewSetSource":
|
|
cd = BlockDataviewSetSource(data)
|
|
case "BlockDataviewRelationAdd":
|
|
cd = BlockDataviewRelationAdd(data)
|
|
case "BlockDataviewRelationDelete":
|
|
cd = BlockDataviewRelationDelete(data)
|
|
case "BlockDataviewRelationListAvailable":
|
|
cd = BlockDataviewRelationListAvailable(data)
|
|
case "BlockDataviewGroupOrderUpdate":
|
|
cd = BlockDataviewGroupOrderUpdate(data)
|
|
case "BlockDataviewObjectOrderUpdate":
|
|
cd = BlockDataviewObjectOrderUpdate(data)
|
|
case "BlockDataviewObjectOrderMove":
|
|
cd = BlockDataviewObjectOrderMove(data)
|
|
case "BlockDataviewCreateFromExistingObject":
|
|
cd = BlockDataviewCreateFromExistingObject(data)
|
|
case "BlockDataviewFilterAdd":
|
|
cd = BlockDataviewFilterAdd(data)
|
|
case "BlockDataviewFilterRemove":
|
|
cd = BlockDataviewFilterRemove(data)
|
|
case "BlockDataviewFilterReplace":
|
|
cd = BlockDataviewFilterReplace(data)
|
|
case "BlockDataviewFilterSort":
|
|
cd = BlockDataviewFilterSort(data)
|
|
case "BlockDataviewSortAdd":
|
|
cd = BlockDataviewSortAdd(data)
|
|
case "BlockDataviewSortRemove":
|
|
cd = BlockDataviewSortRemove(data)
|
|
case "BlockDataviewSortReplace":
|
|
cd = BlockDataviewSortReplace(data)
|
|
case "BlockDataviewSortSort":
|
|
cd = BlockDataviewSortSort(data)
|
|
case "BlockDataviewViewRelationAdd":
|
|
cd = BlockDataviewViewRelationAdd(data)
|
|
case "BlockDataviewViewRelationRemove":
|
|
cd = BlockDataviewViewRelationRemove(data)
|
|
case "BlockDataviewViewRelationReplace":
|
|
cd = BlockDataviewViewRelationReplace(data)
|
|
case "BlockDataviewViewRelationSort":
|
|
cd = BlockDataviewViewRelationSort(data)
|
|
case "BlockTableCreate":
|
|
cd = BlockTableCreate(data)
|
|
case "BlockTableExpand":
|
|
cd = BlockTableExpand(data)
|
|
case "BlockTableRowCreate":
|
|
cd = BlockTableRowCreate(data)
|
|
case "BlockTableRowDelete":
|
|
cd = BlockTableRowDelete(data)
|
|
case "BlockTableRowDuplicate":
|
|
cd = BlockTableRowDuplicate(data)
|
|
case "BlockTableRowSetHeader":
|
|
cd = BlockTableRowSetHeader(data)
|
|
case "BlockTableColumnCreate":
|
|
cd = BlockTableColumnCreate(data)
|
|
case "BlockTableColumnMove":
|
|
cd = BlockTableColumnMove(data)
|
|
case "BlockTableColumnDelete":
|
|
cd = BlockTableColumnDelete(data)
|
|
case "BlockTableColumnDuplicate":
|
|
cd = BlockTableColumnDuplicate(data)
|
|
case "BlockTableRowListFill":
|
|
cd = BlockTableRowListFill(data)
|
|
case "BlockTableRowListClean":
|
|
cd = BlockTableRowListClean(data)
|
|
case "BlockTableColumnListFill":
|
|
cd = BlockTableColumnListFill(data)
|
|
case "BlockTableSort":
|
|
cd = BlockTableSort(data)
|
|
case "BlockLinkCreateWithObject":
|
|
cd = BlockLinkCreateWithObject(data)
|
|
case "BlockLinkListSetAppearance":
|
|
cd = BlockLinkListSetAppearance(data)
|
|
case "BlockBookmarkFetch":
|
|
cd = BlockBookmarkFetch(data)
|
|
case "BlockBookmarkCreateAndFetch":
|
|
cd = BlockBookmarkCreateAndFetch(data)
|
|
case "BlockRelationSetKey":
|
|
cd = BlockRelationSetKey(data)
|
|
case "BlockRelationAdd":
|
|
cd = BlockRelationAdd(data)
|
|
case "BlockDivListSetStyle":
|
|
cd = BlockDivListSetStyle(data)
|
|
case "BlockLatexSetText":
|
|
cd = BlockLatexSetText(data)
|
|
case "BlockCreateWidget":
|
|
cd = BlockCreateWidget(data)
|
|
case "ProcessCancel":
|
|
cd = ProcessCancel(data)
|
|
case "LogSend":
|
|
cd = LogSend(data)
|
|
case "DebugTree":
|
|
cd = DebugTree(data)
|
|
case "DebugTreeHeads":
|
|
cd = DebugTreeHeads(data)
|
|
case "DebugSpaceSummary":
|
|
cd = DebugSpaceSummary(data)
|
|
case "DebugExportLocalstore":
|
|
cd = DebugExportLocalstore(data)
|
|
case "DebugPing":
|
|
cd = DebugPing(data)
|
|
case "MetricsSetParameters":
|
|
cd = MetricsSetParameters(data)
|
|
default:
|
|
log.Errorf("unknown command type: %s\n", cmd)
|
|
}
|
|
if callback != nil {
|
|
callback(cd)
|
|
}
|
|
}()
|
|
}
|
|
|
|
type MessageHandler interface {
|
|
Handle(b []byte)
|
|
}
|
|
|
|
func CommandMobile(cmd string, data []byte, callback MessageHandler) {
|
|
CommandAsync(cmd, data, callback.Handle)
|
|
}
|