@savantoai/ai-sdk 2.1.0 → 3.1.0
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/CHANGELOG.md +206 -0
- package/README.md +17 -2
- package/dist/index.cjs +194 -127
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1672 -117
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +1672 -117
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +190 -128
- package/dist/index.mjs.map +1 -1
- package/package.json +11 -9
package/dist/index.d.cts
CHANGED
|
@@ -46,18 +46,18 @@ type QuerySerializerOptions = QuerySerializerOptionsObject & {
|
|
|
46
46
|
//#endregion
|
|
47
47
|
//#region src/generated/core/types.gen.d.ts
|
|
48
48
|
type HttpMethod = 'connect' | 'delete' | 'get' | 'head' | 'options' | 'patch' | 'post' | 'put' | 'trace';
|
|
49
|
-
type Client$1<RequestFn
|
|
49
|
+
type Client$1<RequestFn = never, Config = unknown, MethodFn = never, BuildUrlFn = never, SseFn = never> = {
|
|
50
50
|
/**
|
|
51
51
|
* Returns the final request URL.
|
|
52
52
|
*/
|
|
53
|
-
buildUrl: BuildUrlFn
|
|
54
|
-
getConfig: () => Config
|
|
55
|
-
request: RequestFn
|
|
56
|
-
setConfig: (config: Config
|
|
57
|
-
} & { [K in HttpMethod]: MethodFn
|
|
53
|
+
buildUrl: BuildUrlFn;
|
|
54
|
+
getConfig: () => Config;
|
|
55
|
+
request: RequestFn;
|
|
56
|
+
setConfig: (config: Config) => Config;
|
|
57
|
+
} & { [K in HttpMethod]: MethodFn } & ([SseFn] extends [never] ? {
|
|
58
58
|
sse?: never;
|
|
59
59
|
} : {
|
|
60
|
-
sse: { [K in HttpMethod]: SseFn
|
|
60
|
+
sse: { [K in HttpMethod]: SseFn };
|
|
61
61
|
});
|
|
62
62
|
interface Config$1 {
|
|
63
63
|
/**
|
|
@@ -185,9 +185,13 @@ type ServerSentEventsResult<TData = unknown, TReturn = void, TNext = unknown> =
|
|
|
185
185
|
};
|
|
186
186
|
//#endregion
|
|
187
187
|
//#region src/generated/client/utils.gen.d.ts
|
|
188
|
-
type ErrInterceptor<Err, Res, Req, Options
|
|
189
|
-
|
|
190
|
-
|
|
188
|
+
type ErrInterceptor<Err, Res, Req, Options> = (error: Err, /** response may be undefined due to a network error where no response object is produced */
|
|
189
|
+
|
|
190
|
+
response: Res | undefined, /** request may be undefined, because error may be from building the request object itself */
|
|
191
|
+
|
|
192
|
+
request: Req | undefined, options: Options) => Err | Promise<Err>;
|
|
193
|
+
type ReqInterceptor<Req, Options> = (request: Req, options: Options) => Req | Promise<Req>;
|
|
194
|
+
type ResInterceptor<Res, Req, Options> = (response: Res, request: Req, options: Options) => Res | Promise<Res>;
|
|
191
195
|
declare class Interceptors<Interceptor> {
|
|
192
196
|
fns: Array<Interceptor | null>;
|
|
193
197
|
clear(): void;
|
|
@@ -197,10 +201,10 @@ declare class Interceptors<Interceptor> {
|
|
|
197
201
|
update(id: number | Interceptor, fn: Interceptor): number | Interceptor | false;
|
|
198
202
|
use(fn: Interceptor): number;
|
|
199
203
|
}
|
|
200
|
-
interface Middleware<Req, Res, Err, Options
|
|
201
|
-
error: Interceptors<ErrInterceptor<Err, Res, Req, Options
|
|
202
|
-
request: Interceptors<ReqInterceptor<Req, Options
|
|
203
|
-
response: Interceptors<ResInterceptor<Res, Req, Options
|
|
204
|
+
interface Middleware<Req, Res, Err, Options> {
|
|
205
|
+
error: Interceptors<ErrInterceptor<Err, Res, Req, Options>>;
|
|
206
|
+
request: Interceptors<ReqInterceptor<Req, Options>>;
|
|
207
|
+
response: Interceptors<ResInterceptor<Res, Req, Options>>;
|
|
204
208
|
}
|
|
205
209
|
declare const createConfig: <T extends ClientOptions = ClientOptions>(override?: Config<Omit<ClientOptions, keyof T> & T>) => Config<Omit<ClientOptions, keyof T> & T>;
|
|
206
210
|
//#endregion
|
|
@@ -266,6 +270,7 @@ interface RequestOptions<TData = unknown, TResponseStyle extends ResponseStyle =
|
|
|
266
270
|
url: Url;
|
|
267
271
|
}
|
|
268
272
|
interface ResolvedRequestOptions<TResponseStyle extends ResponseStyle = 'fields', ThrowOnError extends boolean = boolean, Url extends string = string> extends RequestOptions<unknown, TResponseStyle, ThrowOnError, Url> {
|
|
273
|
+
headers: Headers;
|
|
269
274
|
serializedBody?: string;
|
|
270
275
|
}
|
|
271
276
|
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 : {
|
|
@@ -279,8 +284,8 @@ type RequestResult<TData = unknown, TError = unknown, ThrowOnError extends boole
|
|
|
279
284
|
data: undefined;
|
|
280
285
|
error: TError extends Record<string, unknown> ? TError[keyof TError] : TError;
|
|
281
286
|
}) & {
|
|
282
|
-
request
|
|
283
|
-
response
|
|
287
|
+
/** request may be undefined, because error may be from building the request object itself */request?: Request; /** response may be undefined, because error may be from building the request object itself or from a network error */
|
|
288
|
+
response?: Response;
|
|
284
289
|
}>;
|
|
285
290
|
interface ClientOptions {
|
|
286
291
|
baseUrl?: string;
|
|
@@ -288,7 +293,7 @@ interface ClientOptions {
|
|
|
288
293
|
throwOnError?: boolean;
|
|
289
294
|
}
|
|
290
295
|
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>;
|
|
291
|
-
type SseFn = <TData = unknown, TError = unknown, ThrowOnError extends boolean = false, TResponseStyle extends ResponseStyle = 'fields'>(options: Omit<RequestOptions<
|
|
296
|
+
type SseFn = <TData = unknown, TError = unknown, ThrowOnError extends boolean = false, TResponseStyle extends ResponseStyle = 'fields'>(options: Omit<RequestOptions<never, TResponseStyle, ThrowOnError>, 'method'>) => Promise<ServerSentEventsResult<TData, TError>>;
|
|
292
297
|
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>;
|
|
293
298
|
type BuildUrlFn = <TData extends {
|
|
294
299
|
body?: unknown;
|
|
@@ -306,7 +311,7 @@ interface TDataShape {
|
|
|
306
311
|
query?: unknown;
|
|
307
312
|
url: string;
|
|
308
313
|
}
|
|
309
|
-
type OmitKeys<T, K
|
|
314
|
+
type OmitKeys<T, K> = Pick<T, Exclude<keyof T, K>>;
|
|
310
315
|
type Options<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'>);
|
|
311
316
|
//#endregion
|
|
312
317
|
//#region src/generated/client/client.gen.d.ts
|
|
@@ -314,6 +319,8 @@ declare const createClient: (config?: Config) => Client;
|
|
|
314
319
|
//#endregion
|
|
315
320
|
//#region src/generated/types.gen.d.ts
|
|
316
321
|
type ChatResponse = {
|
|
322
|
+
object: 'event';
|
|
323
|
+
requestId: string;
|
|
317
324
|
data?: unknown;
|
|
318
325
|
};
|
|
319
326
|
type ChatStreamChunk = {
|
|
@@ -327,7 +334,7 @@ type ErrorResponse = {
|
|
|
327
334
|
type: 'invalid_request_error' | 'authentication_error' | 'authorization_error' | 'rate_limit_error' | 'api_error';
|
|
328
335
|
message: string;
|
|
329
336
|
code: string;
|
|
330
|
-
param: string;
|
|
337
|
+
param: string | null;
|
|
331
338
|
};
|
|
332
339
|
};
|
|
333
340
|
type ChatRequest = {
|
|
@@ -369,6 +376,12 @@ type UpdateCrawlConfigRequest = {
|
|
|
369
376
|
includePatterns?: Array<string>;
|
|
370
377
|
overagesEnabled?: boolean;
|
|
371
378
|
};
|
|
379
|
+
type EnrollCrawlNotificationRequest = {
|
|
380
|
+
/**
|
|
381
|
+
* Recipient for the crawl-complete email. Caller is responsible for validating the signed-in user owns this address.
|
|
382
|
+
*/
|
|
383
|
+
email: string;
|
|
384
|
+
};
|
|
372
385
|
type ScrapeRequest = {
|
|
373
386
|
url: string;
|
|
374
387
|
action?: 'scrape' | 'delete';
|
|
@@ -381,28 +394,28 @@ type ProductInput = {
|
|
|
381
394
|
content?: string;
|
|
382
395
|
searchableText?: string;
|
|
383
396
|
excerpt?: string;
|
|
384
|
-
price?: number;
|
|
385
|
-
salePrice?: number;
|
|
386
|
-
regularPrice?: number;
|
|
397
|
+
price?: number | null;
|
|
398
|
+
salePrice?: number | null;
|
|
399
|
+
regularPrice?: number | null;
|
|
387
400
|
onSale?: boolean;
|
|
388
|
-
priceMin?: number;
|
|
389
|
-
priceMax?: number;
|
|
390
|
-
stockQuantity?: number;
|
|
401
|
+
priceMin?: number | null;
|
|
402
|
+
priceMax?: number | null;
|
|
403
|
+
stockQuantity?: number | null;
|
|
391
404
|
stockStatus?: 'instock' | 'outofstock' | 'onbackorder';
|
|
392
405
|
sku?: string;
|
|
393
406
|
type?: 'simple' | 'variable' | 'grouped' | 'external';
|
|
394
|
-
weight?: number;
|
|
407
|
+
weight?: number | null;
|
|
395
408
|
dimensions?: {
|
|
396
|
-
length?: number;
|
|
397
|
-
width?: number;
|
|
398
|
-
height?: number;
|
|
399
|
-
};
|
|
400
|
-
rating?: number;
|
|
409
|
+
length?: number | null;
|
|
410
|
+
width?: number | null;
|
|
411
|
+
height?: number | null;
|
|
412
|
+
} | null;
|
|
413
|
+
rating?: number | null;
|
|
401
414
|
reviewCount?: number;
|
|
402
415
|
categories?: Array<string>;
|
|
403
416
|
tags?: Array<string>;
|
|
404
417
|
brands?: Array<string>;
|
|
405
|
-
image?: string;
|
|
418
|
+
image?: string | null;
|
|
406
419
|
url?: string;
|
|
407
420
|
status?: string;
|
|
408
421
|
visibility?: string;
|
|
@@ -411,7 +424,7 @@ type ProductInput = {
|
|
|
411
424
|
downloadable?: boolean;
|
|
412
425
|
attributes?: {
|
|
413
426
|
[key: string]: Array<string>;
|
|
414
|
-
};
|
|
427
|
+
} | null;
|
|
415
428
|
metadata?: {
|
|
416
429
|
[key: string]: string | number | boolean | Array<string>;
|
|
417
430
|
};
|
|
@@ -424,28 +437,28 @@ type Product = {
|
|
|
424
437
|
content?: string;
|
|
425
438
|
excerpt?: string;
|
|
426
439
|
searchableText?: string;
|
|
427
|
-
price?: number;
|
|
428
|
-
salePrice?: number;
|
|
429
|
-
regularPrice?: number;
|
|
440
|
+
price?: number | null;
|
|
441
|
+
salePrice?: number | null;
|
|
442
|
+
regularPrice?: number | null;
|
|
430
443
|
onSale?: boolean;
|
|
431
|
-
priceMin?: number;
|
|
432
|
-
priceMax?: number;
|
|
433
|
-
stockQuantity?: number;
|
|
434
|
-
stockStatus?:
|
|
444
|
+
priceMin?: number | null;
|
|
445
|
+
priceMax?: number | null;
|
|
446
|
+
stockQuantity?: number | null;
|
|
447
|
+
stockStatus?: 'instock' | 'outofstock' | 'onbackorder';
|
|
435
448
|
sku?: string;
|
|
436
|
-
type?:
|
|
437
|
-
weight?: number;
|
|
449
|
+
type?: 'simple' | 'variable' | 'grouped' | 'external';
|
|
450
|
+
weight?: number | null;
|
|
438
451
|
dimensions?: {
|
|
439
|
-
length?: number;
|
|
440
|
-
width?: number;
|
|
441
|
-
height?: number;
|
|
442
|
-
};
|
|
443
|
-
rating?: number;
|
|
452
|
+
length?: number | null;
|
|
453
|
+
width?: number | null;
|
|
454
|
+
height?: number | null;
|
|
455
|
+
} | null;
|
|
456
|
+
rating?: number | null;
|
|
444
457
|
reviewCount?: number;
|
|
445
458
|
categories?: Array<string>;
|
|
446
459
|
tags?: Array<string>;
|
|
447
460
|
brands?: Array<string>;
|
|
448
|
-
image?: string;
|
|
461
|
+
image?: string | null;
|
|
449
462
|
url?: string;
|
|
450
463
|
status?: string;
|
|
451
464
|
visibility?: string;
|
|
@@ -456,7 +469,7 @@ type Product = {
|
|
|
456
469
|
updatedAt?: string;
|
|
457
470
|
attributes?: {
|
|
458
471
|
[key: string]: Array<string>;
|
|
459
|
-
};
|
|
472
|
+
} | null;
|
|
460
473
|
metadata?: {
|
|
461
474
|
[key: string]: string | number | boolean | Array<string>;
|
|
462
475
|
};
|
|
@@ -469,11 +482,11 @@ type Product = {
|
|
|
469
482
|
}>;
|
|
470
483
|
};
|
|
471
484
|
type Pagination = {
|
|
472
|
-
total: number;
|
|
485
|
+
total: number | null;
|
|
473
486
|
limit: number;
|
|
474
487
|
hasMore: boolean;
|
|
475
488
|
offset?: number;
|
|
476
|
-
cursor?: string;
|
|
489
|
+
cursor?: string | null;
|
|
477
490
|
};
|
|
478
491
|
type ProductSearchRequest = {
|
|
479
492
|
text: string;
|
|
@@ -518,11 +531,11 @@ type PostInput = {
|
|
|
518
531
|
status?: 'publish' | 'draft' | 'private' | 'pending';
|
|
519
532
|
authorId?: string;
|
|
520
533
|
authorName?: string;
|
|
521
|
-
publishedAt?: string;
|
|
534
|
+
publishedAt?: string | null;
|
|
522
535
|
categories?: Array<string>;
|
|
523
536
|
tags?: Array<string>;
|
|
524
537
|
url?: string;
|
|
525
|
-
featuredImage?: string;
|
|
538
|
+
featuredImage?: string | null;
|
|
526
539
|
source?: string;
|
|
527
540
|
indexStatus?: 'active' | 'hidden' | 'disabled';
|
|
528
541
|
metadata?: {
|
|
@@ -530,7 +543,7 @@ type PostInput = {
|
|
|
530
543
|
};
|
|
531
544
|
attributes?: {
|
|
532
545
|
[key: string]: unknown;
|
|
533
|
-
};
|
|
546
|
+
} | null;
|
|
534
547
|
};
|
|
535
548
|
type Post = {
|
|
536
549
|
id: string;
|
|
@@ -549,13 +562,13 @@ type Post = {
|
|
|
549
562
|
tags?: Array<string>;
|
|
550
563
|
metaTitle?: string;
|
|
551
564
|
metaDescription?: string;
|
|
552
|
-
featuredImage?: string;
|
|
565
|
+
featuredImage?: string | null;
|
|
553
566
|
createdAt?: string;
|
|
554
567
|
updatedAt?: string;
|
|
555
|
-
publishedAt?: string;
|
|
568
|
+
publishedAt?: string | null;
|
|
556
569
|
attributes?: {
|
|
557
|
-
[key: string]: string | Array<string> | number | boolean |
|
|
558
|
-
};
|
|
570
|
+
[key: string]: string | Array<string> | number | boolean | null;
|
|
571
|
+
} | null;
|
|
559
572
|
metadata?: {
|
|
560
573
|
[key: string]: string | number | boolean | Array<string>;
|
|
561
574
|
};
|
|
@@ -592,7 +605,7 @@ type ThreadSearchRequest = {
|
|
|
592
605
|
minTokens?: number;
|
|
593
606
|
maxTokens?: number;
|
|
594
607
|
hasUnresolvedQueries?: boolean;
|
|
595
|
-
sortBy?: 'timestamp' | '
|
|
608
|
+
sortBy?: 'timestamp' | 'messageCount' | 'tokenCount';
|
|
596
609
|
sortOrder?: 'asc' | 'desc';
|
|
597
610
|
};
|
|
598
611
|
type ThreadExportRequest = {
|
|
@@ -607,11 +620,16 @@ type ThreadBulkDeleteRequest = {
|
|
|
607
620
|
};
|
|
608
621
|
type FeedbackSubmission = {
|
|
609
622
|
rating: 'positive' | 'negative';
|
|
610
|
-
|
|
623
|
+
source?: 'chat_response' | 'recommendation' | 'search_result' | 'content';
|
|
611
624
|
threadId?: string;
|
|
625
|
+
contentId?: string;
|
|
626
|
+
contentType?: 'product' | 'post' | 'prompt' | 'message' | 'general';
|
|
612
627
|
comment?: string;
|
|
613
|
-
|
|
614
|
-
|
|
628
|
+
category?: string;
|
|
629
|
+
queryText?: string;
|
|
630
|
+
metadata?: {
|
|
631
|
+
[key: string]: unknown;
|
|
632
|
+
};
|
|
615
633
|
userJwt?: string;
|
|
616
634
|
messageId?: string;
|
|
617
635
|
};
|
|
@@ -811,10 +829,21 @@ type TenantStatus = {
|
|
|
811
829
|
tenantId?: string;
|
|
812
830
|
tier?: string;
|
|
813
831
|
status?: 'active' | 'inactive' | 'suspended';
|
|
814
|
-
publishableKey?: string;
|
|
832
|
+
publishableKey?: string | null;
|
|
815
833
|
jwtSecret?: string;
|
|
816
834
|
[key: string]: unknown;
|
|
817
835
|
};
|
|
836
|
+
type TenantWhoami = {
|
|
837
|
+
tenantId: string;
|
|
838
|
+
tier: string;
|
|
839
|
+
apiKeyId: string;
|
|
840
|
+
keyType: 'secret' | 'publishable';
|
|
841
|
+
scopes?: Array<string>;
|
|
842
|
+
label?: string;
|
|
843
|
+
};
|
|
844
|
+
type UpdateTenantFeaturesRequest = {
|
|
845
|
+
overagesEnabled: boolean;
|
|
846
|
+
};
|
|
818
847
|
type WorkspaceSummary = {
|
|
819
848
|
workspaceId: string;
|
|
820
849
|
name?: string;
|
|
@@ -832,6 +861,38 @@ type CreateWorkspaceRequest = {
|
|
|
832
861
|
source?: string;
|
|
833
862
|
siteUrl?: string;
|
|
834
863
|
};
|
|
864
|
+
type UpdateWorkspaceRequest = {
|
|
865
|
+
name?: string;
|
|
866
|
+
domain?: string;
|
|
867
|
+
};
|
|
868
|
+
type GetUploadUrlRequest = {
|
|
869
|
+
fileName: string;
|
|
870
|
+
contentType: string;
|
|
871
|
+
fileSize: number;
|
|
872
|
+
};
|
|
873
|
+
type UpdateMcpConfigRequest = {
|
|
874
|
+
ordersUri?: string;
|
|
875
|
+
inventoryUri?: string;
|
|
876
|
+
shippingUri?: string;
|
|
877
|
+
supportUri?: string;
|
|
878
|
+
accountUri?: string;
|
|
879
|
+
analyticsUri?: string;
|
|
880
|
+
[key: string]: string | string | undefined;
|
|
881
|
+
};
|
|
882
|
+
type StoreLiveAgentCredentialsRequest = {
|
|
883
|
+
provider: 'zendesk' | 'intercom' | 'drift' | 'slack';
|
|
884
|
+
apiToken?: string;
|
|
885
|
+
webhookSecret?: string;
|
|
886
|
+
subdomain?: string;
|
|
887
|
+
integrationId?: string;
|
|
888
|
+
botToken?: string;
|
|
889
|
+
channelId?: string;
|
|
890
|
+
signingSecret?: string;
|
|
891
|
+
availabilitySchedule?: string | null;
|
|
892
|
+
};
|
|
893
|
+
type UpdateLiveAgentScheduleRequest = {
|
|
894
|
+
schedule: string | null;
|
|
895
|
+
};
|
|
835
896
|
type DeprovisionResult = {
|
|
836
897
|
success: boolean;
|
|
837
898
|
message?: string;
|
|
@@ -909,6 +970,59 @@ type AdminUpdateSubscriptionRequest = {
|
|
|
909
970
|
tier?: string;
|
|
910
971
|
providerCustomerId?: string;
|
|
911
972
|
};
|
|
973
|
+
type ComplianceAuditResponse = {
|
|
974
|
+
requestId: string;
|
|
975
|
+
status: 'queued' | 'completed' | 'failed';
|
|
976
|
+
requestType: 'customer_redact' | 'customer_data_request';
|
|
977
|
+
requestedAt: string;
|
|
978
|
+
/**
|
|
979
|
+
* OpenSearch _tasks id for thread-doc deletion (reconciler polls this).
|
|
980
|
+
*/
|
|
981
|
+
threadTaskId?: string;
|
|
982
|
+
memoryTaskId?: string;
|
|
983
|
+
summary?: string;
|
|
984
|
+
};
|
|
985
|
+
type CustomerRedactRequest = {
|
|
986
|
+
customer: ComplianceCustomerId;
|
|
987
|
+
caller: ComplianceCaller;
|
|
988
|
+
/**
|
|
989
|
+
* If provided, limit redaction to a single workspace. Defaults to tenant scope.
|
|
990
|
+
*/
|
|
991
|
+
workspaceId?: string;
|
|
992
|
+
};
|
|
993
|
+
type ComplianceCustomerId = {
|
|
994
|
+
/**
|
|
995
|
+
* Customer email (case-insensitive match).
|
|
996
|
+
*/
|
|
997
|
+
email?: string;
|
|
998
|
+
/**
|
|
999
|
+
* Customer phone in E.164 format.
|
|
1000
|
+
*/
|
|
1001
|
+
phone?: string;
|
|
1002
|
+
/**
|
|
1003
|
+
* Platform-specific customer identifier (e.g. Shopify customer.id).
|
|
1004
|
+
*/
|
|
1005
|
+
customerId?: string;
|
|
1006
|
+
};
|
|
1007
|
+
type ComplianceCaller = {
|
|
1008
|
+
/**
|
|
1009
|
+
* Which integration fired the request.
|
|
1010
|
+
*/
|
|
1011
|
+
source: 'shopify' | 'wordpress' | 'dashboard' | 'sdk';
|
|
1012
|
+
/**
|
|
1013
|
+
* Merchant shop domain (Shopify webhooks only).
|
|
1014
|
+
*/
|
|
1015
|
+
shopDomain?: string;
|
|
1016
|
+
/**
|
|
1017
|
+
* Upstream request id used to make this call idempotent on retry.
|
|
1018
|
+
*/
|
|
1019
|
+
externalId?: string;
|
|
1020
|
+
};
|
|
1021
|
+
type CustomerDataRequest = {
|
|
1022
|
+
customer: ComplianceCustomerId;
|
|
1023
|
+
caller: ComplianceCaller;
|
|
1024
|
+
workspaceId?: string;
|
|
1025
|
+
};
|
|
912
1026
|
type ChatData = {
|
|
913
1027
|
body?: ChatRequest;
|
|
914
1028
|
path?: never;
|
|
@@ -932,6 +1046,14 @@ type ChatErrors = {
|
|
|
932
1046
|
* Not found
|
|
933
1047
|
*/
|
|
934
1048
|
404: ErrorResponse;
|
|
1049
|
+
/**
|
|
1050
|
+
* Conflict
|
|
1051
|
+
*/
|
|
1052
|
+
409: ErrorResponse;
|
|
1053
|
+
/**
|
|
1054
|
+
* Payload too large
|
|
1055
|
+
*/
|
|
1056
|
+
413: ErrorResponse;
|
|
935
1057
|
/**
|
|
936
1058
|
* Rate limit exceeded
|
|
937
1059
|
*/
|
|
@@ -968,6 +1090,14 @@ type StartCrawlErrors = {
|
|
|
968
1090
|
* Not found
|
|
969
1091
|
*/
|
|
970
1092
|
404: ErrorResponse;
|
|
1093
|
+
/**
|
|
1094
|
+
* Conflict
|
|
1095
|
+
*/
|
|
1096
|
+
409: ErrorResponse;
|
|
1097
|
+
/**
|
|
1098
|
+
* Payload too large
|
|
1099
|
+
*/
|
|
1100
|
+
413: ErrorResponse;
|
|
971
1101
|
/**
|
|
972
1102
|
* Rate limit exceeded
|
|
973
1103
|
*/
|
|
@@ -1009,6 +1139,14 @@ type ScrapeSinglePageErrors = {
|
|
|
1009
1139
|
* Not found
|
|
1010
1140
|
*/
|
|
1011
1141
|
404: ErrorResponse;
|
|
1142
|
+
/**
|
|
1143
|
+
* Conflict
|
|
1144
|
+
*/
|
|
1145
|
+
409: ErrorResponse;
|
|
1146
|
+
/**
|
|
1147
|
+
* Payload too large
|
|
1148
|
+
*/
|
|
1149
|
+
413: ErrorResponse;
|
|
1012
1150
|
/**
|
|
1013
1151
|
* Rate limit exceeded
|
|
1014
1152
|
*/
|
|
@@ -1050,6 +1188,14 @@ type GetCrawlConfigErrors = {
|
|
|
1050
1188
|
* Not found
|
|
1051
1189
|
*/
|
|
1052
1190
|
404: ErrorResponse;
|
|
1191
|
+
/**
|
|
1192
|
+
* Conflict
|
|
1193
|
+
*/
|
|
1194
|
+
409: ErrorResponse;
|
|
1195
|
+
/**
|
|
1196
|
+
* Payload too large
|
|
1197
|
+
*/
|
|
1198
|
+
413: ErrorResponse;
|
|
1053
1199
|
/**
|
|
1054
1200
|
* Rate limit exceeded
|
|
1055
1201
|
*/
|
|
@@ -1090,6 +1236,14 @@ type UpdateCrawlConfigErrors = {
|
|
|
1090
1236
|
* Not found
|
|
1091
1237
|
*/
|
|
1092
1238
|
404: ErrorResponse;
|
|
1239
|
+
/**
|
|
1240
|
+
* Conflict
|
|
1241
|
+
*/
|
|
1242
|
+
409: ErrorResponse;
|
|
1243
|
+
/**
|
|
1244
|
+
* Payload too large
|
|
1245
|
+
*/
|
|
1246
|
+
413: ErrorResponse;
|
|
1093
1247
|
/**
|
|
1094
1248
|
* Rate limit exceeded
|
|
1095
1249
|
*/
|
|
@@ -1130,6 +1284,14 @@ type GetCrawlHistoryErrors = {
|
|
|
1130
1284
|
* Not found
|
|
1131
1285
|
*/
|
|
1132
1286
|
404: ErrorResponse;
|
|
1287
|
+
/**
|
|
1288
|
+
* Conflict
|
|
1289
|
+
*/
|
|
1290
|
+
409: ErrorResponse;
|
|
1291
|
+
/**
|
|
1292
|
+
* Payload too large
|
|
1293
|
+
*/
|
|
1294
|
+
413: ErrorResponse;
|
|
1133
1295
|
/**
|
|
1134
1296
|
* Rate limit exceeded
|
|
1135
1297
|
*/
|
|
@@ -1174,6 +1336,14 @@ type GetCrawlStatusErrors = {
|
|
|
1174
1336
|
* Not found
|
|
1175
1337
|
*/
|
|
1176
1338
|
404: ErrorResponse;
|
|
1339
|
+
/**
|
|
1340
|
+
* Conflict
|
|
1341
|
+
*/
|
|
1342
|
+
409: ErrorResponse;
|
|
1343
|
+
/**
|
|
1344
|
+
* Payload too large
|
|
1345
|
+
*/
|
|
1346
|
+
413: ErrorResponse;
|
|
1177
1347
|
/**
|
|
1178
1348
|
* Rate limit exceeded
|
|
1179
1349
|
*/
|
|
@@ -1214,6 +1384,14 @@ type CancelCrawlErrors = {
|
|
|
1214
1384
|
* Not found
|
|
1215
1385
|
*/
|
|
1216
1386
|
404: ErrorResponse;
|
|
1387
|
+
/**
|
|
1388
|
+
* Conflict
|
|
1389
|
+
*/
|
|
1390
|
+
409: ErrorResponse;
|
|
1391
|
+
/**
|
|
1392
|
+
* Payload too large
|
|
1393
|
+
*/
|
|
1394
|
+
413: ErrorResponse;
|
|
1217
1395
|
/**
|
|
1218
1396
|
* Rate limit exceeded
|
|
1219
1397
|
*/
|
|
@@ -1231,6 +1409,56 @@ type CancelCrawlResponses = {
|
|
|
1231
1409
|
};
|
|
1232
1410
|
};
|
|
1233
1411
|
type CancelCrawlResponse = CancelCrawlResponses[keyof CancelCrawlResponses];
|
|
1412
|
+
type EnrollCrawlNotificationData = {
|
|
1413
|
+
body?: EnrollCrawlNotificationRequest;
|
|
1414
|
+
path: {
|
|
1415
|
+
id: string;
|
|
1416
|
+
};
|
|
1417
|
+
query?: never;
|
|
1418
|
+
url: '/crawl/{id}/notifications';
|
|
1419
|
+
};
|
|
1420
|
+
type EnrollCrawlNotificationErrors = {
|
|
1421
|
+
/**
|
|
1422
|
+
* Validation error
|
|
1423
|
+
*/
|
|
1424
|
+
400: ErrorResponse;
|
|
1425
|
+
/**
|
|
1426
|
+
* Unauthorized
|
|
1427
|
+
*/
|
|
1428
|
+
401: ErrorResponse;
|
|
1429
|
+
/**
|
|
1430
|
+
* Forbidden
|
|
1431
|
+
*/
|
|
1432
|
+
403: ErrorResponse;
|
|
1433
|
+
/**
|
|
1434
|
+
* Not found
|
|
1435
|
+
*/
|
|
1436
|
+
404: ErrorResponse;
|
|
1437
|
+
/**
|
|
1438
|
+
* Conflict
|
|
1439
|
+
*/
|
|
1440
|
+
409: ErrorResponse;
|
|
1441
|
+
/**
|
|
1442
|
+
* Payload too large
|
|
1443
|
+
*/
|
|
1444
|
+
413: ErrorResponse;
|
|
1445
|
+
/**
|
|
1446
|
+
* Rate limit exceeded
|
|
1447
|
+
*/
|
|
1448
|
+
429: ErrorResponse;
|
|
1449
|
+
};
|
|
1450
|
+
type EnrollCrawlNotificationError = EnrollCrawlNotificationErrors[keyof EnrollCrawlNotificationErrors];
|
|
1451
|
+
type EnrollCrawlNotificationResponses = {
|
|
1452
|
+
/**
|
|
1453
|
+
* Enrolled
|
|
1454
|
+
*/
|
|
1455
|
+
200: {
|
|
1456
|
+
data: {
|
|
1457
|
+
enrolled: true;
|
|
1458
|
+
};
|
|
1459
|
+
};
|
|
1460
|
+
};
|
|
1461
|
+
type EnrollCrawlNotificationResponse = EnrollCrawlNotificationResponses[keyof EnrollCrawlNotificationResponses];
|
|
1234
1462
|
type ScrapePageData = {
|
|
1235
1463
|
body?: ScrapeRequest;
|
|
1236
1464
|
path?: never;
|
|
@@ -1254,6 +1482,14 @@ type ScrapePageErrors = {
|
|
|
1254
1482
|
* Not found
|
|
1255
1483
|
*/
|
|
1256
1484
|
404: ErrorResponse;
|
|
1485
|
+
/**
|
|
1486
|
+
* Conflict
|
|
1487
|
+
*/
|
|
1488
|
+
409: ErrorResponse;
|
|
1489
|
+
/**
|
|
1490
|
+
* Payload too large
|
|
1491
|
+
*/
|
|
1492
|
+
413: ErrorResponse;
|
|
1257
1493
|
/**
|
|
1258
1494
|
* Rate limit exceeded
|
|
1259
1495
|
*/
|
|
@@ -1297,6 +1533,14 @@ type ListProductsErrors = {
|
|
|
1297
1533
|
* Not found
|
|
1298
1534
|
*/
|
|
1299
1535
|
404: ErrorResponse;
|
|
1536
|
+
/**
|
|
1537
|
+
* Conflict
|
|
1538
|
+
*/
|
|
1539
|
+
409: ErrorResponse;
|
|
1540
|
+
/**
|
|
1541
|
+
* Payload too large
|
|
1542
|
+
*/
|
|
1543
|
+
413: ErrorResponse;
|
|
1300
1544
|
/**
|
|
1301
1545
|
* Rate limit exceeded
|
|
1302
1546
|
*/
|
|
@@ -1340,6 +1584,14 @@ type UpsertProductErrors = {
|
|
|
1340
1584
|
* Not found
|
|
1341
1585
|
*/
|
|
1342
1586
|
404: ErrorResponse;
|
|
1587
|
+
/**
|
|
1588
|
+
* Conflict
|
|
1589
|
+
*/
|
|
1590
|
+
409: ErrorResponse;
|
|
1591
|
+
/**
|
|
1592
|
+
* Payload too large
|
|
1593
|
+
*/
|
|
1594
|
+
413: ErrorResponse;
|
|
1343
1595
|
/**
|
|
1344
1596
|
* Rate limit exceeded
|
|
1345
1597
|
*/
|
|
@@ -1385,6 +1637,14 @@ type BulkDeleteProductsErrors = {
|
|
|
1385
1637
|
* Not found
|
|
1386
1638
|
*/
|
|
1387
1639
|
404: ErrorResponse;
|
|
1640
|
+
/**
|
|
1641
|
+
* Conflict
|
|
1642
|
+
*/
|
|
1643
|
+
409: ErrorResponse;
|
|
1644
|
+
/**
|
|
1645
|
+
* Payload too large
|
|
1646
|
+
*/
|
|
1647
|
+
413: ErrorResponse;
|
|
1388
1648
|
/**
|
|
1389
1649
|
* Rate limit exceeded
|
|
1390
1650
|
*/
|
|
@@ -1424,6 +1684,14 @@ type BulkUpsertProductsErrors = {
|
|
|
1424
1684
|
* Not found
|
|
1425
1685
|
*/
|
|
1426
1686
|
404: ErrorResponse;
|
|
1687
|
+
/**
|
|
1688
|
+
* Conflict
|
|
1689
|
+
*/
|
|
1690
|
+
409: ErrorResponse;
|
|
1691
|
+
/**
|
|
1692
|
+
* Payload too large
|
|
1693
|
+
*/
|
|
1694
|
+
413: ErrorResponse;
|
|
1427
1695
|
/**
|
|
1428
1696
|
* Rate limit exceeded
|
|
1429
1697
|
*/
|
|
@@ -1473,6 +1741,14 @@ type SearchProductsErrors = {
|
|
|
1473
1741
|
* Not found
|
|
1474
1742
|
*/
|
|
1475
1743
|
404: ErrorResponse;
|
|
1744
|
+
/**
|
|
1745
|
+
* Conflict
|
|
1746
|
+
*/
|
|
1747
|
+
409: ErrorResponse;
|
|
1748
|
+
/**
|
|
1749
|
+
* Payload too large
|
|
1750
|
+
*/
|
|
1751
|
+
413: ErrorResponse;
|
|
1476
1752
|
/**
|
|
1477
1753
|
* Rate limit exceeded
|
|
1478
1754
|
*/
|
|
@@ -1491,6 +1767,8 @@ type SearchProductsResponses = {
|
|
|
1491
1767
|
pagination: Pagination;
|
|
1492
1768
|
query?: {
|
|
1493
1769
|
text: string;
|
|
1770
|
+
truncated?: boolean;
|
|
1771
|
+
originalLength?: number;
|
|
1494
1772
|
filters?: {
|
|
1495
1773
|
[key: string]: unknown;
|
|
1496
1774
|
};
|
|
@@ -1538,6 +1816,14 @@ type DeleteProductsByQueryErrors = {
|
|
|
1538
1816
|
* Not found
|
|
1539
1817
|
*/
|
|
1540
1818
|
404: ErrorResponse;
|
|
1819
|
+
/**
|
|
1820
|
+
* Conflict
|
|
1821
|
+
*/
|
|
1822
|
+
409: ErrorResponse;
|
|
1823
|
+
/**
|
|
1824
|
+
* Payload too large
|
|
1825
|
+
*/
|
|
1826
|
+
413: ErrorResponse;
|
|
1541
1827
|
/**
|
|
1542
1828
|
* Rate limit exceeded
|
|
1543
1829
|
*/
|
|
@@ -1581,6 +1867,14 @@ type ListProductIdsErrors = {
|
|
|
1581
1867
|
* Not found
|
|
1582
1868
|
*/
|
|
1583
1869
|
404: ErrorResponse;
|
|
1870
|
+
/**
|
|
1871
|
+
* Conflict
|
|
1872
|
+
*/
|
|
1873
|
+
409: ErrorResponse;
|
|
1874
|
+
/**
|
|
1875
|
+
* Payload too large
|
|
1876
|
+
*/
|
|
1877
|
+
413: ErrorResponse;
|
|
1584
1878
|
/**
|
|
1585
1879
|
* Rate limit exceeded
|
|
1586
1880
|
*/
|
|
@@ -1626,6 +1920,14 @@ type DeleteProductErrors = {
|
|
|
1626
1920
|
* Not found
|
|
1627
1921
|
*/
|
|
1628
1922
|
404: ErrorResponse;
|
|
1923
|
+
/**
|
|
1924
|
+
* Conflict
|
|
1925
|
+
*/
|
|
1926
|
+
409: ErrorResponse;
|
|
1927
|
+
/**
|
|
1928
|
+
* Payload too large
|
|
1929
|
+
*/
|
|
1930
|
+
413: ErrorResponse;
|
|
1629
1931
|
/**
|
|
1630
1932
|
* Rate limit exceeded
|
|
1631
1933
|
*/
|
|
@@ -1664,6 +1966,14 @@ type GetProductErrors = {
|
|
|
1664
1966
|
* Not found
|
|
1665
1967
|
*/
|
|
1666
1968
|
404: ErrorResponse;
|
|
1969
|
+
/**
|
|
1970
|
+
* Conflict
|
|
1971
|
+
*/
|
|
1972
|
+
409: ErrorResponse;
|
|
1973
|
+
/**
|
|
1974
|
+
* Payload too large
|
|
1975
|
+
*/
|
|
1976
|
+
413: ErrorResponse;
|
|
1667
1977
|
/**
|
|
1668
1978
|
* Rate limit exceeded
|
|
1669
1979
|
*/
|
|
@@ -1708,6 +2018,14 @@ type PatchProductErrors = {
|
|
|
1708
2018
|
* Not found
|
|
1709
2019
|
*/
|
|
1710
2020
|
404: ErrorResponse;
|
|
2021
|
+
/**
|
|
2022
|
+
* Conflict
|
|
2023
|
+
*/
|
|
2024
|
+
409: ErrorResponse;
|
|
2025
|
+
/**
|
|
2026
|
+
* Payload too large
|
|
2027
|
+
*/
|
|
2028
|
+
413: ErrorResponse;
|
|
1711
2029
|
/**
|
|
1712
2030
|
* Rate limit exceeded
|
|
1713
2031
|
*/
|
|
@@ -1748,6 +2066,14 @@ type UpsertPostErrors = {
|
|
|
1748
2066
|
* Not found
|
|
1749
2067
|
*/
|
|
1750
2068
|
404: ErrorResponse;
|
|
2069
|
+
/**
|
|
2070
|
+
* Conflict
|
|
2071
|
+
*/
|
|
2072
|
+
409: ErrorResponse;
|
|
2073
|
+
/**
|
|
2074
|
+
* Payload too large
|
|
2075
|
+
*/
|
|
2076
|
+
413: ErrorResponse;
|
|
1751
2077
|
/**
|
|
1752
2078
|
* Rate limit exceeded
|
|
1753
2079
|
*/
|
|
@@ -1793,6 +2119,14 @@ type BulkDeletePostsErrors = {
|
|
|
1793
2119
|
* Not found
|
|
1794
2120
|
*/
|
|
1795
2121
|
404: ErrorResponse;
|
|
2122
|
+
/**
|
|
2123
|
+
* Conflict
|
|
2124
|
+
*/
|
|
2125
|
+
409: ErrorResponse;
|
|
2126
|
+
/**
|
|
2127
|
+
* Payload too large
|
|
2128
|
+
*/
|
|
2129
|
+
413: ErrorResponse;
|
|
1796
2130
|
/**
|
|
1797
2131
|
* Rate limit exceeded
|
|
1798
2132
|
*/
|
|
@@ -1832,6 +2166,14 @@ type BulkUpsertPostsErrors = {
|
|
|
1832
2166
|
* Not found
|
|
1833
2167
|
*/
|
|
1834
2168
|
404: ErrorResponse;
|
|
2169
|
+
/**
|
|
2170
|
+
* Conflict
|
|
2171
|
+
*/
|
|
2172
|
+
409: ErrorResponse;
|
|
2173
|
+
/**
|
|
2174
|
+
* Payload too large
|
|
2175
|
+
*/
|
|
2176
|
+
413: ErrorResponse;
|
|
1835
2177
|
/**
|
|
1836
2178
|
* Rate limit exceeded
|
|
1837
2179
|
*/
|
|
@@ -1881,6 +2223,14 @@ type SearchPostsErrors = {
|
|
|
1881
2223
|
* Not found
|
|
1882
2224
|
*/
|
|
1883
2225
|
404: ErrorResponse;
|
|
2226
|
+
/**
|
|
2227
|
+
* Conflict
|
|
2228
|
+
*/
|
|
2229
|
+
409: ErrorResponse;
|
|
2230
|
+
/**
|
|
2231
|
+
* Payload too large
|
|
2232
|
+
*/
|
|
2233
|
+
413: ErrorResponse;
|
|
1884
2234
|
/**
|
|
1885
2235
|
* Rate limit exceeded
|
|
1886
2236
|
*/
|
|
@@ -1899,6 +2249,8 @@ type SearchPostsResponses = {
|
|
|
1899
2249
|
pagination: Pagination;
|
|
1900
2250
|
query: {
|
|
1901
2251
|
text: string;
|
|
2252
|
+
truncated?: boolean;
|
|
2253
|
+
originalLength?: number;
|
|
1902
2254
|
filters?: {
|
|
1903
2255
|
[key: string]: unknown;
|
|
1904
2256
|
};
|
|
@@ -1943,6 +2295,14 @@ type DeletePostsByQueryErrors = {
|
|
|
1943
2295
|
* Not found
|
|
1944
2296
|
*/
|
|
1945
2297
|
404: ErrorResponse;
|
|
2298
|
+
/**
|
|
2299
|
+
* Conflict
|
|
2300
|
+
*/
|
|
2301
|
+
409: ErrorResponse;
|
|
2302
|
+
/**
|
|
2303
|
+
* Payload too large
|
|
2304
|
+
*/
|
|
2305
|
+
413: ErrorResponse;
|
|
1946
2306
|
/**
|
|
1947
2307
|
* Rate limit exceeded
|
|
1948
2308
|
*/
|
|
@@ -1986,6 +2346,14 @@ type ListPostIdsErrors = {
|
|
|
1986
2346
|
* Not found
|
|
1987
2347
|
*/
|
|
1988
2348
|
404: ErrorResponse;
|
|
2349
|
+
/**
|
|
2350
|
+
* Conflict
|
|
2351
|
+
*/
|
|
2352
|
+
409: ErrorResponse;
|
|
2353
|
+
/**
|
|
2354
|
+
* Payload too large
|
|
2355
|
+
*/
|
|
2356
|
+
413: ErrorResponse;
|
|
1989
2357
|
/**
|
|
1990
2358
|
* Rate limit exceeded
|
|
1991
2359
|
*/
|
|
@@ -2031,6 +2399,14 @@ type DeletePostErrors = {
|
|
|
2031
2399
|
* Not found
|
|
2032
2400
|
*/
|
|
2033
2401
|
404: ErrorResponse;
|
|
2402
|
+
/**
|
|
2403
|
+
* Conflict
|
|
2404
|
+
*/
|
|
2405
|
+
409: ErrorResponse;
|
|
2406
|
+
/**
|
|
2407
|
+
* Payload too large
|
|
2408
|
+
*/
|
|
2409
|
+
413: ErrorResponse;
|
|
2034
2410
|
/**
|
|
2035
2411
|
* Rate limit exceeded
|
|
2036
2412
|
*/
|
|
@@ -2069,6 +2445,14 @@ type GetPostErrors = {
|
|
|
2069
2445
|
* Not found
|
|
2070
2446
|
*/
|
|
2071
2447
|
404: ErrorResponse;
|
|
2448
|
+
/**
|
|
2449
|
+
* Conflict
|
|
2450
|
+
*/
|
|
2451
|
+
409: ErrorResponse;
|
|
2452
|
+
/**
|
|
2453
|
+
* Payload too large
|
|
2454
|
+
*/
|
|
2455
|
+
413: ErrorResponse;
|
|
2072
2456
|
/**
|
|
2073
2457
|
* Rate limit exceeded
|
|
2074
2458
|
*/
|
|
@@ -2113,6 +2497,14 @@ type PatchPostErrors = {
|
|
|
2113
2497
|
* Not found
|
|
2114
2498
|
*/
|
|
2115
2499
|
404: ErrorResponse;
|
|
2500
|
+
/**
|
|
2501
|
+
* Conflict
|
|
2502
|
+
*/
|
|
2503
|
+
409: ErrorResponse;
|
|
2504
|
+
/**
|
|
2505
|
+
* Payload too large
|
|
2506
|
+
*/
|
|
2507
|
+
413: ErrorResponse;
|
|
2116
2508
|
/**
|
|
2117
2509
|
* Rate limit exceeded
|
|
2118
2510
|
*/
|
|
@@ -2153,6 +2545,14 @@ type SearchThreadsErrors = {
|
|
|
2153
2545
|
* Not found
|
|
2154
2546
|
*/
|
|
2155
2547
|
404: ErrorResponse;
|
|
2548
|
+
/**
|
|
2549
|
+
* Conflict
|
|
2550
|
+
*/
|
|
2551
|
+
409: ErrorResponse;
|
|
2552
|
+
/**
|
|
2553
|
+
* Payload too large
|
|
2554
|
+
*/
|
|
2555
|
+
413: ErrorResponse;
|
|
2156
2556
|
/**
|
|
2157
2557
|
* Rate limit exceeded
|
|
2158
2558
|
*/
|
|
@@ -2164,7 +2564,15 @@ type SearchThreadsResponses = {
|
|
|
2164
2564
|
* Thread search results
|
|
2165
2565
|
*/
|
|
2166
2566
|
200: {
|
|
2167
|
-
|
|
2567
|
+
object: 'search_result';
|
|
2568
|
+
requestId: string;
|
|
2569
|
+
data: {
|
|
2570
|
+
items: Array<{
|
|
2571
|
+
[key: string]: unknown;
|
|
2572
|
+
}>;
|
|
2573
|
+
pagination: Pagination;
|
|
2574
|
+
[key: string]: unknown;
|
|
2575
|
+
};
|
|
2168
2576
|
};
|
|
2169
2577
|
};
|
|
2170
2578
|
type SearchThreadsResponse = SearchThreadsResponses[keyof SearchThreadsResponses];
|
|
@@ -2191,6 +2599,14 @@ type ExportThreadsErrors = {
|
|
|
2191
2599
|
* Not found
|
|
2192
2600
|
*/
|
|
2193
2601
|
404: ErrorResponse;
|
|
2602
|
+
/**
|
|
2603
|
+
* Conflict
|
|
2604
|
+
*/
|
|
2605
|
+
409: ErrorResponse;
|
|
2606
|
+
/**
|
|
2607
|
+
* Payload too large
|
|
2608
|
+
*/
|
|
2609
|
+
413: ErrorResponse;
|
|
2194
2610
|
/**
|
|
2195
2611
|
* Rate limit exceeded
|
|
2196
2612
|
*/
|
|
@@ -2202,7 +2618,11 @@ type ExportThreadsResponses = {
|
|
|
2202
2618
|
* Exported thread data
|
|
2203
2619
|
*/
|
|
2204
2620
|
200: {
|
|
2205
|
-
|
|
2621
|
+
object: 'event';
|
|
2622
|
+
requestId: string;
|
|
2623
|
+
data: {
|
|
2624
|
+
[key: string]: unknown;
|
|
2625
|
+
};
|
|
2206
2626
|
};
|
|
2207
2627
|
};
|
|
2208
2628
|
type ExportThreadsResponse = ExportThreadsResponses[keyof ExportThreadsResponses];
|
|
@@ -2229,6 +2649,14 @@ type GetThreadAnalyticsErrors = {
|
|
|
2229
2649
|
* Not found
|
|
2230
2650
|
*/
|
|
2231
2651
|
404: ErrorResponse;
|
|
2652
|
+
/**
|
|
2653
|
+
* Conflict
|
|
2654
|
+
*/
|
|
2655
|
+
409: ErrorResponse;
|
|
2656
|
+
/**
|
|
2657
|
+
* Payload too large
|
|
2658
|
+
*/
|
|
2659
|
+
413: ErrorResponse;
|
|
2232
2660
|
/**
|
|
2233
2661
|
* Rate limit exceeded
|
|
2234
2662
|
*/
|
|
@@ -2240,7 +2668,11 @@ type GetThreadAnalyticsResponses = {
|
|
|
2240
2668
|
* Thread analytics data
|
|
2241
2669
|
*/
|
|
2242
2670
|
200: {
|
|
2243
|
-
|
|
2671
|
+
object: 'event';
|
|
2672
|
+
requestId: string;
|
|
2673
|
+
data: {
|
|
2674
|
+
[key: string]: unknown;
|
|
2675
|
+
};
|
|
2244
2676
|
};
|
|
2245
2677
|
};
|
|
2246
2678
|
type GetThreadAnalyticsResponse = GetThreadAnalyticsResponses[keyof GetThreadAnalyticsResponses];
|
|
@@ -2269,6 +2701,14 @@ type GetThreadMessagesErrors = {
|
|
|
2269
2701
|
* Not found
|
|
2270
2702
|
*/
|
|
2271
2703
|
404: ErrorResponse;
|
|
2704
|
+
/**
|
|
2705
|
+
* Conflict
|
|
2706
|
+
*/
|
|
2707
|
+
409: ErrorResponse;
|
|
2708
|
+
/**
|
|
2709
|
+
* Payload too large
|
|
2710
|
+
*/
|
|
2711
|
+
413: ErrorResponse;
|
|
2272
2712
|
/**
|
|
2273
2713
|
* Rate limit exceeded
|
|
2274
2714
|
*/
|
|
@@ -2280,6 +2720,8 @@ type GetThreadMessagesResponses = {
|
|
|
2280
2720
|
* Thread messages
|
|
2281
2721
|
*/
|
|
2282
2722
|
200: {
|
|
2723
|
+
object: 'thread';
|
|
2724
|
+
requestId: string;
|
|
2283
2725
|
data: {
|
|
2284
2726
|
threadId: string;
|
|
2285
2727
|
messages: Array<{
|
|
@@ -2320,6 +2762,14 @@ type EndHandoffErrors = {
|
|
|
2320
2762
|
* Not found
|
|
2321
2763
|
*/
|
|
2322
2764
|
404: ErrorResponse;
|
|
2765
|
+
/**
|
|
2766
|
+
* Conflict
|
|
2767
|
+
*/
|
|
2768
|
+
409: ErrorResponse;
|
|
2769
|
+
/**
|
|
2770
|
+
* Payload too large
|
|
2771
|
+
*/
|
|
2772
|
+
413: ErrorResponse;
|
|
2323
2773
|
/**
|
|
2324
2774
|
* Rate limit exceeded
|
|
2325
2775
|
*/
|
|
@@ -2331,7 +2781,11 @@ type EndHandoffResponses = {
|
|
|
2331
2781
|
* Handoff ended
|
|
2332
2782
|
*/
|
|
2333
2783
|
200: {
|
|
2334
|
-
|
|
2784
|
+
object: 'event';
|
|
2785
|
+
requestId: string;
|
|
2786
|
+
data: {
|
|
2787
|
+
[key: string]: unknown;
|
|
2788
|
+
};
|
|
2335
2789
|
};
|
|
2336
2790
|
};
|
|
2337
2791
|
type EndHandoffResponse = EndHandoffResponses[keyof EndHandoffResponses];
|
|
@@ -2361,9 +2815,17 @@ type DeleteThreadErrors = {
|
|
|
2361
2815
|
*/
|
|
2362
2816
|
404: ErrorResponse;
|
|
2363
2817
|
/**
|
|
2364
|
-
*
|
|
2818
|
+
* Conflict
|
|
2365
2819
|
*/
|
|
2366
|
-
|
|
2820
|
+
409: ErrorResponse;
|
|
2821
|
+
/**
|
|
2822
|
+
* Payload too large
|
|
2823
|
+
*/
|
|
2824
|
+
413: ErrorResponse;
|
|
2825
|
+
/**
|
|
2826
|
+
* Rate limit exceeded
|
|
2827
|
+
*/
|
|
2828
|
+
429: ErrorResponse;
|
|
2367
2829
|
};
|
|
2368
2830
|
type DeleteThreadError = DeleteThreadErrors[keyof DeleteThreadErrors];
|
|
2369
2831
|
type DeleteThreadResponses = {
|
|
@@ -2400,6 +2862,14 @@ type GetThreadErrors = {
|
|
|
2400
2862
|
* Not found
|
|
2401
2863
|
*/
|
|
2402
2864
|
404: ErrorResponse;
|
|
2865
|
+
/**
|
|
2866
|
+
* Conflict
|
|
2867
|
+
*/
|
|
2868
|
+
409: ErrorResponse;
|
|
2869
|
+
/**
|
|
2870
|
+
* Payload too large
|
|
2871
|
+
*/
|
|
2872
|
+
413: ErrorResponse;
|
|
2403
2873
|
/**
|
|
2404
2874
|
* Rate limit exceeded
|
|
2405
2875
|
*/
|
|
@@ -2411,7 +2881,11 @@ type GetThreadResponses = {
|
|
|
2411
2881
|
* Thread detail
|
|
2412
2882
|
*/
|
|
2413
2883
|
200: {
|
|
2414
|
-
|
|
2884
|
+
object: 'thread';
|
|
2885
|
+
requestId: string;
|
|
2886
|
+
data: {
|
|
2887
|
+
[key: string]: unknown;
|
|
2888
|
+
};
|
|
2415
2889
|
};
|
|
2416
2890
|
};
|
|
2417
2891
|
type GetThreadResponse = GetThreadResponses[keyof GetThreadResponses];
|
|
@@ -2438,6 +2912,14 @@ type BulkDeleteThreadsErrors = {
|
|
|
2438
2912
|
* Not found
|
|
2439
2913
|
*/
|
|
2440
2914
|
404: ErrorResponse;
|
|
2915
|
+
/**
|
|
2916
|
+
* Conflict
|
|
2917
|
+
*/
|
|
2918
|
+
409: ErrorResponse;
|
|
2919
|
+
/**
|
|
2920
|
+
* Payload too large
|
|
2921
|
+
*/
|
|
2922
|
+
413: ErrorResponse;
|
|
2441
2923
|
/**
|
|
2442
2924
|
* Rate limit exceeded
|
|
2443
2925
|
*/
|
|
@@ -2474,6 +2956,14 @@ type ListFeedbackErrors = {
|
|
|
2474
2956
|
* Not found
|
|
2475
2957
|
*/
|
|
2476
2958
|
404: ErrorResponse;
|
|
2959
|
+
/**
|
|
2960
|
+
* Conflict
|
|
2961
|
+
*/
|
|
2962
|
+
409: ErrorResponse;
|
|
2963
|
+
/**
|
|
2964
|
+
* Payload too large
|
|
2965
|
+
*/
|
|
2966
|
+
413: ErrorResponse;
|
|
2477
2967
|
/**
|
|
2478
2968
|
* Rate limit exceeded
|
|
2479
2969
|
*/
|
|
@@ -2514,6 +3004,14 @@ type SubmitFeedbackErrors = {
|
|
|
2514
3004
|
* Not found
|
|
2515
3005
|
*/
|
|
2516
3006
|
404: ErrorResponse;
|
|
3007
|
+
/**
|
|
3008
|
+
* Conflict
|
|
3009
|
+
*/
|
|
3010
|
+
409: ErrorResponse;
|
|
3011
|
+
/**
|
|
3012
|
+
* Payload too large
|
|
3013
|
+
*/
|
|
3014
|
+
413: ErrorResponse;
|
|
2517
3015
|
/**
|
|
2518
3016
|
* Rate limit exceeded
|
|
2519
3017
|
*/
|
|
@@ -2554,6 +3052,14 @@ type GetFeedbackAnalyticsErrors = {
|
|
|
2554
3052
|
* Not found
|
|
2555
3053
|
*/
|
|
2556
3054
|
404: ErrorResponse;
|
|
3055
|
+
/**
|
|
3056
|
+
* Conflict
|
|
3057
|
+
*/
|
|
3058
|
+
409: ErrorResponse;
|
|
3059
|
+
/**
|
|
3060
|
+
* Payload too large
|
|
3061
|
+
*/
|
|
3062
|
+
413: ErrorResponse;
|
|
2557
3063
|
/**
|
|
2558
3064
|
* Rate limit exceeded
|
|
2559
3065
|
*/
|
|
@@ -2596,6 +3102,14 @@ type GetThreadFeedbackErrors = {
|
|
|
2596
3102
|
* Not found
|
|
2597
3103
|
*/
|
|
2598
3104
|
404: ErrorResponse;
|
|
3105
|
+
/**
|
|
3106
|
+
* Conflict
|
|
3107
|
+
*/
|
|
3108
|
+
409: ErrorResponse;
|
|
3109
|
+
/**
|
|
3110
|
+
* Payload too large
|
|
3111
|
+
*/
|
|
3112
|
+
413: ErrorResponse;
|
|
2599
3113
|
/**
|
|
2600
3114
|
* Rate limit exceeded
|
|
2601
3115
|
*/
|
|
@@ -2640,6 +3154,14 @@ type DeleteFeedbackErrors = {
|
|
|
2640
3154
|
* Not found
|
|
2641
3155
|
*/
|
|
2642
3156
|
404: ErrorResponse;
|
|
3157
|
+
/**
|
|
3158
|
+
* Conflict
|
|
3159
|
+
*/
|
|
3160
|
+
409: ErrorResponse;
|
|
3161
|
+
/**
|
|
3162
|
+
* Payload too large
|
|
3163
|
+
*/
|
|
3164
|
+
413: ErrorResponse;
|
|
2643
3165
|
/**
|
|
2644
3166
|
* Rate limit exceeded
|
|
2645
3167
|
*/
|
|
@@ -2680,6 +3202,14 @@ type ListPromptsErrors = {
|
|
|
2680
3202
|
* Not found
|
|
2681
3203
|
*/
|
|
2682
3204
|
404: ErrorResponse;
|
|
3205
|
+
/**
|
|
3206
|
+
* Conflict
|
|
3207
|
+
*/
|
|
3208
|
+
409: ErrorResponse;
|
|
3209
|
+
/**
|
|
3210
|
+
* Payload too large
|
|
3211
|
+
*/
|
|
3212
|
+
413: ErrorResponse;
|
|
2683
3213
|
/**
|
|
2684
3214
|
* Rate limit exceeded
|
|
2685
3215
|
*/
|
|
@@ -2723,6 +3253,14 @@ type UpsertPromptErrors = {
|
|
|
2723
3253
|
* Not found
|
|
2724
3254
|
*/
|
|
2725
3255
|
404: ErrorResponse;
|
|
3256
|
+
/**
|
|
3257
|
+
* Conflict
|
|
3258
|
+
*/
|
|
3259
|
+
409: ErrorResponse;
|
|
3260
|
+
/**
|
|
3261
|
+
* Payload too large
|
|
3262
|
+
*/
|
|
3263
|
+
413: ErrorResponse;
|
|
2726
3264
|
/**
|
|
2727
3265
|
* Rate limit exceeded
|
|
2728
3266
|
*/
|
|
@@ -2774,6 +3312,14 @@ type SearchPromptsErrors = {
|
|
|
2774
3312
|
* Not found
|
|
2775
3313
|
*/
|
|
2776
3314
|
404: ErrorResponse;
|
|
3315
|
+
/**
|
|
3316
|
+
* Conflict
|
|
3317
|
+
*/
|
|
3318
|
+
409: ErrorResponse;
|
|
3319
|
+
/**
|
|
3320
|
+
* Payload too large
|
|
3321
|
+
*/
|
|
3322
|
+
413: ErrorResponse;
|
|
2777
3323
|
/**
|
|
2778
3324
|
* Rate limit exceeded
|
|
2779
3325
|
*/
|
|
@@ -2828,6 +3374,14 @@ type BulkDeletePromptsErrors = {
|
|
|
2828
3374
|
* Not found
|
|
2829
3375
|
*/
|
|
2830
3376
|
404: ErrorResponse;
|
|
3377
|
+
/**
|
|
3378
|
+
* Conflict
|
|
3379
|
+
*/
|
|
3380
|
+
409: ErrorResponse;
|
|
3381
|
+
/**
|
|
3382
|
+
* Payload too large
|
|
3383
|
+
*/
|
|
3384
|
+
413: ErrorResponse;
|
|
2831
3385
|
/**
|
|
2832
3386
|
* Rate limit exceeded
|
|
2833
3387
|
*/
|
|
@@ -2867,6 +3421,14 @@ type BulkUpsertPromptsErrors = {
|
|
|
2867
3421
|
* Not found
|
|
2868
3422
|
*/
|
|
2869
3423
|
404: ErrorResponse;
|
|
3424
|
+
/**
|
|
3425
|
+
* Conflict
|
|
3426
|
+
*/
|
|
3427
|
+
409: ErrorResponse;
|
|
3428
|
+
/**
|
|
3429
|
+
* Payload too large
|
|
3430
|
+
*/
|
|
3431
|
+
413: ErrorResponse;
|
|
2870
3432
|
/**
|
|
2871
3433
|
* Rate limit exceeded
|
|
2872
3434
|
*/
|
|
@@ -2918,6 +3480,14 @@ type DeletePromptErrors = {
|
|
|
2918
3480
|
* Not found
|
|
2919
3481
|
*/
|
|
2920
3482
|
404: ErrorResponse;
|
|
3483
|
+
/**
|
|
3484
|
+
* Conflict
|
|
3485
|
+
*/
|
|
3486
|
+
409: ErrorResponse;
|
|
3487
|
+
/**
|
|
3488
|
+
* Payload too large
|
|
3489
|
+
*/
|
|
3490
|
+
413: ErrorResponse;
|
|
2921
3491
|
/**
|
|
2922
3492
|
* Rate limit exceeded
|
|
2923
3493
|
*/
|
|
@@ -2956,6 +3526,14 @@ type GetPromptErrors = {
|
|
|
2956
3526
|
* Not found
|
|
2957
3527
|
*/
|
|
2958
3528
|
404: ErrorResponse;
|
|
3529
|
+
/**
|
|
3530
|
+
* Conflict
|
|
3531
|
+
*/
|
|
3532
|
+
409: ErrorResponse;
|
|
3533
|
+
/**
|
|
3534
|
+
* Payload too large
|
|
3535
|
+
*/
|
|
3536
|
+
413: ErrorResponse;
|
|
2959
3537
|
/**
|
|
2960
3538
|
* Rate limit exceeded
|
|
2961
3539
|
*/
|
|
@@ -2996,6 +3574,14 @@ type BulkUpdateWebhookStatusErrors = {
|
|
|
2996
3574
|
* Not found
|
|
2997
3575
|
*/
|
|
2998
3576
|
404: ErrorResponse;
|
|
3577
|
+
/**
|
|
3578
|
+
* Conflict
|
|
3579
|
+
*/
|
|
3580
|
+
409: ErrorResponse;
|
|
3581
|
+
/**
|
|
3582
|
+
* Payload too large
|
|
3583
|
+
*/
|
|
3584
|
+
413: ErrorResponse;
|
|
2999
3585
|
/**
|
|
3000
3586
|
* Rate limit exceeded
|
|
3001
3587
|
*/
|
|
@@ -3019,7 +3605,19 @@ type BulkUpdateWebhookStatusResponse = BulkUpdateWebhookStatusResponses[keyof Bu
|
|
|
3019
3605
|
type ListWebhooksData = {
|
|
3020
3606
|
body?: never;
|
|
3021
3607
|
path?: never;
|
|
3022
|
-
query?:
|
|
3608
|
+
query?: {
|
|
3609
|
+
page?: number;
|
|
3610
|
+
limit?: number;
|
|
3611
|
+
status?: 'active' | 'inactive' | 'suspended';
|
|
3612
|
+
events?: string;
|
|
3613
|
+
createdBy?: string;
|
|
3614
|
+
nameContains?: string;
|
|
3615
|
+
urlContains?: string;
|
|
3616
|
+
createdAfter?: string;
|
|
3617
|
+
createdBefore?: string;
|
|
3618
|
+
sortBy?: 'name' | 'createdAt' | 'updatedAt' | 'lastDeliveryAt';
|
|
3619
|
+
sortOrder?: 'asc' | 'desc';
|
|
3620
|
+
};
|
|
3023
3621
|
url: '/webhooks';
|
|
3024
3622
|
};
|
|
3025
3623
|
type ListWebhooksErrors = {
|
|
@@ -3039,6 +3637,14 @@ type ListWebhooksErrors = {
|
|
|
3039
3637
|
* Not found
|
|
3040
3638
|
*/
|
|
3041
3639
|
404: ErrorResponse;
|
|
3640
|
+
/**
|
|
3641
|
+
* Conflict
|
|
3642
|
+
*/
|
|
3643
|
+
409: ErrorResponse;
|
|
3644
|
+
/**
|
|
3645
|
+
* Payload too large
|
|
3646
|
+
*/
|
|
3647
|
+
413: ErrorResponse;
|
|
3042
3648
|
/**
|
|
3043
3649
|
* Rate limit exceeded
|
|
3044
3650
|
*/
|
|
@@ -3084,6 +3690,14 @@ type CreateWebhookErrors = {
|
|
|
3084
3690
|
* Not found
|
|
3085
3691
|
*/
|
|
3086
3692
|
404: ErrorResponse;
|
|
3693
|
+
/**
|
|
3694
|
+
* Conflict
|
|
3695
|
+
*/
|
|
3696
|
+
409: ErrorResponse;
|
|
3697
|
+
/**
|
|
3698
|
+
* Payload too large
|
|
3699
|
+
*/
|
|
3700
|
+
413: ErrorResponse;
|
|
3087
3701
|
/**
|
|
3088
3702
|
* Rate limit exceeded
|
|
3089
3703
|
*/
|
|
@@ -3129,6 +3743,14 @@ type TestWebhookErrors = {
|
|
|
3129
3743
|
* Not found
|
|
3130
3744
|
*/
|
|
3131
3745
|
404: ErrorResponse;
|
|
3746
|
+
/**
|
|
3747
|
+
* Conflict
|
|
3748
|
+
*/
|
|
3749
|
+
409: ErrorResponse;
|
|
3750
|
+
/**
|
|
3751
|
+
* Payload too large
|
|
3752
|
+
*/
|
|
3753
|
+
413: ErrorResponse;
|
|
3132
3754
|
/**
|
|
3133
3755
|
* Rate limit exceeded
|
|
3134
3756
|
*/
|
|
@@ -3174,6 +3796,14 @@ type GetWebhookStatsErrors = {
|
|
|
3174
3796
|
* Not found
|
|
3175
3797
|
*/
|
|
3176
3798
|
404: ErrorResponse;
|
|
3799
|
+
/**
|
|
3800
|
+
* Conflict
|
|
3801
|
+
*/
|
|
3802
|
+
409: ErrorResponse;
|
|
3803
|
+
/**
|
|
3804
|
+
* Payload too large
|
|
3805
|
+
*/
|
|
3806
|
+
413: ErrorResponse;
|
|
3177
3807
|
/**
|
|
3178
3808
|
* Rate limit exceeded
|
|
3179
3809
|
*/
|
|
@@ -3216,6 +3846,14 @@ type DeleteWebhookErrors = {
|
|
|
3216
3846
|
* Not found
|
|
3217
3847
|
*/
|
|
3218
3848
|
404: ErrorResponse;
|
|
3849
|
+
/**
|
|
3850
|
+
* Conflict
|
|
3851
|
+
*/
|
|
3852
|
+
409: ErrorResponse;
|
|
3853
|
+
/**
|
|
3854
|
+
* Payload too large
|
|
3855
|
+
*/
|
|
3856
|
+
413: ErrorResponse;
|
|
3219
3857
|
/**
|
|
3220
3858
|
* Rate limit exceeded
|
|
3221
3859
|
*/
|
|
@@ -3254,6 +3892,14 @@ type GetWebhookErrors = {
|
|
|
3254
3892
|
* Not found
|
|
3255
3893
|
*/
|
|
3256
3894
|
404: ErrorResponse;
|
|
3895
|
+
/**
|
|
3896
|
+
* Conflict
|
|
3897
|
+
*/
|
|
3898
|
+
409: ErrorResponse;
|
|
3899
|
+
/**
|
|
3900
|
+
* Payload too large
|
|
3901
|
+
*/
|
|
3902
|
+
413: ErrorResponse;
|
|
3257
3903
|
/**
|
|
3258
3904
|
* Rate limit exceeded
|
|
3259
3905
|
*/
|
|
@@ -3296,6 +3942,14 @@ type UpdateWebhookErrors = {
|
|
|
3296
3942
|
* Not found
|
|
3297
3943
|
*/
|
|
3298
3944
|
404: ErrorResponse;
|
|
3945
|
+
/**
|
|
3946
|
+
* Conflict
|
|
3947
|
+
*/
|
|
3948
|
+
409: ErrorResponse;
|
|
3949
|
+
/**
|
|
3950
|
+
* Payload too large
|
|
3951
|
+
*/
|
|
3952
|
+
413: ErrorResponse;
|
|
3299
3953
|
/**
|
|
3300
3954
|
* Rate limit exceeded
|
|
3301
3955
|
*/
|
|
@@ -3339,6 +3993,14 @@ type ListTaxonomiesErrors = {
|
|
|
3339
3993
|
* Not found
|
|
3340
3994
|
*/
|
|
3341
3995
|
404: ErrorResponse;
|
|
3996
|
+
/**
|
|
3997
|
+
* Conflict
|
|
3998
|
+
*/
|
|
3999
|
+
409: ErrorResponse;
|
|
4000
|
+
/**
|
|
4001
|
+
* Payload too large
|
|
4002
|
+
*/
|
|
4003
|
+
413: ErrorResponse;
|
|
3342
4004
|
/**
|
|
3343
4005
|
* Rate limit exceeded
|
|
3344
4006
|
*/
|
|
@@ -3382,6 +4044,14 @@ type UpsertTaxonomyErrors = {
|
|
|
3382
4044
|
* Not found
|
|
3383
4045
|
*/
|
|
3384
4046
|
404: ErrorResponse;
|
|
4047
|
+
/**
|
|
4048
|
+
* Conflict
|
|
4049
|
+
*/
|
|
4050
|
+
409: ErrorResponse;
|
|
4051
|
+
/**
|
|
4052
|
+
* Payload too large
|
|
4053
|
+
*/
|
|
4054
|
+
413: ErrorResponse;
|
|
3385
4055
|
/**
|
|
3386
4056
|
* Rate limit exceeded
|
|
3387
4057
|
*/
|
|
@@ -3427,6 +4097,14 @@ type BulkDeleteTaxonomiesErrors = {
|
|
|
3427
4097
|
* Not found
|
|
3428
4098
|
*/
|
|
3429
4099
|
404: ErrorResponse;
|
|
4100
|
+
/**
|
|
4101
|
+
* Conflict
|
|
4102
|
+
*/
|
|
4103
|
+
409: ErrorResponse;
|
|
4104
|
+
/**
|
|
4105
|
+
* Payload too large
|
|
4106
|
+
*/
|
|
4107
|
+
413: ErrorResponse;
|
|
3430
4108
|
/**
|
|
3431
4109
|
* Rate limit exceeded
|
|
3432
4110
|
*/
|
|
@@ -3466,6 +4144,14 @@ type BulkUpsertTaxonomiesErrors = {
|
|
|
3466
4144
|
* Not found
|
|
3467
4145
|
*/
|
|
3468
4146
|
404: ErrorResponse;
|
|
4147
|
+
/**
|
|
4148
|
+
* Conflict
|
|
4149
|
+
*/
|
|
4150
|
+
409: ErrorResponse;
|
|
4151
|
+
/**
|
|
4152
|
+
* Payload too large
|
|
4153
|
+
*/
|
|
4154
|
+
413: ErrorResponse;
|
|
3469
4155
|
/**
|
|
3470
4156
|
* Rate limit exceeded
|
|
3471
4157
|
*/
|
|
@@ -3519,6 +4205,14 @@ type DeleteTaxonomiesByQueryErrors = {
|
|
|
3519
4205
|
* Not found
|
|
3520
4206
|
*/
|
|
3521
4207
|
404: ErrorResponse;
|
|
4208
|
+
/**
|
|
4209
|
+
* Conflict
|
|
4210
|
+
*/
|
|
4211
|
+
409: ErrorResponse;
|
|
4212
|
+
/**
|
|
4213
|
+
* Payload too large
|
|
4214
|
+
*/
|
|
4215
|
+
413: ErrorResponse;
|
|
3522
4216
|
/**
|
|
3523
4217
|
* Rate limit exceeded
|
|
3524
4218
|
*/
|
|
@@ -3562,6 +4256,14 @@ type ListTaxonomyIdsErrors = {
|
|
|
3562
4256
|
* Not found
|
|
3563
4257
|
*/
|
|
3564
4258
|
404: ErrorResponse;
|
|
4259
|
+
/**
|
|
4260
|
+
* Conflict
|
|
4261
|
+
*/
|
|
4262
|
+
409: ErrorResponse;
|
|
4263
|
+
/**
|
|
4264
|
+
* Payload too large
|
|
4265
|
+
*/
|
|
4266
|
+
413: ErrorResponse;
|
|
3565
4267
|
/**
|
|
3566
4268
|
* Rate limit exceeded
|
|
3567
4269
|
*/
|
|
@@ -3607,6 +4309,14 @@ type DeleteTaxonomyErrors = {
|
|
|
3607
4309
|
* Not found
|
|
3608
4310
|
*/
|
|
3609
4311
|
404: ErrorResponse;
|
|
4312
|
+
/**
|
|
4313
|
+
* Conflict
|
|
4314
|
+
*/
|
|
4315
|
+
409: ErrorResponse;
|
|
4316
|
+
/**
|
|
4317
|
+
* Payload too large
|
|
4318
|
+
*/
|
|
4319
|
+
413: ErrorResponse;
|
|
3610
4320
|
/**
|
|
3611
4321
|
* Rate limit exceeded
|
|
3612
4322
|
*/
|
|
@@ -3645,6 +4355,14 @@ type GetTaxonomyErrors = {
|
|
|
3645
4355
|
* Not found
|
|
3646
4356
|
*/
|
|
3647
4357
|
404: ErrorResponse;
|
|
4358
|
+
/**
|
|
4359
|
+
* Conflict
|
|
4360
|
+
*/
|
|
4361
|
+
409: ErrorResponse;
|
|
4362
|
+
/**
|
|
4363
|
+
* Payload too large
|
|
4364
|
+
*/
|
|
4365
|
+
413: ErrorResponse;
|
|
3648
4366
|
/**
|
|
3649
4367
|
* Rate limit exceeded
|
|
3650
4368
|
*/
|
|
@@ -3690,6 +4408,14 @@ type GetSearchAnalyticsErrors = {
|
|
|
3690
4408
|
* Not found
|
|
3691
4409
|
*/
|
|
3692
4410
|
404: ErrorResponse;
|
|
4411
|
+
/**
|
|
4412
|
+
* Conflict
|
|
4413
|
+
*/
|
|
4414
|
+
409: ErrorResponse;
|
|
4415
|
+
/**
|
|
4416
|
+
* Payload too large
|
|
4417
|
+
*/
|
|
4418
|
+
413: ErrorResponse;
|
|
3693
4419
|
/**
|
|
3694
4420
|
* Rate limit exceeded
|
|
3695
4421
|
*/
|
|
@@ -3740,6 +4466,14 @@ type SearchSearchesErrors = {
|
|
|
3740
4466
|
* Not found
|
|
3741
4467
|
*/
|
|
3742
4468
|
404: ErrorResponse;
|
|
4469
|
+
/**
|
|
4470
|
+
* Conflict
|
|
4471
|
+
*/
|
|
4472
|
+
409: ErrorResponse;
|
|
4473
|
+
/**
|
|
4474
|
+
* Payload too large
|
|
4475
|
+
*/
|
|
4476
|
+
413: ErrorResponse;
|
|
3743
4477
|
/**
|
|
3744
4478
|
* Rate limit exceeded
|
|
3745
4479
|
*/
|
|
@@ -3785,6 +4519,14 @@ type CommitSearchErrors = {
|
|
|
3785
4519
|
* Not found
|
|
3786
4520
|
*/
|
|
3787
4521
|
404: ErrorResponse;
|
|
4522
|
+
/**
|
|
4523
|
+
* Conflict
|
|
4524
|
+
*/
|
|
4525
|
+
409: ErrorResponse;
|
|
4526
|
+
/**
|
|
4527
|
+
* Payload too large
|
|
4528
|
+
*/
|
|
4529
|
+
413: ErrorResponse;
|
|
3788
4530
|
/**
|
|
3789
4531
|
* Rate limit exceeded
|
|
3790
4532
|
*/
|
|
@@ -3827,6 +4569,14 @@ type GetChatAnalyticsErrors = {
|
|
|
3827
4569
|
* Not found
|
|
3828
4570
|
*/
|
|
3829
4571
|
404: ErrorResponse;
|
|
4572
|
+
/**
|
|
4573
|
+
* Conflict
|
|
4574
|
+
*/
|
|
4575
|
+
409: ErrorResponse;
|
|
4576
|
+
/**
|
|
4577
|
+
* Payload too large
|
|
4578
|
+
*/
|
|
4579
|
+
413: ErrorResponse;
|
|
3830
4580
|
/**
|
|
3831
4581
|
* Rate limit exceeded
|
|
3832
4582
|
*/
|
|
@@ -3868,6 +4618,14 @@ type GetAnalyticsFeedbackErrors = {
|
|
|
3868
4618
|
* Not found
|
|
3869
4619
|
*/
|
|
3870
4620
|
404: ErrorResponse;
|
|
4621
|
+
/**
|
|
4622
|
+
* Conflict
|
|
4623
|
+
*/
|
|
4624
|
+
409: ErrorResponse;
|
|
4625
|
+
/**
|
|
4626
|
+
* Payload too large
|
|
4627
|
+
*/
|
|
4628
|
+
413: ErrorResponse;
|
|
3871
4629
|
/**
|
|
3872
4630
|
* Rate limit exceeded
|
|
3873
4631
|
*/
|
|
@@ -3906,6 +4664,14 @@ type GetProductRecommendationsErrors = {
|
|
|
3906
4664
|
* Not found
|
|
3907
4665
|
*/
|
|
3908
4666
|
404: ErrorResponse;
|
|
4667
|
+
/**
|
|
4668
|
+
* Conflict
|
|
4669
|
+
*/
|
|
4670
|
+
409: ErrorResponse;
|
|
4671
|
+
/**
|
|
4672
|
+
* Payload too large
|
|
4673
|
+
*/
|
|
4674
|
+
413: ErrorResponse;
|
|
3909
4675
|
/**
|
|
3910
4676
|
* Rate limit exceeded
|
|
3911
4677
|
*/
|
|
@@ -3917,6 +4683,8 @@ type GetProductRecommendationsResponses = {
|
|
|
3917
4683
|
* Product recommendations
|
|
3918
4684
|
*/
|
|
3919
4685
|
200: {
|
|
4686
|
+
object: 'recommendations';
|
|
4687
|
+
requestId: string;
|
|
3920
4688
|
data: {
|
|
3921
4689
|
[key: string]: unknown;
|
|
3922
4690
|
};
|
|
@@ -3948,6 +4716,14 @@ type DeleteTenantErrors = {
|
|
|
3948
4716
|
* Not found
|
|
3949
4717
|
*/
|
|
3950
4718
|
404: ErrorResponse;
|
|
4719
|
+
/**
|
|
4720
|
+
* Conflict
|
|
4721
|
+
*/
|
|
4722
|
+
409: ErrorResponse;
|
|
4723
|
+
/**
|
|
4724
|
+
* Payload too large
|
|
4725
|
+
*/
|
|
4726
|
+
413: ErrorResponse;
|
|
3951
4727
|
/**
|
|
3952
4728
|
* Rate limit exceeded
|
|
3953
4729
|
*/
|
|
@@ -3965,6 +4741,16 @@ type DeleteTenantResponses = {
|
|
|
3965
4741
|
[key: string]: unknown;
|
|
3966
4742
|
};
|
|
3967
4743
|
};
|
|
4744
|
+
/**
|
|
4745
|
+
* Tenant deleted with partial cleanup failures — inspect data.results
|
|
4746
|
+
*/
|
|
4747
|
+
207: {
|
|
4748
|
+
object: 'tenant';
|
|
4749
|
+
requestId: string;
|
|
4750
|
+
data: {
|
|
4751
|
+
[key: string]: unknown;
|
|
4752
|
+
};
|
|
4753
|
+
};
|
|
3968
4754
|
};
|
|
3969
4755
|
type DeleteTenantResponse = DeleteTenantResponses[keyof DeleteTenantResponses];
|
|
3970
4756
|
type GetTenantStatusData = {
|
|
@@ -3990,6 +4776,14 @@ type GetTenantStatusErrors = {
|
|
|
3990
4776
|
* Not found
|
|
3991
4777
|
*/
|
|
3992
4778
|
404: ErrorResponse;
|
|
4779
|
+
/**
|
|
4780
|
+
* Conflict
|
|
4781
|
+
*/
|
|
4782
|
+
409: ErrorResponse;
|
|
4783
|
+
/**
|
|
4784
|
+
* Payload too large
|
|
4785
|
+
*/
|
|
4786
|
+
413: ErrorResponse;
|
|
3993
4787
|
/**
|
|
3994
4788
|
* Rate limit exceeded
|
|
3995
4789
|
*/
|
|
@@ -4007,10 +4801,56 @@ type GetTenantStatusResponses = {
|
|
|
4007
4801
|
};
|
|
4008
4802
|
};
|
|
4009
4803
|
type GetTenantStatusResponse = GetTenantStatusResponses[keyof GetTenantStatusResponses];
|
|
4010
|
-
type
|
|
4011
|
-
body?:
|
|
4012
|
-
|
|
4804
|
+
type GetTenantWhoamiData = {
|
|
4805
|
+
body?: never;
|
|
4806
|
+
path?: never;
|
|
4807
|
+
query?: never;
|
|
4808
|
+
url: '/tenant/whoami';
|
|
4809
|
+
};
|
|
4810
|
+
type GetTenantWhoamiErrors = {
|
|
4811
|
+
/**
|
|
4812
|
+
* Validation error
|
|
4813
|
+
*/
|
|
4814
|
+
400: ErrorResponse;
|
|
4815
|
+
/**
|
|
4816
|
+
* Unauthorized
|
|
4817
|
+
*/
|
|
4818
|
+
401: ErrorResponse;
|
|
4819
|
+
/**
|
|
4820
|
+
* Forbidden
|
|
4821
|
+
*/
|
|
4822
|
+
403: ErrorResponse;
|
|
4823
|
+
/**
|
|
4824
|
+
* Not found
|
|
4825
|
+
*/
|
|
4826
|
+
404: ErrorResponse;
|
|
4827
|
+
/**
|
|
4828
|
+
* Conflict
|
|
4829
|
+
*/
|
|
4830
|
+
409: ErrorResponse;
|
|
4831
|
+
/**
|
|
4832
|
+
* Payload too large
|
|
4833
|
+
*/
|
|
4834
|
+
413: ErrorResponse;
|
|
4835
|
+
/**
|
|
4836
|
+
* Rate limit exceeded
|
|
4837
|
+
*/
|
|
4838
|
+
429: ErrorResponse;
|
|
4839
|
+
};
|
|
4840
|
+
type GetTenantWhoamiError = GetTenantWhoamiErrors[keyof GetTenantWhoamiErrors];
|
|
4841
|
+
type GetTenantWhoamiResponses = {
|
|
4842
|
+
/**
|
|
4843
|
+
* Current caller identity
|
|
4844
|
+
*/
|
|
4845
|
+
200: {
|
|
4846
|
+
object: 'tenant';
|
|
4847
|
+
requestId: string;
|
|
4848
|
+
data: TenantWhoami;
|
|
4013
4849
|
};
|
|
4850
|
+
};
|
|
4851
|
+
type GetTenantWhoamiResponse = GetTenantWhoamiResponses[keyof GetTenantWhoamiResponses];
|
|
4852
|
+
type UpdateTenantFeaturesData = {
|
|
4853
|
+
body?: UpdateTenantFeaturesRequest;
|
|
4014
4854
|
path?: never;
|
|
4015
4855
|
query?: never;
|
|
4016
4856
|
url: '/tenant/features';
|
|
@@ -4032,6 +4872,14 @@ type UpdateTenantFeaturesErrors = {
|
|
|
4032
4872
|
* Not found
|
|
4033
4873
|
*/
|
|
4034
4874
|
404: ErrorResponse;
|
|
4875
|
+
/**
|
|
4876
|
+
* Conflict
|
|
4877
|
+
*/
|
|
4878
|
+
409: ErrorResponse;
|
|
4879
|
+
/**
|
|
4880
|
+
* Payload too large
|
|
4881
|
+
*/
|
|
4882
|
+
413: ErrorResponse;
|
|
4035
4883
|
/**
|
|
4036
4884
|
* Rate limit exceeded
|
|
4037
4885
|
*/
|
|
@@ -4074,6 +4922,14 @@ type GetTenantUsageErrors = {
|
|
|
4074
4922
|
* Not found
|
|
4075
4923
|
*/
|
|
4076
4924
|
404: ErrorResponse;
|
|
4925
|
+
/**
|
|
4926
|
+
* Conflict
|
|
4927
|
+
*/
|
|
4928
|
+
409: ErrorResponse;
|
|
4929
|
+
/**
|
|
4930
|
+
* Payload too large
|
|
4931
|
+
*/
|
|
4932
|
+
413: ErrorResponse;
|
|
4077
4933
|
/**
|
|
4078
4934
|
* Rate limit exceeded
|
|
4079
4935
|
*/
|
|
@@ -4116,6 +4972,14 @@ type GetTenantUsageHistoryErrors = {
|
|
|
4116
4972
|
* Not found
|
|
4117
4973
|
*/
|
|
4118
4974
|
404: ErrorResponse;
|
|
4975
|
+
/**
|
|
4976
|
+
* Conflict
|
|
4977
|
+
*/
|
|
4978
|
+
409: ErrorResponse;
|
|
4979
|
+
/**
|
|
4980
|
+
* Payload too large
|
|
4981
|
+
*/
|
|
4982
|
+
413: ErrorResponse;
|
|
4119
4983
|
/**
|
|
4120
4984
|
* Rate limit exceeded
|
|
4121
4985
|
*/
|
|
@@ -4129,9 +4993,9 @@ type GetTenantUsageHistoryResponses = {
|
|
|
4129
4993
|
200: {
|
|
4130
4994
|
object: 'usage';
|
|
4131
4995
|
requestId: string;
|
|
4132
|
-
data: {
|
|
4996
|
+
data: Array<{
|
|
4133
4997
|
[key: string]: unknown;
|
|
4134
|
-
}
|
|
4998
|
+
}>;
|
|
4135
4999
|
};
|
|
4136
5000
|
};
|
|
4137
5001
|
type GetTenantUsageHistoryResponse = GetTenantUsageHistoryResponses[keyof GetTenantUsageHistoryResponses];
|
|
@@ -4158,6 +5022,14 @@ type ListTenantWorkspacesErrors = {
|
|
|
4158
5022
|
* Not found
|
|
4159
5023
|
*/
|
|
4160
5024
|
404: ErrorResponse;
|
|
5025
|
+
/**
|
|
5026
|
+
* Conflict
|
|
5027
|
+
*/
|
|
5028
|
+
409: ErrorResponse;
|
|
5029
|
+
/**
|
|
5030
|
+
* Payload too large
|
|
5031
|
+
*/
|
|
5032
|
+
413: ErrorResponse;
|
|
4161
5033
|
/**
|
|
4162
5034
|
* Rate limit exceeded
|
|
4163
5035
|
*/
|
|
@@ -4201,6 +5073,14 @@ type CreateTenantWorkspaceErrors = {
|
|
|
4201
5073
|
* Not found
|
|
4202
5074
|
*/
|
|
4203
5075
|
404: ErrorResponse;
|
|
5076
|
+
/**
|
|
5077
|
+
* Conflict
|
|
5078
|
+
*/
|
|
5079
|
+
409: ErrorResponse;
|
|
5080
|
+
/**
|
|
5081
|
+
* Payload too large
|
|
5082
|
+
*/
|
|
5083
|
+
413: ErrorResponse;
|
|
4204
5084
|
/**
|
|
4205
5085
|
* Rate limit exceeded
|
|
4206
5086
|
*/
|
|
@@ -4246,6 +5126,14 @@ type DeleteWorkspaceErrors = {
|
|
|
4246
5126
|
* Not found
|
|
4247
5127
|
*/
|
|
4248
5128
|
404: ErrorResponse;
|
|
5129
|
+
/**
|
|
5130
|
+
* Conflict
|
|
5131
|
+
*/
|
|
5132
|
+
409: ErrorResponse;
|
|
5133
|
+
/**
|
|
5134
|
+
* Payload too large
|
|
5135
|
+
*/
|
|
5136
|
+
413: ErrorResponse;
|
|
4249
5137
|
/**
|
|
4250
5138
|
* Rate limit exceeded
|
|
4251
5139
|
*/
|
|
@@ -4263,12 +5151,20 @@ type DeleteWorkspaceResponses = {
|
|
|
4263
5151
|
[key: string]: unknown;
|
|
4264
5152
|
};
|
|
4265
5153
|
};
|
|
5154
|
+
/**
|
|
5155
|
+
* Workspace deleted with partial cleanup failures — inspect data.results
|
|
5156
|
+
*/
|
|
5157
|
+
207: {
|
|
5158
|
+
object: 'workspace';
|
|
5159
|
+
requestId: string;
|
|
5160
|
+
data: {
|
|
5161
|
+
[key: string]: unknown;
|
|
5162
|
+
};
|
|
5163
|
+
};
|
|
4266
5164
|
};
|
|
4267
5165
|
type DeleteWorkspaceResponse = DeleteWorkspaceResponses[keyof DeleteWorkspaceResponses];
|
|
4268
5166
|
type UpdateWorkspaceData = {
|
|
4269
|
-
body?:
|
|
4270
|
-
[key: string]: unknown;
|
|
4271
|
-
};
|
|
5167
|
+
body?: UpdateWorkspaceRequest;
|
|
4272
5168
|
path: {
|
|
4273
5169
|
workspaceId: string;
|
|
4274
5170
|
};
|
|
@@ -4292,6 +5188,14 @@ type UpdateWorkspaceErrors = {
|
|
|
4292
5188
|
* Not found
|
|
4293
5189
|
*/
|
|
4294
5190
|
404: ErrorResponse;
|
|
5191
|
+
/**
|
|
5192
|
+
* Conflict
|
|
5193
|
+
*/
|
|
5194
|
+
409: ErrorResponse;
|
|
5195
|
+
/**
|
|
5196
|
+
* Payload too large
|
|
5197
|
+
*/
|
|
5198
|
+
413: ErrorResponse;
|
|
4295
5199
|
/**
|
|
4296
5200
|
* Rate limit exceeded
|
|
4297
5201
|
*/
|
|
@@ -4334,6 +5238,14 @@ type GetKnowledgeErrors = {
|
|
|
4334
5238
|
* Not found
|
|
4335
5239
|
*/
|
|
4336
5240
|
404: ErrorResponse;
|
|
5241
|
+
/**
|
|
5242
|
+
* Conflict
|
|
5243
|
+
*/
|
|
5244
|
+
409: ErrorResponse;
|
|
5245
|
+
/**
|
|
5246
|
+
* Payload too large
|
|
5247
|
+
*/
|
|
5248
|
+
413: ErrorResponse;
|
|
4337
5249
|
/**
|
|
4338
5250
|
* Rate limit exceeded
|
|
4339
5251
|
*/
|
|
@@ -4376,6 +5288,14 @@ type SearchKnowledgeErrors = {
|
|
|
4376
5288
|
* Not found
|
|
4377
5289
|
*/
|
|
4378
5290
|
404: ErrorResponse;
|
|
5291
|
+
/**
|
|
5292
|
+
* Conflict
|
|
5293
|
+
*/
|
|
5294
|
+
409: ErrorResponse;
|
|
5295
|
+
/**
|
|
5296
|
+
* Payload too large
|
|
5297
|
+
*/
|
|
5298
|
+
413: ErrorResponse;
|
|
4379
5299
|
/**
|
|
4380
5300
|
* Rate limit exceeded
|
|
4381
5301
|
*/
|
|
@@ -4399,9 +5319,7 @@ type SearchKnowledgeResponses = {
|
|
|
4399
5319
|
};
|
|
4400
5320
|
type SearchKnowledgeResponse = SearchKnowledgeResponses[keyof SearchKnowledgeResponses];
|
|
4401
5321
|
type GetUploadUrlData = {
|
|
4402
|
-
body?:
|
|
4403
|
-
[key: string]: unknown;
|
|
4404
|
-
};
|
|
5322
|
+
body?: GetUploadUrlRequest;
|
|
4405
5323
|
path?: never;
|
|
4406
5324
|
query?: never;
|
|
4407
5325
|
url: '/tenant/upload-url';
|
|
@@ -4423,6 +5341,14 @@ type GetUploadUrlErrors = {
|
|
|
4423
5341
|
* Not found
|
|
4424
5342
|
*/
|
|
4425
5343
|
404: ErrorResponse;
|
|
5344
|
+
/**
|
|
5345
|
+
* Conflict
|
|
5346
|
+
*/
|
|
5347
|
+
409: ErrorResponse;
|
|
5348
|
+
/**
|
|
5349
|
+
* Payload too large
|
|
5350
|
+
*/
|
|
5351
|
+
413: ErrorResponse;
|
|
4426
5352
|
/**
|
|
4427
5353
|
* Rate limit exceeded
|
|
4428
5354
|
*/
|
|
@@ -4465,6 +5391,14 @@ type DeleteMcpConfigErrors = {
|
|
|
4465
5391
|
* Not found
|
|
4466
5392
|
*/
|
|
4467
5393
|
404: ErrorResponse;
|
|
5394
|
+
/**
|
|
5395
|
+
* Conflict
|
|
5396
|
+
*/
|
|
5397
|
+
409: ErrorResponse;
|
|
5398
|
+
/**
|
|
5399
|
+
* Payload too large
|
|
5400
|
+
*/
|
|
5401
|
+
413: ErrorResponse;
|
|
4468
5402
|
/**
|
|
4469
5403
|
* Rate limit exceeded
|
|
4470
5404
|
*/
|
|
@@ -4507,6 +5441,14 @@ type GetMcpConfigErrors = {
|
|
|
4507
5441
|
* Not found
|
|
4508
5442
|
*/
|
|
4509
5443
|
404: ErrorResponse;
|
|
5444
|
+
/**
|
|
5445
|
+
* Conflict
|
|
5446
|
+
*/
|
|
5447
|
+
409: ErrorResponse;
|
|
5448
|
+
/**
|
|
5449
|
+
* Payload too large
|
|
5450
|
+
*/
|
|
5451
|
+
413: ErrorResponse;
|
|
4510
5452
|
/**
|
|
4511
5453
|
* Rate limit exceeded
|
|
4512
5454
|
*/
|
|
@@ -4527,9 +5469,7 @@ type GetMcpConfigResponses = {
|
|
|
4527
5469
|
};
|
|
4528
5470
|
type GetMcpConfigResponse = GetMcpConfigResponses[keyof GetMcpConfigResponses];
|
|
4529
5471
|
type UpdateMcpConfigData = {
|
|
4530
|
-
body?:
|
|
4531
|
-
[key: string]: unknown;
|
|
4532
|
-
};
|
|
5472
|
+
body?: UpdateMcpConfigRequest;
|
|
4533
5473
|
path?: never;
|
|
4534
5474
|
query?: never;
|
|
4535
5475
|
url: '/tenant/mcp';
|
|
@@ -4551,6 +5491,14 @@ type UpdateMcpConfigErrors = {
|
|
|
4551
5491
|
* Not found
|
|
4552
5492
|
*/
|
|
4553
5493
|
404: ErrorResponse;
|
|
5494
|
+
/**
|
|
5495
|
+
* Conflict
|
|
5496
|
+
*/
|
|
5497
|
+
409: ErrorResponse;
|
|
5498
|
+
/**
|
|
5499
|
+
* Payload too large
|
|
5500
|
+
*/
|
|
5501
|
+
413: ErrorResponse;
|
|
4554
5502
|
/**
|
|
4555
5503
|
* Rate limit exceeded
|
|
4556
5504
|
*/
|
|
@@ -4574,7 +5522,7 @@ type GetCredentialStatusData = {
|
|
|
4574
5522
|
body?: never;
|
|
4575
5523
|
path?: never;
|
|
4576
5524
|
query?: never;
|
|
4577
|
-
url: '/tenant/credentials/status';
|
|
5525
|
+
url: '/tenant/live-agent/credentials/status';
|
|
4578
5526
|
};
|
|
4579
5527
|
type GetCredentialStatusErrors = {
|
|
4580
5528
|
/**
|
|
@@ -4593,6 +5541,14 @@ type GetCredentialStatusErrors = {
|
|
|
4593
5541
|
* Not found
|
|
4594
5542
|
*/
|
|
4595
5543
|
404: ErrorResponse;
|
|
5544
|
+
/**
|
|
5545
|
+
* Conflict
|
|
5546
|
+
*/
|
|
5547
|
+
409: ErrorResponse;
|
|
5548
|
+
/**
|
|
5549
|
+
* Payload too large
|
|
5550
|
+
*/
|
|
5551
|
+
413: ErrorResponse;
|
|
4596
5552
|
/**
|
|
4597
5553
|
* Rate limit exceeded
|
|
4598
5554
|
*/
|
|
@@ -4616,7 +5572,7 @@ type DeleteCredentialsData = {
|
|
|
4616
5572
|
body?: never;
|
|
4617
5573
|
path?: never;
|
|
4618
5574
|
query?: never;
|
|
4619
|
-
url: '/tenant/credentials';
|
|
5575
|
+
url: '/tenant/live-agent/credentials';
|
|
4620
5576
|
};
|
|
4621
5577
|
type DeleteCredentialsErrors = {
|
|
4622
5578
|
/**
|
|
@@ -4635,6 +5591,14 @@ type DeleteCredentialsErrors = {
|
|
|
4635
5591
|
* Not found
|
|
4636
5592
|
*/
|
|
4637
5593
|
404: ErrorResponse;
|
|
5594
|
+
/**
|
|
5595
|
+
* Conflict
|
|
5596
|
+
*/
|
|
5597
|
+
409: ErrorResponse;
|
|
5598
|
+
/**
|
|
5599
|
+
* Payload too large
|
|
5600
|
+
*/
|
|
5601
|
+
413: ErrorResponse;
|
|
4638
5602
|
/**
|
|
4639
5603
|
* Rate limit exceeded
|
|
4640
5604
|
*/
|
|
@@ -4655,12 +5619,10 @@ type DeleteCredentialsResponses = {
|
|
|
4655
5619
|
};
|
|
4656
5620
|
type DeleteCredentialsResponse = DeleteCredentialsResponses[keyof DeleteCredentialsResponses];
|
|
4657
5621
|
type StoreCredentialsData = {
|
|
4658
|
-
body?:
|
|
4659
|
-
[key: string]: unknown;
|
|
4660
|
-
};
|
|
5622
|
+
body?: StoreLiveAgentCredentialsRequest;
|
|
4661
5623
|
path?: never;
|
|
4662
5624
|
query?: never;
|
|
4663
|
-
url: '/tenant/credentials';
|
|
5625
|
+
url: '/tenant/live-agent/credentials';
|
|
4664
5626
|
};
|
|
4665
5627
|
type StoreCredentialsErrors = {
|
|
4666
5628
|
/**
|
|
@@ -4679,6 +5641,14 @@ type StoreCredentialsErrors = {
|
|
|
4679
5641
|
* Not found
|
|
4680
5642
|
*/
|
|
4681
5643
|
404: ErrorResponse;
|
|
5644
|
+
/**
|
|
5645
|
+
* Conflict
|
|
5646
|
+
*/
|
|
5647
|
+
409: ErrorResponse;
|
|
5648
|
+
/**
|
|
5649
|
+
* Payload too large
|
|
5650
|
+
*/
|
|
5651
|
+
413: ErrorResponse;
|
|
4682
5652
|
/**
|
|
4683
5653
|
* Rate limit exceeded
|
|
4684
5654
|
*/
|
|
@@ -4702,7 +5672,7 @@ type DeleteLiveAgentScheduleData = {
|
|
|
4702
5672
|
body?: never;
|
|
4703
5673
|
path?: never;
|
|
4704
5674
|
query?: never;
|
|
4705
|
-
url: '/tenant/schedule';
|
|
5675
|
+
url: '/tenant/live-agent/schedule';
|
|
4706
5676
|
};
|
|
4707
5677
|
type DeleteLiveAgentScheduleErrors = {
|
|
4708
5678
|
/**
|
|
@@ -4721,6 +5691,14 @@ type DeleteLiveAgentScheduleErrors = {
|
|
|
4721
5691
|
* Not found
|
|
4722
5692
|
*/
|
|
4723
5693
|
404: ErrorResponse;
|
|
5694
|
+
/**
|
|
5695
|
+
* Conflict
|
|
5696
|
+
*/
|
|
5697
|
+
409: ErrorResponse;
|
|
5698
|
+
/**
|
|
5699
|
+
* Payload too large
|
|
5700
|
+
*/
|
|
5701
|
+
413: ErrorResponse;
|
|
4724
5702
|
/**
|
|
4725
5703
|
* Rate limit exceeded
|
|
4726
5704
|
*/
|
|
@@ -4744,7 +5722,7 @@ type GetLiveAgentScheduleData = {
|
|
|
4744
5722
|
body?: never;
|
|
4745
5723
|
path?: never;
|
|
4746
5724
|
query?: never;
|
|
4747
|
-
url: '/tenant/schedule';
|
|
5725
|
+
url: '/tenant/live-agent/schedule';
|
|
4748
5726
|
};
|
|
4749
5727
|
type GetLiveAgentScheduleErrors = {
|
|
4750
5728
|
/**
|
|
@@ -4763,6 +5741,14 @@ type GetLiveAgentScheduleErrors = {
|
|
|
4763
5741
|
* Not found
|
|
4764
5742
|
*/
|
|
4765
5743
|
404: ErrorResponse;
|
|
5744
|
+
/**
|
|
5745
|
+
* Conflict
|
|
5746
|
+
*/
|
|
5747
|
+
409: ErrorResponse;
|
|
5748
|
+
/**
|
|
5749
|
+
* Payload too large
|
|
5750
|
+
*/
|
|
5751
|
+
413: ErrorResponse;
|
|
4766
5752
|
/**
|
|
4767
5753
|
* Rate limit exceeded
|
|
4768
5754
|
*/
|
|
@@ -4783,12 +5769,10 @@ type GetLiveAgentScheduleResponses = {
|
|
|
4783
5769
|
};
|
|
4784
5770
|
type GetLiveAgentScheduleResponse = GetLiveAgentScheduleResponses[keyof GetLiveAgentScheduleResponses];
|
|
4785
5771
|
type UpdateLiveAgentScheduleData = {
|
|
4786
|
-
body?:
|
|
4787
|
-
[key: string]: unknown;
|
|
4788
|
-
};
|
|
5772
|
+
body?: UpdateLiveAgentScheduleRequest;
|
|
4789
5773
|
path?: never;
|
|
4790
5774
|
query?: never;
|
|
4791
|
-
url: '/tenant/schedule';
|
|
5775
|
+
url: '/tenant/live-agent/schedule';
|
|
4792
5776
|
};
|
|
4793
5777
|
type UpdateLiveAgentScheduleErrors = {
|
|
4794
5778
|
/**
|
|
@@ -4804,9 +5788,17 @@ type UpdateLiveAgentScheduleErrors = {
|
|
|
4804
5788
|
*/
|
|
4805
5789
|
403: ErrorResponse;
|
|
4806
5790
|
/**
|
|
4807
|
-
* Not found
|
|
5791
|
+
* Not found
|
|
5792
|
+
*/
|
|
5793
|
+
404: ErrorResponse;
|
|
5794
|
+
/**
|
|
5795
|
+
* Conflict
|
|
5796
|
+
*/
|
|
5797
|
+
409: ErrorResponse;
|
|
5798
|
+
/**
|
|
5799
|
+
* Payload too large
|
|
4808
5800
|
*/
|
|
4809
|
-
|
|
5801
|
+
413: ErrorResponse;
|
|
4810
5802
|
/**
|
|
4811
5803
|
* Rate limit exceeded
|
|
4812
5804
|
*/
|
|
@@ -4851,6 +5843,14 @@ type GetWorkspaceSettingsErrors = {
|
|
|
4851
5843
|
* Not found
|
|
4852
5844
|
*/
|
|
4853
5845
|
404: ErrorResponse;
|
|
5846
|
+
/**
|
|
5847
|
+
* Conflict
|
|
5848
|
+
*/
|
|
5849
|
+
409: ErrorResponse;
|
|
5850
|
+
/**
|
|
5851
|
+
* Payload too large
|
|
5852
|
+
*/
|
|
5853
|
+
413: ErrorResponse;
|
|
4854
5854
|
/**
|
|
4855
5855
|
* Rate limit exceeded
|
|
4856
5856
|
*/
|
|
@@ -4867,7 +5867,7 @@ type GetWorkspaceSettingsResponses = {
|
|
|
4867
5867
|
data: {
|
|
4868
5868
|
settings: {
|
|
4869
5869
|
[key: string]: unknown;
|
|
4870
|
-
};
|
|
5870
|
+
} | null;
|
|
4871
5871
|
};
|
|
4872
5872
|
};
|
|
4873
5873
|
};
|
|
@@ -4886,6 +5886,80 @@ type UpdateWorkspaceSettingsData = {
|
|
|
4886
5886
|
};
|
|
4887
5887
|
workspaceDescription?: string;
|
|
4888
5888
|
specialInstructions?: string;
|
|
5889
|
+
triageProgressMessage?: string;
|
|
5890
|
+
composerProgressMessage?: string;
|
|
5891
|
+
builtinTools?: {
|
|
5892
|
+
product?: {
|
|
5893
|
+
tools?: Array<{
|
|
5894
|
+
name: string;
|
|
5895
|
+
baseUrl: string;
|
|
5896
|
+
responseFormat: 'json' | 'xml';
|
|
5897
|
+
auth?: {
|
|
5898
|
+
type: 'bearer' | 'header' | 'basic' | 'query';
|
|
5899
|
+
headerName?: string;
|
|
5900
|
+
queryParamName?: string;
|
|
5901
|
+
value: string;
|
|
5902
|
+
};
|
|
5903
|
+
requiresAuth?: boolean;
|
|
5904
|
+
endpoints: Array<{
|
|
5905
|
+
toolName: string;
|
|
5906
|
+
description: string;
|
|
5907
|
+
method: 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH';
|
|
5908
|
+
path: string;
|
|
5909
|
+
parameters: Array<{
|
|
5910
|
+
name: string;
|
|
5911
|
+
in: 'query' | 'path' | 'body';
|
|
5912
|
+
required: boolean;
|
|
5913
|
+
description: string;
|
|
5914
|
+
type: 'string' | 'number' | 'boolean';
|
|
5915
|
+
defaultValue?: string;
|
|
5916
|
+
}>;
|
|
5917
|
+
requestTimeoutMs?: number;
|
|
5918
|
+
dropPaths?: Array<string>;
|
|
5919
|
+
}>;
|
|
5920
|
+
}> | null;
|
|
5921
|
+
toolProgressMessages?: {
|
|
5922
|
+
[key: string]: string;
|
|
5923
|
+
} | null;
|
|
5924
|
+
maxTurns?: number | null;
|
|
5925
|
+
usageHints?: string | null;
|
|
5926
|
+
} | null;
|
|
5927
|
+
post?: {
|
|
5928
|
+
tools?: Array<{
|
|
5929
|
+
name: string;
|
|
5930
|
+
baseUrl: string;
|
|
5931
|
+
responseFormat: 'json' | 'xml';
|
|
5932
|
+
auth?: {
|
|
5933
|
+
type: 'bearer' | 'header' | 'basic' | 'query';
|
|
5934
|
+
headerName?: string;
|
|
5935
|
+
queryParamName?: string;
|
|
5936
|
+
value: string;
|
|
5937
|
+
};
|
|
5938
|
+
requiresAuth?: boolean;
|
|
5939
|
+
endpoints: Array<{
|
|
5940
|
+
toolName: string;
|
|
5941
|
+
description: string;
|
|
5942
|
+
method: 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH';
|
|
5943
|
+
path: string;
|
|
5944
|
+
parameters: Array<{
|
|
5945
|
+
name: string;
|
|
5946
|
+
in: 'query' | 'path' | 'body';
|
|
5947
|
+
required: boolean;
|
|
5948
|
+
description: string;
|
|
5949
|
+
type: 'string' | 'number' | 'boolean';
|
|
5950
|
+
defaultValue?: string;
|
|
5951
|
+
}>;
|
|
5952
|
+
requestTimeoutMs?: number;
|
|
5953
|
+
dropPaths?: Array<string>;
|
|
5954
|
+
}>;
|
|
5955
|
+
}> | null;
|
|
5956
|
+
toolProgressMessages?: {
|
|
5957
|
+
[key: string]: string;
|
|
5958
|
+
} | null;
|
|
5959
|
+
maxTurns?: number | null;
|
|
5960
|
+
usageHints?: string | null;
|
|
5961
|
+
} | null;
|
|
5962
|
+
};
|
|
4889
5963
|
};
|
|
4890
5964
|
path: {
|
|
4891
5965
|
workspaceId: string;
|
|
@@ -4910,6 +5984,14 @@ type UpdateWorkspaceSettingsErrors = {
|
|
|
4910
5984
|
* Not found
|
|
4911
5985
|
*/
|
|
4912
5986
|
404: ErrorResponse;
|
|
5987
|
+
/**
|
|
5988
|
+
* Conflict
|
|
5989
|
+
*/
|
|
5990
|
+
409: ErrorResponse;
|
|
5991
|
+
/**
|
|
5992
|
+
* Payload too large
|
|
5993
|
+
*/
|
|
5994
|
+
413: ErrorResponse;
|
|
4913
5995
|
/**
|
|
4914
5996
|
* Rate limit exceeded
|
|
4915
5997
|
*/
|
|
@@ -4956,6 +6038,14 @@ type GetLiveAgentStatusErrors = {
|
|
|
4956
6038
|
* Not found
|
|
4957
6039
|
*/
|
|
4958
6040
|
404: ErrorResponse;
|
|
6041
|
+
/**
|
|
6042
|
+
* Conflict
|
|
6043
|
+
*/
|
|
6044
|
+
409: ErrorResponse;
|
|
6045
|
+
/**
|
|
6046
|
+
* Payload too large
|
|
6047
|
+
*/
|
|
6048
|
+
413: ErrorResponse;
|
|
4959
6049
|
/**
|
|
4960
6050
|
* Rate limit exceeded
|
|
4961
6051
|
*/
|
|
@@ -5000,6 +6090,14 @@ type ListSlackChannelsErrors = {
|
|
|
5000
6090
|
* Not found
|
|
5001
6091
|
*/
|
|
5002
6092
|
404: ErrorResponse;
|
|
6093
|
+
/**
|
|
6094
|
+
* Conflict
|
|
6095
|
+
*/
|
|
6096
|
+
409: ErrorResponse;
|
|
6097
|
+
/**
|
|
6098
|
+
* Payload too large
|
|
6099
|
+
*/
|
|
6100
|
+
413: ErrorResponse;
|
|
5003
6101
|
/**
|
|
5004
6102
|
* Rate limit exceeded
|
|
5005
6103
|
*/
|
|
@@ -5044,6 +6142,14 @@ type GetChatWidgetConfigErrors = {
|
|
|
5044
6142
|
* Not found
|
|
5045
6143
|
*/
|
|
5046
6144
|
404: ErrorResponse;
|
|
6145
|
+
/**
|
|
6146
|
+
* Conflict
|
|
6147
|
+
*/
|
|
6148
|
+
409: ErrorResponse;
|
|
6149
|
+
/**
|
|
6150
|
+
* Payload too large
|
|
6151
|
+
*/
|
|
6152
|
+
413: ErrorResponse;
|
|
5047
6153
|
/**
|
|
5048
6154
|
* Rate limit exceeded
|
|
5049
6155
|
*/
|
|
@@ -5219,6 +6325,14 @@ type UpdateChatWidgetConfigErrors = {
|
|
|
5219
6325
|
* Not found
|
|
5220
6326
|
*/
|
|
5221
6327
|
404: ErrorResponse;
|
|
6328
|
+
/**
|
|
6329
|
+
* Conflict
|
|
6330
|
+
*/
|
|
6331
|
+
409: ErrorResponse;
|
|
6332
|
+
/**
|
|
6333
|
+
* Payload too large
|
|
6334
|
+
*/
|
|
6335
|
+
413: ErrorResponse;
|
|
5222
6336
|
/**
|
|
5223
6337
|
* Rate limit exceeded
|
|
5224
6338
|
*/
|
|
@@ -5265,6 +6379,14 @@ type GetSearchWidgetConfigErrors = {
|
|
|
5265
6379
|
* Not found
|
|
5266
6380
|
*/
|
|
5267
6381
|
404: ErrorResponse;
|
|
6382
|
+
/**
|
|
6383
|
+
* Conflict
|
|
6384
|
+
*/
|
|
6385
|
+
409: ErrorResponse;
|
|
6386
|
+
/**
|
|
6387
|
+
* Payload too large
|
|
6388
|
+
*/
|
|
6389
|
+
413: ErrorResponse;
|
|
5268
6390
|
/**
|
|
5269
6391
|
* Rate limit exceeded
|
|
5270
6392
|
*/
|
|
@@ -5298,6 +6420,7 @@ type UpdateSearchWidgetConfigData = {
|
|
|
5298
6420
|
searchOnSubmit?: boolean;
|
|
5299
6421
|
productTabLabel?: string;
|
|
5300
6422
|
postTabLabel?: string;
|
|
6423
|
+
inputPlaceholder?: string;
|
|
5301
6424
|
theme?: {
|
|
5302
6425
|
colorScheme?: 'light' | 'dark' | 'auto';
|
|
5303
6426
|
primaryColor?: string;
|
|
@@ -5337,6 +6460,14 @@ type UpdateSearchWidgetConfigErrors = {
|
|
|
5337
6460
|
* Not found
|
|
5338
6461
|
*/
|
|
5339
6462
|
404: ErrorResponse;
|
|
6463
|
+
/**
|
|
6464
|
+
* Conflict
|
|
6465
|
+
*/
|
|
6466
|
+
409: ErrorResponse;
|
|
6467
|
+
/**
|
|
6468
|
+
* Payload too large
|
|
6469
|
+
*/
|
|
6470
|
+
413: ErrorResponse;
|
|
5340
6471
|
/**
|
|
5341
6472
|
* Rate limit exceeded
|
|
5342
6473
|
*/
|
|
@@ -5383,6 +6514,14 @@ type ListCustomDomainsErrors = {
|
|
|
5383
6514
|
* Not found
|
|
5384
6515
|
*/
|
|
5385
6516
|
404: ErrorResponse;
|
|
6517
|
+
/**
|
|
6518
|
+
* Conflict
|
|
6519
|
+
*/
|
|
6520
|
+
409: ErrorResponse;
|
|
6521
|
+
/**
|
|
6522
|
+
* Payload too large
|
|
6523
|
+
*/
|
|
6524
|
+
413: ErrorResponse;
|
|
5386
6525
|
/**
|
|
5387
6526
|
* Rate limit exceeded
|
|
5388
6527
|
*/
|
|
@@ -5441,12 +6580,23 @@ type CreateCustomDomainData = {
|
|
|
5441
6580
|
type: 'string' | 'number' | 'boolean';
|
|
5442
6581
|
defaultValue?: string;
|
|
5443
6582
|
}>;
|
|
6583
|
+
requestTimeoutMs?: number;
|
|
6584
|
+
dropPaths?: Array<string>;
|
|
5444
6585
|
}>;
|
|
5445
6586
|
}>;
|
|
5446
6587
|
progressMessage: string;
|
|
5447
6588
|
enabled?: boolean;
|
|
5448
6589
|
toolStrategy?: 'required' | 'auto';
|
|
5449
6590
|
maxToolTurns?: number;
|
|
6591
|
+
exclusive?: boolean;
|
|
6592
|
+
composerRenderHint?: 'card' | 'inline' | 'prose-only' | 'gallery';
|
|
6593
|
+
composerVerbosity?: 'terse' | 'standard' | 'detailed';
|
|
6594
|
+
composerPrivacy?: 'public' | 'sensitive';
|
|
6595
|
+
digestTemplate?: string;
|
|
6596
|
+
composerStreamingFields?: Array<string>;
|
|
6597
|
+
toolProgressMessages?: {
|
|
6598
|
+
[key: string]: string;
|
|
6599
|
+
};
|
|
5450
6600
|
};
|
|
5451
6601
|
path: {
|
|
5452
6602
|
workspaceId: string;
|
|
@@ -5471,6 +6621,14 @@ type CreateCustomDomainErrors = {
|
|
|
5471
6621
|
* Not found
|
|
5472
6622
|
*/
|
|
5473
6623
|
404: ErrorResponse;
|
|
6624
|
+
/**
|
|
6625
|
+
* Conflict
|
|
6626
|
+
*/
|
|
6627
|
+
409: ErrorResponse;
|
|
6628
|
+
/**
|
|
6629
|
+
* Payload too large
|
|
6630
|
+
*/
|
|
6631
|
+
413: ErrorResponse;
|
|
5474
6632
|
/**
|
|
5475
6633
|
* Rate limit exceeded
|
|
5476
6634
|
*/
|
|
@@ -5516,6 +6674,14 @@ type DeleteCustomDomainErrors = {
|
|
|
5516
6674
|
* Not found
|
|
5517
6675
|
*/
|
|
5518
6676
|
404: ErrorResponse;
|
|
6677
|
+
/**
|
|
6678
|
+
* Conflict
|
|
6679
|
+
*/
|
|
6680
|
+
409: ErrorResponse;
|
|
6681
|
+
/**
|
|
6682
|
+
* Payload too large
|
|
6683
|
+
*/
|
|
6684
|
+
413: ErrorResponse;
|
|
5519
6685
|
/**
|
|
5520
6686
|
* Rate limit exceeded
|
|
5521
6687
|
*/
|
|
@@ -5575,12 +6741,23 @@ type UpdateCustomDomainData = {
|
|
|
5575
6741
|
type: 'string' | 'number' | 'boolean';
|
|
5576
6742
|
defaultValue?: string;
|
|
5577
6743
|
}>;
|
|
6744
|
+
requestTimeoutMs?: number;
|
|
6745
|
+
dropPaths?: Array<string>;
|
|
5578
6746
|
}>;
|
|
5579
6747
|
}>;
|
|
5580
6748
|
progressMessage?: string;
|
|
5581
6749
|
enabled?: boolean;
|
|
5582
6750
|
toolStrategy?: 'required' | 'auto';
|
|
5583
6751
|
maxToolTurns?: number;
|
|
6752
|
+
exclusive?: boolean;
|
|
6753
|
+
composerRenderHint?: 'card' | 'inline' | 'prose-only' | 'gallery';
|
|
6754
|
+
composerVerbosity?: 'terse' | 'standard' | 'detailed';
|
|
6755
|
+
composerPrivacy?: 'public' | 'sensitive';
|
|
6756
|
+
digestTemplate?: string;
|
|
6757
|
+
composerStreamingFields?: Array<string>;
|
|
6758
|
+
toolProgressMessages?: {
|
|
6759
|
+
[key: string]: string;
|
|
6760
|
+
};
|
|
5584
6761
|
};
|
|
5585
6762
|
path: {
|
|
5586
6763
|
workspaceId: string;
|
|
@@ -5606,6 +6783,14 @@ type UpdateCustomDomainErrors = {
|
|
|
5606
6783
|
* Not found
|
|
5607
6784
|
*/
|
|
5608
6785
|
404: ErrorResponse;
|
|
6786
|
+
/**
|
|
6787
|
+
* Conflict
|
|
6788
|
+
*/
|
|
6789
|
+
409: ErrorResponse;
|
|
6790
|
+
/**
|
|
6791
|
+
* Payload too large
|
|
6792
|
+
*/
|
|
6793
|
+
413: ErrorResponse;
|
|
5609
6794
|
/**
|
|
5610
6795
|
* Rate limit exceeded
|
|
5611
6796
|
*/
|
|
@@ -5652,6 +6837,14 @@ type GetDomainErrorSummaryErrors = {
|
|
|
5652
6837
|
* Not found
|
|
5653
6838
|
*/
|
|
5654
6839
|
404: ErrorResponse;
|
|
6840
|
+
/**
|
|
6841
|
+
* Conflict
|
|
6842
|
+
*/
|
|
6843
|
+
409: ErrorResponse;
|
|
6844
|
+
/**
|
|
6845
|
+
* Payload too large
|
|
6846
|
+
*/
|
|
6847
|
+
413: ErrorResponse;
|
|
5655
6848
|
/**
|
|
5656
6849
|
* Rate limit exceeded
|
|
5657
6850
|
*/
|
|
@@ -5697,6 +6890,14 @@ type ClearDomainErrorsErrors = {
|
|
|
5697
6890
|
* Not found
|
|
5698
6891
|
*/
|
|
5699
6892
|
404: ErrorResponse;
|
|
6893
|
+
/**
|
|
6894
|
+
* Conflict
|
|
6895
|
+
*/
|
|
6896
|
+
409: ErrorResponse;
|
|
6897
|
+
/**
|
|
6898
|
+
* Payload too large
|
|
6899
|
+
*/
|
|
6900
|
+
413: ErrorResponse;
|
|
5700
6901
|
/**
|
|
5701
6902
|
* Rate limit exceeded
|
|
5702
6903
|
*/
|
|
@@ -5743,6 +6944,14 @@ type GetDomainErrorsErrors = {
|
|
|
5743
6944
|
* Not found
|
|
5744
6945
|
*/
|
|
5745
6946
|
404: ErrorResponse;
|
|
6947
|
+
/**
|
|
6948
|
+
* Conflict
|
|
6949
|
+
*/
|
|
6950
|
+
409: ErrorResponse;
|
|
6951
|
+
/**
|
|
6952
|
+
* Payload too large
|
|
6953
|
+
*/
|
|
6954
|
+
413: ErrorResponse;
|
|
5746
6955
|
/**
|
|
5747
6956
|
* Rate limit exceeded
|
|
5748
6957
|
*/
|
|
@@ -5803,10 +7012,23 @@ type ValidateCustomDomainData = {
|
|
|
5803
7012
|
type: 'string' | 'number' | 'boolean';
|
|
5804
7013
|
defaultValue?: string;
|
|
5805
7014
|
}>;
|
|
7015
|
+
requestTimeoutMs?: number;
|
|
7016
|
+
dropPaths?: Array<string>;
|
|
5806
7017
|
}>;
|
|
5807
7018
|
}>;
|
|
5808
7019
|
progressMessage?: string;
|
|
5809
7020
|
enabled?: boolean;
|
|
7021
|
+
toolStrategy?: 'required' | 'auto';
|
|
7022
|
+
maxToolTurns?: number;
|
|
7023
|
+
exclusive?: boolean;
|
|
7024
|
+
composerRenderHint?: 'card' | 'inline' | 'prose-only' | 'gallery';
|
|
7025
|
+
composerVerbosity?: 'terse' | 'standard' | 'detailed';
|
|
7026
|
+
composerPrivacy?: 'public' | 'sensitive';
|
|
7027
|
+
digestTemplate?: string;
|
|
7028
|
+
composerStreamingFields?: Array<string>;
|
|
7029
|
+
toolProgressMessages?: {
|
|
7030
|
+
[key: string]: string;
|
|
7031
|
+
};
|
|
5810
7032
|
id?: string;
|
|
5811
7033
|
skipLlmValidation?: boolean;
|
|
5812
7034
|
};
|
|
@@ -5833,6 +7055,14 @@ type ValidateCustomDomainErrors = {
|
|
|
5833
7055
|
* Not found
|
|
5834
7056
|
*/
|
|
5835
7057
|
404: ErrorResponse;
|
|
7058
|
+
/**
|
|
7059
|
+
* Conflict
|
|
7060
|
+
*/
|
|
7061
|
+
409: ErrorResponse;
|
|
7062
|
+
/**
|
|
7063
|
+
* Payload too large
|
|
7064
|
+
*/
|
|
7065
|
+
413: ErrorResponse;
|
|
5836
7066
|
/**
|
|
5837
7067
|
* Rate limit exceeded
|
|
5838
7068
|
*/
|
|
@@ -5893,10 +7123,23 @@ type TestDomainConnectionData = {
|
|
|
5893
7123
|
type: 'string' | 'number' | 'boolean';
|
|
5894
7124
|
defaultValue?: string;
|
|
5895
7125
|
}>;
|
|
7126
|
+
requestTimeoutMs?: number;
|
|
7127
|
+
dropPaths?: Array<string>;
|
|
5896
7128
|
}>;
|
|
5897
7129
|
}>;
|
|
5898
7130
|
progressMessage: string;
|
|
5899
7131
|
enabled?: boolean;
|
|
7132
|
+
toolStrategy?: 'required' | 'auto';
|
|
7133
|
+
maxToolTurns?: number;
|
|
7134
|
+
exclusive?: boolean;
|
|
7135
|
+
composerRenderHint?: 'card' | 'inline' | 'prose-only' | 'gallery';
|
|
7136
|
+
composerVerbosity?: 'terse' | 'standard' | 'detailed';
|
|
7137
|
+
composerPrivacy?: 'public' | 'sensitive';
|
|
7138
|
+
digestTemplate?: string;
|
|
7139
|
+
composerStreamingFields?: Array<string>;
|
|
7140
|
+
toolProgressMessages?: {
|
|
7141
|
+
[key: string]: string;
|
|
7142
|
+
};
|
|
5900
7143
|
};
|
|
5901
7144
|
testQueries: Array<string>;
|
|
5902
7145
|
};
|
|
@@ -5923,6 +7166,14 @@ type TestDomainConnectionErrors = {
|
|
|
5923
7166
|
* Not found
|
|
5924
7167
|
*/
|
|
5925
7168
|
404: ErrorResponse;
|
|
7169
|
+
/**
|
|
7170
|
+
* Conflict
|
|
7171
|
+
*/
|
|
7172
|
+
409: ErrorResponse;
|
|
7173
|
+
/**
|
|
7174
|
+
* Payload too large
|
|
7175
|
+
*/
|
|
7176
|
+
413: ErrorResponse;
|
|
5926
7177
|
/**
|
|
5927
7178
|
* Rate limit exceeded
|
|
5928
7179
|
*/
|
|
@@ -5967,6 +7218,14 @@ type GetWorkspaceDetailsErrors = {
|
|
|
5967
7218
|
* Not found
|
|
5968
7219
|
*/
|
|
5969
7220
|
404: ErrorResponse;
|
|
7221
|
+
/**
|
|
7222
|
+
* Conflict
|
|
7223
|
+
*/
|
|
7224
|
+
409: ErrorResponse;
|
|
7225
|
+
/**
|
|
7226
|
+
* Payload too large
|
|
7227
|
+
*/
|
|
7228
|
+
413: ErrorResponse;
|
|
5970
7229
|
/**
|
|
5971
7230
|
* Rate limit exceeded
|
|
5972
7231
|
*/
|
|
@@ -6016,6 +7275,14 @@ type DiscoverToolsErrors = {
|
|
|
6016
7275
|
* Not found
|
|
6017
7276
|
*/
|
|
6018
7277
|
404: ErrorResponse;
|
|
7278
|
+
/**
|
|
7279
|
+
* Conflict
|
|
7280
|
+
*/
|
|
7281
|
+
409: ErrorResponse;
|
|
7282
|
+
/**
|
|
7283
|
+
* Payload too large
|
|
7284
|
+
*/
|
|
7285
|
+
413: ErrorResponse;
|
|
6019
7286
|
/**
|
|
6020
7287
|
* Rate limit exceeded
|
|
6021
7288
|
*/
|
|
@@ -6067,6 +7334,14 @@ type GenerateDomainConfigErrors = {
|
|
|
6067
7334
|
* Not found
|
|
6068
7335
|
*/
|
|
6069
7336
|
404: ErrorResponse;
|
|
7337
|
+
/**
|
|
7338
|
+
* Conflict
|
|
7339
|
+
*/
|
|
7340
|
+
409: ErrorResponse;
|
|
7341
|
+
/**
|
|
7342
|
+
* Payload too large
|
|
7343
|
+
*/
|
|
7344
|
+
413: ErrorResponse;
|
|
6070
7345
|
/**
|
|
6071
7346
|
* Rate limit exceeded
|
|
6072
7347
|
*/
|
|
@@ -6111,6 +7386,14 @@ type GetDomainTemplatesErrors = {
|
|
|
6111
7386
|
* Not found
|
|
6112
7387
|
*/
|
|
6113
7388
|
404: ErrorResponse;
|
|
7389
|
+
/**
|
|
7390
|
+
* Conflict
|
|
7391
|
+
*/
|
|
7392
|
+
409: ErrorResponse;
|
|
7393
|
+
/**
|
|
7394
|
+
* Payload too large
|
|
7395
|
+
*/
|
|
7396
|
+
413: ErrorResponse;
|
|
6114
7397
|
/**
|
|
6115
7398
|
* Rate limit exceeded
|
|
6116
7399
|
*/
|
|
@@ -6155,6 +7438,14 @@ type DeprovisionErrors = {
|
|
|
6155
7438
|
* Not found
|
|
6156
7439
|
*/
|
|
6157
7440
|
404: ErrorResponse;
|
|
7441
|
+
/**
|
|
7442
|
+
* Conflict
|
|
7443
|
+
*/
|
|
7444
|
+
409: ErrorResponse;
|
|
7445
|
+
/**
|
|
7446
|
+
* Payload too large
|
|
7447
|
+
*/
|
|
7448
|
+
413: ErrorResponse;
|
|
6158
7449
|
/**
|
|
6159
7450
|
* Rate limit exceeded
|
|
6160
7451
|
*/
|
|
@@ -6195,6 +7486,14 @@ type ListApiKeysErrors = {
|
|
|
6195
7486
|
* Not found
|
|
6196
7487
|
*/
|
|
6197
7488
|
404: ErrorResponse;
|
|
7489
|
+
/**
|
|
7490
|
+
* Conflict
|
|
7491
|
+
*/
|
|
7492
|
+
409: ErrorResponse;
|
|
7493
|
+
/**
|
|
7494
|
+
* Payload too large
|
|
7495
|
+
*/
|
|
7496
|
+
413: ErrorResponse;
|
|
6198
7497
|
/**
|
|
6199
7498
|
* Rate limit exceeded
|
|
6200
7499
|
*/
|
|
@@ -6213,7 +7512,7 @@ type ListApiKeysResponses = {
|
|
|
6213
7512
|
[key: string]: unknown;
|
|
6214
7513
|
}>;
|
|
6215
7514
|
pagination: {
|
|
6216
|
-
total: number;
|
|
7515
|
+
total: number | null;
|
|
6217
7516
|
limit: number;
|
|
6218
7517
|
hasMore: boolean;
|
|
6219
7518
|
};
|
|
@@ -6244,6 +7543,14 @@ type CreateApiKeyErrors = {
|
|
|
6244
7543
|
* Not found
|
|
6245
7544
|
*/
|
|
6246
7545
|
404: ErrorResponse;
|
|
7546
|
+
/**
|
|
7547
|
+
* Conflict
|
|
7548
|
+
*/
|
|
7549
|
+
409: ErrorResponse;
|
|
7550
|
+
/**
|
|
7551
|
+
* Payload too large
|
|
7552
|
+
*/
|
|
7553
|
+
413: ErrorResponse;
|
|
6247
7554
|
/**
|
|
6248
7555
|
* Rate limit exceeded
|
|
6249
7556
|
*/
|
|
@@ -6286,6 +7593,14 @@ type RevokeApiKeyErrors = {
|
|
|
6286
7593
|
* Not found
|
|
6287
7594
|
*/
|
|
6288
7595
|
404: ErrorResponse;
|
|
7596
|
+
/**
|
|
7597
|
+
* Conflict
|
|
7598
|
+
*/
|
|
7599
|
+
409: ErrorResponse;
|
|
7600
|
+
/**
|
|
7601
|
+
* Payload too large
|
|
7602
|
+
*/
|
|
7603
|
+
413: ErrorResponse;
|
|
6289
7604
|
/**
|
|
6290
7605
|
* Rate limit exceeded
|
|
6291
7606
|
*/
|
|
@@ -6328,6 +7643,14 @@ type RotateApiKeyErrors = {
|
|
|
6328
7643
|
* Not found
|
|
6329
7644
|
*/
|
|
6330
7645
|
404: ErrorResponse;
|
|
7646
|
+
/**
|
|
7647
|
+
* Conflict
|
|
7648
|
+
*/
|
|
7649
|
+
409: ErrorResponse;
|
|
7650
|
+
/**
|
|
7651
|
+
* Payload too large
|
|
7652
|
+
*/
|
|
7653
|
+
413: ErrorResponse;
|
|
6331
7654
|
/**
|
|
6332
7655
|
* Rate limit exceeded
|
|
6333
7656
|
*/
|
|
@@ -6368,6 +7691,14 @@ type ProvisionShopifyErrors = {
|
|
|
6368
7691
|
* Not found
|
|
6369
7692
|
*/
|
|
6370
7693
|
404: ErrorResponse;
|
|
7694
|
+
/**
|
|
7695
|
+
* Conflict
|
|
7696
|
+
*/
|
|
7697
|
+
409: ErrorResponse;
|
|
7698
|
+
/**
|
|
7699
|
+
* Payload too large
|
|
7700
|
+
*/
|
|
7701
|
+
413: ErrorResponse;
|
|
6371
7702
|
/**
|
|
6372
7703
|
* Rate limit exceeded
|
|
6373
7704
|
*/
|
|
@@ -6418,6 +7749,14 @@ type AdminDeleteTenantErrors = {
|
|
|
6418
7749
|
* Not found
|
|
6419
7750
|
*/
|
|
6420
7751
|
404: ErrorResponse;
|
|
7752
|
+
/**
|
|
7753
|
+
* Conflict
|
|
7754
|
+
*/
|
|
7755
|
+
409: ErrorResponse;
|
|
7756
|
+
/**
|
|
7757
|
+
* Payload too large
|
|
7758
|
+
*/
|
|
7759
|
+
413: ErrorResponse;
|
|
6421
7760
|
/**
|
|
6422
7761
|
* Rate limit exceeded
|
|
6423
7762
|
*/
|
|
@@ -6492,6 +7831,14 @@ type AdminGetTenantErrors = {
|
|
|
6492
7831
|
* Not found
|
|
6493
7832
|
*/
|
|
6494
7833
|
404: ErrorResponse;
|
|
7834
|
+
/**
|
|
7835
|
+
* Conflict
|
|
7836
|
+
*/
|
|
7837
|
+
409: ErrorResponse;
|
|
7838
|
+
/**
|
|
7839
|
+
* Payload too large
|
|
7840
|
+
*/
|
|
7841
|
+
413: ErrorResponse;
|
|
6495
7842
|
/**
|
|
6496
7843
|
* Rate limit exceeded
|
|
6497
7844
|
*/
|
|
@@ -6534,6 +7881,14 @@ type AdminFindByEmailErrors = {
|
|
|
6534
7881
|
* Not found
|
|
6535
7882
|
*/
|
|
6536
7883
|
404: ErrorResponse;
|
|
7884
|
+
/**
|
|
7885
|
+
* Conflict
|
|
7886
|
+
*/
|
|
7887
|
+
409: ErrorResponse;
|
|
7888
|
+
/**
|
|
7889
|
+
* Payload too large
|
|
7890
|
+
*/
|
|
7891
|
+
413: ErrorResponse;
|
|
6537
7892
|
/**
|
|
6538
7893
|
* Rate limit exceeded
|
|
6539
7894
|
*/
|
|
@@ -6560,7 +7915,7 @@ type AdminFindByEmailResponses = {
|
|
|
6560
7915
|
platform?: string;
|
|
6561
7916
|
}>;
|
|
6562
7917
|
pagination: {
|
|
6563
|
-
total: number;
|
|
7918
|
+
total: number | null;
|
|
6564
7919
|
limit: number;
|
|
6565
7920
|
hasMore: boolean;
|
|
6566
7921
|
};
|
|
@@ -6593,6 +7948,14 @@ type AdminFindByOwnerErrors = {
|
|
|
6593
7948
|
* Not found
|
|
6594
7949
|
*/
|
|
6595
7950
|
404: ErrorResponse;
|
|
7951
|
+
/**
|
|
7952
|
+
* Conflict
|
|
7953
|
+
*/
|
|
7954
|
+
409: ErrorResponse;
|
|
7955
|
+
/**
|
|
7956
|
+
* Payload too large
|
|
7957
|
+
*/
|
|
7958
|
+
413: ErrorResponse;
|
|
6596
7959
|
/**
|
|
6597
7960
|
* Rate limit exceeded
|
|
6598
7961
|
*/
|
|
@@ -6616,7 +7979,7 @@ type AdminFindByOwnerResponses = {
|
|
|
6616
7979
|
createdAt: string;
|
|
6617
7980
|
}>;
|
|
6618
7981
|
pagination: {
|
|
6619
|
-
total: number;
|
|
7982
|
+
total: number | null;
|
|
6620
7983
|
limit: number;
|
|
6621
7984
|
hasMore: boolean;
|
|
6622
7985
|
};
|
|
@@ -6649,6 +8012,14 @@ type AdminClaimTenantErrors = {
|
|
|
6649
8012
|
* Not found
|
|
6650
8013
|
*/
|
|
6651
8014
|
404: ErrorResponse;
|
|
8015
|
+
/**
|
|
8016
|
+
* Conflict
|
|
8017
|
+
*/
|
|
8018
|
+
409: ErrorResponse;
|
|
8019
|
+
/**
|
|
8020
|
+
* Payload too large
|
|
8021
|
+
*/
|
|
8022
|
+
413: ErrorResponse;
|
|
6652
8023
|
/**
|
|
6653
8024
|
* Rate limit exceeded
|
|
6654
8025
|
*/
|
|
@@ -6701,6 +8072,14 @@ type AdminUpdateOwnerEmailErrors = {
|
|
|
6701
8072
|
* Not found
|
|
6702
8073
|
*/
|
|
6703
8074
|
404: ErrorResponse;
|
|
8075
|
+
/**
|
|
8076
|
+
* Conflict
|
|
8077
|
+
*/
|
|
8078
|
+
409: ErrorResponse;
|
|
8079
|
+
/**
|
|
8080
|
+
* Payload too large
|
|
8081
|
+
*/
|
|
8082
|
+
413: ErrorResponse;
|
|
6704
8083
|
/**
|
|
6705
8084
|
* Rate limit exceeded
|
|
6706
8085
|
*/
|
|
@@ -6747,6 +8126,14 @@ type AdminUpdateSubscriptionErrors = {
|
|
|
6747
8126
|
* Not found
|
|
6748
8127
|
*/
|
|
6749
8128
|
404: ErrorResponse;
|
|
8129
|
+
/**
|
|
8130
|
+
* Conflict
|
|
8131
|
+
*/
|
|
8132
|
+
409: ErrorResponse;
|
|
8133
|
+
/**
|
|
8134
|
+
* Payload too large
|
|
8135
|
+
*/
|
|
8136
|
+
413: ErrorResponse;
|
|
6750
8137
|
/**
|
|
6751
8138
|
* Rate limit exceeded
|
|
6752
8139
|
*/
|
|
@@ -6791,6 +8178,14 @@ type AdminReactivateTenantErrors = {
|
|
|
6791
8178
|
* Not found
|
|
6792
8179
|
*/
|
|
6793
8180
|
404: ErrorResponse;
|
|
8181
|
+
/**
|
|
8182
|
+
* Conflict
|
|
8183
|
+
*/
|
|
8184
|
+
409: ErrorResponse;
|
|
8185
|
+
/**
|
|
8186
|
+
* Payload too large
|
|
8187
|
+
*/
|
|
8188
|
+
413: ErrorResponse;
|
|
6794
8189
|
/**
|
|
6795
8190
|
* Rate limit exceeded
|
|
6796
8191
|
*/
|
|
@@ -6869,6 +8264,14 @@ type AdminGetUsageErrors = {
|
|
|
6869
8264
|
* Not found
|
|
6870
8265
|
*/
|
|
6871
8266
|
404: ErrorResponse;
|
|
8267
|
+
/**
|
|
8268
|
+
* Conflict
|
|
8269
|
+
*/
|
|
8270
|
+
409: ErrorResponse;
|
|
8271
|
+
/**
|
|
8272
|
+
* Payload too large
|
|
8273
|
+
*/
|
|
8274
|
+
413: ErrorResponse;
|
|
6872
8275
|
/**
|
|
6873
8276
|
* Rate limit exceeded
|
|
6874
8277
|
*/
|
|
@@ -6950,6 +8353,14 @@ type AdminUpdateUsageErrors = {
|
|
|
6950
8353
|
* Not found
|
|
6951
8354
|
*/
|
|
6952
8355
|
404: ErrorResponse;
|
|
8356
|
+
/**
|
|
8357
|
+
* Conflict
|
|
8358
|
+
*/
|
|
8359
|
+
409: ErrorResponse;
|
|
8360
|
+
/**
|
|
8361
|
+
* Payload too large
|
|
8362
|
+
*/
|
|
8363
|
+
413: ErrorResponse;
|
|
6953
8364
|
/**
|
|
6954
8365
|
* Rate limit exceeded
|
|
6955
8366
|
*/
|
|
@@ -6997,6 +8408,14 @@ type AdminUpdateTierErrors = {
|
|
|
6997
8408
|
* Not found
|
|
6998
8409
|
*/
|
|
6999
8410
|
404: ErrorResponse;
|
|
8411
|
+
/**
|
|
8412
|
+
* Conflict
|
|
8413
|
+
*/
|
|
8414
|
+
409: ErrorResponse;
|
|
8415
|
+
/**
|
|
8416
|
+
* Payload too large
|
|
8417
|
+
*/
|
|
8418
|
+
413: ErrorResponse;
|
|
7000
8419
|
/**
|
|
7001
8420
|
* Rate limit exceeded
|
|
7002
8421
|
*/
|
|
@@ -7044,6 +8463,14 @@ type AdminResetCrawlsErrors = {
|
|
|
7044
8463
|
* Not found
|
|
7045
8464
|
*/
|
|
7046
8465
|
404: ErrorResponse;
|
|
8466
|
+
/**
|
|
8467
|
+
* Conflict
|
|
8468
|
+
*/
|
|
8469
|
+
409: ErrorResponse;
|
|
8470
|
+
/**
|
|
8471
|
+
* Payload too large
|
|
8472
|
+
*/
|
|
8473
|
+
413: ErrorResponse;
|
|
7047
8474
|
/**
|
|
7048
8475
|
* Rate limit exceeded
|
|
7049
8476
|
*/
|
|
@@ -7063,12 +8490,108 @@ type AdminResetCrawlsResponses = {
|
|
|
7063
8490
|
};
|
|
7064
8491
|
};
|
|
7065
8492
|
type AdminResetCrawlsResponse = AdminResetCrawlsResponses[keyof AdminResetCrawlsResponses];
|
|
8493
|
+
type ComplianceCustomerRedactData = {
|
|
8494
|
+
body?: CustomerRedactRequest;
|
|
8495
|
+
path?: never;
|
|
8496
|
+
query?: never;
|
|
8497
|
+
url: '/compliance/customer-redact';
|
|
8498
|
+
};
|
|
8499
|
+
type ComplianceCustomerRedactErrors = {
|
|
8500
|
+
/**
|
|
8501
|
+
* Validation error
|
|
8502
|
+
*/
|
|
8503
|
+
400: ErrorResponse;
|
|
8504
|
+
/**
|
|
8505
|
+
* Unauthorized
|
|
8506
|
+
*/
|
|
8507
|
+
401: ErrorResponse;
|
|
8508
|
+
/**
|
|
8509
|
+
* Forbidden
|
|
8510
|
+
*/
|
|
8511
|
+
403: ErrorResponse;
|
|
8512
|
+
/**
|
|
8513
|
+
* Not found
|
|
8514
|
+
*/
|
|
8515
|
+
404: ErrorResponse;
|
|
8516
|
+
/**
|
|
8517
|
+
* Conflict
|
|
8518
|
+
*/
|
|
8519
|
+
409: ErrorResponse;
|
|
8520
|
+
/**
|
|
8521
|
+
* Payload too large
|
|
8522
|
+
*/
|
|
8523
|
+
413: ErrorResponse;
|
|
8524
|
+
/**
|
|
8525
|
+
* Rate limit exceeded
|
|
8526
|
+
*/
|
|
8527
|
+
429: ErrorResponse;
|
|
8528
|
+
};
|
|
8529
|
+
type ComplianceCustomerRedactError = ComplianceCustomerRedactErrors[keyof ComplianceCustomerRedactErrors];
|
|
8530
|
+
type ComplianceCustomerRedactResponses = {
|
|
8531
|
+
/**
|
|
8532
|
+
* Redaction queued (async task submitted)
|
|
8533
|
+
*/
|
|
8534
|
+
200: {
|
|
8535
|
+
object: 'compliance_request';
|
|
8536
|
+
requestId: string;
|
|
8537
|
+
data: ComplianceAuditResponse;
|
|
8538
|
+
};
|
|
8539
|
+
};
|
|
8540
|
+
type ComplianceCustomerRedactResponse = ComplianceCustomerRedactResponses[keyof ComplianceCustomerRedactResponses];
|
|
8541
|
+
type ComplianceCustomerDataRequestData = {
|
|
8542
|
+
body?: CustomerDataRequest;
|
|
8543
|
+
path?: never;
|
|
8544
|
+
query?: never;
|
|
8545
|
+
url: '/compliance/customer-data-request';
|
|
8546
|
+
};
|
|
8547
|
+
type ComplianceCustomerDataRequestErrors = {
|
|
8548
|
+
/**
|
|
8549
|
+
* Validation error
|
|
8550
|
+
*/
|
|
8551
|
+
400: ErrorResponse;
|
|
8552
|
+
/**
|
|
8553
|
+
* Unauthorized
|
|
8554
|
+
*/
|
|
8555
|
+
401: ErrorResponse;
|
|
8556
|
+
/**
|
|
8557
|
+
* Forbidden
|
|
8558
|
+
*/
|
|
8559
|
+
403: ErrorResponse;
|
|
8560
|
+
/**
|
|
8561
|
+
* Not found
|
|
8562
|
+
*/
|
|
8563
|
+
404: ErrorResponse;
|
|
8564
|
+
/**
|
|
8565
|
+
* Conflict
|
|
8566
|
+
*/
|
|
8567
|
+
409: ErrorResponse;
|
|
8568
|
+
/**
|
|
8569
|
+
* Payload too large
|
|
8570
|
+
*/
|
|
8571
|
+
413: ErrorResponse;
|
|
8572
|
+
/**
|
|
8573
|
+
* Rate limit exceeded
|
|
8574
|
+
*/
|
|
8575
|
+
429: ErrorResponse;
|
|
8576
|
+
};
|
|
8577
|
+
type ComplianceCustomerDataRequestError = ComplianceCustomerDataRequestErrors[keyof ComplianceCustomerDataRequestErrors];
|
|
8578
|
+
type ComplianceCustomerDataRequestResponses = {
|
|
8579
|
+
/**
|
|
8580
|
+
* Data request recorded — ops team notified
|
|
8581
|
+
*/
|
|
8582
|
+
200: {
|
|
8583
|
+
object: 'compliance_request';
|
|
8584
|
+
requestId: string;
|
|
8585
|
+
data: ComplianceAuditResponse;
|
|
8586
|
+
};
|
|
8587
|
+
};
|
|
8588
|
+
type ComplianceCustomerDataRequestResponse = ComplianceCustomerDataRequestResponses[keyof ComplianceCustomerDataRequestResponses];
|
|
7066
8589
|
//#endregion
|
|
7067
8590
|
//#region src/generated/client.gen.d.ts
|
|
7068
8591
|
declare const client: Client;
|
|
7069
8592
|
//#endregion
|
|
7070
8593
|
//#region src/generated/sdk.gen.d.ts
|
|
7071
|
-
type Options$1<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = Options<TData, ThrowOnError> & {
|
|
8594
|
+
type Options$1<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean, TResponse = unknown> = Options<TData, ThrowOnError, TResponse> & {
|
|
7072
8595
|
/**
|
|
7073
8596
|
* You can provide a client instance returned by `createClient()` instead of
|
|
7074
8597
|
* individual options. This might be also useful if you want to implement a
|
|
@@ -7084,13 +8607,13 @@ type Options$1<TData extends TDataShape = TDataShape, ThrowOnError extends boole
|
|
|
7084
8607
|
/**
|
|
7085
8608
|
* Send a chat message
|
|
7086
8609
|
*
|
|
7087
|
-
* Send a message and
|
|
8610
|
+
* Send a visitor message through the full multi-agent pipeline: triage classifies intent, query agents retrieve grounded context from the product / post indexes (plus any custom domain agents), and response agents synthesise a grounded answer with product cards or cited content. The response is streamed as NDJSON when `stream: true` (each line is one of `{ type: "token", ... }`, `{ type: "product", ... }`, `{ type: "done" }`), or returned as a single JSON object when `stream: false`. Pass `threadId` to continue a conversation (memories and prior turns are loaded); omit it for a fresh one. Respects the workspace's active persona / system-prompt configuration.
|
|
7088
8611
|
*/
|
|
7089
8612
|
declare const chat: <ThrowOnError extends boolean = false>(options?: Options$1<ChatData, ThrowOnError>) => RequestResult<ChatResponses, ChatErrors, ThrowOnError, "fields">;
|
|
7090
8613
|
/**
|
|
7091
8614
|
* Start a website crawl
|
|
7092
8615
|
*
|
|
7093
|
-
*
|
|
8616
|
+
* Enqueue a crawl of the given root URL for the workspace in `X-Workspace-ID`. The crawler discovers pages via sitemap + link graph, classifies each page (product, product listing, or general content), and indexes products into `savanto-products` and content into `savanto-posts`. This call is asynchronous and returns immediately with a `crawlId`; poll `GET /crawl/{crawlId}/status` to track progress or subscribe to the email notification endpoint to be pinged when it completes. Starting a new crawl while one is already running for the same workspace will be rejected with 409 — cancel the running one first.
|
|
7094
8617
|
*/
|
|
7095
8618
|
declare const startCrawl: <ThrowOnError extends boolean = false>(options?: Options$1<StartCrawlData, ThrowOnError>) => RequestResult<StartCrawlResponses, StartCrawlErrors, ThrowOnError, "fields">;
|
|
7096
8619
|
/**
|
|
@@ -7102,25 +8625,25 @@ declare const scrapeSinglePage: <ThrowOnError extends boolean = false>(options?:
|
|
|
7102
8625
|
/**
|
|
7103
8626
|
* Get crawl configuration
|
|
7104
8627
|
*
|
|
7105
|
-
*
|
|
8628
|
+
* Return the persisted crawl configuration for the workspace (strategy, schedule, include / exclude URL patterns, max-pages budget, user-agent override). Use before a crawl to verify the active rules, or before an `update_crawl_config` call to preserve fields you are not changing.
|
|
7106
8629
|
*/
|
|
7107
8630
|
declare const getCrawlConfig: <ThrowOnError extends boolean = false>(options?: Options$1<GetCrawlConfigData, ThrowOnError>) => RequestResult<GetCrawlConfigResponses, GetCrawlConfigErrors, ThrowOnError, "fields">;
|
|
7108
8631
|
/**
|
|
7109
8632
|
* Update crawl configuration
|
|
7110
8633
|
*
|
|
7111
|
-
*
|
|
8634
|
+
* Replace the crawl configuration for the workspace. Common fields: `strategy` (`full` reindexes everything, `smart` skips pages whose content hash matches the previous crawl), `schedule` (cron-like), `includePatterns` / `excludePatterns` (glob URL filters), `maxPages` (safety cap). Omitted fields are set to their defaults — if you only want to tweak one setting, `GET /crawl/config` first and merge. Changes take effect on the next crawl run.
|
|
7112
8635
|
*/
|
|
7113
8636
|
declare const updateCrawlConfig: <ThrowOnError extends boolean = false>(options?: Options$1<UpdateCrawlConfigData, ThrowOnError>) => RequestResult<UpdateCrawlConfigResponses, UpdateCrawlConfigErrors, ThrowOnError, "fields">;
|
|
7114
8637
|
/**
|
|
7115
8638
|
* Get crawl history
|
|
7116
8639
|
*
|
|
7117
|
-
*
|
|
8640
|
+
* Return a list of recent crawls for the tenant (or the workspace when `X-Workspace-ID` is set), newest first. Each entry has its final status (`completed`, `failed`, `cancelled`), page counts, duration, and any error summary — useful for diagnosing why a site's content is stale.
|
|
7118
8641
|
*/
|
|
7119
8642
|
declare const getCrawlHistory: <ThrowOnError extends boolean = false>(options?: Options$1<GetCrawlHistoryData, ThrowOnError>) => RequestResult<GetCrawlHistoryResponses, GetCrawlHistoryErrors, ThrowOnError, "fields">;
|
|
7120
8643
|
/**
|
|
7121
8644
|
* Get crawl status
|
|
7122
8645
|
*
|
|
7123
|
-
*
|
|
8646
|
+
* Return live status for a specific crawl id: `status` (`running`, `completed`, `failed`, `cancelled`), pages discovered / indexed / skipped / failed, elapsed time, and the current URL being processed. Poll every 3–10 seconds while `running`; stop polling once status is terminal. Returns 404 if the crawl id does not belong to the caller's tenant.
|
|
7124
8647
|
*/
|
|
7125
8648
|
declare const getCrawlStatus: <ThrowOnError extends boolean = false>(options: Options$1<GetCrawlStatusData, ThrowOnError>) => RequestResult<GetCrawlStatusResponses, GetCrawlStatusErrors, ThrowOnError, "fields">;
|
|
7126
8649
|
/**
|
|
@@ -7129,6 +8652,12 @@ declare const getCrawlStatus: <ThrowOnError extends boolean = false>(options: Op
|
|
|
7129
8652
|
* Cancel a crawl that is currently in progress.
|
|
7130
8653
|
*/
|
|
7131
8654
|
declare const cancelCrawl: <ThrowOnError extends boolean = false>(options: Options$1<CancelCrawlData, ThrowOnError>) => RequestResult<CancelCrawlResponses, CancelCrawlErrors, ThrowOnError, "fields">;
|
|
8655
|
+
/**
|
|
8656
|
+
* Enroll for a crawl-complete email
|
|
8657
|
+
*
|
|
8658
|
+
* Requests an email notification when this crawl reaches a terminal state (completed or failed). Intended for the dashboard "continue onboarding, email me when done" CTA. Rejects crawls that have already finished. **Admin-only endpoint.** The `email` in the body is treated as opaque and persisted verbatim; the cloud API does NOT authenticate ownership of that address. Callers holding the admin bearer are trusted to have derived the recipient from an authoritative source (e.g. the signed-in user session on the Next.js proxy). Do NOT expose this route via license-key / public scopes.
|
|
8659
|
+
*/
|
|
8660
|
+
declare const enrollCrawlNotification: <ThrowOnError extends boolean = false>(options: Options$1<EnrollCrawlNotificationData, ThrowOnError>) => RequestResult<EnrollCrawlNotificationResponses, EnrollCrawlNotificationErrors, ThrowOnError, "fields">;
|
|
7132
8661
|
/**
|
|
7133
8662
|
* Scrape or delete a single page
|
|
7134
8663
|
*
|
|
@@ -7144,7 +8673,7 @@ declare const listProducts: <ThrowOnError extends boolean = false>(options?: Opt
|
|
|
7144
8673
|
/**
|
|
7145
8674
|
* Upsert a product
|
|
7146
8675
|
*
|
|
7147
|
-
* Create or update
|
|
8676
|
+
* Create a new product or update the existing one whose `externalId` matches the body. Embeddings for the product's searchable text are generated and persisted as part of the call, so the product becomes searchable immediately after a successful response. Required fields: `externalId`, `name`. Optional: `description`, `price` (in cents), `priceMin` / `priceMax`, `stockStatus` (`in_stock` | `out_of_stock` | `limited`), `images` (array of URLs), `brand`, `category`, `attributes` (key/value). Workspaces with native Shopify / WooCommerce sync should normally rely on the plugin rather than calling this endpoint directly. Idempotent on `externalId`.
|
|
7148
8677
|
*/
|
|
7149
8678
|
declare const upsertProduct: <ThrowOnError extends boolean = false>(options?: Options$1<UpsertProductData, ThrowOnError>) => RequestResult<UpsertProductResponses, UpsertProductErrors, ThrowOnError, "fields">;
|
|
7150
8679
|
/**
|
|
@@ -7162,7 +8691,7 @@ declare const bulkUpsertProducts: <ThrowOnError extends boolean = false>(options
|
|
|
7162
8691
|
/**
|
|
7163
8692
|
* Search products
|
|
7164
8693
|
*
|
|
7165
|
-
*
|
|
8694
|
+
* Hybrid (BM25 + k-NN vector) search across the workspace's product catalog. Pass a natural-language `query` — the backend expands and filters it with an agent when that improves recall. Optional `filters` support `priceMin` / `priceMax`, `stockStatus`, `brand`, `category`, and arbitrary `attributes` equality. Optional `facets` returns aggregate counts for the requested fields. Use for "find X" style requests; use the chat endpoint instead if you want a conversational answer that cites the products.
|
|
7166
8695
|
*/
|
|
7167
8696
|
declare const searchProducts: <ThrowOnError extends boolean = false>(options?: Options$1<SearchProductsData, ThrowOnError>) => RequestResult<SearchProductsResponses, SearchProductsErrors, ThrowOnError, "fields">;
|
|
7168
8697
|
/**
|
|
@@ -7198,7 +8727,7 @@ declare const patchProduct: <ThrowOnError extends boolean = false>(options: Opti
|
|
|
7198
8727
|
/**
|
|
7199
8728
|
* Upsert a post
|
|
7200
8729
|
*
|
|
7201
|
-
* Create or update
|
|
8730
|
+
* Create a new post / knowledge article or update the existing one whose `externalId` matches the body. Embeddings are generated synchronously so the post is immediately retrievable by chat and search. Required: `externalId`, `title`, `content` (markdown or plain text). Optional: `author`, `publishedAt` (ISO 8601), `url`, `tags`, `category`. Use this for help-center articles, FAQ entries, or arbitrary brand content that should be answerable via chat. For bulk backfills prefer `POST /posts/bulk`. Idempotent on `externalId`.
|
|
7202
8731
|
*/
|
|
7203
8732
|
declare const upsertPost: <ThrowOnError extends boolean = false>(options?: Options$1<UpsertPostData, ThrowOnError>) => RequestResult<UpsertPostResponses, UpsertPostErrors, ThrowOnError, "fields">;
|
|
7204
8733
|
/**
|
|
@@ -7216,7 +8745,7 @@ declare const bulkUpsertPosts: <ThrowOnError extends boolean = false>(options?:
|
|
|
7216
8745
|
/**
|
|
7217
8746
|
* Search posts
|
|
7218
8747
|
*
|
|
7219
|
-
*
|
|
8748
|
+
* Hybrid semantic + lexical search across the workspace's indexed posts / knowledge articles. Pass a natural-language `query`; the response returns the top-matching posts with excerpts, scores, and URLs. Use when you need raw passages to feed another agent; use the chat endpoint when you want a cited, synthesised answer rather than a list of hits.
|
|
7220
8749
|
*/
|
|
7221
8750
|
declare const searchPosts: <ThrowOnError extends boolean = false>(options?: Options$1<SearchPostsData, ThrowOnError>) => RequestResult<SearchPostsResponses, SearchPostsErrors, ThrowOnError, "fields">;
|
|
7222
8751
|
/**
|
|
@@ -7511,12 +9040,20 @@ declare const deleteTenant: <ThrowOnError extends boolean = false>(options: Opti
|
|
|
7511
9040
|
* Validate API key and retrieve tenant account information including tier, publishable key, and JWT secret.
|
|
7512
9041
|
*/
|
|
7513
9042
|
declare const getTenantStatus: <ThrowOnError extends boolean = false>(options?: Options$1<GetTenantStatusData, ThrowOnError>) => RequestResult<GetTenantStatusResponses, GetTenantStatusErrors, ThrowOnError, "fields">;
|
|
9043
|
+
/**
|
|
9044
|
+
* Identity probe (tenant, scopes, key type)
|
|
9045
|
+
*
|
|
9046
|
+
* Return the tenant ID, tier, API key ID, key type, and scope list for the current caller. Designed for agent / MCP bootstrapping so clients can decide which operations are available before issuing them. Does NOT return any secret material.
|
|
9047
|
+
*/
|
|
9048
|
+
declare const getTenantWhoami: <ThrowOnError extends boolean = false>(options?: Options$1<GetTenantWhoamiData, ThrowOnError>) => RequestResult<GetTenantWhoamiResponses, GetTenantWhoamiErrors, ThrowOnError, "fields">;
|
|
7514
9049
|
/**
|
|
7515
9050
|
* Update tenant feature flags
|
|
7516
9051
|
*/
|
|
7517
9052
|
declare const updateTenantFeatures: <ThrowOnError extends boolean = false>(options?: Options$1<UpdateTenantFeaturesData, ThrowOnError>) => RequestResult<UpdateTenantFeaturesResponses, UpdateTenantFeaturesErrors, ThrowOnError, "fields">;
|
|
7518
9053
|
/**
|
|
7519
9054
|
* Get usage summary
|
|
9055
|
+
*
|
|
9056
|
+
* Return the authenticated tenant's current-period usage against plan limits: chat messages sent, products indexed, posts indexed, crawl pages processed, and the dates of the billing window. Use for quota-aware UX or to warn a user that the next operation would trip an overage.
|
|
7520
9057
|
*/
|
|
7521
9058
|
declare const getTenantUsage: <ThrowOnError extends boolean = false>(options?: Options$1<GetTenantUsageData, ThrowOnError>) => RequestResult<GetTenantUsageResponses, GetTenantUsageErrors, ThrowOnError, "fields">;
|
|
7522
9059
|
/**
|
|
@@ -7526,21 +9063,25 @@ declare const getTenantUsageHistory: <ThrowOnError extends boolean = false>(opti
|
|
|
7526
9063
|
/**
|
|
7527
9064
|
* List workspaces
|
|
7528
9065
|
*
|
|
7529
|
-
*
|
|
9066
|
+
* Return every workspace owned by the authenticated tenant, with each workspace's id, name, platform (wordpress | shopify | custom | none), and domain. Use this before calling any workspace-scoped endpoint (crawl, products, posts, chat) to discover the correct `workspaceId` to pass via the `X-Workspace-ID` header. Always cheap and safe to call repeatedly.
|
|
7530
9067
|
*/
|
|
7531
9068
|
declare const listTenantWorkspaces: <ThrowOnError extends boolean = false>(options?: Options$1<ListTenantWorkspacesData, ThrowOnError>) => RequestResult<ListTenantWorkspacesResponses, ListTenantWorkspacesErrors, ThrowOnError, "fields">;
|
|
7532
9069
|
/**
|
|
7533
9070
|
* Create a workspace
|
|
7534
9071
|
*
|
|
7535
|
-
* Create a new workspace under the authenticated tenant.
|
|
9072
|
+
* Create a new workspace (a distinct site / storefront) under the authenticated tenant. Returns the workspace id you will pass as `X-Workspace-ID` on every subsequent content, crawl, and chat request. Typical onboarding flow: create → (optionally set platform) → start crawl → ingest products/posts. Creation does NOT enqueue a crawl — call `POST /crawl` separately.
|
|
7536
9073
|
*/
|
|
7537
9074
|
declare const createTenantWorkspace: <ThrowOnError extends boolean = false>(options?: Options$1<CreateTenantWorkspaceData, ThrowOnError>) => RequestResult<CreateTenantWorkspaceResponses, CreateTenantWorkspaceErrors, ThrowOnError, "fields">;
|
|
7538
9075
|
/**
|
|
7539
9076
|
* Delete a workspace
|
|
9077
|
+
*
|
|
9078
|
+
* Permanently delete a workspace and every document indexed under it (products, posts, taxonomies, chat threads, crawl history). This is NOT recoverable — prefer `POST /workspaces` to create a new one rather than delete + recreate for routine cleanup. Returns 404 if the id does not belong to the caller's tenant.
|
|
7540
9079
|
*/
|
|
7541
9080
|
declare const deleteWorkspace: <ThrowOnError extends boolean = false>(options: Options$1<DeleteWorkspaceData, ThrowOnError>) => RequestResult<DeleteWorkspaceResponses, DeleteWorkspaceErrors, ThrowOnError, "fields">;
|
|
7542
9081
|
/**
|
|
7543
9082
|
* Update a workspace
|
|
9083
|
+
*
|
|
9084
|
+
* Patch name, platform, or metadata on an existing workspace. Accepts a partial body; omitted fields are left untouched. Changing `platform` from `none` to `wordpress` / `shopify` signals the ingestion pipeline to prefer native sync over crawl-derived content on subsequent operations.
|
|
7544
9085
|
*/
|
|
7545
9086
|
declare const updateWorkspace: <ThrowOnError extends boolean = false>(options: Options$1<UpdateWorkspaceData, ThrowOnError>) => RequestResult<UpdateWorkspaceResponses, UpdateWorkspaceErrors, ThrowOnError, "fields">;
|
|
7546
9087
|
/**
|
|
@@ -7671,6 +9212,8 @@ declare const validateCustomDomain: <ThrowOnError extends boolean = false>(optio
|
|
|
7671
9212
|
declare const testDomainConnection: <ThrowOnError extends boolean = false>(options: Options$1<TestDomainConnectionData, ThrowOnError>) => RequestResult<TestDomainConnectionResponses, TestDomainConnectionErrors, ThrowOnError, "fields">;
|
|
7672
9213
|
/**
|
|
7673
9214
|
* Get workspace details
|
|
9215
|
+
*
|
|
9216
|
+
* Return the full configuration for a workspace: platform, domain, crawl config, widget settings, chat persona, live-agent handoff, custom domains, and document counts. Preferred read for agent bootstrap because it returns every knob in one call.
|
|
7674
9217
|
*/
|
|
7675
9218
|
declare const getWorkspaceDetails: <ThrowOnError extends boolean = false>(options: Options$1<GetWorkspaceDetailsData, ThrowOnError>) => RequestResult<GetWorkspaceDetailsResponses, GetWorkspaceDetailsErrors, ThrowOnError, "fields">;
|
|
7676
9219
|
/**
|
|
@@ -7769,6 +9312,18 @@ declare const adminUpdateTier: <ThrowOnError extends boolean = false>(options: O
|
|
|
7769
9312
|
* Reset a tenant's crawl records for the current month
|
|
7770
9313
|
*/
|
|
7771
9314
|
declare const adminResetCrawls: <ThrowOnError extends boolean = false>(options: Options$1<AdminResetCrawlsData, ThrowOnError>) => RequestResult<AdminResetCrawlsResponses, AdminResetCrawlsErrors, ThrowOnError, "fields">;
|
|
9315
|
+
/**
|
|
9316
|
+
* Redact a customer across all stored PII
|
|
9317
|
+
*
|
|
9318
|
+
* Hard-deletes every thread document and memory document within the caller tenant that matches the supplied customer identifiers. Runs as async OpenSearch tasks; the response contains task IDs for reconciliation. Idempotent when `caller.externalId` is supplied.
|
|
9319
|
+
*/
|
|
9320
|
+
declare const complianceCustomerRedact: <ThrowOnError extends boolean = false>(options?: Options$1<ComplianceCustomerRedactData, ThrowOnError>) => RequestResult<ComplianceCustomerRedactResponses, ComplianceCustomerRedactErrors, ThrowOnError, "fields">;
|
|
9321
|
+
/**
|
|
9322
|
+
* Record a customer data-export request
|
|
9323
|
+
*
|
|
9324
|
+
* Queues a customer data-export request and notifies ops to fulfill it within Shopify's 30-day SLA. Idempotent when `caller.externalId` is supplied.
|
|
9325
|
+
*/
|
|
9326
|
+
declare const complianceCustomerDataRequest: <ThrowOnError extends boolean = false>(options?: Options$1<ComplianceCustomerDataRequestData, ThrowOnError>) => RequestResult<ComplianceCustomerDataRequestResponses, ComplianceCustomerDataRequestErrors, ThrowOnError, "fields">;
|
|
7772
9327
|
//#endregion
|
|
7773
9328
|
//#region src/util.d.ts
|
|
7774
9329
|
/**
|
|
@@ -7781,5 +9336,5 @@ declare const adminResetCrawls: <ThrowOnError extends boolean = false>(options:
|
|
|
7781
9336
|
*/
|
|
7782
9337
|
declare function workspaceIdFromUrl(url: string): string;
|
|
7783
9338
|
//#endregion
|
|
7784
|
-
export { AdminClaimTenantData, AdminClaimTenantError, AdminClaimTenantErrors, AdminClaimTenantRequest, AdminClaimTenantResponse, AdminClaimTenantResponses, AdminDeleteTenantData, AdminDeleteTenantError, AdminDeleteTenantErrors, AdminDeleteTenantResponse, AdminDeleteTenantResponses, AdminFindByEmailData, AdminFindByEmailError, AdminFindByEmailErrors, AdminFindByEmailResponse, AdminFindByEmailResponses, AdminFindByOwnerData, AdminFindByOwnerError, AdminFindByOwnerErrors, AdminFindByOwnerResponse, AdminFindByOwnerResponses, AdminGetTenantData, AdminGetTenantError, AdminGetTenantErrors, AdminGetTenantResponse, AdminGetTenantResponses, AdminGetUsageData, AdminGetUsageError, AdminGetUsageErrors, AdminGetUsageResponse, AdminGetUsageResponses, AdminReactivateTenantData, AdminReactivateTenantError, AdminReactivateTenantErrors, AdminReactivateTenantResponse, AdminReactivateTenantResponses, AdminResetCrawlsData, AdminResetCrawlsError, AdminResetCrawlsErrors, AdminResetCrawlsResponse, AdminResetCrawlsResponses, AdminUpdateOwnerEmailData, AdminUpdateOwnerEmailError, AdminUpdateOwnerEmailErrors, AdminUpdateOwnerEmailRequest, AdminUpdateOwnerEmailResponse, AdminUpdateOwnerEmailResponses, AdminUpdateSubscriptionData, AdminUpdateSubscriptionError, AdminUpdateSubscriptionErrors, AdminUpdateSubscriptionRequest, AdminUpdateSubscriptionResponse, AdminUpdateSubscriptionResponses, AdminUpdateTierData, AdminUpdateTierError, AdminUpdateTierErrors, AdminUpdateTierResponse, AdminUpdateTierResponses, AdminUpdateUsageData, AdminUpdateUsageError, AdminUpdateUsageErrors, AdminUpdateUsageResponse, AdminUpdateUsageResponses, BulkDeletePostsData, BulkDeletePostsError, BulkDeletePostsErrors, BulkDeletePostsResponse, BulkDeletePostsResponses, BulkDeleteProductsData, BulkDeleteProductsError, BulkDeleteProductsErrors, BulkDeleteProductsResponse, BulkDeleteProductsResponses, BulkDeletePromptsData, BulkDeletePromptsError, BulkDeletePromptsErrors, BulkDeletePromptsResponse, BulkDeletePromptsResponses, BulkDeleteTaxonomiesData, BulkDeleteTaxonomiesError, BulkDeleteTaxonomiesErrors, BulkDeleteTaxonomiesResponse, BulkDeleteTaxonomiesResponses, BulkDeleteThreadsData, BulkDeleteThreadsError, BulkDeleteThreadsErrors, BulkDeleteThreadsResponse, BulkDeleteThreadsResponses, BulkOperation, BulkUpdateWebhookStatusData, BulkUpdateWebhookStatusError, BulkUpdateWebhookStatusErrors, BulkUpdateWebhookStatusResponse, BulkUpdateWebhookStatusResponses, BulkUpsertPostsData, BulkUpsertPostsError, BulkUpsertPostsErrors, BulkUpsertPostsResponse, BulkUpsertPostsResponses, BulkUpsertProductsData, BulkUpsertProductsError, BulkUpsertProductsErrors, BulkUpsertProductsResponse, BulkUpsertProductsResponses, BulkUpsertPromptsData, BulkUpsertPromptsError, BulkUpsertPromptsErrors, BulkUpsertPromptsResponse, BulkUpsertPromptsResponses, BulkUpsertTaxonomiesData, BulkUpsertTaxonomiesError, BulkUpsertTaxonomiesErrors, BulkUpsertTaxonomiesResponse, BulkUpsertTaxonomiesResponses, BulkWebhookStatusInput, CancelCrawlData, CancelCrawlError, CancelCrawlErrors, CancelCrawlResponse, CancelCrawlResponses, ChatData, ChatError, ChatErrors, ChatRequest, ChatResponse, ChatResponse2, ChatResponses, ChatStreamChunk, ClearDomainErrorsData, ClearDomainErrorsError, ClearDomainErrorsErrors, ClearDomainErrorsResponse, ClearDomainErrorsResponses, type Client, type ClientOptions, CommitSearchData, CommitSearchError, CommitSearchErrors, CommitSearchResponse, CommitSearchResponses, type Config, CreateApiKeyData, CreateApiKeyError, CreateApiKeyErrors, CreateApiKeyResponse, CreateApiKeyResponses, CreateCustomDomainData, CreateCustomDomainError, CreateCustomDomainErrors, CreateCustomDomainResponse, CreateCustomDomainResponses, CreateKeyRequest, CreateTenantWorkspaceData, CreateTenantWorkspaceError, CreateTenantWorkspaceErrors, CreateTenantWorkspaceResponse, CreateTenantWorkspaceResponses, CreateWebhookData, CreateWebhookError, CreateWebhookErrors, CreateWebhookInput, CreateWebhookResponse, CreateWebhookResponses, CreateWorkspaceRequest, DeleteCredentialsData, DeleteCredentialsError, DeleteCredentialsErrors, DeleteCredentialsResponse, DeleteCredentialsResponses, DeleteCustomDomainData, DeleteCustomDomainError, DeleteCustomDomainErrors, DeleteCustomDomainResponse, DeleteCustomDomainResponses, DeleteFeedbackData, DeleteFeedbackError, DeleteFeedbackErrors, DeleteFeedbackResponse, DeleteFeedbackResponses, DeleteLiveAgentScheduleData, DeleteLiveAgentScheduleError, DeleteLiveAgentScheduleErrors, DeleteLiveAgentScheduleResponse, DeleteLiveAgentScheduleResponses, DeleteMcpConfigData, DeleteMcpConfigError, DeleteMcpConfigErrors, DeleteMcpConfigResponse, DeleteMcpConfigResponses, DeletePostData, DeletePostError, DeletePostErrors, DeletePostResponse, DeletePostResponses, DeletePostsByQueryData, DeletePostsByQueryError, DeletePostsByQueryErrors, DeletePostsByQueryResponse, DeletePostsByQueryResponses, DeleteProductData, DeleteProductError, DeleteProductErrors, DeleteProductResponse, DeleteProductResponses, DeleteProductsByQueryData, DeleteProductsByQueryError, DeleteProductsByQueryErrors, DeleteProductsByQueryResponse, DeleteProductsByQueryResponses, DeletePromptData, DeletePromptError, DeletePromptErrors, DeletePromptResponse, DeletePromptResponses, DeleteResponse, DeleteTaxonomiesByQueryData, DeleteTaxonomiesByQueryError, DeleteTaxonomiesByQueryErrors, DeleteTaxonomiesByQueryResponse, DeleteTaxonomiesByQueryResponses, DeleteTaxonomyData, DeleteTaxonomyError, DeleteTaxonomyErrors, DeleteTaxonomyResponse, DeleteTaxonomyResponses, DeleteTenantData, DeleteTenantError, DeleteTenantErrors, DeleteTenantResponse, DeleteTenantResponses, DeleteThreadData, DeleteThreadError, DeleteThreadErrors, DeleteThreadResponse, DeleteThreadResponses, DeleteWebhookData, DeleteWebhookError, DeleteWebhookErrors, DeleteWebhookResponse, DeleteWebhookResponses, DeleteWorkspaceData, DeleteWorkspaceError, DeleteWorkspaceErrors, DeleteWorkspaceResponse, DeleteWorkspaceResponses, DeprovisionData, DeprovisionError, DeprovisionErrors, DeprovisionRequest, DeprovisionResponse, DeprovisionResponses, DeprovisionResult, DiscoverToolsData, DiscoverToolsError, DiscoverToolsErrors, DiscoverToolsResponse, DiscoverToolsResponses, EndHandoffData, EndHandoffError, EndHandoffErrors, EndHandoffResponse, EndHandoffResponses, ErrorResponse, ExportThreadsData, ExportThreadsError, ExportThreadsErrors, ExportThreadsResponse, ExportThreadsResponses, FeedbackSubmission, GenerateDomainConfigData, GenerateDomainConfigError, GenerateDomainConfigErrors, GenerateDomainConfigResponse, GenerateDomainConfigResponses, GetAnalyticsFeedbackData, GetAnalyticsFeedbackError, GetAnalyticsFeedbackErrors, GetAnalyticsFeedbackResponse, GetAnalyticsFeedbackResponses, GetChatAnalyticsData, GetChatAnalyticsError, GetChatAnalyticsErrors, GetChatAnalyticsResponse, GetChatAnalyticsResponses, GetChatWidgetConfigData, GetChatWidgetConfigError, GetChatWidgetConfigErrors, GetChatWidgetConfigResponse, GetChatWidgetConfigResponses, GetCrawlConfigData, GetCrawlConfigError, GetCrawlConfigErrors, GetCrawlConfigResponse, GetCrawlConfigResponses, GetCrawlHistoryData, GetCrawlHistoryError, GetCrawlHistoryErrors, GetCrawlHistoryResponse, GetCrawlHistoryResponses, GetCrawlStatusData, GetCrawlStatusError, GetCrawlStatusErrors, GetCrawlStatusResponse, GetCrawlStatusResponses, GetCredentialStatusData, GetCredentialStatusError, GetCredentialStatusErrors, GetCredentialStatusResponse, GetCredentialStatusResponses, GetDomainErrorSummaryData, GetDomainErrorSummaryError, GetDomainErrorSummaryErrors, GetDomainErrorSummaryResponse, GetDomainErrorSummaryResponses, GetDomainErrorsData, GetDomainErrorsError, GetDomainErrorsErrors, GetDomainErrorsResponse, GetDomainErrorsResponses, GetDomainTemplatesData, GetDomainTemplatesError, GetDomainTemplatesErrors, GetDomainTemplatesResponse, GetDomainTemplatesResponses, GetFeedbackAnalyticsData, GetFeedbackAnalyticsError, GetFeedbackAnalyticsErrors, GetFeedbackAnalyticsResponse, GetFeedbackAnalyticsResponses, GetKnowledgeData, GetKnowledgeError, GetKnowledgeErrors, GetKnowledgeResponse, GetKnowledgeResponses, GetLiveAgentScheduleData, GetLiveAgentScheduleError, GetLiveAgentScheduleErrors, GetLiveAgentScheduleResponse, GetLiveAgentScheduleResponses, GetLiveAgentStatusData, GetLiveAgentStatusError, GetLiveAgentStatusErrors, GetLiveAgentStatusResponse, GetLiveAgentStatusResponses, GetMcpConfigData, GetMcpConfigError, GetMcpConfigErrors, GetMcpConfigResponse, GetMcpConfigResponses, GetPostData, GetPostError, GetPostErrors, GetPostResponse, GetPostResponses, GetProductData, GetProductError, GetProductErrors, GetProductRecommendationsData, GetProductRecommendationsError, GetProductRecommendationsErrors, GetProductRecommendationsResponse, GetProductRecommendationsResponses, GetProductResponse, GetProductResponses, GetPromptData, GetPromptError, GetPromptErrors, GetPromptResponse, GetPromptResponses, GetSearchAnalyticsData, GetSearchAnalyticsError, GetSearchAnalyticsErrors, GetSearchAnalyticsResponse, GetSearchAnalyticsResponses, GetSearchWidgetConfigData, GetSearchWidgetConfigError, GetSearchWidgetConfigErrors, GetSearchWidgetConfigResponse, GetSearchWidgetConfigResponses, GetTaxonomyData, GetTaxonomyError, GetTaxonomyErrors, GetTaxonomyResponse, GetTaxonomyResponses, GetTenantStatusData, GetTenantStatusError, GetTenantStatusErrors, GetTenantStatusResponse, GetTenantStatusResponses, GetTenantUsageData, GetTenantUsageError, GetTenantUsageErrors, GetTenantUsageHistoryData, GetTenantUsageHistoryError, GetTenantUsageHistoryErrors, GetTenantUsageHistoryResponse, GetTenantUsageHistoryResponses, GetTenantUsageResponse, GetTenantUsageResponses, GetThreadAnalyticsData, GetThreadAnalyticsError, GetThreadAnalyticsErrors, GetThreadAnalyticsResponse, GetThreadAnalyticsResponses, GetThreadData, GetThreadError, GetThreadErrors, GetThreadFeedbackData, GetThreadFeedbackError, GetThreadFeedbackErrors, GetThreadFeedbackResponse, GetThreadFeedbackResponses, GetThreadMessagesData, GetThreadMessagesError, GetThreadMessagesErrors, GetThreadMessagesResponse, GetThreadMessagesResponses, GetThreadResponse, GetThreadResponses, GetUploadUrlData, GetUploadUrlError, GetUploadUrlErrors, GetUploadUrlResponse, GetUploadUrlResponses, GetWebhookData, GetWebhookError, GetWebhookErrors, GetWebhookResponse, GetWebhookResponses, GetWebhookStatsData, GetWebhookStatsError, GetWebhookStatsErrors, GetWebhookStatsResponse, GetWebhookStatsResponses, GetWorkspaceDetailsData, GetWorkspaceDetailsError, GetWorkspaceDetailsErrors, GetWorkspaceDetailsResponse, GetWorkspaceDetailsResponses, GetWorkspaceSettingsData, GetWorkspaceSettingsError, GetWorkspaceSettingsErrors, GetWorkspaceSettingsResponse, GetWorkspaceSettingsResponses, ListApiKeysData, ListApiKeysError, ListApiKeysErrors, ListApiKeysResponse, ListApiKeysResponses, ListCustomDomainsData, ListCustomDomainsError, ListCustomDomainsErrors, ListCustomDomainsResponse, ListCustomDomainsResponses, ListFeedbackData, ListFeedbackError, ListFeedbackErrors, ListFeedbackResponse, ListFeedbackResponses, ListPostIdsData, ListPostIdsError, ListPostIdsErrors, ListPostIdsResponse, ListPostIdsResponses, ListProductIdsData, ListProductIdsError, ListProductIdsErrors, ListProductIdsResponse, ListProductIdsResponses, ListProductsData, ListProductsError, ListProductsErrors, ListProductsResponse, ListProductsResponses, ListPromptsData, ListPromptsError, ListPromptsErrors, ListPromptsResponse, ListPromptsResponses, ListSlackChannelsData, ListSlackChannelsError, ListSlackChannelsErrors, ListSlackChannelsResponse, ListSlackChannelsResponses, ListTaxonomiesData, ListTaxonomiesError, ListTaxonomiesErrors, ListTaxonomiesResponse, ListTaxonomiesResponses, ListTaxonomyIdsData, ListTaxonomyIdsError, ListTaxonomyIdsErrors, ListTaxonomyIdsResponse, ListTaxonomyIdsResponses, ListTenantWorkspacesData, ListTenantWorkspacesError, ListTenantWorkspacesErrors, ListTenantWorkspacesResponse, ListTenantWorkspacesResponses, ListWebhooksData, ListWebhooksError, ListWebhooksErrors, ListWebhooksResponse, ListWebhooksResponses, type Options, Pagination, PatchPostData, PatchPostError, PatchPostErrors, PatchPostResponse, PatchPostResponses, PatchProductData, PatchProductError, PatchProductErrors, PatchProductResponse, PatchProductResponses, Post, PostInput, PostSearchRequest, Product, ProductInput, ProductSearchRequest, Prompt, PromptInput, ProvisionResult, ProvisionShopifyData, ProvisionShopifyError, ProvisionShopifyErrors, ProvisionShopifyResponse, ProvisionShopifyResponses, RecommendationRequest, type RequestOptions, type RequestResult, RevokeApiKeyData, RevokeApiKeyError, RevokeApiKeyErrors, RevokeApiKeyResponse, RevokeApiKeyResponses, RotateApiKeyData, RotateApiKeyError, RotateApiKeyErrors, RotateApiKeyResponse, RotateApiKeyResponses, RotateKeyRequest, ScrapePageData, ScrapePageError, ScrapePageErrors, ScrapePageResponse, ScrapePageResponses, ScrapeRequest, ScrapeSinglePageData, ScrapeSinglePageError, ScrapeSinglePageErrors, ScrapeSinglePageResponse, ScrapeSinglePageResponses, SearchKnowledgeData, SearchKnowledgeError, SearchKnowledgeErrors, SearchKnowledgeResponse, SearchKnowledgeResponses, SearchPostsData, SearchPostsError, SearchPostsErrors, SearchPostsResponse, SearchPostsResponses, SearchProductsData, SearchProductsError, SearchProductsErrors, SearchProductsResponse, SearchProductsResponses, SearchPromptsData, SearchPromptsError, SearchPromptsErrors, SearchPromptsResponse, SearchPromptsResponses, SearchSearchesData, SearchSearchesError, SearchSearchesErrors, SearchSearchesResponse, SearchSearchesResponses, SearchThreadsData, SearchThreadsError, SearchThreadsErrors, SearchThreadsResponse, SearchThreadsResponses, ShopifyProvisionRequest, SingleScrapeRequest, StartCrawlData, StartCrawlError, StartCrawlErrors, StartCrawlRequest, StartCrawlResponse, StartCrawlResponses, StoreCredentialsData, StoreCredentialsError, StoreCredentialsErrors, StoreCredentialsResponse, StoreCredentialsResponses, SubmitFeedbackData, SubmitFeedbackError, SubmitFeedbackErrors, SubmitFeedbackResponse, SubmitFeedbackResponses, Taxonomy, TaxonomyInput, TenantStatus, TestDomainConnectionData, TestDomainConnectionError, TestDomainConnectionErrors, TestDomainConnectionResponse, TestDomainConnectionResponses, TestWebhookData, TestWebhookError, TestWebhookErrors, TestWebhookResponse, TestWebhookResponses, ThreadBulkDeleteRequest, ThreadExportRequest, ThreadSearchRequest, UpdateChatWidgetConfigData, UpdateChatWidgetConfigError, UpdateChatWidgetConfigErrors, UpdateChatWidgetConfigResponse, UpdateChatWidgetConfigResponses, UpdateCrawlConfigData, UpdateCrawlConfigError, UpdateCrawlConfigErrors, UpdateCrawlConfigRequest, UpdateCrawlConfigResponse, UpdateCrawlConfigResponses, UpdateCustomDomainData, UpdateCustomDomainError, UpdateCustomDomainErrors, UpdateCustomDomainResponse, UpdateCustomDomainResponses, UpdateLiveAgentScheduleData, UpdateLiveAgentScheduleError, UpdateLiveAgentScheduleErrors, UpdateLiveAgentScheduleResponse, UpdateLiveAgentScheduleResponses, UpdateMcpConfigData, UpdateMcpConfigError, UpdateMcpConfigErrors, UpdateMcpConfigResponse, UpdateMcpConfigResponses, UpdateSearchWidgetConfigData, UpdateSearchWidgetConfigError, UpdateSearchWidgetConfigErrors, UpdateSearchWidgetConfigResponse, UpdateSearchWidgetConfigResponses, UpdateTenantFeaturesData, UpdateTenantFeaturesError, UpdateTenantFeaturesErrors, UpdateTenantFeaturesResponse, UpdateTenantFeaturesResponses, UpdateWebhookData, UpdateWebhookError, UpdateWebhookErrors, UpdateWebhookInput, UpdateWebhookResponse, UpdateWebhookResponses, UpdateWorkspaceData, UpdateWorkspaceError, UpdateWorkspaceErrors, UpdateWorkspaceResponse, UpdateWorkspaceResponses, UpdateWorkspaceSettingsData, UpdateWorkspaceSettingsError, UpdateWorkspaceSettingsErrors, UpdateWorkspaceSettingsResponse, UpdateWorkspaceSettingsResponses, UpsertPostData, UpsertPostError, UpsertPostErrors, UpsertPostResponse, UpsertPostResponses, UpsertProductData, UpsertProductError, UpsertProductErrors, UpsertProductResponse, UpsertProductResponses, UpsertPromptData, UpsertPromptError, UpsertPromptErrors, UpsertPromptResponse, UpsertPromptResponses, UpsertTaxonomyData, UpsertTaxonomyError, UpsertTaxonomyErrors, UpsertTaxonomyResponse, UpsertTaxonomyResponses, ValidateCustomDomainData, ValidateCustomDomainError, ValidateCustomDomainErrors, ValidateCustomDomainResponse, ValidateCustomDomainResponses, WorkspaceSummary, adminClaimTenant, adminDeleteTenant, adminFindByEmail, adminFindByOwner, adminGetTenant, adminGetUsage, adminReactivateTenant, adminResetCrawls, adminUpdateOwnerEmail, adminUpdateSubscription, adminUpdateTier, adminUpdateUsage, bulkDeletePosts, bulkDeleteProducts, bulkDeletePrompts, bulkDeleteTaxonomies, bulkDeleteThreads, bulkUpdateWebhookStatus, bulkUpsertPosts, bulkUpsertProducts, bulkUpsertPrompts, bulkUpsertTaxonomies, cancelCrawl, chat, clearDomainErrors, client, commitSearch, createApiKey, createClient, createConfig, createCustomDomain, createTenantWorkspace, createWebhook, deleteCredentials, deleteCustomDomain, deleteFeedback, deleteLiveAgentSchedule, deleteMcpConfig, deletePost, deletePostsByQuery, deleteProduct, deleteProductsByQuery, deletePrompt, deleteTaxonomiesByQuery, deleteTaxonomy, deleteTenant, deleteThread, deleteWebhook, deleteWorkspace, deprovision, discoverTools, endHandoff, exportThreads, generateDomainConfig, getAnalyticsFeedback, getChatAnalytics, getChatWidgetConfig, getCrawlConfig, getCrawlHistory, getCrawlStatus, getCredentialStatus, getDomainErrorSummary, getDomainErrors, getDomainTemplates, getFeedbackAnalytics, getKnowledge, getLiveAgentSchedule, getLiveAgentStatus, getMcpConfig, getPost, getProduct, getProductRecommendations, getPrompt, getSearchAnalytics, getSearchWidgetConfig, getTaxonomy, getTenantStatus, getTenantUsage, getTenantUsageHistory, getThread, getThreadAnalytics, getThreadFeedback, getThreadMessages, getUploadUrl, getWebhook, getWebhookStats, getWorkspaceDetails, getWorkspaceSettings, listApiKeys, listCustomDomains, listFeedback, listPostIds, listProductIds, listProducts, listPrompts, listSlackChannels, listTaxonomies, listTaxonomyIds, listTenantWorkspaces, listWebhooks, patchPost, patchProduct, provisionShopify, revokeApiKey, rotateApiKey, scrapePage, scrapeSinglePage, searchKnowledge, searchPosts, searchProducts, searchPrompts, searchSearches, searchThreads, startCrawl, storeCredentials, submitFeedback, testDomainConnection, testWebhook, updateChatWidgetConfig, updateCrawlConfig, updateCustomDomain, updateLiveAgentSchedule, updateMcpConfig, updateSearchWidgetConfig, updateTenantFeatures, updateWebhook, updateWorkspace, updateWorkspaceSettings, upsertPost, upsertProduct, upsertPrompt, upsertTaxonomy, validateCustomDomain, workspaceIdFromUrl };
|
|
9339
|
+
export { type AdminClaimTenantData, type AdminClaimTenantError, type AdminClaimTenantErrors, type AdminClaimTenantRequest, type AdminClaimTenantResponse, type AdminClaimTenantResponses, type AdminDeleteTenantData, type AdminDeleteTenantError, type AdminDeleteTenantErrors, type AdminDeleteTenantResponse, type AdminDeleteTenantResponses, type AdminFindByEmailData, type AdminFindByEmailError, type AdminFindByEmailErrors, type AdminFindByEmailResponse, type AdminFindByEmailResponses, type AdminFindByOwnerData, type AdminFindByOwnerError, type AdminFindByOwnerErrors, type AdminFindByOwnerResponse, type AdminFindByOwnerResponses, type AdminGetTenantData, type AdminGetTenantError, type AdminGetTenantErrors, type AdminGetTenantResponse, type AdminGetTenantResponses, type AdminGetUsageData, type AdminGetUsageError, type AdminGetUsageErrors, type AdminGetUsageResponse, type AdminGetUsageResponses, type AdminReactivateTenantData, type AdminReactivateTenantError, type AdminReactivateTenantErrors, type AdminReactivateTenantResponse, type AdminReactivateTenantResponses, type AdminResetCrawlsData, type AdminResetCrawlsError, type AdminResetCrawlsErrors, type AdminResetCrawlsResponse, type AdminResetCrawlsResponses, type AdminUpdateOwnerEmailData, type AdminUpdateOwnerEmailError, type AdminUpdateOwnerEmailErrors, type AdminUpdateOwnerEmailRequest, type AdminUpdateOwnerEmailResponse, type AdminUpdateOwnerEmailResponses, type AdminUpdateSubscriptionData, type AdminUpdateSubscriptionError, type AdminUpdateSubscriptionErrors, type AdminUpdateSubscriptionRequest, type AdminUpdateSubscriptionResponse, type AdminUpdateSubscriptionResponses, type AdminUpdateTierData, type AdminUpdateTierError, type AdminUpdateTierErrors, type AdminUpdateTierResponse, type AdminUpdateTierResponses, type AdminUpdateUsageData, type AdminUpdateUsageError, type AdminUpdateUsageErrors, type AdminUpdateUsageResponse, type AdminUpdateUsageResponses, type BulkDeletePostsData, type BulkDeletePostsError, type BulkDeletePostsErrors, type BulkDeletePostsResponse, type BulkDeletePostsResponses, type BulkDeleteProductsData, type BulkDeleteProductsError, type BulkDeleteProductsErrors, type BulkDeleteProductsResponse, type BulkDeleteProductsResponses, type BulkDeletePromptsData, type BulkDeletePromptsError, type BulkDeletePromptsErrors, type BulkDeletePromptsResponse, type BulkDeletePromptsResponses, type BulkDeleteTaxonomiesData, type BulkDeleteTaxonomiesError, type BulkDeleteTaxonomiesErrors, type BulkDeleteTaxonomiesResponse, type BulkDeleteTaxonomiesResponses, type BulkDeleteThreadsData, type BulkDeleteThreadsError, type BulkDeleteThreadsErrors, type BulkDeleteThreadsResponse, type BulkDeleteThreadsResponses, type BulkOperation, type BulkUpdateWebhookStatusData, type BulkUpdateWebhookStatusError, type BulkUpdateWebhookStatusErrors, type BulkUpdateWebhookStatusResponse, type BulkUpdateWebhookStatusResponses, type BulkUpsertPostsData, type BulkUpsertPostsError, type BulkUpsertPostsErrors, type BulkUpsertPostsResponse, type BulkUpsertPostsResponses, type BulkUpsertProductsData, type BulkUpsertProductsError, type BulkUpsertProductsErrors, type BulkUpsertProductsResponse, type BulkUpsertProductsResponses, type BulkUpsertPromptsData, type BulkUpsertPromptsError, type BulkUpsertPromptsErrors, type BulkUpsertPromptsResponse, type BulkUpsertPromptsResponses, type BulkUpsertTaxonomiesData, type BulkUpsertTaxonomiesError, type BulkUpsertTaxonomiesErrors, type BulkUpsertTaxonomiesResponse, type BulkUpsertTaxonomiesResponses, type BulkWebhookStatusInput, type CancelCrawlData, type CancelCrawlError, type CancelCrawlErrors, type CancelCrawlResponse, type CancelCrawlResponses, type ChatData, type ChatError, type ChatErrors, type ChatRequest, type ChatResponse, type ChatResponse2, type ChatResponses, type ChatStreamChunk, type ClearDomainErrorsData, type ClearDomainErrorsError, type ClearDomainErrorsErrors, type ClearDomainErrorsResponse, type ClearDomainErrorsResponses, type Client, type ClientOptions, type CommitSearchData, type CommitSearchError, type CommitSearchErrors, type CommitSearchResponse, type CommitSearchResponses, type ComplianceAuditResponse, type ComplianceCaller, type ComplianceCustomerDataRequestData, type ComplianceCustomerDataRequestError, type ComplianceCustomerDataRequestErrors, type ComplianceCustomerDataRequestResponse, type ComplianceCustomerDataRequestResponses, type ComplianceCustomerId, type ComplianceCustomerRedactData, type ComplianceCustomerRedactError, type ComplianceCustomerRedactErrors, type ComplianceCustomerRedactResponse, type ComplianceCustomerRedactResponses, type Config, type CreateApiKeyData, type CreateApiKeyError, type CreateApiKeyErrors, type CreateApiKeyResponse, type CreateApiKeyResponses, type CreateCustomDomainData, type CreateCustomDomainError, type CreateCustomDomainErrors, type CreateCustomDomainResponse, type CreateCustomDomainResponses, type CreateKeyRequest, type CreateTenantWorkspaceData, type CreateTenantWorkspaceError, type CreateTenantWorkspaceErrors, type CreateTenantWorkspaceResponse, type CreateTenantWorkspaceResponses, type CreateWebhookData, type CreateWebhookError, type CreateWebhookErrors, type CreateWebhookInput, type CreateWebhookResponse, type CreateWebhookResponses, type CreateWorkspaceRequest, type CustomerDataRequest, type CustomerRedactRequest, type DeleteCredentialsData, type DeleteCredentialsError, type DeleteCredentialsErrors, type DeleteCredentialsResponse, type DeleteCredentialsResponses, type DeleteCustomDomainData, type DeleteCustomDomainError, type DeleteCustomDomainErrors, type DeleteCustomDomainResponse, type DeleteCustomDomainResponses, type DeleteFeedbackData, type DeleteFeedbackError, type DeleteFeedbackErrors, type DeleteFeedbackResponse, type DeleteFeedbackResponses, type DeleteLiveAgentScheduleData, type DeleteLiveAgentScheduleError, type DeleteLiveAgentScheduleErrors, type DeleteLiveAgentScheduleResponse, type DeleteLiveAgentScheduleResponses, type DeleteMcpConfigData, type DeleteMcpConfigError, type DeleteMcpConfigErrors, type DeleteMcpConfigResponse, type DeleteMcpConfigResponses, type DeletePostData, type DeletePostError, type DeletePostErrors, type DeletePostResponse, type DeletePostResponses, type DeletePostsByQueryData, type DeletePostsByQueryError, type DeletePostsByQueryErrors, type DeletePostsByQueryResponse, type DeletePostsByQueryResponses, type DeleteProductData, type DeleteProductError, type DeleteProductErrors, type DeleteProductResponse, type DeleteProductResponses, type DeleteProductsByQueryData, type DeleteProductsByQueryError, type DeleteProductsByQueryErrors, type DeleteProductsByQueryResponse, type DeleteProductsByQueryResponses, type DeletePromptData, type DeletePromptError, type DeletePromptErrors, type DeletePromptResponse, type DeletePromptResponses, type DeleteResponse, type DeleteTaxonomiesByQueryData, type DeleteTaxonomiesByQueryError, type DeleteTaxonomiesByQueryErrors, type DeleteTaxonomiesByQueryResponse, type DeleteTaxonomiesByQueryResponses, type DeleteTaxonomyData, type DeleteTaxonomyError, type DeleteTaxonomyErrors, type DeleteTaxonomyResponse, type DeleteTaxonomyResponses, type DeleteTenantData, type DeleteTenantError, type DeleteTenantErrors, type DeleteTenantResponse, type DeleteTenantResponses, type DeleteThreadData, type DeleteThreadError, type DeleteThreadErrors, type DeleteThreadResponse, type DeleteThreadResponses, type DeleteWebhookData, type DeleteWebhookError, type DeleteWebhookErrors, type DeleteWebhookResponse, type DeleteWebhookResponses, type DeleteWorkspaceData, type DeleteWorkspaceError, type DeleteWorkspaceErrors, type DeleteWorkspaceResponse, type DeleteWorkspaceResponses, type DeprovisionData, type DeprovisionError, type DeprovisionErrors, type DeprovisionRequest, type DeprovisionResponse, type DeprovisionResponses, type DeprovisionResult, type DiscoverToolsData, type DiscoverToolsError, type DiscoverToolsErrors, type DiscoverToolsResponse, type DiscoverToolsResponses, type EndHandoffData, type EndHandoffError, type EndHandoffErrors, type EndHandoffResponse, type EndHandoffResponses, type EnrollCrawlNotificationData, type EnrollCrawlNotificationError, type EnrollCrawlNotificationErrors, type EnrollCrawlNotificationRequest, type EnrollCrawlNotificationResponse, type EnrollCrawlNotificationResponses, type ErrorResponse, type ExportThreadsData, type ExportThreadsError, type ExportThreadsErrors, type ExportThreadsResponse, type ExportThreadsResponses, type FeedbackSubmission, type GenerateDomainConfigData, type GenerateDomainConfigError, type GenerateDomainConfigErrors, type GenerateDomainConfigResponse, type GenerateDomainConfigResponses, type GetAnalyticsFeedbackData, type GetAnalyticsFeedbackError, type GetAnalyticsFeedbackErrors, type GetAnalyticsFeedbackResponse, type GetAnalyticsFeedbackResponses, type GetChatAnalyticsData, type GetChatAnalyticsError, type GetChatAnalyticsErrors, type GetChatAnalyticsResponse, type GetChatAnalyticsResponses, type GetChatWidgetConfigData, type GetChatWidgetConfigError, type GetChatWidgetConfigErrors, type GetChatWidgetConfigResponse, type GetChatWidgetConfigResponses, type GetCrawlConfigData, type GetCrawlConfigError, type GetCrawlConfigErrors, type GetCrawlConfigResponse, type GetCrawlConfigResponses, type GetCrawlHistoryData, type GetCrawlHistoryError, type GetCrawlHistoryErrors, type GetCrawlHistoryResponse, type GetCrawlHistoryResponses, type GetCrawlStatusData, type GetCrawlStatusError, type GetCrawlStatusErrors, type GetCrawlStatusResponse, type GetCrawlStatusResponses, type GetCredentialStatusData, type GetCredentialStatusError, type GetCredentialStatusErrors, type GetCredentialStatusResponse, type GetCredentialStatusResponses, type GetDomainErrorSummaryData, type GetDomainErrorSummaryError, type GetDomainErrorSummaryErrors, type GetDomainErrorSummaryResponse, type GetDomainErrorSummaryResponses, type GetDomainErrorsData, type GetDomainErrorsError, type GetDomainErrorsErrors, type GetDomainErrorsResponse, type GetDomainErrorsResponses, type GetDomainTemplatesData, type GetDomainTemplatesError, type GetDomainTemplatesErrors, type GetDomainTemplatesResponse, type GetDomainTemplatesResponses, type GetFeedbackAnalyticsData, type GetFeedbackAnalyticsError, type GetFeedbackAnalyticsErrors, type GetFeedbackAnalyticsResponse, type GetFeedbackAnalyticsResponses, type GetKnowledgeData, type GetKnowledgeError, type GetKnowledgeErrors, type GetKnowledgeResponse, type GetKnowledgeResponses, type GetLiveAgentScheduleData, type GetLiveAgentScheduleError, type GetLiveAgentScheduleErrors, type GetLiveAgentScheduleResponse, type GetLiveAgentScheduleResponses, type GetLiveAgentStatusData, type GetLiveAgentStatusError, type GetLiveAgentStatusErrors, type GetLiveAgentStatusResponse, type GetLiveAgentStatusResponses, type GetMcpConfigData, type GetMcpConfigError, type GetMcpConfigErrors, type GetMcpConfigResponse, type GetMcpConfigResponses, type GetPostData, type GetPostError, type GetPostErrors, type GetPostResponse, type GetPostResponses, type GetProductData, type GetProductError, type GetProductErrors, type GetProductRecommendationsData, type GetProductRecommendationsError, type GetProductRecommendationsErrors, type GetProductRecommendationsResponse, type GetProductRecommendationsResponses, type GetProductResponse, type GetProductResponses, type GetPromptData, type GetPromptError, type GetPromptErrors, type GetPromptResponse, type GetPromptResponses, type GetSearchAnalyticsData, type GetSearchAnalyticsError, type GetSearchAnalyticsErrors, type GetSearchAnalyticsResponse, type GetSearchAnalyticsResponses, type GetSearchWidgetConfigData, type GetSearchWidgetConfigError, type GetSearchWidgetConfigErrors, type GetSearchWidgetConfigResponse, type GetSearchWidgetConfigResponses, type GetTaxonomyData, type GetTaxonomyError, type GetTaxonomyErrors, type GetTaxonomyResponse, type GetTaxonomyResponses, type GetTenantStatusData, type GetTenantStatusError, type GetTenantStatusErrors, type GetTenantStatusResponse, type GetTenantStatusResponses, type GetTenantUsageData, type GetTenantUsageError, type GetTenantUsageErrors, type GetTenantUsageHistoryData, type GetTenantUsageHistoryError, type GetTenantUsageHistoryErrors, type GetTenantUsageHistoryResponse, type GetTenantUsageHistoryResponses, type GetTenantUsageResponse, type GetTenantUsageResponses, type GetTenantWhoamiData, type GetTenantWhoamiError, type GetTenantWhoamiErrors, type GetTenantWhoamiResponse, type GetTenantWhoamiResponses, type GetThreadAnalyticsData, type GetThreadAnalyticsError, type GetThreadAnalyticsErrors, type GetThreadAnalyticsResponse, type GetThreadAnalyticsResponses, type GetThreadData, type GetThreadError, type GetThreadErrors, type GetThreadFeedbackData, type GetThreadFeedbackError, type GetThreadFeedbackErrors, type GetThreadFeedbackResponse, type GetThreadFeedbackResponses, type GetThreadMessagesData, type GetThreadMessagesError, type GetThreadMessagesErrors, type GetThreadMessagesResponse, type GetThreadMessagesResponses, type GetThreadResponse, type GetThreadResponses, type GetUploadUrlData, type GetUploadUrlError, type GetUploadUrlErrors, type GetUploadUrlRequest, type GetUploadUrlResponse, type GetUploadUrlResponses, type GetWebhookData, type GetWebhookError, type GetWebhookErrors, type GetWebhookResponse, type GetWebhookResponses, type GetWebhookStatsData, type GetWebhookStatsError, type GetWebhookStatsErrors, type GetWebhookStatsResponse, type GetWebhookStatsResponses, type GetWorkspaceDetailsData, type GetWorkspaceDetailsError, type GetWorkspaceDetailsErrors, type GetWorkspaceDetailsResponse, type GetWorkspaceDetailsResponses, type GetWorkspaceSettingsData, type GetWorkspaceSettingsError, type GetWorkspaceSettingsErrors, type GetWorkspaceSettingsResponse, type GetWorkspaceSettingsResponses, type ListApiKeysData, type ListApiKeysError, type ListApiKeysErrors, type ListApiKeysResponse, type ListApiKeysResponses, type ListCustomDomainsData, type ListCustomDomainsError, type ListCustomDomainsErrors, type ListCustomDomainsResponse, type ListCustomDomainsResponses, type ListFeedbackData, type ListFeedbackError, type ListFeedbackErrors, type ListFeedbackResponse, type ListFeedbackResponses, type ListPostIdsData, type ListPostIdsError, type ListPostIdsErrors, type ListPostIdsResponse, type ListPostIdsResponses, type ListProductIdsData, type ListProductIdsError, type ListProductIdsErrors, type ListProductIdsResponse, type ListProductIdsResponses, type ListProductsData, type ListProductsError, type ListProductsErrors, type ListProductsResponse, type ListProductsResponses, type ListPromptsData, type ListPromptsError, type ListPromptsErrors, type ListPromptsResponse, type ListPromptsResponses, type ListSlackChannelsData, type ListSlackChannelsError, type ListSlackChannelsErrors, type ListSlackChannelsResponse, type ListSlackChannelsResponses, type ListTaxonomiesData, type ListTaxonomiesError, type ListTaxonomiesErrors, type ListTaxonomiesResponse, type ListTaxonomiesResponses, type ListTaxonomyIdsData, type ListTaxonomyIdsError, type ListTaxonomyIdsErrors, type ListTaxonomyIdsResponse, type ListTaxonomyIdsResponses, type ListTenantWorkspacesData, type ListTenantWorkspacesError, type ListTenantWorkspacesErrors, type ListTenantWorkspacesResponse, type ListTenantWorkspacesResponses, type ListWebhooksData, type ListWebhooksError, type ListWebhooksErrors, type ListWebhooksResponse, type ListWebhooksResponses, Options, type Pagination, type PatchPostData, type PatchPostError, type PatchPostErrors, type PatchPostResponse, type PatchPostResponses, type PatchProductData, type PatchProductError, type PatchProductErrors, type PatchProductResponse, type PatchProductResponses, type Post, type PostInput, type PostSearchRequest, type Product, type ProductInput, type ProductSearchRequest, type Prompt, type PromptInput, type ProvisionResult, type ProvisionShopifyData, type ProvisionShopifyError, type ProvisionShopifyErrors, type ProvisionShopifyResponse, type ProvisionShopifyResponses, type RecommendationRequest, type RequestOptions, type RequestResult, type RevokeApiKeyData, type RevokeApiKeyError, type RevokeApiKeyErrors, type RevokeApiKeyResponse, type RevokeApiKeyResponses, type RotateApiKeyData, type RotateApiKeyError, type RotateApiKeyErrors, type RotateApiKeyResponse, type RotateApiKeyResponses, type RotateKeyRequest, type ScrapePageData, type ScrapePageError, type ScrapePageErrors, type ScrapePageResponse, type ScrapePageResponses, type ScrapeRequest, type ScrapeSinglePageData, type ScrapeSinglePageError, type ScrapeSinglePageErrors, type ScrapeSinglePageResponse, type ScrapeSinglePageResponses, type SearchKnowledgeData, type SearchKnowledgeError, type SearchKnowledgeErrors, type SearchKnowledgeResponse, type SearchKnowledgeResponses, type SearchPostsData, type SearchPostsError, type SearchPostsErrors, type SearchPostsResponse, type SearchPostsResponses, type SearchProductsData, type SearchProductsError, type SearchProductsErrors, type SearchProductsResponse, type SearchProductsResponses, type SearchPromptsData, type SearchPromptsError, type SearchPromptsErrors, type SearchPromptsResponse, type SearchPromptsResponses, type SearchSearchesData, type SearchSearchesError, type SearchSearchesErrors, type SearchSearchesResponse, type SearchSearchesResponses, type SearchThreadsData, type SearchThreadsError, type SearchThreadsErrors, type SearchThreadsResponse, type SearchThreadsResponses, type ShopifyProvisionRequest, type SingleScrapeRequest, type StartCrawlData, type StartCrawlError, type StartCrawlErrors, type StartCrawlRequest, type StartCrawlResponse, type StartCrawlResponses, type StoreCredentialsData, type StoreCredentialsError, type StoreCredentialsErrors, type StoreCredentialsResponse, type StoreCredentialsResponses, type StoreLiveAgentCredentialsRequest, type SubmitFeedbackData, type SubmitFeedbackError, type SubmitFeedbackErrors, type SubmitFeedbackResponse, type SubmitFeedbackResponses, type Taxonomy, type TaxonomyInput, type TenantStatus, type TenantWhoami, type TestDomainConnectionData, type TestDomainConnectionError, type TestDomainConnectionErrors, type TestDomainConnectionResponse, type TestDomainConnectionResponses, type TestWebhookData, type TestWebhookError, type TestWebhookErrors, type TestWebhookResponse, type TestWebhookResponses, type ThreadBulkDeleteRequest, type ThreadExportRequest, type ThreadSearchRequest, type UpdateChatWidgetConfigData, type UpdateChatWidgetConfigError, type UpdateChatWidgetConfigErrors, type UpdateChatWidgetConfigResponse, type UpdateChatWidgetConfigResponses, type UpdateCrawlConfigData, type UpdateCrawlConfigError, type UpdateCrawlConfigErrors, type UpdateCrawlConfigRequest, type UpdateCrawlConfigResponse, type UpdateCrawlConfigResponses, type UpdateCustomDomainData, type UpdateCustomDomainError, type UpdateCustomDomainErrors, type UpdateCustomDomainResponse, type UpdateCustomDomainResponses, type UpdateLiveAgentScheduleData, type UpdateLiveAgentScheduleError, type UpdateLiveAgentScheduleErrors, type UpdateLiveAgentScheduleRequest, type UpdateLiveAgentScheduleResponse, type UpdateLiveAgentScheduleResponses, type UpdateMcpConfigData, type UpdateMcpConfigError, type UpdateMcpConfigErrors, type UpdateMcpConfigRequest, type UpdateMcpConfigResponse, type UpdateMcpConfigResponses, type UpdateSearchWidgetConfigData, type UpdateSearchWidgetConfigError, type UpdateSearchWidgetConfigErrors, type UpdateSearchWidgetConfigResponse, type UpdateSearchWidgetConfigResponses, type UpdateTenantFeaturesData, type UpdateTenantFeaturesError, type UpdateTenantFeaturesErrors, type UpdateTenantFeaturesRequest, type UpdateTenantFeaturesResponse, type UpdateTenantFeaturesResponses, type UpdateWebhookData, type UpdateWebhookError, type UpdateWebhookErrors, type UpdateWebhookInput, type UpdateWebhookResponse, type UpdateWebhookResponses, type UpdateWorkspaceData, type UpdateWorkspaceError, type UpdateWorkspaceErrors, type UpdateWorkspaceRequest, type UpdateWorkspaceResponse, type UpdateWorkspaceResponses, type UpdateWorkspaceSettingsData, type UpdateWorkspaceSettingsError, type UpdateWorkspaceSettingsErrors, type UpdateWorkspaceSettingsResponse, type UpdateWorkspaceSettingsResponses, type UpsertPostData, type UpsertPostError, type UpsertPostErrors, type UpsertPostResponse, type UpsertPostResponses, type UpsertProductData, type UpsertProductError, type UpsertProductErrors, type UpsertProductResponse, type UpsertProductResponses, type UpsertPromptData, type UpsertPromptError, type UpsertPromptErrors, type UpsertPromptResponse, type UpsertPromptResponses, type UpsertTaxonomyData, type UpsertTaxonomyError, type UpsertTaxonomyErrors, type UpsertTaxonomyResponse, type UpsertTaxonomyResponses, type ValidateCustomDomainData, type ValidateCustomDomainError, type ValidateCustomDomainErrors, type ValidateCustomDomainResponse, type ValidateCustomDomainResponses, type WorkspaceSummary, adminClaimTenant, adminDeleteTenant, adminFindByEmail, adminFindByOwner, adminGetTenant, adminGetUsage, adminReactivateTenant, adminResetCrawls, adminUpdateOwnerEmail, adminUpdateSubscription, adminUpdateTier, adminUpdateUsage, bulkDeletePosts, bulkDeleteProducts, bulkDeletePrompts, bulkDeleteTaxonomies, bulkDeleteThreads, bulkUpdateWebhookStatus, bulkUpsertPosts, bulkUpsertProducts, bulkUpsertPrompts, bulkUpsertTaxonomies, cancelCrawl, chat, clearDomainErrors, client, commitSearch, complianceCustomerDataRequest, complianceCustomerRedact, createApiKey, createClient, createConfig, createCustomDomain, createTenantWorkspace, createWebhook, deleteCredentials, deleteCustomDomain, deleteFeedback, deleteLiveAgentSchedule, deleteMcpConfig, deletePost, deletePostsByQuery, deleteProduct, deleteProductsByQuery, deletePrompt, deleteTaxonomiesByQuery, deleteTaxonomy, deleteTenant, deleteThread, deleteWebhook, deleteWorkspace, deprovision, discoverTools, endHandoff, enrollCrawlNotification, exportThreads, generateDomainConfig, getAnalyticsFeedback, getChatAnalytics, getChatWidgetConfig, getCrawlConfig, getCrawlHistory, getCrawlStatus, getCredentialStatus, getDomainErrorSummary, getDomainErrors, getDomainTemplates, getFeedbackAnalytics, getKnowledge, getLiveAgentSchedule, getLiveAgentStatus, getMcpConfig, getPost, getProduct, getProductRecommendations, getPrompt, getSearchAnalytics, getSearchWidgetConfig, getTaxonomy, getTenantStatus, getTenantUsage, getTenantUsageHistory, getTenantWhoami, getThread, getThreadAnalytics, getThreadFeedback, getThreadMessages, getUploadUrl, getWebhook, getWebhookStats, getWorkspaceDetails, getWorkspaceSettings, listApiKeys, listCustomDomains, listFeedback, listPostIds, listProductIds, listProducts, listPrompts, listSlackChannels, listTaxonomies, listTaxonomyIds, listTenantWorkspaces, listWebhooks, patchPost, patchProduct, provisionShopify, revokeApiKey, rotateApiKey, scrapePage, scrapeSinglePage, searchKnowledge, searchPosts, searchProducts, searchPrompts, searchSearches, searchThreads, startCrawl, storeCredentials, submitFeedback, testDomainConnection, testWebhook, updateChatWidgetConfig, updateCrawlConfig, updateCustomDomain, updateLiveAgentSchedule, updateMcpConfig, updateSearchWidgetConfig, updateTenantFeatures, updateWebhook, updateWorkspace, updateWorkspaceSettings, upsertPost, upsertProduct, upsertPrompt, upsertTaxonomy, validateCustomDomain, workspaceIdFromUrl };
|
|
7785
9340
|
//# sourceMappingURL=index.d.cts.map
|