@l7mp/tivadar-ai-api-sdk 0.1.3 → 0.1.5
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/README.md +1 -1
- package/dist/api-client.d.ts +14 -7
- package/dist/api-client.js +26 -6
- package/dist/apis/CalendarApi.d.ts +64 -48
- package/dist/apis/CalendarApi.js +152 -87
- package/dist/apis/STTProvidersApi.d.ts +3 -3
- package/dist/apis/STTProvidersApi.js +1 -1
- package/dist/apis/TTSProvidersApi.d.ts +3 -3
- package/dist/apis/TTSProvidersApi.js +1 -1
- package/dist/esm/api-client.d.ts +14 -7
- package/dist/esm/api-client.js +26 -6
- package/dist/esm/apis/CalendarApi.d.ts +64 -48
- package/dist/esm/apis/CalendarApi.js +153 -88
- package/dist/esm/apis/STTProvidersApi.d.ts +3 -3
- package/dist/esm/apis/STTProvidersApi.js +2 -2
- package/dist/esm/apis/TTSProvidersApi.d.ts +3 -3
- package/dist/esm/apis/TTSProvidersApi.js +2 -2
- package/dist/esm/models/Calendar.d.ts +6 -0
- package/dist/esm/models/Calendar.js +2 -0
- package/dist/esm/models/CalendarCreate.d.ts +32 -0
- package/dist/esm/models/CalendarCreate.js +43 -0
- package/dist/esm/models/CalendarEventCreate.d.ts +0 -6
- package/dist/esm/models/CalendarEventCreate.js +0 -4
- package/dist/esm/models/CalendarEventListResponse.d.ts +33 -0
- package/dist/esm/models/CalendarEventListResponse.js +44 -0
- package/dist/esm/models/CalendarEventUpdate.d.ts +0 -6
- package/dist/esm/models/CalendarEventUpdate.js +0 -2
- package/dist/esm/models/CalendarUpdate.d.ts +32 -0
- package/dist/esm/models/CalendarUpdate.js +41 -0
- package/dist/esm/models/OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerVoicesInner.d.ts +6 -0
- package/dist/esm/models/OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerVoicesInner.js +2 -0
- package/dist/esm/models/SttProvider.d.ts +45 -0
- package/dist/esm/models/SttProvider.js +46 -0
- package/dist/esm/models/SttProviderModel.d.ts +56 -0
- package/dist/esm/models/SttProviderModel.js +49 -0
- package/dist/esm/models/TtsProvider.d.ts +45 -0
- package/dist/esm/models/TtsProvider.js +46 -0
- package/dist/esm/models/TtsProviderModel.d.ts +51 -0
- package/dist/esm/models/TtsProviderModel.js +48 -0
- package/dist/esm/models/TtsProviderVoice.d.ts +56 -0
- package/dist/esm/models/TtsProviderVoice.js +49 -0
- package/dist/esm/models/index.d.ts +8 -7
- package/dist/esm/models/index.js +8 -7
- package/dist/models/Calendar.d.ts +6 -0
- package/dist/models/Calendar.js +2 -0
- package/dist/models/CalendarCreate.d.ts +32 -0
- package/dist/models/CalendarCreate.js +50 -0
- package/dist/models/CalendarEventCreate.d.ts +0 -6
- package/dist/models/CalendarEventCreate.js +0 -4
- package/dist/models/CalendarEventListResponse.d.ts +33 -0
- package/dist/models/CalendarEventListResponse.js +51 -0
- package/dist/models/CalendarEventUpdate.d.ts +0 -6
- package/dist/models/CalendarEventUpdate.js +0 -2
- package/dist/models/CalendarUpdate.d.ts +32 -0
- package/dist/models/CalendarUpdate.js +48 -0
- package/dist/models/OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerVoicesInner.d.ts +6 -0
- package/dist/models/OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerVoicesInner.js +2 -0
- package/dist/models/SttProvider.d.ts +45 -0
- package/dist/models/SttProvider.js +53 -0
- package/dist/models/SttProviderModel.d.ts +56 -0
- package/dist/models/SttProviderModel.js +56 -0
- package/dist/models/TtsProvider.d.ts +45 -0
- package/dist/models/TtsProvider.js +53 -0
- package/dist/models/TtsProviderModel.d.ts +51 -0
- package/dist/models/TtsProviderModel.js +55 -0
- package/dist/models/TtsProviderVoice.d.ts +56 -0
- package/dist/models/TtsProviderVoice.js +56 -0
- package/dist/models/index.d.ts +8 -7
- package/dist/models/index.js +8 -7
- package/package.json +2 -2
- package/src/api-client.ts +32 -12
- package/src/apis/CalendarApi.ts +227 -107
- package/src/apis/STTProvidersApi.ts +6 -6
- package/src/apis/TTSProvidersApi.ts +6 -6
- package/src/models/Calendar.ts +8 -0
- package/src/models/CalendarCreate.ts +66 -0
- package/src/models/CalendarEventCreate.ts +0 -9
- package/src/models/CalendarEventListResponse.ts +74 -0
- package/src/models/CalendarEventUpdate.ts +0 -8
- package/src/models/CalendarUpdate.ts +65 -0
- package/src/models/OrganizationsOrganizationIdSttProvidersGet200ResponseInnerModelsInner.ts +9 -9
- package/src/models/OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInner.ts +8 -8
- package/src/models/OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerVoicesInner.ts +16 -8
- package/src/models/SttProvider.ts +89 -0
- package/src/models/SttProviderModel.ts +97 -0
- package/src/models/TtsProvider.ts +89 -0
- package/src/models/TtsProviderModel.ts +97 -0
- package/src/models/TtsProviderVoice.ts +97 -0
- package/src/models/index.ts +8 -7
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Tivadar AI Backend API
|
|
5
|
+
* Unified REST API for Tivadar AI Voice Agents platform
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { TtsProviderVoiceFromJSON, TtsProviderVoiceToJSON, } from './TtsProviderVoice';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the TtsProviderModel interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfTtsProviderModel(value) {
|
|
19
|
+
return true;
|
|
20
|
+
}
|
|
21
|
+
export function TtsProviderModelFromJSON(json) {
|
|
22
|
+
return TtsProviderModelFromJSONTyped(json, false);
|
|
23
|
+
}
|
|
24
|
+
export function TtsProviderModelFromJSONTyped(json, ignoreDiscriminator) {
|
|
25
|
+
if (json == null) {
|
|
26
|
+
return json;
|
|
27
|
+
}
|
|
28
|
+
return {
|
|
29
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
30
|
+
'label': json['label'] == null ? undefined : json['label'],
|
|
31
|
+
'supportedLanguages': json['supportedLanguages'] == null ? undefined : json['supportedLanguages'],
|
|
32
|
+
'voices': json['voices'] == null ? undefined : (json['voices'].map(TtsProviderVoiceFromJSON)),
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
export function TtsProviderModelToJSON(json) {
|
|
36
|
+
return TtsProviderModelToJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
export function TtsProviderModelToJSONTyped(value, ignoreDiscriminator = false) {
|
|
39
|
+
if (value == null) {
|
|
40
|
+
return value;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'id': value['id'],
|
|
44
|
+
'label': value['label'],
|
|
45
|
+
'supportedLanguages': value['supportedLanguages'],
|
|
46
|
+
'voices': value['voices'] == null ? undefined : (value['voices'].map(TtsProviderVoiceToJSON)),
|
|
47
|
+
};
|
|
48
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tivadar AI Backend API
|
|
3
|
+
* Unified REST API for Tivadar AI Voice Agents platform
|
|
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 TtsProviderVoice
|
|
16
|
+
*/
|
|
17
|
+
export interface TtsProviderVoice {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof TtsProviderVoice
|
|
22
|
+
*/
|
|
23
|
+
id?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof TtsProviderVoice
|
|
28
|
+
*/
|
|
29
|
+
label?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof TtsProviderVoice
|
|
34
|
+
*/
|
|
35
|
+
gender?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof TtsProviderVoice
|
|
40
|
+
*/
|
|
41
|
+
previewUrl?: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {Array<string>}
|
|
45
|
+
* @memberof TtsProviderVoice
|
|
46
|
+
*/
|
|
47
|
+
supportedLanguages?: Array<string>;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the TtsProviderVoice interface.
|
|
51
|
+
*/
|
|
52
|
+
export declare function instanceOfTtsProviderVoice(value: object): value is TtsProviderVoice;
|
|
53
|
+
export declare function TtsProviderVoiceFromJSON(json: any): TtsProviderVoice;
|
|
54
|
+
export declare function TtsProviderVoiceFromJSONTyped(json: any, ignoreDiscriminator: boolean): TtsProviderVoice;
|
|
55
|
+
export declare function TtsProviderVoiceToJSON(json: any): TtsProviderVoice;
|
|
56
|
+
export declare function TtsProviderVoiceToJSONTyped(value?: TtsProviderVoice | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Tivadar AI Backend API
|
|
5
|
+
* Unified REST API for Tivadar AI Voice Agents platform
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
/**
|
|
15
|
+
* Check if a given object implements the TtsProviderVoice interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfTtsProviderVoice(value) {
|
|
18
|
+
return true;
|
|
19
|
+
}
|
|
20
|
+
export function TtsProviderVoiceFromJSON(json) {
|
|
21
|
+
return TtsProviderVoiceFromJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function TtsProviderVoiceFromJSONTyped(json, ignoreDiscriminator) {
|
|
24
|
+
if (json == null) {
|
|
25
|
+
return json;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
'id': json['id'] == null ? undefined : json['id'],
|
|
29
|
+
'label': json['label'] == null ? undefined : json['label'],
|
|
30
|
+
'gender': json['gender'] == null ? undefined : json['gender'],
|
|
31
|
+
'previewUrl': json['previewUrl'] == null ? undefined : json['previewUrl'],
|
|
32
|
+
'supportedLanguages': json['supportedLanguages'] == null ? undefined : json['supportedLanguages'],
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
export function TtsProviderVoiceToJSON(json) {
|
|
36
|
+
return TtsProviderVoiceToJSONTyped(json, false);
|
|
37
|
+
}
|
|
38
|
+
export function TtsProviderVoiceToJSONTyped(value, ignoreDiscriminator = false) {
|
|
39
|
+
if (value == null) {
|
|
40
|
+
return value;
|
|
41
|
+
}
|
|
42
|
+
return {
|
|
43
|
+
'id': value['id'],
|
|
44
|
+
'label': value['label'],
|
|
45
|
+
'gender': value['gender'],
|
|
46
|
+
'previewUrl': value['previewUrl'],
|
|
47
|
+
'supportedLanguages': value['supportedLanguages'],
|
|
48
|
+
};
|
|
49
|
+
}
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
export * from './BillingPortalRequest';
|
|
2
2
|
export * from './BillingPortalResponse';
|
|
3
3
|
export * from './Calendar';
|
|
4
|
+
export * from './CalendarCreate';
|
|
4
5
|
export * from './CalendarEvent';
|
|
5
6
|
export * from './CalendarEventCreate';
|
|
6
|
-
export * from './
|
|
7
|
+
export * from './CalendarEventListResponse';
|
|
7
8
|
export * from './CalendarEventUpdate';
|
|
8
9
|
export * from './CalendarListResponse';
|
|
9
|
-
export * from './
|
|
10
|
+
export * from './CalendarUpdate';
|
|
10
11
|
export * from './CancelSubscriptionRequest';
|
|
11
12
|
export * from './CancelSubscriptionResponse';
|
|
12
13
|
export * from './ChatAgent';
|
|
@@ -35,11 +36,6 @@ export * from './OrganizationsOrganizationIdConversationsGet200Response';
|
|
|
35
36
|
export * from './OrganizationsOrganizationIdEmbeddingProvidersGet200ResponseInner';
|
|
36
37
|
export * from './OrganizationsOrganizationIdLlmProvidersGet200ResponseInner';
|
|
37
38
|
export * from './OrganizationsOrganizationIdSipDispatchRulesPost200Response';
|
|
38
|
-
export * from './OrganizationsOrganizationIdSttProvidersGet200ResponseInner';
|
|
39
|
-
export * from './OrganizationsOrganizationIdSttProvidersGet200ResponseInnerModelsInner';
|
|
40
|
-
export * from './OrganizationsOrganizationIdTtsProvidersGet200ResponseInner';
|
|
41
|
-
export * from './OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInner';
|
|
42
|
-
export * from './OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerVoicesInner';
|
|
43
39
|
export * from './OrganizationsOrganizationIdVoiceAgentsBasicGet200ResponseInner';
|
|
44
40
|
export * from './PauseSubscriptionRequest';
|
|
45
41
|
export * from './PauseSubscriptionResponse';
|
|
@@ -58,12 +54,17 @@ export * from './SipTrunk';
|
|
|
58
54
|
export * from './SipTrunkCreate';
|
|
59
55
|
export * from './SipTrunkWithAgent';
|
|
60
56
|
export * from './SipTrunkWithAgentAllOfAgents';
|
|
57
|
+
export * from './SttProvider';
|
|
58
|
+
export * from './SttProviderModel';
|
|
61
59
|
export * from './SubscriptionDetails';
|
|
62
60
|
export * from './SubscriptionStatus';
|
|
63
61
|
export * from './SubscriptionStatusPlan';
|
|
64
62
|
export * from './SubscriptionStatusService';
|
|
65
63
|
export * from './SubscriptionStatusSubscription';
|
|
66
64
|
export * from './ToolConfig';
|
|
65
|
+
export * from './TtsProvider';
|
|
66
|
+
export * from './TtsProviderModel';
|
|
67
|
+
export * from './TtsProviderVoice';
|
|
67
68
|
export * from './UnpauseSubscriptionResponse';
|
|
68
69
|
export * from './UpdatePlanRequest';
|
|
69
70
|
export * from './UpdatePlanResponse';
|
package/dist/esm/models/index.js
CHANGED
|
@@ -3,12 +3,13 @@
|
|
|
3
3
|
export * from './BillingPortalRequest';
|
|
4
4
|
export * from './BillingPortalResponse';
|
|
5
5
|
export * from './Calendar';
|
|
6
|
+
export * from './CalendarCreate';
|
|
6
7
|
export * from './CalendarEvent';
|
|
7
8
|
export * from './CalendarEventCreate';
|
|
8
|
-
export * from './
|
|
9
|
+
export * from './CalendarEventListResponse';
|
|
9
10
|
export * from './CalendarEventUpdate';
|
|
10
11
|
export * from './CalendarListResponse';
|
|
11
|
-
export * from './
|
|
12
|
+
export * from './CalendarUpdate';
|
|
12
13
|
export * from './CancelSubscriptionRequest';
|
|
13
14
|
export * from './CancelSubscriptionResponse';
|
|
14
15
|
export * from './ChatAgent';
|
|
@@ -37,11 +38,6 @@ export * from './OrganizationsOrganizationIdConversationsGet200Response';
|
|
|
37
38
|
export * from './OrganizationsOrganizationIdEmbeddingProvidersGet200ResponseInner';
|
|
38
39
|
export * from './OrganizationsOrganizationIdLlmProvidersGet200ResponseInner';
|
|
39
40
|
export * from './OrganizationsOrganizationIdSipDispatchRulesPost200Response';
|
|
40
|
-
export * from './OrganizationsOrganizationIdSttProvidersGet200ResponseInner';
|
|
41
|
-
export * from './OrganizationsOrganizationIdSttProvidersGet200ResponseInnerModelsInner';
|
|
42
|
-
export * from './OrganizationsOrganizationIdTtsProvidersGet200ResponseInner';
|
|
43
|
-
export * from './OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInner';
|
|
44
|
-
export * from './OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerVoicesInner';
|
|
45
41
|
export * from './OrganizationsOrganizationIdVoiceAgentsBasicGet200ResponseInner';
|
|
46
42
|
export * from './PauseSubscriptionRequest';
|
|
47
43
|
export * from './PauseSubscriptionResponse';
|
|
@@ -60,12 +56,17 @@ export * from './SipTrunk';
|
|
|
60
56
|
export * from './SipTrunkCreate';
|
|
61
57
|
export * from './SipTrunkWithAgent';
|
|
62
58
|
export * from './SipTrunkWithAgentAllOfAgents';
|
|
59
|
+
export * from './SttProvider';
|
|
60
|
+
export * from './SttProviderModel';
|
|
63
61
|
export * from './SubscriptionDetails';
|
|
64
62
|
export * from './SubscriptionStatus';
|
|
65
63
|
export * from './SubscriptionStatusPlan';
|
|
66
64
|
export * from './SubscriptionStatusService';
|
|
67
65
|
export * from './SubscriptionStatusSubscription';
|
|
68
66
|
export * from './ToolConfig';
|
|
67
|
+
export * from './TtsProvider';
|
|
68
|
+
export * from './TtsProviderModel';
|
|
69
|
+
export * from './TtsProviderVoice';
|
|
69
70
|
export * from './UnpauseSubscriptionResponse';
|
|
70
71
|
export * from './UpdatePlanRequest';
|
|
71
72
|
export * from './UpdatePlanResponse';
|
|
@@ -39,6 +39,12 @@ export interface Calendar {
|
|
|
39
39
|
* @memberof Calendar
|
|
40
40
|
*/
|
|
41
41
|
enabled: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* Public iCal URL for this calendar (null if CALENDAR_PUBLISHER_BASE_URL is not configured)
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof Calendar
|
|
46
|
+
*/
|
|
47
|
+
calendar_url?: string | null;
|
|
42
48
|
/**
|
|
43
49
|
*
|
|
44
50
|
* @type {Date}
|
package/dist/models/Calendar.js
CHANGED
|
@@ -46,6 +46,7 @@ function CalendarFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
46
46
|
'agent_id': json['agent_id'],
|
|
47
47
|
'agent_name': json['agent_name'],
|
|
48
48
|
'enabled': json['enabled'],
|
|
49
|
+
'calendar_url': json['calendar_url'] == null ? undefined : json['calendar_url'],
|
|
49
50
|
'created_at': (new Date(json['created_at'])),
|
|
50
51
|
};
|
|
51
52
|
}
|
|
@@ -61,6 +62,7 @@ function CalendarToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
61
62
|
'agent_id': value['agent_id'],
|
|
62
63
|
'agent_name': value['agent_name'],
|
|
63
64
|
'enabled': value['enabled'],
|
|
65
|
+
'calendar_url': value['calendar_url'],
|
|
64
66
|
'created_at': value['created_at'].toISOString(),
|
|
65
67
|
};
|
|
66
68
|
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tivadar AI Backend API
|
|
3
|
+
* Unified REST API for Tivadar AI Voice Agents platform
|
|
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 CalendarCreate
|
|
16
|
+
*/
|
|
17
|
+
export interface CalendarCreate {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CalendarCreate
|
|
22
|
+
*/
|
|
23
|
+
voice_agent_id: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the CalendarCreate interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfCalendarCreate(value: object): value is CalendarCreate;
|
|
29
|
+
export declare function CalendarCreateFromJSON(json: any): CalendarCreate;
|
|
30
|
+
export declare function CalendarCreateFromJSONTyped(json: any, ignoreDiscriminator: boolean): CalendarCreate;
|
|
31
|
+
export declare function CalendarCreateToJSON(json: any): CalendarCreate;
|
|
32
|
+
export declare function CalendarCreateToJSONTyped(value?: CalendarCreate | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Tivadar AI Backend API
|
|
6
|
+
* Unified REST API for Tivadar AI Voice Agents platform
|
|
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.instanceOfCalendarCreate = instanceOfCalendarCreate;
|
|
17
|
+
exports.CalendarCreateFromJSON = CalendarCreateFromJSON;
|
|
18
|
+
exports.CalendarCreateFromJSONTyped = CalendarCreateFromJSONTyped;
|
|
19
|
+
exports.CalendarCreateToJSON = CalendarCreateToJSON;
|
|
20
|
+
exports.CalendarCreateToJSONTyped = CalendarCreateToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the CalendarCreate interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfCalendarCreate(value) {
|
|
25
|
+
if (!('voice_agent_id' in value) || value['voice_agent_id'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function CalendarCreateFromJSON(json) {
|
|
30
|
+
return CalendarCreateFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function CalendarCreateFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'voice_agent_id': json['voice_agent_id'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function CalendarCreateToJSON(json) {
|
|
41
|
+
return CalendarCreateToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function CalendarCreateToJSONTyped(value, ignoreDiscriminator = false) {
|
|
44
|
+
if (value == null) {
|
|
45
|
+
return value;
|
|
46
|
+
}
|
|
47
|
+
return {
|
|
48
|
+
'voice_agent_id': value['voice_agent_id'],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -39,12 +39,6 @@ export interface CalendarEventCreate {
|
|
|
39
39
|
* @memberof CalendarEventCreate
|
|
40
40
|
*/
|
|
41
41
|
end_time: Date;
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof CalendarEventCreate
|
|
46
|
-
*/
|
|
47
|
-
calendar_id: string;
|
|
48
42
|
}
|
|
49
43
|
/**
|
|
50
44
|
* Check if a given object implements the CalendarEventCreate interface.
|
|
@@ -28,8 +28,6 @@ function instanceOfCalendarEventCreate(value) {
|
|
|
28
28
|
return false;
|
|
29
29
|
if (!('end_time' in value) || value['end_time'] === undefined)
|
|
30
30
|
return false;
|
|
31
|
-
if (!('calendar_id' in value) || value['calendar_id'] === undefined)
|
|
32
|
-
return false;
|
|
33
31
|
return true;
|
|
34
32
|
}
|
|
35
33
|
function CalendarEventCreateFromJSON(json) {
|
|
@@ -44,7 +42,6 @@ function CalendarEventCreateFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
44
42
|
'description': json['description'] == null ? undefined : json['description'],
|
|
45
43
|
'start_time': (new Date(json['start_time'])),
|
|
46
44
|
'end_time': (new Date(json['end_time'])),
|
|
47
|
-
'calendar_id': json['calendar_id'],
|
|
48
45
|
};
|
|
49
46
|
}
|
|
50
47
|
function CalendarEventCreateToJSON(json) {
|
|
@@ -59,6 +56,5 @@ function CalendarEventCreateToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
59
56
|
'description': value['description'],
|
|
60
57
|
'start_time': value['start_time'].toISOString(),
|
|
61
58
|
'end_time': value['end_time'].toISOString(),
|
|
62
|
-
'calendar_id': value['calendar_id'],
|
|
63
59
|
};
|
|
64
60
|
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tivadar AI Backend API
|
|
3
|
+
* Unified REST API for Tivadar AI Voice Agents platform
|
|
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
|
+
import type { CalendarEvent } from './CalendarEvent';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CalendarEventListResponse
|
|
17
|
+
*/
|
|
18
|
+
export interface CalendarEventListResponse {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<CalendarEvent>}
|
|
22
|
+
* @memberof CalendarEventListResponse
|
|
23
|
+
*/
|
|
24
|
+
data: Array<CalendarEvent>;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
* Check if a given object implements the CalendarEventListResponse interface.
|
|
28
|
+
*/
|
|
29
|
+
export declare function instanceOfCalendarEventListResponse(value: object): value is CalendarEventListResponse;
|
|
30
|
+
export declare function CalendarEventListResponseFromJSON(json: any): CalendarEventListResponse;
|
|
31
|
+
export declare function CalendarEventListResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): CalendarEventListResponse;
|
|
32
|
+
export declare function CalendarEventListResponseToJSON(json: any): CalendarEventListResponse;
|
|
33
|
+
export declare function CalendarEventListResponseToJSONTyped(value?: CalendarEventListResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Tivadar AI Backend API
|
|
6
|
+
* Unified REST API for Tivadar AI Voice Agents platform
|
|
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.instanceOfCalendarEventListResponse = instanceOfCalendarEventListResponse;
|
|
17
|
+
exports.CalendarEventListResponseFromJSON = CalendarEventListResponseFromJSON;
|
|
18
|
+
exports.CalendarEventListResponseFromJSONTyped = CalendarEventListResponseFromJSONTyped;
|
|
19
|
+
exports.CalendarEventListResponseToJSON = CalendarEventListResponseToJSON;
|
|
20
|
+
exports.CalendarEventListResponseToJSONTyped = CalendarEventListResponseToJSONTyped;
|
|
21
|
+
const CalendarEvent_1 = require("./CalendarEvent");
|
|
22
|
+
/**
|
|
23
|
+
* Check if a given object implements the CalendarEventListResponse interface.
|
|
24
|
+
*/
|
|
25
|
+
function instanceOfCalendarEventListResponse(value) {
|
|
26
|
+
if (!('data' in value) || value['data'] === undefined)
|
|
27
|
+
return false;
|
|
28
|
+
return true;
|
|
29
|
+
}
|
|
30
|
+
function CalendarEventListResponseFromJSON(json) {
|
|
31
|
+
return CalendarEventListResponseFromJSONTyped(json, false);
|
|
32
|
+
}
|
|
33
|
+
function CalendarEventListResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
34
|
+
if (json == null) {
|
|
35
|
+
return json;
|
|
36
|
+
}
|
|
37
|
+
return {
|
|
38
|
+
'data': (json['data'].map(CalendarEvent_1.CalendarEventFromJSON)),
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
function CalendarEventListResponseToJSON(json) {
|
|
42
|
+
return CalendarEventListResponseToJSONTyped(json, false);
|
|
43
|
+
}
|
|
44
|
+
function CalendarEventListResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'data': (value['data'].map(CalendarEvent_1.CalendarEventToJSON)),
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -39,12 +39,6 @@ export interface CalendarEventUpdate {
|
|
|
39
39
|
* @memberof CalendarEventUpdate
|
|
40
40
|
*/
|
|
41
41
|
end_time?: Date;
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof CalendarEventUpdate
|
|
46
|
-
*/
|
|
47
|
-
calendar_id?: string;
|
|
48
42
|
}
|
|
49
43
|
/**
|
|
50
44
|
* Check if a given object implements the CalendarEventUpdate interface.
|
|
@@ -36,7 +36,6 @@ function CalendarEventUpdateFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
36
36
|
'description': json['description'] == null ? undefined : json['description'],
|
|
37
37
|
'start_time': json['start_time'] == null ? undefined : (new Date(json['start_time'])),
|
|
38
38
|
'end_time': json['end_time'] == null ? undefined : (new Date(json['end_time'])),
|
|
39
|
-
'calendar_id': json['calendar_id'] == null ? undefined : json['calendar_id'],
|
|
40
39
|
};
|
|
41
40
|
}
|
|
42
41
|
function CalendarEventUpdateToJSON(json) {
|
|
@@ -51,6 +50,5 @@ function CalendarEventUpdateToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
51
50
|
'description': value['description'],
|
|
52
51
|
'start_time': value['start_time'] == null ? value['start_time'] : value['start_time'].toISOString(),
|
|
53
52
|
'end_time': value['end_time'] == null ? value['end_time'] : value['end_time'].toISOString(),
|
|
54
|
-
'calendar_id': value['calendar_id'],
|
|
55
53
|
};
|
|
56
54
|
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tivadar AI Backend API
|
|
3
|
+
* Unified REST API for Tivadar AI Voice Agents platform
|
|
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 CalendarUpdate
|
|
16
|
+
*/
|
|
17
|
+
export interface CalendarUpdate {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CalendarUpdate
|
|
22
|
+
*/
|
|
23
|
+
voice_agent_id?: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the CalendarUpdate interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfCalendarUpdate(value: object): value is CalendarUpdate;
|
|
29
|
+
export declare function CalendarUpdateFromJSON(json: any): CalendarUpdate;
|
|
30
|
+
export declare function CalendarUpdateFromJSONTyped(json: any, ignoreDiscriminator: boolean): CalendarUpdate;
|
|
31
|
+
export declare function CalendarUpdateToJSON(json: any): CalendarUpdate;
|
|
32
|
+
export declare function CalendarUpdateToJSONTyped(value?: CalendarUpdate | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Tivadar AI Backend API
|
|
6
|
+
* Unified REST API for Tivadar AI Voice Agents platform
|
|
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.instanceOfCalendarUpdate = instanceOfCalendarUpdate;
|
|
17
|
+
exports.CalendarUpdateFromJSON = CalendarUpdateFromJSON;
|
|
18
|
+
exports.CalendarUpdateFromJSONTyped = CalendarUpdateFromJSONTyped;
|
|
19
|
+
exports.CalendarUpdateToJSON = CalendarUpdateToJSON;
|
|
20
|
+
exports.CalendarUpdateToJSONTyped = CalendarUpdateToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the CalendarUpdate interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfCalendarUpdate(value) {
|
|
25
|
+
return true;
|
|
26
|
+
}
|
|
27
|
+
function CalendarUpdateFromJSON(json) {
|
|
28
|
+
return CalendarUpdateFromJSONTyped(json, false);
|
|
29
|
+
}
|
|
30
|
+
function CalendarUpdateFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
|
+
if (json == null) {
|
|
32
|
+
return json;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
'voice_agent_id': json['voice_agent_id'] == null ? undefined : json['voice_agent_id'],
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
function CalendarUpdateToJSON(json) {
|
|
39
|
+
return CalendarUpdateToJSONTyped(json, false);
|
|
40
|
+
}
|
|
41
|
+
function CalendarUpdateToJSONTyped(value, ignoreDiscriminator = false) {
|
|
42
|
+
if (value == null) {
|
|
43
|
+
return value;
|
|
44
|
+
}
|
|
45
|
+
return {
|
|
46
|
+
'voice_agent_id': value['voice_agent_id'],
|
|
47
|
+
};
|
|
48
|
+
}
|
|
@@ -39,6 +39,12 @@ export interface OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModel
|
|
|
39
39
|
* @memberof OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerVoicesInner
|
|
40
40
|
*/
|
|
41
41
|
previewUrl?: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {Array<string>}
|
|
45
|
+
* @memberof OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerVoicesInner
|
|
46
|
+
*/
|
|
47
|
+
supportedLanguages?: Array<string>;
|
|
42
48
|
}
|
|
43
49
|
/**
|
|
44
50
|
* Check if a given object implements the OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerVoicesInner interface.
|
|
@@ -36,6 +36,7 @@ function OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerVo
|
|
|
36
36
|
'label': json['label'] == null ? undefined : json['label'],
|
|
37
37
|
'gender': json['gender'] == null ? undefined : json['gender'],
|
|
38
38
|
'previewUrl': json['previewUrl'] == null ? undefined : json['previewUrl'],
|
|
39
|
+
'supportedLanguages': json['supportedLanguages'] == null ? undefined : json['supportedLanguages'],
|
|
39
40
|
};
|
|
40
41
|
}
|
|
41
42
|
function OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerVoicesInnerToJSON(json) {
|
|
@@ -50,5 +51,6 @@ function OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerVo
|
|
|
50
51
|
'label': value['label'],
|
|
51
52
|
'gender': value['gender'],
|
|
52
53
|
'previewUrl': value['previewUrl'],
|
|
54
|
+
'supportedLanguages': value['supportedLanguages'],
|
|
53
55
|
};
|
|
54
56
|
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tivadar AI Backend API
|
|
3
|
+
* Unified REST API for Tivadar AI Voice Agents platform
|
|
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
|
+
import type { SttProviderModel } from './SttProviderModel';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface SttProvider
|
|
17
|
+
*/
|
|
18
|
+
export interface SttProvider {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof SttProvider
|
|
23
|
+
*/
|
|
24
|
+
id?: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof SttProvider
|
|
29
|
+
*/
|
|
30
|
+
label?: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {Array<SttProviderModel>}
|
|
34
|
+
* @memberof SttProvider
|
|
35
|
+
*/
|
|
36
|
+
models?: Array<SttProviderModel>;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the SttProvider interface.
|
|
40
|
+
*/
|
|
41
|
+
export declare function instanceOfSttProvider(value: object): value is SttProvider;
|
|
42
|
+
export declare function SttProviderFromJSON(json: any): SttProvider;
|
|
43
|
+
export declare function SttProviderFromJSONTyped(json: any, ignoreDiscriminator: boolean): SttProvider;
|
|
44
|
+
export declare function SttProviderToJSON(json: any): SttProvider;
|
|
45
|
+
export declare function SttProviderToJSONTyped(value?: SttProvider | null, ignoreDiscriminator?: boolean): any;
|