@gravity-rail/sdk 7.0.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-DVHim0Te.d.ts → agent_standing_job-CnfyOUHF.d.ts} +20 -263
- package/dist/{agent_standing_job-8aO5bEFa.d.cts → agent_standing_job-DMtlKqoo.d.cts} +20 -263
- package/dist/{chat-interaction-B_d8hxyU.d.cts → chat-interaction-DTbOs4jH.d.ts} +375 -26
- package/dist/{chat-interaction-D5I0hKyc.d.ts → chat-interaction-KOe9pGEM.d.cts} +375 -26
- package/dist/{chunk-M77YVSBD.js → chunk-FWDDHKTM.js} +20 -4
- package/dist/chunk-FWDDHKTM.js.map +1 -0
- package/dist/{chunk-T26HRHRS.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 +20 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/dist/internal.cjs +42 -3
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.d.cts +362 -175
- package/dist/internal.d.ts +362 -175
- package/dist/internal.js +24 -2
- package/dist/internal.js.map +1 -1
- package/dist/{member-import-Dy-kcTfi.d.cts → member-import-4VSE3yYo.d.cts} +1 -1
- package/dist/{member-import-BFicp3ce.d.ts → member-import-BQDFoSyf.d.ts} +1 -1
- package/dist/schemas.cjs.map +1 -1
- package/dist/schemas.d.cts +18 -18
- package/dist/schemas.d.ts +18 -18
- package/dist/schemas.js +1 -1
- package/dist/{tasks-DW2dTbAJ.d.ts → tasks-2LhXIwL8.d.ts} +16 -8
- package/dist/{tasks-DHvGDkhw.d.cts → tasks-BTURuIlD.d.cts} +16 -8
- package/package.json +1 -1
- package/dist/chunk-M77YVSBD.js.map +0 -1
- package/dist/chunk-T26HRHRS.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
|
|
@@ -6069,7 +6082,7 @@ var OrgApi = class extends BaseApiClient {
|
|
|
6069
6082
|
});
|
|
6070
6083
|
}
|
|
6071
6084
|
/**
|
|
6072
|
-
* Mint
|
|
6085
|
+
* Mint an organization-bound Inference API key. The secret is returned once.
|
|
6073
6086
|
* Requires `org:admin`.
|
|
6074
6087
|
*/
|
|
6075
6088
|
async createOrgInferenceApiKey(orgIdOrUuid, data) {
|
|
@@ -7837,10 +7850,10 @@ var QueriesApi = class extends BaseApiClient {
|
|
|
7837
7850
|
});
|
|
7838
7851
|
}
|
|
7839
7852
|
/** Execute a query (rows / count / aggregate). */
|
|
7840
|
-
async runQuery(wid, query2, mode) {
|
|
7853
|
+
async runQuery(wid, query2, mode, options) {
|
|
7841
7854
|
return this.fetch(`w/${wid}/queries/run`, {
|
|
7842
7855
|
method: "POST",
|
|
7843
|
-
body: JSON.stringify({ query: query2, mode })
|
|
7856
|
+
body: JSON.stringify({ query: query2, mode, sourceFaxId: options?.sourceFaxId })
|
|
7844
7857
|
});
|
|
7845
7858
|
}
|
|
7846
7859
|
};
|
|
@@ -14728,6 +14741,7 @@ var WORKSPACE_METHOD_NAMES = [
|
|
|
14728
14741
|
"getPublicProducts",
|
|
14729
14742
|
"getQualification",
|
|
14730
14743
|
"getQualifications",
|
|
14744
|
+
"getRecordingWaveform",
|
|
14731
14745
|
"getResellerWorkspaces",
|
|
14732
14746
|
"getRoutine",
|
|
14733
14747
|
"getRoutineConfigEvents",
|
|
@@ -15277,6 +15291,7 @@ function bindCallsMethods(target, calls, cel) {
|
|
|
15277
15291
|
target.getPhoneCalls = calls.getPhoneCalls.bind(calls);
|
|
15278
15292
|
target.getPhoneCallByUuid = calls.getPhoneCallByUuid.bind(calls);
|
|
15279
15293
|
target.getMessageTiming = calls.getMessageTiming.bind(calls);
|
|
15294
|
+
target.getRecordingWaveform = calls.getRecordingWaveform.bind(calls);
|
|
15280
15295
|
target.getEdgeCaptureInfo = calls.getEdgeCaptureInfo.bind(calls);
|
|
15281
15296
|
target.getCallRecordingDownloadUrl = calls.getCallRecordingDownloadUrl.bind(calls);
|
|
15282
15297
|
target.getCelContext = cel.getCelContext.bind(cel);
|
|
@@ -16688,6 +16703,7 @@ var GravityRailClient = class {
|
|
|
16688
16703
|
getPhoneCalls;
|
|
16689
16704
|
getPhoneCallByUuid;
|
|
16690
16705
|
getMessageTiming;
|
|
16706
|
+
getRecordingWaveform;
|
|
16691
16707
|
getEdgeCaptureInfo;
|
|
16692
16708
|
getCallRecordingDownloadUrl;
|
|
16693
16709
|
getCelContext;
|
|
@@ -19928,4 +19944,4 @@ export {
|
|
|
19928
19944
|
pathDraftFromStorage,
|
|
19929
19945
|
pathDraftToStorage
|
|
19930
19946
|
};
|
|
19931
|
-
//# sourceMappingURL=chunk-
|
|
19947
|
+
//# sourceMappingURL=chunk-FWDDHKTM.js.map
|