@l7mp/tivadar-ai-api-sdk 0.1.6 → 0.1.7
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/api-client.d.ts +1 -1
- package/dist/api-client.js +1 -1
- package/dist/apis/RecordingsApi.d.ts +6 -6
- package/dist/apis/RecordingsApi.js +10 -10
- package/dist/esm/api-client.d.ts +1 -1
- package/dist/esm/api-client.js +1 -1
- package/dist/esm/apis/RecordingsApi.d.ts +6 -6
- package/dist/esm/apis/RecordingsApi.js +10 -10
- package/package.json +1 -1
- package/src/api-client.ts +2 -2
- package/src/apis/CallsApi.ts +2 -2
- package/src/apis/RecordingsApi.ts +13 -13
- package/src/models/Call.ts +10 -10
- package/src/models/CallCreate.ts +8 -8
- package/src/models/CallUpdate.ts +8 -8
package/dist/api-client.d.ts
CHANGED
|
@@ -71,7 +71,7 @@ export declare class Api {
|
|
|
71
71
|
create: (organizationId: string, invitationCreate: InvitationCreate, options?: RequestInit) => ReturnType<InvitationsApi["organizationsOrganizationIdInvitationsPost"]>;
|
|
72
72
|
};
|
|
73
73
|
readonly recordings: {
|
|
74
|
-
get: (organizationId: string,
|
|
74
|
+
get: (organizationId: string, callId: string, options?: RequestInit) => ReturnType<RecordingsApi["organizationsOrganizationIdRecordingsCallIdGet"]>;
|
|
75
75
|
};
|
|
76
76
|
readonly members: {
|
|
77
77
|
list: (organizationId: string, options?: RequestInit) => ReturnType<MembersApi["organizationsOrganizationIdMembersGet"]>;
|
package/dist/api-client.js
CHANGED
|
@@ -115,7 +115,7 @@ class Api {
|
|
|
115
115
|
create: (organizationId, invitationCreate, options) => this.invitationsApi.organizationsOrganizationIdInvitationsPost({ organizationId, invitationCreate }, options),
|
|
116
116
|
};
|
|
117
117
|
this.recordings = {
|
|
118
|
-
get: (organizationId,
|
|
118
|
+
get: (organizationId, callId, options) => this.recordingsApi.organizationsOrganizationIdRecordingsCallIdGet({ organizationId, callId }, options),
|
|
119
119
|
};
|
|
120
120
|
this.members = {
|
|
121
121
|
list: (organizationId, options) => this.membersApi.organizationsOrganizationIdMembersGet({ organizationId }, options),
|
|
@@ -11,20 +11,20 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
13
|
import type { RecordingSignedUrl } from '../models/index';
|
|
14
|
-
export interface
|
|
14
|
+
export interface OrganizationsOrganizationIdRecordingsCallIdGetRequest {
|
|
15
15
|
organizationId: string;
|
|
16
|
-
|
|
16
|
+
callId: string;
|
|
17
17
|
}
|
|
18
18
|
/**
|
|
19
19
|
*
|
|
20
20
|
*/
|
|
21
21
|
export declare class RecordingsApi extends runtime.BaseAPI {
|
|
22
22
|
/**
|
|
23
|
-
* Get a signed URL for a
|
|
23
|
+
* Get a signed URL for a call recording
|
|
24
24
|
*/
|
|
25
|
-
|
|
25
|
+
organizationsOrganizationIdRecordingsCallIdGetRaw(requestParameters: OrganizationsOrganizationIdRecordingsCallIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RecordingSignedUrl>>;
|
|
26
26
|
/**
|
|
27
|
-
* Get a signed URL for a
|
|
27
|
+
* Get a signed URL for a call recording
|
|
28
28
|
*/
|
|
29
|
-
|
|
29
|
+
organizationsOrganizationIdRecordingsCallIdGet(requestParameters: OrganizationsOrganizationIdRecordingsCallIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RecordingSignedUrl>;
|
|
30
30
|
}
|
|
@@ -30,15 +30,15 @@ const index_1 = require("../models/index");
|
|
|
30
30
|
*/
|
|
31
31
|
class RecordingsApi extends runtime.BaseAPI {
|
|
32
32
|
/**
|
|
33
|
-
* Get a signed URL for a
|
|
33
|
+
* Get a signed URL for a call recording
|
|
34
34
|
*/
|
|
35
|
-
|
|
35
|
+
organizationsOrganizationIdRecordingsCallIdGetRaw(requestParameters, initOverrides) {
|
|
36
36
|
return __awaiter(this, void 0, void 0, function* () {
|
|
37
37
|
if (requestParameters['organizationId'] == null) {
|
|
38
|
-
throw new runtime.RequiredError('organizationId', 'Required parameter "organizationId" was null or undefined when calling
|
|
38
|
+
throw new runtime.RequiredError('organizationId', 'Required parameter "organizationId" was null or undefined when calling organizationsOrganizationIdRecordingsCallIdGet().');
|
|
39
39
|
}
|
|
40
|
-
if (requestParameters['
|
|
41
|
-
throw new runtime.RequiredError('
|
|
40
|
+
if (requestParameters['callId'] == null) {
|
|
41
|
+
throw new runtime.RequiredError('callId', 'Required parameter "callId" was null or undefined when calling organizationsOrganizationIdRecordingsCallIdGet().');
|
|
42
42
|
}
|
|
43
43
|
const queryParameters = {};
|
|
44
44
|
const headerParameters = {};
|
|
@@ -49,9 +49,9 @@ class RecordingsApi extends runtime.BaseAPI {
|
|
|
49
49
|
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
|
-
let urlPath = `/organizations/{organizationId}/recordings/{
|
|
52
|
+
let urlPath = `/organizations/{organizationId}/recordings/{callId}`;
|
|
53
53
|
urlPath = urlPath.replace(`{${"organizationId"}}`, encodeURIComponent(String(requestParameters['organizationId'])));
|
|
54
|
-
urlPath = urlPath.replace(`{${"
|
|
54
|
+
urlPath = urlPath.replace(`{${"callId"}}`, encodeURIComponent(String(requestParameters['callId'])));
|
|
55
55
|
const response = yield this.request({
|
|
56
56
|
path: urlPath,
|
|
57
57
|
method: 'GET',
|
|
@@ -62,11 +62,11 @@ class RecordingsApi extends runtime.BaseAPI {
|
|
|
62
62
|
});
|
|
63
63
|
}
|
|
64
64
|
/**
|
|
65
|
-
* Get a signed URL for a
|
|
65
|
+
* Get a signed URL for a call recording
|
|
66
66
|
*/
|
|
67
|
-
|
|
67
|
+
organizationsOrganizationIdRecordingsCallIdGet(requestParameters, initOverrides) {
|
|
68
68
|
return __awaiter(this, void 0, void 0, function* () {
|
|
69
|
-
const response = yield this.
|
|
69
|
+
const response = yield this.organizationsOrganizationIdRecordingsCallIdGetRaw(requestParameters, initOverrides);
|
|
70
70
|
return yield response.value();
|
|
71
71
|
});
|
|
72
72
|
}
|
package/dist/esm/api-client.d.ts
CHANGED
|
@@ -71,7 +71,7 @@ export declare class Api {
|
|
|
71
71
|
create: (organizationId: string, invitationCreate: InvitationCreate, options?: RequestInit) => ReturnType<InvitationsApi["organizationsOrganizationIdInvitationsPost"]>;
|
|
72
72
|
};
|
|
73
73
|
readonly recordings: {
|
|
74
|
-
get: (organizationId: string,
|
|
74
|
+
get: (organizationId: string, callId: string, options?: RequestInit) => ReturnType<RecordingsApi["organizationsOrganizationIdRecordingsCallIdGet"]>;
|
|
75
75
|
};
|
|
76
76
|
readonly members: {
|
|
77
77
|
list: (organizationId: string, options?: RequestInit) => ReturnType<MembersApi["organizationsOrganizationIdMembersGet"]>;
|
package/dist/esm/api-client.js
CHANGED
|
@@ -112,7 +112,7 @@ export class Api {
|
|
|
112
112
|
create: (organizationId, invitationCreate, options) => this.invitationsApi.organizationsOrganizationIdInvitationsPost({ organizationId, invitationCreate }, options),
|
|
113
113
|
};
|
|
114
114
|
this.recordings = {
|
|
115
|
-
get: (organizationId,
|
|
115
|
+
get: (organizationId, callId, options) => this.recordingsApi.organizationsOrganizationIdRecordingsCallIdGet({ organizationId, callId }, options),
|
|
116
116
|
};
|
|
117
117
|
this.members = {
|
|
118
118
|
list: (organizationId, options) => this.membersApi.organizationsOrganizationIdMembersGet({ organizationId }, options),
|
|
@@ -11,20 +11,20 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
13
|
import type { RecordingSignedUrl } from '../models/index';
|
|
14
|
-
export interface
|
|
14
|
+
export interface OrganizationsOrganizationIdRecordingsCallIdGetRequest {
|
|
15
15
|
organizationId: string;
|
|
16
|
-
|
|
16
|
+
callId: string;
|
|
17
17
|
}
|
|
18
18
|
/**
|
|
19
19
|
*
|
|
20
20
|
*/
|
|
21
21
|
export declare class RecordingsApi extends runtime.BaseAPI {
|
|
22
22
|
/**
|
|
23
|
-
* Get a signed URL for a
|
|
23
|
+
* Get a signed URL for a call recording
|
|
24
24
|
*/
|
|
25
|
-
|
|
25
|
+
organizationsOrganizationIdRecordingsCallIdGetRaw(requestParameters: OrganizationsOrganizationIdRecordingsCallIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RecordingSignedUrl>>;
|
|
26
26
|
/**
|
|
27
|
-
* Get a signed URL for a
|
|
27
|
+
* Get a signed URL for a call recording
|
|
28
28
|
*/
|
|
29
|
-
|
|
29
|
+
organizationsOrganizationIdRecordingsCallIdGet(requestParameters: OrganizationsOrganizationIdRecordingsCallIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RecordingSignedUrl>;
|
|
30
30
|
}
|
|
@@ -27,15 +27,15 @@ import { RecordingSignedUrlFromJSON, } from '../models/index';
|
|
|
27
27
|
*/
|
|
28
28
|
export class RecordingsApi extends runtime.BaseAPI {
|
|
29
29
|
/**
|
|
30
|
-
* Get a signed URL for a
|
|
30
|
+
* Get a signed URL for a call recording
|
|
31
31
|
*/
|
|
32
|
-
|
|
32
|
+
organizationsOrganizationIdRecordingsCallIdGetRaw(requestParameters, initOverrides) {
|
|
33
33
|
return __awaiter(this, void 0, void 0, function* () {
|
|
34
34
|
if (requestParameters['organizationId'] == null) {
|
|
35
|
-
throw new runtime.RequiredError('organizationId', 'Required parameter "organizationId" was null or undefined when calling
|
|
35
|
+
throw new runtime.RequiredError('organizationId', 'Required parameter "organizationId" was null or undefined when calling organizationsOrganizationIdRecordingsCallIdGet().');
|
|
36
36
|
}
|
|
37
|
-
if (requestParameters['
|
|
38
|
-
throw new runtime.RequiredError('
|
|
37
|
+
if (requestParameters['callId'] == null) {
|
|
38
|
+
throw new runtime.RequiredError('callId', 'Required parameter "callId" was null or undefined when calling organizationsOrganizationIdRecordingsCallIdGet().');
|
|
39
39
|
}
|
|
40
40
|
const queryParameters = {};
|
|
41
41
|
const headerParameters = {};
|
|
@@ -46,9 +46,9 @@ export class RecordingsApi extends runtime.BaseAPI {
|
|
|
46
46
|
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
|
-
let urlPath = `/organizations/{organizationId}/recordings/{
|
|
49
|
+
let urlPath = `/organizations/{organizationId}/recordings/{callId}`;
|
|
50
50
|
urlPath = urlPath.replace(`{${"organizationId"}}`, encodeURIComponent(String(requestParameters['organizationId'])));
|
|
51
|
-
urlPath = urlPath.replace(`{${"
|
|
51
|
+
urlPath = urlPath.replace(`{${"callId"}}`, encodeURIComponent(String(requestParameters['callId'])));
|
|
52
52
|
const response = yield this.request({
|
|
53
53
|
path: urlPath,
|
|
54
54
|
method: 'GET',
|
|
@@ -59,11 +59,11 @@ export class RecordingsApi extends runtime.BaseAPI {
|
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
61
|
/**
|
|
62
|
-
* Get a signed URL for a
|
|
62
|
+
* Get a signed URL for a call recording
|
|
63
63
|
*/
|
|
64
|
-
|
|
64
|
+
organizationsOrganizationIdRecordingsCallIdGet(requestParameters, initOverrides) {
|
|
65
65
|
return __awaiter(this, void 0, void 0, function* () {
|
|
66
|
-
const response = yield this.
|
|
66
|
+
const response = yield this.organizationsOrganizationIdRecordingsCallIdGetRaw(requestParameters, initOverrides);
|
|
67
67
|
return yield response.value();
|
|
68
68
|
});
|
|
69
69
|
}
|
package/package.json
CHANGED
package/src/api-client.ts
CHANGED
|
@@ -98,7 +98,7 @@ export class Api {
|
|
|
98
98
|
create: (organizationId: string, invitationCreate: InvitationCreate, options?: RequestInit) => ReturnType<InvitationsApi["organizationsOrganizationIdInvitationsPost"]>;
|
|
99
99
|
};
|
|
100
100
|
public readonly recordings: {
|
|
101
|
-
get: (organizationId: string,
|
|
101
|
+
get: (organizationId: string, callId: string, options?: RequestInit) => ReturnType<RecordingsApi["organizationsOrganizationIdRecordingsCallIdGet"]>;
|
|
102
102
|
};
|
|
103
103
|
public readonly members: {
|
|
104
104
|
list: (organizationId: string, options?: RequestInit) => ReturnType<MembersApi["organizationsOrganizationIdMembersGet"]>;
|
|
@@ -269,7 +269,7 @@ export class Api {
|
|
|
269
269
|
};
|
|
270
270
|
|
|
271
271
|
this.recordings = {
|
|
272
|
-
get: (organizationId,
|
|
272
|
+
get: (organizationId, callId, options) => this.recordingsApi.organizationsOrganizationIdRecordingsCallIdGet({ organizationId, callId }, options),
|
|
273
273
|
};
|
|
274
274
|
|
|
275
275
|
this.members = {
|
package/src/apis/CallsApi.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Unified REST API for Tivadar AI Voice Agents platform
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0.0
|
|
8
|
-
*
|
|
8
|
+
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
@@ -56,7 +56,7 @@ export interface OrganizationsOrganizationIdCallsPostRequest {
|
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
/**
|
|
59
|
-
*
|
|
59
|
+
*
|
|
60
60
|
*/
|
|
61
61
|
export class CallsApi extends runtime.BaseAPI {
|
|
62
62
|
|
|
@@ -22,9 +22,9 @@ import {
|
|
|
22
22
|
RecordingSignedUrlToJSON,
|
|
23
23
|
} from '../models/index';
|
|
24
24
|
|
|
25
|
-
export interface
|
|
25
|
+
export interface OrganizationsOrganizationIdRecordingsCallIdGetRequest {
|
|
26
26
|
organizationId: string;
|
|
27
|
-
|
|
27
|
+
callId: string;
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
/**
|
|
@@ -33,20 +33,20 @@ export interface OrganizationsOrganizationIdRecordingsConversationIdGetRequest {
|
|
|
33
33
|
export class RecordingsApi extends runtime.BaseAPI {
|
|
34
34
|
|
|
35
35
|
/**
|
|
36
|
-
* Get a signed URL for a
|
|
36
|
+
* Get a signed URL for a call recording
|
|
37
37
|
*/
|
|
38
|
-
async
|
|
38
|
+
async organizationsOrganizationIdRecordingsCallIdGetRaw(requestParameters: OrganizationsOrganizationIdRecordingsCallIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<RecordingSignedUrl>> {
|
|
39
39
|
if (requestParameters['organizationId'] == null) {
|
|
40
40
|
throw new runtime.RequiredError(
|
|
41
41
|
'organizationId',
|
|
42
|
-
'Required parameter "organizationId" was null or undefined when calling
|
|
42
|
+
'Required parameter "organizationId" was null or undefined when calling organizationsOrganizationIdRecordingsCallIdGet().'
|
|
43
43
|
);
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
if (requestParameters['
|
|
46
|
+
if (requestParameters['callId'] == null) {
|
|
47
47
|
throw new runtime.RequiredError(
|
|
48
|
-
'
|
|
49
|
-
'Required parameter "
|
|
48
|
+
'callId',
|
|
49
|
+
'Required parameter "callId" was null or undefined when calling organizationsOrganizationIdRecordingsCallIdGet().'
|
|
50
50
|
);
|
|
51
51
|
}
|
|
52
52
|
|
|
@@ -63,9 +63,9 @@ export class RecordingsApi extends runtime.BaseAPI {
|
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
let urlPath = `/organizations/{organizationId}/recordings/{
|
|
66
|
+
let urlPath = `/organizations/{organizationId}/recordings/{callId}`;
|
|
67
67
|
urlPath = urlPath.replace(`{${"organizationId"}}`, encodeURIComponent(String(requestParameters['organizationId'])));
|
|
68
|
-
urlPath = urlPath.replace(`{${"
|
|
68
|
+
urlPath = urlPath.replace(`{${"callId"}}`, encodeURIComponent(String(requestParameters['callId'])));
|
|
69
69
|
|
|
70
70
|
const response = await this.request({
|
|
71
71
|
path: urlPath,
|
|
@@ -78,10 +78,10 @@ export class RecordingsApi extends runtime.BaseAPI {
|
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
/**
|
|
81
|
-
* Get a signed URL for a
|
|
81
|
+
* Get a signed URL for a call recording
|
|
82
82
|
*/
|
|
83
|
-
async
|
|
84
|
-
const response = await this.
|
|
83
|
+
async organizationsOrganizationIdRecordingsCallIdGet(requestParameters: OrganizationsOrganizationIdRecordingsCallIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<RecordingSignedUrl> {
|
|
84
|
+
const response = await this.organizationsOrganizationIdRecordingsCallIdGetRaw(requestParameters, initOverrides);
|
|
85
85
|
return await response.value();
|
|
86
86
|
}
|
|
87
87
|
|
package/src/models/Call.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Unified REST API for Tivadar AI Voice Agents platform
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0.0
|
|
8
|
-
*
|
|
8
|
+
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
@@ -14,43 +14,43 @@
|
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
17
|
+
*
|
|
18
18
|
* @export
|
|
19
19
|
* @interface Call
|
|
20
20
|
*/
|
|
21
21
|
export interface Call {
|
|
22
22
|
/**
|
|
23
|
-
*
|
|
23
|
+
*
|
|
24
24
|
* @type {string}
|
|
25
25
|
* @memberof Call
|
|
26
26
|
*/
|
|
27
27
|
id: string;
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
29
|
+
*
|
|
30
30
|
* @type {string}
|
|
31
31
|
* @memberof Call
|
|
32
32
|
*/
|
|
33
33
|
voice_agent_id?: string | null;
|
|
34
34
|
/**
|
|
35
|
-
*
|
|
35
|
+
*
|
|
36
36
|
* @type {{ [key: string]: any; }}
|
|
37
37
|
* @memberof Call
|
|
38
38
|
*/
|
|
39
39
|
data?: { [key: string]: any; } | null;
|
|
40
40
|
/**
|
|
41
|
-
*
|
|
41
|
+
*
|
|
42
42
|
* @type {string}
|
|
43
43
|
* @memberof Call
|
|
44
44
|
*/
|
|
45
45
|
caller?: string | null;
|
|
46
46
|
/**
|
|
47
|
-
*
|
|
47
|
+
*
|
|
48
48
|
* @type {boolean}
|
|
49
49
|
* @memberof Call
|
|
50
50
|
*/
|
|
51
51
|
sandbox?: boolean | null;
|
|
52
52
|
/**
|
|
53
|
-
*
|
|
53
|
+
*
|
|
54
54
|
* @type {Date}
|
|
55
55
|
* @memberof Call
|
|
56
56
|
*/
|
|
@@ -75,7 +75,7 @@ export function CallFromJSONTyped(json: any, ignoreDiscriminator: boolean): Call
|
|
|
75
75
|
return json;
|
|
76
76
|
}
|
|
77
77
|
return {
|
|
78
|
-
|
|
78
|
+
|
|
79
79
|
'id': json['id'],
|
|
80
80
|
'voice_agent_id': json['voice_agent_id'] == null ? undefined : json['voice_agent_id'],
|
|
81
81
|
'data': json['data'] == null ? undefined : json['data'],
|
|
@@ -95,7 +95,7 @@ export function CallToJSONTyped(value?: Call | null, ignoreDiscriminator: boolea
|
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
return {
|
|
98
|
-
|
|
98
|
+
|
|
99
99
|
'id': value['id'],
|
|
100
100
|
'voice_agent_id': value['voice_agent_id'],
|
|
101
101
|
'data': value['data'],
|
package/src/models/CallCreate.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Unified REST API for Tivadar AI Voice Agents platform
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0.0
|
|
8
|
-
*
|
|
8
|
+
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
@@ -14,31 +14,31 @@
|
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
17
|
+
*
|
|
18
18
|
* @export
|
|
19
19
|
* @interface CallCreate
|
|
20
20
|
*/
|
|
21
21
|
export interface CallCreate {
|
|
22
22
|
/**
|
|
23
|
-
*
|
|
23
|
+
*
|
|
24
24
|
* @type {string}
|
|
25
25
|
* @memberof CallCreate
|
|
26
26
|
*/
|
|
27
27
|
voice_agent_id?: string | null;
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
29
|
+
*
|
|
30
30
|
* @type {{ [key: string]: any; }}
|
|
31
31
|
* @memberof CallCreate
|
|
32
32
|
*/
|
|
33
33
|
data?: { [key: string]: any; } | null;
|
|
34
34
|
/**
|
|
35
|
-
*
|
|
35
|
+
*
|
|
36
36
|
* @type {string}
|
|
37
37
|
* @memberof CallCreate
|
|
38
38
|
*/
|
|
39
39
|
caller?: string | null;
|
|
40
40
|
/**
|
|
41
|
-
*
|
|
41
|
+
*
|
|
42
42
|
* @type {boolean}
|
|
43
43
|
* @memberof CallCreate
|
|
44
44
|
*/
|
|
@@ -61,7 +61,7 @@ export function CallCreateFromJSONTyped(json: any, ignoreDiscriminator: boolean)
|
|
|
61
61
|
return json;
|
|
62
62
|
}
|
|
63
63
|
return {
|
|
64
|
-
|
|
64
|
+
|
|
65
65
|
'voice_agent_id': json['voice_agent_id'] == null ? undefined : json['voice_agent_id'],
|
|
66
66
|
'data': json['data'] == null ? undefined : json['data'],
|
|
67
67
|
'caller': json['caller'] == null ? undefined : json['caller'],
|
|
@@ -79,7 +79,7 @@ export function CallCreateToJSONTyped(value?: CallCreate | null, ignoreDiscrimin
|
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
return {
|
|
82
|
-
|
|
82
|
+
|
|
83
83
|
'voice_agent_id': value['voice_agent_id'],
|
|
84
84
|
'data': value['data'],
|
|
85
85
|
'caller': value['caller'],
|
package/src/models/CallUpdate.ts
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Unified REST API for Tivadar AI Voice Agents platform
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0.0
|
|
8
|
-
*
|
|
8
|
+
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
@@ -14,31 +14,31 @@
|
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
16
|
/**
|
|
17
|
-
*
|
|
17
|
+
*
|
|
18
18
|
* @export
|
|
19
19
|
* @interface CallUpdate
|
|
20
20
|
*/
|
|
21
21
|
export interface CallUpdate {
|
|
22
22
|
/**
|
|
23
|
-
*
|
|
23
|
+
*
|
|
24
24
|
* @type {string}
|
|
25
25
|
* @memberof CallUpdate
|
|
26
26
|
*/
|
|
27
27
|
voice_agent_id?: string | null;
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
29
|
+
*
|
|
30
30
|
* @type {{ [key: string]: any; }}
|
|
31
31
|
* @memberof CallUpdate
|
|
32
32
|
*/
|
|
33
33
|
data?: { [key: string]: any; } | null;
|
|
34
34
|
/**
|
|
35
|
-
*
|
|
35
|
+
*
|
|
36
36
|
* @type {string}
|
|
37
37
|
* @memberof CallUpdate
|
|
38
38
|
*/
|
|
39
39
|
caller?: string | null;
|
|
40
40
|
/**
|
|
41
|
-
*
|
|
41
|
+
*
|
|
42
42
|
* @type {boolean}
|
|
43
43
|
* @memberof CallUpdate
|
|
44
44
|
*/
|
|
@@ -61,7 +61,7 @@ export function CallUpdateFromJSONTyped(json: any, ignoreDiscriminator: boolean)
|
|
|
61
61
|
return json;
|
|
62
62
|
}
|
|
63
63
|
return {
|
|
64
|
-
|
|
64
|
+
|
|
65
65
|
'voice_agent_id': json['voice_agent_id'] == null ? undefined : json['voice_agent_id'],
|
|
66
66
|
'data': json['data'] == null ? undefined : json['data'],
|
|
67
67
|
'caller': json['caller'] == null ? undefined : json['caller'],
|
|
@@ -79,7 +79,7 @@ export function CallUpdateToJSONTyped(value?: CallUpdate | null, ignoreDiscrimin
|
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
return {
|
|
82
|
-
|
|
82
|
+
|
|
83
83
|
'voice_agent_id': value['voice_agent_id'],
|
|
84
84
|
'data': value['data'],
|
|
85
85
|
'caller': value['caller'],
|