loop-client 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +0 -0
- package/README.md +3 -0
- package/build/const.d.ts +31 -0
- package/build/const.d.ts.map +1 -0
- package/build/const.js +40 -0
- package/build/const.js.map +1 -0
- package/build/errors.d.ts +621 -0
- package/build/errors.d.ts.map +1 -0
- package/build/errors.js +665 -0
- package/build/errors.js.map +1 -0
- package/build/index.d.ts +6 -0
- package/build/index.d.ts.map +1 -0
- package/build/index.js +27 -0
- package/build/index.js.map +1 -0
- package/build/instrument.d.ts +14 -0
- package/build/instrument.d.ts.map +1 -0
- package/build/instrument.js +75 -0
- package/build/instrument.js.map +1 -0
- package/build/logger.d.ts +6 -0
- package/build/logger.d.ts.map +1 -0
- package/build/logger.js +24 -0
- package/build/logger.js.map +1 -0
- package/build/methods.d.ts +1101 -0
- package/build/methods.d.ts.map +1 -0
- package/build/methods.js +2080 -0
- package/build/methods.js.map +1 -0
- package/build/types/admin.d.ts +56 -0
- package/build/types/admin.d.ts.map +1 -0
- package/build/types/admin.js +18 -0
- package/build/types/admin.js.map +1 -0
- package/build/types/apps.d.ts +214 -0
- package/build/types/apps.d.ts.map +1 -0
- package/build/types/apps.js +81 -0
- package/build/types/apps.js.map +1 -0
- package/build/types/audits.d.ts +10 -0
- package/build/types/audits.d.ts.map +1 -0
- package/build/types/audits.js +3 -0
- package/build/types/audits.js.map +1 -0
- package/build/types/autocomplete.d.ts +13 -0
- package/build/types/autocomplete.d.ts.map +1 -0
- package/build/types/autocomplete.js +3 -0
- package/build/types/autocomplete.js.map +1 -0
- package/build/types/boards.d.ts +57 -0
- package/build/types/boards.d.ts.map +1 -0
- package/build/types/boards.js +28 -0
- package/build/types/boards.js.map +1 -0
- package/build/types/bots.d.ts +16 -0
- package/build/types/bots.d.ts.map +1 -0
- package/build/types/bots.js +3 -0
- package/build/types/bots.js.map +1 -0
- package/build/types/channels.d.ts +279 -0
- package/build/types/channels.d.ts.map +1 -0
- package/build/types/channels.js +62 -0
- package/build/types/channels.js.map +1 -0
- package/build/types/cloud.d.ts +155 -0
- package/build/types/cloud.d.ts.map +1 -0
- package/build/types/cloud.js +12 -0
- package/build/types/cloud.js.map +1 -0
- package/build/types/common.d.ts +5 -0
- package/build/types/common.d.ts.map +1 -0
- package/build/types/common.js +3 -0
- package/build/types/common.js.map +1 -0
- package/build/types/compliance.d.ts +14 -0
- package/build/types/compliance.d.ts.map +1 -0
- package/build/types/compliance.js +3 -0
- package/build/types/compliance.js.map +1 -0
- package/build/types/config.d.ts +966 -0
- package/build/types/config.d.ts.map +1 -0
- package/build/types/config.js +17 -0
- package/build/types/config.js.map +1 -0
- package/build/types/data-retention.d.ts +31 -0
- package/build/types/data-retention.d.ts.map +1 -0
- package/build/types/data-retention.js +3 -0
- package/build/types/data-retention.js.map +1 -0
- package/build/types/dialog.d.ts +63 -0
- package/build/types/dialog.d.ts.map +1 -0
- package/build/types/dialog.js +26 -0
- package/build/types/dialog.js.map +1 -0
- package/build/types/drafts.d.ts +15 -0
- package/build/types/drafts.d.ts.map +1 -0
- package/build/types/drafts.js +3 -0
- package/build/types/drafts.js.map +1 -0
- package/build/types/emojis.d.ts +52 -0
- package/build/types/emojis.d.ts.map +1 -0
- package/build/types/emojis.js +19 -0
- package/build/types/emojis.js.map +1 -0
- package/build/types/files.d.ts +53 -0
- package/build/types/files.d.ts.map +1 -0
- package/build/types/files.js +3 -0
- package/build/types/files.js.map +1 -0
- package/build/types/groups.d.ts +143 -0
- package/build/types/groups.d.ts.map +1 -0
- package/build/types/groups.js +14 -0
- package/build/types/groups.js.map +1 -0
- package/build/types/index.d.ts +46 -0
- package/build/types/index.d.ts.map +1 -0
- package/build/types/index.js +62 -0
- package/build/types/index.js.map +1 -0
- package/build/types/integrations.d.ts +108 -0
- package/build/types/integrations.d.ts.map +1 -0
- package/build/types/integrations.js +15 -0
- package/build/types/integrations.js.map +1 -0
- package/build/types/jobs.d.ts +28 -0
- package/build/types/jobs.d.ts.map +1 -0
- package/build/types/jobs.js +22 -0
- package/build/types/jobs.js.map +1 -0
- package/build/types/limits.d.ts +5 -0
- package/build/types/limits.d.ts.map +1 -0
- package/build/types/limits.js +3 -0
- package/build/types/limits.js.map +1 -0
- package/build/types/marketplace.d.ts +43 -0
- package/build/types/marketplace.d.ts.map +1 -0
- package/build/types/marketplace.js +21 -0
- package/build/types/marketplace.js.map +1 -0
- package/build/types/metadata.d.ts +16 -0
- package/build/types/metadata.d.ts.map +1 -0
- package/build/types/metadata.js +3 -0
- package/build/types/metadata.js.map +1 -0
- package/build/types/methods/bots.methods.d.ts +77 -0
- package/build/types/methods/bots.methods.d.ts.map +1 -0
- package/build/types/methods/bots.methods.js +3 -0
- package/build/types/methods/bots.methods.js.map +1 -0
- package/build/types/methods/brand.methods.d.ts +15 -0
- package/build/types/methods/brand.methods.d.ts.map +1 -0
- package/build/types/methods/brand.methods.js +3 -0
- package/build/types/methods/brand.methods.js.map +1 -0
- package/build/types/methods/channels.methods.d.ts +473 -0
- package/build/types/methods/channels.methods.d.ts.map +1 -0
- package/build/types/methods/channels.methods.js +3 -0
- package/build/types/methods/channels.methods.js.map +1 -0
- package/build/types/methods/cloud.methods.d.ts +14 -0
- package/build/types/methods/cloud.methods.d.ts.map +1 -0
- package/build/types/methods/cloud.methods.js +3 -0
- package/build/types/methods/cloud.methods.js.map +1 -0
- package/build/types/methods/common.methods.d.ts +87 -0
- package/build/types/methods/common.methods.d.ts.map +1 -0
- package/build/types/methods/common.methods.js +4 -0
- package/build/types/methods/common.methods.js.map +1 -0
- package/build/types/methods/compliance.methods.d.ts +32 -0
- package/build/types/methods/compliance.methods.d.ts.map +1 -0
- package/build/types/methods/compliance.methods.js +3 -0
- package/build/types/methods/compliance.methods.js.map +1 -0
- package/build/types/methods/data-retention.methods.d.ts +67 -0
- package/build/types/methods/data-retention.methods.d.ts.map +1 -0
- package/build/types/methods/data-retention.methods.js +3 -0
- package/build/types/methods/data-retention.methods.js.map +1 -0
- package/build/types/methods/emojis.methods.d.ts +32 -0
- package/build/types/methods/emojis.methods.d.ts.map +1 -0
- package/build/types/methods/emojis.methods.js +3 -0
- package/build/types/methods/emojis.methods.js.map +1 -0
- package/build/types/methods/files.methods.d.ts +139 -0
- package/build/types/methods/files.methods.d.ts.map +1 -0
- package/build/types/methods/files.methods.js +3 -0
- package/build/types/methods/files.methods.js.map +1 -0
- package/build/types/methods/groups.methods.d.ts +113 -0
- package/build/types/methods/groups.methods.d.ts.map +1 -0
- package/build/types/methods/groups.methods.js +3 -0
- package/build/types/methods/groups.methods.js.map +1 -0
- package/build/types/methods/index.d.ts +28 -0
- package/build/types/methods/index.d.ts.map +1 -0
- package/build/types/methods/index.js +44 -0
- package/build/types/methods/index.js.map +1 -0
- package/build/types/methods/integrations.methods.d.ts +191 -0
- package/build/types/methods/integrations.methods.d.ts.map +1 -0
- package/build/types/methods/integrations.methods.js +3 -0
- package/build/types/methods/integrations.methods.js.map +1 -0
- package/build/types/methods/interactive.methods.d.ts +38 -0
- package/build/types/methods/interactive.methods.d.ts.map +1 -0
- package/build/types/methods/interactive.methods.js +3 -0
- package/build/types/methods/interactive.methods.js.map +1 -0
- package/build/types/methods/jobs.methods.d.ts +20 -0
- package/build/types/methods/jobs.methods.d.ts.map +1 -0
- package/build/types/methods/jobs.methods.js +3 -0
- package/build/types/methods/jobs.methods.js.map +1 -0
- package/build/types/methods/playbook-runs.methods.d.ts +89 -0
- package/build/types/methods/playbook-runs.methods.d.ts.map +1 -0
- package/build/types/methods/playbook-runs.methods.js +3 -0
- package/build/types/methods/playbook-runs.methods.js.map +1 -0
- package/build/types/methods/playbooks.methods.d.ts +156 -0
- package/build/types/methods/playbooks.methods.d.ts.map +1 -0
- package/build/types/methods/playbooks.methods.js +3 -0
- package/build/types/methods/playbooks.methods.js.map +1 -0
- package/build/types/methods/plugins.methods.d.ts +31 -0
- package/build/types/methods/plugins.methods.d.ts.map +1 -0
- package/build/types/methods/plugins.methods.js +3 -0
- package/build/types/methods/plugins.methods.js.map +1 -0
- package/build/types/methods/posts.methods.d.ts +216 -0
- package/build/types/methods/posts.methods.d.ts.map +1 -0
- package/build/types/methods/posts.methods.js +3 -0
- package/build/types/methods/posts.methods.js.map +1 -0
- package/build/types/methods/preferences.methods.d.ts +12 -0
- package/build/types/methods/preferences.methods.d.ts.map +1 -0
- package/build/types/methods/preferences.methods.js +3 -0
- package/build/types/methods/preferences.methods.js.map +1 -0
- package/build/types/methods/reactions.methods.d.ts +15 -0
- package/build/types/methods/reactions.methods.d.ts.map +1 -0
- package/build/types/methods/reactions.methods.js +3 -0
- package/build/types/methods/reactions.methods.js.map +1 -0
- package/build/types/methods/reports.methods.d.ts +4 -0
- package/build/types/methods/reports.methods.d.ts.map +1 -0
- package/build/types/methods/reports.methods.js +3 -0
- package/build/types/methods/reports.methods.js.map +1 -0
- package/build/types/methods/roles.methods.d.ts +14 -0
- package/build/types/methods/roles.methods.d.ts.map +1 -0
- package/build/types/methods/roles.methods.js +3 -0
- package/build/types/methods/roles.methods.js.map +1 -0
- package/build/types/methods/schemes.methods.d.ts +30 -0
- package/build/types/methods/schemes.methods.d.ts.map +1 -0
- package/build/types/methods/schemes.methods.js +3 -0
- package/build/types/methods/schemes.methods.js.map +1 -0
- package/build/types/methods/system.methods.d.ts +107 -0
- package/build/types/methods/system.methods.d.ts.map +1 -0
- package/build/types/methods/system.methods.js +3 -0
- package/build/types/methods/system.methods.js.map +1 -0
- package/build/types/methods/teams.methods.d.ts +161 -0
- package/build/types/methods/teams.methods.d.ts.map +1 -0
- package/build/types/methods/teams.methods.js +3 -0
- package/build/types/methods/teams.methods.js.map +1 -0
- package/build/types/methods/terms-of-service.methods.d.ts +24 -0
- package/build/types/methods/terms-of-service.methods.d.ts.map +1 -0
- package/build/types/methods/terms-of-service.methods.js +3 -0
- package/build/types/methods/terms-of-service.methods.js.map +1 -0
- package/build/types/methods/uploads.methods.d.ts +13 -0
- package/build/types/methods/uploads.methods.d.ts.map +1 -0
- package/build/types/methods/uploads.methods.js +3 -0
- package/build/types/methods/uploads.methods.js.map +1 -0
- package/build/types/methods/users.methods.d.ts +257 -0
- package/build/types/methods/users.methods.d.ts.map +1 -0
- package/build/types/methods/users.methods.js +3 -0
- package/build/types/methods/users.methods.js.map +1 -0
- package/build/types/mfa.d.ts +5 -0
- package/build/types/mfa.d.ts.map +1 -0
- package/build/types/mfa.js +3 -0
- package/build/types/mfa.js.map +1 -0
- package/build/types/playbooks.d.ts +221 -0
- package/build/types/playbooks.d.ts.map +1 -0
- package/build/types/playbooks.js +3 -0
- package/build/types/playbooks.js.map +1 -0
- package/build/types/plugins.d.ts +101 -0
- package/build/types/plugins.d.ts.map +1 -0
- package/build/types/plugins.js +3 -0
- package/build/types/plugins.js.map +1 -0
- package/build/types/posts.d.ts +290 -0
- package/build/types/posts.d.ts.map +1 -0
- package/build/types/posts.js +88 -0
- package/build/types/posts.js.map +1 -0
- package/build/types/preferences.d.ts +7 -0
- package/build/types/preferences.d.ts.map +1 -0
- package/build/types/preferences.js +3 -0
- package/build/types/preferences.js.map +1 -0
- package/build/types/product-notices.d.ts +27 -0
- package/build/types/product-notices.d.ts.map +1 -0
- package/build/types/product-notices.js +8 -0
- package/build/types/product-notices.js.map +1 -0
- package/build/types/products.d.ts +8 -0
- package/build/types/products.d.ts.map +1 -0
- package/build/types/products.js +3 -0
- package/build/types/products.js.map +1 -0
- package/build/types/reactions.d.ts +7 -0
- package/build/types/reactions.d.ts.map +1 -0
- package/build/types/reactions.js +3 -0
- package/build/types/reactions.js.map +1 -0
- package/build/types/reports.d.ts +66 -0
- package/build/types/reports.d.ts.map +1 -0
- package/build/types/reports.js +30 -0
- package/build/types/reports.js.map +1 -0
- package/build/types/requests.d.ts +61 -0
- package/build/types/requests.d.ts.map +1 -0
- package/build/types/requests.js +12 -0
- package/build/types/requests.js.map +1 -0
- package/build/types/responses/common.responses.d.ts +23 -0
- package/build/types/responses/common.responses.d.ts.map +1 -0
- package/build/types/responses/common.responses.js +3 -0
- package/build/types/responses/common.responses.js.map +1 -0
- package/build/types/responses/index.d.ts +5 -0
- package/build/types/responses/index.d.ts.map +1 -0
- package/build/types/responses/index.js +21 -0
- package/build/types/responses/index.js.map +1 -0
- package/build/types/responses/playbooks.responses.d.ts +19 -0
- package/build/types/responses/playbooks.responses.d.ts.map +1 -0
- package/build/types/responses/playbooks.responses.js +3 -0
- package/build/types/responses/playbooks.responses.js.map +1 -0
- package/build/types/responses/posts.responses.d.ts +32 -0
- package/build/types/responses/posts.responses.d.ts.map +1 -0
- package/build/types/responses/posts.responses.js +8 -0
- package/build/types/responses/posts.responses.js.map +1 -0
- package/build/types/responses/system.responses.d.ts +87 -0
- package/build/types/responses/system.responses.d.ts.map +1 -0
- package/build/types/responses/system.responses.js +3 -0
- package/build/types/responses/system.responses.js.map +1 -0
- package/build/types/roles.d.ts +41 -0
- package/build/types/roles.d.ts.map +1 -0
- package/build/types/roles.js +33 -0
- package/build/types/roles.js.map +1 -0
- package/build/types/saml.d.ts +11 -0
- package/build/types/saml.d.ts.map +1 -0
- package/build/types/saml.js +3 -0
- package/build/types/saml.js.map +1 -0
- package/build/types/schemes.d.ts +28 -0
- package/build/types/schemes.d.ts.map +1 -0
- package/build/types/schemes.js +9 -0
- package/build/types/schemes.js.map +1 -0
- package/build/types/search.d.ts +13 -0
- package/build/types/search.d.ts.map +1 -0
- package/build/types/search.js +3 -0
- package/build/types/search.js.map +1 -0
- package/build/types/setup.d.ts +5 -0
- package/build/types/setup.d.ts.map +1 -0
- package/build/types/setup.js +3 -0
- package/build/types/setup.js.map +1 -0
- package/build/types/state.d.ts +464 -0
- package/build/types/state.d.ts.map +1 -0
- package/build/types/state.js +3 -0
- package/build/types/state.js.map +1 -0
- package/build/types/store.d.ts +65 -0
- package/build/types/store.d.ts.map +1 -0
- package/build/types/store.js +3 -0
- package/build/types/store.js.map +1 -0
- package/build/types/teams.d.ts +94 -0
- package/build/types/teams.d.ts.map +1 -0
- package/build/types/teams.js +9 -0
- package/build/types/teams.js.map +1 -0
- package/build/types/terms-of-service.d.ts +7 -0
- package/build/types/terms-of-service.d.ts.map +1 -0
- package/build/types/terms-of-service.js +3 -0
- package/build/types/terms-of-service.js.map +1 -0
- package/build/types/threads.d.ts +40 -0
- package/build/types/threads.d.ts.map +1 -0
- package/build/types/threads.js +8 -0
- package/build/types/threads.js.map +1 -0
- package/build/types/typing.d.ts +6 -0
- package/build/types/typing.d.ts.map +1 -0
- package/build/types/typing.js +3 -0
- package/build/types/typing.js.map +1 -0
- package/build/types/users.d.ts +281 -0
- package/build/types/users.d.ts.map +1 -0
- package/build/types/users.js +42 -0
- package/build/types/users.js.map +1 -0
- package/build/types/web-client.d.ts +82 -0
- package/build/types/web-client.d.ts.map +1 -0
- package/build/types/web-client.js +17 -0
- package/build/types/web-client.js.map +1 -0
- package/build/utils.d.ts +24 -0
- package/build/utils.d.ts.map +1 -0
- package/build/utils.js +136 -0
- package/build/utils.js.map +1 -0
- package/build/web-client.d.ts +117 -0
- package/build/web-client.d.ts.map +1 -0
- package/build/web-client.js +421 -0
- package/build/web-client.js.map +1 -0
- package/package.json +74 -0
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./admin"), exports);
|
|
18
|
+
__exportStar(require("./apps"), exports);
|
|
19
|
+
__exportStar(require("./audits"), exports);
|
|
20
|
+
__exportStar(require("./autocomplete"), exports);
|
|
21
|
+
__exportStar(require("./boards"), exports);
|
|
22
|
+
__exportStar(require("./bots"), exports);
|
|
23
|
+
__exportStar(require("./channels"), exports);
|
|
24
|
+
__exportStar(require("./cloud"), exports);
|
|
25
|
+
__exportStar(require("./common"), exports);
|
|
26
|
+
__exportStar(require("./compliance"), exports);
|
|
27
|
+
__exportStar(require("./config"), exports);
|
|
28
|
+
__exportStar(require("./data-retention"), exports);
|
|
29
|
+
__exportStar(require("./dialog"), exports);
|
|
30
|
+
__exportStar(require("./drafts"), exports);
|
|
31
|
+
__exportStar(require("./emojis"), exports);
|
|
32
|
+
__exportStar(require("./files"), exports);
|
|
33
|
+
__exportStar(require("./groups"), exports);
|
|
34
|
+
__exportStar(require("./integrations"), exports);
|
|
35
|
+
__exportStar(require("./jobs"), exports);
|
|
36
|
+
__exportStar(require("./limits"), exports);
|
|
37
|
+
__exportStar(require("./marketplace"), exports);
|
|
38
|
+
__exportStar(require("./methods"), exports);
|
|
39
|
+
__exportStar(require("./mfa"), exports);
|
|
40
|
+
__exportStar(require("./plugins"), exports);
|
|
41
|
+
__exportStar(require("./posts"), exports);
|
|
42
|
+
__exportStar(require("./preferences"), exports);
|
|
43
|
+
__exportStar(require("./product-notices"), exports);
|
|
44
|
+
__exportStar(require("./products"), exports);
|
|
45
|
+
__exportStar(require("./reactions"), exports);
|
|
46
|
+
__exportStar(require("./reports"), exports);
|
|
47
|
+
__exportStar(require("./requests"), exports);
|
|
48
|
+
__exportStar(require("./responses"), exports);
|
|
49
|
+
__exportStar(require("./roles"), exports);
|
|
50
|
+
__exportStar(require("./saml"), exports);
|
|
51
|
+
__exportStar(require("./schemes"), exports);
|
|
52
|
+
__exportStar(require("./search"), exports);
|
|
53
|
+
__exportStar(require("./setup"), exports);
|
|
54
|
+
__exportStar(require("./state"), exports);
|
|
55
|
+
__exportStar(require("./store"), exports);
|
|
56
|
+
__exportStar(require("./teams"), exports);
|
|
57
|
+
__exportStar(require("./terms-of-service"), exports);
|
|
58
|
+
__exportStar(require("./threads"), exports);
|
|
59
|
+
__exportStar(require("./typing"), exports);
|
|
60
|
+
__exportStar(require("./users"), exports);
|
|
61
|
+
__exportStar(require("./web-client"), exports);
|
|
62
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB;AACxB,yCAAuB;AACvB,2CAAyB;AACzB,iDAA+B;AAC/B,2CAAyB;AACzB,yCAAuB;AACvB,6CAA2B;AAC3B,0CAAwB;AACxB,2CAAyB;AACzB,+CAA6B;AAC7B,2CAAyB;AACzB,mDAAiC;AACjC,2CAAyB;AACzB,2CAAyB;AACzB,2CAAyB;AACzB,0CAAwB;AACxB,2CAAyB;AACzB,iDAA+B;AAC/B,yCAAuB;AACvB,2CAAyB;AACzB,gDAA8B;AAC9B,4CAA0B;AAC1B,wCAAsB;AACtB,4CAA0B;AAC1B,0CAAwB;AACxB,gDAA8B;AAC9B,oDAAkC;AAClC,6CAA2B;AAC3B,8CAA4B;AAC5B,4CAA0B;AAC1B,6CAA2B;AAC3B,8CAA4B;AAC5B,0CAAwB;AACxB,yCAAuB;AACvB,4CAA0B;AAC1B,2CAAyB;AACzB,0CAAwB;AACxB,0CAAwB;AACxB,0CAAwB;AACxB,0CAAwB;AACxB,qDAAmC;AACnC,4CAA0B;AAC1B,2CAAyB;AACzB,0CAAwB;AACxB,+CAA6B"}
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import type { PostAttachment } from "./posts";
|
|
2
|
+
export declare enum CommandMethod {
|
|
3
|
+
P = "P",
|
|
4
|
+
G = "G",
|
|
5
|
+
NULL = ""
|
|
6
|
+
}
|
|
7
|
+
export declare enum OAuthGrantType {
|
|
8
|
+
CREDENTIALS = "client_credentials",
|
|
9
|
+
PASSWORD = "password"
|
|
10
|
+
}
|
|
11
|
+
export interface IncomingWebhook {
|
|
12
|
+
id: string;
|
|
13
|
+
create_at: number;
|
|
14
|
+
update_at: number;
|
|
15
|
+
delete_at: number;
|
|
16
|
+
user_id: string;
|
|
17
|
+
channel_id: string;
|
|
18
|
+
team_id: string;
|
|
19
|
+
display_name: string;
|
|
20
|
+
description: string;
|
|
21
|
+
username: string;
|
|
22
|
+
icon_url: string;
|
|
23
|
+
channel_locked: boolean;
|
|
24
|
+
}
|
|
25
|
+
export interface OutgoingWebhook {
|
|
26
|
+
id: string;
|
|
27
|
+
token: string;
|
|
28
|
+
create_at: number;
|
|
29
|
+
update_at: number;
|
|
30
|
+
delete_at: number;
|
|
31
|
+
creator_id: string;
|
|
32
|
+
channel_id: string;
|
|
33
|
+
team_id: string;
|
|
34
|
+
trigger_words: string[];
|
|
35
|
+
trigger_when: number;
|
|
36
|
+
callback_urls: string[];
|
|
37
|
+
display_name: string;
|
|
38
|
+
description: string;
|
|
39
|
+
content_type: string;
|
|
40
|
+
username: string;
|
|
41
|
+
icon_url: string;
|
|
42
|
+
}
|
|
43
|
+
export interface Command {
|
|
44
|
+
id: string;
|
|
45
|
+
token: string;
|
|
46
|
+
create_at: number;
|
|
47
|
+
update_at: number;
|
|
48
|
+
delete_at: number;
|
|
49
|
+
creator_id: string;
|
|
50
|
+
team_id: string;
|
|
51
|
+
trigger: string;
|
|
52
|
+
method: CommandMethod;
|
|
53
|
+
username: string;
|
|
54
|
+
icon_url: string;
|
|
55
|
+
auto_complete: boolean;
|
|
56
|
+
auto_complete_desc: string;
|
|
57
|
+
auto_complete_hint: string;
|
|
58
|
+
display_name: string;
|
|
59
|
+
description: string;
|
|
60
|
+
url: string;
|
|
61
|
+
}
|
|
62
|
+
export interface CommandArgs {
|
|
63
|
+
channel_id: string;
|
|
64
|
+
team_id?: string;
|
|
65
|
+
root_id?: string;
|
|
66
|
+
}
|
|
67
|
+
export interface CommandResponse {
|
|
68
|
+
response_type: string;
|
|
69
|
+
text: string;
|
|
70
|
+
username: string;
|
|
71
|
+
channel_id: string;
|
|
72
|
+
icon_url: string;
|
|
73
|
+
type: string;
|
|
74
|
+
props: Record<string, unknown>;
|
|
75
|
+
goto_location: string;
|
|
76
|
+
trigger_id: string;
|
|
77
|
+
skip_slack_parsing: boolean;
|
|
78
|
+
attachments: PostAttachment[];
|
|
79
|
+
extra_responses: CommandResponse[];
|
|
80
|
+
}
|
|
81
|
+
export interface OAuthApp {
|
|
82
|
+
id: string;
|
|
83
|
+
creator_id: string;
|
|
84
|
+
create_at: number;
|
|
85
|
+
update_at: number;
|
|
86
|
+
client_secret: string;
|
|
87
|
+
name: string;
|
|
88
|
+
description: string;
|
|
89
|
+
icon_url: string;
|
|
90
|
+
callback_urls: string[];
|
|
91
|
+
homepage: string;
|
|
92
|
+
is_trusted: boolean;
|
|
93
|
+
}
|
|
94
|
+
export interface OutgoingOAuthConnection {
|
|
95
|
+
id: string;
|
|
96
|
+
name: string;
|
|
97
|
+
creator_id: string;
|
|
98
|
+
create_at: number;
|
|
99
|
+
update_at: number;
|
|
100
|
+
client_id: string;
|
|
101
|
+
client_secret?: string;
|
|
102
|
+
credentials_username?: string;
|
|
103
|
+
credentials_password?: string;
|
|
104
|
+
oauth_token_url: string;
|
|
105
|
+
grant_type: OAuthGrantType;
|
|
106
|
+
audiences: string[];
|
|
107
|
+
}
|
|
108
|
+
//# sourceMappingURL=integrations.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"integrations.d.ts","sourceRoot":"","sources":["../../src/types/integrations.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.OAuthGrantType = exports.CommandMethod = void 0;
|
|
4
|
+
var CommandMethod;
|
|
5
|
+
(function (CommandMethod) {
|
|
6
|
+
CommandMethod["P"] = "P";
|
|
7
|
+
CommandMethod["G"] = "G";
|
|
8
|
+
CommandMethod["NULL"] = "";
|
|
9
|
+
})(CommandMethod || (exports.CommandMethod = CommandMethod = {}));
|
|
10
|
+
var OAuthGrantType;
|
|
11
|
+
(function (OAuthGrantType) {
|
|
12
|
+
OAuthGrantType["CREDENTIALS"] = "client_credentials";
|
|
13
|
+
OAuthGrantType["PASSWORD"] = "password";
|
|
14
|
+
})(OAuthGrantType || (exports.OAuthGrantType = OAuthGrantType = {}));
|
|
15
|
+
//# sourceMappingURL=integrations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"integrations.js","sourceRoot":"","sources":["../../src/types/integrations.ts"],"names":[],"mappings":";;;AAEA,IAAY,aAIX;AAJD,WAAY,aAAa;IACxB,wBAAO,CAAA;IACP,wBAAO,CAAA;IACP,0BAAS,CAAA;AACV,CAAC,EAJW,aAAa,6BAAb,aAAa,QAIxB;AAED,IAAY,cAGX;AAHD,WAAY,cAAc;IACzB,oDAAkC,CAAA;IAClC,uCAAqB,CAAA;AACtB,CAAC,EAHW,cAAc,8BAAd,cAAc,QAGzB"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export declare enum JobType {
|
|
2
|
+
DATA_RETENTION = "data_retention",
|
|
3
|
+
ELASTIC_POST_INDEXING = "elasticsearch_post_indexing",
|
|
4
|
+
BLEVE_POST_INDEXING = "bleve_post_indexing",
|
|
5
|
+
LDAP_SYNC = "ldap_sync",
|
|
6
|
+
MESSAGE_EXPORT = "message_export"
|
|
7
|
+
}
|
|
8
|
+
export declare enum JobStatus {
|
|
9
|
+
PENDING = "pending",
|
|
10
|
+
IN_PROGRESS = "in_progress",
|
|
11
|
+
SUCCESS = "success",
|
|
12
|
+
ERROR = "error",
|
|
13
|
+
CANCEL_REQUESTED = "cancel_requested",
|
|
14
|
+
CANCELLED = "canceled",
|
|
15
|
+
WARNING = "warning"
|
|
16
|
+
}
|
|
17
|
+
export interface Job {
|
|
18
|
+
type: JobType;
|
|
19
|
+
id: string;
|
|
20
|
+
priority: number;
|
|
21
|
+
create_at: number;
|
|
22
|
+
start_at: number;
|
|
23
|
+
last_activity_at: number;
|
|
24
|
+
status: JobStatus;
|
|
25
|
+
progress: number;
|
|
26
|
+
data: unknown;
|
|
27
|
+
}
|
|
28
|
+
//# sourceMappingURL=jobs.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"jobs.d.ts","sourceRoot":"","sources":["../../src/types/jobs.ts"],"names":[],"mappings":"AAAA,oBAAY,OAAO;IAClB,cAAc,mBAAmB;IACjC,qBAAqB,gCAAgC;IACrD,mBAAmB,wBAAwB;IAC3C,SAAS,cAAc;IACvB,cAAc,mBAAmB;CACjC;AAED,oBAAY,SAAS;IACpB,OAAO,YAAY;IACnB,WAAW,gBAAgB;IAC3B,OAAO,YAAY;IACnB,KAAK,UAAU;IACf,gBAAgB,qBAAqB;IACrC,SAAS,aAAa;IACtB,OAAO,YAAY;CACnB;AAED,MAAM,WAAW,GAAG;IACnB,IAAI,EAAE,OAAO,CAAC;IACd,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,gBAAgB,EAAE,MAAM,CAAC;IACzB,MAAM,EAAE,SAAS,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,OAAO,CAAC;CACd"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.JobStatus = exports.JobType = void 0;
|
|
4
|
+
var JobType;
|
|
5
|
+
(function (JobType) {
|
|
6
|
+
JobType["DATA_RETENTION"] = "data_retention";
|
|
7
|
+
JobType["ELASTIC_POST_INDEXING"] = "elasticsearch_post_indexing";
|
|
8
|
+
JobType["BLEVE_POST_INDEXING"] = "bleve_post_indexing";
|
|
9
|
+
JobType["LDAP_SYNC"] = "ldap_sync";
|
|
10
|
+
JobType["MESSAGE_EXPORT"] = "message_export";
|
|
11
|
+
})(JobType || (exports.JobType = JobType = {}));
|
|
12
|
+
var JobStatus;
|
|
13
|
+
(function (JobStatus) {
|
|
14
|
+
JobStatus["PENDING"] = "pending";
|
|
15
|
+
JobStatus["IN_PROGRESS"] = "in_progress";
|
|
16
|
+
JobStatus["SUCCESS"] = "success";
|
|
17
|
+
JobStatus["ERROR"] = "error";
|
|
18
|
+
JobStatus["CANCEL_REQUESTED"] = "cancel_requested";
|
|
19
|
+
JobStatus["CANCELLED"] = "canceled";
|
|
20
|
+
JobStatus["WARNING"] = "warning";
|
|
21
|
+
})(JobStatus || (exports.JobStatus = JobStatus = {}));
|
|
22
|
+
//# sourceMappingURL=jobs.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"jobs.js","sourceRoot":"","sources":["../../src/types/jobs.ts"],"names":[],"mappings":";;;AAAA,IAAY,OAMX;AAND,WAAY,OAAO;IAClB,4CAAiC,CAAA;IACjC,gEAAqD,CAAA;IACrD,sDAA2C,CAAA;IAC3C,kCAAuB,CAAA;IACvB,4CAAiC,CAAA;AAClC,CAAC,EANW,OAAO,uBAAP,OAAO,QAMlB;AAED,IAAY,SAQX;AARD,WAAY,SAAS;IACpB,gCAAmB,CAAA;IACnB,wCAA2B,CAAA;IAC3B,gCAAmB,CAAA;IACnB,4BAAe,CAAA;IACf,kDAAqC,CAAA;IACrC,mCAAsB,CAAA;IACtB,gCAAmB,CAAA;AACpB,CAAC,EARW,SAAS,yBAAT,SAAS,QAQpB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"limits.d.ts","sourceRoot":"","sources":["../../src/types/limits.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,YAAY,GAAG;IAC1B,eAAe,EAAE,MAAM,CAAC;IACxB,aAAa,EAAE,MAAM,CAAC;CACtB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"limits.js","sourceRoot":"","sources":["../../src/types/limits.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import type { AppManifest } from "./apps";
|
|
2
|
+
import type { PluginManifest } from "./plugins";
|
|
3
|
+
export type MarketplaceLabel = {
|
|
4
|
+
name: string;
|
|
5
|
+
description?: string;
|
|
6
|
+
url?: string;
|
|
7
|
+
};
|
|
8
|
+
export declare enum HostingType {
|
|
9
|
+
OnPrem = "on-prem",
|
|
10
|
+
Cloud = "cloud"
|
|
11
|
+
}
|
|
12
|
+
export declare enum AuthorType {
|
|
13
|
+
Mattermost = "mattermost",
|
|
14
|
+
Partner = "partner",
|
|
15
|
+
Community = "community"
|
|
16
|
+
}
|
|
17
|
+
export declare enum ReleaseStage {
|
|
18
|
+
Production = "production",
|
|
19
|
+
Beta = "beta",
|
|
20
|
+
Experimental = "experimental"
|
|
21
|
+
}
|
|
22
|
+
interface MarketplaceBaseItem {
|
|
23
|
+
labels?: MarketplaceLabel[];
|
|
24
|
+
hosting?: HostingType;
|
|
25
|
+
author_type: AuthorType;
|
|
26
|
+
release_stage: ReleaseStage;
|
|
27
|
+
enterprise: boolean;
|
|
28
|
+
}
|
|
29
|
+
export interface MarketplacePlugin extends MarketplaceBaseItem {
|
|
30
|
+
manifest: PluginManifest;
|
|
31
|
+
icon_data?: string;
|
|
32
|
+
homepage_url?: string;
|
|
33
|
+
download_url?: string;
|
|
34
|
+
release_notes_url?: string;
|
|
35
|
+
installed_version?: string;
|
|
36
|
+
}
|
|
37
|
+
export interface MarketplaceApp extends MarketplaceBaseItem {
|
|
38
|
+
manifest: AppManifest;
|
|
39
|
+
installed: boolean;
|
|
40
|
+
icon_url?: string;
|
|
41
|
+
}
|
|
42
|
+
export {};
|
|
43
|
+
//# sourceMappingURL=marketplace.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"marketplace.d.ts","sourceRoot":"","sources":["../../src/types/marketplace.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAC1C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AAEhD,MAAM,MAAM,gBAAgB,GAAG;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,GAAG,CAAC,EAAE,MAAM,CAAC;CACb,CAAC;AAEF,oBAAY,WAAW;IACtB,MAAM,YAAY;IAClB,KAAK,UAAU;CACf;AAED,oBAAY,UAAU;IACrB,UAAU,eAAe;IACzB,OAAO,YAAY;IACnB,SAAS,cAAc;CACvB;AAED,oBAAY,YAAY;IACvB,UAAU,eAAe;IACzB,IAAI,SAAS;IACb,YAAY,iBAAiB;CAC7B;AAED,UAAU,mBAAmB;IAC5B,MAAM,CAAC,EAAE,gBAAgB,EAAE,CAAC;IAC5B,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB,WAAW,EAAE,UAAU,CAAC;IACxB,aAAa,EAAE,YAAY,CAAC;IAC5B,UAAU,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,iBAAkB,SAAQ,mBAAmB;IAC7D,QAAQ,EAAE,cAAc,CAAC;IACzB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,MAAM,WAAW,cAAe,SAAQ,mBAAmB;IAC1D,QAAQ,EAAE,WAAW,CAAC;IACtB,SAAS,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;CAClB"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ReleaseStage = exports.AuthorType = exports.HostingType = void 0;
|
|
4
|
+
var HostingType;
|
|
5
|
+
(function (HostingType) {
|
|
6
|
+
HostingType["OnPrem"] = "on-prem";
|
|
7
|
+
HostingType["Cloud"] = "cloud";
|
|
8
|
+
})(HostingType || (exports.HostingType = HostingType = {}));
|
|
9
|
+
var AuthorType;
|
|
10
|
+
(function (AuthorType) {
|
|
11
|
+
AuthorType["Mattermost"] = "mattermost";
|
|
12
|
+
AuthorType["Partner"] = "partner";
|
|
13
|
+
AuthorType["Community"] = "community";
|
|
14
|
+
})(AuthorType || (exports.AuthorType = AuthorType = {}));
|
|
15
|
+
var ReleaseStage;
|
|
16
|
+
(function (ReleaseStage) {
|
|
17
|
+
ReleaseStage["Production"] = "production";
|
|
18
|
+
ReleaseStage["Beta"] = "beta";
|
|
19
|
+
ReleaseStage["Experimental"] = "experimental";
|
|
20
|
+
})(ReleaseStage || (exports.ReleaseStage = ReleaseStage = {}));
|
|
21
|
+
//# sourceMappingURL=marketplace.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"marketplace.js","sourceRoot":"","sources":["../../src/types/marketplace.ts"],"names":[],"mappings":";;;AASA,IAAY,WAGX;AAHD,WAAY,WAAW;IACtB,iCAAkB,CAAA;IAClB,8BAAe,CAAA;AAChB,CAAC,EAHW,WAAW,2BAAX,WAAW,QAGtB;AAED,IAAY,UAIX;AAJD,WAAY,UAAU;IACrB,uCAAyB,CAAA;IACzB,iCAAmB,CAAA;IACnB,qCAAuB,CAAA;AACxB,CAAC,EAJW,UAAU,0BAAV,UAAU,QAIrB;AAED,IAAY,YAIX;AAJD,WAAY,YAAY;IACvB,yCAAyB,CAAA;IACzB,6BAAa,CAAA;IACb,6CAA6B,CAAA;AAC9B,CAAC,EAJW,YAAY,4BAAZ,YAAY,QAIvB"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export interface OpenGraphMetadataImage {
|
|
2
|
+
secure_url?: string;
|
|
3
|
+
url: string;
|
|
4
|
+
type?: string;
|
|
5
|
+
height?: number;
|
|
6
|
+
width?: number;
|
|
7
|
+
}
|
|
8
|
+
export interface OpenGraphMetadata {
|
|
9
|
+
type?: string;
|
|
10
|
+
title?: string;
|
|
11
|
+
description?: string;
|
|
12
|
+
site_name?: string;
|
|
13
|
+
url?: string;
|
|
14
|
+
images: OpenGraphMetadataImage[];
|
|
15
|
+
}
|
|
16
|
+
//# sourceMappingURL=metadata.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"metadata.d.ts","sourceRoot":"","sources":["../../src/types/metadata.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,sBAAsB;IACtC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,GAAG,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,iBAAiB;IACjC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,sBAAsB,EAAE,CAAC;CACjC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"metadata.js","sourceRoot":"","sources":["../../src/types/metadata.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import type { BotPatch } from "../bots";
|
|
2
|
+
import type { TokenOverridable, UserID } from "./common.methods";
|
|
3
|
+
/**
|
|
4
|
+
* Arguments for creating a bot.
|
|
5
|
+
*/
|
|
6
|
+
export interface BotsCreateArguments extends BotPatch {
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Arguments for cleaning/updating a bot.
|
|
10
|
+
*/
|
|
11
|
+
export interface BotsPatchArguments extends UserID, Partial<BotPatch> {
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Arguments for getting a bot.
|
|
15
|
+
*/
|
|
16
|
+
export interface BotsGetArguments extends UserID {
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* Arguments for listing bots.
|
|
20
|
+
*/
|
|
21
|
+
export interface BotsListArguments extends TokenOverridable {
|
|
22
|
+
page?: number;
|
|
23
|
+
per_page?: number;
|
|
24
|
+
include_deleted?: boolean;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Arguments for converting a user into a bot.
|
|
28
|
+
*/
|
|
29
|
+
export interface BotsConvertUserArguments extends UserID {
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Arguments for converting a bot into a user.
|
|
33
|
+
*/
|
|
34
|
+
export interface BotsConvertBotToUserArguments {
|
|
35
|
+
bot_user_id: string;
|
|
36
|
+
user_data?: Record<string, unknown>;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Arguments for disabling a bot.
|
|
40
|
+
*/
|
|
41
|
+
export interface BotsDisableArguments {
|
|
42
|
+
bot_user_id: string;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Arguments for enabling a bot.
|
|
46
|
+
*/
|
|
47
|
+
export interface BotsEnableArguments {
|
|
48
|
+
bot_user_id: string;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Arguments for assigning a bot to a user.
|
|
52
|
+
*/
|
|
53
|
+
export interface BotsAssignArguments {
|
|
54
|
+
bot_user_id: string;
|
|
55
|
+
user_id: string;
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* Arguments for getting a bot's icon.
|
|
59
|
+
*/
|
|
60
|
+
export interface BotsGetIconArguments {
|
|
61
|
+
bot_user_id: string;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Arguments for setting a bot's icon.
|
|
65
|
+
*/
|
|
66
|
+
export interface BotsSetIconArguments {
|
|
67
|
+
bot_user_id: string;
|
|
68
|
+
/** The image data */
|
|
69
|
+
image: File | Blob;
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Arguments for deleting a bot's icon.
|
|
73
|
+
*/
|
|
74
|
+
export interface BotsDeleteIconArguments {
|
|
75
|
+
bot_user_id: string;
|
|
76
|
+
}
|
|
77
|
+
//# sourceMappingURL=bots.methods.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bots.methods.d.ts","sourceRoot":"","sources":["../../../src/types/methods/bots.methods.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AACxC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAEjE;;GAEG;AACH,MAAM,WAAW,mBAAoB,SAAQ,QAAQ;CAAG;AAExD;;GAEG;AACH,MAAM,WAAW,kBAAmB,SAAQ,MAAM,EAAE,OAAO,CAAC,QAAQ,CAAC;CAAG;AAExE;;GAEG;AACH,MAAM,WAAW,gBAAiB,SAAQ,MAAM;CAAG;AAEnD;;GAEG;AACH,MAAM,WAAW,iBAAkB,SAAQ,gBAAgB;IAC1D,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,eAAe,CAAC,EAAE,OAAO,CAAC;CAC1B;AAED;;GAEG;AACH,MAAM,WAAW,wBAAyB,SAAQ,MAAM;CAAG;AAE3D;;GAEG;AACH,MAAM,WAAW,6BAA6B;IAC7C,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CACpC;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACpC,WAAW,EAAE,MAAM,CAAC;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,mBAAmB;IACnC,WAAW,EAAE,MAAM,CAAC;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,mBAAmB;IACnC,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;CAChB;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACpC,WAAW,EAAE,MAAM,CAAC;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACpC,WAAW,EAAE,MAAM,CAAC;IACpB,qBAAqB;IACrB,KAAK,EAAE,IAAI,GAAG,IAAI,CAAC;CACnB;AAED;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACvC,WAAW,EAAE,MAAM,CAAC;CACpB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"bots.methods.js","sourceRoot":"","sources":["../../../src/types/methods/bots.methods.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Arguments for getting the brand image.
|
|
3
|
+
*/
|
|
4
|
+
export interface BrandGetImageArguments {
|
|
5
|
+
/** The ID of the brand image */
|
|
6
|
+
id: string;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Arguments for uploading the brand image.
|
|
10
|
+
*/
|
|
11
|
+
export interface BrandUploadImageArguments {
|
|
12
|
+
/** The image data */
|
|
13
|
+
image: File | Blob;
|
|
14
|
+
}
|
|
15
|
+
//# sourceMappingURL=brand.methods.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"brand.methods.d.ts","sourceRoot":"","sources":["../../../src/types/methods/brand.methods.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACtC,gCAAgC;IAChC,EAAE,EAAE,MAAM,CAAC;CACX;AAED;;GAEG;AACH,MAAM,WAAW,yBAAyB;IACzC,qBAAqB;IACrB,KAAK,EAAE,IAAI,GAAG,IAAI,CAAC;CACnB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"brand.methods.js","sourceRoot":"","sources":["../../../src/types/methods/brand.methods.ts"],"names":[],"mappings":""}
|