Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@fleekhq/space-client

Package Overview
Dependencies
Maintainers
6
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fleekhq/space-client - npm Package Compare versions

Comparing version 1.1.8 to 1.1.9

265

dist/definitions/SpaceServiceClientPb.d.ts

@@ -8,3 +8,3 @@ /**

import * as google_protobuf_empty_pb from 'google-protobuf/google/protobuf/empty_pb';
import * as space_pb from './space_pb';
import { AddItemsRequest, AddItemsResponse, BackupKeysByPassphraseRequest, BackupKeysByPassphraseResponse, BucketBackupRestoreRequest, BucketBackupRestoreResponse, CreateBucketRequest, CreateBucketResponse, CreateFolderRequest, CreateFolderResponse, CreateLocalKeysBackupRequest, CreateLocalKeysBackupResponse, DeleteAccountRequest, DeleteAccountResponse, DeleteKeyPairRequest, DeleteKeyPairResponse, FileEventResponse, FuseDriveResponse, GenerateAppTokenRequest, GenerateAppTokenResponse, GenerateKeyPairRequest, GenerateKeyPairResponse, GeneratePublicFileLinkRequest, GeneratePublicFileLinkResponse, GetAPISessionTokensRequest, GetAPISessionTokensResponse, GetNotificationsRequest, GetNotificationsResponse, GetPublicKeyRequest, GetPublicKeyResponse, GetRecentlySharedWithRequest, GetRecentlySharedWithResponse, GetSharedByMeFilesRequest, GetSharedByMeFilesResponse, GetSharedWithMeFilesRequest, GetSharedWithMeFilesResponse, GetStoredMnemonicRequest, GetStoredMnemonicResponse, GetUsageInfoRequest, GetUsageInfoResponse, HandleFilesInvitationRequest, HandleFilesInvitationResponse, InitializeMasterAppTokenRequest, InitializeMasterAppTokenResponse, JoinBucketRequest, JoinBucketResponse, ListBucketsRequest, ListBucketsResponse, ListDirectoriesRequest, ListDirectoriesResponse, ListDirectoryRequest, ListDirectoryResponse, NotificationEventResponse, OpenFileRequest, OpenFileResponse, OpenPublicFileRequest, OpenPublicFileResponse, ReadNotificationRequest, ReadNotificationResponse, RecoverKeysByLocalBackupRequest, RecoverKeysByLocalBackupResponse, RecoverKeysByPassphraseRequest, RecoverKeysByPassphraseResponse, RemoveDirOrFileRequest, RemoveDirOrFileResponse, RestoreKeyPairViaMnemonicRequest, RestoreKeyPairViaMnemonicResponse, SearchFilesRequest, SearchFilesResponse, SetNotificationsLastSeenAtRequest, SetNotificationsLastSeenAtResponse, ShareBucketRequest, ShareBucketResponse, ShareFilesViaPublicKeyRequest, ShareFilesViaPublicKeyResponse, TestKeysPassphraseRequest, TestKeysPassphraseResponse, TextileEventResponse, ToggleBucketBackupRequest, ToggleBucketBackupResponse, ToggleFuseRequest, UnshareFilesViaPublicKeyRequest, UnshareFilesViaPublicKeyResponse } from './space_pb';
export declare class SpaceApiClient {

@@ -17,3 +17,3 @@ client_: grpcWeb.AbstractClientBase;

options_: null | {
[index: string]: any;
[index: string]: string;
};

@@ -23,132 +23,135 @@ constructor(hostname: string, credentials?: null | {

}, options?: null | {
[index: string]: any;
[index: string]: string;
});
methodInfoListDirectories: grpcWeb.AbstractClientBase.MethodInfo<space_pb.ListDirectoriesRequest, space_pb.ListDirectoriesResponse>;
listDirectories(request: space_pb.ListDirectoriesRequest, metadata: grpcWeb.Metadata | null): Promise<space_pb.ListDirectoriesResponse>;
listDirectories(request: space_pb.ListDirectoriesRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.Error, response: space_pb.ListDirectoriesResponse) => void): grpcWeb.ClientReadableStream<space_pb.ListDirectoriesResponse>;
methodInfoListDirectory: grpcWeb.AbstractClientBase.MethodInfo<space_pb.ListDirectoryRequest, space_pb.ListDirectoryResponse>;
listDirectory(request: space_pb.ListDirectoryRequest, metadata: grpcWeb.Metadata | null): Promise<space_pb.ListDirectoryResponse>;
listDirectory(request: space_pb.ListDirectoryRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.Error, response: space_pb.ListDirectoryResponse) => void): grpcWeb.ClientReadableStream<space_pb.ListDirectoryResponse>;
methodInfoGenerateKeyPair: grpcWeb.AbstractClientBase.MethodInfo<space_pb.GenerateKeyPairRequest, space_pb.GenerateKeyPairResponse>;
generateKeyPair(request: space_pb.GenerateKeyPairRequest, metadata: grpcWeb.Metadata | null): Promise<space_pb.GenerateKeyPairResponse>;
generateKeyPair(request: space_pb.GenerateKeyPairRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.Error, response: space_pb.GenerateKeyPairResponse) => void): grpcWeb.ClientReadableStream<space_pb.GenerateKeyPairResponse>;
methodInfoGetStoredMnemonic: grpcWeb.AbstractClientBase.MethodInfo<space_pb.GetStoredMnemonicRequest, space_pb.GetStoredMnemonicResponse>;
getStoredMnemonic(request: space_pb.GetStoredMnemonicRequest, metadata: grpcWeb.Metadata | null): Promise<space_pb.GetStoredMnemonicResponse>;
getStoredMnemonic(request: space_pb.GetStoredMnemonicRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.Error, response: space_pb.GetStoredMnemonicResponse) => void): grpcWeb.ClientReadableStream<space_pb.GetStoredMnemonicResponse>;
methodInfoRestoreKeyPairViaMnemonic: grpcWeb.AbstractClientBase.MethodInfo<space_pb.RestoreKeyPairViaMnemonicRequest, space_pb.RestoreKeyPairViaMnemonicResponse>;
restoreKeyPairViaMnemonic(request: space_pb.RestoreKeyPairViaMnemonicRequest, metadata: grpcWeb.Metadata | null): Promise<space_pb.RestoreKeyPairViaMnemonicResponse>;
restoreKeyPairViaMnemonic(request: space_pb.RestoreKeyPairViaMnemonicRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.Error, response: space_pb.RestoreKeyPairViaMnemonicResponse) => void): grpcWeb.ClientReadableStream<space_pb.RestoreKeyPairViaMnemonicResponse>;
methodInfoDeleteKeyPair: grpcWeb.AbstractClientBase.MethodInfo<space_pb.DeleteKeyPairRequest, space_pb.DeleteKeyPairResponse>;
deleteKeyPair(request: space_pb.DeleteKeyPairRequest, metadata: grpcWeb.Metadata | null): Promise<space_pb.DeleteKeyPairResponse>;
deleteKeyPair(request: space_pb.DeleteKeyPairRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.Error, response: space_pb.DeleteKeyPairResponse) => void): grpcWeb.ClientReadableStream<space_pb.DeleteKeyPairResponse>;
methodInfoGenerateKeyPairWithForce: grpcWeb.AbstractClientBase.MethodInfo<space_pb.GenerateKeyPairRequest, space_pb.GenerateKeyPairResponse>;
generateKeyPairWithForce(request: space_pb.GenerateKeyPairRequest, metadata: grpcWeb.Metadata | null): Promise<space_pb.GenerateKeyPairResponse>;
generateKeyPairWithForce(request: space_pb.GenerateKeyPairRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.Error, response: space_pb.GenerateKeyPairResponse) => void): grpcWeb.ClientReadableStream<space_pb.GenerateKeyPairResponse>;
methodInfoGetPublicKey: grpcWeb.AbstractClientBase.MethodInfo<space_pb.GetPublicKeyRequest, space_pb.GetPublicKeyResponse>;
getPublicKey(request: space_pb.GetPublicKeyRequest, metadata: grpcWeb.Metadata | null): Promise<space_pb.GetPublicKeyResponse>;
getPublicKey(request: space_pb.GetPublicKeyRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.Error, response: space_pb.GetPublicKeyResponse) => void): grpcWeb.ClientReadableStream<space_pb.GetPublicKeyResponse>;
methodInfoSubscribe: grpcWeb.AbstractClientBase.MethodInfo<google_protobuf_empty_pb.Empty, space_pb.FileEventResponse>;
subscribe(request: google_protobuf_empty_pb.Empty, metadata?: grpcWeb.Metadata): grpcWeb.ClientReadableStream<space_pb.FileEventResponse>;
methodInfoTxlSubscribe: grpcWeb.AbstractClientBase.MethodInfo<google_protobuf_empty_pb.Empty, space_pb.TextileEventResponse>;
txlSubscribe(request: google_protobuf_empty_pb.Empty, metadata?: grpcWeb.Metadata): grpcWeb.ClientReadableStream<space_pb.TextileEventResponse>;
methodInfoOpenFile: grpcWeb.AbstractClientBase.MethodInfo<space_pb.OpenFileRequest, space_pb.OpenFileResponse>;
openFile(request: space_pb.OpenFileRequest, metadata: grpcWeb.Metadata | null): Promise<space_pb.OpenFileResponse>;
openFile(request: space_pb.OpenFileRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.Error, response: space_pb.OpenFileResponse) => void): grpcWeb.ClientReadableStream<space_pb.OpenFileResponse>;
methodInfoRemoveDirOrFile: grpcWeb.AbstractClientBase.MethodInfo<space_pb.RemoveDirOrFileRequest, space_pb.RemoveDirOrFileResponse>;
removeDirOrFile(request: space_pb.RemoveDirOrFileRequest, metadata: grpcWeb.Metadata | null): Promise<space_pb.RemoveDirOrFileResponse>;
removeDirOrFile(request: space_pb.RemoveDirOrFileRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.Error, response: space_pb.RemoveDirOrFileResponse) => void): grpcWeb.ClientReadableStream<space_pb.RemoveDirOrFileResponse>;
methodInfoGeneratePublicFileLink: grpcWeb.AbstractClientBase.MethodInfo<space_pb.GeneratePublicFileLinkRequest, space_pb.GeneratePublicFileLinkResponse>;
generatePublicFileLink(request: space_pb.GeneratePublicFileLinkRequest, metadata: grpcWeb.Metadata | null): Promise<space_pb.GeneratePublicFileLinkResponse>;
generatePublicFileLink(request: space_pb.GeneratePublicFileLinkRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.Error, response: space_pb.GeneratePublicFileLinkResponse) => void): grpcWeb.ClientReadableStream<space_pb.GeneratePublicFileLinkResponse>;
methodInfoGetSharedWithMeFiles: grpcWeb.AbstractClientBase.MethodInfo<space_pb.GetSharedWithMeFilesRequest, space_pb.GetSharedWithMeFilesResponse>;
getSharedWithMeFiles(request: space_pb.GetSharedWithMeFilesRequest, metadata: grpcWeb.Metadata | null): Promise<space_pb.GetSharedWithMeFilesResponse>;
getSharedWithMeFiles(request: space_pb.GetSharedWithMeFilesRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.Error, response: space_pb.GetSharedWithMeFilesResponse) => void): grpcWeb.ClientReadableStream<space_pb.GetSharedWithMeFilesResponse>;
methodInfoGetSharedByMeFiles: grpcWeb.AbstractClientBase.MethodInfo<space_pb.GetSharedByMeFilesRequest, space_pb.GetSharedByMeFilesResponse>;
getSharedByMeFiles(request: space_pb.GetSharedByMeFilesRequest, metadata: grpcWeb.Metadata | null): Promise<space_pb.GetSharedByMeFilesResponse>;
getSharedByMeFiles(request: space_pb.GetSharedByMeFilesRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.Error, response: space_pb.GetSharedByMeFilesResponse) => void): grpcWeb.ClientReadableStream<space_pb.GetSharedByMeFilesResponse>;
methodInfoOpenPublicFile: grpcWeb.AbstractClientBase.MethodInfo<space_pb.OpenPublicFileRequest, space_pb.OpenPublicFileResponse>;
openPublicFile(request: space_pb.OpenPublicFileRequest, metadata: grpcWeb.Metadata | null): Promise<space_pb.OpenPublicFileResponse>;
openPublicFile(request: space_pb.OpenPublicFileRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.Error, response: space_pb.OpenPublicFileResponse) => void): grpcWeb.ClientReadableStream<space_pb.OpenPublicFileResponse>;
methodInfoAddItems: grpcWeb.AbstractClientBase.MethodInfo<space_pb.AddItemsRequest, space_pb.AddItemsResponse>;
addItems(request: space_pb.AddItemsRequest, metadata?: grpcWeb.Metadata): grpcWeb.ClientReadableStream<space_pb.AddItemsResponse>;
methodInfoCreateFolder: grpcWeb.AbstractClientBase.MethodInfo<space_pb.CreateFolderRequest, space_pb.CreateFolderResponse>;
createFolder(request: space_pb.CreateFolderRequest, metadata: grpcWeb.Metadata | null): Promise<space_pb.CreateFolderResponse>;
createFolder(request: space_pb.CreateFolderRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.Error, response: space_pb.CreateFolderResponse) => void): grpcWeb.ClientReadableStream<space_pb.CreateFolderResponse>;
methodInfoToggleFuseDrive: grpcWeb.AbstractClientBase.MethodInfo<space_pb.ToggleFuseRequest, space_pb.FuseDriveResponse>;
toggleFuseDrive(request: space_pb.ToggleFuseRequest, metadata: grpcWeb.Metadata | null): Promise<space_pb.FuseDriveResponse>;
toggleFuseDrive(request: space_pb.ToggleFuseRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.Error, response: space_pb.FuseDriveResponse) => void): grpcWeb.ClientReadableStream<space_pb.FuseDriveResponse>;
methodInfoGetFuseDriveStatus: grpcWeb.AbstractClientBase.MethodInfo<google_protobuf_empty_pb.Empty, space_pb.FuseDriveResponse>;
getFuseDriveStatus(request: google_protobuf_empty_pb.Empty, metadata: grpcWeb.Metadata | null): Promise<space_pb.FuseDriveResponse>;
getFuseDriveStatus(request: google_protobuf_empty_pb.Empty, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.Error, response: space_pb.FuseDriveResponse) => void): grpcWeb.ClientReadableStream<space_pb.FuseDriveResponse>;
methodInfoCreateBucket: grpcWeb.AbstractClientBase.MethodInfo<space_pb.CreateBucketRequest, space_pb.CreateBucketResponse>;
createBucket(request: space_pb.CreateBucketRequest, metadata: grpcWeb.Metadata | null): Promise<space_pb.CreateBucketResponse>;
createBucket(request: space_pb.CreateBucketRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.Error, response: space_pb.CreateBucketResponse) => void): grpcWeb.ClientReadableStream<space_pb.CreateBucketResponse>;
methodInfoBackupKeysByPassphrase: grpcWeb.AbstractClientBase.MethodInfo<space_pb.BackupKeysByPassphraseRequest, space_pb.BackupKeysByPassphraseResponse>;
backupKeysByPassphrase(request: space_pb.BackupKeysByPassphraseRequest, metadata: grpcWeb.Metadata | null): Promise<space_pb.BackupKeysByPassphraseResponse>;
backupKeysByPassphrase(request: space_pb.BackupKeysByPassphraseRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.Error, response: space_pb.BackupKeysByPassphraseResponse) => void): grpcWeb.ClientReadableStream<space_pb.BackupKeysByPassphraseResponse>;
methodInfoRecoverKeysByPassphrase: grpcWeb.AbstractClientBase.MethodInfo<space_pb.RecoverKeysByPassphraseRequest, space_pb.RecoverKeysByPassphraseResponse>;
recoverKeysByPassphrase(request: space_pb.RecoverKeysByPassphraseRequest, metadata: grpcWeb.Metadata | null): Promise<space_pb.RecoverKeysByPassphraseResponse>;
recoverKeysByPassphrase(request: space_pb.RecoverKeysByPassphraseRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.Error, response: space_pb.RecoverKeysByPassphraseResponse) => void): grpcWeb.ClientReadableStream<space_pb.RecoverKeysByPassphraseResponse>;
methodInfoTestKeysPassphrase: grpcWeb.AbstractClientBase.MethodInfo<space_pb.TestKeysPassphraseRequest, space_pb.TestKeysPassphraseResponse>;
testKeysPassphrase(request: space_pb.TestKeysPassphraseRequest, metadata: grpcWeb.Metadata | null): Promise<space_pb.TestKeysPassphraseResponse>;
testKeysPassphrase(request: space_pb.TestKeysPassphraseRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.Error, response: space_pb.TestKeysPassphraseResponse) => void): grpcWeb.ClientReadableStream<space_pb.TestKeysPassphraseResponse>;
methodInfoCreateLocalKeysBackup: grpcWeb.AbstractClientBase.MethodInfo<space_pb.CreateLocalKeysBackupRequest, space_pb.CreateLocalKeysBackupResponse>;
createLocalKeysBackup(request: space_pb.CreateLocalKeysBackupRequest, metadata: grpcWeb.Metadata | null): Promise<space_pb.CreateLocalKeysBackupResponse>;
createLocalKeysBackup(request: space_pb.CreateLocalKeysBackupRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.Error, response: space_pb.CreateLocalKeysBackupResponse) => void): grpcWeb.ClientReadableStream<space_pb.CreateLocalKeysBackupResponse>;
methodInfoRecoverKeysByLocalBackup: grpcWeb.AbstractClientBase.MethodInfo<space_pb.RecoverKeysByLocalBackupRequest, space_pb.RecoverKeysByLocalBackupResponse>;
recoverKeysByLocalBackup(request: space_pb.RecoverKeysByLocalBackupRequest, metadata: grpcWeb.Metadata | null): Promise<space_pb.RecoverKeysByLocalBackupResponse>;
recoverKeysByLocalBackup(request: space_pb.RecoverKeysByLocalBackupRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.Error, response: space_pb.RecoverKeysByLocalBackupResponse) => void): grpcWeb.ClientReadableStream<space_pb.RecoverKeysByLocalBackupResponse>;
methodInfoShareBucket: grpcWeb.AbstractClientBase.MethodInfo<space_pb.ShareBucketRequest, space_pb.ShareBucketResponse>;
shareBucket(request: space_pb.ShareBucketRequest, metadata: grpcWeb.Metadata | null): Promise<space_pb.ShareBucketResponse>;
shareBucket(request: space_pb.ShareBucketRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.Error, response: space_pb.ShareBucketResponse) => void): grpcWeb.ClientReadableStream<space_pb.ShareBucketResponse>;
methodInfoJoinBucket: grpcWeb.AbstractClientBase.MethodInfo<space_pb.JoinBucketRequest, space_pb.JoinBucketResponse>;
joinBucket(request: space_pb.JoinBucketRequest, metadata: grpcWeb.Metadata | null): Promise<space_pb.JoinBucketResponse>;
joinBucket(request: space_pb.JoinBucketRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.Error, response: space_pb.JoinBucketResponse) => void): grpcWeb.ClientReadableStream<space_pb.JoinBucketResponse>;
methodInfoShareFilesViaPublicKey: grpcWeb.AbstractClientBase.MethodInfo<space_pb.ShareFilesViaPublicKeyRequest, space_pb.ShareFilesViaPublicKeyResponse>;
shareFilesViaPublicKey(request: space_pb.ShareFilesViaPublicKeyRequest, metadata: grpcWeb.Metadata | null): Promise<space_pb.ShareFilesViaPublicKeyResponse>;
shareFilesViaPublicKey(request: space_pb.ShareFilesViaPublicKeyRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.Error, response: space_pb.ShareFilesViaPublicKeyResponse) => void): grpcWeb.ClientReadableStream<space_pb.ShareFilesViaPublicKeyResponse>;
methodInfoHandleFilesInvitation: grpcWeb.AbstractClientBase.MethodInfo<space_pb.HandleFilesInvitationRequest, space_pb.HandleFilesInvitationResponse>;
handleFilesInvitation(request: space_pb.HandleFilesInvitationRequest, metadata: grpcWeb.Metadata | null): Promise<space_pb.HandleFilesInvitationResponse>;
handleFilesInvitation(request: space_pb.HandleFilesInvitationRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.Error, response: space_pb.HandleFilesInvitationResponse) => void): grpcWeb.ClientReadableStream<space_pb.HandleFilesInvitationResponse>;
methodInfoNotificationSubscribe: grpcWeb.AbstractClientBase.MethodInfo<google_protobuf_empty_pb.Empty, space_pb.NotificationEventResponse>;
notificationSubscribe(request: google_protobuf_empty_pb.Empty, metadata?: grpcWeb.Metadata): grpcWeb.ClientReadableStream<space_pb.NotificationEventResponse>;
methodInfoListBuckets: grpcWeb.AbstractClientBase.MethodInfo<space_pb.ListBucketsRequest, space_pb.ListBucketsResponse>;
listBuckets(request: space_pb.ListBucketsRequest, metadata: grpcWeb.Metadata | null): Promise<space_pb.ListBucketsResponse>;
listBuckets(request: space_pb.ListBucketsRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.Error, response: space_pb.ListBucketsResponse) => void): grpcWeb.ClientReadableStream<space_pb.ListBucketsResponse>;
methodInfoGetNotifications: grpcWeb.AbstractClientBase.MethodInfo<space_pb.GetNotificationsRequest, space_pb.GetNotificationsResponse>;
getNotifications(request: space_pb.GetNotificationsRequest, metadata: grpcWeb.Metadata | null): Promise<space_pb.GetNotificationsResponse>;
getNotifications(request: space_pb.GetNotificationsRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.Error, response: space_pb.GetNotificationsResponse) => void): grpcWeb.ClientReadableStream<space_pb.GetNotificationsResponse>;
methodInfoReadNotification: grpcWeb.AbstractClientBase.MethodInfo<space_pb.ReadNotificationRequest, space_pb.ReadNotificationResponse>;
readNotification(request: space_pb.ReadNotificationRequest, metadata: grpcWeb.Metadata | null): Promise<space_pb.ReadNotificationResponse>;
readNotification(request: space_pb.ReadNotificationRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.Error, response: space_pb.ReadNotificationResponse) => void): grpcWeb.ClientReadableStream<space_pb.ReadNotificationResponse>;
methodInfoDeleteAccount: grpcWeb.AbstractClientBase.MethodInfo<space_pb.DeleteAccountRequest, space_pb.DeleteAccountResponse>;
deleteAccount(request: space_pb.DeleteAccountRequest, metadata: grpcWeb.Metadata | null): Promise<space_pb.DeleteAccountResponse>;
deleteAccount(request: space_pb.DeleteAccountRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.Error, response: space_pb.DeleteAccountResponse) => void): grpcWeb.ClientReadableStream<space_pb.DeleteAccountResponse>;
methodInfoToggleBucketBackup: grpcWeb.AbstractClientBase.MethodInfo<space_pb.ToggleBucketBackupRequest, space_pb.ToggleBucketBackupResponse>;
toggleBucketBackup(request: space_pb.ToggleBucketBackupRequest, metadata: grpcWeb.Metadata | null): Promise<space_pb.ToggleBucketBackupResponse>;
toggleBucketBackup(request: space_pb.ToggleBucketBackupRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.Error, response: space_pb.ToggleBucketBackupResponse) => void): grpcWeb.ClientReadableStream<space_pb.ToggleBucketBackupResponse>;
methodInfoBucketBackupRestore: grpcWeb.AbstractClientBase.MethodInfo<space_pb.BucketBackupRestoreRequest, space_pb.BucketBackupRestoreResponse>;
bucketBackupRestore(request: space_pb.BucketBackupRestoreRequest, metadata: grpcWeb.Metadata | null): Promise<space_pb.BucketBackupRestoreResponse>;
bucketBackupRestore(request: space_pb.BucketBackupRestoreRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.Error, response: space_pb.BucketBackupRestoreResponse) => void): grpcWeb.ClientReadableStream<space_pb.BucketBackupRestoreResponse>;
methodInfoGetUsageInfo: grpcWeb.AbstractClientBase.MethodInfo<space_pb.GetUsageInfoRequest, space_pb.GetUsageInfoResponse>;
getUsageInfo(request: space_pb.GetUsageInfoRequest, metadata: grpcWeb.Metadata | null): Promise<space_pb.GetUsageInfoResponse>;
getUsageInfo(request: space_pb.GetUsageInfoRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.Error, response: space_pb.GetUsageInfoResponse) => void): grpcWeb.ClientReadableStream<space_pb.GetUsageInfoResponse>;
methodInfoGetAPISessionTokens: grpcWeb.AbstractClientBase.MethodInfo<space_pb.GetAPISessionTokensRequest, space_pb.GetAPISessionTokensResponse>;
getAPISessionTokens(request: space_pb.GetAPISessionTokensRequest, metadata: grpcWeb.Metadata | null): Promise<space_pb.GetAPISessionTokensResponse>;
getAPISessionTokens(request: space_pb.GetAPISessionTokensRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.Error, response: space_pb.GetAPISessionTokensResponse) => void): grpcWeb.ClientReadableStream<space_pb.GetAPISessionTokensResponse>;
methodInfoGetRecentlySharedWith: grpcWeb.AbstractClientBase.MethodInfo<space_pb.GetRecentlySharedWithRequest, space_pb.GetRecentlySharedWithResponse>;
getRecentlySharedWith(request: space_pb.GetRecentlySharedWithRequest, metadata: grpcWeb.Metadata | null): Promise<space_pb.GetRecentlySharedWithResponse>;
getRecentlySharedWith(request: space_pb.GetRecentlySharedWithRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.Error, response: space_pb.GetRecentlySharedWithResponse) => void): grpcWeb.ClientReadableStream<space_pb.GetRecentlySharedWithResponse>;
methodInfoSetNotificationsLastSeenAt: grpcWeb.AbstractClientBase.MethodInfo<space_pb.SetNotificationsLastSeenAtRequest, space_pb.SetNotificationsLastSeenAtResponse>;
setNotificationsLastSeenAt(request: space_pb.SetNotificationsLastSeenAtRequest, metadata: grpcWeb.Metadata | null): Promise<space_pb.SetNotificationsLastSeenAtResponse>;
setNotificationsLastSeenAt(request: space_pb.SetNotificationsLastSeenAtRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.Error, response: space_pb.SetNotificationsLastSeenAtResponse) => void): grpcWeb.ClientReadableStream<space_pb.SetNotificationsLastSeenAtResponse>;
methodInfoSearchFiles: grpcWeb.AbstractClientBase.MethodInfo<space_pb.SearchFilesRequest, space_pb.SearchFilesResponse>;
searchFiles(request: space_pb.SearchFilesRequest, metadata: grpcWeb.Metadata | null): Promise<space_pb.SearchFilesResponse>;
searchFiles(request: space_pb.SearchFilesRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.Error, response: space_pb.SearchFilesResponse) => void): grpcWeb.ClientReadableStream<space_pb.SearchFilesResponse>;
methodInfoInitializeMasterAppToken: grpcWeb.AbstractClientBase.MethodInfo<space_pb.InitializeMasterAppTokenRequest, space_pb.InitializeMasterAppTokenResponse>;
initializeMasterAppToken(request: space_pb.InitializeMasterAppTokenRequest, metadata: grpcWeb.Metadata | null): Promise<space_pb.InitializeMasterAppTokenResponse>;
initializeMasterAppToken(request: space_pb.InitializeMasterAppTokenRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.Error, response: space_pb.InitializeMasterAppTokenResponse) => void): grpcWeb.ClientReadableStream<space_pb.InitializeMasterAppTokenResponse>;
methodInfoGenerateAppToken: grpcWeb.AbstractClientBase.MethodInfo<space_pb.GenerateAppTokenRequest, space_pb.GenerateAppTokenResponse>;
generateAppToken(request: space_pb.GenerateAppTokenRequest, metadata: grpcWeb.Metadata | null): Promise<space_pb.GenerateAppTokenResponse>;
generateAppToken(request: space_pb.GenerateAppTokenRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.Error, response: space_pb.GenerateAppTokenResponse) => void): grpcWeb.ClientReadableStream<space_pb.GenerateAppTokenResponse>;
methodInfoListDirectories: grpcWeb.AbstractClientBase.MethodInfo<ListDirectoriesRequest, ListDirectoriesResponse>;
listDirectories(request: ListDirectoriesRequest, metadata: grpcWeb.Metadata | null): Promise<ListDirectoriesResponse>;
listDirectories(request: ListDirectoriesRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.Error, response: ListDirectoriesResponse) => void): grpcWeb.ClientReadableStream<ListDirectoriesResponse>;
methodInfoListDirectory: grpcWeb.AbstractClientBase.MethodInfo<ListDirectoryRequest, ListDirectoryResponse>;
listDirectory(request: ListDirectoryRequest, metadata: grpcWeb.Metadata | null): Promise<ListDirectoryResponse>;
listDirectory(request: ListDirectoryRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.Error, response: ListDirectoryResponse) => void): grpcWeb.ClientReadableStream<ListDirectoryResponse>;
methodInfoGenerateKeyPair: grpcWeb.AbstractClientBase.MethodInfo<GenerateKeyPairRequest, GenerateKeyPairResponse>;
generateKeyPair(request: GenerateKeyPairRequest, metadata: grpcWeb.Metadata | null): Promise<GenerateKeyPairResponse>;
generateKeyPair(request: GenerateKeyPairRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.Error, response: GenerateKeyPairResponse) => void): grpcWeb.ClientReadableStream<GenerateKeyPairResponse>;
methodInfoGetStoredMnemonic: grpcWeb.AbstractClientBase.MethodInfo<GetStoredMnemonicRequest, GetStoredMnemonicResponse>;
getStoredMnemonic(request: GetStoredMnemonicRequest, metadata: grpcWeb.Metadata | null): Promise<GetStoredMnemonicResponse>;
getStoredMnemonic(request: GetStoredMnemonicRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.Error, response: GetStoredMnemonicResponse) => void): grpcWeb.ClientReadableStream<GetStoredMnemonicResponse>;
methodInfoRestoreKeyPairViaMnemonic: grpcWeb.AbstractClientBase.MethodInfo<RestoreKeyPairViaMnemonicRequest, RestoreKeyPairViaMnemonicResponse>;
restoreKeyPairViaMnemonic(request: RestoreKeyPairViaMnemonicRequest, metadata: grpcWeb.Metadata | null): Promise<RestoreKeyPairViaMnemonicResponse>;
restoreKeyPairViaMnemonic(request: RestoreKeyPairViaMnemonicRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.Error, response: RestoreKeyPairViaMnemonicResponse) => void): grpcWeb.ClientReadableStream<RestoreKeyPairViaMnemonicResponse>;
methodInfoDeleteKeyPair: grpcWeb.AbstractClientBase.MethodInfo<DeleteKeyPairRequest, DeleteKeyPairResponse>;
deleteKeyPair(request: DeleteKeyPairRequest, metadata: grpcWeb.Metadata | null): Promise<DeleteKeyPairResponse>;
deleteKeyPair(request: DeleteKeyPairRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.Error, response: DeleteKeyPairResponse) => void): grpcWeb.ClientReadableStream<DeleteKeyPairResponse>;
methodInfoGenerateKeyPairWithForce: grpcWeb.AbstractClientBase.MethodInfo<GenerateKeyPairRequest, GenerateKeyPairResponse>;
generateKeyPairWithForce(request: GenerateKeyPairRequest, metadata: grpcWeb.Metadata | null): Promise<GenerateKeyPairResponse>;
generateKeyPairWithForce(request: GenerateKeyPairRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.Error, response: GenerateKeyPairResponse) => void): grpcWeb.ClientReadableStream<GenerateKeyPairResponse>;
methodInfoGetPublicKey: grpcWeb.AbstractClientBase.MethodInfo<GetPublicKeyRequest, GetPublicKeyResponse>;
getPublicKey(request: GetPublicKeyRequest, metadata: grpcWeb.Metadata | null): Promise<GetPublicKeyResponse>;
getPublicKey(request: GetPublicKeyRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.Error, response: GetPublicKeyResponse) => void): grpcWeb.ClientReadableStream<GetPublicKeyResponse>;
methodInfoSubscribe: grpcWeb.AbstractClientBase.MethodInfo<google_protobuf_empty_pb.Empty, FileEventResponse>;
subscribe(request: google_protobuf_empty_pb.Empty, metadata?: grpcWeb.Metadata): grpcWeb.ClientReadableStream<FileEventResponse>;
methodInfoTxlSubscribe: grpcWeb.AbstractClientBase.MethodInfo<google_protobuf_empty_pb.Empty, TextileEventResponse>;
txlSubscribe(request: google_protobuf_empty_pb.Empty, metadata?: grpcWeb.Metadata): grpcWeb.ClientReadableStream<TextileEventResponse>;
methodInfoOpenFile: grpcWeb.AbstractClientBase.MethodInfo<OpenFileRequest, OpenFileResponse>;
openFile(request: OpenFileRequest, metadata: grpcWeb.Metadata | null): Promise<OpenFileResponse>;
openFile(request: OpenFileRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.Error, response: OpenFileResponse) => void): grpcWeb.ClientReadableStream<OpenFileResponse>;
methodInfoRemoveDirOrFile: grpcWeb.AbstractClientBase.MethodInfo<RemoveDirOrFileRequest, RemoveDirOrFileResponse>;
removeDirOrFile(request: RemoveDirOrFileRequest, metadata: grpcWeb.Metadata | null): Promise<RemoveDirOrFileResponse>;
removeDirOrFile(request: RemoveDirOrFileRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.Error, response: RemoveDirOrFileResponse) => void): grpcWeb.ClientReadableStream<RemoveDirOrFileResponse>;
methodInfoGeneratePublicFileLink: grpcWeb.AbstractClientBase.MethodInfo<GeneratePublicFileLinkRequest, GeneratePublicFileLinkResponse>;
generatePublicFileLink(request: GeneratePublicFileLinkRequest, metadata: grpcWeb.Metadata | null): Promise<GeneratePublicFileLinkResponse>;
generatePublicFileLink(request: GeneratePublicFileLinkRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.Error, response: GeneratePublicFileLinkResponse) => void): grpcWeb.ClientReadableStream<GeneratePublicFileLinkResponse>;
methodInfoGetSharedWithMeFiles: grpcWeb.AbstractClientBase.MethodInfo<GetSharedWithMeFilesRequest, GetSharedWithMeFilesResponse>;
getSharedWithMeFiles(request: GetSharedWithMeFilesRequest, metadata: grpcWeb.Metadata | null): Promise<GetSharedWithMeFilesResponse>;
getSharedWithMeFiles(request: GetSharedWithMeFilesRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.Error, response: GetSharedWithMeFilesResponse) => void): grpcWeb.ClientReadableStream<GetSharedWithMeFilesResponse>;
methodInfoGetSharedByMeFiles: grpcWeb.AbstractClientBase.MethodInfo<GetSharedByMeFilesRequest, GetSharedByMeFilesResponse>;
getSharedByMeFiles(request: GetSharedByMeFilesRequest, metadata: grpcWeb.Metadata | null): Promise<GetSharedByMeFilesResponse>;
getSharedByMeFiles(request: GetSharedByMeFilesRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.Error, response: GetSharedByMeFilesResponse) => void): grpcWeb.ClientReadableStream<GetSharedByMeFilesResponse>;
methodInfoOpenPublicFile: grpcWeb.AbstractClientBase.MethodInfo<OpenPublicFileRequest, OpenPublicFileResponse>;
openPublicFile(request: OpenPublicFileRequest, metadata: grpcWeb.Metadata | null): Promise<OpenPublicFileResponse>;
openPublicFile(request: OpenPublicFileRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.Error, response: OpenPublicFileResponse) => void): grpcWeb.ClientReadableStream<OpenPublicFileResponse>;
methodInfoAddItems: grpcWeb.AbstractClientBase.MethodInfo<AddItemsRequest, AddItemsResponse>;
addItems(request: AddItemsRequest, metadata?: grpcWeb.Metadata): grpcWeb.ClientReadableStream<AddItemsResponse>;
methodInfoCreateFolder: grpcWeb.AbstractClientBase.MethodInfo<CreateFolderRequest, CreateFolderResponse>;
createFolder(request: CreateFolderRequest, metadata: grpcWeb.Metadata | null): Promise<CreateFolderResponse>;
createFolder(request: CreateFolderRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.Error, response: CreateFolderResponse) => void): grpcWeb.ClientReadableStream<CreateFolderResponse>;
methodInfoToggleFuseDrive: grpcWeb.AbstractClientBase.MethodInfo<ToggleFuseRequest, FuseDriveResponse>;
toggleFuseDrive(request: ToggleFuseRequest, metadata: grpcWeb.Metadata | null): Promise<FuseDriveResponse>;
toggleFuseDrive(request: ToggleFuseRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.Error, response: FuseDriveResponse) => void): grpcWeb.ClientReadableStream<FuseDriveResponse>;
methodInfoGetFuseDriveStatus: grpcWeb.AbstractClientBase.MethodInfo<google_protobuf_empty_pb.Empty, FuseDriveResponse>;
getFuseDriveStatus(request: google_protobuf_empty_pb.Empty, metadata: grpcWeb.Metadata | null): Promise<FuseDriveResponse>;
getFuseDriveStatus(request: google_protobuf_empty_pb.Empty, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.Error, response: FuseDriveResponse) => void): grpcWeb.ClientReadableStream<FuseDriveResponse>;
methodInfoCreateBucket: grpcWeb.AbstractClientBase.MethodInfo<CreateBucketRequest, CreateBucketResponse>;
createBucket(request: CreateBucketRequest, metadata: grpcWeb.Metadata | null): Promise<CreateBucketResponse>;
createBucket(request: CreateBucketRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.Error, response: CreateBucketResponse) => void): grpcWeb.ClientReadableStream<CreateBucketResponse>;
methodInfoBackupKeysByPassphrase: grpcWeb.AbstractClientBase.MethodInfo<BackupKeysByPassphraseRequest, BackupKeysByPassphraseResponse>;
backupKeysByPassphrase(request: BackupKeysByPassphraseRequest, metadata: grpcWeb.Metadata | null): Promise<BackupKeysByPassphraseResponse>;
backupKeysByPassphrase(request: BackupKeysByPassphraseRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.Error, response: BackupKeysByPassphraseResponse) => void): grpcWeb.ClientReadableStream<BackupKeysByPassphraseResponse>;
methodInfoRecoverKeysByPassphrase: grpcWeb.AbstractClientBase.MethodInfo<RecoverKeysByPassphraseRequest, RecoverKeysByPassphraseResponse>;
recoverKeysByPassphrase(request: RecoverKeysByPassphraseRequest, metadata: grpcWeb.Metadata | null): Promise<RecoverKeysByPassphraseResponse>;
recoverKeysByPassphrase(request: RecoverKeysByPassphraseRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.Error, response: RecoverKeysByPassphraseResponse) => void): grpcWeb.ClientReadableStream<RecoverKeysByPassphraseResponse>;
methodInfoTestKeysPassphrase: grpcWeb.AbstractClientBase.MethodInfo<TestKeysPassphraseRequest, TestKeysPassphraseResponse>;
testKeysPassphrase(request: TestKeysPassphraseRequest, metadata: grpcWeb.Metadata | null): Promise<TestKeysPassphraseResponse>;
testKeysPassphrase(request: TestKeysPassphraseRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.Error, response: TestKeysPassphraseResponse) => void): grpcWeb.ClientReadableStream<TestKeysPassphraseResponse>;
methodInfoCreateLocalKeysBackup: grpcWeb.AbstractClientBase.MethodInfo<CreateLocalKeysBackupRequest, CreateLocalKeysBackupResponse>;
createLocalKeysBackup(request: CreateLocalKeysBackupRequest, metadata: grpcWeb.Metadata | null): Promise<CreateLocalKeysBackupResponse>;
createLocalKeysBackup(request: CreateLocalKeysBackupRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.Error, response: CreateLocalKeysBackupResponse) => void): grpcWeb.ClientReadableStream<CreateLocalKeysBackupResponse>;
methodInfoRecoverKeysByLocalBackup: grpcWeb.AbstractClientBase.MethodInfo<RecoverKeysByLocalBackupRequest, RecoverKeysByLocalBackupResponse>;
recoverKeysByLocalBackup(request: RecoverKeysByLocalBackupRequest, metadata: grpcWeb.Metadata | null): Promise<RecoverKeysByLocalBackupResponse>;
recoverKeysByLocalBackup(request: RecoverKeysByLocalBackupRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.Error, response: RecoverKeysByLocalBackupResponse) => void): grpcWeb.ClientReadableStream<RecoverKeysByLocalBackupResponse>;
methodInfoShareBucket: grpcWeb.AbstractClientBase.MethodInfo<ShareBucketRequest, ShareBucketResponse>;
shareBucket(request: ShareBucketRequest, metadata: grpcWeb.Metadata | null): Promise<ShareBucketResponse>;
shareBucket(request: ShareBucketRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.Error, response: ShareBucketResponse) => void): grpcWeb.ClientReadableStream<ShareBucketResponse>;
methodInfoJoinBucket: grpcWeb.AbstractClientBase.MethodInfo<JoinBucketRequest, JoinBucketResponse>;
joinBucket(request: JoinBucketRequest, metadata: grpcWeb.Metadata | null): Promise<JoinBucketResponse>;
joinBucket(request: JoinBucketRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.Error, response: JoinBucketResponse) => void): grpcWeb.ClientReadableStream<JoinBucketResponse>;
methodInfoShareFilesViaPublicKey: grpcWeb.AbstractClientBase.MethodInfo<ShareFilesViaPublicKeyRequest, ShareFilesViaPublicKeyResponse>;
shareFilesViaPublicKey(request: ShareFilesViaPublicKeyRequest, metadata: grpcWeb.Metadata | null): Promise<ShareFilesViaPublicKeyResponse>;
shareFilesViaPublicKey(request: ShareFilesViaPublicKeyRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.Error, response: ShareFilesViaPublicKeyResponse) => void): grpcWeb.ClientReadableStream<ShareFilesViaPublicKeyResponse>;
methodInfoUnshareFilesViaPublicKey: grpcWeb.AbstractClientBase.MethodInfo<UnshareFilesViaPublicKeyRequest, UnshareFilesViaPublicKeyResponse>;
unshareFilesViaPublicKey(request: UnshareFilesViaPublicKeyRequest, metadata: grpcWeb.Metadata | null): Promise<UnshareFilesViaPublicKeyResponse>;
unshareFilesViaPublicKey(request: UnshareFilesViaPublicKeyRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.Error, response: UnshareFilesViaPublicKeyResponse) => void): grpcWeb.ClientReadableStream<UnshareFilesViaPublicKeyResponse>;
methodInfoHandleFilesInvitation: grpcWeb.AbstractClientBase.MethodInfo<HandleFilesInvitationRequest, HandleFilesInvitationResponse>;
handleFilesInvitation(request: HandleFilesInvitationRequest, metadata: grpcWeb.Metadata | null): Promise<HandleFilesInvitationResponse>;
handleFilesInvitation(request: HandleFilesInvitationRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.Error, response: HandleFilesInvitationResponse) => void): grpcWeb.ClientReadableStream<HandleFilesInvitationResponse>;
methodInfoNotificationSubscribe: grpcWeb.AbstractClientBase.MethodInfo<google_protobuf_empty_pb.Empty, NotificationEventResponse>;
notificationSubscribe(request: google_protobuf_empty_pb.Empty, metadata?: grpcWeb.Metadata): grpcWeb.ClientReadableStream<NotificationEventResponse>;
methodInfoListBuckets: grpcWeb.AbstractClientBase.MethodInfo<ListBucketsRequest, ListBucketsResponse>;
listBuckets(request: ListBucketsRequest, metadata: grpcWeb.Metadata | null): Promise<ListBucketsResponse>;
listBuckets(request: ListBucketsRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.Error, response: ListBucketsResponse) => void): grpcWeb.ClientReadableStream<ListBucketsResponse>;
methodInfoGetNotifications: grpcWeb.AbstractClientBase.MethodInfo<GetNotificationsRequest, GetNotificationsResponse>;
getNotifications(request: GetNotificationsRequest, metadata: grpcWeb.Metadata | null): Promise<GetNotificationsResponse>;
getNotifications(request: GetNotificationsRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.Error, response: GetNotificationsResponse) => void): grpcWeb.ClientReadableStream<GetNotificationsResponse>;
methodInfoReadNotification: grpcWeb.AbstractClientBase.MethodInfo<ReadNotificationRequest, ReadNotificationResponse>;
readNotification(request: ReadNotificationRequest, metadata: grpcWeb.Metadata | null): Promise<ReadNotificationResponse>;
readNotification(request: ReadNotificationRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.Error, response: ReadNotificationResponse) => void): grpcWeb.ClientReadableStream<ReadNotificationResponse>;
methodInfoDeleteAccount: grpcWeb.AbstractClientBase.MethodInfo<DeleteAccountRequest, DeleteAccountResponse>;
deleteAccount(request: DeleteAccountRequest, metadata: grpcWeb.Metadata | null): Promise<DeleteAccountResponse>;
deleteAccount(request: DeleteAccountRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.Error, response: DeleteAccountResponse) => void): grpcWeb.ClientReadableStream<DeleteAccountResponse>;
methodInfoToggleBucketBackup: grpcWeb.AbstractClientBase.MethodInfo<ToggleBucketBackupRequest, ToggleBucketBackupResponse>;
toggleBucketBackup(request: ToggleBucketBackupRequest, metadata: grpcWeb.Metadata | null): Promise<ToggleBucketBackupResponse>;
toggleBucketBackup(request: ToggleBucketBackupRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.Error, response: ToggleBucketBackupResponse) => void): grpcWeb.ClientReadableStream<ToggleBucketBackupResponse>;
methodInfoBucketBackupRestore: grpcWeb.AbstractClientBase.MethodInfo<BucketBackupRestoreRequest, BucketBackupRestoreResponse>;
bucketBackupRestore(request: BucketBackupRestoreRequest, metadata: grpcWeb.Metadata | null): Promise<BucketBackupRestoreResponse>;
bucketBackupRestore(request: BucketBackupRestoreRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.Error, response: BucketBackupRestoreResponse) => void): grpcWeb.ClientReadableStream<BucketBackupRestoreResponse>;
methodInfoGetUsageInfo: grpcWeb.AbstractClientBase.MethodInfo<GetUsageInfoRequest, GetUsageInfoResponse>;
getUsageInfo(request: GetUsageInfoRequest, metadata: grpcWeb.Metadata | null): Promise<GetUsageInfoResponse>;
getUsageInfo(request: GetUsageInfoRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.Error, response: GetUsageInfoResponse) => void): grpcWeb.ClientReadableStream<GetUsageInfoResponse>;
methodInfoGetAPISessionTokens: grpcWeb.AbstractClientBase.MethodInfo<GetAPISessionTokensRequest, GetAPISessionTokensResponse>;
getAPISessionTokens(request: GetAPISessionTokensRequest, metadata: grpcWeb.Metadata | null): Promise<GetAPISessionTokensResponse>;
getAPISessionTokens(request: GetAPISessionTokensRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.Error, response: GetAPISessionTokensResponse) => void): grpcWeb.ClientReadableStream<GetAPISessionTokensResponse>;
methodInfoGetRecentlySharedWith: grpcWeb.AbstractClientBase.MethodInfo<GetRecentlySharedWithRequest, GetRecentlySharedWithResponse>;
getRecentlySharedWith(request: GetRecentlySharedWithRequest, metadata: grpcWeb.Metadata | null): Promise<GetRecentlySharedWithResponse>;
getRecentlySharedWith(request: GetRecentlySharedWithRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.Error, response: GetRecentlySharedWithResponse) => void): grpcWeb.ClientReadableStream<GetRecentlySharedWithResponse>;
methodInfoSetNotificationsLastSeenAt: grpcWeb.AbstractClientBase.MethodInfo<SetNotificationsLastSeenAtRequest, SetNotificationsLastSeenAtResponse>;
setNotificationsLastSeenAt(request: SetNotificationsLastSeenAtRequest, metadata: grpcWeb.Metadata | null): Promise<SetNotificationsLastSeenAtResponse>;
setNotificationsLastSeenAt(request: SetNotificationsLastSeenAtRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.Error, response: SetNotificationsLastSeenAtResponse) => void): grpcWeb.ClientReadableStream<SetNotificationsLastSeenAtResponse>;
methodInfoSearchFiles: grpcWeb.AbstractClientBase.MethodInfo<SearchFilesRequest, SearchFilesResponse>;
searchFiles(request: SearchFilesRequest, metadata: grpcWeb.Metadata | null): Promise<SearchFilesResponse>;
searchFiles(request: SearchFilesRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.Error, response: SearchFilesResponse) => void): grpcWeb.ClientReadableStream<SearchFilesResponse>;
methodInfoInitializeMasterAppToken: grpcWeb.AbstractClientBase.MethodInfo<InitializeMasterAppTokenRequest, InitializeMasterAppTokenResponse>;
initializeMasterAppToken(request: InitializeMasterAppTokenRequest, metadata: grpcWeb.Metadata | null): Promise<InitializeMasterAppTokenResponse>;
initializeMasterAppToken(request: InitializeMasterAppTokenRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.Error, response: InitializeMasterAppTokenResponse) => void): grpcWeb.ClientReadableStream<InitializeMasterAppTokenResponse>;
methodInfoGenerateAppToken: grpcWeb.AbstractClientBase.MethodInfo<GenerateAppTokenRequest, GenerateAppTokenResponse>;
generateAppToken(request: GenerateAppTokenRequest, metadata: grpcWeb.Metadata | null): Promise<GenerateAppTokenResponse>;
generateAppToken(request: GenerateAppTokenRequest, metadata: grpcWeb.Metadata | null, callback: (err: grpcWeb.Error, response: GenerateAppTokenResponse) => void): grpcWeb.ClientReadableStream<GenerateAppTokenResponse>;
}

@@ -32,137 +32,140 @@ "use strict";

const grpcWeb = __importStar(require("grpc-web"));
const space_pb = __importStar(require("./space_pb"));
const space_pb_1 = require("./space_pb");
class SpaceApiClient {
constructor(hostname, credentials, options) {
this.methodInfoListDirectories = new grpcWeb.AbstractClientBase.MethodInfo(space_pb.ListDirectoriesResponse, (request) => {
this.methodInfoListDirectories = new grpcWeb.AbstractClientBase.MethodInfo(space_pb_1.ListDirectoriesResponse, (request) => {
return request.serializeBinary();
}, space_pb.ListDirectoriesResponse.deserializeBinary);
this.methodInfoListDirectory = new grpcWeb.AbstractClientBase.MethodInfo(space_pb.ListDirectoryResponse, (request) => {
}, space_pb_1.ListDirectoriesResponse.deserializeBinary);
this.methodInfoListDirectory = new grpcWeb.AbstractClientBase.MethodInfo(space_pb_1.ListDirectoryResponse, (request) => {
return request.serializeBinary();
}, space_pb.ListDirectoryResponse.deserializeBinary);
this.methodInfoGenerateKeyPair = new grpcWeb.AbstractClientBase.MethodInfo(space_pb.GenerateKeyPairResponse, (request) => {
}, space_pb_1.ListDirectoryResponse.deserializeBinary);
this.methodInfoGenerateKeyPair = new grpcWeb.AbstractClientBase.MethodInfo(space_pb_1.GenerateKeyPairResponse, (request) => {
return request.serializeBinary();
}, space_pb.GenerateKeyPairResponse.deserializeBinary);
this.methodInfoGetStoredMnemonic = new grpcWeb.AbstractClientBase.MethodInfo(space_pb.GetStoredMnemonicResponse, (request) => {
}, space_pb_1.GenerateKeyPairResponse.deserializeBinary);
this.methodInfoGetStoredMnemonic = new grpcWeb.AbstractClientBase.MethodInfo(space_pb_1.GetStoredMnemonicResponse, (request) => {
return request.serializeBinary();
}, space_pb.GetStoredMnemonicResponse.deserializeBinary);
this.methodInfoRestoreKeyPairViaMnemonic = new grpcWeb.AbstractClientBase.MethodInfo(space_pb.RestoreKeyPairViaMnemonicResponse, (request) => {
}, space_pb_1.GetStoredMnemonicResponse.deserializeBinary);
this.methodInfoRestoreKeyPairViaMnemonic = new grpcWeb.AbstractClientBase.MethodInfo(space_pb_1.RestoreKeyPairViaMnemonicResponse, (request) => {
return request.serializeBinary();
}, space_pb.RestoreKeyPairViaMnemonicResponse.deserializeBinary);
this.methodInfoDeleteKeyPair = new grpcWeb.AbstractClientBase.MethodInfo(space_pb.DeleteKeyPairResponse, (request) => {
}, space_pb_1.RestoreKeyPairViaMnemonicResponse.deserializeBinary);
this.methodInfoDeleteKeyPair = new grpcWeb.AbstractClientBase.MethodInfo(space_pb_1.DeleteKeyPairResponse, (request) => {
return request.serializeBinary();
}, space_pb.DeleteKeyPairResponse.deserializeBinary);
this.methodInfoGenerateKeyPairWithForce = new grpcWeb.AbstractClientBase.MethodInfo(space_pb.GenerateKeyPairResponse, (request) => {
}, space_pb_1.DeleteKeyPairResponse.deserializeBinary);
this.methodInfoGenerateKeyPairWithForce = new grpcWeb.AbstractClientBase.MethodInfo(space_pb_1.GenerateKeyPairResponse, (request) => {
return request.serializeBinary();
}, space_pb.GenerateKeyPairResponse.deserializeBinary);
this.methodInfoGetPublicKey = new grpcWeb.AbstractClientBase.MethodInfo(space_pb.GetPublicKeyResponse, (request) => {
}, space_pb_1.GenerateKeyPairResponse.deserializeBinary);
this.methodInfoGetPublicKey = new grpcWeb.AbstractClientBase.MethodInfo(space_pb_1.GetPublicKeyResponse, (request) => {
return request.serializeBinary();
}, space_pb.GetPublicKeyResponse.deserializeBinary);
this.methodInfoSubscribe = new grpcWeb.AbstractClientBase.MethodInfo(space_pb.FileEventResponse, (request) => {
}, space_pb_1.GetPublicKeyResponse.deserializeBinary);
this.methodInfoSubscribe = new grpcWeb.AbstractClientBase.MethodInfo(space_pb_1.FileEventResponse, (request) => {
return request.serializeBinary();
}, space_pb.FileEventResponse.deserializeBinary);
this.methodInfoTxlSubscribe = new grpcWeb.AbstractClientBase.MethodInfo(space_pb.TextileEventResponse, (request) => {
}, space_pb_1.FileEventResponse.deserializeBinary);
this.methodInfoTxlSubscribe = new grpcWeb.AbstractClientBase.MethodInfo(space_pb_1.TextileEventResponse, (request) => {
return request.serializeBinary();
}, space_pb.TextileEventResponse.deserializeBinary);
this.methodInfoOpenFile = new grpcWeb.AbstractClientBase.MethodInfo(space_pb.OpenFileResponse, (request) => {
}, space_pb_1.TextileEventResponse.deserializeBinary);
this.methodInfoOpenFile = new grpcWeb.AbstractClientBase.MethodInfo(space_pb_1.OpenFileResponse, (request) => {
return request.serializeBinary();
}, space_pb.OpenFileResponse.deserializeBinary);
this.methodInfoRemoveDirOrFile = new grpcWeb.AbstractClientBase.MethodInfo(space_pb.RemoveDirOrFileResponse, (request) => {
}, space_pb_1.OpenFileResponse.deserializeBinary);
this.methodInfoRemoveDirOrFile = new grpcWeb.AbstractClientBase.MethodInfo(space_pb_1.RemoveDirOrFileResponse, (request) => {
return request.serializeBinary();
}, space_pb.RemoveDirOrFileResponse.deserializeBinary);
this.methodInfoGeneratePublicFileLink = new grpcWeb.AbstractClientBase.MethodInfo(space_pb.GeneratePublicFileLinkResponse, (request) => {
}, space_pb_1.RemoveDirOrFileResponse.deserializeBinary);
this.methodInfoGeneratePublicFileLink = new grpcWeb.AbstractClientBase.MethodInfo(space_pb_1.GeneratePublicFileLinkResponse, (request) => {
return request.serializeBinary();
}, space_pb.GeneratePublicFileLinkResponse.deserializeBinary);
this.methodInfoGetSharedWithMeFiles = new grpcWeb.AbstractClientBase.MethodInfo(space_pb.GetSharedWithMeFilesResponse, (request) => {
}, space_pb_1.GeneratePublicFileLinkResponse.deserializeBinary);
this.methodInfoGetSharedWithMeFiles = new grpcWeb.AbstractClientBase.MethodInfo(space_pb_1.GetSharedWithMeFilesResponse, (request) => {
return request.serializeBinary();
}, space_pb.GetSharedWithMeFilesResponse.deserializeBinary);
this.methodInfoGetSharedByMeFiles = new grpcWeb.AbstractClientBase.MethodInfo(space_pb.GetSharedByMeFilesResponse, (request) => {
}, space_pb_1.GetSharedWithMeFilesResponse.deserializeBinary);
this.methodInfoGetSharedByMeFiles = new grpcWeb.AbstractClientBase.MethodInfo(space_pb_1.GetSharedByMeFilesResponse, (request) => {
return request.serializeBinary();
}, space_pb.GetSharedByMeFilesResponse.deserializeBinary);
this.methodInfoOpenPublicFile = new grpcWeb.AbstractClientBase.MethodInfo(space_pb.OpenPublicFileResponse, (request) => {
}, space_pb_1.GetSharedByMeFilesResponse.deserializeBinary);
this.methodInfoOpenPublicFile = new grpcWeb.AbstractClientBase.MethodInfo(space_pb_1.OpenPublicFileResponse, (request) => {
return request.serializeBinary();
}, space_pb.OpenPublicFileResponse.deserializeBinary);
this.methodInfoAddItems = new grpcWeb.AbstractClientBase.MethodInfo(space_pb.AddItemsResponse, (request) => {
}, space_pb_1.OpenPublicFileResponse.deserializeBinary);
this.methodInfoAddItems = new grpcWeb.AbstractClientBase.MethodInfo(space_pb_1.AddItemsResponse, (request) => {
return request.serializeBinary();
}, space_pb.AddItemsResponse.deserializeBinary);
this.methodInfoCreateFolder = new grpcWeb.AbstractClientBase.MethodInfo(space_pb.CreateFolderResponse, (request) => {
}, space_pb_1.AddItemsResponse.deserializeBinary);
this.methodInfoCreateFolder = new grpcWeb.AbstractClientBase.MethodInfo(space_pb_1.CreateFolderResponse, (request) => {
return request.serializeBinary();
}, space_pb.CreateFolderResponse.deserializeBinary);
this.methodInfoToggleFuseDrive = new grpcWeb.AbstractClientBase.MethodInfo(space_pb.FuseDriveResponse, (request) => {
}, space_pb_1.CreateFolderResponse.deserializeBinary);
this.methodInfoToggleFuseDrive = new grpcWeb.AbstractClientBase.MethodInfo(space_pb_1.FuseDriveResponse, (request) => {
return request.serializeBinary();
}, space_pb.FuseDriveResponse.deserializeBinary);
this.methodInfoGetFuseDriveStatus = new grpcWeb.AbstractClientBase.MethodInfo(space_pb.FuseDriveResponse, (request) => {
}, space_pb_1.FuseDriveResponse.deserializeBinary);
this.methodInfoGetFuseDriveStatus = new grpcWeb.AbstractClientBase.MethodInfo(space_pb_1.FuseDriveResponse, (request) => {
return request.serializeBinary();
}, space_pb.FuseDriveResponse.deserializeBinary);
this.methodInfoCreateBucket = new grpcWeb.AbstractClientBase.MethodInfo(space_pb.CreateBucketResponse, (request) => {
}, space_pb_1.FuseDriveResponse.deserializeBinary);
this.methodInfoCreateBucket = new grpcWeb.AbstractClientBase.MethodInfo(space_pb_1.CreateBucketResponse, (request) => {
return request.serializeBinary();
}, space_pb.CreateBucketResponse.deserializeBinary);
this.methodInfoBackupKeysByPassphrase = new grpcWeb.AbstractClientBase.MethodInfo(space_pb.BackupKeysByPassphraseResponse, (request) => {
}, space_pb_1.CreateBucketResponse.deserializeBinary);
this.methodInfoBackupKeysByPassphrase = new grpcWeb.AbstractClientBase.MethodInfo(space_pb_1.BackupKeysByPassphraseResponse, (request) => {
return request.serializeBinary();
}, space_pb.BackupKeysByPassphraseResponse.deserializeBinary);
this.methodInfoRecoverKeysByPassphrase = new grpcWeb.AbstractClientBase.MethodInfo(space_pb.RecoverKeysByPassphraseResponse, (request) => {
}, space_pb_1.BackupKeysByPassphraseResponse.deserializeBinary);
this.methodInfoRecoverKeysByPassphrase = new grpcWeb.AbstractClientBase.MethodInfo(space_pb_1.RecoverKeysByPassphraseResponse, (request) => {
return request.serializeBinary();
}, space_pb.RecoverKeysByPassphraseResponse.deserializeBinary);
this.methodInfoTestKeysPassphrase = new grpcWeb.AbstractClientBase.MethodInfo(space_pb.TestKeysPassphraseResponse, (request) => {
}, space_pb_1.RecoverKeysByPassphraseResponse.deserializeBinary);
this.methodInfoTestKeysPassphrase = new grpcWeb.AbstractClientBase.MethodInfo(space_pb_1.TestKeysPassphraseResponse, (request) => {
return request.serializeBinary();
}, space_pb.TestKeysPassphraseResponse.deserializeBinary);
this.methodInfoCreateLocalKeysBackup = new grpcWeb.AbstractClientBase.MethodInfo(space_pb.CreateLocalKeysBackupResponse, (request) => {
}, space_pb_1.TestKeysPassphraseResponse.deserializeBinary);
this.methodInfoCreateLocalKeysBackup = new grpcWeb.AbstractClientBase.MethodInfo(space_pb_1.CreateLocalKeysBackupResponse, (request) => {
return request.serializeBinary();
}, space_pb.CreateLocalKeysBackupResponse.deserializeBinary);
this.methodInfoRecoverKeysByLocalBackup = new grpcWeb.AbstractClientBase.MethodInfo(space_pb.RecoverKeysByLocalBackupResponse, (request) => {
}, space_pb_1.CreateLocalKeysBackupResponse.deserializeBinary);
this.methodInfoRecoverKeysByLocalBackup = new grpcWeb.AbstractClientBase.MethodInfo(space_pb_1.RecoverKeysByLocalBackupResponse, (request) => {
return request.serializeBinary();
}, space_pb.RecoverKeysByLocalBackupResponse.deserializeBinary);
this.methodInfoShareBucket = new grpcWeb.AbstractClientBase.MethodInfo(space_pb.ShareBucketResponse, (request) => {
}, space_pb_1.RecoverKeysByLocalBackupResponse.deserializeBinary);
this.methodInfoShareBucket = new grpcWeb.AbstractClientBase.MethodInfo(space_pb_1.ShareBucketResponse, (request) => {
return request.serializeBinary();
}, space_pb.ShareBucketResponse.deserializeBinary);
this.methodInfoJoinBucket = new grpcWeb.AbstractClientBase.MethodInfo(space_pb.JoinBucketResponse, (request) => {
}, space_pb_1.ShareBucketResponse.deserializeBinary);
this.methodInfoJoinBucket = new grpcWeb.AbstractClientBase.MethodInfo(space_pb_1.JoinBucketResponse, (request) => {
return request.serializeBinary();
}, space_pb.JoinBucketResponse.deserializeBinary);
this.methodInfoShareFilesViaPublicKey = new grpcWeb.AbstractClientBase.MethodInfo(space_pb.ShareFilesViaPublicKeyResponse, (request) => {
}, space_pb_1.JoinBucketResponse.deserializeBinary);
this.methodInfoShareFilesViaPublicKey = new grpcWeb.AbstractClientBase.MethodInfo(space_pb_1.ShareFilesViaPublicKeyResponse, (request) => {
return request.serializeBinary();
}, space_pb.ShareFilesViaPublicKeyResponse.deserializeBinary);
this.methodInfoHandleFilesInvitation = new grpcWeb.AbstractClientBase.MethodInfo(space_pb.HandleFilesInvitationResponse, (request) => {
}, space_pb_1.ShareFilesViaPublicKeyResponse.deserializeBinary);
this.methodInfoUnshareFilesViaPublicKey = new grpcWeb.AbstractClientBase.MethodInfo(space_pb_1.UnshareFilesViaPublicKeyResponse, (request) => {
return request.serializeBinary();
}, space_pb.HandleFilesInvitationResponse.deserializeBinary);
this.methodInfoNotificationSubscribe = new grpcWeb.AbstractClientBase.MethodInfo(space_pb.NotificationEventResponse, (request) => {
}, space_pb_1.UnshareFilesViaPublicKeyResponse.deserializeBinary);
this.methodInfoHandleFilesInvitation = new grpcWeb.AbstractClientBase.MethodInfo(space_pb_1.HandleFilesInvitationResponse, (request) => {
return request.serializeBinary();
}, space_pb.NotificationEventResponse.deserializeBinary);
this.methodInfoListBuckets = new grpcWeb.AbstractClientBase.MethodInfo(space_pb.ListBucketsResponse, (request) => {
}, space_pb_1.HandleFilesInvitationResponse.deserializeBinary);
this.methodInfoNotificationSubscribe = new grpcWeb.AbstractClientBase.MethodInfo(space_pb_1.NotificationEventResponse, (request) => {
return request.serializeBinary();
}, space_pb.ListBucketsResponse.deserializeBinary);
this.methodInfoGetNotifications = new grpcWeb.AbstractClientBase.MethodInfo(space_pb.GetNotificationsResponse, (request) => {
}, space_pb_1.NotificationEventResponse.deserializeBinary);
this.methodInfoListBuckets = new grpcWeb.AbstractClientBase.MethodInfo(space_pb_1.ListBucketsResponse, (request) => {
return request.serializeBinary();
}, space_pb.GetNotificationsResponse.deserializeBinary);
this.methodInfoReadNotification = new grpcWeb.AbstractClientBase.MethodInfo(space_pb.ReadNotificationResponse, (request) => {
}, space_pb_1.ListBucketsResponse.deserializeBinary);
this.methodInfoGetNotifications = new grpcWeb.AbstractClientBase.MethodInfo(space_pb_1.GetNotificationsResponse, (request) => {
return request.serializeBinary();
}, space_pb.ReadNotificationResponse.deserializeBinary);
this.methodInfoDeleteAccount = new grpcWeb.AbstractClientBase.MethodInfo(space_pb.DeleteAccountResponse, (request) => {
}, space_pb_1.GetNotificationsResponse.deserializeBinary);
this.methodInfoReadNotification = new grpcWeb.AbstractClientBase.MethodInfo(space_pb_1.ReadNotificationResponse, (request) => {
return request.serializeBinary();
}, space_pb.DeleteAccountResponse.deserializeBinary);
this.methodInfoToggleBucketBackup = new grpcWeb.AbstractClientBase.MethodInfo(space_pb.ToggleBucketBackupResponse, (request) => {
}, space_pb_1.ReadNotificationResponse.deserializeBinary);
this.methodInfoDeleteAccount = new grpcWeb.AbstractClientBase.MethodInfo(space_pb_1.DeleteAccountResponse, (request) => {
return request.serializeBinary();
}, space_pb.ToggleBucketBackupResponse.deserializeBinary);
this.methodInfoBucketBackupRestore = new grpcWeb.AbstractClientBase.MethodInfo(space_pb.BucketBackupRestoreResponse, (request) => {
}, space_pb_1.DeleteAccountResponse.deserializeBinary);
this.methodInfoToggleBucketBackup = new grpcWeb.AbstractClientBase.MethodInfo(space_pb_1.ToggleBucketBackupResponse, (request) => {
return request.serializeBinary();
}, space_pb.BucketBackupRestoreResponse.deserializeBinary);
this.methodInfoGetUsageInfo = new grpcWeb.AbstractClientBase.MethodInfo(space_pb.GetUsageInfoResponse, (request) => {
}, space_pb_1.ToggleBucketBackupResponse.deserializeBinary);
this.methodInfoBucketBackupRestore = new grpcWeb.AbstractClientBase.MethodInfo(space_pb_1.BucketBackupRestoreResponse, (request) => {
return request.serializeBinary();
}, space_pb.GetUsageInfoResponse.deserializeBinary);
this.methodInfoGetAPISessionTokens = new grpcWeb.AbstractClientBase.MethodInfo(space_pb.GetAPISessionTokensResponse, (request) => {
}, space_pb_1.BucketBackupRestoreResponse.deserializeBinary);
this.methodInfoGetUsageInfo = new grpcWeb.AbstractClientBase.MethodInfo(space_pb_1.GetUsageInfoResponse, (request) => {
return request.serializeBinary();
}, space_pb.GetAPISessionTokensResponse.deserializeBinary);
this.methodInfoGetRecentlySharedWith = new grpcWeb.AbstractClientBase.MethodInfo(space_pb.GetRecentlySharedWithResponse, (request) => {
}, space_pb_1.GetUsageInfoResponse.deserializeBinary);
this.methodInfoGetAPISessionTokens = new grpcWeb.AbstractClientBase.MethodInfo(space_pb_1.GetAPISessionTokensResponse, (request) => {
return request.serializeBinary();
}, space_pb.GetRecentlySharedWithResponse.deserializeBinary);
this.methodInfoSetNotificationsLastSeenAt = new grpcWeb.AbstractClientBase.MethodInfo(space_pb.SetNotificationsLastSeenAtResponse, (request) => {
}, space_pb_1.GetAPISessionTokensResponse.deserializeBinary);
this.methodInfoGetRecentlySharedWith = new grpcWeb.AbstractClientBase.MethodInfo(space_pb_1.GetRecentlySharedWithResponse, (request) => {
return request.serializeBinary();
}, space_pb.SetNotificationsLastSeenAtResponse.deserializeBinary);
this.methodInfoSearchFiles = new grpcWeb.AbstractClientBase.MethodInfo(space_pb.SearchFilesResponse, (request) => {
}, space_pb_1.GetRecentlySharedWithResponse.deserializeBinary);
this.methodInfoSetNotificationsLastSeenAt = new grpcWeb.AbstractClientBase.MethodInfo(space_pb_1.SetNotificationsLastSeenAtResponse, (request) => {
return request.serializeBinary();
}, space_pb.SearchFilesResponse.deserializeBinary);
this.methodInfoInitializeMasterAppToken = new grpcWeb.AbstractClientBase.MethodInfo(space_pb.InitializeMasterAppTokenResponse, (request) => {
}, space_pb_1.SetNotificationsLastSeenAtResponse.deserializeBinary);
this.methodInfoSearchFiles = new grpcWeb.AbstractClientBase.MethodInfo(space_pb_1.SearchFilesResponse, (request) => {
return request.serializeBinary();
}, space_pb.InitializeMasterAppTokenResponse.deserializeBinary);
this.methodInfoGenerateAppToken = new grpcWeb.AbstractClientBase.MethodInfo(space_pb.GenerateAppTokenResponse, (request) => {
}, space_pb_1.SearchFilesResponse.deserializeBinary);
this.methodInfoInitializeMasterAppToken = new grpcWeb.AbstractClientBase.MethodInfo(space_pb_1.InitializeMasterAppTokenResponse, (request) => {
return request.serializeBinary();
}, space_pb.GenerateAppTokenResponse.deserializeBinary);
}, space_pb_1.InitializeMasterAppTokenResponse.deserializeBinary);
this.methodInfoGenerateAppToken = new grpcWeb.AbstractClientBase.MethodInfo(space_pb_1.GenerateAppTokenResponse, (request) => {
return request.serializeBinary();
}, space_pb_1.GenerateAppTokenResponse.deserializeBinary);
if (!options)

@@ -180,4 +183,3 @@ options = {};

if (callback !== undefined) {
return this.client_.rpcCall(this.hostname_ +
'/space.SpaceApi/ListDirectories', request, metadata || {}, this.methodInfoListDirectories, callback);
return this.client_.rpcCall(new URL('/space.SpaceApi/ListDirectories', this.hostname_).toString(), request, metadata || {}, this.methodInfoListDirectories, callback);
}

@@ -189,4 +191,3 @@ return this.client_.unaryCall(this.hostname_ +

if (callback !== undefined) {
return this.client_.rpcCall(this.hostname_ +
'/space.SpaceApi/ListDirectory', request, metadata || {}, this.methodInfoListDirectory, callback);
return this.client_.rpcCall(new URL('/space.SpaceApi/ListDirectory', this.hostname_).toString(), request, metadata || {}, this.methodInfoListDirectory, callback);
}

@@ -198,4 +199,3 @@ return this.client_.unaryCall(this.hostname_ +

if (callback !== undefined) {
return this.client_.rpcCall(this.hostname_ +
'/space.SpaceApi/GenerateKeyPair', request, metadata || {}, this.methodInfoGenerateKeyPair, callback);
return this.client_.rpcCall(new URL('/space.SpaceApi/GenerateKeyPair', this.hostname_).toString(), request, metadata || {}, this.methodInfoGenerateKeyPair, callback);
}

@@ -207,4 +207,3 @@ return this.client_.unaryCall(this.hostname_ +

if (callback !== undefined) {
return this.client_.rpcCall(this.hostname_ +
'/space.SpaceApi/GetStoredMnemonic', request, metadata || {}, this.methodInfoGetStoredMnemonic, callback);
return this.client_.rpcCall(new URL('/space.SpaceApi/GetStoredMnemonic', this.hostname_).toString(), request, metadata || {}, this.methodInfoGetStoredMnemonic, callback);
}

@@ -216,4 +215,3 @@ return this.client_.unaryCall(this.hostname_ +

if (callback !== undefined) {
return this.client_.rpcCall(this.hostname_ +
'/space.SpaceApi/RestoreKeyPairViaMnemonic', request, metadata || {}, this.methodInfoRestoreKeyPairViaMnemonic, callback);
return this.client_.rpcCall(new URL('/space.SpaceApi/RestoreKeyPairViaMnemonic', this.hostname_).toString(), request, metadata || {}, this.methodInfoRestoreKeyPairViaMnemonic, callback);
}

@@ -225,4 +223,3 @@ return this.client_.unaryCall(this.hostname_ +

if (callback !== undefined) {
return this.client_.rpcCall(this.hostname_ +
'/space.SpaceApi/DeleteKeyPair', request, metadata || {}, this.methodInfoDeleteKeyPair, callback);
return this.client_.rpcCall(new URL('/space.SpaceApi/DeleteKeyPair', this.hostname_).toString(), request, metadata || {}, this.methodInfoDeleteKeyPair, callback);
}

@@ -234,4 +231,3 @@ return this.client_.unaryCall(this.hostname_ +

if (callback !== undefined) {
return this.client_.rpcCall(this.hostname_ +
'/space.SpaceApi/GenerateKeyPairWithForce', request, metadata || {}, this.methodInfoGenerateKeyPairWithForce, callback);
return this.client_.rpcCall(new URL('/space.SpaceApi/GenerateKeyPairWithForce', this.hostname_).toString(), request, metadata || {}, this.methodInfoGenerateKeyPairWithForce, callback);
}

@@ -243,4 +239,3 @@ return this.client_.unaryCall(this.hostname_ +

if (callback !== undefined) {
return this.client_.rpcCall(this.hostname_ +
'/space.SpaceApi/GetPublicKey', request, metadata || {}, this.methodInfoGetPublicKey, callback);
return this.client_.rpcCall(new URL('/space.SpaceApi/GetPublicKey', this.hostname_).toString(), request, metadata || {}, this.methodInfoGetPublicKey, callback);
}

@@ -251,13 +246,10 @@ return this.client_.unaryCall(this.hostname_ +

subscribe(request, metadata) {
return this.client_.serverStreaming(this.hostname_ +
'/space.SpaceApi/Subscribe', request, metadata || {}, this.methodInfoSubscribe);
return this.client_.serverStreaming(new URL('/space.SpaceApi/Subscribe', this.hostname_).toString(), request, metadata || {}, this.methodInfoSubscribe);
}
txlSubscribe(request, metadata) {
return this.client_.serverStreaming(this.hostname_ +
'/space.SpaceApi/TxlSubscribe', request, metadata || {}, this.methodInfoTxlSubscribe);
return this.client_.serverStreaming(new URL('/space.SpaceApi/TxlSubscribe', this.hostname_).toString(), request, metadata || {}, this.methodInfoTxlSubscribe);
}
openFile(request, metadata, callback) {
if (callback !== undefined) {
return this.client_.rpcCall(this.hostname_ +
'/space.SpaceApi/OpenFile', request, metadata || {}, this.methodInfoOpenFile, callback);
return this.client_.rpcCall(new URL('/space.SpaceApi/OpenFile', this.hostname_).toString(), request, metadata || {}, this.methodInfoOpenFile, callback);
}

@@ -269,4 +261,3 @@ return this.client_.unaryCall(this.hostname_ +

if (callback !== undefined) {
return this.client_.rpcCall(this.hostname_ +
'/space.SpaceApi/RemoveDirOrFile', request, metadata || {}, this.methodInfoRemoveDirOrFile, callback);
return this.client_.rpcCall(new URL('/space.SpaceApi/RemoveDirOrFile', this.hostname_).toString(), request, metadata || {}, this.methodInfoRemoveDirOrFile, callback);
}

@@ -278,4 +269,3 @@ return this.client_.unaryCall(this.hostname_ +

if (callback !== undefined) {
return this.client_.rpcCall(this.hostname_ +
'/space.SpaceApi/GeneratePublicFileLink', request, metadata || {}, this.methodInfoGeneratePublicFileLink, callback);
return this.client_.rpcCall(new URL('/space.SpaceApi/GeneratePublicFileLink', this.hostname_).toString(), request, metadata || {}, this.methodInfoGeneratePublicFileLink, callback);
}

@@ -287,4 +277,3 @@ return this.client_.unaryCall(this.hostname_ +

if (callback !== undefined) {
return this.client_.rpcCall(this.hostname_ +
'/space.SpaceApi/GetSharedWithMeFiles', request, metadata || {}, this.methodInfoGetSharedWithMeFiles, callback);
return this.client_.rpcCall(new URL('/space.SpaceApi/GetSharedWithMeFiles', this.hostname_).toString(), request, metadata || {}, this.methodInfoGetSharedWithMeFiles, callback);
}

@@ -296,4 +285,3 @@ return this.client_.unaryCall(this.hostname_ +

if (callback !== undefined) {
return this.client_.rpcCall(this.hostname_ +
'/space.SpaceApi/GetSharedByMeFiles', request, metadata || {}, this.methodInfoGetSharedByMeFiles, callback);
return this.client_.rpcCall(new URL('/space.SpaceApi/GetSharedByMeFiles', this.hostname_).toString(), request, metadata || {}, this.methodInfoGetSharedByMeFiles, callback);
}

@@ -305,4 +293,3 @@ return this.client_.unaryCall(this.hostname_ +

if (callback !== undefined) {
return this.client_.rpcCall(this.hostname_ +
'/space.SpaceApi/OpenPublicFile', request, metadata || {}, this.methodInfoOpenPublicFile, callback);
return this.client_.rpcCall(new URL('/space.SpaceApi/OpenPublicFile', this.hostname_).toString(), request, metadata || {}, this.methodInfoOpenPublicFile, callback);
}

@@ -313,9 +300,7 @@ return this.client_.unaryCall(this.hostname_ +

addItems(request, metadata) {
return this.client_.serverStreaming(this.hostname_ +
'/space.SpaceApi/AddItems', request, metadata || {}, this.methodInfoAddItems);
return this.client_.serverStreaming(new URL('/space.SpaceApi/AddItems', this.hostname_).toString(), request, metadata || {}, this.methodInfoAddItems);
}
createFolder(request, metadata, callback) {
if (callback !== undefined) {
return this.client_.rpcCall(this.hostname_ +
'/space.SpaceApi/CreateFolder', request, metadata || {}, this.methodInfoCreateFolder, callback);
return this.client_.rpcCall(new URL('/space.SpaceApi/CreateFolder', this.hostname_).toString(), request, metadata || {}, this.methodInfoCreateFolder, callback);
}

@@ -327,4 +312,3 @@ return this.client_.unaryCall(this.hostname_ +

if (callback !== undefined) {
return this.client_.rpcCall(this.hostname_ +
'/space.SpaceApi/ToggleFuseDrive', request, metadata || {}, this.methodInfoToggleFuseDrive, callback);
return this.client_.rpcCall(new URL('/space.SpaceApi/ToggleFuseDrive', this.hostname_).toString(), request, metadata || {}, this.methodInfoToggleFuseDrive, callback);
}

@@ -336,4 +320,3 @@ return this.client_.unaryCall(this.hostname_ +

if (callback !== undefined) {
return this.client_.rpcCall(this.hostname_ +
'/space.SpaceApi/GetFuseDriveStatus', request, metadata || {}, this.methodInfoGetFuseDriveStatus, callback);
return this.client_.rpcCall(new URL('/space.SpaceApi/GetFuseDriveStatus', this.hostname_).toString(), request, metadata || {}, this.methodInfoGetFuseDriveStatus, callback);
}

@@ -345,4 +328,3 @@ return this.client_.unaryCall(this.hostname_ +

if (callback !== undefined) {
return this.client_.rpcCall(this.hostname_ +
'/space.SpaceApi/CreateBucket', request, metadata || {}, this.methodInfoCreateBucket, callback);
return this.client_.rpcCall(new URL('/space.SpaceApi/CreateBucket', this.hostname_).toString(), request, metadata || {}, this.methodInfoCreateBucket, callback);
}

@@ -354,4 +336,3 @@ return this.client_.unaryCall(this.hostname_ +

if (callback !== undefined) {
return this.client_.rpcCall(this.hostname_ +
'/space.SpaceApi/BackupKeysByPassphrase', request, metadata || {}, this.methodInfoBackupKeysByPassphrase, callback);
return this.client_.rpcCall(new URL('/space.SpaceApi/BackupKeysByPassphrase', this.hostname_).toString(), request, metadata || {}, this.methodInfoBackupKeysByPassphrase, callback);
}

@@ -363,4 +344,3 @@ return this.client_.unaryCall(this.hostname_ +

if (callback !== undefined) {
return this.client_.rpcCall(this.hostname_ +
'/space.SpaceApi/RecoverKeysByPassphrase', request, metadata || {}, this.methodInfoRecoverKeysByPassphrase, callback);
return this.client_.rpcCall(new URL('/space.SpaceApi/RecoverKeysByPassphrase', this.hostname_).toString(), request, metadata || {}, this.methodInfoRecoverKeysByPassphrase, callback);
}

@@ -372,4 +352,3 @@ return this.client_.unaryCall(this.hostname_ +

if (callback !== undefined) {
return this.client_.rpcCall(this.hostname_ +
'/space.SpaceApi/TestKeysPassphrase', request, metadata || {}, this.methodInfoTestKeysPassphrase, callback);
return this.client_.rpcCall(new URL('/space.SpaceApi/TestKeysPassphrase', this.hostname_).toString(), request, metadata || {}, this.methodInfoTestKeysPassphrase, callback);
}

@@ -381,4 +360,3 @@ return this.client_.unaryCall(this.hostname_ +

if (callback !== undefined) {
return this.client_.rpcCall(this.hostname_ +
'/space.SpaceApi/CreateLocalKeysBackup', request, metadata || {}, this.methodInfoCreateLocalKeysBackup, callback);
return this.client_.rpcCall(new URL('/space.SpaceApi/CreateLocalKeysBackup', this.hostname_).toString(), request, metadata || {}, this.methodInfoCreateLocalKeysBackup, callback);
}

@@ -390,4 +368,3 @@ return this.client_.unaryCall(this.hostname_ +

if (callback !== undefined) {
return this.client_.rpcCall(this.hostname_ +
'/space.SpaceApi/RecoverKeysByLocalBackup', request, metadata || {}, this.methodInfoRecoverKeysByLocalBackup, callback);
return this.client_.rpcCall(new URL('/space.SpaceApi/RecoverKeysByLocalBackup', this.hostname_).toString(), request, metadata || {}, this.methodInfoRecoverKeysByLocalBackup, callback);
}

@@ -399,4 +376,3 @@ return this.client_.unaryCall(this.hostname_ +

if (callback !== undefined) {
return this.client_.rpcCall(this.hostname_ +
'/space.SpaceApi/ShareBucket', request, metadata || {}, this.methodInfoShareBucket, callback);
return this.client_.rpcCall(new URL('/space.SpaceApi/ShareBucket', this.hostname_).toString(), request, metadata || {}, this.methodInfoShareBucket, callback);
}

@@ -408,4 +384,3 @@ return this.client_.unaryCall(this.hostname_ +

if (callback !== undefined) {
return this.client_.rpcCall(this.hostname_ +
'/space.SpaceApi/JoinBucket', request, metadata || {}, this.methodInfoJoinBucket, callback);
return this.client_.rpcCall(new URL('/space.SpaceApi/JoinBucket', this.hostname_).toString(), request, metadata || {}, this.methodInfoJoinBucket, callback);
}

@@ -417,4 +392,3 @@ return this.client_.unaryCall(this.hostname_ +

if (callback !== undefined) {
return this.client_.rpcCall(this.hostname_ +
'/space.SpaceApi/ShareFilesViaPublicKey', request, metadata || {}, this.methodInfoShareFilesViaPublicKey, callback);
return this.client_.rpcCall(new URL('/space.SpaceApi/ShareFilesViaPublicKey', this.hostname_).toString(), request, metadata || {}, this.methodInfoShareFilesViaPublicKey, callback);
}

@@ -424,6 +398,12 @@ return this.client_.unaryCall(this.hostname_ +

}
unshareFilesViaPublicKey(request, metadata, callback) {
if (callback !== undefined) {
return this.client_.rpcCall(new URL('/space.SpaceApi/UnshareFilesViaPublicKey', this.hostname_).toString(), request, metadata || {}, this.methodInfoUnshareFilesViaPublicKey, callback);
}
return this.client_.unaryCall(this.hostname_ +
'/space.SpaceApi/UnshareFilesViaPublicKey', request, metadata || {}, this.methodInfoUnshareFilesViaPublicKey);
}
handleFilesInvitation(request, metadata, callback) {
if (callback !== undefined) {
return this.client_.rpcCall(this.hostname_ +
'/space.SpaceApi/HandleFilesInvitation', request, metadata || {}, this.methodInfoHandleFilesInvitation, callback);
return this.client_.rpcCall(new URL('/space.SpaceApi/HandleFilesInvitation', this.hostname_).toString(), request, metadata || {}, this.methodInfoHandleFilesInvitation, callback);
}

@@ -434,9 +414,7 @@ return this.client_.unaryCall(this.hostname_ +

notificationSubscribe(request, metadata) {
return this.client_.serverStreaming(this.hostname_ +
'/space.SpaceApi/NotificationSubscribe', request, metadata || {}, this.methodInfoNotificationSubscribe);
return this.client_.serverStreaming(new URL('/space.SpaceApi/NotificationSubscribe', this.hostname_).toString(), request, metadata || {}, this.methodInfoNotificationSubscribe);
}
listBuckets(request, metadata, callback) {
if (callback !== undefined) {
return this.client_.rpcCall(this.hostname_ +
'/space.SpaceApi/ListBuckets', request, metadata || {}, this.methodInfoListBuckets, callback);
return this.client_.rpcCall(new URL('/space.SpaceApi/ListBuckets', this.hostname_).toString(), request, metadata || {}, this.methodInfoListBuckets, callback);
}

@@ -448,4 +426,3 @@ return this.client_.unaryCall(this.hostname_ +

if (callback !== undefined) {
return this.client_.rpcCall(this.hostname_ +
'/space.SpaceApi/GetNotifications', request, metadata || {}, this.methodInfoGetNotifications, callback);
return this.client_.rpcCall(new URL('/space.SpaceApi/GetNotifications', this.hostname_).toString(), request, metadata || {}, this.methodInfoGetNotifications, callback);
}

@@ -457,4 +434,3 @@ return this.client_.unaryCall(this.hostname_ +

if (callback !== undefined) {
return this.client_.rpcCall(this.hostname_ +
'/space.SpaceApi/ReadNotification', request, metadata || {}, this.methodInfoReadNotification, callback);
return this.client_.rpcCall(new URL('/space.SpaceApi/ReadNotification', this.hostname_).toString(), request, metadata || {}, this.methodInfoReadNotification, callback);
}

@@ -466,4 +442,3 @@ return this.client_.unaryCall(this.hostname_ +

if (callback !== undefined) {
return this.client_.rpcCall(this.hostname_ +
'/space.SpaceApi/DeleteAccount', request, metadata || {}, this.methodInfoDeleteAccount, callback);
return this.client_.rpcCall(new URL('/space.SpaceApi/DeleteAccount', this.hostname_).toString(), request, metadata || {}, this.methodInfoDeleteAccount, callback);
}

@@ -475,4 +450,3 @@ return this.client_.unaryCall(this.hostname_ +

if (callback !== undefined) {
return this.client_.rpcCall(this.hostname_ +
'/space.SpaceApi/ToggleBucketBackup', request, metadata || {}, this.methodInfoToggleBucketBackup, callback);
return this.client_.rpcCall(new URL('/space.SpaceApi/ToggleBucketBackup', this.hostname_).toString(), request, metadata || {}, this.methodInfoToggleBucketBackup, callback);
}

@@ -484,4 +458,3 @@ return this.client_.unaryCall(this.hostname_ +

if (callback !== undefined) {
return this.client_.rpcCall(this.hostname_ +
'/space.SpaceApi/BucketBackupRestore', request, metadata || {}, this.methodInfoBucketBackupRestore, callback);
return this.client_.rpcCall(new URL('/space.SpaceApi/BucketBackupRestore', this.hostname_).toString(), request, metadata || {}, this.methodInfoBucketBackupRestore, callback);
}

@@ -493,4 +466,3 @@ return this.client_.unaryCall(this.hostname_ +

if (callback !== undefined) {
return this.client_.rpcCall(this.hostname_ +
'/space.SpaceApi/GetUsageInfo', request, metadata || {}, this.methodInfoGetUsageInfo, callback);
return this.client_.rpcCall(new URL('/space.SpaceApi/GetUsageInfo', this.hostname_).toString(), request, metadata || {}, this.methodInfoGetUsageInfo, callback);
}

@@ -502,4 +474,3 @@ return this.client_.unaryCall(this.hostname_ +

if (callback !== undefined) {
return this.client_.rpcCall(this.hostname_ +
'/space.SpaceApi/GetAPISessionTokens', request, metadata || {}, this.methodInfoGetAPISessionTokens, callback);
return this.client_.rpcCall(new URL('/space.SpaceApi/GetAPISessionTokens', this.hostname_).toString(), request, metadata || {}, this.methodInfoGetAPISessionTokens, callback);
}

@@ -511,4 +482,3 @@ return this.client_.unaryCall(this.hostname_ +

if (callback !== undefined) {
return this.client_.rpcCall(this.hostname_ +
'/space.SpaceApi/GetRecentlySharedWith', request, metadata || {}, this.methodInfoGetRecentlySharedWith, callback);
return this.client_.rpcCall(new URL('/space.SpaceApi/GetRecentlySharedWith', this.hostname_).toString(), request, metadata || {}, this.methodInfoGetRecentlySharedWith, callback);
}

@@ -520,4 +490,3 @@ return this.client_.unaryCall(this.hostname_ +

if (callback !== undefined) {
return this.client_.rpcCall(this.hostname_ +
'/space.SpaceApi/SetNotificationsLastSeenAt', request, metadata || {}, this.methodInfoSetNotificationsLastSeenAt, callback);
return this.client_.rpcCall(new URL('/space.SpaceApi/SetNotificationsLastSeenAt', this.hostname_).toString(), request, metadata || {}, this.methodInfoSetNotificationsLastSeenAt, callback);
}

@@ -529,4 +498,3 @@ return this.client_.unaryCall(this.hostname_ +

if (callback !== undefined) {
return this.client_.rpcCall(this.hostname_ +
'/space.SpaceApi/SearchFiles', request, metadata || {}, this.methodInfoSearchFiles, callback);
return this.client_.rpcCall(new URL('/space.SpaceApi/SearchFiles', this.hostname_).toString(), request, metadata || {}, this.methodInfoSearchFiles, callback);
}

@@ -538,4 +506,3 @@ return this.client_.unaryCall(this.hostname_ +

if (callback !== undefined) {
return this.client_.rpcCall(this.hostname_ +
'/space.SpaceApi/InitializeMasterAppToken', request, metadata || {}, this.methodInfoInitializeMasterAppToken, callback);
return this.client_.rpcCall(new URL('/space.SpaceApi/InitializeMasterAppToken', this.hostname_).toString(), request, metadata || {}, this.methodInfoInitializeMasterAppToken, callback);
}

@@ -547,4 +514,3 @@ return this.client_.unaryCall(this.hostname_ +

if (callback !== undefined) {
return this.client_.rpcCall(this.hostname_ +
'/space.SpaceApi/GenerateAppToken', request, metadata || {}, this.methodInfoGenerateAppToken, callback);
return this.client_.rpcCall(new URL('/space.SpaceApi/GenerateAppToken', this.hostname_).toString(), request, metadata || {}, this.methodInfoGenerateAppToken, callback);
}

@@ -551,0 +517,0 @@ return this.client_.unaryCall(this.hostname_ +

@@ -10,137 +10,140 @@ /**

import * as grpcWeb from 'grpc-web';
import * as space_pb from './space_pb';
import { AddItemsResponse, BackupKeysByPassphraseResponse, BucketBackupRestoreResponse, CreateBucketResponse, CreateFolderResponse, CreateLocalKeysBackupResponse, DeleteAccountResponse, DeleteKeyPairResponse, FileEventResponse, FuseDriveResponse, GenerateAppTokenResponse, GenerateKeyPairResponse, GeneratePublicFileLinkResponse, GetAPISessionTokensResponse, GetNotificationsResponse, GetPublicKeyResponse, GetRecentlySharedWithResponse, GetSharedByMeFilesResponse, GetSharedWithMeFilesResponse, GetStoredMnemonicResponse, GetUsageInfoResponse, HandleFilesInvitationResponse, InitializeMasterAppTokenResponse, JoinBucketResponse, ListBucketsResponse, ListDirectoriesResponse, ListDirectoryResponse, NotificationEventResponse, OpenFileResponse, OpenPublicFileResponse, ReadNotificationResponse, RecoverKeysByLocalBackupResponse, RecoverKeysByPassphraseResponse, RemoveDirOrFileResponse, RestoreKeyPairViaMnemonicResponse, SearchFilesResponse, SetNotificationsLastSeenAtResponse, ShareBucketResponse, ShareFilesViaPublicKeyResponse, TestKeysPassphraseResponse, TextileEventResponse, ToggleBucketBackupResponse, UnshareFilesViaPublicKeyResponse } from './space_pb';
var SpaceApiClient = /** @class */ (function () {
function SpaceApiClient(hostname, credentials, options) {
this.methodInfoListDirectories = new grpcWeb.AbstractClientBase.MethodInfo(space_pb.ListDirectoriesResponse, function (request) {
this.methodInfoListDirectories = new grpcWeb.AbstractClientBase.MethodInfo(ListDirectoriesResponse, function (request) {
return request.serializeBinary();
}, space_pb.ListDirectoriesResponse.deserializeBinary);
this.methodInfoListDirectory = new grpcWeb.AbstractClientBase.MethodInfo(space_pb.ListDirectoryResponse, function (request) {
}, ListDirectoriesResponse.deserializeBinary);
this.methodInfoListDirectory = new grpcWeb.AbstractClientBase.MethodInfo(ListDirectoryResponse, function (request) {
return request.serializeBinary();
}, space_pb.ListDirectoryResponse.deserializeBinary);
this.methodInfoGenerateKeyPair = new grpcWeb.AbstractClientBase.MethodInfo(space_pb.GenerateKeyPairResponse, function (request) {
}, ListDirectoryResponse.deserializeBinary);
this.methodInfoGenerateKeyPair = new grpcWeb.AbstractClientBase.MethodInfo(GenerateKeyPairResponse, function (request) {
return request.serializeBinary();
}, space_pb.GenerateKeyPairResponse.deserializeBinary);
this.methodInfoGetStoredMnemonic = new grpcWeb.AbstractClientBase.MethodInfo(space_pb.GetStoredMnemonicResponse, function (request) {
}, GenerateKeyPairResponse.deserializeBinary);
this.methodInfoGetStoredMnemonic = new grpcWeb.AbstractClientBase.MethodInfo(GetStoredMnemonicResponse, function (request) {
return request.serializeBinary();
}, space_pb.GetStoredMnemonicResponse.deserializeBinary);
this.methodInfoRestoreKeyPairViaMnemonic = new grpcWeb.AbstractClientBase.MethodInfo(space_pb.RestoreKeyPairViaMnemonicResponse, function (request) {
}, GetStoredMnemonicResponse.deserializeBinary);
this.methodInfoRestoreKeyPairViaMnemonic = new grpcWeb.AbstractClientBase.MethodInfo(RestoreKeyPairViaMnemonicResponse, function (request) {
return request.serializeBinary();
}, space_pb.RestoreKeyPairViaMnemonicResponse.deserializeBinary);
this.methodInfoDeleteKeyPair = new grpcWeb.AbstractClientBase.MethodInfo(space_pb.DeleteKeyPairResponse, function (request) {
}, RestoreKeyPairViaMnemonicResponse.deserializeBinary);
this.methodInfoDeleteKeyPair = new grpcWeb.AbstractClientBase.MethodInfo(DeleteKeyPairResponse, function (request) {
return request.serializeBinary();
}, space_pb.DeleteKeyPairResponse.deserializeBinary);
this.methodInfoGenerateKeyPairWithForce = new grpcWeb.AbstractClientBase.MethodInfo(space_pb.GenerateKeyPairResponse, function (request) {
}, DeleteKeyPairResponse.deserializeBinary);
this.methodInfoGenerateKeyPairWithForce = new grpcWeb.AbstractClientBase.MethodInfo(GenerateKeyPairResponse, function (request) {
return request.serializeBinary();
}, space_pb.GenerateKeyPairResponse.deserializeBinary);
this.methodInfoGetPublicKey = new grpcWeb.AbstractClientBase.MethodInfo(space_pb.GetPublicKeyResponse, function (request) {
}, GenerateKeyPairResponse.deserializeBinary);
this.methodInfoGetPublicKey = new grpcWeb.AbstractClientBase.MethodInfo(GetPublicKeyResponse, function (request) {
return request.serializeBinary();
}, space_pb.GetPublicKeyResponse.deserializeBinary);
this.methodInfoSubscribe = new grpcWeb.AbstractClientBase.MethodInfo(space_pb.FileEventResponse, function (request) {
}, GetPublicKeyResponse.deserializeBinary);
this.methodInfoSubscribe = new grpcWeb.AbstractClientBase.MethodInfo(FileEventResponse, function (request) {
return request.serializeBinary();
}, space_pb.FileEventResponse.deserializeBinary);
this.methodInfoTxlSubscribe = new grpcWeb.AbstractClientBase.MethodInfo(space_pb.TextileEventResponse, function (request) {
}, FileEventResponse.deserializeBinary);
this.methodInfoTxlSubscribe = new grpcWeb.AbstractClientBase.MethodInfo(TextileEventResponse, function (request) {
return request.serializeBinary();
}, space_pb.TextileEventResponse.deserializeBinary);
this.methodInfoOpenFile = new grpcWeb.AbstractClientBase.MethodInfo(space_pb.OpenFileResponse, function (request) {
}, TextileEventResponse.deserializeBinary);
this.methodInfoOpenFile = new grpcWeb.AbstractClientBase.MethodInfo(OpenFileResponse, function (request) {
return request.serializeBinary();
}, space_pb.OpenFileResponse.deserializeBinary);
this.methodInfoRemoveDirOrFile = new grpcWeb.AbstractClientBase.MethodInfo(space_pb.RemoveDirOrFileResponse, function (request) {
}, OpenFileResponse.deserializeBinary);
this.methodInfoRemoveDirOrFile = new grpcWeb.AbstractClientBase.MethodInfo(RemoveDirOrFileResponse, function (request) {
return request.serializeBinary();
}, space_pb.RemoveDirOrFileResponse.deserializeBinary);
this.methodInfoGeneratePublicFileLink = new grpcWeb.AbstractClientBase.MethodInfo(space_pb.GeneratePublicFileLinkResponse, function (request) {
}, RemoveDirOrFileResponse.deserializeBinary);
this.methodInfoGeneratePublicFileLink = new grpcWeb.AbstractClientBase.MethodInfo(GeneratePublicFileLinkResponse, function (request) {
return request.serializeBinary();
}, space_pb.GeneratePublicFileLinkResponse.deserializeBinary);
this.methodInfoGetSharedWithMeFiles = new grpcWeb.AbstractClientBase.MethodInfo(space_pb.GetSharedWithMeFilesResponse, function (request) {
}, GeneratePublicFileLinkResponse.deserializeBinary);
this.methodInfoGetSharedWithMeFiles = new grpcWeb.AbstractClientBase.MethodInfo(GetSharedWithMeFilesResponse, function (request) {
return request.serializeBinary();
}, space_pb.GetSharedWithMeFilesResponse.deserializeBinary);
this.methodInfoGetSharedByMeFiles = new grpcWeb.AbstractClientBase.MethodInfo(space_pb.GetSharedByMeFilesResponse, function (request) {
}, GetSharedWithMeFilesResponse.deserializeBinary);
this.methodInfoGetSharedByMeFiles = new grpcWeb.AbstractClientBase.MethodInfo(GetSharedByMeFilesResponse, function (request) {
return request.serializeBinary();
}, space_pb.GetSharedByMeFilesResponse.deserializeBinary);
this.methodInfoOpenPublicFile = new grpcWeb.AbstractClientBase.MethodInfo(space_pb.OpenPublicFileResponse, function (request) {
}, GetSharedByMeFilesResponse.deserializeBinary);
this.methodInfoOpenPublicFile = new grpcWeb.AbstractClientBase.MethodInfo(OpenPublicFileResponse, function (request) {
return request.serializeBinary();
}, space_pb.OpenPublicFileResponse.deserializeBinary);
this.methodInfoAddItems = new grpcWeb.AbstractClientBase.MethodInfo(space_pb.AddItemsResponse, function (request) {
}, OpenPublicFileResponse.deserializeBinary);
this.methodInfoAddItems = new grpcWeb.AbstractClientBase.MethodInfo(AddItemsResponse, function (request) {
return request.serializeBinary();
}, space_pb.AddItemsResponse.deserializeBinary);
this.methodInfoCreateFolder = new grpcWeb.AbstractClientBase.MethodInfo(space_pb.CreateFolderResponse, function (request) {
}, AddItemsResponse.deserializeBinary);
this.methodInfoCreateFolder = new grpcWeb.AbstractClientBase.MethodInfo(CreateFolderResponse, function (request) {
return request.serializeBinary();
}, space_pb.CreateFolderResponse.deserializeBinary);
this.methodInfoToggleFuseDrive = new grpcWeb.AbstractClientBase.MethodInfo(space_pb.FuseDriveResponse, function (request) {
}, CreateFolderResponse.deserializeBinary);
this.methodInfoToggleFuseDrive = new grpcWeb.AbstractClientBase.MethodInfo(FuseDriveResponse, function (request) {
return request.serializeBinary();
}, space_pb.FuseDriveResponse.deserializeBinary);
this.methodInfoGetFuseDriveStatus = new grpcWeb.AbstractClientBase.MethodInfo(space_pb.FuseDriveResponse, function (request) {
}, FuseDriveResponse.deserializeBinary);
this.methodInfoGetFuseDriveStatus = new grpcWeb.AbstractClientBase.MethodInfo(FuseDriveResponse, function (request) {
return request.serializeBinary();
}, space_pb.FuseDriveResponse.deserializeBinary);
this.methodInfoCreateBucket = new grpcWeb.AbstractClientBase.MethodInfo(space_pb.CreateBucketResponse, function (request) {
}, FuseDriveResponse.deserializeBinary);
this.methodInfoCreateBucket = new grpcWeb.AbstractClientBase.MethodInfo(CreateBucketResponse, function (request) {
return request.serializeBinary();
}, space_pb.CreateBucketResponse.deserializeBinary);
this.methodInfoBackupKeysByPassphrase = new grpcWeb.AbstractClientBase.MethodInfo(space_pb.BackupKeysByPassphraseResponse, function (request) {
}, CreateBucketResponse.deserializeBinary);
this.methodInfoBackupKeysByPassphrase = new grpcWeb.AbstractClientBase.MethodInfo(BackupKeysByPassphraseResponse, function (request) {
return request.serializeBinary();
}, space_pb.BackupKeysByPassphraseResponse.deserializeBinary);
this.methodInfoRecoverKeysByPassphrase = new grpcWeb.AbstractClientBase.MethodInfo(space_pb.RecoverKeysByPassphraseResponse, function (request) {
}, BackupKeysByPassphraseResponse.deserializeBinary);
this.methodInfoRecoverKeysByPassphrase = new grpcWeb.AbstractClientBase.MethodInfo(RecoverKeysByPassphraseResponse, function (request) {
return request.serializeBinary();
}, space_pb.RecoverKeysByPassphraseResponse.deserializeBinary);
this.methodInfoTestKeysPassphrase = new grpcWeb.AbstractClientBase.MethodInfo(space_pb.TestKeysPassphraseResponse, function (request) {
}, RecoverKeysByPassphraseResponse.deserializeBinary);
this.methodInfoTestKeysPassphrase = new grpcWeb.AbstractClientBase.MethodInfo(TestKeysPassphraseResponse, function (request) {
return request.serializeBinary();
}, space_pb.TestKeysPassphraseResponse.deserializeBinary);
this.methodInfoCreateLocalKeysBackup = new grpcWeb.AbstractClientBase.MethodInfo(space_pb.CreateLocalKeysBackupResponse, function (request) {
}, TestKeysPassphraseResponse.deserializeBinary);
this.methodInfoCreateLocalKeysBackup = new grpcWeb.AbstractClientBase.MethodInfo(CreateLocalKeysBackupResponse, function (request) {
return request.serializeBinary();
}, space_pb.CreateLocalKeysBackupResponse.deserializeBinary);
this.methodInfoRecoverKeysByLocalBackup = new grpcWeb.AbstractClientBase.MethodInfo(space_pb.RecoverKeysByLocalBackupResponse, function (request) {
}, CreateLocalKeysBackupResponse.deserializeBinary);
this.methodInfoRecoverKeysByLocalBackup = new grpcWeb.AbstractClientBase.MethodInfo(RecoverKeysByLocalBackupResponse, function (request) {
return request.serializeBinary();
}, space_pb.RecoverKeysByLocalBackupResponse.deserializeBinary);
this.methodInfoShareBucket = new grpcWeb.AbstractClientBase.MethodInfo(space_pb.ShareBucketResponse, function (request) {
}, RecoverKeysByLocalBackupResponse.deserializeBinary);
this.methodInfoShareBucket = new grpcWeb.AbstractClientBase.MethodInfo(ShareBucketResponse, function (request) {
return request.serializeBinary();
}, space_pb.ShareBucketResponse.deserializeBinary);
this.methodInfoJoinBucket = new grpcWeb.AbstractClientBase.MethodInfo(space_pb.JoinBucketResponse, function (request) {
}, ShareBucketResponse.deserializeBinary);
this.methodInfoJoinBucket = new grpcWeb.AbstractClientBase.MethodInfo(JoinBucketResponse, function (request) {
return request.serializeBinary();
}, space_pb.JoinBucketResponse.deserializeBinary);
this.methodInfoShareFilesViaPublicKey = new grpcWeb.AbstractClientBase.MethodInfo(space_pb.ShareFilesViaPublicKeyResponse, function (request) {
}, JoinBucketResponse.deserializeBinary);
this.methodInfoShareFilesViaPublicKey = new grpcWeb.AbstractClientBase.MethodInfo(ShareFilesViaPublicKeyResponse, function (request) {
return request.serializeBinary();
}, space_pb.ShareFilesViaPublicKeyResponse.deserializeBinary);
this.methodInfoHandleFilesInvitation = new grpcWeb.AbstractClientBase.MethodInfo(space_pb.HandleFilesInvitationResponse, function (request) {
}, ShareFilesViaPublicKeyResponse.deserializeBinary);
this.methodInfoUnshareFilesViaPublicKey = new grpcWeb.AbstractClientBase.MethodInfo(UnshareFilesViaPublicKeyResponse, function (request) {
return request.serializeBinary();
}, space_pb.HandleFilesInvitationResponse.deserializeBinary);
this.methodInfoNotificationSubscribe = new grpcWeb.AbstractClientBase.MethodInfo(space_pb.NotificationEventResponse, function (request) {
}, UnshareFilesViaPublicKeyResponse.deserializeBinary);
this.methodInfoHandleFilesInvitation = new grpcWeb.AbstractClientBase.MethodInfo(HandleFilesInvitationResponse, function (request) {
return request.serializeBinary();
}, space_pb.NotificationEventResponse.deserializeBinary);
this.methodInfoListBuckets = new grpcWeb.AbstractClientBase.MethodInfo(space_pb.ListBucketsResponse, function (request) {
}, HandleFilesInvitationResponse.deserializeBinary);
this.methodInfoNotificationSubscribe = new grpcWeb.AbstractClientBase.MethodInfo(NotificationEventResponse, function (request) {
return request.serializeBinary();
}, space_pb.ListBucketsResponse.deserializeBinary);
this.methodInfoGetNotifications = new grpcWeb.AbstractClientBase.MethodInfo(space_pb.GetNotificationsResponse, function (request) {
}, NotificationEventResponse.deserializeBinary);
this.methodInfoListBuckets = new grpcWeb.AbstractClientBase.MethodInfo(ListBucketsResponse, function (request) {
return request.serializeBinary();
}, space_pb.GetNotificationsResponse.deserializeBinary);
this.methodInfoReadNotification = new grpcWeb.AbstractClientBase.MethodInfo(space_pb.ReadNotificationResponse, function (request) {
}, ListBucketsResponse.deserializeBinary);
this.methodInfoGetNotifications = new grpcWeb.AbstractClientBase.MethodInfo(GetNotificationsResponse, function (request) {
return request.serializeBinary();
}, space_pb.ReadNotificationResponse.deserializeBinary);
this.methodInfoDeleteAccount = new grpcWeb.AbstractClientBase.MethodInfo(space_pb.DeleteAccountResponse, function (request) {
}, GetNotificationsResponse.deserializeBinary);
this.methodInfoReadNotification = new grpcWeb.AbstractClientBase.MethodInfo(ReadNotificationResponse, function (request) {
return request.serializeBinary();
}, space_pb.DeleteAccountResponse.deserializeBinary);
this.methodInfoToggleBucketBackup = new grpcWeb.AbstractClientBase.MethodInfo(space_pb.ToggleBucketBackupResponse, function (request) {
}, ReadNotificationResponse.deserializeBinary);
this.methodInfoDeleteAccount = new grpcWeb.AbstractClientBase.MethodInfo(DeleteAccountResponse, function (request) {
return request.serializeBinary();
}, space_pb.ToggleBucketBackupResponse.deserializeBinary);
this.methodInfoBucketBackupRestore = new grpcWeb.AbstractClientBase.MethodInfo(space_pb.BucketBackupRestoreResponse, function (request) {
}, DeleteAccountResponse.deserializeBinary);
this.methodInfoToggleBucketBackup = new grpcWeb.AbstractClientBase.MethodInfo(ToggleBucketBackupResponse, function (request) {
return request.serializeBinary();
}, space_pb.BucketBackupRestoreResponse.deserializeBinary);
this.methodInfoGetUsageInfo = new grpcWeb.AbstractClientBase.MethodInfo(space_pb.GetUsageInfoResponse, function (request) {
}, ToggleBucketBackupResponse.deserializeBinary);
this.methodInfoBucketBackupRestore = new grpcWeb.AbstractClientBase.MethodInfo(BucketBackupRestoreResponse, function (request) {
return request.serializeBinary();
}, space_pb.GetUsageInfoResponse.deserializeBinary);
this.methodInfoGetAPISessionTokens = new grpcWeb.AbstractClientBase.MethodInfo(space_pb.GetAPISessionTokensResponse, function (request) {
}, BucketBackupRestoreResponse.deserializeBinary);
this.methodInfoGetUsageInfo = new grpcWeb.AbstractClientBase.MethodInfo(GetUsageInfoResponse, function (request) {
return request.serializeBinary();
}, space_pb.GetAPISessionTokensResponse.deserializeBinary);
this.methodInfoGetRecentlySharedWith = new grpcWeb.AbstractClientBase.MethodInfo(space_pb.GetRecentlySharedWithResponse, function (request) {
}, GetUsageInfoResponse.deserializeBinary);
this.methodInfoGetAPISessionTokens = new grpcWeb.AbstractClientBase.MethodInfo(GetAPISessionTokensResponse, function (request) {
return request.serializeBinary();
}, space_pb.GetRecentlySharedWithResponse.deserializeBinary);
this.methodInfoSetNotificationsLastSeenAt = new grpcWeb.AbstractClientBase.MethodInfo(space_pb.SetNotificationsLastSeenAtResponse, function (request) {
}, GetAPISessionTokensResponse.deserializeBinary);
this.methodInfoGetRecentlySharedWith = new grpcWeb.AbstractClientBase.MethodInfo(GetRecentlySharedWithResponse, function (request) {
return request.serializeBinary();
}, space_pb.SetNotificationsLastSeenAtResponse.deserializeBinary);
this.methodInfoSearchFiles = new grpcWeb.AbstractClientBase.MethodInfo(space_pb.SearchFilesResponse, function (request) {
}, GetRecentlySharedWithResponse.deserializeBinary);
this.methodInfoSetNotificationsLastSeenAt = new grpcWeb.AbstractClientBase.MethodInfo(SetNotificationsLastSeenAtResponse, function (request) {
return request.serializeBinary();
}, space_pb.SearchFilesResponse.deserializeBinary);
this.methodInfoInitializeMasterAppToken = new grpcWeb.AbstractClientBase.MethodInfo(space_pb.InitializeMasterAppTokenResponse, function (request) {
}, SetNotificationsLastSeenAtResponse.deserializeBinary);
this.methodInfoSearchFiles = new grpcWeb.AbstractClientBase.MethodInfo(SearchFilesResponse, function (request) {
return request.serializeBinary();
}, space_pb.InitializeMasterAppTokenResponse.deserializeBinary);
this.methodInfoGenerateAppToken = new grpcWeb.AbstractClientBase.MethodInfo(space_pb.GenerateAppTokenResponse, function (request) {
}, SearchFilesResponse.deserializeBinary);
this.methodInfoInitializeMasterAppToken = new grpcWeb.AbstractClientBase.MethodInfo(InitializeMasterAppTokenResponse, function (request) {
return request.serializeBinary();
}, space_pb.GenerateAppTokenResponse.deserializeBinary);
}, InitializeMasterAppTokenResponse.deserializeBinary);
this.methodInfoGenerateAppToken = new grpcWeb.AbstractClientBase.MethodInfo(GenerateAppTokenResponse, function (request) {
return request.serializeBinary();
}, GenerateAppTokenResponse.deserializeBinary);
if (!options)

@@ -158,4 +161,3 @@ options = {};

if (callback !== undefined) {
return this.client_.rpcCall(this.hostname_ +
'/space.SpaceApi/ListDirectories', request, metadata || {}, this.methodInfoListDirectories, callback);
return this.client_.rpcCall(new URL('/space.SpaceApi/ListDirectories', this.hostname_).toString(), request, metadata || {}, this.methodInfoListDirectories, callback);
}

@@ -167,4 +169,3 @@ return this.client_.unaryCall(this.hostname_ +

if (callback !== undefined) {
return this.client_.rpcCall(this.hostname_ +
'/space.SpaceApi/ListDirectory', request, metadata || {}, this.methodInfoListDirectory, callback);
return this.client_.rpcCall(new URL('/space.SpaceApi/ListDirectory', this.hostname_).toString(), request, metadata || {}, this.methodInfoListDirectory, callback);
}

@@ -176,4 +177,3 @@ return this.client_.unaryCall(this.hostname_ +

if (callback !== undefined) {
return this.client_.rpcCall(this.hostname_ +
'/space.SpaceApi/GenerateKeyPair', request, metadata || {}, this.methodInfoGenerateKeyPair, callback);
return this.client_.rpcCall(new URL('/space.SpaceApi/GenerateKeyPair', this.hostname_).toString(), request, metadata || {}, this.methodInfoGenerateKeyPair, callback);
}

@@ -185,4 +185,3 @@ return this.client_.unaryCall(this.hostname_ +

if (callback !== undefined) {
return this.client_.rpcCall(this.hostname_ +
'/space.SpaceApi/GetStoredMnemonic', request, metadata || {}, this.methodInfoGetStoredMnemonic, callback);
return this.client_.rpcCall(new URL('/space.SpaceApi/GetStoredMnemonic', this.hostname_).toString(), request, metadata || {}, this.methodInfoGetStoredMnemonic, callback);
}

@@ -194,4 +193,3 @@ return this.client_.unaryCall(this.hostname_ +

if (callback !== undefined) {
return this.client_.rpcCall(this.hostname_ +
'/space.SpaceApi/RestoreKeyPairViaMnemonic', request, metadata || {}, this.methodInfoRestoreKeyPairViaMnemonic, callback);
return this.client_.rpcCall(new URL('/space.SpaceApi/RestoreKeyPairViaMnemonic', this.hostname_).toString(), request, metadata || {}, this.methodInfoRestoreKeyPairViaMnemonic, callback);
}

@@ -203,4 +201,3 @@ return this.client_.unaryCall(this.hostname_ +

if (callback !== undefined) {
return this.client_.rpcCall(this.hostname_ +
'/space.SpaceApi/DeleteKeyPair', request, metadata || {}, this.methodInfoDeleteKeyPair, callback);
return this.client_.rpcCall(new URL('/space.SpaceApi/DeleteKeyPair', this.hostname_).toString(), request, metadata || {}, this.methodInfoDeleteKeyPair, callback);
}

@@ -212,4 +209,3 @@ return this.client_.unaryCall(this.hostname_ +

if (callback !== undefined) {
return this.client_.rpcCall(this.hostname_ +
'/space.SpaceApi/GenerateKeyPairWithForce', request, metadata || {}, this.methodInfoGenerateKeyPairWithForce, callback);
return this.client_.rpcCall(new URL('/space.SpaceApi/GenerateKeyPairWithForce', this.hostname_).toString(), request, metadata || {}, this.methodInfoGenerateKeyPairWithForce, callback);
}

@@ -221,4 +217,3 @@ return this.client_.unaryCall(this.hostname_ +

if (callback !== undefined) {
return this.client_.rpcCall(this.hostname_ +
'/space.SpaceApi/GetPublicKey', request, metadata || {}, this.methodInfoGetPublicKey, callback);
return this.client_.rpcCall(new URL('/space.SpaceApi/GetPublicKey', this.hostname_).toString(), request, metadata || {}, this.methodInfoGetPublicKey, callback);
}

@@ -229,13 +224,10 @@ return this.client_.unaryCall(this.hostname_ +

SpaceApiClient.prototype.subscribe = function (request, metadata) {
return this.client_.serverStreaming(this.hostname_ +
'/space.SpaceApi/Subscribe', request, metadata || {}, this.methodInfoSubscribe);
return this.client_.serverStreaming(new URL('/space.SpaceApi/Subscribe', this.hostname_).toString(), request, metadata || {}, this.methodInfoSubscribe);
};
SpaceApiClient.prototype.txlSubscribe = function (request, metadata) {
return this.client_.serverStreaming(this.hostname_ +
'/space.SpaceApi/TxlSubscribe', request, metadata || {}, this.methodInfoTxlSubscribe);
return this.client_.serverStreaming(new URL('/space.SpaceApi/TxlSubscribe', this.hostname_).toString(), request, metadata || {}, this.methodInfoTxlSubscribe);
};
SpaceApiClient.prototype.openFile = function (request, metadata, callback) {
if (callback !== undefined) {
return this.client_.rpcCall(this.hostname_ +
'/space.SpaceApi/OpenFile', request, metadata || {}, this.methodInfoOpenFile, callback);
return this.client_.rpcCall(new URL('/space.SpaceApi/OpenFile', this.hostname_).toString(), request, metadata || {}, this.methodInfoOpenFile, callback);
}

@@ -247,4 +239,3 @@ return this.client_.unaryCall(this.hostname_ +

if (callback !== undefined) {
return this.client_.rpcCall(this.hostname_ +
'/space.SpaceApi/RemoveDirOrFile', request, metadata || {}, this.methodInfoRemoveDirOrFile, callback);
return this.client_.rpcCall(new URL('/space.SpaceApi/RemoveDirOrFile', this.hostname_).toString(), request, metadata || {}, this.methodInfoRemoveDirOrFile, callback);
}

@@ -256,4 +247,3 @@ return this.client_.unaryCall(this.hostname_ +

if (callback !== undefined) {
return this.client_.rpcCall(this.hostname_ +
'/space.SpaceApi/GeneratePublicFileLink', request, metadata || {}, this.methodInfoGeneratePublicFileLink, callback);
return this.client_.rpcCall(new URL('/space.SpaceApi/GeneratePublicFileLink', this.hostname_).toString(), request, metadata || {}, this.methodInfoGeneratePublicFileLink, callback);
}

@@ -265,4 +255,3 @@ return this.client_.unaryCall(this.hostname_ +

if (callback !== undefined) {
return this.client_.rpcCall(this.hostname_ +
'/space.SpaceApi/GetSharedWithMeFiles', request, metadata || {}, this.methodInfoGetSharedWithMeFiles, callback);
return this.client_.rpcCall(new URL('/space.SpaceApi/GetSharedWithMeFiles', this.hostname_).toString(), request, metadata || {}, this.methodInfoGetSharedWithMeFiles, callback);
}

@@ -274,4 +263,3 @@ return this.client_.unaryCall(this.hostname_ +

if (callback !== undefined) {
return this.client_.rpcCall(this.hostname_ +
'/space.SpaceApi/GetSharedByMeFiles', request, metadata || {}, this.methodInfoGetSharedByMeFiles, callback);
return this.client_.rpcCall(new URL('/space.SpaceApi/GetSharedByMeFiles', this.hostname_).toString(), request, metadata || {}, this.methodInfoGetSharedByMeFiles, callback);
}

@@ -283,4 +271,3 @@ return this.client_.unaryCall(this.hostname_ +

if (callback !== undefined) {
return this.client_.rpcCall(this.hostname_ +
'/space.SpaceApi/OpenPublicFile', request, metadata || {}, this.methodInfoOpenPublicFile, callback);
return this.client_.rpcCall(new URL('/space.SpaceApi/OpenPublicFile', this.hostname_).toString(), request, metadata || {}, this.methodInfoOpenPublicFile, callback);
}

@@ -291,9 +278,7 @@ return this.client_.unaryCall(this.hostname_ +

SpaceApiClient.prototype.addItems = function (request, metadata) {
return this.client_.serverStreaming(this.hostname_ +
'/space.SpaceApi/AddItems', request, metadata || {}, this.methodInfoAddItems);
return this.client_.serverStreaming(new URL('/space.SpaceApi/AddItems', this.hostname_).toString(), request, metadata || {}, this.methodInfoAddItems);
};
SpaceApiClient.prototype.createFolder = function (request, metadata, callback) {
if (callback !== undefined) {
return this.client_.rpcCall(this.hostname_ +
'/space.SpaceApi/CreateFolder', request, metadata || {}, this.methodInfoCreateFolder, callback);
return this.client_.rpcCall(new URL('/space.SpaceApi/CreateFolder', this.hostname_).toString(), request, metadata || {}, this.methodInfoCreateFolder, callback);
}

@@ -305,4 +290,3 @@ return this.client_.unaryCall(this.hostname_ +

if (callback !== undefined) {
return this.client_.rpcCall(this.hostname_ +
'/space.SpaceApi/ToggleFuseDrive', request, metadata || {}, this.methodInfoToggleFuseDrive, callback);
return this.client_.rpcCall(new URL('/space.SpaceApi/ToggleFuseDrive', this.hostname_).toString(), request, metadata || {}, this.methodInfoToggleFuseDrive, callback);
}

@@ -314,4 +298,3 @@ return this.client_.unaryCall(this.hostname_ +

if (callback !== undefined) {
return this.client_.rpcCall(this.hostname_ +
'/space.SpaceApi/GetFuseDriveStatus', request, metadata || {}, this.methodInfoGetFuseDriveStatus, callback);
return this.client_.rpcCall(new URL('/space.SpaceApi/GetFuseDriveStatus', this.hostname_).toString(), request, metadata || {}, this.methodInfoGetFuseDriveStatus, callback);
}

@@ -323,4 +306,3 @@ return this.client_.unaryCall(this.hostname_ +

if (callback !== undefined) {
return this.client_.rpcCall(this.hostname_ +
'/space.SpaceApi/CreateBucket', request, metadata || {}, this.methodInfoCreateBucket, callback);
return this.client_.rpcCall(new URL('/space.SpaceApi/CreateBucket', this.hostname_).toString(), request, metadata || {}, this.methodInfoCreateBucket, callback);
}

@@ -332,4 +314,3 @@ return this.client_.unaryCall(this.hostname_ +

if (callback !== undefined) {
return this.client_.rpcCall(this.hostname_ +
'/space.SpaceApi/BackupKeysByPassphrase', request, metadata || {}, this.methodInfoBackupKeysByPassphrase, callback);
return this.client_.rpcCall(new URL('/space.SpaceApi/BackupKeysByPassphrase', this.hostname_).toString(), request, metadata || {}, this.methodInfoBackupKeysByPassphrase, callback);
}

@@ -341,4 +322,3 @@ return this.client_.unaryCall(this.hostname_ +

if (callback !== undefined) {
return this.client_.rpcCall(this.hostname_ +
'/space.SpaceApi/RecoverKeysByPassphrase', request, metadata || {}, this.methodInfoRecoverKeysByPassphrase, callback);
return this.client_.rpcCall(new URL('/space.SpaceApi/RecoverKeysByPassphrase', this.hostname_).toString(), request, metadata || {}, this.methodInfoRecoverKeysByPassphrase, callback);
}

@@ -350,4 +330,3 @@ return this.client_.unaryCall(this.hostname_ +

if (callback !== undefined) {
return this.client_.rpcCall(this.hostname_ +
'/space.SpaceApi/TestKeysPassphrase', request, metadata || {}, this.methodInfoTestKeysPassphrase, callback);
return this.client_.rpcCall(new URL('/space.SpaceApi/TestKeysPassphrase', this.hostname_).toString(), request, metadata || {}, this.methodInfoTestKeysPassphrase, callback);
}

@@ -359,4 +338,3 @@ return this.client_.unaryCall(this.hostname_ +

if (callback !== undefined) {
return this.client_.rpcCall(this.hostname_ +
'/space.SpaceApi/CreateLocalKeysBackup', request, metadata || {}, this.methodInfoCreateLocalKeysBackup, callback);
return this.client_.rpcCall(new URL('/space.SpaceApi/CreateLocalKeysBackup', this.hostname_).toString(), request, metadata || {}, this.methodInfoCreateLocalKeysBackup, callback);
}

@@ -368,4 +346,3 @@ return this.client_.unaryCall(this.hostname_ +

if (callback !== undefined) {
return this.client_.rpcCall(this.hostname_ +
'/space.SpaceApi/RecoverKeysByLocalBackup', request, metadata || {}, this.methodInfoRecoverKeysByLocalBackup, callback);
return this.client_.rpcCall(new URL('/space.SpaceApi/RecoverKeysByLocalBackup', this.hostname_).toString(), request, metadata || {}, this.methodInfoRecoverKeysByLocalBackup, callback);
}

@@ -377,4 +354,3 @@ return this.client_.unaryCall(this.hostname_ +

if (callback !== undefined) {
return this.client_.rpcCall(this.hostname_ +
'/space.SpaceApi/ShareBucket', request, metadata || {}, this.methodInfoShareBucket, callback);
return this.client_.rpcCall(new URL('/space.SpaceApi/ShareBucket', this.hostname_).toString(), request, metadata || {}, this.methodInfoShareBucket, callback);
}

@@ -386,4 +362,3 @@ return this.client_.unaryCall(this.hostname_ +

if (callback !== undefined) {
return this.client_.rpcCall(this.hostname_ +
'/space.SpaceApi/JoinBucket', request, metadata || {}, this.methodInfoJoinBucket, callback);
return this.client_.rpcCall(new URL('/space.SpaceApi/JoinBucket', this.hostname_).toString(), request, metadata || {}, this.methodInfoJoinBucket, callback);
}

@@ -395,4 +370,3 @@ return this.client_.unaryCall(this.hostname_ +

if (callback !== undefined) {
return this.client_.rpcCall(this.hostname_ +
'/space.SpaceApi/ShareFilesViaPublicKey', request, metadata || {}, this.methodInfoShareFilesViaPublicKey, callback);
return this.client_.rpcCall(new URL('/space.SpaceApi/ShareFilesViaPublicKey', this.hostname_).toString(), request, metadata || {}, this.methodInfoShareFilesViaPublicKey, callback);
}

@@ -402,6 +376,12 @@ return this.client_.unaryCall(this.hostname_ +

};
SpaceApiClient.prototype.unshareFilesViaPublicKey = function (request, metadata, callback) {
if (callback !== undefined) {
return this.client_.rpcCall(new URL('/space.SpaceApi/UnshareFilesViaPublicKey', this.hostname_).toString(), request, metadata || {}, this.methodInfoUnshareFilesViaPublicKey, callback);
}
return this.client_.unaryCall(this.hostname_ +
'/space.SpaceApi/UnshareFilesViaPublicKey', request, metadata || {}, this.methodInfoUnshareFilesViaPublicKey);
};
SpaceApiClient.prototype.handleFilesInvitation = function (request, metadata, callback) {
if (callback !== undefined) {
return this.client_.rpcCall(this.hostname_ +
'/space.SpaceApi/HandleFilesInvitation', request, metadata || {}, this.methodInfoHandleFilesInvitation, callback);
return this.client_.rpcCall(new URL('/space.SpaceApi/HandleFilesInvitation', this.hostname_).toString(), request, metadata || {}, this.methodInfoHandleFilesInvitation, callback);
}

@@ -412,9 +392,7 @@ return this.client_.unaryCall(this.hostname_ +

SpaceApiClient.prototype.notificationSubscribe = function (request, metadata) {
return this.client_.serverStreaming(this.hostname_ +
'/space.SpaceApi/NotificationSubscribe', request, metadata || {}, this.methodInfoNotificationSubscribe);
return this.client_.serverStreaming(new URL('/space.SpaceApi/NotificationSubscribe', this.hostname_).toString(), request, metadata || {}, this.methodInfoNotificationSubscribe);
};
SpaceApiClient.prototype.listBuckets = function (request, metadata, callback) {
if (callback !== undefined) {
return this.client_.rpcCall(this.hostname_ +
'/space.SpaceApi/ListBuckets', request, metadata || {}, this.methodInfoListBuckets, callback);
return this.client_.rpcCall(new URL('/space.SpaceApi/ListBuckets', this.hostname_).toString(), request, metadata || {}, this.methodInfoListBuckets, callback);
}

@@ -426,4 +404,3 @@ return this.client_.unaryCall(this.hostname_ +

if (callback !== undefined) {
return this.client_.rpcCall(this.hostname_ +
'/space.SpaceApi/GetNotifications', request, metadata || {}, this.methodInfoGetNotifications, callback);
return this.client_.rpcCall(new URL('/space.SpaceApi/GetNotifications', this.hostname_).toString(), request, metadata || {}, this.methodInfoGetNotifications, callback);
}

@@ -435,4 +412,3 @@ return this.client_.unaryCall(this.hostname_ +

if (callback !== undefined) {
return this.client_.rpcCall(this.hostname_ +
'/space.SpaceApi/ReadNotification', request, metadata || {}, this.methodInfoReadNotification, callback);
return this.client_.rpcCall(new URL('/space.SpaceApi/ReadNotification', this.hostname_).toString(), request, metadata || {}, this.methodInfoReadNotification, callback);
}

@@ -444,4 +420,3 @@ return this.client_.unaryCall(this.hostname_ +

if (callback !== undefined) {
return this.client_.rpcCall(this.hostname_ +
'/space.SpaceApi/DeleteAccount', request, metadata || {}, this.methodInfoDeleteAccount, callback);
return this.client_.rpcCall(new URL('/space.SpaceApi/DeleteAccount', this.hostname_).toString(), request, metadata || {}, this.methodInfoDeleteAccount, callback);
}

@@ -453,4 +428,3 @@ return this.client_.unaryCall(this.hostname_ +

if (callback !== undefined) {
return this.client_.rpcCall(this.hostname_ +
'/space.SpaceApi/ToggleBucketBackup', request, metadata || {}, this.methodInfoToggleBucketBackup, callback);
return this.client_.rpcCall(new URL('/space.SpaceApi/ToggleBucketBackup', this.hostname_).toString(), request, metadata || {}, this.methodInfoToggleBucketBackup, callback);
}

@@ -462,4 +436,3 @@ return this.client_.unaryCall(this.hostname_ +

if (callback !== undefined) {
return this.client_.rpcCall(this.hostname_ +
'/space.SpaceApi/BucketBackupRestore', request, metadata || {}, this.methodInfoBucketBackupRestore, callback);
return this.client_.rpcCall(new URL('/space.SpaceApi/BucketBackupRestore', this.hostname_).toString(), request, metadata || {}, this.methodInfoBucketBackupRestore, callback);
}

@@ -471,4 +444,3 @@ return this.client_.unaryCall(this.hostname_ +

if (callback !== undefined) {
return this.client_.rpcCall(this.hostname_ +
'/space.SpaceApi/GetUsageInfo', request, metadata || {}, this.methodInfoGetUsageInfo, callback);
return this.client_.rpcCall(new URL('/space.SpaceApi/GetUsageInfo', this.hostname_).toString(), request, metadata || {}, this.methodInfoGetUsageInfo, callback);
}

@@ -480,4 +452,3 @@ return this.client_.unaryCall(this.hostname_ +

if (callback !== undefined) {
return this.client_.rpcCall(this.hostname_ +
'/space.SpaceApi/GetAPISessionTokens', request, metadata || {}, this.methodInfoGetAPISessionTokens, callback);
return this.client_.rpcCall(new URL('/space.SpaceApi/GetAPISessionTokens', this.hostname_).toString(), request, metadata || {}, this.methodInfoGetAPISessionTokens, callback);
}

@@ -489,4 +460,3 @@ return this.client_.unaryCall(this.hostname_ +

if (callback !== undefined) {
return this.client_.rpcCall(this.hostname_ +
'/space.SpaceApi/GetRecentlySharedWith', request, metadata || {}, this.methodInfoGetRecentlySharedWith, callback);
return this.client_.rpcCall(new URL('/space.SpaceApi/GetRecentlySharedWith', this.hostname_).toString(), request, metadata || {}, this.methodInfoGetRecentlySharedWith, callback);
}

@@ -498,4 +468,3 @@ return this.client_.unaryCall(this.hostname_ +

if (callback !== undefined) {
return this.client_.rpcCall(this.hostname_ +
'/space.SpaceApi/SetNotificationsLastSeenAt', request, metadata || {}, this.methodInfoSetNotificationsLastSeenAt, callback);
return this.client_.rpcCall(new URL('/space.SpaceApi/SetNotificationsLastSeenAt', this.hostname_).toString(), request, metadata || {}, this.methodInfoSetNotificationsLastSeenAt, callback);
}

@@ -507,4 +476,3 @@ return this.client_.unaryCall(this.hostname_ +

if (callback !== undefined) {
return this.client_.rpcCall(this.hostname_ +
'/space.SpaceApi/SearchFiles', request, metadata || {}, this.methodInfoSearchFiles, callback);
return this.client_.rpcCall(new URL('/space.SpaceApi/SearchFiles', this.hostname_).toString(), request, metadata || {}, this.methodInfoSearchFiles, callback);
}

@@ -516,4 +484,3 @@ return this.client_.unaryCall(this.hostname_ +

if (callback !== undefined) {
return this.client_.rpcCall(this.hostname_ +
'/space.SpaceApi/InitializeMasterAppToken', request, metadata || {}, this.methodInfoInitializeMasterAppToken, callback);
return this.client_.rpcCall(new URL('/space.SpaceApi/InitializeMasterAppToken', this.hostname_).toString(), request, metadata || {}, this.methodInfoInitializeMasterAppToken, callback);
}

@@ -525,4 +492,3 @@ return this.client_.unaryCall(this.hostname_ +

if (callback !== undefined) {
return this.client_.rpcCall(this.hostname_ +
'/space.SpaceApi/GenerateAppToken', request, metadata || {}, this.methodInfoGenerateAppToken, callback);
return this.client_.rpcCall(new URL('/space.SpaceApi/GenerateAppToken', this.hostname_).toString(), request, metadata || {}, this.methodInfoGenerateAppToken, callback);
}

@@ -529,0 +495,0 @@ return this.client_.unaryCall(this.hostname_ +

{
"name": "@fleekhq/space-client",
"version": "1.1.8",
"version": "1.1.9",
"main": "dist/index.js",

@@ -5,0 +5,0 @@ "module": "dist/esm/index.js",

@@ -17,4 +17,87 @@ /**

import * as google_protobuf_empty_pb from 'google-protobuf/google/protobuf/empty_pb';
import * as space_pb from './space_pb';
import {
AddItemsRequest,
AddItemsResponse,
BackupKeysByPassphraseRequest,
BackupKeysByPassphraseResponse,
BucketBackupRestoreRequest,
BucketBackupRestoreResponse,
CreateBucketRequest,
CreateBucketResponse,
CreateFolderRequest,
CreateFolderResponse,
CreateLocalKeysBackupRequest,
CreateLocalKeysBackupResponse,
DeleteAccountRequest,
DeleteAccountResponse,
DeleteKeyPairRequest,
DeleteKeyPairResponse,
FileEventResponse,
FuseDriveResponse,
GenerateAppTokenRequest,
GenerateAppTokenResponse,
GenerateKeyPairRequest,
GenerateKeyPairResponse,
GeneratePublicFileLinkRequest,
GeneratePublicFileLinkResponse,
GetAPISessionTokensRequest,
GetAPISessionTokensResponse,
GetNotificationsRequest,
GetNotificationsResponse,
GetPublicKeyRequest,
GetPublicKeyResponse,
GetRecentlySharedWithRequest,
GetRecentlySharedWithResponse,
GetSharedByMeFilesRequest,
GetSharedByMeFilesResponse,
GetSharedWithMeFilesRequest,
GetSharedWithMeFilesResponse,
GetStoredMnemonicRequest,
GetStoredMnemonicResponse,
GetUsageInfoRequest,
GetUsageInfoResponse,
HandleFilesInvitationRequest,
HandleFilesInvitationResponse,
InitializeMasterAppTokenRequest,
InitializeMasterAppTokenResponse,
JoinBucketRequest,
JoinBucketResponse,
ListBucketsRequest,
ListBucketsResponse,
ListDirectoriesRequest,
ListDirectoriesResponse,
ListDirectoryRequest,
ListDirectoryResponse,
NotificationEventResponse,
OpenFileRequest,
OpenFileResponse,
OpenPublicFileRequest,
OpenPublicFileResponse,
ReadNotificationRequest,
ReadNotificationResponse,
RecoverKeysByLocalBackupRequest,
RecoverKeysByLocalBackupResponse,
RecoverKeysByPassphraseRequest,
RecoverKeysByPassphraseResponse,
RemoveDirOrFileRequest,
RemoveDirOrFileResponse,
RestoreKeyPairViaMnemonicRequest,
RestoreKeyPairViaMnemonicResponse,
SearchFilesRequest,
SearchFilesResponse,
SetNotificationsLastSeenAtRequest,
SetNotificationsLastSeenAtResponse,
ShareBucketRequest,
ShareBucketResponse,
ShareFilesViaPublicKeyRequest,
ShareFilesViaPublicKeyResponse,
TestKeysPassphraseRequest,
TestKeysPassphraseResponse,
TextileEventResponse,
ToggleBucketBackupRequest,
ToggleBucketBackupResponse,
ToggleFuseRequest,
UnshareFilesViaPublicKeyRequest,
UnshareFilesViaPublicKeyResponse} from './space_pb';

@@ -25,7 +108,7 @@ export class SpaceApiClient {

credentials_: null | { [index: string]: string; };
options_: null | { [index: string]: any; };
options_: null | { [index: string]: string; };
constructor (hostname: string,
credentials?: null | { [index: string]: string; },
options?: null | { [index: string]: any; }) {
options?: null | { [index: string]: string; }) {
if (!options) options = {};

@@ -42,28 +125,27 @@ if (!credentials) credentials = {};

methodInfoListDirectories = new grpcWeb.AbstractClientBase.MethodInfo(
space_pb.ListDirectoriesResponse,
(request: space_pb.ListDirectoriesRequest) => {
ListDirectoriesResponse,
(request: ListDirectoriesRequest) => {
return request.serializeBinary();
},
space_pb.ListDirectoriesResponse.deserializeBinary
ListDirectoriesResponse.deserializeBinary
);
listDirectories(
request: space_pb.ListDirectoriesRequest,
metadata: grpcWeb.Metadata | null): Promise<space_pb.ListDirectoriesResponse>;
request: ListDirectoriesRequest,
metadata: grpcWeb.Metadata | null): Promise<ListDirectoriesResponse>;
listDirectories(
request: space_pb.ListDirectoriesRequest,
request: ListDirectoriesRequest,
metadata: grpcWeb.Metadata | null,
callback: (err: grpcWeb.Error,
response: space_pb.ListDirectoriesResponse) => void): grpcWeb.ClientReadableStream<space_pb.ListDirectoriesResponse>;
response: ListDirectoriesResponse) => void): grpcWeb.ClientReadableStream<ListDirectoriesResponse>;
listDirectories(
request: space_pb.ListDirectoriesRequest,
request: ListDirectoriesRequest,
metadata: grpcWeb.Metadata | null,
callback?: (err: grpcWeb.Error,
response: space_pb.ListDirectoriesResponse) => void) {
response: ListDirectoriesResponse) => void) {
if (callback !== undefined) {
return this.client_.rpcCall(
this.hostname_ +
'/space.SpaceApi/ListDirectories',
new URL('/space.SpaceApi/ListDirectories', this.hostname_).toString(),
request,

@@ -83,28 +165,27 @@ metadata || {},

methodInfoListDirectory = new grpcWeb.AbstractClientBase.MethodInfo(
space_pb.ListDirectoryResponse,
(request: space_pb.ListDirectoryRequest) => {
ListDirectoryResponse,
(request: ListDirectoryRequest) => {
return request.serializeBinary();
},
space_pb.ListDirectoryResponse.deserializeBinary
ListDirectoryResponse.deserializeBinary
);
listDirectory(
request: space_pb.ListDirectoryRequest,
metadata: grpcWeb.Metadata | null): Promise<space_pb.ListDirectoryResponse>;
request: ListDirectoryRequest,
metadata: grpcWeb.Metadata | null): Promise<ListDirectoryResponse>;
listDirectory(
request: space_pb.ListDirectoryRequest,
request: ListDirectoryRequest,
metadata: grpcWeb.Metadata | null,
callback: (err: grpcWeb.Error,
response: space_pb.ListDirectoryResponse) => void): grpcWeb.ClientReadableStream<space_pb.ListDirectoryResponse>;
response: ListDirectoryResponse) => void): grpcWeb.ClientReadableStream<ListDirectoryResponse>;
listDirectory(
request: space_pb.ListDirectoryRequest,
request: ListDirectoryRequest,
metadata: grpcWeb.Metadata | null,
callback?: (err: grpcWeb.Error,
response: space_pb.ListDirectoryResponse) => void) {
response: ListDirectoryResponse) => void) {
if (callback !== undefined) {
return this.client_.rpcCall(
this.hostname_ +
'/space.SpaceApi/ListDirectory',
new URL('/space.SpaceApi/ListDirectory', this.hostname_).toString(),
request,

@@ -124,28 +205,27 @@ metadata || {},

methodInfoGenerateKeyPair = new grpcWeb.AbstractClientBase.MethodInfo(
space_pb.GenerateKeyPairResponse,
(request: space_pb.GenerateKeyPairRequest) => {
GenerateKeyPairResponse,
(request: GenerateKeyPairRequest) => {
return request.serializeBinary();
},
space_pb.GenerateKeyPairResponse.deserializeBinary
GenerateKeyPairResponse.deserializeBinary
);
generateKeyPair(
request: space_pb.GenerateKeyPairRequest,
metadata: grpcWeb.Metadata | null): Promise<space_pb.GenerateKeyPairResponse>;
request: GenerateKeyPairRequest,
metadata: grpcWeb.Metadata | null): Promise<GenerateKeyPairResponse>;
generateKeyPair(
request: space_pb.GenerateKeyPairRequest,
request: GenerateKeyPairRequest,
metadata: grpcWeb.Metadata | null,
callback: (err: grpcWeb.Error,
response: space_pb.GenerateKeyPairResponse) => void): grpcWeb.ClientReadableStream<space_pb.GenerateKeyPairResponse>;
response: GenerateKeyPairResponse) => void): grpcWeb.ClientReadableStream<GenerateKeyPairResponse>;
generateKeyPair(
request: space_pb.GenerateKeyPairRequest,
request: GenerateKeyPairRequest,
metadata: grpcWeb.Metadata | null,
callback?: (err: grpcWeb.Error,
response: space_pb.GenerateKeyPairResponse) => void) {
response: GenerateKeyPairResponse) => void) {
if (callback !== undefined) {
return this.client_.rpcCall(
this.hostname_ +
'/space.SpaceApi/GenerateKeyPair',
new URL('/space.SpaceApi/GenerateKeyPair', this.hostname_).toString(),
request,

@@ -165,28 +245,27 @@ metadata || {},

methodInfoGetStoredMnemonic = new grpcWeb.AbstractClientBase.MethodInfo(
space_pb.GetStoredMnemonicResponse,
(request: space_pb.GetStoredMnemonicRequest) => {
GetStoredMnemonicResponse,
(request: GetStoredMnemonicRequest) => {
return request.serializeBinary();
},
space_pb.GetStoredMnemonicResponse.deserializeBinary
GetStoredMnemonicResponse.deserializeBinary
);
getStoredMnemonic(
request: space_pb.GetStoredMnemonicRequest,
metadata: grpcWeb.Metadata | null): Promise<space_pb.GetStoredMnemonicResponse>;
request: GetStoredMnemonicRequest,
metadata: grpcWeb.Metadata | null): Promise<GetStoredMnemonicResponse>;
getStoredMnemonic(
request: space_pb.GetStoredMnemonicRequest,
request: GetStoredMnemonicRequest,
metadata: grpcWeb.Metadata | null,
callback: (err: grpcWeb.Error,
response: space_pb.GetStoredMnemonicResponse) => void): grpcWeb.ClientReadableStream<space_pb.GetStoredMnemonicResponse>;
response: GetStoredMnemonicResponse) => void): grpcWeb.ClientReadableStream<GetStoredMnemonicResponse>;
getStoredMnemonic(
request: space_pb.GetStoredMnemonicRequest,
request: GetStoredMnemonicRequest,
metadata: grpcWeb.Metadata | null,
callback?: (err: grpcWeb.Error,
response: space_pb.GetStoredMnemonicResponse) => void) {
response: GetStoredMnemonicResponse) => void) {
if (callback !== undefined) {
return this.client_.rpcCall(
this.hostname_ +
'/space.SpaceApi/GetStoredMnemonic',
new URL('/space.SpaceApi/GetStoredMnemonic', this.hostname_).toString(),
request,

@@ -206,28 +285,27 @@ metadata || {},

methodInfoRestoreKeyPairViaMnemonic = new grpcWeb.AbstractClientBase.MethodInfo(
space_pb.RestoreKeyPairViaMnemonicResponse,
(request: space_pb.RestoreKeyPairViaMnemonicRequest) => {
RestoreKeyPairViaMnemonicResponse,
(request: RestoreKeyPairViaMnemonicRequest) => {
return request.serializeBinary();
},
space_pb.RestoreKeyPairViaMnemonicResponse.deserializeBinary
RestoreKeyPairViaMnemonicResponse.deserializeBinary
);
restoreKeyPairViaMnemonic(
request: space_pb.RestoreKeyPairViaMnemonicRequest,
metadata: grpcWeb.Metadata | null): Promise<space_pb.RestoreKeyPairViaMnemonicResponse>;
request: RestoreKeyPairViaMnemonicRequest,
metadata: grpcWeb.Metadata | null): Promise<RestoreKeyPairViaMnemonicResponse>;
restoreKeyPairViaMnemonic(
request: space_pb.RestoreKeyPairViaMnemonicRequest,
request: RestoreKeyPairViaMnemonicRequest,
metadata: grpcWeb.Metadata | null,
callback: (err: grpcWeb.Error,
response: space_pb.RestoreKeyPairViaMnemonicResponse) => void): grpcWeb.ClientReadableStream<space_pb.RestoreKeyPairViaMnemonicResponse>;
response: RestoreKeyPairViaMnemonicResponse) => void): grpcWeb.ClientReadableStream<RestoreKeyPairViaMnemonicResponse>;
restoreKeyPairViaMnemonic(
request: space_pb.RestoreKeyPairViaMnemonicRequest,
request: RestoreKeyPairViaMnemonicRequest,
metadata: grpcWeb.Metadata | null,
callback?: (err: grpcWeb.Error,
response: space_pb.RestoreKeyPairViaMnemonicResponse) => void) {
response: RestoreKeyPairViaMnemonicResponse) => void) {
if (callback !== undefined) {
return this.client_.rpcCall(
this.hostname_ +
'/space.SpaceApi/RestoreKeyPairViaMnemonic',
new URL('/space.SpaceApi/RestoreKeyPairViaMnemonic', this.hostname_).toString(),
request,

@@ -247,28 +325,27 @@ metadata || {},

methodInfoDeleteKeyPair = new grpcWeb.AbstractClientBase.MethodInfo(
space_pb.DeleteKeyPairResponse,
(request: space_pb.DeleteKeyPairRequest) => {
DeleteKeyPairResponse,
(request: DeleteKeyPairRequest) => {
return request.serializeBinary();
},
space_pb.DeleteKeyPairResponse.deserializeBinary
DeleteKeyPairResponse.deserializeBinary
);
deleteKeyPair(
request: space_pb.DeleteKeyPairRequest,
metadata: grpcWeb.Metadata | null): Promise<space_pb.DeleteKeyPairResponse>;
request: DeleteKeyPairRequest,
metadata: grpcWeb.Metadata | null): Promise<DeleteKeyPairResponse>;
deleteKeyPair(
request: space_pb.DeleteKeyPairRequest,
request: DeleteKeyPairRequest,
metadata: grpcWeb.Metadata | null,
callback: (err: grpcWeb.Error,
response: space_pb.DeleteKeyPairResponse) => void): grpcWeb.ClientReadableStream<space_pb.DeleteKeyPairResponse>;
response: DeleteKeyPairResponse) => void): grpcWeb.ClientReadableStream<DeleteKeyPairResponse>;
deleteKeyPair(
request: space_pb.DeleteKeyPairRequest,
request: DeleteKeyPairRequest,
metadata: grpcWeb.Metadata | null,
callback?: (err: grpcWeb.Error,
response: space_pb.DeleteKeyPairResponse) => void) {
response: DeleteKeyPairResponse) => void) {
if (callback !== undefined) {
return this.client_.rpcCall(
this.hostname_ +
'/space.SpaceApi/DeleteKeyPair',
new URL('/space.SpaceApi/DeleteKeyPair', this.hostname_).toString(),
request,

@@ -288,28 +365,27 @@ metadata || {},

methodInfoGenerateKeyPairWithForce = new grpcWeb.AbstractClientBase.MethodInfo(
space_pb.GenerateKeyPairResponse,
(request: space_pb.GenerateKeyPairRequest) => {
GenerateKeyPairResponse,
(request: GenerateKeyPairRequest) => {
return request.serializeBinary();
},
space_pb.GenerateKeyPairResponse.deserializeBinary
GenerateKeyPairResponse.deserializeBinary
);
generateKeyPairWithForce(
request: space_pb.GenerateKeyPairRequest,
metadata: grpcWeb.Metadata | null): Promise<space_pb.GenerateKeyPairResponse>;
request: GenerateKeyPairRequest,
metadata: grpcWeb.Metadata | null): Promise<GenerateKeyPairResponse>;
generateKeyPairWithForce(
request: space_pb.GenerateKeyPairRequest,
request: GenerateKeyPairRequest,
metadata: grpcWeb.Metadata | null,
callback: (err: grpcWeb.Error,
response: space_pb.GenerateKeyPairResponse) => void): grpcWeb.ClientReadableStream<space_pb.GenerateKeyPairResponse>;
response: GenerateKeyPairResponse) => void): grpcWeb.ClientReadableStream<GenerateKeyPairResponse>;
generateKeyPairWithForce(
request: space_pb.GenerateKeyPairRequest,
request: GenerateKeyPairRequest,
metadata: grpcWeb.Metadata | null,
callback?: (err: grpcWeb.Error,
response: space_pb.GenerateKeyPairResponse) => void) {
response: GenerateKeyPairResponse) => void) {
if (callback !== undefined) {
return this.client_.rpcCall(
this.hostname_ +
'/space.SpaceApi/GenerateKeyPairWithForce',
new URL('/space.SpaceApi/GenerateKeyPairWithForce', this.hostname_).toString(),
request,

@@ -329,28 +405,27 @@ metadata || {},

methodInfoGetPublicKey = new grpcWeb.AbstractClientBase.MethodInfo(
space_pb.GetPublicKeyResponse,
(request: space_pb.GetPublicKeyRequest) => {
GetPublicKeyResponse,
(request: GetPublicKeyRequest) => {
return request.serializeBinary();
},
space_pb.GetPublicKeyResponse.deserializeBinary
GetPublicKeyResponse.deserializeBinary
);
getPublicKey(
request: space_pb.GetPublicKeyRequest,
metadata: grpcWeb.Metadata | null): Promise<space_pb.GetPublicKeyResponse>;
request: GetPublicKeyRequest,
metadata: grpcWeb.Metadata | null): Promise<GetPublicKeyResponse>;
getPublicKey(
request: space_pb.GetPublicKeyRequest,
request: GetPublicKeyRequest,
metadata: grpcWeb.Metadata | null,
callback: (err: grpcWeb.Error,
response: space_pb.GetPublicKeyResponse) => void): grpcWeb.ClientReadableStream<space_pb.GetPublicKeyResponse>;
response: GetPublicKeyResponse) => void): grpcWeb.ClientReadableStream<GetPublicKeyResponse>;
getPublicKey(
request: space_pb.GetPublicKeyRequest,
request: GetPublicKeyRequest,
metadata: grpcWeb.Metadata | null,
callback?: (err: grpcWeb.Error,
response: space_pb.GetPublicKeyResponse) => void) {
response: GetPublicKeyResponse) => void) {
if (callback !== undefined) {
return this.client_.rpcCall(
this.hostname_ +
'/space.SpaceApi/GetPublicKey',
new URL('/space.SpaceApi/GetPublicKey', this.hostname_).toString(),
request,

@@ -370,7 +445,7 @@ metadata || {},

methodInfoSubscribe = new grpcWeb.AbstractClientBase.MethodInfo(
space_pb.FileEventResponse,
FileEventResponse,
(request: google_protobuf_empty_pb.Empty) => {
return request.serializeBinary();
},
space_pb.FileEventResponse.deserializeBinary
FileEventResponse.deserializeBinary
);

@@ -382,4 +457,3 @@

return this.client_.serverStreaming(
this.hostname_ +
'/space.SpaceApi/Subscribe',
new URL('/space.SpaceApi/Subscribe', this.hostname_).toString(),
request,

@@ -391,7 +465,7 @@ metadata || {},

methodInfoTxlSubscribe = new grpcWeb.AbstractClientBase.MethodInfo(
space_pb.TextileEventResponse,
TextileEventResponse,
(request: google_protobuf_empty_pb.Empty) => {
return request.serializeBinary();
},
space_pb.TextileEventResponse.deserializeBinary
TextileEventResponse.deserializeBinary
);

@@ -403,4 +477,3 @@

return this.client_.serverStreaming(
this.hostname_ +
'/space.SpaceApi/TxlSubscribe',
new URL('/space.SpaceApi/TxlSubscribe', this.hostname_).toString(),
request,

@@ -412,28 +485,27 @@ metadata || {},

methodInfoOpenFile = new grpcWeb.AbstractClientBase.MethodInfo(
space_pb.OpenFileResponse,
(request: space_pb.OpenFileRequest) => {
OpenFileResponse,
(request: OpenFileRequest) => {
return request.serializeBinary();
},
space_pb.OpenFileResponse.deserializeBinary
OpenFileResponse.deserializeBinary
);
openFile(
request: space_pb.OpenFileRequest,
metadata: grpcWeb.Metadata | null): Promise<space_pb.OpenFileResponse>;
request: OpenFileRequest,
metadata: grpcWeb.Metadata | null): Promise<OpenFileResponse>;
openFile(
request: space_pb.OpenFileRequest,
request: OpenFileRequest,
metadata: grpcWeb.Metadata | null,
callback: (err: grpcWeb.Error,
response: space_pb.OpenFileResponse) => void): grpcWeb.ClientReadableStream<space_pb.OpenFileResponse>;
response: OpenFileResponse) => void): grpcWeb.ClientReadableStream<OpenFileResponse>;
openFile(
request: space_pb.OpenFileRequest,
request: OpenFileRequest,
metadata: grpcWeb.Metadata | null,
callback?: (err: grpcWeb.Error,
response: space_pb.OpenFileResponse) => void) {
response: OpenFileResponse) => void) {
if (callback !== undefined) {
return this.client_.rpcCall(
this.hostname_ +
'/space.SpaceApi/OpenFile',
new URL('/space.SpaceApi/OpenFile', this.hostname_).toString(),
request,

@@ -453,28 +525,27 @@ metadata || {},

methodInfoRemoveDirOrFile = new grpcWeb.AbstractClientBase.MethodInfo(
space_pb.RemoveDirOrFileResponse,
(request: space_pb.RemoveDirOrFileRequest) => {
RemoveDirOrFileResponse,
(request: RemoveDirOrFileRequest) => {
return request.serializeBinary();
},
space_pb.RemoveDirOrFileResponse.deserializeBinary
RemoveDirOrFileResponse.deserializeBinary
);
removeDirOrFile(
request: space_pb.RemoveDirOrFileRequest,
metadata: grpcWeb.Metadata | null): Promise<space_pb.RemoveDirOrFileResponse>;
request: RemoveDirOrFileRequest,
metadata: grpcWeb.Metadata | null): Promise<RemoveDirOrFileResponse>;
removeDirOrFile(
request: space_pb.RemoveDirOrFileRequest,
request: RemoveDirOrFileRequest,
metadata: grpcWeb.Metadata | null,
callback: (err: grpcWeb.Error,
response: space_pb.RemoveDirOrFileResponse) => void): grpcWeb.ClientReadableStream<space_pb.RemoveDirOrFileResponse>;
response: RemoveDirOrFileResponse) => void): grpcWeb.ClientReadableStream<RemoveDirOrFileResponse>;
removeDirOrFile(
request: space_pb.RemoveDirOrFileRequest,
request: RemoveDirOrFileRequest,
metadata: grpcWeb.Metadata | null,
callback?: (err: grpcWeb.Error,
response: space_pb.RemoveDirOrFileResponse) => void) {
response: RemoveDirOrFileResponse) => void) {
if (callback !== undefined) {
return this.client_.rpcCall(
this.hostname_ +
'/space.SpaceApi/RemoveDirOrFile',
new URL('/space.SpaceApi/RemoveDirOrFile', this.hostname_).toString(),
request,

@@ -494,28 +565,27 @@ metadata || {},

methodInfoGeneratePublicFileLink = new grpcWeb.AbstractClientBase.MethodInfo(
space_pb.GeneratePublicFileLinkResponse,
(request: space_pb.GeneratePublicFileLinkRequest) => {
GeneratePublicFileLinkResponse,
(request: GeneratePublicFileLinkRequest) => {
return request.serializeBinary();
},
space_pb.GeneratePublicFileLinkResponse.deserializeBinary
GeneratePublicFileLinkResponse.deserializeBinary
);
generatePublicFileLink(
request: space_pb.GeneratePublicFileLinkRequest,
metadata: grpcWeb.Metadata | null): Promise<space_pb.GeneratePublicFileLinkResponse>;
request: GeneratePublicFileLinkRequest,
metadata: grpcWeb.Metadata | null): Promise<GeneratePublicFileLinkResponse>;
generatePublicFileLink(
request: space_pb.GeneratePublicFileLinkRequest,
request: GeneratePublicFileLinkRequest,
metadata: grpcWeb.Metadata | null,
callback: (err: grpcWeb.Error,
response: space_pb.GeneratePublicFileLinkResponse) => void): grpcWeb.ClientReadableStream<space_pb.GeneratePublicFileLinkResponse>;
response: GeneratePublicFileLinkResponse) => void): grpcWeb.ClientReadableStream<GeneratePublicFileLinkResponse>;
generatePublicFileLink(
request: space_pb.GeneratePublicFileLinkRequest,
request: GeneratePublicFileLinkRequest,
metadata: grpcWeb.Metadata | null,
callback?: (err: grpcWeb.Error,
response: space_pb.GeneratePublicFileLinkResponse) => void) {
response: GeneratePublicFileLinkResponse) => void) {
if (callback !== undefined) {
return this.client_.rpcCall(
this.hostname_ +
'/space.SpaceApi/GeneratePublicFileLink',
new URL('/space.SpaceApi/GeneratePublicFileLink', this.hostname_).toString(),
request,

@@ -535,28 +605,27 @@ metadata || {},

methodInfoGetSharedWithMeFiles = new grpcWeb.AbstractClientBase.MethodInfo(
space_pb.GetSharedWithMeFilesResponse,
(request: space_pb.GetSharedWithMeFilesRequest) => {
GetSharedWithMeFilesResponse,
(request: GetSharedWithMeFilesRequest) => {
return request.serializeBinary();
},
space_pb.GetSharedWithMeFilesResponse.deserializeBinary
GetSharedWithMeFilesResponse.deserializeBinary
);
getSharedWithMeFiles(
request: space_pb.GetSharedWithMeFilesRequest,
metadata: grpcWeb.Metadata | null): Promise<space_pb.GetSharedWithMeFilesResponse>;
request: GetSharedWithMeFilesRequest,
metadata: grpcWeb.Metadata | null): Promise<GetSharedWithMeFilesResponse>;
getSharedWithMeFiles(
request: space_pb.GetSharedWithMeFilesRequest,
request: GetSharedWithMeFilesRequest,
metadata: grpcWeb.Metadata | null,
callback: (err: grpcWeb.Error,
response: space_pb.GetSharedWithMeFilesResponse) => void): grpcWeb.ClientReadableStream<space_pb.GetSharedWithMeFilesResponse>;
response: GetSharedWithMeFilesResponse) => void): grpcWeb.ClientReadableStream<GetSharedWithMeFilesResponse>;
getSharedWithMeFiles(
request: space_pb.GetSharedWithMeFilesRequest,
request: GetSharedWithMeFilesRequest,
metadata: grpcWeb.Metadata | null,
callback?: (err: grpcWeb.Error,
response: space_pb.GetSharedWithMeFilesResponse) => void) {
response: GetSharedWithMeFilesResponse) => void) {
if (callback !== undefined) {
return this.client_.rpcCall(
this.hostname_ +
'/space.SpaceApi/GetSharedWithMeFiles',
new URL('/space.SpaceApi/GetSharedWithMeFiles', this.hostname_).toString(),
request,

@@ -576,28 +645,27 @@ metadata || {},

methodInfoGetSharedByMeFiles = new grpcWeb.AbstractClientBase.MethodInfo(
space_pb.GetSharedByMeFilesResponse,
(request: space_pb.GetSharedByMeFilesRequest) => {
GetSharedByMeFilesResponse,
(request: GetSharedByMeFilesRequest) => {
return request.serializeBinary();
},
space_pb.GetSharedByMeFilesResponse.deserializeBinary
GetSharedByMeFilesResponse.deserializeBinary
);
getSharedByMeFiles(
request: space_pb.GetSharedByMeFilesRequest,
metadata: grpcWeb.Metadata | null): Promise<space_pb.GetSharedByMeFilesResponse>;
request: GetSharedByMeFilesRequest,
metadata: grpcWeb.Metadata | null): Promise<GetSharedByMeFilesResponse>;
getSharedByMeFiles(
request: space_pb.GetSharedByMeFilesRequest,
request: GetSharedByMeFilesRequest,
metadata: grpcWeb.Metadata | null,
callback: (err: grpcWeb.Error,
response: space_pb.GetSharedByMeFilesResponse) => void): grpcWeb.ClientReadableStream<space_pb.GetSharedByMeFilesResponse>;
response: GetSharedByMeFilesResponse) => void): grpcWeb.ClientReadableStream<GetSharedByMeFilesResponse>;
getSharedByMeFiles(
request: space_pb.GetSharedByMeFilesRequest,
request: GetSharedByMeFilesRequest,
metadata: grpcWeb.Metadata | null,
callback?: (err: grpcWeb.Error,
response: space_pb.GetSharedByMeFilesResponse) => void) {
response: GetSharedByMeFilesResponse) => void) {
if (callback !== undefined) {
return this.client_.rpcCall(
this.hostname_ +
'/space.SpaceApi/GetSharedByMeFiles',
new URL('/space.SpaceApi/GetSharedByMeFiles', this.hostname_).toString(),
request,

@@ -617,28 +685,27 @@ metadata || {},

methodInfoOpenPublicFile = new grpcWeb.AbstractClientBase.MethodInfo(
space_pb.OpenPublicFileResponse,
(request: space_pb.OpenPublicFileRequest) => {
OpenPublicFileResponse,
(request: OpenPublicFileRequest) => {
return request.serializeBinary();
},
space_pb.OpenPublicFileResponse.deserializeBinary
OpenPublicFileResponse.deserializeBinary
);
openPublicFile(
request: space_pb.OpenPublicFileRequest,
metadata: grpcWeb.Metadata | null): Promise<space_pb.OpenPublicFileResponse>;
request: OpenPublicFileRequest,
metadata: grpcWeb.Metadata | null): Promise<OpenPublicFileResponse>;
openPublicFile(
request: space_pb.OpenPublicFileRequest,
request: OpenPublicFileRequest,
metadata: grpcWeb.Metadata | null,
callback: (err: grpcWeb.Error,
response: space_pb.OpenPublicFileResponse) => void): grpcWeb.ClientReadableStream<space_pb.OpenPublicFileResponse>;
response: OpenPublicFileResponse) => void): grpcWeb.ClientReadableStream<OpenPublicFileResponse>;
openPublicFile(
request: space_pb.OpenPublicFileRequest,
request: OpenPublicFileRequest,
metadata: grpcWeb.Metadata | null,
callback?: (err: grpcWeb.Error,
response: space_pb.OpenPublicFileResponse) => void) {
response: OpenPublicFileResponse) => void) {
if (callback !== undefined) {
return this.client_.rpcCall(
this.hostname_ +
'/space.SpaceApi/OpenPublicFile',
new URL('/space.SpaceApi/OpenPublicFile', this.hostname_).toString(),
request,

@@ -658,15 +725,14 @@ metadata || {},

methodInfoAddItems = new grpcWeb.AbstractClientBase.MethodInfo(
space_pb.AddItemsResponse,
(request: space_pb.AddItemsRequest) => {
AddItemsResponse,
(request: AddItemsRequest) => {
return request.serializeBinary();
},
space_pb.AddItemsResponse.deserializeBinary
AddItemsResponse.deserializeBinary
);
addItems(
request: space_pb.AddItemsRequest,
request: AddItemsRequest,
metadata?: grpcWeb.Metadata) {
return this.client_.serverStreaming(
this.hostname_ +
'/space.SpaceApi/AddItems',
new URL('/space.SpaceApi/AddItems', this.hostname_).toString(),
request,

@@ -678,28 +744,27 @@ metadata || {},

methodInfoCreateFolder = new grpcWeb.AbstractClientBase.MethodInfo(
space_pb.CreateFolderResponse,
(request: space_pb.CreateFolderRequest) => {
CreateFolderResponse,
(request: CreateFolderRequest) => {
return request.serializeBinary();
},
space_pb.CreateFolderResponse.deserializeBinary
CreateFolderResponse.deserializeBinary
);
createFolder(
request: space_pb.CreateFolderRequest,
metadata: grpcWeb.Metadata | null): Promise<space_pb.CreateFolderResponse>;
request: CreateFolderRequest,
metadata: grpcWeb.Metadata | null): Promise<CreateFolderResponse>;
createFolder(
request: space_pb.CreateFolderRequest,
request: CreateFolderRequest,
metadata: grpcWeb.Metadata | null,
callback: (err: grpcWeb.Error,
response: space_pb.CreateFolderResponse) => void): grpcWeb.ClientReadableStream<space_pb.CreateFolderResponse>;
response: CreateFolderResponse) => void): grpcWeb.ClientReadableStream<CreateFolderResponse>;
createFolder(
request: space_pb.CreateFolderRequest,
request: CreateFolderRequest,
metadata: grpcWeb.Metadata | null,
callback?: (err: grpcWeb.Error,
response: space_pb.CreateFolderResponse) => void) {
response: CreateFolderResponse) => void) {
if (callback !== undefined) {
return this.client_.rpcCall(
this.hostname_ +
'/space.SpaceApi/CreateFolder',
new URL('/space.SpaceApi/CreateFolder', this.hostname_).toString(),
request,

@@ -719,28 +784,27 @@ metadata || {},

methodInfoToggleFuseDrive = new grpcWeb.AbstractClientBase.MethodInfo(
space_pb.FuseDriveResponse,
(request: space_pb.ToggleFuseRequest) => {
FuseDriveResponse,
(request: ToggleFuseRequest) => {
return request.serializeBinary();
},
space_pb.FuseDriveResponse.deserializeBinary
FuseDriveResponse.deserializeBinary
);
toggleFuseDrive(
request: space_pb.ToggleFuseRequest,
metadata: grpcWeb.Metadata | null): Promise<space_pb.FuseDriveResponse>;
request: ToggleFuseRequest,
metadata: grpcWeb.Metadata | null): Promise<FuseDriveResponse>;
toggleFuseDrive(
request: space_pb.ToggleFuseRequest,
request: ToggleFuseRequest,
metadata: grpcWeb.Metadata | null,
callback: (err: grpcWeb.Error,
response: space_pb.FuseDriveResponse) => void): grpcWeb.ClientReadableStream<space_pb.FuseDriveResponse>;
response: FuseDriveResponse) => void): grpcWeb.ClientReadableStream<FuseDriveResponse>;
toggleFuseDrive(
request: space_pb.ToggleFuseRequest,
request: ToggleFuseRequest,
metadata: grpcWeb.Metadata | null,
callback?: (err: grpcWeb.Error,
response: space_pb.FuseDriveResponse) => void) {
response: FuseDriveResponse) => void) {
if (callback !== undefined) {
return this.client_.rpcCall(
this.hostname_ +
'/space.SpaceApi/ToggleFuseDrive',
new URL('/space.SpaceApi/ToggleFuseDrive', this.hostname_).toString(),
request,

@@ -760,7 +824,7 @@ metadata || {},

methodInfoGetFuseDriveStatus = new grpcWeb.AbstractClientBase.MethodInfo(
space_pb.FuseDriveResponse,
FuseDriveResponse,
(request: google_protobuf_empty_pb.Empty) => {
return request.serializeBinary();
},
space_pb.FuseDriveResponse.deserializeBinary
FuseDriveResponse.deserializeBinary
);

@@ -770,3 +834,3 @@

request: google_protobuf_empty_pb.Empty,
metadata: grpcWeb.Metadata | null): Promise<space_pb.FuseDriveResponse>;
metadata: grpcWeb.Metadata | null): Promise<FuseDriveResponse>;

@@ -777,3 +841,3 @@ getFuseDriveStatus(

callback: (err: grpcWeb.Error,
response: space_pb.FuseDriveResponse) => void): grpcWeb.ClientReadableStream<space_pb.FuseDriveResponse>;
response: FuseDriveResponse) => void): grpcWeb.ClientReadableStream<FuseDriveResponse>;

@@ -784,7 +848,6 @@ getFuseDriveStatus(

callback?: (err: grpcWeb.Error,
response: space_pb.FuseDriveResponse) => void) {
response: FuseDriveResponse) => void) {
if (callback !== undefined) {
return this.client_.rpcCall(
this.hostname_ +
'/space.SpaceApi/GetFuseDriveStatus',
new URL('/space.SpaceApi/GetFuseDriveStatus', this.hostname_).toString(),
request,

@@ -804,28 +867,27 @@ metadata || {},

methodInfoCreateBucket = new grpcWeb.AbstractClientBase.MethodInfo(
space_pb.CreateBucketResponse,
(request: space_pb.CreateBucketRequest) => {
CreateBucketResponse,
(request: CreateBucketRequest) => {
return request.serializeBinary();
},
space_pb.CreateBucketResponse.deserializeBinary
CreateBucketResponse.deserializeBinary
);
createBucket(
request: space_pb.CreateBucketRequest,
metadata: grpcWeb.Metadata | null): Promise<space_pb.CreateBucketResponse>;
request: CreateBucketRequest,
metadata: grpcWeb.Metadata | null): Promise<CreateBucketResponse>;
createBucket(
request: space_pb.CreateBucketRequest,
request: CreateBucketRequest,
metadata: grpcWeb.Metadata | null,
callback: (err: grpcWeb.Error,
response: space_pb.CreateBucketResponse) => void): grpcWeb.ClientReadableStream<space_pb.CreateBucketResponse>;
response: CreateBucketResponse) => void): grpcWeb.ClientReadableStream<CreateBucketResponse>;
createBucket(
request: space_pb.CreateBucketRequest,
request: CreateBucketRequest,
metadata: grpcWeb.Metadata | null,
callback?: (err: grpcWeb.Error,
response: space_pb.CreateBucketResponse) => void) {
response: CreateBucketResponse) => void) {
if (callback !== undefined) {
return this.client_.rpcCall(
this.hostname_ +
'/space.SpaceApi/CreateBucket',
new URL('/space.SpaceApi/CreateBucket', this.hostname_).toString(),
request,

@@ -845,28 +907,27 @@ metadata || {},

methodInfoBackupKeysByPassphrase = new grpcWeb.AbstractClientBase.MethodInfo(
space_pb.BackupKeysByPassphraseResponse,
(request: space_pb.BackupKeysByPassphraseRequest) => {
BackupKeysByPassphraseResponse,
(request: BackupKeysByPassphraseRequest) => {
return request.serializeBinary();
},
space_pb.BackupKeysByPassphraseResponse.deserializeBinary
BackupKeysByPassphraseResponse.deserializeBinary
);
backupKeysByPassphrase(
request: space_pb.BackupKeysByPassphraseRequest,
metadata: grpcWeb.Metadata | null): Promise<space_pb.BackupKeysByPassphraseResponse>;
request: BackupKeysByPassphraseRequest,
metadata: grpcWeb.Metadata | null): Promise<BackupKeysByPassphraseResponse>;
backupKeysByPassphrase(
request: space_pb.BackupKeysByPassphraseRequest,
request: BackupKeysByPassphraseRequest,
metadata: grpcWeb.Metadata | null,
callback: (err: grpcWeb.Error,
response: space_pb.BackupKeysByPassphraseResponse) => void): grpcWeb.ClientReadableStream<space_pb.BackupKeysByPassphraseResponse>;
response: BackupKeysByPassphraseResponse) => void): grpcWeb.ClientReadableStream<BackupKeysByPassphraseResponse>;
backupKeysByPassphrase(
request: space_pb.BackupKeysByPassphraseRequest,
request: BackupKeysByPassphraseRequest,
metadata: grpcWeb.Metadata | null,
callback?: (err: grpcWeb.Error,
response: space_pb.BackupKeysByPassphraseResponse) => void) {
response: BackupKeysByPassphraseResponse) => void) {
if (callback !== undefined) {
return this.client_.rpcCall(
this.hostname_ +
'/space.SpaceApi/BackupKeysByPassphrase',
new URL('/space.SpaceApi/BackupKeysByPassphrase', this.hostname_).toString(),
request,

@@ -886,28 +947,27 @@ metadata || {},

methodInfoRecoverKeysByPassphrase = new grpcWeb.AbstractClientBase.MethodInfo(
space_pb.RecoverKeysByPassphraseResponse,
(request: space_pb.RecoverKeysByPassphraseRequest) => {
RecoverKeysByPassphraseResponse,
(request: RecoverKeysByPassphraseRequest) => {
return request.serializeBinary();
},
space_pb.RecoverKeysByPassphraseResponse.deserializeBinary
RecoverKeysByPassphraseResponse.deserializeBinary
);
recoverKeysByPassphrase(
request: space_pb.RecoverKeysByPassphraseRequest,
metadata: grpcWeb.Metadata | null): Promise<space_pb.RecoverKeysByPassphraseResponse>;
request: RecoverKeysByPassphraseRequest,
metadata: grpcWeb.Metadata | null): Promise<RecoverKeysByPassphraseResponse>;
recoverKeysByPassphrase(
request: space_pb.RecoverKeysByPassphraseRequest,
request: RecoverKeysByPassphraseRequest,
metadata: grpcWeb.Metadata | null,
callback: (err: grpcWeb.Error,
response: space_pb.RecoverKeysByPassphraseResponse) => void): grpcWeb.ClientReadableStream<space_pb.RecoverKeysByPassphraseResponse>;
response: RecoverKeysByPassphraseResponse) => void): grpcWeb.ClientReadableStream<RecoverKeysByPassphraseResponse>;
recoverKeysByPassphrase(
request: space_pb.RecoverKeysByPassphraseRequest,
request: RecoverKeysByPassphraseRequest,
metadata: grpcWeb.Metadata | null,
callback?: (err: grpcWeb.Error,
response: space_pb.RecoverKeysByPassphraseResponse) => void) {
response: RecoverKeysByPassphraseResponse) => void) {
if (callback !== undefined) {
return this.client_.rpcCall(
this.hostname_ +
'/space.SpaceApi/RecoverKeysByPassphrase',
new URL('/space.SpaceApi/RecoverKeysByPassphrase', this.hostname_).toString(),
request,

@@ -927,28 +987,27 @@ metadata || {},

methodInfoTestKeysPassphrase = new grpcWeb.AbstractClientBase.MethodInfo(
space_pb.TestKeysPassphraseResponse,
(request: space_pb.TestKeysPassphraseRequest) => {
TestKeysPassphraseResponse,
(request: TestKeysPassphraseRequest) => {
return request.serializeBinary();
},
space_pb.TestKeysPassphraseResponse.deserializeBinary
TestKeysPassphraseResponse.deserializeBinary
);
testKeysPassphrase(
request: space_pb.TestKeysPassphraseRequest,
metadata: grpcWeb.Metadata | null): Promise<space_pb.TestKeysPassphraseResponse>;
request: TestKeysPassphraseRequest,
metadata: grpcWeb.Metadata | null): Promise<TestKeysPassphraseResponse>;
testKeysPassphrase(
request: space_pb.TestKeysPassphraseRequest,
request: TestKeysPassphraseRequest,
metadata: grpcWeb.Metadata | null,
callback: (err: grpcWeb.Error,
response: space_pb.TestKeysPassphraseResponse) => void): grpcWeb.ClientReadableStream<space_pb.TestKeysPassphraseResponse>;
response: TestKeysPassphraseResponse) => void): grpcWeb.ClientReadableStream<TestKeysPassphraseResponse>;
testKeysPassphrase(
request: space_pb.TestKeysPassphraseRequest,
request: TestKeysPassphraseRequest,
metadata: grpcWeb.Metadata | null,
callback?: (err: grpcWeb.Error,
response: space_pb.TestKeysPassphraseResponse) => void) {
response: TestKeysPassphraseResponse) => void) {
if (callback !== undefined) {
return this.client_.rpcCall(
this.hostname_ +
'/space.SpaceApi/TestKeysPassphrase',
new URL('/space.SpaceApi/TestKeysPassphrase', this.hostname_).toString(),
request,

@@ -968,28 +1027,27 @@ metadata || {},

methodInfoCreateLocalKeysBackup = new grpcWeb.AbstractClientBase.MethodInfo(
space_pb.CreateLocalKeysBackupResponse,
(request: space_pb.CreateLocalKeysBackupRequest) => {
CreateLocalKeysBackupResponse,
(request: CreateLocalKeysBackupRequest) => {
return request.serializeBinary();
},
space_pb.CreateLocalKeysBackupResponse.deserializeBinary
CreateLocalKeysBackupResponse.deserializeBinary
);
createLocalKeysBackup(
request: space_pb.CreateLocalKeysBackupRequest,
metadata: grpcWeb.Metadata | null): Promise<space_pb.CreateLocalKeysBackupResponse>;
request: CreateLocalKeysBackupRequest,
metadata: grpcWeb.Metadata | null): Promise<CreateLocalKeysBackupResponse>;
createLocalKeysBackup(
request: space_pb.CreateLocalKeysBackupRequest,
request: CreateLocalKeysBackupRequest,
metadata: grpcWeb.Metadata | null,
callback: (err: grpcWeb.Error,
response: space_pb.CreateLocalKeysBackupResponse) => void): grpcWeb.ClientReadableStream<space_pb.CreateLocalKeysBackupResponse>;
response: CreateLocalKeysBackupResponse) => void): grpcWeb.ClientReadableStream<CreateLocalKeysBackupResponse>;
createLocalKeysBackup(
request: space_pb.CreateLocalKeysBackupRequest,
request: CreateLocalKeysBackupRequest,
metadata: grpcWeb.Metadata | null,
callback?: (err: grpcWeb.Error,
response: space_pb.CreateLocalKeysBackupResponse) => void) {
response: CreateLocalKeysBackupResponse) => void) {
if (callback !== undefined) {
return this.client_.rpcCall(
this.hostname_ +
'/space.SpaceApi/CreateLocalKeysBackup',
new URL('/space.SpaceApi/CreateLocalKeysBackup', this.hostname_).toString(),
request,

@@ -1009,28 +1067,27 @@ metadata || {},

methodInfoRecoverKeysByLocalBackup = new grpcWeb.AbstractClientBase.MethodInfo(
space_pb.RecoverKeysByLocalBackupResponse,
(request: space_pb.RecoverKeysByLocalBackupRequest) => {
RecoverKeysByLocalBackupResponse,
(request: RecoverKeysByLocalBackupRequest) => {
return request.serializeBinary();
},
space_pb.RecoverKeysByLocalBackupResponse.deserializeBinary
RecoverKeysByLocalBackupResponse.deserializeBinary
);
recoverKeysByLocalBackup(
request: space_pb.RecoverKeysByLocalBackupRequest,
metadata: grpcWeb.Metadata | null): Promise<space_pb.RecoverKeysByLocalBackupResponse>;
request: RecoverKeysByLocalBackupRequest,
metadata: grpcWeb.Metadata | null): Promise<RecoverKeysByLocalBackupResponse>;
recoverKeysByLocalBackup(
request: space_pb.RecoverKeysByLocalBackupRequest,
request: RecoverKeysByLocalBackupRequest,
metadata: grpcWeb.Metadata | null,
callback: (err: grpcWeb.Error,
response: space_pb.RecoverKeysByLocalBackupResponse) => void): grpcWeb.ClientReadableStream<space_pb.RecoverKeysByLocalBackupResponse>;
response: RecoverKeysByLocalBackupResponse) => void): grpcWeb.ClientReadableStream<RecoverKeysByLocalBackupResponse>;
recoverKeysByLocalBackup(
request: space_pb.RecoverKeysByLocalBackupRequest,
request: RecoverKeysByLocalBackupRequest,
metadata: grpcWeb.Metadata | null,
callback?: (err: grpcWeb.Error,
response: space_pb.RecoverKeysByLocalBackupResponse) => void) {
response: RecoverKeysByLocalBackupResponse) => void) {
if (callback !== undefined) {
return this.client_.rpcCall(
this.hostname_ +
'/space.SpaceApi/RecoverKeysByLocalBackup',
new URL('/space.SpaceApi/RecoverKeysByLocalBackup', this.hostname_).toString(),
request,

@@ -1050,28 +1107,27 @@ metadata || {},

methodInfoShareBucket = new grpcWeb.AbstractClientBase.MethodInfo(
space_pb.ShareBucketResponse,
(request: space_pb.ShareBucketRequest) => {
ShareBucketResponse,
(request: ShareBucketRequest) => {
return request.serializeBinary();
},
space_pb.ShareBucketResponse.deserializeBinary
ShareBucketResponse.deserializeBinary
);
shareBucket(
request: space_pb.ShareBucketRequest,
metadata: grpcWeb.Metadata | null): Promise<space_pb.ShareBucketResponse>;
request: ShareBucketRequest,
metadata: grpcWeb.Metadata | null): Promise<ShareBucketResponse>;
shareBucket(
request: space_pb.ShareBucketRequest,
request: ShareBucketRequest,
metadata: grpcWeb.Metadata | null,
callback: (err: grpcWeb.Error,
response: space_pb.ShareBucketResponse) => void): grpcWeb.ClientReadableStream<space_pb.ShareBucketResponse>;
response: ShareBucketResponse) => void): grpcWeb.ClientReadableStream<ShareBucketResponse>;
shareBucket(
request: space_pb.ShareBucketRequest,
request: ShareBucketRequest,
metadata: grpcWeb.Metadata | null,
callback?: (err: grpcWeb.Error,
response: space_pb.ShareBucketResponse) => void) {
response: ShareBucketResponse) => void) {
if (callback !== undefined) {
return this.client_.rpcCall(
this.hostname_ +
'/space.SpaceApi/ShareBucket',
new URL('/space.SpaceApi/ShareBucket', this.hostname_).toString(),
request,

@@ -1091,28 +1147,27 @@ metadata || {},

methodInfoJoinBucket = new grpcWeb.AbstractClientBase.MethodInfo(
space_pb.JoinBucketResponse,
(request: space_pb.JoinBucketRequest) => {
JoinBucketResponse,
(request: JoinBucketRequest) => {
return request.serializeBinary();
},
space_pb.JoinBucketResponse.deserializeBinary
JoinBucketResponse.deserializeBinary
);
joinBucket(
request: space_pb.JoinBucketRequest,
metadata: grpcWeb.Metadata | null): Promise<space_pb.JoinBucketResponse>;
request: JoinBucketRequest,
metadata: grpcWeb.Metadata | null): Promise<JoinBucketResponse>;
joinBucket(
request: space_pb.JoinBucketRequest,
request: JoinBucketRequest,
metadata: grpcWeb.Metadata | null,
callback: (err: grpcWeb.Error,
response: space_pb.JoinBucketResponse) => void): grpcWeb.ClientReadableStream<space_pb.JoinBucketResponse>;
response: JoinBucketResponse) => void): grpcWeb.ClientReadableStream<JoinBucketResponse>;
joinBucket(
request: space_pb.JoinBucketRequest,
request: JoinBucketRequest,
metadata: grpcWeb.Metadata | null,
callback?: (err: grpcWeb.Error,
response: space_pb.JoinBucketResponse) => void) {
response: JoinBucketResponse) => void) {
if (callback !== undefined) {
return this.client_.rpcCall(
this.hostname_ +
'/space.SpaceApi/JoinBucket',
new URL('/space.SpaceApi/JoinBucket', this.hostname_).toString(),
request,

@@ -1132,28 +1187,27 @@ metadata || {},

methodInfoShareFilesViaPublicKey = new grpcWeb.AbstractClientBase.MethodInfo(
space_pb.ShareFilesViaPublicKeyResponse,
(request: space_pb.ShareFilesViaPublicKeyRequest) => {
ShareFilesViaPublicKeyResponse,
(request: ShareFilesViaPublicKeyRequest) => {
return request.serializeBinary();
},
space_pb.ShareFilesViaPublicKeyResponse.deserializeBinary
ShareFilesViaPublicKeyResponse.deserializeBinary
);
shareFilesViaPublicKey(
request: space_pb.ShareFilesViaPublicKeyRequest,
metadata: grpcWeb.Metadata | null): Promise<space_pb.ShareFilesViaPublicKeyResponse>;
request: ShareFilesViaPublicKeyRequest,
metadata: grpcWeb.Metadata | null): Promise<ShareFilesViaPublicKeyResponse>;
shareFilesViaPublicKey(
request: space_pb.ShareFilesViaPublicKeyRequest,
request: ShareFilesViaPublicKeyRequest,
metadata: grpcWeb.Metadata | null,
callback: (err: grpcWeb.Error,
response: space_pb.ShareFilesViaPublicKeyResponse) => void): grpcWeb.ClientReadableStream<space_pb.ShareFilesViaPublicKeyResponse>;
response: ShareFilesViaPublicKeyResponse) => void): grpcWeb.ClientReadableStream<ShareFilesViaPublicKeyResponse>;
shareFilesViaPublicKey(
request: space_pb.ShareFilesViaPublicKeyRequest,
request: ShareFilesViaPublicKeyRequest,
metadata: grpcWeb.Metadata | null,
callback?: (err: grpcWeb.Error,
response: space_pb.ShareFilesViaPublicKeyResponse) => void) {
response: ShareFilesViaPublicKeyResponse) => void) {
if (callback !== undefined) {
return this.client_.rpcCall(
this.hostname_ +
'/space.SpaceApi/ShareFilesViaPublicKey',
new URL('/space.SpaceApi/ShareFilesViaPublicKey', this.hostname_).toString(),
request,

@@ -1172,29 +1226,67 @@ metadata || {},

methodInfoUnshareFilesViaPublicKey = new grpcWeb.AbstractClientBase.MethodInfo(
UnshareFilesViaPublicKeyResponse,
(request: UnshareFilesViaPublicKeyRequest) => {
return request.serializeBinary();
},
UnshareFilesViaPublicKeyResponse.deserializeBinary
);
unshareFilesViaPublicKey(
request: UnshareFilesViaPublicKeyRequest,
metadata: grpcWeb.Metadata | null): Promise<UnshareFilesViaPublicKeyResponse>;
unshareFilesViaPublicKey(
request: UnshareFilesViaPublicKeyRequest,
metadata: grpcWeb.Metadata | null,
callback: (err: grpcWeb.Error,
response: UnshareFilesViaPublicKeyResponse) => void): grpcWeb.ClientReadableStream<UnshareFilesViaPublicKeyResponse>;
unshareFilesViaPublicKey(
request: UnshareFilesViaPublicKeyRequest,
metadata: grpcWeb.Metadata | null,
callback?: (err: grpcWeb.Error,
response: UnshareFilesViaPublicKeyResponse) => void) {
if (callback !== undefined) {
return this.client_.rpcCall(
new URL('/space.SpaceApi/UnshareFilesViaPublicKey', this.hostname_).toString(),
request,
metadata || {},
this.methodInfoUnshareFilesViaPublicKey,
callback);
}
return this.client_.unaryCall(
this.hostname_ +
'/space.SpaceApi/UnshareFilesViaPublicKey',
request,
metadata || {},
this.methodInfoUnshareFilesViaPublicKey);
}
methodInfoHandleFilesInvitation = new grpcWeb.AbstractClientBase.MethodInfo(
space_pb.HandleFilesInvitationResponse,
(request: space_pb.HandleFilesInvitationRequest) => {
HandleFilesInvitationResponse,
(request: HandleFilesInvitationRequest) => {
return request.serializeBinary();
},
space_pb.HandleFilesInvitationResponse.deserializeBinary
HandleFilesInvitationResponse.deserializeBinary
);
handleFilesInvitation(
request: space_pb.HandleFilesInvitationRequest,
metadata: grpcWeb.Metadata | null): Promise<space_pb.HandleFilesInvitationResponse>;
request: HandleFilesInvitationRequest,
metadata: grpcWeb.Metadata | null): Promise<HandleFilesInvitationResponse>;
handleFilesInvitation(
request: space_pb.HandleFilesInvitationRequest,
request: HandleFilesInvitationRequest,
metadata: grpcWeb.Metadata | null,
callback: (err: grpcWeb.Error,
response: space_pb.HandleFilesInvitationResponse) => void): grpcWeb.ClientReadableStream<space_pb.HandleFilesInvitationResponse>;
response: HandleFilesInvitationResponse) => void): grpcWeb.ClientReadableStream<HandleFilesInvitationResponse>;
handleFilesInvitation(
request: space_pb.HandleFilesInvitationRequest,
request: HandleFilesInvitationRequest,
metadata: grpcWeb.Metadata | null,
callback?: (err: grpcWeb.Error,
response: space_pb.HandleFilesInvitationResponse) => void) {
response: HandleFilesInvitationResponse) => void) {
if (callback !== undefined) {
return this.client_.rpcCall(
this.hostname_ +
'/space.SpaceApi/HandleFilesInvitation',
new URL('/space.SpaceApi/HandleFilesInvitation', this.hostname_).toString(),
request,

@@ -1214,7 +1306,7 @@ metadata || {},

methodInfoNotificationSubscribe = new grpcWeb.AbstractClientBase.MethodInfo(
space_pb.NotificationEventResponse,
NotificationEventResponse,
(request: google_protobuf_empty_pb.Empty) => {
return request.serializeBinary();
},
space_pb.NotificationEventResponse.deserializeBinary
NotificationEventResponse.deserializeBinary
);

@@ -1226,4 +1318,3 @@

return this.client_.serverStreaming(
this.hostname_ +
'/space.SpaceApi/NotificationSubscribe',
new URL('/space.SpaceApi/NotificationSubscribe', this.hostname_).toString(),
request,

@@ -1235,28 +1326,27 @@ metadata || {},

methodInfoListBuckets = new grpcWeb.AbstractClientBase.MethodInfo(
space_pb.ListBucketsResponse,
(request: space_pb.ListBucketsRequest) => {
ListBucketsResponse,
(request: ListBucketsRequest) => {
return request.serializeBinary();
},
space_pb.ListBucketsResponse.deserializeBinary
ListBucketsResponse.deserializeBinary
);
listBuckets(
request: space_pb.ListBucketsRequest,
metadata: grpcWeb.Metadata | null): Promise<space_pb.ListBucketsResponse>;
request: ListBucketsRequest,
metadata: grpcWeb.Metadata | null): Promise<ListBucketsResponse>;
listBuckets(
request: space_pb.ListBucketsRequest,
request: ListBucketsRequest,
metadata: grpcWeb.Metadata | null,
callback: (err: grpcWeb.Error,
response: space_pb.ListBucketsResponse) => void): grpcWeb.ClientReadableStream<space_pb.ListBucketsResponse>;
response: ListBucketsResponse) => void): grpcWeb.ClientReadableStream<ListBucketsResponse>;
listBuckets(
request: space_pb.ListBucketsRequest,
request: ListBucketsRequest,
metadata: grpcWeb.Metadata | null,
callback?: (err: grpcWeb.Error,
response: space_pb.ListBucketsResponse) => void) {
response: ListBucketsResponse) => void) {
if (callback !== undefined) {
return this.client_.rpcCall(
this.hostname_ +
'/space.SpaceApi/ListBuckets',
new URL('/space.SpaceApi/ListBuckets', this.hostname_).toString(),
request,

@@ -1276,28 +1366,27 @@ metadata || {},

methodInfoGetNotifications = new grpcWeb.AbstractClientBase.MethodInfo(
space_pb.GetNotificationsResponse,
(request: space_pb.GetNotificationsRequest) => {
GetNotificationsResponse,
(request: GetNotificationsRequest) => {
return request.serializeBinary();
},
space_pb.GetNotificationsResponse.deserializeBinary
GetNotificationsResponse.deserializeBinary
);
getNotifications(
request: space_pb.GetNotificationsRequest,
metadata: grpcWeb.Metadata | null): Promise<space_pb.GetNotificationsResponse>;
request: GetNotificationsRequest,
metadata: grpcWeb.Metadata | null): Promise<GetNotificationsResponse>;
getNotifications(
request: space_pb.GetNotificationsRequest,
request: GetNotificationsRequest,
metadata: grpcWeb.Metadata | null,
callback: (err: grpcWeb.Error,
response: space_pb.GetNotificationsResponse) => void): grpcWeb.ClientReadableStream<space_pb.GetNotificationsResponse>;
response: GetNotificationsResponse) => void): grpcWeb.ClientReadableStream<GetNotificationsResponse>;
getNotifications(
request: space_pb.GetNotificationsRequest,
request: GetNotificationsRequest,
metadata: grpcWeb.Metadata | null,
callback?: (err: grpcWeb.Error,
response: space_pb.GetNotificationsResponse) => void) {
response: GetNotificationsResponse) => void) {
if (callback !== undefined) {
return this.client_.rpcCall(
this.hostname_ +
'/space.SpaceApi/GetNotifications',
new URL('/space.SpaceApi/GetNotifications', this.hostname_).toString(),
request,

@@ -1317,28 +1406,27 @@ metadata || {},

methodInfoReadNotification = new grpcWeb.AbstractClientBase.MethodInfo(
space_pb.ReadNotificationResponse,
(request: space_pb.ReadNotificationRequest) => {
ReadNotificationResponse,
(request: ReadNotificationRequest) => {
return request.serializeBinary();
},
space_pb.ReadNotificationResponse.deserializeBinary
ReadNotificationResponse.deserializeBinary
);
readNotification(
request: space_pb.ReadNotificationRequest,
metadata: grpcWeb.Metadata | null): Promise<space_pb.ReadNotificationResponse>;
request: ReadNotificationRequest,
metadata: grpcWeb.Metadata | null): Promise<ReadNotificationResponse>;
readNotification(
request: space_pb.ReadNotificationRequest,
request: ReadNotificationRequest,
metadata: grpcWeb.Metadata | null,
callback: (err: grpcWeb.Error,
response: space_pb.ReadNotificationResponse) => void): grpcWeb.ClientReadableStream<space_pb.ReadNotificationResponse>;
response: ReadNotificationResponse) => void): grpcWeb.ClientReadableStream<ReadNotificationResponse>;
readNotification(
request: space_pb.ReadNotificationRequest,
request: ReadNotificationRequest,
metadata: grpcWeb.Metadata | null,
callback?: (err: grpcWeb.Error,
response: space_pb.ReadNotificationResponse) => void) {
response: ReadNotificationResponse) => void) {
if (callback !== undefined) {
return this.client_.rpcCall(
this.hostname_ +
'/space.SpaceApi/ReadNotification',
new URL('/space.SpaceApi/ReadNotification', this.hostname_).toString(),
request,

@@ -1358,28 +1446,27 @@ metadata || {},

methodInfoDeleteAccount = new grpcWeb.AbstractClientBase.MethodInfo(
space_pb.DeleteAccountResponse,
(request: space_pb.DeleteAccountRequest) => {
DeleteAccountResponse,
(request: DeleteAccountRequest) => {
return request.serializeBinary();
},
space_pb.DeleteAccountResponse.deserializeBinary
DeleteAccountResponse.deserializeBinary
);
deleteAccount(
request: space_pb.DeleteAccountRequest,
metadata: grpcWeb.Metadata | null): Promise<space_pb.DeleteAccountResponse>;
request: DeleteAccountRequest,
metadata: grpcWeb.Metadata | null): Promise<DeleteAccountResponse>;
deleteAccount(
request: space_pb.DeleteAccountRequest,
request: DeleteAccountRequest,
metadata: grpcWeb.Metadata | null,
callback: (err: grpcWeb.Error,
response: space_pb.DeleteAccountResponse) => void): grpcWeb.ClientReadableStream<space_pb.DeleteAccountResponse>;
response: DeleteAccountResponse) => void): grpcWeb.ClientReadableStream<DeleteAccountResponse>;
deleteAccount(
request: space_pb.DeleteAccountRequest,
request: DeleteAccountRequest,
metadata: grpcWeb.Metadata | null,
callback?: (err: grpcWeb.Error,
response: space_pb.DeleteAccountResponse) => void) {
response: DeleteAccountResponse) => void) {
if (callback !== undefined) {
return this.client_.rpcCall(
this.hostname_ +
'/space.SpaceApi/DeleteAccount',
new URL('/space.SpaceApi/DeleteAccount', this.hostname_).toString(),
request,

@@ -1399,28 +1486,27 @@ metadata || {},

methodInfoToggleBucketBackup = new grpcWeb.AbstractClientBase.MethodInfo(
space_pb.ToggleBucketBackupResponse,
(request: space_pb.ToggleBucketBackupRequest) => {
ToggleBucketBackupResponse,
(request: ToggleBucketBackupRequest) => {
return request.serializeBinary();
},
space_pb.ToggleBucketBackupResponse.deserializeBinary
ToggleBucketBackupResponse.deserializeBinary
);
toggleBucketBackup(
request: space_pb.ToggleBucketBackupRequest,
metadata: grpcWeb.Metadata | null): Promise<space_pb.ToggleBucketBackupResponse>;
request: ToggleBucketBackupRequest,
metadata: grpcWeb.Metadata | null): Promise<ToggleBucketBackupResponse>;
toggleBucketBackup(
request: space_pb.ToggleBucketBackupRequest,
request: ToggleBucketBackupRequest,
metadata: grpcWeb.Metadata | null,
callback: (err: grpcWeb.Error,
response: space_pb.ToggleBucketBackupResponse) => void): grpcWeb.ClientReadableStream<space_pb.ToggleBucketBackupResponse>;
response: ToggleBucketBackupResponse) => void): grpcWeb.ClientReadableStream<ToggleBucketBackupResponse>;
toggleBucketBackup(
request: space_pb.ToggleBucketBackupRequest,
request: ToggleBucketBackupRequest,
metadata: grpcWeb.Metadata | null,
callback?: (err: grpcWeb.Error,
response: space_pb.ToggleBucketBackupResponse) => void) {
response: ToggleBucketBackupResponse) => void) {
if (callback !== undefined) {
return this.client_.rpcCall(
this.hostname_ +
'/space.SpaceApi/ToggleBucketBackup',
new URL('/space.SpaceApi/ToggleBucketBackup', this.hostname_).toString(),
request,

@@ -1440,28 +1526,27 @@ metadata || {},

methodInfoBucketBackupRestore = new grpcWeb.AbstractClientBase.MethodInfo(
space_pb.BucketBackupRestoreResponse,
(request: space_pb.BucketBackupRestoreRequest) => {
BucketBackupRestoreResponse,
(request: BucketBackupRestoreRequest) => {
return request.serializeBinary();
},
space_pb.BucketBackupRestoreResponse.deserializeBinary
BucketBackupRestoreResponse.deserializeBinary
);
bucketBackupRestore(
request: space_pb.BucketBackupRestoreRequest,
metadata: grpcWeb.Metadata | null): Promise<space_pb.BucketBackupRestoreResponse>;
request: BucketBackupRestoreRequest,
metadata: grpcWeb.Metadata | null): Promise<BucketBackupRestoreResponse>;
bucketBackupRestore(
request: space_pb.BucketBackupRestoreRequest,
request: BucketBackupRestoreRequest,
metadata: grpcWeb.Metadata | null,
callback: (err: grpcWeb.Error,
response: space_pb.BucketBackupRestoreResponse) => void): grpcWeb.ClientReadableStream<space_pb.BucketBackupRestoreResponse>;
response: BucketBackupRestoreResponse) => void): grpcWeb.ClientReadableStream<BucketBackupRestoreResponse>;
bucketBackupRestore(
request: space_pb.BucketBackupRestoreRequest,
request: BucketBackupRestoreRequest,
metadata: grpcWeb.Metadata | null,
callback?: (err: grpcWeb.Error,
response: space_pb.BucketBackupRestoreResponse) => void) {
response: BucketBackupRestoreResponse) => void) {
if (callback !== undefined) {
return this.client_.rpcCall(
this.hostname_ +
'/space.SpaceApi/BucketBackupRestore',
new URL('/space.SpaceApi/BucketBackupRestore', this.hostname_).toString(),
request,

@@ -1481,28 +1566,27 @@ metadata || {},

methodInfoGetUsageInfo = new grpcWeb.AbstractClientBase.MethodInfo(
space_pb.GetUsageInfoResponse,
(request: space_pb.GetUsageInfoRequest) => {
GetUsageInfoResponse,
(request: GetUsageInfoRequest) => {
return request.serializeBinary();
},
space_pb.GetUsageInfoResponse.deserializeBinary
GetUsageInfoResponse.deserializeBinary
);
getUsageInfo(
request: space_pb.GetUsageInfoRequest,
metadata: grpcWeb.Metadata | null): Promise<space_pb.GetUsageInfoResponse>;
request: GetUsageInfoRequest,
metadata: grpcWeb.Metadata | null): Promise<GetUsageInfoResponse>;
getUsageInfo(
request: space_pb.GetUsageInfoRequest,
request: GetUsageInfoRequest,
metadata: grpcWeb.Metadata | null,
callback: (err: grpcWeb.Error,
response: space_pb.GetUsageInfoResponse) => void): grpcWeb.ClientReadableStream<space_pb.GetUsageInfoResponse>;
response: GetUsageInfoResponse) => void): grpcWeb.ClientReadableStream<GetUsageInfoResponse>;
getUsageInfo(
request: space_pb.GetUsageInfoRequest,
request: GetUsageInfoRequest,
metadata: grpcWeb.Metadata | null,
callback?: (err: grpcWeb.Error,
response: space_pb.GetUsageInfoResponse) => void) {
response: GetUsageInfoResponse) => void) {
if (callback !== undefined) {
return this.client_.rpcCall(
this.hostname_ +
'/space.SpaceApi/GetUsageInfo',
new URL('/space.SpaceApi/GetUsageInfo', this.hostname_).toString(),
request,

@@ -1522,28 +1606,27 @@ metadata || {},

methodInfoGetAPISessionTokens = new grpcWeb.AbstractClientBase.MethodInfo(
space_pb.GetAPISessionTokensResponse,
(request: space_pb.GetAPISessionTokensRequest) => {
GetAPISessionTokensResponse,
(request: GetAPISessionTokensRequest) => {
return request.serializeBinary();
},
space_pb.GetAPISessionTokensResponse.deserializeBinary
GetAPISessionTokensResponse.deserializeBinary
);
getAPISessionTokens(
request: space_pb.GetAPISessionTokensRequest,
metadata: grpcWeb.Metadata | null): Promise<space_pb.GetAPISessionTokensResponse>;
request: GetAPISessionTokensRequest,
metadata: grpcWeb.Metadata | null): Promise<GetAPISessionTokensResponse>;
getAPISessionTokens(
request: space_pb.GetAPISessionTokensRequest,
request: GetAPISessionTokensRequest,
metadata: grpcWeb.Metadata | null,
callback: (err: grpcWeb.Error,
response: space_pb.GetAPISessionTokensResponse) => void): grpcWeb.ClientReadableStream<space_pb.GetAPISessionTokensResponse>;
response: GetAPISessionTokensResponse) => void): grpcWeb.ClientReadableStream<GetAPISessionTokensResponse>;
getAPISessionTokens(
request: space_pb.GetAPISessionTokensRequest,
request: GetAPISessionTokensRequest,
metadata: grpcWeb.Metadata | null,
callback?: (err: grpcWeb.Error,
response: space_pb.GetAPISessionTokensResponse) => void) {
response: GetAPISessionTokensResponse) => void) {
if (callback !== undefined) {
return this.client_.rpcCall(
this.hostname_ +
'/space.SpaceApi/GetAPISessionTokens',
new URL('/space.SpaceApi/GetAPISessionTokens', this.hostname_).toString(),
request,

@@ -1563,28 +1646,27 @@ metadata || {},

methodInfoGetRecentlySharedWith = new grpcWeb.AbstractClientBase.MethodInfo(
space_pb.GetRecentlySharedWithResponse,
(request: space_pb.GetRecentlySharedWithRequest) => {
GetRecentlySharedWithResponse,
(request: GetRecentlySharedWithRequest) => {
return request.serializeBinary();
},
space_pb.GetRecentlySharedWithResponse.deserializeBinary
GetRecentlySharedWithResponse.deserializeBinary
);
getRecentlySharedWith(
request: space_pb.GetRecentlySharedWithRequest,
metadata: grpcWeb.Metadata | null): Promise<space_pb.GetRecentlySharedWithResponse>;
request: GetRecentlySharedWithRequest,
metadata: grpcWeb.Metadata | null): Promise<GetRecentlySharedWithResponse>;
getRecentlySharedWith(
request: space_pb.GetRecentlySharedWithRequest,
request: GetRecentlySharedWithRequest,
metadata: grpcWeb.Metadata | null,
callback: (err: grpcWeb.Error,
response: space_pb.GetRecentlySharedWithResponse) => void): grpcWeb.ClientReadableStream<space_pb.GetRecentlySharedWithResponse>;
response: GetRecentlySharedWithResponse) => void): grpcWeb.ClientReadableStream<GetRecentlySharedWithResponse>;
getRecentlySharedWith(
request: space_pb.GetRecentlySharedWithRequest,
request: GetRecentlySharedWithRequest,
metadata: grpcWeb.Metadata | null,
callback?: (err: grpcWeb.Error,
response: space_pb.GetRecentlySharedWithResponse) => void) {
response: GetRecentlySharedWithResponse) => void) {
if (callback !== undefined) {
return this.client_.rpcCall(
this.hostname_ +
'/space.SpaceApi/GetRecentlySharedWith',
new URL('/space.SpaceApi/GetRecentlySharedWith', this.hostname_).toString(),
request,

@@ -1604,28 +1686,27 @@ metadata || {},

methodInfoSetNotificationsLastSeenAt = new grpcWeb.AbstractClientBase.MethodInfo(
space_pb.SetNotificationsLastSeenAtResponse,
(request: space_pb.SetNotificationsLastSeenAtRequest) => {
SetNotificationsLastSeenAtResponse,
(request: SetNotificationsLastSeenAtRequest) => {
return request.serializeBinary();
},
space_pb.SetNotificationsLastSeenAtResponse.deserializeBinary
SetNotificationsLastSeenAtResponse.deserializeBinary
);
setNotificationsLastSeenAt(
request: space_pb.SetNotificationsLastSeenAtRequest,
metadata: grpcWeb.Metadata | null): Promise<space_pb.SetNotificationsLastSeenAtResponse>;
request: SetNotificationsLastSeenAtRequest,
metadata: grpcWeb.Metadata | null): Promise<SetNotificationsLastSeenAtResponse>;
setNotificationsLastSeenAt(
request: space_pb.SetNotificationsLastSeenAtRequest,
request: SetNotificationsLastSeenAtRequest,
metadata: grpcWeb.Metadata | null,
callback: (err: grpcWeb.Error,
response: space_pb.SetNotificationsLastSeenAtResponse) => void): grpcWeb.ClientReadableStream<space_pb.SetNotificationsLastSeenAtResponse>;
response: SetNotificationsLastSeenAtResponse) => void): grpcWeb.ClientReadableStream<SetNotificationsLastSeenAtResponse>;
setNotificationsLastSeenAt(
request: space_pb.SetNotificationsLastSeenAtRequest,
request: SetNotificationsLastSeenAtRequest,
metadata: grpcWeb.Metadata | null,
callback?: (err: grpcWeb.Error,
response: space_pb.SetNotificationsLastSeenAtResponse) => void) {
response: SetNotificationsLastSeenAtResponse) => void) {
if (callback !== undefined) {
return this.client_.rpcCall(
this.hostname_ +
'/space.SpaceApi/SetNotificationsLastSeenAt',
new URL('/space.SpaceApi/SetNotificationsLastSeenAt', this.hostname_).toString(),
request,

@@ -1645,28 +1726,27 @@ metadata || {},

methodInfoSearchFiles = new grpcWeb.AbstractClientBase.MethodInfo(
space_pb.SearchFilesResponse,
(request: space_pb.SearchFilesRequest) => {
SearchFilesResponse,
(request: SearchFilesRequest) => {
return request.serializeBinary();
},
space_pb.SearchFilesResponse.deserializeBinary
SearchFilesResponse.deserializeBinary
);
searchFiles(
request: space_pb.SearchFilesRequest,
metadata: grpcWeb.Metadata | null): Promise<space_pb.SearchFilesResponse>;
request: SearchFilesRequest,
metadata: grpcWeb.Metadata | null): Promise<SearchFilesResponse>;
searchFiles(
request: space_pb.SearchFilesRequest,
request: SearchFilesRequest,
metadata: grpcWeb.Metadata | null,
callback: (err: grpcWeb.Error,
response: space_pb.SearchFilesResponse) => void): grpcWeb.ClientReadableStream<space_pb.SearchFilesResponse>;
response: SearchFilesResponse) => void): grpcWeb.ClientReadableStream<SearchFilesResponse>;
searchFiles(
request: space_pb.SearchFilesRequest,
request: SearchFilesRequest,
metadata: grpcWeb.Metadata | null,
callback?: (err: grpcWeb.Error,
response: space_pb.SearchFilesResponse) => void) {
response: SearchFilesResponse) => void) {
if (callback !== undefined) {
return this.client_.rpcCall(
this.hostname_ +
'/space.SpaceApi/SearchFiles',
new URL('/space.SpaceApi/SearchFiles', this.hostname_).toString(),
request,

@@ -1686,28 +1766,27 @@ metadata || {},

methodInfoInitializeMasterAppToken = new grpcWeb.AbstractClientBase.MethodInfo(
space_pb.InitializeMasterAppTokenResponse,
(request: space_pb.InitializeMasterAppTokenRequest) => {
InitializeMasterAppTokenResponse,
(request: InitializeMasterAppTokenRequest) => {
return request.serializeBinary();
},
space_pb.InitializeMasterAppTokenResponse.deserializeBinary
InitializeMasterAppTokenResponse.deserializeBinary
);
initializeMasterAppToken(
request: space_pb.InitializeMasterAppTokenRequest,
metadata: grpcWeb.Metadata | null): Promise<space_pb.InitializeMasterAppTokenResponse>;
request: InitializeMasterAppTokenRequest,
metadata: grpcWeb.Metadata | null): Promise<InitializeMasterAppTokenResponse>;
initializeMasterAppToken(
request: space_pb.InitializeMasterAppTokenRequest,
request: InitializeMasterAppTokenRequest,
metadata: grpcWeb.Metadata | null,
callback: (err: grpcWeb.Error,
response: space_pb.InitializeMasterAppTokenResponse) => void): grpcWeb.ClientReadableStream<space_pb.InitializeMasterAppTokenResponse>;
response: InitializeMasterAppTokenResponse) => void): grpcWeb.ClientReadableStream<InitializeMasterAppTokenResponse>;
initializeMasterAppToken(
request: space_pb.InitializeMasterAppTokenRequest,
request: InitializeMasterAppTokenRequest,
metadata: grpcWeb.Metadata | null,
callback?: (err: grpcWeb.Error,
response: space_pb.InitializeMasterAppTokenResponse) => void) {
response: InitializeMasterAppTokenResponse) => void) {
if (callback !== undefined) {
return this.client_.rpcCall(
this.hostname_ +
'/space.SpaceApi/InitializeMasterAppToken',
new URL('/space.SpaceApi/InitializeMasterAppToken', this.hostname_).toString(),
request,

@@ -1727,28 +1806,27 @@ metadata || {},

methodInfoGenerateAppToken = new grpcWeb.AbstractClientBase.MethodInfo(
space_pb.GenerateAppTokenResponse,
(request: space_pb.GenerateAppTokenRequest) => {
GenerateAppTokenResponse,
(request: GenerateAppTokenRequest) => {
return request.serializeBinary();
},
space_pb.GenerateAppTokenResponse.deserializeBinary
GenerateAppTokenResponse.deserializeBinary
);
generateAppToken(
request: space_pb.GenerateAppTokenRequest,
metadata: grpcWeb.Metadata | null): Promise<space_pb.GenerateAppTokenResponse>;
request: GenerateAppTokenRequest,
metadata: grpcWeb.Metadata | null): Promise<GenerateAppTokenResponse>;
generateAppToken(
request: space_pb.GenerateAppTokenRequest,
request: GenerateAppTokenRequest,
metadata: grpcWeb.Metadata | null,
callback: (err: grpcWeb.Error,
response: space_pb.GenerateAppTokenResponse) => void): grpcWeb.ClientReadableStream<space_pb.GenerateAppTokenResponse>;
response: GenerateAppTokenResponse) => void): grpcWeb.ClientReadableStream<GenerateAppTokenResponse>;
generateAppToken(
request: space_pb.GenerateAppTokenRequest,
request: GenerateAppTokenRequest,
metadata: grpcWeb.Metadata | null,
callback?: (err: grpcWeb.Error,
response: space_pb.GenerateAppTokenResponse) => void) {
response: GenerateAppTokenResponse) => void) {
if (callback !== undefined) {
return this.client_.rpcCall(
this.hostname_ +
'/space.SpaceApi/GenerateAppToken',
new URL('/space.SpaceApi/GenerateAppToken', this.hostname_).toString(),
request,

@@ -1755,0 +1833,0 @@ metadata || {},

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc