@gravity-rail/sdk 0.55.1 → 0.56.0

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.
@@ -1634,23 +1634,15 @@ var CallsApi = class extends BaseApiClient {
1634
1634
  * Get PHI-safe provenance metadata for the recording served by
1635
1635
  * `/audio.wav` — source, encryption, channels, duration, status, etc.
1636
1636
  * Staff-only Twilio SIDs are present only for superusers. Returns 404
1637
- * when the chat has no native recording row (legacy chunk-only playback).
1637
+ * when the chat has no native recording row.
1638
1638
  */
1639
1639
  async getRecordingInfo(wid, chatId) {
1640
1640
  return this.fetch(`w/${wid}/recordings/chat/${chatId}/info`);
1641
1641
  }
1642
- /** List the recorded audio chunks for a chat (metadata only). */
1643
- async listChatRecordings(wid, chatId, options = {}) {
1644
- const params = new URLSearchParams();
1645
- if (options.role) params.set("role", options.role);
1646
- return this.fetch(
1647
- `w/${wid}/recordings/chat/${chatId}${params.toString() ? `?${params.toString()}` : ""}`
1648
- );
1649
- }
1650
1642
  /**
1651
1643
  * Get a single short-lived presigned URL to download the complete call
1652
- * recording as one WAV file. The first request assembles + caches the
1653
- * full-call WAV; later requests reuse it.
1644
+ * recording as one file: the playable Twilio-native recording, else the
1645
+ * complete internal recording. 404 when neither is available.
1654
1646
  */
1655
1647
  async getCallRecordingDownloadUrl(wid, chatId, options = {}) {
1656
1648
  const params = new URLSearchParams();
@@ -2830,6 +2822,25 @@ var DiscordBotsApi = class extends BaseApiClient {
2830
2822
 
2831
2823
  // src/api/slack-apps.ts
2832
2824
  var SlackAppsApi = class extends BaseApiClient {
2825
+ async getSlackChannelChoices(wid, appId, cursor) {
2826
+ const params = new URLSearchParams({ appId: String(appId) });
2827
+ if (cursor) params.set("cursor", cursor);
2828
+ return this.fetch(
2829
+ `w/${wid}/app-connections/slack/channel-choices?${params}`
2830
+ );
2831
+ }
2832
+ async getSlackEntryPoints(wid, options = {}) {
2833
+ const params = new URLSearchParams();
2834
+ if (options.appId) params.set("appId", String(options.appId));
2835
+ if (options.workflowId) params.set("workflowId", String(options.workflowId));
2836
+ return this.fetch(`w/${wid}/app-connections/slack/entry-points?${params}`);
2837
+ }
2838
+ async connectSlackEntryPoint(wid, data) {
2839
+ return this.fetch(`w/${wid}/app-connections/slack/entry-points`, {
2840
+ method: "POST",
2841
+ body: JSON.stringify(data)
2842
+ });
2843
+ }
2833
2844
  /**
2834
2845
  * List all Slack apps configured for a workspace.
2835
2846
  */
@@ -12567,7 +12578,6 @@ var WORKSPACE_METHOD_NAMES = [
12567
12578
  "getThemeSettings",
12568
12579
  "importSiteSourceZip",
12569
12580
  "installDocumoFax",
12570
- "listChatRecordings",
12571
12581
  "previewDataReport",
12572
12582
  "previewQuery",
12573
12583
  "publishSiteSource",
@@ -13214,7 +13224,6 @@ function bindCallsMethods(target, calls, cel) {
13214
13224
  target.getMessageTiming = calls.getMessageTiming.bind(calls);
13215
13225
  target.getRecordingInfo = calls.getRecordingInfo.bind(calls);
13216
13226
  target.getEdgeCaptureInfo = calls.getEdgeCaptureInfo.bind(calls);
13217
- target.listChatRecordings = calls.listChatRecordings.bind(calls);
13218
13227
  target.getCallRecordingDownloadUrl = calls.getCallRecordingDownloadUrl.bind(calls);
13219
13228
  target.getCelContext = cel.getCelContext.bind(cel);
13220
13229
  target.validateCelExpression = cel.validateCelExpression.bind(cel);
@@ -13979,6 +13988,9 @@ function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackAp
13979
13988
  target.deleteSlackApp = slackApps.deleteSlackApp.bind(slackApps);
13980
13989
  target.getSlackThreads = slackApps.getSlackThreads.bind(slackApps);
13981
13990
  target.getSlackInstallations = slackApps.getSlackInstallations.bind(slackApps);
13991
+ target.getSlackChannelChoices = slackApps.getSlackChannelChoices.bind(slackApps);
13992
+ target.getSlackEntryPoints = slackApps.getSlackEntryPoints.bind(slackApps);
13993
+ target.connectSlackEntryPoint = slackApps.connectSlackEntryPoint.bind(slackApps);
13982
13994
  target.getSlackAppAccounts = slackApps.getSlackAppAccounts.bind(slackApps);
13983
13995
  target.getTeamsApps = teamsApps.getTeamsApps.bind(teamsApps);
13984
13996
  target.getTeamsApp = teamsApps.getTeamsApp.bind(teamsApps);
@@ -14503,7 +14515,6 @@ var GravityRailClient = class {
14503
14515
  getMessageTiming;
14504
14516
  getRecordingInfo;
14505
14517
  getEdgeCaptureInfo;
14506
- listChatRecordings;
14507
14518
  getCallRecordingDownloadUrl;
14508
14519
  getCelContext;
14509
14520
  validateCelExpression;
@@ -15436,6 +15447,9 @@ var GravityRailClient = class {
15436
15447
  deleteSlackApp;
15437
15448
  getSlackThreads;
15438
15449
  getSlackInstallations;
15450
+ getSlackChannelChoices;
15451
+ getSlackEntryPoints;
15452
+ connectSlackEntryPoint;
15439
15453
  getSlackAppAccounts;
15440
15454
  // Teams Apps API
15441
15455
  getTeamsApps;
@@ -17518,4 +17532,4 @@ export {
17518
17532
  pathDraftFromStorage,
17519
17533
  pathDraftToStorage
17520
17534
  };
17521
- //# sourceMappingURL=chunk-7R22EG5F.js.map
17535
+ //# sourceMappingURL=chunk-BQOKENBF.js.map