@gravity-rail/sdk 0.57.0 → 0.57.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/dist/agui.d.cts +3 -2
- package/dist/agui.d.ts +3 -2
- package/dist/audio.d.cts +3 -2
- package/dist/audio.d.ts +3 -2
- package/dist/{chat-interaction-Bs0O3lwb.d.cts → chat-interaction-BlORjFix.d.cts} +56 -28
- package/dist/{chat-interaction-dRnhgwb-.d.ts → chat-interaction-DyQjxoyc.d.ts} +56 -28
- package/dist/{chunk-7ABBH5CC.js → chunk-YDC4OVZE.js} +16 -1
- package/dist/chunk-YDC4OVZE.js.map +1 -0
- package/dist/helpers.d.cts +6 -5
- package/dist/helpers.d.ts +6 -5
- package/dist/index.cjs +15 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +9 -7
- package/dist/index.d.ts +9 -7
- package/dist/index.js +1 -1
- package/dist/internal.cjs +15 -0
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.d.cts +7 -6
- package/dist/internal.d.ts +7 -6
- package/dist/internal.js +1 -1
- package/dist/{member-import-C9XwZqm4.d.cts → member-import-B8nsRMD9.d.cts} +1 -1
- package/dist/{member-import-CdXiqRFM.d.ts → member-import-l7j087-X.d.ts} +1 -1
- package/dist/{path-B08DHrW4.d.ts → path-BKKAG8ti.d.cts} +4 -3
- package/dist/{path-6wcAgEJR.d.cts → path-CdqBYuYi.d.ts} +4 -3
- package/dist/realtime.d.cts +4 -3
- package/dist/realtime.d.ts +4 -3
- package/dist/schemas.d.cts +67 -65
- package/dist/schemas.d.ts +67 -65
- package/dist/{tasks-BPvueNi2.d.cts → tasks-By6Bzhwy.d.cts} +17 -14
- package/dist/{tasks-BPvueNi2.d.ts → tasks-By6Bzhwy.d.ts} +17 -14
- package/dist/{types-DlfADjPR.d.cts → types-BXaWYGHj.d.cts} +2 -1
- package/dist/{types-DlfADjPR.d.ts → types-BXaWYGHj.d.ts} +2 -1
- package/package.json +3 -3
- package/dist/chunk-7ABBH5CC.js.map +0 -1
package/dist/index.js
CHANGED
package/dist/internal.cjs
CHANGED
|
@@ -6447,6 +6447,11 @@ var DiscordBotsApi = class extends BaseApiClient {
|
|
|
6447
6447
|
|
|
6448
6448
|
// src/api/slack-apps.ts
|
|
6449
6449
|
var SlackAppsApi = class extends BaseApiClient {
|
|
6450
|
+
async removeSlackAccount(wid, appId, credentialId) {
|
|
6451
|
+
return this.fetch(`w/${wid}/app-connections/slack/apps/${appId}/accounts/${credentialId}`, {
|
|
6452
|
+
method: "DELETE"
|
|
6453
|
+
});
|
|
6454
|
+
}
|
|
6450
6455
|
async removeSlackInstallation(wid, appId, installationId) {
|
|
6451
6456
|
return this.fetch(
|
|
6452
6457
|
`w/${wid}/app-connections/slack/apps/${appId}/installations/${installationId}`,
|
|
@@ -6465,6 +6470,8 @@ var SlackAppsApi = class extends BaseApiClient {
|
|
|
6465
6470
|
const params = new URLSearchParams();
|
|
6466
6471
|
if (options.appId) params.set("appId", String(options.appId));
|
|
6467
6472
|
if (options.workflowId) params.set("workflowId", String(options.workflowId));
|
|
6473
|
+
if (options.offset !== void 0) params.set("offset", String(options.offset));
|
|
6474
|
+
if (options.limit !== void 0) params.set("limit", String(options.limit));
|
|
6468
6475
|
return this.fetch(`w/${wid}/app-connections/slack/entry-points?${params}`);
|
|
6469
6476
|
}
|
|
6470
6477
|
async connectSlackEntryPoint(wid, data) {
|
|
@@ -6483,6 +6490,9 @@ var SlackAppsApi = class extends BaseApiClient {
|
|
|
6483
6490
|
if (options.sortBy) params.append("sortBy", options.sortBy);
|
|
6484
6491
|
if (options.sortOrder) params.append("sortOrder", options.sortOrder);
|
|
6485
6492
|
if (options.search) params.append("search", options.search);
|
|
6493
|
+
if (options.agentId !== void 0) params.set("agentId", String(options.agentId));
|
|
6494
|
+
if (options.workflowId !== void 0) params.set("workflowId", String(options.workflowId));
|
|
6495
|
+
if (options.managed !== void 0) params.set("managed", String(options.managed));
|
|
6486
6496
|
return this.fetch(
|
|
6487
6497
|
`w/${wid}/app-connections/slack/apps${params.toString() ? `?${params.toString()}` : ""}`
|
|
6488
6498
|
);
|
|
@@ -6550,6 +6560,8 @@ var SlackAppsApi = class extends BaseApiClient {
|
|
|
6550
6560
|
const params = new URLSearchParams();
|
|
6551
6561
|
if (options.page) params.append("page", options.page.toString());
|
|
6552
6562
|
if (options.pageSize) params.append("pageSize", options.pageSize.toString());
|
|
6563
|
+
if (options.teamId) params.set("teamId", options.teamId);
|
|
6564
|
+
if (options.search) params.set("search", options.search);
|
|
6553
6565
|
return this.fetch(
|
|
6554
6566
|
`w/${wid}/app-connections/slack/apps/${appId}/accounts${params.toString() ? `?${params.toString()}` : ""}`
|
|
6555
6567
|
);
|
|
@@ -15435,6 +15447,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
15435
15447
|
"getSlackAppAccounts",
|
|
15436
15448
|
"getSlackApps",
|
|
15437
15449
|
"getSlackInstallations",
|
|
15450
|
+
"removeSlackAccount",
|
|
15438
15451
|
"removeSlackInstallation",
|
|
15439
15452
|
"getSlackThreads",
|
|
15440
15453
|
"getStepMemberCounts",
|
|
@@ -16696,6 +16709,7 @@ function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackAp
|
|
|
16696
16709
|
target.deleteSlackApp = slackApps.deleteSlackApp.bind(slackApps);
|
|
16697
16710
|
target.getSlackThreads = slackApps.getSlackThreads.bind(slackApps);
|
|
16698
16711
|
target.getSlackInstallations = slackApps.getSlackInstallations.bind(slackApps);
|
|
16712
|
+
target.removeSlackAccount = slackApps.removeSlackAccount.bind(slackApps);
|
|
16699
16713
|
target.removeSlackInstallation = slackApps.removeSlackInstallation.bind(slackApps);
|
|
16700
16714
|
target.getSlackChannelChoices = slackApps.getSlackChannelChoices.bind(slackApps);
|
|
16701
16715
|
target.getSlackEntryPoints = slackApps.getSlackEntryPoints.bind(slackApps);
|
|
@@ -18199,6 +18213,7 @@ var GravityRailClient = class {
|
|
|
18199
18213
|
deleteSlackApp;
|
|
18200
18214
|
getSlackThreads;
|
|
18201
18215
|
getSlackInstallations;
|
|
18216
|
+
removeSlackAccount;
|
|
18202
18217
|
removeSlackInstallation;
|
|
18203
18218
|
getSlackChannelChoices;
|
|
18204
18219
|
getSlackEntryPoints;
|