@gravity-rail/sdk 0.32.0 → 0.34.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.
@@ -1,6 +1,6 @@
1
- import { fd as GravityRailClient } from './chat-interaction-DLfC_h_P.cjs';
2
- export { bE as ChatInteractionController } from './chat-interaction-DLfC_h_P.cjs';
3
- import { c8 as WorkspaceMemberResponse, aT as DataRecordResponse } from './tasks-B-31JPuq.cjs';
1
+ import { fr as GravityRailClient } from './chat-interaction-C-B463O4.cjs';
2
+ export { bM as ChatInteractionController } from './chat-interaction-C-B463O4.cjs';
3
+ import { c8 as WorkspaceMemberResponse, aT as DataRecordResponse } from './tasks-Co5om-p9.cjs';
4
4
  import 'zod';
5
5
 
6
6
  interface OutboundPhoneNumberOption {
package/dist/helpers.d.ts CHANGED
@@ -1,6 +1,6 @@
1
- import { fd as GravityRailClient } from './chat-interaction-BKdImgZ5.js';
2
- export { bE as ChatInteractionController } from './chat-interaction-BKdImgZ5.js';
3
- import { c8 as WorkspaceMemberResponse, aT as DataRecordResponse } from './tasks-B-31JPuq.js';
1
+ import { fr as GravityRailClient } from './chat-interaction-BiH_iWSK.js';
2
+ export { bM as ChatInteractionController } from './chat-interaction-BiH_iWSK.js';
3
+ import { c8 as WorkspaceMemberResponse, aT as DataRecordResponse } from './tasks-Co5om-p9.js';
4
4
  import 'zod';
5
5
 
6
6
  interface OutboundPhoneNumberOption {
package/dist/index.cjs CHANGED
@@ -62,6 +62,7 @@ __export(src_exports, {
62
62
  ChannelMessageSource: () => ChannelMessageSource,
63
63
  ChannelMessagesUnavailableReason: () => ChannelMessagesUnavailableReason,
64
64
  ChatInteractionController: () => ChatInteractionController,
65
+ ChatMuteReason: () => ChatMuteReason,
65
66
  ConsentMethod: () => ConsentMethod,
66
67
  CriterionType: () => CriterionType,
67
68
  DEFAULT_AGENT_CHAT_MODEL: () => DEFAULT_AGENT_CHAT_MODEL,
@@ -76,6 +77,7 @@ __export(src_exports, {
76
77
  DataRecordRetirementResponseReason: () => DataRecordRetirementResponseReason,
77
78
  DataSensitivity: () => DataSensitivity,
78
79
  DataTypeRecordScope: () => DataTypeRecordScope,
80
+ DigestSlotRole: () => DigestSlotRole,
79
81
  DriverMode: () => DriverMode,
80
82
  EhrWritebackOutcomeResponseStatus: () => EhrWritebackOutcomeResponseStatus,
81
83
  EmailDnsRecordType: () => EmailDnsRecordType,
@@ -2272,22 +2274,12 @@ var ChatsApi = class extends BaseApiClient {
2272
2274
  });
2273
2275
  }
2274
2276
  /** Update the mute status of a chat. */
2275
- async updateChatMute(wid, id, muted) {
2277
+ async updateChatMute(wid, id, muted, muteReason, muteExpiresOnInbound) {
2276
2278
  return this.fetch(`w/${wid}/chats/${id}/mute`, {
2277
2279
  method: "PUT",
2278
- body: JSON.stringify({ muted })
2280
+ body: JSON.stringify({ muted, muteReason, muteExpiresOnInbound })
2279
2281
  });
2280
2282
  }
2281
- /** Update the needs-response flag on a chat. */
2282
- async updateChatNeedsResponse(wid, id, needsResponse) {
2283
- return this.fetch(
2284
- `w/${wid}/chats/${id}/needs-response`,
2285
- {
2286
- method: "PUT",
2287
- body: JSON.stringify({ needsResponse })
2288
- }
2289
- );
2290
- }
2291
2283
  /** Generate an AI summary for a chat, optionally updating its labels. */
2292
2284
  async summarizeChat(wid, id, updateLabels) {
2293
2285
  const params = new URLSearchParams();
@@ -4512,6 +4504,32 @@ var InboxesApi = class extends BaseApiClient {
4512
4504
  body: JSON.stringify(body)
4513
4505
  });
4514
4506
  }
4507
+ /**
4508
+ * Render a compose or `email:send` template draft through the same
4509
+ * outbound body-assembly seam (footer, layout wrapper, markdown fallback)
4510
+ * as sending. Preview excludes delivery-specific MIME transformations,
4511
+ * including inline-image content IDs.
4512
+ */
4513
+ async previewInboxEmail(wid, inboxId, body) {
4514
+ return this.fetch(`w/${wid}/inboxes/${inboxId}/emails/preview`, {
4515
+ method: "POST",
4516
+ body: JSON.stringify(body)
4517
+ });
4518
+ }
4519
+ /**
4520
+ * Render a reply draft, including its quote, through outbound body
4521
+ * assembly. Preview excludes delivery-specific MIME transformations,
4522
+ * including inline-image content IDs.
4523
+ */
4524
+ async previewEmailReply(wid, inboxId, emailId, body) {
4525
+ return this.fetch(
4526
+ `w/${wid}/inboxes/${inboxId}/emails/${emailId}/reply-preview`,
4527
+ {
4528
+ method: "POST",
4529
+ body: JSON.stringify(body)
4530
+ }
4531
+ );
4532
+ }
4515
4533
  /**
4516
4534
  * Make a stored email's sender a Member of this workspace.
4517
4535
  *
@@ -4985,6 +5003,19 @@ var MembersApi = class extends BaseApiClient {
4985
5003
  async getWorkspaceMember(wid, memberId) {
4986
5004
  return this.fetch(`w/${wid}/members/${memberId}`);
4987
5005
  }
5006
+ /**
5007
+ * Get one member of an org's workspace, under `org:read`.
5008
+ *
5009
+ * The same record and the same shape as `getWorkspaceMember`, for a reader
5010
+ * whose authority is the org rather than a member row in that workspace —
5011
+ * an org Activity pane opening a member it just listed. A workspace outside
5012
+ * the org is a 404, indistinguishable from a member id that does not exist.
5013
+ */
5014
+ async getOrgWorkspaceMember(orgUuid, workspaceUuid, memberId) {
5015
+ return this.fetch(
5016
+ `o/${orgUuid}/activity/workspaces/${workspaceUuid}/members/${memberId}`
5017
+ );
5018
+ }
4988
5019
  /** Create a new workspace member. */
4989
5020
  async createWorkspaceMember(wid, data) {
4990
5021
  return this.fetch(`w/${wid}/members`, {
@@ -5559,6 +5590,39 @@ var ActivityApi = class extends BaseApiClient {
5559
5590
  body: JSON.stringify(request)
5560
5591
  });
5561
5592
  }
5593
+ /**
5594
+ * The specifics behind a page of aggregate lines, in one round trip.
5595
+ *
5596
+ * Each entry of `request.lines` is an aggregate line's **own server-issued
5597
+ * drill**, POSTed back verbatim, and the response is positional with it — so
5598
+ * a caller maps groups back to rows without inventing a key and without a
5599
+ * second expression of the slice that could drift from the count above it.
5600
+ *
5601
+ * Aggregate-shaped, never row-level: counts per PHI-silent key. A digest the
5602
+ * server could not finish comes back with `complete: false` and no groups,
5603
+ * which a client renders as the plain count phrase rather than as a slice
5604
+ * presented as the whole.
5605
+ */
5606
+ async queryActivityDigest(request) {
5607
+ return this.fetch("activity/digest", {
5608
+ method: "POST",
5609
+ body: JSON.stringify(request)
5610
+ });
5611
+ }
5612
+ /** The org mount's digest. */
5613
+ async queryOrgActivityDigest(orgUuid, request) {
5614
+ return this.fetch(`o/${orgUuid}/activity/digest`, {
5615
+ method: "POST",
5616
+ body: JSON.stringify(request)
5617
+ });
5618
+ }
5619
+ /** The workspace mount's digest. */
5620
+ async queryWorkspaceActivityDigest(workspaceUuid, request) {
5621
+ return this.fetch(`w/${workspaceUuid}/activity/digest`, {
5622
+ method: "POST",
5623
+ body: JSON.stringify(request)
5624
+ });
5625
+ }
5562
5626
  /** The workspace mount. The request's own member session carries its scopes. */
5563
5627
  async queryWorkspaceActivity(workspaceUuid, request) {
5564
5628
  return this.fetch(`w/${workspaceUuid}/activity/query`, {
@@ -5620,6 +5684,49 @@ var ActivityApi = class extends BaseApiClient {
5620
5684
  body: JSON.stringify(request)
5621
5685
  });
5622
5686
  }
5687
+ /**
5688
+ * Hydrate a page of typed refs spanning an org's workspaces, in one round
5689
+ * trip. `org:info` is the gate; what it buys differs per workspace, and the
5690
+ * server decides — an `org:read` holder reads every workspace in the org,
5691
+ * an `org:info` holder the ones they belong to.
5692
+ *
5693
+ * The request groups refs by workspace because the same UUID under two
5694
+ * workspaces is two entities. A group naming a workspace this caller cannot
5695
+ * reach comes back entirely `unresolved` — the same answer a denied ref
5696
+ * gets, never an error.
5697
+ *
5698
+ * Caps: at most 500 refs and 25 workspaces across the whole request, and a
5699
+ * workspace may be named at most once in it. Each answered group carries the
5700
+ * same per-entry contract as the workspace mount: every requested ref comes
5701
+ * back, with a marker status rather than an omission.
5702
+ *
5703
+ * PHI: resolved labels are member-identifying data. They belong in the UI
5704
+ * and nowhere else — never a log line, never an error message.
5705
+ */
5706
+ async resolveOrgEntityRefs(orgUuid, request) {
5707
+ return this.fetch(`o/${orgUuid}/activity/entity-refs/resolve`, {
5708
+ method: "POST",
5709
+ body: JSON.stringify(request)
5710
+ });
5711
+ }
5712
+ /**
5713
+ * Hydrate a page of typed refs spanning the caller's whole estate.
5714
+ *
5715
+ * The same grouped body as the org mount, and the same rule that the server
5716
+ * chooses each group's authority: a workspace the caller belongs to resolves
5717
+ * under their own member row, and a workspace they reach by holding
5718
+ * `org:read` on its org resolves under that. A client never states which,
5719
+ * because stating it would mean carrying a copy of the policy.
5720
+ *
5721
+ * PHI: resolved labels are member-identifying data. They belong in the UI
5722
+ * and nowhere else — never a log line, never an error message.
5723
+ */
5724
+ async resolveAccountEntityRefs(request) {
5725
+ return this.fetch(`activity/entity-refs/resolve`, {
5726
+ method: "POST",
5727
+ body: JSON.stringify(request)
5728
+ });
5729
+ }
5623
5730
  };
5624
5731
 
5625
5732
  // src/api/motd.ts
@@ -6330,10 +6437,19 @@ var OrgApi = class extends BaseApiClient {
6330
6437
  }
6331
6438
  /**
6332
6439
  * Enable custom site routing for a verified org domain.
6440
+ *
6441
+ * Pass `{ childHosting: true }` to enable the domain as a **parent**
6442
+ * instead: it publishes one `*.<domain>` wildcard CNAME, serves nothing
6443
+ * at its own name, and hosts are added beneath it afterwards. The mode
6444
+ * is fixed at enable — disable and re-enable to change it.
6445
+ *
6446
+ * The request always carries a JSON body, `{}` by default: the route
6447
+ * requires one as a CSRF barrier.
6333
6448
  */
6334
- async enableOrgDomainSite(orgIdOrUuid, domainUuid) {
6449
+ async enableOrgDomainSite(orgIdOrUuid, domainUuid, options = {}) {
6335
6450
  return this.fetch(`o/${orgIdOrUuid}/domains/${domainUuid}/site`, {
6336
- method: "POST"
6451
+ method: "POST",
6452
+ body: JSON.stringify(options)
6337
6453
  });
6338
6454
  }
6339
6455
  /**
@@ -6345,12 +6461,15 @@ var OrgApi = class extends BaseApiClient {
6345
6461
  /**
6346
6462
  * Pre-enable DNS check: is the site CNAME resolving to the routing
6347
6463
  * endpoint yet? Pure DNS — consumes no enable budget.
6464
+ *
6465
+ * Pass `{ childHosting: true }` to check the mode you intend to enable
6466
+ * in: the wildcard is probed instead of the domain's own CNAME.
6348
6467
  */
6349
- async preflightOrgDomainSite(orgIdOrUuid, domainUuid) {
6468
+ async preflightOrgDomainSite(orgIdOrUuid, domainUuid, options = {}) {
6350
6469
  return this.fetch(
6351
6470
  `o/${orgIdOrUuid}/domains/${domainUuid}/site/preflight`,
6352
- // Empty JSON body: the route requires one as a CSRF barrier.
6353
- { method: "POST", body: JSON.stringify({}) }
6471
+ // JSON body, `{}` by default: the route requires one as a CSRF barrier.
6472
+ { method: "POST", body: JSON.stringify(options) }
6354
6473
  );
6355
6474
  }
6356
6475
  /**
@@ -6362,6 +6481,27 @@ var OrgApi = class extends BaseApiClient {
6362
6481
  { method: "POST" }
6363
6482
  );
6364
6483
  }
6484
+ /**
6485
+ * Create one child host beneath a child-hosting parent domain.
6486
+ *
6487
+ * The child gets its own CloudFront tenant and managed certificate and
6488
+ * needs no customer DNS: the parent's wildcard CNAME already routes it.
6489
+ */
6490
+ async createOrgDomainSiteChildHost(orgIdOrUuid, parentDomainUuid, request) {
6491
+ return this.fetch(
6492
+ `o/${orgIdOrUuid}/domains/${parentDomainUuid}/site/children`,
6493
+ { method: "POST", body: JSON.stringify(request) }
6494
+ );
6495
+ }
6496
+ /**
6497
+ * List the child hosts beneath a child-hosting parent domain, with live
6498
+ * per-host status.
6499
+ */
6500
+ async listOrgDomainSiteChildHosts(orgIdOrUuid, parentDomainUuid) {
6501
+ return this.fetch(
6502
+ `o/${orgIdOrUuid}/domains/${parentDomainUuid}/site/children`
6503
+ );
6504
+ }
6365
6505
  /**
6366
6506
  * Disable custom site routing for an org domain.
6367
6507
  */
@@ -6724,6 +6864,34 @@ var OrgApi = class extends BaseApiClient {
6724
6864
  `o/${orgIdOrUuid}/webhooks/${endpointUuid}/deliveries?limit=${limit}`
6725
6865
  );
6726
6866
  }
6867
+ /**
6868
+ * A representative delivery body for one event type — what the test-send
6869
+ * editor is prefilled with, and the same builder the public event catalog
6870
+ * is generated from. Pass `endpointUuid` to have the sample name that
6871
+ * endpoint and sit in a workspace it actually covers.
6872
+ */
6873
+ async getOrgWebhookEventSample(orgIdOrUuid, eventType, endpointUuid) {
6874
+ const query = endpointUuid ? `?endpointUuid=${encodeURIComponent(endpointUuid)}` : "";
6875
+ return this.fetch(
6876
+ `o/${orgIdOrUuid}/webhooks/event-types/${encodeURIComponent(eventType)}/sample${query}`
6877
+ );
6878
+ }
6879
+ /**
6880
+ * Send one payload to the endpoint now and report what came back.
6881
+ *
6882
+ * Outside the delivery queue: no delivery row, no retry, no effect on the
6883
+ * endpoint's status — but the same signing, egress vetting and outcome
6884
+ * classification a real delivery goes through.
6885
+ */
6886
+ async testOrgWebhookEndpoint(orgIdOrUuid, endpointUuid, data) {
6887
+ return this.fetch(
6888
+ `o/${orgIdOrUuid}/webhooks/${endpointUuid}/test`,
6889
+ {
6890
+ method: "POST",
6891
+ body: JSON.stringify(data)
6892
+ }
6893
+ );
6894
+ }
6727
6895
  };
6728
6896
  function businessProfilePath(orgUuid, legalEntityUuid) {
6729
6897
  return legalEntityUuid ? `o/${orgUuid}/legal-entities/${legalEntityUuid}/business-profile` : `o/${orgUuid}/business-profile`;
@@ -11687,6 +11855,7 @@ var WORKSPACE_METHOD_NAMES = [
11687
11855
  "queryWorkspaceActivityLatestSubjects",
11688
11856
  "queryWorkspaceActivityOpenItems",
11689
11857
  "queryWorkspaceActivityOneView",
11858
+ "queryWorkspaceActivityDigest",
11690
11859
  "registerDiscordSlashCommands",
11691
11860
  "reopenWorkspaceSupportRequest",
11692
11861
  "resolveEntityRefs",
@@ -11956,10 +12125,12 @@ var WORKSPACE_METHOD_NAMES = [
11956
12125
  "markEmailAsUnread",
11957
12126
  "markNotificationAsRead",
11958
12127
  "mergeMemberRoles",
12128
+ "previewEmailReply",
11959
12129
  "previewImportMembers",
11960
12130
  "previewMemberWorkflowVoice",
11961
12131
  "previewRenameFieldSlug",
11962
12132
  "previewImportWorkspace",
12133
+ "previewInboxEmail",
11963
12134
  "previewRoutineVoiceReadiness",
11964
12135
  "previewRoutineWorkflowAccess",
11965
12136
  "previewSchedule",
@@ -12057,7 +12228,6 @@ var WORKSPACE_METHOD_NAMES = [
12057
12228
  "updateChatLabel",
12058
12229
  "updateChatModelOverride",
12059
12230
  "updateChatMute",
12060
- "updateChatNeedsResponse",
12061
12231
  "updateClientWorkspace",
12062
12232
  "updateConnection",
12063
12233
  "updateConnectionSyncConfig",
@@ -12241,7 +12411,6 @@ function bindChatsMethods(target, chats) {
12241
12411
  target.getChatModelOverride = chats.getChatModelOverride.bind(chats);
12242
12412
  target.updateChatModelOverride = chats.updateChatModelOverride.bind(chats);
12243
12413
  target.updateChatMute = chats.updateChatMute.bind(chats);
12244
- target.updateChatNeedsResponse = chats.updateChatNeedsResponse.bind(chats);
12245
12414
  target.summarizeChat = chats.summarizeChat.bind(chats);
12246
12415
  target.getChatMessages = chats.getChatMessages.bind(chats);
12247
12416
  target.getChildThreadMessages = chats.getChildThreadMessages.bind(chats);
@@ -12302,19 +12471,24 @@ function bindActivityMethods(target, activity) {
12302
12471
  target.queryActivityLatestSubjects = activity.queryActivityLatestSubjects.bind(activity);
12303
12472
  target.queryActivityOpenItems = activity.queryActivityOpenItems.bind(activity);
12304
12473
  target.queryActivityOneView = activity.queryActivityOneView.bind(activity);
12474
+ target.queryActivityDigest = activity.queryActivityDigest.bind(activity);
12305
12475
  target.getActivityCounts = activity.getActivityCounts.bind(activity);
12306
12476
  target.getActivityCapabilities = activity.getActivityCapabilities.bind(activity);
12307
12477
  target.queryOrgActivity = activity.queryOrgActivity.bind(activity);
12308
12478
  target.queryOrgActivityLatestSubjects = activity.queryOrgActivityLatestSubjects.bind(activity);
12309
12479
  target.queryOrgActivityOpenItems = activity.queryOrgActivityOpenItems.bind(activity);
12310
12480
  target.queryOrgActivityOneView = activity.queryOrgActivityOneView.bind(activity);
12481
+ target.queryOrgActivityDigest = activity.queryOrgActivityDigest.bind(activity);
12311
12482
  target.getOrgActivityCounts = activity.getOrgActivityCounts.bind(activity);
12312
12483
  target.queryWorkspaceActivity = activity.queryWorkspaceActivity.bind(activity);
12313
12484
  target.queryWorkspaceActivityLatestSubjects = activity.queryWorkspaceActivityLatestSubjects.bind(activity);
12314
12485
  target.queryWorkspaceActivityOpenItems = activity.queryWorkspaceActivityOpenItems.bind(activity);
12315
12486
  target.queryWorkspaceActivityOneView = activity.queryWorkspaceActivityOneView.bind(activity);
12487
+ target.queryWorkspaceActivityDigest = activity.queryWorkspaceActivityDigest.bind(activity);
12316
12488
  target.getWorkspaceActivityCounts = activity.getWorkspaceActivityCounts.bind(activity);
12317
12489
  target.resolveEntityRefs = activity.resolveEntityRefs.bind(activity);
12490
+ target.resolveOrgEntityRefs = activity.resolveOrgEntityRefs.bind(activity);
12491
+ target.resolveAccountEntityRefs = activity.resolveAccountEntityRefs.bind(activity);
12318
12492
  }
12319
12493
 
12320
12494
  // src/client/bindings/motd.ts
@@ -12396,6 +12570,7 @@ function bindMembersMethods(target, members) {
12396
12570
  target.updateCurrentMember = members.updateCurrentMember.bind(members);
12397
12571
  target.getWorkspaceMembers = members.getWorkspaceMembers.bind(members);
12398
12572
  target.getWorkspaceMember = members.getWorkspaceMember.bind(members);
12573
+ target.getOrgWorkspaceMember = members.getOrgWorkspaceMember.bind(members);
12399
12574
  target.createWorkspaceMember = members.createWorkspaceMember.bind(members);
12400
12575
  target.updateMember = members.updateMember.bind(members);
12401
12576
  target.deleteMember = members.deleteMember.bind(members);
@@ -12856,6 +13031,8 @@ function bindCommunicationsMethods(target, phoneNumbers, inboxes, notificationRu
12856
13031
  target.getChatEmails = inboxes.getChatEmails.bind(inboxes);
12857
13032
  target.replyToEmail = inboxes.replyToEmail.bind(inboxes);
12858
13033
  target.sendInboxEmail = inboxes.sendInboxEmail.bind(inboxes);
13034
+ target.previewInboxEmail = inboxes.previewInboxEmail.bind(inboxes);
13035
+ target.previewEmailReply = inboxes.previewEmailReply.bind(inboxes);
12859
13036
  target.getNotificationRules = notificationRules.getNotificationRules.bind(notificationRules);
12860
13037
  target.createNotificationRule = notificationRules.createNotificationRule.bind(notificationRules);
12861
13038
  target.updateNotificationRule = notificationRules.updateNotificationRule.bind(notificationRules);
@@ -13399,7 +13576,6 @@ var GravityRailClient = class {
13399
13576
  getChatModelOverride;
13400
13577
  updateChatModelOverride;
13401
13578
  updateChatMute;
13402
- updateChatNeedsResponse;
13403
13579
  summarizeChat;
13404
13580
  getChatMessages;
13405
13581
  getChildThreadMessages;
@@ -13485,6 +13661,9 @@ var GravityRailClient = class {
13485
13661
  updateCurrentMember;
13486
13662
  getWorkspaceMembers;
13487
13663
  getWorkspaceMember;
13664
+ // Org-scoped, so deliberately absent from WORKSPACE_METHOD_NAMES: that proxy
13665
+ // passes a workspace uuid as the first argument.
13666
+ getOrgWorkspaceMember;
13488
13667
  createWorkspaceMember;
13489
13668
  updateMember;
13490
13669
  deleteMember;
@@ -13606,20 +13785,26 @@ var GravityRailClient = class {
13606
13785
  queryActivityLatestSubjects;
13607
13786
  queryActivityOpenItems;
13608
13787
  queryActivityOneView;
13788
+ queryActivityDigest;
13609
13789
  getActivityCounts;
13610
13790
  getActivityCapabilities;
13611
13791
  queryOrgActivity;
13612
13792
  queryOrgActivityLatestSubjects;
13613
13793
  queryOrgActivityOpenItems;
13614
13794
  queryOrgActivityOneView;
13795
+ queryOrgActivityDigest;
13615
13796
  getOrgActivityCounts;
13616
13797
  queryWorkspaceActivity;
13617
13798
  queryWorkspaceActivityLatestSubjects;
13618
13799
  queryWorkspaceActivityOpenItems;
13619
13800
  queryWorkspaceActivityOneView;
13801
+ queryWorkspaceActivityDigest;
13620
13802
  getWorkspaceActivityCounts;
13621
- // Hydration: typed refs in, display summaries out, one round trip.
13803
+ // Hydration: typed refs in, display summaries out, one round trip. The org
13804
+ // variant carries several workspaces' groups in that one trip.
13622
13805
  resolveEntityRefs;
13806
+ resolveOrgEntityRefs;
13807
+ resolveAccountEntityRefs;
13623
13808
  // MOTD API
13624
13809
  getMotd;
13625
13810
  // Tracked Links analytics (#10934)
@@ -14106,6 +14291,8 @@ var GravityRailClient = class {
14106
14291
  getChatEmails;
14107
14292
  replyToEmail;
14108
14293
  sendInboxEmail;
14294
+ previewInboxEmail;
14295
+ previewEmailReply;
14109
14296
  getNotificationRules;
14110
14297
  createNotificationRule;
14111
14298
  updateNotificationRule;
@@ -17371,6 +17558,12 @@ var ChannelMessagesUnavailableReason = {
17371
17558
  no_phone_number: "no_phone_number",
17372
17559
  no_counterpart_phone: "no_counterpart_phone"
17373
17560
  };
17561
+ var ChatMuteReason = {
17562
+ working: "working",
17563
+ waiting_on_person: "waiting_on_person",
17564
+ resolved_elsewhere: "resolved_elsewhere",
17565
+ not_mine: "not_mine"
17566
+ };
17374
17567
 
17375
17568
  // src/types/generated/ehr_writeback.ts
17376
17569
  var EhrWritebackOutcomeResponseStatus = {
@@ -17786,6 +17979,25 @@ function getAllResourceSlugs() {
17786
17979
  return Object.keys(RESOURCE_METADATA);
17787
17980
  }
17788
17981
 
17982
+ // src/types/generated/digest.ts
17983
+ var DigestSlotRole = {
17984
+ people: "people",
17985
+ subject: "subject",
17986
+ actor: "actor",
17987
+ workflow: "workflow",
17988
+ journey: "journey",
17989
+ phone_number: "phone_number",
17990
+ data_type: "data_type",
17991
+ operator_group: "operator_group",
17992
+ channel: "channel",
17993
+ origin: "origin",
17994
+ source: "source",
17995
+ reason: "reason",
17996
+ direction: "direction",
17997
+ area: "area",
17998
+ conclusion: "conclusion"
17999
+ };
18000
+
17789
18001
  // src/types/generated/activity_feed.ts
17790
18002
  var ActivityGrain = {
17791
18003
  month: "month",
@@ -17861,6 +18073,7 @@ var ActivityEventType = {
17861
18073
  chatstarted: "chat.started",
17862
18074
  chatawaiting_human: "chat.awaiting_human",
17863
18075
  chathuman_replied: "chat.human_replied",
18076
+ chatcall_ended: "chat.call_ended",
17864
18077
  escalationopened: "escalation.opened",
17865
18078
  escalationresolved: "escalation.resolved",
17866
18079
  callstarted: "call.started",
@@ -18699,6 +18912,7 @@ var ChatInteractionController = class {
18699
18912
  ChannelMessageSource,
18700
18913
  ChannelMessagesUnavailableReason,
18701
18914
  ChatInteractionController,
18915
+ ChatMuteReason,
18702
18916
  ConsentMethod,
18703
18917
  CriterionType,
18704
18918
  DEFAULT_AGENT_CHAT_MODEL,
@@ -18713,6 +18927,7 @@ var ChatInteractionController = class {
18713
18927
  DataRecordRetirementResponseReason,
18714
18928
  DataSensitivity,
18715
18929
  DataTypeRecordScope,
18930
+ DigestSlotRole,
18716
18931
  DriverMode,
18717
18932
  EhrWritebackOutcomeResponseStatus,
18718
18933
  EmailDnsRecordType,