@gravity-rail/sdk 6.1.0 → 8.0.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/dist/{agent_standing_job-D60O007y.d.cts → agent_standing_job-CnfyOUHF.d.ts} +20 -219
- package/dist/{agent_standing_job-DbKkPDyY.d.ts → agent_standing_job-DMtlKqoo.d.cts} +20 -219
- package/dist/{chat-interaction-CCdK_MtC.d.ts → chat-interaction-DTbOs4jH.d.ts} +691 -71
- package/dist/{chat-interaction-rktAADW0.d.cts → chat-interaction-KOe9pGEM.d.cts} +691 -71
- package/dist/{chunk-VFOWHCQ7.js → chunk-FWDDHKTM.js} +67 -13
- package/dist/chunk-FWDDHKTM.js.map +1 -0
- package/dist/{chunk-P2MSMMMJ.js → chunk-RKIR4UNS.js} +1 -1
- package/dist/chunk-RKIR4UNS.js.map +1 -0
- package/dist/helpers.d.cts +2 -2
- package/dist/helpers.d.ts +2 -2
- package/dist/index.cjs +67 -12
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -48
- package/dist/index.d.ts +7 -48
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/internal.cjs +89 -12
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.d.cts +380 -175
- package/dist/internal.d.ts +380 -175
- package/dist/internal.js +24 -2
- package/dist/internal.js.map +1 -1
- package/dist/{member-import-Bk2nh1YU.d.cts → member-import-4VSE3yYo.d.cts} +1 -1
- package/dist/{member-import-CybXt3PK.d.ts → member-import-BQDFoSyf.d.ts} +1 -1
- package/dist/schemas.cjs +1 -0
- package/dist/schemas.cjs.map +1 -1
- package/dist/schemas.d.cts +21 -18
- package/dist/schemas.d.ts +21 -18
- package/dist/schemas.js +2 -1
- package/dist/schemas.js.map +1 -1
- package/dist/{tasks-CGiE1y_T.d.ts → tasks-2LhXIwL8.d.ts} +73 -39
- package/dist/{tasks-DChznvPX.d.cts → tasks-BTURuIlD.d.cts} +73 -39
- package/package.json +1 -1
- package/dist/chunk-P2MSMMMJ.js.map +0 -1
- package/dist/chunk-VFOWHCQ7.js.map +0 -1
|
@@ -1755,6 +1755,19 @@ var CallsApi = class extends BaseApiClient {
|
|
|
1755
1755
|
`w/${wid}/recordings/chat/${chatId}/message-timing${params.toString() ? `?${params.toString()}` : ""}`
|
|
1756
1756
|
);
|
|
1757
1757
|
}
|
|
1758
|
+
/**
|
|
1759
|
+
* A coarse loudness overview of the chat's playable call recording, for
|
|
1760
|
+
* drawing a player before any audio is fetched: the playable duration and
|
|
1761
|
+
* one value in `[0, 1]` per half second (at most 512). It describes the
|
|
1762
|
+
* recording `audio.wav` serves and is 404 exactly when that is. Reading it
|
|
1763
|
+
* fetches no audio.
|
|
1764
|
+
*/
|
|
1765
|
+
async getRecordingWaveform(wid, chatId, options = {}) {
|
|
1766
|
+
return this.fetch(
|
|
1767
|
+
`w/${wid}/recordings/chat/${chatId}/waveform`,
|
|
1768
|
+
options.signal ? { signal: options.signal } : void 0
|
|
1769
|
+
);
|
|
1770
|
+
}
|
|
1758
1771
|
/**
|
|
1759
1772
|
* Staff-only discovery of retained edge-stream capture for a chat:
|
|
1760
1773
|
* whether any is retained, its aggregate coverage status, the interval it
|
|
@@ -2664,6 +2677,13 @@ var DataTypesApi = class extends BaseApiClient {
|
|
|
2664
2677
|
body: JSON.stringify(data)
|
|
2665
2678
|
});
|
|
2666
2679
|
}
|
|
2680
|
+
/** Record that a care console billing CSV was downloaded, for the export audit trail. */
|
|
2681
|
+
async recordCcmBillingExport(wid, data) {
|
|
2682
|
+
await this.fetch(`w/${wid}/ccm/billing-exports`, {
|
|
2683
|
+
method: "POST",
|
|
2684
|
+
body: JSON.stringify(data)
|
|
2685
|
+
});
|
|
2686
|
+
}
|
|
2667
2687
|
/** List data records for a data type with optional filtering and pagination. */
|
|
2668
2688
|
async getDataRecords(wid, dataTypeId, options) {
|
|
2669
2689
|
const params = new URLSearchParams();
|
|
@@ -3165,6 +3185,7 @@ var EventsApi = class extends BaseApiClient {
|
|
|
3165
3185
|
searchParams.append("workflowRevisionId", params.workflowRevisionId.toString());
|
|
3166
3186
|
if (params.journeyStepId)
|
|
3167
3187
|
searchParams.append("journeyStepId", params.journeyStepId.toString());
|
|
3188
|
+
if (params.folderId != null) searchParams.append("folderId", params.folderId.toString());
|
|
3168
3189
|
if (params.includeDisabled) searchParams.append("includeDisabled", "true");
|
|
3169
3190
|
return this.fetch(`w/${wid}/event-rules/search?${searchParams.toString()}`);
|
|
3170
3191
|
}
|
|
@@ -6046,6 +6067,30 @@ var OrgApi = class extends BaseApiClient {
|
|
|
6046
6067
|
method: "DELETE"
|
|
6047
6068
|
});
|
|
6048
6069
|
}
|
|
6070
|
+
/**
|
|
6071
|
+
* Read the organization's Inference API page: base URL, models, harness
|
|
6072
|
+
* snippets, credit posture and usage. Requires `org:admin`.
|
|
6073
|
+
*/
|
|
6074
|
+
async getOrgInferenceApi(orgIdOrUuid) {
|
|
6075
|
+
return this.fetch(`o/${orgIdOrUuid}/inference-api`);
|
|
6076
|
+
}
|
|
6077
|
+
/** Set the Inference API credit mode. Requires `org:admin`. */
|
|
6078
|
+
async updateOrgInferenceApi(orgIdOrUuid, data) {
|
|
6079
|
+
return this.fetch(`o/${orgIdOrUuid}/inference-api`, {
|
|
6080
|
+
method: "PUT",
|
|
6081
|
+
body: JSON.stringify(data)
|
|
6082
|
+
});
|
|
6083
|
+
}
|
|
6084
|
+
/**
|
|
6085
|
+
* Mint an organization-bound Inference API key. The secret is returned once.
|
|
6086
|
+
* Requires `org:admin`.
|
|
6087
|
+
*/
|
|
6088
|
+
async createOrgInferenceApiKey(orgIdOrUuid, data) {
|
|
6089
|
+
return this.fetch(`o/${orgIdOrUuid}/inference-api/keys`, {
|
|
6090
|
+
method: "POST",
|
|
6091
|
+
body: JSON.stringify(data)
|
|
6092
|
+
});
|
|
6093
|
+
}
|
|
6049
6094
|
/** Current Organization billing access and billable subscription. */
|
|
6050
6095
|
async getOrgBillingAccess(orgIdOrUuid) {
|
|
6051
6096
|
return this.fetch(`o/${orgIdOrUuid}/billing-access`);
|
|
@@ -7805,10 +7850,10 @@ var QueriesApi = class extends BaseApiClient {
|
|
|
7805
7850
|
});
|
|
7806
7851
|
}
|
|
7807
7852
|
/** Execute a query (rows / count / aggregate). */
|
|
7808
|
-
async runQuery(wid, query2, mode) {
|
|
7853
|
+
async runQuery(wid, query2, mode, options) {
|
|
7809
7854
|
return this.fetch(`w/${wid}/queries/run`, {
|
|
7810
7855
|
method: "POST",
|
|
7811
|
-
body: JSON.stringify({ query: query2, mode })
|
|
7856
|
+
body: JSON.stringify({ query: query2, mode, sourceFaxId: options?.sourceFaxId })
|
|
7812
7857
|
});
|
|
7813
7858
|
}
|
|
7814
7859
|
};
|
|
@@ -11008,6 +11053,7 @@ var EventRuleObjectType = /* @__PURE__ */ ((EventRuleObjectType2) => {
|
|
|
11008
11053
|
EventRuleObjectType2["CALL"] = "call";
|
|
11009
11054
|
EventRuleObjectType2["VOICEMAIL"] = "voicemail";
|
|
11010
11055
|
EventRuleObjectType2["FAX"] = "fax";
|
|
11056
|
+
EventRuleObjectType2["FOLDER"] = "folder";
|
|
11011
11057
|
return EventRuleObjectType2;
|
|
11012
11058
|
})(EventRuleObjectType || {});
|
|
11013
11059
|
var EventRuleEventType = /* @__PURE__ */ ((EventRuleEventType2) => {
|
|
@@ -11044,11 +11090,16 @@ var EventRuleEventType = /* @__PURE__ */ ((EventRuleEventType2) => {
|
|
|
11044
11090
|
EventRuleEventType2["CALL_SUMMARY"] = "call:summary";
|
|
11045
11091
|
EventRuleEventType2["VOICEMAIL_RECEIVED"] = "voicemail:received";
|
|
11046
11092
|
EventRuleEventType2["FAX_RECEIVED"] = "fax:received";
|
|
11093
|
+
EventRuleEventType2["FILE_CREATED"] = "file:created";
|
|
11094
|
+
EventRuleEventType2["FILE_UPDATED"] = "file:updated";
|
|
11095
|
+
EventRuleEventType2["FILE_MOVED"] = "file:moved";
|
|
11096
|
+
EventRuleEventType2["FILE_DELETED"] = "file:deleted";
|
|
11047
11097
|
return EventRuleEventType2;
|
|
11048
11098
|
})(EventRuleEventType || {});
|
|
11049
11099
|
var EventRuleActionType = /* @__PURE__ */ ((EventRuleActionType2) => {
|
|
11050
11100
|
EventRuleActionType2["MEMBER_NOTIFY_ACTION"] = "member:notify";
|
|
11051
11101
|
EventRuleActionType2["MEMBER_LABEL_ACTION"] = "member:label";
|
|
11102
|
+
EventRuleActionType2["FILE_LABEL_ACTION"] = "file:label";
|
|
11052
11103
|
EventRuleActionType2["MEMBER_UPSERT"] = "member:upsert";
|
|
11053
11104
|
EventRuleActionType2["SWITCH_TASK_ACTION"] = "task:switch";
|
|
11054
11105
|
EventRuleActionType2["ASSISTANT_MESSAGE"] = "assistant:message";
|
|
@@ -13206,14 +13257,12 @@ var TeamsAppsApi = class extends BaseApiClient {
|
|
|
13206
13257
|
);
|
|
13207
13258
|
}
|
|
13208
13259
|
/**
|
|
13209
|
-
*
|
|
13210
|
-
*
|
|
13211
|
-
*
|
|
13260
|
+
* The organization Bot Teams connection that delivers this workspace's
|
|
13261
|
+
* notifications, the connections it may choose, and the caller's own
|
|
13262
|
+
* readiness. Reads only; nothing is sent to Microsoft.
|
|
13212
13263
|
*/
|
|
13213
|
-
async
|
|
13214
|
-
return this.fetch(
|
|
13215
|
-
`w/${wid}/app-connections/teams/apps/${appId}/notification-destinations`
|
|
13216
|
-
);
|
|
13264
|
+
async getTeamsNotificationDelivery(wid) {
|
|
13265
|
+
return this.fetch(`w/${wid}/notification-delivery/teams`);
|
|
13217
13266
|
}
|
|
13218
13267
|
async getTeamsAppAccounts(wid, appId, options = {}) {
|
|
13219
13268
|
const params = new URLSearchParams();
|
|
@@ -14692,6 +14741,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
14692
14741
|
"getPublicProducts",
|
|
14693
14742
|
"getQualification",
|
|
14694
14743
|
"getQualifications",
|
|
14744
|
+
"getRecordingWaveform",
|
|
14695
14745
|
"getResellerWorkspaces",
|
|
14696
14746
|
"getRoutine",
|
|
14697
14747
|
"getRoutineConfigEvents",
|
|
@@ -14739,7 +14789,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
14739
14789
|
"getTeamsApps",
|
|
14740
14790
|
"getTeamsConversations",
|
|
14741
14791
|
"getTeamsInstallations",
|
|
14742
|
-
"
|
|
14792
|
+
"getTeamsNotificationDelivery",
|
|
14743
14793
|
"getTemplateContext",
|
|
14744
14794
|
"getChatTestRun",
|
|
14745
14795
|
"getTestChatRun",
|
|
@@ -15241,6 +15291,7 @@ function bindCallsMethods(target, calls, cel) {
|
|
|
15241
15291
|
target.getPhoneCalls = calls.getPhoneCalls.bind(calls);
|
|
15242
15292
|
target.getPhoneCallByUuid = calls.getPhoneCallByUuid.bind(calls);
|
|
15243
15293
|
target.getMessageTiming = calls.getMessageTiming.bind(calls);
|
|
15294
|
+
target.getRecordingWaveform = calls.getRecordingWaveform.bind(calls);
|
|
15244
15295
|
target.getEdgeCaptureInfo = calls.getEdgeCaptureInfo.bind(calls);
|
|
15245
15296
|
target.getCallRecordingDownloadUrl = calls.getCallRecordingDownloadUrl.bind(calls);
|
|
15246
15297
|
target.getCelContext = cel.getCelContext.bind(cel);
|
|
@@ -15321,6 +15372,7 @@ function bindDataTypesMethods(target, dataTypes) {
|
|
|
15321
15372
|
target.unarchiveDataType = dataTypes.unarchiveDataType.bind(dataTypes);
|
|
15322
15373
|
target.cloneDataType = dataTypes.cloneDataType.bind(dataTypes);
|
|
15323
15374
|
target.getDataRecords = dataTypes.getDataRecords.bind(dataTypes);
|
|
15375
|
+
target.recordCcmBillingExport = dataTypes.recordCcmBillingExport.bind(dataTypes);
|
|
15324
15376
|
target.getWorkspaceValuesRecord = dataTypes.getWorkspaceValuesRecord.bind(dataTypes);
|
|
15325
15377
|
target.listAnonymousFormSubmissions = dataTypes.listAnonymousFormSubmissions.bind(dataTypes);
|
|
15326
15378
|
target.getAnonymousFormSubmission = dataTypes.getAnonymousFormSubmission.bind(dataTypes);
|
|
@@ -16051,7 +16103,7 @@ function bindIntegrationsMethods(target, mondayIntegration, discordBots, slackAp
|
|
|
16051
16103
|
target.getTeamsConversations = teamsApps.getTeamsConversations.bind(teamsApps);
|
|
16052
16104
|
target.getTeamsInstallations = teamsApps.getTeamsInstallations.bind(teamsApps);
|
|
16053
16105
|
target.getTeamsAppAccounts = teamsApps.getTeamsAppAccounts.bind(teamsApps);
|
|
16054
|
-
target.
|
|
16106
|
+
target.getTeamsNotificationDelivery = teamsApps.getTeamsNotificationDelivery.bind(teamsApps);
|
|
16055
16107
|
target.getFhirConnections = fhirConnections.getFhirConnections.bind(fhirConnections);
|
|
16056
16108
|
target.getFhirConnection = fhirConnections.getFhirConnection.bind(fhirConnections);
|
|
16057
16109
|
target.getFhirConnectionByUuid = fhirConnections.getFhirConnectionByUuid.bind(fhirConnections);
|
|
@@ -16651,6 +16703,7 @@ var GravityRailClient = class {
|
|
|
16651
16703
|
getPhoneCalls;
|
|
16652
16704
|
getPhoneCallByUuid;
|
|
16653
16705
|
getMessageTiming;
|
|
16706
|
+
getRecordingWaveform;
|
|
16654
16707
|
getEdgeCaptureInfo;
|
|
16655
16708
|
getCallRecordingDownloadUrl;
|
|
16656
16709
|
getCelContext;
|
|
@@ -16670,6 +16723,7 @@ var GravityRailClient = class {
|
|
|
16670
16723
|
unarchiveDataType;
|
|
16671
16724
|
cloneDataType;
|
|
16672
16725
|
getDataRecords;
|
|
16726
|
+
recordCcmBillingExport;
|
|
16673
16727
|
getWorkspaceValuesRecord;
|
|
16674
16728
|
listAnonymousFormSubmissions;
|
|
16675
16729
|
getAnonymousFormSubmission;
|
|
@@ -17654,7 +17708,7 @@ var GravityRailClient = class {
|
|
|
17654
17708
|
getTeamsConversations;
|
|
17655
17709
|
getTeamsInstallations;
|
|
17656
17710
|
getTeamsAppAccounts;
|
|
17657
|
-
|
|
17711
|
+
getTeamsNotificationDelivery;
|
|
17658
17712
|
// FHIR Connections API
|
|
17659
17713
|
getFhirConnections;
|
|
17660
17714
|
getFhirConnection;
|
|
@@ -19890,4 +19944,4 @@ export {
|
|
|
19890
19944
|
pathDraftFromStorage,
|
|
19891
19945
|
pathDraftToStorage
|
|
19892
19946
|
};
|
|
19893
|
-
//# sourceMappingURL=chunk-
|
|
19947
|
+
//# sourceMappingURL=chunk-FWDDHKTM.js.map
|