@gravity-rail/sdk 8.2.0 → 9.2.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.
Files changed (51) hide show
  1. package/README.md +2 -3
  2. package/dist/{agent_standing_job-CQqd8LDQ.d.ts → agent_team-C4ZYR_m1.d.ts} +731 -354
  3. package/dist/{agent_standing_job-DfjwGfg_.d.cts → agent_team-C6FdNgYH.d.cts} +731 -354
  4. package/dist/{chunk-U2U5X3LY.js → chunk-7LQYEV5Y.js} +245 -226
  5. package/dist/chunk-7LQYEV5Y.js.map +1 -0
  6. package/dist/{chunk-IIIRXFKG.js → chunk-MWTQXZGB.js} +1 -1
  7. package/dist/chunk-MWTQXZGB.js.map +1 -0
  8. package/dist/{chunk-6KPGCPGW.js → chunk-ZJJDZUAK.js} +40 -1
  9. package/dist/chunk-ZJJDZUAK.js.map +1 -0
  10. package/dist/{client-Bd-zXY42.d.ts → client-DVF3qwNq.d.ts} +2380 -1113
  11. package/dist/{client-BGGgZhKg.d.cts → client-DwslF70Y.d.cts} +2380 -1113
  12. package/dist/helpers.cjs +41 -0
  13. package/dist/helpers.cjs.map +1 -1
  14. package/dist/helpers.d.cts +2 -2
  15. package/dist/helpers.d.ts +2 -2
  16. package/dist/helpers.js +5 -1
  17. package/dist/helpers.js.map +1 -1
  18. package/dist/index.cjs +290 -305
  19. package/dist/index.cjs.map +1 -1
  20. package/dist/index.d.cts +7 -23
  21. package/dist/index.d.ts +7 -23
  22. package/dist/index.js +14 -84
  23. package/dist/index.js.map +1 -1
  24. package/dist/internal.cjs +252 -230
  25. package/dist/internal.cjs.map +1 -1
  26. package/dist/internal.d.cts +775 -999
  27. package/dist/internal.d.ts +775 -999
  28. package/dist/internal.js +12 -9
  29. package/dist/internal.js.map +1 -1
  30. package/dist/member-import-BpcX-swC.d.ts +92 -0
  31. package/dist/member-import-CA9YWv3Y.d.cts +92 -0
  32. package/dist/realtime.cjs +109 -54
  33. package/dist/realtime.cjs.map +1 -1
  34. package/dist/realtime.d.cts +7 -2
  35. package/dist/realtime.d.ts +7 -2
  36. package/dist/realtime.js +109 -54
  37. package/dist/realtime.js.map +1 -1
  38. package/dist/schemas.cjs +24 -6
  39. package/dist/schemas.cjs.map +1 -1
  40. package/dist/schemas.d.cts +53 -39
  41. package/dist/schemas.d.ts +53 -39
  42. package/dist/schemas.js +24 -7
  43. package/dist/schemas.js.map +1 -1
  44. package/dist/{tasks-2LhXIwL8.d.ts → tasks-BGLfmf5y.d.ts} +69 -904
  45. package/dist/{tasks-BTURuIlD.d.cts → tasks-BZb3rt5m.d.cts} +69 -904
  46. package/package.json +10 -9
  47. package/dist/chunk-6KPGCPGW.js.map +0 -1
  48. package/dist/chunk-IIIRXFKG.js.map +0 -1
  49. package/dist/chunk-U2U5X3LY.js.map +0 -1
  50. package/dist/member-import-4VSE3yYo.d.cts +0 -46
  51. package/dist/member-import-BQDFoSyf.d.ts +0 -46
@@ -547,8 +547,6 @@ var AgentTasksApi = class extends BaseApiClient {
547
547
  async getAgentTasks(wid, params) {
548
548
  const searchParams = new URLSearchParams();
549
549
  if (params?.status) searchParams.set("status", params.status);
550
- if (params?.agentMemberId != null)
551
- searchParams.set("agent_member_id", String(params.agentMemberId));
552
550
  if (params?.parentTaskId != null)
553
551
  searchParams.set("parent_task_id", String(params.parentTaskId));
554
552
  if (params?.limit != null) searchParams.set("limit", String(params.limit));
@@ -573,82 +571,6 @@ var AgentTasksApi = class extends BaseApiClient {
573
571
  }
574
572
  };
575
573
 
576
- // src/api/agents.ts
577
- var AgentsApi = class extends BaseApiClient {
578
- orgAgentJobsPath(orgUuid, agentUuid) {
579
- return `o/${encodeURIComponent(orgUuid)}/agents/${encodeURIComponent(agentUuid)}/jobs`;
580
- }
581
- /** List the current organization's teammate's operational Agent Jobs. */
582
- async getOrgAgentJobs(orgUuid, agentUuid, options = {}) {
583
- const params = new URLSearchParams();
584
- if (options.before) params.set("before", options.before);
585
- if (options.limit !== void 0) params.set("limit", String(options.limit));
586
- if (options.status) params.set("status", options.status);
587
- const search = params.toString();
588
- return this.fetch(
589
- `${this.orgAgentJobsPath(orgUuid, agentUuid)}${search ? `?${search}` : ""}`
590
- );
591
- }
592
- /** Stop one of the current teammate's Jobs and its active descendants. */
593
- async stopOrgAgentJob(orgUuid, agentUuid, jobUuid) {
594
- return this.fetch(
595
- `${this.orgAgentJobsPath(orgUuid, agentUuid)}/${encodeURIComponent(jobUuid)}/stop`,
596
- { method: "POST", body: JSON.stringify({}) }
597
- );
598
- }
599
- /** List agents in a workspace with optional pagination, sorting, and search. */
600
- async getAgents(wid, options = {}) {
601
- const params = new URLSearchParams();
602
- if (options.page) params.append("page", options.page.toString());
603
- if (options.pageSize) params.append("pageSize", options.pageSize.toString());
604
- if (options.sortBy) params.append("sortBy", options.sortBy);
605
- if (options.sortOrder) params.append("sortOrder", options.sortOrder);
606
- if (options.search) params.append("search", options.search);
607
- if (options.includeArchived)
608
- params.append("includeArchived", options.includeArchived.toString());
609
- return this.fetch(
610
- `w/${wid}/agents${params.toString() ? `?${params.toString()}` : ""}`
611
- );
612
- }
613
- /** Get a single agent by ID. */
614
- async getAgent(wid, id) {
615
- return this.fetch(`w/${wid}/agents/${id}`);
616
- }
617
- /** Create a new agent in a workspace. */
618
- async createAgent(wid, agent) {
619
- return this.fetch(`w/${wid}/agents`, {
620
- method: "POST",
621
- body: JSON.stringify(agent)
622
- });
623
- }
624
- /** Update an existing agent. */
625
- async updateAgent(wid, id, agent) {
626
- return this.fetch(`w/${wid}/agents/${id}`, {
627
- method: "PUT",
628
- body: JSON.stringify(agent)
629
- });
630
- }
631
- /** Delete an agent by ID, optionally forcing deletion of agents with active references. */
632
- async deleteAgent(wid, id, force) {
633
- const params = force ? "?force=true" : "";
634
- return this.fetch(`w/${wid}/agents/${id}${params}`, {
635
- method: "DELETE"
636
- });
637
- }
638
- /** Archive an agent, hiding it from default listings. */
639
- async archiveAgent(wid, id) {
640
- return this.fetch(`w/${wid}/agents/${id}/archive`, {
641
- method: "POST"
642
- });
643
- }
644
- /** Restore an archived agent back to active status. */
645
- async unarchiveAgent(wid, id) {
646
- return this.fetch(`w/${wid}/agents/${id}/unarchive`, {
647
- method: "POST"
648
- });
649
- }
650
- };
651
-
652
574
  // src/api/ai-models.ts
653
575
  var AIModelsApi = class extends BaseApiClient {
654
576
  /**
@@ -966,7 +888,7 @@ var AssignmentsApi = class extends BaseApiClient {
966
888
  var VoiceApi = class extends BaseApiClient {
967
889
  /** Generate a text-to-speech audio preview for a given voice model. */
968
890
  async previewTTS(wid, request) {
969
- const response = await this.fetchRaw(`w/${wid}/agents/tts-preview`, {
891
+ const response = await this.fetchRaw(`w/${wid}/voice/tts-preview`, {
970
892
  method: "POST",
971
893
  headers: {
972
894
  "Content-Type": "application/json"
@@ -977,7 +899,7 @@ var VoiceApi = class extends BaseApiClient {
977
899
  }
978
900
  /** Generate a thinking sound audio preview. */
979
901
  async previewThinkingSound(wid, request) {
980
- const response = await this.fetchRaw(`w/${wid}/agents/thinking-sound-preview`, {
902
+ const response = await this.fetchRaw(`w/${wid}/voice/thinking-sound-preview`, {
981
903
  method: "POST",
982
904
  headers: {
983
905
  "Content-Type": "application/json"
@@ -1917,6 +1839,29 @@ var ChatsApi = class extends BaseApiClient {
1917
1839
  `w/${wid}/chats${queryString ? `?${queryString}` : ""}`
1918
1840
  );
1919
1841
  }
1842
+ /**
1843
+ * Chats across the Workspaces an Operator Tools widget session signed in
1844
+ * for this organization shows, in queue order: waiting Chats first, longest
1845
+ * wait first, then the rest by most recent message. Each row names its
1846
+ * Workspace. `requiredScopes` leaves out every Workspace where the caller
1847
+ * lacks one of the view's scopes. Answers only to a widget session.
1848
+ */
1849
+ async queryOrgChats(orgUuid, request) {
1850
+ return this.fetch(`o/${orgUuid}/chats/query`, {
1851
+ method: "POST",
1852
+ body: JSON.stringify({ ...request, countOnly: false })
1853
+ });
1854
+ }
1855
+ /**
1856
+ * How many Chats match the same organization read, without returning any
1857
+ * Chat, Workspace or Member. Answers only to a widget session.
1858
+ */
1859
+ async countOrgChats(orgUuid, request) {
1860
+ return this.fetch(`o/${orgUuid}/chats/query`, {
1861
+ method: "POST",
1862
+ body: JSON.stringify({ ...request, countOnly: true })
1863
+ });
1864
+ }
1920
1865
  /** Export multiple chats as a downloadable blob. */
1921
1866
  async exportChats(wid, options = {}) {
1922
1867
  const params = this.buildChatsQueryParams(options, false);
@@ -2135,11 +2080,9 @@ var ChatsApi = class extends BaseApiClient {
2135
2080
  }
2136
2081
  /** Create a new chat. */
2137
2082
  async createChat(wid, chat) {
2138
- const { agentMemberId, ...rest } = chat;
2139
- const payload = agentMemberId !== void 0 && rest.assistantMemberId === void 0 ? { ...rest, assistantMemberId: agentMemberId } : rest;
2140
2083
  return this.fetch(`w/${wid}/chats`, {
2141
2084
  method: "POST",
2142
- body: JSON.stringify(payload)
2085
+ body: JSON.stringify(chat)
2143
2086
  });
2144
2087
  }
2145
2088
  /**
@@ -3080,7 +3023,6 @@ var SlackAppsApi = class extends BaseApiClient {
3080
3023
  if (options.sortBy) params.append("sortBy", options.sortBy);
3081
3024
  if (options.sortOrder) params.append("sortOrder", options.sortOrder);
3082
3025
  if (options.search) params.append("search", options.search);
3083
- if (options.agentId !== void 0) params.set("agentId", String(options.agentId));
3084
3026
  if (options.workflowId !== void 0) params.set("workflowId", String(options.workflowId));
3085
3027
  if (options.managed !== void 0) params.set("managed", String(options.managed));
3086
3028
  return this.fetch(
@@ -3277,8 +3219,6 @@ var EventsApi = class extends BaseApiClient {
3277
3219
  if (options.sortOrder) params.append("sortOrder", options.sortOrder);
3278
3220
  if (options.owner) params.append("owner", options.owner);
3279
3221
  if (options.ownerId) params.append("ownerId", options.ownerId.toString());
3280
- if (options.agentId) params.append("agentId", options.agentId.toString());
3281
- if (options.agentOnly) params.append("agentOnly", "true");
3282
3222
  return this.fetch(
3283
3223
  `w/${wid}/routines${params.toString() ? `?${params.toString()}` : ""}`
3284
3224
  );
@@ -4282,6 +4222,16 @@ var InboxesApi = class extends BaseApiClient {
4282
4222
  async getInbox(wid, id) {
4283
4223
  return this.fetch(`w/${wid}/inboxes/${id}`);
4284
4224
  }
4225
+ /**
4226
+ * List the Inboxes a new email Chat can be sent from (`chats:write`).
4227
+ *
4228
+ * Only Inboxes the Member can see that can send now, as `id`, `name` and
4229
+ * `emailAddress`. `POST /chats` refuses an `inboxId` this list would not
4230
+ * offer.
4231
+ */
4232
+ async getChatSenderInboxes(wid) {
4233
+ return this.fetch(`w/${wid}/inboxes/chat-senders`);
4234
+ }
4285
4235
  /** Create a new inbox. */
4286
4236
  async createInbox(wid, inbox) {
4287
4237
  return this.fetch(`w/${wid}/inboxes`, {
@@ -4949,6 +4899,17 @@ var MembersApi = class extends BaseApiClient {
4949
4899
  `o/${orgUuid}/activity/workspaces/${workspaceUuid}/members/${memberId}`
4950
4900
  );
4951
4901
  }
4902
+ /**
4903
+ * Members across the Workspaces an Operator Tools widget session signed in
4904
+ * for this organization shows, up to 20, each naming its Workspace. The
4905
+ * search text travels in the body. Answers only to a widget session.
4906
+ */
4907
+ async searchOrgWorkspaceMembers(orgUuid, request) {
4908
+ return this.fetch(
4909
+ `o/${orgUuid}/workspace-members/search`,
4910
+ { method: "POST", body: JSON.stringify(request) }
4911
+ );
4912
+ }
4952
4913
  /** Create a new workspace member. */
4953
4914
  async createWorkspaceMember(wid, data) {
4954
4915
  return this.fetch(`w/${wid}/members`, {
@@ -5842,14 +5803,25 @@ var NotificationRulesApi = class extends BaseApiClient {
5842
5803
  });
5843
5804
  }
5844
5805
  /**
5845
- * Approved, available shared destinations (Teams channels) a notification
5846
- * rule or Action may name. Choosing one never grants approval.
5806
+ * Approved, available shared destinations (Teams and Slack channels) a
5807
+ * notification rule or Action may name. Choosing one never grants approval.
5847
5808
  */
5848
5809
  async getNotificationDestinations(wid) {
5849
5810
  return this.fetch(
5850
5811
  `w/${wid}/notification-destinations`
5851
5812
  );
5852
5813
  }
5814
+ /**
5815
+ * The organization Bot connection that delivers this workspace's
5816
+ * notifications on one provider (`teams` or `slack`), the connections it
5817
+ * may choose, and the caller's own readiness. Reads only; nothing is sent
5818
+ * to the provider.
5819
+ */
5820
+ async getNotificationDelivery(wid, provider) {
5821
+ return this.fetch(
5822
+ `w/${wid}/notification-delivery/${provider}`
5823
+ );
5824
+ }
5853
5825
  /** Delete a notification rule. */
5854
5826
  async deleteNotificationRule(wid, ruleId) {
5855
5827
  return this.fetch(`w/${wid}/notification-rules/${ruleId}`, {
@@ -5916,11 +5888,16 @@ var OperatorApi = class extends BaseApiClient {
5916
5888
  `w/${wid}/operator/chats/${chatId}/messages?limit=${limit}&offset=${offset}`
5917
5889
  );
5918
5890
  }
5919
- /** Send a message in an operator chat. */
5920
- async sendOperatorMessage(wid, chatId, content) {
5891
+ /**
5892
+ * Send a message in an operator chat.
5893
+ *
5894
+ * `subject` applies to an email Chat only: required while the Chat holds no
5895
+ * linked Email (`operatorReplyNeedsSubject`), refused once it holds one.
5896
+ */
5897
+ async sendOperatorMessage(wid, chatId, content, subject) {
5921
5898
  return this.fetch(`w/${wid}/operator/chats/${chatId}/messages`, {
5922
5899
  method: "POST",
5923
- body: JSON.stringify({ content })
5900
+ body: JSON.stringify(subject === void 0 ? { content } : { content, subject })
5924
5901
  });
5925
5902
  }
5926
5903
  };
@@ -6731,6 +6708,35 @@ var OrgApi = class extends BaseApiClient {
6731
6708
  async getLegalEntity(orgUuid, legalEntityUuid) {
6732
6709
  return this.fetch(`o/${orgUuid}/legal-entities/${legalEntityUuid}`);
6733
6710
  }
6711
+ /** The columns a business CSV import reads, and the row and size limits on its file. */
6712
+ async getBusinessImportColumns(orgUuid) {
6713
+ return this.fetch(
6714
+ `o/${orgUuid}/legal-entities/import/columns`
6715
+ );
6716
+ }
6717
+ /** The business import template: CSV text whose only row is the header. */
6718
+ async getBusinessImportTemplate(orgUuid) {
6719
+ const response = await this.fetchRaw(`o/${orgUuid}/legal-entities/import/template`);
6720
+ return response.text();
6721
+ }
6722
+ /** Classify each row of a business CSV without writing; returns the token its import needs. */
6723
+ async previewBusinessImport(orgUuid, file) {
6724
+ return this.fetch(
6725
+ `o/${orgUuid}/legal-entities/import/preview`,
6726
+ { method: "POST", body: businessImportUpload(file) }
6727
+ );
6728
+ }
6729
+ /** Import a business CSV; without a `previewPlanToken` it previews the file first. */
6730
+ async importBusinesses(orgUuid, file, previewPlanToken) {
6731
+ const token = previewPlanToken ?? (await this.previewBusinessImport(orgUuid, file)).previewPlanToken;
6732
+ if (!token) throw new Error("The business import preview returned no plan token");
6733
+ const body = businessImportUpload(file);
6734
+ body.append("previewPlanToken", token);
6735
+ return this.fetch(`o/${orgUuid}/legal-entities/import`, {
6736
+ method: "POST",
6737
+ body
6738
+ });
6739
+ }
6734
6740
  /**
6735
6741
  * Read one registration draft for a legal entity.
6736
6742
  *
@@ -7278,10 +7284,41 @@ var OrgApi = class extends BaseApiClient {
7278
7284
  function businessProfilePath(orgUuid, legalEntityUuid) {
7279
7285
  return legalEntityUuid ? `o/${orgUuid}/legal-entities/${legalEntityUuid}/business-profile` : `o/${orgUuid}/business-profile`;
7280
7286
  }
7287
+ function businessImportUpload(file) {
7288
+ const body = new FormData();
7289
+ const name = "name" in file && typeof file.name === "string" ? file.name : "businesses.csv";
7290
+ body.append("file", file, name);
7291
+ return body;
7292
+ }
7281
7293
  function campaignQuery(options) {
7282
7294
  return options?.campaignUuid ? `?campaignUuid=${encodeURIComponent(options.campaignUuid)}` : "";
7283
7295
  }
7284
7296
 
7297
+ // src/api/bot-jobs.ts
7298
+ var BotJobsApi = class extends BaseApiClient {
7299
+ botJobsPath(orgUuid, agentUuid) {
7300
+ return `o/${encodeURIComponent(orgUuid)}/agents/${encodeURIComponent(agentUuid)}/jobs`;
7301
+ }
7302
+ /** List the organization Bot's operational Jobs. */
7303
+ async getBotJobs(orgUuid, agentUuid, options = {}) {
7304
+ const params = new URLSearchParams();
7305
+ if (options.before) params.set("before", options.before);
7306
+ if (options.limit !== void 0) params.set("limit", String(options.limit));
7307
+ if (options.status) params.set("status", options.status);
7308
+ const search = params.toString();
7309
+ return this.fetch(
7310
+ `${this.botJobsPath(orgUuid, agentUuid)}${search ? `?${search}` : ""}`
7311
+ );
7312
+ }
7313
+ /** Stop one of the organization Bot's Jobs and its active descendants. */
7314
+ async stopBotJob(orgUuid, agentUuid, jobUuid) {
7315
+ return this.fetch(
7316
+ `${this.botJobsPath(orgUuid, agentUuid)}/${encodeURIComponent(jobUuid)}/stop`,
7317
+ { method: "POST", body: JSON.stringify({}) }
7318
+ );
7319
+ }
7320
+ };
7321
+
7285
7322
  // src/api/oauth.ts
7286
7323
  function getOAuthPath(providerSlug, action) {
7287
7324
  if (providerSlug === "google_calendar") {
@@ -7427,9 +7464,10 @@ var PhoneNumbersApi = class extends BaseApiClient {
7427
7464
  * The numbers a Chat can be started from, for a Member with `chats:write`.
7428
7465
  *
7429
7466
  * Every non-archived workspace number in a slim shape (`id`, `number`,
7430
- * `name`, `isMapped`, `enableWhatsApp`) — no phone administration data, so
7431
- * it needs no `phones:read`. A row describes configuration, not permission
7432
- * to send.
7467
+ * `name`, `isMapped`, `enableWhatsApp`, `isWorkspaceDefault`, and whether
7468
+ * it can send SMS now, `canSendSms`, or place a call now, `canPlaceCall`)
7469
+ * — no phone administration data, so it needs no `phones:read`. A row
7470
+ * describes the number, not permission to send.
7433
7471
  */
7434
7472
  async getChatPhoneNumbers(wid) {
7435
7473
  return this.fetch(`w/${wid}/phone-numbers/chat-senders`);
@@ -7528,6 +7566,10 @@ var PhoneNumbersApi = class extends BaseApiClient {
7528
7566
  `w/${wid}/phone-numbers/${id}/voicemails?${params}`
7529
7567
  );
7530
7568
  }
7569
+ /** Fetch one authorized voicemail by uuid. */
7570
+ async getVoicemailByUuid(wid, uuid) {
7571
+ return this.fetch(`w/${wid}/voicemails/by-uuid/${encodeURIComponent(uuid)}`);
7572
+ }
7531
7573
  /** Fetch voicemail audio through the authenticated client path. */
7532
7574
  async fetchVoicemailAudio(wid, phoneNumberId, voicemailId) {
7533
7575
  const response = await this.fetchRaw(
@@ -8862,6 +8904,12 @@ var HubspotApi = class extends BaseApiClient {
8862
8904
  `w/${wid}/app-connections/hubspot/sync-settings/hs-properties?objectType=deals`
8863
8905
  );
8864
8906
  }
8907
+ /** The portal's active deal pipelines with their active stages. */
8908
+ async getHubspotDealPipelines(wid) {
8909
+ return this.fetch(
8910
+ `w/${wid}/app-connections/hubspot/sync-settings/deal-pipelines`
8911
+ );
8912
+ }
8865
8913
  /** The portal's Meetings booking links, or `missing_scope` without the scheduler scope. */
8866
8914
  async getHubspotMeetingLinks(wid) {
8867
8915
  return this.fetch(
@@ -9078,15 +9126,21 @@ var SitesApi = class extends BaseApiClient {
9078
9126
  /**
9079
9127
  * Get a theme's settings schema, the site's saved values, and capabilities.
9080
9128
  * Pass `theme` to resolve the schema for a theme other than the saved one
9081
- * (e.g. one the builder has selected but not yet saved).
9129
+ * (e.g. one the builder has selected but not yet saved). Pass `resolved: true` to
9130
+ * also receive `resolvedValues`, the saved theme's values as its render resolves them.
9082
9131
  */
9083
- async getThemeSettings(wid, siteId, theme) {
9084
- const query2 = theme ? `?theme=${encodeURIComponent(theme)}` : "";
9132
+ async getThemeSettings(wid, siteId, theme, options) {
9133
+ const params = new URLSearchParams();
9134
+ if (theme) params.set("theme", theme);
9135
+ if (options?.resolved) params.set("resolved", "true");
9136
+ const search = params.toString();
9137
+ const query2 = search ? `?${search}` : "";
9085
9138
  return this.fetch(`w/${wid}/sites/${siteId}/theme-settings${query2}`);
9086
9139
  }
9087
- /** Save values for the active theme's settings (validated against the schema). */
9088
- async updateThemeSettings(wid, siteId, values) {
9089
- return this.fetch(`w/${wid}/sites/${siteId}/theme-settings`, {
9140
+ /** Save values for the active theme's settings (validated against the schema). Pass `resolved: true` to also receive `resolvedValues`. */
9141
+ async updateThemeSettings(wid, siteId, values, options) {
9142
+ const query2 = options?.resolved ? "?resolved=true" : "";
9143
+ return this.fetch(`w/${wid}/sites/${siteId}/theme-settings${query2}`, {
9090
9144
  method: "PUT",
9091
9145
  body: JSON.stringify({ values })
9092
9146
  });
@@ -10988,7 +11042,6 @@ var MemberType = /* @__PURE__ */ ((MemberType2) => {
10988
11042
  MemberType2["ANONYMOUS"] = "anonymous";
10989
11043
  MemberType2["TEST"] = "test";
10990
11044
  MemberType2["MEMBER"] = "member";
10991
- MemberType2["AGENT"] = "agent";
10992
11045
  MemberType2["BUSINESS"] = "business";
10993
11046
  return MemberType2;
10994
11047
  })(MemberType || {});
@@ -11117,6 +11170,8 @@ var EventRuleActionType = /* @__PURE__ */ ((EventRuleActionType2) => {
11117
11170
  EventRuleActionType2["EMAIL_SEND"] = "email:send";
11118
11171
  EventRuleActionType2["INVOKE_CUSTOM_TOOL"] = "custom_tool:invoke";
11119
11172
  EventRuleActionType2["HUBSPOT_CREATE_DEAL_FROM_BOOKING"] = "hubspot:create_deal_from_booking";
11173
+ EventRuleActionType2["HUBSPOT_UPDATE_CONTACT_DEALS"] = "hubspot:update_contact_deals";
11174
+ EventRuleActionType2["HUBSPOT_UPDATE_CONTACT_PROPERTIES"] = "hubspot:update_contact_properties";
11120
11175
  EventRuleActionType2["ASSIGNMENT_CONCLUDE"] = "assignment:conclude";
11121
11176
  EventRuleActionType2["JOURNEY_ENROLL"] = "journey:enroll";
11122
11177
  EventRuleActionType2["SMS_SEND"] = "sms:send";
@@ -11655,14 +11710,12 @@ var MEMBER_RELATIONSHIP_KINDS = [
11655
11710
  "viewedMemberTypes": [
11656
11711
  "anonymous",
11657
11712
  "test",
11658
- "member",
11659
- "agent"
11713
+ "member"
11660
11714
  ],
11661
11715
  "relatedMemberTypes": [
11662
11716
  "anonymous",
11663
11717
  "test",
11664
- "member",
11665
- "agent"
11718
+ "member"
11666
11719
  ]
11667
11720
  },
11668
11721
  {
@@ -11673,14 +11726,12 @@ var MEMBER_RELATIONSHIP_KINDS = [
11673
11726
  "viewedMemberTypes": [
11674
11727
  "anonymous",
11675
11728
  "test",
11676
- "member",
11677
- "agent"
11729
+ "member"
11678
11730
  ],
11679
11731
  "relatedMemberTypes": [
11680
11732
  "anonymous",
11681
11733
  "test",
11682
- "member",
11683
- "agent"
11734
+ "member"
11684
11735
  ]
11685
11736
  }
11686
11737
  ]
@@ -11699,14 +11750,12 @@ var MEMBER_RELATIONSHIP_KINDS = [
11699
11750
  "viewedMemberTypes": [
11700
11751
  "anonymous",
11701
11752
  "test",
11702
- "member",
11703
- "agent"
11753
+ "member"
11704
11754
  ],
11705
11755
  "relatedMemberTypes": [
11706
11756
  "anonymous",
11707
11757
  "test",
11708
- "member",
11709
- "agent"
11758
+ "member"
11710
11759
  ]
11711
11760
  }
11712
11761
  ]
@@ -11725,14 +11774,12 @@ var MEMBER_RELATIONSHIP_KINDS = [
11725
11774
  "viewedMemberTypes": [
11726
11775
  "anonymous",
11727
11776
  "test",
11728
- "member",
11729
- "agent"
11777
+ "member"
11730
11778
  ],
11731
11779
  "relatedMemberTypes": [
11732
11780
  "anonymous",
11733
11781
  "test",
11734
- "member",
11735
- "agent"
11782
+ "member"
11736
11783
  ]
11737
11784
  }
11738
11785
  ]
@@ -11751,14 +11798,12 @@ var MEMBER_RELATIONSHIP_KINDS = [
11751
11798
  "viewedMemberTypes": [
11752
11799
  "anonymous",
11753
11800
  "test",
11754
- "member",
11755
- "agent"
11801
+ "member"
11756
11802
  ],
11757
11803
  "relatedMemberTypes": [
11758
11804
  "anonymous",
11759
11805
  "test",
11760
- "member",
11761
- "agent"
11806
+ "member"
11762
11807
  ]
11763
11808
  },
11764
11809
  {
@@ -11769,14 +11814,12 @@ var MEMBER_RELATIONSHIP_KINDS = [
11769
11814
  "viewedMemberTypes": [
11770
11815
  "anonymous",
11771
11816
  "test",
11772
- "member",
11773
- "agent"
11817
+ "member"
11774
11818
  ],
11775
11819
  "relatedMemberTypes": [
11776
11820
  "anonymous",
11777
11821
  "test",
11778
- "member",
11779
- "agent"
11822
+ "member"
11780
11823
  ]
11781
11824
  }
11782
11825
  ]
@@ -11795,14 +11838,12 @@ var MEMBER_RELATIONSHIP_KINDS = [
11795
11838
  "viewedMemberTypes": [
11796
11839
  "anonymous",
11797
11840
  "test",
11798
- "member",
11799
- "agent"
11841
+ "member"
11800
11842
  ],
11801
11843
  "relatedMemberTypes": [
11802
11844
  "anonymous",
11803
11845
  "test",
11804
- "member",
11805
- "agent"
11846
+ "member"
11806
11847
  ]
11807
11848
  },
11808
11849
  {
@@ -11813,14 +11854,12 @@ var MEMBER_RELATIONSHIP_KINDS = [
11813
11854
  "viewedMemberTypes": [
11814
11855
  "anonymous",
11815
11856
  "test",
11816
- "member",
11817
- "agent"
11857
+ "member"
11818
11858
  ],
11819
11859
  "relatedMemberTypes": [
11820
11860
  "anonymous",
11821
11861
  "test",
11822
- "member",
11823
- "agent"
11862
+ "member"
11824
11863
  ]
11825
11864
  }
11826
11865
  ]
@@ -11839,14 +11878,12 @@ var MEMBER_RELATIONSHIP_KINDS = [
11839
11878
  "viewedMemberTypes": [
11840
11879
  "anonymous",
11841
11880
  "test",
11842
- "member",
11843
- "agent"
11881
+ "member"
11844
11882
  ],
11845
11883
  "relatedMemberTypes": [
11846
11884
  "anonymous",
11847
11885
  "test",
11848
- "member",
11849
- "agent"
11886
+ "member"
11850
11887
  ]
11851
11888
  },
11852
11889
  {
@@ -11857,14 +11894,12 @@ var MEMBER_RELATIONSHIP_KINDS = [
11857
11894
  "viewedMemberTypes": [
11858
11895
  "anonymous",
11859
11896
  "test",
11860
- "member",
11861
- "agent"
11897
+ "member"
11862
11898
  ],
11863
11899
  "relatedMemberTypes": [
11864
11900
  "anonymous",
11865
11901
  "test",
11866
- "member",
11867
- "agent"
11902
+ "member"
11868
11903
  ]
11869
11904
  }
11870
11905
  ]
@@ -11883,14 +11918,12 @@ var MEMBER_RELATIONSHIP_KINDS = [
11883
11918
  "viewedMemberTypes": [
11884
11919
  "anonymous",
11885
11920
  "test",
11886
- "member",
11887
- "agent"
11921
+ "member"
11888
11922
  ],
11889
11923
  "relatedMemberTypes": [
11890
11924
  "anonymous",
11891
11925
  "test",
11892
- "member",
11893
- "agent"
11926
+ "member"
11894
11927
  ]
11895
11928
  },
11896
11929
  {
@@ -11901,14 +11934,12 @@ var MEMBER_RELATIONSHIP_KINDS = [
11901
11934
  "viewedMemberTypes": [
11902
11935
  "anonymous",
11903
11936
  "test",
11904
- "member",
11905
- "agent"
11937
+ "member"
11906
11938
  ],
11907
11939
  "relatedMemberTypes": [
11908
11940
  "anonymous",
11909
11941
  "test",
11910
- "member",
11911
- "agent"
11942
+ "member"
11912
11943
  ]
11913
11944
  }
11914
11945
  ]
@@ -11927,14 +11958,12 @@ var MEMBER_RELATIONSHIP_KINDS = [
11927
11958
  "viewedMemberTypes": [
11928
11959
  "anonymous",
11929
11960
  "test",
11930
- "member",
11931
- "agent"
11961
+ "member"
11932
11962
  ],
11933
11963
  "relatedMemberTypes": [
11934
11964
  "anonymous",
11935
11965
  "test",
11936
- "member",
11937
- "agent"
11966
+ "member"
11938
11967
  ]
11939
11968
  },
11940
11969
  {
@@ -11945,14 +11974,12 @@ var MEMBER_RELATIONSHIP_KINDS = [
11945
11974
  "viewedMemberTypes": [
11946
11975
  "anonymous",
11947
11976
  "test",
11948
- "member",
11949
- "agent"
11977
+ "member"
11950
11978
  ],
11951
11979
  "relatedMemberTypes": [
11952
11980
  "anonymous",
11953
11981
  "test",
11954
- "member",
11955
- "agent"
11982
+ "member"
11956
11983
  ]
11957
11984
  }
11958
11985
  ]
@@ -11971,14 +11998,12 @@ var MEMBER_RELATIONSHIP_KINDS = [
11971
11998
  "viewedMemberTypes": [
11972
11999
  "anonymous",
11973
12000
  "test",
11974
- "member",
11975
- "agent"
12001
+ "member"
11976
12002
  ],
11977
12003
  "relatedMemberTypes": [
11978
12004
  "anonymous",
11979
12005
  "test",
11980
- "member",
11981
- "agent"
12006
+ "member"
11982
12007
  ]
11983
12008
  },
11984
12009
  {
@@ -11989,14 +12014,12 @@ var MEMBER_RELATIONSHIP_KINDS = [
11989
12014
  "viewedMemberTypes": [
11990
12015
  "anonymous",
11991
12016
  "test",
11992
- "member",
11993
- "agent"
12017
+ "member"
11994
12018
  ],
11995
12019
  "relatedMemberTypes": [
11996
12020
  "anonymous",
11997
12021
  "test",
11998
- "member",
11999
- "agent"
12022
+ "member"
12000
12023
  ]
12001
12024
  }
12002
12025
  ]
@@ -12015,14 +12038,12 @@ var MEMBER_RELATIONSHIP_KINDS = [
12015
12038
  "viewedMemberTypes": [
12016
12039
  "anonymous",
12017
12040
  "test",
12018
- "member",
12019
- "agent"
12041
+ "member"
12020
12042
  ],
12021
12043
  "relatedMemberTypes": [
12022
12044
  "anonymous",
12023
12045
  "test",
12024
- "member",
12025
- "agent"
12046
+ "member"
12026
12047
  ]
12027
12048
  },
12028
12049
  {
@@ -12033,14 +12054,12 @@ var MEMBER_RELATIONSHIP_KINDS = [
12033
12054
  "viewedMemberTypes": [
12034
12055
  "anonymous",
12035
12056
  "test",
12036
- "member",
12037
- "agent"
12057
+ "member"
12038
12058
  ],
12039
12059
  "relatedMemberTypes": [
12040
12060
  "anonymous",
12041
12061
  "test",
12042
- "member",
12043
- "agent"
12062
+ "member"
12044
12063
  ]
12045
12064
  }
12046
12065
  ]
@@ -12059,14 +12078,12 @@ var MEMBER_RELATIONSHIP_KINDS = [
12059
12078
  "viewedMemberTypes": [
12060
12079
  "anonymous",
12061
12080
  "test",
12062
- "member",
12063
- "agent"
12081
+ "member"
12064
12082
  ],
12065
12083
  "relatedMemberTypes": [
12066
12084
  "anonymous",
12067
12085
  "test",
12068
- "member",
12069
- "agent"
12086
+ "member"
12070
12087
  ]
12071
12088
  },
12072
12089
  {
@@ -12077,14 +12094,12 @@ var MEMBER_RELATIONSHIP_KINDS = [
12077
12094
  "viewedMemberTypes": [
12078
12095
  "anonymous",
12079
12096
  "test",
12080
- "member",
12081
- "agent"
12097
+ "member"
12082
12098
  ],
12083
12099
  "relatedMemberTypes": [
12084
12100
  "anonymous",
12085
12101
  "test",
12086
- "member",
12087
- "agent"
12102
+ "member"
12088
12103
  ]
12089
12104
  }
12090
12105
  ]
@@ -13261,14 +13276,6 @@ var TeamsAppsApi = class extends BaseApiClient {
13261
13276
  `w/${wid}/app-connections/teams/apps/${appId}/installations${params.toString() ? `?${params.toString()}` : ""}`
13262
13277
  );
13263
13278
  }
13264
- /**
13265
- * The organization Bot Teams connection that delivers this workspace's
13266
- * notifications, the connections it may choose, and the caller's own
13267
- * readiness. Reads only; nothing is sent to Microsoft.
13268
- */
13269
- async getTeamsNotificationDelivery(wid) {
13270
- return this.fetch(`w/${wid}/notification-delivery/teams`);
13271
- }
13272
13279
  async getTeamsAppAccounts(wid, appId, options = {}) {
13273
13280
  const params = new URLSearchParams();
13274
13281
  if (options.page) params.append("page", options.page.toString());
@@ -13544,6 +13551,14 @@ var ActivityApi = class extends BaseApiClient {
13544
13551
  body: JSON.stringify(request)
13545
13552
  });
13546
13553
  }
13554
+ /**
13555
+ * The Workspaces an Operator Tools widget session signed in for this
13556
+ * organization reaches, as `{uuid, name}` pairs for its Workspace labels.
13557
+ * Answers only to a widget session; `[]` when it reaches none.
13558
+ */
13559
+ async listOrgWidgetWorkspaces(orgUuid) {
13560
+ return this.fetch(`o/${orgUuid}/widget-workspaces`, { method: "GET" });
13561
+ }
13547
13562
  /** The org mount's badge numbers. */
13548
13563
  async getOrgActivityCounts(orgUuid, request = {}) {
13549
13564
  return this.fetch(`o/${orgUuid}/activity/counts`, {
@@ -14056,7 +14071,7 @@ function createApiModules(apiKey, baseUrl, customFetch) {
14056
14071
  abilities: new AbilitiesApi(apiKey, baseUrl, customFetch),
14057
14072
  accessGrants: new AccessGrantsApi(apiKey, baseUrl, customFetch),
14058
14073
  agentTasks: new AgentTasksApi(apiKey, baseUrl, customFetch),
14059
- agents: new AgentsApi(apiKey, baseUrl, customFetch),
14074
+ botJobs: new BotJobsApi(apiKey, baseUrl, customFetch),
14060
14075
  aiModels: new AIModelsApi(apiKey, baseUrl, customFetch),
14061
14076
  apiKeys: new ApiKeysApi(apiKey, baseUrl, customFetch),
14062
14077
  appLinks: new AppLinksApi(apiKey, baseUrl, customFetch),
@@ -14145,7 +14160,6 @@ var WORKSPACE_METHOD_NAMES = [
14145
14160
  "addWorkspaceSupportRequestParticipants",
14146
14161
  "advanceStep",
14147
14162
  "approveWorkspaceInvitation",
14148
- "archiveAgent",
14149
14163
  "archiveChat",
14150
14164
  "archiveDataType",
14151
14165
  "archiveJourney",
@@ -14201,7 +14215,6 @@ var WORKSPACE_METHOD_NAMES = [
14201
14215
  "convertFile",
14202
14216
  "createAbility",
14203
14217
  "createAccessGrant",
14204
- "createAgent",
14205
14218
  "createApiKey",
14206
14219
  "createAssignment",
14207
14220
  "bindInstallationSlots",
@@ -14284,7 +14297,6 @@ var WORKSPACE_METHOD_NAMES = [
14284
14297
  "createWorkspaceRealtimeLoginToken",
14285
14298
  "createWorkspaceSupportRequest",
14286
14299
  "deleteAbility",
14287
- "deleteAgent",
14288
14300
  "deleteAssignment",
14289
14301
  "deleteCalendar",
14290
14302
  "deleteCalendarEvent",
@@ -14390,6 +14402,7 @@ var WORKSPACE_METHOD_NAMES = [
14390
14402
  "exportWorkspace",
14391
14403
  "exportWorkspaceZip",
14392
14404
  "fetchVoicemailAudio",
14405
+ "getVoicemailByUuid",
14393
14406
  "fhirBackfillEncounterSync",
14394
14407
  "fhirCheckPatientLinks",
14395
14408
  "fhirCreateEncounter",
@@ -14423,12 +14436,10 @@ var WORKSPACE_METHOD_NAMES = [
14423
14436
  "getAbilityTypes",
14424
14437
  "getAccessGrant",
14425
14438
  "getAccessGrants",
14426
- "getAgent",
14427
14439
  "getAgentModeAttention",
14428
14440
  "getAgentTask",
14429
14441
  "getAgentTaskMessages",
14430
14442
  "getAgentTasks",
14431
- "getAgents",
14432
14443
  "getAnonymousResolution",
14433
14444
  "getAnonymousFormSubmission",
14434
14445
  "getAnonymousFormSchema",
@@ -14628,6 +14639,7 @@ var WORKSPACE_METHOD_NAMES = [
14628
14639
  "getPatientSyncStatus",
14629
14640
  "getHubspotContactProperties",
14630
14641
  "getHubspotDealProperties",
14642
+ "getHubspotDealPipelines",
14631
14643
  "getHubspotForms",
14632
14644
  "getHubspotMeetingLinks",
14633
14645
  "getHubspotCrmObjects",
@@ -14647,6 +14659,7 @@ var WORKSPACE_METHOD_NAMES = [
14647
14659
  "getImportReadiness",
14648
14660
  "rebuildImportSkippedRules",
14649
14661
  "getInbox",
14662
+ "getChatSenderInboxes",
14650
14663
  "getInboxEmail",
14651
14664
  "getInboxEmails",
14652
14665
  "getInboxArchiveBlockers",
@@ -14711,6 +14724,7 @@ var WORKSPACE_METHOD_NAMES = [
14711
14724
  "getMyGivenGrants",
14712
14725
  "getMyReceivedGrants",
14713
14726
  "getNotification",
14727
+ "getNotificationDelivery",
14714
14728
  "getNotificationDestinations",
14715
14729
  "getNotificationRules",
14716
14730
  "getNotifications",
@@ -14795,7 +14809,6 @@ var WORKSPACE_METHOD_NAMES = [
14795
14809
  "getTeamsApps",
14796
14810
  "getTeamsConversations",
14797
14811
  "getTeamsInstallations",
14798
- "getTeamsNotificationDelivery",
14799
14812
  "getTemplateContext",
14800
14813
  "getChatTestRun",
14801
14814
  "getTestChatRun",
@@ -15024,7 +15037,6 @@ var WORKSPACE_METHOD_NAMES = [
15024
15037
  "simulateJourney",
15025
15038
  "testRunJourney",
15026
15039
  "toggleFieldIndex",
15027
- "unarchiveAgent",
15028
15040
  "unarchiveChat",
15029
15041
  "unarchiveDataType",
15030
15042
  "unarchiveMember",
@@ -15043,7 +15055,6 @@ var WORKSPACE_METHOD_NAMES = [
15043
15055
  "unlinkMemberFromSalesforce",
15044
15056
  "unregisterPushSubscription",
15045
15057
  "updateAbility",
15046
- "updateAgent",
15047
15058
  "updateAssignment",
15048
15059
  "updateCalendar",
15049
15060
  "updateCalendarEvent",
@@ -15191,17 +15202,10 @@ function bindAgentTasksMethods(target, api) {
15191
15202
  target.getAgentTaskMessages = api.getAgentTaskMessages.bind(api);
15192
15203
  }
15193
15204
 
15194
- // src/client/bindings/agents.ts
15195
- function bindAgentsMethods(target, agents) {
15196
- target.getAgents = agents.getAgents.bind(agents);
15197
- target.getAgent = agents.getAgent.bind(agents);
15198
- target.createAgent = agents.createAgent.bind(agents);
15199
- target.updateAgent = agents.updateAgent.bind(agents);
15200
- target.deleteAgent = agents.deleteAgent.bind(agents);
15201
- target.archiveAgent = agents.archiveAgent.bind(agents);
15202
- target.unarchiveAgent = agents.unarchiveAgent.bind(agents);
15203
- target.getOrgAgentJobs = agents.getOrgAgentJobs.bind(agents);
15204
- target.stopOrgAgentJob = agents.stopOrgAgentJob.bind(agents);
15205
+ // src/client/bindings/bot-jobs.ts
15206
+ function bindBotJobsMethods(target, botJobs) {
15207
+ target.getBotJobs = botJobs.getBotJobs.bind(botJobs);
15208
+ target.stopBotJob = botJobs.stopBotJob.bind(botJobs);
15205
15209
  }
15206
15210
 
15207
15211
  // src/client/bindings/tasks.ts
@@ -15230,6 +15234,8 @@ function bindChatsMethods(target, chats) {
15230
15234
  target.createChatInteractionSession = chats.createChatInteractionSession.bind(chats);
15231
15235
  target.transitionChatInteractionSession = chats.transitionChatInteractionSession.bind(chats);
15232
15236
  target.getChats = chats.getChats.bind(chats);
15237
+ target.queryOrgChats = chats.queryOrgChats.bind(chats);
15238
+ target.countOrgChats = chats.countOrgChats.bind(chats);
15233
15239
  target.getChat = chats.getChat.bind(chats);
15234
15240
  target.getChatAttention = chats.getChatAttention.bind(chats);
15235
15241
  target.getChatByUuid = chats.getChatByUuid.bind(chats);
@@ -15333,6 +15339,7 @@ function bindActivityMethods(target, activity) {
15333
15339
  target.queryOrgActivityOneView = activity.queryOrgActivityOneView.bind(activity);
15334
15340
  target.queryOrgActivityDigest = activity.queryOrgActivityDigest.bind(activity);
15335
15341
  target.getOrgActivityCounts = activity.getOrgActivityCounts.bind(activity);
15342
+ target.listOrgWidgetWorkspaces = activity.listOrgWidgetWorkspaces.bind(activity);
15336
15343
  target.queryWorkspaceActivity = activity.queryWorkspaceActivity.bind(activity);
15337
15344
  target.queryWorkspaceActivityLatestSubjects = activity.queryWorkspaceActivityLatestSubjects.bind(activity);
15338
15345
  target.queryWorkspaceActivityOpenItems = activity.queryWorkspaceActivityOpenItems.bind(activity);
@@ -15427,6 +15434,7 @@ function bindMembersMethods(target, members) {
15427
15434
  target.getMemberSmsSenders = members.getMemberSmsSenders.bind(members);
15428
15435
  target.getMemberByUuid = members.getMemberByUuid.bind(members);
15429
15436
  target.getOrgWorkspaceMember = members.getOrgWorkspaceMember.bind(members);
15437
+ target.searchOrgWorkspaceMembers = members.searchOrgWorkspaceMembers.bind(members);
15430
15438
  target.createWorkspaceMember = members.createWorkspaceMember.bind(members);
15431
15439
  target.updateMember = members.updateMember.bind(members);
15432
15440
  target.deleteMember = members.deleteMember.bind(members);
@@ -15899,6 +15907,7 @@ function bindCommunicationsMethods(target, phoneNumbers, inboxes, notificationRu
15899
15907
  target.getPhoneNumberMessages = phoneNumbers.getPhoneNumberMessages.bind(phoneNumbers);
15900
15908
  target.getPhoneNumberFaxes = phoneNumbers.getPhoneNumberFaxes.bind(phoneNumbers);
15901
15909
  target.getPhoneNumberVoicemails = phoneNumbers.getPhoneNumberVoicemails.bind(phoneNumbers);
15910
+ target.getVoicemailByUuid = phoneNumbers.getVoicemailByUuid.bind(phoneNumbers);
15902
15911
  target.fetchVoicemailAudio = phoneNumbers.fetchVoicemailAudio.bind(phoneNumbers);
15903
15912
  target.updateVoicemailStatus = phoneNumbers.updateVoicemailStatus.bind(phoneNumbers);
15904
15913
  target.releasePhoneNumber = phoneNumbers.releasePhoneNumber.bind(phoneNumbers);
@@ -15906,6 +15915,7 @@ function bindCommunicationsMethods(target, phoneNumbers, inboxes, notificationRu
15906
15915
  target.linkPhoneNumber = phoneNumbers.linkPhoneNumber.bind(phoneNumbers);
15907
15916
  target.getInboxes = inboxes.getInboxes.bind(inboxes);
15908
15917
  target.getInbox = inboxes.getInbox.bind(inboxes);
15918
+ target.getChatSenderInboxes = inboxes.getChatSenderInboxes.bind(inboxes);
15909
15919
  target.createInbox = inboxes.createInbox.bind(inboxes);
15910
15920
  target.updateInbox = inboxes.updateInbox.bind(inboxes);
15911
15921
  target.deleteInbox = inboxes.deleteInbox.bind(inboxes);
@@ -15931,6 +15941,7 @@ function bindCommunicationsMethods(target, phoneNumbers, inboxes, notificationRu
15931
15941
  target.updateNotificationRule = notificationRules.updateNotificationRule.bind(notificationRules);
15932
15942
  target.deleteNotificationRule = notificationRules.deleteNotificationRule.bind(notificationRules);
15933
15943
  target.getNotificationDestinations = notificationRules.getNotificationDestinations.bind(notificationRules);
15944
+ target.getNotificationDelivery = notificationRules.getNotificationDelivery.bind(notificationRules);
15934
15945
  }
15935
15946
 
15936
15947
  // src/client/bindings/toolkits.ts
@@ -16120,8 +16131,7 @@ function createIntegrationsBindings(apis) {
16120
16131
  "deleteTeamsApp",
16121
16132
  "getTeamsConversations",
16122
16133
  "getTeamsInstallations",
16123
- "getTeamsAppAccounts",
16124
- "getTeamsNotificationDelivery"
16134
+ "getTeamsAppAccounts"
16125
16135
  ]),
16126
16136
  ...bindMethods(apis.fhirConnections, [
16127
16137
  "getFhirConnections",
@@ -16258,6 +16268,7 @@ function createIntegrationsBindings(apis) {
16258
16268
  "importHubspotMembers",
16259
16269
  "getHubspotContactProperties",
16260
16270
  "getHubspotDealProperties",
16271
+ "getHubspotDealPipelines",
16261
16272
  "getHubspotForms",
16262
16273
  "getHubspotMeetingLinks",
16263
16274
  "getHubspotCrmObjects",
@@ -16352,6 +16363,10 @@ function bindOrgMethods(target, org) {
16352
16363
  target.listLegalEntities = org.listLegalEntities.bind(org);
16353
16364
  target.getLegalEntity = org.getLegalEntity.bind(org);
16354
16365
  target.createLegalEntity = org.createLegalEntity.bind(org);
16366
+ target.getBusinessImportColumns = org.getBusinessImportColumns.bind(org);
16367
+ target.getBusinessImportTemplate = org.getBusinessImportTemplate.bind(org);
16368
+ target.previewBusinessImport = org.previewBusinessImport.bind(org);
16369
+ target.importBusinesses = org.importBusinesses.bind(org);
16355
16370
  target.getRegistrationDraft = org.getRegistrationDraft.bind(org);
16356
16371
  target.saveRegistrationDraft = org.saveRegistrationDraft.bind(org);
16357
16372
  target.getVoiceTrustProducts = org.getVoiceTrustProducts.bind(org);
@@ -16678,6 +16693,8 @@ var GravityRailClient = class {
16678
16693
  // Chats API
16679
16694
  chat;
16680
16695
  getChats;
16696
+ queryOrgChats;
16697
+ countOrgChats;
16681
16698
  getChat;
16682
16699
  getChatAttention;
16683
16700
  getChatByUuid;
@@ -16802,6 +16819,7 @@ var GravityRailClient = class {
16802
16819
  // Org-scoped, so deliberately absent from WORKSPACE_METHOD_NAMES: that proxy
16803
16820
  // passes a workspace uuid as the first argument.
16804
16821
  getOrgWorkspaceMember;
16822
+ searchOrgWorkspaceMembers;
16805
16823
  createWorkspaceMember;
16806
16824
  updateMember;
16807
16825
  deleteMember;
@@ -16868,16 +16886,9 @@ var GravityRailClient = class {
16868
16886
  getAgentTask;
16869
16887
  cancelAgentTask;
16870
16888
  getAgentTaskMessages;
16871
- // Agents API
16872
- getAgents;
16873
- getAgent;
16874
- createAgent;
16875
- updateAgent;
16876
- deleteAgent;
16877
- archiveAgent;
16878
- unarchiveAgent;
16879
- getOrgAgentJobs;
16880
- stopOrgAgentJob;
16889
+ // Org Agent Jobs API
16890
+ getBotJobs;
16891
+ stopBotJob;
16881
16892
  // Qualifications API
16882
16893
  getQualifications;
16883
16894
  getQualification;
@@ -16957,6 +16968,7 @@ var GravityRailClient = class {
16957
16968
  queryOrgActivityOneView;
16958
16969
  queryOrgActivityDigest;
16959
16970
  getOrgActivityCounts;
16971
+ listOrgWidgetWorkspaces;
16960
16972
  queryWorkspaceActivity;
16961
16973
  queryWorkspaceActivityLatestSubjects;
16962
16974
  queryWorkspaceActivityOpenItems;
@@ -17199,6 +17211,10 @@ var GravityRailClient = class {
17199
17211
  listLegalEntities;
17200
17212
  getLegalEntity;
17201
17213
  createLegalEntity;
17214
+ getBusinessImportColumns;
17215
+ getBusinessImportTemplate;
17216
+ previewBusinessImport;
17217
+ importBusinesses;
17202
17218
  getRegistrationDraft;
17203
17219
  saveRegistrationDraft;
17204
17220
  getVoiceTrustProducts;
@@ -17540,6 +17556,7 @@ var GravityRailClient = class {
17540
17556
  getPhoneNumberMessages;
17541
17557
  getPhoneNumberFaxes;
17542
17558
  getPhoneNumberVoicemails;
17559
+ getVoicemailByUuid;
17543
17560
  fetchVoicemailAudio;
17544
17561
  updateVoicemailStatus;
17545
17562
  releasePhoneNumber;
@@ -17547,6 +17564,7 @@ var GravityRailClient = class {
17547
17564
  linkPhoneNumber;
17548
17565
  getInboxes;
17549
17566
  getInbox;
17567
+ getChatSenderInboxes;
17550
17568
  createInbox;
17551
17569
  updateInbox;
17552
17570
  deleteInbox;
@@ -17572,6 +17590,7 @@ var GravityRailClient = class {
17572
17590
  updateNotificationRule;
17573
17591
  deleteNotificationRule;
17574
17592
  getNotificationDestinations;
17593
+ getNotificationDelivery;
17575
17594
  // Toolkits API
17576
17595
  getToolkits;
17577
17596
  getTool;
@@ -17748,7 +17767,6 @@ var GravityRailClient = class {
17748
17767
  getTeamsConversations;
17749
17768
  getTeamsInstallations;
17750
17769
  getTeamsAppAccounts;
17751
- getTeamsNotificationDelivery;
17752
17770
  // FHIR Connections API
17753
17771
  getFhirConnections;
17754
17772
  getFhirConnection;
@@ -17875,6 +17893,7 @@ var GravityRailClient = class {
17875
17893
  importHubspotMembers;
17876
17894
  getHubspotContactProperties;
17877
17895
  getHubspotDealProperties;
17896
+ getHubspotDealPipelines;
17878
17897
  getHubspotForms;
17879
17898
  getHubspotMeetingLinks;
17880
17899
  getHubspotCrmObjects;
@@ -18032,7 +18051,7 @@ var GravityRailClient = class {
18032
18051
  bindDevicesMethods(this, apis.devices);
18033
18052
  bindMembersMethods(this, apis.members);
18034
18053
  bindAgentTasksMethods(this, apis.agentTasks);
18035
- bindAgentsMethods(this, apis.agents);
18054
+ bindBotJobsMethods(this, apis.botJobs);
18036
18055
  bindQualificationsMethods(this, apis.qualifications);
18037
18056
  bindPersonasMethods(this, apis.personas);
18038
18057
  bindMetricsMethods(this, apis.metrics);
@@ -19634,7 +19653,6 @@ export {
19634
19653
  InstallationsApi,
19635
19654
  AccessGrantsApi,
19636
19655
  AgentTasksApi,
19637
- AgentsApi,
19638
19656
  AIModelsApi,
19639
19657
  ApiKeysApi,
19640
19658
  AppLinksApi,
@@ -19674,6 +19692,7 @@ export {
19674
19692
  OrgApiKeyLimitUnconfirmedError,
19675
19693
  OrgWebhookScopeUnconfirmedError,
19676
19694
  OrgApi,
19695
+ BotJobsApi,
19677
19696
  OAuthConnectionsApi,
19678
19697
  OAuthApi,
19679
19698
  PhoneNumbersApi,
@@ -19839,7 +19858,7 @@ export {
19839
19858
  bindAppLinksMethods,
19840
19859
  bindInterventionRequestsMethods,
19841
19860
  bindAgentTasksMethods,
19842
- bindAgentsMethods,
19861
+ bindBotJobsMethods,
19843
19862
  bindTasksMethods,
19844
19863
  bindChatsMethods,
19845
19864
  bindCallsMethods,
@@ -19967,4 +19986,4 @@ export {
19967
19986
  pathDraftFromStorage,
19968
19987
  pathDraftToStorage
19969
19988
  };
19970
- //# sourceMappingURL=chunk-U2U5X3LY.js.map
19989
+ //# sourceMappingURL=chunk-7LQYEV5Y.js.map