@l7mp/tivadar-ai-api-sdk 0.1.3 → 0.1.4

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.
Files changed (49) hide show
  1. package/README.md +1 -1
  2. package/dist/apis/STTProvidersApi.d.ts +3 -3
  3. package/dist/apis/STTProvidersApi.js +1 -1
  4. package/dist/apis/TTSProvidersApi.d.ts +3 -3
  5. package/dist/apis/TTSProvidersApi.js +1 -1
  6. package/dist/esm/apis/STTProvidersApi.d.ts +3 -3
  7. package/dist/esm/apis/STTProvidersApi.js +2 -2
  8. package/dist/esm/apis/TTSProvidersApi.d.ts +3 -3
  9. package/dist/esm/apis/TTSProvidersApi.js +2 -2
  10. package/dist/esm/models/OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerVoicesInner.d.ts +6 -0
  11. package/dist/esm/models/OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerVoicesInner.js +2 -0
  12. package/dist/esm/models/SttProvider.d.ts +45 -0
  13. package/dist/esm/models/SttProvider.js +46 -0
  14. package/dist/esm/models/SttProviderModel.d.ts +56 -0
  15. package/dist/esm/models/SttProviderModel.js +49 -0
  16. package/dist/esm/models/TtsProvider.d.ts +45 -0
  17. package/dist/esm/models/TtsProvider.js +46 -0
  18. package/dist/esm/models/TtsProviderModel.d.ts +51 -0
  19. package/dist/esm/models/TtsProviderModel.js +48 -0
  20. package/dist/esm/models/TtsProviderVoice.d.ts +56 -0
  21. package/dist/esm/models/TtsProviderVoice.js +49 -0
  22. package/dist/esm/models/index.d.ts +5 -5
  23. package/dist/esm/models/index.js +5 -5
  24. package/dist/models/OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerVoicesInner.d.ts +6 -0
  25. package/dist/models/OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerVoicesInner.js +2 -0
  26. package/dist/models/SttProvider.d.ts +45 -0
  27. package/dist/models/SttProvider.js +53 -0
  28. package/dist/models/SttProviderModel.d.ts +56 -0
  29. package/dist/models/SttProviderModel.js +56 -0
  30. package/dist/models/TtsProvider.d.ts +45 -0
  31. package/dist/models/TtsProvider.js +53 -0
  32. package/dist/models/TtsProviderModel.d.ts +51 -0
  33. package/dist/models/TtsProviderModel.js +55 -0
  34. package/dist/models/TtsProviderVoice.d.ts +56 -0
  35. package/dist/models/TtsProviderVoice.js +56 -0
  36. package/dist/models/index.d.ts +5 -5
  37. package/dist/models/index.js +5 -5
  38. package/package.json +1 -1
  39. package/src/apis/STTProvidersApi.ts +6 -6
  40. package/src/apis/TTSProvidersApi.ts +6 -6
  41. package/src/models/OrganizationsOrganizationIdSttProvidersGet200ResponseInnerModelsInner.ts +9 -9
  42. package/src/models/OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInner.ts +8 -8
  43. package/src/models/OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerVoicesInner.ts +16 -8
  44. package/src/models/SttProvider.ts +89 -0
  45. package/src/models/SttProviderModel.ts +97 -0
  46. package/src/models/TtsProvider.ts +89 -0
  47. package/src/models/TtsProviderModel.ts +97 -0
  48. package/src/models/TtsProviderVoice.ts +97 -0
  49. package/src/models/index.ts +5 -5
package/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  TypeScript/JavaScript SDK for the [Tivadar AI](https://tivadar.ai) Backend API. Provides a fully-typed, tree-shakeable client for managing Voice Agents, Chat Agents, RAG knowledge bases, SIP telephony, subscriptions, and more.
4
4
 
5
5
  - **Package**: `@l7mp/tivadar-ai-api-sdk`
6
- - **Version**: `0.1.3`
6
+ - **Version**: `0.1.4`
7
7
  - **Requires**: Node.js ≥ 20, or any modern browser / edge runtime with native `fetch`
8
8
  - **Formats**: CommonJS (`dist/index.js`) + ESM (`dist/esm/index.js`), with TypeScript declarations
9
9
 
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import type { OrganizationsOrganizationIdSttProvidersGet200ResponseInner } from '../models/index';
13
+ import type { SttProvider } from '../models/index';
14
14
  export interface OrganizationsOrganizationIdSttProvidersGetRequest {
15
15
  organizationId: string;
16
16
  }
@@ -22,10 +22,10 @@ export declare class STTProvidersApi extends runtime.BaseAPI {
22
22
  * Returns the list of available speech-to-text providers with their models and supported languages.
23
23
  * List available STT providers
24
24
  */
25
- organizationsOrganizationIdSttProvidersGetRaw(requestParameters: OrganizationsOrganizationIdSttProvidersGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<OrganizationsOrganizationIdSttProvidersGet200ResponseInner>>>;
25
+ organizationsOrganizationIdSttProvidersGetRaw(requestParameters: OrganizationsOrganizationIdSttProvidersGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<SttProvider>>>;
26
26
  /**
27
27
  * Returns the list of available speech-to-text providers with their models and supported languages.
28
28
  * List available STT providers
29
29
  */
30
- organizationsOrganizationIdSttProvidersGet(requestParameters: OrganizationsOrganizationIdSttProvidersGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<OrganizationsOrganizationIdSttProvidersGet200ResponseInner>>;
30
+ organizationsOrganizationIdSttProvidersGet(requestParameters: OrganizationsOrganizationIdSttProvidersGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<SttProvider>>;
31
31
  }
@@ -55,7 +55,7 @@ class STTProvidersApi extends runtime.BaseAPI {
55
55
  headers: headerParameters,
56
56
  query: queryParameters,
57
57
  }, initOverrides);
58
- return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(index_1.OrganizationsOrganizationIdSttProvidersGet200ResponseInnerFromJSON));
58
+ return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(index_1.SttProviderFromJSON));
59
59
  });
60
60
  }
61
61
  /**
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import type { OrganizationsOrganizationIdTtsProvidersGet200ResponseInner } from '../models/index';
13
+ import type { TtsProvider } from '../models/index';
14
14
  export interface OrganizationsOrganizationIdTtsProvidersGetRequest {
15
15
  organizationId: string;
16
16
  }
@@ -22,10 +22,10 @@ export declare class TTSProvidersApi extends runtime.BaseAPI {
22
22
  * Returns the list of available text-to-speech providers with their models, voices, and supported languages.
23
23
  * List available TTS providers
24
24
  */
25
- organizationsOrganizationIdTtsProvidersGetRaw(requestParameters: OrganizationsOrganizationIdTtsProvidersGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<OrganizationsOrganizationIdTtsProvidersGet200ResponseInner>>>;
25
+ organizationsOrganizationIdTtsProvidersGetRaw(requestParameters: OrganizationsOrganizationIdTtsProvidersGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<TtsProvider>>>;
26
26
  /**
27
27
  * Returns the list of available text-to-speech providers with their models, voices, and supported languages.
28
28
  * List available TTS providers
29
29
  */
30
- organizationsOrganizationIdTtsProvidersGet(requestParameters: OrganizationsOrganizationIdTtsProvidersGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<OrganizationsOrganizationIdTtsProvidersGet200ResponseInner>>;
30
+ organizationsOrganizationIdTtsProvidersGet(requestParameters: OrganizationsOrganizationIdTtsProvidersGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<TtsProvider>>;
31
31
  }
@@ -55,7 +55,7 @@ class TTSProvidersApi extends runtime.BaseAPI {
55
55
  headers: headerParameters,
56
56
  query: queryParameters,
57
57
  }, initOverrides);
58
- return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(index_1.OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerFromJSON));
58
+ return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(index_1.TtsProviderFromJSON));
59
59
  });
60
60
  }
61
61
  /**
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import type { OrganizationsOrganizationIdSttProvidersGet200ResponseInner } from '../models/index';
13
+ import type { SttProvider } from '../models/index';
14
14
  export interface OrganizationsOrganizationIdSttProvidersGetRequest {
15
15
  organizationId: string;
16
16
  }
@@ -22,10 +22,10 @@ export declare class STTProvidersApi extends runtime.BaseAPI {
22
22
  * Returns the list of available speech-to-text providers with their models and supported languages.
23
23
  * List available STT providers
24
24
  */
25
- organizationsOrganizationIdSttProvidersGetRaw(requestParameters: OrganizationsOrganizationIdSttProvidersGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<OrganizationsOrganizationIdSttProvidersGet200ResponseInner>>>;
25
+ organizationsOrganizationIdSttProvidersGetRaw(requestParameters: OrganizationsOrganizationIdSttProvidersGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<SttProvider>>>;
26
26
  /**
27
27
  * Returns the list of available speech-to-text providers with their models and supported languages.
28
28
  * List available STT providers
29
29
  */
30
- organizationsOrganizationIdSttProvidersGet(requestParameters: OrganizationsOrganizationIdSttProvidersGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<OrganizationsOrganizationIdSttProvidersGet200ResponseInner>>;
30
+ organizationsOrganizationIdSttProvidersGet(requestParameters: OrganizationsOrganizationIdSttProvidersGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<SttProvider>>;
31
31
  }
@@ -21,7 +21,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
21
21
  });
22
22
  };
23
23
  import * as runtime from '../runtime';
24
- import { OrganizationsOrganizationIdSttProvidersGet200ResponseInnerFromJSON, } from '../models/index';
24
+ import { SttProviderFromJSON, } from '../models/index';
25
25
  /**
26
26
  *
27
27
  */
@@ -52,7 +52,7 @@ export class STTProvidersApi extends runtime.BaseAPI {
52
52
  headers: headerParameters,
53
53
  query: queryParameters,
54
54
  }, initOverrides);
55
- return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(OrganizationsOrganizationIdSttProvidersGet200ResponseInnerFromJSON));
55
+ return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(SttProviderFromJSON));
56
56
  });
57
57
  }
58
58
  /**
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import type { OrganizationsOrganizationIdTtsProvidersGet200ResponseInner } from '../models/index';
13
+ import type { TtsProvider } from '../models/index';
14
14
  export interface OrganizationsOrganizationIdTtsProvidersGetRequest {
15
15
  organizationId: string;
16
16
  }
@@ -22,10 +22,10 @@ export declare class TTSProvidersApi extends runtime.BaseAPI {
22
22
  * Returns the list of available text-to-speech providers with their models, voices, and supported languages.
23
23
  * List available TTS providers
24
24
  */
25
- organizationsOrganizationIdTtsProvidersGetRaw(requestParameters: OrganizationsOrganizationIdTtsProvidersGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<OrganizationsOrganizationIdTtsProvidersGet200ResponseInner>>>;
25
+ organizationsOrganizationIdTtsProvidersGetRaw(requestParameters: OrganizationsOrganizationIdTtsProvidersGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<TtsProvider>>>;
26
26
  /**
27
27
  * Returns the list of available text-to-speech providers with their models, voices, and supported languages.
28
28
  * List available TTS providers
29
29
  */
30
- organizationsOrganizationIdTtsProvidersGet(requestParameters: OrganizationsOrganizationIdTtsProvidersGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<OrganizationsOrganizationIdTtsProvidersGet200ResponseInner>>;
30
+ organizationsOrganizationIdTtsProvidersGet(requestParameters: OrganizationsOrganizationIdTtsProvidersGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<TtsProvider>>;
31
31
  }
@@ -21,7 +21,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
21
21
  });
22
22
  };
23
23
  import * as runtime from '../runtime';
24
- import { OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerFromJSON, } from '../models/index';
24
+ import { TtsProviderFromJSON, } from '../models/index';
25
25
  /**
26
26
  *
27
27
  */
@@ -52,7 +52,7 @@ export class TTSProvidersApi extends runtime.BaseAPI {
52
52
  headers: headerParameters,
53
53
  query: queryParameters,
54
54
  }, initOverrides);
55
- return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerFromJSON));
55
+ return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(TtsProviderFromJSON));
56
56
  });
57
57
  }
58
58
  /**
@@ -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.
@@ -29,6 +29,7 @@ export function OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModels
29
29
  'label': json['label'] == null ? undefined : json['label'],
30
30
  'gender': json['gender'] == null ? undefined : json['gender'],
31
31
  'previewUrl': json['previewUrl'] == null ? undefined : json['previewUrl'],
32
+ 'supportedLanguages': json['supportedLanguages'] == null ? undefined : json['supportedLanguages'],
32
33
  };
33
34
  }
34
35
  export function OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModelsInnerVoicesInnerToJSON(json) {
@@ -43,5 +44,6 @@ export function OrganizationsOrganizationIdTtsProvidersGet200ResponseInnerModels
43
44
  'label': value['label'],
44
45
  'gender': value['gender'],
45
46
  'previewUrl': value['previewUrl'],
47
+ 'supportedLanguages': value['supportedLanguages'],
46
48
  };
47
49
  }
@@ -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;
@@ -0,0 +1,46 @@
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 { SttProviderModelFromJSON, SttProviderModelToJSON, } from './SttProviderModel';
15
+ /**
16
+ * Check if a given object implements the SttProvider interface.
17
+ */
18
+ export function instanceOfSttProvider(value) {
19
+ return true;
20
+ }
21
+ export function SttProviderFromJSON(json) {
22
+ return SttProviderFromJSONTyped(json, false);
23
+ }
24
+ export function SttProviderFromJSONTyped(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
+ 'models': json['models'] == null ? undefined : (json['models'].map(SttProviderModelFromJSON)),
32
+ };
33
+ }
34
+ export function SttProviderToJSON(json) {
35
+ return SttProviderToJSONTyped(json, false);
36
+ }
37
+ export function SttProviderToJSONTyped(value, ignoreDiscriminator = false) {
38
+ if (value == null) {
39
+ return value;
40
+ }
41
+ return {
42
+ 'id': value['id'],
43
+ 'label': value['label'],
44
+ 'models': value['models'] == null ? undefined : (value['models'].map(SttProviderModelToJSON)),
45
+ };
46
+ }
@@ -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 SttProviderModel
16
+ */
17
+ export interface SttProviderModel {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof SttProviderModel
22
+ */
23
+ id?: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof SttProviderModel
28
+ */
29
+ label?: string;
30
+ /**
31
+ *
32
+ * @type {Array<string>}
33
+ * @memberof SttProviderModel
34
+ */
35
+ supportedLanguages?: Array<string>;
36
+ /**
37
+ *
38
+ * @type {boolean}
39
+ * @memberof SttProviderModel
40
+ */
41
+ streaming?: boolean;
42
+ /**
43
+ *
44
+ * @type {boolean}
45
+ * @memberof SttProviderModel
46
+ */
47
+ batch?: boolean;
48
+ }
49
+ /**
50
+ * Check if a given object implements the SttProviderModel interface.
51
+ */
52
+ export declare function instanceOfSttProviderModel(value: object): value is SttProviderModel;
53
+ export declare function SttProviderModelFromJSON(json: any): SttProviderModel;
54
+ export declare function SttProviderModelFromJSONTyped(json: any, ignoreDiscriminator: boolean): SttProviderModel;
55
+ export declare function SttProviderModelToJSON(json: any): SttProviderModel;
56
+ export declare function SttProviderModelToJSONTyped(value?: SttProviderModel | 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 SttProviderModel interface.
16
+ */
17
+ export function instanceOfSttProviderModel(value) {
18
+ return true;
19
+ }
20
+ export function SttProviderModelFromJSON(json) {
21
+ return SttProviderModelFromJSONTyped(json, false);
22
+ }
23
+ export function SttProviderModelFromJSONTyped(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
+ 'supportedLanguages': json['supportedLanguages'] == null ? undefined : json['supportedLanguages'],
31
+ 'streaming': json['streaming'] == null ? undefined : json['streaming'],
32
+ 'batch': json['batch'] == null ? undefined : json['batch'],
33
+ };
34
+ }
35
+ export function SttProviderModelToJSON(json) {
36
+ return SttProviderModelToJSONTyped(json, false);
37
+ }
38
+ export function SttProviderModelToJSONTyped(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
+ 'streaming': value['streaming'],
47
+ 'batch': value['batch'],
48
+ };
49
+ }
@@ -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 { TtsProviderModel } from './TtsProviderModel';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface TtsProvider
17
+ */
18
+ export interface TtsProvider {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof TtsProvider
23
+ */
24
+ id?: string;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof TtsProvider
29
+ */
30
+ label?: string;
31
+ /**
32
+ *
33
+ * @type {Array<TtsProviderModel>}
34
+ * @memberof TtsProvider
35
+ */
36
+ models?: Array<TtsProviderModel>;
37
+ }
38
+ /**
39
+ * Check if a given object implements the TtsProvider interface.
40
+ */
41
+ export declare function instanceOfTtsProvider(value: object): value is TtsProvider;
42
+ export declare function TtsProviderFromJSON(json: any): TtsProvider;
43
+ export declare function TtsProviderFromJSONTyped(json: any, ignoreDiscriminator: boolean): TtsProvider;
44
+ export declare function TtsProviderToJSON(json: any): TtsProvider;
45
+ export declare function TtsProviderToJSONTyped(value?: TtsProvider | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,46 @@
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 { TtsProviderModelFromJSON, TtsProviderModelToJSON, } from './TtsProviderModel';
15
+ /**
16
+ * Check if a given object implements the TtsProvider interface.
17
+ */
18
+ export function instanceOfTtsProvider(value) {
19
+ return true;
20
+ }
21
+ export function TtsProviderFromJSON(json) {
22
+ return TtsProviderFromJSONTyped(json, false);
23
+ }
24
+ export function TtsProviderFromJSONTyped(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
+ 'models': json['models'] == null ? undefined : (json['models'].map(TtsProviderModelFromJSON)),
32
+ };
33
+ }
34
+ export function TtsProviderToJSON(json) {
35
+ return TtsProviderToJSONTyped(json, false);
36
+ }
37
+ export function TtsProviderToJSONTyped(value, ignoreDiscriminator = false) {
38
+ if (value == null) {
39
+ return value;
40
+ }
41
+ return {
42
+ 'id': value['id'],
43
+ 'label': value['label'],
44
+ 'models': value['models'] == null ? undefined : (value['models'].map(TtsProviderModelToJSON)),
45
+ };
46
+ }
@@ -0,0 +1,51 @@
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 { TtsProviderVoice } from './TtsProviderVoice';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface TtsProviderModel
17
+ */
18
+ export interface TtsProviderModel {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof TtsProviderModel
23
+ */
24
+ id?: string;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof TtsProviderModel
29
+ */
30
+ label?: string;
31
+ /**
32
+ *
33
+ * @type {Array<string>}
34
+ * @memberof TtsProviderModel
35
+ */
36
+ supportedLanguages?: Array<string>;
37
+ /**
38
+ *
39
+ * @type {Array<TtsProviderVoice>}
40
+ * @memberof TtsProviderModel
41
+ */
42
+ voices?: Array<TtsProviderVoice>;
43
+ }
44
+ /**
45
+ * Check if a given object implements the TtsProviderModel interface.
46
+ */
47
+ export declare function instanceOfTtsProviderModel(value: object): value is TtsProviderModel;
48
+ export declare function TtsProviderModelFromJSON(json: any): TtsProviderModel;
49
+ export declare function TtsProviderModelFromJSONTyped(json: any, ignoreDiscriminator: boolean): TtsProviderModel;
50
+ export declare function TtsProviderModelToJSON(json: any): TtsProviderModel;
51
+ export declare function TtsProviderModelToJSONTyped(value?: TtsProviderModel | null, ignoreDiscriminator?: boolean): any;
@@ -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;