@l7mp/tivadar-ai-api-sdk 0.2.6 → 0.2.8
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 +21 -1
- package/dist/api-client.js +16 -0
- package/dist/apis/InvitationsApi.d.ts +12 -0
- package/dist/apis/InvitationsApi.js +40 -0
- package/dist/apis/PhonebookApi.d.ts +133 -0
- package/dist/apis/PhonebookApi.js +434 -0
- package/dist/apis/index.d.ts +1 -0
- package/dist/apis/index.js +1 -0
- package/dist/esm/api-client.d.ts +21 -1
- package/dist/esm/api-client.js +16 -0
- package/dist/esm/apis/InvitationsApi.d.ts +12 -0
- package/dist/esm/apis/InvitationsApi.js +40 -0
- package/dist/esm/apis/PhonebookApi.d.ts +133 -0
- package/dist/esm/apis/PhonebookApi.js +430 -0
- package/dist/esm/apis/index.d.ts +1 -0
- package/dist/esm/apis/index.js +1 -0
- 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/VoiceAgentMetadata.d.ts +24 -0
- package/dist/esm/models/VoiceAgentMetadata.js +8 -0
- package/dist/esm/models/index.d.ts +7 -0
- package/dist/esm/models/index.js +7 -0
- 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/VoiceAgentMetadata.d.ts +24 -0
- package/dist/models/VoiceAgentMetadata.js +8 -0
- package/dist/models/index.d.ts +7 -0
- package/dist/models/index.js +7 -0
- package/package.json +1 -1
- package/src/api-client.ts +35 -0
- package/src/apis/InvitationsApi.ts +57 -0
- package/src/apis/PhonebookApi.ts +599 -0
- package/src/apis/index.ts +1 -0
- 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/VoiceAgentMetadata.ts +32 -0
- package/src/models/index.ts +7 -0
package/dist/api-client.d.ts
CHANGED
|
@@ -18,7 +18,8 @@ import { TTSProvidersApi } from "./apis/TTSProvidersApi";
|
|
|
18
18
|
import { SubscriptionApi } from "./apis/SubscriptionApi";
|
|
19
19
|
import { VoiceAgentsApi } from "./apis/VoiceAgentsApi";
|
|
20
20
|
import { ToolsApi } from "./apis/ToolsApi";
|
|
21
|
-
import
|
|
21
|
+
import { PhonebookApi } from "./apis/PhonebookApi";
|
|
22
|
+
import type { CallCreate, CallUpdate, NotificationScope, NotificationSeverity, NotificationType, VoiceAgentCreate, VoiceAgentUpdate, ChatAgentCreate, ChatAgentUpdate, Calendar, CalendarCreate, CalendarUpdate, CalendarEventCreate, CalendarEventUpdate, InvitationAccept, InvitationCreate, RagConfigCreate, SipTrunkCreate, DispatchRuleCreate, PhoneNumberCreate, OrganizationCreate, CreateCheckoutSessionRequest, CancelSubscriptionRequest, UpdatePlanRequest, PauseSubscriptionRequest, BillingPortalRequest, UserPreferencesUpdate, AgentToolUpsert, PhonebookUpdate, PhonebookEntryCreate, PhonebookEntryUpdate } from "./models";
|
|
22
23
|
export interface ApiClientConfig {
|
|
23
24
|
baseUrl: string;
|
|
24
25
|
options?: {
|
|
@@ -72,6 +73,7 @@ export declare class Api {
|
|
|
72
73
|
accept: (invitationAccept: InvitationAccept, options?: RequestInit) => ReturnType<InvitationsApi["invitationsAcceptPost"]>;
|
|
73
74
|
list: (organizationId: string, options?: RequestInit) => ReturnType<InvitationsApi["organizationsOrganizationIdInvitationsGet"]>;
|
|
74
75
|
create: (organizationId: string, invitationCreate: InvitationCreate, options?: RequestInit) => ReturnType<InvitationsApi["organizationsOrganizationIdInvitationsPost"]>;
|
|
76
|
+
cancel: (organizationId: string, invitationId: number, options?: RequestInit) => ReturnType<InvitationsApi["organizationsOrganizationIdInvitationsInvitationIdDelete"]>;
|
|
75
77
|
};
|
|
76
78
|
readonly recordings: {
|
|
77
79
|
get: (organizationId: string, callId: string, options?: RequestInit) => ReturnType<RecordingsApi["organizationsOrganizationIdRecordingsCallIdGet"]>;
|
|
@@ -157,6 +159,23 @@ export declare class Api {
|
|
|
157
159
|
upsertForAgent: (organizationId: string, voiceAgentId: string, toolName: string, agentToolUpsert: AgentToolUpsert, options?: RequestInit) => ReturnType<ToolsApi["organizationsOrganizationIdVoiceAgentsVoiceAgentIdToolsToolNamePut"]>;
|
|
158
160
|
removeFromAgent: (organizationId: string, voiceAgentId: string, toolName: string, options?: RequestInit) => ReturnType<ToolsApi["organizationsOrganizationIdVoiceAgentsVoiceAgentIdToolsToolNameDelete"]>;
|
|
159
161
|
};
|
|
162
|
+
readonly phonebook: {
|
|
163
|
+
get: (organizationId: string, options?: RequestInit) => ReturnType<PhonebookApi["organizationsOrganizationIdPhonebookGet"]>;
|
|
164
|
+
update: (organizationId: string, phonebookUpdate: PhonebookUpdate, options?: RequestInit) => ReturnType<PhonebookApi["organizationsOrganizationIdPhonebookPatch"]>;
|
|
165
|
+
entries: {
|
|
166
|
+
list: (organizationId: string, params?: {
|
|
167
|
+
search?: string;
|
|
168
|
+
limit?: number;
|
|
169
|
+
offset?: number;
|
|
170
|
+
}, options?: RequestInit) => ReturnType<PhonebookApi["organizationsOrganizationIdPhonebookEntriesGet"]>;
|
|
171
|
+
get: (organizationId: string, entryId: string, options?: RequestInit) => ReturnType<PhonebookApi["organizationsOrganizationIdPhonebookEntriesEntryIdGet"]>;
|
|
172
|
+
create: (organizationId: string, phonebookEntryCreate: PhonebookEntryCreate, options?: RequestInit) => ReturnType<PhonebookApi["organizationsOrganizationIdPhonebookEntriesPost"]>;
|
|
173
|
+
update: (organizationId: string, entryId: string, phonebookEntryUpdate: PhonebookEntryUpdate, options?: RequestInit) => ReturnType<PhonebookApi["organizationsOrganizationIdPhonebookEntriesEntryIdPatch"]>;
|
|
174
|
+
delete: (organizationId: string, entryId: string, options?: RequestInit) => ReturnType<PhonebookApi["organizationsOrganizationIdPhonebookEntriesEntryIdDelete"]>;
|
|
175
|
+
import: (organizationId: string, file: Blob, options?: RequestInit) => ReturnType<PhonebookApi["organizationsOrganizationIdPhonebookEntriesImportPost"]>;
|
|
176
|
+
export: (organizationId: string, options?: RequestInit) => ReturnType<PhonebookApi["organizationsOrganizationIdPhonebookEntriesExportGet"]>;
|
|
177
|
+
};
|
|
178
|
+
};
|
|
160
179
|
private readonly callsApi;
|
|
161
180
|
private readonly voiceAgentsApi;
|
|
162
181
|
private readonly chatAgentsApi;
|
|
@@ -177,6 +196,7 @@ export declare class Api {
|
|
|
177
196
|
private readonly sttProvidersApi;
|
|
178
197
|
private readonly ttsProvidersApi;
|
|
179
198
|
private readonly toolsApi;
|
|
199
|
+
private readonly phonebookApi;
|
|
180
200
|
private readonly _auth;
|
|
181
201
|
constructor(config: ApiClientConfig);
|
|
182
202
|
/**
|
package/dist/api-client.js
CHANGED
|
@@ -30,6 +30,7 @@ const TTSProvidersApi_1 = require("./apis/TTSProvidersApi");
|
|
|
30
30
|
const SubscriptionApi_1 = require("./apis/SubscriptionApi");
|
|
31
31
|
const VoiceAgentsApi_1 = require("./apis/VoiceAgentsApi");
|
|
32
32
|
const ToolsApi_1 = require("./apis/ToolsApi");
|
|
33
|
+
const PhonebookApi_1 = require("./apis/PhonebookApi");
|
|
33
34
|
const runtime_1 = require("./runtime");
|
|
34
35
|
class Api {
|
|
35
36
|
constructor(config) {
|
|
@@ -69,6 +70,7 @@ class Api {
|
|
|
69
70
|
this.sttProvidersApi = new STTProvidersApi_1.STTProvidersApi(configuration);
|
|
70
71
|
this.ttsProvidersApi = new TTSProvidersApi_1.TTSProvidersApi(configuration);
|
|
71
72
|
this.toolsApi = new ToolsApi_1.ToolsApi(configuration);
|
|
73
|
+
this.phonebookApi = new PhonebookApi_1.PhonebookApi(configuration);
|
|
72
74
|
this.calls = {
|
|
73
75
|
list: (organizationId, voiceAgentId, sandbox, options) => this.callsApi.organizationsOrganizationIdCallsGet({ organizationId, voiceAgentId, sandbox }, options),
|
|
74
76
|
get: (organizationId, callId, options) => this.callsApi.organizationsOrganizationIdCallsCallIdGet({ organizationId, callId }, options),
|
|
@@ -119,6 +121,7 @@ class Api {
|
|
|
119
121
|
accept: (invitationAccept, options) => this.invitationsApi.invitationsAcceptPost({ invitationAccept }, options),
|
|
120
122
|
list: (organizationId, options) => this.invitationsApi.organizationsOrganizationIdInvitationsGet({ organizationId }, options),
|
|
121
123
|
create: (organizationId, invitationCreate, options) => this.invitationsApi.organizationsOrganizationIdInvitationsPost({ organizationId, invitationCreate }, options),
|
|
124
|
+
cancel: (organizationId, invitationId, options) => this.invitationsApi.organizationsOrganizationIdInvitationsInvitationIdDelete({ organizationId, invitationId }, options),
|
|
122
125
|
};
|
|
123
126
|
this.recordings = {
|
|
124
127
|
get: (organizationId, callId, options) => this.recordingsApi.organizationsOrganizationIdRecordingsCallIdGet({ organizationId, callId }, options),
|
|
@@ -198,6 +201,19 @@ class Api {
|
|
|
198
201
|
upsertForAgent: (organizationId, voiceAgentId, toolName, agentToolUpsert, options) => this.toolsApi.organizationsOrganizationIdVoiceAgentsVoiceAgentIdToolsToolNamePut({ organizationId, voiceAgentId, toolName, agentToolUpsert }, options),
|
|
199
202
|
removeFromAgent: (organizationId, voiceAgentId, toolName, options) => this.toolsApi.organizationsOrganizationIdVoiceAgentsVoiceAgentIdToolsToolNameDelete({ organizationId, voiceAgentId, toolName }, options),
|
|
200
203
|
};
|
|
204
|
+
this.phonebook = {
|
|
205
|
+
get: (organizationId, options) => this.phonebookApi.organizationsOrganizationIdPhonebookGet({ organizationId }, options),
|
|
206
|
+
update: (organizationId, phonebookUpdate, options) => this.phonebookApi.organizationsOrganizationIdPhonebookPatch({ organizationId, phonebookUpdate }, options),
|
|
207
|
+
entries: {
|
|
208
|
+
list: (organizationId, params, options) => this.phonebookApi.organizationsOrganizationIdPhonebookEntriesGet({ organizationId, search: params === null || params === void 0 ? void 0 : params.search, limit: params === null || params === void 0 ? void 0 : params.limit, offset: params === null || params === void 0 ? void 0 : params.offset }, options),
|
|
209
|
+
get: (organizationId, entryId, options) => this.phonebookApi.organizationsOrganizationIdPhonebookEntriesEntryIdGet({ organizationId, entryId }, options),
|
|
210
|
+
create: (organizationId, phonebookEntryCreate, options) => this.phonebookApi.organizationsOrganizationIdPhonebookEntriesPost({ organizationId, phonebookEntryCreate }, options),
|
|
211
|
+
update: (organizationId, entryId, phonebookEntryUpdate, options) => this.phonebookApi.organizationsOrganizationIdPhonebookEntriesEntryIdPatch({ organizationId, entryId, phonebookEntryUpdate }, options),
|
|
212
|
+
delete: (organizationId, entryId, options) => this.phonebookApi.organizationsOrganizationIdPhonebookEntriesEntryIdDelete({ organizationId, entryId }, options),
|
|
213
|
+
import: (organizationId, file, options) => this.phonebookApi.organizationsOrganizationIdPhonebookEntriesImportPost({ organizationId, file }, options),
|
|
214
|
+
export: (organizationId, options) => this.phonebookApi.organizationsOrganizationIdPhonebookEntriesExportGet({ organizationId }, options),
|
|
215
|
+
},
|
|
216
|
+
};
|
|
201
217
|
}
|
|
202
218
|
/**
|
|
203
219
|
* Set the Bearer token for Authorization header.
|
|
@@ -17,6 +17,10 @@ export interface InvitationsAcceptPostRequest {
|
|
|
17
17
|
export interface OrganizationsOrganizationIdInvitationsGetRequest {
|
|
18
18
|
organizationId: string;
|
|
19
19
|
}
|
|
20
|
+
export interface OrganizationsOrganizationIdInvitationsInvitationIdDeleteRequest {
|
|
21
|
+
organizationId: string;
|
|
22
|
+
invitationId: number;
|
|
23
|
+
}
|
|
20
24
|
export interface OrganizationsOrganizationIdInvitationsPostRequest {
|
|
21
25
|
organizationId: string;
|
|
22
26
|
invitationCreate: InvitationCreate;
|
|
@@ -41,6 +45,14 @@ export declare class InvitationsApi extends runtime.BaseAPI {
|
|
|
41
45
|
* List all invitations for an organization
|
|
42
46
|
*/
|
|
43
47
|
organizationsOrganizationIdInvitationsGet(requestParameters: OrganizationsOrganizationIdInvitationsGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<InvitationResponse>>;
|
|
48
|
+
/**
|
|
49
|
+
* Cancel (delete) a pending invitation
|
|
50
|
+
*/
|
|
51
|
+
organizationsOrganizationIdInvitationsInvitationIdDeleteRaw(requestParameters: OrganizationsOrganizationIdInvitationsInvitationIdDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
52
|
+
/**
|
|
53
|
+
* Cancel (delete) a pending invitation
|
|
54
|
+
*/
|
|
55
|
+
organizationsOrganizationIdInvitationsInvitationIdDelete(requestParameters: OrganizationsOrganizationIdInvitationsInvitationIdDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
44
56
|
/**
|
|
45
57
|
* Create a new invitation
|
|
46
58
|
*/
|
|
@@ -104,6 +104,46 @@ class InvitationsApi extends runtime.BaseAPI {
|
|
|
104
104
|
return yield response.value();
|
|
105
105
|
});
|
|
106
106
|
}
|
|
107
|
+
/**
|
|
108
|
+
* Cancel (delete) a pending invitation
|
|
109
|
+
*/
|
|
110
|
+
organizationsOrganizationIdInvitationsInvitationIdDeleteRaw(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 organizationsOrganizationIdInvitationsInvitationIdDelete().');
|
|
114
|
+
}
|
|
115
|
+
if (requestParameters['invitationId'] == null) {
|
|
116
|
+
throw new runtime.RequiredError('invitationId', 'Required parameter "invitationId" was null or undefined when calling organizationsOrganizationIdInvitationsInvitationIdDelete().');
|
|
117
|
+
}
|
|
118
|
+
const queryParameters = {};
|
|
119
|
+
const headerParameters = {};
|
|
120
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
121
|
+
const token = this.configuration.accessToken;
|
|
122
|
+
const tokenString = yield token("bearerAuth", []);
|
|
123
|
+
if (tokenString) {
|
|
124
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
let urlPath = `/organizations/{organizationId}/invitations/{invitationId}`;
|
|
128
|
+
urlPath = urlPath.replace(`{${"organizationId"}}`, encodeURIComponent(String(requestParameters['organizationId'])));
|
|
129
|
+
urlPath = urlPath.replace(`{${"invitationId"}}`, encodeURIComponent(String(requestParameters['invitationId'])));
|
|
130
|
+
const response = yield this.request({
|
|
131
|
+
path: urlPath,
|
|
132
|
+
method: 'DELETE',
|
|
133
|
+
headers: headerParameters,
|
|
134
|
+
query: queryParameters,
|
|
135
|
+
}, initOverrides);
|
|
136
|
+
return new runtime.VoidApiResponse(response);
|
|
137
|
+
});
|
|
138
|
+
}
|
|
139
|
+
/**
|
|
140
|
+
* Cancel (delete) a pending invitation
|
|
141
|
+
*/
|
|
142
|
+
organizationsOrganizationIdInvitationsInvitationIdDelete(requestParameters, initOverrides) {
|
|
143
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
144
|
+
yield this.organizationsOrganizationIdInvitationsInvitationIdDeleteRaw(requestParameters, initOverrides);
|
|
145
|
+
});
|
|
146
|
+
}
|
|
107
147
|
/**
|
|
108
148
|
* Create a new invitation
|
|
109
149
|
*/
|
|
@@ -0,0 +1,133 @@
|
|
|
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 * as runtime from '../runtime';
|
|
13
|
+
import type { Phonebook, PhonebookEntry, PhonebookEntryCreate, PhonebookEntryUpdate, PhonebookImportResult, PhonebookUpdate } from '../models/index';
|
|
14
|
+
export interface OrganizationsOrganizationIdPhonebookEntriesEntryIdDeleteRequest {
|
|
15
|
+
organizationId: string;
|
|
16
|
+
entryId: string;
|
|
17
|
+
}
|
|
18
|
+
export interface OrganizationsOrganizationIdPhonebookEntriesEntryIdGetRequest {
|
|
19
|
+
organizationId: string;
|
|
20
|
+
entryId: string;
|
|
21
|
+
}
|
|
22
|
+
export interface OrganizationsOrganizationIdPhonebookEntriesEntryIdPatchRequest {
|
|
23
|
+
organizationId: string;
|
|
24
|
+
entryId: string;
|
|
25
|
+
phonebookEntryUpdate: PhonebookEntryUpdate;
|
|
26
|
+
}
|
|
27
|
+
export interface OrganizationsOrganizationIdPhonebookEntriesExportGetRequest {
|
|
28
|
+
organizationId: string;
|
|
29
|
+
}
|
|
30
|
+
export interface OrganizationsOrganizationIdPhonebookEntriesGetRequest {
|
|
31
|
+
organizationId: string;
|
|
32
|
+
search?: string;
|
|
33
|
+
limit?: number;
|
|
34
|
+
offset?: number;
|
|
35
|
+
}
|
|
36
|
+
export interface OrganizationsOrganizationIdPhonebookEntriesImportPostRequest {
|
|
37
|
+
organizationId: string;
|
|
38
|
+
file: Blob;
|
|
39
|
+
}
|
|
40
|
+
export interface OrganizationsOrganizationIdPhonebookEntriesPostRequest {
|
|
41
|
+
organizationId: string;
|
|
42
|
+
phonebookEntryCreate: PhonebookEntryCreate;
|
|
43
|
+
}
|
|
44
|
+
export interface OrganizationsOrganizationIdPhonebookGetRequest {
|
|
45
|
+
organizationId: string;
|
|
46
|
+
}
|
|
47
|
+
export interface OrganizationsOrganizationIdPhonebookPatchRequest {
|
|
48
|
+
organizationId: string;
|
|
49
|
+
phonebookUpdate: PhonebookUpdate;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
*/
|
|
54
|
+
export declare class PhonebookApi extends runtime.BaseAPI {
|
|
55
|
+
/**
|
|
56
|
+
* Delete a phonebook entry
|
|
57
|
+
*/
|
|
58
|
+
organizationsOrganizationIdPhonebookEntriesEntryIdDeleteRaw(requestParameters: OrganizationsOrganizationIdPhonebookEntriesEntryIdDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<void>>;
|
|
59
|
+
/**
|
|
60
|
+
* Delete a phonebook entry
|
|
61
|
+
*/
|
|
62
|
+
organizationsOrganizationIdPhonebookEntriesEntryIdDelete(requestParameters: OrganizationsOrganizationIdPhonebookEntriesEntryIdDeleteRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
|
|
63
|
+
/**
|
|
64
|
+
* Get a phonebook entry by ID
|
|
65
|
+
*/
|
|
66
|
+
organizationsOrganizationIdPhonebookEntriesEntryIdGetRaw(requestParameters: OrganizationsOrganizationIdPhonebookEntriesEntryIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PhonebookEntry>>;
|
|
67
|
+
/**
|
|
68
|
+
* Get a phonebook entry by ID
|
|
69
|
+
*/
|
|
70
|
+
organizationsOrganizationIdPhonebookEntriesEntryIdGet(requestParameters: OrganizationsOrganizationIdPhonebookEntriesEntryIdGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PhonebookEntry>;
|
|
71
|
+
/**
|
|
72
|
+
* Update a phonebook entry
|
|
73
|
+
*/
|
|
74
|
+
organizationsOrganizationIdPhonebookEntriesEntryIdPatchRaw(requestParameters: OrganizationsOrganizationIdPhonebookEntriesEntryIdPatchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PhonebookEntry>>;
|
|
75
|
+
/**
|
|
76
|
+
* Update a phonebook entry
|
|
77
|
+
*/
|
|
78
|
+
organizationsOrganizationIdPhonebookEntriesEntryIdPatch(requestParameters: OrganizationsOrganizationIdPhonebookEntriesEntryIdPatchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PhonebookEntry>;
|
|
79
|
+
/**
|
|
80
|
+
* Export phonebook entries as CSV
|
|
81
|
+
*/
|
|
82
|
+
organizationsOrganizationIdPhonebookEntriesExportGetRaw(requestParameters: OrganizationsOrganizationIdPhonebookEntriesExportGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<string>>;
|
|
83
|
+
/**
|
|
84
|
+
* Export phonebook entries as CSV
|
|
85
|
+
*/
|
|
86
|
+
organizationsOrganizationIdPhonebookEntriesExportGet(requestParameters: OrganizationsOrganizationIdPhonebookEntriesExportGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<string>;
|
|
87
|
+
/**
|
|
88
|
+
* List phonebook entries
|
|
89
|
+
*/
|
|
90
|
+
organizationsOrganizationIdPhonebookEntriesGetRaw(requestParameters: OrganizationsOrganizationIdPhonebookEntriesGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<PhonebookEntry>>>;
|
|
91
|
+
/**
|
|
92
|
+
* List phonebook entries
|
|
93
|
+
*/
|
|
94
|
+
organizationsOrganizationIdPhonebookEntriesGet(requestParameters: OrganizationsOrganizationIdPhonebookEntriesGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<PhonebookEntry>>;
|
|
95
|
+
/**
|
|
96
|
+
* Upload a CSV file. The header row is required and must contain at least `phone` and `name` columns. Optional columns: `company`, `email`. Header aliases (case-insensitive): phone/phone_number/number, name/full_name/contact, company/organization, email/email_address. Existing entries with the same phone are updated; new ones are inserted.
|
|
97
|
+
* Import phonebook entries from a CSV file
|
|
98
|
+
*/
|
|
99
|
+
organizationsOrganizationIdPhonebookEntriesImportPostRaw(requestParameters: OrganizationsOrganizationIdPhonebookEntriesImportPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PhonebookImportResult>>;
|
|
100
|
+
/**
|
|
101
|
+
* Upload a CSV file. The header row is required and must contain at least `phone` and `name` columns. Optional columns: `company`, `email`. Header aliases (case-insensitive): phone/phone_number/number, name/full_name/contact, company/organization, email/email_address. Existing entries with the same phone are updated; new ones are inserted.
|
|
102
|
+
* Import phonebook entries from a CSV file
|
|
103
|
+
*/
|
|
104
|
+
organizationsOrganizationIdPhonebookEntriesImportPost(requestParameters: OrganizationsOrganizationIdPhonebookEntriesImportPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PhonebookImportResult>;
|
|
105
|
+
/**
|
|
106
|
+
* Create a phonebook entry
|
|
107
|
+
*/
|
|
108
|
+
organizationsOrganizationIdPhonebookEntriesPostRaw(requestParameters: OrganizationsOrganizationIdPhonebookEntriesPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<PhonebookEntry>>;
|
|
109
|
+
/**
|
|
110
|
+
* Create a phonebook entry
|
|
111
|
+
*/
|
|
112
|
+
organizationsOrganizationIdPhonebookEntriesPost(requestParameters: OrganizationsOrganizationIdPhonebookEntriesPostRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<PhonebookEntry>;
|
|
113
|
+
/**
|
|
114
|
+
* Returns the phonebook record (lazily created on first access).
|
|
115
|
+
* Get the organization\'s phonebook settings
|
|
116
|
+
*/
|
|
117
|
+
organizationsOrganizationIdPhonebookGetRaw(requestParameters: OrganizationsOrganizationIdPhonebookGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Phonebook>>;
|
|
118
|
+
/**
|
|
119
|
+
* Returns the phonebook record (lazily created on first access).
|
|
120
|
+
* Get the organization\'s phonebook settings
|
|
121
|
+
*/
|
|
122
|
+
organizationsOrganizationIdPhonebookGet(requestParameters: OrganizationsOrganizationIdPhonebookGetRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Phonebook>;
|
|
123
|
+
/**
|
|
124
|
+
* Update phonebook settings such as the auto_populate flag.
|
|
125
|
+
* Update phonebook settings
|
|
126
|
+
*/
|
|
127
|
+
organizationsOrganizationIdPhonebookPatchRaw(requestParameters: OrganizationsOrganizationIdPhonebookPatchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Phonebook>>;
|
|
128
|
+
/**
|
|
129
|
+
* Update phonebook settings such as the auto_populate flag.
|
|
130
|
+
* Update phonebook settings
|
|
131
|
+
*/
|
|
132
|
+
organizationsOrganizationIdPhonebookPatch(requestParameters: OrganizationsOrganizationIdPhonebookPatchRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Phonebook>;
|
|
133
|
+
}
|