@gravity-rail/sdk 0.53.1 → 0.55.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/dist/{chat-interaction-BDWwGHdp.d.cts → chat-interaction-C620llgG.d.cts} +1554 -285
  2. package/dist/{chat-interaction-pkhyXbVv.d.ts → chat-interaction-DDz9ZtQ8.d.ts} +1554 -285
  3. package/dist/{chunk-JRK77RT4.js → chunk-7R22EG5F.js} +379 -9
  4. package/dist/chunk-7R22EG5F.js.map +1 -0
  5. package/dist/{chunk-MMDSZ25F.js → chunk-HXVJF54M.js} +1 -1
  6. package/dist/chunk-HXVJF54M.js.map +1 -0
  7. package/dist/helpers.d.cts +4 -4
  8. package/dist/helpers.d.ts +4 -4
  9. package/dist/index.cjs +385 -8
  10. package/dist/index.cjs.map +1 -1
  11. package/dist/index.d.cts +7 -6
  12. package/dist/index.d.ts +7 -6
  13. package/dist/index.js +17 -2
  14. package/dist/index.js.map +1 -1
  15. package/dist/internal.cjs +404 -11
  16. package/dist/internal.cjs.map +1 -1
  17. package/dist/internal.d.cts +7 -6
  18. package/dist/internal.d.ts +7 -6
  19. package/dist/internal.js +35 -5
  20. package/dist/internal.js.map +1 -1
  21. package/dist/{member-import-Do6D2g14.d.ts → member-import-D1QvZiy5.d.ts} +1 -1
  22. package/dist/{member-import-BtTWfQ46.d.cts → member-import-DzuvKnMC.d.cts} +1 -1
  23. package/dist/{path-UGcX8CEF.d.ts → path-BIk9UPr0.d.cts} +95 -53
  24. package/dist/{path-J_F_cq4m.d.cts → path-kbfnY2gB.d.ts} +95 -53
  25. package/dist/realtime.cjs +26 -0
  26. package/dist/realtime.cjs.map +1 -1
  27. package/dist/realtime.d.cts +17 -0
  28. package/dist/realtime.d.ts +17 -0
  29. package/dist/realtime.js +26 -0
  30. package/dist/realtime.js.map +1 -1
  31. package/dist/schemas.d.cts +2 -2
  32. package/dist/schemas.d.ts +2 -2
  33. package/dist/schemas.js +1 -1
  34. package/dist/{tasks-JweebIce.d.cts → tasks-BdYhYUpU.d.cts} +92 -26
  35. package/dist/{tasks-JweebIce.d.ts → tasks-BdYhYUpU.d.ts} +92 -26
  36. package/package.json +3 -3
  37. package/dist/chunk-JRK77RT4.js.map +0 -1
  38. 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
  */
@@ -5401,6 +5457,33 @@ var OrgApi = class extends BaseApiClient {
5401
5457
  method: "DELETE"
5402
5458
  });
5403
5459
  }
5460
+ /**
5461
+ * Read the organization's AI connector policy and the connectors (MCP
5462
+ * clients such as claude.ai or ChatGPT) that have requested access to it.
5463
+ * Requires `org:admin`.
5464
+ */
5465
+ async getOrgAiConnectorPolicy(orgIdOrUuid) {
5466
+ return this.fetch(`o/${orgIdOrUuid}/ai-connectors`);
5467
+ }
5468
+ /** Set the AI connector mode: `any` or `allowlist`. Requires `org:admin`. */
5469
+ async updateOrgAiConnectorPolicy(orgIdOrUuid, data) {
5470
+ return this.fetch(`o/${orgIdOrUuid}/ai-connectors`, {
5471
+ method: "PUT",
5472
+ body: JSON.stringify(data)
5473
+ });
5474
+ }
5475
+ /** Allow a connector that has requested access. Requires `org:admin`. */
5476
+ async allowOrgAiConnector(orgIdOrUuid, appId) {
5477
+ return this.fetch(`o/${orgIdOrUuid}/ai-connectors/clients/${appId}`, {
5478
+ method: "PUT"
5479
+ });
5480
+ }
5481
+ /** Remove a connector from the allowlist. Requires `org:admin`. */
5482
+ async removeOrgAiConnector(orgIdOrUuid, appId) {
5483
+ return this.fetch(`o/${orgIdOrUuid}/ai-connectors/clients/${appId}`, {
5484
+ method: "DELETE"
5485
+ });
5486
+ }
5404
5487
  /**
5405
5488
  * Get the billing customer and this organization's billable subscription.
5406
5489
  *
@@ -6228,9 +6311,57 @@ var OrgApi = class extends BaseApiClient {
6228
6311
  method: "DELETE"
6229
6312
  });
6230
6313
  }
6231
- async listOrgWebhookEndpointDeliveries(orgIdOrUuid, endpointUuid, limit = 50) {
6314
+ async listOrgWebhookEndpointDeliveries(orgIdOrUuid, endpointUuid, limit = 50, offset = 0) {
6315
+ return this.fetch(
6316
+ `o/${orgIdOrUuid}/webhooks/${endpointUuid}/deliveries?limit=${limit}&offset=${offset}`
6317
+ );
6318
+ }
6319
+ async getOrgWebhookDeliveryDetail(orgIdOrUuid, endpointUuid, deliveryId) {
6320
+ return this.fetch(`o/${orgIdOrUuid}/webhooks/${endpointUuid}/deliveries/${deliveryId}`);
6321
+ }
6322
+ async clearOrgWebhookDeliveries(orgIdOrUuid, endpointUuid, failedOnly) {
6323
+ return this.fetch(`o/${orgIdOrUuid}/webhooks/${endpointUuid}/deliveries/clear`, {
6324
+ method: "POST",
6325
+ body: JSON.stringify({ failedOnly })
6326
+ });
6327
+ }
6328
+ /**
6329
+ * Requeue one failed or expired delivery on its existing row.
6330
+ *
6331
+ * The response is identifiers only. The drain signs a fresh timestamp
6332
+ * when it sends; this call does not POST to the receiver.
6333
+ */
6334
+ async replayOrgWebhookDelivery(orgIdOrUuid, endpointUuid, deliveryId) {
6335
+ return this.fetch(
6336
+ `o/${orgIdOrUuid}/webhooks/${endpointUuid}/deliveries/${deliveryId}/replay`,
6337
+ {
6338
+ method: "POST",
6339
+ body: JSON.stringify({})
6340
+ }
6341
+ );
6342
+ }
6343
+ /**
6344
+ * Expire every pending delivery of a paused or disabled endpoint, so a
6345
+ * resume does not re-send a held backlog the receiver keeps rejecting.
6346
+ * Refused with 409 while the endpoint is active. Dead-lettered rows
6347
+ * are untouched; expired rows stay replayable one at a time.
6348
+ */
6349
+ async discardPendingOrgWebhookDeliveries(orgIdOrUuid, endpointUuid) {
6350
+ return this.fetch(
6351
+ `o/${orgIdOrUuid}/webhooks/${endpointUuid}/deliveries/discard-pending`,
6352
+ {
6353
+ method: "POST",
6354
+ body: JSON.stringify({})
6355
+ }
6356
+ );
6357
+ }
6358
+ /**
6359
+ * Which covered workspaces have the subscribed Forms opted in
6360
+ * (`webhookEventsEnabled`). Record events only.
6361
+ */
6362
+ async getOrgWebhookEndpointCoverage(orgIdOrUuid, endpointUuid) {
6232
6363
  return this.fetch(
6233
- `o/${orgIdOrUuid}/webhooks/${endpointUuid}/deliveries?limit=${limit}`
6364
+ `o/${orgIdOrUuid}/webhooks/${endpointUuid}/coverage`
6234
6365
  );
6235
6366
  }
6236
6367
  /**
@@ -6294,6 +6425,57 @@ var OrgApi = class extends BaseApiClient {
6294
6425
  method: "DELETE"
6295
6426
  });
6296
6427
  }
6428
+ // =========================================================================
6429
+ // Workspace labels — the organization's own taxonomy of its workspaces
6430
+ // =========================================================================
6431
+ /** Every label of the organization, with workspace and webhook-selector counts. */
6432
+ async listWorkspaceLabels(orgIdOrUuid) {
6433
+ return this.fetch(`o/${orgIdOrUuid}/workspace-labels`);
6434
+ }
6435
+ async createWorkspaceLabel(orgIdOrUuid, data) {
6436
+ return this.fetch(`o/${orgIdOrUuid}/workspace-labels`, {
6437
+ method: "POST",
6438
+ body: JSON.stringify(data)
6439
+ });
6440
+ }
6441
+ /** Rename or recolor a label. The slug never changes. */
6442
+ async updateWorkspaceLabel(orgIdOrUuid, labelUuid, data) {
6443
+ return this.fetch(`o/${orgIdOrUuid}/workspace-labels/${labelUuid}`, {
6444
+ method: "PATCH",
6445
+ body: JSON.stringify(data)
6446
+ });
6447
+ }
6448
+ /** Delete a label. Refused (409) while a webhook label selector requires it. */
6449
+ async deleteWorkspaceLabel(orgIdOrUuid, labelUuid) {
6450
+ return this.fetch(`o/${orgIdOrUuid}/workspace-labels/${labelUuid}`, {
6451
+ method: "DELETE"
6452
+ });
6453
+ }
6454
+ /**
6455
+ * Which workspaces a webhook scope (explicit workspaces plus a label
6456
+ * selector) would cover right now. Both empty means the whole organization.
6457
+ */
6458
+ async previewWorkspaceScope(orgIdOrUuid, data) {
6459
+ return this.fetch(
6460
+ `o/${orgIdOrUuid}/workspace-labels/preview-scope`,
6461
+ { method: "POST", body: JSON.stringify(data) }
6462
+ );
6463
+ }
6464
+ async getWorkspaceLabels(orgIdOrUuid, workspaceUuid) {
6465
+ return this.fetch(
6466
+ `o/${orgIdOrUuid}/workspaces/${workspaceUuid}/labels`
6467
+ );
6468
+ }
6469
+ /**
6470
+ * Replace a workspace's labels with exactly `data.labels` (slugs). A slug the
6471
+ * organization has not used before creates that label.
6472
+ */
6473
+ async setWorkspaceLabels(orgIdOrUuid, workspaceUuid, data) {
6474
+ return this.fetch(
6475
+ `o/${orgIdOrUuid}/workspaces/${workspaceUuid}/labels`,
6476
+ { method: "PUT", body: JSON.stringify(data) }
6477
+ );
6478
+ }
6297
6479
  };
6298
6480
  function businessProfilePath(orgUuid, legalEntityUuid) {
6299
6481
  return legalEntityUuid ? `o/${orgUuid}/legal-entities/${legalEntityUuid}/business-profile` : `o/${orgUuid}/business-profile`;
@@ -6353,6 +6535,39 @@ var OAuthApi = class extends BaseApiClient {
6353
6535
  body: JSON.stringify(request)
6354
6536
  });
6355
6537
  }
6538
+ async denyAuthorization(request) {
6539
+ return this.fetch("oauth/authorize/deny", {
6540
+ method: "POST",
6541
+ body: JSON.stringify(request)
6542
+ });
6543
+ }
6544
+ async getOAuthConsentClient(clientId, redirectUri, resource) {
6545
+ const params = new URLSearchParams({ client_id: clientId, redirect_uri: redirectUri });
6546
+ if (resource) params.set("resource", resource);
6547
+ return this.fetch(`oauth/authorize/client?${params.toString()}`);
6548
+ }
6549
+ /** The organizations and workspaces the MCP consent screen may offer. */
6550
+ async getMcpConsentTargets(clientId) {
6551
+ const params = new URLSearchParams({ client_id: clientId });
6552
+ return this.fetch(`oauth/authorize/mcp-targets?${params.toString()}`);
6553
+ }
6554
+ /** The signed-in account's MCP grants. */
6555
+ async listMcpGrants() {
6556
+ return this.fetch("oauth/mcp-grants");
6557
+ }
6558
+ /** Remove organizations or workspaces from one MCP grant. */
6559
+ async narrowMcpGrant(grantId, removeTargetIds) {
6560
+ return this.fetch(`oauth/mcp-grants/${encodeURIComponent(grantId)}`, {
6561
+ method: "PATCH",
6562
+ body: JSON.stringify({ removeTargetIds })
6563
+ });
6564
+ }
6565
+ /** Revoke one MCP grant. */
6566
+ async revokeMcpGrant(grantId) {
6567
+ return this.fetch(`oauth/mcp-grants/${encodeURIComponent(grantId)}`, {
6568
+ method: "DELETE"
6569
+ });
6570
+ }
6356
6571
  async exchangeOAuthToken(request) {
6357
6572
  const formData = new URLSearchParams();
6358
6573
  formData.append("grant_type", request.grant_type);
@@ -8861,6 +9076,20 @@ var WorkflowsApi = class extends BaseApiClient {
8861
9076
  async getWorkflowOutline(wid, id) {
8862
9077
  return this.fetch(`w/${wid}/workflows/${id}/outline`);
8863
9078
  }
9079
+ /**
9080
+ * Outlines for many Workflows in one request. The same shape as
9081
+ * {@link getWorkflowOutline}, keyed by workflow id. Ids the caller cannot
9082
+ * use, and outlines that cannot be read, are absent.
9083
+ *
9084
+ * The route accepts at most 100 ids. Callers with a longer list chunk.
9085
+ */
9086
+ async getWorkflowsOutlineBatch(wid, workflowIds) {
9087
+ const params = new URLSearchParams();
9088
+ params.set("workflowIds", workflowIds.join(","));
9089
+ return this.fetch(
9090
+ `w/${wid}/workflows/outline/batch?${params.toString()}`
9091
+ );
9092
+ }
8864
9093
  /** Create a new workflow in a workspace. */
8865
9094
  async createWorkflow(wid, workflow) {
8866
9095
  return this.fetch(`w/${wid}/workflows`, {
@@ -9599,6 +9828,7 @@ var WorkspaceFeature = /* @__PURE__ */ ((WorkspaceFeature2) => {
9599
9828
  WorkspaceFeature2["CRM_SALESFORCE"] = "crm_salesforce";
9600
9829
  WorkspaceFeature2["CRM_HUBSPOT"] = "crm_hubspot";
9601
9830
  WorkspaceFeature2["CONFLUENCE"] = "confluence";
9831
+ WorkspaceFeature2["ZENDESK"] = "zendesk";
9602
9832
  WorkspaceFeature2["AGENT_MEMORY"] = "agent_memory";
9603
9833
  WorkspaceFeature2["IMAGE_GENERATION"] = "image_generation";
9604
9834
  WorkspaceFeature2["CHARLESTON_NEPHROLOGY_PMD_PAGING"] = "charleston_nephrology_pmd_paging";
@@ -9705,6 +9935,7 @@ var ModelProvider = {
9705
9935
  google: "google",
9706
9936
  anthropic: "anthropic",
9707
9937
  aws: "aws",
9938
+ elevenlabs: "elevenlabs",
9708
9939
  deepgram: "deepgram",
9709
9940
  xai: "xai",
9710
9941
  fireworks: "fireworks",
@@ -9731,7 +9962,12 @@ var STT_MODEL_DEEPGRAM_FLUX = "deepgram:stt:flux-general-en";
9731
9962
  var STT_MODEL_DEEPGRAM_FLUX_SELFHOST = "deepgram:stt:flux-general-en:selfhost";
9732
9963
  var STT_MODEL_DEEPGRAM_FLUX_MULTI = "deepgram:stt:flux-general-multi";
9733
9964
  var STT_MODEL_DEEPGRAM_FLUX_MULTI_SELFHOST = "deepgram:stt:flux-general-multi:selfhost";
9965
+ var STT_MODEL_ELEVENLABS_SCRIBE_V2_REALTIME = "elevenlabs:stt:scribe_v2_realtime";
9734
9966
  var TTS_MODEL_XAI_V1 = "xai:tts:v1";
9967
+ var TTS_MODEL_ELEVENLABS_FLASH = "elevenlabs:tts:eleven_flash_v2_5";
9968
+ var TTS_MODEL_ELEVENLABS_TURBO = "elevenlabs:tts:eleven_turbo_v2_5";
9969
+ var TTS_MODEL_ELEVENLABS_MULTILINGUAL = "elevenlabs:tts:eleven_multilingual_v2";
9970
+ var TTS_MODEL_ELEVENLABS_V4_TURBO = "elevenlabs:tts:eleven_v4_turbo";
9735
9971
  var TTS_MODEL_DEEPGRAM_AURA_2 = "deepgram:tts:aura-2";
9736
9972
  var TTS_MODEL_AWS_POLLY_GENERATIVE = "aws:tts:polly-generative";
9737
9973
  var TTS_MODEL_AWS_POLLY_NEURAL = "aws:tts:polly-neural";
@@ -10358,6 +10594,17 @@ var WorkspacesApi = class extends BaseApiClient {
10358
10594
  async getWorkspaces(options) {
10359
10595
  return this.fetch(`w/?${workspaceDirectoryParams(options)}`);
10360
10596
  }
10597
+ /**
10598
+ * Page 1 of each organization's workspace directory, in one request.
10599
+ * Later pages stay on ``getWorkspaces({ organizationUuid, page })``.
10600
+ */
10601
+ async getOrganizationWorkspacePages(options) {
10602
+ const params = new URLSearchParams();
10603
+ if (options.pageSize !== void 0) params.set("pageSize", String(options.pageSize));
10604
+ if (options.search) params.set("search", options.search);
10605
+ for (const uuid of options.organizationUuids) params.append("organizationUuids", uuid);
10606
+ return this.fetch(`w/organization-pages?${params}`);
10607
+ }
10361
10608
  /** A bounded page of companion-device candidates, with admission checked per row. */
10362
10609
  async getDeviceAdmissibleWorkspaces(options) {
10363
10610
  const params = workspaceDirectoryParams(options);
@@ -11594,6 +11841,21 @@ var MetricsApi = class extends BaseApiClient {
11594
11841
  }
11595
11842
  };
11596
11843
 
11844
+ // src/api/data-reports.ts
11845
+ var DataReportsApi = class extends BaseApiClient {
11846
+ /**
11847
+ * Run a Form Reports report, saved or not, with the given parameter values.
11848
+ * The result is what the Agent would get: record rows or aggregate groups
11849
+ * within the tool's row and group caps, plus the text sent to the Agent.
11850
+ */
11851
+ async previewDataReport(wid, request) {
11852
+ return this.fetch(`w/${wid}/data-reports/preview`, {
11853
+ method: "POST",
11854
+ body: JSON.stringify(request)
11855
+ });
11856
+ }
11857
+ };
11858
+
11597
11859
  // src/api/projects.ts
11598
11860
  var ProjectsApi = class extends BaseApiClient {
11599
11861
  /** List projects (README frontmatter summaries). */
@@ -11867,6 +12129,7 @@ function createApiModules(apiKey, baseUrl, customFetch) {
11867
12129
  qualifications: new QualificationsApi(apiKey, baseUrl, customFetch),
11868
12130
  personas: new PersonasApi(apiKey, baseUrl, customFetch),
11869
12131
  metrics: new MetricsApi(apiKey, baseUrl, customFetch),
12132
+ dataReports: new DataReportsApi(apiKey, baseUrl, customFetch),
11870
12133
  queries: new QueriesApi(apiKey, baseUrl, customFetch),
11871
12134
  reports: new ReportsApi(apiKey, baseUrl, customFetch),
11872
12135
  resourceWorkflows: new ResourceWorkflowsApi(apiKey, baseUrl, customFetch),
@@ -11942,6 +12205,7 @@ var WORKSPACE_METHOD_NAMES = [
11942
12205
  "configureHubspot",
11943
12206
  "configureMondayConnection",
11944
12207
  "configureSalesforce",
12208
+ "configureZendeskConnection",
11945
12209
  "convertEmail",
11946
12210
  "convertFile",
11947
12211
  "createAbility",
@@ -12138,6 +12402,7 @@ var WORKSPACE_METHOD_NAMES = [
12138
12402
  "fhirGetCsvImportSettings",
12139
12403
  "fhirGetEncounterSyncRuns",
12140
12404
  "fhirGetEncounterSyncStatus",
12405
+ "fhirGetOnboardingImportStatus",
12141
12406
  "fhirImportPatient",
12142
12407
  "fhirLinkMember",
12143
12408
  "fhirListLinkedMembers",
@@ -12146,6 +12411,7 @@ var WORKSPACE_METHOD_NAMES = [
12146
12411
  "fhirSearchLocations",
12147
12412
  "fhirSearchPatients",
12148
12413
  "fhirSearchPractitioners",
12414
+ "fhirStartOnboardingImport",
12149
12415
  "fhirSyncMember",
12150
12416
  "fhirUnlinkMember",
12151
12417
  "fhirUpdateCsvImportSettings",
@@ -12302,6 +12568,7 @@ var WORKSPACE_METHOD_NAMES = [
12302
12568
  "importSiteSourceZip",
12303
12569
  "installDocumoFax",
12304
12570
  "listChatRecordings",
12571
+ "previewDataReport",
12305
12572
  "previewQuery",
12306
12573
  "publishSiteSource",
12307
12574
  "publishDataTypeDraft",
@@ -12325,6 +12592,7 @@ var WORKSPACE_METHOD_NAMES = [
12325
12592
  "getFiles",
12326
12593
  "getFirstRunState",
12327
12594
  "getFolder",
12595
+ "getFolderChildren",
12328
12596
  "getFolderMemberAccess",
12329
12597
  "getFolderSharing",
12330
12598
  "getFolders",
@@ -12511,6 +12779,7 @@ var WORKSPACE_METHOD_NAMES = [
12511
12779
  "getWorkflowTemplates",
12512
12780
  "getWorkflows",
12513
12781
  "getWorkflowsActivityBatch",
12782
+ "getWorkflowsOutlineBatch",
12514
12783
  "getWorkspace",
12515
12784
  "getWorkspaceActivityCounts",
12516
12785
  "getWorkspaceBuilder",
@@ -13133,6 +13402,7 @@ function bindMembersMethods(target, members) {
13133
13402
  // src/client/bindings/workspaces.ts
13134
13403
  function bindWorkspacesMethods(target, workspaces, signupRequests) {
13135
13404
  target.getWorkspaces = workspaces.getWorkspaces.bind(workspaces);
13405
+ target.getOrganizationWorkspacePages = workspaces.getOrganizationWorkspacePages.bind(workspaces);
13136
13406
  target.getDeviceAdmissibleWorkspaces = workspaces.getDeviceAdmissibleWorkspaces.bind(workspaces);
13137
13407
  target.getPublicWorkspaces = workspaces.getPublicWorkspaces.bind(workspaces);
13138
13408
  target.getWorkspace = workspaces.getWorkspace.bind(workspaces);
@@ -13334,6 +13604,7 @@ function bindFilesMethods(target, files) {
13334
13604
  target.convertFile = files.convertFile.bind(files);
13335
13605
  target.generateFileUploadUrl = files.generateFileUploadUrl.bind(files);
13336
13606
  target.getFolders = files.getFolders.bind(files);
13607
+ target.getFolderChildren = files.getFolderChildren.bind(files);
13337
13608
  target.getFolder = files.getFolder.bind(files);
13338
13609
  target.createFolder = files.createFolder.bind(files);
13339
13610
  target.updateFolder = files.updateFolder.bind(files);
@@ -13422,6 +13693,7 @@ function bindWorkflowsMethods(target, workflows, workflowNotes, voice, superviso
13422
13693
  target.getWorkflowsActivityBatch = workflows.getWorkflowsActivityBatch.bind(workflows);
13423
13694
  target.getWorkflowDiagram = workflows.getWorkflowDiagram.bind(workflows);
13424
13695
  target.getWorkflowOutline = workflows.getWorkflowOutline.bind(workflows);
13696
+ target.getWorkflowsOutlineBatch = workflows.getWorkflowsOutlineBatch.bind(workflows);
13425
13697
  target.createWorkflow = workflows.createWorkflow.bind(workflows);
13426
13698
  target.updateWorkflow = workflows.updateWorkflow.bind(workflows);
13427
13699
  target.getWorkflowDeletionPreview = workflows.getWorkflowDeletionPreview.bind(workflows);
@@ -13642,6 +13914,12 @@ function bindAppsMethods(target, apps, builders, inquiries, oauth, oauthConnecti
13642
13914
  target.deleteInquiry = inquiries.deleteInquiry.bind(inquiries);
13643
13915
  target.exportInquiriesCsv = inquiries.exportInquiriesCsv.bind(inquiries);
13644
13916
  target.authorize = oauth.authorize.bind(oauth);
13917
+ target.denyAuthorization = oauth.denyAuthorization.bind(oauth);
13918
+ target.getOAuthConsentClient = oauth.getOAuthConsentClient.bind(oauth);
13919
+ target.getMcpConsentTargets = oauth.getMcpConsentTargets.bind(oauth);
13920
+ target.listMcpGrants = oauth.listMcpGrants.bind(oauth);
13921
+ target.narrowMcpGrant = oauth.narrowMcpGrant.bind(oauth);
13922
+ target.revokeMcpGrant = oauth.revokeMcpGrant.bind(oauth);
13645
13923
  target.exchangeOAuthToken = oauth.exchangeOAuthToken.bind(oauth);
13646
13924
  target.getAvailableScopes = oauth.getAvailableScopes.bind(oauth);
13647
13925
  target.getOAuthConnectionStatus = oauthConnections.getConnectionStatus.bind(oauthConnections);
@@ -13741,6 +14019,8 @@ function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackAp
13741
14019
  target.fhirGetEncounterSyncRuns = fhirConnections.fhirGetEncounterSyncRuns.bind(fhirConnections);
13742
14020
  target.fhirRefreshEncounterPatient = fhirConnections.fhirRefreshEncounterPatient.bind(fhirConnections);
13743
14021
  target.fhirBackfillEncounterSync = fhirConnections.fhirBackfillEncounterSync.bind(fhirConnections);
14022
+ target.fhirStartOnboardingImport = fhirConnections.fhirStartOnboardingImport.bind(fhirConnections);
14023
+ target.fhirGetOnboardingImportStatus = fhirConnections.fhirGetOnboardingImportStatus.bind(fhirConnections);
13744
14024
  target.configurePatientSync = patientSyncConnections.configurePatientSync.bind(patientSyncConnections);
13745
14025
  target.getPatientSyncStatus = patientSyncConnections.getPatientSyncStatus.bind(patientSyncConnections);
13746
14026
  target.deletePatientSyncConnection = patientSyncConnections.deletePatientSyncConnection.bind(patientSyncConnections);
@@ -13827,6 +14107,7 @@ function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackAp
13827
14107
  target.listAvailableAppConnections = appConnections.listAvailableAppConnections.bind(appConnections);
13828
14108
  target.listAppConnections = appConnections.listAppConnections.bind(appConnections);
13829
14109
  target.enablePlatformApp = appConnections.enablePlatformApp.bind(appConnections);
14110
+ target.configureZendeskConnection = appConnections.configureZendeskConnection.bind(appConnections);
13830
14111
  target.getPlatformApp = appConnections.getPlatformApp.bind(appConnections);
13831
14112
  target.updatePlatformApp = appConnections.updatePlatformApp.bind(appConnections);
13832
14113
  target.deletePlatformApp = appConnections.deletePlatformApp.bind(appConnections);
@@ -13879,6 +14160,7 @@ function bindOrgMethods(target, org) {
13879
14160
  target.getVoiceTrustProducts = org.getVoiceTrustProducts.bind(org);
13880
14161
  target.syncVoiceTrustProducts = org.syncVoiceTrustProducts.bind(org);
13881
14162
  target.createOrganizationWorkspace = org.createOrganizationWorkspace.bind(org);
14163
+ target.getOrganizationWorkspaces = org.getOrganizationWorkspaces.bind(org);
13882
14164
  target.getOrganizationWorkspace = org.getOrganizationWorkspace.bind(org);
13883
14165
  target.updateOrganizationWorkspace = org.updateOrganizationWorkspace.bind(org);
13884
14166
  target.getOrgBillingCustomer = org.getOrgBillingCustomer.bind(org);
@@ -13888,7 +14170,22 @@ function bindOrgMethods(target, org) {
13888
14170
  target.updateOrganizationMember = org.updateOrganizationMember.bind(org);
13889
14171
  target.listOrgWebhookEndpoints = org.listOrgWebhookEndpoints.bind(org);
13890
14172
  target.getOrgWebhookEndpoint = org.getOrgWebhookEndpoint.bind(org);
14173
+ target.createOrgWebhookEndpoint = org.createOrgWebhookEndpoint.bind(org);
13891
14174
  target.updateOrgWebhookEndpoint = org.updateOrgWebhookEndpoint.bind(org);
14175
+ target.listOrgWebhookEndpointDeliveries = org.listOrgWebhookEndpointDeliveries.bind(org);
14176
+ target.replayOrgWebhookDelivery = org.replayOrgWebhookDelivery.bind(org);
14177
+ target.discardPendingOrgWebhookDeliveries = org.discardPendingOrgWebhookDeliveries.bind(org);
14178
+ target.getOrgWebhookDeliveryDetail = org.getOrgWebhookDeliveryDetail.bind(org);
14179
+ target.clearOrgWebhookDeliveries = org.clearOrgWebhookDeliveries.bind(org);
14180
+ target.getOrgWebhookEndpointCoverage = org.getOrgWebhookEndpointCoverage.bind(org);
14181
+ target.testOrgWebhookEndpoint = org.testOrgWebhookEndpoint.bind(org);
14182
+ target.listWorkspaceLabels = org.listWorkspaceLabels.bind(org);
14183
+ target.createWorkspaceLabel = org.createWorkspaceLabel.bind(org);
14184
+ target.updateWorkspaceLabel = org.updateWorkspaceLabel.bind(org);
14185
+ target.deleteWorkspaceLabel = org.deleteWorkspaceLabel.bind(org);
14186
+ target.getWorkspaceLabels = org.getWorkspaceLabels.bind(org);
14187
+ target.setWorkspaceLabels = org.setWorkspaceLabels.bind(org);
14188
+ target.previewWorkspaceScope = org.previewWorkspaceScope.bind(org);
13892
14189
  }
13893
14190
 
13894
14191
  // src/client/bindings/pronunciations.ts
@@ -14044,6 +14341,11 @@ function bindMetricsMethods(target, metrics) {
14044
14341
  target.computeChatMetrics = metrics.computeChatMetrics.bind(metrics);
14045
14342
  }
14046
14343
 
14344
+ // src/client/bindings/data-reports.ts
14345
+ function bindDataReportsMethods(target, dataReports) {
14346
+ target.previewDataReport = dataReports.previewDataReport.bind(dataReports);
14347
+ }
14348
+
14047
14349
  // src/client/bindings/queries.ts
14048
14350
  function bindQueriesMethods(target, queries) {
14049
14351
  target.getQueryFields = queries.getQueryFields.bind(queries);
@@ -14359,6 +14661,8 @@ var GravityRailClient = class {
14359
14661
  validateQuery;
14360
14662
  previewQuery;
14361
14663
  runQuery;
14664
+ // Form Reports
14665
+ previewDataReport;
14362
14666
  listPersonas;
14363
14667
  getPersona;
14364
14668
  createPersona;
@@ -14543,6 +14847,7 @@ var GravityRailClient = class {
14543
14847
  inspectPrompt;
14544
14848
  // Workspaces API
14545
14849
  getWorkspaces;
14850
+ getOrganizationWorkspacePages;
14546
14851
  getDeviceAdmissibleWorkspaces;
14547
14852
  getPublicWorkspaces;
14548
14853
  getWorkspace;
@@ -14629,6 +14934,7 @@ var GravityRailClient = class {
14629
14934
  getVoiceTrustProducts;
14630
14935
  syncVoiceTrustProducts;
14631
14936
  createOrganizationWorkspace;
14937
+ getOrganizationWorkspaces;
14632
14938
  getOrganizationWorkspace;
14633
14939
  updateOrganizationWorkspace;
14634
14940
  getOrgBillingCustomer;
@@ -14638,7 +14944,22 @@ var GravityRailClient = class {
14638
14944
  updateOrganizationMember;
14639
14945
  listOrgWebhookEndpoints;
14640
14946
  getOrgWebhookEndpoint;
14947
+ createOrgWebhookEndpoint;
14641
14948
  updateOrgWebhookEndpoint;
14949
+ listOrgWebhookEndpointDeliveries;
14950
+ replayOrgWebhookDelivery;
14951
+ discardPendingOrgWebhookDeliveries;
14952
+ getOrgWebhookDeliveryDetail;
14953
+ clearOrgWebhookDeliveries;
14954
+ getOrgWebhookEndpointCoverage;
14955
+ testOrgWebhookEndpoint;
14956
+ listWorkspaceLabels;
14957
+ createWorkspaceLabel;
14958
+ updateWorkspaceLabel;
14959
+ deleteWorkspaceLabel;
14960
+ getWorkspaceLabels;
14961
+ setWorkspaceLabels;
14962
+ previewWorkspaceScope;
14642
14963
  getVapidPublicKey;
14643
14964
  registerPushSubscription;
14644
14965
  unregisterPushSubscription;
@@ -14779,6 +15100,7 @@ var GravityRailClient = class {
14779
15100
  convertFile;
14780
15101
  generateFileUploadUrl;
14781
15102
  getFolders;
15103
+ getFolderChildren;
14782
15104
  getFolder;
14783
15105
  createFolder;
14784
15106
  updateFolder;
@@ -14836,6 +15158,7 @@ var GravityRailClient = class {
14836
15158
  getWorkflowsActivityBatch;
14837
15159
  getWorkflowDiagram;
14838
15160
  getWorkflowOutline;
15161
+ getWorkflowsOutlineBatch;
14839
15162
  createWorkflow;
14840
15163
  updateWorkflow;
14841
15164
  getWorkflowDeletionPreview;
@@ -15048,6 +15371,12 @@ var GravityRailClient = class {
15048
15371
  deleteInquiry;
15049
15372
  exportInquiriesCsv;
15050
15373
  authorize;
15374
+ denyAuthorization;
15375
+ getOAuthConsentClient;
15376
+ getMcpConsentTargets;
15377
+ listMcpGrants;
15378
+ narrowMcpGrant;
15379
+ revokeMcpGrant;
15051
15380
  exchangeOAuthToken;
15052
15381
  getAvailableScopes;
15053
15382
  getOAuthConnectionStatus;
@@ -15149,6 +15478,8 @@ var GravityRailClient = class {
15149
15478
  fhirGetEncounterSyncRuns;
15150
15479
  fhirRefreshEncounterPatient;
15151
15480
  fhirBackfillEncounterSync;
15481
+ fhirStartOnboardingImport;
15482
+ fhirGetOnboardingImportStatus;
15152
15483
  // Healthie API
15153
15484
  getDocumoFaxStatus;
15154
15485
  getDocumoFaxSetup;
@@ -15241,6 +15572,7 @@ var GravityRailClient = class {
15241
15572
  listAvailableAppConnections;
15242
15573
  listAppConnections;
15243
15574
  enablePlatformApp;
15575
+ configureZendeskConnection;
15244
15576
  getPlatformApp;
15245
15577
  updatePlatformApp;
15246
15578
  deletePlatformApp;
@@ -15321,6 +15653,7 @@ var GravityRailClient = class {
15321
15653
  bindPersonasMethods(this, apis.personas);
15322
15654
  bindMetricsMethods(this, apis.metrics);
15323
15655
  bindQueriesMethods(this, apis.queries);
15656
+ bindDataReportsMethods(this, apis.dataReports);
15324
15657
  bindDashboardsMethods(this, apis.dashboards);
15325
15658
  bindActivityMethods(this, apis.activity);
15326
15659
  bindMotdMethods(this, apis.motd);
@@ -15473,12 +15806,14 @@ var AbilityTypeSlugs = {
15473
15806
  CALENDAR_BOOKING: "integration:calendar_booking",
15474
15807
  FILE_ACCESS: "integration:file_access",
15475
15808
  DATA_ACCESS: "integration:data_access",
15809
+ DATA_REPORTS: "integration:data_reports",
15476
15810
  GMAIL: "integration:gmail",
15477
15811
  GOOGLE_CALENDAR: "integration:google_calendar",
15478
15812
  GOOGLE_DRIVE: "integration:google_drive",
15479
15813
  GOOGLE_SHEETS: "integration:google_sheets",
15480
15814
  CHARLESTON_PMD_PAGING: "integration:charleston_pmd_paging",
15481
15815
  COSAN_PATHWAYS_SCHEDULING: "integration:cosan_pathways_scheduling",
15816
+ ATHENA_SCHEDULING: "integration:athena_scheduling",
15482
15817
  // Communication
15483
15818
  PHONE_CALL_TOOLS: "communication:phone_call_tools",
15484
15819
  SEND_SMS: "communication:send_sms",
@@ -15517,7 +15852,14 @@ function getTTSProvider(ttsModel) {
15517
15852
  if (!ttsModel || ttsModel === "native") return ttsModel ?? null;
15518
15853
  return ttsModel.split(":")[0] ?? null;
15519
15854
  }
15520
- var TTS_PREVIEW_PROVIDERS = ["openai", "google", "aws", "deepgram", "xai"];
15855
+ var TTS_PREVIEW_PROVIDERS = [
15856
+ "openai",
15857
+ "elevenlabs",
15858
+ "google",
15859
+ "aws",
15860
+ "deepgram",
15861
+ "xai"
15862
+ ];
15521
15863
  function getVoiceModelId(entity) {
15522
15864
  const config = entity.realtimeModelConfig;
15523
15865
  return config?.voiceModel ?? null;
@@ -15689,6 +16031,12 @@ var SiteDnsRecordType = {
15689
16031
  TXT: "TXT"
15690
16032
  };
15691
16033
 
16034
+ // src/types/generated/ai_connector_policy.ts
16035
+ var AiConnectorPolicy = {
16036
+ any: "any",
16037
+ allowlist: "allowlist"
16038
+ };
16039
+
15692
16040
  // src/types/generated/site.ts
15693
16041
  var MenuItemResponseItemType = {
15694
16042
  page: "page",
@@ -15729,6 +16077,20 @@ var PromoCodeStatus = {
15729
16077
  exhausted: "exhausted"
15730
16078
  };
15731
16079
 
16080
+ // src/types/generated/contact_permission.ts
16081
+ var RecordContactPermissionRequestChannelNote = {
16082
+ phone_call: "phone_call",
16083
+ voicemail: "voicemail",
16084
+ email: "email",
16085
+ mail: "mail",
16086
+ postcard: "postcard",
16087
+ fax: "fax",
16088
+ in_person: "in_person",
16089
+ patient_portal: "patient_portal",
16090
+ web_form: "web_form",
16091
+ other: "other"
16092
+ };
16093
+
15732
16094
  // src/types/generated/import_skipped_rule.ts
15733
16095
  var ImportReadinessIssueCode = {
15734
16096
  phone_not_provisioned: "phone_not_provisioned",
@@ -16970,7 +17332,12 @@ export {
16970
17332
  STT_MODEL_DEEPGRAM_FLUX_SELFHOST,
16971
17333
  STT_MODEL_DEEPGRAM_FLUX_MULTI,
16972
17334
  STT_MODEL_DEEPGRAM_FLUX_MULTI_SELFHOST,
17335
+ STT_MODEL_ELEVENLABS_SCRIBE_V2_REALTIME,
16973
17336
  TTS_MODEL_XAI_V1,
17337
+ TTS_MODEL_ELEVENLABS_FLASH,
17338
+ TTS_MODEL_ELEVENLABS_TURBO,
17339
+ TTS_MODEL_ELEVENLABS_MULTILINGUAL,
17340
+ TTS_MODEL_ELEVENLABS_V4_TURBO,
16974
17341
  TTS_MODEL_DEEPGRAM_AURA_2,
16975
17342
  TTS_MODEL_AWS_POLLY_GENERATIVE,
16976
17343
  TTS_MODEL_AWS_POLLY_NEURAL,
@@ -17054,6 +17421,7 @@ export {
17054
17421
  bindQualificationsMethods,
17055
17422
  bindPersonasMethods,
17056
17423
  bindMetricsMethods,
17424
+ bindDataReportsMethods,
17057
17425
  bindQueriesMethods,
17058
17426
  bindCustomersMethods,
17059
17427
  bindResellersMethods,
@@ -17089,12 +17457,14 @@ export {
17089
17457
  Region,
17090
17458
  RegistrationIdentifier,
17091
17459
  SiteDnsRecordType,
17460
+ AiConnectorPolicy,
17092
17461
  MenuItemResponseItemType,
17093
17462
  AbilityConfigIssueCode,
17094
17463
  AbilityConfigIssueSeverity,
17095
17464
  WorkflowRoutingMode,
17096
17465
  WIDGET_SLUGS,
17097
17466
  PromoCodeStatus,
17467
+ RecordContactPermissionRequestChannelNote,
17098
17468
  ImportReadinessIssueCode,
17099
17469
  ImportReadinessIssueResourceType,
17100
17470
  ImportSkippedRuleResourceGroupResourceType,
@@ -17148,4 +17518,4 @@ export {
17148
17518
  pathDraftFromStorage,
17149
17519
  pathDraftToStorage
17150
17520
  };
17151
- //# sourceMappingURL=chunk-JRK77RT4.js.map
17521
+ //# sourceMappingURL=chunk-7R22EG5F.js.map