@l7mp/tivadar-ai-api-sdk 0.2.5 → 0.2.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 +29 -2
- package/dist/api-client.js +24 -1
- package/dist/apis/PhonebookApi.d.ts +133 -0
- package/dist/apis/PhonebookApi.js +434 -0
- package/dist/apis/RAGApi.d.ts +15 -13
- package/dist/apis/RAGApi.js +47 -45
- package/dist/apis/ToolsApi.d.ts +68 -0
- package/dist/apis/ToolsApi.js +205 -0
- package/dist/apis/index.d.ts +2 -0
- package/dist/apis/index.js +2 -0
- package/dist/esm/api-client.d.ts +29 -2
- package/dist/esm/api-client.js +24 -1
- package/dist/esm/apis/PhonebookApi.d.ts +133 -0
- package/dist/esm/apis/PhonebookApi.js +430 -0
- package/dist/esm/apis/RAGApi.d.ts +15 -13
- package/dist/esm/apis/RAGApi.js +47 -45
- package/dist/esm/apis/ToolsApi.d.ts +68 -0
- package/dist/esm/apis/ToolsApi.js +201 -0
- package/dist/esm/apis/index.d.ts +2 -0
- package/dist/esm/apis/index.js +2 -0
- package/dist/esm/models/AgentTool.d.ts +79 -0
- package/dist/esm/models/AgentTool.js +66 -0
- package/dist/esm/models/AgentToolUpsert.d.ts +40 -0
- package/dist/esm/models/AgentToolUpsert.js +45 -0
- package/dist/esm/models/Notification.d.ts +16 -17
- package/dist/esm/models/Notification.js +8 -8
- package/dist/esm/models/NotificationCreate.d.ts +3 -4
- package/dist/esm/models/NotificationCreate.js +4 -2
- package/dist/esm/models/NotificationLocalizedContentValue.d.ts +38 -0
- package/dist/esm/models/NotificationLocalizedContentValue.js +47 -0
- package/dist/esm/models/NotificationUpdate.d.ts +3 -4
- package/dist/esm/models/NotificationUpdate.js +4 -2
- package/dist/esm/models/Phonebook.d.ts +56 -0
- package/dist/esm/models/Phonebook.js +59 -0
- package/dist/esm/models/PhonebookEntry.d.ts +89 -0
- package/dist/esm/models/PhonebookEntry.js +79 -0
- package/dist/esm/models/PhonebookEntryCreate.d.ts +50 -0
- package/dist/esm/models/PhonebookEntryCreate.js +51 -0
- package/dist/esm/models/PhonebookEntryUpdate.d.ts +50 -0
- package/dist/esm/models/PhonebookEntryUpdate.js +47 -0
- package/dist/esm/models/PhonebookImportResult.d.ts +57 -0
- package/dist/esm/models/PhonebookImportResult.js +60 -0
- package/dist/esm/models/PhonebookImportResultErrorsInner.d.ts +38 -0
- package/dist/esm/models/PhonebookImportResultErrorsInner.js +47 -0
- package/dist/esm/models/PhonebookUpdate.d.ts +32 -0
- package/dist/esm/models/PhonebookUpdate.js +41 -0
- package/dist/esm/models/Tool.d.ts +102 -0
- package/dist/esm/models/Tool.js +77 -0
- package/dist/esm/models/ToolCreate.d.ts +84 -0
- package/dist/esm/models/ToolCreate.js +63 -0
- package/dist/esm/models/ToolUpdate.d.ts +78 -0
- package/dist/esm/models/ToolUpdate.js +55 -0
- package/dist/esm/models/UserPreferences.d.ts +1 -1
- package/dist/esm/models/UserPreferences.js +3 -1
- package/dist/esm/models/UserPreferencesUpdate.d.ts +1 -1
- package/dist/esm/models/UserPreferencesUpdate.js +3 -1
- package/dist/esm/models/index.d.ts +13 -0
- package/dist/esm/models/index.js +13 -0
- package/dist/models/AgentTool.d.ts +79 -0
- package/dist/models/AgentTool.js +73 -0
- package/dist/models/AgentToolUpsert.d.ts +40 -0
- package/dist/models/AgentToolUpsert.js +52 -0
- package/dist/models/Notification.d.ts +16 -17
- package/dist/models/Notification.js +8 -8
- package/dist/models/NotificationCreate.d.ts +3 -4
- package/dist/models/NotificationCreate.js +4 -2
- package/dist/models/NotificationLocalizedContentValue.d.ts +38 -0
- package/dist/models/NotificationLocalizedContentValue.js +54 -0
- package/dist/models/NotificationUpdate.d.ts +3 -4
- package/dist/models/NotificationUpdate.js +4 -2
- package/dist/models/Phonebook.d.ts +56 -0
- package/dist/models/Phonebook.js +66 -0
- package/dist/models/PhonebookEntry.d.ts +89 -0
- package/dist/models/PhonebookEntry.js +87 -0
- package/dist/models/PhonebookEntryCreate.d.ts +50 -0
- package/dist/models/PhonebookEntryCreate.js +58 -0
- package/dist/models/PhonebookEntryUpdate.d.ts +50 -0
- package/dist/models/PhonebookEntryUpdate.js +54 -0
- package/dist/models/PhonebookImportResult.d.ts +57 -0
- package/dist/models/PhonebookImportResult.js +67 -0
- package/dist/models/PhonebookImportResultErrorsInner.d.ts +38 -0
- package/dist/models/PhonebookImportResultErrorsInner.js +54 -0
- package/dist/models/PhonebookUpdate.d.ts +32 -0
- package/dist/models/PhonebookUpdate.js +48 -0
- package/dist/models/Tool.d.ts +102 -0
- package/dist/models/Tool.js +84 -0
- package/dist/models/ToolCreate.d.ts +84 -0
- package/dist/models/ToolCreate.js +70 -0
- package/dist/models/ToolUpdate.d.ts +78 -0
- package/dist/models/ToolUpdate.js +62 -0
- package/dist/models/UserPreferences.d.ts +1 -1
- package/dist/models/UserPreferences.js +3 -1
- package/dist/models/UserPreferencesUpdate.d.ts +1 -1
- package/dist/models/UserPreferencesUpdate.js +3 -1
- package/dist/models/index.d.ts +13 -0
- package/dist/models/index.js +13 -0
- package/package.json +1 -1
- package/src/api-client.ts +54 -2
- package/src/apis/PhonebookApi.ts +599 -0
- package/src/apis/RAGApi.ts +69 -67
- package/src/apis/ToolsApi.ts +287 -0
- package/src/apis/index.ts +2 -0
- package/src/models/AgentTool.ts +134 -0
- package/src/models/AgentToolUpsert.ts +74 -0
- package/src/models/CalendarEvent.ts +1 -0
- package/src/models/CalendarEventCreate.ts +1 -0
- package/src/models/CalendarEventUpdate.ts +1 -0
- package/src/models/Call.ts +1 -0
- package/src/models/CallCreate.ts +1 -0
- package/src/models/CallUpdate.ts +1 -0
- package/src/models/Notification.ts +29 -22
- package/src/models/NotificationCreate.ts +12 -4
- package/src/models/NotificationLocalizedContentValue.ts +75 -0
- package/src/models/NotificationUpdate.ts +12 -4
- package/src/models/Phonebook.ts +102 -0
- package/src/models/PhonebookEntry.ts +148 -0
- package/src/models/PhonebookEntryCreate.ts +91 -0
- package/src/models/PhonebookEntryUpdate.ts +89 -0
- package/src/models/PhonebookImportResult.ts +110 -0
- package/src/models/PhonebookImportResultErrorsInner.ts +75 -0
- package/src/models/PhonebookUpdate.ts +65 -0
- package/src/models/Tool.ts +160 -0
- package/src/models/ToolCreate.ts +132 -0
- package/src/models/ToolUpdate.ts +121 -0
- package/src/models/UserPreferences.ts +4 -4
- package/src/models/UserPreferencesUpdate.ts +4 -4
- package/src/models/index.ts +13 -0
|
@@ -0,0 +1,201 @@
|
|
|
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
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
15
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
16
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
17
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
18
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
19
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
20
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
21
|
+
});
|
|
22
|
+
};
|
|
23
|
+
import * as runtime from '../runtime';
|
|
24
|
+
import { AgentToolFromJSON, AgentToolUpsertToJSON, ToolFromJSON, } from '../models/index';
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
export class ToolsApi extends runtime.BaseAPI {
|
|
29
|
+
/**
|
|
30
|
+
* List available tools in the catalog
|
|
31
|
+
*/
|
|
32
|
+
organizationsOrganizationIdToolsGetRaw(requestParameters, initOverrides) {
|
|
33
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
34
|
+
if (requestParameters['organizationId'] == null) {
|
|
35
|
+
throw new runtime.RequiredError('organizationId', 'Required parameter "organizationId" was null or undefined when calling organizationsOrganizationIdToolsGet().');
|
|
36
|
+
}
|
|
37
|
+
const queryParameters = {};
|
|
38
|
+
const headerParameters = {};
|
|
39
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
40
|
+
const token = this.configuration.accessToken;
|
|
41
|
+
const tokenString = yield token("bearerAuth", []);
|
|
42
|
+
if (tokenString) {
|
|
43
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
let urlPath = `/organizations/{organizationId}/tools`;
|
|
47
|
+
urlPath = urlPath.replace(`{${"organizationId"}}`, encodeURIComponent(String(requestParameters['organizationId'])));
|
|
48
|
+
const response = yield this.request({
|
|
49
|
+
path: urlPath,
|
|
50
|
+
method: 'GET',
|
|
51
|
+
headers: headerParameters,
|
|
52
|
+
query: queryParameters,
|
|
53
|
+
}, initOverrides);
|
|
54
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(ToolFromJSON));
|
|
55
|
+
});
|
|
56
|
+
}
|
|
57
|
+
/**
|
|
58
|
+
* List available tools in the catalog
|
|
59
|
+
*/
|
|
60
|
+
organizationsOrganizationIdToolsGet(requestParameters, initOverrides) {
|
|
61
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
62
|
+
const response = yield this.organizationsOrganizationIdToolsGetRaw(requestParameters, initOverrides);
|
|
63
|
+
return yield response.value();
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
/**
|
|
67
|
+
* List tools enabled (or previously configured) for a voice agent
|
|
68
|
+
*/
|
|
69
|
+
organizationsOrganizationIdVoiceAgentsVoiceAgentIdToolsGetRaw(requestParameters, initOverrides) {
|
|
70
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
71
|
+
if (requestParameters['organizationId'] == null) {
|
|
72
|
+
throw new runtime.RequiredError('organizationId', 'Required parameter "organizationId" was null or undefined when calling organizationsOrganizationIdVoiceAgentsVoiceAgentIdToolsGet().');
|
|
73
|
+
}
|
|
74
|
+
if (requestParameters['voiceAgentId'] == null) {
|
|
75
|
+
throw new runtime.RequiredError('voiceAgentId', 'Required parameter "voiceAgentId" was null or undefined when calling organizationsOrganizationIdVoiceAgentsVoiceAgentIdToolsGet().');
|
|
76
|
+
}
|
|
77
|
+
const queryParameters = {};
|
|
78
|
+
const headerParameters = {};
|
|
79
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
80
|
+
const token = this.configuration.accessToken;
|
|
81
|
+
const tokenString = yield token("bearerAuth", []);
|
|
82
|
+
if (tokenString) {
|
|
83
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
let urlPath = `/organizations/{organizationId}/voice-agents/{voiceAgentId}/tools`;
|
|
87
|
+
urlPath = urlPath.replace(`{${"organizationId"}}`, encodeURIComponent(String(requestParameters['organizationId'])));
|
|
88
|
+
urlPath = urlPath.replace(`{${"voiceAgentId"}}`, encodeURIComponent(String(requestParameters['voiceAgentId'])));
|
|
89
|
+
const response = yield this.request({
|
|
90
|
+
path: urlPath,
|
|
91
|
+
method: 'GET',
|
|
92
|
+
headers: headerParameters,
|
|
93
|
+
query: queryParameters,
|
|
94
|
+
}, initOverrides);
|
|
95
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => jsonValue.map(AgentToolFromJSON));
|
|
96
|
+
});
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* List tools enabled (or previously configured) for a voice agent
|
|
100
|
+
*/
|
|
101
|
+
organizationsOrganizationIdVoiceAgentsVoiceAgentIdToolsGet(requestParameters, initOverrides) {
|
|
102
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
103
|
+
const response = yield this.organizationsOrganizationIdVoiceAgentsVoiceAgentIdToolsGetRaw(requestParameters, initOverrides);
|
|
104
|
+
return yield response.value();
|
|
105
|
+
});
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* Remove a tool configuration from a voice agent
|
|
109
|
+
*/
|
|
110
|
+
organizationsOrganizationIdVoiceAgentsVoiceAgentIdToolsToolNameDeleteRaw(requestParameters, initOverrides) {
|
|
111
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
112
|
+
if (requestParameters['organizationId'] == null) {
|
|
113
|
+
throw new runtime.RequiredError('organizationId', 'Required parameter "organizationId" was null or undefined when calling organizationsOrganizationIdVoiceAgentsVoiceAgentIdToolsToolNameDelete().');
|
|
114
|
+
}
|
|
115
|
+
if (requestParameters['voiceAgentId'] == null) {
|
|
116
|
+
throw new runtime.RequiredError('voiceAgentId', 'Required parameter "voiceAgentId" was null or undefined when calling organizationsOrganizationIdVoiceAgentsVoiceAgentIdToolsToolNameDelete().');
|
|
117
|
+
}
|
|
118
|
+
if (requestParameters['toolName'] == null) {
|
|
119
|
+
throw new runtime.RequiredError('toolName', 'Required parameter "toolName" was null or undefined when calling organizationsOrganizationIdVoiceAgentsVoiceAgentIdToolsToolNameDelete().');
|
|
120
|
+
}
|
|
121
|
+
const queryParameters = {};
|
|
122
|
+
const headerParameters = {};
|
|
123
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
124
|
+
const token = this.configuration.accessToken;
|
|
125
|
+
const tokenString = yield token("bearerAuth", []);
|
|
126
|
+
if (tokenString) {
|
|
127
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
let urlPath = `/organizations/{organizationId}/voice-agents/{voiceAgentId}/tools/{toolName}`;
|
|
131
|
+
urlPath = urlPath.replace(`{${"organizationId"}}`, encodeURIComponent(String(requestParameters['organizationId'])));
|
|
132
|
+
urlPath = urlPath.replace(`{${"voiceAgentId"}}`, encodeURIComponent(String(requestParameters['voiceAgentId'])));
|
|
133
|
+
urlPath = urlPath.replace(`{${"toolName"}}`, encodeURIComponent(String(requestParameters['toolName'])));
|
|
134
|
+
const response = yield this.request({
|
|
135
|
+
path: urlPath,
|
|
136
|
+
method: 'DELETE',
|
|
137
|
+
headers: headerParameters,
|
|
138
|
+
query: queryParameters,
|
|
139
|
+
}, initOverrides);
|
|
140
|
+
return new runtime.VoidApiResponse(response);
|
|
141
|
+
});
|
|
142
|
+
}
|
|
143
|
+
/**
|
|
144
|
+
* Remove a tool configuration from a voice agent
|
|
145
|
+
*/
|
|
146
|
+
organizationsOrganizationIdVoiceAgentsVoiceAgentIdToolsToolNameDelete(requestParameters, initOverrides) {
|
|
147
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
148
|
+
yield this.organizationsOrganizationIdVoiceAgentsVoiceAgentIdToolsToolNameDeleteRaw(requestParameters, initOverrides);
|
|
149
|
+
});
|
|
150
|
+
}
|
|
151
|
+
/**
|
|
152
|
+
* Enable or update a tool for a voice agent
|
|
153
|
+
*/
|
|
154
|
+
organizationsOrganizationIdVoiceAgentsVoiceAgentIdToolsToolNamePutRaw(requestParameters, initOverrides) {
|
|
155
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
156
|
+
if (requestParameters['organizationId'] == null) {
|
|
157
|
+
throw new runtime.RequiredError('organizationId', 'Required parameter "organizationId" was null or undefined when calling organizationsOrganizationIdVoiceAgentsVoiceAgentIdToolsToolNamePut().');
|
|
158
|
+
}
|
|
159
|
+
if (requestParameters['voiceAgentId'] == null) {
|
|
160
|
+
throw new runtime.RequiredError('voiceAgentId', 'Required parameter "voiceAgentId" was null or undefined when calling organizationsOrganizationIdVoiceAgentsVoiceAgentIdToolsToolNamePut().');
|
|
161
|
+
}
|
|
162
|
+
if (requestParameters['toolName'] == null) {
|
|
163
|
+
throw new runtime.RequiredError('toolName', 'Required parameter "toolName" was null or undefined when calling organizationsOrganizationIdVoiceAgentsVoiceAgentIdToolsToolNamePut().');
|
|
164
|
+
}
|
|
165
|
+
if (requestParameters['agentToolUpsert'] == null) {
|
|
166
|
+
throw new runtime.RequiredError('agentToolUpsert', 'Required parameter "agentToolUpsert" was null or undefined when calling organizationsOrganizationIdVoiceAgentsVoiceAgentIdToolsToolNamePut().');
|
|
167
|
+
}
|
|
168
|
+
const queryParameters = {};
|
|
169
|
+
const headerParameters = {};
|
|
170
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
171
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
172
|
+
const token = this.configuration.accessToken;
|
|
173
|
+
const tokenString = yield token("bearerAuth", []);
|
|
174
|
+
if (tokenString) {
|
|
175
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
let urlPath = `/organizations/{organizationId}/voice-agents/{voiceAgentId}/tools/{toolName}`;
|
|
179
|
+
urlPath = urlPath.replace(`{${"organizationId"}}`, encodeURIComponent(String(requestParameters['organizationId'])));
|
|
180
|
+
urlPath = urlPath.replace(`{${"voiceAgentId"}}`, encodeURIComponent(String(requestParameters['voiceAgentId'])));
|
|
181
|
+
urlPath = urlPath.replace(`{${"toolName"}}`, encodeURIComponent(String(requestParameters['toolName'])));
|
|
182
|
+
const response = yield this.request({
|
|
183
|
+
path: urlPath,
|
|
184
|
+
method: 'PUT',
|
|
185
|
+
headers: headerParameters,
|
|
186
|
+
query: queryParameters,
|
|
187
|
+
body: AgentToolUpsertToJSON(requestParameters['agentToolUpsert']),
|
|
188
|
+
}, initOverrides);
|
|
189
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => AgentToolFromJSON(jsonValue));
|
|
190
|
+
});
|
|
191
|
+
}
|
|
192
|
+
/**
|
|
193
|
+
* Enable or update a tool for a voice agent
|
|
194
|
+
*/
|
|
195
|
+
organizationsOrganizationIdVoiceAgentsVoiceAgentIdToolsToolNamePut(requestParameters, initOverrides) {
|
|
196
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
197
|
+
const response = yield this.organizationsOrganizationIdVoiceAgentsVoiceAgentIdToolsToolNamePutRaw(requestParameters, initOverrides);
|
|
198
|
+
return yield response.value();
|
|
199
|
+
});
|
|
200
|
+
}
|
|
201
|
+
}
|
package/dist/esm/apis/index.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ export * from './LLMProvidersApi';
|
|
|
8
8
|
export * from './MembersApi';
|
|
9
9
|
export * from './NotificationsApi';
|
|
10
10
|
export * from './OrganizationsApi';
|
|
11
|
+
export * from './PhonebookApi';
|
|
11
12
|
export * from './PlaygroundApi';
|
|
12
13
|
export * from './ProfileApi';
|
|
13
14
|
export * from './RAGApi';
|
|
@@ -16,4 +17,5 @@ export * from './SIPApi';
|
|
|
16
17
|
export * from './STTProvidersApi';
|
|
17
18
|
export * from './SubscriptionApi';
|
|
18
19
|
export * from './TTSProvidersApi';
|
|
20
|
+
export * from './ToolsApi';
|
|
19
21
|
export * from './VoiceAgentsApi';
|
package/dist/esm/apis/index.js
CHANGED
|
@@ -10,6 +10,7 @@ export * from './LLMProvidersApi';
|
|
|
10
10
|
export * from './MembersApi';
|
|
11
11
|
export * from './NotificationsApi';
|
|
12
12
|
export * from './OrganizationsApi';
|
|
13
|
+
export * from './PhonebookApi';
|
|
13
14
|
export * from './PlaygroundApi';
|
|
14
15
|
export * from './ProfileApi';
|
|
15
16
|
export * from './RAGApi';
|
|
@@ -18,4 +19,5 @@ export * from './SIPApi';
|
|
|
18
19
|
export * from './STTProvidersApi';
|
|
19
20
|
export * from './SubscriptionApi';
|
|
20
21
|
export * from './TTSProvidersApi';
|
|
22
|
+
export * from './ToolsApi';
|
|
21
23
|
export * from './VoiceAgentsApi';
|
|
@@ -0,0 +1,79 @@
|
|
|
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 { Tool } from './Tool';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface AgentTool
|
|
17
|
+
*/
|
|
18
|
+
export interface AgentTool {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof AgentTool
|
|
23
|
+
*/
|
|
24
|
+
id: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof AgentTool
|
|
29
|
+
*/
|
|
30
|
+
voice_agent_id: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {Tool}
|
|
34
|
+
* @memberof AgentTool
|
|
35
|
+
*/
|
|
36
|
+
tool: Tool;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {boolean}
|
|
40
|
+
* @memberof AgentTool
|
|
41
|
+
*/
|
|
42
|
+
enabled: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* Non-secret config values. Secret fields are stored encrypted server-side and returned as `null` placeholders for fields that have a value set.
|
|
45
|
+
* @type {{ [key: string]: any; }}
|
|
46
|
+
* @memberof AgentTool
|
|
47
|
+
*/
|
|
48
|
+
config: {
|
|
49
|
+
[key: string]: any;
|
|
50
|
+
};
|
|
51
|
+
/**
|
|
52
|
+
* For each secret field, whether a value is currently stored.
|
|
53
|
+
* @type {{ [key: string]: boolean; }}
|
|
54
|
+
* @memberof AgentTool
|
|
55
|
+
*/
|
|
56
|
+
secret_field_status?: {
|
|
57
|
+
[key: string]: boolean;
|
|
58
|
+
};
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {Date}
|
|
62
|
+
* @memberof AgentTool
|
|
63
|
+
*/
|
|
64
|
+
created_at?: Date;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @type {Date}
|
|
68
|
+
* @memberof AgentTool
|
|
69
|
+
*/
|
|
70
|
+
updated_at?: Date;
|
|
71
|
+
}
|
|
72
|
+
/**
|
|
73
|
+
* Check if a given object implements the AgentTool interface.
|
|
74
|
+
*/
|
|
75
|
+
export declare function instanceOfAgentTool(value: object): value is AgentTool;
|
|
76
|
+
export declare function AgentToolFromJSON(json: any): AgentTool;
|
|
77
|
+
export declare function AgentToolFromJSONTyped(json: any, ignoreDiscriminator: boolean): AgentTool;
|
|
78
|
+
export declare function AgentToolToJSON(json: any): AgentTool;
|
|
79
|
+
export declare function AgentToolToJSONTyped(value?: AgentTool | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,66 @@
|
|
|
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 { ToolFromJSON, ToolToJSON, } from './Tool';
|
|
15
|
+
/**
|
|
16
|
+
* Check if a given object implements the AgentTool interface.
|
|
17
|
+
*/
|
|
18
|
+
export function instanceOfAgentTool(value) {
|
|
19
|
+
if (!('id' in value) || value['id'] === undefined)
|
|
20
|
+
return false;
|
|
21
|
+
if (!('voice_agent_id' in value) || value['voice_agent_id'] === undefined)
|
|
22
|
+
return false;
|
|
23
|
+
if (!('tool' in value) || value['tool'] === undefined)
|
|
24
|
+
return false;
|
|
25
|
+
if (!('enabled' in value) || value['enabled'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('config' in value) || value['config'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
export function AgentToolFromJSON(json) {
|
|
32
|
+
return AgentToolFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
export function AgentToolFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'id': json['id'],
|
|
40
|
+
'voice_agent_id': json['voice_agent_id'],
|
|
41
|
+
'tool': ToolFromJSON(json['tool']),
|
|
42
|
+
'enabled': json['enabled'],
|
|
43
|
+
'config': json['config'],
|
|
44
|
+
'secret_field_status': json['secret_field_status'] == null ? undefined : json['secret_field_status'],
|
|
45
|
+
'created_at': json['created_at'] == null ? undefined : (new Date(json['created_at'])),
|
|
46
|
+
'updated_at': json['updated_at'] == null ? undefined : (new Date(json['updated_at'])),
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
export function AgentToolToJSON(json) {
|
|
50
|
+
return AgentToolToJSONTyped(json, false);
|
|
51
|
+
}
|
|
52
|
+
export function AgentToolToJSONTyped(value, ignoreDiscriminator = false) {
|
|
53
|
+
if (value == null) {
|
|
54
|
+
return value;
|
|
55
|
+
}
|
|
56
|
+
return {
|
|
57
|
+
'id': value['id'],
|
|
58
|
+
'voice_agent_id': value['voice_agent_id'],
|
|
59
|
+
'tool': ToolToJSON(value['tool']),
|
|
60
|
+
'enabled': value['enabled'],
|
|
61
|
+
'config': value['config'],
|
|
62
|
+
'secret_field_status': value['secret_field_status'],
|
|
63
|
+
'created_at': value['created_at'] == null ? value['created_at'] : value['created_at'].toISOString(),
|
|
64
|
+
'updated_at': value['updated_at'] == null ? value['updated_at'] : value['updated_at'].toISOString(),
|
|
65
|
+
};
|
|
66
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
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 AgentToolUpsert
|
|
16
|
+
*/
|
|
17
|
+
export interface AgentToolUpsert {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof AgentToolUpsert
|
|
22
|
+
*/
|
|
23
|
+
enabled: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Full config object including secret fields. Secrets sent here are encrypted server-side; omit a secret field to keep its existing value.
|
|
26
|
+
* @type {{ [key: string]: any; }}
|
|
27
|
+
* @memberof AgentToolUpsert
|
|
28
|
+
*/
|
|
29
|
+
config?: {
|
|
30
|
+
[key: string]: any;
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Check if a given object implements the AgentToolUpsert interface.
|
|
35
|
+
*/
|
|
36
|
+
export declare function instanceOfAgentToolUpsert(value: object): value is AgentToolUpsert;
|
|
37
|
+
export declare function AgentToolUpsertFromJSON(json: any): AgentToolUpsert;
|
|
38
|
+
export declare function AgentToolUpsertFromJSONTyped(json: any, ignoreDiscriminator: boolean): AgentToolUpsert;
|
|
39
|
+
export declare function AgentToolUpsertToJSON(json: any): AgentToolUpsert;
|
|
40
|
+
export declare function AgentToolUpsertToJSONTyped(value?: AgentToolUpsert | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,45 @@
|
|
|
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 AgentToolUpsert interface.
|
|
16
|
+
*/
|
|
17
|
+
export function instanceOfAgentToolUpsert(value) {
|
|
18
|
+
if (!('enabled' in value) || value['enabled'] === undefined)
|
|
19
|
+
return false;
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
22
|
+
export function AgentToolUpsertFromJSON(json) {
|
|
23
|
+
return AgentToolUpsertFromJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
export function AgentToolUpsertFromJSONTyped(json, ignoreDiscriminator) {
|
|
26
|
+
if (json == null) {
|
|
27
|
+
return json;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
'enabled': json['enabled'],
|
|
31
|
+
'config': json['config'] == null ? undefined : json['config'],
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
export function AgentToolUpsertToJSON(json) {
|
|
35
|
+
return AgentToolUpsertToJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
export function AgentToolUpsertToJSONTyped(value, ignoreDiscriminator = false) {
|
|
38
|
+
if (value == null) {
|
|
39
|
+
return value;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
'enabled': value['enabled'],
|
|
43
|
+
'config': value['config'],
|
|
44
|
+
};
|
|
45
|
+
}
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { NotificationChannel } from './NotificationChannel';
|
|
13
|
+
import type { NotificationLocalizedContentValue } from './NotificationLocalizedContentValue';
|
|
13
14
|
import type { NotificationType } from './NotificationType';
|
|
14
15
|
import type { NotificationScope } from './NotificationScope';
|
|
15
16
|
import type { NotificationSeverity } from './NotificationSeverity';
|
|
@@ -85,21 +86,31 @@ export interface Notification {
|
|
|
85
86
|
* @memberof Notification
|
|
86
87
|
*/
|
|
87
88
|
expires_at?: Date | null;
|
|
89
|
+
/**
|
|
90
|
+
*
|
|
91
|
+
* @type {Date}
|
|
92
|
+
* @memberof Notification
|
|
93
|
+
*/
|
|
94
|
+
created_at: Date;
|
|
95
|
+
/**
|
|
96
|
+
*
|
|
97
|
+
* @type {Date}
|
|
98
|
+
* @memberof Notification
|
|
99
|
+
*/
|
|
100
|
+
updated_at: Date;
|
|
88
101
|
/**
|
|
89
102
|
* Whether an email should also be sent to recipients
|
|
90
103
|
* @type {boolean}
|
|
91
104
|
* @memberof Notification
|
|
92
105
|
*/
|
|
93
|
-
send_email
|
|
106
|
+
send_email?: boolean;
|
|
94
107
|
/**
|
|
95
108
|
* Localized notification title/content variants keyed by language tag (for example en, en-US, hu-HU)
|
|
96
|
-
* @type {{ [key: string]:
|
|
109
|
+
* @type {{ [key: string]: NotificationLocalizedContentValue; }}
|
|
97
110
|
* @memberof Notification
|
|
98
111
|
*/
|
|
99
112
|
localized_content?: {
|
|
100
|
-
[key: string]:
|
|
101
|
-
[key: string]: any;
|
|
102
|
-
};
|
|
113
|
+
[key: string]: NotificationLocalizedContentValue;
|
|
103
114
|
} | null;
|
|
104
115
|
/**
|
|
105
116
|
* Fallback language key to use when recipient preferred language translation is missing
|
|
@@ -107,18 +118,6 @@ export interface Notification {
|
|
|
107
118
|
* @memberof Notification
|
|
108
119
|
*/
|
|
109
120
|
default_language?: string | null;
|
|
110
|
-
/**
|
|
111
|
-
*
|
|
112
|
-
* @type {Date}
|
|
113
|
-
* @memberof Notification
|
|
114
|
-
*/
|
|
115
|
-
created_at: Date;
|
|
116
|
-
/**
|
|
117
|
-
*
|
|
118
|
-
* @type {Date}
|
|
119
|
-
* @memberof Notification
|
|
120
|
-
*/
|
|
121
|
-
updated_at: Date;
|
|
122
121
|
/**
|
|
123
122
|
* When the current user read this notification (present in list responses)
|
|
124
123
|
* @type {Date}
|
|
@@ -11,7 +11,9 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
+
import { mapValues } from '../runtime';
|
|
14
15
|
import { NotificationChannelFromJSON, NotificationChannelToJSON, } from './NotificationChannel';
|
|
16
|
+
import { NotificationLocalizedContentValueFromJSON, NotificationLocalizedContentValueToJSON, } from './NotificationLocalizedContentValue';
|
|
15
17
|
import { NotificationTypeFromJSON, NotificationTypeToJSON, } from './NotificationType';
|
|
16
18
|
import { NotificationScopeFromJSON, NotificationScopeToJSON, } from './NotificationScope';
|
|
17
19
|
import { NotificationSeverityFromJSON, NotificationSeverityToJSON, } from './NotificationSeverity';
|
|
@@ -33,8 +35,6 @@ export function instanceOfNotification(value) {
|
|
|
33
35
|
return false;
|
|
34
36
|
if (!('content' in value) || value['content'] === undefined)
|
|
35
37
|
return false;
|
|
36
|
-
if (!('send_email' in value) || value['send_email'] === undefined)
|
|
37
|
-
return false;
|
|
38
38
|
if (!('created_at' in value) || value['created_at'] === undefined)
|
|
39
39
|
return false;
|
|
40
40
|
if (!('updated_at' in value) || value['updated_at'] === undefined)
|
|
@@ -60,11 +60,11 @@ export function NotificationFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
60
60
|
'user_id': json['user_id'] == null ? undefined : json['user_id'],
|
|
61
61
|
'created_by': json['created_by'] == null ? undefined : json['created_by'],
|
|
62
62
|
'expires_at': json['expires_at'] == null ? undefined : (new Date(json['expires_at'])),
|
|
63
|
-
'send_email': json['send_email'],
|
|
64
|
-
'localized_content': json['localized_content'] == null ? undefined : json['localized_content'],
|
|
65
|
-
'default_language': json['default_language'] == null ? undefined : json['default_language'],
|
|
66
63
|
'created_at': (new Date(json['created_at'])),
|
|
67
64
|
'updated_at': (new Date(json['updated_at'])),
|
|
65
|
+
'send_email': json['send_email'] == null ? undefined : json['send_email'],
|
|
66
|
+
'localized_content': json['localized_content'] == null ? undefined : (mapValues(json['localized_content'], NotificationLocalizedContentValueFromJSON)),
|
|
67
|
+
'default_language': json['default_language'] == null ? undefined : json['default_language'],
|
|
68
68
|
'read_at': json['read_at'] == null ? undefined : (new Date(json['read_at'])),
|
|
69
69
|
'dismissed_at': json['dismissed_at'] == null ? undefined : (new Date(json['dismissed_at'])),
|
|
70
70
|
};
|
|
@@ -88,11 +88,11 @@ export function NotificationToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
88
88
|
'user_id': value['user_id'],
|
|
89
89
|
'created_by': value['created_by'],
|
|
90
90
|
'expires_at': value['expires_at'] == null ? value['expires_at'] : value['expires_at'].toISOString(),
|
|
91
|
-
'send_email': value['send_email'],
|
|
92
|
-
'localized_content': value['localized_content'],
|
|
93
|
-
'default_language': value['default_language'],
|
|
94
91
|
'created_at': value['created_at'].toISOString(),
|
|
95
92
|
'updated_at': value['updated_at'].toISOString(),
|
|
93
|
+
'send_email': value['send_email'],
|
|
94
|
+
'localized_content': value['localized_content'] == null ? undefined : (mapValues(value['localized_content'], NotificationLocalizedContentValueToJSON)),
|
|
95
|
+
'default_language': value['default_language'],
|
|
96
96
|
'read_at': value['read_at'] == null ? value['read_at'] : value['read_at'].toISOString(),
|
|
97
97
|
'dismissed_at': value['dismissed_at'] == null ? value['dismissed_at'] : value['dismissed_at'].toISOString(),
|
|
98
98
|
};
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import type { NotificationChannel } from './NotificationChannel';
|
|
13
|
+
import type { NotificationLocalizedContentValue } from './NotificationLocalizedContentValue';
|
|
13
14
|
import type { NotificationType } from './NotificationType';
|
|
14
15
|
import type { NotificationScope } from './NotificationScope';
|
|
15
16
|
import type { NotificationSeverity } from './NotificationSeverity';
|
|
@@ -75,13 +76,11 @@ export interface NotificationCreate {
|
|
|
75
76
|
send_email?: boolean;
|
|
76
77
|
/**
|
|
77
78
|
*
|
|
78
|
-
* @type {{ [key: string]:
|
|
79
|
+
* @type {{ [key: string]: NotificationLocalizedContentValue; }}
|
|
79
80
|
* @memberof NotificationCreate
|
|
80
81
|
*/
|
|
81
82
|
localized_content?: {
|
|
82
|
-
[key: string]:
|
|
83
|
-
[key: string]: any;
|
|
84
|
-
};
|
|
83
|
+
[key: string]: NotificationLocalizedContentValue;
|
|
85
84
|
} | null;
|
|
86
85
|
/**
|
|
87
86
|
*
|
|
@@ -11,7 +11,9 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
+
import { mapValues } from '../runtime';
|
|
14
15
|
import { NotificationChannelFromJSON, NotificationChannelToJSON, } from './NotificationChannel';
|
|
16
|
+
import { NotificationLocalizedContentValueFromJSON, NotificationLocalizedContentValueToJSON, } from './NotificationLocalizedContentValue';
|
|
15
17
|
import { NotificationTypeFromJSON, NotificationTypeToJSON, } from './NotificationType';
|
|
16
18
|
import { NotificationScopeFromJSON, NotificationScopeToJSON, } from './NotificationScope';
|
|
17
19
|
import { NotificationSeverityFromJSON, NotificationSeverityToJSON, } from './NotificationSeverity';
|
|
@@ -42,7 +44,7 @@ export function NotificationCreateFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
42
44
|
'user_id': json['user_id'] == null ? undefined : json['user_id'],
|
|
43
45
|
'expires_at': json['expires_at'] == null ? undefined : (new Date(json['expires_at'])),
|
|
44
46
|
'send_email': json['send_email'] == null ? undefined : json['send_email'],
|
|
45
|
-
'localized_content': json['localized_content'] == null ? undefined : json['localized_content'],
|
|
47
|
+
'localized_content': json['localized_content'] == null ? undefined : (mapValues(json['localized_content'], NotificationLocalizedContentValueFromJSON)),
|
|
46
48
|
'default_language': json['default_language'] == null ? undefined : json['default_language'],
|
|
47
49
|
};
|
|
48
50
|
}
|
|
@@ -63,7 +65,7 @@ export function NotificationCreateToJSONTyped(value, ignoreDiscriminator = false
|
|
|
63
65
|
'user_id': value['user_id'],
|
|
64
66
|
'expires_at': value['expires_at'] == null ? value['expires_at'] : value['expires_at'].toISOString(),
|
|
65
67
|
'send_email': value['send_email'],
|
|
66
|
-
'localized_content': value['localized_content'],
|
|
68
|
+
'localized_content': value['localized_content'] == null ? undefined : (mapValues(value['localized_content'], NotificationLocalizedContentValueToJSON)),
|
|
67
69
|
'default_language': value['default_language'],
|
|
68
70
|
};
|
|
69
71
|
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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 NotificationLocalizedContentValue
|
|
16
|
+
*/
|
|
17
|
+
export interface NotificationLocalizedContentValue {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof NotificationLocalizedContentValue
|
|
22
|
+
*/
|
|
23
|
+
title: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof NotificationLocalizedContentValue
|
|
28
|
+
*/
|
|
29
|
+
content: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the NotificationLocalizedContentValue interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfNotificationLocalizedContentValue(value: object): value is NotificationLocalizedContentValue;
|
|
35
|
+
export declare function NotificationLocalizedContentValueFromJSON(json: any): NotificationLocalizedContentValue;
|
|
36
|
+
export declare function NotificationLocalizedContentValueFromJSONTyped(json: any, ignoreDiscriminator: boolean): NotificationLocalizedContentValue;
|
|
37
|
+
export declare function NotificationLocalizedContentValueToJSON(json: any): NotificationLocalizedContentValue;
|
|
38
|
+
export declare function NotificationLocalizedContentValueToJSONTyped(value?: NotificationLocalizedContentValue | null, ignoreDiscriminator?: boolean): any;
|