@savantoai/ai-sdk 2.1.0 → 3.0.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 +141 -0
- package/README.md +10 -0
- package/dist/index.cjs +190 -120
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +404 -103
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +404 -103
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +186 -121
- package/dist/index.mjs.map +1 -1
- package/package.json +11 -9
package/dist/index.d.mts
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
|
|
@@ -327,7 +332,7 @@ type ErrorResponse = {
|
|
|
327
332
|
type: 'invalid_request_error' | 'authentication_error' | 'authorization_error' | 'rate_limit_error' | 'api_error';
|
|
328
333
|
message: string;
|
|
329
334
|
code: string;
|
|
330
|
-
param: string;
|
|
335
|
+
param: string | null;
|
|
331
336
|
};
|
|
332
337
|
};
|
|
333
338
|
type ChatRequest = {
|
|
@@ -369,6 +374,12 @@ type UpdateCrawlConfigRequest = {
|
|
|
369
374
|
includePatterns?: Array<string>;
|
|
370
375
|
overagesEnabled?: boolean;
|
|
371
376
|
};
|
|
377
|
+
type EnrollCrawlNotificationRequest = {
|
|
378
|
+
/**
|
|
379
|
+
* Recipient for the crawl-complete email. Caller is responsible for validating the signed-in user owns this address.
|
|
380
|
+
*/
|
|
381
|
+
email: string;
|
|
382
|
+
};
|
|
372
383
|
type ScrapeRequest = {
|
|
373
384
|
url: string;
|
|
374
385
|
action?: 'scrape' | 'delete';
|
|
@@ -381,28 +392,28 @@ type ProductInput = {
|
|
|
381
392
|
content?: string;
|
|
382
393
|
searchableText?: string;
|
|
383
394
|
excerpt?: string;
|
|
384
|
-
price?: number;
|
|
385
|
-
salePrice?: number;
|
|
386
|
-
regularPrice?: number;
|
|
395
|
+
price?: number | null;
|
|
396
|
+
salePrice?: number | null;
|
|
397
|
+
regularPrice?: number | null;
|
|
387
398
|
onSale?: boolean;
|
|
388
|
-
priceMin?: number;
|
|
389
|
-
priceMax?: number;
|
|
390
|
-
stockQuantity?: number;
|
|
399
|
+
priceMin?: number | null;
|
|
400
|
+
priceMax?: number | null;
|
|
401
|
+
stockQuantity?: number | null;
|
|
391
402
|
stockStatus?: 'instock' | 'outofstock' | 'onbackorder';
|
|
392
403
|
sku?: string;
|
|
393
404
|
type?: 'simple' | 'variable' | 'grouped' | 'external';
|
|
394
|
-
weight?: number;
|
|
405
|
+
weight?: number | null;
|
|
395
406
|
dimensions?: {
|
|
396
|
-
length?: number;
|
|
397
|
-
width?: number;
|
|
398
|
-
height?: number;
|
|
399
|
-
};
|
|
400
|
-
rating?: number;
|
|
407
|
+
length?: number | null;
|
|
408
|
+
width?: number | null;
|
|
409
|
+
height?: number | null;
|
|
410
|
+
} | null;
|
|
411
|
+
rating?: number | null;
|
|
401
412
|
reviewCount?: number;
|
|
402
413
|
categories?: Array<string>;
|
|
403
414
|
tags?: Array<string>;
|
|
404
415
|
brands?: Array<string>;
|
|
405
|
-
image?: string;
|
|
416
|
+
image?: string | null;
|
|
406
417
|
url?: string;
|
|
407
418
|
status?: string;
|
|
408
419
|
visibility?: string;
|
|
@@ -411,7 +422,7 @@ type ProductInput = {
|
|
|
411
422
|
downloadable?: boolean;
|
|
412
423
|
attributes?: {
|
|
413
424
|
[key: string]: Array<string>;
|
|
414
|
-
};
|
|
425
|
+
} | null;
|
|
415
426
|
metadata?: {
|
|
416
427
|
[key: string]: string | number | boolean | Array<string>;
|
|
417
428
|
};
|
|
@@ -424,28 +435,28 @@ type Product = {
|
|
|
424
435
|
content?: string;
|
|
425
436
|
excerpt?: string;
|
|
426
437
|
searchableText?: string;
|
|
427
|
-
price?: number;
|
|
428
|
-
salePrice?: number;
|
|
429
|
-
regularPrice?: number;
|
|
438
|
+
price?: number | null;
|
|
439
|
+
salePrice?: number | null;
|
|
440
|
+
regularPrice?: number | null;
|
|
430
441
|
onSale?: boolean;
|
|
431
|
-
priceMin?: number;
|
|
432
|
-
priceMax?: number;
|
|
433
|
-
stockQuantity?: number;
|
|
442
|
+
priceMin?: number | null;
|
|
443
|
+
priceMax?: number | null;
|
|
444
|
+
stockQuantity?: number | null;
|
|
434
445
|
stockStatus?: string;
|
|
435
446
|
sku?: string;
|
|
436
447
|
type?: string;
|
|
437
|
-
weight?: number;
|
|
448
|
+
weight?: number | null;
|
|
438
449
|
dimensions?: {
|
|
439
|
-
length?: number;
|
|
440
|
-
width?: number;
|
|
441
|
-
height?: number;
|
|
442
|
-
};
|
|
443
|
-
rating?: number;
|
|
450
|
+
length?: number | null;
|
|
451
|
+
width?: number | null;
|
|
452
|
+
height?: number | null;
|
|
453
|
+
} | null;
|
|
454
|
+
rating?: number | null;
|
|
444
455
|
reviewCount?: number;
|
|
445
456
|
categories?: Array<string>;
|
|
446
457
|
tags?: Array<string>;
|
|
447
458
|
brands?: Array<string>;
|
|
448
|
-
image?: string;
|
|
459
|
+
image?: string | null;
|
|
449
460
|
url?: string;
|
|
450
461
|
status?: string;
|
|
451
462
|
visibility?: string;
|
|
@@ -456,7 +467,7 @@ type Product = {
|
|
|
456
467
|
updatedAt?: string;
|
|
457
468
|
attributes?: {
|
|
458
469
|
[key: string]: Array<string>;
|
|
459
|
-
};
|
|
470
|
+
} | null;
|
|
460
471
|
metadata?: {
|
|
461
472
|
[key: string]: string | number | boolean | Array<string>;
|
|
462
473
|
};
|
|
@@ -469,11 +480,11 @@ type Product = {
|
|
|
469
480
|
}>;
|
|
470
481
|
};
|
|
471
482
|
type Pagination = {
|
|
472
|
-
total: number;
|
|
483
|
+
total: number | null;
|
|
473
484
|
limit: number;
|
|
474
485
|
hasMore: boolean;
|
|
475
486
|
offset?: number;
|
|
476
|
-
cursor?: string;
|
|
487
|
+
cursor?: string | null;
|
|
477
488
|
};
|
|
478
489
|
type ProductSearchRequest = {
|
|
479
490
|
text: string;
|
|
@@ -518,11 +529,11 @@ type PostInput = {
|
|
|
518
529
|
status?: 'publish' | 'draft' | 'private' | 'pending';
|
|
519
530
|
authorId?: string;
|
|
520
531
|
authorName?: string;
|
|
521
|
-
publishedAt?: string;
|
|
532
|
+
publishedAt?: string | null;
|
|
522
533
|
categories?: Array<string>;
|
|
523
534
|
tags?: Array<string>;
|
|
524
535
|
url?: string;
|
|
525
|
-
featuredImage?: string;
|
|
536
|
+
featuredImage?: string | null;
|
|
526
537
|
source?: string;
|
|
527
538
|
indexStatus?: 'active' | 'hidden' | 'disabled';
|
|
528
539
|
metadata?: {
|
|
@@ -530,7 +541,7 @@ type PostInput = {
|
|
|
530
541
|
};
|
|
531
542
|
attributes?: {
|
|
532
543
|
[key: string]: unknown;
|
|
533
|
-
};
|
|
544
|
+
} | null;
|
|
534
545
|
};
|
|
535
546
|
type Post = {
|
|
536
547
|
id: string;
|
|
@@ -549,13 +560,13 @@ type Post = {
|
|
|
549
560
|
tags?: Array<string>;
|
|
550
561
|
metaTitle?: string;
|
|
551
562
|
metaDescription?: string;
|
|
552
|
-
featuredImage?: string;
|
|
563
|
+
featuredImage?: string | null;
|
|
553
564
|
createdAt?: string;
|
|
554
565
|
updatedAt?: string;
|
|
555
|
-
publishedAt?: string;
|
|
566
|
+
publishedAt?: string | null;
|
|
556
567
|
attributes?: {
|
|
557
|
-
[key: string]: string | Array<string> | number | boolean |
|
|
558
|
-
};
|
|
568
|
+
[key: string]: string | Array<string> | number | boolean | null;
|
|
569
|
+
} | null;
|
|
559
570
|
metadata?: {
|
|
560
571
|
[key: string]: string | number | boolean | Array<string>;
|
|
561
572
|
};
|
|
@@ -592,7 +603,7 @@ type ThreadSearchRequest = {
|
|
|
592
603
|
minTokens?: number;
|
|
593
604
|
maxTokens?: number;
|
|
594
605
|
hasUnresolvedQueries?: boolean;
|
|
595
|
-
sortBy?: 'timestamp' | '
|
|
606
|
+
sortBy?: 'timestamp' | 'messageCount' | 'tokenCount';
|
|
596
607
|
sortOrder?: 'asc' | 'desc';
|
|
597
608
|
};
|
|
598
609
|
type ThreadExportRequest = {
|
|
@@ -811,10 +822,21 @@ type TenantStatus = {
|
|
|
811
822
|
tenantId?: string;
|
|
812
823
|
tier?: string;
|
|
813
824
|
status?: 'active' | 'inactive' | 'suspended';
|
|
814
|
-
publishableKey?: string;
|
|
825
|
+
publishableKey?: string | null;
|
|
815
826
|
jwtSecret?: string;
|
|
816
827
|
[key: string]: unknown;
|
|
817
828
|
};
|
|
829
|
+
type TenantWhoami = {
|
|
830
|
+
tenantId: string;
|
|
831
|
+
tier: string;
|
|
832
|
+
apiKeyId: string;
|
|
833
|
+
keyType: 'secret' | 'publishable';
|
|
834
|
+
scopes?: Array<string>;
|
|
835
|
+
label?: string;
|
|
836
|
+
};
|
|
837
|
+
type UpdateTenantFeaturesRequest = {
|
|
838
|
+
overagesEnabled: boolean;
|
|
839
|
+
};
|
|
818
840
|
type WorkspaceSummary = {
|
|
819
841
|
workspaceId: string;
|
|
820
842
|
name?: string;
|
|
@@ -832,6 +854,38 @@ type CreateWorkspaceRequest = {
|
|
|
832
854
|
source?: string;
|
|
833
855
|
siteUrl?: string;
|
|
834
856
|
};
|
|
857
|
+
type UpdateWorkspaceRequest = {
|
|
858
|
+
name?: string;
|
|
859
|
+
domain?: string;
|
|
860
|
+
};
|
|
861
|
+
type GetUploadUrlRequest = {
|
|
862
|
+
fileName: string;
|
|
863
|
+
contentType: string;
|
|
864
|
+
fileSize: number;
|
|
865
|
+
};
|
|
866
|
+
type UpdateMcpConfigRequest = {
|
|
867
|
+
ordersUri?: string;
|
|
868
|
+
inventoryUri?: string;
|
|
869
|
+
shippingUri?: string;
|
|
870
|
+
supportUri?: string;
|
|
871
|
+
accountUri?: string;
|
|
872
|
+
analyticsUri?: string;
|
|
873
|
+
[key: string]: unknown;
|
|
874
|
+
};
|
|
875
|
+
type StoreLiveAgentCredentialsRequest = {
|
|
876
|
+
provider: 'zendesk' | 'intercom' | 'drift' | 'slack';
|
|
877
|
+
apiToken?: string;
|
|
878
|
+
webhookSecret?: string;
|
|
879
|
+
subdomain?: string;
|
|
880
|
+
integrationId?: string;
|
|
881
|
+
botToken?: string;
|
|
882
|
+
channelId?: string;
|
|
883
|
+
signingSecret?: string;
|
|
884
|
+
availabilitySchedule?: string | null;
|
|
885
|
+
};
|
|
886
|
+
type UpdateLiveAgentScheduleRequest = {
|
|
887
|
+
schedule: string | null;
|
|
888
|
+
};
|
|
835
889
|
type DeprovisionResult = {
|
|
836
890
|
success: boolean;
|
|
837
891
|
message?: string;
|
|
@@ -909,6 +963,59 @@ type AdminUpdateSubscriptionRequest = {
|
|
|
909
963
|
tier?: string;
|
|
910
964
|
providerCustomerId?: string;
|
|
911
965
|
};
|
|
966
|
+
type ComplianceAuditResponse = {
|
|
967
|
+
requestId: string;
|
|
968
|
+
status: 'queued' | 'completed' | 'failed';
|
|
969
|
+
requestType: 'customer_redact' | 'customer_data_request';
|
|
970
|
+
requestedAt: string;
|
|
971
|
+
/**
|
|
972
|
+
* OpenSearch _tasks id for thread-doc deletion (reconciler polls this).
|
|
973
|
+
*/
|
|
974
|
+
threadTaskId?: string;
|
|
975
|
+
memoryTaskId?: string;
|
|
976
|
+
summary?: string;
|
|
977
|
+
};
|
|
978
|
+
type CustomerRedactRequest = {
|
|
979
|
+
customer: ComplianceCustomerId;
|
|
980
|
+
caller: ComplianceCaller;
|
|
981
|
+
/**
|
|
982
|
+
* If provided, limit redaction to a single workspace. Defaults to tenant scope.
|
|
983
|
+
*/
|
|
984
|
+
workspaceId?: string;
|
|
985
|
+
};
|
|
986
|
+
type ComplianceCustomerId = {
|
|
987
|
+
/**
|
|
988
|
+
* Customer email (case-insensitive match).
|
|
989
|
+
*/
|
|
990
|
+
email?: string;
|
|
991
|
+
/**
|
|
992
|
+
* Customer phone in E.164 format.
|
|
993
|
+
*/
|
|
994
|
+
phone?: string;
|
|
995
|
+
/**
|
|
996
|
+
* Platform-specific customer identifier (e.g. Shopify customer.id).
|
|
997
|
+
*/
|
|
998
|
+
customerId?: string;
|
|
999
|
+
};
|
|
1000
|
+
type ComplianceCaller = {
|
|
1001
|
+
/**
|
|
1002
|
+
* Which integration fired the request.
|
|
1003
|
+
*/
|
|
1004
|
+
source: 'shopify' | 'wordpress' | 'dashboard' | 'sdk';
|
|
1005
|
+
/**
|
|
1006
|
+
* Merchant shop domain (Shopify webhooks only).
|
|
1007
|
+
*/
|
|
1008
|
+
shopDomain?: string;
|
|
1009
|
+
/**
|
|
1010
|
+
* Upstream request id used to make this call idempotent on retry.
|
|
1011
|
+
*/
|
|
1012
|
+
externalId?: string;
|
|
1013
|
+
};
|
|
1014
|
+
type CustomerDataRequest = {
|
|
1015
|
+
customer: ComplianceCustomerId;
|
|
1016
|
+
caller: ComplianceCaller;
|
|
1017
|
+
workspaceId?: string;
|
|
1018
|
+
};
|
|
912
1019
|
type ChatData = {
|
|
913
1020
|
body?: ChatRequest;
|
|
914
1021
|
path?: never;
|
|
@@ -1231,6 +1338,48 @@ type CancelCrawlResponses = {
|
|
|
1231
1338
|
};
|
|
1232
1339
|
};
|
|
1233
1340
|
type CancelCrawlResponse = CancelCrawlResponses[keyof CancelCrawlResponses];
|
|
1341
|
+
type EnrollCrawlNotificationData = {
|
|
1342
|
+
body?: EnrollCrawlNotificationRequest;
|
|
1343
|
+
path: {
|
|
1344
|
+
id: string;
|
|
1345
|
+
};
|
|
1346
|
+
query?: never;
|
|
1347
|
+
url: '/crawl/{id}/notifications';
|
|
1348
|
+
};
|
|
1349
|
+
type EnrollCrawlNotificationErrors = {
|
|
1350
|
+
/**
|
|
1351
|
+
* Validation error
|
|
1352
|
+
*/
|
|
1353
|
+
400: ErrorResponse;
|
|
1354
|
+
/**
|
|
1355
|
+
* Unauthorized
|
|
1356
|
+
*/
|
|
1357
|
+
401: ErrorResponse;
|
|
1358
|
+
/**
|
|
1359
|
+
* Forbidden
|
|
1360
|
+
*/
|
|
1361
|
+
403: ErrorResponse;
|
|
1362
|
+
/**
|
|
1363
|
+
* Not found
|
|
1364
|
+
*/
|
|
1365
|
+
404: ErrorResponse;
|
|
1366
|
+
/**
|
|
1367
|
+
* Rate limit exceeded
|
|
1368
|
+
*/
|
|
1369
|
+
429: ErrorResponse;
|
|
1370
|
+
};
|
|
1371
|
+
type EnrollCrawlNotificationError = EnrollCrawlNotificationErrors[keyof EnrollCrawlNotificationErrors];
|
|
1372
|
+
type EnrollCrawlNotificationResponses = {
|
|
1373
|
+
/**
|
|
1374
|
+
* Enrolled
|
|
1375
|
+
*/
|
|
1376
|
+
200: {
|
|
1377
|
+
data: {
|
|
1378
|
+
enrolled: true;
|
|
1379
|
+
};
|
|
1380
|
+
};
|
|
1381
|
+
};
|
|
1382
|
+
type EnrollCrawlNotificationResponse = EnrollCrawlNotificationResponses[keyof EnrollCrawlNotificationResponses];
|
|
1234
1383
|
type ScrapePageData = {
|
|
1235
1384
|
body?: ScrapeRequest;
|
|
1236
1385
|
path?: never;
|
|
@@ -3019,7 +3168,19 @@ type BulkUpdateWebhookStatusResponse = BulkUpdateWebhookStatusResponses[keyof Bu
|
|
|
3019
3168
|
type ListWebhooksData = {
|
|
3020
3169
|
body?: never;
|
|
3021
3170
|
path?: never;
|
|
3022
|
-
query?:
|
|
3171
|
+
query?: {
|
|
3172
|
+
page?: number;
|
|
3173
|
+
limit?: number;
|
|
3174
|
+
status?: 'active' | 'inactive' | 'suspended';
|
|
3175
|
+
events?: string;
|
|
3176
|
+
createdBy?: string;
|
|
3177
|
+
nameContains?: string;
|
|
3178
|
+
urlContains?: string;
|
|
3179
|
+
createdAfter?: string;
|
|
3180
|
+
createdBefore?: string;
|
|
3181
|
+
sortBy?: 'name' | 'createdAt' | 'updatedAt' | 'lastDeliveryAt';
|
|
3182
|
+
sortOrder?: 'asc' | 'desc';
|
|
3183
|
+
};
|
|
3023
3184
|
url: '/webhooks';
|
|
3024
3185
|
};
|
|
3025
3186
|
type ListWebhooksErrors = {
|
|
@@ -4007,10 +4168,48 @@ type GetTenantStatusResponses = {
|
|
|
4007
4168
|
};
|
|
4008
4169
|
};
|
|
4009
4170
|
type GetTenantStatusResponse = GetTenantStatusResponses[keyof GetTenantStatusResponses];
|
|
4010
|
-
type
|
|
4011
|
-
body?:
|
|
4012
|
-
|
|
4171
|
+
type GetTenantWhoamiData = {
|
|
4172
|
+
body?: never;
|
|
4173
|
+
path?: never;
|
|
4174
|
+
query?: never;
|
|
4175
|
+
url: '/tenant/whoami';
|
|
4176
|
+
};
|
|
4177
|
+
type GetTenantWhoamiErrors = {
|
|
4178
|
+
/**
|
|
4179
|
+
* Validation error
|
|
4180
|
+
*/
|
|
4181
|
+
400: ErrorResponse;
|
|
4182
|
+
/**
|
|
4183
|
+
* Unauthorized
|
|
4184
|
+
*/
|
|
4185
|
+
401: ErrorResponse;
|
|
4186
|
+
/**
|
|
4187
|
+
* Forbidden
|
|
4188
|
+
*/
|
|
4189
|
+
403: ErrorResponse;
|
|
4190
|
+
/**
|
|
4191
|
+
* Not found
|
|
4192
|
+
*/
|
|
4193
|
+
404: ErrorResponse;
|
|
4194
|
+
/**
|
|
4195
|
+
* Rate limit exceeded
|
|
4196
|
+
*/
|
|
4197
|
+
429: ErrorResponse;
|
|
4198
|
+
};
|
|
4199
|
+
type GetTenantWhoamiError = GetTenantWhoamiErrors[keyof GetTenantWhoamiErrors];
|
|
4200
|
+
type GetTenantWhoamiResponses = {
|
|
4201
|
+
/**
|
|
4202
|
+
* Current caller identity
|
|
4203
|
+
*/
|
|
4204
|
+
200: {
|
|
4205
|
+
object: 'tenant';
|
|
4206
|
+
requestId: string;
|
|
4207
|
+
data: TenantWhoami;
|
|
4013
4208
|
};
|
|
4209
|
+
};
|
|
4210
|
+
type GetTenantWhoamiResponse = GetTenantWhoamiResponses[keyof GetTenantWhoamiResponses];
|
|
4211
|
+
type UpdateTenantFeaturesData = {
|
|
4212
|
+
body?: UpdateTenantFeaturesRequest;
|
|
4014
4213
|
path?: never;
|
|
4015
4214
|
query?: never;
|
|
4016
4215
|
url: '/tenant/features';
|
|
@@ -4129,9 +4328,9 @@ type GetTenantUsageHistoryResponses = {
|
|
|
4129
4328
|
200: {
|
|
4130
4329
|
object: 'usage';
|
|
4131
4330
|
requestId: string;
|
|
4132
|
-
data: {
|
|
4331
|
+
data: Array<{
|
|
4133
4332
|
[key: string]: unknown;
|
|
4134
|
-
}
|
|
4333
|
+
}>;
|
|
4135
4334
|
};
|
|
4136
4335
|
};
|
|
4137
4336
|
type GetTenantUsageHistoryResponse = GetTenantUsageHistoryResponses[keyof GetTenantUsageHistoryResponses];
|
|
@@ -4266,9 +4465,7 @@ type DeleteWorkspaceResponses = {
|
|
|
4266
4465
|
};
|
|
4267
4466
|
type DeleteWorkspaceResponse = DeleteWorkspaceResponses[keyof DeleteWorkspaceResponses];
|
|
4268
4467
|
type UpdateWorkspaceData = {
|
|
4269
|
-
body?:
|
|
4270
|
-
[key: string]: unknown;
|
|
4271
|
-
};
|
|
4468
|
+
body?: UpdateWorkspaceRequest;
|
|
4272
4469
|
path: {
|
|
4273
4470
|
workspaceId: string;
|
|
4274
4471
|
};
|
|
@@ -4399,9 +4596,7 @@ type SearchKnowledgeResponses = {
|
|
|
4399
4596
|
};
|
|
4400
4597
|
type SearchKnowledgeResponse = SearchKnowledgeResponses[keyof SearchKnowledgeResponses];
|
|
4401
4598
|
type GetUploadUrlData = {
|
|
4402
|
-
body?:
|
|
4403
|
-
[key: string]: unknown;
|
|
4404
|
-
};
|
|
4599
|
+
body?: GetUploadUrlRequest;
|
|
4405
4600
|
path?: never;
|
|
4406
4601
|
query?: never;
|
|
4407
4602
|
url: '/tenant/upload-url';
|
|
@@ -4527,9 +4722,7 @@ type GetMcpConfigResponses = {
|
|
|
4527
4722
|
};
|
|
4528
4723
|
type GetMcpConfigResponse = GetMcpConfigResponses[keyof GetMcpConfigResponses];
|
|
4529
4724
|
type UpdateMcpConfigData = {
|
|
4530
|
-
body?:
|
|
4531
|
-
[key: string]: unknown;
|
|
4532
|
-
};
|
|
4725
|
+
body?: UpdateMcpConfigRequest;
|
|
4533
4726
|
path?: never;
|
|
4534
4727
|
query?: never;
|
|
4535
4728
|
url: '/tenant/mcp';
|
|
@@ -4574,7 +4767,7 @@ type GetCredentialStatusData = {
|
|
|
4574
4767
|
body?: never;
|
|
4575
4768
|
path?: never;
|
|
4576
4769
|
query?: never;
|
|
4577
|
-
url: '/tenant/credentials/status';
|
|
4770
|
+
url: '/tenant/live-agent/credentials/status';
|
|
4578
4771
|
};
|
|
4579
4772
|
type GetCredentialStatusErrors = {
|
|
4580
4773
|
/**
|
|
@@ -4616,7 +4809,7 @@ type DeleteCredentialsData = {
|
|
|
4616
4809
|
body?: never;
|
|
4617
4810
|
path?: never;
|
|
4618
4811
|
query?: never;
|
|
4619
|
-
url: '/tenant/credentials';
|
|
4812
|
+
url: '/tenant/live-agent/credentials';
|
|
4620
4813
|
};
|
|
4621
4814
|
type DeleteCredentialsErrors = {
|
|
4622
4815
|
/**
|
|
@@ -4655,12 +4848,10 @@ type DeleteCredentialsResponses = {
|
|
|
4655
4848
|
};
|
|
4656
4849
|
type DeleteCredentialsResponse = DeleteCredentialsResponses[keyof DeleteCredentialsResponses];
|
|
4657
4850
|
type StoreCredentialsData = {
|
|
4658
|
-
body?:
|
|
4659
|
-
[key: string]: unknown;
|
|
4660
|
-
};
|
|
4851
|
+
body?: StoreLiveAgentCredentialsRequest;
|
|
4661
4852
|
path?: never;
|
|
4662
4853
|
query?: never;
|
|
4663
|
-
url: '/tenant/credentials';
|
|
4854
|
+
url: '/tenant/live-agent/credentials';
|
|
4664
4855
|
};
|
|
4665
4856
|
type StoreCredentialsErrors = {
|
|
4666
4857
|
/**
|
|
@@ -4702,7 +4893,7 @@ type DeleteLiveAgentScheduleData = {
|
|
|
4702
4893
|
body?: never;
|
|
4703
4894
|
path?: never;
|
|
4704
4895
|
query?: never;
|
|
4705
|
-
url: '/tenant/schedule';
|
|
4896
|
+
url: '/tenant/live-agent/schedule';
|
|
4706
4897
|
};
|
|
4707
4898
|
type DeleteLiveAgentScheduleErrors = {
|
|
4708
4899
|
/**
|
|
@@ -4744,7 +4935,7 @@ type GetLiveAgentScheduleData = {
|
|
|
4744
4935
|
body?: never;
|
|
4745
4936
|
path?: never;
|
|
4746
4937
|
query?: never;
|
|
4747
|
-
url: '/tenant/schedule';
|
|
4938
|
+
url: '/tenant/live-agent/schedule';
|
|
4748
4939
|
};
|
|
4749
4940
|
type GetLiveAgentScheduleErrors = {
|
|
4750
4941
|
/**
|
|
@@ -4783,12 +4974,10 @@ type GetLiveAgentScheduleResponses = {
|
|
|
4783
4974
|
};
|
|
4784
4975
|
type GetLiveAgentScheduleResponse = GetLiveAgentScheduleResponses[keyof GetLiveAgentScheduleResponses];
|
|
4785
4976
|
type UpdateLiveAgentScheduleData = {
|
|
4786
|
-
body?:
|
|
4787
|
-
[key: string]: unknown;
|
|
4788
|
-
};
|
|
4977
|
+
body?: UpdateLiveAgentScheduleRequest;
|
|
4789
4978
|
path?: never;
|
|
4790
4979
|
query?: never;
|
|
4791
|
-
url: '/tenant/schedule';
|
|
4980
|
+
url: '/tenant/live-agent/schedule';
|
|
4792
4981
|
};
|
|
4793
4982
|
type UpdateLiveAgentScheduleErrors = {
|
|
4794
4983
|
/**
|
|
@@ -4867,7 +5056,7 @@ type GetWorkspaceSettingsResponses = {
|
|
|
4867
5056
|
data: {
|
|
4868
5057
|
settings: {
|
|
4869
5058
|
[key: string]: unknown;
|
|
4870
|
-
};
|
|
5059
|
+
} | null;
|
|
4871
5060
|
};
|
|
4872
5061
|
};
|
|
4873
5062
|
};
|
|
@@ -6213,7 +6402,7 @@ type ListApiKeysResponses = {
|
|
|
6213
6402
|
[key: string]: unknown;
|
|
6214
6403
|
}>;
|
|
6215
6404
|
pagination: {
|
|
6216
|
-
total: number;
|
|
6405
|
+
total: number | null;
|
|
6217
6406
|
limit: number;
|
|
6218
6407
|
hasMore: boolean;
|
|
6219
6408
|
};
|
|
@@ -6560,7 +6749,7 @@ type AdminFindByEmailResponses = {
|
|
|
6560
6749
|
platform?: string;
|
|
6561
6750
|
}>;
|
|
6562
6751
|
pagination: {
|
|
6563
|
-
total: number;
|
|
6752
|
+
total: number | null;
|
|
6564
6753
|
limit: number;
|
|
6565
6754
|
hasMore: boolean;
|
|
6566
6755
|
};
|
|
@@ -6616,7 +6805,7 @@ type AdminFindByOwnerResponses = {
|
|
|
6616
6805
|
createdAt: string;
|
|
6617
6806
|
}>;
|
|
6618
6807
|
pagination: {
|
|
6619
|
-
total: number;
|
|
6808
|
+
total: number | null;
|
|
6620
6809
|
limit: number;
|
|
6621
6810
|
hasMore: boolean;
|
|
6622
6811
|
};
|
|
@@ -7063,12 +7252,92 @@ type AdminResetCrawlsResponses = {
|
|
|
7063
7252
|
};
|
|
7064
7253
|
};
|
|
7065
7254
|
type AdminResetCrawlsResponse = AdminResetCrawlsResponses[keyof AdminResetCrawlsResponses];
|
|
7255
|
+
type ComplianceCustomerRedactData = {
|
|
7256
|
+
body?: CustomerRedactRequest;
|
|
7257
|
+
path?: never;
|
|
7258
|
+
query?: never;
|
|
7259
|
+
url: '/compliance/customer-redact';
|
|
7260
|
+
};
|
|
7261
|
+
type ComplianceCustomerRedactErrors = {
|
|
7262
|
+
/**
|
|
7263
|
+
* Validation error
|
|
7264
|
+
*/
|
|
7265
|
+
400: ErrorResponse;
|
|
7266
|
+
/**
|
|
7267
|
+
* Unauthorized
|
|
7268
|
+
*/
|
|
7269
|
+
401: ErrorResponse;
|
|
7270
|
+
/**
|
|
7271
|
+
* Forbidden
|
|
7272
|
+
*/
|
|
7273
|
+
403: ErrorResponse;
|
|
7274
|
+
/**
|
|
7275
|
+
* Not found
|
|
7276
|
+
*/
|
|
7277
|
+
404: ErrorResponse;
|
|
7278
|
+
/**
|
|
7279
|
+
* Rate limit exceeded
|
|
7280
|
+
*/
|
|
7281
|
+
429: ErrorResponse;
|
|
7282
|
+
};
|
|
7283
|
+
type ComplianceCustomerRedactError = ComplianceCustomerRedactErrors[keyof ComplianceCustomerRedactErrors];
|
|
7284
|
+
type ComplianceCustomerRedactResponses = {
|
|
7285
|
+
/**
|
|
7286
|
+
* Redaction queued (async task submitted)
|
|
7287
|
+
*/
|
|
7288
|
+
200: {
|
|
7289
|
+
object: 'compliance_request';
|
|
7290
|
+
requestId: string;
|
|
7291
|
+
data: ComplianceAuditResponse;
|
|
7292
|
+
};
|
|
7293
|
+
};
|
|
7294
|
+
type ComplianceCustomerRedactResponse = ComplianceCustomerRedactResponses[keyof ComplianceCustomerRedactResponses];
|
|
7295
|
+
type ComplianceCustomerDataRequestData = {
|
|
7296
|
+
body?: CustomerDataRequest;
|
|
7297
|
+
path?: never;
|
|
7298
|
+
query?: never;
|
|
7299
|
+
url: '/compliance/customer-data-request';
|
|
7300
|
+
};
|
|
7301
|
+
type ComplianceCustomerDataRequestErrors = {
|
|
7302
|
+
/**
|
|
7303
|
+
* Validation error
|
|
7304
|
+
*/
|
|
7305
|
+
400: ErrorResponse;
|
|
7306
|
+
/**
|
|
7307
|
+
* Unauthorized
|
|
7308
|
+
*/
|
|
7309
|
+
401: ErrorResponse;
|
|
7310
|
+
/**
|
|
7311
|
+
* Forbidden
|
|
7312
|
+
*/
|
|
7313
|
+
403: ErrorResponse;
|
|
7314
|
+
/**
|
|
7315
|
+
* Not found
|
|
7316
|
+
*/
|
|
7317
|
+
404: ErrorResponse;
|
|
7318
|
+
/**
|
|
7319
|
+
* Rate limit exceeded
|
|
7320
|
+
*/
|
|
7321
|
+
429: ErrorResponse;
|
|
7322
|
+
};
|
|
7323
|
+
type ComplianceCustomerDataRequestError = ComplianceCustomerDataRequestErrors[keyof ComplianceCustomerDataRequestErrors];
|
|
7324
|
+
type ComplianceCustomerDataRequestResponses = {
|
|
7325
|
+
/**
|
|
7326
|
+
* Data request recorded — ops team notified
|
|
7327
|
+
*/
|
|
7328
|
+
200: {
|
|
7329
|
+
object: 'compliance_request';
|
|
7330
|
+
requestId: string;
|
|
7331
|
+
data: ComplianceAuditResponse;
|
|
7332
|
+
};
|
|
7333
|
+
};
|
|
7334
|
+
type ComplianceCustomerDataRequestResponse = ComplianceCustomerDataRequestResponses[keyof ComplianceCustomerDataRequestResponses];
|
|
7066
7335
|
//#endregion
|
|
7067
7336
|
//#region src/generated/client.gen.d.ts
|
|
7068
7337
|
declare const client: Client;
|
|
7069
7338
|
//#endregion
|
|
7070
7339
|
//#region src/generated/sdk.gen.d.ts
|
|
7071
|
-
type Options$1<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = Options<TData, ThrowOnError> & {
|
|
7340
|
+
type Options$1<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean, TResponse = unknown> = Options<TData, ThrowOnError, TResponse> & {
|
|
7072
7341
|
/**
|
|
7073
7342
|
* You can provide a client instance returned by `createClient()` instead of
|
|
7074
7343
|
* individual options. This might be also useful if you want to implement a
|
|
@@ -7084,13 +7353,13 @@ type Options$1<TData extends TDataShape = TDataShape, ThrowOnError extends boole
|
|
|
7084
7353
|
/**
|
|
7085
7354
|
* Send a chat message
|
|
7086
7355
|
*
|
|
7087
|
-
* Send a message and
|
|
7356
|
+
* 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
7357
|
*/
|
|
7089
7358
|
declare const chat: <ThrowOnError extends boolean = false>(options?: Options$1<ChatData, ThrowOnError>) => RequestResult<ChatResponses, ChatErrors, ThrowOnError, "fields">;
|
|
7090
7359
|
/**
|
|
7091
7360
|
* Start a website crawl
|
|
7092
7361
|
*
|
|
7093
|
-
*
|
|
7362
|
+
* 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
7363
|
*/
|
|
7095
7364
|
declare const startCrawl: <ThrowOnError extends boolean = false>(options?: Options$1<StartCrawlData, ThrowOnError>) => RequestResult<StartCrawlResponses, StartCrawlErrors, ThrowOnError, "fields">;
|
|
7096
7365
|
/**
|
|
@@ -7102,25 +7371,25 @@ declare const scrapeSinglePage: <ThrowOnError extends boolean = false>(options?:
|
|
|
7102
7371
|
/**
|
|
7103
7372
|
* Get crawl configuration
|
|
7104
7373
|
*
|
|
7105
|
-
*
|
|
7374
|
+
* 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
7375
|
*/
|
|
7107
7376
|
declare const getCrawlConfig: <ThrowOnError extends boolean = false>(options?: Options$1<GetCrawlConfigData, ThrowOnError>) => RequestResult<GetCrawlConfigResponses, GetCrawlConfigErrors, ThrowOnError, "fields">;
|
|
7108
7377
|
/**
|
|
7109
7378
|
* Update crawl configuration
|
|
7110
7379
|
*
|
|
7111
|
-
*
|
|
7380
|
+
* 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
7381
|
*/
|
|
7113
7382
|
declare const updateCrawlConfig: <ThrowOnError extends boolean = false>(options?: Options$1<UpdateCrawlConfigData, ThrowOnError>) => RequestResult<UpdateCrawlConfigResponses, UpdateCrawlConfigErrors, ThrowOnError, "fields">;
|
|
7114
7383
|
/**
|
|
7115
7384
|
* Get crawl history
|
|
7116
7385
|
*
|
|
7117
|
-
*
|
|
7386
|
+
* 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
7387
|
*/
|
|
7119
7388
|
declare const getCrawlHistory: <ThrowOnError extends boolean = false>(options?: Options$1<GetCrawlHistoryData, ThrowOnError>) => RequestResult<GetCrawlHistoryResponses, GetCrawlHistoryErrors, ThrowOnError, "fields">;
|
|
7120
7389
|
/**
|
|
7121
7390
|
* Get crawl status
|
|
7122
7391
|
*
|
|
7123
|
-
*
|
|
7392
|
+
* 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
7393
|
*/
|
|
7125
7394
|
declare const getCrawlStatus: <ThrowOnError extends boolean = false>(options: Options$1<GetCrawlStatusData, ThrowOnError>) => RequestResult<GetCrawlStatusResponses, GetCrawlStatusErrors, ThrowOnError, "fields">;
|
|
7126
7395
|
/**
|
|
@@ -7129,6 +7398,12 @@ declare const getCrawlStatus: <ThrowOnError extends boolean = false>(options: Op
|
|
|
7129
7398
|
* Cancel a crawl that is currently in progress.
|
|
7130
7399
|
*/
|
|
7131
7400
|
declare const cancelCrawl: <ThrowOnError extends boolean = false>(options: Options$1<CancelCrawlData, ThrowOnError>) => RequestResult<CancelCrawlResponses, CancelCrawlErrors, ThrowOnError, "fields">;
|
|
7401
|
+
/**
|
|
7402
|
+
* Enroll for a crawl-complete email
|
|
7403
|
+
*
|
|
7404
|
+
* 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.
|
|
7405
|
+
*/
|
|
7406
|
+
declare const enrollCrawlNotification: <ThrowOnError extends boolean = false>(options: Options$1<EnrollCrawlNotificationData, ThrowOnError>) => RequestResult<EnrollCrawlNotificationResponses, EnrollCrawlNotificationErrors, ThrowOnError, "fields">;
|
|
7132
7407
|
/**
|
|
7133
7408
|
* Scrape or delete a single page
|
|
7134
7409
|
*
|
|
@@ -7144,7 +7419,7 @@ declare const listProducts: <ThrowOnError extends boolean = false>(options?: Opt
|
|
|
7144
7419
|
/**
|
|
7145
7420
|
* Upsert a product
|
|
7146
7421
|
*
|
|
7147
|
-
* Create or update
|
|
7422
|
+
* 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
7423
|
*/
|
|
7149
7424
|
declare const upsertProduct: <ThrowOnError extends boolean = false>(options?: Options$1<UpsertProductData, ThrowOnError>) => RequestResult<UpsertProductResponses, UpsertProductErrors, ThrowOnError, "fields">;
|
|
7150
7425
|
/**
|
|
@@ -7162,7 +7437,7 @@ declare const bulkUpsertProducts: <ThrowOnError extends boolean = false>(options
|
|
|
7162
7437
|
/**
|
|
7163
7438
|
* Search products
|
|
7164
7439
|
*
|
|
7165
|
-
*
|
|
7440
|
+
* 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
7441
|
*/
|
|
7167
7442
|
declare const searchProducts: <ThrowOnError extends boolean = false>(options?: Options$1<SearchProductsData, ThrowOnError>) => RequestResult<SearchProductsResponses, SearchProductsErrors, ThrowOnError, "fields">;
|
|
7168
7443
|
/**
|
|
@@ -7198,7 +7473,7 @@ declare const patchProduct: <ThrowOnError extends boolean = false>(options: Opti
|
|
|
7198
7473
|
/**
|
|
7199
7474
|
* Upsert a post
|
|
7200
7475
|
*
|
|
7201
|
-
* Create or update
|
|
7476
|
+
* 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
7477
|
*/
|
|
7203
7478
|
declare const upsertPost: <ThrowOnError extends boolean = false>(options?: Options$1<UpsertPostData, ThrowOnError>) => RequestResult<UpsertPostResponses, UpsertPostErrors, ThrowOnError, "fields">;
|
|
7204
7479
|
/**
|
|
@@ -7216,7 +7491,7 @@ declare const bulkUpsertPosts: <ThrowOnError extends boolean = false>(options?:
|
|
|
7216
7491
|
/**
|
|
7217
7492
|
* Search posts
|
|
7218
7493
|
*
|
|
7219
|
-
*
|
|
7494
|
+
* 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
7495
|
*/
|
|
7221
7496
|
declare const searchPosts: <ThrowOnError extends boolean = false>(options?: Options$1<SearchPostsData, ThrowOnError>) => RequestResult<SearchPostsResponses, SearchPostsErrors, ThrowOnError, "fields">;
|
|
7222
7497
|
/**
|
|
@@ -7511,12 +7786,20 @@ declare const deleteTenant: <ThrowOnError extends boolean = false>(options: Opti
|
|
|
7511
7786
|
* Validate API key and retrieve tenant account information including tier, publishable key, and JWT secret.
|
|
7512
7787
|
*/
|
|
7513
7788
|
declare const getTenantStatus: <ThrowOnError extends boolean = false>(options?: Options$1<GetTenantStatusData, ThrowOnError>) => RequestResult<GetTenantStatusResponses, GetTenantStatusErrors, ThrowOnError, "fields">;
|
|
7789
|
+
/**
|
|
7790
|
+
* Identity probe (tenant, scopes, key type)
|
|
7791
|
+
*
|
|
7792
|
+
* 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.
|
|
7793
|
+
*/
|
|
7794
|
+
declare const getTenantWhoami: <ThrowOnError extends boolean = false>(options?: Options$1<GetTenantWhoamiData, ThrowOnError>) => RequestResult<GetTenantWhoamiResponses, GetTenantWhoamiErrors, ThrowOnError, "fields">;
|
|
7514
7795
|
/**
|
|
7515
7796
|
* Update tenant feature flags
|
|
7516
7797
|
*/
|
|
7517
7798
|
declare const updateTenantFeatures: <ThrowOnError extends boolean = false>(options?: Options$1<UpdateTenantFeaturesData, ThrowOnError>) => RequestResult<UpdateTenantFeaturesResponses, UpdateTenantFeaturesErrors, ThrowOnError, "fields">;
|
|
7518
7799
|
/**
|
|
7519
7800
|
* Get usage summary
|
|
7801
|
+
*
|
|
7802
|
+
* 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
7803
|
*/
|
|
7521
7804
|
declare const getTenantUsage: <ThrowOnError extends boolean = false>(options?: Options$1<GetTenantUsageData, ThrowOnError>) => RequestResult<GetTenantUsageResponses, GetTenantUsageErrors, ThrowOnError, "fields">;
|
|
7522
7805
|
/**
|
|
@@ -7526,21 +7809,25 @@ declare const getTenantUsageHistory: <ThrowOnError extends boolean = false>(opti
|
|
|
7526
7809
|
/**
|
|
7527
7810
|
* List workspaces
|
|
7528
7811
|
*
|
|
7529
|
-
*
|
|
7812
|
+
* 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
7813
|
*/
|
|
7531
7814
|
declare const listTenantWorkspaces: <ThrowOnError extends boolean = false>(options?: Options$1<ListTenantWorkspacesData, ThrowOnError>) => RequestResult<ListTenantWorkspacesResponses, ListTenantWorkspacesErrors, ThrowOnError, "fields">;
|
|
7532
7815
|
/**
|
|
7533
7816
|
* Create a workspace
|
|
7534
7817
|
*
|
|
7535
|
-
* Create a new workspace under the authenticated tenant.
|
|
7818
|
+
* 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
7819
|
*/
|
|
7537
7820
|
declare const createTenantWorkspace: <ThrowOnError extends boolean = false>(options?: Options$1<CreateTenantWorkspaceData, ThrowOnError>) => RequestResult<CreateTenantWorkspaceResponses, CreateTenantWorkspaceErrors, ThrowOnError, "fields">;
|
|
7538
7821
|
/**
|
|
7539
7822
|
* Delete a workspace
|
|
7823
|
+
*
|
|
7824
|
+
* 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
7825
|
*/
|
|
7541
7826
|
declare const deleteWorkspace: <ThrowOnError extends boolean = false>(options: Options$1<DeleteWorkspaceData, ThrowOnError>) => RequestResult<DeleteWorkspaceResponses, DeleteWorkspaceErrors, ThrowOnError, "fields">;
|
|
7542
7827
|
/**
|
|
7543
7828
|
* Update a workspace
|
|
7829
|
+
*
|
|
7830
|
+
* 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
7831
|
*/
|
|
7545
7832
|
declare const updateWorkspace: <ThrowOnError extends boolean = false>(options: Options$1<UpdateWorkspaceData, ThrowOnError>) => RequestResult<UpdateWorkspaceResponses, UpdateWorkspaceErrors, ThrowOnError, "fields">;
|
|
7546
7833
|
/**
|
|
@@ -7671,6 +7958,8 @@ declare const validateCustomDomain: <ThrowOnError extends boolean = false>(optio
|
|
|
7671
7958
|
declare const testDomainConnection: <ThrowOnError extends boolean = false>(options: Options$1<TestDomainConnectionData, ThrowOnError>) => RequestResult<TestDomainConnectionResponses, TestDomainConnectionErrors, ThrowOnError, "fields">;
|
|
7672
7959
|
/**
|
|
7673
7960
|
* Get workspace details
|
|
7961
|
+
*
|
|
7962
|
+
* 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
7963
|
*/
|
|
7675
7964
|
declare const getWorkspaceDetails: <ThrowOnError extends boolean = false>(options: Options$1<GetWorkspaceDetailsData, ThrowOnError>) => RequestResult<GetWorkspaceDetailsResponses, GetWorkspaceDetailsErrors, ThrowOnError, "fields">;
|
|
7676
7965
|
/**
|
|
@@ -7769,6 +8058,18 @@ declare const adminUpdateTier: <ThrowOnError extends boolean = false>(options: O
|
|
|
7769
8058
|
* Reset a tenant's crawl records for the current month
|
|
7770
8059
|
*/
|
|
7771
8060
|
declare const adminResetCrawls: <ThrowOnError extends boolean = false>(options: Options$1<AdminResetCrawlsData, ThrowOnError>) => RequestResult<AdminResetCrawlsResponses, AdminResetCrawlsErrors, ThrowOnError, "fields">;
|
|
8061
|
+
/**
|
|
8062
|
+
* Redact a customer across all stored PII
|
|
8063
|
+
*
|
|
8064
|
+
* 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.
|
|
8065
|
+
*/
|
|
8066
|
+
declare const complianceCustomerRedact: <ThrowOnError extends boolean = false>(options?: Options$1<ComplianceCustomerRedactData, ThrowOnError>) => RequestResult<ComplianceCustomerRedactResponses, ComplianceCustomerRedactErrors, ThrowOnError, "fields">;
|
|
8067
|
+
/**
|
|
8068
|
+
* Record a customer data-export request
|
|
8069
|
+
*
|
|
8070
|
+
* Queues a customer data-export request and notifies ops to fulfill it within Shopify's 30-day SLA. Idempotent when `caller.externalId` is supplied.
|
|
8071
|
+
*/
|
|
8072
|
+
declare const complianceCustomerDataRequest: <ThrowOnError extends boolean = false>(options?: Options$1<ComplianceCustomerDataRequestData, ThrowOnError>) => RequestResult<ComplianceCustomerDataRequestResponses, ComplianceCustomerDataRequestErrors, ThrowOnError, "fields">;
|
|
7772
8073
|
//#endregion
|
|
7773
8074
|
//#region src/util.d.ts
|
|
7774
8075
|
/**
|
|
@@ -7781,5 +8082,5 @@ declare const adminResetCrawls: <ThrowOnError extends boolean = false>(options:
|
|
|
7781
8082
|
*/
|
|
7782
8083
|
declare function workspaceIdFromUrl(url: string): string;
|
|
7783
8084
|
//#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 };
|
|
8085
|
+
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, ComplianceAuditResponse, ComplianceCaller, ComplianceCustomerDataRequestData, ComplianceCustomerDataRequestError, ComplianceCustomerDataRequestErrors, ComplianceCustomerDataRequestResponse, ComplianceCustomerDataRequestResponses, ComplianceCustomerId, ComplianceCustomerRedactData, ComplianceCustomerRedactError, ComplianceCustomerRedactErrors, ComplianceCustomerRedactResponse, ComplianceCustomerRedactResponses, 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, CustomerDataRequest, CustomerRedactRequest, 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, EnrollCrawlNotificationData, EnrollCrawlNotificationError, EnrollCrawlNotificationErrors, EnrollCrawlNotificationRequest, EnrollCrawlNotificationResponse, EnrollCrawlNotificationResponses, 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, GetTenantWhoamiData, GetTenantWhoamiError, GetTenantWhoamiErrors, GetTenantWhoamiResponse, GetTenantWhoamiResponses, GetThreadAnalyticsData, GetThreadAnalyticsError, GetThreadAnalyticsErrors, GetThreadAnalyticsResponse, GetThreadAnalyticsResponses, GetThreadData, GetThreadError, GetThreadErrors, GetThreadFeedbackData, GetThreadFeedbackError, GetThreadFeedbackErrors, GetThreadFeedbackResponse, GetThreadFeedbackResponses, GetThreadMessagesData, GetThreadMessagesError, GetThreadMessagesErrors, GetThreadMessagesResponse, GetThreadMessagesResponses, GetThreadResponse, GetThreadResponses, GetUploadUrlData, GetUploadUrlError, GetUploadUrlErrors, GetUploadUrlRequest, 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, StoreLiveAgentCredentialsRequest, SubmitFeedbackData, SubmitFeedbackError, SubmitFeedbackErrors, SubmitFeedbackResponse, SubmitFeedbackResponses, Taxonomy, TaxonomyInput, TenantStatus, TenantWhoami, 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, UpdateLiveAgentScheduleRequest, UpdateLiveAgentScheduleResponse, UpdateLiveAgentScheduleResponses, UpdateMcpConfigData, UpdateMcpConfigError, UpdateMcpConfigErrors, UpdateMcpConfigRequest, UpdateMcpConfigResponse, UpdateMcpConfigResponses, UpdateSearchWidgetConfigData, UpdateSearchWidgetConfigError, UpdateSearchWidgetConfigErrors, UpdateSearchWidgetConfigResponse, UpdateSearchWidgetConfigResponses, UpdateTenantFeaturesData, UpdateTenantFeaturesError, UpdateTenantFeaturesErrors, UpdateTenantFeaturesRequest, UpdateTenantFeaturesResponse, UpdateTenantFeaturesResponses, UpdateWebhookData, UpdateWebhookError, UpdateWebhookErrors, UpdateWebhookInput, UpdateWebhookResponse, UpdateWebhookResponses, UpdateWorkspaceData, UpdateWorkspaceError, UpdateWorkspaceErrors, UpdateWorkspaceRequest, 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, 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
8086
|
//# sourceMappingURL=index.d.mts.map
|