@gravity-rail/sdk 0.53.1 → 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 (38) hide show
  1. package/dist/{chat-interaction-BDWwGHdp.d.cts → chat-interaction-CZnqOfut.d.ts} +1207 -84
  2. package/dist/{chat-interaction-pkhyXbVv.d.ts → chat-interaction-DZCWRbDi.d.cts} +1207 -84
  3. package/dist/{chunk-JRK77RT4.js → chunk-BF4MOZZO.js} +329 -7
  4. package/dist/chunk-BF4MOZZO.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 +334 -6
  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 +15 -2
  14. package/dist/index.js.map +1 -1
  15. package/dist/internal.cjs +353 -9
  16. package/dist/internal.cjs.map +1 -1
  17. package/dist/internal.d.cts +6 -5
  18. package/dist/internal.d.ts +6 -5
  19. package/dist/internal.js +33 -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-C6Ujx-3w.d.cts} +51 -53
  24. package/dist/{path-J_F_cq4m.d.cts → path-YfkJBAbf.d.ts} +51 -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 +1 -1
  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
  */
@@ -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`, {
@@ -9599,6 +9792,7 @@ var WorkspaceFeature = /* @__PURE__ */ ((WorkspaceFeature2) => {
9599
9792
  WorkspaceFeature2["CRM_SALESFORCE"] = "crm_salesforce";
9600
9793
  WorkspaceFeature2["CRM_HUBSPOT"] = "crm_hubspot";
9601
9794
  WorkspaceFeature2["CONFLUENCE"] = "confluence";
9795
+ WorkspaceFeature2["ZENDESK"] = "zendesk";
9602
9796
  WorkspaceFeature2["AGENT_MEMORY"] = "agent_memory";
9603
9797
  WorkspaceFeature2["IMAGE_GENERATION"] = "image_generation";
9604
9798
  WorkspaceFeature2["CHARLESTON_NEPHROLOGY_PMD_PAGING"] = "charleston_nephrology_pmd_paging";
@@ -9705,6 +9899,7 @@ var ModelProvider = {
9705
9899
  google: "google",
9706
9900
  anthropic: "anthropic",
9707
9901
  aws: "aws",
9902
+ elevenlabs: "elevenlabs",
9708
9903
  deepgram: "deepgram",
9709
9904
  xai: "xai",
9710
9905
  fireworks: "fireworks",
@@ -9731,7 +9926,12 @@ var STT_MODEL_DEEPGRAM_FLUX = "deepgram:stt:flux-general-en";
9731
9926
  var STT_MODEL_DEEPGRAM_FLUX_SELFHOST = "deepgram:stt:flux-general-en:selfhost";
9732
9927
  var STT_MODEL_DEEPGRAM_FLUX_MULTI = "deepgram:stt:flux-general-multi";
9733
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";
9734
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";
9735
9935
  var TTS_MODEL_DEEPGRAM_AURA_2 = "deepgram:tts:aura-2";
9736
9936
  var TTS_MODEL_AWS_POLLY_GENERATIVE = "aws:tts:polly-generative";
9737
9937
  var TTS_MODEL_AWS_POLLY_NEURAL = "aws:tts:polly-neural";
@@ -10358,6 +10558,17 @@ var WorkspacesApi = class extends BaseApiClient {
10358
10558
  async getWorkspaces(options) {
10359
10559
  return this.fetch(`w/?${workspaceDirectoryParams(options)}`);
10360
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
+ }
10361
10572
  /** A bounded page of companion-device candidates, with admission checked per row. */
10362
10573
  async getDeviceAdmissibleWorkspaces(options) {
10363
10574
  const params = workspaceDirectoryParams(options);
@@ -11594,6 +11805,21 @@ var MetricsApi = class extends BaseApiClient {
11594
11805
  }
11595
11806
  };
11596
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
+
11597
11823
  // src/api/projects.ts
11598
11824
  var ProjectsApi = class extends BaseApiClient {
11599
11825
  /** List projects (README frontmatter summaries). */
@@ -11867,6 +12093,7 @@ function createApiModules(apiKey, baseUrl, customFetch) {
11867
12093
  qualifications: new QualificationsApi(apiKey, baseUrl, customFetch),
11868
12094
  personas: new PersonasApi(apiKey, baseUrl, customFetch),
11869
12095
  metrics: new MetricsApi(apiKey, baseUrl, customFetch),
12096
+ dataReports: new DataReportsApi(apiKey, baseUrl, customFetch),
11870
12097
  queries: new QueriesApi(apiKey, baseUrl, customFetch),
11871
12098
  reports: new ReportsApi(apiKey, baseUrl, customFetch),
11872
12099
  resourceWorkflows: new ResourceWorkflowsApi(apiKey, baseUrl, customFetch),
@@ -11942,6 +12169,7 @@ var WORKSPACE_METHOD_NAMES = [
11942
12169
  "configureHubspot",
11943
12170
  "configureMondayConnection",
11944
12171
  "configureSalesforce",
12172
+ "configureZendeskConnection",
11945
12173
  "convertEmail",
11946
12174
  "convertFile",
11947
12175
  "createAbility",
@@ -12138,6 +12366,7 @@ var WORKSPACE_METHOD_NAMES = [
12138
12366
  "fhirGetCsvImportSettings",
12139
12367
  "fhirGetEncounterSyncRuns",
12140
12368
  "fhirGetEncounterSyncStatus",
12369
+ "fhirGetOnboardingImportStatus",
12141
12370
  "fhirImportPatient",
12142
12371
  "fhirLinkMember",
12143
12372
  "fhirListLinkedMembers",
@@ -12146,6 +12375,7 @@ var WORKSPACE_METHOD_NAMES = [
12146
12375
  "fhirSearchLocations",
12147
12376
  "fhirSearchPatients",
12148
12377
  "fhirSearchPractitioners",
12378
+ "fhirStartOnboardingImport",
12149
12379
  "fhirSyncMember",
12150
12380
  "fhirUnlinkMember",
12151
12381
  "fhirUpdateCsvImportSettings",
@@ -12302,6 +12532,7 @@ var WORKSPACE_METHOD_NAMES = [
12302
12532
  "importSiteSourceZip",
12303
12533
  "installDocumoFax",
12304
12534
  "listChatRecordings",
12535
+ "previewDataReport",
12305
12536
  "previewQuery",
12306
12537
  "publishSiteSource",
12307
12538
  "publishDataTypeDraft",
@@ -12325,6 +12556,7 @@ var WORKSPACE_METHOD_NAMES = [
12325
12556
  "getFiles",
12326
12557
  "getFirstRunState",
12327
12558
  "getFolder",
12559
+ "getFolderChildren",
12328
12560
  "getFolderMemberAccess",
12329
12561
  "getFolderSharing",
12330
12562
  "getFolders",
@@ -12511,6 +12743,7 @@ var WORKSPACE_METHOD_NAMES = [
12511
12743
  "getWorkflowTemplates",
12512
12744
  "getWorkflows",
12513
12745
  "getWorkflowsActivityBatch",
12746
+ "getWorkflowsOutlineBatch",
12514
12747
  "getWorkspace",
12515
12748
  "getWorkspaceActivityCounts",
12516
12749
  "getWorkspaceBuilder",
@@ -13133,6 +13366,7 @@ function bindMembersMethods(target, members) {
13133
13366
  // src/client/bindings/workspaces.ts
13134
13367
  function bindWorkspacesMethods(target, workspaces, signupRequests) {
13135
13368
  target.getWorkspaces = workspaces.getWorkspaces.bind(workspaces);
13369
+ target.getOrganizationWorkspacePages = workspaces.getOrganizationWorkspacePages.bind(workspaces);
13136
13370
  target.getDeviceAdmissibleWorkspaces = workspaces.getDeviceAdmissibleWorkspaces.bind(workspaces);
13137
13371
  target.getPublicWorkspaces = workspaces.getPublicWorkspaces.bind(workspaces);
13138
13372
  target.getWorkspace = workspaces.getWorkspace.bind(workspaces);
@@ -13334,6 +13568,7 @@ function bindFilesMethods(target, files) {
13334
13568
  target.convertFile = files.convertFile.bind(files);
13335
13569
  target.generateFileUploadUrl = files.generateFileUploadUrl.bind(files);
13336
13570
  target.getFolders = files.getFolders.bind(files);
13571
+ target.getFolderChildren = files.getFolderChildren.bind(files);
13337
13572
  target.getFolder = files.getFolder.bind(files);
13338
13573
  target.createFolder = files.createFolder.bind(files);
13339
13574
  target.updateFolder = files.updateFolder.bind(files);
@@ -13422,6 +13657,7 @@ function bindWorkflowsMethods(target, workflows, workflowNotes, voice, superviso
13422
13657
  target.getWorkflowsActivityBatch = workflows.getWorkflowsActivityBatch.bind(workflows);
13423
13658
  target.getWorkflowDiagram = workflows.getWorkflowDiagram.bind(workflows);
13424
13659
  target.getWorkflowOutline = workflows.getWorkflowOutline.bind(workflows);
13660
+ target.getWorkflowsOutlineBatch = workflows.getWorkflowsOutlineBatch.bind(workflows);
13425
13661
  target.createWorkflow = workflows.createWorkflow.bind(workflows);
13426
13662
  target.updateWorkflow = workflows.updateWorkflow.bind(workflows);
13427
13663
  target.getWorkflowDeletionPreview = workflows.getWorkflowDeletionPreview.bind(workflows);
@@ -13642,6 +13878,12 @@ function bindAppsMethods(target, apps, builders, inquiries, oauth, oauthConnecti
13642
13878
  target.deleteInquiry = inquiries.deleteInquiry.bind(inquiries);
13643
13879
  target.exportInquiriesCsv = inquiries.exportInquiriesCsv.bind(inquiries);
13644
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);
13645
13887
  target.exchangeOAuthToken = oauth.exchangeOAuthToken.bind(oauth);
13646
13888
  target.getAvailableScopes = oauth.getAvailableScopes.bind(oauth);
13647
13889
  target.getOAuthConnectionStatus = oauthConnections.getConnectionStatus.bind(oauthConnections);
@@ -13741,6 +13983,8 @@ function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackAp
13741
13983
  target.fhirGetEncounterSyncRuns = fhirConnections.fhirGetEncounterSyncRuns.bind(fhirConnections);
13742
13984
  target.fhirRefreshEncounterPatient = fhirConnections.fhirRefreshEncounterPatient.bind(fhirConnections);
13743
13985
  target.fhirBackfillEncounterSync = fhirConnections.fhirBackfillEncounterSync.bind(fhirConnections);
13986
+ target.fhirStartOnboardingImport = fhirConnections.fhirStartOnboardingImport.bind(fhirConnections);
13987
+ target.fhirGetOnboardingImportStatus = fhirConnections.fhirGetOnboardingImportStatus.bind(fhirConnections);
13744
13988
  target.configurePatientSync = patientSyncConnections.configurePatientSync.bind(patientSyncConnections);
13745
13989
  target.getPatientSyncStatus = patientSyncConnections.getPatientSyncStatus.bind(patientSyncConnections);
13746
13990
  target.deletePatientSyncConnection = patientSyncConnections.deletePatientSyncConnection.bind(patientSyncConnections);
@@ -13827,6 +14071,7 @@ function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackAp
13827
14071
  target.listAvailableAppConnections = appConnections.listAvailableAppConnections.bind(appConnections);
13828
14072
  target.listAppConnections = appConnections.listAppConnections.bind(appConnections);
13829
14073
  target.enablePlatformApp = appConnections.enablePlatformApp.bind(appConnections);
14074
+ target.configureZendeskConnection = appConnections.configureZendeskConnection.bind(appConnections);
13830
14075
  target.getPlatformApp = appConnections.getPlatformApp.bind(appConnections);
13831
14076
  target.updatePlatformApp = appConnections.updatePlatformApp.bind(appConnections);
13832
14077
  target.deletePlatformApp = appConnections.deletePlatformApp.bind(appConnections);
@@ -13879,6 +14124,7 @@ function bindOrgMethods(target, org) {
13879
14124
  target.getVoiceTrustProducts = org.getVoiceTrustProducts.bind(org);
13880
14125
  target.syncVoiceTrustProducts = org.syncVoiceTrustProducts.bind(org);
13881
14126
  target.createOrganizationWorkspace = org.createOrganizationWorkspace.bind(org);
14127
+ target.getOrganizationWorkspaces = org.getOrganizationWorkspaces.bind(org);
13882
14128
  target.getOrganizationWorkspace = org.getOrganizationWorkspace.bind(org);
13883
14129
  target.updateOrganizationWorkspace = org.updateOrganizationWorkspace.bind(org);
13884
14130
  target.getOrgBillingCustomer = org.getOrgBillingCustomer.bind(org);
@@ -13888,7 +14134,20 @@ function bindOrgMethods(target, org) {
13888
14134
  target.updateOrganizationMember = org.updateOrganizationMember.bind(org);
13889
14135
  target.listOrgWebhookEndpoints = org.listOrgWebhookEndpoints.bind(org);
13890
14136
  target.getOrgWebhookEndpoint = org.getOrgWebhookEndpoint.bind(org);
14137
+ target.createOrgWebhookEndpoint = org.createOrgWebhookEndpoint.bind(org);
13891
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);
13892
14151
  }
13893
14152
 
13894
14153
  // src/client/bindings/pronunciations.ts
@@ -14044,6 +14303,11 @@ function bindMetricsMethods(target, metrics) {
14044
14303
  target.computeChatMetrics = metrics.computeChatMetrics.bind(metrics);
14045
14304
  }
14046
14305
 
14306
+ // src/client/bindings/data-reports.ts
14307
+ function bindDataReportsMethods(target, dataReports) {
14308
+ target.previewDataReport = dataReports.previewDataReport.bind(dataReports);
14309
+ }
14310
+
14047
14311
  // src/client/bindings/queries.ts
14048
14312
  function bindQueriesMethods(target, queries) {
14049
14313
  target.getQueryFields = queries.getQueryFields.bind(queries);
@@ -14359,6 +14623,8 @@ var GravityRailClient = class {
14359
14623
  validateQuery;
14360
14624
  previewQuery;
14361
14625
  runQuery;
14626
+ // Form Reports
14627
+ previewDataReport;
14362
14628
  listPersonas;
14363
14629
  getPersona;
14364
14630
  createPersona;
@@ -14543,6 +14809,7 @@ var GravityRailClient = class {
14543
14809
  inspectPrompt;
14544
14810
  // Workspaces API
14545
14811
  getWorkspaces;
14812
+ getOrganizationWorkspacePages;
14546
14813
  getDeviceAdmissibleWorkspaces;
14547
14814
  getPublicWorkspaces;
14548
14815
  getWorkspace;
@@ -14629,6 +14896,7 @@ var GravityRailClient = class {
14629
14896
  getVoiceTrustProducts;
14630
14897
  syncVoiceTrustProducts;
14631
14898
  createOrganizationWorkspace;
14899
+ getOrganizationWorkspaces;
14632
14900
  getOrganizationWorkspace;
14633
14901
  updateOrganizationWorkspace;
14634
14902
  getOrgBillingCustomer;
@@ -14638,7 +14906,20 @@ var GravityRailClient = class {
14638
14906
  updateOrganizationMember;
14639
14907
  listOrgWebhookEndpoints;
14640
14908
  getOrgWebhookEndpoint;
14909
+ createOrgWebhookEndpoint;
14641
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;
14642
14923
  getVapidPublicKey;
14643
14924
  registerPushSubscription;
14644
14925
  unregisterPushSubscription;
@@ -14779,6 +15060,7 @@ var GravityRailClient = class {
14779
15060
  convertFile;
14780
15061
  generateFileUploadUrl;
14781
15062
  getFolders;
15063
+ getFolderChildren;
14782
15064
  getFolder;
14783
15065
  createFolder;
14784
15066
  updateFolder;
@@ -14836,6 +15118,7 @@ var GravityRailClient = class {
14836
15118
  getWorkflowsActivityBatch;
14837
15119
  getWorkflowDiagram;
14838
15120
  getWorkflowOutline;
15121
+ getWorkflowsOutlineBatch;
14839
15122
  createWorkflow;
14840
15123
  updateWorkflow;
14841
15124
  getWorkflowDeletionPreview;
@@ -15048,6 +15331,12 @@ var GravityRailClient = class {
15048
15331
  deleteInquiry;
15049
15332
  exportInquiriesCsv;
15050
15333
  authorize;
15334
+ denyAuthorization;
15335
+ getOAuthConsentClient;
15336
+ getMcpConsentTargets;
15337
+ listMcpGrants;
15338
+ narrowMcpGrant;
15339
+ revokeMcpGrant;
15051
15340
  exchangeOAuthToken;
15052
15341
  getAvailableScopes;
15053
15342
  getOAuthConnectionStatus;
@@ -15149,6 +15438,8 @@ var GravityRailClient = class {
15149
15438
  fhirGetEncounterSyncRuns;
15150
15439
  fhirRefreshEncounterPatient;
15151
15440
  fhirBackfillEncounterSync;
15441
+ fhirStartOnboardingImport;
15442
+ fhirGetOnboardingImportStatus;
15152
15443
  // Healthie API
15153
15444
  getDocumoFaxStatus;
15154
15445
  getDocumoFaxSetup;
@@ -15241,6 +15532,7 @@ var GravityRailClient = class {
15241
15532
  listAvailableAppConnections;
15242
15533
  listAppConnections;
15243
15534
  enablePlatformApp;
15535
+ configureZendeskConnection;
15244
15536
  getPlatformApp;
15245
15537
  updatePlatformApp;
15246
15538
  deletePlatformApp;
@@ -15321,6 +15613,7 @@ var GravityRailClient = class {
15321
15613
  bindPersonasMethods(this, apis.personas);
15322
15614
  bindMetricsMethods(this, apis.metrics);
15323
15615
  bindQueriesMethods(this, apis.queries);
15616
+ bindDataReportsMethods(this, apis.dataReports);
15324
15617
  bindDashboardsMethods(this, apis.dashboards);
15325
15618
  bindActivityMethods(this, apis.activity);
15326
15619
  bindMotdMethods(this, apis.motd);
@@ -15473,6 +15766,7 @@ var AbilityTypeSlugs = {
15473
15766
  CALENDAR_BOOKING: "integration:calendar_booking",
15474
15767
  FILE_ACCESS: "integration:file_access",
15475
15768
  DATA_ACCESS: "integration:data_access",
15769
+ DATA_REPORTS: "integration:data_reports",
15476
15770
  GMAIL: "integration:gmail",
15477
15771
  GOOGLE_CALENDAR: "integration:google_calendar",
15478
15772
  GOOGLE_DRIVE: "integration:google_drive",
@@ -15517,7 +15811,14 @@ function getTTSProvider(ttsModel) {
15517
15811
  if (!ttsModel || ttsModel === "native") return ttsModel ?? null;
15518
15812
  return ttsModel.split(":")[0] ?? null;
15519
15813
  }
15520
- 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
+ ];
15521
15822
  function getVoiceModelId(entity) {
15522
15823
  const config = entity.realtimeModelConfig;
15523
15824
  return config?.voiceModel ?? null;
@@ -15729,6 +16030,20 @@ var PromoCodeStatus = {
15729
16030
  exhausted: "exhausted"
15730
16031
  };
15731
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
+
15732
16047
  // src/types/generated/import_skipped_rule.ts
15733
16048
  var ImportReadinessIssueCode = {
15734
16049
  phone_not_provisioned: "phone_not_provisioned",
@@ -16970,7 +17285,12 @@ export {
16970
17285
  STT_MODEL_DEEPGRAM_FLUX_SELFHOST,
16971
17286
  STT_MODEL_DEEPGRAM_FLUX_MULTI,
16972
17287
  STT_MODEL_DEEPGRAM_FLUX_MULTI_SELFHOST,
17288
+ STT_MODEL_ELEVENLABS_SCRIBE_V2_REALTIME,
16973
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,
16974
17294
  TTS_MODEL_DEEPGRAM_AURA_2,
16975
17295
  TTS_MODEL_AWS_POLLY_GENERATIVE,
16976
17296
  TTS_MODEL_AWS_POLLY_NEURAL,
@@ -17054,6 +17374,7 @@ export {
17054
17374
  bindQualificationsMethods,
17055
17375
  bindPersonasMethods,
17056
17376
  bindMetricsMethods,
17377
+ bindDataReportsMethods,
17057
17378
  bindQueriesMethods,
17058
17379
  bindCustomersMethods,
17059
17380
  bindResellersMethods,
@@ -17095,6 +17416,7 @@ export {
17095
17416
  WorkflowRoutingMode,
17096
17417
  WIDGET_SLUGS,
17097
17418
  PromoCodeStatus,
17419
+ RecordContactPermissionRequestChannelNote,
17098
17420
  ImportReadinessIssueCode,
17099
17421
  ImportReadinessIssueResourceType,
17100
17422
  ImportSkippedRuleResourceGroupResourceType,
@@ -17148,4 +17470,4 @@ export {
17148
17470
  pathDraftFromStorage,
17149
17471
  pathDraftToStorage
17150
17472
  };
17151
- //# sourceMappingURL=chunk-JRK77RT4.js.map
17473
+ //# sourceMappingURL=chunk-BF4MOZZO.js.map