@gravity-rail/sdk 0.53.0 → 0.55.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 (39) hide show
  1. package/README.md +89 -37
  2. package/dist/{chat-interaction-CklXa8iQ.d.cts → chat-interaction-CZnqOfut.d.ts} +1212 -69
  3. package/dist/{chat-interaction-Dei_j8Sd.d.ts → chat-interaction-DZCWRbDi.d.cts} +1212 -69
  4. package/dist/{chunk-6F4YJJKQ.js → chunk-BF4MOZZO.js} +339 -7
  5. package/dist/chunk-BF4MOZZO.js.map +1 -0
  6. package/dist/{chunk-MMDSZ25F.js → chunk-HXVJF54M.js} +1 -1
  7. package/dist/chunk-HXVJF54M.js.map +1 -0
  8. package/dist/helpers.d.cts +4 -4
  9. package/dist/helpers.d.ts +4 -4
  10. package/dist/index.cjs +344 -6
  11. package/dist/index.cjs.map +1 -1
  12. package/dist/index.d.cts +7 -6
  13. package/dist/index.d.ts +7 -6
  14. package/dist/index.js +15 -2
  15. package/dist/index.js.map +1 -1
  16. package/dist/internal.cjs +363 -9
  17. package/dist/internal.cjs.map +1 -1
  18. package/dist/internal.d.cts +6 -5
  19. package/dist/internal.d.ts +6 -5
  20. package/dist/internal.js +33 -5
  21. package/dist/internal.js.map +1 -1
  22. package/dist/{member-import-Do6D2g14.d.ts → member-import-D1QvZiy5.d.ts} +1 -1
  23. package/dist/{member-import-BtTWfQ46.d.cts → member-import-DzuvKnMC.d.cts} +1 -1
  24. package/dist/{path-DKPLfZj4.d.ts → path-C6Ujx-3w.d.cts} +51 -53
  25. package/dist/{path-D1ZCbboc.d.cts → path-YfkJBAbf.d.ts} +51 -53
  26. package/dist/realtime.cjs +26 -0
  27. package/dist/realtime.cjs.map +1 -1
  28. package/dist/realtime.d.cts +17 -0
  29. package/dist/realtime.d.ts +17 -0
  30. package/dist/realtime.js +26 -0
  31. package/dist/realtime.js.map +1 -1
  32. package/dist/schemas.d.cts +2 -2
  33. package/dist/schemas.d.ts +2 -2
  34. package/dist/schemas.js +1 -1
  35. package/dist/{tasks-JweebIce.d.cts → tasks-BdYhYUpU.d.cts} +92 -26
  36. package/dist/{tasks-JweebIce.d.ts → tasks-BdYhYUpU.d.ts} +92 -26
  37. package/package.json +1 -1
  38. package/dist/chunk-6F4YJJKQ.js.map +0 -1
  39. package/dist/chunk-MMDSZ25F.js.map +0 -1
@@ -3406,6 +3406,36 @@ var FhirConnectionsApi = class extends BaseApiClient {
3406
3406
  { method: "POST", body: JSON.stringify(data) }
3407
3407
  );
3408
3408
  }
3409
+ /**
3410
+ * Start, resume, override or preview (dry run) an athenahealth connection's
3411
+ * onboarding import. The body is exactly the three mode flags; the server
3412
+ * traverses the connection's configured department/status pairs. Returns
3413
+ * 202 with the Temporal workflow and run ids. Requires `workspace:admin`.
3414
+ */
3415
+ async fhirStartOnboardingImport(wid, connectionId, data = {}) {
3416
+ const body = {
3417
+ dryRun: data.dryRun ?? false,
3418
+ resume: data.resume ?? false,
3419
+ override: data.override ?? false
3420
+ };
3421
+ return this.fetch(
3422
+ `w/${wid}/app-connections/fhir/connections/${connectionId}/onboarding-import`,
3423
+ {
3424
+ method: "POST",
3425
+ body: JSON.stringify(body)
3426
+ }
3427
+ );
3428
+ }
3429
+ /**
3430
+ * Read an athenahealth connection's onboarding-import progress (durable,
3431
+ * approximate totals) and its known Temporal execution. GET-only: never
3432
+ * starts or resumes work. Requires `workspace:admin`.
3433
+ */
3434
+ async fhirGetOnboardingImportStatus(wid, connectionId) {
3435
+ return this.fetch(
3436
+ `w/${wid}/app-connections/fhir/connections/${connectionId}/onboarding-import`
3437
+ );
3438
+ }
3409
3439
  };
3410
3440
 
3411
3441
  // src/types/generated/inbound_fax.ts
@@ -3616,8 +3646,8 @@ var FilesApi = class extends BaseApiClient {
3616
3646
  * Download one file's bytes via GET ``.../files/{id}/contents/{filename}``.
3617
3647
  *
3618
3648
  * Uses this client's base URL (FastAPI on the app, same-origin ``/api/v2``
3619
- * on scoped site sessions) so the payload does not transit the Next.js
3620
- * ``/api/w/.../files/...`` Lambda proxy, which 500s above the 6MB sync cap.
3649
+ * on scoped site sessions). The Next.js ``/api/w/.../files/...`` route
3650
+ * redirects to this same contents path; calling it directly skips the hop.
3621
3651
  */
3622
3652
  async downloadFileContents(wid, id, filename) {
3623
3653
  const response = await this.fetchRaw(
@@ -3701,9 +3731,9 @@ var FilesApi = class extends BaseApiClient {
3701
3731
  );
3702
3732
  }
3703
3733
  /**
3704
- * Same-origin proxy URL for a version's raw contents. Mirrors the shape of
3705
- * `FileResponse.cdnUrl`: an app-relative Next.js route that authenticates
3706
- * via session cookies and forwards to the versioned contents endpoint.
3734
+ * Same-origin URL for a version's raw contents. The Next.js route
3735
+ * requires a session and redirects to the versioned FastAPI contents
3736
+ * endpoint. Mirrors the shape of `FileResponse.cdnUrl`.
3707
3737
  */
3708
3738
  getFileVersionContentsUrl(wid, fileId, versionNumber) {
3709
3739
  return `/api/w/${wid}/files/${fileId}/versions/${versionNumber}/contents`;
@@ -3735,6 +3765,19 @@ var FilesApi = class extends BaseApiClient {
3735
3765
  const parentId = typeof parentIdOrOpts === "number" ? parentIdOrOpts : parentIdOrOpts.parentId;
3736
3766
  return this.fetch(`w/${wid}/folders?parent_id=${parentId}`);
3737
3767
  }
3768
+ /**
3769
+ * Readable children of many parents in one request.
3770
+ *
3771
+ * Every id comes back as a key. A parent with no readable children maps to
3772
+ * an empty list. The server accepts at most 100 ids per call.
3773
+ */
3774
+ async getFolderChildren(wid, parentIds) {
3775
+ const params = new URLSearchParams();
3776
+ for (const parentId of parentIds) {
3777
+ params.append("parent_ids", String(parentId));
3778
+ }
3779
+ return this.fetch(`w/${wid}/folders/children?${params}`);
3780
+ }
3738
3781
  /** Get a single folder by ID. */
3739
3782
  async getFolder(wid, id) {
3740
3783
  return this.fetch(`w/${wid}/folders/${id}`);
@@ -4180,6 +4223,19 @@ var AppConnectionsApi = class extends BaseApiClient {
4180
4223
  body: JSON.stringify(data)
4181
4224
  });
4182
4225
  }
4226
+ /**
4227
+ * Create a public Zendesk Help Center connection with its sync paused.
4228
+ *
4229
+ * The acting Member becomes the sync owner. Later settings edits,
4230
+ * pause/resume, Sync now and run history use the generic connection-sync
4231
+ * methods (`updateConnectionSyncConfig`, `startSyncRun`, `getSyncRuns`).
4232
+ */
4233
+ async configureZendeskConnection(wid, data) {
4234
+ return this.fetch(`w/${wid}/app-connections/zendesk/configure`, {
4235
+ method: "POST",
4236
+ body: JSON.stringify(data)
4237
+ });
4238
+ }
4183
4239
  /**
4184
4240
  * Get platform app connection details by UUID.
4185
4241
  */
@@ -6233,6 +6289,45 @@ var OrgApi = class extends BaseApiClient {
6233
6289
  `o/${orgIdOrUuid}/webhooks/${endpointUuid}/deliveries?limit=${limit}`
6234
6290
  );
6235
6291
  }
6292
+ /**
6293
+ * Requeue one dead-lettered or expired delivery on its existing row.
6294
+ *
6295
+ * The response is identifiers only. The drain signs a fresh timestamp
6296
+ * when it sends; this call does not POST to the receiver.
6297
+ */
6298
+ async replayOrgWebhookDelivery(orgIdOrUuid, endpointUuid, deliveryId) {
6299
+ return this.fetch(
6300
+ `o/${orgIdOrUuid}/webhooks/${endpointUuid}/deliveries/${deliveryId}/replay`,
6301
+ {
6302
+ method: "POST",
6303
+ body: JSON.stringify({})
6304
+ }
6305
+ );
6306
+ }
6307
+ /**
6308
+ * Expire every pending delivery of a paused or disabled endpoint, so a
6309
+ * resume does not re-send a held backlog the receiver keeps rejecting.
6310
+ * Refused with 409 while the endpoint is active. Dead-lettered rows
6311
+ * are untouched; expired rows stay replayable one at a time.
6312
+ */
6313
+ async discardPendingOrgWebhookDeliveries(orgIdOrUuid, endpointUuid) {
6314
+ return this.fetch(
6315
+ `o/${orgIdOrUuid}/webhooks/${endpointUuid}/deliveries/discard-pending`,
6316
+ {
6317
+ method: "POST",
6318
+ body: JSON.stringify({})
6319
+ }
6320
+ );
6321
+ }
6322
+ /**
6323
+ * Which covered workspaces have the subscribed Forms opted in
6324
+ * (`webhookEventsEnabled`). Record events only.
6325
+ */
6326
+ async getOrgWebhookEndpointCoverage(orgIdOrUuid, endpointUuid) {
6327
+ return this.fetch(
6328
+ `o/${orgIdOrUuid}/webhooks/${endpointUuid}/coverage`
6329
+ );
6330
+ }
6236
6331
  /**
6237
6332
  * A representative delivery body for one event type — what the test-send
6238
6333
  * editor is prefilled with, and the same builder the public event catalog
@@ -6294,6 +6389,57 @@ var OrgApi = class extends BaseApiClient {
6294
6389
  method: "DELETE"
6295
6390
  });
6296
6391
  }
6392
+ // =========================================================================
6393
+ // Workspace labels — the organization's own taxonomy of its workspaces
6394
+ // =========================================================================
6395
+ /** Every label of the organization, with workspace and webhook-selector counts. */
6396
+ async listWorkspaceLabels(orgIdOrUuid) {
6397
+ return this.fetch(`o/${orgIdOrUuid}/workspace-labels`);
6398
+ }
6399
+ async createWorkspaceLabel(orgIdOrUuid, data) {
6400
+ return this.fetch(`o/${orgIdOrUuid}/workspace-labels`, {
6401
+ method: "POST",
6402
+ body: JSON.stringify(data)
6403
+ });
6404
+ }
6405
+ /** Rename or recolor a label. The slug never changes. */
6406
+ async updateWorkspaceLabel(orgIdOrUuid, labelUuid, data) {
6407
+ return this.fetch(`o/${orgIdOrUuid}/workspace-labels/${labelUuid}`, {
6408
+ method: "PATCH",
6409
+ body: JSON.stringify(data)
6410
+ });
6411
+ }
6412
+ /** Delete a label. Refused (409) while a webhook label selector requires it. */
6413
+ async deleteWorkspaceLabel(orgIdOrUuid, labelUuid) {
6414
+ return this.fetch(`o/${orgIdOrUuid}/workspace-labels/${labelUuid}`, {
6415
+ method: "DELETE"
6416
+ });
6417
+ }
6418
+ /**
6419
+ * Which workspaces a webhook scope (explicit workspaces plus a label
6420
+ * selector) would cover right now. Both empty means the whole organization.
6421
+ */
6422
+ async previewWorkspaceScope(orgIdOrUuid, data) {
6423
+ return this.fetch(
6424
+ `o/${orgIdOrUuid}/workspace-labels/preview-scope`,
6425
+ { method: "POST", body: JSON.stringify(data) }
6426
+ );
6427
+ }
6428
+ async getWorkspaceLabels(orgIdOrUuid, workspaceUuid) {
6429
+ return this.fetch(
6430
+ `o/${orgIdOrUuid}/workspaces/${workspaceUuid}/labels`
6431
+ );
6432
+ }
6433
+ /**
6434
+ * Replace a workspace's labels with exactly `data.labels` (slugs). A slug the
6435
+ * organization has not used before creates that label.
6436
+ */
6437
+ async setWorkspaceLabels(orgIdOrUuid, workspaceUuid, data) {
6438
+ return this.fetch(
6439
+ `o/${orgIdOrUuid}/workspaces/${workspaceUuid}/labels`,
6440
+ { method: "PUT", body: JSON.stringify(data) }
6441
+ );
6442
+ }
6297
6443
  };
6298
6444
  function businessProfilePath(orgUuid, legalEntityUuid) {
6299
6445
  return legalEntityUuid ? `o/${orgUuid}/legal-entities/${legalEntityUuid}/business-profile` : `o/${orgUuid}/business-profile`;
@@ -6353,6 +6499,39 @@ var OAuthApi = class extends BaseApiClient {
6353
6499
  body: JSON.stringify(request)
6354
6500
  });
6355
6501
  }
6502
+ async denyAuthorization(request) {
6503
+ return this.fetch("oauth/authorize/deny", {
6504
+ method: "POST",
6505
+ body: JSON.stringify(request)
6506
+ });
6507
+ }
6508
+ async getOAuthConsentClient(clientId, redirectUri, resource) {
6509
+ const params = new URLSearchParams({ client_id: clientId, redirect_uri: redirectUri });
6510
+ if (resource) params.set("resource", resource);
6511
+ return this.fetch(`oauth/authorize/client?${params.toString()}`);
6512
+ }
6513
+ /** The organizations and workspaces the MCP consent screen may offer. */
6514
+ async getMcpConsentTargets(clientId) {
6515
+ const params = new URLSearchParams({ client_id: clientId });
6516
+ return this.fetch(`oauth/authorize/mcp-targets?${params.toString()}`);
6517
+ }
6518
+ /** The signed-in account's MCP grants. */
6519
+ async listMcpGrants() {
6520
+ return this.fetch("oauth/mcp-grants");
6521
+ }
6522
+ /** Remove organizations or workspaces from one MCP grant. */
6523
+ async narrowMcpGrant(grantId, removeTargetIds) {
6524
+ return this.fetch(`oauth/mcp-grants/${encodeURIComponent(grantId)}`, {
6525
+ method: "PATCH",
6526
+ body: JSON.stringify({ removeTargetIds })
6527
+ });
6528
+ }
6529
+ /** Revoke one MCP grant. */
6530
+ async revokeMcpGrant(grantId) {
6531
+ return this.fetch(`oauth/mcp-grants/${encodeURIComponent(grantId)}`, {
6532
+ method: "DELETE"
6533
+ });
6534
+ }
6356
6535
  async exchangeOAuthToken(request) {
6357
6536
  const formData = new URLSearchParams();
6358
6537
  formData.append("grant_type", request.grant_type);
@@ -8861,6 +9040,20 @@ var WorkflowsApi = class extends BaseApiClient {
8861
9040
  async getWorkflowOutline(wid, id) {
8862
9041
  return this.fetch(`w/${wid}/workflows/${id}/outline`);
8863
9042
  }
9043
+ /**
9044
+ * Outlines for many Workflows in one request. The same shape as
9045
+ * {@link getWorkflowOutline}, keyed by workflow id. Ids the caller cannot
9046
+ * use, and outlines that cannot be read, are absent.
9047
+ *
9048
+ * The route accepts at most 100 ids. Callers with a longer list chunk.
9049
+ */
9050
+ async getWorkflowsOutlineBatch(wid, workflowIds) {
9051
+ const params = new URLSearchParams();
9052
+ params.set("workflowIds", workflowIds.join(","));
9053
+ return this.fetch(
9054
+ `w/${wid}/workflows/outline/batch?${params.toString()}`
9055
+ );
9056
+ }
8864
9057
  /** Create a new workflow in a workspace. */
8865
9058
  async createWorkflow(wid, workflow) {
8866
9059
  return this.fetch(`w/${wid}/workflows`, {
@@ -8959,6 +9152,13 @@ var WorkflowsApi = class extends BaseApiClient {
8959
9152
  `w/${wid}/workflows/${workflowId}/prompt-classifications`
8960
9153
  );
8961
9154
  }
9155
+ /** Review prompt diagnoses and report rebutted findings to Customer Success. */
9156
+ async reviewWorkflowPromptClassifications(wid, workflowId) {
9157
+ return this.fetch(
9158
+ `w/${wid}/workflows/${workflowId}/prompt-classifications`,
9159
+ { method: "POST" }
9160
+ );
9161
+ }
8962
9162
  /**
8963
9163
  * Replay automatic routing for a Chat without performing the transition.
8964
9164
  *
@@ -9592,6 +9792,7 @@ var WorkspaceFeature = /* @__PURE__ */ ((WorkspaceFeature2) => {
9592
9792
  WorkspaceFeature2["CRM_SALESFORCE"] = "crm_salesforce";
9593
9793
  WorkspaceFeature2["CRM_HUBSPOT"] = "crm_hubspot";
9594
9794
  WorkspaceFeature2["CONFLUENCE"] = "confluence";
9795
+ WorkspaceFeature2["ZENDESK"] = "zendesk";
9595
9796
  WorkspaceFeature2["AGENT_MEMORY"] = "agent_memory";
9596
9797
  WorkspaceFeature2["IMAGE_GENERATION"] = "image_generation";
9597
9798
  WorkspaceFeature2["CHARLESTON_NEPHROLOGY_PMD_PAGING"] = "charleston_nephrology_pmd_paging";
@@ -9698,6 +9899,7 @@ var ModelProvider = {
9698
9899
  google: "google",
9699
9900
  anthropic: "anthropic",
9700
9901
  aws: "aws",
9902
+ elevenlabs: "elevenlabs",
9701
9903
  deepgram: "deepgram",
9702
9904
  xai: "xai",
9703
9905
  fireworks: "fireworks",
@@ -9724,7 +9926,12 @@ var STT_MODEL_DEEPGRAM_FLUX = "deepgram:stt:flux-general-en";
9724
9926
  var STT_MODEL_DEEPGRAM_FLUX_SELFHOST = "deepgram:stt:flux-general-en:selfhost";
9725
9927
  var STT_MODEL_DEEPGRAM_FLUX_MULTI = "deepgram:stt:flux-general-multi";
9726
9928
  var STT_MODEL_DEEPGRAM_FLUX_MULTI_SELFHOST = "deepgram:stt:flux-general-multi:selfhost";
9929
+ var STT_MODEL_ELEVENLABS_SCRIBE_V2_REALTIME = "elevenlabs:stt:scribe_v2_realtime";
9727
9930
  var TTS_MODEL_XAI_V1 = "xai:tts:v1";
9931
+ var TTS_MODEL_ELEVENLABS_FLASH = "elevenlabs:tts:eleven_flash_v2_5";
9932
+ var TTS_MODEL_ELEVENLABS_TURBO = "elevenlabs:tts:eleven_turbo_v2_5";
9933
+ var TTS_MODEL_ELEVENLABS_MULTILINGUAL = "elevenlabs:tts:eleven_multilingual_v2";
9934
+ var TTS_MODEL_ELEVENLABS_V4_TURBO = "elevenlabs:tts:eleven_v4_turbo";
9728
9935
  var TTS_MODEL_DEEPGRAM_AURA_2 = "deepgram:tts:aura-2";
9729
9936
  var TTS_MODEL_AWS_POLLY_GENERATIVE = "aws:tts:polly-generative";
9730
9937
  var TTS_MODEL_AWS_POLLY_NEURAL = "aws:tts:polly-neural";
@@ -10351,6 +10558,17 @@ var WorkspacesApi = class extends BaseApiClient {
10351
10558
  async getWorkspaces(options) {
10352
10559
  return this.fetch(`w/?${workspaceDirectoryParams(options)}`);
10353
10560
  }
10561
+ /**
10562
+ * Page 1 of each organization's workspace directory, in one request.
10563
+ * Later pages stay on ``getWorkspaces({ organizationUuid, page })``.
10564
+ */
10565
+ async getOrganizationWorkspacePages(options) {
10566
+ const params = new URLSearchParams();
10567
+ if (options.pageSize !== void 0) params.set("pageSize", String(options.pageSize));
10568
+ if (options.search) params.set("search", options.search);
10569
+ for (const uuid of options.organizationUuids) params.append("organizationUuids", uuid);
10570
+ return this.fetch(`w/organization-pages?${params}`);
10571
+ }
10354
10572
  /** A bounded page of companion-device candidates, with admission checked per row. */
10355
10573
  async getDeviceAdmissibleWorkspaces(options) {
10356
10574
  const params = workspaceDirectoryParams(options);
@@ -11587,6 +11805,21 @@ var MetricsApi = class extends BaseApiClient {
11587
11805
  }
11588
11806
  };
11589
11807
 
11808
+ // src/api/data-reports.ts
11809
+ var DataReportsApi = class extends BaseApiClient {
11810
+ /**
11811
+ * Run a Form Reports report, saved or not, with the given parameter values.
11812
+ * The result is what the Agent would get: record rows or aggregate groups
11813
+ * within the tool's row and group caps, plus the text sent to the Agent.
11814
+ */
11815
+ async previewDataReport(wid, request) {
11816
+ return this.fetch(`w/${wid}/data-reports/preview`, {
11817
+ method: "POST",
11818
+ body: JSON.stringify(request)
11819
+ });
11820
+ }
11821
+ };
11822
+
11590
11823
  // src/api/projects.ts
11591
11824
  var ProjectsApi = class extends BaseApiClient {
11592
11825
  /** List projects (README frontmatter summaries). */
@@ -11860,6 +12093,7 @@ function createApiModules(apiKey, baseUrl, customFetch) {
11860
12093
  qualifications: new QualificationsApi(apiKey, baseUrl, customFetch),
11861
12094
  personas: new PersonasApi(apiKey, baseUrl, customFetch),
11862
12095
  metrics: new MetricsApi(apiKey, baseUrl, customFetch),
12096
+ dataReports: new DataReportsApi(apiKey, baseUrl, customFetch),
11863
12097
  queries: new QueriesApi(apiKey, baseUrl, customFetch),
11864
12098
  reports: new ReportsApi(apiKey, baseUrl, customFetch),
11865
12099
  resourceWorkflows: new ResourceWorkflowsApi(apiKey, baseUrl, customFetch),
@@ -11935,6 +12169,7 @@ var WORKSPACE_METHOD_NAMES = [
11935
12169
  "configureHubspot",
11936
12170
  "configureMondayConnection",
11937
12171
  "configureSalesforce",
12172
+ "configureZendeskConnection",
11938
12173
  "convertEmail",
11939
12174
  "convertFile",
11940
12175
  "createAbility",
@@ -12131,6 +12366,7 @@ var WORKSPACE_METHOD_NAMES = [
12131
12366
  "fhirGetCsvImportSettings",
12132
12367
  "fhirGetEncounterSyncRuns",
12133
12368
  "fhirGetEncounterSyncStatus",
12369
+ "fhirGetOnboardingImportStatus",
12134
12370
  "fhirImportPatient",
12135
12371
  "fhirLinkMember",
12136
12372
  "fhirListLinkedMembers",
@@ -12139,6 +12375,7 @@ var WORKSPACE_METHOD_NAMES = [
12139
12375
  "fhirSearchLocations",
12140
12376
  "fhirSearchPatients",
12141
12377
  "fhirSearchPractitioners",
12378
+ "fhirStartOnboardingImport",
12142
12379
  "fhirSyncMember",
12143
12380
  "fhirUnlinkMember",
12144
12381
  "fhirUpdateCsvImportSettings",
@@ -12295,6 +12532,7 @@ var WORKSPACE_METHOD_NAMES = [
12295
12532
  "importSiteSourceZip",
12296
12533
  "installDocumoFax",
12297
12534
  "listChatRecordings",
12535
+ "previewDataReport",
12298
12536
  "previewQuery",
12299
12537
  "publishSiteSource",
12300
12538
  "publishDataTypeDraft",
@@ -12318,6 +12556,7 @@ var WORKSPACE_METHOD_NAMES = [
12318
12556
  "getFiles",
12319
12557
  "getFirstRunState",
12320
12558
  "getFolder",
12559
+ "getFolderChildren",
12321
12560
  "getFolderMemberAccess",
12322
12561
  "getFolderSharing",
12323
12562
  "getFolders",
@@ -12492,6 +12731,7 @@ var WORKSPACE_METHOD_NAMES = [
12492
12731
  "getWorkflowConfigValidation",
12493
12732
  "getWorkflowFeedback",
12494
12733
  "getWorkflowPromptClassifications",
12734
+ "reviewWorkflowPromptClassifications",
12495
12735
  "getWorkflowContributors",
12496
12736
  "getWorkflowDeletionPreview",
12497
12737
  "getWorkflowDiagram",
@@ -12503,6 +12743,7 @@ var WORKSPACE_METHOD_NAMES = [
12503
12743
  "getWorkflowTemplates",
12504
12744
  "getWorkflows",
12505
12745
  "getWorkflowsActivityBatch",
12746
+ "getWorkflowsOutlineBatch",
12506
12747
  "getWorkspace",
12507
12748
  "getWorkspaceActivityCounts",
12508
12749
  "getWorkspaceBuilder",
@@ -13125,6 +13366,7 @@ function bindMembersMethods(target, members) {
13125
13366
  // src/client/bindings/workspaces.ts
13126
13367
  function bindWorkspacesMethods(target, workspaces, signupRequests) {
13127
13368
  target.getWorkspaces = workspaces.getWorkspaces.bind(workspaces);
13369
+ target.getOrganizationWorkspacePages = workspaces.getOrganizationWorkspacePages.bind(workspaces);
13128
13370
  target.getDeviceAdmissibleWorkspaces = workspaces.getDeviceAdmissibleWorkspaces.bind(workspaces);
13129
13371
  target.getPublicWorkspaces = workspaces.getPublicWorkspaces.bind(workspaces);
13130
13372
  target.getWorkspace = workspaces.getWorkspace.bind(workspaces);
@@ -13326,6 +13568,7 @@ function bindFilesMethods(target, files) {
13326
13568
  target.convertFile = files.convertFile.bind(files);
13327
13569
  target.generateFileUploadUrl = files.generateFileUploadUrl.bind(files);
13328
13570
  target.getFolders = files.getFolders.bind(files);
13571
+ target.getFolderChildren = files.getFolderChildren.bind(files);
13329
13572
  target.getFolder = files.getFolder.bind(files);
13330
13573
  target.createFolder = files.createFolder.bind(files);
13331
13574
  target.updateFolder = files.updateFolder.bind(files);
@@ -13414,6 +13657,7 @@ function bindWorkflowsMethods(target, workflows, workflowNotes, voice, superviso
13414
13657
  target.getWorkflowsActivityBatch = workflows.getWorkflowsActivityBatch.bind(workflows);
13415
13658
  target.getWorkflowDiagram = workflows.getWorkflowDiagram.bind(workflows);
13416
13659
  target.getWorkflowOutline = workflows.getWorkflowOutline.bind(workflows);
13660
+ target.getWorkflowsOutlineBatch = workflows.getWorkflowsOutlineBatch.bind(workflows);
13417
13661
  target.createWorkflow = workflows.createWorkflow.bind(workflows);
13418
13662
  target.updateWorkflow = workflows.updateWorkflow.bind(workflows);
13419
13663
  target.getWorkflowDeletionPreview = workflows.getWorkflowDeletionPreview.bind(workflows);
@@ -13427,6 +13671,7 @@ function bindWorkflowsMethods(target, workflows, workflowNotes, voice, superviso
13427
13671
  target.getTaskChats = workflows.getTaskChats.bind(workflows);
13428
13672
  target.getWorkflowConfigValidation = workflows.getWorkflowConfigValidation.bind(workflows);
13429
13673
  target.getWorkflowPromptClassifications = workflows.getWorkflowPromptClassifications.bind(workflows);
13674
+ target.reviewWorkflowPromptClassifications = workflows.reviewWorkflowPromptClassifications.bind(workflows);
13430
13675
  target.getWorkflowNotes = workflowNotes.getWorkflowNotes.bind(workflowNotes);
13431
13676
  target.createWorkflowNote = workflowNotes.createWorkflowNote.bind(workflowNotes);
13432
13677
  target.updateWorkflowNote = workflowNotes.updateWorkflowNote.bind(workflowNotes);
@@ -13633,6 +13878,12 @@ function bindAppsMethods(target, apps, builders, inquiries, oauth, oauthConnecti
13633
13878
  target.deleteInquiry = inquiries.deleteInquiry.bind(inquiries);
13634
13879
  target.exportInquiriesCsv = inquiries.exportInquiriesCsv.bind(inquiries);
13635
13880
  target.authorize = oauth.authorize.bind(oauth);
13881
+ target.denyAuthorization = oauth.denyAuthorization.bind(oauth);
13882
+ target.getOAuthConsentClient = oauth.getOAuthConsentClient.bind(oauth);
13883
+ target.getMcpConsentTargets = oauth.getMcpConsentTargets.bind(oauth);
13884
+ target.listMcpGrants = oauth.listMcpGrants.bind(oauth);
13885
+ target.narrowMcpGrant = oauth.narrowMcpGrant.bind(oauth);
13886
+ target.revokeMcpGrant = oauth.revokeMcpGrant.bind(oauth);
13636
13887
  target.exchangeOAuthToken = oauth.exchangeOAuthToken.bind(oauth);
13637
13888
  target.getAvailableScopes = oauth.getAvailableScopes.bind(oauth);
13638
13889
  target.getOAuthConnectionStatus = oauthConnections.getConnectionStatus.bind(oauthConnections);
@@ -13732,6 +13983,8 @@ function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackAp
13732
13983
  target.fhirGetEncounterSyncRuns = fhirConnections.fhirGetEncounterSyncRuns.bind(fhirConnections);
13733
13984
  target.fhirRefreshEncounterPatient = fhirConnections.fhirRefreshEncounterPatient.bind(fhirConnections);
13734
13985
  target.fhirBackfillEncounterSync = fhirConnections.fhirBackfillEncounterSync.bind(fhirConnections);
13986
+ target.fhirStartOnboardingImport = fhirConnections.fhirStartOnboardingImport.bind(fhirConnections);
13987
+ target.fhirGetOnboardingImportStatus = fhirConnections.fhirGetOnboardingImportStatus.bind(fhirConnections);
13735
13988
  target.configurePatientSync = patientSyncConnections.configurePatientSync.bind(patientSyncConnections);
13736
13989
  target.getPatientSyncStatus = patientSyncConnections.getPatientSyncStatus.bind(patientSyncConnections);
13737
13990
  target.deletePatientSyncConnection = patientSyncConnections.deletePatientSyncConnection.bind(patientSyncConnections);
@@ -13818,6 +14071,7 @@ function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackAp
13818
14071
  target.listAvailableAppConnections = appConnections.listAvailableAppConnections.bind(appConnections);
13819
14072
  target.listAppConnections = appConnections.listAppConnections.bind(appConnections);
13820
14073
  target.enablePlatformApp = appConnections.enablePlatformApp.bind(appConnections);
14074
+ target.configureZendeskConnection = appConnections.configureZendeskConnection.bind(appConnections);
13821
14075
  target.getPlatformApp = appConnections.getPlatformApp.bind(appConnections);
13822
14076
  target.updatePlatformApp = appConnections.updatePlatformApp.bind(appConnections);
13823
14077
  target.deletePlatformApp = appConnections.deletePlatformApp.bind(appConnections);
@@ -13870,6 +14124,7 @@ function bindOrgMethods(target, org) {
13870
14124
  target.getVoiceTrustProducts = org.getVoiceTrustProducts.bind(org);
13871
14125
  target.syncVoiceTrustProducts = org.syncVoiceTrustProducts.bind(org);
13872
14126
  target.createOrganizationWorkspace = org.createOrganizationWorkspace.bind(org);
14127
+ target.getOrganizationWorkspaces = org.getOrganizationWorkspaces.bind(org);
13873
14128
  target.getOrganizationWorkspace = org.getOrganizationWorkspace.bind(org);
13874
14129
  target.updateOrganizationWorkspace = org.updateOrganizationWorkspace.bind(org);
13875
14130
  target.getOrgBillingCustomer = org.getOrgBillingCustomer.bind(org);
@@ -13879,7 +14134,20 @@ function bindOrgMethods(target, org) {
13879
14134
  target.updateOrganizationMember = org.updateOrganizationMember.bind(org);
13880
14135
  target.listOrgWebhookEndpoints = org.listOrgWebhookEndpoints.bind(org);
13881
14136
  target.getOrgWebhookEndpoint = org.getOrgWebhookEndpoint.bind(org);
14137
+ target.createOrgWebhookEndpoint = org.createOrgWebhookEndpoint.bind(org);
13882
14138
  target.updateOrgWebhookEndpoint = org.updateOrgWebhookEndpoint.bind(org);
14139
+ target.listOrgWebhookEndpointDeliveries = org.listOrgWebhookEndpointDeliveries.bind(org);
14140
+ target.replayOrgWebhookDelivery = org.replayOrgWebhookDelivery.bind(org);
14141
+ target.discardPendingOrgWebhookDeliveries = org.discardPendingOrgWebhookDeliveries.bind(org);
14142
+ target.getOrgWebhookEndpointCoverage = org.getOrgWebhookEndpointCoverage.bind(org);
14143
+ target.testOrgWebhookEndpoint = org.testOrgWebhookEndpoint.bind(org);
14144
+ target.listWorkspaceLabels = org.listWorkspaceLabels.bind(org);
14145
+ target.createWorkspaceLabel = org.createWorkspaceLabel.bind(org);
14146
+ target.updateWorkspaceLabel = org.updateWorkspaceLabel.bind(org);
14147
+ target.deleteWorkspaceLabel = org.deleteWorkspaceLabel.bind(org);
14148
+ target.getWorkspaceLabels = org.getWorkspaceLabels.bind(org);
14149
+ target.setWorkspaceLabels = org.setWorkspaceLabels.bind(org);
14150
+ target.previewWorkspaceScope = org.previewWorkspaceScope.bind(org);
13883
14151
  }
13884
14152
 
13885
14153
  // src/client/bindings/pronunciations.ts
@@ -14035,6 +14303,11 @@ function bindMetricsMethods(target, metrics) {
14035
14303
  target.computeChatMetrics = metrics.computeChatMetrics.bind(metrics);
14036
14304
  }
14037
14305
 
14306
+ // src/client/bindings/data-reports.ts
14307
+ function bindDataReportsMethods(target, dataReports) {
14308
+ target.previewDataReport = dataReports.previewDataReport.bind(dataReports);
14309
+ }
14310
+
14038
14311
  // src/client/bindings/queries.ts
14039
14312
  function bindQueriesMethods(target, queries) {
14040
14313
  target.getQueryFields = queries.getQueryFields.bind(queries);
@@ -14350,6 +14623,8 @@ var GravityRailClient = class {
14350
14623
  validateQuery;
14351
14624
  previewQuery;
14352
14625
  runQuery;
14626
+ // Form Reports
14627
+ previewDataReport;
14353
14628
  listPersonas;
14354
14629
  getPersona;
14355
14630
  createPersona;
@@ -14534,6 +14809,7 @@ var GravityRailClient = class {
14534
14809
  inspectPrompt;
14535
14810
  // Workspaces API
14536
14811
  getWorkspaces;
14812
+ getOrganizationWorkspacePages;
14537
14813
  getDeviceAdmissibleWorkspaces;
14538
14814
  getPublicWorkspaces;
14539
14815
  getWorkspace;
@@ -14620,6 +14896,7 @@ var GravityRailClient = class {
14620
14896
  getVoiceTrustProducts;
14621
14897
  syncVoiceTrustProducts;
14622
14898
  createOrganizationWorkspace;
14899
+ getOrganizationWorkspaces;
14623
14900
  getOrganizationWorkspace;
14624
14901
  updateOrganizationWorkspace;
14625
14902
  getOrgBillingCustomer;
@@ -14629,7 +14906,20 @@ var GravityRailClient = class {
14629
14906
  updateOrganizationMember;
14630
14907
  listOrgWebhookEndpoints;
14631
14908
  getOrgWebhookEndpoint;
14909
+ createOrgWebhookEndpoint;
14632
14910
  updateOrgWebhookEndpoint;
14911
+ listOrgWebhookEndpointDeliveries;
14912
+ replayOrgWebhookDelivery;
14913
+ discardPendingOrgWebhookDeliveries;
14914
+ getOrgWebhookEndpointCoverage;
14915
+ testOrgWebhookEndpoint;
14916
+ listWorkspaceLabels;
14917
+ createWorkspaceLabel;
14918
+ updateWorkspaceLabel;
14919
+ deleteWorkspaceLabel;
14920
+ getWorkspaceLabels;
14921
+ setWorkspaceLabels;
14922
+ previewWorkspaceScope;
14633
14923
  getVapidPublicKey;
14634
14924
  registerPushSubscription;
14635
14925
  unregisterPushSubscription;
@@ -14770,6 +15060,7 @@ var GravityRailClient = class {
14770
15060
  convertFile;
14771
15061
  generateFileUploadUrl;
14772
15062
  getFolders;
15063
+ getFolderChildren;
14773
15064
  getFolder;
14774
15065
  createFolder;
14775
15066
  updateFolder;
@@ -14827,6 +15118,7 @@ var GravityRailClient = class {
14827
15118
  getWorkflowsActivityBatch;
14828
15119
  getWorkflowDiagram;
14829
15120
  getWorkflowOutline;
15121
+ getWorkflowsOutlineBatch;
14830
15122
  createWorkflow;
14831
15123
  updateWorkflow;
14832
15124
  getWorkflowDeletionPreview;
@@ -14840,6 +15132,7 @@ var GravityRailClient = class {
14840
15132
  getTaskChats;
14841
15133
  getWorkflowConfigValidation;
14842
15134
  getWorkflowPromptClassifications;
15135
+ reviewWorkflowPromptClassifications;
14843
15136
  getWorkflowNotes;
14844
15137
  createWorkflowNote;
14845
15138
  updateWorkflowNote;
@@ -15038,6 +15331,12 @@ var GravityRailClient = class {
15038
15331
  deleteInquiry;
15039
15332
  exportInquiriesCsv;
15040
15333
  authorize;
15334
+ denyAuthorization;
15335
+ getOAuthConsentClient;
15336
+ getMcpConsentTargets;
15337
+ listMcpGrants;
15338
+ narrowMcpGrant;
15339
+ revokeMcpGrant;
15041
15340
  exchangeOAuthToken;
15042
15341
  getAvailableScopes;
15043
15342
  getOAuthConnectionStatus;
@@ -15139,6 +15438,8 @@ var GravityRailClient = class {
15139
15438
  fhirGetEncounterSyncRuns;
15140
15439
  fhirRefreshEncounterPatient;
15141
15440
  fhirBackfillEncounterSync;
15441
+ fhirStartOnboardingImport;
15442
+ fhirGetOnboardingImportStatus;
15142
15443
  // Healthie API
15143
15444
  getDocumoFaxStatus;
15144
15445
  getDocumoFaxSetup;
@@ -15231,6 +15532,7 @@ var GravityRailClient = class {
15231
15532
  listAvailableAppConnections;
15232
15533
  listAppConnections;
15233
15534
  enablePlatformApp;
15535
+ configureZendeskConnection;
15234
15536
  getPlatformApp;
15235
15537
  updatePlatformApp;
15236
15538
  deletePlatformApp;
@@ -15311,6 +15613,7 @@ var GravityRailClient = class {
15311
15613
  bindPersonasMethods(this, apis.personas);
15312
15614
  bindMetricsMethods(this, apis.metrics);
15313
15615
  bindQueriesMethods(this, apis.queries);
15616
+ bindDataReportsMethods(this, apis.dataReports);
15314
15617
  bindDashboardsMethods(this, apis.dashboards);
15315
15618
  bindActivityMethods(this, apis.activity);
15316
15619
  bindMotdMethods(this, apis.motd);
@@ -15463,6 +15766,7 @@ var AbilityTypeSlugs = {
15463
15766
  CALENDAR_BOOKING: "integration:calendar_booking",
15464
15767
  FILE_ACCESS: "integration:file_access",
15465
15768
  DATA_ACCESS: "integration:data_access",
15769
+ DATA_REPORTS: "integration:data_reports",
15466
15770
  GMAIL: "integration:gmail",
15467
15771
  GOOGLE_CALENDAR: "integration:google_calendar",
15468
15772
  GOOGLE_DRIVE: "integration:google_drive",
@@ -15507,7 +15811,14 @@ function getTTSProvider(ttsModel) {
15507
15811
  if (!ttsModel || ttsModel === "native") return ttsModel ?? null;
15508
15812
  return ttsModel.split(":")[0] ?? null;
15509
15813
  }
15510
- var TTS_PREVIEW_PROVIDERS = ["openai", "google", "aws", "deepgram", "xai"];
15814
+ var TTS_PREVIEW_PROVIDERS = [
15815
+ "openai",
15816
+ "elevenlabs",
15817
+ "google",
15818
+ "aws",
15819
+ "deepgram",
15820
+ "xai"
15821
+ ];
15511
15822
  function getVoiceModelId(entity) {
15512
15823
  const config = entity.realtimeModelConfig;
15513
15824
  return config?.voiceModel ?? null;
@@ -15719,6 +16030,20 @@ var PromoCodeStatus = {
15719
16030
  exhausted: "exhausted"
15720
16031
  };
15721
16032
 
16033
+ // src/types/generated/contact_permission.ts
16034
+ var RecordContactPermissionRequestChannelNote = {
16035
+ phone_call: "phone_call",
16036
+ voicemail: "voicemail",
16037
+ email: "email",
16038
+ mail: "mail",
16039
+ postcard: "postcard",
16040
+ fax: "fax",
16041
+ in_person: "in_person",
16042
+ patient_portal: "patient_portal",
16043
+ web_form: "web_form",
16044
+ other: "other"
16045
+ };
16046
+
15722
16047
  // src/types/generated/import_skipped_rule.ts
15723
16048
  var ImportReadinessIssueCode = {
15724
16049
  phone_not_provisioned: "phone_not_provisioned",
@@ -16960,7 +17285,12 @@ export {
16960
17285
  STT_MODEL_DEEPGRAM_FLUX_SELFHOST,
16961
17286
  STT_MODEL_DEEPGRAM_FLUX_MULTI,
16962
17287
  STT_MODEL_DEEPGRAM_FLUX_MULTI_SELFHOST,
17288
+ STT_MODEL_ELEVENLABS_SCRIBE_V2_REALTIME,
16963
17289
  TTS_MODEL_XAI_V1,
17290
+ TTS_MODEL_ELEVENLABS_FLASH,
17291
+ TTS_MODEL_ELEVENLABS_TURBO,
17292
+ TTS_MODEL_ELEVENLABS_MULTILINGUAL,
17293
+ TTS_MODEL_ELEVENLABS_V4_TURBO,
16964
17294
  TTS_MODEL_DEEPGRAM_AURA_2,
16965
17295
  TTS_MODEL_AWS_POLLY_GENERATIVE,
16966
17296
  TTS_MODEL_AWS_POLLY_NEURAL,
@@ -17044,6 +17374,7 @@ export {
17044
17374
  bindQualificationsMethods,
17045
17375
  bindPersonasMethods,
17046
17376
  bindMetricsMethods,
17377
+ bindDataReportsMethods,
17047
17378
  bindQueriesMethods,
17048
17379
  bindCustomersMethods,
17049
17380
  bindResellersMethods,
@@ -17085,6 +17416,7 @@ export {
17085
17416
  WorkflowRoutingMode,
17086
17417
  WIDGET_SLUGS,
17087
17418
  PromoCodeStatus,
17419
+ RecordContactPermissionRequestChannelNote,
17088
17420
  ImportReadinessIssueCode,
17089
17421
  ImportReadinessIssueResourceType,
17090
17422
  ImportSkippedRuleResourceGroupResourceType,
@@ -17138,4 +17470,4 @@ export {
17138
17470
  pathDraftFromStorage,
17139
17471
  pathDraftToStorage
17140
17472
  };
17141
- //# sourceMappingURL=chunk-6F4YJJKQ.js.map
17473
+ //# sourceMappingURL=chunk-BF4MOZZO.js.map