@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
|
@@ -2837,6 +2837,11 @@ var DiscordBotsApi = class extends BaseApiClient {
|
|
|
2837
2837
|
|
|
2838
2838
|
// src/api/slack-apps.ts
|
|
2839
2839
|
var SlackAppsApi = class extends BaseApiClient {
|
|
2840
|
+
async removeSlackAccount(wid, appId, credentialId) {
|
|
2841
|
+
return this.fetch(`w/${wid}/app-connections/slack/apps/${appId}/accounts/${credentialId}`, {
|
|
2842
|
+
method: "DELETE"
|
|
2843
|
+
});
|
|
2844
|
+
}
|
|
2840
2845
|
async removeSlackInstallation(wid, appId, installationId) {
|
|
2841
2846
|
return this.fetch(
|
|
2842
2847
|
`w/${wid}/app-connections/slack/apps/${appId}/installations/${installationId}`,
|
|
@@ -2855,6 +2860,8 @@ var SlackAppsApi = class extends BaseApiClient {
|
|
|
2855
2860
|
const params = new URLSearchParams();
|
|
2856
2861
|
if (options.appId) params.set("appId", String(options.appId));
|
|
2857
2862
|
if (options.workflowId) params.set("workflowId", String(options.workflowId));
|
|
2863
|
+
if (options.offset !== void 0) params.set("offset", String(options.offset));
|
|
2864
|
+
if (options.limit !== void 0) params.set("limit", String(options.limit));
|
|
2858
2865
|
return this.fetch(`w/${wid}/app-connections/slack/entry-points?${params}`);
|
|
2859
2866
|
}
|
|
2860
2867
|
async connectSlackEntryPoint(wid, data) {
|
|
@@ -2873,6 +2880,9 @@ var SlackAppsApi = class extends BaseApiClient {
|
|
|
2873
2880
|
if (options.sortBy) params.append("sortBy", options.sortBy);
|
|
2874
2881
|
if (options.sortOrder) params.append("sortOrder", options.sortOrder);
|
|
2875
2882
|
if (options.search) params.append("search", options.search);
|
|
2883
|
+
if (options.agentId !== void 0) params.set("agentId", String(options.agentId));
|
|
2884
|
+
if (options.workflowId !== void 0) params.set("workflowId", String(options.workflowId));
|
|
2885
|
+
if (options.managed !== void 0) params.set("managed", String(options.managed));
|
|
2876
2886
|
return this.fetch(
|
|
2877
2887
|
`w/${wid}/app-connections/slack/apps${params.toString() ? `?${params.toString()}` : ""}`
|
|
2878
2888
|
);
|
|
@@ -2940,6 +2950,8 @@ var SlackAppsApi = class extends BaseApiClient {
|
|
|
2940
2950
|
const params = new URLSearchParams();
|
|
2941
2951
|
if (options.page) params.append("page", options.page.toString());
|
|
2942
2952
|
if (options.pageSize) params.append("pageSize", options.pageSize.toString());
|
|
2953
|
+
if (options.teamId) params.set("teamId", options.teamId);
|
|
2954
|
+
if (options.search) params.set("search", options.search);
|
|
2943
2955
|
return this.fetch(
|
|
2944
2956
|
`w/${wid}/app-connections/slack/apps/${appId}/accounts${params.toString() ? `?${params.toString()}` : ""}`
|
|
2945
2957
|
);
|
|
@@ -13058,6 +13070,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
13058
13070
|
"getSlackAppAccounts",
|
|
13059
13071
|
"getSlackApps",
|
|
13060
13072
|
"getSlackInstallations",
|
|
13073
|
+
"removeSlackAccount",
|
|
13061
13074
|
"removeSlackInstallation",
|
|
13062
13075
|
"getSlackThreads",
|
|
13063
13076
|
"getStepMemberCounts",
|
|
@@ -14319,6 +14332,7 @@ function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackAp
|
|
|
14319
14332
|
target.deleteSlackApp = slackApps.deleteSlackApp.bind(slackApps);
|
|
14320
14333
|
target.getSlackThreads = slackApps.getSlackThreads.bind(slackApps);
|
|
14321
14334
|
target.getSlackInstallations = slackApps.getSlackInstallations.bind(slackApps);
|
|
14335
|
+
target.removeSlackAccount = slackApps.removeSlackAccount.bind(slackApps);
|
|
14322
14336
|
target.removeSlackInstallation = slackApps.removeSlackInstallation.bind(slackApps);
|
|
14323
14337
|
target.getSlackChannelChoices = slackApps.getSlackChannelChoices.bind(slackApps);
|
|
14324
14338
|
target.getSlackEntryPoints = slackApps.getSlackEntryPoints.bind(slackApps);
|
|
@@ -15822,6 +15836,7 @@ var GravityRailClient = class {
|
|
|
15822
15836
|
deleteSlackApp;
|
|
15823
15837
|
getSlackThreads;
|
|
15824
15838
|
getSlackInstallations;
|
|
15839
|
+
removeSlackAccount;
|
|
15825
15840
|
removeSlackInstallation;
|
|
15826
15841
|
getSlackChannelChoices;
|
|
15827
15842
|
getSlackEntryPoints;
|
|
@@ -17935,4 +17950,4 @@ export {
|
|
|
17935
17950
|
pathDraftFromStorage,
|
|
17936
17951
|
pathDraftToStorage
|
|
17937
17952
|
};
|
|
17938
|
-
//# sourceMappingURL=chunk-
|
|
17953
|
+
//# sourceMappingURL=chunk-YDC4OVZE.js.map
|