@aacebo/echo
Advanced tools
Comparing version 0.0.34 to 0.0.35
@@ -6,2 +6,3 @@ import { Chats } from './chats'; | ||
import { Logs } from './logs'; | ||
import { Notifications } from './notifications'; | ||
export interface ApiOptions { | ||
@@ -18,4 +19,5 @@ readonly baseUrl?: string; | ||
readonly logs: Logs; | ||
readonly notifications: Notifications; | ||
constructor(options: ApiOptions); | ||
} | ||
export * from './page'; |
@@ -29,2 +29,3 @@ "use strict"; | ||
const logs_1 = require("./logs"); | ||
const notifications_1 = require("./notifications"); | ||
class Api { | ||
@@ -37,2 +38,3 @@ options; | ||
logs; | ||
notifications; | ||
constructor(options) { | ||
@@ -52,2 +54,3 @@ this.options = options; | ||
this.logs = new logs_1.Logs(http); | ||
this.notifications = new notifications_1.Notifications(http); | ||
} | ||
@@ -57,2 +60,2 @@ } | ||
__exportStar(require("./page"), exports); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvYXBpL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7O0FBQUEsa0RBQTBCO0FBRTFCLGFBQWE7QUFDYixzRUFBcUM7QUFFckMsbUNBQWdDO0FBQ2hDLHlDQUFzQztBQUN0QyxtQ0FBZ0M7QUFDaEMsbUNBQWdDO0FBQ2hDLGlDQUE4QjtBQU85QixNQUFhLEdBQUc7SUFPTztJQU5aLEtBQUssQ0FBUTtJQUNiLFFBQVEsQ0FBVztJQUNuQixLQUFLLENBQVE7SUFDYixLQUFLLENBQVE7SUFDYixJQUFJLENBQU87SUFFcEIsWUFBcUIsT0FBbUI7UUFBbkIsWUFBTyxHQUFQLE9BQU8sQ0FBWTtRQUN0QyxNQUFNLElBQUksR0FBRyxlQUFLLENBQUMsTUFBTSxDQUFDO1lBQ3hCLE9BQU8sRUFBRSxJQUF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yxDQUFRO0lBQ2IsS0FBSyxDQUFRO0lBQ2IsSUFBSSxDQUFPO0lBQ1gsYUFBYSxDQUFnQjtJQUV0QyxZQUFxQixPQUFtQjtRQUFuQixZQUFPLEdBQVAsT0FBTyxDQUFZO1FBQ3RDLE1BQU0sSUFBSSxHQUFHLGVBQUssQ0FBQyxNQUFNLENBQUM7WUFDeEIsT0FBTyxFQUFFLElBQUksQ0FBQyxPQUFPLENBQUMsT0FBTztZQUM3QixPQUFPLEVBQUU7Z0JBQ1AsY0FBYyxFQUFFLElBQUksQ0FBQyxPQUFPLENBQUMsS0FBSztnQkFDbEMsWUFBWSxFQUFFLFVBQVUsc0JBQUcsQ0FBQyxPQUFPLEVBQUU7YUFDdEM7U0FDRixDQUFDLENBQUM7UUFFSCxJQUFJLENBQUMsS0FBSyxHQUFHLElBQUksYUFBSyxDQUFDLElBQUksQ0FBQyxDQUFDO1FBQzdCLElBQUksQ0FBQyxRQUFRLEdBQUcsSUFBSSxtQkFBUSxDQUFDLElBQUksQ0FBQyxDQUFDO1FBQ25DLElBQUksQ0FBQyxLQUFLLEdBQUcsSUFBSSxhQUFLLENBQUMsSUFBSSxDQUFDLENBQUM7UUFDN0IsSUFBSSxDQUFDLEtBQUssR0FBRyxJQUFJLGFBQUssQ0FBQyxJQUFJLENBQUMsQ0FBQztRQUM3QixJQUFJLENBQUMsSUFBSSxHQUFHLElBQUksV0FBSSxDQUFDLElBQUksQ0FBQyxDQUFDO1FBQzNCLElBQUksQ0FBQyxhQUFhLEdBQUcsSUFBSSw2QkFBYSxDQUFDLElBQUksQ0FBQyxDQUFDO0lBQy9DLENBQUM7Q0FDRjtBQXhCRCxrQkF3QkM7QUFFRCx5Q0FBdUIifQ== |
@@ -9,7 +9,3 @@ import { EventType } from '../events'; | ||
} | ||
export type Scope = 'users:read' | // read user | ||
'chats:read' | // read user chats | ||
'chats:write' | // create/update user chats | ||
'messages:read' | // read user messages | ||
'messages:write'; | ||
export type Scope = 'users:read' | 'chats:read' | 'chats:write' | 'messages:read' | 'messages:write' | 'notifications:read' | 'notifications:write' | 'logs:read'; | ||
export interface App { | ||
@@ -16,0 +12,0 @@ readonly id: string; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL21vZGVscy9hcHAudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9 | ||
'logs:write'; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vc3JjL21vZGVscy9hcHAudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7QUFxQkUsWUFBWSxDQUFDIn0= |
@@ -7,1 +7,2 @@ export * from './user'; | ||
export * from './log'; | ||
export * from './notification'; |
@@ -23,2 +23,3 @@ "use strict"; | ||
__exportStar(require("./log"), exports); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvbW9kZWxzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7QUFBQSx5Q0FBdUI7QUFDdkIsNENBQTBCO0FBQzFCLHdDQUFzQjtBQUN0Qix5Q0FBdUI7QUFDdkIseUNBQXVCO0FBQ3ZCLHdDQUFzQiJ9 | ||
__exportStar(require("./notification"), exports); | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvbW9kZWxzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7QUFBQSx5Q0FBdUI7QUFDdkIsNENBQTBCO0FBQzFCLHdDQUFzQjtBQUN0Qix5Q0FBdUI7QUFDdkIseUNBQXVCO0FBQ3ZCLHdDQUFzQjtBQUN0QixpREFBK0IifQ== |
@@ -6,2 +6,3 @@ import { Block } from '../blocks'; | ||
readonly id: string; | ||
readonly local_id: string | null; | ||
readonly chat_id: string; | ||
@@ -33,2 +34,3 @@ readonly visibility: MessageVisibility; | ||
export interface MessageCreate { | ||
readonly localId?: string; | ||
readonly text?: string; | ||
@@ -35,0 +37,0 @@ readonly child?: Block; |
{ | ||
"name": "@aacebo/echo", | ||
"version": "0.0.34", | ||
"version": "0.0.35", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "author": "", |
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
51994
47
1036