chatkitty
Advanced tools
Comparing version 1.52.12 to 1.52.13
@@ -1,1 +0,1 @@ | ||
export declare const version = "1.52.12"; | ||
export declare const version = "1.52.13"; |
@@ -5,3 +5,3 @@ "use strict"; | ||
// generated by genversion | ||
exports.version = '1.52.12'; | ||
exports.version = '1.52.13'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmVyc2lvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9lbnZpcm9ubWVudC92ZXJzaW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUFBLDBCQUEwQjtBQUNiLFFBQUEsT0FBTyxHQUFHLFNBQVMsQ0FBQSJ9 |
@@ -18,2 +18,3 @@ import 'text-encoding'; | ||
export * from './lib/result'; | ||
export * from './lib/thread'; | ||
export * from './lib/user'; | ||
@@ -20,0 +21,0 @@ export * from './lib/user-block-list-item'; |
@@ -33,2 +33,3 @@ "use strict"; | ||
__exportStar(require("./lib/result"), exports); | ||
__exportStar(require("./lib/thread"), exports); | ||
__exportStar(require("./lib/user"), exports); | ||
@@ -38,2 +39,2 @@ __exportStar(require("./lib/user-block-list-item"), exports); | ||
exports.default = chatkitty_1.default; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7O0FBQUEseUJBQXVCO0FBRXZCLDhEQUF3QztBQUV4QyxnREFBOEI7QUFDOUIscURBQW1DO0FBQ25DLHFEQUFtQztBQUNuQyw4Q0FBNEI7QUFDNUIsOENBQTRCO0FBQzVCLDZDQUEyQjtBQUMzQixtREFBaUM7QUFDakMsZ0RBQThCO0FBQzlCLDhDQUE0QjtBQUM1QixxREFBbUM7QUFDbkMsaURBQStCO0FBQy9CLG1EQUFpQztBQUNqQyxpREFBK0I7QUFDL0IscURBQW1DO0FBQ25DLCtDQUE2QjtBQUM3Qiw2Q0FBMkI7QUFDM0IsNkRBQTJDO0FBQzNDLHFEQUFtQztBQUVuQyxrQkFBZSxtQkFBUyxDQUFDIn0= | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7O0FBQUEseUJBQXVCO0FBRXZCLDhEQUF3QztBQUV4QyxnREFBOEI7QUFDOUIscURBQW1DO0FBQ25DLHFEQUFtQztBQUNuQyw4Q0FBNEI7QUFDNUIsOENBQTRCO0FBQzVCLDZDQUEyQjtBQUMzQixtREFBaUM7QUFDakMsZ0RBQThCO0FBQzlCLDhDQUE0QjtBQUM1QixxREFBbUM7QUFDbkMsaURBQStCO0FBQy9CLG1EQUFpQztBQUNqQyxpREFBK0I7QUFDL0IscURBQW1DO0FBQ25DLCtDQUE2QjtBQUM3QiwrQ0FBNkI7QUFDN0IsNkNBQTJCO0FBQzNCLDZEQUEyQztBQUMzQyxxREFBbUM7QUFFbkMsa0JBQWUsbUJBQVMsQ0FBQyJ9 |
import { ChatKittyError } from './error'; | ||
import { Message } from './message'; | ||
import { ChatKittyPaginator } from './pagination'; | ||
import { ChatKittyFailedResult, ChatKittySucceededResult } from './result'; | ||
import { ChatKittyFailedResult, ChatKittyResult, ChatKittySucceededResult } from './result'; | ||
import { ChatKittyUserReference, User } from './user'; | ||
@@ -63,3 +63,3 @@ export declare type Channel = DirectChannel | PublicChannel | PrivateChannel; | ||
export declare function isPrivateChannel(channel: Channel): channel is PrivateChannel; | ||
export declare type CreateChannelResult = CreatedChannelResult | ChatKittyFailedResult; | ||
export declare type CreateChannelResult = ChatKittyResult<CreatedChannelResult> | CreatedChannelResult | ChatKittyFailedResult; | ||
export declare class CreateChannelRequest { | ||
@@ -92,3 +92,3 @@ type: string; | ||
} | ||
export declare type GetChannelsResult = GetChannelsSucceededResult | ChatKittyFailedResult; | ||
export declare type GetChannelsResult = ChatKittyResult<GetChannelsSucceededResult> | GetChannelsSucceededResult | ChatKittyFailedResult; | ||
export declare class GetChannelsSucceededResult extends ChatKittySucceededResult { | ||
@@ -98,3 +98,3 @@ paginator: ChatKittyPaginator<Channel>; | ||
} | ||
export declare type GetChannelResult = GetChannelSucceededResult | ChatKittyFailedResult; | ||
export declare type GetChannelResult = ChatKittyResult<GetChannelSucceededResult> | GetChannelSucceededResult | ChatKittyFailedResult; | ||
export declare class GetChannelSucceededResult extends ChatKittySucceededResult { | ||
@@ -104,3 +104,3 @@ channel: Channel; | ||
} | ||
export declare type GetChannelUnreadResult = GetChannelUnreadSucceededResult | ChatKittyFailedResult; | ||
export declare type GetChannelUnreadResult = ChatKittyResult<GetChannelUnreadSucceededResult> | GetChannelUnreadSucceededResult | ChatKittyFailedResult; | ||
export declare class GetChannelUnreadSucceededResult extends ChatKittySucceededResult { | ||
@@ -113,3 +113,3 @@ unread: boolean; | ||
} | ||
export declare type JoinChannelResult = JoinedChannelResult | ChatKittyFailedResult; | ||
export declare type JoinChannelResult = ChatKittyResult<JoinedChannelResult> | JoinedChannelResult | ChatKittyFailedResult; | ||
export declare class JoinedChannelResult extends ChatKittySucceededResult { | ||
@@ -134,3 +134,3 @@ channel: Channel; | ||
} | ||
export declare type AddChannelModeratorResult = AddedChannelModeratorResult | ChatKittyFailedResult; | ||
export declare type AddChannelModeratorResult = ChatKittyResult<AddedChannelModeratorResult> | AddedChannelModeratorResult | ChatKittyFailedResult; | ||
export declare class AddedChannelModeratorResult extends ChatKittySucceededResult { | ||
@@ -147,3 +147,3 @@ channel: Channel; | ||
} | ||
export declare type MuteChannelResult = MutedChannelResult | ChatKittyFailedResult; | ||
export declare type MuteChannelResult = ChatKittyResult<MutedChannelResult> | MutedChannelResult | ChatKittyFailedResult; | ||
export declare class MutedChannelResult extends ChatKittySucceededResult { | ||
@@ -156,3 +156,3 @@ channel: Channel; | ||
} | ||
export declare type UnmuteChannelResult = UnmutedChannelResult | ChatKittyFailedResult; | ||
export declare type UnmuteChannelResult = ChatKittyResult<UnmutedChannelResult> | UnmutedChannelResult | ChatKittyFailedResult; | ||
export declare class UnmutedChannelResult extends ChatKittySucceededResult { | ||
@@ -165,3 +165,3 @@ channel: Channel; | ||
} | ||
export declare type LeaveChannelResult = LeftChannelResult | ChatKittyFailedResult; | ||
export declare type LeaveChannelResult = ChatKittyResult<LeftChannelResult> | LeftChannelResult | ChatKittyFailedResult; | ||
export declare class LeftChannelResult extends ChatKittySucceededResult { | ||
@@ -178,3 +178,3 @@ channel: Channel; | ||
} | ||
export declare type ReadChannelResult = ReadChannelSucceededResult | ChatKittyFailedResult; | ||
export declare type ReadChannelResult = ChatKittyResult<ReadChannelSucceededResult> | ReadChannelSucceededResult | ChatKittyFailedResult; | ||
export declare class ReadChannelSucceededResult extends ChatKittySucceededResult { | ||
@@ -187,3 +187,3 @@ channel: Channel; | ||
} | ||
export declare type ClearChannelHistoryResult = ClearChannelHistorySucceededResult | ChatKittyFailedResult; | ||
export declare type ClearChannelHistoryResult = ChatKittyResult<ClearChannelHistorySucceededResult> | ClearChannelHistorySucceededResult | ChatKittyFailedResult; | ||
export declare class ClearChannelHistorySucceededResult extends ChatKittySucceededResult { | ||
@@ -196,3 +196,3 @@ channel: Channel; | ||
} | ||
export declare type HideChannelResult = HideChannelSucceededResult | ChatKittyFailedResult; | ||
export declare type HideChannelResult = ChatKittyResult<HideChannelSucceededResult> | HideChannelSucceededResult | ChatKittyFailedResult; | ||
export declare class HideChannelSucceededResult extends ChatKittySucceededResult { | ||
@@ -206,3 +206,3 @@ channel: DirectChannel; | ||
} | ||
export declare type InviteUserResult = InvitedUserResult | ChatKittyFailedResult; | ||
export declare type InviteUserResult = ChatKittyResult<InvitedUserResult> | InvitedUserResult | ChatKittyFailedResult; | ||
export declare class InvitedUserResult extends ChatKittySucceededResult { | ||
@@ -219,3 +219,3 @@ user: User; | ||
} | ||
export declare type UpdateChannelResult = UpdatedChannelResult | ChatKittyFailedResult; | ||
export declare type UpdateChannelResult = ChatKittyResult<UpdatedChannelResult> | UpdatedChannelResult | ChatKittyFailedResult; | ||
export declare class UpdatedChannelResult extends ChatKittySucceededResult { | ||
@@ -222,0 +222,0 @@ channel: Channel; |
@@ -213,2 +213,2 @@ "use strict"; | ||
exports.UpdatedChannelResult = UpdatedChannelResult; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hhbm5lbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9saWIvY2hhbm5lbC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7Ozs7QUFBQSxpQ0FBeUM7QUFHekMsbUNBQTJFO0FBa0UzRSxTQUFnQixlQUFlLENBQUMsT0FBZ0I7SUFDOUMsT0FBTyxPQUFPLENBQUMsSUFBSSxLQUFLLFFBQVEsQ0FBQztBQUNuQyxDQUFDO0FBRkQsMENBRUM7QUFFRCxTQUFnQixlQUFlLENBQUMsT0FBZ0I7SUFDOUMsT0FBTyxPQUFPLENBQUMsSUFBSSxLQUFLLFFBQVEsQ0FBQztBQUNuQyxDQUFDO0FBRkQsMENBRUM7QUFFRCxTQUFnQixnQkFBZ0IsQ0FBQyxPQUFnQjtJQUMvQyxPQUFPLE9BQU8sQ0FBQyxJQUFJLEtBQUssU0FBUyxDQUFDO0FBQ3BDLENBQUM7QUFGRCw0Q0FFQztBQVdEO0lBQTBDLHdDQUF3QjtJQUNoRSw4QkFBbUIsT0FBZ0I7UUFBbkMsWUFDRSxpQkFBTyxTQUNSO1FBRmtCLGFBQU8sR0FBUCxPQUF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QLE9BQU8sQ0FBUzs7SUFFbkMsQ0FBQztJQUNILDJCQUFDO0FBQUQsQ0FBQyxBQUpELENBQTBDLGlDQUF3QixHQUlqRTtBQUpZLG9EQUFvQiJ9 |
@@ -7,3 +7,3 @@ import { Channel } from './channel'; | ||
import { ReadReceipt } from './read-receipt'; | ||
import { ChatKittySucceededResult } from './result'; | ||
import { ChatKittyResult, ChatKittySucceededResult } from './result'; | ||
import { Thread } from './thread'; | ||
@@ -17,3 +17,3 @@ import { User } from './user'; | ||
} | ||
export declare type StartChatSessionResult = StartedChatSessionResult; | ||
export declare type StartChatSessionResult = ChatKittyResult<StartedChatSessionResult> | StartedChatSessionResult; | ||
export declare class StartChatSessionRequest { | ||
@@ -20,0 +20,0 @@ channel: Channel; |
@@ -30,2 +30,2 @@ "use strict"; | ||
exports.StartedChatSessionResult = StartedChatSessionResult; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hhdC1zZXNzaW9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2xpYi9jaGF0LXNlc3Npb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBTUEsbUNBQW9EO0FBa0NwRDtJQUE4Qyw0Q0FBd0I7SUFDcEUsa0NBQW1CLE9BQW9CO1FBQXZDLFlBQ0UsaUJBQU8sU0FDUjtRQUZrQixhQUFPLEdBQVAsT0FBTyxDQUFhOztJQUV2QyxDQUFDO0lBQ0gsK0JBQUM7QUFBRCxDQUFDLEFBSkQsQ0FBOEMsaUNBQXdCLEdBSXJFO0FBSlksNERBQXdCIn0= | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hhdC1zZXNzaW9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2xpYi9jaGF0LXNlc3Npb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBTUEsbUNBQW1FO0FBb0NuRTtJQUE4Qyw0Q0FBd0I7SUFDcEUsa0NBQW1CLE9BQW9CO1FBQXZDLFlBQ0UsaUJBQU8sU0FDUjtRQUZrQixhQUFPLEdBQVAsT0FBTyxDQUFhOztJQUV2QyxDQUFDO0lBQ0gsK0JBQUM7QUFBRCxDQUFDLEFBSkQsQ0FBOEMsaUNBQXdCLEdBSXJFO0FBSlksNERBQXdCIn0= |
import { ChatKittyUploadProgressListener, CreateChatKittyFileProperties } from './file'; | ||
import { ChatKittyFailedResult, ChatKittySucceededResult } from './result'; | ||
import { ChatKittyFailedResult, ChatKittyResult, ChatKittySucceededResult } from './result'; | ||
import { BaseUser } from './user'; | ||
@@ -43,3 +43,3 @@ export declare type CurrentUser = BaseUser & { | ||
} | ||
export declare type GetCurrentUserResult = GetCurrentUserSuccessfulResult | ChatKittyFailedResult; | ||
export declare type GetCurrentUserResult = ChatKittyResult<GetCurrentUserSuccessfulResult> | GetCurrentUserSuccessfulResult | ChatKittyFailedResult; | ||
export declare class GetCurrentUserSuccessfulResult extends ChatKittySucceededResult { | ||
@@ -49,3 +49,3 @@ user: CurrentUser; | ||
} | ||
export declare type UpdateCurrentUserResult = UpdatedCurrentUserResult | ChatKittyFailedResult; | ||
export declare type UpdateCurrentUserResult = ChatKittyResult<UpdatedCurrentUserResult> | UpdatedCurrentUserResult | ChatKittyFailedResult; | ||
export declare class UpdatedCurrentUserResult extends ChatKittySucceededResult { | ||
@@ -59,3 +59,3 @@ user: CurrentUser; | ||
} | ||
export declare type UpdateCurrentUserDisplayPictureResult = UpdatedCurrentUserResult | ChatKittyFailedResult; | ||
export declare type UpdateCurrentUserDisplayPictureResult = ChatKittyResult<UpdatedCurrentUserDisplayPictureResult> | UpdatedCurrentUserDisplayPictureResult | ChatKittyFailedResult; | ||
export declare class UpdatedCurrentUserDisplayPictureResult extends ChatKittySucceededResult { | ||
@@ -62,0 +62,0 @@ user: CurrentUser; |
@@ -50,2 +50,2 @@ "use strict"; | ||
exports.UpdatedCurrentUserDisplayPictureResult = UpdatedCurrentUserDisplayPictureResult; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3VycmVudC11c2VyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2xpYi9jdXJyZW50LXVzZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBSUEsbUNBQTJFO0FBbUQzRTtJQUFvRCxrREFBd0I7SUFDMUUsd0NBQW1CLElBQWlCO1FBQXBDLFlBQ0UsaUJBQU8sU0FDUjtRQUZrQixVQUFJLEdBQUosSUFBSSxDQUFhOztJQUVwQyxDQUFDO0lBQ0gscUNBQUM7QUFBRCxDQUFDLEFBSkQsQ0FBb0QsaUNBQXdCLEdBSTNFO0FBSlksd0VBQThCO0FBVTNDO0lBQThDLDRDQUF3QjtJQUNwRSxrQ0FBbUIsSUFBaUI7UUFBcEMsWUFDRSxpQkFBTyxTQUNSO1FBRmtCLFVBQUksR0FBSixJQUFJLENBQWE7O0lBRXBDLENBQUM7SUFDSCwrQkFBQztBQUFELENBQUMsQUFKRCxDQUE4QyxpQ0FBd0IsR0FJckU7QUFKWSw0REFBd0I7QUFlckM7SUFBNEQsMERBQXdCO0lBQ2xGLGdEQUFtQixJQUFpQjtRQUFwQyxZQUNFLGlCQUFPLFNBQ1I7UUFGa0IsVUFBSSxHQUFKLElBQUksQ0FBYTs7SUFFcEMsQ0FBQztJQUNILDZDQUFDO0FBQUQsQ0FBQyxBQUpELENBQTRELGlDQUF3QixHQUluRjtBQUpZLHdGQUFzQyJ9 | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3VycmVudC11c2VyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2xpYi9jdXJyZW50LXVzZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBSUEsbUNBSWtCO0FBb0RsQjtJQUFvRCxrREFBd0I7SUFDMUUsd0NBQW1CLElBQWlCO1FBQXBDLFlBQ0UsaUJBQU8sU0FDUjtRQUZrQixVQUFJLEdBQUosSUFBSSxDQUFhOztJQUVwQyxDQUFDO0lBQ0gscUNBQUM7QUFBRCxDQUFDLEFBSkQsQ0FBb0QsaUNBQXdCLEdBSTNFO0FBSlksd0VBQThCO0FBVzNDO0lBQThDLDRDQUF3QjtJQUNwRSxrQ0FBbUIsSUFBaUI7UUFBcEMsWUFDRSxpQkFBTyxTQUNSO1FBRmtCLFVBQUksR0FBSixJQUFJLENBQWE7O0lBRXBDLENBQUM7SUFDSCwrQkFBQztBQUFELENBQUMsQUFKRCxDQUE4QyxpQ0FBd0IsR0FJckU7QUFKWSw0REFBd0I7QUFnQnJDO0lBQTRELDBEQUF3QjtJQUNsRixnREFBbUIsSUFBaUI7UUFBcEMsWUFDRSxpQkFBTyxTQUNSO1FBRmtCLFVBQUksR0FBSixJQUFJLENBQWE7O0lBRXBDLENBQUM7SUFDSCw2Q0FBQztBQUFELENBQUMsQUFKRCxDQUE0RCxpQ0FBd0IsR0FJbkY7QUFKWSx3RkFBc0MifQ== |
@@ -6,3 +6,3 @@ import { Channel } from './channel'; | ||
import { ReactionSummary } from './reaction'; | ||
import { ChatKittyFailedResult, ChatKittySucceededResult } from './result'; | ||
import { ChatKittyFailedResult, ChatKittyResult, ChatKittySucceededResult } from './result'; | ||
import { Thread } from './thread'; | ||
@@ -112,3 +112,3 @@ import { User } from './user'; | ||
} | ||
export declare type GetMessagesResult = GetMessagesSucceededResult | ChatKittyFailedResult; | ||
export declare type GetMessagesResult = ChatKittyResult<GetMessagesSucceededResult> | GetMessagesSucceededResult | ChatKittyFailedResult; | ||
export declare class GetMessagesSucceededResult extends ChatKittySucceededResult { | ||
@@ -125,3 +125,3 @@ paginator: ChatKittyPaginator<Message>; | ||
} | ||
export declare type ReadMessageResult = ReadMessageSucceededResult | ChatKittyFailedResult; | ||
export declare type ReadMessageResult = ChatKittyResult<ReadMessageSucceededResult> | ReadMessageSucceededResult | ChatKittyFailedResult; | ||
export declare class ReadMessageSucceededResult extends ChatKittySucceededResult { | ||
@@ -135,3 +135,3 @@ message: Message; | ||
} | ||
export declare type EditMessageResult = EditedMessageSucceededResult | ChatKittyFailedResult; | ||
export declare type EditMessageResult = ChatKittyResult<EditedMessageSucceededResult> | EditedMessageSucceededResult | ChatKittyFailedResult; | ||
export declare class EditedMessageSucceededResult extends ChatKittySucceededResult { | ||
@@ -144,3 +144,3 @@ message: Message; | ||
} | ||
export declare type DeleteMessageForMeResult = DeleteMessageForMeSucceededResult | ChatKittyFailedResult; | ||
export declare type DeleteMessageForMeResult = ChatKittyResult<DeleteMessageForMeSucceededResult> | DeleteMessageForMeSucceededResult | ChatKittyFailedResult; | ||
export declare class DeleteMessageForMeSucceededResult extends ChatKittySucceededResult { | ||
@@ -153,3 +153,3 @@ message: Message; | ||
} | ||
export declare type DeleteMessageResult = DeleteMessageSucceededResult | ChatKittyFailedResult; | ||
export declare type DeleteMessageResult = ChatKittyResult<DeleteMessageSucceededResult> | DeleteMessageSucceededResult | ChatKittyFailedResult; | ||
export declare class DeleteMessageSucceededResult extends ChatKittySucceededResult { | ||
@@ -180,4 +180,4 @@ message: Message; | ||
}; | ||
export declare type SendMessageResult = SentMessageResult | ChatKittyFailedResult; | ||
export declare type SentMessageResult = SentTextMessageResult | SentFileMessageResult; | ||
export declare type SendMessageResult = ChatKittyResult<SentMessageResult> | SentMessageResult | ChatKittyFailedResult; | ||
export declare type SentMessageResult = ChatKittyResult<SentTextMessageResult> | SentTextMessageResult | SentFileMessageResult; | ||
export declare class SentTextMessageResult extends ChatKittySucceededResult { | ||
@@ -202,3 +202,3 @@ message: TextUserMessage; | ||
} | ||
export declare type GetMessageChannelResult = GetMessageChannelSucceededResult | ChatKittyFailedResult; | ||
export declare type GetMessageChannelResult = ChatKittyResult<GetMessageChannelSucceededResult> | GetMessageChannelSucceededResult | ChatKittyFailedResult; | ||
export declare class GetMessageChannelSucceededResult extends ChatKittySucceededResult { | ||
@@ -211,3 +211,3 @@ channel: Channel; | ||
} | ||
export declare type GetMessageParentResult = GetMessageParentSucceededResult | ChatKittyFailedResult; | ||
export declare type GetMessageParentResult = ChatKittyResult<GetMessageParentSucceededResult> | GetMessageParentSucceededResult | ChatKittyFailedResult; | ||
export declare class GetMessageParentSucceededResult extends ChatKittySucceededResult { | ||
@@ -214,0 +214,0 @@ message: Message; |
@@ -118,9 +118,9 @@ "use strict"; | ||
function sentTextMessage(result) { | ||
return (result.message !== undefined && | ||
result.message.type === 'TEXT'); | ||
var message = result.message; | ||
return message !== undefined && message.type === 'TEXT'; | ||
} | ||
exports.sentTextMessage = sentTextMessage; | ||
function sentFileMessage(result) { | ||
return (result.message !== undefined && | ||
result.message.type === 'FILE'); | ||
var message = result.message; | ||
return message !== undefined && message.type === 'FILE'; | ||
} | ||
@@ -158,2 +158,2 @@ exports.sentFileMessage = sentFileMessage; | ||
exports.MessageNotAReplyError = MessageNotAReplyError; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVzc2FnZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9saWIvbWVzc2FnZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7Ozs7QUFDQSxpQ0FBeUM7QUFRekMsbUNBQTJFO0FBOEczRSxTQUFnQixhQUFhLENBQUMsT0FBZ0I7SUFDNUMsT0FBUSxPQUF1QixDQUFDLElBQUksS0FBSyxTQUFTLENBQUM7QUFDckQsQ0FBQ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xzQ0FBQztBQUFELENBQUMsQUFKRCxDQUFxRCxpQ0FBd0IsR0FJNUU7QUFKWSwwRUFBK0I7QUFNNUM7SUFBMkMseUNBQWM7SUFDdkQsK0JBQW1CLFlBQXFCO1FBQXhDLFlBQ0Usa0JBQ0UsdUJBQXVCLEVBQ3ZCLGFBQVcsWUFBWSxDQUFDLEVBQUUscUJBQWtCLENBQzdDLFNBQ0Y7UUFMa0Isa0JBQVksR0FBWixZQUFZLENBQVM7O0lBS3hDLENBQUM7SUFDSCw0QkFBQztBQUFELENBQUMsQUFQRCxDQUEyQyxzQkFBYyxHQU94RDtBQVBZLHNEQUFxQiJ9 |
@@ -0,3 +1,3 @@ | ||
import StompX, { StompXError } from '../stompx'; | ||
import { ChatKittyError } from './error'; | ||
import StompX, { StompXError } from '../stompx'; | ||
export declare class ChatKittyPaginator<I> { | ||
@@ -4,0 +4,0 @@ items: I[]; |
@@ -208,2 +208,2 @@ "use strict"; | ||
exports.PageOutOfBoundsError = PageOutOfBoundsError; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFnaW5hdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9saWIvcGFnaW5hdGlvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7QUFBQSxpQ0FBeUM7QUFHekM7SUErQ0UsNEJBQ1MsS0FBVSxFQUNULE1BQWMsRUFDZCxXQUFtQixFQUNuQixTQUFrQixFQUNsQixTQUFrQixFQUNsQixVQUFvQyxFQUNwQyxNQUF1QixFQUN2QixXQUFxQztRQVB0QyxVQUFLLEdBQUwsS0FBSyxDQUFLO1FBQ1QsV0FBTSxHQUFOLE1BQU0sQ0FBUTtRQUNkLGdCQUFXLEdBQV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RUFDakIsSUFBSSxDQUFDLE9BQU8sQ0FBQyxJQUFJLEVBQ2pCLElBQUksQ0FBQyxVQUFVLEVBQ2YsSUFBSSxDQUFDLE1BQU0sRUFDWCxJQUFJLENBQUMsV0FBVyxDQUNqQixFQUFDOzs7O0tBQ0g7SUFDSCx5QkFBQztBQUFELENBQUMsQUF6SEQsSUF5SEM7QUF6SFksZ0RBQWtCO0FBcUkvQjtJQUEwQyx3Q0FBYztJQUN0RDtlQUNFLGtCQUNFLHNCQUFzQixFQUN0Qiw4Q0FBOEMsQ0FDL0M7SUFDSCxDQUFDO0lBQ0gsMkJBQUM7QUFBRCxDQUFDLEFBUEQsQ0FBMEMsc0JBQWMsR0FPdkQ7QUFQWSxvREFBb0IifQ== |
import { Emoji } from './emoji'; | ||
import { Message } from './message'; | ||
import { ChatKittyPaginator } from './pagination'; | ||
import { ChatKittyFailedResult, ChatKittySucceededResult } from './result'; | ||
import { ChatKittyFailedResult, ChatKittyResult, ChatKittySucceededResult } from './result'; | ||
import { User } from './user'; | ||
@@ -27,3 +27,3 @@ export declare class Reaction { | ||
} | ||
export declare type ReactToMessageResult = ReactedToMessageResult | ChatKittyFailedResult; | ||
export declare type ReactToMessageResult = ChatKittyResult<ReactedToMessageResult> | ReactedToMessageResult | ChatKittyFailedResult; | ||
export declare class ReactedToMessageResult extends ChatKittySucceededResult { | ||
@@ -36,3 +36,3 @@ reaction: Reaction; | ||
} | ||
export declare type GetReactionsResult = GetReactionsSucceededResult | ChatKittyFailedResult; | ||
export declare type GetReactionsResult = ChatKittyResult<GetReactionsSucceededResult> | GetReactionsSucceededResult | ChatKittyFailedResult; | ||
export declare class GetReactionsSucceededResult extends ChatKittySucceededResult { | ||
@@ -46,3 +46,3 @@ paginator: ChatKittyPaginator<Reaction>; | ||
} | ||
export declare type RemoveReactionResult = RemovedReactionResult | ChatKittyFailedResult; | ||
export declare type RemoveReactionResult = ChatKittyResult<RemovedReactionResult> | RemovedReactionResult | ChatKittyFailedResult; | ||
export declare class RemovedReactionResult extends ChatKittySucceededResult { | ||
@@ -49,0 +49,0 @@ reaction: Reaction; |
@@ -50,2 +50,2 @@ "use strict"; | ||
exports.RemovedReactionResult = RemovedReactionResult; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVhY3Rpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvbGliL3JlYWN0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQUdBLG1DQUEyRTtBQWlDM0U7SUFBNEMsMENBQXdCO0lBQ2xFLGdDQUFtQixRQUFrQjtRQUFyQyxZQUNFLGlCQUFPLFNBQ1I7UUFGa0IsY0FBUSxHQUFSLFFBQVEsQ0FBVTs7SUFFckMsQ0FBQztJQUNILDZCQUFDO0FBQUQsQ0FBQyxBQUpELENBQTRDLGlDQUF3QixHQUluRTtBQUpZLHdEQUFzQjtBQWNuQztJQUFpRCwrQ0FBd0I7SUFDdkUscUNBQW1CLFNBQXVDO1FBQTFELFlBQ0UsaUJBQU8sU0FDUjtRQUZrQixlQUFTLEdBQVQsU0FBUyxDQUE4Qjs7SUFFMUQsQ0FBQztJQUNILGtDQUFDO0FBQUQsQ0FBQyxBQUpELENBQWlELGlDQUF3QixHQUl4RTtBQUpZLGtFQUEyQjtBQWV4QztJQUEyQyx5Q0FBd0I7SUFDakUsK0JBQW1CLFFBQWtCO1FBQXJDLFlBQ0UsaUJBQU8sU0FDUjtRQUZrQixjQUFRLEdBQVIsUUFBUSxDQUFVOztJQUVyQyxDQUFDO0lBQ0gsNEJBQUM7QUFBRCxDQUFDLEFBSkQsQ0FBMkMsaUNBQXdCLEdBSWxFO0FBSlksc0RBQXFCIn0= | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVhY3Rpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvbGliL3JlYWN0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQUdBLG1DQUlrQjtBQWtDbEI7SUFBNEMsMENBQXdCO0lBQ2xFLGdDQUFtQixRQUFrQjtRQUFyQyxZQUNFLGlCQUFPLFNBQ1I7UUFGa0IsY0FBUSxHQUFSLFFBQVEsQ0FBVTs7SUFFckMsQ0FBQztJQUNILDZCQUFDO0FBQUQsQ0FBQyxBQUpELENBQTRDLGlDQUF3QixHQUluRTtBQUpZLHdEQUFzQjtBQWVuQztJQUFpRCwrQ0FBd0I7SUFDdkUscUNBQW1CLFNBQXVDO1FBQTFELFlBQ0UsaUJBQU8sU0FDUjtRQUZrQixlQUFTLEdBQVQsU0FBUyxDQUE4Qjs7SUFFMUQsQ0FBQztJQUNILGtDQUFDO0FBQUQsQ0FBQyxBQUpELENBQWlELGlDQUF3QixHQUl4RTtBQUpZLGtFQUEyQjtBQWdCeEM7SUFBMkMseUNBQXdCO0lBQ2pFLCtCQUFtQixRQUFrQjtRQUFyQyxZQUNFLGlCQUFPLFNBQ1I7UUFGa0IsY0FBUSxHQUFSLFFBQVEsQ0FBVTs7SUFFckMsQ0FBQztJQUNILDRCQUFDO0FBQUQsQ0FBQyxBQUpELENBQTJDLGlDQUF3QixHQUlsRTtBQUpZLHNEQUFxQiJ9 |
import { Message } from './message'; | ||
import { ChatKittyPaginator } from './pagination'; | ||
import { ChatKittyFailedResult, ChatKittySucceededResult } from './result'; | ||
import { ChatKittyFailedResult, ChatKittyResult, ChatKittySucceededResult } from './result'; | ||
import { User } from './user'; | ||
@@ -16,3 +16,3 @@ export declare class ReadReceipt { | ||
} | ||
export declare type GetReadReceiptsResult = GetReadReceiptsSucceededResult | ChatKittyFailedResult; | ||
export declare type GetReadReceiptsResult = ChatKittyResult<GetReadReceiptsSucceededResult> | GetReadReceiptsSucceededResult | ChatKittyFailedResult; | ||
export declare class GetReadReceiptsSucceededResult extends ChatKittySucceededResult { | ||
@@ -19,0 +19,0 @@ paginator: ChatKittyPaginator<ReadReceipt>; |
@@ -30,2 +30,2 @@ "use strict"; | ||
exports.GetReadReceiptsSucceededResult = GetReadReceiptsSucceededResult; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVhZC1yZWNlaXB0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2xpYi9yZWFkLXJlY2VpcHQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBRUEsbUNBQTJFO0FBcUIzRTtJQUFvRCxrREFBd0I7SUFDMUUsd0NBQW1CLFNBQTBDO1FBQTdELFlBQ0UsaUJBQU8sU0FDUjtRQUZrQixlQUFTLEdBQVQsU0FBUyxDQUFpQzs7SUFFN0QsQ0FBQztJQUNILHFDQUFDO0FBQUQsQ0FBQyxBQUpELENBQW9ELGlDQUF3QixHQUkzRTtBQUpZLHdFQUE4QiJ9 | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVhZC1yZWNlaXB0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2xpYi9yZWFkLXJlY2VpcHQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBRUEsbUNBSWtCO0FBc0JsQjtJQUFvRCxrREFBd0I7SUFDMUUsd0NBQW1CLFNBQTBDO1FBQTdELFlBQ0UsaUJBQU8sU0FDUjtRQUZrQixlQUFTLEdBQVQsU0FBUyxDQUFpQzs7SUFFN0QsQ0FBQztJQUNILHFDQUFDO0FBQUQsQ0FBQyxBQUpELENBQW9ELGlDQUF3QixHQUkzRTtBQUpZLHdFQUE4QiJ9 |
import { ChatKittyError } from './error'; | ||
export interface ChatKittyResult { | ||
export interface ChatKittyResult<S extends ChatKittySucceededResult> { | ||
succeeded: boolean; | ||
@@ -7,3 +7,3 @@ cancelled: boolean; | ||
} | ||
export declare abstract class ChatKittySucceededResult implements ChatKittyResult { | ||
export declare abstract class ChatKittySucceededResult { | ||
succeeded: boolean; | ||
@@ -13,3 +13,3 @@ cancelled: boolean; | ||
} | ||
export declare abstract class ChatKittyCancelledResult implements ChatKittyResult { | ||
export declare abstract class ChatKittyCancelledResult { | ||
succeeded: boolean; | ||
@@ -19,3 +19,3 @@ cancelled: boolean; | ||
} | ||
export declare class ChatKittyFailedResult implements ChatKittyResult { | ||
export declare class ChatKittyFailedResult { | ||
error: ChatKittyError; | ||
@@ -27,3 +27,3 @@ succeeded: boolean; | ||
} | ||
export declare type GetCountResult = GetCountSucceedResult | ChatKittyFailedResult; | ||
export declare type GetCountResult = ChatKittyResult<GetCountSucceedResult> | GetCountSucceedResult | ChatKittyFailedResult; | ||
export declare class GetCountSucceedResult extends ChatKittySucceededResult { | ||
@@ -33,4 +33,4 @@ count: number; | ||
} | ||
export declare function succeeded<R extends ChatKittySucceededResult>(result: ChatKittyResult): result is R; | ||
export declare function failed<R extends ChatKittyFailedResult>(result: ChatKittyResult): result is R; | ||
export declare function cancelled<R extends ChatKittyCancelledResult>(result: ChatKittyResult): result is R; | ||
export declare function succeeded<R extends ChatKittySucceededResult>(result: ChatKittyResult<R>): result is R; | ||
export declare function failed<R extends ChatKittyFailedResult>(result: ChatKittyResult<never>): result is R; | ||
export declare function cancelled<R extends ChatKittyCancelledResult>(result: ChatKittyResult<never>): result is R; |
@@ -69,2 +69,2 @@ "use strict"; | ||
exports.cancelled = cancelled; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzdWx0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2xpYi9yZXN1bHQudHMiXSw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kFBTyxTQUNSO1FBRmtCLFdBQUssR0FBTCxLQUFLLENBQVE7O0lBRWhDLENBQUM7SUFDSCw0QkFBQztBQUFELENBQUMsQUFKRCxDQUEyQyx3QkFBd0IsR0FJbEU7QUFKWSxzREFBcUI7QUFNbEMsU0FBZ0IsU0FBUyxDQUN2QixNQUEwQjtJQUUxQixPQUFPLE1BQU0sQ0FBQyxTQUFTLENBQUM7QUFDMUIsQ0FBQztBQUpELDhCQUlDO0FBRUQsU0FBZ0IsTUFBTSxDQUNwQixNQUE4QjtJQUU5QixPQUFPLE1BQU0sQ0FBQyxNQUFNLENBQUM7QUFDdkIsQ0FBQztBQUpELHdCQUlDO0FBRUQsU0FBZ0IsU0FBUyxDQUN2QixNQUE4QjtJQUU5QixPQUFPLE1BQU0sQ0FBQyxTQUFTLENBQUM7QUFDMUIsQ0FBQztBQUpELDhCQUlDIn0= |
import { Channel } from './channel'; | ||
import { Message } from './message'; | ||
import { ChatKittyPaginator } from './pagination'; | ||
import { ChatKittyFailedResult, ChatKittySucceededResult } from './result'; | ||
import { ChatKittyFailedResult, ChatKittyResult, ChatKittySucceededResult } from './result'; | ||
export declare class Thread { | ||
@@ -39,3 +39,3 @@ id: string; | ||
} | ||
export declare type CreateThreadResult = CreatedThreadResult | ChatKittyFailedResult; | ||
export declare type CreateThreadResult = ChatKittyResult<CreatedThreadResult> | CreatedThreadResult | ChatKittyFailedResult; | ||
export declare class CreatedThreadResult extends ChatKittySucceededResult { | ||
@@ -54,3 +54,3 @@ thread: Thread; | ||
} | ||
export declare type GetThreadsResult = GetThreadsSucceededResult | ChatKittyFailedResult; | ||
export declare type GetThreadsResult = ChatKittyResult<GetThreadsSucceededResult> | GetThreadsSucceededResult | ChatKittyFailedResult; | ||
export declare class GetThreadsSucceededResult extends ChatKittySucceededResult { | ||
@@ -63,3 +63,3 @@ paginator: ChatKittyPaginator<Thread>; | ||
} | ||
export declare type GetThreadChannelResult = GetThreadChannelSucceededResult | ChatKittyFailedResult; | ||
export declare type GetThreadChannelResult = ChatKittyResult<GetThreadChannelSucceededResult> | GetThreadChannelSucceededResult | ChatKittyFailedResult; | ||
export declare class GetThreadChannelSucceededResult extends ChatKittySucceededResult { | ||
@@ -72,3 +72,3 @@ channel: Channel; | ||
} | ||
export declare type GetThreadMessageResult = GetThreadMessageSucceededResult | ChatKittyFailedResult; | ||
export declare type GetThreadMessageResult = ChatKittyResult<GetThreadMessageSucceededResult> | GetThreadMessageSucceededResult | ChatKittyFailedResult; | ||
export declare class GetThreadMessageSucceededResult extends ChatKittySucceededResult { | ||
@@ -81,3 +81,3 @@ message: Message; | ||
} | ||
export declare type ReadThreadResult = ReadThreadSucceededResult | ChatKittyFailedResult; | ||
export declare type ReadThreadResult = ChatKittyResult<ReadThreadSucceededResult> | ReadThreadSucceededResult | ChatKittyFailedResult; | ||
export declare class ReadThreadSucceededResult extends ChatKittySucceededResult { | ||
@@ -84,0 +84,0 @@ thread: Thread; |
@@ -70,2 +70,2 @@ "use strict"; | ||
exports.ReadThreadSucceededResult = ReadThreadSucceededResult; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGhyZWFkLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2xpYi90aHJlYWQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBR0EsbUNBQTJFO0FBOEMzRTtJQUF5Qyx1Q0FBd0I7SUFDL0QsNkJBQW1CLE1BQWM7UUFBakMsWUFDRSxpQkFBTyxTQUNSO1FBRmtCLFlBQU0sR0FBTixNQUFNLENBQVE7O0lBRWpDLENBQUM7SUFDSCwwQkFBQztBQUFELENBQUMsQUFKRCxDQUF5QyxpQ0FBd0IsR0FJaEU7QUFKWSxrREFBbUI7QUF1QmhDO0lBQStDLDZDQUF3QjtJQUNyRSxtQ0FBbUIsU0FBcUM7UUFBeEQsWUFDRSxpQ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QkFBTyxTQUNSO1FBRmtCLFlBQU0sR0FBTixNQUFNLENBQVE7O0lBRWpDLENBQUM7SUFDSCwwQkFBQztBQUFELENBQUMsQUFKRCxDQUF5QyxpQ0FBd0IsR0FJaEU7QUFKWSxrREFBbUI7QUF3QmhDO0lBQStDLDZDQUF3QjtJQUNyRSxtQ0FBbUIsU0FBcUM7UUFBeEQsWUFDRSxpQkFBTyxTQUNSO1FBRmtCLGVBQVMsR0FBVCxTQUFTLENBQTRCOztJQUV4RCxDQUFDO0lBQ0gsZ0NBQUM7QUFBRCxDQUFDLEFBSkQsQ0FBK0MsaUNBQXdCLEdBSXRFO0FBSlksOERBQXlCO0FBZXRDO0lBQXFELG1EQUF3QjtJQUMzRSx5Q0FBbUIsT0FBZ0I7UUFBbkMsWUFDRSxpQkFBTyxTQUNSO1FBRmtCLGFBQU8sR0FBUCxPQUFPLENBQVM7O0lBRW5DLENBQUM7SUFDSCxzQ0FBQztBQUFELENBQUMsQUFKRCxDQUFxRCxpQ0FBd0IsR0FJNUU7QUFKWSwwRUFBK0I7QUFlNUM7SUFBcUQsbURBQXdCO0lBQzNFLHlDQUFtQixPQUFnQjtRQUFuQyxZQUNFLGlCQUFPLFNBQ1I7UUFGa0IsYUFBTyxHQUFQLE9BQU8sQ0FBUzs7SUFFbkMsQ0FBQztJQUNILHNDQUFDO0FBQUQsQ0FBQyxBQUpELENBQXFELGlDQUF3QixHQUk1RTtBQUpZLDBFQUErQjtBQWU1QztJQUErQyw2Q0FBd0I7SUFDckUsbUNBQW1CLE1BQWM7UUFBakMsWUFDRSxpQkFBTyxTQUNSO1FBRmtCLFlBQU0sR0FBTixNQUFNLENBQVE7O0lBRWpDLENBQUM7SUFDSCxnQ0FBQztBQUFELENBQUMsQUFKRCxDQUErQyxpQ0FBd0IsR0FJdEU7QUFKWSw4REFBeUIifQ== |
import { ChatKittyPaginator } from './pagination'; | ||
import { ChatKittyFailedResult, ChatKittySucceededResult } from './result'; | ||
import { ChatKittyFailedResult, ChatKittyResult, ChatKittySucceededResult } from './result'; | ||
import { User } from './user'; | ||
@@ -12,3 +12,3 @@ export declare class UserBlockListItem { | ||
} | ||
export declare type GetUserBlockListResult = GetUserBlockListSucceededResult | ChatKittyFailedResult; | ||
export declare type GetUserBlockListResult = ChatKittyResult<GetUserBlockListSucceededResult> | GetUserBlockListSucceededResult | ChatKittyFailedResult; | ||
export declare class GetUserBlockListSucceededResult extends ChatKittySucceededResult { | ||
@@ -21,3 +21,3 @@ paginator: ChatKittyPaginator<UserBlockListItem>; | ||
} | ||
export declare type DeleteUserBlockListItemResult = DeleteUserBlockListItemSucceededResult | ChatKittyFailedResult; | ||
export declare type DeleteUserBlockListItemResult = ChatKittyResult<DeleteUserBlockListItemSucceededResult> | DeleteUserBlockListItemSucceededResult | ChatKittyFailedResult; | ||
export declare class DeleteUserBlockListItemSucceededResult extends ChatKittySucceededResult { | ||
@@ -24,0 +24,0 @@ user: User; |
@@ -40,2 +40,2 @@ "use strict"; | ||
exports.DeleteUserBlockListItemSucceededResult = DeleteUserBlockListItemSucceededResult; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXNlci1ibG9jay1saXN0LWl0ZW0uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvbGliL3VzZXItYmxvY2stbGlzdC1pdGVtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQUNBLG1DQUEyRTtBQWlCM0U7SUFBcUQsbURBQXdCO0lBQzNFLHlDQUFtQixTQUFnRDtRQUFuRSxZQUNFLGlCQUFPLFNBQ1I7UUFGa0IsZUFBUyxHQUFULFNBQVMsQ0FBdUM7O0lBRW5FLENBQUM7SUFDSCxzQ0FBQztBQUFELENBQUMsQUFKRCxDQUFxRCxpQ0FBd0IsR0FJNUU7QUFKWSwwRUFBK0I7QUFjNUM7SUFBNEQsMERBQXdCO0lBQ2xGLGdEQUFtQixJQUFVO1FBQTdCLFlBQ0UsaUJBQU8sU0FDUjtRQUZrQixVQUFJLEdBQUosSUFBSSxDQUFNOztJQUU3QixDQUFDO0lBQ0gsNkNBQUM7QUFBRCxDQUFDLEFBSkQsQ0FBNEQsaUNBQXdCLEdBSW5GO0FBSlksd0ZBQXNDIn0= | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXNlci1ibG9jay1saXN0LWl0ZW0uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvbGliL3VzZXItYmxvY2stbGlzdC1pdGVtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7OztBQUNBLG1DQUlrQjtBQWtCbEI7SUFBcUQsbURBQXdCO0lBQzNFLHlDQUFtQixTQUFnRDtRQUFuRSxZQUNFLGlCQUFPLFNBQ1I7UUFGa0IsZUFBUyxHQUFULFNBQVMsQ0FBdUM7O0lBRW5FLENBQUM7SUFDSCxzQ0FBQztBQUFELENBQUMsQUFKRCxDQUFxRCxpQ0FBd0IsR0FJNUU7QUFKWSwwRUFBK0I7QUFlNUM7SUFBNEQsMERBQXdCO0lBQ2xGLGdEQUFtQixJQUFVO1FBQTdCLFlBQ0UsaUJBQU8sU0FDUjtRQUZrQixVQUFJLEdBQUosSUFBSSxDQUFNOztJQUU3QixDQUFDO0lBQ0gsNkNBQUM7QUFBRCxDQUFDLEFBSkQsQ0FBNEQsaUNBQXdCLEdBSW5GO0FBSlksd0ZBQXNDIn0= |
import { CurrentUser } from './current-user'; | ||
import { ChatKittyError } from './error'; | ||
import { ChatKittyFailedResult, ChatKittySucceededResult } from './result'; | ||
import { ChatKittyFailedResult, ChatKittyResult, ChatKittySucceededResult } from './result'; | ||
export declare class UserSession { | ||
user: CurrentUser; | ||
} | ||
export declare type StartSessionResult = StartedSessionResult | ChatKittyFailedResult; | ||
export declare type StartSessionResult = ChatKittyResult<StartedSessionResult> | StartedSessionResult | ChatKittyFailedResult; | ||
export declare class StartSessionRequest { | ||
@@ -9,0 +9,0 @@ username: string; |
@@ -55,2 +55,2 @@ "use strict"; | ||
exports.NoActiveSessionError = NoActiveSessionError; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXNlci1zZXNzaW9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2xpYi91c2VyLXNlc3Npb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBQ0EsaUNBQXlDO0FBQ3pDLG1DQUEyRTtBQWEzRTtJQUEwQyx3Q0FBd0I7SUFDaEUsOEJBQW1CLE9BQW9CO1FBQXZDLFlBQ0UsaUJBQU8sU0FDUjtRQUZrQixhQUFPLEdBQVAsT0FBTyxDQUFhOztJQUV2QyxDQUFDO0lBQ0gsMkJBQUM7QUFBRCxDQUFDLEFBSkQsQ0FBMEMsaUNBQXdCLEdBSWpFO0FBSlksb0RBQW9CO0FBTWpDO0lBQWlELCtDQUFjO0lBQzdEO2VBQ0Usa0JBQ0UsNkJBQTZCLEVBQzdCLGlEQUFpRCxDQUNsRDtJQUNILENBQUM7SUFDSCxrQ0FBQztBQUFELENBQUMsQUFQRCxDQUFpRCxzQkFBYyxHQU85RDtBQVBZLGtFQUEyQjtBQVN4QztJQUF3QyxzQ0FBYztJQUNwRDtlQUNFLGtCQUNFLG9CQUFvQixFQUNwQixrR0FBa0csQ0FDbkc7SUFDSCxDQUFDO0lBQ0gseUJBQUM7QUFBRCxDQUFDLEFBUEQsQ0FBd0Msc0JBQWMsR0FPckQ7QUFQWSxnREFBa0I7QUFTL0I7SUFBMEMsd0NBQWM7SUFDdEQ7ZUFDRSxrQkFBTSxzQkFBc0IsRUFBRSxvQ0FBb0MsQ0FBQztJQUNyRSxDQUFDO0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ksb0RBQW9CIn0= |
import { Channel } from './channel'; | ||
import { ChatKittyModelReference } from './model'; | ||
import { ChatKittyPaginator } from './pagination'; | ||
import { ChatKittyFailedResult, ChatKittySucceededResult } from './result'; | ||
import { ChatKittyFailedResult, ChatKittyResult, ChatKittySucceededResult } from './result'; | ||
export interface BaseUser { | ||
@@ -36,3 +36,3 @@ id: number; | ||
} | ||
export declare type GetUsersResult = GetUsersSucceededResult | ChatKittyFailedResult; | ||
export declare type GetUsersResult = ChatKittyResult<GetUsersSucceededResult> | GetUsersSucceededResult | ChatKittyFailedResult; | ||
export declare class GetUsersSucceededResult extends ChatKittySucceededResult { | ||
@@ -42,3 +42,3 @@ paginator: ChatKittyPaginator<User>; | ||
} | ||
export declare type GetUserResult = GetUserSucceededResult | ChatKittyFailedResult; | ||
export declare type GetUserResult = ChatKittyResult<GetUserSucceededResult> | GetUserSucceededResult | ChatKittyFailedResult; | ||
export declare class GetUserSucceededResult extends ChatKittySucceededResult { | ||
@@ -52,3 +52,3 @@ user: User; | ||
} | ||
export declare type GetUserIsChannelMemberResult = GetUserIsChannelMemberSucceededResult | ChatKittyFailedResult; | ||
export declare type GetUserIsChannelMemberResult = ChatKittyResult<GetUserIsChannelMemberSucceededResult> | GetUserIsChannelMemberSucceededResult | ChatKittyFailedResult; | ||
export declare class GetUserIsChannelMemberSucceededResult extends ChatKittySucceededResult { | ||
@@ -61,3 +61,3 @@ isMember: boolean; | ||
} | ||
export declare type BlockUserResult = BlockUserSucceededResult | ChatKittyFailedResult; | ||
export declare type BlockUserResult = ChatKittyResult<BlockUserSucceededResult> | BlockUserSucceededResult | ChatKittyFailedResult; | ||
export declare class BlockUserSucceededResult extends ChatKittySucceededResult { | ||
@@ -64,0 +64,0 @@ user: User; |
@@ -60,2 +60,2 @@ "use strict"; | ||
exports.BlockUserSucceededResult = BlockUserSucceededResult; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXNlci5qcyIsInNvdXJj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ZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9saWIvdXNlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7Ozs7QUFHQSxtQ0FJa0I7QUErQ2xCO0lBQTZDLDJDQUF3QjtJQUNuRSxpQ0FBbUIsU0FBbUM7UUFBdEQsWUFDRSxpQkFBTyxTQUNSO1FBRmtCLGVBQVMsR0FBVCxTQUFTLENBQTBCOztJQUV0RCxDQUFDO0lBQ0gsOEJBQUM7QUFBRCxDQUFDLEFBSkQsQ0FBNkMsaUNBQXdCLEdBSXBFO0FBSlksMERBQXVCO0FBV3BDO0lBQTRDLDBDQUF3QjtJQUNsRSxnQ0FBbUIsSUFBVTtRQUE3QixZQUNFLGlCQUFPLFNBQ1I7UUFGa0IsVUFBSSxHQUFKLElBQUksQ0FBTTs7SUFFN0IsQ0FBQztJQUNILDZCQUFDO0FBQUQsQ0FBQyxBQUpELENBQTRDLGlDQUF3QixHQUluRTtBQUpZLHdEQUFzQjtBQWdCbkM7SUFBMkQseURBQXdCO0lBQ2pGLCtDQUFtQixRQUFpQjtRQUFwQyxZQUNFLGlCQUFPLFNBQ1I7UUFGa0IsY0FBUSxHQUFSLFFBQVEsQ0FBUzs7SUFFcEMsQ0FBQztJQUNILDRDQUFDO0FBQUQsQ0FBQyxBQUpELENBQTJELGlDQUF3QixHQUlsRjtBQUpZLHNGQUFxQztBQWVsRDtJQUE4Qyw0Q0FBd0I7SUFDcEUsa0NBQW1CLElBQVU7UUFBN0IsWUFDRSxpQkFBTyxTQUNSO1FBRmtCLFVBQUksR0FBSixJQUFJLENBQU07O0lBRTdCLENBQUM7SUFDSCwrQkFBQztBQUFELENBQUMsQUFKRCxDQUE4QyxpQ0FBd0IsR0FJckU7QUFKWSw0REFBd0IifQ== |
@@ -1,1 +0,1 @@ | ||
export declare const version = "1.52.12"; | ||
export declare const version = "1.52.13"; |
// generated by genversion | ||
export const version = '1.52.12'; | ||
export const version = '1.52.13'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmVyc2lvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9lbnZpcm9ubWVudC92ZXJzaW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLDBCQUEwQjtBQUMxQixNQUFNLENBQUMsTUFBTSxPQUFPLEdBQUcsU0FBUyxDQUFBIn0= |
@@ -18,2 +18,3 @@ import 'text-encoding'; | ||
export * from './lib/result'; | ||
export * from './lib/thread'; | ||
export * from './lib/user'; | ||
@@ -20,0 +21,0 @@ export * from './lib/user-block-list-item'; |
@@ -18,2 +18,3 @@ import 'text-encoding'; | ||
export * from './lib/result'; | ||
export * from './lib/thread'; | ||
export * from './lib/user'; | ||
@@ -23,2 +24,2 @@ export * from './lib/user-block-list-item'; | ||
export default ChatKitty; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxlQUFlLENBQUM7QUFFdkIsT0FBTyxTQUFTLE1BQU0saUJBQWlCLENBQUM7QUFFeEMsY0FBYyxlQUFlLENBQUM7QUFDOUIsY0FBYyxvQkFBb0IsQ0FBQztBQUNuQyxjQUFjLG9CQUFvQixDQUFDO0FBQ25DLGNBQWMsYUFBYSxDQUFDO0FBQzVCLGNBQWMsYUFBYSxDQUFDO0FBQzVCLGNBQWMsWUFBWSxDQUFDO0FBQzNCLGNBQWMsa0JBQWtCLENBQUM7QUFDakMsY0FBYyxlQUFlLENBQUM7QUFDOUIsY0FBYyxhQUFhLENBQUM7QUFDNUIsY0FBYyxvQkFBb0IsQ0FBQztBQUNuQyxjQUFjLG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uQyxlQUFlLFNBQVMsQ0FBQyJ9 |
import { ChatKittyError } from './error'; | ||
import { Message } from './message'; | ||
import { ChatKittyPaginator } from './pagination'; | ||
import { ChatKittyFailedResult, ChatKittySucceededResult } from './result'; | ||
import { ChatKittyFailedResult, ChatKittyResult, ChatKittySucceededResult } from './result'; | ||
import { ChatKittyUserReference, User } from './user'; | ||
@@ -63,3 +63,3 @@ export declare type Channel = DirectChannel | PublicChannel | PrivateChannel; | ||
export declare function isPrivateChannel(channel: Channel): channel is PrivateChannel; | ||
export declare type CreateChannelResult = CreatedChannelResult | ChatKittyFailedResult; | ||
export declare type CreateChannelResult = ChatKittyResult<CreatedChannelResult> | CreatedChannelResult | ChatKittyFailedResult; | ||
export declare class CreateChannelRequest { | ||
@@ -92,3 +92,3 @@ type: string; | ||
} | ||
export declare type GetChannelsResult = GetChannelsSucceededResult | ChatKittyFailedResult; | ||
export declare type GetChannelsResult = ChatKittyResult<GetChannelsSucceededResult> | GetChannelsSucceededResult | ChatKittyFailedResult; | ||
export declare class GetChannelsSucceededResult extends ChatKittySucceededResult { | ||
@@ -98,3 +98,3 @@ paginator: ChatKittyPaginator<Channel>; | ||
} | ||
export declare type GetChannelResult = GetChannelSucceededResult | ChatKittyFailedResult; | ||
export declare type GetChannelResult = ChatKittyResult<GetChannelSucceededResult> | GetChannelSucceededResult | ChatKittyFailedResult; | ||
export declare class GetChannelSucceededResult extends ChatKittySucceededResult { | ||
@@ -104,3 +104,3 @@ channel: Channel; | ||
} | ||
export declare type GetChannelUnreadResult = GetChannelUnreadSucceededResult | ChatKittyFailedResult; | ||
export declare type GetChannelUnreadResult = ChatKittyResult<GetChannelUnreadSucceededResult> | GetChannelUnreadSucceededResult | ChatKittyFailedResult; | ||
export declare class GetChannelUnreadSucceededResult extends ChatKittySucceededResult { | ||
@@ -113,3 +113,3 @@ unread: boolean; | ||
} | ||
export declare type JoinChannelResult = JoinedChannelResult | ChatKittyFailedResult; | ||
export declare type JoinChannelResult = ChatKittyResult<JoinedChannelResult> | JoinedChannelResult | ChatKittyFailedResult; | ||
export declare class JoinedChannelResult extends ChatKittySucceededResult { | ||
@@ -134,3 +134,3 @@ channel: Channel; | ||
} | ||
export declare type AddChannelModeratorResult = AddedChannelModeratorResult | ChatKittyFailedResult; | ||
export declare type AddChannelModeratorResult = ChatKittyResult<AddedChannelModeratorResult> | AddedChannelModeratorResult | ChatKittyFailedResult; | ||
export declare class AddedChannelModeratorResult extends ChatKittySucceededResult { | ||
@@ -147,3 +147,3 @@ channel: Channel; | ||
} | ||
export declare type MuteChannelResult = MutedChannelResult | ChatKittyFailedResult; | ||
export declare type MuteChannelResult = ChatKittyResult<MutedChannelResult> | MutedChannelResult | ChatKittyFailedResult; | ||
export declare class MutedChannelResult extends ChatKittySucceededResult { | ||
@@ -156,3 +156,3 @@ channel: Channel; | ||
} | ||
export declare type UnmuteChannelResult = UnmutedChannelResult | ChatKittyFailedResult; | ||
export declare type UnmuteChannelResult = ChatKittyResult<UnmutedChannelResult> | UnmutedChannelResult | ChatKittyFailedResult; | ||
export declare class UnmutedChannelResult extends ChatKittySucceededResult { | ||
@@ -165,3 +165,3 @@ channel: Channel; | ||
} | ||
export declare type LeaveChannelResult = LeftChannelResult | ChatKittyFailedResult; | ||
export declare type LeaveChannelResult = ChatKittyResult<LeftChannelResult> | LeftChannelResult | ChatKittyFailedResult; | ||
export declare class LeftChannelResult extends ChatKittySucceededResult { | ||
@@ -178,3 +178,3 @@ channel: Channel; | ||
} | ||
export declare type ReadChannelResult = ReadChannelSucceededResult | ChatKittyFailedResult; | ||
export declare type ReadChannelResult = ChatKittyResult<ReadChannelSucceededResult> | ReadChannelSucceededResult | ChatKittyFailedResult; | ||
export declare class ReadChannelSucceededResult extends ChatKittySucceededResult { | ||
@@ -187,3 +187,3 @@ channel: Channel; | ||
} | ||
export declare type ClearChannelHistoryResult = ClearChannelHistorySucceededResult | ChatKittyFailedResult; | ||
export declare type ClearChannelHistoryResult = ChatKittyResult<ClearChannelHistorySucceededResult> | ClearChannelHistorySucceededResult | ChatKittyFailedResult; | ||
export declare class ClearChannelHistorySucceededResult extends ChatKittySucceededResult { | ||
@@ -196,3 +196,3 @@ channel: Channel; | ||
} | ||
export declare type HideChannelResult = HideChannelSucceededResult | ChatKittyFailedResult; | ||
export declare type HideChannelResult = ChatKittyResult<HideChannelSucceededResult> | HideChannelSucceededResult | ChatKittyFailedResult; | ||
export declare class HideChannelSucceededResult extends ChatKittySucceededResult { | ||
@@ -206,3 +206,3 @@ channel: DirectChannel; | ||
} | ||
export declare type InviteUserResult = InvitedUserResult | ChatKittyFailedResult; | ||
export declare type InviteUserResult = ChatKittyResult<InvitedUserResult> | InvitedUserResult | ChatKittyFailedResult; | ||
export declare class InvitedUserResult extends ChatKittySucceededResult { | ||
@@ -219,3 +219,3 @@ user: User; | ||
} | ||
export declare type UpdateChannelResult = UpdatedChannelResult | ChatKittyFailedResult; | ||
export declare type UpdateChannelResult = ChatKittyResult<UpdatedChannelResult> | UpdatedChannelResult | ChatKittyFailedResult; | ||
export declare class UpdatedChannelResult extends ChatKittySucceededResult { | ||
@@ -222,0 +222,0 @@ channel: Channel; |
@@ -120,2 +120,2 @@ import { ChatKittyError } from './error'; | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hhbm5lbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9saWIvY2hhbm5lbC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0sU0FBUyxDQUFDO0FBR3pDLE9BQU8sRUFBeUIsd0JBQXdCLEVBQUUsTUFBTSxVQUFVLENBQUM7QUFrRTNFLE1BQU0sVUFBVSxlQUFlLENBQUMsT0FBZ0I7SUFDOUMsT0FBTyxPQUFPLENBQUMsSUFBSSxLQUFLLFFBQVEsQ0FBQztBQUNuQyxDQUFDO0FB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Q3ZDLEtBQUssRUFBRSxDQUFDO1FBRFMsWUFBTyxHQUFQLE9BQU8sQ0FBZTtJQUV6QyxDQUFDO0NBQ0Y7QUFZRCxNQUFNLE9BQU8saUJBQWtCLFNBQVEsd0JBQXdCO0lBQzdELFlBQW1CLElBQVU7UUFDM0IsS0FBSyxFQUFFLENBQUM7UUFEUyxTQUFJLEdBQUosSUFBSSxDQUFNO0lBRTdCLENBQUM7Q0FDRjtBQUVELE1BQU0sT0FBTyx3QkFBeUIsU0FBUSxjQUFjO0lBQzFELFlBQW1CLE9BQWdCO1FBQ2pDLEtBQUssQ0FDSCwwQkFBMEIsRUFDMUIsZUFBZSxPQUFPLENBQUMsSUFBSSwyQkFBMkIsQ0FDdkQsQ0FBQztRQUplLFlBQU8sR0FBUCxPQUFPLENBQVM7SUFLbkMsQ0FBQztDQUNGO0FBV0QsTUFBTSxPQUFPLG9CQUFxQixTQUFRLHdCQUF3QjtJQUNoRSxZQUFtQixPQUFnQjtRQUNqQyxLQUFLLEVBQUUsQ0FBQztRQURTLFlBQU8sR0FBUCxPQUFPLENBQVM7SUFFbkMsQ0FBQztDQUNGIn0= |
@@ -7,3 +7,3 @@ import { Channel } from './channel'; | ||
import { ReadReceipt } from './read-receipt'; | ||
import { ChatKittySucceededResult } from './result'; | ||
import { ChatKittyResult, ChatKittySucceededResult } from './result'; | ||
import { Thread } from './thread'; | ||
@@ -17,3 +17,3 @@ import { User } from './user'; | ||
} | ||
export declare type StartChatSessionResult = StartedChatSessionResult; | ||
export declare type StartChatSessionResult = ChatKittyResult<StartedChatSessionResult> | StartedChatSessionResult; | ||
export declare class StartChatSessionRequest { | ||
@@ -20,0 +20,0 @@ channel: Channel; |
@@ -8,2 +8,2 @@ import { ChatKittySucceededResult } from './result'; | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hhdC1zZXNzaW9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2xpYi9jaGF0LXNlc3Npb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBTUEsT0FBTyxFQUFFLHdCQUF3QixFQUFFLE1BQU0sVUFBVSxDQUFDO0FBa0NwRCxNQUFNLE9BQU8sd0JBQXlCLFNBQVEsd0JBQXdCO0lBQ3BFLFlBQW1CLE9BQW9CO1FBQ3JDLEtBQUssRUFBRSxDQUFDO1FBRFMsWUFBTyxHQUFQLE9BQU8sQ0FBYTtJQUV2QyxDQUFDO0NBQ0YifQ== | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2hhdC1zZXNzaW9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2xpYi9jaGF0LXNlc3Npb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBTUEsT0FBTyxFQUFrQix3QkFBd0IsRUFBQyxNQUFNLFVBQVUsQ0FBQztBQW9DbkUsTUFBTSxPQUFPLHdCQUF5QixTQUFRLHdCQUF3QjtJQUNwRSxZQUFtQixPQUFvQjtRQUNyQyxLQUFLLEVBQUUsQ0FBQztRQURTLFlBQU8sR0FBUCxPQUFPLENBQWE7SUFFdkMsQ0FBQztDQUNGIn0= |
import { ChatKittyUploadProgressListener, CreateChatKittyFileProperties } from './file'; | ||
import { ChatKittyFailedResult, ChatKittySucceededResult } from './result'; | ||
import { ChatKittyFailedResult, ChatKittyResult, ChatKittySucceededResult } from './result'; | ||
import { BaseUser } from './user'; | ||
@@ -43,3 +43,3 @@ export declare type CurrentUser = BaseUser & { | ||
} | ||
export declare type GetCurrentUserResult = GetCurrentUserSuccessfulResult | ChatKittyFailedResult; | ||
export declare type GetCurrentUserResult = ChatKittyResult<GetCurrentUserSuccessfulResult> | GetCurrentUserSuccessfulResult | ChatKittyFailedResult; | ||
export declare class GetCurrentUserSuccessfulResult extends ChatKittySucceededResult { | ||
@@ -49,3 +49,3 @@ user: CurrentUser; | ||
} | ||
export declare type UpdateCurrentUserResult = UpdatedCurrentUserResult | ChatKittyFailedResult; | ||
export declare type UpdateCurrentUserResult = ChatKittyResult<UpdatedCurrentUserResult> | UpdatedCurrentUserResult | ChatKittyFailedResult; | ||
export declare class UpdatedCurrentUserResult extends ChatKittySucceededResult { | ||
@@ -59,3 +59,3 @@ user: CurrentUser; | ||
} | ||
export declare type UpdateCurrentUserDisplayPictureResult = UpdatedCurrentUserResult | ChatKittyFailedResult; | ||
export declare type UpdateCurrentUserDisplayPictureResult = ChatKittyResult<UpdatedCurrentUserDisplayPictureResult> | UpdatedCurrentUserDisplayPictureResult | ChatKittyFailedResult; | ||
export declare class UpdatedCurrentUserDisplayPictureResult extends ChatKittySucceededResult { | ||
@@ -62,0 +62,0 @@ user: CurrentUser; |
@@ -20,2 +20,2 @@ import { ChatKittySucceededResult } from './result'; | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3VycmVudC11c2VyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2xpYi9jdXJyZW50LXVzZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBSUEsT0FBTyxFQUF5Qix3QkFBd0IsRUFBRSxNQUFNLFVBQVUsQ0FBQztBQW1EM0UsTUFBTSxPQUFPLDhCQUErQixTQUFRLHdCQUF3QjtJQUMxRSxZQUFtQixJQUFpQjtRQUNsQyxLQUFLLEVBQUUsQ0FBQztRQURTLFNBQUksR0FBSixJQUFJLENBQWE7SUFFcEMsQ0FBQztDQUNGO0FBTUQsTUFBTSxPQUFPLHdCQUF5QixTQUFRLHdCQUF3QjtJQUNwRSxZQUFtQixJQUFpQjtRQUNsQyxLQUFLLEVBQUUsQ0FBQztRQURTLFNBQUksR0FBSixJQUFJLENBQWE7SUFFcEMsQ0FBQztDQUNGO0FBV0QsTUFBTSxPQUFPLHNDQUF1QyxTQUFRLHdCQUF3QjtJQUNsRixZQUFtQixJQUFpQjtRQUNsQyxLQUFLLEVBQUUsQ0FBQztRQURTLFNBQUksR0FBSixJQUFJLENBQWE7SUFFcEMsQ0FBQztDQUNGIn0= | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY3VycmVudC11c2VyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2xpYi9jdXJyZW50LXVzZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBSUEsT0FBTyxFQUdMLHdCQUF3QixFQUN6QixNQUFNLFVBQVUsQ0FBQztBQW9EbEIsTUFBTSxPQUFPLDhCQUErQixTQUFRLHdCQUF3QjtJQUMxRSxZQUFtQixJQUFpQjtRQUNsQyxLQUFLLEVBQUUsQ0FBQztRQURTLFNBQUksR0FBSixJQUFJLENBQWE7SUFFcEMsQ0FBQztDQUNGO0FBT0QsTUFBTSxPQUFPLHdCQUF5QixTQUFRLHdCQUF3QjtJQUNwRSxZQUFtQixJQUFpQjtRQUNsQyxLQUFLLEVBQUUsQ0FBQztRQURTLFNBQUksR0FBSixJQUFJLENBQWE7SUFFcEMsQ0FBQztDQUNGO0FBWUQsTUFBTSxPQUFPLHNDQUF1QyxTQUFRLHdCQUF3QjtJQUNsRixZQUFtQixJQUFpQjtRQUNsQyxLQUFLLEVBQUUsQ0FBQztRQURTLFNBQUksR0FBSixJQUFJLENBQWE7SUFFcEMsQ0FBQztDQUNGIn0= |
@@ -6,3 +6,3 @@ import { Channel } from './channel'; | ||
import { ReactionSummary } from './reaction'; | ||
import { ChatKittyFailedResult, ChatKittySucceededResult } from './result'; | ||
import { ChatKittyFailedResult, ChatKittyResult, ChatKittySucceededResult } from './result'; | ||
import { Thread } from './thread'; | ||
@@ -112,3 +112,3 @@ import { User } from './user'; | ||
} | ||
export declare type GetMessagesResult = GetMessagesSucceededResult | ChatKittyFailedResult; | ||
export declare type GetMessagesResult = ChatKittyResult<GetMessagesSucceededResult> | GetMessagesSucceededResult | ChatKittyFailedResult; | ||
export declare class GetMessagesSucceededResult extends ChatKittySucceededResult { | ||
@@ -125,3 +125,3 @@ paginator: ChatKittyPaginator<Message>; | ||
} | ||
export declare type ReadMessageResult = ReadMessageSucceededResult | ChatKittyFailedResult; | ||
export declare type ReadMessageResult = ChatKittyResult<ReadMessageSucceededResult> | ReadMessageSucceededResult | ChatKittyFailedResult; | ||
export declare class ReadMessageSucceededResult extends ChatKittySucceededResult { | ||
@@ -135,3 +135,3 @@ message: Message; | ||
} | ||
export declare type EditMessageResult = EditedMessageSucceededResult | ChatKittyFailedResult; | ||
export declare type EditMessageResult = ChatKittyResult<EditedMessageSucceededResult> | EditedMessageSucceededResult | ChatKittyFailedResult; | ||
export declare class EditedMessageSucceededResult extends ChatKittySucceededResult { | ||
@@ -144,3 +144,3 @@ message: Message; | ||
} | ||
export declare type DeleteMessageForMeResult = DeleteMessageForMeSucceededResult | ChatKittyFailedResult; | ||
export declare type DeleteMessageForMeResult = ChatKittyResult<DeleteMessageForMeSucceededResult> | DeleteMessageForMeSucceededResult | ChatKittyFailedResult; | ||
export declare class DeleteMessageForMeSucceededResult extends ChatKittySucceededResult { | ||
@@ -153,3 +153,3 @@ message: Message; | ||
} | ||
export declare type DeleteMessageResult = DeleteMessageSucceededResult | ChatKittyFailedResult; | ||
export declare type DeleteMessageResult = ChatKittyResult<DeleteMessageSucceededResult> | DeleteMessageSucceededResult | ChatKittyFailedResult; | ||
export declare class DeleteMessageSucceededResult extends ChatKittySucceededResult { | ||
@@ -180,4 +180,4 @@ message: Message; | ||
}; | ||
export declare type SendMessageResult = SentMessageResult | ChatKittyFailedResult; | ||
export declare type SentMessageResult = SentTextMessageResult | SentFileMessageResult; | ||
export declare type SendMessageResult = ChatKittyResult<SentMessageResult> | SentMessageResult | ChatKittyFailedResult; | ||
export declare type SentMessageResult = ChatKittyResult<SentTextMessageResult> | SentTextMessageResult | SentFileMessageResult; | ||
export declare class SentTextMessageResult extends ChatKittySucceededResult { | ||
@@ -202,3 +202,3 @@ message: TextUserMessage; | ||
} | ||
export declare type GetMessageChannelResult = GetMessageChannelSucceededResult | ChatKittyFailedResult; | ||
export declare type GetMessageChannelResult = ChatKittyResult<GetMessageChannelSucceededResult> | GetMessageChannelSucceededResult | ChatKittyFailedResult; | ||
export declare class GetMessageChannelSucceededResult extends ChatKittySucceededResult { | ||
@@ -211,3 +211,3 @@ channel: Channel; | ||
} | ||
export declare type GetMessageParentResult = GetMessageParentSucceededResult | ChatKittyFailedResult; | ||
export declare type GetMessageParentResult = ChatKittyResult<GetMessageParentSucceededResult> | GetMessageParentSucceededResult | ChatKittyFailedResult; | ||
export declare class GetMessageParentSucceededResult extends ChatKittySucceededResult { | ||
@@ -214,0 +214,0 @@ message: Message; |
@@ -64,8 +64,8 @@ import { ChatKittyError } from './error'; | ||
export function sentTextMessage(result) { | ||
return (result.message !== undefined && | ||
result.message.type === 'TEXT'); | ||
const message = result.message; | ||
return message !== undefined && message.type === 'TEXT'; | ||
} | ||
export function sentFileMessage(result) { | ||
return (result.message !== undefined && | ||
result.message.type === 'FILE'); | ||
const message = result.message; | ||
return message !== undefined && message.type === 'FILE'; | ||
} | ||
@@ -90,2 +90,2 @@ export class GetMessageChannelSucceededResult extends ChatKittySucceededResult { | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVzc2FnZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9saWIvbWVzc2FnZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFDQSxPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0sU0FBUyxDQUFDO0FBUXpDLE9BQU8sRUFBeUIsd0JBQXdCLEVBQUUsTUFBTSxVQUFVLENBQUM7QUE4RzNFLE1BQU0sVUFBVSxhQUFhLENBQUMs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UFxQjtRQUN0QyxLQUFLLENBQ0gsdUJBQXVCLEVBQ3ZCLFdBQVcsWUFBWSxDQUFDLEVBQUUsa0JBQWtCLENBQzdDLENBQUM7UUFKZSxpQkFBWSxHQUFaLFlBQVksQ0FBUztJQUt4QyxDQUFDO0NBQ0YifQ== |
@@ -0,3 +1,3 @@ | ||
import StompX, { StompXError } from '../stompx'; | ||
import { ChatKittyError } from './error'; | ||
import StompX, { StompXError } from '../stompx'; | ||
export declare class ChatKittyPaginator<I> { | ||
@@ -4,0 +4,0 @@ items: I[]; |
@@ -107,2 +107,2 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFnaW5hdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9saWIvcGFnaW5hdGlvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7QUFBQSxPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0sU0FBUyxDQUFDO0FBR3pDLE1BQU0sT0FBTyxrQkFBa0I7SUErQzdCLFlBQ1MsS0FBVSxFQUNULE1BQWMsRUFDZCxXQUFtQixFQUNuQixTQUFrQixFQUNsQixTQUFrQixFQUNsQixVQUFvQyxFQUNwQyxNQUF1QixFQUN2QixXQUFxQztRQVB0QyxVQUFLLEdBQUwsS0FBSyxDQUFLO1FBQ1QsV0FBTSxHQUFOLE1BQU0sQ0FBUTtRQUNkLGdCQUFXLEdBQVgsV0FBVyxDQUFRO1FBQ25CLGNBQVMsR0FBVCxTQUFTLENBQVM7UUFDbEIsY0FBUyxHQUFULFNBQVMsQ0FBUztRQUNsQixlQUFVLEdBQVYsVUFBVSxDQUEwQjtRQUNwQyxXQUFNLEdBQU4sTUFBTSxDQUFpQjtRQUN2QixnQkFBVyxHQUFYLFdBQVcsQ0FBMEI7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LENBQUMsQ0FBQyxDQUFDO2lCQUM3QztnQkFFRCxLQUFLLEdBQUcsV0FBVyxDQUFDO2FBQ3JCO1lBRUQsT0FBTyxJQUFJLGtCQUFrQixDQUMzQixLQUFLLEVBQ0wsSUFBSSxDQUFDLE1BQU0sRUFDWCxJQUFJLENBQUMsV0FBVyxFQUNoQixJQUFJLENBQUMsT0FBTyxDQUFDLElBQUksRUFDakIsSUFBSSxDQUFDLE9BQU8sQ0FBQyxJQUFJLEVBQ2pCLElBQUksQ0FBQyxVQUFVLEVBQ2YsSUFBSSxDQUFDLE1BQU0sRUFDWCxJQUFJLENBQUMsV0FBVyxDQUNqQixDQUFDO1FBQ0osQ0FBQztLQUFBO0NBQ0Y7QUFZRCxNQUFNLE9BQU8sb0JBQXFCLFNBQVEsY0FBYztJQUN0RDtRQUNFLEtBQUssQ0FDSCxzQkFBc0IsRUFDdEIsOENBQThDLENBQy9DLENBQUM7SUFDSixDQUFDO0NBQ0YifQ== |
import { Emoji } from './emoji'; | ||
import { Message } from './message'; | ||
import { ChatKittyPaginator } from './pagination'; | ||
import { ChatKittyFailedResult, ChatKittySucceededResult } from './result'; | ||
import { ChatKittyFailedResult, ChatKittyResult, ChatKittySucceededResult } from './result'; | ||
import { User } from './user'; | ||
@@ -27,3 +27,3 @@ export declare class Reaction { | ||
} | ||
export declare type ReactToMessageResult = ReactedToMessageResult | ChatKittyFailedResult; | ||
export declare type ReactToMessageResult = ChatKittyResult<ReactedToMessageResult> | ReactedToMessageResult | ChatKittyFailedResult; | ||
export declare class ReactedToMessageResult extends ChatKittySucceededResult { | ||
@@ -36,3 +36,3 @@ reaction: Reaction; | ||
} | ||
export declare type GetReactionsResult = GetReactionsSucceededResult | ChatKittyFailedResult; | ||
export declare type GetReactionsResult = ChatKittyResult<GetReactionsSucceededResult> | GetReactionsSucceededResult | ChatKittyFailedResult; | ||
export declare class GetReactionsSucceededResult extends ChatKittySucceededResult { | ||
@@ -46,3 +46,3 @@ paginator: ChatKittyPaginator<Reaction>; | ||
} | ||
export declare type RemoveReactionResult = RemovedReactionResult | ChatKittyFailedResult; | ||
export declare type RemoveReactionResult = ChatKittyResult<RemovedReactionResult> | RemovedReactionResult | ChatKittyFailedResult; | ||
export declare class RemovedReactionResult extends ChatKittySucceededResult { | ||
@@ -49,0 +49,0 @@ reaction: Reaction; |
@@ -20,2 +20,2 @@ import { ChatKittySucceededResult } from './result'; | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVhY3Rpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvbGliL3JlYWN0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUdBLE9BQU8sRUFBeUIsd0JBQXdCLEVBQUUsTUFBTSxVQUFVLENBQUM7QUFpQzNFLE1BQU0sT0FBTyxzQkFBdUIsU0FBUSx3QkFBd0I7SUFDbEUsWUFBbUIsUUFBa0I7UUFDbkMsS0FBSyxFQUFFLENBQUM7UUFEUyxhQUFRLEdBQVIsUUFBUSxDQUFVO0lBRXJDLENBQUM7Q0FDRjtBQVVELE1BQU0sT0FBTywyQkFBNEIsU0FBUSx3QkFBd0I7SUFDdkUsWUFBbUIsU0FBdUM7UUFDeEQsS0FBSyxFQUFFLENBQUM7UUFEUyxjQUFTLEdBQVQsU0FBUyxDQUE4QjtJQUUxRCxDQUFDO0NBQ0Y7QUFXRCxNQUFNLE9BQU8scUJBQXNCLFNBQVEsd0JBQXdCO0lBQ2pFLFlBQW1CLFFBQWtCO1FBQ25DLEtBQUssRUFBRSxDQUFDO1FBRFMsYUFBUSxHQUFSLFFBQVEsQ0FBVTtJQUVyQyxDQUFDO0NBQ0YifQ== | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVhY3Rpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvbGliL3JlYWN0aW9uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUdBLE9BQU8sRUFHTCx3QkFBd0IsRUFDekIsTUFBTSxVQUFVLENBQUM7QUFrQ2xCLE1BQU0sT0FBTyxzQkFBdUIsU0FBUSx3QkFBd0I7SUFDbEUsWUFBbUIsUUFBa0I7UUFDbkMsS0FBSyxFQUFFLENBQUM7UUFEUyxhQUFRLEdBQVIsUUFBUSxDQUFVO0lBRXJDLENBQUM7Q0FDRjtBQVdELE1BQU0sT0FBTywyQkFBNEIsU0FBUSx3QkFBd0I7SUFDdkUsWUFBbUIsU0FBdUM7UUFDeEQsS0FBSyxFQUFFLENBQUM7UUFEUyxjQUFTLEdBQVQsU0FBUyxDQUE4QjtJQUUxRCxDQUFDO0NBQ0Y7QUFZRCxNQUFNLE9BQU8scUJBQXNCLFNBQVEsd0JBQXdCO0lBQ2pFLFlBQW1CLFFBQWtCO1FBQ25DLEtBQUssRUFBRSxDQUFDO1FBRFMsYUFBUSxHQUFSLFFBQVEsQ0FBVTtJQUVyQyxDQUFDO0NBQ0YifQ== |
import { Message } from './message'; | ||
import { ChatKittyPaginator } from './pagination'; | ||
import { ChatKittyFailedResult, ChatKittySucceededResult } from './result'; | ||
import { ChatKittyFailedResult, ChatKittyResult, ChatKittySucceededResult } from './result'; | ||
import { User } from './user'; | ||
@@ -16,3 +16,3 @@ export declare class ReadReceipt { | ||
} | ||
export declare type GetReadReceiptsResult = GetReadReceiptsSucceededResult | ChatKittyFailedResult; | ||
export declare type GetReadReceiptsResult = ChatKittyResult<GetReadReceiptsSucceededResult> | GetReadReceiptsSucceededResult | ChatKittyFailedResult; | ||
export declare class GetReadReceiptsSucceededResult extends ChatKittySucceededResult { | ||
@@ -19,0 +19,0 @@ paginator: ChatKittyPaginator<ReadReceipt>; |
@@ -8,2 +8,2 @@ import { ChatKittySucceededResult } from './result'; | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVhZC1yZWNlaXB0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2xpYi9yZWFkLXJlY2VpcHQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUEsT0FBTyxFQUF5Qix3QkFBd0IsRUFBRSxNQUFNLFVBQVUsQ0FBQztBQXFCM0UsTUFBTSxPQUFPLDhCQUErQixTQUFRLHdCQUF3QjtJQUMxRSxZQUFtQixTQUEwQztRQUMzRCxLQUFLLEVBQUUsQ0FBQztRQURTLGNBQVMsR0FBVCxTQUFTLENBQWlDO0lBRTdELENBQUM7Q0FDRiJ9 | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVhZC1yZWNlaXB0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2xpYi9yZWFkLXJlY2VpcHQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUEsT0FBTyxFQUdMLHdCQUF3QixFQUN6QixNQUFNLFVBQVUsQ0FBQztBQXNCbEIsTUFBTSxPQUFPLDhCQUErQixTQUFRLHdCQUF3QjtJQUMxRSxZQUFtQixTQUEwQztRQUMzRCxLQUFLLEVBQUUsQ0FBQztRQURTLGNBQVMsR0FBVCxTQUFTLENBQWlDO0lBRTdELENBQUM7Q0FDRiJ9 |
import { ChatKittyError } from './error'; | ||
export interface ChatKittyResult { | ||
export interface ChatKittyResult<S extends ChatKittySucceededResult> { | ||
succeeded: boolean; | ||
@@ -7,3 +7,3 @@ cancelled: boolean; | ||
} | ||
export declare abstract class ChatKittySucceededResult implements ChatKittyResult { | ||
export declare abstract class ChatKittySucceededResult { | ||
succeeded: boolean; | ||
@@ -13,3 +13,3 @@ cancelled: boolean; | ||
} | ||
export declare abstract class ChatKittyCancelledResult implements ChatKittyResult { | ||
export declare abstract class ChatKittyCancelledResult { | ||
succeeded: boolean; | ||
@@ -19,3 +19,3 @@ cancelled: boolean; | ||
} | ||
export declare class ChatKittyFailedResult implements ChatKittyResult { | ||
export declare class ChatKittyFailedResult { | ||
error: ChatKittyError; | ||
@@ -27,3 +27,3 @@ succeeded: boolean; | ||
} | ||
export declare type GetCountResult = GetCountSucceedResult | ChatKittyFailedResult; | ||
export declare type GetCountResult = ChatKittyResult<GetCountSucceedResult> | GetCountSucceedResult | ChatKittyFailedResult; | ||
export declare class GetCountSucceedResult extends ChatKittySucceededResult { | ||
@@ -33,4 +33,4 @@ count: number; | ||
} | ||
export declare function succeeded<R extends ChatKittySucceededResult>(result: ChatKittyResult): result is R; | ||
export declare function failed<R extends ChatKittyFailedResult>(result: ChatKittyResult): result is R; | ||
export declare function cancelled<R extends ChatKittyCancelledResult>(result: ChatKittyResult): result is R; | ||
export declare function succeeded<R extends ChatKittySucceededResult>(result: ChatKittyResult<R>): result is R; | ||
export declare function failed<R extends ChatKittyFailedResult>(result: ChatKittyResult<never>): result is R; | ||
export declare function cancelled<R extends ChatKittyCancelledResult>(result: ChatKittyResult<never>): result is R; |
@@ -38,2 +38,2 @@ export class ChatKittySucceededResult { | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzdWx0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2xpYi9yZXN1bHQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBUUEsTUFBTSxPQUFnQix3QkFBd0I7SUFBOUM7UUFDRSxjQUFTLEdBQUcsSUFBSSxDQUFDO1FBQ2pCLGNBQVMsR0FBRyxLQUFLLENBQUM7UUFDbEIsV0FBTSxHQUFHLEtBQUssQ0FBQztJQUNqQixDQUFDO0NBQUE7QUFFRCxNQUFNLE9BQWdCLHdCQUF3QjtJQUE5QztRQUNFLGNBQVMsR0FBRyxLQUFLLENBQUM7UUFDbEIsY0FBUyxHQUFHLElBQUksQ0FB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UFDO0NBQUE7QUFFRCxNQUFNLE9BQWdCLHdCQUF3QjtJQUE5QztRQUNFLGNBQVMsR0FBRyxLQUFLLENBQUM7UUFDbEIsY0FBUyxHQUFHLElBQUksQ0FBQztRQUNqQixXQUFNLEdBQUcsS0FBSyxDQUFDO0lBQ2pCLENBQUM7Q0FBQTtBQUVELE1BQU0sT0FBTyxxQkFBcUI7SUFLaEMsWUFBbUIsS0FBcUI7UUFBckIsVUFBSyxHQUFMLEtBQUssQ0FBZ0I7UUFKeEMsY0FBUyxHQUFHLEtBQUssQ0FBQztRQUNsQixjQUFTLEdBQUcsS0FBSyxDQUFDO1FBQ2xCLFdBQU0sR0FBRyxJQUFJLENBQUM7SUFFNkIsQ0FBQztDQUM3QztBQU9ELE1BQU0sT0FBTyxxQkFBc0IsU0FBUSx3QkFBd0I7SUFDakUsWUFBbUIsS0FBYTtRQUM5QixLQUFLLEVBQUUsQ0FBQztRQURTLFVBQUssR0FBTCxLQUFLLENBQVE7SUFFaEMsQ0FBQztDQUNGO0FBRUQsTUFBTSxVQUFVLFNBQVMsQ0FDdkIsTUFBMEI7SUFFMUIsT0FBTyxNQUFNLENBQUMsU0FBUyxDQUFDO0FBQzFCLENBQUM7QUFFRCxNQUFNLFVBQVUsTUFBTSxDQUNwQixNQUE4QjtJQUU5QixPQUFPLE1BQU0sQ0FBQyxNQUFNLENBQUM7QUFDdkIsQ0FBQztBQUVELE1BQU0sVUFBVSxTQUFTLENBQ3ZCLE1BQThCO0lBRTlCLE9BQU8sTUFBTSxDQUFDLFNBQVMsQ0FBQztBQUMxQixDQUFDIn0= |
import { Channel } from './channel'; | ||
import { Message } from './message'; | ||
import { ChatKittyPaginator } from './pagination'; | ||
import { ChatKittyFailedResult, ChatKittySucceededResult } from './result'; | ||
import { ChatKittyFailedResult, ChatKittyResult, ChatKittySucceededResult } from './result'; | ||
export declare class Thread { | ||
@@ -39,3 +39,3 @@ id: string; | ||
} | ||
export declare type CreateThreadResult = CreatedThreadResult | ChatKittyFailedResult; | ||
export declare type CreateThreadResult = ChatKittyResult<CreatedThreadResult> | CreatedThreadResult | ChatKittyFailedResult; | ||
export declare class CreatedThreadResult extends ChatKittySucceededResult { | ||
@@ -54,3 +54,3 @@ thread: Thread; | ||
} | ||
export declare type GetThreadsResult = GetThreadsSucceededResult | ChatKittyFailedResult; | ||
export declare type GetThreadsResult = ChatKittyResult<GetThreadsSucceededResult> | GetThreadsSucceededResult | ChatKittyFailedResult; | ||
export declare class GetThreadsSucceededResult extends ChatKittySucceededResult { | ||
@@ -63,3 +63,3 @@ paginator: ChatKittyPaginator<Thread>; | ||
} | ||
export declare type GetThreadChannelResult = GetThreadChannelSucceededResult | ChatKittyFailedResult; | ||
export declare type GetThreadChannelResult = ChatKittyResult<GetThreadChannelSucceededResult> | GetThreadChannelSucceededResult | ChatKittyFailedResult; | ||
export declare class GetThreadChannelSucceededResult extends ChatKittySucceededResult { | ||
@@ -72,3 +72,3 @@ channel: Channel; | ||
} | ||
export declare type GetThreadMessageResult = GetThreadMessageSucceededResult | ChatKittyFailedResult; | ||
export declare type GetThreadMessageResult = ChatKittyResult<GetThreadMessageSucceededResult> | GetThreadMessageSucceededResult | ChatKittyFailedResult; | ||
export declare class GetThreadMessageSucceededResult extends ChatKittySucceededResult { | ||
@@ -81,3 +81,3 @@ message: Message; | ||
} | ||
export declare type ReadThreadResult = ReadThreadSucceededResult | ChatKittyFailedResult; | ||
export declare type ReadThreadResult = ChatKittyResult<ReadThreadSucceededResult> | ReadThreadSucceededResult | ChatKittyFailedResult; | ||
export declare class ReadThreadSucceededResult extends ChatKittySucceededResult { | ||
@@ -84,0 +84,0 @@ thread: Thread; |
@@ -32,2 +32,2 @@ import { ChatKittySucceededResult } from './result'; | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGhyZWFkLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2xpYi90aHJlYWQ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HdCQUF3QixFQUN6QixNQUFNLFVBQVUsQ0FBQztBQStDbEIsTUFBTSxPQUFPLG1CQUFvQixTQUFRLHdCQUF3QjtJQUMvRCxZQUFtQixNQUFjO1FBQy9CLEtBQUssRUFBRSxDQUFDO1FBRFMsV0FBTSxHQUFOLE1BQU0sQ0FBUTtJQUVqQyxDQUFDO0NBQ0Y7QUFvQkQsTUFBTSxPQUFPLHlCQUEwQixTQUFRLHdCQUF3QjtJQUNyRSxZQUFtQixTQUFxQztRQUN0RCxLQUFLLEVBQUUsQ0FBQztRQURTLGNBQVMsR0FBVCxTQUFTLENBQTRCO0lBRXhELENBQUM7Q0FDRjtBQVdELE1BQU0sT0FBTywrQkFBZ0MsU0FBUSx3QkFBd0I7SUFDM0UsWUFBbUIsT0FBZ0I7UUFDakMsS0FBSyxFQUFFLENBQUM7UUFEUyxZQUFPLEdBQVAsT0FBTyxDQUFTO0lBRW5DLENBQUM7Q0FDRjtBQVdELE1BQU0sT0FBTywrQkFBZ0MsU0FBUSx3QkFBd0I7SUFDM0UsWUFBbUIsT0FBZ0I7UUFDakMsS0FBSyxFQUFFLENBQUM7UUFEUyxZQUFPLEdBQVAsT0FBTyxDQUFTO0lBRW5DLENBQUM7Q0FDRjtBQVdELE1BQU0sT0FBTyx5QkFBMEIsU0FBUSx3QkFBd0I7SUFDckUsWUFBbUIsTUFBYztRQUMvQixLQUFLLEVBQUUsQ0FBQztRQURTLFdBQU0sR0FBTixNQUFNLENBQVE7SUFFakMsQ0FBQztDQUNGIn0= |
import { ChatKittyPaginator } from './pagination'; | ||
import { ChatKittyFailedResult, ChatKittySucceededResult } from './result'; | ||
import { ChatKittyFailedResult, ChatKittyResult, ChatKittySucceededResult } from './result'; | ||
import { User } from './user'; | ||
@@ -12,3 +12,3 @@ export declare class UserBlockListItem { | ||
} | ||
export declare type GetUserBlockListResult = GetUserBlockListSucceededResult | ChatKittyFailedResult; | ||
export declare type GetUserBlockListResult = ChatKittyResult<GetUserBlockListSucceededResult> | GetUserBlockListSucceededResult | ChatKittyFailedResult; | ||
export declare class GetUserBlockListSucceededResult extends ChatKittySucceededResult { | ||
@@ -21,3 +21,3 @@ paginator: ChatKittyPaginator<UserBlockListItem>; | ||
} | ||
export declare type DeleteUserBlockListItemResult = DeleteUserBlockListItemSucceededResult | ChatKittyFailedResult; | ||
export declare type DeleteUserBlockListItemResult = ChatKittyResult<DeleteUserBlockListItemSucceededResult> | DeleteUserBlockListItemSucceededResult | ChatKittyFailedResult; | ||
export declare class DeleteUserBlockListItemSucceededResult extends ChatKittySucceededResult { | ||
@@ -24,0 +24,0 @@ user: User; |
@@ -14,2 +14,2 @@ import { ChatKittySucceededResult } from './result'; | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXNlci1ibG9jay1saXN0LWl0ZW0uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvbGliL3VzZXItYmxvY2stbGlzdC1pdGVtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sRUFBeUIsd0JBQXdCLEVBQUUsTUFBTSxVQUFVLENBQUM7QUFpQjNFLE1BQU0sT0FBTywrQkFBZ0MsU0FBUSx3QkFBd0I7SUFDM0UsWUFBbUIsU0FBZ0Q7UUFDakUsS0FBSyxFQUFFLENBQUM7UUFEUyxjQUFTLEdBQVQsU0FBUyxDQUF1QztJQUVuRSxDQUFDO0NBQ0Y7QUFVRCxNQUFNLE9BQU8sc0NBQXVDLFNBQVEsd0JBQXdCO0lBQ2xGLFlBQW1CLElBQVU7UUFDM0IsS0FBSyxFQUFFLENBQUM7UUFEUyxTQUFJLEdBQUosSUFBSSxDQUFNO0lBRTdCLENBQUM7Q0FDRiJ9 | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXNlci1ibG9jay1saXN0LWl0ZW0uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvbGliL3VzZXItYmxvY2stbGlzdC1pdGVtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLE9BQU8sRUFHTCx3QkFBd0IsRUFDekIsTUFBTSxVQUFVLENBQUM7QUFrQmxCLE1BQU0sT0FBTywrQkFBZ0MsU0FBUSx3QkFBd0I7SUFDM0UsWUFBbUIsU0FBZ0Q7UUFDakUsS0FBSyxFQUFFLENBQUM7UUFEUyxjQUFTLEdBQVQsU0FBUyxDQUF1QztJQUVuRSxDQUFDO0NBQ0Y7QUFXRCxNQUFNLE9BQU8sc0NBQXVDLFNBQVEsd0JBQXdCO0lBQ2xGLFlBQW1CLElBQVU7UUFDM0IsS0FBSyxFQUFFLENBQUM7UUFEUyxTQUFJLEdBQUosSUFBSSxDQUFNO0lBRTdCLENBQUM7Q0FDRiJ9 |
import { CurrentUser } from './current-user'; | ||
import { ChatKittyError } from './error'; | ||
import { ChatKittyFailedResult, ChatKittySucceededResult } from './result'; | ||
import { ChatKittyFailedResult, ChatKittyResult, ChatKittySucceededResult } from './result'; | ||
export declare class UserSession { | ||
user: CurrentUser; | ||
} | ||
export declare type StartSessionResult = StartedSessionResult | ChatKittyFailedResult; | ||
export declare type StartSessionResult = ChatKittyResult<StartedSessionResult> | StartedSessionResult | ChatKittyFailedResult; | ||
export declare class StartSessionRequest { | ||
@@ -9,0 +9,0 @@ username: string; |
@@ -24,2 +24,2 @@ import { ChatKittyError } from './error'; | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXNlci1zZXNzaW9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2xpYi91c2VyLXNlc3Npb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUFNLFNBQVMsQ0FBQztBQUN6QyxPQUF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QUFDO0NBQ0Y7QUFFRCxNQUFNLE9BQU8sMkJBQTRCLFNBQVEsY0FBYztJQUM3RDtRQUNFLEtBQUssQ0FDSCw2QkFBNkIsRUFDN0IsaURBQWlELENBQ2xELENBQUM7SUFDSixDQUFDO0NBQ0Y7QUFFRCxNQUFNLE9BQU8sa0JBQW1CLFNBQVEsY0FBYztJQUNwRDtRQUNFLEtBQUssQ0FDSCxvQkFBb0IsRUFDcEIsa0dBQWtHLENBQ25HLENBQUM7SUFDSixDQUFDO0NBQ0Y7QUFFRCxNQUFNLE9BQU8sb0JBQXFCLFNBQVEsY0FBYztJQUN0RDtRQUNFLEtBQUssQ0FBQyxzQkFBc0IsRUFBRSxvQ0FBb0MsQ0FBQyxDQUFDO0lBQ3RFLENBQUM7Q0FDRiJ9 |
import { Channel } from './channel'; | ||
import { ChatKittyModelReference } from './model'; | ||
import { ChatKittyPaginator } from './pagination'; | ||
import { ChatKittyFailedResult, ChatKittySucceededResult } from './result'; | ||
import { ChatKittyFailedResult, ChatKittyResult, ChatKittySucceededResult } from './result'; | ||
export interface BaseUser { | ||
@@ -36,3 +36,3 @@ id: number; | ||
} | ||
export declare type GetUsersResult = GetUsersSucceededResult | ChatKittyFailedResult; | ||
export declare type GetUsersResult = ChatKittyResult<GetUsersSucceededResult> | GetUsersSucceededResult | ChatKittyFailedResult; | ||
export declare class GetUsersSucceededResult extends ChatKittySucceededResult { | ||
@@ -42,3 +42,3 @@ paginator: ChatKittyPaginator<User>; | ||
} | ||
export declare type GetUserResult = GetUserSucceededResult | ChatKittyFailedResult; | ||
export declare type GetUserResult = ChatKittyResult<GetUserSucceededResult> | GetUserSucceededResult | ChatKittyFailedResult; | ||
export declare class GetUserSucceededResult extends ChatKittySucceededResult { | ||
@@ -52,3 +52,3 @@ user: User; | ||
} | ||
export declare type GetUserIsChannelMemberResult = GetUserIsChannelMemberSucceededResult | ChatKittyFailedResult; | ||
export declare type GetUserIsChannelMemberResult = ChatKittyResult<GetUserIsChannelMemberSucceededResult> | GetUserIsChannelMemberSucceededResult | ChatKittyFailedResult; | ||
export declare class GetUserIsChannelMemberSucceededResult extends ChatKittySucceededResult { | ||
@@ -61,3 +61,3 @@ isMember: boolean; | ||
} | ||
export declare type BlockUserResult = BlockUserSucceededResult | ChatKittyFailedResult; | ||
export declare type BlockUserResult = ChatKittyResult<BlockUserSucceededResult> | BlockUserSucceededResult | ChatKittyFailedResult; | ||
export declare class BlockUserSucceededResult extends ChatKittySucceededResult { | ||
@@ -64,0 +64,0 @@ user: User; |
@@ -26,2 +26,2 @@ import { ChatKittySucceededResult } from './result'; | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXNlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9saWIvdXNlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFHQSxPQUFPLEVBQXlCLHdCQUF3QixFQUFFLE1BQU0sVUFBVSxDQUFDO0FBNEMzRSxNQUFNLE9BQU8sdUJBQXdCLFNBQVEsd0JBQXdCO0lBQ25FLFlBQW1CLFNBQW1DO1FBQ3BELEtBQUssRUFBRSxDQUFDO1FBRFMsY0FBUyxHQUFULFNBQVMsQ0FBMEI7SUFFdEQsQ0FBQztDQUNGO0FBSUQsTUFBTSxPQUFPLHNCQUF1QixTQUFRLHdCQUF3QjtJQUNsRSxZQUFtQixJQUFVO1FBQzNCLEtBQUssRUFBRSxDQUFDO1FBRFMsU0FBSSxHQUFKLElBQUksQ0FBTTtJQUU3QixDQUFDO0NBQ0Y7QUFXRCxNQUFNLE9BQU8scUNBQXNDLFNBQVEsd0JBQXdCO0lBQ2pGLFlBQW1CLFFBQWlCO1FBQ2xDLEtBQUssRUFBRSxDQUFDO1FBRFMsYUFBUSxHQUFSLFFBQVEsQ0FBUztJQUVwQyxDQUFDO0NBQ0Y7QUFRRCxNQUFNLE9BQU8sd0JBQXlCLFNBQVEsd0JBQXdCO0lBQ3BFLFlBQW1CLElBQVU7UUFDM0IsS0FBSyxFQUFFLENBQUM7UUFEUyxTQUFJLEdBQUosSUFBSSxDQUFNO0lBRTdCLENBQUM7Q0FDRiJ9 | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXNlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9saWIvdXNlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFHQSxPQUFPLEVBR0wsd0JBQXdCLEVBQ3pCLE1BQU0sVUFBVSxDQUFDO0FBK0NsQixNQUFNLE9BQU8sdUJBQXdCLFNBQVEsd0JBQXdCO0lBQ25FLFlBQW1CLFNBQW1DO1FBQ3BELEtBQUssRUFBRSxDQUFDO1FBRFMsY0FBUyxHQUFULFNBQVMsQ0FBMEI7SUFFdEQsQ0FBQztDQUNGO0FBT0QsTUFBTSxPQUFPLHNCQUF1QixTQUFRLHdCQUF3QjtJQUNsRSxZQUFtQixJQUFVO1FBQzNCLEtBQUssRUFBRSxDQUFDO1FBRFMsU0FBSSxHQUFKLElBQUksQ0FBTTtJQUU3QixDQUFDO0NBQ0Y7QUFZRCxNQUFNLE9BQU8scUNBQXNDLFNBQVEsd0JBQXdCO0lBQ2pGLFlBQW1CLFFBQWlCO1FBQ2xDLEtBQUssRUFBRSxDQUFDO1FBRFMsYUFBUSxHQUFSLFFBQVEsQ0FBUztJQUVwQyxDQUFDO0NBQ0Y7QUFXRCxNQUFNLE9BQU8sd0JBQXlCLFNBQVEsd0JBQXdCO0lBQ3BFLFlBQW1CLElBQVU7UUFDM0IsS0FBSyxFQUFFLENBQUM7UUFEUyxTQUFJLEdBQUosSUFBSSxDQUFNO0lBRTdCLENBQUM7Q0FDRiJ9 |
{ | ||
"name": "chatkitty", | ||
"version": "1.52.12", | ||
"version": "1.52.13", | ||
"description": "Build chat in minutes with ChatKitty's real-time messaging framework.", | ||
@@ -5,0 +5,0 @@ "main": "dist/cjs/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
551659
7884