@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.
- package/dist/{chat-interaction-BDWwGHdp.d.cts → chat-interaction-C620llgG.d.cts} +1554 -285
- package/dist/{chat-interaction-pkhyXbVv.d.ts → chat-interaction-DDz9ZtQ8.d.ts} +1554 -285
- package/dist/{chunk-JRK77RT4.js → chunk-7R22EG5F.js} +379 -9
- package/dist/chunk-7R22EG5F.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 +385 -8
- 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 +17 -2
- package/dist/index.js.map +1 -1
- package/dist/internal.cjs +404 -11
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.d.cts +7 -6
- package/dist/internal.d.ts +7 -6
- package/dist/internal.js +35 -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-UGcX8CEF.d.ts → path-BIk9UPr0.d.cts} +95 -53
- package/dist/{path-J_F_cq4m.d.cts → path-kbfnY2gB.d.ts} +95 -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 +3 -3
- package/dist/chunk-JRK77RT4.js.map +0 -1
- package/dist/chunk-MMDSZ25F.js.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -39,6 +39,7 @@ __export(src_exports, {
|
|
|
39
39
|
ActivityWindowBasis: () => ActivityWindowBasis,
|
|
40
40
|
ActorKind: () => ActorKind,
|
|
41
41
|
AgentBuilder: () => AgentBuilder,
|
|
42
|
+
AiConnectorPolicy: () => AiConnectorPolicy,
|
|
42
43
|
ApiError: () => ApiError,
|
|
43
44
|
ApplyError: () => ApplyError,
|
|
44
45
|
AppsApi: () => AppsApi,
|
|
@@ -165,6 +166,7 @@ __export(src_exports, {
|
|
|
165
166
|
REALTIME_MODEL_OPENAI_2: () => REALTIME_MODEL_OPENAI_2,
|
|
166
167
|
REALTIME_MODEL_OPENAI_MINI: () => REALTIME_MODEL_OPENAI_MINI,
|
|
167
168
|
RecordChangeKind: () => RecordChangeKind,
|
|
169
|
+
RecordContactPermissionRequestChannelNote: () => RecordContactPermissionRequestChannelNote,
|
|
168
170
|
RefResolutionStatus: () => RefResolutionStatus,
|
|
169
171
|
ReferenceTargetInputKind: () => ReferenceTargetInputKind,
|
|
170
172
|
Region: () => Region,
|
|
@@ -187,6 +189,7 @@ __export(src_exports, {
|
|
|
187
189
|
STT_MODEL_DEEPGRAM_FLUX_MULTI: () => STT_MODEL_DEEPGRAM_FLUX_MULTI,
|
|
188
190
|
STT_MODEL_DEEPGRAM_FLUX_MULTI_SELFHOST: () => STT_MODEL_DEEPGRAM_FLUX_MULTI_SELFHOST,
|
|
189
191
|
STT_MODEL_DEEPGRAM_FLUX_SELFHOST: () => STT_MODEL_DEEPGRAM_FLUX_SELFHOST,
|
|
192
|
+
STT_MODEL_ELEVENLABS_SCRIBE_V2_REALTIME: () => STT_MODEL_ELEVENLABS_SCRIBE_V2_REALTIME,
|
|
190
193
|
ScalarTargetInputKind: () => ScalarTargetInputKind,
|
|
191
194
|
ScenarioHealthCaption: () => ScenarioHealthCaption,
|
|
192
195
|
ScenarioHealthHeadline: () => ScenarioHealthHeadline,
|
|
@@ -204,6 +207,10 @@ __export(src_exports, {
|
|
|
204
207
|
TTS_MODEL_AWS_POLLY_GENERATIVE: () => TTS_MODEL_AWS_POLLY_GENERATIVE,
|
|
205
208
|
TTS_MODEL_AWS_POLLY_NEURAL: () => TTS_MODEL_AWS_POLLY_NEURAL,
|
|
206
209
|
TTS_MODEL_DEEPGRAM_AURA_2: () => TTS_MODEL_DEEPGRAM_AURA_2,
|
|
210
|
+
TTS_MODEL_ELEVENLABS_FLASH: () => TTS_MODEL_ELEVENLABS_FLASH,
|
|
211
|
+
TTS_MODEL_ELEVENLABS_MULTILINGUAL: () => TTS_MODEL_ELEVENLABS_MULTILINGUAL,
|
|
212
|
+
TTS_MODEL_ELEVENLABS_TURBO: () => TTS_MODEL_ELEVENLABS_TURBO,
|
|
213
|
+
TTS_MODEL_ELEVENLABS_V4_TURBO: () => TTS_MODEL_ELEVENLABS_V4_TURBO,
|
|
207
214
|
TTS_MODEL_XAI_V1: () => TTS_MODEL_XAI_V1,
|
|
208
215
|
TTS_PREVIEW_PROVIDERS: () => TTS_PREVIEW_PROVIDERS,
|
|
209
216
|
TaskBuilder: () => TaskBuilder,
|
|
@@ -4341,6 +4348,36 @@ var FhirConnectionsApi = class extends BaseApiClient {
|
|
|
4341
4348
|
{ method: "POST", body: JSON.stringify(data) }
|
|
4342
4349
|
);
|
|
4343
4350
|
}
|
|
4351
|
+
/**
|
|
4352
|
+
* Start, resume, override or preview (dry run) an athenahealth connection's
|
|
4353
|
+
* onboarding import. The body is exactly the three mode flags; the server
|
|
4354
|
+
* traverses the connection's configured department/status pairs. Returns
|
|
4355
|
+
* 202 with the Temporal workflow and run ids. Requires `workspace:admin`.
|
|
4356
|
+
*/
|
|
4357
|
+
async fhirStartOnboardingImport(wid, connectionId, data = {}) {
|
|
4358
|
+
const body = {
|
|
4359
|
+
dryRun: data.dryRun ?? false,
|
|
4360
|
+
resume: data.resume ?? false,
|
|
4361
|
+
override: data.override ?? false
|
|
4362
|
+
};
|
|
4363
|
+
return this.fetch(
|
|
4364
|
+
`w/${wid}/app-connections/fhir/connections/${connectionId}/onboarding-import`,
|
|
4365
|
+
{
|
|
4366
|
+
method: "POST",
|
|
4367
|
+
body: JSON.stringify(body)
|
|
4368
|
+
}
|
|
4369
|
+
);
|
|
4370
|
+
}
|
|
4371
|
+
/**
|
|
4372
|
+
* Read an athenahealth connection's onboarding-import progress (durable,
|
|
4373
|
+
* approximate totals) and its known Temporal execution. GET-only: never
|
|
4374
|
+
* starts or resumes work. Requires `workspace:admin`.
|
|
4375
|
+
*/
|
|
4376
|
+
async fhirGetOnboardingImportStatus(wid, connectionId) {
|
|
4377
|
+
return this.fetch(
|
|
4378
|
+
`w/${wid}/app-connections/fhir/connections/${connectionId}/onboarding-import`
|
|
4379
|
+
);
|
|
4380
|
+
}
|
|
4344
4381
|
};
|
|
4345
4382
|
|
|
4346
4383
|
// src/api/patientsync-connections.ts
|
|
@@ -4570,8 +4607,8 @@ var FilesApi = class extends BaseApiClient {
|
|
|
4570
4607
|
* Download one file's bytes via GET ``.../files/{id}/contents/{filename}``.
|
|
4571
4608
|
*
|
|
4572
4609
|
* Uses this client's base URL (FastAPI on the app, same-origin ``/api/v2``
|
|
4573
|
-
* on scoped site sessions)
|
|
4574
|
-
*
|
|
4610
|
+
* on scoped site sessions). The Next.js ``/api/w/.../files/...`` route
|
|
4611
|
+
* redirects to this same contents path; calling it directly skips the hop.
|
|
4575
4612
|
*/
|
|
4576
4613
|
async downloadFileContents(wid, id, filename) {
|
|
4577
4614
|
const response = await this.fetchRaw(
|
|
@@ -4655,9 +4692,9 @@ var FilesApi = class extends BaseApiClient {
|
|
|
4655
4692
|
);
|
|
4656
4693
|
}
|
|
4657
4694
|
/**
|
|
4658
|
-
* Same-origin
|
|
4659
|
-
*
|
|
4660
|
-
*
|
|
4695
|
+
* Same-origin URL for a version's raw contents. The Next.js route
|
|
4696
|
+
* requires a session and redirects to the versioned FastAPI contents
|
|
4697
|
+
* endpoint. Mirrors the shape of `FileResponse.cdnUrl`.
|
|
4661
4698
|
*/
|
|
4662
4699
|
getFileVersionContentsUrl(wid, fileId, versionNumber) {
|
|
4663
4700
|
return `/api/w/${wid}/files/${fileId}/versions/${versionNumber}/contents`;
|
|
@@ -4689,6 +4726,19 @@ var FilesApi = class extends BaseApiClient {
|
|
|
4689
4726
|
const parentId = typeof parentIdOrOpts === "number" ? parentIdOrOpts : parentIdOrOpts.parentId;
|
|
4690
4727
|
return this.fetch(`w/${wid}/folders?parent_id=${parentId}`);
|
|
4691
4728
|
}
|
|
4729
|
+
/**
|
|
4730
|
+
* Readable children of many parents in one request.
|
|
4731
|
+
*
|
|
4732
|
+
* Every id comes back as a key. A parent with no readable children maps to
|
|
4733
|
+
* an empty list. The server accepts at most 100 ids per call.
|
|
4734
|
+
*/
|
|
4735
|
+
async getFolderChildren(wid, parentIds) {
|
|
4736
|
+
const params = new URLSearchParams();
|
|
4737
|
+
for (const parentId of parentIds) {
|
|
4738
|
+
params.append("parent_ids", String(parentId));
|
|
4739
|
+
}
|
|
4740
|
+
return this.fetch(`w/${wid}/folders/children?${params}`);
|
|
4741
|
+
}
|
|
4692
4742
|
/** Get a single folder by ID. */
|
|
4693
4743
|
async getFolder(wid, id) {
|
|
4694
4744
|
return this.fetch(`w/${wid}/folders/${id}`);
|
|
@@ -5134,6 +5184,19 @@ var AppConnectionsApi = class extends BaseApiClient {
|
|
|
5134
5184
|
body: JSON.stringify(data)
|
|
5135
5185
|
});
|
|
5136
5186
|
}
|
|
5187
|
+
/**
|
|
5188
|
+
* Create a public Zendesk Help Center connection with its sync paused.
|
|
5189
|
+
*
|
|
5190
|
+
* The acting Member becomes the sync owner. Later settings edits,
|
|
5191
|
+
* pause/resume, Sync now and run history use the generic connection-sync
|
|
5192
|
+
* methods (`updateConnectionSyncConfig`, `startSyncRun`, `getSyncRuns`).
|
|
5193
|
+
*/
|
|
5194
|
+
async configureZendeskConnection(wid, data) {
|
|
5195
|
+
return this.fetch(`w/${wid}/app-connections/zendesk/configure`, {
|
|
5196
|
+
method: "POST",
|
|
5197
|
+
body: JSON.stringify(data)
|
|
5198
|
+
});
|
|
5199
|
+
}
|
|
5137
5200
|
/**
|
|
5138
5201
|
* Get platform app connection details by UUID.
|
|
5139
5202
|
*/
|
|
@@ -6643,6 +6706,33 @@ var OrgApi = class extends BaseApiClient {
|
|
|
6643
6706
|
method: "DELETE"
|
|
6644
6707
|
});
|
|
6645
6708
|
}
|
|
6709
|
+
/**
|
|
6710
|
+
* Read the organization's AI connector policy and the connectors (MCP
|
|
6711
|
+
* clients such as claude.ai or ChatGPT) that have requested access to it.
|
|
6712
|
+
* Requires `org:admin`.
|
|
6713
|
+
*/
|
|
6714
|
+
async getOrgAiConnectorPolicy(orgIdOrUuid) {
|
|
6715
|
+
return this.fetch(`o/${orgIdOrUuid}/ai-connectors`);
|
|
6716
|
+
}
|
|
6717
|
+
/** Set the AI connector mode: `any` or `allowlist`. Requires `org:admin`. */
|
|
6718
|
+
async updateOrgAiConnectorPolicy(orgIdOrUuid, data) {
|
|
6719
|
+
return this.fetch(`o/${orgIdOrUuid}/ai-connectors`, {
|
|
6720
|
+
method: "PUT",
|
|
6721
|
+
body: JSON.stringify(data)
|
|
6722
|
+
});
|
|
6723
|
+
}
|
|
6724
|
+
/** Allow a connector that has requested access. Requires `org:admin`. */
|
|
6725
|
+
async allowOrgAiConnector(orgIdOrUuid, appId) {
|
|
6726
|
+
return this.fetch(`o/${orgIdOrUuid}/ai-connectors/clients/${appId}`, {
|
|
6727
|
+
method: "PUT"
|
|
6728
|
+
});
|
|
6729
|
+
}
|
|
6730
|
+
/** Remove a connector from the allowlist. Requires `org:admin`. */
|
|
6731
|
+
async removeOrgAiConnector(orgIdOrUuid, appId) {
|
|
6732
|
+
return this.fetch(`o/${orgIdOrUuid}/ai-connectors/clients/${appId}`, {
|
|
6733
|
+
method: "DELETE"
|
|
6734
|
+
});
|
|
6735
|
+
}
|
|
6646
6736
|
/**
|
|
6647
6737
|
* Get the billing customer and this organization's billable subscription.
|
|
6648
6738
|
*
|
|
@@ -7470,9 +7560,57 @@ var OrgApi = class extends BaseApiClient {
|
|
|
7470
7560
|
method: "DELETE"
|
|
7471
7561
|
});
|
|
7472
7562
|
}
|
|
7473
|
-
async listOrgWebhookEndpointDeliveries(orgIdOrUuid, endpointUuid, limit = 50) {
|
|
7563
|
+
async listOrgWebhookEndpointDeliveries(orgIdOrUuid, endpointUuid, limit = 50, offset = 0) {
|
|
7564
|
+
return this.fetch(
|
|
7565
|
+
`o/${orgIdOrUuid}/webhooks/${endpointUuid}/deliveries?limit=${limit}&offset=${offset}`
|
|
7566
|
+
);
|
|
7567
|
+
}
|
|
7568
|
+
async getOrgWebhookDeliveryDetail(orgIdOrUuid, endpointUuid, deliveryId) {
|
|
7569
|
+
return this.fetch(`o/${orgIdOrUuid}/webhooks/${endpointUuid}/deliveries/${deliveryId}`);
|
|
7570
|
+
}
|
|
7571
|
+
async clearOrgWebhookDeliveries(orgIdOrUuid, endpointUuid, failedOnly) {
|
|
7572
|
+
return this.fetch(`o/${orgIdOrUuid}/webhooks/${endpointUuid}/deliveries/clear`, {
|
|
7573
|
+
method: "POST",
|
|
7574
|
+
body: JSON.stringify({ failedOnly })
|
|
7575
|
+
});
|
|
7576
|
+
}
|
|
7577
|
+
/**
|
|
7578
|
+
* Requeue one failed or expired delivery on its existing row.
|
|
7579
|
+
*
|
|
7580
|
+
* The response is identifiers only. The drain signs a fresh timestamp
|
|
7581
|
+
* when it sends; this call does not POST to the receiver.
|
|
7582
|
+
*/
|
|
7583
|
+
async replayOrgWebhookDelivery(orgIdOrUuid, endpointUuid, deliveryId) {
|
|
7584
|
+
return this.fetch(
|
|
7585
|
+
`o/${orgIdOrUuid}/webhooks/${endpointUuid}/deliveries/${deliveryId}/replay`,
|
|
7586
|
+
{
|
|
7587
|
+
method: "POST",
|
|
7588
|
+
body: JSON.stringify({})
|
|
7589
|
+
}
|
|
7590
|
+
);
|
|
7591
|
+
}
|
|
7592
|
+
/**
|
|
7593
|
+
* Expire every pending delivery of a paused or disabled endpoint, so a
|
|
7594
|
+
* resume does not re-send a held backlog the receiver keeps rejecting.
|
|
7595
|
+
* Refused with 409 while the endpoint is active. Dead-lettered rows
|
|
7596
|
+
* are untouched; expired rows stay replayable one at a time.
|
|
7597
|
+
*/
|
|
7598
|
+
async discardPendingOrgWebhookDeliveries(orgIdOrUuid, endpointUuid) {
|
|
7599
|
+
return this.fetch(
|
|
7600
|
+
`o/${orgIdOrUuid}/webhooks/${endpointUuid}/deliveries/discard-pending`,
|
|
7601
|
+
{
|
|
7602
|
+
method: "POST",
|
|
7603
|
+
body: JSON.stringify({})
|
|
7604
|
+
}
|
|
7605
|
+
);
|
|
7606
|
+
}
|
|
7607
|
+
/**
|
|
7608
|
+
* Which covered workspaces have the subscribed Forms opted in
|
|
7609
|
+
* (`webhookEventsEnabled`). Record events only.
|
|
7610
|
+
*/
|
|
7611
|
+
async getOrgWebhookEndpointCoverage(orgIdOrUuid, endpointUuid) {
|
|
7474
7612
|
return this.fetch(
|
|
7475
|
-
`o/${orgIdOrUuid}/webhooks/${endpointUuid}/
|
|
7613
|
+
`o/${orgIdOrUuid}/webhooks/${endpointUuid}/coverage`
|
|
7476
7614
|
);
|
|
7477
7615
|
}
|
|
7478
7616
|
/**
|
|
@@ -7536,6 +7674,57 @@ var OrgApi = class extends BaseApiClient {
|
|
|
7536
7674
|
method: "DELETE"
|
|
7537
7675
|
});
|
|
7538
7676
|
}
|
|
7677
|
+
// =========================================================================
|
|
7678
|
+
// Workspace labels — the organization's own taxonomy of its workspaces
|
|
7679
|
+
// =========================================================================
|
|
7680
|
+
/** Every label of the organization, with workspace and webhook-selector counts. */
|
|
7681
|
+
async listWorkspaceLabels(orgIdOrUuid) {
|
|
7682
|
+
return this.fetch(`o/${orgIdOrUuid}/workspace-labels`);
|
|
7683
|
+
}
|
|
7684
|
+
async createWorkspaceLabel(orgIdOrUuid, data) {
|
|
7685
|
+
return this.fetch(`o/${orgIdOrUuid}/workspace-labels`, {
|
|
7686
|
+
method: "POST",
|
|
7687
|
+
body: JSON.stringify(data)
|
|
7688
|
+
});
|
|
7689
|
+
}
|
|
7690
|
+
/** Rename or recolor a label. The slug never changes. */
|
|
7691
|
+
async updateWorkspaceLabel(orgIdOrUuid, labelUuid, data) {
|
|
7692
|
+
return this.fetch(`o/${orgIdOrUuid}/workspace-labels/${labelUuid}`, {
|
|
7693
|
+
method: "PATCH",
|
|
7694
|
+
body: JSON.stringify(data)
|
|
7695
|
+
});
|
|
7696
|
+
}
|
|
7697
|
+
/** Delete a label. Refused (409) while a webhook label selector requires it. */
|
|
7698
|
+
async deleteWorkspaceLabel(orgIdOrUuid, labelUuid) {
|
|
7699
|
+
return this.fetch(`o/${orgIdOrUuid}/workspace-labels/${labelUuid}`, {
|
|
7700
|
+
method: "DELETE"
|
|
7701
|
+
});
|
|
7702
|
+
}
|
|
7703
|
+
/**
|
|
7704
|
+
* Which workspaces a webhook scope (explicit workspaces plus a label
|
|
7705
|
+
* selector) would cover right now. Both empty means the whole organization.
|
|
7706
|
+
*/
|
|
7707
|
+
async previewWorkspaceScope(orgIdOrUuid, data) {
|
|
7708
|
+
return this.fetch(
|
|
7709
|
+
`o/${orgIdOrUuid}/workspace-labels/preview-scope`,
|
|
7710
|
+
{ method: "POST", body: JSON.stringify(data) }
|
|
7711
|
+
);
|
|
7712
|
+
}
|
|
7713
|
+
async getWorkspaceLabels(orgIdOrUuid, workspaceUuid) {
|
|
7714
|
+
return this.fetch(
|
|
7715
|
+
`o/${orgIdOrUuid}/workspaces/${workspaceUuid}/labels`
|
|
7716
|
+
);
|
|
7717
|
+
}
|
|
7718
|
+
/**
|
|
7719
|
+
* Replace a workspace's labels with exactly `data.labels` (slugs). A slug the
|
|
7720
|
+
* organization has not used before creates that label.
|
|
7721
|
+
*/
|
|
7722
|
+
async setWorkspaceLabels(orgIdOrUuid, workspaceUuid, data) {
|
|
7723
|
+
return this.fetch(
|
|
7724
|
+
`o/${orgIdOrUuid}/workspaces/${workspaceUuid}/labels`,
|
|
7725
|
+
{ method: "PUT", body: JSON.stringify(data) }
|
|
7726
|
+
);
|
|
7727
|
+
}
|
|
7539
7728
|
};
|
|
7540
7729
|
function businessProfilePath(orgUuid, legalEntityUuid) {
|
|
7541
7730
|
return legalEntityUuid ? `o/${orgUuid}/legal-entities/${legalEntityUuid}/business-profile` : `o/${orgUuid}/business-profile`;
|
|
@@ -7595,6 +7784,39 @@ var OAuthApi = class extends BaseApiClient {
|
|
|
7595
7784
|
body: JSON.stringify(request)
|
|
7596
7785
|
});
|
|
7597
7786
|
}
|
|
7787
|
+
async denyAuthorization(request) {
|
|
7788
|
+
return this.fetch("oauth/authorize/deny", {
|
|
7789
|
+
method: "POST",
|
|
7790
|
+
body: JSON.stringify(request)
|
|
7791
|
+
});
|
|
7792
|
+
}
|
|
7793
|
+
async getOAuthConsentClient(clientId, redirectUri, resource) {
|
|
7794
|
+
const params = new URLSearchParams({ client_id: clientId, redirect_uri: redirectUri });
|
|
7795
|
+
if (resource) params.set("resource", resource);
|
|
7796
|
+
return this.fetch(`oauth/authorize/client?${params.toString()}`);
|
|
7797
|
+
}
|
|
7798
|
+
/** The organizations and workspaces the MCP consent screen may offer. */
|
|
7799
|
+
async getMcpConsentTargets(clientId) {
|
|
7800
|
+
const params = new URLSearchParams({ client_id: clientId });
|
|
7801
|
+
return this.fetch(`oauth/authorize/mcp-targets?${params.toString()}`);
|
|
7802
|
+
}
|
|
7803
|
+
/** The signed-in account's MCP grants. */
|
|
7804
|
+
async listMcpGrants() {
|
|
7805
|
+
return this.fetch("oauth/mcp-grants");
|
|
7806
|
+
}
|
|
7807
|
+
/** Remove organizations or workspaces from one MCP grant. */
|
|
7808
|
+
async narrowMcpGrant(grantId, removeTargetIds) {
|
|
7809
|
+
return this.fetch(`oauth/mcp-grants/${encodeURIComponent(grantId)}`, {
|
|
7810
|
+
method: "PATCH",
|
|
7811
|
+
body: JSON.stringify({ removeTargetIds })
|
|
7812
|
+
});
|
|
7813
|
+
}
|
|
7814
|
+
/** Revoke one MCP grant. */
|
|
7815
|
+
async revokeMcpGrant(grantId) {
|
|
7816
|
+
return this.fetch(`oauth/mcp-grants/${encodeURIComponent(grantId)}`, {
|
|
7817
|
+
method: "DELETE"
|
|
7818
|
+
});
|
|
7819
|
+
}
|
|
7598
7820
|
async exchangeOAuthToken(request) {
|
|
7599
7821
|
const formData = new URLSearchParams();
|
|
7600
7822
|
formData.append("grant_type", request.grant_type);
|
|
@@ -8054,6 +8276,21 @@ var MetricsApi = class extends BaseApiClient {
|
|
|
8054
8276
|
}
|
|
8055
8277
|
};
|
|
8056
8278
|
|
|
8279
|
+
// src/api/data-reports.ts
|
|
8280
|
+
var DataReportsApi = class extends BaseApiClient {
|
|
8281
|
+
/**
|
|
8282
|
+
* Run a Form Reports report, saved or not, with the given parameter values.
|
|
8283
|
+
* The result is what the Agent would get: record rows or aggregate groups
|
|
8284
|
+
* within the tool's row and group caps, plus the text sent to the Agent.
|
|
8285
|
+
*/
|
|
8286
|
+
async previewDataReport(wid, request) {
|
|
8287
|
+
return this.fetch(`w/${wid}/data-reports/preview`, {
|
|
8288
|
+
method: "POST",
|
|
8289
|
+
body: JSON.stringify(request)
|
|
8290
|
+
});
|
|
8291
|
+
}
|
|
8292
|
+
};
|
|
8293
|
+
|
|
8057
8294
|
// src/api/queries.ts
|
|
8058
8295
|
var QueriesApi = class extends BaseApiClient {
|
|
8059
8296
|
/** Queryable namespace: native fields, operators per type, DataType record fields. */
|
|
@@ -10286,6 +10523,20 @@ var WorkflowsApi = class extends BaseApiClient {
|
|
|
10286
10523
|
async getWorkflowOutline(wid, id) {
|
|
10287
10524
|
return this.fetch(`w/${wid}/workflows/${id}/outline`);
|
|
10288
10525
|
}
|
|
10526
|
+
/**
|
|
10527
|
+
* Outlines for many Workflows in one request. The same shape as
|
|
10528
|
+
* {@link getWorkflowOutline}, keyed by workflow id. Ids the caller cannot
|
|
10529
|
+
* use, and outlines that cannot be read, are absent.
|
|
10530
|
+
*
|
|
10531
|
+
* The route accepts at most 100 ids. Callers with a longer list chunk.
|
|
10532
|
+
*/
|
|
10533
|
+
async getWorkflowsOutlineBatch(wid, workflowIds) {
|
|
10534
|
+
const params = new URLSearchParams();
|
|
10535
|
+
params.set("workflowIds", workflowIds.join(","));
|
|
10536
|
+
return this.fetch(
|
|
10537
|
+
`w/${wid}/workflows/outline/batch?${params.toString()}`
|
|
10538
|
+
);
|
|
10539
|
+
}
|
|
10289
10540
|
/** Create a new workflow in a workspace. */
|
|
10290
10541
|
async createWorkflow(wid, workflow) {
|
|
10291
10542
|
return this.fetch(`w/${wid}/workflows`, {
|
|
@@ -11024,6 +11275,7 @@ var WorkspaceFeature = /* @__PURE__ */ ((WorkspaceFeature2) => {
|
|
|
11024
11275
|
WorkspaceFeature2["CRM_SALESFORCE"] = "crm_salesforce";
|
|
11025
11276
|
WorkspaceFeature2["CRM_HUBSPOT"] = "crm_hubspot";
|
|
11026
11277
|
WorkspaceFeature2["CONFLUENCE"] = "confluence";
|
|
11278
|
+
WorkspaceFeature2["ZENDESK"] = "zendesk";
|
|
11027
11279
|
WorkspaceFeature2["AGENT_MEMORY"] = "agent_memory";
|
|
11028
11280
|
WorkspaceFeature2["IMAGE_GENERATION"] = "image_generation";
|
|
11029
11281
|
WorkspaceFeature2["CHARLESTON_NEPHROLOGY_PMD_PAGING"] = "charleston_nephrology_pmd_paging";
|
|
@@ -11168,6 +11420,7 @@ var ModelProvider = {
|
|
|
11168
11420
|
google: "google",
|
|
11169
11421
|
anthropic: "anthropic",
|
|
11170
11422
|
aws: "aws",
|
|
11423
|
+
elevenlabs: "elevenlabs",
|
|
11171
11424
|
deepgram: "deepgram",
|
|
11172
11425
|
xai: "xai",
|
|
11173
11426
|
fireworks: "fireworks",
|
|
@@ -11194,7 +11447,12 @@ var STT_MODEL_DEEPGRAM_FLUX = "deepgram:stt:flux-general-en";
|
|
|
11194
11447
|
var STT_MODEL_DEEPGRAM_FLUX_SELFHOST = "deepgram:stt:flux-general-en:selfhost";
|
|
11195
11448
|
var STT_MODEL_DEEPGRAM_FLUX_MULTI = "deepgram:stt:flux-general-multi";
|
|
11196
11449
|
var STT_MODEL_DEEPGRAM_FLUX_MULTI_SELFHOST = "deepgram:stt:flux-general-multi:selfhost";
|
|
11450
|
+
var STT_MODEL_ELEVENLABS_SCRIBE_V2_REALTIME = "elevenlabs:stt:scribe_v2_realtime";
|
|
11197
11451
|
var TTS_MODEL_XAI_V1 = "xai:tts:v1";
|
|
11452
|
+
var TTS_MODEL_ELEVENLABS_FLASH = "elevenlabs:tts:eleven_flash_v2_5";
|
|
11453
|
+
var TTS_MODEL_ELEVENLABS_TURBO = "elevenlabs:tts:eleven_turbo_v2_5";
|
|
11454
|
+
var TTS_MODEL_ELEVENLABS_MULTILINGUAL = "elevenlabs:tts:eleven_multilingual_v2";
|
|
11455
|
+
var TTS_MODEL_ELEVENLABS_V4_TURBO = "elevenlabs:tts:eleven_v4_turbo";
|
|
11198
11456
|
var TTS_MODEL_DEEPGRAM_AURA_2 = "deepgram:tts:aura-2";
|
|
11199
11457
|
var TTS_MODEL_AWS_POLLY_GENERATIVE = "aws:tts:polly-generative";
|
|
11200
11458
|
var TTS_MODEL_AWS_POLLY_NEURAL = "aws:tts:polly-neural";
|
|
@@ -11846,6 +12104,17 @@ var WorkspacesApi = class extends BaseApiClient {
|
|
|
11846
12104
|
async getWorkspaces(options) {
|
|
11847
12105
|
return this.fetch(`w/?${workspaceDirectoryParams(options)}`);
|
|
11848
12106
|
}
|
|
12107
|
+
/**
|
|
12108
|
+
* Page 1 of each organization's workspace directory, in one request.
|
|
12109
|
+
* Later pages stay on ``getWorkspaces({ organizationUuid, page })``.
|
|
12110
|
+
*/
|
|
12111
|
+
async getOrganizationWorkspacePages(options) {
|
|
12112
|
+
const params = new URLSearchParams();
|
|
12113
|
+
if (options.pageSize !== void 0) params.set("pageSize", String(options.pageSize));
|
|
12114
|
+
if (options.search) params.set("search", options.search);
|
|
12115
|
+
for (const uuid of options.organizationUuids) params.append("organizationUuids", uuid);
|
|
12116
|
+
return this.fetch(`w/organization-pages?${params}`);
|
|
12117
|
+
}
|
|
11849
12118
|
/** A bounded page of companion-device candidates, with admission checked per row. */
|
|
11850
12119
|
async getDeviceAdmissibleWorkspaces(options) {
|
|
11851
12120
|
const params = workspaceDirectoryParams(options);
|
|
@@ -12608,6 +12877,7 @@ function createApiModules(apiKey, baseUrl, customFetch) {
|
|
|
12608
12877
|
qualifications: new QualificationsApi(apiKey, baseUrl, customFetch),
|
|
12609
12878
|
personas: new PersonasApi(apiKey, baseUrl, customFetch),
|
|
12610
12879
|
metrics: new MetricsApi(apiKey, baseUrl, customFetch),
|
|
12880
|
+
dataReports: new DataReportsApi(apiKey, baseUrl, customFetch),
|
|
12611
12881
|
queries: new QueriesApi(apiKey, baseUrl, customFetch),
|
|
12612
12882
|
reports: new ReportsApi(apiKey, baseUrl, customFetch),
|
|
12613
12883
|
resourceWorkflows: new ResourceWorkflowsApi(apiKey, baseUrl, customFetch),
|
|
@@ -12683,6 +12953,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
12683
12953
|
"configureHubspot",
|
|
12684
12954
|
"configureMondayConnection",
|
|
12685
12955
|
"configureSalesforce",
|
|
12956
|
+
"configureZendeskConnection",
|
|
12686
12957
|
"convertEmail",
|
|
12687
12958
|
"convertFile",
|
|
12688
12959
|
"createAbility",
|
|
@@ -12879,6 +13150,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
12879
13150
|
"fhirGetCsvImportSettings",
|
|
12880
13151
|
"fhirGetEncounterSyncRuns",
|
|
12881
13152
|
"fhirGetEncounterSyncStatus",
|
|
13153
|
+
"fhirGetOnboardingImportStatus",
|
|
12882
13154
|
"fhirImportPatient",
|
|
12883
13155
|
"fhirLinkMember",
|
|
12884
13156
|
"fhirListLinkedMembers",
|
|
@@ -12887,6 +13159,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
12887
13159
|
"fhirSearchLocations",
|
|
12888
13160
|
"fhirSearchPatients",
|
|
12889
13161
|
"fhirSearchPractitioners",
|
|
13162
|
+
"fhirStartOnboardingImport",
|
|
12890
13163
|
"fhirSyncMember",
|
|
12891
13164
|
"fhirUnlinkMember",
|
|
12892
13165
|
"fhirUpdateCsvImportSettings",
|
|
@@ -13043,6 +13316,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
13043
13316
|
"importSiteSourceZip",
|
|
13044
13317
|
"installDocumoFax",
|
|
13045
13318
|
"listChatRecordings",
|
|
13319
|
+
"previewDataReport",
|
|
13046
13320
|
"previewQuery",
|
|
13047
13321
|
"publishSiteSource",
|
|
13048
13322
|
"publishDataTypeDraft",
|
|
@@ -13066,6 +13340,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
13066
13340
|
"getFiles",
|
|
13067
13341
|
"getFirstRunState",
|
|
13068
13342
|
"getFolder",
|
|
13343
|
+
"getFolderChildren",
|
|
13069
13344
|
"getFolderMemberAccess",
|
|
13070
13345
|
"getFolderSharing",
|
|
13071
13346
|
"getFolders",
|
|
@@ -13252,6 +13527,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
13252
13527
|
"getWorkflowTemplates",
|
|
13253
13528
|
"getWorkflows",
|
|
13254
13529
|
"getWorkflowsActivityBatch",
|
|
13530
|
+
"getWorkflowsOutlineBatch",
|
|
13255
13531
|
"getWorkspace",
|
|
13256
13532
|
"getWorkspaceActivityCounts",
|
|
13257
13533
|
"getWorkspaceBuilder",
|
|
@@ -13874,6 +14150,7 @@ function bindMembersMethods(target, members) {
|
|
|
13874
14150
|
// src/client/bindings/workspaces.ts
|
|
13875
14151
|
function bindWorkspacesMethods(target, workspaces, signupRequests) {
|
|
13876
14152
|
target.getWorkspaces = workspaces.getWorkspaces.bind(workspaces);
|
|
14153
|
+
target.getOrganizationWorkspacePages = workspaces.getOrganizationWorkspacePages.bind(workspaces);
|
|
13877
14154
|
target.getDeviceAdmissibleWorkspaces = workspaces.getDeviceAdmissibleWorkspaces.bind(workspaces);
|
|
13878
14155
|
target.getPublicWorkspaces = workspaces.getPublicWorkspaces.bind(workspaces);
|
|
13879
14156
|
target.getWorkspace = workspaces.getWorkspace.bind(workspaces);
|
|
@@ -14075,6 +14352,7 @@ function bindFilesMethods(target, files) {
|
|
|
14075
14352
|
target.convertFile = files.convertFile.bind(files);
|
|
14076
14353
|
target.generateFileUploadUrl = files.generateFileUploadUrl.bind(files);
|
|
14077
14354
|
target.getFolders = files.getFolders.bind(files);
|
|
14355
|
+
target.getFolderChildren = files.getFolderChildren.bind(files);
|
|
14078
14356
|
target.getFolder = files.getFolder.bind(files);
|
|
14079
14357
|
target.createFolder = files.createFolder.bind(files);
|
|
14080
14358
|
target.updateFolder = files.updateFolder.bind(files);
|
|
@@ -14163,6 +14441,7 @@ function bindWorkflowsMethods(target, workflows, workflowNotes, voice, superviso
|
|
|
14163
14441
|
target.getWorkflowsActivityBatch = workflows.getWorkflowsActivityBatch.bind(workflows);
|
|
14164
14442
|
target.getWorkflowDiagram = workflows.getWorkflowDiagram.bind(workflows);
|
|
14165
14443
|
target.getWorkflowOutline = workflows.getWorkflowOutline.bind(workflows);
|
|
14444
|
+
target.getWorkflowsOutlineBatch = workflows.getWorkflowsOutlineBatch.bind(workflows);
|
|
14166
14445
|
target.createWorkflow = workflows.createWorkflow.bind(workflows);
|
|
14167
14446
|
target.updateWorkflow = workflows.updateWorkflow.bind(workflows);
|
|
14168
14447
|
target.getWorkflowDeletionPreview = workflows.getWorkflowDeletionPreview.bind(workflows);
|
|
@@ -14383,6 +14662,12 @@ function bindAppsMethods(target, apps, builders, inquiries, oauth, oauthConnecti
|
|
|
14383
14662
|
target.deleteInquiry = inquiries.deleteInquiry.bind(inquiries);
|
|
14384
14663
|
target.exportInquiriesCsv = inquiries.exportInquiriesCsv.bind(inquiries);
|
|
14385
14664
|
target.authorize = oauth.authorize.bind(oauth);
|
|
14665
|
+
target.denyAuthorization = oauth.denyAuthorization.bind(oauth);
|
|
14666
|
+
target.getOAuthConsentClient = oauth.getOAuthConsentClient.bind(oauth);
|
|
14667
|
+
target.getMcpConsentTargets = oauth.getMcpConsentTargets.bind(oauth);
|
|
14668
|
+
target.listMcpGrants = oauth.listMcpGrants.bind(oauth);
|
|
14669
|
+
target.narrowMcpGrant = oauth.narrowMcpGrant.bind(oauth);
|
|
14670
|
+
target.revokeMcpGrant = oauth.revokeMcpGrant.bind(oauth);
|
|
14386
14671
|
target.exchangeOAuthToken = oauth.exchangeOAuthToken.bind(oauth);
|
|
14387
14672
|
target.getAvailableScopes = oauth.getAvailableScopes.bind(oauth);
|
|
14388
14673
|
target.getOAuthConnectionStatus = oauthConnections.getConnectionStatus.bind(oauthConnections);
|
|
@@ -14482,6 +14767,8 @@ function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackAp
|
|
|
14482
14767
|
target.fhirGetEncounterSyncRuns = fhirConnections.fhirGetEncounterSyncRuns.bind(fhirConnections);
|
|
14483
14768
|
target.fhirRefreshEncounterPatient = fhirConnections.fhirRefreshEncounterPatient.bind(fhirConnections);
|
|
14484
14769
|
target.fhirBackfillEncounterSync = fhirConnections.fhirBackfillEncounterSync.bind(fhirConnections);
|
|
14770
|
+
target.fhirStartOnboardingImport = fhirConnections.fhirStartOnboardingImport.bind(fhirConnections);
|
|
14771
|
+
target.fhirGetOnboardingImportStatus = fhirConnections.fhirGetOnboardingImportStatus.bind(fhirConnections);
|
|
14485
14772
|
target.configurePatientSync = patientSyncConnections.configurePatientSync.bind(patientSyncConnections);
|
|
14486
14773
|
target.getPatientSyncStatus = patientSyncConnections.getPatientSyncStatus.bind(patientSyncConnections);
|
|
14487
14774
|
target.deletePatientSyncConnection = patientSyncConnections.deletePatientSyncConnection.bind(patientSyncConnections);
|
|
@@ -14568,6 +14855,7 @@ function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackAp
|
|
|
14568
14855
|
target.listAvailableAppConnections = appConnections.listAvailableAppConnections.bind(appConnections);
|
|
14569
14856
|
target.listAppConnections = appConnections.listAppConnections.bind(appConnections);
|
|
14570
14857
|
target.enablePlatformApp = appConnections.enablePlatformApp.bind(appConnections);
|
|
14858
|
+
target.configureZendeskConnection = appConnections.configureZendeskConnection.bind(appConnections);
|
|
14571
14859
|
target.getPlatformApp = appConnections.getPlatformApp.bind(appConnections);
|
|
14572
14860
|
target.updatePlatformApp = appConnections.updatePlatformApp.bind(appConnections);
|
|
14573
14861
|
target.deletePlatformApp = appConnections.deletePlatformApp.bind(appConnections);
|
|
@@ -14620,6 +14908,7 @@ function bindOrgMethods(target, org) {
|
|
|
14620
14908
|
target.getVoiceTrustProducts = org.getVoiceTrustProducts.bind(org);
|
|
14621
14909
|
target.syncVoiceTrustProducts = org.syncVoiceTrustProducts.bind(org);
|
|
14622
14910
|
target.createOrganizationWorkspace = org.createOrganizationWorkspace.bind(org);
|
|
14911
|
+
target.getOrganizationWorkspaces = org.getOrganizationWorkspaces.bind(org);
|
|
14623
14912
|
target.getOrganizationWorkspace = org.getOrganizationWorkspace.bind(org);
|
|
14624
14913
|
target.updateOrganizationWorkspace = org.updateOrganizationWorkspace.bind(org);
|
|
14625
14914
|
target.getOrgBillingCustomer = org.getOrgBillingCustomer.bind(org);
|
|
@@ -14629,7 +14918,22 @@ function bindOrgMethods(target, org) {
|
|
|
14629
14918
|
target.updateOrganizationMember = org.updateOrganizationMember.bind(org);
|
|
14630
14919
|
target.listOrgWebhookEndpoints = org.listOrgWebhookEndpoints.bind(org);
|
|
14631
14920
|
target.getOrgWebhookEndpoint = org.getOrgWebhookEndpoint.bind(org);
|
|
14921
|
+
target.createOrgWebhookEndpoint = org.createOrgWebhookEndpoint.bind(org);
|
|
14632
14922
|
target.updateOrgWebhookEndpoint = org.updateOrgWebhookEndpoint.bind(org);
|
|
14923
|
+
target.listOrgWebhookEndpointDeliveries = org.listOrgWebhookEndpointDeliveries.bind(org);
|
|
14924
|
+
target.replayOrgWebhookDelivery = org.replayOrgWebhookDelivery.bind(org);
|
|
14925
|
+
target.discardPendingOrgWebhookDeliveries = org.discardPendingOrgWebhookDeliveries.bind(org);
|
|
14926
|
+
target.getOrgWebhookDeliveryDetail = org.getOrgWebhookDeliveryDetail.bind(org);
|
|
14927
|
+
target.clearOrgWebhookDeliveries = org.clearOrgWebhookDeliveries.bind(org);
|
|
14928
|
+
target.getOrgWebhookEndpointCoverage = org.getOrgWebhookEndpointCoverage.bind(org);
|
|
14929
|
+
target.testOrgWebhookEndpoint = org.testOrgWebhookEndpoint.bind(org);
|
|
14930
|
+
target.listWorkspaceLabels = org.listWorkspaceLabels.bind(org);
|
|
14931
|
+
target.createWorkspaceLabel = org.createWorkspaceLabel.bind(org);
|
|
14932
|
+
target.updateWorkspaceLabel = org.updateWorkspaceLabel.bind(org);
|
|
14933
|
+
target.deleteWorkspaceLabel = org.deleteWorkspaceLabel.bind(org);
|
|
14934
|
+
target.getWorkspaceLabels = org.getWorkspaceLabels.bind(org);
|
|
14935
|
+
target.setWorkspaceLabels = org.setWorkspaceLabels.bind(org);
|
|
14936
|
+
target.previewWorkspaceScope = org.previewWorkspaceScope.bind(org);
|
|
14633
14937
|
}
|
|
14634
14938
|
|
|
14635
14939
|
// src/client/bindings/pronunciations.ts
|
|
@@ -14785,6 +15089,11 @@ function bindMetricsMethods(target, metrics) {
|
|
|
14785
15089
|
target.computeChatMetrics = metrics.computeChatMetrics.bind(metrics);
|
|
14786
15090
|
}
|
|
14787
15091
|
|
|
15092
|
+
// src/client/bindings/data-reports.ts
|
|
15093
|
+
function bindDataReportsMethods(target, dataReports) {
|
|
15094
|
+
target.previewDataReport = dataReports.previewDataReport.bind(dataReports);
|
|
15095
|
+
}
|
|
15096
|
+
|
|
14788
15097
|
// src/client/bindings/queries.ts
|
|
14789
15098
|
function bindQueriesMethods(target, queries) {
|
|
14790
15099
|
target.getQueryFields = queries.getQueryFields.bind(queries);
|
|
@@ -15100,6 +15409,8 @@ var GravityRailClient = class {
|
|
|
15100
15409
|
validateQuery;
|
|
15101
15410
|
previewQuery;
|
|
15102
15411
|
runQuery;
|
|
15412
|
+
// Form Reports
|
|
15413
|
+
previewDataReport;
|
|
15103
15414
|
listPersonas;
|
|
15104
15415
|
getPersona;
|
|
15105
15416
|
createPersona;
|
|
@@ -15284,6 +15595,7 @@ var GravityRailClient = class {
|
|
|
15284
15595
|
inspectPrompt;
|
|
15285
15596
|
// Workspaces API
|
|
15286
15597
|
getWorkspaces;
|
|
15598
|
+
getOrganizationWorkspacePages;
|
|
15287
15599
|
getDeviceAdmissibleWorkspaces;
|
|
15288
15600
|
getPublicWorkspaces;
|
|
15289
15601
|
getWorkspace;
|
|
@@ -15370,6 +15682,7 @@ var GravityRailClient = class {
|
|
|
15370
15682
|
getVoiceTrustProducts;
|
|
15371
15683
|
syncVoiceTrustProducts;
|
|
15372
15684
|
createOrganizationWorkspace;
|
|
15685
|
+
getOrganizationWorkspaces;
|
|
15373
15686
|
getOrganizationWorkspace;
|
|
15374
15687
|
updateOrganizationWorkspace;
|
|
15375
15688
|
getOrgBillingCustomer;
|
|
@@ -15379,7 +15692,22 @@ var GravityRailClient = class {
|
|
|
15379
15692
|
updateOrganizationMember;
|
|
15380
15693
|
listOrgWebhookEndpoints;
|
|
15381
15694
|
getOrgWebhookEndpoint;
|
|
15695
|
+
createOrgWebhookEndpoint;
|
|
15382
15696
|
updateOrgWebhookEndpoint;
|
|
15697
|
+
listOrgWebhookEndpointDeliveries;
|
|
15698
|
+
replayOrgWebhookDelivery;
|
|
15699
|
+
discardPendingOrgWebhookDeliveries;
|
|
15700
|
+
getOrgWebhookDeliveryDetail;
|
|
15701
|
+
clearOrgWebhookDeliveries;
|
|
15702
|
+
getOrgWebhookEndpointCoverage;
|
|
15703
|
+
testOrgWebhookEndpoint;
|
|
15704
|
+
listWorkspaceLabels;
|
|
15705
|
+
createWorkspaceLabel;
|
|
15706
|
+
updateWorkspaceLabel;
|
|
15707
|
+
deleteWorkspaceLabel;
|
|
15708
|
+
getWorkspaceLabels;
|
|
15709
|
+
setWorkspaceLabels;
|
|
15710
|
+
previewWorkspaceScope;
|
|
15383
15711
|
getVapidPublicKey;
|
|
15384
15712
|
registerPushSubscription;
|
|
15385
15713
|
unregisterPushSubscription;
|
|
@@ -15520,6 +15848,7 @@ var GravityRailClient = class {
|
|
|
15520
15848
|
convertFile;
|
|
15521
15849
|
generateFileUploadUrl;
|
|
15522
15850
|
getFolders;
|
|
15851
|
+
getFolderChildren;
|
|
15523
15852
|
getFolder;
|
|
15524
15853
|
createFolder;
|
|
15525
15854
|
updateFolder;
|
|
@@ -15577,6 +15906,7 @@ var GravityRailClient = class {
|
|
|
15577
15906
|
getWorkflowsActivityBatch;
|
|
15578
15907
|
getWorkflowDiagram;
|
|
15579
15908
|
getWorkflowOutline;
|
|
15909
|
+
getWorkflowsOutlineBatch;
|
|
15580
15910
|
createWorkflow;
|
|
15581
15911
|
updateWorkflow;
|
|
15582
15912
|
getWorkflowDeletionPreview;
|
|
@@ -15789,6 +16119,12 @@ var GravityRailClient = class {
|
|
|
15789
16119
|
deleteInquiry;
|
|
15790
16120
|
exportInquiriesCsv;
|
|
15791
16121
|
authorize;
|
|
16122
|
+
denyAuthorization;
|
|
16123
|
+
getOAuthConsentClient;
|
|
16124
|
+
getMcpConsentTargets;
|
|
16125
|
+
listMcpGrants;
|
|
16126
|
+
narrowMcpGrant;
|
|
16127
|
+
revokeMcpGrant;
|
|
15792
16128
|
exchangeOAuthToken;
|
|
15793
16129
|
getAvailableScopes;
|
|
15794
16130
|
getOAuthConnectionStatus;
|
|
@@ -15890,6 +16226,8 @@ var GravityRailClient = class {
|
|
|
15890
16226
|
fhirGetEncounterSyncRuns;
|
|
15891
16227
|
fhirRefreshEncounterPatient;
|
|
15892
16228
|
fhirBackfillEncounterSync;
|
|
16229
|
+
fhirStartOnboardingImport;
|
|
16230
|
+
fhirGetOnboardingImportStatus;
|
|
15893
16231
|
// Healthie API
|
|
15894
16232
|
getDocumoFaxStatus;
|
|
15895
16233
|
getDocumoFaxSetup;
|
|
@@ -15982,6 +16320,7 @@ var GravityRailClient = class {
|
|
|
15982
16320
|
listAvailableAppConnections;
|
|
15983
16321
|
listAppConnections;
|
|
15984
16322
|
enablePlatformApp;
|
|
16323
|
+
configureZendeskConnection;
|
|
15985
16324
|
getPlatformApp;
|
|
15986
16325
|
updatePlatformApp;
|
|
15987
16326
|
deletePlatformApp;
|
|
@@ -16062,6 +16401,7 @@ var GravityRailClient = class {
|
|
|
16062
16401
|
bindPersonasMethods(this, apis.personas);
|
|
16063
16402
|
bindMetricsMethods(this, apis.metrics);
|
|
16064
16403
|
bindQueriesMethods(this, apis.queries);
|
|
16404
|
+
bindDataReportsMethods(this, apis.dataReports);
|
|
16065
16405
|
bindDashboardsMethods(this, apis.dashboards);
|
|
16066
16406
|
bindActivityMethods(this, apis.activity);
|
|
16067
16407
|
bindMotdMethods(this, apis.motd);
|
|
@@ -18765,12 +19105,14 @@ var AbilityTypeSlugs = {
|
|
|
18765
19105
|
CALENDAR_BOOKING: "integration:calendar_booking",
|
|
18766
19106
|
FILE_ACCESS: "integration:file_access",
|
|
18767
19107
|
DATA_ACCESS: "integration:data_access",
|
|
19108
|
+
DATA_REPORTS: "integration:data_reports",
|
|
18768
19109
|
GMAIL: "integration:gmail",
|
|
18769
19110
|
GOOGLE_CALENDAR: "integration:google_calendar",
|
|
18770
19111
|
GOOGLE_DRIVE: "integration:google_drive",
|
|
18771
19112
|
GOOGLE_SHEETS: "integration:google_sheets",
|
|
18772
19113
|
CHARLESTON_PMD_PAGING: "integration:charleston_pmd_paging",
|
|
18773
19114
|
COSAN_PATHWAYS_SCHEDULING: "integration:cosan_pathways_scheduling",
|
|
19115
|
+
ATHENA_SCHEDULING: "integration:athena_scheduling",
|
|
18774
19116
|
// Communication
|
|
18775
19117
|
PHONE_CALL_TOOLS: "communication:phone_call_tools",
|
|
18776
19118
|
SEND_SMS: "communication:send_sms",
|
|
@@ -18809,7 +19151,14 @@ function getTTSProvider(ttsModel) {
|
|
|
18809
19151
|
if (!ttsModel || ttsModel === "native") return ttsModel ?? null;
|
|
18810
19152
|
return ttsModel.split(":")[0] ?? null;
|
|
18811
19153
|
}
|
|
18812
|
-
var TTS_PREVIEW_PROVIDERS = [
|
|
19154
|
+
var TTS_PREVIEW_PROVIDERS = [
|
|
19155
|
+
"openai",
|
|
19156
|
+
"elevenlabs",
|
|
19157
|
+
"google",
|
|
19158
|
+
"aws",
|
|
19159
|
+
"deepgram",
|
|
19160
|
+
"xai"
|
|
19161
|
+
];
|
|
18813
19162
|
function getVoiceModelId(entity) {
|
|
18814
19163
|
const config = entity.realtimeModelConfig;
|
|
18815
19164
|
return config?.voiceModel ?? null;
|
|
@@ -18976,6 +19325,12 @@ var SiteDnsRecordType = {
|
|
|
18976
19325
|
TXT: "TXT"
|
|
18977
19326
|
};
|
|
18978
19327
|
|
|
19328
|
+
// src/types/generated/ai_connector_policy.ts
|
|
19329
|
+
var AiConnectorPolicy = {
|
|
19330
|
+
any: "any",
|
|
19331
|
+
allowlist: "allowlist"
|
|
19332
|
+
};
|
|
19333
|
+
|
|
18979
19334
|
// src/types/generated/site.ts
|
|
18980
19335
|
var MenuItemResponseItemType = {
|
|
18981
19336
|
page: "page",
|
|
@@ -19016,6 +19371,20 @@ var PromoCodeStatus = {
|
|
|
19016
19371
|
exhausted: "exhausted"
|
|
19017
19372
|
};
|
|
19018
19373
|
|
|
19374
|
+
// src/types/generated/contact_permission.ts
|
|
19375
|
+
var RecordContactPermissionRequestChannelNote = {
|
|
19376
|
+
phone_call: "phone_call",
|
|
19377
|
+
voicemail: "voicemail",
|
|
19378
|
+
email: "email",
|
|
19379
|
+
mail: "mail",
|
|
19380
|
+
postcard: "postcard",
|
|
19381
|
+
fax: "fax",
|
|
19382
|
+
in_person: "in_person",
|
|
19383
|
+
patient_portal: "patient_portal",
|
|
19384
|
+
web_form: "web_form",
|
|
19385
|
+
other: "other"
|
|
19386
|
+
};
|
|
19387
|
+
|
|
19019
19388
|
// src/types/generated/import_skipped_rule.ts
|
|
19020
19389
|
var ImportSkippedRuleResourceGroupResourceType = {
|
|
19021
19390
|
phone: "phone",
|
|
@@ -19440,6 +19809,7 @@ var EntityKind = {
|
|
|
19440
19809
|
escalation: "escalation",
|
|
19441
19810
|
inbox: "inbox",
|
|
19442
19811
|
phone_number: "phone_number",
|
|
19812
|
+
recording: "recording",
|
|
19443
19813
|
voicemail: "voicemail",
|
|
19444
19814
|
domain: "domain",
|
|
19445
19815
|
import: "import",
|
|
@@ -20326,6 +20696,7 @@ function pathDraftToStorage(draft, original) {
|
|
|
20326
20696
|
ActivityWindowBasis,
|
|
20327
20697
|
ActorKind,
|
|
20328
20698
|
AgentBuilder,
|
|
20699
|
+
AiConnectorPolicy,
|
|
20329
20700
|
ApiError,
|
|
20330
20701
|
ApplyError,
|
|
20331
20702
|
AppsApi,
|
|
@@ -20452,6 +20823,7 @@ function pathDraftToStorage(draft, original) {
|
|
|
20452
20823
|
REALTIME_MODEL_OPENAI_2,
|
|
20453
20824
|
REALTIME_MODEL_OPENAI_MINI,
|
|
20454
20825
|
RecordChangeKind,
|
|
20826
|
+
RecordContactPermissionRequestChannelNote,
|
|
20455
20827
|
RefResolutionStatus,
|
|
20456
20828
|
ReferenceTargetInputKind,
|
|
20457
20829
|
Region,
|
|
@@ -20474,6 +20846,7 @@ function pathDraftToStorage(draft, original) {
|
|
|
20474
20846
|
STT_MODEL_DEEPGRAM_FLUX_MULTI,
|
|
20475
20847
|
STT_MODEL_DEEPGRAM_FLUX_MULTI_SELFHOST,
|
|
20476
20848
|
STT_MODEL_DEEPGRAM_FLUX_SELFHOST,
|
|
20849
|
+
STT_MODEL_ELEVENLABS_SCRIBE_V2_REALTIME,
|
|
20477
20850
|
ScalarTargetInputKind,
|
|
20478
20851
|
ScenarioHealthCaption,
|
|
20479
20852
|
ScenarioHealthHeadline,
|
|
@@ -20491,6 +20864,10 @@ function pathDraftToStorage(draft, original) {
|
|
|
20491
20864
|
TTS_MODEL_AWS_POLLY_GENERATIVE,
|
|
20492
20865
|
TTS_MODEL_AWS_POLLY_NEURAL,
|
|
20493
20866
|
TTS_MODEL_DEEPGRAM_AURA_2,
|
|
20867
|
+
TTS_MODEL_ELEVENLABS_FLASH,
|
|
20868
|
+
TTS_MODEL_ELEVENLABS_MULTILINGUAL,
|
|
20869
|
+
TTS_MODEL_ELEVENLABS_TURBO,
|
|
20870
|
+
TTS_MODEL_ELEVENLABS_V4_TURBO,
|
|
20494
20871
|
TTS_MODEL_XAI_V1,
|
|
20495
20872
|
TTS_PREVIEW_PROVIDERS,
|
|
20496
20873
|
TaskBuilder,
|