@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.
- package/README.md +89 -37
- package/dist/{chat-interaction-CklXa8iQ.d.cts → chat-interaction-CZnqOfut.d.ts} +1212 -69
- package/dist/{chat-interaction-Dei_j8Sd.d.ts → chat-interaction-DZCWRbDi.d.cts} +1212 -69
- package/dist/{chunk-6F4YJJKQ.js → chunk-BF4MOZZO.js} +339 -7
- package/dist/chunk-BF4MOZZO.js.map +1 -0
- package/dist/{chunk-MMDSZ25F.js → chunk-HXVJF54M.js} +1 -1
- package/dist/chunk-HXVJF54M.js.map +1 -0
- package/dist/helpers.d.cts +4 -4
- package/dist/helpers.d.ts +4 -4
- package/dist/index.cjs +344 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -6
- package/dist/index.d.ts +7 -6
- package/dist/index.js +15 -2
- package/dist/index.js.map +1 -1
- package/dist/internal.cjs +363 -9
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.d.cts +6 -5
- package/dist/internal.d.ts +6 -5
- package/dist/internal.js +33 -5
- package/dist/internal.js.map +1 -1
- package/dist/{member-import-Do6D2g14.d.ts → member-import-D1QvZiy5.d.ts} +1 -1
- package/dist/{member-import-BtTWfQ46.d.cts → member-import-DzuvKnMC.d.cts} +1 -1
- package/dist/{path-DKPLfZj4.d.ts → path-C6Ujx-3w.d.cts} +51 -53
- package/dist/{path-D1ZCbboc.d.cts → path-YfkJBAbf.d.ts} +51 -53
- package/dist/realtime.cjs +26 -0
- package/dist/realtime.cjs.map +1 -1
- package/dist/realtime.d.cts +17 -0
- package/dist/realtime.d.ts +17 -0
- package/dist/realtime.js +26 -0
- package/dist/realtime.js.map +1 -1
- package/dist/schemas.d.cts +2 -2
- package/dist/schemas.d.ts +2 -2
- package/dist/schemas.js +1 -1
- package/dist/{tasks-JweebIce.d.cts → tasks-BdYhYUpU.d.cts} +92 -26
- package/dist/{tasks-JweebIce.d.ts → tasks-BdYhYUpU.d.ts} +92 -26
- package/package.json +1 -1
- package/dist/chunk-6F4YJJKQ.js.map +0 -1
- package/dist/chunk-MMDSZ25F.js.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -165,6 +165,7 @@ __export(src_exports, {
|
|
|
165
165
|
REALTIME_MODEL_OPENAI_2: () => REALTIME_MODEL_OPENAI_2,
|
|
166
166
|
REALTIME_MODEL_OPENAI_MINI: () => REALTIME_MODEL_OPENAI_MINI,
|
|
167
167
|
RecordChangeKind: () => RecordChangeKind,
|
|
168
|
+
RecordContactPermissionRequestChannelNote: () => RecordContactPermissionRequestChannelNote,
|
|
168
169
|
RefResolutionStatus: () => RefResolutionStatus,
|
|
169
170
|
ReferenceTargetInputKind: () => ReferenceTargetInputKind,
|
|
170
171
|
Region: () => Region,
|
|
@@ -187,6 +188,7 @@ __export(src_exports, {
|
|
|
187
188
|
STT_MODEL_DEEPGRAM_FLUX_MULTI: () => STT_MODEL_DEEPGRAM_FLUX_MULTI,
|
|
188
189
|
STT_MODEL_DEEPGRAM_FLUX_MULTI_SELFHOST: () => STT_MODEL_DEEPGRAM_FLUX_MULTI_SELFHOST,
|
|
189
190
|
STT_MODEL_DEEPGRAM_FLUX_SELFHOST: () => STT_MODEL_DEEPGRAM_FLUX_SELFHOST,
|
|
191
|
+
STT_MODEL_ELEVENLABS_SCRIBE_V2_REALTIME: () => STT_MODEL_ELEVENLABS_SCRIBE_V2_REALTIME,
|
|
190
192
|
ScalarTargetInputKind: () => ScalarTargetInputKind,
|
|
191
193
|
ScenarioHealthCaption: () => ScenarioHealthCaption,
|
|
192
194
|
ScenarioHealthHeadline: () => ScenarioHealthHeadline,
|
|
@@ -204,6 +206,10 @@ __export(src_exports, {
|
|
|
204
206
|
TTS_MODEL_AWS_POLLY_GENERATIVE: () => TTS_MODEL_AWS_POLLY_GENERATIVE,
|
|
205
207
|
TTS_MODEL_AWS_POLLY_NEURAL: () => TTS_MODEL_AWS_POLLY_NEURAL,
|
|
206
208
|
TTS_MODEL_DEEPGRAM_AURA_2: () => TTS_MODEL_DEEPGRAM_AURA_2,
|
|
209
|
+
TTS_MODEL_ELEVENLABS_FLASH: () => TTS_MODEL_ELEVENLABS_FLASH,
|
|
210
|
+
TTS_MODEL_ELEVENLABS_MULTILINGUAL: () => TTS_MODEL_ELEVENLABS_MULTILINGUAL,
|
|
211
|
+
TTS_MODEL_ELEVENLABS_TURBO: () => TTS_MODEL_ELEVENLABS_TURBO,
|
|
212
|
+
TTS_MODEL_ELEVENLABS_V4_TURBO: () => TTS_MODEL_ELEVENLABS_V4_TURBO,
|
|
207
213
|
TTS_MODEL_XAI_V1: () => TTS_MODEL_XAI_V1,
|
|
208
214
|
TTS_PREVIEW_PROVIDERS: () => TTS_PREVIEW_PROVIDERS,
|
|
209
215
|
TaskBuilder: () => TaskBuilder,
|
|
@@ -4341,6 +4347,36 @@ var FhirConnectionsApi = class extends BaseApiClient {
|
|
|
4341
4347
|
{ method: "POST", body: JSON.stringify(data) }
|
|
4342
4348
|
);
|
|
4343
4349
|
}
|
|
4350
|
+
/**
|
|
4351
|
+
* Start, resume, override or preview (dry run) an athenahealth connection's
|
|
4352
|
+
* onboarding import. The body is exactly the three mode flags; the server
|
|
4353
|
+
* traverses the connection's configured department/status pairs. Returns
|
|
4354
|
+
* 202 with the Temporal workflow and run ids. Requires `workspace:admin`.
|
|
4355
|
+
*/
|
|
4356
|
+
async fhirStartOnboardingImport(wid, connectionId, data = {}) {
|
|
4357
|
+
const body = {
|
|
4358
|
+
dryRun: data.dryRun ?? false,
|
|
4359
|
+
resume: data.resume ?? false,
|
|
4360
|
+
override: data.override ?? false
|
|
4361
|
+
};
|
|
4362
|
+
return this.fetch(
|
|
4363
|
+
`w/${wid}/app-connections/fhir/connections/${connectionId}/onboarding-import`,
|
|
4364
|
+
{
|
|
4365
|
+
method: "POST",
|
|
4366
|
+
body: JSON.stringify(body)
|
|
4367
|
+
}
|
|
4368
|
+
);
|
|
4369
|
+
}
|
|
4370
|
+
/**
|
|
4371
|
+
* Read an athenahealth connection's onboarding-import progress (durable,
|
|
4372
|
+
* approximate totals) and its known Temporal execution. GET-only: never
|
|
4373
|
+
* starts or resumes work. Requires `workspace:admin`.
|
|
4374
|
+
*/
|
|
4375
|
+
async fhirGetOnboardingImportStatus(wid, connectionId) {
|
|
4376
|
+
return this.fetch(
|
|
4377
|
+
`w/${wid}/app-connections/fhir/connections/${connectionId}/onboarding-import`
|
|
4378
|
+
);
|
|
4379
|
+
}
|
|
4344
4380
|
};
|
|
4345
4381
|
|
|
4346
4382
|
// src/api/patientsync-connections.ts
|
|
@@ -4570,8 +4606,8 @@ var FilesApi = class extends BaseApiClient {
|
|
|
4570
4606
|
* Download one file's bytes via GET ``.../files/{id}/contents/{filename}``.
|
|
4571
4607
|
*
|
|
4572
4608
|
* Uses this client's base URL (FastAPI on the app, same-origin ``/api/v2``
|
|
4573
|
-
* on scoped site sessions)
|
|
4574
|
-
*
|
|
4609
|
+
* on scoped site sessions). The Next.js ``/api/w/.../files/...`` route
|
|
4610
|
+
* redirects to this same contents path; calling it directly skips the hop.
|
|
4575
4611
|
*/
|
|
4576
4612
|
async downloadFileContents(wid, id, filename) {
|
|
4577
4613
|
const response = await this.fetchRaw(
|
|
@@ -4655,9 +4691,9 @@ var FilesApi = class extends BaseApiClient {
|
|
|
4655
4691
|
);
|
|
4656
4692
|
}
|
|
4657
4693
|
/**
|
|
4658
|
-
* Same-origin
|
|
4659
|
-
*
|
|
4660
|
-
*
|
|
4694
|
+
* Same-origin URL for a version's raw contents. The Next.js route
|
|
4695
|
+
* requires a session and redirects to the versioned FastAPI contents
|
|
4696
|
+
* endpoint. Mirrors the shape of `FileResponse.cdnUrl`.
|
|
4661
4697
|
*/
|
|
4662
4698
|
getFileVersionContentsUrl(wid, fileId, versionNumber) {
|
|
4663
4699
|
return `/api/w/${wid}/files/${fileId}/versions/${versionNumber}/contents`;
|
|
@@ -4689,6 +4725,19 @@ var FilesApi = class extends BaseApiClient {
|
|
|
4689
4725
|
const parentId = typeof parentIdOrOpts === "number" ? parentIdOrOpts : parentIdOrOpts.parentId;
|
|
4690
4726
|
return this.fetch(`w/${wid}/folders?parent_id=${parentId}`);
|
|
4691
4727
|
}
|
|
4728
|
+
/**
|
|
4729
|
+
* Readable children of many parents in one request.
|
|
4730
|
+
*
|
|
4731
|
+
* Every id comes back as a key. A parent with no readable children maps to
|
|
4732
|
+
* an empty list. The server accepts at most 100 ids per call.
|
|
4733
|
+
*/
|
|
4734
|
+
async getFolderChildren(wid, parentIds) {
|
|
4735
|
+
const params = new URLSearchParams();
|
|
4736
|
+
for (const parentId of parentIds) {
|
|
4737
|
+
params.append("parent_ids", String(parentId));
|
|
4738
|
+
}
|
|
4739
|
+
return this.fetch(`w/${wid}/folders/children?${params}`);
|
|
4740
|
+
}
|
|
4692
4741
|
/** Get a single folder by ID. */
|
|
4693
4742
|
async getFolder(wid, id) {
|
|
4694
4743
|
return this.fetch(`w/${wid}/folders/${id}`);
|
|
@@ -5134,6 +5183,19 @@ var AppConnectionsApi = class extends BaseApiClient {
|
|
|
5134
5183
|
body: JSON.stringify(data)
|
|
5135
5184
|
});
|
|
5136
5185
|
}
|
|
5186
|
+
/**
|
|
5187
|
+
* Create a public Zendesk Help Center connection with its sync paused.
|
|
5188
|
+
*
|
|
5189
|
+
* The acting Member becomes the sync owner. Later settings edits,
|
|
5190
|
+
* pause/resume, Sync now and run history use the generic connection-sync
|
|
5191
|
+
* methods (`updateConnectionSyncConfig`, `startSyncRun`, `getSyncRuns`).
|
|
5192
|
+
*/
|
|
5193
|
+
async configureZendeskConnection(wid, data) {
|
|
5194
|
+
return this.fetch(`w/${wid}/app-connections/zendesk/configure`, {
|
|
5195
|
+
method: "POST",
|
|
5196
|
+
body: JSON.stringify(data)
|
|
5197
|
+
});
|
|
5198
|
+
}
|
|
5137
5199
|
/**
|
|
5138
5200
|
* Get platform app connection details by UUID.
|
|
5139
5201
|
*/
|
|
@@ -7475,6 +7537,45 @@ var OrgApi = class extends BaseApiClient {
|
|
|
7475
7537
|
`o/${orgIdOrUuid}/webhooks/${endpointUuid}/deliveries?limit=${limit}`
|
|
7476
7538
|
);
|
|
7477
7539
|
}
|
|
7540
|
+
/**
|
|
7541
|
+
* Requeue one dead-lettered or expired delivery on its existing row.
|
|
7542
|
+
*
|
|
7543
|
+
* The response is identifiers only. The drain signs a fresh timestamp
|
|
7544
|
+
* when it sends; this call does not POST to the receiver.
|
|
7545
|
+
*/
|
|
7546
|
+
async replayOrgWebhookDelivery(orgIdOrUuid, endpointUuid, deliveryId) {
|
|
7547
|
+
return this.fetch(
|
|
7548
|
+
`o/${orgIdOrUuid}/webhooks/${endpointUuid}/deliveries/${deliveryId}/replay`,
|
|
7549
|
+
{
|
|
7550
|
+
method: "POST",
|
|
7551
|
+
body: JSON.stringify({})
|
|
7552
|
+
}
|
|
7553
|
+
);
|
|
7554
|
+
}
|
|
7555
|
+
/**
|
|
7556
|
+
* Expire every pending delivery of a paused or disabled endpoint, so a
|
|
7557
|
+
* resume does not re-send a held backlog the receiver keeps rejecting.
|
|
7558
|
+
* Refused with 409 while the endpoint is active. Dead-lettered rows
|
|
7559
|
+
* are untouched; expired rows stay replayable one at a time.
|
|
7560
|
+
*/
|
|
7561
|
+
async discardPendingOrgWebhookDeliveries(orgIdOrUuid, endpointUuid) {
|
|
7562
|
+
return this.fetch(
|
|
7563
|
+
`o/${orgIdOrUuid}/webhooks/${endpointUuid}/deliveries/discard-pending`,
|
|
7564
|
+
{
|
|
7565
|
+
method: "POST",
|
|
7566
|
+
body: JSON.stringify({})
|
|
7567
|
+
}
|
|
7568
|
+
);
|
|
7569
|
+
}
|
|
7570
|
+
/**
|
|
7571
|
+
* Which covered workspaces have the subscribed Forms opted in
|
|
7572
|
+
* (`webhookEventsEnabled`). Record events only.
|
|
7573
|
+
*/
|
|
7574
|
+
async getOrgWebhookEndpointCoverage(orgIdOrUuid, endpointUuid) {
|
|
7575
|
+
return this.fetch(
|
|
7576
|
+
`o/${orgIdOrUuid}/webhooks/${endpointUuid}/coverage`
|
|
7577
|
+
);
|
|
7578
|
+
}
|
|
7478
7579
|
/**
|
|
7479
7580
|
* A representative delivery body for one event type — what the test-send
|
|
7480
7581
|
* editor is prefilled with, and the same builder the public event catalog
|
|
@@ -7536,6 +7637,57 @@ var OrgApi = class extends BaseApiClient {
|
|
|
7536
7637
|
method: "DELETE"
|
|
7537
7638
|
});
|
|
7538
7639
|
}
|
|
7640
|
+
// =========================================================================
|
|
7641
|
+
// Workspace labels — the organization's own taxonomy of its workspaces
|
|
7642
|
+
// =========================================================================
|
|
7643
|
+
/** Every label of the organization, with workspace and webhook-selector counts. */
|
|
7644
|
+
async listWorkspaceLabels(orgIdOrUuid) {
|
|
7645
|
+
return this.fetch(`o/${orgIdOrUuid}/workspace-labels`);
|
|
7646
|
+
}
|
|
7647
|
+
async createWorkspaceLabel(orgIdOrUuid, data) {
|
|
7648
|
+
return this.fetch(`o/${orgIdOrUuid}/workspace-labels`, {
|
|
7649
|
+
method: "POST",
|
|
7650
|
+
body: JSON.stringify(data)
|
|
7651
|
+
});
|
|
7652
|
+
}
|
|
7653
|
+
/** Rename or recolor a label. The slug never changes. */
|
|
7654
|
+
async updateWorkspaceLabel(orgIdOrUuid, labelUuid, data) {
|
|
7655
|
+
return this.fetch(`o/${orgIdOrUuid}/workspace-labels/${labelUuid}`, {
|
|
7656
|
+
method: "PATCH",
|
|
7657
|
+
body: JSON.stringify(data)
|
|
7658
|
+
});
|
|
7659
|
+
}
|
|
7660
|
+
/** Delete a label. Refused (409) while a webhook label selector requires it. */
|
|
7661
|
+
async deleteWorkspaceLabel(orgIdOrUuid, labelUuid) {
|
|
7662
|
+
return this.fetch(`o/${orgIdOrUuid}/workspace-labels/${labelUuid}`, {
|
|
7663
|
+
method: "DELETE"
|
|
7664
|
+
});
|
|
7665
|
+
}
|
|
7666
|
+
/**
|
|
7667
|
+
* Which workspaces a webhook scope (explicit workspaces plus a label
|
|
7668
|
+
* selector) would cover right now. Both empty means the whole organization.
|
|
7669
|
+
*/
|
|
7670
|
+
async previewWorkspaceScope(orgIdOrUuid, data) {
|
|
7671
|
+
return this.fetch(
|
|
7672
|
+
`o/${orgIdOrUuid}/workspace-labels/preview-scope`,
|
|
7673
|
+
{ method: "POST", body: JSON.stringify(data) }
|
|
7674
|
+
);
|
|
7675
|
+
}
|
|
7676
|
+
async getWorkspaceLabels(orgIdOrUuid, workspaceUuid) {
|
|
7677
|
+
return this.fetch(
|
|
7678
|
+
`o/${orgIdOrUuid}/workspaces/${workspaceUuid}/labels`
|
|
7679
|
+
);
|
|
7680
|
+
}
|
|
7681
|
+
/**
|
|
7682
|
+
* Replace a workspace's labels with exactly `data.labels` (slugs). A slug the
|
|
7683
|
+
* organization has not used before creates that label.
|
|
7684
|
+
*/
|
|
7685
|
+
async setWorkspaceLabels(orgIdOrUuid, workspaceUuid, data) {
|
|
7686
|
+
return this.fetch(
|
|
7687
|
+
`o/${orgIdOrUuid}/workspaces/${workspaceUuid}/labels`,
|
|
7688
|
+
{ method: "PUT", body: JSON.stringify(data) }
|
|
7689
|
+
);
|
|
7690
|
+
}
|
|
7539
7691
|
};
|
|
7540
7692
|
function businessProfilePath(orgUuid, legalEntityUuid) {
|
|
7541
7693
|
return legalEntityUuid ? `o/${orgUuid}/legal-entities/${legalEntityUuid}/business-profile` : `o/${orgUuid}/business-profile`;
|
|
@@ -7595,6 +7747,39 @@ var OAuthApi = class extends BaseApiClient {
|
|
|
7595
7747
|
body: JSON.stringify(request)
|
|
7596
7748
|
});
|
|
7597
7749
|
}
|
|
7750
|
+
async denyAuthorization(request) {
|
|
7751
|
+
return this.fetch("oauth/authorize/deny", {
|
|
7752
|
+
method: "POST",
|
|
7753
|
+
body: JSON.stringify(request)
|
|
7754
|
+
});
|
|
7755
|
+
}
|
|
7756
|
+
async getOAuthConsentClient(clientId, redirectUri, resource) {
|
|
7757
|
+
const params = new URLSearchParams({ client_id: clientId, redirect_uri: redirectUri });
|
|
7758
|
+
if (resource) params.set("resource", resource);
|
|
7759
|
+
return this.fetch(`oauth/authorize/client?${params.toString()}`);
|
|
7760
|
+
}
|
|
7761
|
+
/** The organizations and workspaces the MCP consent screen may offer. */
|
|
7762
|
+
async getMcpConsentTargets(clientId) {
|
|
7763
|
+
const params = new URLSearchParams({ client_id: clientId });
|
|
7764
|
+
return this.fetch(`oauth/authorize/mcp-targets?${params.toString()}`);
|
|
7765
|
+
}
|
|
7766
|
+
/** The signed-in account's MCP grants. */
|
|
7767
|
+
async listMcpGrants() {
|
|
7768
|
+
return this.fetch("oauth/mcp-grants");
|
|
7769
|
+
}
|
|
7770
|
+
/** Remove organizations or workspaces from one MCP grant. */
|
|
7771
|
+
async narrowMcpGrant(grantId, removeTargetIds) {
|
|
7772
|
+
return this.fetch(`oauth/mcp-grants/${encodeURIComponent(grantId)}`, {
|
|
7773
|
+
method: "PATCH",
|
|
7774
|
+
body: JSON.stringify({ removeTargetIds })
|
|
7775
|
+
});
|
|
7776
|
+
}
|
|
7777
|
+
/** Revoke one MCP grant. */
|
|
7778
|
+
async revokeMcpGrant(grantId) {
|
|
7779
|
+
return this.fetch(`oauth/mcp-grants/${encodeURIComponent(grantId)}`, {
|
|
7780
|
+
method: "DELETE"
|
|
7781
|
+
});
|
|
7782
|
+
}
|
|
7598
7783
|
async exchangeOAuthToken(request) {
|
|
7599
7784
|
const formData = new URLSearchParams();
|
|
7600
7785
|
formData.append("grant_type", request.grant_type);
|
|
@@ -8054,6 +8239,21 @@ var MetricsApi = class extends BaseApiClient {
|
|
|
8054
8239
|
}
|
|
8055
8240
|
};
|
|
8056
8241
|
|
|
8242
|
+
// src/api/data-reports.ts
|
|
8243
|
+
var DataReportsApi = class extends BaseApiClient {
|
|
8244
|
+
/**
|
|
8245
|
+
* Run a Form Reports report, saved or not, with the given parameter values.
|
|
8246
|
+
* The result is what the Agent would get: record rows or aggregate groups
|
|
8247
|
+
* within the tool's row and group caps, plus the text sent to the Agent.
|
|
8248
|
+
*/
|
|
8249
|
+
async previewDataReport(wid, request) {
|
|
8250
|
+
return this.fetch(`w/${wid}/data-reports/preview`, {
|
|
8251
|
+
method: "POST",
|
|
8252
|
+
body: JSON.stringify(request)
|
|
8253
|
+
});
|
|
8254
|
+
}
|
|
8255
|
+
};
|
|
8256
|
+
|
|
8057
8257
|
// src/api/queries.ts
|
|
8058
8258
|
var QueriesApi = class extends BaseApiClient {
|
|
8059
8259
|
/** Queryable namespace: native fields, operators per type, DataType record fields. */
|
|
@@ -10286,6 +10486,20 @@ var WorkflowsApi = class extends BaseApiClient {
|
|
|
10286
10486
|
async getWorkflowOutline(wid, id) {
|
|
10287
10487
|
return this.fetch(`w/${wid}/workflows/${id}/outline`);
|
|
10288
10488
|
}
|
|
10489
|
+
/**
|
|
10490
|
+
* Outlines for many Workflows in one request. The same shape as
|
|
10491
|
+
* {@link getWorkflowOutline}, keyed by workflow id. Ids the caller cannot
|
|
10492
|
+
* use, and outlines that cannot be read, are absent.
|
|
10493
|
+
*
|
|
10494
|
+
* The route accepts at most 100 ids. Callers with a longer list chunk.
|
|
10495
|
+
*/
|
|
10496
|
+
async getWorkflowsOutlineBatch(wid, workflowIds) {
|
|
10497
|
+
const params = new URLSearchParams();
|
|
10498
|
+
params.set("workflowIds", workflowIds.join(","));
|
|
10499
|
+
return this.fetch(
|
|
10500
|
+
`w/${wid}/workflows/outline/batch?${params.toString()}`
|
|
10501
|
+
);
|
|
10502
|
+
}
|
|
10289
10503
|
/** Create a new workflow in a workspace. */
|
|
10290
10504
|
async createWorkflow(wid, workflow) {
|
|
10291
10505
|
return this.fetch(`w/${wid}/workflows`, {
|
|
@@ -10384,6 +10598,13 @@ var WorkflowsApi = class extends BaseApiClient {
|
|
|
10384
10598
|
`w/${wid}/workflows/${workflowId}/prompt-classifications`
|
|
10385
10599
|
);
|
|
10386
10600
|
}
|
|
10601
|
+
/** Review prompt diagnoses and report rebutted findings to Customer Success. */
|
|
10602
|
+
async reviewWorkflowPromptClassifications(wid, workflowId) {
|
|
10603
|
+
return this.fetch(
|
|
10604
|
+
`w/${wid}/workflows/${workflowId}/prompt-classifications`,
|
|
10605
|
+
{ method: "POST" }
|
|
10606
|
+
);
|
|
10607
|
+
}
|
|
10387
10608
|
/**
|
|
10388
10609
|
* Replay automatic routing for a Chat without performing the transition.
|
|
10389
10610
|
*
|
|
@@ -11017,6 +11238,7 @@ var WorkspaceFeature = /* @__PURE__ */ ((WorkspaceFeature2) => {
|
|
|
11017
11238
|
WorkspaceFeature2["CRM_SALESFORCE"] = "crm_salesforce";
|
|
11018
11239
|
WorkspaceFeature2["CRM_HUBSPOT"] = "crm_hubspot";
|
|
11019
11240
|
WorkspaceFeature2["CONFLUENCE"] = "confluence";
|
|
11241
|
+
WorkspaceFeature2["ZENDESK"] = "zendesk";
|
|
11020
11242
|
WorkspaceFeature2["AGENT_MEMORY"] = "agent_memory";
|
|
11021
11243
|
WorkspaceFeature2["IMAGE_GENERATION"] = "image_generation";
|
|
11022
11244
|
WorkspaceFeature2["CHARLESTON_NEPHROLOGY_PMD_PAGING"] = "charleston_nephrology_pmd_paging";
|
|
@@ -11161,6 +11383,7 @@ var ModelProvider = {
|
|
|
11161
11383
|
google: "google",
|
|
11162
11384
|
anthropic: "anthropic",
|
|
11163
11385
|
aws: "aws",
|
|
11386
|
+
elevenlabs: "elevenlabs",
|
|
11164
11387
|
deepgram: "deepgram",
|
|
11165
11388
|
xai: "xai",
|
|
11166
11389
|
fireworks: "fireworks",
|
|
@@ -11187,7 +11410,12 @@ var STT_MODEL_DEEPGRAM_FLUX = "deepgram:stt:flux-general-en";
|
|
|
11187
11410
|
var STT_MODEL_DEEPGRAM_FLUX_SELFHOST = "deepgram:stt:flux-general-en:selfhost";
|
|
11188
11411
|
var STT_MODEL_DEEPGRAM_FLUX_MULTI = "deepgram:stt:flux-general-multi";
|
|
11189
11412
|
var STT_MODEL_DEEPGRAM_FLUX_MULTI_SELFHOST = "deepgram:stt:flux-general-multi:selfhost";
|
|
11413
|
+
var STT_MODEL_ELEVENLABS_SCRIBE_V2_REALTIME = "elevenlabs:stt:scribe_v2_realtime";
|
|
11190
11414
|
var TTS_MODEL_XAI_V1 = "xai:tts:v1";
|
|
11415
|
+
var TTS_MODEL_ELEVENLABS_FLASH = "elevenlabs:tts:eleven_flash_v2_5";
|
|
11416
|
+
var TTS_MODEL_ELEVENLABS_TURBO = "elevenlabs:tts:eleven_turbo_v2_5";
|
|
11417
|
+
var TTS_MODEL_ELEVENLABS_MULTILINGUAL = "elevenlabs:tts:eleven_multilingual_v2";
|
|
11418
|
+
var TTS_MODEL_ELEVENLABS_V4_TURBO = "elevenlabs:tts:eleven_v4_turbo";
|
|
11191
11419
|
var TTS_MODEL_DEEPGRAM_AURA_2 = "deepgram:tts:aura-2";
|
|
11192
11420
|
var TTS_MODEL_AWS_POLLY_GENERATIVE = "aws:tts:polly-generative";
|
|
11193
11421
|
var TTS_MODEL_AWS_POLLY_NEURAL = "aws:tts:polly-neural";
|
|
@@ -11839,6 +12067,17 @@ var WorkspacesApi = class extends BaseApiClient {
|
|
|
11839
12067
|
async getWorkspaces(options) {
|
|
11840
12068
|
return this.fetch(`w/?${workspaceDirectoryParams(options)}`);
|
|
11841
12069
|
}
|
|
12070
|
+
/**
|
|
12071
|
+
* Page 1 of each organization's workspace directory, in one request.
|
|
12072
|
+
* Later pages stay on ``getWorkspaces({ organizationUuid, page })``.
|
|
12073
|
+
*/
|
|
12074
|
+
async getOrganizationWorkspacePages(options) {
|
|
12075
|
+
const params = new URLSearchParams();
|
|
12076
|
+
if (options.pageSize !== void 0) params.set("pageSize", String(options.pageSize));
|
|
12077
|
+
if (options.search) params.set("search", options.search);
|
|
12078
|
+
for (const uuid of options.organizationUuids) params.append("organizationUuids", uuid);
|
|
12079
|
+
return this.fetch(`w/organization-pages?${params}`);
|
|
12080
|
+
}
|
|
11842
12081
|
/** A bounded page of companion-device candidates, with admission checked per row. */
|
|
11843
12082
|
async getDeviceAdmissibleWorkspaces(options) {
|
|
11844
12083
|
const params = workspaceDirectoryParams(options);
|
|
@@ -12601,6 +12840,7 @@ function createApiModules(apiKey, baseUrl, customFetch) {
|
|
|
12601
12840
|
qualifications: new QualificationsApi(apiKey, baseUrl, customFetch),
|
|
12602
12841
|
personas: new PersonasApi(apiKey, baseUrl, customFetch),
|
|
12603
12842
|
metrics: new MetricsApi(apiKey, baseUrl, customFetch),
|
|
12843
|
+
dataReports: new DataReportsApi(apiKey, baseUrl, customFetch),
|
|
12604
12844
|
queries: new QueriesApi(apiKey, baseUrl, customFetch),
|
|
12605
12845
|
reports: new ReportsApi(apiKey, baseUrl, customFetch),
|
|
12606
12846
|
resourceWorkflows: new ResourceWorkflowsApi(apiKey, baseUrl, customFetch),
|
|
@@ -12676,6 +12916,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
12676
12916
|
"configureHubspot",
|
|
12677
12917
|
"configureMondayConnection",
|
|
12678
12918
|
"configureSalesforce",
|
|
12919
|
+
"configureZendeskConnection",
|
|
12679
12920
|
"convertEmail",
|
|
12680
12921
|
"convertFile",
|
|
12681
12922
|
"createAbility",
|
|
@@ -12872,6 +13113,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
12872
13113
|
"fhirGetCsvImportSettings",
|
|
12873
13114
|
"fhirGetEncounterSyncRuns",
|
|
12874
13115
|
"fhirGetEncounterSyncStatus",
|
|
13116
|
+
"fhirGetOnboardingImportStatus",
|
|
12875
13117
|
"fhirImportPatient",
|
|
12876
13118
|
"fhirLinkMember",
|
|
12877
13119
|
"fhirListLinkedMembers",
|
|
@@ -12880,6 +13122,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
12880
13122
|
"fhirSearchLocations",
|
|
12881
13123
|
"fhirSearchPatients",
|
|
12882
13124
|
"fhirSearchPractitioners",
|
|
13125
|
+
"fhirStartOnboardingImport",
|
|
12883
13126
|
"fhirSyncMember",
|
|
12884
13127
|
"fhirUnlinkMember",
|
|
12885
13128
|
"fhirUpdateCsvImportSettings",
|
|
@@ -13036,6 +13279,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
13036
13279
|
"importSiteSourceZip",
|
|
13037
13280
|
"installDocumoFax",
|
|
13038
13281
|
"listChatRecordings",
|
|
13282
|
+
"previewDataReport",
|
|
13039
13283
|
"previewQuery",
|
|
13040
13284
|
"publishSiteSource",
|
|
13041
13285
|
"publishDataTypeDraft",
|
|
@@ -13059,6 +13303,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
13059
13303
|
"getFiles",
|
|
13060
13304
|
"getFirstRunState",
|
|
13061
13305
|
"getFolder",
|
|
13306
|
+
"getFolderChildren",
|
|
13062
13307
|
"getFolderMemberAccess",
|
|
13063
13308
|
"getFolderSharing",
|
|
13064
13309
|
"getFolders",
|
|
@@ -13233,6 +13478,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
13233
13478
|
"getWorkflowConfigValidation",
|
|
13234
13479
|
"getWorkflowFeedback",
|
|
13235
13480
|
"getWorkflowPromptClassifications",
|
|
13481
|
+
"reviewWorkflowPromptClassifications",
|
|
13236
13482
|
"getWorkflowContributors",
|
|
13237
13483
|
"getWorkflowDeletionPreview",
|
|
13238
13484
|
"getWorkflowDiagram",
|
|
@@ -13244,6 +13490,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
13244
13490
|
"getWorkflowTemplates",
|
|
13245
13491
|
"getWorkflows",
|
|
13246
13492
|
"getWorkflowsActivityBatch",
|
|
13493
|
+
"getWorkflowsOutlineBatch",
|
|
13247
13494
|
"getWorkspace",
|
|
13248
13495
|
"getWorkspaceActivityCounts",
|
|
13249
13496
|
"getWorkspaceBuilder",
|
|
@@ -13866,6 +14113,7 @@ function bindMembersMethods(target, members) {
|
|
|
13866
14113
|
// src/client/bindings/workspaces.ts
|
|
13867
14114
|
function bindWorkspacesMethods(target, workspaces, signupRequests) {
|
|
13868
14115
|
target.getWorkspaces = workspaces.getWorkspaces.bind(workspaces);
|
|
14116
|
+
target.getOrganizationWorkspacePages = workspaces.getOrganizationWorkspacePages.bind(workspaces);
|
|
13869
14117
|
target.getDeviceAdmissibleWorkspaces = workspaces.getDeviceAdmissibleWorkspaces.bind(workspaces);
|
|
13870
14118
|
target.getPublicWorkspaces = workspaces.getPublicWorkspaces.bind(workspaces);
|
|
13871
14119
|
target.getWorkspace = workspaces.getWorkspace.bind(workspaces);
|
|
@@ -14067,6 +14315,7 @@ function bindFilesMethods(target, files) {
|
|
|
14067
14315
|
target.convertFile = files.convertFile.bind(files);
|
|
14068
14316
|
target.generateFileUploadUrl = files.generateFileUploadUrl.bind(files);
|
|
14069
14317
|
target.getFolders = files.getFolders.bind(files);
|
|
14318
|
+
target.getFolderChildren = files.getFolderChildren.bind(files);
|
|
14070
14319
|
target.getFolder = files.getFolder.bind(files);
|
|
14071
14320
|
target.createFolder = files.createFolder.bind(files);
|
|
14072
14321
|
target.updateFolder = files.updateFolder.bind(files);
|
|
@@ -14155,6 +14404,7 @@ function bindWorkflowsMethods(target, workflows, workflowNotes, voice, superviso
|
|
|
14155
14404
|
target.getWorkflowsActivityBatch = workflows.getWorkflowsActivityBatch.bind(workflows);
|
|
14156
14405
|
target.getWorkflowDiagram = workflows.getWorkflowDiagram.bind(workflows);
|
|
14157
14406
|
target.getWorkflowOutline = workflows.getWorkflowOutline.bind(workflows);
|
|
14407
|
+
target.getWorkflowsOutlineBatch = workflows.getWorkflowsOutlineBatch.bind(workflows);
|
|
14158
14408
|
target.createWorkflow = workflows.createWorkflow.bind(workflows);
|
|
14159
14409
|
target.updateWorkflow = workflows.updateWorkflow.bind(workflows);
|
|
14160
14410
|
target.getWorkflowDeletionPreview = workflows.getWorkflowDeletionPreview.bind(workflows);
|
|
@@ -14168,6 +14418,7 @@ function bindWorkflowsMethods(target, workflows, workflowNotes, voice, superviso
|
|
|
14168
14418
|
target.getTaskChats = workflows.getTaskChats.bind(workflows);
|
|
14169
14419
|
target.getWorkflowConfigValidation = workflows.getWorkflowConfigValidation.bind(workflows);
|
|
14170
14420
|
target.getWorkflowPromptClassifications = workflows.getWorkflowPromptClassifications.bind(workflows);
|
|
14421
|
+
target.reviewWorkflowPromptClassifications = workflows.reviewWorkflowPromptClassifications.bind(workflows);
|
|
14171
14422
|
target.getWorkflowNotes = workflowNotes.getWorkflowNotes.bind(workflowNotes);
|
|
14172
14423
|
target.createWorkflowNote = workflowNotes.createWorkflowNote.bind(workflowNotes);
|
|
14173
14424
|
target.updateWorkflowNote = workflowNotes.updateWorkflowNote.bind(workflowNotes);
|
|
@@ -14374,6 +14625,12 @@ function bindAppsMethods(target, apps, builders, inquiries, oauth, oauthConnecti
|
|
|
14374
14625
|
target.deleteInquiry = inquiries.deleteInquiry.bind(inquiries);
|
|
14375
14626
|
target.exportInquiriesCsv = inquiries.exportInquiriesCsv.bind(inquiries);
|
|
14376
14627
|
target.authorize = oauth.authorize.bind(oauth);
|
|
14628
|
+
target.denyAuthorization = oauth.denyAuthorization.bind(oauth);
|
|
14629
|
+
target.getOAuthConsentClient = oauth.getOAuthConsentClient.bind(oauth);
|
|
14630
|
+
target.getMcpConsentTargets = oauth.getMcpConsentTargets.bind(oauth);
|
|
14631
|
+
target.listMcpGrants = oauth.listMcpGrants.bind(oauth);
|
|
14632
|
+
target.narrowMcpGrant = oauth.narrowMcpGrant.bind(oauth);
|
|
14633
|
+
target.revokeMcpGrant = oauth.revokeMcpGrant.bind(oauth);
|
|
14377
14634
|
target.exchangeOAuthToken = oauth.exchangeOAuthToken.bind(oauth);
|
|
14378
14635
|
target.getAvailableScopes = oauth.getAvailableScopes.bind(oauth);
|
|
14379
14636
|
target.getOAuthConnectionStatus = oauthConnections.getConnectionStatus.bind(oauthConnections);
|
|
@@ -14473,6 +14730,8 @@ function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackAp
|
|
|
14473
14730
|
target.fhirGetEncounterSyncRuns = fhirConnections.fhirGetEncounterSyncRuns.bind(fhirConnections);
|
|
14474
14731
|
target.fhirRefreshEncounterPatient = fhirConnections.fhirRefreshEncounterPatient.bind(fhirConnections);
|
|
14475
14732
|
target.fhirBackfillEncounterSync = fhirConnections.fhirBackfillEncounterSync.bind(fhirConnections);
|
|
14733
|
+
target.fhirStartOnboardingImport = fhirConnections.fhirStartOnboardingImport.bind(fhirConnections);
|
|
14734
|
+
target.fhirGetOnboardingImportStatus = fhirConnections.fhirGetOnboardingImportStatus.bind(fhirConnections);
|
|
14476
14735
|
target.configurePatientSync = patientSyncConnections.configurePatientSync.bind(patientSyncConnections);
|
|
14477
14736
|
target.getPatientSyncStatus = patientSyncConnections.getPatientSyncStatus.bind(patientSyncConnections);
|
|
14478
14737
|
target.deletePatientSyncConnection = patientSyncConnections.deletePatientSyncConnection.bind(patientSyncConnections);
|
|
@@ -14559,6 +14818,7 @@ function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackAp
|
|
|
14559
14818
|
target.listAvailableAppConnections = appConnections.listAvailableAppConnections.bind(appConnections);
|
|
14560
14819
|
target.listAppConnections = appConnections.listAppConnections.bind(appConnections);
|
|
14561
14820
|
target.enablePlatformApp = appConnections.enablePlatformApp.bind(appConnections);
|
|
14821
|
+
target.configureZendeskConnection = appConnections.configureZendeskConnection.bind(appConnections);
|
|
14562
14822
|
target.getPlatformApp = appConnections.getPlatformApp.bind(appConnections);
|
|
14563
14823
|
target.updatePlatformApp = appConnections.updatePlatformApp.bind(appConnections);
|
|
14564
14824
|
target.deletePlatformApp = appConnections.deletePlatformApp.bind(appConnections);
|
|
@@ -14611,6 +14871,7 @@ function bindOrgMethods(target, org) {
|
|
|
14611
14871
|
target.getVoiceTrustProducts = org.getVoiceTrustProducts.bind(org);
|
|
14612
14872
|
target.syncVoiceTrustProducts = org.syncVoiceTrustProducts.bind(org);
|
|
14613
14873
|
target.createOrganizationWorkspace = org.createOrganizationWorkspace.bind(org);
|
|
14874
|
+
target.getOrganizationWorkspaces = org.getOrganizationWorkspaces.bind(org);
|
|
14614
14875
|
target.getOrganizationWorkspace = org.getOrganizationWorkspace.bind(org);
|
|
14615
14876
|
target.updateOrganizationWorkspace = org.updateOrganizationWorkspace.bind(org);
|
|
14616
14877
|
target.getOrgBillingCustomer = org.getOrgBillingCustomer.bind(org);
|
|
@@ -14620,7 +14881,20 @@ function bindOrgMethods(target, org) {
|
|
|
14620
14881
|
target.updateOrganizationMember = org.updateOrganizationMember.bind(org);
|
|
14621
14882
|
target.listOrgWebhookEndpoints = org.listOrgWebhookEndpoints.bind(org);
|
|
14622
14883
|
target.getOrgWebhookEndpoint = org.getOrgWebhookEndpoint.bind(org);
|
|
14884
|
+
target.createOrgWebhookEndpoint = org.createOrgWebhookEndpoint.bind(org);
|
|
14623
14885
|
target.updateOrgWebhookEndpoint = org.updateOrgWebhookEndpoint.bind(org);
|
|
14886
|
+
target.listOrgWebhookEndpointDeliveries = org.listOrgWebhookEndpointDeliveries.bind(org);
|
|
14887
|
+
target.replayOrgWebhookDelivery = org.replayOrgWebhookDelivery.bind(org);
|
|
14888
|
+
target.discardPendingOrgWebhookDeliveries = org.discardPendingOrgWebhookDeliveries.bind(org);
|
|
14889
|
+
target.getOrgWebhookEndpointCoverage = org.getOrgWebhookEndpointCoverage.bind(org);
|
|
14890
|
+
target.testOrgWebhookEndpoint = org.testOrgWebhookEndpoint.bind(org);
|
|
14891
|
+
target.listWorkspaceLabels = org.listWorkspaceLabels.bind(org);
|
|
14892
|
+
target.createWorkspaceLabel = org.createWorkspaceLabel.bind(org);
|
|
14893
|
+
target.updateWorkspaceLabel = org.updateWorkspaceLabel.bind(org);
|
|
14894
|
+
target.deleteWorkspaceLabel = org.deleteWorkspaceLabel.bind(org);
|
|
14895
|
+
target.getWorkspaceLabels = org.getWorkspaceLabels.bind(org);
|
|
14896
|
+
target.setWorkspaceLabels = org.setWorkspaceLabels.bind(org);
|
|
14897
|
+
target.previewWorkspaceScope = org.previewWorkspaceScope.bind(org);
|
|
14624
14898
|
}
|
|
14625
14899
|
|
|
14626
14900
|
// src/client/bindings/pronunciations.ts
|
|
@@ -14776,6 +15050,11 @@ function bindMetricsMethods(target, metrics) {
|
|
|
14776
15050
|
target.computeChatMetrics = metrics.computeChatMetrics.bind(metrics);
|
|
14777
15051
|
}
|
|
14778
15052
|
|
|
15053
|
+
// src/client/bindings/data-reports.ts
|
|
15054
|
+
function bindDataReportsMethods(target, dataReports) {
|
|
15055
|
+
target.previewDataReport = dataReports.previewDataReport.bind(dataReports);
|
|
15056
|
+
}
|
|
15057
|
+
|
|
14779
15058
|
// src/client/bindings/queries.ts
|
|
14780
15059
|
function bindQueriesMethods(target, queries) {
|
|
14781
15060
|
target.getQueryFields = queries.getQueryFields.bind(queries);
|
|
@@ -15091,6 +15370,8 @@ var GravityRailClient = class {
|
|
|
15091
15370
|
validateQuery;
|
|
15092
15371
|
previewQuery;
|
|
15093
15372
|
runQuery;
|
|
15373
|
+
// Form Reports
|
|
15374
|
+
previewDataReport;
|
|
15094
15375
|
listPersonas;
|
|
15095
15376
|
getPersona;
|
|
15096
15377
|
createPersona;
|
|
@@ -15275,6 +15556,7 @@ var GravityRailClient = class {
|
|
|
15275
15556
|
inspectPrompt;
|
|
15276
15557
|
// Workspaces API
|
|
15277
15558
|
getWorkspaces;
|
|
15559
|
+
getOrganizationWorkspacePages;
|
|
15278
15560
|
getDeviceAdmissibleWorkspaces;
|
|
15279
15561
|
getPublicWorkspaces;
|
|
15280
15562
|
getWorkspace;
|
|
@@ -15361,6 +15643,7 @@ var GravityRailClient = class {
|
|
|
15361
15643
|
getVoiceTrustProducts;
|
|
15362
15644
|
syncVoiceTrustProducts;
|
|
15363
15645
|
createOrganizationWorkspace;
|
|
15646
|
+
getOrganizationWorkspaces;
|
|
15364
15647
|
getOrganizationWorkspace;
|
|
15365
15648
|
updateOrganizationWorkspace;
|
|
15366
15649
|
getOrgBillingCustomer;
|
|
@@ -15370,7 +15653,20 @@ var GravityRailClient = class {
|
|
|
15370
15653
|
updateOrganizationMember;
|
|
15371
15654
|
listOrgWebhookEndpoints;
|
|
15372
15655
|
getOrgWebhookEndpoint;
|
|
15656
|
+
createOrgWebhookEndpoint;
|
|
15373
15657
|
updateOrgWebhookEndpoint;
|
|
15658
|
+
listOrgWebhookEndpointDeliveries;
|
|
15659
|
+
replayOrgWebhookDelivery;
|
|
15660
|
+
discardPendingOrgWebhookDeliveries;
|
|
15661
|
+
getOrgWebhookEndpointCoverage;
|
|
15662
|
+
testOrgWebhookEndpoint;
|
|
15663
|
+
listWorkspaceLabels;
|
|
15664
|
+
createWorkspaceLabel;
|
|
15665
|
+
updateWorkspaceLabel;
|
|
15666
|
+
deleteWorkspaceLabel;
|
|
15667
|
+
getWorkspaceLabels;
|
|
15668
|
+
setWorkspaceLabels;
|
|
15669
|
+
previewWorkspaceScope;
|
|
15374
15670
|
getVapidPublicKey;
|
|
15375
15671
|
registerPushSubscription;
|
|
15376
15672
|
unregisterPushSubscription;
|
|
@@ -15511,6 +15807,7 @@ var GravityRailClient = class {
|
|
|
15511
15807
|
convertFile;
|
|
15512
15808
|
generateFileUploadUrl;
|
|
15513
15809
|
getFolders;
|
|
15810
|
+
getFolderChildren;
|
|
15514
15811
|
getFolder;
|
|
15515
15812
|
createFolder;
|
|
15516
15813
|
updateFolder;
|
|
@@ -15568,6 +15865,7 @@ var GravityRailClient = class {
|
|
|
15568
15865
|
getWorkflowsActivityBatch;
|
|
15569
15866
|
getWorkflowDiagram;
|
|
15570
15867
|
getWorkflowOutline;
|
|
15868
|
+
getWorkflowsOutlineBatch;
|
|
15571
15869
|
createWorkflow;
|
|
15572
15870
|
updateWorkflow;
|
|
15573
15871
|
getWorkflowDeletionPreview;
|
|
@@ -15581,6 +15879,7 @@ var GravityRailClient = class {
|
|
|
15581
15879
|
getTaskChats;
|
|
15582
15880
|
getWorkflowConfigValidation;
|
|
15583
15881
|
getWorkflowPromptClassifications;
|
|
15882
|
+
reviewWorkflowPromptClassifications;
|
|
15584
15883
|
getWorkflowNotes;
|
|
15585
15884
|
createWorkflowNote;
|
|
15586
15885
|
updateWorkflowNote;
|
|
@@ -15779,6 +16078,12 @@ var GravityRailClient = class {
|
|
|
15779
16078
|
deleteInquiry;
|
|
15780
16079
|
exportInquiriesCsv;
|
|
15781
16080
|
authorize;
|
|
16081
|
+
denyAuthorization;
|
|
16082
|
+
getOAuthConsentClient;
|
|
16083
|
+
getMcpConsentTargets;
|
|
16084
|
+
listMcpGrants;
|
|
16085
|
+
narrowMcpGrant;
|
|
16086
|
+
revokeMcpGrant;
|
|
15782
16087
|
exchangeOAuthToken;
|
|
15783
16088
|
getAvailableScopes;
|
|
15784
16089
|
getOAuthConnectionStatus;
|
|
@@ -15880,6 +16185,8 @@ var GravityRailClient = class {
|
|
|
15880
16185
|
fhirGetEncounterSyncRuns;
|
|
15881
16186
|
fhirRefreshEncounterPatient;
|
|
15882
16187
|
fhirBackfillEncounterSync;
|
|
16188
|
+
fhirStartOnboardingImport;
|
|
16189
|
+
fhirGetOnboardingImportStatus;
|
|
15883
16190
|
// Healthie API
|
|
15884
16191
|
getDocumoFaxStatus;
|
|
15885
16192
|
getDocumoFaxSetup;
|
|
@@ -15972,6 +16279,7 @@ var GravityRailClient = class {
|
|
|
15972
16279
|
listAvailableAppConnections;
|
|
15973
16280
|
listAppConnections;
|
|
15974
16281
|
enablePlatformApp;
|
|
16282
|
+
configureZendeskConnection;
|
|
15975
16283
|
getPlatformApp;
|
|
15976
16284
|
updatePlatformApp;
|
|
15977
16285
|
deletePlatformApp;
|
|
@@ -16052,6 +16360,7 @@ var GravityRailClient = class {
|
|
|
16052
16360
|
bindPersonasMethods(this, apis.personas);
|
|
16053
16361
|
bindMetricsMethods(this, apis.metrics);
|
|
16054
16362
|
bindQueriesMethods(this, apis.queries);
|
|
16363
|
+
bindDataReportsMethods(this, apis.dataReports);
|
|
16055
16364
|
bindDashboardsMethods(this, apis.dashboards);
|
|
16056
16365
|
bindActivityMethods(this, apis.activity);
|
|
16057
16366
|
bindMotdMethods(this, apis.motd);
|
|
@@ -18755,6 +19064,7 @@ var AbilityTypeSlugs = {
|
|
|
18755
19064
|
CALENDAR_BOOKING: "integration:calendar_booking",
|
|
18756
19065
|
FILE_ACCESS: "integration:file_access",
|
|
18757
19066
|
DATA_ACCESS: "integration:data_access",
|
|
19067
|
+
DATA_REPORTS: "integration:data_reports",
|
|
18758
19068
|
GMAIL: "integration:gmail",
|
|
18759
19069
|
GOOGLE_CALENDAR: "integration:google_calendar",
|
|
18760
19070
|
GOOGLE_DRIVE: "integration:google_drive",
|
|
@@ -18799,7 +19109,14 @@ function getTTSProvider(ttsModel) {
|
|
|
18799
19109
|
if (!ttsModel || ttsModel === "native") return ttsModel ?? null;
|
|
18800
19110
|
return ttsModel.split(":")[0] ?? null;
|
|
18801
19111
|
}
|
|
18802
|
-
var TTS_PREVIEW_PROVIDERS = [
|
|
19112
|
+
var TTS_PREVIEW_PROVIDERS = [
|
|
19113
|
+
"openai",
|
|
19114
|
+
"elevenlabs",
|
|
19115
|
+
"google",
|
|
19116
|
+
"aws",
|
|
19117
|
+
"deepgram",
|
|
19118
|
+
"xai"
|
|
19119
|
+
];
|
|
18803
19120
|
function getVoiceModelId(entity) {
|
|
18804
19121
|
const config = entity.realtimeModelConfig;
|
|
18805
19122
|
return config?.voiceModel ?? null;
|
|
@@ -19006,6 +19323,20 @@ var PromoCodeStatus = {
|
|
|
19006
19323
|
exhausted: "exhausted"
|
|
19007
19324
|
};
|
|
19008
19325
|
|
|
19326
|
+
// src/types/generated/contact_permission.ts
|
|
19327
|
+
var RecordContactPermissionRequestChannelNote = {
|
|
19328
|
+
phone_call: "phone_call",
|
|
19329
|
+
voicemail: "voicemail",
|
|
19330
|
+
email: "email",
|
|
19331
|
+
mail: "mail",
|
|
19332
|
+
postcard: "postcard",
|
|
19333
|
+
fax: "fax",
|
|
19334
|
+
in_person: "in_person",
|
|
19335
|
+
patient_portal: "patient_portal",
|
|
19336
|
+
web_form: "web_form",
|
|
19337
|
+
other: "other"
|
|
19338
|
+
};
|
|
19339
|
+
|
|
19009
19340
|
// src/types/generated/import_skipped_rule.ts
|
|
19010
19341
|
var ImportSkippedRuleResourceGroupResourceType = {
|
|
19011
19342
|
phone: "phone",
|
|
@@ -19430,6 +19761,7 @@ var EntityKind = {
|
|
|
19430
19761
|
escalation: "escalation",
|
|
19431
19762
|
inbox: "inbox",
|
|
19432
19763
|
phone_number: "phone_number",
|
|
19764
|
+
recording: "recording",
|
|
19433
19765
|
voicemail: "voicemail",
|
|
19434
19766
|
domain: "domain",
|
|
19435
19767
|
import: "import",
|
|
@@ -20442,6 +20774,7 @@ function pathDraftToStorage(draft, original) {
|
|
|
20442
20774
|
REALTIME_MODEL_OPENAI_2,
|
|
20443
20775
|
REALTIME_MODEL_OPENAI_MINI,
|
|
20444
20776
|
RecordChangeKind,
|
|
20777
|
+
RecordContactPermissionRequestChannelNote,
|
|
20445
20778
|
RefResolutionStatus,
|
|
20446
20779
|
ReferenceTargetInputKind,
|
|
20447
20780
|
Region,
|
|
@@ -20464,6 +20797,7 @@ function pathDraftToStorage(draft, original) {
|
|
|
20464
20797
|
STT_MODEL_DEEPGRAM_FLUX_MULTI,
|
|
20465
20798
|
STT_MODEL_DEEPGRAM_FLUX_MULTI_SELFHOST,
|
|
20466
20799
|
STT_MODEL_DEEPGRAM_FLUX_SELFHOST,
|
|
20800
|
+
STT_MODEL_ELEVENLABS_SCRIBE_V2_REALTIME,
|
|
20467
20801
|
ScalarTargetInputKind,
|
|
20468
20802
|
ScenarioHealthCaption,
|
|
20469
20803
|
ScenarioHealthHeadline,
|
|
@@ -20481,6 +20815,10 @@ function pathDraftToStorage(draft, original) {
|
|
|
20481
20815
|
TTS_MODEL_AWS_POLLY_GENERATIVE,
|
|
20482
20816
|
TTS_MODEL_AWS_POLLY_NEURAL,
|
|
20483
20817
|
TTS_MODEL_DEEPGRAM_AURA_2,
|
|
20818
|
+
TTS_MODEL_ELEVENLABS_FLASH,
|
|
20819
|
+
TTS_MODEL_ELEVENLABS_MULTILINGUAL,
|
|
20820
|
+
TTS_MODEL_ELEVENLABS_TURBO,
|
|
20821
|
+
TTS_MODEL_ELEVENLABS_V4_TURBO,
|
|
20484
20822
|
TTS_MODEL_XAI_V1,
|
|
20485
20823
|
TTS_PREVIEW_PROVIDERS,
|
|
20486
20824
|
TaskBuilder,
|