keplar-api 0.0.87364633 → 0.0.948089733
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/.openapi-generator/FILES +2 -0
- package/README.md +2 -2
- package/dist/apis/DefaultApi.d.ts +56 -2
- package/dist/apis/DefaultApi.js +234 -2
- package/dist/models/AnalyzeNotebook200ResponseSearchResultsMessagesInner.d.ts +0 -6
- package/dist/models/AnalyzeNotebook200ResponseSearchResultsMessagesInner.js +0 -2
- package/dist/models/OrgData.d.ts +12 -0
- package/dist/models/OrgData.js +4 -0
- package/dist/models/ProjectConversationConfig.d.ts +6 -0
- package/dist/models/ProjectConversationConfig.js +2 -0
- package/dist/models/SearchSharedResponseMessages200ResponseInner.d.ts +0 -6
- package/dist/models/SearchSharedResponseMessages200ResponseInner.js +0 -2
- package/dist/models/VapiAssistantConfig.d.ts +14 -0
- package/dist/models/VapiAssistantConfig.js +6 -0
- package/dist/models/VapiAssistantConfigArtifactPlan.d.ts +45 -0
- package/dist/models/VapiAssistantConfigArtifactPlan.js +58 -0
- package/dist/models/VapiAssistantConfigCompliancePlan.d.ts +38 -0
- package/dist/models/VapiAssistantConfigCompliancePlan.js +51 -0
- package/dist/models/index.d.ts +2 -0
- package/dist/models/index.js +2 -0
- package/package.json +1 -1
- package/src/apis/DefaultApi.ts +220 -2
- package/src/models/AnalyzeNotebook200ResponseSearchResultsMessagesInner.ts +0 -8
- package/src/models/OrgData.ts +16 -0
- package/src/models/ProjectConversationConfig.ts +8 -0
- package/src/models/SearchSharedResponseMessages200ResponseInner.ts +0 -8
- package/src/models/VapiAssistantConfig.ts +30 -0
- package/src/models/VapiAssistantConfigArtifactPlan.ts +83 -0
- package/src/models/VapiAssistantConfigCompliancePlan.ts +73 -0
- package/src/models/index.ts +2 -0
package/.openapi-generator/FILES
CHANGED
|
@@ -338,6 +338,8 @@ src/models/UserSearchResult.ts
|
|
|
338
338
|
src/models/UserWithConfig.ts
|
|
339
339
|
src/models/UserWorkspaceItem.ts
|
|
340
340
|
src/models/VapiAssistantConfig.ts
|
|
341
|
+
src/models/VapiAssistantConfigArtifactPlan.ts
|
|
342
|
+
src/models/VapiAssistantConfigCompliancePlan.ts
|
|
341
343
|
src/models/VapiVoiceId.ts
|
|
342
344
|
src/models/VapiVoiceVapiProvider.ts
|
|
343
345
|
src/models/VerifyEmailAccessForShare200Response.ts
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## keplar-api@0.0.
|
|
1
|
+
## keplar-api@0.0.948089733
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install keplar-api@0.0.
|
|
39
|
+
npm install keplar-api@0.0.948089733 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -475,6 +475,20 @@ export interface JoinParticipantCodeInviteRequest {
|
|
|
475
475
|
export interface LoginOperationRequest {
|
|
476
476
|
loginRequest: LoginRequest;
|
|
477
477
|
}
|
|
478
|
+
export interface RedirectCallRecordingRequest {
|
|
479
|
+
callId: string;
|
|
480
|
+
}
|
|
481
|
+
export interface RedirectCallVideoRecordingRequest {
|
|
482
|
+
callId: string;
|
|
483
|
+
}
|
|
484
|
+
export interface RedirectSharedCallRecordingRequest {
|
|
485
|
+
shareToken: string;
|
|
486
|
+
callId: string;
|
|
487
|
+
}
|
|
488
|
+
export interface RedirectSharedCallVideoRecordingRequest {
|
|
489
|
+
shareToken: string;
|
|
490
|
+
callId: string;
|
|
491
|
+
}
|
|
478
492
|
export interface RemoveUserFromWorkspaceRequest {
|
|
479
493
|
userId: string;
|
|
480
494
|
workspaceId: string;
|
|
@@ -1002,11 +1016,11 @@ export declare class DefaultApi extends runtime.BaseAPI {
|
|
|
1002
1016
|
*/
|
|
1003
1017
|
apiThreadsThreadIdProjectBriefVersionsPost(requestParameters: ApiThreadsThreadIdProjectBriefVersionsPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<ApiThreadsThreadIdProjectBriefVersionsGet200Response>;
|
|
1004
1018
|
/**
|
|
1005
|
-
* Get user
|
|
1019
|
+
* Get user details with additional config
|
|
1006
1020
|
*/
|
|
1007
1021
|
apiUsersIdGetRaw(requestParameters: ApiUsersIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<UserWithConfig>>;
|
|
1008
1022
|
/**
|
|
1009
|
-
* Get user
|
|
1023
|
+
* Get user details with additional config
|
|
1010
1024
|
*/
|
|
1011
1025
|
apiUsersIdGet(requestParameters: ApiUsersIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<UserWithConfig>;
|
|
1012
1026
|
/**
|
|
@@ -1543,6 +1557,46 @@ export declare class DefaultApi extends runtime.BaseAPI {
|
|
|
1543
1557
|
* Logout user
|
|
1544
1558
|
*/
|
|
1545
1559
|
logout(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RequestShareAccess200Response>;
|
|
1560
|
+
/**
|
|
1561
|
+
* Redirects to a signed URL for the call audio recording. Returns 302 redirect on success, 404 if no recording exists.
|
|
1562
|
+
* Redirect to call recording
|
|
1563
|
+
*/
|
|
1564
|
+
redirectCallRecordingRaw(requestParameters: RedirectCallRecordingRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
1565
|
+
/**
|
|
1566
|
+
* Redirects to a signed URL for the call audio recording. Returns 302 redirect on success, 404 if no recording exists.
|
|
1567
|
+
* Redirect to call recording
|
|
1568
|
+
*/
|
|
1569
|
+
redirectCallRecording(requestParameters: RedirectCallRecordingRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
1570
|
+
/**
|
|
1571
|
+
* Redirects to a signed URL for the call video recording. Returns 302 redirect on success, 404 if no video recording exists.
|
|
1572
|
+
* Redirect to call video recording
|
|
1573
|
+
*/
|
|
1574
|
+
redirectCallVideoRecordingRaw(requestParameters: RedirectCallVideoRecordingRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
1575
|
+
/**
|
|
1576
|
+
* Redirects to a signed URL for the call video recording. Returns 302 redirect on success, 404 if no video recording exists.
|
|
1577
|
+
* Redirect to call video recording
|
|
1578
|
+
*/
|
|
1579
|
+
redirectCallVideoRecording(requestParameters: RedirectCallVideoRecordingRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
1580
|
+
/**
|
|
1581
|
+
* Redirects to a signed URL for the call audio recording. Returns 302 redirect on success, 404 if no recording exists.
|
|
1582
|
+
* Redirect to shared call recording
|
|
1583
|
+
*/
|
|
1584
|
+
redirectSharedCallRecordingRaw(requestParameters: RedirectSharedCallRecordingRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
1585
|
+
/**
|
|
1586
|
+
* Redirects to a signed URL for the call audio recording. Returns 302 redirect on success, 404 if no recording exists.
|
|
1587
|
+
* Redirect to shared call recording
|
|
1588
|
+
*/
|
|
1589
|
+
redirectSharedCallRecording(requestParameters: RedirectSharedCallRecordingRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
1590
|
+
/**
|
|
1591
|
+
* Redirects to a signed URL for the call video recording. Returns 302 redirect on success, 404 if no video recording exists.
|
|
1592
|
+
* Redirect to shared call video recording
|
|
1593
|
+
*/
|
|
1594
|
+
redirectSharedCallVideoRecordingRaw(requestParameters: RedirectSharedCallVideoRecordingRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
1595
|
+
/**
|
|
1596
|
+
* Redirects to a signed URL for the call video recording. Returns 302 redirect on success, 404 if no video recording exists.
|
|
1597
|
+
* Redirect to shared call video recording
|
|
1598
|
+
*/
|
|
1599
|
+
redirectSharedCallVideoRecording(requestParameters: RedirectSharedCallVideoRecordingRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
1546
1600
|
/**
|
|
1547
1601
|
* Remove user from a workspace
|
|
1548
1602
|
*/
|
package/dist/apis/DefaultApi.js
CHANGED
|
@@ -2965,7 +2965,7 @@ var DefaultApi = /** @class */ (function (_super) {
|
|
|
2965
2965
|
});
|
|
2966
2966
|
};
|
|
2967
2967
|
/**
|
|
2968
|
-
* Get user
|
|
2968
|
+
* Get user details with additional config
|
|
2969
2969
|
*/
|
|
2970
2970
|
DefaultApi.prototype.apiUsersIdGetRaw = function (requestParameters, initOverrides) {
|
|
2971
2971
|
return __awaiter(this, void 0, void 0, function () {
|
|
@@ -3004,7 +3004,7 @@ var DefaultApi = /** @class */ (function (_super) {
|
|
|
3004
3004
|
});
|
|
3005
3005
|
};
|
|
3006
3006
|
/**
|
|
3007
|
-
* Get user
|
|
3007
|
+
* Get user details with additional config
|
|
3008
3008
|
*/
|
|
3009
3009
|
DefaultApi.prototype.apiUsersIdGet = function (requestParameters, initOverrides) {
|
|
3010
3010
|
return __awaiter(this, void 0, void 0, function () {
|
|
@@ -7045,6 +7045,238 @@ var DefaultApi = /** @class */ (function (_super) {
|
|
|
7045
7045
|
});
|
|
7046
7046
|
});
|
|
7047
7047
|
};
|
|
7048
|
+
/**
|
|
7049
|
+
* Redirects to a signed URL for the call audio recording. Returns 302 redirect on success, 404 if no recording exists.
|
|
7050
|
+
* Redirect to call recording
|
|
7051
|
+
*/
|
|
7052
|
+
DefaultApi.prototype.redirectCallRecordingRaw = function (requestParameters, initOverrides) {
|
|
7053
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
7054
|
+
var queryParameters, headerParameters, token, tokenString, urlPath, response;
|
|
7055
|
+
return __generator(this, function (_a) {
|
|
7056
|
+
switch (_a.label) {
|
|
7057
|
+
case 0:
|
|
7058
|
+
if (requestParameters['callId'] == null) {
|
|
7059
|
+
throw new runtime.RequiredError('callId', 'Required parameter "callId" was null or undefined when calling redirectCallRecording().');
|
|
7060
|
+
}
|
|
7061
|
+
queryParameters = {};
|
|
7062
|
+
headerParameters = {};
|
|
7063
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
|
|
7064
|
+
token = this.configuration.accessToken;
|
|
7065
|
+
return [4 /*yield*/, token("bearerAuth", [])];
|
|
7066
|
+
case 1:
|
|
7067
|
+
tokenString = _a.sent();
|
|
7068
|
+
if (tokenString) {
|
|
7069
|
+
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
7070
|
+
}
|
|
7071
|
+
_a.label = 2;
|
|
7072
|
+
case 2:
|
|
7073
|
+
urlPath = "/api/calls/{callId}/recording";
|
|
7074
|
+
urlPath = urlPath.replace("{".concat("callId", "}"), encodeURIComponent(String(requestParameters['callId'])));
|
|
7075
|
+
return [4 /*yield*/, this.request({
|
|
7076
|
+
path: urlPath,
|
|
7077
|
+
method: 'GET',
|
|
7078
|
+
headers: headerParameters,
|
|
7079
|
+
query: queryParameters,
|
|
7080
|
+
}, initOverrides)];
|
|
7081
|
+
case 3:
|
|
7082
|
+
response = _a.sent();
|
|
7083
|
+
return [2 /*return*/, new runtime.VoidApiResponse(response)];
|
|
7084
|
+
}
|
|
7085
|
+
});
|
|
7086
|
+
});
|
|
7087
|
+
};
|
|
7088
|
+
/**
|
|
7089
|
+
* Redirects to a signed URL for the call audio recording. Returns 302 redirect on success, 404 if no recording exists.
|
|
7090
|
+
* Redirect to call recording
|
|
7091
|
+
*/
|
|
7092
|
+
DefaultApi.prototype.redirectCallRecording = function (requestParameters, initOverrides) {
|
|
7093
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
7094
|
+
return __generator(this, function (_a) {
|
|
7095
|
+
switch (_a.label) {
|
|
7096
|
+
case 0: return [4 /*yield*/, this.redirectCallRecordingRaw(requestParameters, initOverrides)];
|
|
7097
|
+
case 1:
|
|
7098
|
+
_a.sent();
|
|
7099
|
+
return [2 /*return*/];
|
|
7100
|
+
}
|
|
7101
|
+
});
|
|
7102
|
+
});
|
|
7103
|
+
};
|
|
7104
|
+
/**
|
|
7105
|
+
* Redirects to a signed URL for the call video recording. Returns 302 redirect on success, 404 if no video recording exists.
|
|
7106
|
+
* Redirect to call video recording
|
|
7107
|
+
*/
|
|
7108
|
+
DefaultApi.prototype.redirectCallVideoRecordingRaw = function (requestParameters, initOverrides) {
|
|
7109
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
7110
|
+
var queryParameters, headerParameters, token, tokenString, urlPath, response;
|
|
7111
|
+
return __generator(this, function (_a) {
|
|
7112
|
+
switch (_a.label) {
|
|
7113
|
+
case 0:
|
|
7114
|
+
if (requestParameters['callId'] == null) {
|
|
7115
|
+
throw new runtime.RequiredError('callId', 'Required parameter "callId" was null or undefined when calling redirectCallVideoRecording().');
|
|
7116
|
+
}
|
|
7117
|
+
queryParameters = {};
|
|
7118
|
+
headerParameters = {};
|
|
7119
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
|
|
7120
|
+
token = this.configuration.accessToken;
|
|
7121
|
+
return [4 /*yield*/, token("bearerAuth", [])];
|
|
7122
|
+
case 1:
|
|
7123
|
+
tokenString = _a.sent();
|
|
7124
|
+
if (tokenString) {
|
|
7125
|
+
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
7126
|
+
}
|
|
7127
|
+
_a.label = 2;
|
|
7128
|
+
case 2:
|
|
7129
|
+
urlPath = "/api/calls/{callId}/video-recording";
|
|
7130
|
+
urlPath = urlPath.replace("{".concat("callId", "}"), encodeURIComponent(String(requestParameters['callId'])));
|
|
7131
|
+
return [4 /*yield*/, this.request({
|
|
7132
|
+
path: urlPath,
|
|
7133
|
+
method: 'GET',
|
|
7134
|
+
headers: headerParameters,
|
|
7135
|
+
query: queryParameters,
|
|
7136
|
+
}, initOverrides)];
|
|
7137
|
+
case 3:
|
|
7138
|
+
response = _a.sent();
|
|
7139
|
+
return [2 /*return*/, new runtime.VoidApiResponse(response)];
|
|
7140
|
+
}
|
|
7141
|
+
});
|
|
7142
|
+
});
|
|
7143
|
+
};
|
|
7144
|
+
/**
|
|
7145
|
+
* Redirects to a signed URL for the call video recording. Returns 302 redirect on success, 404 if no video recording exists.
|
|
7146
|
+
* Redirect to call video recording
|
|
7147
|
+
*/
|
|
7148
|
+
DefaultApi.prototype.redirectCallVideoRecording = function (requestParameters, initOverrides) {
|
|
7149
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
7150
|
+
return __generator(this, function (_a) {
|
|
7151
|
+
switch (_a.label) {
|
|
7152
|
+
case 0: return [4 /*yield*/, this.redirectCallVideoRecordingRaw(requestParameters, initOverrides)];
|
|
7153
|
+
case 1:
|
|
7154
|
+
_a.sent();
|
|
7155
|
+
return [2 /*return*/];
|
|
7156
|
+
}
|
|
7157
|
+
});
|
|
7158
|
+
});
|
|
7159
|
+
};
|
|
7160
|
+
/**
|
|
7161
|
+
* Redirects to a signed URL for the call audio recording. Returns 302 redirect on success, 404 if no recording exists.
|
|
7162
|
+
* Redirect to shared call recording
|
|
7163
|
+
*/
|
|
7164
|
+
DefaultApi.prototype.redirectSharedCallRecordingRaw = function (requestParameters, initOverrides) {
|
|
7165
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
7166
|
+
var queryParameters, headerParameters, token, tokenString, urlPath, response;
|
|
7167
|
+
return __generator(this, function (_a) {
|
|
7168
|
+
switch (_a.label) {
|
|
7169
|
+
case 0:
|
|
7170
|
+
if (requestParameters['shareToken'] == null) {
|
|
7171
|
+
throw new runtime.RequiredError('shareToken', 'Required parameter "shareToken" was null or undefined when calling redirectSharedCallRecording().');
|
|
7172
|
+
}
|
|
7173
|
+
if (requestParameters['callId'] == null) {
|
|
7174
|
+
throw new runtime.RequiredError('callId', 'Required parameter "callId" was null or undefined when calling redirectSharedCallRecording().');
|
|
7175
|
+
}
|
|
7176
|
+
queryParameters = {};
|
|
7177
|
+
headerParameters = {};
|
|
7178
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
|
|
7179
|
+
token = this.configuration.accessToken;
|
|
7180
|
+
return [4 /*yield*/, token("bearerAuth", [])];
|
|
7181
|
+
case 1:
|
|
7182
|
+
tokenString = _a.sent();
|
|
7183
|
+
if (tokenString) {
|
|
7184
|
+
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
7185
|
+
}
|
|
7186
|
+
_a.label = 2;
|
|
7187
|
+
case 2:
|
|
7188
|
+
urlPath = "/api/share/{shareToken}/calls/{callId}/recording";
|
|
7189
|
+
urlPath = urlPath.replace("{".concat("shareToken", "}"), encodeURIComponent(String(requestParameters['shareToken'])));
|
|
7190
|
+
urlPath = urlPath.replace("{".concat("callId", "}"), encodeURIComponent(String(requestParameters['callId'])));
|
|
7191
|
+
return [4 /*yield*/, this.request({
|
|
7192
|
+
path: urlPath,
|
|
7193
|
+
method: 'GET',
|
|
7194
|
+
headers: headerParameters,
|
|
7195
|
+
query: queryParameters,
|
|
7196
|
+
}, initOverrides)];
|
|
7197
|
+
case 3:
|
|
7198
|
+
response = _a.sent();
|
|
7199
|
+
return [2 /*return*/, new runtime.VoidApiResponse(response)];
|
|
7200
|
+
}
|
|
7201
|
+
});
|
|
7202
|
+
});
|
|
7203
|
+
};
|
|
7204
|
+
/**
|
|
7205
|
+
* Redirects to a signed URL for the call audio recording. Returns 302 redirect on success, 404 if no recording exists.
|
|
7206
|
+
* Redirect to shared call recording
|
|
7207
|
+
*/
|
|
7208
|
+
DefaultApi.prototype.redirectSharedCallRecording = function (requestParameters, initOverrides) {
|
|
7209
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
7210
|
+
return __generator(this, function (_a) {
|
|
7211
|
+
switch (_a.label) {
|
|
7212
|
+
case 0: return [4 /*yield*/, this.redirectSharedCallRecordingRaw(requestParameters, initOverrides)];
|
|
7213
|
+
case 1:
|
|
7214
|
+
_a.sent();
|
|
7215
|
+
return [2 /*return*/];
|
|
7216
|
+
}
|
|
7217
|
+
});
|
|
7218
|
+
});
|
|
7219
|
+
};
|
|
7220
|
+
/**
|
|
7221
|
+
* Redirects to a signed URL for the call video recording. Returns 302 redirect on success, 404 if no video recording exists.
|
|
7222
|
+
* Redirect to shared call video recording
|
|
7223
|
+
*/
|
|
7224
|
+
DefaultApi.prototype.redirectSharedCallVideoRecordingRaw = function (requestParameters, initOverrides) {
|
|
7225
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
7226
|
+
var queryParameters, headerParameters, token, tokenString, urlPath, response;
|
|
7227
|
+
return __generator(this, function (_a) {
|
|
7228
|
+
switch (_a.label) {
|
|
7229
|
+
case 0:
|
|
7230
|
+
if (requestParameters['shareToken'] == null) {
|
|
7231
|
+
throw new runtime.RequiredError('shareToken', 'Required parameter "shareToken" was null or undefined when calling redirectSharedCallVideoRecording().');
|
|
7232
|
+
}
|
|
7233
|
+
if (requestParameters['callId'] == null) {
|
|
7234
|
+
throw new runtime.RequiredError('callId', 'Required parameter "callId" was null or undefined when calling redirectSharedCallVideoRecording().');
|
|
7235
|
+
}
|
|
7236
|
+
queryParameters = {};
|
|
7237
|
+
headerParameters = {};
|
|
7238
|
+
if (!(this.configuration && this.configuration.accessToken)) return [3 /*break*/, 2];
|
|
7239
|
+
token = this.configuration.accessToken;
|
|
7240
|
+
return [4 /*yield*/, token("bearerAuth", [])];
|
|
7241
|
+
case 1:
|
|
7242
|
+
tokenString = _a.sent();
|
|
7243
|
+
if (tokenString) {
|
|
7244
|
+
headerParameters["Authorization"] = "Bearer ".concat(tokenString);
|
|
7245
|
+
}
|
|
7246
|
+
_a.label = 2;
|
|
7247
|
+
case 2:
|
|
7248
|
+
urlPath = "/api/share/{shareToken}/calls/{callId}/video-recording";
|
|
7249
|
+
urlPath = urlPath.replace("{".concat("shareToken", "}"), encodeURIComponent(String(requestParameters['shareToken'])));
|
|
7250
|
+
urlPath = urlPath.replace("{".concat("callId", "}"), encodeURIComponent(String(requestParameters['callId'])));
|
|
7251
|
+
return [4 /*yield*/, this.request({
|
|
7252
|
+
path: urlPath,
|
|
7253
|
+
method: 'GET',
|
|
7254
|
+
headers: headerParameters,
|
|
7255
|
+
query: queryParameters,
|
|
7256
|
+
}, initOverrides)];
|
|
7257
|
+
case 3:
|
|
7258
|
+
response = _a.sent();
|
|
7259
|
+
return [2 /*return*/, new runtime.VoidApiResponse(response)];
|
|
7260
|
+
}
|
|
7261
|
+
});
|
|
7262
|
+
});
|
|
7263
|
+
};
|
|
7264
|
+
/**
|
|
7265
|
+
* Redirects to a signed URL for the call video recording. Returns 302 redirect on success, 404 if no video recording exists.
|
|
7266
|
+
* Redirect to shared call video recording
|
|
7267
|
+
*/
|
|
7268
|
+
DefaultApi.prototype.redirectSharedCallVideoRecording = function (requestParameters, initOverrides) {
|
|
7269
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
7270
|
+
return __generator(this, function (_a) {
|
|
7271
|
+
switch (_a.label) {
|
|
7272
|
+
case 0: return [4 /*yield*/, this.redirectSharedCallVideoRecordingRaw(requestParameters, initOverrides)];
|
|
7273
|
+
case 1:
|
|
7274
|
+
_a.sent();
|
|
7275
|
+
return [2 /*return*/];
|
|
7276
|
+
}
|
|
7277
|
+
});
|
|
7278
|
+
});
|
|
7279
|
+
};
|
|
7048
7280
|
/**
|
|
7049
7281
|
* Remove user from a workspace
|
|
7050
7282
|
*/
|
|
@@ -28,12 +28,6 @@ export interface AnalyzeNotebook200ResponseSearchResultsMessagesInner {
|
|
|
28
28
|
* @memberof AnalyzeNotebook200ResponseSearchResultsMessagesInner
|
|
29
29
|
*/
|
|
30
30
|
callId: string;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {string}
|
|
34
|
-
* @memberof AnalyzeNotebook200ResponseSearchResultsMessagesInner
|
|
35
|
-
*/
|
|
36
|
-
recordingUrl?: string;
|
|
37
31
|
/**
|
|
38
32
|
*
|
|
39
33
|
* @type {number}
|
|
@@ -47,7 +47,6 @@ function AnalyzeNotebook200ResponseSearchResultsMessagesInnerFromJSONTyped(json,
|
|
|
47
47
|
return {
|
|
48
48
|
'projectId': json['projectId'],
|
|
49
49
|
'callId': json['callId'],
|
|
50
|
-
'recordingUrl': json['recordingUrl'] == null ? undefined : json['recordingUrl'],
|
|
51
50
|
'messageIndex': json['messageIndex'],
|
|
52
51
|
'message': json['message'],
|
|
53
52
|
'score': json['score'],
|
|
@@ -66,7 +65,6 @@ function AnalyzeNotebook200ResponseSearchResultsMessagesInnerToJSONTyped(value,
|
|
|
66
65
|
return {
|
|
67
66
|
'projectId': value['projectId'],
|
|
68
67
|
'callId': value['callId'],
|
|
69
|
-
'recordingUrl': value['recordingUrl'],
|
|
70
68
|
'messageIndex': value['messageIndex'],
|
|
71
69
|
'message': value['message'],
|
|
72
70
|
'score': value['score'],
|
package/dist/models/OrgData.d.ts
CHANGED
|
@@ -21,6 +21,18 @@ export interface OrgData {
|
|
|
21
21
|
* @memberof OrgData
|
|
22
22
|
*/
|
|
23
23
|
is2FAEnabled?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {boolean}
|
|
27
|
+
* @memberof OrgData
|
|
28
|
+
*/
|
|
29
|
+
sanitizePii?: boolean;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof OrgData
|
|
34
|
+
*/
|
|
35
|
+
hipaaEnabled?: boolean;
|
|
24
36
|
}
|
|
25
37
|
/**
|
|
26
38
|
* Check if a given object implements the OrgData interface.
|
package/dist/models/OrgData.js
CHANGED
|
@@ -33,6 +33,8 @@ function OrgDataFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
33
33
|
}
|
|
34
34
|
return {
|
|
35
35
|
'is2FAEnabled': json['is2FAEnabled'] == null ? undefined : json['is2FAEnabled'],
|
|
36
|
+
'sanitizePii': json['sanitizePii'] == null ? undefined : json['sanitizePii'],
|
|
37
|
+
'hipaaEnabled': json['hipaaEnabled'] == null ? undefined : json['hipaaEnabled'],
|
|
36
38
|
};
|
|
37
39
|
}
|
|
38
40
|
function OrgDataToJSON(json) {
|
|
@@ -45,5 +47,7 @@ function OrgDataToJSONTyped(value, ignoreDiscriminator) {
|
|
|
45
47
|
}
|
|
46
48
|
return {
|
|
47
49
|
'is2FAEnabled': value['is2FAEnabled'],
|
|
50
|
+
'sanitizePii': value['sanitizePii'],
|
|
51
|
+
'hipaaEnabled': value['hipaaEnabled'],
|
|
48
52
|
};
|
|
49
53
|
}
|
|
@@ -47,6 +47,12 @@ export interface ProjectConversationConfig {
|
|
|
47
47
|
* @memberof ProjectConversationConfig
|
|
48
48
|
*/
|
|
49
49
|
language?: SupportedLanguage;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
* @type {boolean}
|
|
53
|
+
* @memberof ProjectConversationConfig
|
|
54
|
+
*/
|
|
55
|
+
videoRecordingEnabled?: boolean;
|
|
50
56
|
}
|
|
51
57
|
/**
|
|
52
58
|
* Check if a given object implements the ProjectConversationConfig interface.
|
|
@@ -47,6 +47,7 @@ function ProjectConversationConfigFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
47
47
|
'maxDurationSeconds': json['maxDurationSeconds'],
|
|
48
48
|
'voice': (0, VapiVoiceVapiProvider_1.VapiVoiceVapiProviderFromJSON)(json['voice']),
|
|
49
49
|
'language': json['language'] == null ? undefined : (0, SupportedLanguage_1.SupportedLanguageFromJSON)(json['language']),
|
|
50
|
+
'videoRecordingEnabled': json['videoRecordingEnabled'] == null ? undefined : json['videoRecordingEnabled'],
|
|
50
51
|
};
|
|
51
52
|
}
|
|
52
53
|
function ProjectConversationConfigToJSON(json) {
|
|
@@ -63,5 +64,6 @@ function ProjectConversationConfigToJSONTyped(value, ignoreDiscriminator) {
|
|
|
63
64
|
'maxDurationSeconds': value['maxDurationSeconds'],
|
|
64
65
|
'voice': (0, VapiVoiceVapiProvider_1.VapiVoiceVapiProviderToJSON)(value['voice']),
|
|
65
66
|
'language': (0, SupportedLanguage_1.SupportedLanguageToJSON)(value['language']),
|
|
67
|
+
'videoRecordingEnabled': value['videoRecordingEnabled'],
|
|
66
68
|
};
|
|
67
69
|
}
|
|
@@ -57,12 +57,6 @@ export interface SearchSharedResponseMessages200ResponseInner {
|
|
|
57
57
|
* @memberof SearchSharedResponseMessages200ResponseInner
|
|
58
58
|
*/
|
|
59
59
|
role: string;
|
|
60
|
-
/**
|
|
61
|
-
*
|
|
62
|
-
* @type {string}
|
|
63
|
-
* @memberof SearchSharedResponseMessages200ResponseInner
|
|
64
|
-
*/
|
|
65
|
-
recordingUrl?: string;
|
|
66
60
|
}
|
|
67
61
|
/**
|
|
68
62
|
* Check if a given object implements the SearchSharedResponseMessages200ResponseInner interface.
|
|
@@ -53,7 +53,6 @@ function SearchSharedResponseMessages200ResponseInnerFromJSONTyped(json, ignoreD
|
|
|
53
53
|
'secondsFromStart': json['secondsFromStart'],
|
|
54
54
|
'message': json['message'],
|
|
55
55
|
'role': json['role'],
|
|
56
|
-
'recordingUrl': json['recordingUrl'] == null ? undefined : json['recordingUrl'],
|
|
57
56
|
};
|
|
58
57
|
}
|
|
59
58
|
function SearchSharedResponseMessages200ResponseInnerToJSON(json) {
|
|
@@ -72,6 +71,5 @@ function SearchSharedResponseMessages200ResponseInnerToJSONTyped(value, ignoreDi
|
|
|
72
71
|
'secondsFromStart': value['secondsFromStart'],
|
|
73
72
|
'message': value['message'],
|
|
74
73
|
'role': value['role'],
|
|
75
|
-
'recordingUrl': value['recordingUrl'],
|
|
76
74
|
};
|
|
77
75
|
}
|
|
@@ -9,6 +9,8 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { VapiAssistantConfigArtifactPlan } from './VapiAssistantConfigArtifactPlan';
|
|
13
|
+
import type { VapiAssistantConfigCompliancePlan } from './VapiAssistantConfigCompliancePlan';
|
|
12
14
|
import type { VapiVoiceVapiProvider } from './VapiVoiceVapiProvider';
|
|
13
15
|
import type { SupportedLanguage } from './SupportedLanguage';
|
|
14
16
|
import type { ChatCompletionTool } from './ChatCompletionTool';
|
|
@@ -67,6 +69,18 @@ export interface VapiAssistantConfig {
|
|
|
67
69
|
* @memberof VapiAssistantConfig
|
|
68
70
|
*/
|
|
69
71
|
language?: SupportedLanguage;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {VapiAssistantConfigArtifactPlan}
|
|
75
|
+
* @memberof VapiAssistantConfig
|
|
76
|
+
*/
|
|
77
|
+
artifactPlan?: VapiAssistantConfigArtifactPlan;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {VapiAssistantConfigCompliancePlan}
|
|
81
|
+
* @memberof VapiAssistantConfig
|
|
82
|
+
*/
|
|
83
|
+
compliancePlan?: VapiAssistantConfigCompliancePlan;
|
|
70
84
|
}
|
|
71
85
|
/**
|
|
72
86
|
* Check if a given object implements the VapiAssistantConfig interface.
|
|
@@ -18,6 +18,8 @@ exports.VapiAssistantConfigFromJSON = VapiAssistantConfigFromJSON;
|
|
|
18
18
|
exports.VapiAssistantConfigFromJSONTyped = VapiAssistantConfigFromJSONTyped;
|
|
19
19
|
exports.VapiAssistantConfigToJSON = VapiAssistantConfigToJSON;
|
|
20
20
|
exports.VapiAssistantConfigToJSONTyped = VapiAssistantConfigToJSONTyped;
|
|
21
|
+
var VapiAssistantConfigArtifactPlan_1 = require("./VapiAssistantConfigArtifactPlan");
|
|
22
|
+
var VapiAssistantConfigCompliancePlan_1 = require("./VapiAssistantConfigCompliancePlan");
|
|
21
23
|
var VapiVoiceVapiProvider_1 = require("./VapiVoiceVapiProvider");
|
|
22
24
|
var SupportedLanguage_1 = require("./SupportedLanguage");
|
|
23
25
|
var ChatCompletionTool_1 = require("./ChatCompletionTool");
|
|
@@ -56,6 +58,8 @@ function VapiAssistantConfigFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
56
58
|
'voice': (0, VapiVoiceVapiProvider_1.VapiVoiceVapiProviderFromJSON)(json['voice']),
|
|
57
59
|
'tools': json['tools'] == null ? undefined : (json['tools'].map(ChatCompletionTool_1.ChatCompletionToolFromJSON)),
|
|
58
60
|
'language': json['language'] == null ? undefined : (0, SupportedLanguage_1.SupportedLanguageFromJSON)(json['language']),
|
|
61
|
+
'artifactPlan': json['artifactPlan'] == null ? undefined : (0, VapiAssistantConfigArtifactPlan_1.VapiAssistantConfigArtifactPlanFromJSON)(json['artifactPlan']),
|
|
62
|
+
'compliancePlan': json['compliancePlan'] == null ? undefined : (0, VapiAssistantConfigCompliancePlan_1.VapiAssistantConfigCompliancePlanFromJSON)(json['compliancePlan']),
|
|
59
63
|
};
|
|
60
64
|
}
|
|
61
65
|
function VapiAssistantConfigToJSON(json) {
|
|
@@ -75,5 +79,7 @@ function VapiAssistantConfigToJSONTyped(value, ignoreDiscriminator) {
|
|
|
75
79
|
'voice': (0, VapiVoiceVapiProvider_1.VapiVoiceVapiProviderToJSON)(value['voice']),
|
|
76
80
|
'tools': value['tools'] == null ? undefined : (value['tools'].map(ChatCompletionTool_1.ChatCompletionToolToJSON)),
|
|
77
81
|
'language': (0, SupportedLanguage_1.SupportedLanguageToJSON)(value['language']),
|
|
82
|
+
'artifactPlan': (0, VapiAssistantConfigArtifactPlan_1.VapiAssistantConfigArtifactPlanToJSON)(value['artifactPlan']),
|
|
83
|
+
'compliancePlan': (0, VapiAssistantConfigCompliancePlan_1.VapiAssistantConfigCompliancePlanToJSON)(value['compliancePlan']),
|
|
78
84
|
};
|
|
79
85
|
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Fastify Template API
|
|
3
|
+
* API documentation using Swagger
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface VapiAssistantConfigArtifactPlan
|
|
16
|
+
*/
|
|
17
|
+
export interface VapiAssistantConfigArtifactPlan {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof VapiAssistantConfigArtifactPlan
|
|
22
|
+
*/
|
|
23
|
+
recordingFormat?: VapiAssistantConfigArtifactPlanRecordingFormatEnum;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {boolean}
|
|
27
|
+
* @memberof VapiAssistantConfigArtifactPlan
|
|
28
|
+
*/
|
|
29
|
+
videoRecordingEnabled?: boolean;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* @export
|
|
33
|
+
*/
|
|
34
|
+
export declare const VapiAssistantConfigArtifactPlanRecordingFormatEnum: {
|
|
35
|
+
readonly Mp3: "mp3";
|
|
36
|
+
};
|
|
37
|
+
export type VapiAssistantConfigArtifactPlanRecordingFormatEnum = typeof VapiAssistantConfigArtifactPlanRecordingFormatEnum[keyof typeof VapiAssistantConfigArtifactPlanRecordingFormatEnum];
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the VapiAssistantConfigArtifactPlan interface.
|
|
40
|
+
*/
|
|
41
|
+
export declare function instanceOfVapiAssistantConfigArtifactPlan(value: object): value is VapiAssistantConfigArtifactPlan;
|
|
42
|
+
export declare function VapiAssistantConfigArtifactPlanFromJSON(json: any): VapiAssistantConfigArtifactPlan;
|
|
43
|
+
export declare function VapiAssistantConfigArtifactPlanFromJSONTyped(json: any, ignoreDiscriminator: boolean): VapiAssistantConfigArtifactPlan;
|
|
44
|
+
export declare function VapiAssistantConfigArtifactPlanToJSON(json: any): VapiAssistantConfigArtifactPlan;
|
|
45
|
+
export declare function VapiAssistantConfigArtifactPlanToJSONTyped(value?: VapiAssistantConfigArtifactPlan | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Fastify Template API
|
|
6
|
+
* API documentation using Swagger
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0.0
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.VapiAssistantConfigArtifactPlanRecordingFormatEnum = void 0;
|
|
17
|
+
exports.instanceOfVapiAssistantConfigArtifactPlan = instanceOfVapiAssistantConfigArtifactPlan;
|
|
18
|
+
exports.VapiAssistantConfigArtifactPlanFromJSON = VapiAssistantConfigArtifactPlanFromJSON;
|
|
19
|
+
exports.VapiAssistantConfigArtifactPlanFromJSONTyped = VapiAssistantConfigArtifactPlanFromJSONTyped;
|
|
20
|
+
exports.VapiAssistantConfigArtifactPlanToJSON = VapiAssistantConfigArtifactPlanToJSON;
|
|
21
|
+
exports.VapiAssistantConfigArtifactPlanToJSONTyped = VapiAssistantConfigArtifactPlanToJSONTyped;
|
|
22
|
+
/**
|
|
23
|
+
* @export
|
|
24
|
+
*/
|
|
25
|
+
exports.VapiAssistantConfigArtifactPlanRecordingFormatEnum = {
|
|
26
|
+
Mp3: 'mp3'
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Check if a given object implements the VapiAssistantConfigArtifactPlan interface.
|
|
30
|
+
*/
|
|
31
|
+
function instanceOfVapiAssistantConfigArtifactPlan(value) {
|
|
32
|
+
return true;
|
|
33
|
+
}
|
|
34
|
+
function VapiAssistantConfigArtifactPlanFromJSON(json) {
|
|
35
|
+
return VapiAssistantConfigArtifactPlanFromJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
function VapiAssistantConfigArtifactPlanFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
+
if (json == null) {
|
|
39
|
+
return json;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'recordingFormat': json['recordingFormat'] == null ? undefined : json['recordingFormat'],
|
|
43
|
+
'videoRecordingEnabled': json['videoRecordingEnabled'] == null ? undefined : json['videoRecordingEnabled'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
function VapiAssistantConfigArtifactPlanToJSON(json) {
|
|
47
|
+
return VapiAssistantConfigArtifactPlanToJSONTyped(json, false);
|
|
48
|
+
}
|
|
49
|
+
function VapiAssistantConfigArtifactPlanToJSONTyped(value, ignoreDiscriminator) {
|
|
50
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
51
|
+
if (value == null) {
|
|
52
|
+
return value;
|
|
53
|
+
}
|
|
54
|
+
return {
|
|
55
|
+
'recordingFormat': value['recordingFormat'],
|
|
56
|
+
'videoRecordingEnabled': value['videoRecordingEnabled'],
|
|
57
|
+
};
|
|
58
|
+
}
|