@gtmi/ramp-api-client 0.0.1
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/LICENSE +21 -0
- package/README.md +59 -0
- package/dist/es/index.d.mts +3615 -0
- package/dist/es/index.mjs +2173 -0
- package/package.json +46 -0
- package/src/client.test.ts +50 -0
- package/src/client.ts +15 -0
- package/src/client.types.ts +11 -0
- package/src/generated/client/client.gen.ts +277 -0
- package/src/generated/client/index.ts +27 -0
- package/src/generated/client/types.gen.ts +214 -0
- package/src/generated/client/utils.gen.ts +316 -0
- package/src/generated/client.gen.ts +18 -0
- package/src/generated/core/auth.gen.ts +48 -0
- package/src/generated/core/bodySerializer.gen.ts +82 -0
- package/src/generated/core/params.gen.ts +178 -0
- package/src/generated/core/pathSerializer.gen.ts +171 -0
- package/src/generated/core/queryKeySerializer.gen.ts +117 -0
- package/src/generated/core/serverSentEvents.gen.ts +242 -0
- package/src/generated/core/types.gen.ts +110 -0
- package/src/generated/core/utils.gen.ts +140 -0
- package/src/generated/index.ts +268 -0
- package/src/generated/sdk.gen.ts +1590 -0
- package/src/generated/types.gen.ts +2089 -0
- package/src/generated/zod.gen.ts +358 -0
- package/src/index.ts +7 -0
|
@@ -0,0 +1,3615 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
|
|
3
|
+
type AuthToken = string | undefined;
|
|
4
|
+
interface Auth {
|
|
5
|
+
/**
|
|
6
|
+
* Which part of the request do we use to send the auth?
|
|
7
|
+
*
|
|
8
|
+
* @default 'header'
|
|
9
|
+
*/
|
|
10
|
+
in?: 'header' | 'query' | 'cookie';
|
|
11
|
+
/**
|
|
12
|
+
* A unique identifier for the security scheme.
|
|
13
|
+
*
|
|
14
|
+
* Defined only when there are multiple security schemes whose `Auth`
|
|
15
|
+
* shape would otherwise be identical.
|
|
16
|
+
*/
|
|
17
|
+
key?: string;
|
|
18
|
+
/**
|
|
19
|
+
* Header or query parameter name.
|
|
20
|
+
*
|
|
21
|
+
* @default 'Authorization'
|
|
22
|
+
*/
|
|
23
|
+
name?: string;
|
|
24
|
+
scheme?: 'basic' | 'bearer';
|
|
25
|
+
type: 'apiKey' | 'http';
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
interface SerializerOptions<T> {
|
|
29
|
+
/**
|
|
30
|
+
* @default true
|
|
31
|
+
*/
|
|
32
|
+
explode: boolean;
|
|
33
|
+
style: T;
|
|
34
|
+
}
|
|
35
|
+
type ArrayStyle = 'form' | 'spaceDelimited' | 'pipeDelimited';
|
|
36
|
+
type ObjectStyle = 'form' | 'deepObject';
|
|
37
|
+
|
|
38
|
+
type QuerySerializer = (query: Record<string, unknown>) => string;
|
|
39
|
+
type BodySerializer = (body: unknown) => unknown;
|
|
40
|
+
type QuerySerializerOptionsObject = {
|
|
41
|
+
allowReserved?: boolean;
|
|
42
|
+
array?: Partial<SerializerOptions<ArrayStyle>>;
|
|
43
|
+
object?: Partial<SerializerOptions<ObjectStyle>>;
|
|
44
|
+
};
|
|
45
|
+
type QuerySerializerOptions = QuerySerializerOptionsObject & {
|
|
46
|
+
/**
|
|
47
|
+
* Per-parameter serialization overrides. When provided, these settings
|
|
48
|
+
* override the global array/object settings for specific parameter names.
|
|
49
|
+
*/
|
|
50
|
+
parameters?: Record<string, QuerySerializerOptionsObject>;
|
|
51
|
+
};
|
|
52
|
+
|
|
53
|
+
type HttpMethod = 'connect' | 'delete' | 'get' | 'head' | 'options' | 'patch' | 'post' | 'put' | 'trace';
|
|
54
|
+
type Client$1<RequestFn = never, Config = unknown, MethodFn = never, BuildUrlFn = never, SseFn = never> = {
|
|
55
|
+
/**
|
|
56
|
+
* Returns the final request URL.
|
|
57
|
+
*/
|
|
58
|
+
buildUrl: BuildUrlFn;
|
|
59
|
+
getConfig: () => Config;
|
|
60
|
+
request: RequestFn;
|
|
61
|
+
setConfig: (config: Config) => Config;
|
|
62
|
+
} & {
|
|
63
|
+
[K in HttpMethod]: MethodFn;
|
|
64
|
+
} & ([SseFn] extends [never] ? {
|
|
65
|
+
sse?: never;
|
|
66
|
+
} : {
|
|
67
|
+
sse: {
|
|
68
|
+
[K in HttpMethod]: SseFn;
|
|
69
|
+
};
|
|
70
|
+
});
|
|
71
|
+
interface Config$1 {
|
|
72
|
+
/**
|
|
73
|
+
* Auth token or a function returning auth token. The resolved value will be
|
|
74
|
+
* added to the request payload as defined by its `security` array.
|
|
75
|
+
*/
|
|
76
|
+
auth?: ((auth: Auth) => Promise<AuthToken> | AuthToken) | AuthToken;
|
|
77
|
+
/**
|
|
78
|
+
* A function for serializing request body parameter. By default,
|
|
79
|
+
* {@link JSON.stringify()} will be used.
|
|
80
|
+
*/
|
|
81
|
+
bodySerializer?: BodySerializer | null;
|
|
82
|
+
/**
|
|
83
|
+
* An object containing any HTTP headers that you want to pre-populate your
|
|
84
|
+
* `Headers` object with.
|
|
85
|
+
*
|
|
86
|
+
* {@link https://developer.mozilla.org/docs/Web/API/Headers/Headers#init See more}
|
|
87
|
+
*/
|
|
88
|
+
headers?: RequestInit['headers'] | Record<string, string | number | boolean | (string | number | boolean)[] | null | undefined | unknown>;
|
|
89
|
+
/**
|
|
90
|
+
* The request method.
|
|
91
|
+
*
|
|
92
|
+
* {@link https://developer.mozilla.org/docs/Web/API/fetch#method See more}
|
|
93
|
+
*/
|
|
94
|
+
method?: Uppercase<HttpMethod>;
|
|
95
|
+
/**
|
|
96
|
+
* A function for serializing request query parameters. By default, arrays
|
|
97
|
+
* will be exploded in form style, objects will be exploded in deepObject
|
|
98
|
+
* style, and reserved characters are percent-encoded.
|
|
99
|
+
*
|
|
100
|
+
* This method will have no effect if the native `paramsSerializer()` Axios
|
|
101
|
+
* API function is used.
|
|
102
|
+
*
|
|
103
|
+
* {@link https://swagger.io/docs/specification/serialization/#query View examples}
|
|
104
|
+
*/
|
|
105
|
+
querySerializer?: QuerySerializer | QuerySerializerOptions;
|
|
106
|
+
/**
|
|
107
|
+
* A function validating request data. This is useful if you want to ensure
|
|
108
|
+
* the request conforms to the desired shape, so it can be safely sent to
|
|
109
|
+
* the server.
|
|
110
|
+
*/
|
|
111
|
+
requestValidator?: (data: unknown) => Promise<unknown>;
|
|
112
|
+
/**
|
|
113
|
+
* A function transforming response data before it's returned. This is useful
|
|
114
|
+
* for post-processing data, e.g., converting ISO strings into Date objects.
|
|
115
|
+
*/
|
|
116
|
+
responseTransformer?: (data: unknown) => Promise<unknown>;
|
|
117
|
+
/**
|
|
118
|
+
* A function validating response data. This is useful if you want to ensure
|
|
119
|
+
* the response conforms to the desired shape, so it can be safely passed to
|
|
120
|
+
* the transformers and returned to the user.
|
|
121
|
+
*/
|
|
122
|
+
responseValidator?: (data: unknown) => Promise<unknown>;
|
|
123
|
+
}
|
|
124
|
+
/**
|
|
125
|
+
* Arbitrary metadata passed through the `meta` request option.
|
|
126
|
+
*/
|
|
127
|
+
interface ClientMeta {
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
type ServerSentEventsOptions<TData = unknown> = Omit<RequestInit, 'method'> & Pick<Config$1, 'method' | 'responseTransformer' | 'responseValidator'> & {
|
|
131
|
+
/**
|
|
132
|
+
* Fetch API implementation. You can use this option to provide a custom
|
|
133
|
+
* fetch instance.
|
|
134
|
+
*
|
|
135
|
+
* @default globalThis.fetch
|
|
136
|
+
*/
|
|
137
|
+
fetch?: typeof fetch;
|
|
138
|
+
/**
|
|
139
|
+
* Implementing clients can call request interceptors inside this hook.
|
|
140
|
+
*/
|
|
141
|
+
onRequest?: (url: string, init: RequestInit) => Promise<Request>;
|
|
142
|
+
/**
|
|
143
|
+
* Callback invoked when a network or parsing error occurs during streaming.
|
|
144
|
+
*
|
|
145
|
+
* This option applies only if the endpoint returns a stream of events.
|
|
146
|
+
*
|
|
147
|
+
* @param error The error that occurred.
|
|
148
|
+
*/
|
|
149
|
+
onSseError?: (error: unknown) => void;
|
|
150
|
+
/**
|
|
151
|
+
* Callback invoked when an event is streamed from the server.
|
|
152
|
+
*
|
|
153
|
+
* This option applies only if the endpoint returns a stream of events.
|
|
154
|
+
*
|
|
155
|
+
* @param event Event streamed from the server.
|
|
156
|
+
* @returns Nothing (void).
|
|
157
|
+
*/
|
|
158
|
+
onSseEvent?: (event: StreamEvent<TData>) => void;
|
|
159
|
+
serializedBody?: RequestInit['body'];
|
|
160
|
+
/**
|
|
161
|
+
* Default retry delay in milliseconds.
|
|
162
|
+
*
|
|
163
|
+
* This option applies only if the endpoint returns a stream of events.
|
|
164
|
+
*
|
|
165
|
+
* @default 3000
|
|
166
|
+
*/
|
|
167
|
+
sseDefaultRetryDelay?: number;
|
|
168
|
+
/**
|
|
169
|
+
* Maximum number of retry attempts before giving up.
|
|
170
|
+
*/
|
|
171
|
+
sseMaxRetryAttempts?: number;
|
|
172
|
+
/**
|
|
173
|
+
* Maximum retry delay in milliseconds.
|
|
174
|
+
*
|
|
175
|
+
* Applies only when exponential backoff is used.
|
|
176
|
+
*
|
|
177
|
+
* This option applies only if the endpoint returns a stream of events.
|
|
178
|
+
*
|
|
179
|
+
* @default 30000
|
|
180
|
+
*/
|
|
181
|
+
sseMaxRetryDelay?: number;
|
|
182
|
+
/**
|
|
183
|
+
* Optional sleep function for retry backoff.
|
|
184
|
+
*
|
|
185
|
+
* Defaults to using `setTimeout`.
|
|
186
|
+
*/
|
|
187
|
+
sseSleepFn?: (ms: number) => Promise<void>;
|
|
188
|
+
url: string;
|
|
189
|
+
};
|
|
190
|
+
interface StreamEvent<TData = unknown> {
|
|
191
|
+
data: TData;
|
|
192
|
+
event?: string;
|
|
193
|
+
id?: string;
|
|
194
|
+
retry?: number;
|
|
195
|
+
}
|
|
196
|
+
type ServerSentEventsResult<TData = unknown, TReturn = void, TNext = unknown> = {
|
|
197
|
+
stream: AsyncGenerator<TData extends Record<string, unknown> ? TData[keyof TData] : TData, TReturn, TNext>;
|
|
198
|
+
};
|
|
199
|
+
|
|
200
|
+
type ErrInterceptor<Err, Res, Req, Options> = (error: Err,
|
|
201
|
+
/** response may be undefined due to a network error where no response object is produced */
|
|
202
|
+
response: Res | undefined,
|
|
203
|
+
/** request may be undefined, because error may be from building the request object itself */
|
|
204
|
+
request: Req | undefined, options: Options) => Err | Promise<Err>;
|
|
205
|
+
type ReqInterceptor<Req, Options> = (request: Req, options: Options) => Req | Promise<Req>;
|
|
206
|
+
type ResInterceptor<Res, Req, Options> = (response: Res, request: Req, options: Options) => Res | Promise<Res>;
|
|
207
|
+
declare class Interceptors<Interceptor> {
|
|
208
|
+
fns: Array<Interceptor | null>;
|
|
209
|
+
clear(): void;
|
|
210
|
+
eject(id: number | Interceptor): void;
|
|
211
|
+
exists(id: number | Interceptor): boolean;
|
|
212
|
+
getInterceptorIndex(id: number | Interceptor): number;
|
|
213
|
+
update(id: number | Interceptor, fn: Interceptor): number | Interceptor | false;
|
|
214
|
+
use(fn: Interceptor): number;
|
|
215
|
+
}
|
|
216
|
+
interface Middleware<Req, Res, Err, Options> {
|
|
217
|
+
error: Interceptors<ErrInterceptor<Err, Res, Req, Options>>;
|
|
218
|
+
request: Interceptors<ReqInterceptor<Req, Options>>;
|
|
219
|
+
response: Interceptors<ResInterceptor<Res, Req, Options>>;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
type ResponseStyle = 'data' | 'fields';
|
|
223
|
+
interface Config<T extends ClientOptions$1 = ClientOptions$1> extends Omit<RequestInit, 'body' | 'headers' | 'method'>, Config$1 {
|
|
224
|
+
/**
|
|
225
|
+
* Base URL for all requests made by this client.
|
|
226
|
+
*/
|
|
227
|
+
baseUrl?: T['baseUrl'];
|
|
228
|
+
/**
|
|
229
|
+
* Fetch API implementation. You can use this option to provide a custom
|
|
230
|
+
* fetch instance.
|
|
231
|
+
*
|
|
232
|
+
* @default globalThis.fetch
|
|
233
|
+
*/
|
|
234
|
+
fetch?: typeof fetch;
|
|
235
|
+
/**
|
|
236
|
+
* Please don't use the Fetch client for Next.js applications. The `next`
|
|
237
|
+
* options won't have any effect.
|
|
238
|
+
*
|
|
239
|
+
* Install {@link https://www.npmjs.com/package/@hey-api/client-next `@hey-api/client-next`} instead.
|
|
240
|
+
*/
|
|
241
|
+
next?: never;
|
|
242
|
+
/**
|
|
243
|
+
* Return the response data parsed in a specified format. By default, `auto`
|
|
244
|
+
* will infer the appropriate method from the `Content-Type` response header.
|
|
245
|
+
* You can override this behavior with any of the {@link Body} methods.
|
|
246
|
+
* Select `stream` if you don't want to parse response data at all.
|
|
247
|
+
*
|
|
248
|
+
* @default 'auto'
|
|
249
|
+
*/
|
|
250
|
+
parseAs?: 'arrayBuffer' | 'auto' | 'blob' | 'formData' | 'json' | 'stream' | 'text';
|
|
251
|
+
/**
|
|
252
|
+
* Should we return only data or multiple fields (data, error, response, etc.)?
|
|
253
|
+
*
|
|
254
|
+
* @default 'fields'
|
|
255
|
+
*/
|
|
256
|
+
responseStyle?: ResponseStyle;
|
|
257
|
+
/**
|
|
258
|
+
* Throw an error instead of returning it in the response?
|
|
259
|
+
*
|
|
260
|
+
* @default false
|
|
261
|
+
*/
|
|
262
|
+
throwOnError?: T['throwOnError'];
|
|
263
|
+
}
|
|
264
|
+
interface RequestOptions<TData = unknown, TResponseStyle extends ResponseStyle = 'fields', ThrowOnError extends boolean = boolean, Url extends string = string> extends Config<{
|
|
265
|
+
responseStyle: TResponseStyle;
|
|
266
|
+
throwOnError: ThrowOnError;
|
|
267
|
+
}>, Pick<ServerSentEventsOptions<TData>, 'onRequest' | 'onSseError' | 'onSseEvent' | 'sseDefaultRetryDelay' | 'sseMaxRetryAttempts' | 'sseMaxRetryDelay'> {
|
|
268
|
+
/**
|
|
269
|
+
* Any body that you want to add to your request.
|
|
270
|
+
*
|
|
271
|
+
* {@link https://developer.mozilla.org/docs/Web/API/fetch#body}
|
|
272
|
+
*/
|
|
273
|
+
body?: unknown;
|
|
274
|
+
path?: Record<string, unknown>;
|
|
275
|
+
query?: Record<string, unknown>;
|
|
276
|
+
/**
|
|
277
|
+
* Security mechanism(s) to use for the request.
|
|
278
|
+
*/
|
|
279
|
+
security?: ReadonlyArray<Auth>;
|
|
280
|
+
url: Url;
|
|
281
|
+
}
|
|
282
|
+
interface ResolvedRequestOptions<TResponseStyle extends ResponseStyle = 'fields', ThrowOnError extends boolean = boolean, Url extends string = string> extends RequestOptions<unknown, TResponseStyle, ThrowOnError, Url> {
|
|
283
|
+
headers: Headers;
|
|
284
|
+
serializedBody?: string;
|
|
285
|
+
}
|
|
286
|
+
type RequestResult<TData = unknown, TError = unknown, ThrowOnError extends boolean = boolean, TResponseStyle extends ResponseStyle = 'fields'> = ThrowOnError extends true ? Promise<TResponseStyle extends 'data' ? TData extends Record<string, unknown> ? TData[keyof TData] : TData : {
|
|
287
|
+
data: TData extends Record<string, unknown> ? TData[keyof TData] : TData;
|
|
288
|
+
request: Request;
|
|
289
|
+
response: Response;
|
|
290
|
+
}> : Promise<TResponseStyle extends 'data' ? (TData extends Record<string, unknown> ? TData[keyof TData] : TData) | undefined : ({
|
|
291
|
+
data: TData extends Record<string, unknown> ? TData[keyof TData] : TData;
|
|
292
|
+
error: undefined;
|
|
293
|
+
} | {
|
|
294
|
+
data: undefined;
|
|
295
|
+
error: TError extends Record<string, unknown> ? TError[keyof TError] : TError;
|
|
296
|
+
}) & {
|
|
297
|
+
/** request may be undefined, because error may be from building the request object itself */
|
|
298
|
+
request?: Request;
|
|
299
|
+
/** response may be undefined, because error may be from building the request object itself or from a network error */
|
|
300
|
+
response?: Response;
|
|
301
|
+
}>;
|
|
302
|
+
interface ClientOptions$1 {
|
|
303
|
+
baseUrl?: string;
|
|
304
|
+
responseStyle?: ResponseStyle;
|
|
305
|
+
throwOnError?: boolean;
|
|
306
|
+
}
|
|
307
|
+
type MethodFn = <TData = unknown, TError = unknown, ThrowOnError extends boolean = false, TResponseStyle extends ResponseStyle = 'fields'>(options: Omit<RequestOptions<TData, TResponseStyle, ThrowOnError>, 'method'>) => RequestResult<TData, TError, ThrowOnError, TResponseStyle>;
|
|
308
|
+
type SseFn = <TData = unknown, _TError = unknown, ThrowOnError extends boolean = false, TResponseStyle extends ResponseStyle = 'fields'>(options: Omit<RequestOptions<never, TResponseStyle, ThrowOnError>, 'method'>) => Promise<ServerSentEventsResult<TData>>;
|
|
309
|
+
type RequestFn = <TData = unknown, TError = unknown, ThrowOnError extends boolean = false, TResponseStyle extends ResponseStyle = 'fields'>(options: Omit<RequestOptions<TData, TResponseStyle, ThrowOnError>, 'method'> & Pick<Required<RequestOptions<TData, TResponseStyle, ThrowOnError>>, 'method'>) => RequestResult<TData, TError, ThrowOnError, TResponseStyle>;
|
|
310
|
+
type BuildUrlFn = <TData extends {
|
|
311
|
+
body?: unknown;
|
|
312
|
+
path?: Record<string, unknown>;
|
|
313
|
+
query?: Record<string, unknown>;
|
|
314
|
+
url: string;
|
|
315
|
+
}>(options: TData & Options$1<TData>) => string;
|
|
316
|
+
type Client = Client$1<RequestFn, Config, MethodFn, BuildUrlFn, SseFn> & {
|
|
317
|
+
interceptors: Middleware<Request, Response, unknown, ResolvedRequestOptions>;
|
|
318
|
+
};
|
|
319
|
+
interface TDataShape {
|
|
320
|
+
body?: unknown;
|
|
321
|
+
headers?: unknown;
|
|
322
|
+
path?: unknown;
|
|
323
|
+
query?: unknown;
|
|
324
|
+
url: string;
|
|
325
|
+
}
|
|
326
|
+
type OmitKeys<T, K> = Pick<T, Exclude<keyof T, K>>;
|
|
327
|
+
type Options$1<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean, TResponse = unknown, TResponseStyle extends ResponseStyle = 'fields'> = OmitKeys<RequestOptions<TResponse, TResponseStyle, ThrowOnError>, 'body' | 'path' | 'query' | 'url'> & ([TData] extends [never] ? unknown : Omit<TData, 'url'>);
|
|
328
|
+
|
|
329
|
+
type CreateRampApiClientOptions = Omit<Config, 'auth' | 'baseUrl'> & {
|
|
330
|
+
/** Base URL of the RAMP API server, e.g. `https://api.example.com`. */
|
|
331
|
+
baseUrl: string;
|
|
332
|
+
/**
|
|
333
|
+
* Bearer token (or a function resolving one) sent as `Authorization: Bearer
|
|
334
|
+
* <token>` on requests to private endpoints.
|
|
335
|
+
*/
|
|
336
|
+
getAuthToken?: () => string | Promise<string>;
|
|
337
|
+
};
|
|
338
|
+
|
|
339
|
+
declare const createRampApiClient: ({ baseUrl, getAuthToken, ...config }: CreateRampApiClientOptions) => Client;
|
|
340
|
+
|
|
341
|
+
type ClientOptions = {
|
|
342
|
+
baseUrl: `${string}://${string}` | (string & {});
|
|
343
|
+
};
|
|
344
|
+
type AutogenRequest = {
|
|
345
|
+
email?: string;
|
|
346
|
+
company?: string;
|
|
347
|
+
information?: string;
|
|
348
|
+
language?: string;
|
|
349
|
+
voice?: string;
|
|
350
|
+
speechModel?: string;
|
|
351
|
+
transcriptionProvider?: string;
|
|
352
|
+
ttsProvider?: string;
|
|
353
|
+
logoSmall?: string;
|
|
354
|
+
logoFull?: string;
|
|
355
|
+
websiteUrl?: string;
|
|
356
|
+
};
|
|
357
|
+
type SupportedRegion = {
|
|
358
|
+
isoCountry?: string;
|
|
359
|
+
numberType?: string;
|
|
360
|
+
bundleSid?: string;
|
|
361
|
+
label?: string;
|
|
362
|
+
flag?: string;
|
|
363
|
+
capabilities?: string;
|
|
364
|
+
};
|
|
365
|
+
type ShortenUrlInput = {
|
|
366
|
+
[key: string]: unknown;
|
|
367
|
+
};
|
|
368
|
+
type GetHealthData = {
|
|
369
|
+
body?: never;
|
|
370
|
+
path?: never;
|
|
371
|
+
query?: never;
|
|
372
|
+
url: '/health';
|
|
373
|
+
};
|
|
374
|
+
type GetHealthErrors = {
|
|
375
|
+
/**
|
|
376
|
+
* Internal server error
|
|
377
|
+
*/
|
|
378
|
+
500: unknown;
|
|
379
|
+
};
|
|
380
|
+
type GetHealthResponses = {
|
|
381
|
+
/**
|
|
382
|
+
* Success
|
|
383
|
+
*/
|
|
384
|
+
200: unknown;
|
|
385
|
+
};
|
|
386
|
+
type PostConversationsTokenData = {
|
|
387
|
+
body: {
|
|
388
|
+
[key: string]: unknown;
|
|
389
|
+
};
|
|
390
|
+
path?: never;
|
|
391
|
+
query?: never;
|
|
392
|
+
url: '/conversations/token';
|
|
393
|
+
};
|
|
394
|
+
type PostConversationsTokenErrors = {
|
|
395
|
+
/**
|
|
396
|
+
* Internal server error
|
|
397
|
+
*/
|
|
398
|
+
500: unknown;
|
|
399
|
+
};
|
|
400
|
+
type PostConversationsTokenResponses = {
|
|
401
|
+
/**
|
|
402
|
+
* Success
|
|
403
|
+
*/
|
|
404
|
+
200: unknown;
|
|
405
|
+
};
|
|
406
|
+
type GetSyncTokenData = {
|
|
407
|
+
body?: never;
|
|
408
|
+
path?: never;
|
|
409
|
+
query?: {
|
|
410
|
+
identity?: string;
|
|
411
|
+
};
|
|
412
|
+
url: '/sync/token';
|
|
413
|
+
};
|
|
414
|
+
type GetSyncTokenErrors = {
|
|
415
|
+
/**
|
|
416
|
+
* Unauthorized — requires Bearer token
|
|
417
|
+
*/
|
|
418
|
+
401: unknown;
|
|
419
|
+
/**
|
|
420
|
+
* Internal server error
|
|
421
|
+
*/
|
|
422
|
+
500: unknown;
|
|
423
|
+
};
|
|
424
|
+
type GetSyncTokenResponses = {
|
|
425
|
+
/**
|
|
426
|
+
* Success
|
|
427
|
+
*/
|
|
428
|
+
200: unknown;
|
|
429
|
+
};
|
|
430
|
+
type GetVoiceTokenData = {
|
|
431
|
+
body?: never;
|
|
432
|
+
path?: never;
|
|
433
|
+
query?: {
|
|
434
|
+
identity?: string;
|
|
435
|
+
};
|
|
436
|
+
url: '/voice/token';
|
|
437
|
+
};
|
|
438
|
+
type GetVoiceTokenErrors = {
|
|
439
|
+
/**
|
|
440
|
+
* Internal server error
|
|
441
|
+
*/
|
|
442
|
+
500: unknown;
|
|
443
|
+
};
|
|
444
|
+
type GetVoiceTokenResponses = {
|
|
445
|
+
/**
|
|
446
|
+
* Success
|
|
447
|
+
*/
|
|
448
|
+
200: unknown;
|
|
449
|
+
};
|
|
450
|
+
type PostUiConfigData = {
|
|
451
|
+
body: {
|
|
452
|
+
[key: string]: unknown;
|
|
453
|
+
};
|
|
454
|
+
path?: never;
|
|
455
|
+
query?: never;
|
|
456
|
+
url: '/ui-config';
|
|
457
|
+
};
|
|
458
|
+
type PostUiConfigErrors = {
|
|
459
|
+
/**
|
|
460
|
+
* Internal server error
|
|
461
|
+
*/
|
|
462
|
+
500: unknown;
|
|
463
|
+
};
|
|
464
|
+
type PostUiConfigResponses = {
|
|
465
|
+
/**
|
|
466
|
+
* Success
|
|
467
|
+
*/
|
|
468
|
+
200: unknown;
|
|
469
|
+
};
|
|
470
|
+
type PostCreateExternalFlexConnectionData = {
|
|
471
|
+
body: {
|
|
472
|
+
/**
|
|
473
|
+
* Source/external Twilio account SID. Required.
|
|
474
|
+
*/
|
|
475
|
+
seAccountSid: string;
|
|
476
|
+
/**
|
|
477
|
+
* Source/external Twilio API key SID. Required.
|
|
478
|
+
*/
|
|
479
|
+
seApiKeySid: string;
|
|
480
|
+
/**
|
|
481
|
+
* Source/external Twilio API key secret. Required.
|
|
482
|
+
*/
|
|
483
|
+
seApiKeySecret: string;
|
|
484
|
+
};
|
|
485
|
+
path?: never;
|
|
486
|
+
query?: never;
|
|
487
|
+
url: '/create-external-flex-connection';
|
|
488
|
+
};
|
|
489
|
+
type PostCreateExternalFlexConnectionErrors = {
|
|
490
|
+
/**
|
|
491
|
+
* Unauthorized — requires Bearer token
|
|
492
|
+
*/
|
|
493
|
+
401: unknown;
|
|
494
|
+
/**
|
|
495
|
+
* Internal server error
|
|
496
|
+
*/
|
|
497
|
+
500: unknown;
|
|
498
|
+
};
|
|
499
|
+
type PostCreateExternalFlexConnectionResponses = {
|
|
500
|
+
/**
|
|
501
|
+
* Success
|
|
502
|
+
*/
|
|
503
|
+
200: unknown;
|
|
504
|
+
};
|
|
505
|
+
type PostInstallFlexPluginData = {
|
|
506
|
+
body: {
|
|
507
|
+
/**
|
|
508
|
+
* Source/external Twilio account SID. Required.
|
|
509
|
+
*/
|
|
510
|
+
seAccountSid: string;
|
|
511
|
+
/**
|
|
512
|
+
* Source/external Twilio API key SID. Required.
|
|
513
|
+
*/
|
|
514
|
+
seApiKeySid: string;
|
|
515
|
+
/**
|
|
516
|
+
* Source/external Twilio API key secret. Required.
|
|
517
|
+
*/
|
|
518
|
+
seApiKeySecret: string;
|
|
519
|
+
/**
|
|
520
|
+
* Name of the plugin to install (must be in registry). Required.
|
|
521
|
+
*/
|
|
522
|
+
pluginName: string;
|
|
523
|
+
};
|
|
524
|
+
path?: never;
|
|
525
|
+
query?: never;
|
|
526
|
+
url: '/install-flex-plugin';
|
|
527
|
+
};
|
|
528
|
+
type PostInstallFlexPluginErrors = {
|
|
529
|
+
/**
|
|
530
|
+
* Unauthorized — requires Bearer token
|
|
531
|
+
*/
|
|
532
|
+
401: unknown;
|
|
533
|
+
/**
|
|
534
|
+
* Internal server error
|
|
535
|
+
*/
|
|
536
|
+
500: unknown;
|
|
537
|
+
};
|
|
538
|
+
type PostInstallFlexPluginResponses = {
|
|
539
|
+
/**
|
|
540
|
+
* Success
|
|
541
|
+
*/
|
|
542
|
+
200: unknown;
|
|
543
|
+
};
|
|
544
|
+
type PostLiveAgentWebchatConnectData = {
|
|
545
|
+
body: {
|
|
546
|
+
[key: string]: unknown;
|
|
547
|
+
};
|
|
548
|
+
path?: never;
|
|
549
|
+
query?: never;
|
|
550
|
+
url: '/live-agent-webchat-connect';
|
|
551
|
+
};
|
|
552
|
+
type PostLiveAgentWebchatConnectErrors = {
|
|
553
|
+
/**
|
|
554
|
+
* Internal server error
|
|
555
|
+
*/
|
|
556
|
+
500: unknown;
|
|
557
|
+
};
|
|
558
|
+
type PostLiveAgentWebchatConnectResponses = {
|
|
559
|
+
/**
|
|
560
|
+
* Success
|
|
561
|
+
*/
|
|
562
|
+
200: unknown;
|
|
563
|
+
};
|
|
564
|
+
type PostLiveAgentWebchatSendData = {
|
|
565
|
+
body: {
|
|
566
|
+
/**
|
|
567
|
+
* Twilio Conversation SID (CH...). Required.
|
|
568
|
+
*/
|
|
569
|
+
conversationSid: string;
|
|
570
|
+
/**
|
|
571
|
+
* Identity to use as message author. Required.
|
|
572
|
+
*/
|
|
573
|
+
identity: string;
|
|
574
|
+
/**
|
|
575
|
+
* Message content to send. Required.
|
|
576
|
+
*/
|
|
577
|
+
message: string;
|
|
578
|
+
};
|
|
579
|
+
path?: never;
|
|
580
|
+
query?: never;
|
|
581
|
+
url: '/live-agent-webchat-send';
|
|
582
|
+
};
|
|
583
|
+
type PostLiveAgentWebchatSendErrors = {
|
|
584
|
+
/**
|
|
585
|
+
* Unauthorized — requires Bearer token
|
|
586
|
+
*/
|
|
587
|
+
401: unknown;
|
|
588
|
+
/**
|
|
589
|
+
* Internal server error
|
|
590
|
+
*/
|
|
591
|
+
500: unknown;
|
|
592
|
+
};
|
|
593
|
+
type PostLiveAgentWebchatSendResponses = {
|
|
594
|
+
/**
|
|
595
|
+
* Success
|
|
596
|
+
*/
|
|
597
|
+
200: unknown;
|
|
598
|
+
};
|
|
599
|
+
type PostLiveAgentWebchatEndData = {
|
|
600
|
+
body: {
|
|
601
|
+
[key: string]: unknown;
|
|
602
|
+
};
|
|
603
|
+
path?: never;
|
|
604
|
+
query?: never;
|
|
605
|
+
url: '/live-agent-webchat-end';
|
|
606
|
+
};
|
|
607
|
+
type PostLiveAgentWebchatEndErrors = {
|
|
608
|
+
/**
|
|
609
|
+
* Internal server error
|
|
610
|
+
*/
|
|
611
|
+
500: unknown;
|
|
612
|
+
};
|
|
613
|
+
type PostLiveAgentWebchatEndResponses = {
|
|
614
|
+
/**
|
|
615
|
+
* Success
|
|
616
|
+
*/
|
|
617
|
+
200: unknown;
|
|
618
|
+
};
|
|
619
|
+
type DeleteLeadGenData = {
|
|
620
|
+
body?: never;
|
|
621
|
+
path?: never;
|
|
622
|
+
query?: never;
|
|
623
|
+
url: '/lead-gen';
|
|
624
|
+
};
|
|
625
|
+
type DeleteLeadGenErrors = {
|
|
626
|
+
/**
|
|
627
|
+
* Unauthorized — requires Bearer token
|
|
628
|
+
*/
|
|
629
|
+
401: unknown;
|
|
630
|
+
/**
|
|
631
|
+
* Internal server error
|
|
632
|
+
*/
|
|
633
|
+
500: unknown;
|
|
634
|
+
};
|
|
635
|
+
type DeleteLeadGenResponses = {
|
|
636
|
+
/**
|
|
637
|
+
* Success
|
|
638
|
+
*/
|
|
639
|
+
200: unknown;
|
|
640
|
+
};
|
|
641
|
+
type PatchLeadGenData = {
|
|
642
|
+
body: {
|
|
643
|
+
[key: string]: unknown;
|
|
644
|
+
};
|
|
645
|
+
path?: never;
|
|
646
|
+
query?: never;
|
|
647
|
+
url: '/lead-gen';
|
|
648
|
+
};
|
|
649
|
+
type PatchLeadGenErrors = {
|
|
650
|
+
/**
|
|
651
|
+
* Unauthorized — requires Bearer token
|
|
652
|
+
*/
|
|
653
|
+
401: unknown;
|
|
654
|
+
/**
|
|
655
|
+
* Internal server error
|
|
656
|
+
*/
|
|
657
|
+
500: unknown;
|
|
658
|
+
};
|
|
659
|
+
type PatchLeadGenResponses = {
|
|
660
|
+
/**
|
|
661
|
+
* Success
|
|
662
|
+
*/
|
|
663
|
+
200: unknown;
|
|
664
|
+
};
|
|
665
|
+
type PostLeadGenData = {
|
|
666
|
+
body: {
|
|
667
|
+
/**
|
|
668
|
+
* The Algolia object ID of the template to associate with the lead gen.
|
|
669
|
+
*/
|
|
670
|
+
objectID: string;
|
|
671
|
+
/**
|
|
672
|
+
* The email address of the user creating the lead gen.
|
|
673
|
+
*/
|
|
674
|
+
userEmail: string;
|
|
675
|
+
};
|
|
676
|
+
path?: never;
|
|
677
|
+
query?: never;
|
|
678
|
+
url: '/lead-gen';
|
|
679
|
+
};
|
|
680
|
+
type PostLeadGenErrors = {
|
|
681
|
+
/**
|
|
682
|
+
* Unauthorized — requires Bearer token
|
|
683
|
+
*/
|
|
684
|
+
401: unknown;
|
|
685
|
+
/**
|
|
686
|
+
* Internal server error
|
|
687
|
+
*/
|
|
688
|
+
500: unknown;
|
|
689
|
+
};
|
|
690
|
+
type PostLeadGenResponses = {
|
|
691
|
+
/**
|
|
692
|
+
* Success
|
|
693
|
+
*/
|
|
694
|
+
200: unknown;
|
|
695
|
+
};
|
|
696
|
+
type PostLeadGenMonitorData = {
|
|
697
|
+
body?: never;
|
|
698
|
+
path?: never;
|
|
699
|
+
query?: never;
|
|
700
|
+
url: '/lead-gen-monitor';
|
|
701
|
+
};
|
|
702
|
+
type PostLeadGenMonitorErrors = {
|
|
703
|
+
/**
|
|
704
|
+
* Unauthorized — requires Bearer token
|
|
705
|
+
*/
|
|
706
|
+
401: unknown;
|
|
707
|
+
/**
|
|
708
|
+
* Internal server error
|
|
709
|
+
*/
|
|
710
|
+
500: unknown;
|
|
711
|
+
};
|
|
712
|
+
type PostLeadGenMonitorResponses = {
|
|
713
|
+
/**
|
|
714
|
+
* Success
|
|
715
|
+
*/
|
|
716
|
+
200: unknown;
|
|
717
|
+
};
|
|
718
|
+
type PostConversationsCommunicationsByConversationIdData = {
|
|
719
|
+
body: {
|
|
720
|
+
/**
|
|
721
|
+
* Author of the communication (required)
|
|
722
|
+
*/
|
|
723
|
+
author: string;
|
|
724
|
+
/**
|
|
725
|
+
* Content of the communication (required)
|
|
726
|
+
*/
|
|
727
|
+
content: string;
|
|
728
|
+
/**
|
|
729
|
+
* Recipients of the communication (required, non-empty)
|
|
730
|
+
*/
|
|
731
|
+
recipients: string;
|
|
732
|
+
};
|
|
733
|
+
path: {
|
|
734
|
+
conversationId: string;
|
|
735
|
+
};
|
|
736
|
+
query?: never;
|
|
737
|
+
url: '/conversations-communications/{conversationId}';
|
|
738
|
+
};
|
|
739
|
+
type PostConversationsCommunicationsByConversationIdErrors = {
|
|
740
|
+
/**
|
|
741
|
+
* Unauthorized — requires Bearer token
|
|
742
|
+
*/
|
|
743
|
+
401: unknown;
|
|
744
|
+
/**
|
|
745
|
+
* Internal server error
|
|
746
|
+
*/
|
|
747
|
+
500: unknown;
|
|
748
|
+
};
|
|
749
|
+
type PostConversationsCommunicationsByConversationIdResponses = {
|
|
750
|
+
/**
|
|
751
|
+
* Success
|
|
752
|
+
*/
|
|
753
|
+
200: unknown;
|
|
754
|
+
};
|
|
755
|
+
type GetConversationsFetchData = {
|
|
756
|
+
body?: never;
|
|
757
|
+
path?: never;
|
|
758
|
+
query?: {
|
|
759
|
+
conversationId?: string;
|
|
760
|
+
status?: string;
|
|
761
|
+
};
|
|
762
|
+
url: '/conversations-fetch';
|
|
763
|
+
};
|
|
764
|
+
type GetConversationsFetchErrors = {
|
|
765
|
+
/**
|
|
766
|
+
* Unauthorized — requires Bearer token
|
|
767
|
+
*/
|
|
768
|
+
401: unknown;
|
|
769
|
+
/**
|
|
770
|
+
* Internal server error
|
|
771
|
+
*/
|
|
772
|
+
500: unknown;
|
|
773
|
+
};
|
|
774
|
+
type GetConversationsFetchResponses = {
|
|
775
|
+
/**
|
|
776
|
+
* Success
|
|
777
|
+
*/
|
|
778
|
+
200: unknown;
|
|
779
|
+
};
|
|
780
|
+
type PostConversationsData = {
|
|
781
|
+
body: {
|
|
782
|
+
/**
|
|
783
|
+
* The Twilio configuration ID (required)
|
|
784
|
+
*/
|
|
785
|
+
configurationId: string;
|
|
786
|
+
};
|
|
787
|
+
path?: never;
|
|
788
|
+
query?: never;
|
|
789
|
+
url: '/conversations';
|
|
790
|
+
};
|
|
791
|
+
type PostConversationsErrors = {
|
|
792
|
+
/**
|
|
793
|
+
* Unauthorized — requires Bearer token
|
|
794
|
+
*/
|
|
795
|
+
401: unknown;
|
|
796
|
+
/**
|
|
797
|
+
* Internal server error
|
|
798
|
+
*/
|
|
799
|
+
500: unknown;
|
|
800
|
+
};
|
|
801
|
+
type PostConversationsResponses = {
|
|
802
|
+
/**
|
|
803
|
+
* Success
|
|
804
|
+
*/
|
|
805
|
+
200: unknown;
|
|
806
|
+
};
|
|
807
|
+
type PutConversationsData = {
|
|
808
|
+
body: {
|
|
809
|
+
/**
|
|
810
|
+
* The Twilio conversation SID (required)
|
|
811
|
+
*/
|
|
812
|
+
conversationsId: string;
|
|
813
|
+
/**
|
|
814
|
+
* The new status for the conversation (required)
|
|
815
|
+
*/
|
|
816
|
+
status: string;
|
|
817
|
+
};
|
|
818
|
+
path?: never;
|
|
819
|
+
query?: never;
|
|
820
|
+
url: '/conversations';
|
|
821
|
+
};
|
|
822
|
+
type PutConversationsErrors = {
|
|
823
|
+
/**
|
|
824
|
+
* Unauthorized — requires Bearer token
|
|
825
|
+
*/
|
|
826
|
+
401: unknown;
|
|
827
|
+
/**
|
|
828
|
+
* Internal server error
|
|
829
|
+
*/
|
|
830
|
+
500: unknown;
|
|
831
|
+
};
|
|
832
|
+
type PutConversationsResponses = {
|
|
833
|
+
/**
|
|
834
|
+
* Success
|
|
835
|
+
*/
|
|
836
|
+
200: unknown;
|
|
837
|
+
};
|
|
838
|
+
type GetParticipantsData = {
|
|
839
|
+
body?: never;
|
|
840
|
+
path?: never;
|
|
841
|
+
query?: {
|
|
842
|
+
conversationId?: string;
|
|
843
|
+
participantId?: string;
|
|
844
|
+
};
|
|
845
|
+
url: '/participants';
|
|
846
|
+
};
|
|
847
|
+
type GetParticipantsErrors = {
|
|
848
|
+
/**
|
|
849
|
+
* Unauthorized — requires Bearer token
|
|
850
|
+
*/
|
|
851
|
+
401: unknown;
|
|
852
|
+
/**
|
|
853
|
+
* Internal server error
|
|
854
|
+
*/
|
|
855
|
+
500: unknown;
|
|
856
|
+
};
|
|
857
|
+
type GetParticipantsResponses = {
|
|
858
|
+
/**
|
|
859
|
+
* Success
|
|
860
|
+
*/
|
|
861
|
+
200: unknown;
|
|
862
|
+
};
|
|
863
|
+
type PostParticipantsData = {
|
|
864
|
+
body: {
|
|
865
|
+
/**
|
|
866
|
+
* The Twilio conversation SID (required)
|
|
867
|
+
*/
|
|
868
|
+
conversationId: string;
|
|
869
|
+
/**
|
|
870
|
+
* Type of participant (required)
|
|
871
|
+
*/
|
|
872
|
+
participantType: string;
|
|
873
|
+
/**
|
|
874
|
+
* Communication addresses for this participant (required)
|
|
875
|
+
*/
|
|
876
|
+
addresses: string;
|
|
877
|
+
};
|
|
878
|
+
path?: never;
|
|
879
|
+
query?: never;
|
|
880
|
+
url: '/participants';
|
|
881
|
+
};
|
|
882
|
+
type PostParticipantsErrors = {
|
|
883
|
+
/**
|
|
884
|
+
* Unauthorized — requires Bearer token
|
|
885
|
+
*/
|
|
886
|
+
401: unknown;
|
|
887
|
+
/**
|
|
888
|
+
* Internal server error
|
|
889
|
+
*/
|
|
890
|
+
500: unknown;
|
|
891
|
+
};
|
|
892
|
+
type PostParticipantsResponses = {
|
|
893
|
+
/**
|
|
894
|
+
* Success
|
|
895
|
+
*/
|
|
896
|
+
200: unknown;
|
|
897
|
+
};
|
|
898
|
+
type PutParticipantsData = {
|
|
899
|
+
body: {
|
|
900
|
+
/**
|
|
901
|
+
* The conversation ID (required)
|
|
902
|
+
*/
|
|
903
|
+
conversationId: string;
|
|
904
|
+
/**
|
|
905
|
+
* The participant ID to update (required)
|
|
906
|
+
*/
|
|
907
|
+
participantId: string;
|
|
908
|
+
};
|
|
909
|
+
path?: never;
|
|
910
|
+
query?: never;
|
|
911
|
+
url: '/participants';
|
|
912
|
+
};
|
|
913
|
+
type PutParticipantsErrors = {
|
|
914
|
+
/**
|
|
915
|
+
* Unauthorized — requires Bearer token
|
|
916
|
+
*/
|
|
917
|
+
401: unknown;
|
|
918
|
+
/**
|
|
919
|
+
* Internal server error
|
|
920
|
+
*/
|
|
921
|
+
500: unknown;
|
|
922
|
+
};
|
|
923
|
+
type PutParticipantsResponses = {
|
|
924
|
+
/**
|
|
925
|
+
* Success
|
|
926
|
+
*/
|
|
927
|
+
200: unknown;
|
|
928
|
+
};
|
|
929
|
+
type DeleteConversationalIntelligenceOperatorData = {
|
|
930
|
+
body: {
|
|
931
|
+
/**
|
|
932
|
+
* The operator ID to delete (required)
|
|
933
|
+
*/
|
|
934
|
+
intelligenceOperatorId: string;
|
|
935
|
+
};
|
|
936
|
+
path?: never;
|
|
937
|
+
query?: never;
|
|
938
|
+
url: '/conversational-intelligence-operator';
|
|
939
|
+
};
|
|
940
|
+
type DeleteConversationalIntelligenceOperatorErrors = {
|
|
941
|
+
/**
|
|
942
|
+
* Unauthorized — requires Bearer token
|
|
943
|
+
*/
|
|
944
|
+
401: unknown;
|
|
945
|
+
/**
|
|
946
|
+
* Internal server error
|
|
947
|
+
*/
|
|
948
|
+
500: unknown;
|
|
949
|
+
};
|
|
950
|
+
type DeleteConversationalIntelligenceOperatorResponses = {
|
|
951
|
+
/**
|
|
952
|
+
* Success
|
|
953
|
+
*/
|
|
954
|
+
200: unknown;
|
|
955
|
+
};
|
|
956
|
+
type GetConversationalIntelligenceOperatorData = {
|
|
957
|
+
body?: never;
|
|
958
|
+
path?: never;
|
|
959
|
+
query?: {
|
|
960
|
+
intelligenceOperatorId?: string;
|
|
961
|
+
pageToken?: string;
|
|
962
|
+
};
|
|
963
|
+
url: '/conversational-intelligence-operator';
|
|
964
|
+
};
|
|
965
|
+
type GetConversationalIntelligenceOperatorErrors = {
|
|
966
|
+
/**
|
|
967
|
+
* Unauthorized — requires Bearer token
|
|
968
|
+
*/
|
|
969
|
+
401: unknown;
|
|
970
|
+
/**
|
|
971
|
+
* Internal server error
|
|
972
|
+
*/
|
|
973
|
+
500: unknown;
|
|
974
|
+
};
|
|
975
|
+
type GetConversationalIntelligenceOperatorResponses = {
|
|
976
|
+
/**
|
|
977
|
+
* Success
|
|
978
|
+
*/
|
|
979
|
+
200: unknown;
|
|
980
|
+
};
|
|
981
|
+
type PostConversationalIntelligenceOperatorData = {
|
|
982
|
+
body: {
|
|
983
|
+
/**
|
|
984
|
+
* The author of the operator (required)
|
|
985
|
+
*/
|
|
986
|
+
author: string;
|
|
987
|
+
/**
|
|
988
|
+
* Human-readable name for the operator (required)
|
|
989
|
+
*/
|
|
990
|
+
displayName: string;
|
|
991
|
+
/**
|
|
992
|
+
* Description of what the operator does (required)
|
|
993
|
+
*/
|
|
994
|
+
description: string;
|
|
995
|
+
/**
|
|
996
|
+
* The AI prompt used to analyze conversations (required)
|
|
997
|
+
*/
|
|
998
|
+
prompt: string;
|
|
999
|
+
/**
|
|
1000
|
+
* JSON schema type for the output value, e.g., 'string', 'boolean', 'number' (required)
|
|
1001
|
+
*/
|
|
1002
|
+
valueType: string;
|
|
1003
|
+
/**
|
|
1004
|
+
* UI rendering hint for displaying results (required)
|
|
1005
|
+
*/
|
|
1006
|
+
uiType: string;
|
|
1007
|
+
};
|
|
1008
|
+
path?: never;
|
|
1009
|
+
query?: never;
|
|
1010
|
+
url: '/conversational-intelligence-operator';
|
|
1011
|
+
};
|
|
1012
|
+
type PostConversationalIntelligenceOperatorErrors = {
|
|
1013
|
+
/**
|
|
1014
|
+
* Unauthorized — requires Bearer token
|
|
1015
|
+
*/
|
|
1016
|
+
401: unknown;
|
|
1017
|
+
/**
|
|
1018
|
+
* Internal server error
|
|
1019
|
+
*/
|
|
1020
|
+
500: unknown;
|
|
1021
|
+
};
|
|
1022
|
+
type PostConversationalIntelligenceOperatorResponses = {
|
|
1023
|
+
/**
|
|
1024
|
+
* Success
|
|
1025
|
+
*/
|
|
1026
|
+
200: unknown;
|
|
1027
|
+
};
|
|
1028
|
+
type PutConversationalIntelligenceOperatorData = {
|
|
1029
|
+
body: {
|
|
1030
|
+
/**
|
|
1031
|
+
* Human-readable name for the operator (required)
|
|
1032
|
+
*/
|
|
1033
|
+
displayName: string;
|
|
1034
|
+
/**
|
|
1035
|
+
* Description of what the operator does (required)
|
|
1036
|
+
*/
|
|
1037
|
+
description: string;
|
|
1038
|
+
/**
|
|
1039
|
+
* The AI prompt used to analyze conversations (required)
|
|
1040
|
+
*/
|
|
1041
|
+
prompt: string;
|
|
1042
|
+
/**
|
|
1043
|
+
* JSON schema type for the output value, e.g., 'string', 'boolean', 'number' (required)
|
|
1044
|
+
*/
|
|
1045
|
+
valueType: string;
|
|
1046
|
+
/**
|
|
1047
|
+
* UI rendering hint for displaying results (required)
|
|
1048
|
+
*/
|
|
1049
|
+
uiType: string;
|
|
1050
|
+
/**
|
|
1051
|
+
* The ID of the operator to retrieve (required)
|
|
1052
|
+
*/
|
|
1053
|
+
intelligenceOperatorId: string;
|
|
1054
|
+
};
|
|
1055
|
+
path?: never;
|
|
1056
|
+
query?: never;
|
|
1057
|
+
url: '/conversational-intelligence-operator';
|
|
1058
|
+
};
|
|
1059
|
+
type PutConversationalIntelligenceOperatorErrors = {
|
|
1060
|
+
/**
|
|
1061
|
+
* Unauthorized — requires Bearer token
|
|
1062
|
+
*/
|
|
1063
|
+
401: unknown;
|
|
1064
|
+
/**
|
|
1065
|
+
* Internal server error
|
|
1066
|
+
*/
|
|
1067
|
+
500: unknown;
|
|
1068
|
+
};
|
|
1069
|
+
type PutConversationalIntelligenceOperatorResponses = {
|
|
1070
|
+
/**
|
|
1071
|
+
* Success
|
|
1072
|
+
*/
|
|
1073
|
+
200: unknown;
|
|
1074
|
+
};
|
|
1075
|
+
type GetIntelligenceConfigurationData = {
|
|
1076
|
+
body?: never;
|
|
1077
|
+
path?: never;
|
|
1078
|
+
query?: {
|
|
1079
|
+
intelligenceConfigurationId?: string;
|
|
1080
|
+
pageToken?: string;
|
|
1081
|
+
};
|
|
1082
|
+
url: '/intelligence-configuration';
|
|
1083
|
+
};
|
|
1084
|
+
type GetIntelligenceConfigurationErrors = {
|
|
1085
|
+
/**
|
|
1086
|
+
* Unauthorized — requires Bearer token
|
|
1087
|
+
*/
|
|
1088
|
+
401: unknown;
|
|
1089
|
+
/**
|
|
1090
|
+
* Internal server error
|
|
1091
|
+
*/
|
|
1092
|
+
500: unknown;
|
|
1093
|
+
};
|
|
1094
|
+
type GetIntelligenceConfigurationResponses = {
|
|
1095
|
+
/**
|
|
1096
|
+
* Success
|
|
1097
|
+
*/
|
|
1098
|
+
200: unknown;
|
|
1099
|
+
};
|
|
1100
|
+
type PostIntelligenceConfigurationData = {
|
|
1101
|
+
body: {
|
|
1102
|
+
[key: string]: unknown;
|
|
1103
|
+
};
|
|
1104
|
+
path?: never;
|
|
1105
|
+
query?: never;
|
|
1106
|
+
url: '/intelligence-configuration';
|
|
1107
|
+
};
|
|
1108
|
+
type PostIntelligenceConfigurationErrors = {
|
|
1109
|
+
/**
|
|
1110
|
+
* Unauthorized — requires Bearer token
|
|
1111
|
+
*/
|
|
1112
|
+
401: unknown;
|
|
1113
|
+
/**
|
|
1114
|
+
* Internal server error
|
|
1115
|
+
*/
|
|
1116
|
+
500: unknown;
|
|
1117
|
+
};
|
|
1118
|
+
type PostIntelligenceConfigurationResponses = {
|
|
1119
|
+
/**
|
|
1120
|
+
* Success
|
|
1121
|
+
*/
|
|
1122
|
+
200: unknown;
|
|
1123
|
+
};
|
|
1124
|
+
type PutIntelligenceConfigurationData = {
|
|
1125
|
+
body: {
|
|
1126
|
+
/**
|
|
1127
|
+
* The configuration ID to update (required)
|
|
1128
|
+
*/
|
|
1129
|
+
intelligenceConfigurationId: string;
|
|
1130
|
+
};
|
|
1131
|
+
path?: never;
|
|
1132
|
+
query?: never;
|
|
1133
|
+
url: '/intelligence-configuration';
|
|
1134
|
+
};
|
|
1135
|
+
type PutIntelligenceConfigurationErrors = {
|
|
1136
|
+
/**
|
|
1137
|
+
* Unauthorized — requires Bearer token
|
|
1138
|
+
*/
|
|
1139
|
+
401: unknown;
|
|
1140
|
+
/**
|
|
1141
|
+
* Internal server error
|
|
1142
|
+
*/
|
|
1143
|
+
500: unknown;
|
|
1144
|
+
};
|
|
1145
|
+
type PutIntelligenceConfigurationResponses = {
|
|
1146
|
+
/**
|
|
1147
|
+
* Success
|
|
1148
|
+
*/
|
|
1149
|
+
200: unknown;
|
|
1150
|
+
};
|
|
1151
|
+
type DeleteConversationMemoryProfilesData = {
|
|
1152
|
+
body?: never;
|
|
1153
|
+
path?: never;
|
|
1154
|
+
query?: {
|
|
1155
|
+
storeId?: string;
|
|
1156
|
+
profileId?: string;
|
|
1157
|
+
};
|
|
1158
|
+
url: '/conversation-memory-profiles';
|
|
1159
|
+
};
|
|
1160
|
+
type DeleteConversationMemoryProfilesErrors = {
|
|
1161
|
+
/**
|
|
1162
|
+
* Unauthorized — requires Bearer token
|
|
1163
|
+
*/
|
|
1164
|
+
401: unknown;
|
|
1165
|
+
/**
|
|
1166
|
+
* Internal server error
|
|
1167
|
+
*/
|
|
1168
|
+
500: unknown;
|
|
1169
|
+
};
|
|
1170
|
+
type DeleteConversationMemoryProfilesResponses = {
|
|
1171
|
+
/**
|
|
1172
|
+
* Success
|
|
1173
|
+
*/
|
|
1174
|
+
200: unknown;
|
|
1175
|
+
};
|
|
1176
|
+
type GetConversationMemoryProfilesData = {
|
|
1177
|
+
body?: never;
|
|
1178
|
+
path?: never;
|
|
1179
|
+
query?: {
|
|
1180
|
+
storeId?: string;
|
|
1181
|
+
profileId?: string;
|
|
1182
|
+
traitGroups?: string;
|
|
1183
|
+
pageSize?: string;
|
|
1184
|
+
pageToken?: string;
|
|
1185
|
+
orderBy?: string;
|
|
1186
|
+
};
|
|
1187
|
+
url: '/conversation-memory-profiles';
|
|
1188
|
+
};
|
|
1189
|
+
type GetConversationMemoryProfilesErrors = {
|
|
1190
|
+
/**
|
|
1191
|
+
* Unauthorized — requires Bearer token
|
|
1192
|
+
*/
|
|
1193
|
+
401: unknown;
|
|
1194
|
+
/**
|
|
1195
|
+
* Internal server error
|
|
1196
|
+
*/
|
|
1197
|
+
500: unknown;
|
|
1198
|
+
};
|
|
1199
|
+
type GetConversationMemoryProfilesResponses = {
|
|
1200
|
+
/**
|
|
1201
|
+
* Success
|
|
1202
|
+
*/
|
|
1203
|
+
200: unknown;
|
|
1204
|
+
};
|
|
1205
|
+
type PatchConversationMemoryProfilesData = {
|
|
1206
|
+
body: {
|
|
1207
|
+
/**
|
|
1208
|
+
* The Memory Store ID (required)
|
|
1209
|
+
*/
|
|
1210
|
+
storeId: string;
|
|
1211
|
+
/**
|
|
1212
|
+
* The Profile ID (required)
|
|
1213
|
+
*/
|
|
1214
|
+
profileId: string;
|
|
1215
|
+
/**
|
|
1216
|
+
* Trait groups with key-value pairs to merge (required)
|
|
1217
|
+
*/
|
|
1218
|
+
traits: string;
|
|
1219
|
+
};
|
|
1220
|
+
path?: never;
|
|
1221
|
+
query?: never;
|
|
1222
|
+
url: '/conversation-memory-profiles';
|
|
1223
|
+
};
|
|
1224
|
+
type PatchConversationMemoryProfilesErrors = {
|
|
1225
|
+
/**
|
|
1226
|
+
* Unauthorized — requires Bearer token
|
|
1227
|
+
*/
|
|
1228
|
+
401: unknown;
|
|
1229
|
+
/**
|
|
1230
|
+
* Internal server error
|
|
1231
|
+
*/
|
|
1232
|
+
500: unknown;
|
|
1233
|
+
};
|
|
1234
|
+
type PatchConversationMemoryProfilesResponses = {
|
|
1235
|
+
/**
|
|
1236
|
+
* Success
|
|
1237
|
+
*/
|
|
1238
|
+
200: unknown;
|
|
1239
|
+
};
|
|
1240
|
+
type PostConversationMemoryProfilesData = {
|
|
1241
|
+
body: {
|
|
1242
|
+
/**
|
|
1243
|
+
* The Memory Store ID (required)
|
|
1244
|
+
*/
|
|
1245
|
+
storeId: string;
|
|
1246
|
+
/**
|
|
1247
|
+
* Trait groups with key-value pairs (required)
|
|
1248
|
+
*/
|
|
1249
|
+
traits: string;
|
|
1250
|
+
};
|
|
1251
|
+
path?: never;
|
|
1252
|
+
query?: never;
|
|
1253
|
+
url: '/conversation-memory-profiles';
|
|
1254
|
+
};
|
|
1255
|
+
type PostConversationMemoryProfilesErrors = {
|
|
1256
|
+
/**
|
|
1257
|
+
* Unauthorized — requires Bearer token
|
|
1258
|
+
*/
|
|
1259
|
+
401: unknown;
|
|
1260
|
+
/**
|
|
1261
|
+
* Internal server error
|
|
1262
|
+
*/
|
|
1263
|
+
500: unknown;
|
|
1264
|
+
};
|
|
1265
|
+
type PostConversationMemoryProfilesResponses = {
|
|
1266
|
+
/**
|
|
1267
|
+
* Success
|
|
1268
|
+
*/
|
|
1269
|
+
200: unknown;
|
|
1270
|
+
};
|
|
1271
|
+
type PostConversationMemoryProfilesLookupData = {
|
|
1272
|
+
body: {
|
|
1273
|
+
/**
|
|
1274
|
+
* The Memory Store ID (required)
|
|
1275
|
+
*/
|
|
1276
|
+
storeId: string;
|
|
1277
|
+
/**
|
|
1278
|
+
* Identifier type (e.g., phone, email) (required)
|
|
1279
|
+
*/
|
|
1280
|
+
idType: string;
|
|
1281
|
+
/**
|
|
1282
|
+
* Raw identifier value to search for (required)
|
|
1283
|
+
*/
|
|
1284
|
+
value: string;
|
|
1285
|
+
};
|
|
1286
|
+
path?: never;
|
|
1287
|
+
query?: never;
|
|
1288
|
+
url: '/conversation-memory-profiles-lookup';
|
|
1289
|
+
};
|
|
1290
|
+
type PostConversationMemoryProfilesLookupErrors = {
|
|
1291
|
+
/**
|
|
1292
|
+
* Unauthorized — requires Bearer token
|
|
1293
|
+
*/
|
|
1294
|
+
401: unknown;
|
|
1295
|
+
/**
|
|
1296
|
+
* Internal server error
|
|
1297
|
+
*/
|
|
1298
|
+
500: unknown;
|
|
1299
|
+
};
|
|
1300
|
+
type PostConversationMemoryProfilesLookupResponses = {
|
|
1301
|
+
/**
|
|
1302
|
+
* Success
|
|
1303
|
+
*/
|
|
1304
|
+
200: unknown;
|
|
1305
|
+
};
|
|
1306
|
+
type PostConversationMemoryRecallData = {
|
|
1307
|
+
body: {
|
|
1308
|
+
/**
|
|
1309
|
+
* The Memory Store ID (required)
|
|
1310
|
+
*/
|
|
1311
|
+
storeId: string;
|
|
1312
|
+
/**
|
|
1313
|
+
* The Profile ID (required)
|
|
1314
|
+
*/
|
|
1315
|
+
profileId: string;
|
|
1316
|
+
};
|
|
1317
|
+
path?: never;
|
|
1318
|
+
query?: never;
|
|
1319
|
+
url: '/conversation-memory-recall';
|
|
1320
|
+
};
|
|
1321
|
+
type PostConversationMemoryRecallErrors = {
|
|
1322
|
+
/**
|
|
1323
|
+
* Unauthorized — requires Bearer token
|
|
1324
|
+
*/
|
|
1325
|
+
401: unknown;
|
|
1326
|
+
/**
|
|
1327
|
+
* Internal server error
|
|
1328
|
+
*/
|
|
1329
|
+
500: unknown;
|
|
1330
|
+
};
|
|
1331
|
+
type PostConversationMemoryRecallResponses = {
|
|
1332
|
+
/**
|
|
1333
|
+
* Success
|
|
1334
|
+
*/
|
|
1335
|
+
200: unknown;
|
|
1336
|
+
};
|
|
1337
|
+
type DeleteConversationMemoryIdentifiersData = {
|
|
1338
|
+
body?: never;
|
|
1339
|
+
path?: never;
|
|
1340
|
+
query?: {
|
|
1341
|
+
storeId?: string;
|
|
1342
|
+
profileId?: string;
|
|
1343
|
+
idType?: string;
|
|
1344
|
+
removeAll?: string;
|
|
1345
|
+
};
|
|
1346
|
+
url: '/conversation-memory-identifiers';
|
|
1347
|
+
};
|
|
1348
|
+
type DeleteConversationMemoryIdentifiersErrors = {
|
|
1349
|
+
/**
|
|
1350
|
+
* Unauthorized — requires Bearer token
|
|
1351
|
+
*/
|
|
1352
|
+
401: unknown;
|
|
1353
|
+
/**
|
|
1354
|
+
* Internal server error
|
|
1355
|
+
*/
|
|
1356
|
+
500: unknown;
|
|
1357
|
+
};
|
|
1358
|
+
type DeleteConversationMemoryIdentifiersResponses = {
|
|
1359
|
+
/**
|
|
1360
|
+
* Success
|
|
1361
|
+
*/
|
|
1362
|
+
200: unknown;
|
|
1363
|
+
};
|
|
1364
|
+
type GetConversationMemoryIdentifiersData = {
|
|
1365
|
+
body?: never;
|
|
1366
|
+
path?: never;
|
|
1367
|
+
query?: {
|
|
1368
|
+
storeId?: string;
|
|
1369
|
+
profileId?: string;
|
|
1370
|
+
idType?: string;
|
|
1371
|
+
};
|
|
1372
|
+
url: '/conversation-memory-identifiers';
|
|
1373
|
+
};
|
|
1374
|
+
type GetConversationMemoryIdentifiersErrors = {
|
|
1375
|
+
/**
|
|
1376
|
+
* Unauthorized — requires Bearer token
|
|
1377
|
+
*/
|
|
1378
|
+
401: unknown;
|
|
1379
|
+
/**
|
|
1380
|
+
* Internal server error
|
|
1381
|
+
*/
|
|
1382
|
+
500: unknown;
|
|
1383
|
+
};
|
|
1384
|
+
type GetConversationMemoryIdentifiersResponses = {
|
|
1385
|
+
/**
|
|
1386
|
+
* Success
|
|
1387
|
+
*/
|
|
1388
|
+
200: unknown;
|
|
1389
|
+
};
|
|
1390
|
+
type PatchConversationMemoryIdentifiersData = {
|
|
1391
|
+
body: {
|
|
1392
|
+
/**
|
|
1393
|
+
* The Memory Store ID (required)
|
|
1394
|
+
*/
|
|
1395
|
+
storeId: string;
|
|
1396
|
+
/**
|
|
1397
|
+
* The Profile ID (required)
|
|
1398
|
+
*/
|
|
1399
|
+
profileId: string;
|
|
1400
|
+
/**
|
|
1401
|
+
* Identifier type to update (required)
|
|
1402
|
+
*/
|
|
1403
|
+
idType: string;
|
|
1404
|
+
/**
|
|
1405
|
+
* Existing stored value to replace (required)
|
|
1406
|
+
*/
|
|
1407
|
+
oldValue: string;
|
|
1408
|
+
/**
|
|
1409
|
+
* New value to store (required)
|
|
1410
|
+
*/
|
|
1411
|
+
newValue: string;
|
|
1412
|
+
};
|
|
1413
|
+
path?: never;
|
|
1414
|
+
query?: never;
|
|
1415
|
+
url: '/conversation-memory-identifiers';
|
|
1416
|
+
};
|
|
1417
|
+
type PatchConversationMemoryIdentifiersErrors = {
|
|
1418
|
+
/**
|
|
1419
|
+
* Unauthorized — requires Bearer token
|
|
1420
|
+
*/
|
|
1421
|
+
401: unknown;
|
|
1422
|
+
/**
|
|
1423
|
+
* Internal server error
|
|
1424
|
+
*/
|
|
1425
|
+
500: unknown;
|
|
1426
|
+
};
|
|
1427
|
+
type PatchConversationMemoryIdentifiersResponses = {
|
|
1428
|
+
/**
|
|
1429
|
+
* Success
|
|
1430
|
+
*/
|
|
1431
|
+
200: unknown;
|
|
1432
|
+
};
|
|
1433
|
+
type PostConversationMemoryIdentifiersData = {
|
|
1434
|
+
body: {
|
|
1435
|
+
/**
|
|
1436
|
+
* The Memory Store ID (required)
|
|
1437
|
+
*/
|
|
1438
|
+
storeId: string;
|
|
1439
|
+
/**
|
|
1440
|
+
* The Profile ID (required)
|
|
1441
|
+
*/
|
|
1442
|
+
profileId: string;
|
|
1443
|
+
/**
|
|
1444
|
+
* Identifier type (e.g., phone, email) (required)
|
|
1445
|
+
*/
|
|
1446
|
+
idType: string;
|
|
1447
|
+
/**
|
|
1448
|
+
* Raw identifier value (required)
|
|
1449
|
+
*/
|
|
1450
|
+
value: string;
|
|
1451
|
+
};
|
|
1452
|
+
path?: never;
|
|
1453
|
+
query?: never;
|
|
1454
|
+
url: '/conversation-memory-identifiers';
|
|
1455
|
+
};
|
|
1456
|
+
type PostConversationMemoryIdentifiersErrors = {
|
|
1457
|
+
/**
|
|
1458
|
+
* Unauthorized — requires Bearer token
|
|
1459
|
+
*/
|
|
1460
|
+
401: unknown;
|
|
1461
|
+
/**
|
|
1462
|
+
* Internal server error
|
|
1463
|
+
*/
|
|
1464
|
+
500: unknown;
|
|
1465
|
+
};
|
|
1466
|
+
type PostConversationMemoryIdentifiersResponses = {
|
|
1467
|
+
/**
|
|
1468
|
+
* Success
|
|
1469
|
+
*/
|
|
1470
|
+
200: unknown;
|
|
1471
|
+
};
|
|
1472
|
+
type DeleteConversationMemoryTraitGroupsData = {
|
|
1473
|
+
body?: never;
|
|
1474
|
+
path?: never;
|
|
1475
|
+
query?: {
|
|
1476
|
+
storeId?: string;
|
|
1477
|
+
traitGroupName?: string;
|
|
1478
|
+
};
|
|
1479
|
+
url: '/conversation-memory-trait-groups';
|
|
1480
|
+
};
|
|
1481
|
+
type DeleteConversationMemoryTraitGroupsErrors = {
|
|
1482
|
+
/**
|
|
1483
|
+
* Unauthorized — requires Bearer token
|
|
1484
|
+
*/
|
|
1485
|
+
401: unknown;
|
|
1486
|
+
/**
|
|
1487
|
+
* Internal server error
|
|
1488
|
+
*/
|
|
1489
|
+
500: unknown;
|
|
1490
|
+
};
|
|
1491
|
+
type DeleteConversationMemoryTraitGroupsResponses = {
|
|
1492
|
+
/**
|
|
1493
|
+
* Success
|
|
1494
|
+
*/
|
|
1495
|
+
200: unknown;
|
|
1496
|
+
};
|
|
1497
|
+
type GetConversationMemoryTraitGroupsData = {
|
|
1498
|
+
body?: never;
|
|
1499
|
+
path?: never;
|
|
1500
|
+
query?: {
|
|
1501
|
+
storeId?: string;
|
|
1502
|
+
traitGroupName?: string;
|
|
1503
|
+
includeTraits?: string;
|
|
1504
|
+
pageSize?: string;
|
|
1505
|
+
pageToken?: string;
|
|
1506
|
+
orderBy?: string;
|
|
1507
|
+
};
|
|
1508
|
+
url: '/conversation-memory-trait-groups';
|
|
1509
|
+
};
|
|
1510
|
+
type GetConversationMemoryTraitGroupsErrors = {
|
|
1511
|
+
/**
|
|
1512
|
+
* Unauthorized — requires Bearer token
|
|
1513
|
+
*/
|
|
1514
|
+
401: unknown;
|
|
1515
|
+
/**
|
|
1516
|
+
* Internal server error
|
|
1517
|
+
*/
|
|
1518
|
+
500: unknown;
|
|
1519
|
+
};
|
|
1520
|
+
type GetConversationMemoryTraitGroupsResponses = {
|
|
1521
|
+
/**
|
|
1522
|
+
* Success
|
|
1523
|
+
*/
|
|
1524
|
+
200: unknown;
|
|
1525
|
+
};
|
|
1526
|
+
type PatchConversationMemoryTraitGroupsData = {
|
|
1527
|
+
body: {
|
|
1528
|
+
/**
|
|
1529
|
+
* The Memory Store ID (required)
|
|
1530
|
+
*/
|
|
1531
|
+
storeId: string;
|
|
1532
|
+
/**
|
|
1533
|
+
* The Trait Group name to update (required)
|
|
1534
|
+
*/
|
|
1535
|
+
traitGroupName: string;
|
|
1536
|
+
};
|
|
1537
|
+
path?: never;
|
|
1538
|
+
query?: never;
|
|
1539
|
+
url: '/conversation-memory-trait-groups';
|
|
1540
|
+
};
|
|
1541
|
+
type PatchConversationMemoryTraitGroupsErrors = {
|
|
1542
|
+
/**
|
|
1543
|
+
* Unauthorized — requires Bearer token
|
|
1544
|
+
*/
|
|
1545
|
+
401: unknown;
|
|
1546
|
+
/**
|
|
1547
|
+
* Internal server error
|
|
1548
|
+
*/
|
|
1549
|
+
500: unknown;
|
|
1550
|
+
};
|
|
1551
|
+
type PatchConversationMemoryTraitGroupsResponses = {
|
|
1552
|
+
/**
|
|
1553
|
+
* Success
|
|
1554
|
+
*/
|
|
1555
|
+
200: unknown;
|
|
1556
|
+
};
|
|
1557
|
+
type PostConversationMemoryTraitGroupsData = {
|
|
1558
|
+
body: {
|
|
1559
|
+
/**
|
|
1560
|
+
* The Memory Store ID (required)
|
|
1561
|
+
*/
|
|
1562
|
+
storeId: string;
|
|
1563
|
+
/**
|
|
1564
|
+
* Unique name of the Trait Group (required, 1-64 chars)
|
|
1565
|
+
*/
|
|
1566
|
+
displayName: string;
|
|
1567
|
+
};
|
|
1568
|
+
path?: never;
|
|
1569
|
+
query?: never;
|
|
1570
|
+
url: '/conversation-memory-trait-groups';
|
|
1571
|
+
};
|
|
1572
|
+
type PostConversationMemoryTraitGroupsErrors = {
|
|
1573
|
+
/**
|
|
1574
|
+
* Unauthorized — requires Bearer token
|
|
1575
|
+
*/
|
|
1576
|
+
401: unknown;
|
|
1577
|
+
/**
|
|
1578
|
+
* Internal server error
|
|
1579
|
+
*/
|
|
1580
|
+
500: unknown;
|
|
1581
|
+
};
|
|
1582
|
+
type PostConversationMemoryTraitGroupsResponses = {
|
|
1583
|
+
/**
|
|
1584
|
+
* Success
|
|
1585
|
+
*/
|
|
1586
|
+
200: unknown;
|
|
1587
|
+
};
|
|
1588
|
+
type GetConversationMemoryTraitsData = {
|
|
1589
|
+
body?: never;
|
|
1590
|
+
path?: never;
|
|
1591
|
+
query?: {
|
|
1592
|
+
storeId?: string;
|
|
1593
|
+
profileId?: string;
|
|
1594
|
+
pageSize?: string;
|
|
1595
|
+
pageToken?: string;
|
|
1596
|
+
orderBy?: string;
|
|
1597
|
+
traitGroups?: string;
|
|
1598
|
+
};
|
|
1599
|
+
url: '/conversation-memory-traits';
|
|
1600
|
+
};
|
|
1601
|
+
type GetConversationMemoryTraitsErrors = {
|
|
1602
|
+
/**
|
|
1603
|
+
* Unauthorized — requires Bearer token
|
|
1604
|
+
*/
|
|
1605
|
+
401: unknown;
|
|
1606
|
+
/**
|
|
1607
|
+
* Internal server error
|
|
1608
|
+
*/
|
|
1609
|
+
500: unknown;
|
|
1610
|
+
};
|
|
1611
|
+
type GetConversationMemoryTraitsResponses = {
|
|
1612
|
+
/**
|
|
1613
|
+
* Success
|
|
1614
|
+
*/
|
|
1615
|
+
200: unknown;
|
|
1616
|
+
};
|
|
1617
|
+
type DeleteConversationMemoryObservationsData = {
|
|
1618
|
+
body?: never;
|
|
1619
|
+
path?: never;
|
|
1620
|
+
query?: {
|
|
1621
|
+
storeId?: string;
|
|
1622
|
+
profileId?: string;
|
|
1623
|
+
observationId?: string;
|
|
1624
|
+
};
|
|
1625
|
+
url: '/conversation-memory-observations';
|
|
1626
|
+
};
|
|
1627
|
+
type DeleteConversationMemoryObservationsErrors = {
|
|
1628
|
+
/**
|
|
1629
|
+
* Unauthorized — requires Bearer token
|
|
1630
|
+
*/
|
|
1631
|
+
401: unknown;
|
|
1632
|
+
/**
|
|
1633
|
+
* Internal server error
|
|
1634
|
+
*/
|
|
1635
|
+
500: unknown;
|
|
1636
|
+
};
|
|
1637
|
+
type DeleteConversationMemoryObservationsResponses = {
|
|
1638
|
+
/**
|
|
1639
|
+
* Success
|
|
1640
|
+
*/
|
|
1641
|
+
200: unknown;
|
|
1642
|
+
};
|
|
1643
|
+
type GetConversationMemoryObservationsData = {
|
|
1644
|
+
body?: never;
|
|
1645
|
+
path?: never;
|
|
1646
|
+
query?: {
|
|
1647
|
+
storeId?: string;
|
|
1648
|
+
profileId?: string;
|
|
1649
|
+
observationId?: string;
|
|
1650
|
+
pageSize?: string;
|
|
1651
|
+
pageToken?: string;
|
|
1652
|
+
orderBy?: string;
|
|
1653
|
+
source?: string;
|
|
1654
|
+
createdAfter?: string;
|
|
1655
|
+
createdBefore?: string;
|
|
1656
|
+
};
|
|
1657
|
+
url: '/conversation-memory-observations';
|
|
1658
|
+
};
|
|
1659
|
+
type GetConversationMemoryObservationsErrors = {
|
|
1660
|
+
/**
|
|
1661
|
+
* Unauthorized — requires Bearer token
|
|
1662
|
+
*/
|
|
1663
|
+
401: unknown;
|
|
1664
|
+
/**
|
|
1665
|
+
* Internal server error
|
|
1666
|
+
*/
|
|
1667
|
+
500: unknown;
|
|
1668
|
+
};
|
|
1669
|
+
type GetConversationMemoryObservationsResponses = {
|
|
1670
|
+
/**
|
|
1671
|
+
* Success
|
|
1672
|
+
*/
|
|
1673
|
+
200: unknown;
|
|
1674
|
+
};
|
|
1675
|
+
type PatchConversationMemoryObservationsData = {
|
|
1676
|
+
body: {
|
|
1677
|
+
/**
|
|
1678
|
+
* The Memory Store ID (required)
|
|
1679
|
+
*/
|
|
1680
|
+
storeId: string;
|
|
1681
|
+
/**
|
|
1682
|
+
* The Profile ID (required)
|
|
1683
|
+
*/
|
|
1684
|
+
profileId: string;
|
|
1685
|
+
/**
|
|
1686
|
+
* The Observation ID to update (required)
|
|
1687
|
+
*/
|
|
1688
|
+
observationId: string;
|
|
1689
|
+
/**
|
|
1690
|
+
* Updated observation content (required)
|
|
1691
|
+
*/
|
|
1692
|
+
content: string;
|
|
1693
|
+
/**
|
|
1694
|
+
* Updated source system (required)
|
|
1695
|
+
*/
|
|
1696
|
+
source: string;
|
|
1697
|
+
/**
|
|
1698
|
+
* Updated occurrence timestamp (required)
|
|
1699
|
+
*/
|
|
1700
|
+
occurredAt: string;
|
|
1701
|
+
};
|
|
1702
|
+
path?: never;
|
|
1703
|
+
query?: never;
|
|
1704
|
+
url: '/conversation-memory-observations';
|
|
1705
|
+
};
|
|
1706
|
+
type PatchConversationMemoryObservationsErrors = {
|
|
1707
|
+
/**
|
|
1708
|
+
* Unauthorized — requires Bearer token
|
|
1709
|
+
*/
|
|
1710
|
+
401: unknown;
|
|
1711
|
+
/**
|
|
1712
|
+
* Internal server error
|
|
1713
|
+
*/
|
|
1714
|
+
500: unknown;
|
|
1715
|
+
};
|
|
1716
|
+
type PatchConversationMemoryObservationsResponses = {
|
|
1717
|
+
/**
|
|
1718
|
+
* Success
|
|
1719
|
+
*/
|
|
1720
|
+
200: unknown;
|
|
1721
|
+
};
|
|
1722
|
+
type PostConversationMemoryObservationsData = {
|
|
1723
|
+
body: {
|
|
1724
|
+
/**
|
|
1725
|
+
* The Memory Store ID (required)
|
|
1726
|
+
*/
|
|
1727
|
+
storeId: string;
|
|
1728
|
+
/**
|
|
1729
|
+
* The Profile ID (required)
|
|
1730
|
+
*/
|
|
1731
|
+
profileId: string;
|
|
1732
|
+
observations: string;
|
|
1733
|
+
};
|
|
1734
|
+
path?: never;
|
|
1735
|
+
query?: never;
|
|
1736
|
+
url: '/conversation-memory-observations';
|
|
1737
|
+
};
|
|
1738
|
+
type PostConversationMemoryObservationsErrors = {
|
|
1739
|
+
/**
|
|
1740
|
+
* Unauthorized — requires Bearer token
|
|
1741
|
+
*/
|
|
1742
|
+
401: unknown;
|
|
1743
|
+
/**
|
|
1744
|
+
* Internal server error
|
|
1745
|
+
*/
|
|
1746
|
+
500: unknown;
|
|
1747
|
+
};
|
|
1748
|
+
type PostConversationMemoryObservationsResponses = {
|
|
1749
|
+
/**
|
|
1750
|
+
* Success
|
|
1751
|
+
*/
|
|
1752
|
+
200: unknown;
|
|
1753
|
+
};
|
|
1754
|
+
type DeleteConversationMemoryConversationSummariesData = {
|
|
1755
|
+
body?: never;
|
|
1756
|
+
path?: never;
|
|
1757
|
+
query?: {
|
|
1758
|
+
storeId?: string;
|
|
1759
|
+
profileId?: string;
|
|
1760
|
+
summaryId?: string;
|
|
1761
|
+
};
|
|
1762
|
+
url: '/conversation-memory-conversation-summaries';
|
|
1763
|
+
};
|
|
1764
|
+
type DeleteConversationMemoryConversationSummariesErrors = {
|
|
1765
|
+
/**
|
|
1766
|
+
* Unauthorized — requires Bearer token
|
|
1767
|
+
*/
|
|
1768
|
+
401: unknown;
|
|
1769
|
+
/**
|
|
1770
|
+
* Internal server error
|
|
1771
|
+
*/
|
|
1772
|
+
500: unknown;
|
|
1773
|
+
};
|
|
1774
|
+
type DeleteConversationMemoryConversationSummariesResponses = {
|
|
1775
|
+
/**
|
|
1776
|
+
* Success
|
|
1777
|
+
*/
|
|
1778
|
+
200: unknown;
|
|
1779
|
+
};
|
|
1780
|
+
type GetConversationMemoryConversationSummariesData = {
|
|
1781
|
+
body?: never;
|
|
1782
|
+
path?: never;
|
|
1783
|
+
query?: {
|
|
1784
|
+
storeId?: string;
|
|
1785
|
+
profileId?: string;
|
|
1786
|
+
summaryId?: string;
|
|
1787
|
+
pageSize?: string;
|
|
1788
|
+
pageToken?: string;
|
|
1789
|
+
};
|
|
1790
|
+
url: '/conversation-memory-conversation-summaries';
|
|
1791
|
+
};
|
|
1792
|
+
type GetConversationMemoryConversationSummariesErrors = {
|
|
1793
|
+
/**
|
|
1794
|
+
* Unauthorized — requires Bearer token
|
|
1795
|
+
*/
|
|
1796
|
+
401: unknown;
|
|
1797
|
+
/**
|
|
1798
|
+
* Internal server error
|
|
1799
|
+
*/
|
|
1800
|
+
500: unknown;
|
|
1801
|
+
};
|
|
1802
|
+
type GetConversationMemoryConversationSummariesResponses = {
|
|
1803
|
+
/**
|
|
1804
|
+
* Success
|
|
1805
|
+
*/
|
|
1806
|
+
200: unknown;
|
|
1807
|
+
};
|
|
1808
|
+
type PatchConversationMemoryConversationSummariesData = {
|
|
1809
|
+
body: {
|
|
1810
|
+
/**
|
|
1811
|
+
* The Memory Store ID (required)
|
|
1812
|
+
*/
|
|
1813
|
+
storeId: string;
|
|
1814
|
+
/**
|
|
1815
|
+
* The Profile ID (required)
|
|
1816
|
+
*/
|
|
1817
|
+
profileId: string;
|
|
1818
|
+
/**
|
|
1819
|
+
* The Summary ID to update (required)
|
|
1820
|
+
*/
|
|
1821
|
+
summaryId: string;
|
|
1822
|
+
};
|
|
1823
|
+
path?: never;
|
|
1824
|
+
query?: never;
|
|
1825
|
+
url: '/conversation-memory-conversation-summaries';
|
|
1826
|
+
};
|
|
1827
|
+
type PatchConversationMemoryConversationSummariesErrors = {
|
|
1828
|
+
/**
|
|
1829
|
+
* Unauthorized — requires Bearer token
|
|
1830
|
+
*/
|
|
1831
|
+
401: unknown;
|
|
1832
|
+
/**
|
|
1833
|
+
* Internal server error
|
|
1834
|
+
*/
|
|
1835
|
+
500: unknown;
|
|
1836
|
+
};
|
|
1837
|
+
type PatchConversationMemoryConversationSummariesResponses = {
|
|
1838
|
+
/**
|
|
1839
|
+
* Success
|
|
1840
|
+
*/
|
|
1841
|
+
200: unknown;
|
|
1842
|
+
};
|
|
1843
|
+
type PostConversationMemoryConversationSummariesData = {
|
|
1844
|
+
body: {
|
|
1845
|
+
/**
|
|
1846
|
+
* The Memory Store ID (required)
|
|
1847
|
+
*/
|
|
1848
|
+
storeId: string;
|
|
1849
|
+
/**
|
|
1850
|
+
* The Profile ID (required)
|
|
1851
|
+
*/
|
|
1852
|
+
profileId: string;
|
|
1853
|
+
summaries: string;
|
|
1854
|
+
};
|
|
1855
|
+
path?: never;
|
|
1856
|
+
query?: never;
|
|
1857
|
+
url: '/conversation-memory-conversation-summaries';
|
|
1858
|
+
};
|
|
1859
|
+
type PostConversationMemoryConversationSummariesErrors = {
|
|
1860
|
+
/**
|
|
1861
|
+
* Unauthorized — requires Bearer token
|
|
1862
|
+
*/
|
|
1863
|
+
401: unknown;
|
|
1864
|
+
/**
|
|
1865
|
+
* Internal server error
|
|
1866
|
+
*/
|
|
1867
|
+
500: unknown;
|
|
1868
|
+
};
|
|
1869
|
+
type PostConversationMemoryConversationSummariesResponses = {
|
|
1870
|
+
/**
|
|
1871
|
+
* Success
|
|
1872
|
+
*/
|
|
1873
|
+
200: unknown;
|
|
1874
|
+
};
|
|
1875
|
+
type DeleteConversationMemoryResetData = {
|
|
1876
|
+
body?: never;
|
|
1877
|
+
path?: never;
|
|
1878
|
+
query?: never;
|
|
1879
|
+
url: '/conversation-memory-reset';
|
|
1880
|
+
};
|
|
1881
|
+
type DeleteConversationMemoryResetErrors = {
|
|
1882
|
+
/**
|
|
1883
|
+
* Unauthorized — requires Bearer token
|
|
1884
|
+
*/
|
|
1885
|
+
401: unknown;
|
|
1886
|
+
/**
|
|
1887
|
+
* Internal server error
|
|
1888
|
+
*/
|
|
1889
|
+
500: unknown;
|
|
1890
|
+
};
|
|
1891
|
+
type DeleteConversationMemoryResetResponses = {
|
|
1892
|
+
/**
|
|
1893
|
+
* Success
|
|
1894
|
+
*/
|
|
1895
|
+
200: unknown;
|
|
1896
|
+
};
|
|
1897
|
+
type PostAssignDemoData = {
|
|
1898
|
+
body: {
|
|
1899
|
+
/**
|
|
1900
|
+
* The phone number to assign (E.164 format)
|
|
1901
|
+
*/
|
|
1902
|
+
phoneNumber: string;
|
|
1903
|
+
/**
|
|
1904
|
+
* The Algolia objectID of the target template
|
|
1905
|
+
*/
|
|
1906
|
+
targetObjectID: string;
|
|
1907
|
+
};
|
|
1908
|
+
path?: never;
|
|
1909
|
+
query?: never;
|
|
1910
|
+
url: '/assign-demo';
|
|
1911
|
+
};
|
|
1912
|
+
type PostAssignDemoErrors = {
|
|
1913
|
+
/**
|
|
1914
|
+
* Unauthorized — requires Bearer token
|
|
1915
|
+
*/
|
|
1916
|
+
401: unknown;
|
|
1917
|
+
/**
|
|
1918
|
+
* Internal server error
|
|
1919
|
+
*/
|
|
1920
|
+
500: unknown;
|
|
1921
|
+
};
|
|
1922
|
+
type PostAssignDemoResponses = {
|
|
1923
|
+
/**
|
|
1924
|
+
* Success
|
|
1925
|
+
*/
|
|
1926
|
+
200: unknown;
|
|
1927
|
+
};
|
|
1928
|
+
type GetLookupDemoData = {
|
|
1929
|
+
body?: never;
|
|
1930
|
+
path?: never;
|
|
1931
|
+
query?: {
|
|
1932
|
+
phoneNumber?: string;
|
|
1933
|
+
};
|
|
1934
|
+
url: '/lookup-demo';
|
|
1935
|
+
};
|
|
1936
|
+
type GetLookupDemoErrors = {
|
|
1937
|
+
/**
|
|
1938
|
+
* Unauthorized — requires Bearer token
|
|
1939
|
+
*/
|
|
1940
|
+
401: unknown;
|
|
1941
|
+
/**
|
|
1942
|
+
* Internal server error
|
|
1943
|
+
*/
|
|
1944
|
+
500: unknown;
|
|
1945
|
+
};
|
|
1946
|
+
type GetLookupDemoResponses = {
|
|
1947
|
+
/**
|
|
1948
|
+
* Success
|
|
1949
|
+
*/
|
|
1950
|
+
200: unknown;
|
|
1951
|
+
};
|
|
1952
|
+
type PostTemplateAutogenData = {
|
|
1953
|
+
body: {
|
|
1954
|
+
/**
|
|
1955
|
+
* List of autogen requests (one per company)
|
|
1956
|
+
*/
|
|
1957
|
+
requests: Array<AutogenRequest>;
|
|
1958
|
+
/**
|
|
1959
|
+
* Tags to apply to all generated templates
|
|
1960
|
+
*/
|
|
1961
|
+
tags: Array<string>;
|
|
1962
|
+
/**
|
|
1963
|
+
* If true, saves templates to Algolia and Snowflake
|
|
1964
|
+
*/
|
|
1965
|
+
createTemplates: boolean;
|
|
1966
|
+
/**
|
|
1967
|
+
* If true, assigns a Twilio phone number to each template
|
|
1968
|
+
*/
|
|
1969
|
+
bindPhoneNumber: boolean;
|
|
1970
|
+
/**
|
|
1971
|
+
* Country code for phone number assignment (default: US)
|
|
1972
|
+
*/
|
|
1973
|
+
countryCode: string;
|
|
1974
|
+
/**
|
|
1975
|
+
* Tool keys to enable on saved templates
|
|
1976
|
+
*/
|
|
1977
|
+
tools: Array<string>;
|
|
1978
|
+
};
|
|
1979
|
+
path?: never;
|
|
1980
|
+
query?: never;
|
|
1981
|
+
url: '/template-autogen';
|
|
1982
|
+
};
|
|
1983
|
+
type PostTemplateAutogenErrors = {
|
|
1984
|
+
/**
|
|
1985
|
+
* Unauthorized — requires Bearer token
|
|
1986
|
+
*/
|
|
1987
|
+
401: unknown;
|
|
1988
|
+
/**
|
|
1989
|
+
* Internal server error
|
|
1990
|
+
*/
|
|
1991
|
+
500: unknown;
|
|
1992
|
+
};
|
|
1993
|
+
type PostTemplateAutogenResponses = {
|
|
1994
|
+
/**
|
|
1995
|
+
* Success
|
|
1996
|
+
*/
|
|
1997
|
+
200: unknown;
|
|
1998
|
+
};
|
|
1999
|
+
type DeleteTemplateData = {
|
|
2000
|
+
body?: never;
|
|
2001
|
+
path?: never;
|
|
2002
|
+
query?: {
|
|
2003
|
+
campaign?: string;
|
|
2004
|
+
};
|
|
2005
|
+
url: '/template';
|
|
2006
|
+
};
|
|
2007
|
+
type DeleteTemplateErrors = {
|
|
2008
|
+
/**
|
|
2009
|
+
* Unauthorized — requires Bearer token
|
|
2010
|
+
*/
|
|
2011
|
+
401: unknown;
|
|
2012
|
+
/**
|
|
2013
|
+
* Internal server error
|
|
2014
|
+
*/
|
|
2015
|
+
500: unknown;
|
|
2016
|
+
};
|
|
2017
|
+
type DeleteTemplateResponses = {
|
|
2018
|
+
/**
|
|
2019
|
+
* Success
|
|
2020
|
+
*/
|
|
2021
|
+
200: unknown;
|
|
2022
|
+
};
|
|
2023
|
+
type PostTemplateData = {
|
|
2024
|
+
body: {
|
|
2025
|
+
[key: string]: unknown;
|
|
2026
|
+
};
|
|
2027
|
+
path?: never;
|
|
2028
|
+
query?: never;
|
|
2029
|
+
url: '/template';
|
|
2030
|
+
};
|
|
2031
|
+
type PostTemplateErrors = {
|
|
2032
|
+
/**
|
|
2033
|
+
* Unauthorized — requires Bearer token
|
|
2034
|
+
*/
|
|
2035
|
+
401: unknown;
|
|
2036
|
+
/**
|
|
2037
|
+
* Internal server error
|
|
2038
|
+
*/
|
|
2039
|
+
500: unknown;
|
|
2040
|
+
};
|
|
2041
|
+
type PostTemplateResponses = {
|
|
2042
|
+
/**
|
|
2043
|
+
* Success
|
|
2044
|
+
*/
|
|
2045
|
+
200: unknown;
|
|
2046
|
+
};
|
|
2047
|
+
type GetCampaignData = {
|
|
2048
|
+
body?: never;
|
|
2049
|
+
path?: never;
|
|
2050
|
+
query?: {
|
|
2051
|
+
limit?: string;
|
|
2052
|
+
offset?: string;
|
|
2053
|
+
page?: string;
|
|
2054
|
+
tag?: string;
|
|
2055
|
+
objectId?: string;
|
|
2056
|
+
company?: string;
|
|
2057
|
+
includeCalledBy?: string;
|
|
2058
|
+
};
|
|
2059
|
+
url: '/campaign';
|
|
2060
|
+
};
|
|
2061
|
+
type GetCampaignErrors = {
|
|
2062
|
+
/**
|
|
2063
|
+
* Unauthorized — requires Bearer token
|
|
2064
|
+
*/
|
|
2065
|
+
401: unknown;
|
|
2066
|
+
/**
|
|
2067
|
+
* Internal server error
|
|
2068
|
+
*/
|
|
2069
|
+
500: unknown;
|
|
2070
|
+
};
|
|
2071
|
+
type GetCampaignResponses = {
|
|
2072
|
+
/**
|
|
2073
|
+
* Success
|
|
2074
|
+
*/
|
|
2075
|
+
200: unknown;
|
|
2076
|
+
};
|
|
2077
|
+
type GetSupportedRegionsData = {
|
|
2078
|
+
body?: never;
|
|
2079
|
+
path?: never;
|
|
2080
|
+
query?: never;
|
|
2081
|
+
url: '/supported-regions';
|
|
2082
|
+
};
|
|
2083
|
+
type GetSupportedRegionsErrors = {
|
|
2084
|
+
/**
|
|
2085
|
+
* Unauthorized — requires Bearer token
|
|
2086
|
+
*/
|
|
2087
|
+
401: unknown;
|
|
2088
|
+
/**
|
|
2089
|
+
* Internal server error
|
|
2090
|
+
*/
|
|
2091
|
+
500: unknown;
|
|
2092
|
+
};
|
|
2093
|
+
type GetSupportedRegionsResponses = {
|
|
2094
|
+
/**
|
|
2095
|
+
* Success
|
|
2096
|
+
*/
|
|
2097
|
+
200: {
|
|
2098
|
+
/**
|
|
2099
|
+
* Regions a phone number can be purchased in
|
|
2100
|
+
*/
|
|
2101
|
+
regions: Array<SupportedRegion>;
|
|
2102
|
+
};
|
|
2103
|
+
};
|
|
2104
|
+
type GetSupportedRegionsResponse = GetSupportedRegionsResponses[keyof GetSupportedRegionsResponses];
|
|
2105
|
+
type GetLinkShortenerData = {
|
|
2106
|
+
body?: never;
|
|
2107
|
+
path?: never;
|
|
2108
|
+
query?: never;
|
|
2109
|
+
url: '/link-shortener';
|
|
2110
|
+
};
|
|
2111
|
+
type GetLinkShortenerErrors = {
|
|
2112
|
+
/**
|
|
2113
|
+
* Unauthorized — requires Bearer token
|
|
2114
|
+
*/
|
|
2115
|
+
401: unknown;
|
|
2116
|
+
/**
|
|
2117
|
+
* Internal server error
|
|
2118
|
+
*/
|
|
2119
|
+
500: unknown;
|
|
2120
|
+
};
|
|
2121
|
+
type GetLinkShortenerResponses = {
|
|
2122
|
+
/**
|
|
2123
|
+
* Success
|
|
2124
|
+
*/
|
|
2125
|
+
200: unknown;
|
|
2126
|
+
};
|
|
2127
|
+
type PatchLinkShortenerData = {
|
|
2128
|
+
body: {
|
|
2129
|
+
/**
|
|
2130
|
+
* Algolia object ID of the template to update
|
|
2131
|
+
*/
|
|
2132
|
+
objectID: string;
|
|
2133
|
+
/**
|
|
2134
|
+
* The generated short link URL to store
|
|
2135
|
+
*/
|
|
2136
|
+
shortLink: string;
|
|
2137
|
+
};
|
|
2138
|
+
path?: never;
|
|
2139
|
+
query?: never;
|
|
2140
|
+
url: '/link-shortener';
|
|
2141
|
+
};
|
|
2142
|
+
type PatchLinkShortenerErrors = {
|
|
2143
|
+
/**
|
|
2144
|
+
* Unauthorized — requires Bearer token
|
|
2145
|
+
*/
|
|
2146
|
+
401: unknown;
|
|
2147
|
+
/**
|
|
2148
|
+
* Internal server error
|
|
2149
|
+
*/
|
|
2150
|
+
500: unknown;
|
|
2151
|
+
};
|
|
2152
|
+
type PatchLinkShortenerResponses = {
|
|
2153
|
+
/**
|
|
2154
|
+
* Success
|
|
2155
|
+
*/
|
|
2156
|
+
200: unknown;
|
|
2157
|
+
};
|
|
2158
|
+
type PostLinkShortenerData = {
|
|
2159
|
+
body: {
|
|
2160
|
+
/**
|
|
2161
|
+
* Non-empty array of URLs to shorten.
|
|
2162
|
+
*/
|
|
2163
|
+
urls: Array<ShortenUrlInput>;
|
|
2164
|
+
};
|
|
2165
|
+
path?: never;
|
|
2166
|
+
query?: never;
|
|
2167
|
+
url: '/link-shortener';
|
|
2168
|
+
};
|
|
2169
|
+
type PostLinkShortenerErrors = {
|
|
2170
|
+
/**
|
|
2171
|
+
* Unauthorized — requires Bearer token
|
|
2172
|
+
*/
|
|
2173
|
+
401: unknown;
|
|
2174
|
+
/**
|
|
2175
|
+
* Internal server error
|
|
2176
|
+
*/
|
|
2177
|
+
500: unknown;
|
|
2178
|
+
};
|
|
2179
|
+
type PostLinkShortenerResponses = {
|
|
2180
|
+
/**
|
|
2181
|
+
* Success
|
|
2182
|
+
*/
|
|
2183
|
+
200: unknown;
|
|
2184
|
+
};
|
|
2185
|
+
type DeleteLinkShortenerByCodeData = {
|
|
2186
|
+
body?: never;
|
|
2187
|
+
path: {
|
|
2188
|
+
code: string;
|
|
2189
|
+
};
|
|
2190
|
+
query?: never;
|
|
2191
|
+
url: '/link-shortener/{code}';
|
|
2192
|
+
};
|
|
2193
|
+
type DeleteLinkShortenerByCodeErrors = {
|
|
2194
|
+
/**
|
|
2195
|
+
* Unauthorized — requires Bearer token
|
|
2196
|
+
*/
|
|
2197
|
+
401: unknown;
|
|
2198
|
+
/**
|
|
2199
|
+
* Internal server error
|
|
2200
|
+
*/
|
|
2201
|
+
500: unknown;
|
|
2202
|
+
};
|
|
2203
|
+
type DeleteLinkShortenerByCodeResponses = {
|
|
2204
|
+
/**
|
|
2205
|
+
* Success
|
|
2206
|
+
*/
|
|
2207
|
+
200: unknown;
|
|
2208
|
+
};
|
|
2209
|
+
type GetDocsOpenapiJsonData = {
|
|
2210
|
+
body?: never;
|
|
2211
|
+
path?: never;
|
|
2212
|
+
query?: never;
|
|
2213
|
+
url: '/docs/openapi.json';
|
|
2214
|
+
};
|
|
2215
|
+
type GetDocsOpenapiJsonErrors = {
|
|
2216
|
+
/**
|
|
2217
|
+
* Unauthorized — requires Bearer token
|
|
2218
|
+
*/
|
|
2219
|
+
401: unknown;
|
|
2220
|
+
/**
|
|
2221
|
+
* Internal server error
|
|
2222
|
+
*/
|
|
2223
|
+
500: unknown;
|
|
2224
|
+
};
|
|
2225
|
+
type GetDocsOpenapiJsonResponses = {
|
|
2226
|
+
/**
|
|
2227
|
+
* Success
|
|
2228
|
+
*/
|
|
2229
|
+
200: unknown;
|
|
2230
|
+
};
|
|
2231
|
+
|
|
2232
|
+
type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean, TResponse = unknown> = Options$1<TData, ThrowOnError, TResponse> & {
|
|
2233
|
+
/**
|
|
2234
|
+
* You can provide a client instance returned by `createClient()` instead of
|
|
2235
|
+
* individual options. This might be also useful if you want to implement a
|
|
2236
|
+
* custom client.
|
|
2237
|
+
*/
|
|
2238
|
+
client?: Client;
|
|
2239
|
+
/**
|
|
2240
|
+
* You can pass arbitrary values through the `meta` object. This can be
|
|
2241
|
+
* used to access values that aren't defined as part of the SDK function.
|
|
2242
|
+
*/
|
|
2243
|
+
meta?: keyof ClientMeta extends never ? Record<string, unknown> : ClientMeta;
|
|
2244
|
+
};
|
|
2245
|
+
/**
|
|
2246
|
+
* GET /health
|
|
2247
|
+
*
|
|
2248
|
+
* Health check endpoint for the API service
|
|
2249
|
+
*/
|
|
2250
|
+
declare const getHealth: <ThrowOnError extends boolean = false>(options?: Options<GetHealthData, ThrowOnError>) => RequestResult<GetHealthResponses, GetHealthErrors, ThrowOnError>;
|
|
2251
|
+
/**
|
|
2252
|
+
* POST /conversations/token
|
|
2253
|
+
*
|
|
2254
|
+
* Generates a Twilio Access Token with Chat Grant for Conversations API access
|
|
2255
|
+
*/
|
|
2256
|
+
declare const postConversationsToken: <ThrowOnError extends boolean = false>(options: Options<PostConversationsTokenData, ThrowOnError>) => RequestResult<PostConversationsTokenResponses, PostConversationsTokenErrors, ThrowOnError>;
|
|
2257
|
+
/**
|
|
2258
|
+
* GET /sync/token
|
|
2259
|
+
*
|
|
2260
|
+
* Generates a Twilio Access Token with a SyncGrant so frontends
|
|
2261
|
+
* can subscribe to Sync Streams via the twilio-sync JS SDK.
|
|
2262
|
+
*/
|
|
2263
|
+
declare const getSyncToken: <ThrowOnError extends boolean = false>(options?: Options<GetSyncTokenData, ThrowOnError>) => RequestResult<GetSyncTokenResponses, GetSyncTokenErrors, ThrowOnError>;
|
|
2264
|
+
/**
|
|
2265
|
+
* GET /voice/token
|
|
2266
|
+
*
|
|
2267
|
+
* Generates a Twilio Access Token with a VoiceGrant so browser clients
|
|
2268
|
+
* can place outbound calls via the Twilio Voice SDK (WebRTC).
|
|
2269
|
+
*/
|
|
2270
|
+
declare const getVoiceToken: <ThrowOnError extends boolean = false>(options?: Options<GetVoiceTokenData, ThrowOnError>) => RequestResult<GetVoiceTokenResponses, GetVoiceTokenErrors, ThrowOnError>;
|
|
2271
|
+
/**
|
|
2272
|
+
* POST /ui-config
|
|
2273
|
+
*
|
|
2274
|
+
* uiConfigPost
|
|
2275
|
+
* TODO: Add description
|
|
2276
|
+
*/
|
|
2277
|
+
declare const postUiConfig: <ThrowOnError extends boolean = false>(options: Options<PostUiConfigData, ThrowOnError>) => RequestResult<PostUiConfigResponses, PostUiConfigErrors, ThrowOnError>;
|
|
2278
|
+
/**
|
|
2279
|
+
* POST /create-external-flex-connection
|
|
2280
|
+
*
|
|
2281
|
+
* Creates an external Flex connection by setting up Studio Flow, TwiML App, and webhook configurations
|
|
2282
|
+
* for handoff from RAMP to an external Twilio Flex account
|
|
2283
|
+
*/
|
|
2284
|
+
declare const postCreateExternalFlexConnection: <ThrowOnError extends boolean = false>(options: Options<PostCreateExternalFlexConnectionData, ThrowOnError>) => RequestResult<PostCreateExternalFlexConnectionResponses, PostCreateExternalFlexConnectionErrors, ThrowOnError>;
|
|
2285
|
+
/**
|
|
2286
|
+
* POST /install-flex-plugin
|
|
2287
|
+
*
|
|
2288
|
+
* Installs and deploys a Twilio Flex plugin from a configured registry repository
|
|
2289
|
+
*/
|
|
2290
|
+
declare const postInstallFlexPlugin: <ThrowOnError extends boolean = false>(options: Options<PostInstallFlexPluginData, ThrowOnError>) => RequestResult<PostInstallFlexPluginResponses, PostInstallFlexPluginErrors, ThrowOnError>;
|
|
2291
|
+
/**
|
|
2292
|
+
* POST /live-agent-webchat-connect
|
|
2293
|
+
*
|
|
2294
|
+
* Creates a Flex Interaction for live agent webchat handoff from RAMP
|
|
2295
|
+
*/
|
|
2296
|
+
declare const postLiveAgentWebchatConnect: <ThrowOnError extends boolean = false>(options: Options<PostLiveAgentWebchatConnectData, ThrowOnError>) => RequestResult<PostLiveAgentWebchatConnectResponses, PostLiveAgentWebchatConnectErrors, ThrowOnError>;
|
|
2297
|
+
/**
|
|
2298
|
+
* POST /live-agent-webchat-send
|
|
2299
|
+
*
|
|
2300
|
+
* Sends a message to a Twilio Conversation for live agent webchat
|
|
2301
|
+
*/
|
|
2302
|
+
declare const postLiveAgentWebchatSend: <ThrowOnError extends boolean = false>(options: Options<PostLiveAgentWebchatSendData, ThrowOnError>) => RequestResult<PostLiveAgentWebchatSendResponses, PostLiveAgentWebchatSendErrors, ThrowOnError>;
|
|
2303
|
+
/**
|
|
2304
|
+
* POST /live-agent-webchat-end
|
|
2305
|
+
*
|
|
2306
|
+
* Ends a live agent webchat session by closing the Flex Interaction Channel and Conversation
|
|
2307
|
+
*/
|
|
2308
|
+
declare const postLiveAgentWebchatEnd: <ThrowOnError extends boolean = false>(options: Options<PostLiveAgentWebchatEndData, ThrowOnError>) => RequestResult<PostLiveAgentWebchatEndResponses, PostLiveAgentWebchatEndErrors, ThrowOnError>;
|
|
2309
|
+
/**
|
|
2310
|
+
* DELETE /lead-gen
|
|
2311
|
+
*
|
|
2312
|
+
* Deletes a lead generation entry by removing the associated phone number from Twilio
|
|
2313
|
+
* and the template record from Algolia
|
|
2314
|
+
*/
|
|
2315
|
+
declare const deleteLeadGen: <ThrowOnError extends boolean = false>(options?: Options<DeleteLeadGenData, ThrowOnError>) => RequestResult<DeleteLeadGenResponses, DeleteLeadGenErrors, ThrowOnError>;
|
|
2316
|
+
/**
|
|
2317
|
+
* PATCH /lead-gen
|
|
2318
|
+
*
|
|
2319
|
+
* Updates the expiration date of an existing lead generation entry
|
|
2320
|
+
*/
|
|
2321
|
+
declare const patchLeadGen: <ThrowOnError extends boolean = false>(options: Options<PatchLeadGenData, ThrowOnError>) => RequestResult<PatchLeadGenResponses, PatchLeadGenErrors, ThrowOnError>;
|
|
2322
|
+
/**
|
|
2323
|
+
* POST /lead-gen
|
|
2324
|
+
*
|
|
2325
|
+
* Creates a new lead generation entry by purchasing a toll-free phone number from Twilio,
|
|
2326
|
+
* configuring it with voice and SMS webhooks, and storing the mapping in Algolia
|
|
2327
|
+
*/
|
|
2328
|
+
declare const postLeadGen: <ThrowOnError extends boolean = false>(options: Options<PostLeadGenData, ThrowOnError>) => RequestResult<PostLeadGenResponses, PostLeadGenErrors, ThrowOnError>;
|
|
2329
|
+
/**
|
|
2330
|
+
* POST /lead-gen-monitor
|
|
2331
|
+
*
|
|
2332
|
+
* Monitors and cleans up expired lead generation entries by automatically deleting
|
|
2333
|
+
* templates that have passed their expiration date
|
|
2334
|
+
*/
|
|
2335
|
+
declare const postLeadGenMonitor: <ThrowOnError extends boolean = false>(options?: Options<PostLeadGenMonitorData, ThrowOnError>) => RequestResult<PostLeadGenMonitorResponses, PostLeadGenMonitorErrors, ThrowOnError>;
|
|
2336
|
+
/**
|
|
2337
|
+
* POST /conversations-communications/:conversationId
|
|
2338
|
+
*
|
|
2339
|
+
* POST handler for creating a Communication within a Conversation
|
|
2340
|
+
*/
|
|
2341
|
+
declare const postConversationsCommunicationsByConversationId: <ThrowOnError extends boolean = false>(options: Options<PostConversationsCommunicationsByConversationIdData, ThrowOnError>) => RequestResult<PostConversationsCommunicationsByConversationIdResponses, PostConversationsCommunicationsByConversationIdErrors, ThrowOnError>;
|
|
2342
|
+
/**
|
|
2343
|
+
* GET /conversations-fetch
|
|
2344
|
+
*
|
|
2345
|
+
* GET handler for fetching Twilio conversation data
|
|
2346
|
+
*/
|
|
2347
|
+
declare const getConversationsFetch: <ThrowOnError extends boolean = false>(options?: Options<GetConversationsFetchData, ThrowOnError>) => RequestResult<GetConversationsFetchResponses, GetConversationsFetchErrors, ThrowOnError>;
|
|
2348
|
+
/**
|
|
2349
|
+
* POST /conversations
|
|
2350
|
+
*
|
|
2351
|
+
* POST handler for creating a new Twilio conversation
|
|
2352
|
+
*/
|
|
2353
|
+
declare const postConversations: <ThrowOnError extends boolean = false>(options: Options<PostConversationsData, ThrowOnError>) => RequestResult<PostConversationsResponses, PostConversationsErrors, ThrowOnError>;
|
|
2354
|
+
/**
|
|
2355
|
+
* PUT /conversations
|
|
2356
|
+
*
|
|
2357
|
+
* PUT handler for updating a Twilio conversation
|
|
2358
|
+
*/
|
|
2359
|
+
declare const putConversations: <ThrowOnError extends boolean = false>(options: Options<PutConversationsData, ThrowOnError>) => RequestResult<PutConversationsResponses, PutConversationsErrors, ThrowOnError>;
|
|
2360
|
+
/**
|
|
2361
|
+
* GET /participants
|
|
2362
|
+
*
|
|
2363
|
+
* Retrieves participants from a Twilio conversation
|
|
2364
|
+
*/
|
|
2365
|
+
declare const getParticipants: <ThrowOnError extends boolean = false>(options?: Options<GetParticipantsData, ThrowOnError>) => RequestResult<GetParticipantsResponses, GetParticipantsErrors, ThrowOnError>;
|
|
2366
|
+
/**
|
|
2367
|
+
* POST /participants
|
|
2368
|
+
*
|
|
2369
|
+
* POST handler for adding a participant to a Twilio conversation
|
|
2370
|
+
*/
|
|
2371
|
+
declare const postParticipants: <ThrowOnError extends boolean = false>(options: Options<PostParticipantsData, ThrowOnError>) => RequestResult<PostParticipantsResponses, PostParticipantsErrors, ThrowOnError>;
|
|
2372
|
+
/**
|
|
2373
|
+
* PUT /participants
|
|
2374
|
+
*
|
|
2375
|
+
* PUT handler for updating a participant in a Twilio conversation
|
|
2376
|
+
*/
|
|
2377
|
+
declare const putParticipants: <ThrowOnError extends boolean = false>(options: Options<PutParticipantsData, ThrowOnError>) => RequestResult<PutParticipantsResponses, PutParticipantsErrors, ThrowOnError>;
|
|
2378
|
+
/**
|
|
2379
|
+
* DELETE /conversational-intelligence-operator
|
|
2380
|
+
*
|
|
2381
|
+
* DELETE handler for removing a Twilio Conversational Intelligence Operator
|
|
2382
|
+
*/
|
|
2383
|
+
declare const deleteConversationalIntelligenceOperator: <ThrowOnError extends boolean = false>(options: Options<DeleteConversationalIntelligenceOperatorData, ThrowOnError>) => RequestResult<DeleteConversationalIntelligenceOperatorResponses, DeleteConversationalIntelligenceOperatorErrors, ThrowOnError>;
|
|
2384
|
+
/**
|
|
2385
|
+
* GET /conversational-intelligence-operator
|
|
2386
|
+
*
|
|
2387
|
+
* GET handler for retrieving Twilio Conversational Intelligence Operators
|
|
2388
|
+
*/
|
|
2389
|
+
declare const getConversationalIntelligenceOperator: <ThrowOnError extends boolean = false>(options?: Options<GetConversationalIntelligenceOperatorData, ThrowOnError>) => RequestResult<GetConversationalIntelligenceOperatorResponses, GetConversationalIntelligenceOperatorErrors, ThrowOnError>;
|
|
2390
|
+
/**
|
|
2391
|
+
* POST /conversational-intelligence-operator
|
|
2392
|
+
*
|
|
2393
|
+
* POST handler for creating a Twilio Conversational Intelligence Operator
|
|
2394
|
+
*/
|
|
2395
|
+
declare const postConversationalIntelligenceOperator: <ThrowOnError extends boolean = false>(options: Options<PostConversationalIntelligenceOperatorData, ThrowOnError>) => RequestResult<PostConversationalIntelligenceOperatorResponses, PostConversationalIntelligenceOperatorErrors, ThrowOnError>;
|
|
2396
|
+
/**
|
|
2397
|
+
* PUT /conversational-intelligence-operator
|
|
2398
|
+
*
|
|
2399
|
+
* PUT handler for updating a Twilio Conversational Intelligence Operator
|
|
2400
|
+
*/
|
|
2401
|
+
declare const putConversationalIntelligenceOperator: <ThrowOnError extends boolean = false>(options: Options<PutConversationalIntelligenceOperatorData, ThrowOnError>) => RequestResult<PutConversationalIntelligenceOperatorResponses, PutConversationalIntelligenceOperatorErrors, ThrowOnError>;
|
|
2402
|
+
/**
|
|
2403
|
+
* GET /intelligence-configuration
|
|
2404
|
+
*
|
|
2405
|
+
* GET handler for retrieving Twilio Intelligence Configurations
|
|
2406
|
+
*/
|
|
2407
|
+
declare const getIntelligenceConfiguration: <ThrowOnError extends boolean = false>(options?: Options<GetIntelligenceConfigurationData, ThrowOnError>) => RequestResult<GetIntelligenceConfigurationResponses, GetIntelligenceConfigurationErrors, ThrowOnError>;
|
|
2408
|
+
/**
|
|
2409
|
+
* POST /intelligence-configuration
|
|
2410
|
+
*
|
|
2411
|
+
* Twilio Conversational Intelligence Operators API endpoint.
|
|
2412
|
+
*/
|
|
2413
|
+
declare const postIntelligenceConfiguration: <ThrowOnError extends boolean = false>(options: Options<PostIntelligenceConfigurationData, ThrowOnError>) => RequestResult<PostIntelligenceConfigurationResponses, PostIntelligenceConfigurationErrors, ThrowOnError>;
|
|
2414
|
+
/**
|
|
2415
|
+
* PUT /intelligence-configuration
|
|
2416
|
+
*
|
|
2417
|
+
* PUT handler for updating a Twilio Intelligence Configuration
|
|
2418
|
+
*/
|
|
2419
|
+
declare const putIntelligenceConfiguration: <ThrowOnError extends boolean = false>(options: Options<PutIntelligenceConfigurationData, ThrowOnError>) => RequestResult<PutIntelligenceConfigurationResponses, PutIntelligenceConfigurationErrors, ThrowOnError>;
|
|
2420
|
+
/**
|
|
2421
|
+
* DELETE /conversation-memory-profiles
|
|
2422
|
+
*
|
|
2423
|
+
* DELETE handler for removing a profile from Conversation Memory
|
|
2424
|
+
*/
|
|
2425
|
+
declare const deleteConversationMemoryProfiles: <ThrowOnError extends boolean = false>(options?: Options<DeleteConversationMemoryProfilesData, ThrowOnError>) => RequestResult<DeleteConversationMemoryProfilesResponses, DeleteConversationMemoryProfilesErrors, ThrowOnError>;
|
|
2426
|
+
/**
|
|
2427
|
+
* GET /conversation-memory-profiles
|
|
2428
|
+
*
|
|
2429
|
+
* GET handler for retrieving profiles from Conversation Memory
|
|
2430
|
+
*/
|
|
2431
|
+
declare const getConversationMemoryProfiles: <ThrowOnError extends boolean = false>(options?: Options<GetConversationMemoryProfilesData, ThrowOnError>) => RequestResult<GetConversationMemoryProfilesResponses, GetConversationMemoryProfilesErrors, ThrowOnError>;
|
|
2432
|
+
/**
|
|
2433
|
+
* PATCH /conversation-memory-profiles
|
|
2434
|
+
*
|
|
2435
|
+
* PATCH handler for updating profile traits in Conversation Memory
|
|
2436
|
+
*/
|
|
2437
|
+
declare const patchConversationMemoryProfiles: <ThrowOnError extends boolean = false>(options: Options<PatchConversationMemoryProfilesData, ThrowOnError>) => RequestResult<PatchConversationMemoryProfilesResponses, PatchConversationMemoryProfilesErrors, ThrowOnError>;
|
|
2438
|
+
/**
|
|
2439
|
+
* POST /conversation-memory-profiles
|
|
2440
|
+
*
|
|
2441
|
+
* POST handler for creating a profile in Conversation Memory
|
|
2442
|
+
*/
|
|
2443
|
+
declare const postConversationMemoryProfiles: <ThrowOnError extends boolean = false>(options: Options<PostConversationMemoryProfilesData, ThrowOnError>) => RequestResult<PostConversationMemoryProfilesResponses, PostConversationMemoryProfilesErrors, ThrowOnError>;
|
|
2444
|
+
/**
|
|
2445
|
+
* POST /conversation-memory-profiles-lookup
|
|
2446
|
+
*
|
|
2447
|
+
* POST handler for looking up profiles by identifier in Conversation Memory
|
|
2448
|
+
*/
|
|
2449
|
+
declare const postConversationMemoryProfilesLookup: <ThrowOnError extends boolean = false>(options: Options<PostConversationMemoryProfilesLookupData, ThrowOnError>) => RequestResult<PostConversationMemoryProfilesLookupResponses, PostConversationMemoryProfilesLookupErrors, ThrowOnError>;
|
|
2450
|
+
/**
|
|
2451
|
+
* POST /conversation-memory-recall
|
|
2452
|
+
*
|
|
2453
|
+
* POST handler for retrieving memories from a Conversation Memory profile
|
|
2454
|
+
*/
|
|
2455
|
+
declare const postConversationMemoryRecall: <ThrowOnError extends boolean = false>(options: Options<PostConversationMemoryRecallData, ThrowOnError>) => RequestResult<PostConversationMemoryRecallResponses, PostConversationMemoryRecallErrors, ThrowOnError>;
|
|
2456
|
+
/**
|
|
2457
|
+
* DELETE /conversation-memory-identifiers
|
|
2458
|
+
*
|
|
2459
|
+
* DELETE handler for removing a profile identifier from Conversation Memory
|
|
2460
|
+
*/
|
|
2461
|
+
declare const deleteConversationMemoryIdentifiers: <ThrowOnError extends boolean = false>(options?: Options<DeleteConversationMemoryIdentifiersData, ThrowOnError>) => RequestResult<DeleteConversationMemoryIdentifiersResponses, DeleteConversationMemoryIdentifiersErrors, ThrowOnError>;
|
|
2462
|
+
/**
|
|
2463
|
+
* GET /conversation-memory-identifiers
|
|
2464
|
+
*
|
|
2465
|
+
* GET handler for retrieving profile identifiers from Conversation Memory
|
|
2466
|
+
*/
|
|
2467
|
+
declare const getConversationMemoryIdentifiers: <ThrowOnError extends boolean = false>(options?: Options<GetConversationMemoryIdentifiersData, ThrowOnError>) => RequestResult<GetConversationMemoryIdentifiersResponses, GetConversationMemoryIdentifiersErrors, ThrowOnError>;
|
|
2468
|
+
/**
|
|
2469
|
+
* PATCH /conversation-memory-identifiers
|
|
2470
|
+
*
|
|
2471
|
+
* PATCH handler for modifying a profile identifier in Conversation Memory
|
|
2472
|
+
*/
|
|
2473
|
+
declare const patchConversationMemoryIdentifiers: <ThrowOnError extends boolean = false>(options: Options<PatchConversationMemoryIdentifiersData, ThrowOnError>) => RequestResult<PatchConversationMemoryIdentifiersResponses, PatchConversationMemoryIdentifiersErrors, ThrowOnError>;
|
|
2474
|
+
/**
|
|
2475
|
+
* POST /conversation-memory-identifiers
|
|
2476
|
+
*
|
|
2477
|
+
* POST handler for adding an identifier to a Conversation Memory profile
|
|
2478
|
+
*/
|
|
2479
|
+
declare const postConversationMemoryIdentifiers: <ThrowOnError extends boolean = false>(options: Options<PostConversationMemoryIdentifiersData, ThrowOnError>) => RequestResult<PostConversationMemoryIdentifiersResponses, PostConversationMemoryIdentifiersErrors, ThrowOnError>;
|
|
2480
|
+
/**
|
|
2481
|
+
* DELETE /conversation-memory-trait-groups
|
|
2482
|
+
*
|
|
2483
|
+
* DELETE handler for removing a Trait Group from Conversation Memory
|
|
2484
|
+
*/
|
|
2485
|
+
declare const deleteConversationMemoryTraitGroups: <ThrowOnError extends boolean = false>(options?: Options<DeleteConversationMemoryTraitGroupsData, ThrowOnError>) => RequestResult<DeleteConversationMemoryTraitGroupsResponses, DeleteConversationMemoryTraitGroupsErrors, ThrowOnError>;
|
|
2486
|
+
/**
|
|
2487
|
+
* GET /conversation-memory-trait-groups
|
|
2488
|
+
*
|
|
2489
|
+
* GET handler for retrieving Trait Groups from Conversation Memory
|
|
2490
|
+
*/
|
|
2491
|
+
declare const getConversationMemoryTraitGroups: <ThrowOnError extends boolean = false>(options?: Options<GetConversationMemoryTraitGroupsData, ThrowOnError>) => RequestResult<GetConversationMemoryTraitGroupsResponses, GetConversationMemoryTraitGroupsErrors, ThrowOnError>;
|
|
2492
|
+
/**
|
|
2493
|
+
* PATCH /conversation-memory-trait-groups
|
|
2494
|
+
*
|
|
2495
|
+
* PATCH handler for updating a Trait Group in Conversation Memory
|
|
2496
|
+
*/
|
|
2497
|
+
declare const patchConversationMemoryTraitGroups: <ThrowOnError extends boolean = false>(options: Options<PatchConversationMemoryTraitGroupsData, ThrowOnError>) => RequestResult<PatchConversationMemoryTraitGroupsResponses, PatchConversationMemoryTraitGroupsErrors, ThrowOnError>;
|
|
2498
|
+
/**
|
|
2499
|
+
* POST /conversation-memory-trait-groups
|
|
2500
|
+
*
|
|
2501
|
+
* POST handler for creating a Trait Group in Conversation Memory
|
|
2502
|
+
*/
|
|
2503
|
+
declare const postConversationMemoryTraitGroups: <ThrowOnError extends boolean = false>(options: Options<PostConversationMemoryTraitGroupsData, ThrowOnError>) => RequestResult<PostConversationMemoryTraitGroupsResponses, PostConversationMemoryTraitGroupsErrors, ThrowOnError>;
|
|
2504
|
+
/**
|
|
2505
|
+
* GET /conversation-memory-traits
|
|
2506
|
+
*
|
|
2507
|
+
* GET handler for retrieving profile traits from Conversation Memory
|
|
2508
|
+
*/
|
|
2509
|
+
declare const getConversationMemoryTraits: <ThrowOnError extends boolean = false>(options?: Options<GetConversationMemoryTraitsData, ThrowOnError>) => RequestResult<GetConversationMemoryTraitsResponses, GetConversationMemoryTraitsErrors, ThrowOnError>;
|
|
2510
|
+
/**
|
|
2511
|
+
* DELETE /conversation-memory-observations
|
|
2512
|
+
*
|
|
2513
|
+
* DELETE handler for removing an observation from a Conversation Memory profile
|
|
2514
|
+
*/
|
|
2515
|
+
declare const deleteConversationMemoryObservations: <ThrowOnError extends boolean = false>(options?: Options<DeleteConversationMemoryObservationsData, ThrowOnError>) => RequestResult<DeleteConversationMemoryObservationsResponses, DeleteConversationMemoryObservationsErrors, ThrowOnError>;
|
|
2516
|
+
/**
|
|
2517
|
+
* GET /conversation-memory-observations
|
|
2518
|
+
*
|
|
2519
|
+
* GET handler for retrieving observations from a Conversation Memory profile
|
|
2520
|
+
*/
|
|
2521
|
+
declare const getConversationMemoryObservations: <ThrowOnError extends boolean = false>(options?: Options<GetConversationMemoryObservationsData, ThrowOnError>) => RequestResult<GetConversationMemoryObservationsResponses, GetConversationMemoryObservationsErrors, ThrowOnError>;
|
|
2522
|
+
/**
|
|
2523
|
+
* PATCH /conversation-memory-observations
|
|
2524
|
+
*
|
|
2525
|
+
* PATCH handler for updating an observation on a Conversation Memory profile
|
|
2526
|
+
*/
|
|
2527
|
+
declare const patchConversationMemoryObservations: <ThrowOnError extends boolean = false>(options: Options<PatchConversationMemoryObservationsData, ThrowOnError>) => RequestResult<PatchConversationMemoryObservationsResponses, PatchConversationMemoryObservationsErrors, ThrowOnError>;
|
|
2528
|
+
/**
|
|
2529
|
+
* POST /conversation-memory-observations
|
|
2530
|
+
*
|
|
2531
|
+
* POST handler for creating observations on a Conversation Memory profile
|
|
2532
|
+
*/
|
|
2533
|
+
declare const postConversationMemoryObservations: <ThrowOnError extends boolean = false>(options: Options<PostConversationMemoryObservationsData, ThrowOnError>) => RequestResult<PostConversationMemoryObservationsResponses, PostConversationMemoryObservationsErrors, ThrowOnError>;
|
|
2534
|
+
/**
|
|
2535
|
+
* DELETE /conversation-memory-conversation-summaries
|
|
2536
|
+
*
|
|
2537
|
+
* DELETE handler for removing a conversation summary from a Conversation Memory profile
|
|
2538
|
+
*/
|
|
2539
|
+
declare const deleteConversationMemoryConversationSummaries: <ThrowOnError extends boolean = false>(options?: Options<DeleteConversationMemoryConversationSummariesData, ThrowOnError>) => RequestResult<DeleteConversationMemoryConversationSummariesResponses, DeleteConversationMemoryConversationSummariesErrors, ThrowOnError>;
|
|
2540
|
+
/**
|
|
2541
|
+
* GET /conversation-memory-conversation-summaries
|
|
2542
|
+
*
|
|
2543
|
+
* GET handler for retrieving conversation summaries from a Conversation Memory profile
|
|
2544
|
+
*/
|
|
2545
|
+
declare const getConversationMemoryConversationSummaries: <ThrowOnError extends boolean = false>(options?: Options<GetConversationMemoryConversationSummariesData, ThrowOnError>) => RequestResult<GetConversationMemoryConversationSummariesResponses, GetConversationMemoryConversationSummariesErrors, ThrowOnError>;
|
|
2546
|
+
/**
|
|
2547
|
+
* PATCH /conversation-memory-conversation-summaries
|
|
2548
|
+
*
|
|
2549
|
+
* PATCH handler for updating a conversation summary on a Conversation Memory profile
|
|
2550
|
+
*/
|
|
2551
|
+
declare const patchConversationMemoryConversationSummaries: <ThrowOnError extends boolean = false>(options: Options<PatchConversationMemoryConversationSummariesData, ThrowOnError>) => RequestResult<PatchConversationMemoryConversationSummariesResponses, PatchConversationMemoryConversationSummariesErrors, ThrowOnError>;
|
|
2552
|
+
/**
|
|
2553
|
+
* POST /conversation-memory-conversation-summaries
|
|
2554
|
+
*
|
|
2555
|
+
* POST handler for creating conversation summaries on a Conversation Memory profile
|
|
2556
|
+
*/
|
|
2557
|
+
declare const postConversationMemoryConversationSummaries: <ThrowOnError extends boolean = false>(options: Options<PostConversationMemoryConversationSummariesData, ThrowOnError>) => RequestResult<PostConversationMemoryConversationSummariesResponses, PostConversationMemoryConversationSummariesErrors, ThrowOnError>;
|
|
2558
|
+
/**
|
|
2559
|
+
* DELETE /conversation-memory-reset
|
|
2560
|
+
*/
|
|
2561
|
+
declare const deleteConversationMemoryReset: <ThrowOnError extends boolean = false>(options?: Options<DeleteConversationMemoryResetData, ThrowOnError>) => RequestResult<DeleteConversationMemoryResetResponses, DeleteConversationMemoryResetErrors, ThrowOnError>;
|
|
2562
|
+
/**
|
|
2563
|
+
* POST /assign-demo
|
|
2564
|
+
*
|
|
2565
|
+
* Assigns a phone number to a target demo template, removing it from any
|
|
2566
|
+
* other templates that currently have it
|
|
2567
|
+
*/
|
|
2568
|
+
declare const postAssignDemo: <ThrowOnError extends boolean = false>(options: Options<PostAssignDemoData, ThrowOnError>) => RequestResult<PostAssignDemoResponses, PostAssignDemoErrors, ThrowOnError>;
|
|
2569
|
+
/**
|
|
2570
|
+
* GET /lookup-demo
|
|
2571
|
+
*
|
|
2572
|
+
* Returns the demo template(s) a phone number is currently assigned to
|
|
2573
|
+
*/
|
|
2574
|
+
declare const getLookupDemo: <ThrowOnError extends boolean = false>(options?: Options<GetLookupDemoData, ThrowOnError>) => RequestResult<GetLookupDemoResponses, GetLookupDemoErrors, ThrowOnError>;
|
|
2575
|
+
/**
|
|
2576
|
+
* POST /template-autogen
|
|
2577
|
+
*
|
|
2578
|
+
* Creates AI-generated RAMP templates from a list of requests, one template for each request
|
|
2579
|
+
*/
|
|
2580
|
+
declare const postTemplateAutogen: <ThrowOnError extends boolean = false>(options: Options<PostTemplateAutogenData, ThrowOnError>) => RequestResult<PostTemplateAutogenResponses, PostTemplateAutogenErrors, ThrowOnError>;
|
|
2581
|
+
/**
|
|
2582
|
+
* DELETE /template
|
|
2583
|
+
*
|
|
2584
|
+
* Expects JSON body: { ids: string[] }
|
|
2585
|
+
* If campaign=true, deletes campaigns from Snowflake
|
|
2586
|
+
*/
|
|
2587
|
+
declare const deleteTemplate: <ThrowOnError extends boolean = false>(options?: Options<DeleteTemplateData, ThrowOnError>) => RequestResult<DeleteTemplateResponses, DeleteTemplateErrors, ThrowOnError>;
|
|
2588
|
+
/**
|
|
2589
|
+
* POST /template
|
|
2590
|
+
*
|
|
2591
|
+
* Creates a template
|
|
2592
|
+
*/
|
|
2593
|
+
declare const postTemplate: <ThrowOnError extends boolean = false>(options: Options<PostTemplateData, ThrowOnError>) => RequestResult<PostTemplateResponses, PostTemplateErrors, ThrowOnError>;
|
|
2594
|
+
/**
|
|
2595
|
+
* GET /campaign
|
|
2596
|
+
*
|
|
2597
|
+
* Gets all campaign templates based off of search arguments
|
|
2598
|
+
*/
|
|
2599
|
+
declare const getCampaign: <ThrowOnError extends boolean = false>(options?: Options<GetCampaignData, ThrowOnError>) => RequestResult<GetCampaignResponses, GetCampaignErrors, ThrowOnError>;
|
|
2600
|
+
/**
|
|
2601
|
+
* GET /supported-regions
|
|
2602
|
+
*
|
|
2603
|
+
* Returns the regions in which a phone number can currently be purchased,
|
|
2604
|
+
* derived from the account's Twilio-approved regulatory bundles plus US/CA toll-free
|
|
2605
|
+
*/
|
|
2606
|
+
declare const getSupportedRegions: <ThrowOnError extends boolean = false>(options?: Options<GetSupportedRegionsData, ThrowOnError>) => RequestResult<GetSupportedRegionsResponses, GetSupportedRegionsErrors, ThrowOnError>;
|
|
2607
|
+
/**
|
|
2608
|
+
* GET /link-shortener
|
|
2609
|
+
*
|
|
2610
|
+
* Returns all short links stored in the link.twilioramp.com account
|
|
2611
|
+
*/
|
|
2612
|
+
declare const getLinkShortener: <ThrowOnError extends boolean = false>(options?: Options<GetLinkShortenerData, ThrowOnError>) => RequestResult<GetLinkShortenerResponses, GetLinkShortenerErrors, ThrowOnError>;
|
|
2613
|
+
/**
|
|
2614
|
+
* PATCH /link-shortener
|
|
2615
|
+
*
|
|
2616
|
+
* Persists a generated short link onto the Algolia `conversationAdmin` record and
|
|
2617
|
+
* upserts the Snowflake `GENERATED_TEMPLATES` row so the link survives a page refresh
|
|
2618
|
+
*/
|
|
2619
|
+
declare const patchLinkShortener: <ThrowOnError extends boolean = false>(options: Options<PatchLinkShortenerData, ThrowOnError>) => RequestResult<PatchLinkShortenerResponses, PatchLinkShortenerErrors, ThrowOnError>;
|
|
2620
|
+
/**
|
|
2621
|
+
* POST /link-shortener
|
|
2622
|
+
*
|
|
2623
|
+
* Shortens one or more URLs via the link.twilioramp.com API
|
|
2624
|
+
*/
|
|
2625
|
+
declare const postLinkShortener: <ThrowOnError extends boolean = false>(options: Options<PostLinkShortenerData, ThrowOnError>) => RequestResult<PostLinkShortenerResponses, PostLinkShortenerErrors, ThrowOnError>;
|
|
2626
|
+
/**
|
|
2627
|
+
* DELETE /link-shortener/:code
|
|
2628
|
+
*
|
|
2629
|
+
* Deletes a short link by its code via the link.twilioramp.com API
|
|
2630
|
+
*/
|
|
2631
|
+
declare const deleteLinkShortenerByCode: <ThrowOnError extends boolean = false>(options: Options<DeleteLinkShortenerByCodeData, ThrowOnError>) => RequestResult<DeleteLinkShortenerByCodeResponses, DeleteLinkShortenerByCodeErrors, ThrowOnError>;
|
|
2632
|
+
/**
|
|
2633
|
+
* GET /docs/openapi.json
|
|
2634
|
+
*
|
|
2635
|
+
* docsSpecGet
|
|
2636
|
+
* Serves the generated OpenAPI JSON spec
|
|
2637
|
+
*/
|
|
2638
|
+
declare const getDocsOpenapiJson: <ThrowOnError extends boolean = false>(options?: Options<GetDocsOpenapiJsonData, ThrowOnError>) => RequestResult<GetDocsOpenapiJsonResponses, GetDocsOpenapiJsonErrors, ThrowOnError>;
|
|
2639
|
+
|
|
2640
|
+
declare const zAutogenRequest: z.ZodObject<{
|
|
2641
|
+
email: z.ZodOptional<z.ZodString>;
|
|
2642
|
+
company: z.ZodOptional<z.ZodString>;
|
|
2643
|
+
information: z.ZodOptional<z.ZodString>;
|
|
2644
|
+
language: z.ZodOptional<z.ZodString>;
|
|
2645
|
+
voice: z.ZodOptional<z.ZodString>;
|
|
2646
|
+
speechModel: z.ZodOptional<z.ZodString>;
|
|
2647
|
+
transcriptionProvider: z.ZodOptional<z.ZodString>;
|
|
2648
|
+
ttsProvider: z.ZodOptional<z.ZodString>;
|
|
2649
|
+
logoSmall: z.ZodOptional<z.ZodString>;
|
|
2650
|
+
logoFull: z.ZodOptional<z.ZodString>;
|
|
2651
|
+
websiteUrl: z.ZodOptional<z.ZodString>;
|
|
2652
|
+
}, "strip", z.ZodTypeAny, {
|
|
2653
|
+
email?: string | undefined;
|
|
2654
|
+
company?: string | undefined;
|
|
2655
|
+
information?: string | undefined;
|
|
2656
|
+
language?: string | undefined;
|
|
2657
|
+
voice?: string | undefined;
|
|
2658
|
+
speechModel?: string | undefined;
|
|
2659
|
+
transcriptionProvider?: string | undefined;
|
|
2660
|
+
ttsProvider?: string | undefined;
|
|
2661
|
+
logoSmall?: string | undefined;
|
|
2662
|
+
logoFull?: string | undefined;
|
|
2663
|
+
websiteUrl?: string | undefined;
|
|
2664
|
+
}, {
|
|
2665
|
+
email?: string | undefined;
|
|
2666
|
+
company?: string | undefined;
|
|
2667
|
+
information?: string | undefined;
|
|
2668
|
+
language?: string | undefined;
|
|
2669
|
+
voice?: string | undefined;
|
|
2670
|
+
speechModel?: string | undefined;
|
|
2671
|
+
transcriptionProvider?: string | undefined;
|
|
2672
|
+
ttsProvider?: string | undefined;
|
|
2673
|
+
logoSmall?: string | undefined;
|
|
2674
|
+
logoFull?: string | undefined;
|
|
2675
|
+
websiteUrl?: string | undefined;
|
|
2676
|
+
}>;
|
|
2677
|
+
declare const zSupportedRegion: z.ZodObject<{
|
|
2678
|
+
isoCountry: z.ZodOptional<z.ZodString>;
|
|
2679
|
+
numberType: z.ZodOptional<z.ZodString>;
|
|
2680
|
+
bundleSid: z.ZodOptional<z.ZodString>;
|
|
2681
|
+
label: z.ZodOptional<z.ZodString>;
|
|
2682
|
+
flag: z.ZodOptional<z.ZodString>;
|
|
2683
|
+
capabilities: z.ZodOptional<z.ZodString>;
|
|
2684
|
+
}, "strip", z.ZodTypeAny, {
|
|
2685
|
+
isoCountry?: string | undefined;
|
|
2686
|
+
numberType?: string | undefined;
|
|
2687
|
+
bundleSid?: string | undefined;
|
|
2688
|
+
label?: string | undefined;
|
|
2689
|
+
flag?: string | undefined;
|
|
2690
|
+
capabilities?: string | undefined;
|
|
2691
|
+
}, {
|
|
2692
|
+
isoCountry?: string | undefined;
|
|
2693
|
+
numberType?: string | undefined;
|
|
2694
|
+
bundleSid?: string | undefined;
|
|
2695
|
+
label?: string | undefined;
|
|
2696
|
+
flag?: string | undefined;
|
|
2697
|
+
capabilities?: string | undefined;
|
|
2698
|
+
}>;
|
|
2699
|
+
declare const zShortenUrlInput: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2700
|
+
declare const zPostConversationsTokenBody: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2701
|
+
declare const zGetSyncTokenQuery: z.ZodObject<{
|
|
2702
|
+
identity: z.ZodOptional<z.ZodString>;
|
|
2703
|
+
}, "strip", z.ZodTypeAny, {
|
|
2704
|
+
identity?: string | undefined;
|
|
2705
|
+
}, {
|
|
2706
|
+
identity?: string | undefined;
|
|
2707
|
+
}>;
|
|
2708
|
+
declare const zGetVoiceTokenQuery: z.ZodObject<{
|
|
2709
|
+
identity: z.ZodOptional<z.ZodString>;
|
|
2710
|
+
}, "strip", z.ZodTypeAny, {
|
|
2711
|
+
identity?: string | undefined;
|
|
2712
|
+
}, {
|
|
2713
|
+
identity?: string | undefined;
|
|
2714
|
+
}>;
|
|
2715
|
+
declare const zPostUiConfigBody: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2716
|
+
declare const zPostCreateExternalFlexConnectionBody: z.ZodObject<{
|
|
2717
|
+
seAccountSid: z.ZodString;
|
|
2718
|
+
seApiKeySid: z.ZodString;
|
|
2719
|
+
seApiKeySecret: z.ZodString;
|
|
2720
|
+
}, "strip", z.ZodTypeAny, {
|
|
2721
|
+
seAccountSid: string;
|
|
2722
|
+
seApiKeySid: string;
|
|
2723
|
+
seApiKeySecret: string;
|
|
2724
|
+
}, {
|
|
2725
|
+
seAccountSid: string;
|
|
2726
|
+
seApiKeySid: string;
|
|
2727
|
+
seApiKeySecret: string;
|
|
2728
|
+
}>;
|
|
2729
|
+
declare const zPostInstallFlexPluginBody: z.ZodObject<{
|
|
2730
|
+
seAccountSid: z.ZodString;
|
|
2731
|
+
seApiKeySid: z.ZodString;
|
|
2732
|
+
seApiKeySecret: z.ZodString;
|
|
2733
|
+
pluginName: z.ZodString;
|
|
2734
|
+
}, "strip", z.ZodTypeAny, {
|
|
2735
|
+
seAccountSid: string;
|
|
2736
|
+
seApiKeySid: string;
|
|
2737
|
+
seApiKeySecret: string;
|
|
2738
|
+
pluginName: string;
|
|
2739
|
+
}, {
|
|
2740
|
+
seAccountSid: string;
|
|
2741
|
+
seApiKeySid: string;
|
|
2742
|
+
seApiKeySecret: string;
|
|
2743
|
+
pluginName: string;
|
|
2744
|
+
}>;
|
|
2745
|
+
declare const zPostLiveAgentWebchatConnectBody: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2746
|
+
declare const zPostLiveAgentWebchatSendBody: z.ZodObject<{
|
|
2747
|
+
conversationSid: z.ZodString;
|
|
2748
|
+
identity: z.ZodString;
|
|
2749
|
+
message: z.ZodString;
|
|
2750
|
+
}, "strip", z.ZodTypeAny, {
|
|
2751
|
+
message: string;
|
|
2752
|
+
identity: string;
|
|
2753
|
+
conversationSid: string;
|
|
2754
|
+
}, {
|
|
2755
|
+
message: string;
|
|
2756
|
+
identity: string;
|
|
2757
|
+
conversationSid: string;
|
|
2758
|
+
}>;
|
|
2759
|
+
declare const zPostLiveAgentWebchatEndBody: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2760
|
+
declare const zPatchLeadGenBody: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2761
|
+
declare const zPostLeadGenBody: z.ZodObject<{
|
|
2762
|
+
objectID: z.ZodString;
|
|
2763
|
+
userEmail: z.ZodString;
|
|
2764
|
+
}, "strip", z.ZodTypeAny, {
|
|
2765
|
+
objectID: string;
|
|
2766
|
+
userEmail: string;
|
|
2767
|
+
}, {
|
|
2768
|
+
objectID: string;
|
|
2769
|
+
userEmail: string;
|
|
2770
|
+
}>;
|
|
2771
|
+
declare const zPostConversationsCommunicationsByConversationIdBody: z.ZodObject<{
|
|
2772
|
+
author: z.ZodString;
|
|
2773
|
+
content: z.ZodString;
|
|
2774
|
+
recipients: z.ZodString;
|
|
2775
|
+
}, "strip", z.ZodTypeAny, {
|
|
2776
|
+
author: string;
|
|
2777
|
+
content: string;
|
|
2778
|
+
recipients: string;
|
|
2779
|
+
}, {
|
|
2780
|
+
author: string;
|
|
2781
|
+
content: string;
|
|
2782
|
+
recipients: string;
|
|
2783
|
+
}>;
|
|
2784
|
+
declare const zPostConversationsCommunicationsByConversationIdPath: z.ZodObject<{
|
|
2785
|
+
conversationId: z.ZodString;
|
|
2786
|
+
}, "strip", z.ZodTypeAny, {
|
|
2787
|
+
conversationId: string;
|
|
2788
|
+
}, {
|
|
2789
|
+
conversationId: string;
|
|
2790
|
+
}>;
|
|
2791
|
+
declare const zGetConversationsFetchQuery: z.ZodObject<{
|
|
2792
|
+
conversationId: z.ZodOptional<z.ZodString>;
|
|
2793
|
+
status: z.ZodOptional<z.ZodString>;
|
|
2794
|
+
}, "strip", z.ZodTypeAny, {
|
|
2795
|
+
status?: string | undefined;
|
|
2796
|
+
conversationId?: string | undefined;
|
|
2797
|
+
}, {
|
|
2798
|
+
status?: string | undefined;
|
|
2799
|
+
conversationId?: string | undefined;
|
|
2800
|
+
}>;
|
|
2801
|
+
declare const zPostConversationsBody: z.ZodObject<{
|
|
2802
|
+
configurationId: z.ZodString;
|
|
2803
|
+
}, "strip", z.ZodTypeAny, {
|
|
2804
|
+
configurationId: string;
|
|
2805
|
+
}, {
|
|
2806
|
+
configurationId: string;
|
|
2807
|
+
}>;
|
|
2808
|
+
declare const zPutConversationsBody: z.ZodObject<{
|
|
2809
|
+
conversationsId: z.ZodString;
|
|
2810
|
+
status: z.ZodString;
|
|
2811
|
+
}, "strip", z.ZodTypeAny, {
|
|
2812
|
+
status: string;
|
|
2813
|
+
conversationsId: string;
|
|
2814
|
+
}, {
|
|
2815
|
+
status: string;
|
|
2816
|
+
conversationsId: string;
|
|
2817
|
+
}>;
|
|
2818
|
+
declare const zGetParticipantsQuery: z.ZodObject<{
|
|
2819
|
+
conversationId: z.ZodOptional<z.ZodString>;
|
|
2820
|
+
participantId: z.ZodOptional<z.ZodString>;
|
|
2821
|
+
}, "strip", z.ZodTypeAny, {
|
|
2822
|
+
conversationId?: string | undefined;
|
|
2823
|
+
participantId?: string | undefined;
|
|
2824
|
+
}, {
|
|
2825
|
+
conversationId?: string | undefined;
|
|
2826
|
+
participantId?: string | undefined;
|
|
2827
|
+
}>;
|
|
2828
|
+
declare const zPostParticipantsBody: z.ZodObject<{
|
|
2829
|
+
conversationId: z.ZodString;
|
|
2830
|
+
participantType: z.ZodString;
|
|
2831
|
+
addresses: z.ZodString;
|
|
2832
|
+
}, "strip", z.ZodTypeAny, {
|
|
2833
|
+
conversationId: string;
|
|
2834
|
+
participantType: string;
|
|
2835
|
+
addresses: string;
|
|
2836
|
+
}, {
|
|
2837
|
+
conversationId: string;
|
|
2838
|
+
participantType: string;
|
|
2839
|
+
addresses: string;
|
|
2840
|
+
}>;
|
|
2841
|
+
declare const zPutParticipantsBody: z.ZodObject<{
|
|
2842
|
+
conversationId: z.ZodString;
|
|
2843
|
+
participantId: z.ZodString;
|
|
2844
|
+
}, "strip", z.ZodTypeAny, {
|
|
2845
|
+
conversationId: string;
|
|
2846
|
+
participantId: string;
|
|
2847
|
+
}, {
|
|
2848
|
+
conversationId: string;
|
|
2849
|
+
participantId: string;
|
|
2850
|
+
}>;
|
|
2851
|
+
declare const zDeleteConversationalIntelligenceOperatorBody: z.ZodObject<{
|
|
2852
|
+
intelligenceOperatorId: z.ZodString;
|
|
2853
|
+
}, "strip", z.ZodTypeAny, {
|
|
2854
|
+
intelligenceOperatorId: string;
|
|
2855
|
+
}, {
|
|
2856
|
+
intelligenceOperatorId: string;
|
|
2857
|
+
}>;
|
|
2858
|
+
declare const zGetConversationalIntelligenceOperatorQuery: z.ZodObject<{
|
|
2859
|
+
intelligenceOperatorId: z.ZodOptional<z.ZodString>;
|
|
2860
|
+
pageToken: z.ZodOptional<z.ZodString>;
|
|
2861
|
+
}, "strip", z.ZodTypeAny, {
|
|
2862
|
+
intelligenceOperatorId?: string | undefined;
|
|
2863
|
+
pageToken?: string | undefined;
|
|
2864
|
+
}, {
|
|
2865
|
+
intelligenceOperatorId?: string | undefined;
|
|
2866
|
+
pageToken?: string | undefined;
|
|
2867
|
+
}>;
|
|
2868
|
+
declare const zPostConversationalIntelligenceOperatorBody: z.ZodObject<{
|
|
2869
|
+
author: z.ZodString;
|
|
2870
|
+
displayName: z.ZodString;
|
|
2871
|
+
description: z.ZodString;
|
|
2872
|
+
prompt: z.ZodString;
|
|
2873
|
+
valueType: z.ZodString;
|
|
2874
|
+
uiType: z.ZodString;
|
|
2875
|
+
}, "strip", z.ZodTypeAny, {
|
|
2876
|
+
author: string;
|
|
2877
|
+
displayName: string;
|
|
2878
|
+
description: string;
|
|
2879
|
+
prompt: string;
|
|
2880
|
+
valueType: string;
|
|
2881
|
+
uiType: string;
|
|
2882
|
+
}, {
|
|
2883
|
+
author: string;
|
|
2884
|
+
displayName: string;
|
|
2885
|
+
description: string;
|
|
2886
|
+
prompt: string;
|
|
2887
|
+
valueType: string;
|
|
2888
|
+
uiType: string;
|
|
2889
|
+
}>;
|
|
2890
|
+
declare const zPutConversationalIntelligenceOperatorBody: z.ZodObject<{
|
|
2891
|
+
displayName: z.ZodString;
|
|
2892
|
+
description: z.ZodString;
|
|
2893
|
+
prompt: z.ZodString;
|
|
2894
|
+
valueType: z.ZodString;
|
|
2895
|
+
uiType: z.ZodString;
|
|
2896
|
+
intelligenceOperatorId: z.ZodString;
|
|
2897
|
+
}, "strip", z.ZodTypeAny, {
|
|
2898
|
+
intelligenceOperatorId: string;
|
|
2899
|
+
displayName: string;
|
|
2900
|
+
description: string;
|
|
2901
|
+
prompt: string;
|
|
2902
|
+
valueType: string;
|
|
2903
|
+
uiType: string;
|
|
2904
|
+
}, {
|
|
2905
|
+
intelligenceOperatorId: string;
|
|
2906
|
+
displayName: string;
|
|
2907
|
+
description: string;
|
|
2908
|
+
prompt: string;
|
|
2909
|
+
valueType: string;
|
|
2910
|
+
uiType: string;
|
|
2911
|
+
}>;
|
|
2912
|
+
declare const zGetIntelligenceConfigurationQuery: z.ZodObject<{
|
|
2913
|
+
intelligenceConfigurationId: z.ZodOptional<z.ZodString>;
|
|
2914
|
+
pageToken: z.ZodOptional<z.ZodString>;
|
|
2915
|
+
}, "strip", z.ZodTypeAny, {
|
|
2916
|
+
pageToken?: string | undefined;
|
|
2917
|
+
intelligenceConfigurationId?: string | undefined;
|
|
2918
|
+
}, {
|
|
2919
|
+
pageToken?: string | undefined;
|
|
2920
|
+
intelligenceConfigurationId?: string | undefined;
|
|
2921
|
+
}>;
|
|
2922
|
+
declare const zPostIntelligenceConfigurationBody: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2923
|
+
declare const zPutIntelligenceConfigurationBody: z.ZodObject<{
|
|
2924
|
+
intelligenceConfigurationId: z.ZodString;
|
|
2925
|
+
}, "strip", z.ZodTypeAny, {
|
|
2926
|
+
intelligenceConfigurationId: string;
|
|
2927
|
+
}, {
|
|
2928
|
+
intelligenceConfigurationId: string;
|
|
2929
|
+
}>;
|
|
2930
|
+
declare const zDeleteConversationMemoryProfilesQuery: z.ZodObject<{
|
|
2931
|
+
storeId: z.ZodOptional<z.ZodString>;
|
|
2932
|
+
profileId: z.ZodOptional<z.ZodString>;
|
|
2933
|
+
}, "strip", z.ZodTypeAny, {
|
|
2934
|
+
storeId?: string | undefined;
|
|
2935
|
+
profileId?: string | undefined;
|
|
2936
|
+
}, {
|
|
2937
|
+
storeId?: string | undefined;
|
|
2938
|
+
profileId?: string | undefined;
|
|
2939
|
+
}>;
|
|
2940
|
+
declare const zGetConversationMemoryProfilesQuery: z.ZodObject<{
|
|
2941
|
+
storeId: z.ZodOptional<z.ZodString>;
|
|
2942
|
+
profileId: z.ZodOptional<z.ZodString>;
|
|
2943
|
+
traitGroups: z.ZodOptional<z.ZodString>;
|
|
2944
|
+
pageSize: z.ZodOptional<z.ZodString>;
|
|
2945
|
+
pageToken: z.ZodOptional<z.ZodString>;
|
|
2946
|
+
orderBy: z.ZodOptional<z.ZodString>;
|
|
2947
|
+
}, "strip", z.ZodTypeAny, {
|
|
2948
|
+
pageToken?: string | undefined;
|
|
2949
|
+
storeId?: string | undefined;
|
|
2950
|
+
profileId?: string | undefined;
|
|
2951
|
+
traitGroups?: string | undefined;
|
|
2952
|
+
pageSize?: string | undefined;
|
|
2953
|
+
orderBy?: string | undefined;
|
|
2954
|
+
}, {
|
|
2955
|
+
pageToken?: string | undefined;
|
|
2956
|
+
storeId?: string | undefined;
|
|
2957
|
+
profileId?: string | undefined;
|
|
2958
|
+
traitGroups?: string | undefined;
|
|
2959
|
+
pageSize?: string | undefined;
|
|
2960
|
+
orderBy?: string | undefined;
|
|
2961
|
+
}>;
|
|
2962
|
+
declare const zPatchConversationMemoryProfilesBody: z.ZodObject<{
|
|
2963
|
+
storeId: z.ZodString;
|
|
2964
|
+
profileId: z.ZodString;
|
|
2965
|
+
traits: z.ZodString;
|
|
2966
|
+
}, "strip", z.ZodTypeAny, {
|
|
2967
|
+
storeId: string;
|
|
2968
|
+
profileId: string;
|
|
2969
|
+
traits: string;
|
|
2970
|
+
}, {
|
|
2971
|
+
storeId: string;
|
|
2972
|
+
profileId: string;
|
|
2973
|
+
traits: string;
|
|
2974
|
+
}>;
|
|
2975
|
+
declare const zPostConversationMemoryProfilesBody: z.ZodObject<{
|
|
2976
|
+
storeId: z.ZodString;
|
|
2977
|
+
traits: z.ZodString;
|
|
2978
|
+
}, "strip", z.ZodTypeAny, {
|
|
2979
|
+
storeId: string;
|
|
2980
|
+
traits: string;
|
|
2981
|
+
}, {
|
|
2982
|
+
storeId: string;
|
|
2983
|
+
traits: string;
|
|
2984
|
+
}>;
|
|
2985
|
+
declare const zPostConversationMemoryProfilesLookupBody: z.ZodObject<{
|
|
2986
|
+
storeId: z.ZodString;
|
|
2987
|
+
idType: z.ZodString;
|
|
2988
|
+
value: z.ZodString;
|
|
2989
|
+
}, "strip", z.ZodTypeAny, {
|
|
2990
|
+
value: string;
|
|
2991
|
+
storeId: string;
|
|
2992
|
+
idType: string;
|
|
2993
|
+
}, {
|
|
2994
|
+
value: string;
|
|
2995
|
+
storeId: string;
|
|
2996
|
+
idType: string;
|
|
2997
|
+
}>;
|
|
2998
|
+
declare const zPostConversationMemoryRecallBody: z.ZodObject<{
|
|
2999
|
+
storeId: z.ZodString;
|
|
3000
|
+
profileId: z.ZodString;
|
|
3001
|
+
}, "strip", z.ZodTypeAny, {
|
|
3002
|
+
storeId: string;
|
|
3003
|
+
profileId: string;
|
|
3004
|
+
}, {
|
|
3005
|
+
storeId: string;
|
|
3006
|
+
profileId: string;
|
|
3007
|
+
}>;
|
|
3008
|
+
declare const zDeleteConversationMemoryIdentifiersQuery: z.ZodObject<{
|
|
3009
|
+
storeId: z.ZodOptional<z.ZodString>;
|
|
3010
|
+
profileId: z.ZodOptional<z.ZodString>;
|
|
3011
|
+
idType: z.ZodOptional<z.ZodString>;
|
|
3012
|
+
removeAll: z.ZodOptional<z.ZodString>;
|
|
3013
|
+
}, "strip", z.ZodTypeAny, {
|
|
3014
|
+
storeId?: string | undefined;
|
|
3015
|
+
profileId?: string | undefined;
|
|
3016
|
+
idType?: string | undefined;
|
|
3017
|
+
removeAll?: string | undefined;
|
|
3018
|
+
}, {
|
|
3019
|
+
storeId?: string | undefined;
|
|
3020
|
+
profileId?: string | undefined;
|
|
3021
|
+
idType?: string | undefined;
|
|
3022
|
+
removeAll?: string | undefined;
|
|
3023
|
+
}>;
|
|
3024
|
+
declare const zGetConversationMemoryIdentifiersQuery: z.ZodObject<{
|
|
3025
|
+
storeId: z.ZodOptional<z.ZodString>;
|
|
3026
|
+
profileId: z.ZodOptional<z.ZodString>;
|
|
3027
|
+
idType: z.ZodOptional<z.ZodString>;
|
|
3028
|
+
}, "strip", z.ZodTypeAny, {
|
|
3029
|
+
storeId?: string | undefined;
|
|
3030
|
+
profileId?: string | undefined;
|
|
3031
|
+
idType?: string | undefined;
|
|
3032
|
+
}, {
|
|
3033
|
+
storeId?: string | undefined;
|
|
3034
|
+
profileId?: string | undefined;
|
|
3035
|
+
idType?: string | undefined;
|
|
3036
|
+
}>;
|
|
3037
|
+
declare const zPatchConversationMemoryIdentifiersBody: z.ZodObject<{
|
|
3038
|
+
storeId: z.ZodString;
|
|
3039
|
+
profileId: z.ZodString;
|
|
3040
|
+
idType: z.ZodString;
|
|
3041
|
+
oldValue: z.ZodString;
|
|
3042
|
+
newValue: z.ZodString;
|
|
3043
|
+
}, "strip", z.ZodTypeAny, {
|
|
3044
|
+
storeId: string;
|
|
3045
|
+
profileId: string;
|
|
3046
|
+
idType: string;
|
|
3047
|
+
oldValue: string;
|
|
3048
|
+
newValue: string;
|
|
3049
|
+
}, {
|
|
3050
|
+
storeId: string;
|
|
3051
|
+
profileId: string;
|
|
3052
|
+
idType: string;
|
|
3053
|
+
oldValue: string;
|
|
3054
|
+
newValue: string;
|
|
3055
|
+
}>;
|
|
3056
|
+
declare const zPostConversationMemoryIdentifiersBody: z.ZodObject<{
|
|
3057
|
+
storeId: z.ZodString;
|
|
3058
|
+
profileId: z.ZodString;
|
|
3059
|
+
idType: z.ZodString;
|
|
3060
|
+
value: z.ZodString;
|
|
3061
|
+
}, "strip", z.ZodTypeAny, {
|
|
3062
|
+
value: string;
|
|
3063
|
+
storeId: string;
|
|
3064
|
+
profileId: string;
|
|
3065
|
+
idType: string;
|
|
3066
|
+
}, {
|
|
3067
|
+
value: string;
|
|
3068
|
+
storeId: string;
|
|
3069
|
+
profileId: string;
|
|
3070
|
+
idType: string;
|
|
3071
|
+
}>;
|
|
3072
|
+
declare const zDeleteConversationMemoryTraitGroupsQuery: z.ZodObject<{
|
|
3073
|
+
storeId: z.ZodOptional<z.ZodString>;
|
|
3074
|
+
traitGroupName: z.ZodOptional<z.ZodString>;
|
|
3075
|
+
}, "strip", z.ZodTypeAny, {
|
|
3076
|
+
storeId?: string | undefined;
|
|
3077
|
+
traitGroupName?: string | undefined;
|
|
3078
|
+
}, {
|
|
3079
|
+
storeId?: string | undefined;
|
|
3080
|
+
traitGroupName?: string | undefined;
|
|
3081
|
+
}>;
|
|
3082
|
+
declare const zGetConversationMemoryTraitGroupsQuery: z.ZodObject<{
|
|
3083
|
+
storeId: z.ZodOptional<z.ZodString>;
|
|
3084
|
+
traitGroupName: z.ZodOptional<z.ZodString>;
|
|
3085
|
+
includeTraits: z.ZodOptional<z.ZodString>;
|
|
3086
|
+
pageSize: z.ZodOptional<z.ZodString>;
|
|
3087
|
+
pageToken: z.ZodOptional<z.ZodString>;
|
|
3088
|
+
orderBy: z.ZodOptional<z.ZodString>;
|
|
3089
|
+
}, "strip", z.ZodTypeAny, {
|
|
3090
|
+
pageToken?: string | undefined;
|
|
3091
|
+
storeId?: string | undefined;
|
|
3092
|
+
pageSize?: string | undefined;
|
|
3093
|
+
orderBy?: string | undefined;
|
|
3094
|
+
traitGroupName?: string | undefined;
|
|
3095
|
+
includeTraits?: string | undefined;
|
|
3096
|
+
}, {
|
|
3097
|
+
pageToken?: string | undefined;
|
|
3098
|
+
storeId?: string | undefined;
|
|
3099
|
+
pageSize?: string | undefined;
|
|
3100
|
+
orderBy?: string | undefined;
|
|
3101
|
+
traitGroupName?: string | undefined;
|
|
3102
|
+
includeTraits?: string | undefined;
|
|
3103
|
+
}>;
|
|
3104
|
+
declare const zPatchConversationMemoryTraitGroupsBody: z.ZodObject<{
|
|
3105
|
+
storeId: z.ZodString;
|
|
3106
|
+
traitGroupName: z.ZodString;
|
|
3107
|
+
}, "strip", z.ZodTypeAny, {
|
|
3108
|
+
storeId: string;
|
|
3109
|
+
traitGroupName: string;
|
|
3110
|
+
}, {
|
|
3111
|
+
storeId: string;
|
|
3112
|
+
traitGroupName: string;
|
|
3113
|
+
}>;
|
|
3114
|
+
declare const zPostConversationMemoryTraitGroupsBody: z.ZodObject<{
|
|
3115
|
+
storeId: z.ZodString;
|
|
3116
|
+
displayName: z.ZodString;
|
|
3117
|
+
}, "strip", z.ZodTypeAny, {
|
|
3118
|
+
displayName: string;
|
|
3119
|
+
storeId: string;
|
|
3120
|
+
}, {
|
|
3121
|
+
displayName: string;
|
|
3122
|
+
storeId: string;
|
|
3123
|
+
}>;
|
|
3124
|
+
declare const zGetConversationMemoryTraitsQuery: z.ZodObject<{
|
|
3125
|
+
storeId: z.ZodOptional<z.ZodString>;
|
|
3126
|
+
profileId: z.ZodOptional<z.ZodString>;
|
|
3127
|
+
pageSize: z.ZodOptional<z.ZodString>;
|
|
3128
|
+
pageToken: z.ZodOptional<z.ZodString>;
|
|
3129
|
+
orderBy: z.ZodOptional<z.ZodString>;
|
|
3130
|
+
traitGroups: z.ZodOptional<z.ZodString>;
|
|
3131
|
+
}, "strip", z.ZodTypeAny, {
|
|
3132
|
+
pageToken?: string | undefined;
|
|
3133
|
+
storeId?: string | undefined;
|
|
3134
|
+
profileId?: string | undefined;
|
|
3135
|
+
traitGroups?: string | undefined;
|
|
3136
|
+
pageSize?: string | undefined;
|
|
3137
|
+
orderBy?: string | undefined;
|
|
3138
|
+
}, {
|
|
3139
|
+
pageToken?: string | undefined;
|
|
3140
|
+
storeId?: string | undefined;
|
|
3141
|
+
profileId?: string | undefined;
|
|
3142
|
+
traitGroups?: string | undefined;
|
|
3143
|
+
pageSize?: string | undefined;
|
|
3144
|
+
orderBy?: string | undefined;
|
|
3145
|
+
}>;
|
|
3146
|
+
declare const zDeleteConversationMemoryObservationsQuery: z.ZodObject<{
|
|
3147
|
+
storeId: z.ZodOptional<z.ZodString>;
|
|
3148
|
+
profileId: z.ZodOptional<z.ZodString>;
|
|
3149
|
+
observationId: z.ZodOptional<z.ZodString>;
|
|
3150
|
+
}, "strip", z.ZodTypeAny, {
|
|
3151
|
+
storeId?: string | undefined;
|
|
3152
|
+
profileId?: string | undefined;
|
|
3153
|
+
observationId?: string | undefined;
|
|
3154
|
+
}, {
|
|
3155
|
+
storeId?: string | undefined;
|
|
3156
|
+
profileId?: string | undefined;
|
|
3157
|
+
observationId?: string | undefined;
|
|
3158
|
+
}>;
|
|
3159
|
+
declare const zGetConversationMemoryObservationsQuery: z.ZodObject<{
|
|
3160
|
+
storeId: z.ZodOptional<z.ZodString>;
|
|
3161
|
+
profileId: z.ZodOptional<z.ZodString>;
|
|
3162
|
+
observationId: z.ZodOptional<z.ZodString>;
|
|
3163
|
+
pageSize: z.ZodOptional<z.ZodString>;
|
|
3164
|
+
pageToken: z.ZodOptional<z.ZodString>;
|
|
3165
|
+
orderBy: z.ZodOptional<z.ZodString>;
|
|
3166
|
+
source: z.ZodOptional<z.ZodString>;
|
|
3167
|
+
createdAfter: z.ZodOptional<z.ZodString>;
|
|
3168
|
+
createdBefore: z.ZodOptional<z.ZodString>;
|
|
3169
|
+
}, "strip", z.ZodTypeAny, {
|
|
3170
|
+
pageToken?: string | undefined;
|
|
3171
|
+
storeId?: string | undefined;
|
|
3172
|
+
profileId?: string | undefined;
|
|
3173
|
+
pageSize?: string | undefined;
|
|
3174
|
+
orderBy?: string | undefined;
|
|
3175
|
+
observationId?: string | undefined;
|
|
3176
|
+
source?: string | undefined;
|
|
3177
|
+
createdAfter?: string | undefined;
|
|
3178
|
+
createdBefore?: string | undefined;
|
|
3179
|
+
}, {
|
|
3180
|
+
pageToken?: string | undefined;
|
|
3181
|
+
storeId?: string | undefined;
|
|
3182
|
+
profileId?: string | undefined;
|
|
3183
|
+
pageSize?: string | undefined;
|
|
3184
|
+
orderBy?: string | undefined;
|
|
3185
|
+
observationId?: string | undefined;
|
|
3186
|
+
source?: string | undefined;
|
|
3187
|
+
createdAfter?: string | undefined;
|
|
3188
|
+
createdBefore?: string | undefined;
|
|
3189
|
+
}>;
|
|
3190
|
+
declare const zPatchConversationMemoryObservationsBody: z.ZodObject<{
|
|
3191
|
+
storeId: z.ZodString;
|
|
3192
|
+
profileId: z.ZodString;
|
|
3193
|
+
observationId: z.ZodString;
|
|
3194
|
+
content: z.ZodString;
|
|
3195
|
+
source: z.ZodString;
|
|
3196
|
+
occurredAt: z.ZodString;
|
|
3197
|
+
}, "strip", z.ZodTypeAny, {
|
|
3198
|
+
content: string;
|
|
3199
|
+
storeId: string;
|
|
3200
|
+
profileId: string;
|
|
3201
|
+
observationId: string;
|
|
3202
|
+
source: string;
|
|
3203
|
+
occurredAt: string;
|
|
3204
|
+
}, {
|
|
3205
|
+
content: string;
|
|
3206
|
+
storeId: string;
|
|
3207
|
+
profileId: string;
|
|
3208
|
+
observationId: string;
|
|
3209
|
+
source: string;
|
|
3210
|
+
occurredAt: string;
|
|
3211
|
+
}>;
|
|
3212
|
+
declare const zPostConversationMemoryObservationsBody: z.ZodObject<{
|
|
3213
|
+
storeId: z.ZodString;
|
|
3214
|
+
profileId: z.ZodString;
|
|
3215
|
+
observations: z.ZodString;
|
|
3216
|
+
}, "strip", z.ZodTypeAny, {
|
|
3217
|
+
storeId: string;
|
|
3218
|
+
profileId: string;
|
|
3219
|
+
observations: string;
|
|
3220
|
+
}, {
|
|
3221
|
+
storeId: string;
|
|
3222
|
+
profileId: string;
|
|
3223
|
+
observations: string;
|
|
3224
|
+
}>;
|
|
3225
|
+
declare const zDeleteConversationMemoryConversationSummariesQuery: z.ZodObject<{
|
|
3226
|
+
storeId: z.ZodOptional<z.ZodString>;
|
|
3227
|
+
profileId: z.ZodOptional<z.ZodString>;
|
|
3228
|
+
summaryId: z.ZodOptional<z.ZodString>;
|
|
3229
|
+
}, "strip", z.ZodTypeAny, {
|
|
3230
|
+
storeId?: string | undefined;
|
|
3231
|
+
profileId?: string | undefined;
|
|
3232
|
+
summaryId?: string | undefined;
|
|
3233
|
+
}, {
|
|
3234
|
+
storeId?: string | undefined;
|
|
3235
|
+
profileId?: string | undefined;
|
|
3236
|
+
summaryId?: string | undefined;
|
|
3237
|
+
}>;
|
|
3238
|
+
declare const zGetConversationMemoryConversationSummariesQuery: z.ZodObject<{
|
|
3239
|
+
storeId: z.ZodOptional<z.ZodString>;
|
|
3240
|
+
profileId: z.ZodOptional<z.ZodString>;
|
|
3241
|
+
summaryId: z.ZodOptional<z.ZodString>;
|
|
3242
|
+
pageSize: z.ZodOptional<z.ZodString>;
|
|
3243
|
+
pageToken: z.ZodOptional<z.ZodString>;
|
|
3244
|
+
}, "strip", z.ZodTypeAny, {
|
|
3245
|
+
pageToken?: string | undefined;
|
|
3246
|
+
storeId?: string | undefined;
|
|
3247
|
+
profileId?: string | undefined;
|
|
3248
|
+
pageSize?: string | undefined;
|
|
3249
|
+
summaryId?: string | undefined;
|
|
3250
|
+
}, {
|
|
3251
|
+
pageToken?: string | undefined;
|
|
3252
|
+
storeId?: string | undefined;
|
|
3253
|
+
profileId?: string | undefined;
|
|
3254
|
+
pageSize?: string | undefined;
|
|
3255
|
+
summaryId?: string | undefined;
|
|
3256
|
+
}>;
|
|
3257
|
+
declare const zPatchConversationMemoryConversationSummariesBody: z.ZodObject<{
|
|
3258
|
+
storeId: z.ZodString;
|
|
3259
|
+
profileId: z.ZodString;
|
|
3260
|
+
summaryId: z.ZodString;
|
|
3261
|
+
}, "strip", z.ZodTypeAny, {
|
|
3262
|
+
storeId: string;
|
|
3263
|
+
profileId: string;
|
|
3264
|
+
summaryId: string;
|
|
3265
|
+
}, {
|
|
3266
|
+
storeId: string;
|
|
3267
|
+
profileId: string;
|
|
3268
|
+
summaryId: string;
|
|
3269
|
+
}>;
|
|
3270
|
+
declare const zPostConversationMemoryConversationSummariesBody: z.ZodObject<{
|
|
3271
|
+
storeId: z.ZodString;
|
|
3272
|
+
profileId: z.ZodString;
|
|
3273
|
+
summaries: z.ZodString;
|
|
3274
|
+
}, "strip", z.ZodTypeAny, {
|
|
3275
|
+
storeId: string;
|
|
3276
|
+
profileId: string;
|
|
3277
|
+
summaries: string;
|
|
3278
|
+
}, {
|
|
3279
|
+
storeId: string;
|
|
3280
|
+
profileId: string;
|
|
3281
|
+
summaries: string;
|
|
3282
|
+
}>;
|
|
3283
|
+
declare const zPostAssignDemoBody: z.ZodObject<{
|
|
3284
|
+
phoneNumber: z.ZodString;
|
|
3285
|
+
targetObjectID: z.ZodString;
|
|
3286
|
+
}, "strip", z.ZodTypeAny, {
|
|
3287
|
+
phoneNumber: string;
|
|
3288
|
+
targetObjectID: string;
|
|
3289
|
+
}, {
|
|
3290
|
+
phoneNumber: string;
|
|
3291
|
+
targetObjectID: string;
|
|
3292
|
+
}>;
|
|
3293
|
+
declare const zGetLookupDemoQuery: z.ZodObject<{
|
|
3294
|
+
phoneNumber: z.ZodOptional<z.ZodString>;
|
|
3295
|
+
}, "strip", z.ZodTypeAny, {
|
|
3296
|
+
phoneNumber?: string | undefined;
|
|
3297
|
+
}, {
|
|
3298
|
+
phoneNumber?: string | undefined;
|
|
3299
|
+
}>;
|
|
3300
|
+
declare const zPostTemplateAutogenBody: z.ZodObject<{
|
|
3301
|
+
requests: z.ZodArray<z.ZodObject<{
|
|
3302
|
+
email: z.ZodOptional<z.ZodString>;
|
|
3303
|
+
company: z.ZodOptional<z.ZodString>;
|
|
3304
|
+
information: z.ZodOptional<z.ZodString>;
|
|
3305
|
+
language: z.ZodOptional<z.ZodString>;
|
|
3306
|
+
voice: z.ZodOptional<z.ZodString>;
|
|
3307
|
+
speechModel: z.ZodOptional<z.ZodString>;
|
|
3308
|
+
transcriptionProvider: z.ZodOptional<z.ZodString>;
|
|
3309
|
+
ttsProvider: z.ZodOptional<z.ZodString>;
|
|
3310
|
+
logoSmall: z.ZodOptional<z.ZodString>;
|
|
3311
|
+
logoFull: z.ZodOptional<z.ZodString>;
|
|
3312
|
+
websiteUrl: z.ZodOptional<z.ZodString>;
|
|
3313
|
+
}, "strip", z.ZodTypeAny, {
|
|
3314
|
+
email?: string | undefined;
|
|
3315
|
+
company?: string | undefined;
|
|
3316
|
+
information?: string | undefined;
|
|
3317
|
+
language?: string | undefined;
|
|
3318
|
+
voice?: string | undefined;
|
|
3319
|
+
speechModel?: string | undefined;
|
|
3320
|
+
transcriptionProvider?: string | undefined;
|
|
3321
|
+
ttsProvider?: string | undefined;
|
|
3322
|
+
logoSmall?: string | undefined;
|
|
3323
|
+
logoFull?: string | undefined;
|
|
3324
|
+
websiteUrl?: string | undefined;
|
|
3325
|
+
}, {
|
|
3326
|
+
email?: string | undefined;
|
|
3327
|
+
company?: string | undefined;
|
|
3328
|
+
information?: string | undefined;
|
|
3329
|
+
language?: string | undefined;
|
|
3330
|
+
voice?: string | undefined;
|
|
3331
|
+
speechModel?: string | undefined;
|
|
3332
|
+
transcriptionProvider?: string | undefined;
|
|
3333
|
+
ttsProvider?: string | undefined;
|
|
3334
|
+
logoSmall?: string | undefined;
|
|
3335
|
+
logoFull?: string | undefined;
|
|
3336
|
+
websiteUrl?: string | undefined;
|
|
3337
|
+
}>, "many">;
|
|
3338
|
+
tags: z.ZodArray<z.ZodString, "many">;
|
|
3339
|
+
createTemplates: z.ZodBoolean;
|
|
3340
|
+
bindPhoneNumber: z.ZodBoolean;
|
|
3341
|
+
countryCode: z.ZodString;
|
|
3342
|
+
tools: z.ZodArray<z.ZodString, "many">;
|
|
3343
|
+
}, "strip", z.ZodTypeAny, {
|
|
3344
|
+
requests: {
|
|
3345
|
+
email?: string | undefined;
|
|
3346
|
+
company?: string | undefined;
|
|
3347
|
+
information?: string | undefined;
|
|
3348
|
+
language?: string | undefined;
|
|
3349
|
+
voice?: string | undefined;
|
|
3350
|
+
speechModel?: string | undefined;
|
|
3351
|
+
transcriptionProvider?: string | undefined;
|
|
3352
|
+
ttsProvider?: string | undefined;
|
|
3353
|
+
logoSmall?: string | undefined;
|
|
3354
|
+
logoFull?: string | undefined;
|
|
3355
|
+
websiteUrl?: string | undefined;
|
|
3356
|
+
}[];
|
|
3357
|
+
tags: string[];
|
|
3358
|
+
createTemplates: boolean;
|
|
3359
|
+
bindPhoneNumber: boolean;
|
|
3360
|
+
countryCode: string;
|
|
3361
|
+
tools: string[];
|
|
3362
|
+
}, {
|
|
3363
|
+
requests: {
|
|
3364
|
+
email?: string | undefined;
|
|
3365
|
+
company?: string | undefined;
|
|
3366
|
+
information?: string | undefined;
|
|
3367
|
+
language?: string | undefined;
|
|
3368
|
+
voice?: string | undefined;
|
|
3369
|
+
speechModel?: string | undefined;
|
|
3370
|
+
transcriptionProvider?: string | undefined;
|
|
3371
|
+
ttsProvider?: string | undefined;
|
|
3372
|
+
logoSmall?: string | undefined;
|
|
3373
|
+
logoFull?: string | undefined;
|
|
3374
|
+
websiteUrl?: string | undefined;
|
|
3375
|
+
}[];
|
|
3376
|
+
tags: string[];
|
|
3377
|
+
createTemplates: boolean;
|
|
3378
|
+
bindPhoneNumber: boolean;
|
|
3379
|
+
countryCode: string;
|
|
3380
|
+
tools: string[];
|
|
3381
|
+
}>;
|
|
3382
|
+
declare const zDeleteTemplateQuery: z.ZodObject<{
|
|
3383
|
+
campaign: z.ZodOptional<z.ZodString>;
|
|
3384
|
+
}, "strip", z.ZodTypeAny, {
|
|
3385
|
+
campaign?: string | undefined;
|
|
3386
|
+
}, {
|
|
3387
|
+
campaign?: string | undefined;
|
|
3388
|
+
}>;
|
|
3389
|
+
declare const zPostTemplateBody: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
3390
|
+
declare const zGetCampaignQuery: z.ZodObject<{
|
|
3391
|
+
limit: z.ZodOptional<z.ZodString>;
|
|
3392
|
+
offset: z.ZodOptional<z.ZodString>;
|
|
3393
|
+
page: z.ZodOptional<z.ZodString>;
|
|
3394
|
+
tag: z.ZodOptional<z.ZodString>;
|
|
3395
|
+
objectId: z.ZodOptional<z.ZodString>;
|
|
3396
|
+
company: z.ZodOptional<z.ZodString>;
|
|
3397
|
+
includeCalledBy: z.ZodOptional<z.ZodString>;
|
|
3398
|
+
}, "strip", z.ZodTypeAny, {
|
|
3399
|
+
company?: string | undefined;
|
|
3400
|
+
limit?: string | undefined;
|
|
3401
|
+
offset?: string | undefined;
|
|
3402
|
+
page?: string | undefined;
|
|
3403
|
+
tag?: string | undefined;
|
|
3404
|
+
objectId?: string | undefined;
|
|
3405
|
+
includeCalledBy?: string | undefined;
|
|
3406
|
+
}, {
|
|
3407
|
+
company?: string | undefined;
|
|
3408
|
+
limit?: string | undefined;
|
|
3409
|
+
offset?: string | undefined;
|
|
3410
|
+
page?: string | undefined;
|
|
3411
|
+
tag?: string | undefined;
|
|
3412
|
+
objectId?: string | undefined;
|
|
3413
|
+
includeCalledBy?: string | undefined;
|
|
3414
|
+
}>;
|
|
3415
|
+
/**
|
|
3416
|
+
* Success
|
|
3417
|
+
*/
|
|
3418
|
+
declare const zGetSupportedRegionsResponse: z.ZodObject<{
|
|
3419
|
+
regions: z.ZodArray<z.ZodObject<{
|
|
3420
|
+
isoCountry: z.ZodOptional<z.ZodString>;
|
|
3421
|
+
numberType: z.ZodOptional<z.ZodString>;
|
|
3422
|
+
bundleSid: z.ZodOptional<z.ZodString>;
|
|
3423
|
+
label: z.ZodOptional<z.ZodString>;
|
|
3424
|
+
flag: z.ZodOptional<z.ZodString>;
|
|
3425
|
+
capabilities: z.ZodOptional<z.ZodString>;
|
|
3426
|
+
}, "strip", z.ZodTypeAny, {
|
|
3427
|
+
isoCountry?: string | undefined;
|
|
3428
|
+
numberType?: string | undefined;
|
|
3429
|
+
bundleSid?: string | undefined;
|
|
3430
|
+
label?: string | undefined;
|
|
3431
|
+
flag?: string | undefined;
|
|
3432
|
+
capabilities?: string | undefined;
|
|
3433
|
+
}, {
|
|
3434
|
+
isoCountry?: string | undefined;
|
|
3435
|
+
numberType?: string | undefined;
|
|
3436
|
+
bundleSid?: string | undefined;
|
|
3437
|
+
label?: string | undefined;
|
|
3438
|
+
flag?: string | undefined;
|
|
3439
|
+
capabilities?: string | undefined;
|
|
3440
|
+
}>, "many">;
|
|
3441
|
+
}, "strip", z.ZodTypeAny, {
|
|
3442
|
+
regions: {
|
|
3443
|
+
isoCountry?: string | undefined;
|
|
3444
|
+
numberType?: string | undefined;
|
|
3445
|
+
bundleSid?: string | undefined;
|
|
3446
|
+
label?: string | undefined;
|
|
3447
|
+
flag?: string | undefined;
|
|
3448
|
+
capabilities?: string | undefined;
|
|
3449
|
+
}[];
|
|
3450
|
+
}, {
|
|
3451
|
+
regions: {
|
|
3452
|
+
isoCountry?: string | undefined;
|
|
3453
|
+
numberType?: string | undefined;
|
|
3454
|
+
bundleSid?: string | undefined;
|
|
3455
|
+
label?: string | undefined;
|
|
3456
|
+
flag?: string | undefined;
|
|
3457
|
+
capabilities?: string | undefined;
|
|
3458
|
+
}[];
|
|
3459
|
+
}>;
|
|
3460
|
+
declare const zPatchLinkShortenerBody: z.ZodObject<{
|
|
3461
|
+
objectID: z.ZodString;
|
|
3462
|
+
shortLink: z.ZodString;
|
|
3463
|
+
}, "strip", z.ZodTypeAny, {
|
|
3464
|
+
objectID: string;
|
|
3465
|
+
shortLink: string;
|
|
3466
|
+
}, {
|
|
3467
|
+
objectID: string;
|
|
3468
|
+
shortLink: string;
|
|
3469
|
+
}>;
|
|
3470
|
+
declare const zPostLinkShortenerBody: z.ZodObject<{
|
|
3471
|
+
urls: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">;
|
|
3472
|
+
}, "strip", z.ZodTypeAny, {
|
|
3473
|
+
urls: Record<string, unknown>[];
|
|
3474
|
+
}, {
|
|
3475
|
+
urls: Record<string, unknown>[];
|
|
3476
|
+
}>;
|
|
3477
|
+
declare const zDeleteLinkShortenerByCodePath: z.ZodObject<{
|
|
3478
|
+
code: z.ZodString;
|
|
3479
|
+
}, "strip", z.ZodTypeAny, {
|
|
3480
|
+
code: string;
|
|
3481
|
+
}, {
|
|
3482
|
+
code: string;
|
|
3483
|
+
}>;
|
|
3484
|
+
|
|
3485
|
+
declare const zod_gen_zAutogenRequest: typeof zAutogenRequest;
|
|
3486
|
+
declare const zod_gen_zDeleteConversationMemoryConversationSummariesQuery: typeof zDeleteConversationMemoryConversationSummariesQuery;
|
|
3487
|
+
declare const zod_gen_zDeleteConversationMemoryIdentifiersQuery: typeof zDeleteConversationMemoryIdentifiersQuery;
|
|
3488
|
+
declare const zod_gen_zDeleteConversationMemoryObservationsQuery: typeof zDeleteConversationMemoryObservationsQuery;
|
|
3489
|
+
declare const zod_gen_zDeleteConversationMemoryProfilesQuery: typeof zDeleteConversationMemoryProfilesQuery;
|
|
3490
|
+
declare const zod_gen_zDeleteConversationMemoryTraitGroupsQuery: typeof zDeleteConversationMemoryTraitGroupsQuery;
|
|
3491
|
+
declare const zod_gen_zDeleteConversationalIntelligenceOperatorBody: typeof zDeleteConversationalIntelligenceOperatorBody;
|
|
3492
|
+
declare const zod_gen_zDeleteLinkShortenerByCodePath: typeof zDeleteLinkShortenerByCodePath;
|
|
3493
|
+
declare const zod_gen_zDeleteTemplateQuery: typeof zDeleteTemplateQuery;
|
|
3494
|
+
declare const zod_gen_zGetCampaignQuery: typeof zGetCampaignQuery;
|
|
3495
|
+
declare const zod_gen_zGetConversationMemoryConversationSummariesQuery: typeof zGetConversationMemoryConversationSummariesQuery;
|
|
3496
|
+
declare const zod_gen_zGetConversationMemoryIdentifiersQuery: typeof zGetConversationMemoryIdentifiersQuery;
|
|
3497
|
+
declare const zod_gen_zGetConversationMemoryObservationsQuery: typeof zGetConversationMemoryObservationsQuery;
|
|
3498
|
+
declare const zod_gen_zGetConversationMemoryProfilesQuery: typeof zGetConversationMemoryProfilesQuery;
|
|
3499
|
+
declare const zod_gen_zGetConversationMemoryTraitGroupsQuery: typeof zGetConversationMemoryTraitGroupsQuery;
|
|
3500
|
+
declare const zod_gen_zGetConversationMemoryTraitsQuery: typeof zGetConversationMemoryTraitsQuery;
|
|
3501
|
+
declare const zod_gen_zGetConversationalIntelligenceOperatorQuery: typeof zGetConversationalIntelligenceOperatorQuery;
|
|
3502
|
+
declare const zod_gen_zGetConversationsFetchQuery: typeof zGetConversationsFetchQuery;
|
|
3503
|
+
declare const zod_gen_zGetIntelligenceConfigurationQuery: typeof zGetIntelligenceConfigurationQuery;
|
|
3504
|
+
declare const zod_gen_zGetLookupDemoQuery: typeof zGetLookupDemoQuery;
|
|
3505
|
+
declare const zod_gen_zGetParticipantsQuery: typeof zGetParticipantsQuery;
|
|
3506
|
+
declare const zod_gen_zGetSupportedRegionsResponse: typeof zGetSupportedRegionsResponse;
|
|
3507
|
+
declare const zod_gen_zGetSyncTokenQuery: typeof zGetSyncTokenQuery;
|
|
3508
|
+
declare const zod_gen_zGetVoiceTokenQuery: typeof zGetVoiceTokenQuery;
|
|
3509
|
+
declare const zod_gen_zPatchConversationMemoryConversationSummariesBody: typeof zPatchConversationMemoryConversationSummariesBody;
|
|
3510
|
+
declare const zod_gen_zPatchConversationMemoryIdentifiersBody: typeof zPatchConversationMemoryIdentifiersBody;
|
|
3511
|
+
declare const zod_gen_zPatchConversationMemoryObservationsBody: typeof zPatchConversationMemoryObservationsBody;
|
|
3512
|
+
declare const zod_gen_zPatchConversationMemoryProfilesBody: typeof zPatchConversationMemoryProfilesBody;
|
|
3513
|
+
declare const zod_gen_zPatchConversationMemoryTraitGroupsBody: typeof zPatchConversationMemoryTraitGroupsBody;
|
|
3514
|
+
declare const zod_gen_zPatchLeadGenBody: typeof zPatchLeadGenBody;
|
|
3515
|
+
declare const zod_gen_zPatchLinkShortenerBody: typeof zPatchLinkShortenerBody;
|
|
3516
|
+
declare const zod_gen_zPostAssignDemoBody: typeof zPostAssignDemoBody;
|
|
3517
|
+
declare const zod_gen_zPostConversationMemoryConversationSummariesBody: typeof zPostConversationMemoryConversationSummariesBody;
|
|
3518
|
+
declare const zod_gen_zPostConversationMemoryIdentifiersBody: typeof zPostConversationMemoryIdentifiersBody;
|
|
3519
|
+
declare const zod_gen_zPostConversationMemoryObservationsBody: typeof zPostConversationMemoryObservationsBody;
|
|
3520
|
+
declare const zod_gen_zPostConversationMemoryProfilesBody: typeof zPostConversationMemoryProfilesBody;
|
|
3521
|
+
declare const zod_gen_zPostConversationMemoryProfilesLookupBody: typeof zPostConversationMemoryProfilesLookupBody;
|
|
3522
|
+
declare const zod_gen_zPostConversationMemoryRecallBody: typeof zPostConversationMemoryRecallBody;
|
|
3523
|
+
declare const zod_gen_zPostConversationMemoryTraitGroupsBody: typeof zPostConversationMemoryTraitGroupsBody;
|
|
3524
|
+
declare const zod_gen_zPostConversationalIntelligenceOperatorBody: typeof zPostConversationalIntelligenceOperatorBody;
|
|
3525
|
+
declare const zod_gen_zPostConversationsBody: typeof zPostConversationsBody;
|
|
3526
|
+
declare const zod_gen_zPostConversationsCommunicationsByConversationIdBody: typeof zPostConversationsCommunicationsByConversationIdBody;
|
|
3527
|
+
declare const zod_gen_zPostConversationsCommunicationsByConversationIdPath: typeof zPostConversationsCommunicationsByConversationIdPath;
|
|
3528
|
+
declare const zod_gen_zPostConversationsTokenBody: typeof zPostConversationsTokenBody;
|
|
3529
|
+
declare const zod_gen_zPostCreateExternalFlexConnectionBody: typeof zPostCreateExternalFlexConnectionBody;
|
|
3530
|
+
declare const zod_gen_zPostInstallFlexPluginBody: typeof zPostInstallFlexPluginBody;
|
|
3531
|
+
declare const zod_gen_zPostIntelligenceConfigurationBody: typeof zPostIntelligenceConfigurationBody;
|
|
3532
|
+
declare const zod_gen_zPostLeadGenBody: typeof zPostLeadGenBody;
|
|
3533
|
+
declare const zod_gen_zPostLinkShortenerBody: typeof zPostLinkShortenerBody;
|
|
3534
|
+
declare const zod_gen_zPostLiveAgentWebchatConnectBody: typeof zPostLiveAgentWebchatConnectBody;
|
|
3535
|
+
declare const zod_gen_zPostLiveAgentWebchatEndBody: typeof zPostLiveAgentWebchatEndBody;
|
|
3536
|
+
declare const zod_gen_zPostLiveAgentWebchatSendBody: typeof zPostLiveAgentWebchatSendBody;
|
|
3537
|
+
declare const zod_gen_zPostParticipantsBody: typeof zPostParticipantsBody;
|
|
3538
|
+
declare const zod_gen_zPostTemplateAutogenBody: typeof zPostTemplateAutogenBody;
|
|
3539
|
+
declare const zod_gen_zPostTemplateBody: typeof zPostTemplateBody;
|
|
3540
|
+
declare const zod_gen_zPostUiConfigBody: typeof zPostUiConfigBody;
|
|
3541
|
+
declare const zod_gen_zPutConversationalIntelligenceOperatorBody: typeof zPutConversationalIntelligenceOperatorBody;
|
|
3542
|
+
declare const zod_gen_zPutConversationsBody: typeof zPutConversationsBody;
|
|
3543
|
+
declare const zod_gen_zPutIntelligenceConfigurationBody: typeof zPutIntelligenceConfigurationBody;
|
|
3544
|
+
declare const zod_gen_zPutParticipantsBody: typeof zPutParticipantsBody;
|
|
3545
|
+
declare const zod_gen_zShortenUrlInput: typeof zShortenUrlInput;
|
|
3546
|
+
declare const zod_gen_zSupportedRegion: typeof zSupportedRegion;
|
|
3547
|
+
declare namespace zod_gen {
|
|
3548
|
+
export {
|
|
3549
|
+
zod_gen_zAutogenRequest as zAutogenRequest,
|
|
3550
|
+
zod_gen_zDeleteConversationMemoryConversationSummariesQuery as zDeleteConversationMemoryConversationSummariesQuery,
|
|
3551
|
+
zod_gen_zDeleteConversationMemoryIdentifiersQuery as zDeleteConversationMemoryIdentifiersQuery,
|
|
3552
|
+
zod_gen_zDeleteConversationMemoryObservationsQuery as zDeleteConversationMemoryObservationsQuery,
|
|
3553
|
+
zod_gen_zDeleteConversationMemoryProfilesQuery as zDeleteConversationMemoryProfilesQuery,
|
|
3554
|
+
zod_gen_zDeleteConversationMemoryTraitGroupsQuery as zDeleteConversationMemoryTraitGroupsQuery,
|
|
3555
|
+
zod_gen_zDeleteConversationalIntelligenceOperatorBody as zDeleteConversationalIntelligenceOperatorBody,
|
|
3556
|
+
zod_gen_zDeleteLinkShortenerByCodePath as zDeleteLinkShortenerByCodePath,
|
|
3557
|
+
zod_gen_zDeleteTemplateQuery as zDeleteTemplateQuery,
|
|
3558
|
+
zod_gen_zGetCampaignQuery as zGetCampaignQuery,
|
|
3559
|
+
zod_gen_zGetConversationMemoryConversationSummariesQuery as zGetConversationMemoryConversationSummariesQuery,
|
|
3560
|
+
zod_gen_zGetConversationMemoryIdentifiersQuery as zGetConversationMemoryIdentifiersQuery,
|
|
3561
|
+
zod_gen_zGetConversationMemoryObservationsQuery as zGetConversationMemoryObservationsQuery,
|
|
3562
|
+
zod_gen_zGetConversationMemoryProfilesQuery as zGetConversationMemoryProfilesQuery,
|
|
3563
|
+
zod_gen_zGetConversationMemoryTraitGroupsQuery as zGetConversationMemoryTraitGroupsQuery,
|
|
3564
|
+
zod_gen_zGetConversationMemoryTraitsQuery as zGetConversationMemoryTraitsQuery,
|
|
3565
|
+
zod_gen_zGetConversationalIntelligenceOperatorQuery as zGetConversationalIntelligenceOperatorQuery,
|
|
3566
|
+
zod_gen_zGetConversationsFetchQuery as zGetConversationsFetchQuery,
|
|
3567
|
+
zod_gen_zGetIntelligenceConfigurationQuery as zGetIntelligenceConfigurationQuery,
|
|
3568
|
+
zod_gen_zGetLookupDemoQuery as zGetLookupDemoQuery,
|
|
3569
|
+
zod_gen_zGetParticipantsQuery as zGetParticipantsQuery,
|
|
3570
|
+
zod_gen_zGetSupportedRegionsResponse as zGetSupportedRegionsResponse,
|
|
3571
|
+
zod_gen_zGetSyncTokenQuery as zGetSyncTokenQuery,
|
|
3572
|
+
zod_gen_zGetVoiceTokenQuery as zGetVoiceTokenQuery,
|
|
3573
|
+
zod_gen_zPatchConversationMemoryConversationSummariesBody as zPatchConversationMemoryConversationSummariesBody,
|
|
3574
|
+
zod_gen_zPatchConversationMemoryIdentifiersBody as zPatchConversationMemoryIdentifiersBody,
|
|
3575
|
+
zod_gen_zPatchConversationMemoryObservationsBody as zPatchConversationMemoryObservationsBody,
|
|
3576
|
+
zod_gen_zPatchConversationMemoryProfilesBody as zPatchConversationMemoryProfilesBody,
|
|
3577
|
+
zod_gen_zPatchConversationMemoryTraitGroupsBody as zPatchConversationMemoryTraitGroupsBody,
|
|
3578
|
+
zod_gen_zPatchLeadGenBody as zPatchLeadGenBody,
|
|
3579
|
+
zod_gen_zPatchLinkShortenerBody as zPatchLinkShortenerBody,
|
|
3580
|
+
zod_gen_zPostAssignDemoBody as zPostAssignDemoBody,
|
|
3581
|
+
zod_gen_zPostConversationMemoryConversationSummariesBody as zPostConversationMemoryConversationSummariesBody,
|
|
3582
|
+
zod_gen_zPostConversationMemoryIdentifiersBody as zPostConversationMemoryIdentifiersBody,
|
|
3583
|
+
zod_gen_zPostConversationMemoryObservationsBody as zPostConversationMemoryObservationsBody,
|
|
3584
|
+
zod_gen_zPostConversationMemoryProfilesBody as zPostConversationMemoryProfilesBody,
|
|
3585
|
+
zod_gen_zPostConversationMemoryProfilesLookupBody as zPostConversationMemoryProfilesLookupBody,
|
|
3586
|
+
zod_gen_zPostConversationMemoryRecallBody as zPostConversationMemoryRecallBody,
|
|
3587
|
+
zod_gen_zPostConversationMemoryTraitGroupsBody as zPostConversationMemoryTraitGroupsBody,
|
|
3588
|
+
zod_gen_zPostConversationalIntelligenceOperatorBody as zPostConversationalIntelligenceOperatorBody,
|
|
3589
|
+
zod_gen_zPostConversationsBody as zPostConversationsBody,
|
|
3590
|
+
zod_gen_zPostConversationsCommunicationsByConversationIdBody as zPostConversationsCommunicationsByConversationIdBody,
|
|
3591
|
+
zod_gen_zPostConversationsCommunicationsByConversationIdPath as zPostConversationsCommunicationsByConversationIdPath,
|
|
3592
|
+
zod_gen_zPostConversationsTokenBody as zPostConversationsTokenBody,
|
|
3593
|
+
zod_gen_zPostCreateExternalFlexConnectionBody as zPostCreateExternalFlexConnectionBody,
|
|
3594
|
+
zod_gen_zPostInstallFlexPluginBody as zPostInstallFlexPluginBody,
|
|
3595
|
+
zod_gen_zPostIntelligenceConfigurationBody as zPostIntelligenceConfigurationBody,
|
|
3596
|
+
zod_gen_zPostLeadGenBody as zPostLeadGenBody,
|
|
3597
|
+
zod_gen_zPostLinkShortenerBody as zPostLinkShortenerBody,
|
|
3598
|
+
zod_gen_zPostLiveAgentWebchatConnectBody as zPostLiveAgentWebchatConnectBody,
|
|
3599
|
+
zod_gen_zPostLiveAgentWebchatEndBody as zPostLiveAgentWebchatEndBody,
|
|
3600
|
+
zod_gen_zPostLiveAgentWebchatSendBody as zPostLiveAgentWebchatSendBody,
|
|
3601
|
+
zod_gen_zPostParticipantsBody as zPostParticipantsBody,
|
|
3602
|
+
zod_gen_zPostTemplateAutogenBody as zPostTemplateAutogenBody,
|
|
3603
|
+
zod_gen_zPostTemplateBody as zPostTemplateBody,
|
|
3604
|
+
zod_gen_zPostUiConfigBody as zPostUiConfigBody,
|
|
3605
|
+
zod_gen_zPutConversationalIntelligenceOperatorBody as zPutConversationalIntelligenceOperatorBody,
|
|
3606
|
+
zod_gen_zPutConversationsBody as zPutConversationsBody,
|
|
3607
|
+
zod_gen_zPutIntelligenceConfigurationBody as zPutIntelligenceConfigurationBody,
|
|
3608
|
+
zod_gen_zPutParticipantsBody as zPutParticipantsBody,
|
|
3609
|
+
zod_gen_zShortenUrlInput as zShortenUrlInput,
|
|
3610
|
+
zod_gen_zSupportedRegion as zSupportedRegion,
|
|
3611
|
+
};
|
|
3612
|
+
}
|
|
3613
|
+
|
|
3614
|
+
export { createRampApiClient, deleteConversationMemoryConversationSummaries, deleteConversationMemoryIdentifiers, deleteConversationMemoryObservations, deleteConversationMemoryProfiles, deleteConversationMemoryReset, deleteConversationMemoryTraitGroups, deleteConversationalIntelligenceOperator, deleteLeadGen, deleteLinkShortenerByCode, deleteTemplate, getCampaign, getConversationMemoryConversationSummaries, getConversationMemoryIdentifiers, getConversationMemoryObservations, getConversationMemoryProfiles, getConversationMemoryTraitGroups, getConversationMemoryTraits, getConversationalIntelligenceOperator, getConversationsFetch, getDocsOpenapiJson, getHealth, getIntelligenceConfiguration, getLinkShortener, getLookupDemo, getParticipants, getSupportedRegions, getSyncToken, getVoiceToken, patchConversationMemoryConversationSummaries, patchConversationMemoryIdentifiers, patchConversationMemoryObservations, patchConversationMemoryProfiles, patchConversationMemoryTraitGroups, patchLeadGen, patchLinkShortener, postAssignDemo, postConversationMemoryConversationSummaries, postConversationMemoryIdentifiers, postConversationMemoryObservations, postConversationMemoryProfiles, postConversationMemoryProfilesLookup, postConversationMemoryRecall, postConversationMemoryTraitGroups, postConversationalIntelligenceOperator, postConversations, postConversationsCommunicationsByConversationId, postConversationsToken, postCreateExternalFlexConnection, postInstallFlexPlugin, postIntelligenceConfiguration, postLeadGen, postLeadGenMonitor, postLinkShortener, postLiveAgentWebchatConnect, postLiveAgentWebchatEnd, postLiveAgentWebchatSend, postParticipants, postTemplate, postTemplateAutogen, postUiConfig, putConversationalIntelligenceOperator, putConversations, putIntelligenceConfiguration, putParticipants, zod_gen as schemas };
|
|
3615
|
+
export type { AutogenRequest, Client, ClientOptions, Config, CreateRampApiClientOptions, DeleteConversationMemoryConversationSummariesData, DeleteConversationMemoryConversationSummariesErrors, DeleteConversationMemoryConversationSummariesResponses, DeleteConversationMemoryIdentifiersData, DeleteConversationMemoryIdentifiersErrors, DeleteConversationMemoryIdentifiersResponses, DeleteConversationMemoryObservationsData, DeleteConversationMemoryObservationsErrors, DeleteConversationMemoryObservationsResponses, DeleteConversationMemoryProfilesData, DeleteConversationMemoryProfilesErrors, DeleteConversationMemoryProfilesResponses, DeleteConversationMemoryResetData, DeleteConversationMemoryResetErrors, DeleteConversationMemoryResetResponses, DeleteConversationMemoryTraitGroupsData, DeleteConversationMemoryTraitGroupsErrors, DeleteConversationMemoryTraitGroupsResponses, DeleteConversationalIntelligenceOperatorData, DeleteConversationalIntelligenceOperatorErrors, DeleteConversationalIntelligenceOperatorResponses, DeleteLeadGenData, DeleteLeadGenErrors, DeleteLeadGenResponses, DeleteLinkShortenerByCodeData, DeleteLinkShortenerByCodeErrors, DeleteLinkShortenerByCodeResponses, DeleteTemplateData, DeleteTemplateErrors, DeleteTemplateResponses, GetCampaignData, GetCampaignErrors, GetCampaignResponses, GetConversationMemoryConversationSummariesData, GetConversationMemoryConversationSummariesErrors, GetConversationMemoryConversationSummariesResponses, GetConversationMemoryIdentifiersData, GetConversationMemoryIdentifiersErrors, GetConversationMemoryIdentifiersResponses, GetConversationMemoryObservationsData, GetConversationMemoryObservationsErrors, GetConversationMemoryObservationsResponses, GetConversationMemoryProfilesData, GetConversationMemoryProfilesErrors, GetConversationMemoryProfilesResponses, GetConversationMemoryTraitGroupsData, GetConversationMemoryTraitGroupsErrors, GetConversationMemoryTraitGroupsResponses, GetConversationMemoryTraitsData, GetConversationMemoryTraitsErrors, GetConversationMemoryTraitsResponses, GetConversationalIntelligenceOperatorData, GetConversationalIntelligenceOperatorErrors, GetConversationalIntelligenceOperatorResponses, GetConversationsFetchData, GetConversationsFetchErrors, GetConversationsFetchResponses, GetDocsOpenapiJsonData, GetDocsOpenapiJsonErrors, GetDocsOpenapiJsonResponses, GetHealthData, GetHealthErrors, GetHealthResponses, GetIntelligenceConfigurationData, GetIntelligenceConfigurationErrors, GetIntelligenceConfigurationResponses, GetLinkShortenerData, GetLinkShortenerErrors, GetLinkShortenerResponses, GetLookupDemoData, GetLookupDemoErrors, GetLookupDemoResponses, GetParticipantsData, GetParticipantsErrors, GetParticipantsResponses, GetSupportedRegionsData, GetSupportedRegionsErrors, GetSupportedRegionsResponse, GetSupportedRegionsResponses, GetSyncTokenData, GetSyncTokenErrors, GetSyncTokenResponses, GetVoiceTokenData, GetVoiceTokenErrors, GetVoiceTokenResponses, Options, PatchConversationMemoryConversationSummariesData, PatchConversationMemoryConversationSummariesErrors, PatchConversationMemoryConversationSummariesResponses, PatchConversationMemoryIdentifiersData, PatchConversationMemoryIdentifiersErrors, PatchConversationMemoryIdentifiersResponses, PatchConversationMemoryObservationsData, PatchConversationMemoryObservationsErrors, PatchConversationMemoryObservationsResponses, PatchConversationMemoryProfilesData, PatchConversationMemoryProfilesErrors, PatchConversationMemoryProfilesResponses, PatchConversationMemoryTraitGroupsData, PatchConversationMemoryTraitGroupsErrors, PatchConversationMemoryTraitGroupsResponses, PatchLeadGenData, PatchLeadGenErrors, PatchLeadGenResponses, PatchLinkShortenerData, PatchLinkShortenerErrors, PatchLinkShortenerResponses, PostAssignDemoData, PostAssignDemoErrors, PostAssignDemoResponses, PostConversationMemoryConversationSummariesData, PostConversationMemoryConversationSummariesErrors, PostConversationMemoryConversationSummariesResponses, PostConversationMemoryIdentifiersData, PostConversationMemoryIdentifiersErrors, PostConversationMemoryIdentifiersResponses, PostConversationMemoryObservationsData, PostConversationMemoryObservationsErrors, PostConversationMemoryObservationsResponses, PostConversationMemoryProfilesData, PostConversationMemoryProfilesErrors, PostConversationMemoryProfilesLookupData, PostConversationMemoryProfilesLookupErrors, PostConversationMemoryProfilesLookupResponses, PostConversationMemoryProfilesResponses, PostConversationMemoryRecallData, PostConversationMemoryRecallErrors, PostConversationMemoryRecallResponses, PostConversationMemoryTraitGroupsData, PostConversationMemoryTraitGroupsErrors, PostConversationMemoryTraitGroupsResponses, PostConversationalIntelligenceOperatorData, PostConversationalIntelligenceOperatorErrors, PostConversationalIntelligenceOperatorResponses, PostConversationsCommunicationsByConversationIdData, PostConversationsCommunicationsByConversationIdErrors, PostConversationsCommunicationsByConversationIdResponses, PostConversationsData, PostConversationsErrors, PostConversationsResponses, PostConversationsTokenData, PostConversationsTokenErrors, PostConversationsTokenResponses, PostCreateExternalFlexConnectionData, PostCreateExternalFlexConnectionErrors, PostCreateExternalFlexConnectionResponses, PostInstallFlexPluginData, PostInstallFlexPluginErrors, PostInstallFlexPluginResponses, PostIntelligenceConfigurationData, PostIntelligenceConfigurationErrors, PostIntelligenceConfigurationResponses, PostLeadGenData, PostLeadGenErrors, PostLeadGenMonitorData, PostLeadGenMonitorErrors, PostLeadGenMonitorResponses, PostLeadGenResponses, PostLinkShortenerData, PostLinkShortenerErrors, PostLinkShortenerResponses, PostLiveAgentWebchatConnectData, PostLiveAgentWebchatConnectErrors, PostLiveAgentWebchatConnectResponses, PostLiveAgentWebchatEndData, PostLiveAgentWebchatEndErrors, PostLiveAgentWebchatEndResponses, PostLiveAgentWebchatSendData, PostLiveAgentWebchatSendErrors, PostLiveAgentWebchatSendResponses, PostParticipantsData, PostParticipantsErrors, PostParticipantsResponses, PostTemplateAutogenData, PostTemplateAutogenErrors, PostTemplateAutogenResponses, PostTemplateData, PostTemplateErrors, PostTemplateResponses, PostUiConfigData, PostUiConfigErrors, PostUiConfigResponses, PutConversationalIntelligenceOperatorData, PutConversationalIntelligenceOperatorErrors, PutConversationalIntelligenceOperatorResponses, PutConversationsData, PutConversationsErrors, PutConversationsResponses, PutIntelligenceConfigurationData, PutIntelligenceConfigurationErrors, PutIntelligenceConfigurationResponses, PutParticipantsData, PutParticipantsErrors, PutParticipantsResponses, RequestResult, ShortenUrlInput, SupportedRegion };
|