attio-ts-sdk 1.0.0 → 1.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/README.md +143 -2
- package/dist/index.d.mts +522 -163
- package/dist/index.mjs +728 -130
- package/dist/index.mjs.map +1 -1
- package/package.json +13 -11
package/dist/index.d.mts
CHANGED
|
@@ -24,6 +24,56 @@ interface BatchOptions {
|
|
|
24
24
|
declare const runBatch: <T>(items: BatchItem<T>[], options?: BatchOptions) => Promise<BatchResult<T>[]>;
|
|
25
25
|
//#endregion
|
|
26
26
|
//#region src/attio/cache.d.ts
|
|
27
|
+
type MetadataCacheScope = "attributes" | "options" | "statuses";
|
|
28
|
+
interface CacheAdapter<K, V> {
|
|
29
|
+
get(key: K): V | undefined;
|
|
30
|
+
set(key: K, value: V): void;
|
|
31
|
+
delete(key: K): void;
|
|
32
|
+
clear(): void;
|
|
33
|
+
}
|
|
34
|
+
interface CacheAdapterParams {
|
|
35
|
+
scope: MetadataCacheScope;
|
|
36
|
+
ttlMs: number;
|
|
37
|
+
maxEntries?: number;
|
|
38
|
+
}
|
|
39
|
+
interface CacheAdapterFactory<K, V> {
|
|
40
|
+
create(params: CacheAdapterParams): CacheAdapter<K, V>;
|
|
41
|
+
}
|
|
42
|
+
interface MetadataCacheMaxEntries {
|
|
43
|
+
attributes?: number;
|
|
44
|
+
options?: number;
|
|
45
|
+
statuses?: number;
|
|
46
|
+
}
|
|
47
|
+
interface MetadataCacheConfigEnabled {
|
|
48
|
+
enabled?: true;
|
|
49
|
+
ttlMs?: number;
|
|
50
|
+
maxEntries?: number | MetadataCacheMaxEntries;
|
|
51
|
+
adapter?: CacheAdapterFactory<string, unknown[]>;
|
|
52
|
+
}
|
|
53
|
+
interface MetadataCacheConfigDisabled {
|
|
54
|
+
enabled: false;
|
|
55
|
+
}
|
|
56
|
+
type MetadataCacheConfig = MetadataCacheConfigEnabled | MetadataCacheConfigDisabled;
|
|
57
|
+
interface AttioCacheConfigEnabled {
|
|
58
|
+
enabled?: true;
|
|
59
|
+
key?: string;
|
|
60
|
+
metadata?: MetadataCacheConfig;
|
|
61
|
+
}
|
|
62
|
+
interface AttioCacheConfigDisabled {
|
|
63
|
+
enabled: false;
|
|
64
|
+
key?: string;
|
|
65
|
+
}
|
|
66
|
+
type AttioCacheConfig = AttioCacheConfigEnabled | AttioCacheConfigDisabled;
|
|
67
|
+
interface MetadataCacheManager {
|
|
68
|
+
get(scope: MetadataCacheScope): CacheAdapter<string, unknown[]> | undefined;
|
|
69
|
+
clear(): void;
|
|
70
|
+
}
|
|
71
|
+
interface AttioCacheManager {
|
|
72
|
+
metadata: MetadataCacheManager;
|
|
73
|
+
clear(): void;
|
|
74
|
+
}
|
|
75
|
+
declare const DEFAULT_METADATA_CACHE_TTL_MS: number;
|
|
76
|
+
declare const DEFAULT_METADATA_CACHE_MAX_ENTRIES: MetadataCacheMaxEntries;
|
|
27
77
|
interface TtlCacheEntry<T> {
|
|
28
78
|
value: T;
|
|
29
79
|
expiresAt: number;
|
|
@@ -42,12 +92,15 @@ declare class TtlCache<K, V> {
|
|
|
42
92
|
delete(key: K): void;
|
|
43
93
|
clear(): void;
|
|
44
94
|
}
|
|
95
|
+
declare const createTtlCacheAdapter: (params: CacheAdapterParams) => CacheAdapter<string, unknown[]>;
|
|
45
96
|
type ClientCacheValidator<T> = ZodType<T>;
|
|
46
97
|
declare const getCachedClient: <T>(key: string, validator: ClientCacheValidator<T>) => T | undefined;
|
|
47
98
|
declare const setCachedClient: <T>(key: string, client: T) => void;
|
|
48
99
|
declare const clearClientCache: () => void;
|
|
49
|
-
declare const hashToken: (value: string) => string;
|
|
100
|
+
declare const hashToken: (value: string | undefined) => string;
|
|
50
101
|
declare const createTtlCache: <K, V>(options: TtlCacheOptions) => TtlCache<K, V>;
|
|
102
|
+
declare const clearMetadataCacheRegistry: () => void;
|
|
103
|
+
declare const createAttioCacheManager: (key: string, config?: AttioCacheConfig) => AttioCacheManager;
|
|
51
104
|
//#endregion
|
|
52
105
|
//#region src/generated/core/auth.gen.d.ts
|
|
53
106
|
type AuthToken = string | undefined;
|
|
@@ -359,59 +412,6 @@ interface TDataShape {
|
|
|
359
412
|
type OmitKeys<T, K> = Pick<T, Exclude<keyof T, K>>;
|
|
360
413
|
type Options$1<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean, TResponse = unknown, TResponseStyle extends ResponseStyle = 'fields'> = OmitKeys<RequestOptions<TResponse, TResponseStyle, ThrowOnError>, 'body' | 'path' | 'query' | 'url'> & ([TData] extends [never] ? unknown : Omit<TData, 'url'>);
|
|
361
414
|
//#endregion
|
|
362
|
-
//#region src/attio/retry.d.ts
|
|
363
|
-
interface RetryConfig {
|
|
364
|
-
maxRetries: number;
|
|
365
|
-
initialDelayMs: number;
|
|
366
|
-
maxDelayMs: number;
|
|
367
|
-
retryableStatusCodes: number[];
|
|
368
|
-
respectRetryAfter: boolean;
|
|
369
|
-
}
|
|
370
|
-
declare const DEFAULT_RETRY_CONFIG: RetryConfig;
|
|
371
|
-
declare const sleep: (ms: number) => Promise<unknown>;
|
|
372
|
-
declare const calculateRetryDelay: (attempt: number, config: RetryConfig, retryAfterMs?: number) => number;
|
|
373
|
-
declare const isRetryableStatus: (status: number | undefined, config: RetryConfig) => boolean;
|
|
374
|
-
declare const isRetryableError: (error: unknown, config: RetryConfig) => boolean;
|
|
375
|
-
declare const callWithRetry: <T>(fn: () => Promise<T>, config?: Partial<RetryConfig>) => Promise<T>;
|
|
376
|
-
//#endregion
|
|
377
|
-
//#region src/attio/config.d.ts
|
|
378
|
-
declare const DEFAULT_BASE_URL = "https://api.attio.com";
|
|
379
|
-
interface AttioClientConfig extends Omit<Config, "auth" | "baseUrl" | "headers"> {
|
|
380
|
-
apiKey?: string;
|
|
381
|
-
accessToken?: string;
|
|
382
|
-
authToken?: string;
|
|
383
|
-
baseUrl?: string;
|
|
384
|
-
headers?: Config["headers"];
|
|
385
|
-
timeoutMs?: number;
|
|
386
|
-
retry?: Partial<RetryConfig>;
|
|
387
|
-
cache?: {
|
|
388
|
-
enabled?: boolean;
|
|
389
|
-
key?: string;
|
|
390
|
-
};
|
|
391
|
-
responseStyle?: ResponseStyle;
|
|
392
|
-
throwOnError?: boolean;
|
|
393
|
-
}
|
|
394
|
-
declare const getEnvValue: (key: string) => string | undefined;
|
|
395
|
-
declare const normalizeBaseUrl: (baseUrl: string) => string;
|
|
396
|
-
declare const resolveBaseUrl: (config?: AttioClientConfig) => string;
|
|
397
|
-
declare const resolveAuthToken: (config?: AttioClientConfig) => string | undefined;
|
|
398
|
-
declare const validateAuthToken: (token: string | undefined) => string;
|
|
399
|
-
declare const resolveResponseStyle: (config?: AttioClientConfig) => ResponseStyle;
|
|
400
|
-
declare const resolveThrowOnError: (config?: AttioClientConfig) => boolean;
|
|
401
|
-
//#endregion
|
|
402
|
-
//#region src/attio/client.d.ts
|
|
403
|
-
type AttioClient = Client;
|
|
404
|
-
interface AttioClientInput {
|
|
405
|
-
client?: AttioClient;
|
|
406
|
-
config?: AttioClientConfig;
|
|
407
|
-
}
|
|
408
|
-
interface AttioRequestOptions extends RequestOptions {
|
|
409
|
-
retry?: Partial<RetryConfig>;
|
|
410
|
-
}
|
|
411
|
-
declare const createAttioClient: (config?: AttioClientConfig) => AttioClient;
|
|
412
|
-
declare const getAttioClient: (config?: AttioClientConfig) => AttioClient;
|
|
413
|
-
declare const resolveAttioClient: (input?: AttioClientInput) => AttioClient;
|
|
414
|
-
//#endregion
|
|
415
415
|
//#region src/attio/errors.d.ts
|
|
416
416
|
interface AttioErrorDetails {
|
|
417
417
|
code?: string;
|
|
@@ -463,6 +463,91 @@ declare class AttioNetworkError extends AttioError {
|
|
|
463
463
|
}
|
|
464
464
|
declare const normalizeAttioError: (error: unknown, context?: AttioErrorContext) => AttioError;
|
|
465
465
|
//#endregion
|
|
466
|
+
//#region src/attio/hooks.d.ts
|
|
467
|
+
interface AttioRequestHookPayload {
|
|
468
|
+
request: Request;
|
|
469
|
+
options: ResolvedRequestOptions;
|
|
470
|
+
}
|
|
471
|
+
interface AttioResponseHookPayload {
|
|
472
|
+
response: Response;
|
|
473
|
+
request: Request;
|
|
474
|
+
options: ResolvedRequestOptions;
|
|
475
|
+
}
|
|
476
|
+
interface AttioErrorHookPayload {
|
|
477
|
+
error: AttioError;
|
|
478
|
+
request?: Request;
|
|
479
|
+
response?: Response;
|
|
480
|
+
options?: ResolvedRequestOptions;
|
|
481
|
+
}
|
|
482
|
+
interface AttioClientHooks {
|
|
483
|
+
onRequest?: (payload: AttioRequestHookPayload) => void;
|
|
484
|
+
onResponse?: (payload: AttioResponseHookPayload) => void;
|
|
485
|
+
onError?: (payload: AttioErrorHookPayload) => void;
|
|
486
|
+
}
|
|
487
|
+
type LogValue = string | number | boolean | null | undefined | LogValue[] | {
|
|
488
|
+
[key: string]: LogValue;
|
|
489
|
+
};
|
|
490
|
+
interface LogContext {
|
|
491
|
+
[key: string]: LogValue;
|
|
492
|
+
}
|
|
493
|
+
interface AttioLogger {
|
|
494
|
+
debug?: (message: string, context?: LogContext) => void;
|
|
495
|
+
info?: (message: string, context?: LogContext) => void;
|
|
496
|
+
warn?: (message: string, context?: LogContext) => void;
|
|
497
|
+
error?: (message: string, context?: LogContext) => void;
|
|
498
|
+
}
|
|
499
|
+
//#endregion
|
|
500
|
+
//#region src/attio/retry.d.ts
|
|
501
|
+
interface RetryConfig {
|
|
502
|
+
maxRetries: number;
|
|
503
|
+
initialDelayMs: number;
|
|
504
|
+
maxDelayMs: number;
|
|
505
|
+
retryableStatusCodes: number[];
|
|
506
|
+
respectRetryAfter: boolean;
|
|
507
|
+
}
|
|
508
|
+
declare const DEFAULT_RETRY_CONFIG: RetryConfig;
|
|
509
|
+
declare const sleep: (ms: number) => Promise<unknown>;
|
|
510
|
+
declare const calculateRetryDelay: (attempt: number, config: RetryConfig, retryAfterMs?: number) => number;
|
|
511
|
+
declare const isRetryableStatus: (status: number | undefined, config: RetryConfig) => boolean;
|
|
512
|
+
declare const isRetryableError: (error: unknown, config: RetryConfig) => boolean;
|
|
513
|
+
declare function callWithRetry<T>(fn: () => Promise<T>, config?: Partial<RetryConfig>): Promise<T>;
|
|
514
|
+
declare function callWithRetry<TData, TError, ThrowOnError extends boolean, TResponseStyle extends ResponseStyle>(fn: () => RequestResult<TData, TError, ThrowOnError, TResponseStyle>, config?: Partial<RetryConfig>): RequestResult<TData, TError, ThrowOnError, TResponseStyle>;
|
|
515
|
+
//#endregion
|
|
516
|
+
//#region src/attio/config.d.ts
|
|
517
|
+
declare const DEFAULT_BASE_URL = "https://api.attio.com";
|
|
518
|
+
interface AttioClientConfig extends Omit<Config, "auth" | "baseUrl" | "headers" | "cache"> {
|
|
519
|
+
apiKey?: string;
|
|
520
|
+
accessToken?: string;
|
|
521
|
+
authToken?: string;
|
|
522
|
+
baseUrl?: string;
|
|
523
|
+
headers?: Config["headers"];
|
|
524
|
+
timeoutMs?: number;
|
|
525
|
+
retry?: Partial<RetryConfig>;
|
|
526
|
+
cache?: AttioCacheConfig;
|
|
527
|
+
hooks?: AttioClientHooks;
|
|
528
|
+
logger?: AttioLogger;
|
|
529
|
+
responseStyle?: ResponseStyle;
|
|
530
|
+
throwOnError?: boolean;
|
|
531
|
+
}
|
|
532
|
+
declare const getEnvValue: (key: string) => string | undefined;
|
|
533
|
+
declare const normalizeBaseUrl: (baseUrl: string) => string;
|
|
534
|
+
declare const resolveBaseUrl: (config?: AttioClientConfig) => string;
|
|
535
|
+
declare const resolveAuthToken: (config?: AttioClientConfig) => string | undefined;
|
|
536
|
+
declare const resolveResponseStyle: (config?: AttioClientConfig) => ResponseStyle;
|
|
537
|
+
declare const resolveThrowOnError: (config?: AttioClientConfig) => boolean;
|
|
538
|
+
//#endregion
|
|
539
|
+
//#region src/attio/client.d.ts
|
|
540
|
+
interface AttioClient extends Client {
|
|
541
|
+
cache: AttioCacheManager;
|
|
542
|
+
}
|
|
543
|
+
interface AttioClientInput {
|
|
544
|
+
client?: AttioClient;
|
|
545
|
+
config?: AttioClientConfig;
|
|
546
|
+
}
|
|
547
|
+
declare const createAttioClient: (config?: AttioClientConfig) => AttioClient;
|
|
548
|
+
declare const getAttioClient: (config?: AttioClientConfig) => AttioClient;
|
|
549
|
+
declare const resolveAttioClient: (input?: AttioClientInput) => AttioClient;
|
|
550
|
+
//#endregion
|
|
466
551
|
//#region src/attio/error-enhancer.d.ts
|
|
467
552
|
interface AttioValueSuggestion {
|
|
468
553
|
field: string;
|
|
@@ -14771,88 +14856,170 @@ declare const patchV2WebhooksByWebhookId: <ThrowOnError extends boolean = false>
|
|
|
14771
14856
|
declare const getV2Self: <ThrowOnError extends boolean = false>(options?: Options<GetV2SelfData, ThrowOnError>) => RequestResult<GetV2SelfResponses, unknown, ThrowOnError, "fields">;
|
|
14772
14857
|
//#endregion
|
|
14773
14858
|
//#region src/attio/lists.d.ts
|
|
14859
|
+
type ListId = string & {
|
|
14860
|
+
readonly __brand: "ListId";
|
|
14861
|
+
};
|
|
14862
|
+
type EntryId = string & {
|
|
14863
|
+
readonly __brand: "EntryId";
|
|
14864
|
+
};
|
|
14865
|
+
type ParentObjectId = string & {
|
|
14866
|
+
readonly __brand: "ParentObjectId";
|
|
14867
|
+
};
|
|
14868
|
+
type ParentRecordId = string & {
|
|
14869
|
+
readonly __brand: "ParentRecordId";
|
|
14870
|
+
};
|
|
14871
|
+
type EntryValues = PostV2ListsByListEntriesData["body"]["data"]["entry_values"];
|
|
14872
|
+
type ListEntryFilter = PostV2ListsByListEntriesQueryData["body"]["filter"];
|
|
14774
14873
|
interface ListQueryInput extends AttioClientInput {
|
|
14775
|
-
list:
|
|
14776
|
-
filter?:
|
|
14874
|
+
list: ListId;
|
|
14875
|
+
filter?: ListEntryFilter;
|
|
14777
14876
|
limit?: number;
|
|
14778
14877
|
offset?: number;
|
|
14779
|
-
options?: Omit<Options
|
|
14878
|
+
options?: Omit<Options<PostV2ListsByListEntriesQueryData>, "client" | "path" | "body">;
|
|
14879
|
+
}
|
|
14880
|
+
interface GetListInput extends AttioClientInput {
|
|
14881
|
+
list: ListId;
|
|
14882
|
+
options?: Omit<Options<GetV2ListsByListData>, "client" | "path">;
|
|
14883
|
+
}
|
|
14884
|
+
interface AddListEntryInput extends AttioClientInput {
|
|
14885
|
+
list: ListId;
|
|
14886
|
+
parentObject: ParentObjectId;
|
|
14887
|
+
parentRecordId: ParentRecordId;
|
|
14888
|
+
entryValues?: EntryValues;
|
|
14889
|
+
options?: Omit<Options<PostV2ListsByListEntriesData>, "client" | "path" | "body">;
|
|
14890
|
+
}
|
|
14891
|
+
interface UpdateListEntryInput extends AttioClientInput {
|
|
14892
|
+
list: ListId;
|
|
14893
|
+
entryId: EntryId;
|
|
14894
|
+
entryValues: EntryValues;
|
|
14895
|
+
options?: Omit<Options<PatchV2ListsByListEntriesByEntryIdData>, "client" | "path" | "body">;
|
|
14896
|
+
}
|
|
14897
|
+
interface RemoveListEntryInput extends AttioClientInput {
|
|
14898
|
+
list: ListId;
|
|
14899
|
+
entryId: EntryId;
|
|
14900
|
+
options?: Omit<Options<DeleteV2ListsByListEntriesByEntryIdData, true>, "client" | "path">;
|
|
14780
14901
|
}
|
|
14781
14902
|
declare const listLists: (input?: AttioClientInput) => Promise<unknown[]>;
|
|
14782
|
-
declare const getList: (input:
|
|
14783
|
-
list: string;
|
|
14784
|
-
} & AttioClientInput) => Promise<unknown>;
|
|
14903
|
+
declare const getList: (input: GetListInput) => Promise<unknown>;
|
|
14785
14904
|
declare const queryListEntries: (input: ListQueryInput) => Promise<unknown[]>;
|
|
14786
|
-
declare const addListEntry: (input:
|
|
14787
|
-
|
|
14788
|
-
|
|
14789
|
-
entryValues?: Record<string, unknown>;
|
|
14790
|
-
options?: Omit<Options, "client" | "path" | "body">;
|
|
14791
|
-
} & AttioClientInput) => Promise<unknown>;
|
|
14792
|
-
declare const updateListEntry: (input: {
|
|
14793
|
-
list: string;
|
|
14794
|
-
entryId: string;
|
|
14795
|
-
entryValues: Record<string, unknown>;
|
|
14796
|
-
options?: Omit<Options, "client" | "path" | "body">;
|
|
14797
|
-
} & AttioClientInput) => Promise<unknown>;
|
|
14798
|
-
declare const removeListEntry: (input: {
|
|
14799
|
-
list: string;
|
|
14800
|
-
entryId: string;
|
|
14801
|
-
options?: Omit<Options, "client" | "path">;
|
|
14802
|
-
} & AttioClientInput) => Promise<boolean>;
|
|
14905
|
+
declare const addListEntry: (input: AddListEntryInput) => Promise<unknown>;
|
|
14906
|
+
declare const updateListEntry: (input: UpdateListEntryInput) => Promise<unknown>;
|
|
14907
|
+
declare const removeListEntry: (input: RemoveListEntryInput) => Promise<boolean>;
|
|
14803
14908
|
//#endregion
|
|
14804
14909
|
//#region src/attio/metadata.d.ts
|
|
14805
|
-
declare const buildKey: (target:
|
|
14910
|
+
declare const buildKey: (target: AttributeTarget, identifier: AttributeIdentifier, attribute?: AttributeSlug) => string;
|
|
14806
14911
|
declare const extractTitles: (items: unknown[]) => string[];
|
|
14807
|
-
|
|
14808
|
-
|
|
14809
|
-
|
|
14810
|
-
|
|
14912
|
+
type AttributeTarget = GetV2ByTargetByIdentifierAttributesData["path"]["target"];
|
|
14913
|
+
type AttributeIdentifier = GetV2ByTargetByIdentifierAttributesData["path"]["identifier"];
|
|
14914
|
+
type AttributeSlug = GetV2ByTargetByIdentifierAttributesByAttributeData["path"]["attribute"];
|
|
14915
|
+
type AttributeMetadataData = GetV2ByTargetByIdentifierAttributesByAttributeOptionsData | GetV2ByTargetByIdentifierAttributesByAttributeStatusesData;
|
|
14916
|
+
interface AttributePathInput {
|
|
14917
|
+
target: AttributeTarget;
|
|
14918
|
+
identifier: AttributeIdentifier;
|
|
14811
14919
|
}
|
|
14812
|
-
interface
|
|
14813
|
-
attribute:
|
|
14920
|
+
interface AttributePathWithAttribute extends AttributePathInput {
|
|
14921
|
+
attribute: AttributeSlug;
|
|
14814
14922
|
}
|
|
14815
|
-
interface
|
|
14816
|
-
|
|
14817
|
-
identifier: string;
|
|
14818
|
-
attribute: string;
|
|
14923
|
+
interface AttributeListInput extends AttioClientInput, AttributePathInput {
|
|
14924
|
+
options?: Omit<Options<GetV2ByTargetByIdentifierAttributesData>, "client" | "path">;
|
|
14819
14925
|
}
|
|
14820
|
-
interface
|
|
14926
|
+
interface AttributeInput extends AttioClientInput, AttributePathWithAttribute {
|
|
14927
|
+
options?: Omit<Options<GetV2ByTargetByIdentifierAttributesByAttributeData>, "client" | "path">;
|
|
14928
|
+
}
|
|
14929
|
+
interface AttributeMetadataInput<TData extends AttributeMetadataData> extends AttioClientInput, AttributePathWithAttribute {
|
|
14930
|
+
options?: Partial<Omit<Options<TData>, "client" | "path">>;
|
|
14931
|
+
}
|
|
14932
|
+
interface AttributeMetadataPath extends AttributePathWithAttribute {}
|
|
14933
|
+
type AttributeMetadataFetchParams<TData extends AttributeMetadataData> = Partial<Omit<Options<TData>, "client" | "path">> & {
|
|
14821
14934
|
client: AttioClient;
|
|
14822
14935
|
path: AttributeMetadataPath;
|
|
14936
|
+
};
|
|
14937
|
+
interface AttributeMetadataRequestParams<TItem, TData extends AttributeMetadataData> {
|
|
14938
|
+
input: AttributeMetadataInput<TData>;
|
|
14939
|
+
cache?: CacheAdapter<string, unknown[]>;
|
|
14940
|
+
fetcher: (params: AttributeMetadataFetchParams<TData>) => Promise<unknown>;
|
|
14941
|
+
itemSchema: ZodType<TItem>;
|
|
14823
14942
|
}
|
|
14824
|
-
|
|
14825
|
-
|
|
14826
|
-
cache: TtlCache<string, unknown[]>;
|
|
14827
|
-
fetcher: (params: AttributeMetadataFetchParams) => Promise<unknown>;
|
|
14828
|
-
}
|
|
14829
|
-
declare const buildAttributeMetadataPath: (input: AttributeInput) => AttributeMetadataPath;
|
|
14830
|
-
declare const listAttributeMetadata: ({
|
|
14943
|
+
declare const buildAttributeMetadataPath: (input: AttributePathWithAttribute) => AttributeMetadataPath;
|
|
14944
|
+
declare const listAttributeMetadata: <T, TData extends AttributeMetadataData>({
|
|
14831
14945
|
input,
|
|
14832
14946
|
cache,
|
|
14833
|
-
fetcher
|
|
14834
|
-
|
|
14947
|
+
fetcher,
|
|
14948
|
+
itemSchema
|
|
14949
|
+
}: AttributeMetadataRequestParams<T, TData>) => Promise<T[]>;
|
|
14835
14950
|
declare const listAttributes: (input: AttributeListInput) => Promise<Attribute[]>;
|
|
14836
14951
|
declare const getAttribute: (input: AttributeInput) => Promise<Attribute>;
|
|
14837
|
-
declare const getAttributeOptions: (input:
|
|
14838
|
-
declare const getAttributeStatuses: (input:
|
|
14952
|
+
declare const getAttributeOptions: (input: AttributeMetadataInput<GetV2ByTargetByIdentifierAttributesByAttributeOptionsData>) => Promise<SelectOption[]>;
|
|
14953
|
+
declare const getAttributeStatuses: (input: AttributeMetadataInput<GetV2ByTargetByIdentifierAttributesByAttributeStatusesData>) => Promise<Status[]>;
|
|
14839
14954
|
//#endregion
|
|
14840
14955
|
//#region src/attio/notes.d.ts
|
|
14956
|
+
type NoteId = string & {
|
|
14957
|
+
readonly __brand: "NoteId";
|
|
14958
|
+
};
|
|
14959
|
+
type NoteParentObjectId = string & {
|
|
14960
|
+
readonly __brand: "NoteParentObjectId";
|
|
14961
|
+
};
|
|
14962
|
+
type NoteParentRecordId = string & {
|
|
14963
|
+
readonly __brand: "NoteParentRecordId";
|
|
14964
|
+
};
|
|
14965
|
+
type NoteFormat = PostV2NotesData["body"]["data"]["format"];
|
|
14841
14966
|
interface NoteCreateInput extends AttioClientInput {
|
|
14842
|
-
parentObject:
|
|
14843
|
-
parentRecordId:
|
|
14844
|
-
title
|
|
14845
|
-
|
|
14846
|
-
|
|
14967
|
+
parentObject: NoteParentObjectId;
|
|
14968
|
+
parentRecordId: NoteParentRecordId;
|
|
14969
|
+
title: string;
|
|
14970
|
+
format: NoteFormat;
|
|
14971
|
+
content: string;
|
|
14972
|
+
createdAt?: PostV2NotesData["body"]["data"]["created_at"];
|
|
14973
|
+
meetingId?: PostV2NotesData["body"]["data"]["meeting_id"];
|
|
14974
|
+
options?: Omit<Options<PostV2NotesData>, "client" | "body">;
|
|
14975
|
+
}
|
|
14976
|
+
interface NoteGetInput extends AttioClientInput {
|
|
14977
|
+
noteId: NoteId;
|
|
14978
|
+
options?: Omit<Options<GetV2NotesByNoteIdData>, "client" | "path">;
|
|
14979
|
+
}
|
|
14980
|
+
interface NoteDeleteInput extends AttioClientInput {
|
|
14981
|
+
noteId: NoteId;
|
|
14982
|
+
options?: Omit<Options<DeleteV2NotesByNoteIdData>, "client" | "path">;
|
|
14847
14983
|
}
|
|
14848
14984
|
declare const listNotes: (input?: AttioClientInput) => Promise<unknown[]>;
|
|
14849
|
-
declare const getNote: (input:
|
|
14850
|
-
noteId: string;
|
|
14851
|
-
} & AttioClientInput) => Promise<unknown>;
|
|
14985
|
+
declare const getNote: (input: NoteGetInput) => Promise<unknown>;
|
|
14852
14986
|
declare const createNote: (input: NoteCreateInput) => Promise<unknown>;
|
|
14853
|
-
declare const deleteNote: (input:
|
|
14854
|
-
|
|
14855
|
-
|
|
14987
|
+
declare const deleteNote: (input: NoteDeleteInput) => Promise<boolean>;
|
|
14988
|
+
//#endregion
|
|
14989
|
+
//#region src/attio/objects.d.ts
|
|
14990
|
+
type ObjectSlug = string & {
|
|
14991
|
+
readonly __brand: "ObjectSlug";
|
|
14992
|
+
};
|
|
14993
|
+
type ObjectApiSlug = string & {
|
|
14994
|
+
readonly __brand: "ObjectApiSlug";
|
|
14995
|
+
};
|
|
14996
|
+
type ObjectNoun = string & {
|
|
14997
|
+
readonly __brand: "ObjectNoun";
|
|
14998
|
+
};
|
|
14999
|
+
interface ListObjectsInput extends AttioClientInput {
|
|
15000
|
+
options?: Omit<Options<GetV2ObjectsData>, "client">;
|
|
15001
|
+
}
|
|
15002
|
+
interface GetObjectInput extends AttioClientInput {
|
|
15003
|
+
object: ObjectSlug;
|
|
15004
|
+
options?: Omit<Options<GetV2ObjectsByObjectData>, "client" | "path">;
|
|
15005
|
+
}
|
|
15006
|
+
interface CreateObjectInput extends AttioClientInput {
|
|
15007
|
+
apiSlug: ObjectApiSlug;
|
|
15008
|
+
singularNoun: ObjectNoun;
|
|
15009
|
+
pluralNoun: ObjectNoun;
|
|
15010
|
+
options?: Omit<Options<PostV2ObjectsData>, "client" | "body">;
|
|
15011
|
+
}
|
|
15012
|
+
interface UpdateObjectInput extends AttioClientInput {
|
|
15013
|
+
object: ObjectSlug;
|
|
15014
|
+
apiSlug?: ObjectApiSlug;
|
|
15015
|
+
singularNoun?: ObjectNoun;
|
|
15016
|
+
pluralNoun?: ObjectNoun;
|
|
15017
|
+
options?: Omit<Options<PatchV2ObjectsByObjectData>, "client" | "path" | "body">;
|
|
15018
|
+
}
|
|
15019
|
+
declare const listObjects: (input?: ListObjectsInput) => Promise<Object$1[]>;
|
|
15020
|
+
declare const getObject: (input: GetObjectInput) => Promise<Object$1>;
|
|
15021
|
+
declare const createObject: (input: CreateObjectInput) => Promise<Object$1>;
|
|
15022
|
+
declare const updateObject: (input: UpdateObjectInput) => Promise<Object$1>;
|
|
14856
15023
|
//#endregion
|
|
14857
15024
|
//#region src/attio/pagination.d.ts
|
|
14858
15025
|
interface PageResult<T> {
|
|
@@ -14865,13 +15032,27 @@ interface PaginationOptions<T = unknown> {
|
|
|
14865
15032
|
maxItems?: number;
|
|
14866
15033
|
itemSchema?: ZodType<T>;
|
|
14867
15034
|
}
|
|
14868
|
-
|
|
14869
|
-
items:
|
|
14870
|
-
|
|
14871
|
-
|
|
15035
|
+
interface OffsetPageResult<T> {
|
|
15036
|
+
items: T[];
|
|
15037
|
+
nextOffset?: number | null;
|
|
15038
|
+
total?: number;
|
|
15039
|
+
}
|
|
15040
|
+
interface OffsetPaginationOptions<T = unknown> {
|
|
15041
|
+
offset?: number;
|
|
15042
|
+
limit?: number;
|
|
15043
|
+
pageSize?: number;
|
|
15044
|
+
maxPages?: number;
|
|
15045
|
+
maxItems?: number;
|
|
15046
|
+
itemSchema?: ZodType<T>;
|
|
15047
|
+
}
|
|
15048
|
+
declare const createPageResultSchema: <T>(itemSchema: ZodType<T>) => ZodType<PageResult<T>>;
|
|
15049
|
+
declare const createOffsetPageResultSchema: <T>(itemSchema: ZodType<T>) => ZodType<OffsetPageResult<T>>;
|
|
14872
15050
|
declare const toPageResult: <T>(result: unknown) => PageResult<T>;
|
|
15051
|
+
declare const toOffsetPageResult: <T>(result: unknown) => OffsetPageResult<T>;
|
|
14873
15052
|
declare const parsePageResult: <T>(page: unknown, itemSchema?: ZodType<T>) => PageResult<T> | undefined;
|
|
15053
|
+
declare const parseOffsetPageResult: <T>(page: unknown, itemSchema?: ZodType<T>) => OffsetPageResult<T> | undefined;
|
|
14874
15054
|
declare const paginate: <T>(fetchPage: (cursor?: string | null) => Promise<PageResult<T> | unknown>, options?: PaginationOptions<T>) => Promise<T[]>;
|
|
15055
|
+
declare const paginateOffset: <T>(fetchPage: (offset: number, limit: number) => Promise<OffsetPageResult<T> | unknown>, options?: OffsetPaginationOptions<T>) => Promise<T[]>;
|
|
14875
15056
|
//#endregion
|
|
14876
15057
|
//#region src/attio/record-utils.d.ts
|
|
14877
15058
|
declare const attioRecordIdSchema: z.core.$ZodBranded<z.ZodString, "AttioRecordId", "out">;
|
|
@@ -14899,35 +15080,47 @@ declare function normalizeRecords<T extends AttioRecordLike>(items: unknown[], o
|
|
|
14899
15080
|
declare function normalizeRecords(items: unknown[], options?: NormalizeRecordOptions): AttioRecordLike[];
|
|
14900
15081
|
//#endregion
|
|
14901
15082
|
//#region src/attio/records.d.ts
|
|
15083
|
+
type RecordObjectId = string & {
|
|
15084
|
+
readonly __brand: "RecordObjectId";
|
|
15085
|
+
};
|
|
15086
|
+
type RecordId = string & {
|
|
15087
|
+
readonly __brand: "RecordId";
|
|
15088
|
+
};
|
|
15089
|
+
type MatchingAttribute = string & {
|
|
15090
|
+
readonly __brand: "MatchingAttribute";
|
|
15091
|
+
};
|
|
15092
|
+
type RecordValues = PostV2ObjectsByObjectRecordsData["body"]["data"]["values"];
|
|
15093
|
+
type RecordFilter = PostV2ObjectsByObjectRecordsQueryData["body"]["filter"];
|
|
15094
|
+
type RecordSorts = PostV2ObjectsByObjectRecordsQueryData["body"]["sorts"];
|
|
14902
15095
|
interface RecordCreateInput extends AttioClientInput {
|
|
14903
|
-
object:
|
|
14904
|
-
values:
|
|
14905
|
-
options?: Omit<Options
|
|
15096
|
+
object: RecordObjectId;
|
|
15097
|
+
values: RecordValues;
|
|
15098
|
+
options?: Omit<Options<PostV2ObjectsByObjectRecordsData>, "client" | "path" | "body">;
|
|
14906
15099
|
}
|
|
14907
15100
|
interface RecordUpdateInput extends AttioClientInput {
|
|
14908
|
-
object:
|
|
14909
|
-
recordId:
|
|
14910
|
-
values:
|
|
14911
|
-
options?: Omit<Options
|
|
15101
|
+
object: RecordObjectId;
|
|
15102
|
+
recordId: RecordId;
|
|
15103
|
+
values: RecordValues;
|
|
15104
|
+
options?: Omit<Options<PatchV2ObjectsByObjectRecordsByRecordIdData>, "client" | "path" | "body">;
|
|
14912
15105
|
}
|
|
14913
15106
|
interface RecordUpsertInput extends AttioClientInput {
|
|
14914
|
-
object:
|
|
14915
|
-
matchingAttribute:
|
|
14916
|
-
values:
|
|
14917
|
-
options?: Omit<Options
|
|
15107
|
+
object: RecordObjectId;
|
|
15108
|
+
matchingAttribute: MatchingAttribute;
|
|
15109
|
+
values: RecordValues;
|
|
15110
|
+
options?: Omit<Options<PutV2ObjectsByObjectRecordsData>, "client" | "path" | "body">;
|
|
14918
15111
|
}
|
|
14919
15112
|
interface RecordGetInput extends AttioClientInput {
|
|
14920
|
-
object:
|
|
14921
|
-
recordId:
|
|
14922
|
-
options?: Omit<Options
|
|
15113
|
+
object: RecordObjectId;
|
|
15114
|
+
recordId: RecordId;
|
|
15115
|
+
options?: Omit<Options<GetV2ObjectsByObjectRecordsByRecordIdData>, "client" | "path">;
|
|
14923
15116
|
}
|
|
14924
15117
|
interface RecordQueryInput extends AttioClientInput {
|
|
14925
|
-
object:
|
|
14926
|
-
filter?:
|
|
14927
|
-
sorts?:
|
|
15118
|
+
object: RecordObjectId;
|
|
15119
|
+
filter?: RecordFilter;
|
|
15120
|
+
sorts?: RecordSorts;
|
|
14928
15121
|
limit?: number;
|
|
14929
15122
|
offset?: number;
|
|
14930
|
-
options?: Omit<Options
|
|
15123
|
+
options?: Omit<Options<PostV2ObjectsByObjectRecordsQueryData>, "client" | "path" | "body">;
|
|
14931
15124
|
}
|
|
14932
15125
|
declare const createRecord: <T extends AttioRecordLike>(input: RecordCreateInput) => Promise<T>;
|
|
14933
15126
|
declare const updateRecord: <T extends AttioRecordLike>(input: RecordUpdateInput) => Promise<T>;
|
|
@@ -14937,47 +15130,213 @@ declare const deleteRecord: (input: RecordGetInput) => Promise<boolean>;
|
|
|
14937
15130
|
declare const queryRecords: <T extends AttioRecordLike>(input: RecordQueryInput) => Promise<T[]>;
|
|
14938
15131
|
//#endregion
|
|
14939
15132
|
//#region src/attio/response.d.ts
|
|
14940
|
-
|
|
14941
|
-
|
|
15133
|
+
interface UnwrapOptions<T = unknown> {
|
|
15134
|
+
maxDepth?: number;
|
|
15135
|
+
schema?: ZodType<T>;
|
|
15136
|
+
}
|
|
15137
|
+
interface AttioResult<T> {
|
|
15138
|
+
ok: boolean;
|
|
15139
|
+
value?: T;
|
|
15140
|
+
error?: AttioError;
|
|
15141
|
+
request?: Request;
|
|
15142
|
+
response?: Response;
|
|
15143
|
+
}
|
|
15144
|
+
interface ResultOptions<T> extends UnwrapOptions {
|
|
15145
|
+
schema?: ZodType<T>;
|
|
15146
|
+
}
|
|
15147
|
+
declare function unwrapData<T>(result: unknown, options: UnwrapOptions<T> & {
|
|
15148
|
+
schema: ZodType<T>;
|
|
15149
|
+
}): T;
|
|
15150
|
+
declare function unwrapData<T>(result: unknown, options?: UnwrapOptions<T>): T;
|
|
15151
|
+
interface UnwrapItemsOptions<T = unknown> {
|
|
15152
|
+
schema?: ZodType<T>;
|
|
15153
|
+
}
|
|
15154
|
+
declare function unwrapItems<T>(result: unknown, options: UnwrapItemsOptions<T> & {
|
|
15155
|
+
schema: ZodType<T>;
|
|
15156
|
+
}): T[];
|
|
15157
|
+
declare function unwrapItems<T>(result: unknown, options?: UnwrapItemsOptions<T>): T[];
|
|
14942
15158
|
declare const unwrapPaginationCursor: (result: unknown) => string | null;
|
|
15159
|
+
declare const unwrapPaginationOffset: (result: unknown) => number | null;
|
|
15160
|
+
declare const createSchemaError: (details?: unknown) => AttioResponseError;
|
|
15161
|
+
declare function assertOk<T>(result: unknown, options: ResultOptions<T> & {
|
|
15162
|
+
schema: ZodType<T>;
|
|
15163
|
+
}): T;
|
|
15164
|
+
declare function assertOk(result: unknown, options?: ResultOptions<unknown>): unknown;
|
|
15165
|
+
declare function toResult<T>(result: unknown, options: ResultOptions<T> & {
|
|
15166
|
+
schema: ZodType<T>;
|
|
15167
|
+
}): AttioResult<T>;
|
|
15168
|
+
declare function toResult(result: unknown, options?: ResultOptions<unknown>): AttioResult<unknown>;
|
|
15169
|
+
//#endregion
|
|
15170
|
+
//#region src/attio/values.d.ts
|
|
15171
|
+
interface ValueCurrencyInput {
|
|
15172
|
+
currency_value: number;
|
|
15173
|
+
currency_code?: string;
|
|
15174
|
+
}
|
|
15175
|
+
type ValueInput = InputValue | ValueCurrencyInput;
|
|
15176
|
+
interface ValueFactory {
|
|
15177
|
+
string: (value: string) => ValueInput[];
|
|
15178
|
+
number: (value: number) => ValueInput[];
|
|
15179
|
+
boolean: (value: boolean) => ValueInput[];
|
|
15180
|
+
domain: (value: string) => ValueInput[];
|
|
15181
|
+
email: (value: string) => ValueInput[];
|
|
15182
|
+
currency: (value: number, currencyCode?: string) => ValueInput[];
|
|
15183
|
+
}
|
|
15184
|
+
interface ValueLookupOptions<T> {
|
|
15185
|
+
schema?: z.ZodType<T>;
|
|
15186
|
+
}
|
|
15187
|
+
declare const value$1: ValueFactory;
|
|
15188
|
+
declare function getValue<T>(record: AttioRecordLike, attribute: string, options: ValueLookupOptions<T> & {
|
|
15189
|
+
schema: z.ZodType<T>;
|
|
15190
|
+
}): T[] | undefined;
|
|
15191
|
+
declare function getValue(record: AttioRecordLike, attribute: string, options?: ValueLookupOptions<unknown>): unknown[] | undefined;
|
|
15192
|
+
declare function getFirstValue<T>(record: AttioRecordLike, attribute: string, options: ValueLookupOptions<T> & {
|
|
15193
|
+
schema: z.ZodType<T>;
|
|
15194
|
+
}): T | undefined;
|
|
15195
|
+
declare function getFirstValue(record: AttioRecordLike, attribute: string, options?: ValueLookupOptions<unknown>): unknown | undefined;
|
|
15196
|
+
//#endregion
|
|
15197
|
+
//#region src/attio/schema.d.ts
|
|
15198
|
+
type SchemaTarget = GetV2ByTargetByIdentifierAttributesData["path"]["target"];
|
|
15199
|
+
type SchemaIdentifier = GetV2ByTargetByIdentifierAttributesData["path"]["identifier"];
|
|
15200
|
+
interface SchemaInput extends AttioClientInput {
|
|
15201
|
+
target: SchemaTarget;
|
|
15202
|
+
identifier: SchemaIdentifier;
|
|
15203
|
+
options?: Omit<Options<GetV2ByTargetByIdentifierAttributesData>, "client" | "path">;
|
|
15204
|
+
}
|
|
15205
|
+
interface AttributeAccessor {
|
|
15206
|
+
attribute: Attribute;
|
|
15207
|
+
getValue: (record: AttioRecordLike) => unknown[] | undefined;
|
|
15208
|
+
getFirstValue: (record: AttioRecordLike) => unknown | undefined;
|
|
15209
|
+
getValueAs: <T>(record: AttioRecordLike, options: ValueLookupOptions<T> & {
|
|
15210
|
+
schema: ZodType<T>;
|
|
15211
|
+
}) => T[] | undefined;
|
|
15212
|
+
getFirstValueAs: <T>(record: AttioRecordLike, options: ValueLookupOptions<T> & {
|
|
15213
|
+
schema: ZodType<T>;
|
|
15214
|
+
}) => T | undefined;
|
|
15215
|
+
}
|
|
15216
|
+
interface AttioSchema {
|
|
15217
|
+
target: SchemaTarget;
|
|
15218
|
+
identifier: SchemaIdentifier;
|
|
15219
|
+
attributes: Attribute[];
|
|
15220
|
+
attributeSlugs: string[];
|
|
15221
|
+
getAttribute: (slug: string) => Attribute | undefined;
|
|
15222
|
+
getAttributeOrThrow: (slug: string) => Attribute;
|
|
15223
|
+
getAccessor: (slug: string) => AttributeAccessor | undefined;
|
|
15224
|
+
getAccessorOrThrow: (slug: string) => AttributeAccessor;
|
|
15225
|
+
}
|
|
15226
|
+
declare const createSchema: (input: SchemaInput) => Promise<AttioSchema>;
|
|
15227
|
+
//#endregion
|
|
15228
|
+
//#region src/attio/sdk.d.ts
|
|
15229
|
+
/** Helper type to omit client and config from input types for SDK methods */
|
|
15230
|
+
type SdkInput<T> = Omit<T, "client" | "config">;
|
|
15231
|
+
/** Type alias for delete record input (same shape as RecordGetInput) */
|
|
15232
|
+
type RecordDeleteInput = RecordGetInput;
|
|
15233
|
+
interface AttioSdk {
|
|
15234
|
+
client: AttioClient;
|
|
15235
|
+
objects: {
|
|
15236
|
+
list: (input?: SdkInput<ListObjectsInput>) => ReturnType<typeof listObjects>;
|
|
15237
|
+
get: (input: SdkInput<GetObjectInput>) => ReturnType<typeof getObject>;
|
|
15238
|
+
create: (input: SdkInput<CreateObjectInput>) => ReturnType<typeof createObject>;
|
|
15239
|
+
update: (input: SdkInput<UpdateObjectInput>) => ReturnType<typeof updateObject>;
|
|
15240
|
+
};
|
|
15241
|
+
records: {
|
|
15242
|
+
create: (input: SdkInput<RecordCreateInput>) => ReturnType<typeof createRecord>;
|
|
15243
|
+
update: (input: SdkInput<RecordUpdateInput>) => ReturnType<typeof updateRecord>;
|
|
15244
|
+
upsert: (input: SdkInput<RecordUpsertInput>) => ReturnType<typeof upsertRecord>;
|
|
15245
|
+
get: (input: SdkInput<RecordGetInput>) => ReturnType<typeof getRecord>;
|
|
15246
|
+
delete: (input: SdkInput<RecordDeleteInput>) => ReturnType<typeof deleteRecord>;
|
|
15247
|
+
query: (input: SdkInput<RecordQueryInput>) => ReturnType<typeof queryRecords>;
|
|
15248
|
+
};
|
|
15249
|
+
lists: {
|
|
15250
|
+
list: (input?: SdkInput<AttioClientInput>) => ReturnType<typeof listLists>;
|
|
15251
|
+
get: (input: SdkInput<GetListInput>) => ReturnType<typeof getList>;
|
|
15252
|
+
queryEntries: (input: SdkInput<ListQueryInput>) => ReturnType<typeof queryListEntries>;
|
|
15253
|
+
addEntry: (input: SdkInput<AddListEntryInput>) => ReturnType<typeof addListEntry>;
|
|
15254
|
+
updateEntry: (input: SdkInput<UpdateListEntryInput>) => ReturnType<typeof updateListEntry>;
|
|
15255
|
+
removeEntry: (input: SdkInput<RemoveListEntryInput>) => ReturnType<typeof removeListEntry>;
|
|
15256
|
+
};
|
|
15257
|
+
metadata: {
|
|
15258
|
+
listAttributes: (input: SdkInput<AttributeListInput>) => ReturnType<typeof listAttributes>;
|
|
15259
|
+
getAttribute: (input: SdkInput<AttributeInput>) => ReturnType<typeof getAttribute>;
|
|
15260
|
+
getAttributeOptions: (input: SdkInput<AttributeInput>) => ReturnType<typeof getAttributeOptions>;
|
|
15261
|
+
getAttributeStatuses: (input: SdkInput<AttributeInput>) => ReturnType<typeof getAttributeStatuses>;
|
|
15262
|
+
schema: (input: SdkInput<SchemaInput>) => ReturnType<typeof createSchema>;
|
|
15263
|
+
};
|
|
15264
|
+
}
|
|
15265
|
+
declare const createAttioSdk: (input?: AttioClientInput) => AttioSdk;
|
|
14943
15266
|
//#endregion
|
|
14944
15267
|
//#region src/attio/search.d.ts
|
|
14945
15268
|
interface RecordSearchInput extends AttioClientInput {
|
|
14946
|
-
query:
|
|
14947
|
-
objects:
|
|
14948
|
-
requestAs?:
|
|
14949
|
-
|
|
14950
|
-
|
|
14951
|
-
type: "workspace-member";
|
|
14952
|
-
workspace_member_id: string;
|
|
14953
|
-
} | {
|
|
14954
|
-
type: "workspace-member";
|
|
14955
|
-
email_address: string;
|
|
14956
|
-
};
|
|
14957
|
-
limit?: number;
|
|
14958
|
-
options?: Omit<Options, "client" | "body">;
|
|
15269
|
+
query: PostV2ObjectsRecordsSearchData["body"]["query"];
|
|
15270
|
+
objects: PostV2ObjectsRecordsSearchData["body"]["objects"];
|
|
15271
|
+
requestAs?: PostV2ObjectsRecordsSearchData["body"]["request_as"];
|
|
15272
|
+
limit?: PostV2ObjectsRecordsSearchData["body"]["limit"];
|
|
15273
|
+
options?: Omit<Options<PostV2ObjectsRecordsSearchData>, "client" | "body">;
|
|
14959
15274
|
}
|
|
14960
15275
|
declare const searchRecords: <T extends AttioRecordLike>(input: RecordSearchInput) => Promise<T[]>;
|
|
14961
15276
|
//#endregion
|
|
15277
|
+
//#region src/generated/zod.gen.d.ts
|
|
15278
|
+
declare const zTask: z.ZodObject<{
|
|
15279
|
+
id: z.ZodObject<{
|
|
15280
|
+
workspace_id: z.ZodUUID;
|
|
15281
|
+
task_id: z.ZodUUID;
|
|
15282
|
+
}, z.core.$strip>;
|
|
15283
|
+
content_plaintext: z.ZodString;
|
|
15284
|
+
deadline_at: z.ZodUnion<readonly [z.ZodString, z.ZodNull]>;
|
|
15285
|
+
is_completed: z.ZodBoolean;
|
|
15286
|
+
linked_records: z.ZodArray<z.ZodObject<{
|
|
15287
|
+
target_object_id: z.ZodString;
|
|
15288
|
+
target_record_id: z.ZodUUID;
|
|
15289
|
+
}, z.core.$strip>>;
|
|
15290
|
+
assignees: z.ZodArray<z.ZodObject<{
|
|
15291
|
+
referenced_actor_type: z.ZodEnum<{
|
|
15292
|
+
"api-token": "api-token";
|
|
15293
|
+
"workspace-member": "workspace-member";
|
|
15294
|
+
system: "system";
|
|
15295
|
+
app: "app";
|
|
15296
|
+
}>;
|
|
15297
|
+
referenced_actor_id: z.ZodUUID;
|
|
15298
|
+
}, z.core.$strip>>;
|
|
15299
|
+
created_by_actor: z.ZodObject<{
|
|
15300
|
+
id: z.ZodOptional<z.ZodString>;
|
|
15301
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
15302
|
+
"api-token": "api-token";
|
|
15303
|
+
"workspace-member": "workspace-member";
|
|
15304
|
+
system: "system";
|
|
15305
|
+
app: "app";
|
|
15306
|
+
}>>;
|
|
15307
|
+
}, z.core.$strip>;
|
|
15308
|
+
created_at: z.ZodString;
|
|
15309
|
+
}, z.core.$strip>;
|
|
15310
|
+
//#endregion
|
|
14962
15311
|
//#region src/attio/tasks.d.ts
|
|
15312
|
+
type Task$1 = z.infer<typeof zTask>;
|
|
15313
|
+
type TaskId = string & {
|
|
15314
|
+
readonly __brand: "TaskId";
|
|
15315
|
+
};
|
|
15316
|
+
type TaskCreateData = PostV2TasksData["body"]["data"];
|
|
15317
|
+
type TaskUpdateData = PatchV2TasksByTaskIdData["body"]["data"];
|
|
14963
15318
|
interface TaskCreateInput extends AttioClientInput {
|
|
14964
|
-
data:
|
|
14965
|
-
options?: Omit<Options
|
|
15319
|
+
data: TaskCreateData;
|
|
15320
|
+
options?: Omit<Options<PostV2TasksData>, "client" | "body">;
|
|
14966
15321
|
}
|
|
14967
15322
|
interface TaskUpdateInput extends AttioClientInput {
|
|
14968
|
-
taskId:
|
|
14969
|
-
data:
|
|
14970
|
-
options?: Omit<Options
|
|
15323
|
+
taskId: TaskId;
|
|
15324
|
+
data: TaskUpdateData;
|
|
15325
|
+
options?: Omit<Options<PatchV2TasksByTaskIdData>, "client" | "path" | "body">;
|
|
14971
15326
|
}
|
|
14972
|
-
|
|
14973
|
-
|
|
14974
|
-
|
|
14975
|
-
}
|
|
14976
|
-
|
|
14977
|
-
|
|
14978
|
-
|
|
14979
|
-
|
|
14980
|
-
|
|
15327
|
+
interface TaskDeleteInput extends AttioClientInput {
|
|
15328
|
+
taskId: TaskId;
|
|
15329
|
+
options?: Omit<Options<DeleteV2TasksByTaskIdData>, "client" | "path">;
|
|
15330
|
+
}
|
|
15331
|
+
interface TaskGetInput extends AttioClientInput {
|
|
15332
|
+
taskId: TaskId;
|
|
15333
|
+
options?: Omit<Options<GetV2TasksByTaskIdData>, "client" | "path">;
|
|
15334
|
+
}
|
|
15335
|
+
declare const listTasks: (input?: AttioClientInput) => Promise<Task$1[]>;
|
|
15336
|
+
declare const getTask: (input: TaskGetInput) => Promise<Task$1>;
|
|
15337
|
+
declare const createTask: (input: TaskCreateInput) => Promise<Task$1>;
|
|
15338
|
+
declare const updateTask: (input: TaskUpdateInput) => Promise<Task$1>;
|
|
15339
|
+
declare const deleteTask: (input: TaskDeleteInput) => Promise<DeleteV2TasksByTaskIdResponse>;
|
|
14981
15340
|
//#endregion
|
|
14982
15341
|
//#region src/attio/workspace-members.d.ts
|
|
14983
15342
|
declare const listWorkspaceMembers: (input?: AttioClientInput) => Promise<unknown[]>;
|
|
@@ -14985,5 +15344,5 @@ declare const getWorkspaceMember: (input: {
|
|
|
14985
15344
|
workspaceMemberId: string;
|
|
14986
15345
|
} & AttioClientInput) => Promise<unknown>;
|
|
14987
15346
|
//#endregion
|
|
14988
|
-
export { AttioApiError, AttioBatchError, type AttioClient, type AttioClientConfig, type AttioClientInput, AttioConfigError, AttioEnvironmentError, AttioError, type AttioErrorContext, type AttioErrorDetails, type AttioFilter, AttioNetworkError, type AttioRecordId, type AttioRecordLike, type AttioRequestOptions, AttioResponseError, AttioRetryError, type AttioValueSuggestion, Attribute, type AttributeInput, type AttributeListInput, type AttributeMetadataRequestParams, type BatchItem, type BatchItemRunParams, type BatchOptions, type BatchResult, ClientOptions, Comment, DEFAULT_BASE_URL, DEFAULT_RETRY_CONFIG, DeleteV2CommentsByCommentIdData, DeleteV2CommentsByCommentIdError, DeleteV2CommentsByCommentIdErrors, DeleteV2CommentsByCommentIdResponse, DeleteV2CommentsByCommentIdResponses, DeleteV2ListsByListEntriesByEntryIdData, DeleteV2ListsByListEntriesByEntryIdError, DeleteV2ListsByListEntriesByEntryIdErrors, DeleteV2ListsByListEntriesByEntryIdResponse, DeleteV2ListsByListEntriesByEntryIdResponses, DeleteV2MeetingsByMeetingIdCallRecordingsByCallRecordingIdData, DeleteV2MeetingsByMeetingIdCallRecordingsByCallRecordingIdError, DeleteV2MeetingsByMeetingIdCallRecordingsByCallRecordingIdErrors, DeleteV2MeetingsByMeetingIdCallRecordingsByCallRecordingIdResponse, DeleteV2MeetingsByMeetingIdCallRecordingsByCallRecordingIdResponses, DeleteV2NotesByNoteIdData, DeleteV2NotesByNoteIdError, DeleteV2NotesByNoteIdErrors, DeleteV2NotesByNoteIdResponse, DeleteV2NotesByNoteIdResponses, DeleteV2ObjectsByObjectRecordsByRecordIdData, DeleteV2ObjectsByObjectRecordsByRecordIdError, DeleteV2ObjectsByObjectRecordsByRecordIdErrors, DeleteV2ObjectsByObjectRecordsByRecordIdResponse, DeleteV2ObjectsByObjectRecordsByRecordIdResponses, DeleteV2TasksByTaskIdData, DeleteV2TasksByTaskIdError, DeleteV2TasksByTaskIdErrors, DeleteV2TasksByTaskIdResponse, DeleteV2TasksByTaskIdResponses, DeleteV2WebhooksByWebhookIdData, DeleteV2WebhooksByWebhookIdError, DeleteV2WebhooksByWebhookIdErrors, DeleteV2WebhooksByWebhookIdResponse, DeleteV2WebhooksByWebhookIdResponses, GetV2ByTargetByIdentifierAttributesByAttributeData, GetV2ByTargetByIdentifierAttributesByAttributeError, GetV2ByTargetByIdentifierAttributesByAttributeErrors, GetV2ByTargetByIdentifierAttributesByAttributeOptionsData, GetV2ByTargetByIdentifierAttributesByAttributeOptionsError, GetV2ByTargetByIdentifierAttributesByAttributeOptionsErrors, GetV2ByTargetByIdentifierAttributesByAttributeOptionsResponse, GetV2ByTargetByIdentifierAttributesByAttributeOptionsResponses, GetV2ByTargetByIdentifierAttributesByAttributeResponse, GetV2ByTargetByIdentifierAttributesByAttributeResponses, GetV2ByTargetByIdentifierAttributesByAttributeStatusesData, GetV2ByTargetByIdentifierAttributesByAttributeStatusesError, GetV2ByTargetByIdentifierAttributesByAttributeStatusesErrors, GetV2ByTargetByIdentifierAttributesByAttributeStatusesResponse, GetV2ByTargetByIdentifierAttributesByAttributeStatusesResponses, GetV2ByTargetByIdentifierAttributesData, GetV2ByTargetByIdentifierAttributesResponse, GetV2ByTargetByIdentifierAttributesResponses, GetV2CommentsByCommentIdData, GetV2CommentsByCommentIdError, GetV2CommentsByCommentIdErrors, GetV2CommentsByCommentIdResponse, GetV2CommentsByCommentIdResponses, GetV2ListsByListData, GetV2ListsByListEntriesByEntryIdAttributesByAttributeValuesData, GetV2ListsByListEntriesByEntryIdAttributesByAttributeValuesError, GetV2ListsByListEntriesByEntryIdAttributesByAttributeValuesErrors, GetV2ListsByListEntriesByEntryIdAttributesByAttributeValuesResponse, GetV2ListsByListEntriesByEntryIdAttributesByAttributeValuesResponses, GetV2ListsByListEntriesByEntryIdData, GetV2ListsByListEntriesByEntryIdError, GetV2ListsByListEntriesByEntryIdErrors, GetV2ListsByListEntriesByEntryIdResponse, GetV2ListsByListEntriesByEntryIdResponses, GetV2ListsByListError, GetV2ListsByListErrors, GetV2ListsByListResponse, GetV2ListsByListResponses, GetV2ListsData, GetV2ListsResponse, GetV2ListsResponses, GetV2MeetingsByMeetingIdCallRecordingsByCallRecordingIdData, GetV2MeetingsByMeetingIdCallRecordingsByCallRecordingIdError, GetV2MeetingsByMeetingIdCallRecordingsByCallRecordingIdErrors, GetV2MeetingsByMeetingIdCallRecordingsByCallRecordingIdResponse, GetV2MeetingsByMeetingIdCallRecordingsByCallRecordingIdResponses, GetV2MeetingsByMeetingIdCallRecordingsByCallRecordingIdTranscriptData, GetV2MeetingsByMeetingIdCallRecordingsByCallRecordingIdTranscriptResponse, GetV2MeetingsByMeetingIdCallRecordingsByCallRecordingIdTranscriptResponses, GetV2MeetingsByMeetingIdCallRecordingsData, GetV2MeetingsByMeetingIdCallRecordingsResponse, GetV2MeetingsByMeetingIdCallRecordingsResponses, GetV2MeetingsByMeetingIdData, GetV2MeetingsByMeetingIdError, GetV2MeetingsByMeetingIdErrors, GetV2MeetingsByMeetingIdResponse, GetV2MeetingsByMeetingIdResponses, GetV2MeetingsData, GetV2MeetingsResponse, GetV2MeetingsResponses, GetV2NotesByNoteIdData, GetV2NotesByNoteIdError, GetV2NotesByNoteIdErrors, GetV2NotesByNoteIdResponse, GetV2NotesByNoteIdResponses, GetV2NotesData, GetV2NotesError, GetV2NotesErrors, GetV2NotesResponse, GetV2NotesResponses, GetV2ObjectsByObjectData, GetV2ObjectsByObjectError, GetV2ObjectsByObjectErrors, GetV2ObjectsByObjectRecordsByRecordIdAttributesByAttributeValuesData, GetV2ObjectsByObjectRecordsByRecordIdAttributesByAttributeValuesError, GetV2ObjectsByObjectRecordsByRecordIdAttributesByAttributeValuesErrors, GetV2ObjectsByObjectRecordsByRecordIdAttributesByAttributeValuesResponse, GetV2ObjectsByObjectRecordsByRecordIdAttributesByAttributeValuesResponses, GetV2ObjectsByObjectRecordsByRecordIdData, GetV2ObjectsByObjectRecordsByRecordIdEntriesData, GetV2ObjectsByObjectRecordsByRecordIdEntriesResponse, GetV2ObjectsByObjectRecordsByRecordIdEntriesResponses, GetV2ObjectsByObjectRecordsByRecordIdError, GetV2ObjectsByObjectRecordsByRecordIdErrors, GetV2ObjectsByObjectRecordsByRecordIdResponse, GetV2ObjectsByObjectRecordsByRecordIdResponses, GetV2ObjectsByObjectResponse, GetV2ObjectsByObjectResponses, GetV2ObjectsData, GetV2ObjectsResponse, GetV2ObjectsResponses, GetV2SelfData, GetV2SelfResponse, GetV2SelfResponses, GetV2TasksByTaskIdData, GetV2TasksByTaskIdError, GetV2TasksByTaskIdErrors, GetV2TasksByTaskIdResponse, GetV2TasksByTaskIdResponses, GetV2TasksData, GetV2TasksResponse, GetV2TasksResponses, GetV2ThreadsByThreadIdData, GetV2ThreadsByThreadIdError, GetV2ThreadsByThreadIdErrors, GetV2ThreadsByThreadIdResponse, GetV2ThreadsByThreadIdResponses, GetV2ThreadsData, GetV2ThreadsResponse, GetV2ThreadsResponses, GetV2WebhooksByWebhookIdData, GetV2WebhooksByWebhookIdError, GetV2WebhooksByWebhookIdErrors, GetV2WebhooksByWebhookIdResponse, GetV2WebhooksByWebhookIdResponses, GetV2WebhooksData, GetV2WebhooksResponse, GetV2WebhooksResponses, GetV2WorkspaceMembersByWorkspaceMemberIdData, GetV2WorkspaceMembersByWorkspaceMemberIdError, GetV2WorkspaceMembersByWorkspaceMemberIdErrors, GetV2WorkspaceMembersByWorkspaceMemberIdResponse, GetV2WorkspaceMembersByWorkspaceMemberIdResponses, GetV2WorkspaceMembersData, GetV2WorkspaceMembersResponse, GetV2WorkspaceMembersResponses, InputValue, List, ListQueryInput, Meeting, Note, NoteCreateInput, Object$1 as Object, Options, OutputValue, type PageResult, type PaginationOptions, PatchV2ByTargetByIdentifierAttributesByAttributeData, PatchV2ByTargetByIdentifierAttributesByAttributeError, PatchV2ByTargetByIdentifierAttributesByAttributeErrors, PatchV2ByTargetByIdentifierAttributesByAttributeOptionsByOptionData, PatchV2ByTargetByIdentifierAttributesByAttributeOptionsByOptionError, PatchV2ByTargetByIdentifierAttributesByAttributeOptionsByOptionErrors, PatchV2ByTargetByIdentifierAttributesByAttributeOptionsByOptionResponse, PatchV2ByTargetByIdentifierAttributesByAttributeOptionsByOptionResponses, PatchV2ByTargetByIdentifierAttributesByAttributeResponse, PatchV2ByTargetByIdentifierAttributesByAttributeResponses, PatchV2ByTargetByIdentifierAttributesByAttributeStatusesByStatusData, PatchV2ByTargetByIdentifierAttributesByAttributeStatusesByStatusError, PatchV2ByTargetByIdentifierAttributesByAttributeStatusesByStatusErrors, PatchV2ByTargetByIdentifierAttributesByAttributeStatusesByStatusResponse, PatchV2ByTargetByIdentifierAttributesByAttributeStatusesByStatusResponses, PatchV2ListsByListData, PatchV2ListsByListEntriesByEntryIdData, PatchV2ListsByListEntriesByEntryIdError, PatchV2ListsByListEntriesByEntryIdErrors, PatchV2ListsByListEntriesByEntryIdResponse, PatchV2ListsByListEntriesByEntryIdResponses, PatchV2ListsByListError, PatchV2ListsByListErrors, PatchV2ListsByListResponse, PatchV2ListsByListResponses, PatchV2ObjectsByObjectData, PatchV2ObjectsByObjectError, PatchV2ObjectsByObjectErrors, PatchV2ObjectsByObjectRecordsByRecordIdData, PatchV2ObjectsByObjectRecordsByRecordIdError, PatchV2ObjectsByObjectRecordsByRecordIdErrors, PatchV2ObjectsByObjectRecordsByRecordIdResponse, PatchV2ObjectsByObjectRecordsByRecordIdResponses, PatchV2ObjectsByObjectResponse, PatchV2ObjectsByObjectResponses, PatchV2TasksByTaskIdData, PatchV2TasksByTaskIdError, PatchV2TasksByTaskIdErrors, PatchV2TasksByTaskIdResponse, PatchV2TasksByTaskIdResponses, PatchV2WebhooksByWebhookIdData, PatchV2WebhooksByWebhookIdError, PatchV2WebhooksByWebhookIdErrors, PatchV2WebhooksByWebhookIdResponse, PatchV2WebhooksByWebhookIdResponses, PostV2ByTargetByIdentifierAttributesByAttributeOptionsData, PostV2ByTargetByIdentifierAttributesByAttributeOptionsError, PostV2ByTargetByIdentifierAttributesByAttributeOptionsErrors, PostV2ByTargetByIdentifierAttributesByAttributeOptionsResponse, PostV2ByTargetByIdentifierAttributesByAttributeOptionsResponses, PostV2ByTargetByIdentifierAttributesByAttributeStatusesData, PostV2ByTargetByIdentifierAttributesByAttributeStatusesError, PostV2ByTargetByIdentifierAttributesByAttributeStatusesErrors, PostV2ByTargetByIdentifierAttributesByAttributeStatusesResponse, PostV2ByTargetByIdentifierAttributesByAttributeStatusesResponses, PostV2ByTargetByIdentifierAttributesData, PostV2ByTargetByIdentifierAttributesError, PostV2ByTargetByIdentifierAttributesErrors, PostV2ByTargetByIdentifierAttributesResponse, PostV2ByTargetByIdentifierAttributesResponses, PostV2CommentsData, PostV2CommentsError, PostV2CommentsErrors, PostV2CommentsResponse, PostV2CommentsResponses, PostV2ListsByListEntriesData, PostV2ListsByListEntriesError, PostV2ListsByListEntriesErrors, PostV2ListsByListEntriesQueryData, PostV2ListsByListEntriesQueryError, PostV2ListsByListEntriesQueryErrors, PostV2ListsByListEntriesQueryResponse, PostV2ListsByListEntriesQueryResponses, PostV2ListsByListEntriesResponse, PostV2ListsByListEntriesResponses, PostV2ListsData, PostV2ListsError, PostV2ListsErrors, PostV2ListsResponse, PostV2ListsResponses, PostV2MeetingsByMeetingIdCallRecordingsData, PostV2MeetingsByMeetingIdCallRecordingsError, PostV2MeetingsByMeetingIdCallRecordingsErrors, PostV2MeetingsByMeetingIdCallRecordingsResponse, PostV2MeetingsByMeetingIdCallRecordingsResponses, PostV2MeetingsData, PostV2MeetingsError, PostV2MeetingsErrors, PostV2MeetingsResponse, PostV2MeetingsResponses, PostV2NotesData, PostV2NotesError, PostV2NotesErrors, PostV2NotesResponse, PostV2NotesResponses, PostV2ObjectsByObjectRecordsData, PostV2ObjectsByObjectRecordsError, PostV2ObjectsByObjectRecordsErrors, PostV2ObjectsByObjectRecordsQueryData, PostV2ObjectsByObjectRecordsQueryError, PostV2ObjectsByObjectRecordsQueryErrors, PostV2ObjectsByObjectRecordsQueryResponse, PostV2ObjectsByObjectRecordsQueryResponses, PostV2ObjectsByObjectRecordsResponse, PostV2ObjectsByObjectRecordsResponses, PostV2ObjectsData, PostV2ObjectsError, PostV2ObjectsErrors, PostV2ObjectsRecordsSearchData, PostV2ObjectsRecordsSearchError, PostV2ObjectsRecordsSearchErrors, PostV2ObjectsRecordsSearchResponse, PostV2ObjectsRecordsSearchResponses, PostV2ObjectsResponse, PostV2ObjectsResponses, PostV2TasksData, PostV2TasksError, PostV2TasksErrors, PostV2TasksResponse, PostV2TasksResponses, PostV2WebhooksData, PostV2WebhooksError, PostV2WebhooksErrors, PostV2WebhooksResponse, PostV2WebhooksResponses, PutV2ListsByListEntriesByEntryIdData, PutV2ListsByListEntriesByEntryIdError, PutV2ListsByListEntriesByEntryIdErrors, PutV2ListsByListEntriesByEntryIdResponse, PutV2ListsByListEntriesByEntryIdResponses, PutV2ListsByListEntriesData, PutV2ListsByListEntriesError, PutV2ListsByListEntriesErrors, PutV2ListsByListEntriesResponse, PutV2ListsByListEntriesResponses, PutV2ObjectsByObjectRecordsByRecordIdData, PutV2ObjectsByObjectRecordsByRecordIdError, PutV2ObjectsByObjectRecordsByRecordIdErrors, PutV2ObjectsByObjectRecordsByRecordIdResponse, PutV2ObjectsByObjectRecordsByRecordIdResponses, PutV2ObjectsByObjectRecordsData, PutV2ObjectsByObjectRecordsError, PutV2ObjectsByObjectRecordsErrors, PutV2ObjectsByObjectRecordsResponse, PutV2ObjectsByObjectRecordsResponses, type RecordCreateInput, type RecordGetInput, type RecordQueryInput, RecordSearchInput, type RecordUpdateInput, type RecordUpsertInput, type RetryConfig, SelectOption, Status, Task, TaskCreateInput, TaskUpdateInput, Thread, TtlCache, type TtlCacheEntry, type TtlCacheOptions, WorkspaceMember, addListEntry, buildAttributeMetadataPath, buildKey, calculateRetryDelay, callWithRetry, clearClientCache, createAttioClient, createNote, createPageResultSchema, createRecord, createTask, createTtlCache, deleteNote, deleteRecord, deleteTask, deleteV2CommentsByCommentId, deleteV2ListsByListEntriesByEntryId, deleteV2MeetingsByMeetingIdCallRecordingsByCallRecordingId, deleteV2NotesByNoteId, deleteV2ObjectsByObjectRecordsByRecordId, deleteV2TasksByTaskId, deleteV2WebhooksByWebhookId, enhanceAttioError, extractRecordId, extractTitles, filters, getAttioClient, getAttribute, getAttributeOptions, getAttributeStatuses, getCachedClient, getEnvValue, getKnownFieldValues, getList, getNote, getRecord, getTask, getV2ByTargetByIdentifierAttributes, getV2ByTargetByIdentifierAttributesByAttribute, getV2ByTargetByIdentifierAttributesByAttributeOptions, getV2ByTargetByIdentifierAttributesByAttributeStatuses, getV2CommentsByCommentId, getV2Lists, getV2ListsByList, getV2ListsByListEntriesByEntryId, getV2ListsByListEntriesByEntryIdAttributesByAttributeValues, getV2Meetings, getV2MeetingsByMeetingId, getV2MeetingsByMeetingIdCallRecordings, getV2MeetingsByMeetingIdCallRecordingsByCallRecordingId, getV2MeetingsByMeetingIdCallRecordingsByCallRecordingIdTranscript, getV2Notes, getV2NotesByNoteId, getV2Objects, getV2ObjectsByObject, getV2ObjectsByObjectRecordsByRecordId, getV2ObjectsByObjectRecordsByRecordIdAttributesByAttributeValues, getV2ObjectsByObjectRecordsByRecordIdEntries, getV2Self, getV2Tasks, getV2TasksByTaskId, getV2Threads, getV2ThreadsByThreadId, getV2Webhooks, getV2WebhooksByWebhookId, getV2WorkspaceMembers, getV2WorkspaceMembersByWorkspaceMemberId, getWorkspaceMember, hashToken, isRetryableError, isRetryableStatus, listAttributeMetadata, listAttributes, listLists, listNotes, listTasks, listWorkspaceMembers, normalizeAttioError, normalizeBaseUrl, normalizeRecord, normalizeRecords, paginate, parsePageResult, patchV2ByTargetByIdentifierAttributesByAttribute, patchV2ByTargetByIdentifierAttributesByAttributeOptionsByOption, patchV2ByTargetByIdentifierAttributesByAttributeStatusesByStatus, patchV2ListsByList, patchV2ListsByListEntriesByEntryId, patchV2ObjectsByObject, patchV2ObjectsByObjectRecordsByRecordId, patchV2TasksByTaskId, patchV2WebhooksByWebhookId, postV2ByTargetByIdentifierAttributes, postV2ByTargetByIdentifierAttributesByAttributeOptions, postV2ByTargetByIdentifierAttributesByAttributeStatuses, postV2Comments, postV2Lists, postV2ListsByListEntries, postV2ListsByListEntriesQuery, postV2Meetings, postV2MeetingsByMeetingIdCallRecordings, postV2Notes, postV2Objects, postV2ObjectsByObjectRecords, postV2ObjectsByObjectRecordsQuery, postV2ObjectsRecordsSearch, postV2Tasks, postV2Webhooks, putV2ListsByListEntries, putV2ListsByListEntriesByEntryId, putV2ObjectsByObjectRecords, putV2ObjectsByObjectRecordsByRecordId, queryListEntries, queryRecords, removeListEntry, resolveAttioClient, resolveAuthToken, resolveBaseUrl, resolveResponseStyle, resolveThrowOnError, runBatch, searchRecords, setCachedClient, sleep, toPageResult, unwrapData, unwrapItems, unwrapPaginationCursor, updateKnownFieldValues, updateListEntry, updateRecord, updateTask, upsertRecord, validateAuthToken };
|
|
15347
|
+
export { type AddListEntryInput, AttioApiError, AttioBatchError, type AttioCacheConfig, type AttioCacheConfigDisabled, type AttioCacheConfigEnabled, type AttioCacheManager, type AttioClient, type AttioClientConfig, type AttioClientHooks, type AttioClientInput, AttioConfigError, AttioEnvironmentError, AttioError, type AttioErrorContext, type AttioErrorDetails, type AttioErrorHookPayload, type AttioFilter, type AttioLogger, AttioNetworkError, type AttioRecordId, type AttioRecordLike, type AttioRequestHookPayload, AttioResponseError, type AttioResponseHookPayload, type AttioResult, AttioRetryError, type AttioSchema, type AttioSdk, type AttioValueSuggestion, Attribute, type AttributeAccessor, type AttributeInput, type AttributeListInput, type AttributeMetadataRequestParams, type BatchItem, type BatchItemRunParams, type BatchOptions, type BatchResult, type CacheAdapter, type CacheAdapterFactory, type CacheAdapterParams, ClientOptions, Comment, type CreateObjectInput, DEFAULT_BASE_URL, DEFAULT_METADATA_CACHE_MAX_ENTRIES, DEFAULT_METADATA_CACHE_TTL_MS, DEFAULT_RETRY_CONFIG, DeleteV2CommentsByCommentIdData, DeleteV2CommentsByCommentIdError, DeleteV2CommentsByCommentIdErrors, DeleteV2CommentsByCommentIdResponse, DeleteV2CommentsByCommentIdResponses, DeleteV2ListsByListEntriesByEntryIdData, DeleteV2ListsByListEntriesByEntryIdError, DeleteV2ListsByListEntriesByEntryIdErrors, DeleteV2ListsByListEntriesByEntryIdResponse, DeleteV2ListsByListEntriesByEntryIdResponses, DeleteV2MeetingsByMeetingIdCallRecordingsByCallRecordingIdData, DeleteV2MeetingsByMeetingIdCallRecordingsByCallRecordingIdError, DeleteV2MeetingsByMeetingIdCallRecordingsByCallRecordingIdErrors, DeleteV2MeetingsByMeetingIdCallRecordingsByCallRecordingIdResponse, DeleteV2MeetingsByMeetingIdCallRecordingsByCallRecordingIdResponses, DeleteV2NotesByNoteIdData, DeleteV2NotesByNoteIdError, DeleteV2NotesByNoteIdErrors, DeleteV2NotesByNoteIdResponse, DeleteV2NotesByNoteIdResponses, DeleteV2ObjectsByObjectRecordsByRecordIdData, DeleteV2ObjectsByObjectRecordsByRecordIdError, DeleteV2ObjectsByObjectRecordsByRecordIdErrors, DeleteV2ObjectsByObjectRecordsByRecordIdResponse, DeleteV2ObjectsByObjectRecordsByRecordIdResponses, DeleteV2TasksByTaskIdData, DeleteV2TasksByTaskIdError, DeleteV2TasksByTaskIdErrors, DeleteV2TasksByTaskIdResponse, DeleteV2TasksByTaskIdResponses, DeleteV2WebhooksByWebhookIdData, DeleteV2WebhooksByWebhookIdError, DeleteV2WebhooksByWebhookIdErrors, DeleteV2WebhooksByWebhookIdResponse, DeleteV2WebhooksByWebhookIdResponses, type EntryId, type EntryValues, type GetListInput, type GetObjectInput, GetV2ByTargetByIdentifierAttributesByAttributeData, GetV2ByTargetByIdentifierAttributesByAttributeError, GetV2ByTargetByIdentifierAttributesByAttributeErrors, GetV2ByTargetByIdentifierAttributesByAttributeOptionsData, GetV2ByTargetByIdentifierAttributesByAttributeOptionsError, GetV2ByTargetByIdentifierAttributesByAttributeOptionsErrors, GetV2ByTargetByIdentifierAttributesByAttributeOptionsResponse, GetV2ByTargetByIdentifierAttributesByAttributeOptionsResponses, GetV2ByTargetByIdentifierAttributesByAttributeResponse, GetV2ByTargetByIdentifierAttributesByAttributeResponses, GetV2ByTargetByIdentifierAttributesByAttributeStatusesData, GetV2ByTargetByIdentifierAttributesByAttributeStatusesError, GetV2ByTargetByIdentifierAttributesByAttributeStatusesErrors, GetV2ByTargetByIdentifierAttributesByAttributeStatusesResponse, GetV2ByTargetByIdentifierAttributesByAttributeStatusesResponses, GetV2ByTargetByIdentifierAttributesData, GetV2ByTargetByIdentifierAttributesResponse, GetV2ByTargetByIdentifierAttributesResponses, GetV2CommentsByCommentIdData, GetV2CommentsByCommentIdError, GetV2CommentsByCommentIdErrors, GetV2CommentsByCommentIdResponse, GetV2CommentsByCommentIdResponses, GetV2ListsByListData, GetV2ListsByListEntriesByEntryIdAttributesByAttributeValuesData, GetV2ListsByListEntriesByEntryIdAttributesByAttributeValuesError, GetV2ListsByListEntriesByEntryIdAttributesByAttributeValuesErrors, GetV2ListsByListEntriesByEntryIdAttributesByAttributeValuesResponse, GetV2ListsByListEntriesByEntryIdAttributesByAttributeValuesResponses, GetV2ListsByListEntriesByEntryIdData, GetV2ListsByListEntriesByEntryIdError, GetV2ListsByListEntriesByEntryIdErrors, GetV2ListsByListEntriesByEntryIdResponse, GetV2ListsByListEntriesByEntryIdResponses, GetV2ListsByListError, GetV2ListsByListErrors, GetV2ListsByListResponse, GetV2ListsByListResponses, GetV2ListsData, GetV2ListsResponse, GetV2ListsResponses, GetV2MeetingsByMeetingIdCallRecordingsByCallRecordingIdData, GetV2MeetingsByMeetingIdCallRecordingsByCallRecordingIdError, GetV2MeetingsByMeetingIdCallRecordingsByCallRecordingIdErrors, GetV2MeetingsByMeetingIdCallRecordingsByCallRecordingIdResponse, GetV2MeetingsByMeetingIdCallRecordingsByCallRecordingIdResponses, GetV2MeetingsByMeetingIdCallRecordingsByCallRecordingIdTranscriptData, GetV2MeetingsByMeetingIdCallRecordingsByCallRecordingIdTranscriptResponse, GetV2MeetingsByMeetingIdCallRecordingsByCallRecordingIdTranscriptResponses, GetV2MeetingsByMeetingIdCallRecordingsData, GetV2MeetingsByMeetingIdCallRecordingsResponse, GetV2MeetingsByMeetingIdCallRecordingsResponses, GetV2MeetingsByMeetingIdData, GetV2MeetingsByMeetingIdError, GetV2MeetingsByMeetingIdErrors, GetV2MeetingsByMeetingIdResponse, GetV2MeetingsByMeetingIdResponses, GetV2MeetingsData, GetV2MeetingsResponse, GetV2MeetingsResponses, GetV2NotesByNoteIdData, GetV2NotesByNoteIdError, GetV2NotesByNoteIdErrors, GetV2NotesByNoteIdResponse, GetV2NotesByNoteIdResponses, GetV2NotesData, GetV2NotesError, GetV2NotesErrors, GetV2NotesResponse, GetV2NotesResponses, GetV2ObjectsByObjectData, GetV2ObjectsByObjectError, GetV2ObjectsByObjectErrors, GetV2ObjectsByObjectRecordsByRecordIdAttributesByAttributeValuesData, GetV2ObjectsByObjectRecordsByRecordIdAttributesByAttributeValuesError, GetV2ObjectsByObjectRecordsByRecordIdAttributesByAttributeValuesErrors, GetV2ObjectsByObjectRecordsByRecordIdAttributesByAttributeValuesResponse, GetV2ObjectsByObjectRecordsByRecordIdAttributesByAttributeValuesResponses, GetV2ObjectsByObjectRecordsByRecordIdData, GetV2ObjectsByObjectRecordsByRecordIdEntriesData, GetV2ObjectsByObjectRecordsByRecordIdEntriesResponse, GetV2ObjectsByObjectRecordsByRecordIdEntriesResponses, GetV2ObjectsByObjectRecordsByRecordIdError, GetV2ObjectsByObjectRecordsByRecordIdErrors, GetV2ObjectsByObjectRecordsByRecordIdResponse, GetV2ObjectsByObjectRecordsByRecordIdResponses, GetV2ObjectsByObjectResponse, GetV2ObjectsByObjectResponses, GetV2ObjectsData, GetV2ObjectsResponse, GetV2ObjectsResponses, GetV2SelfData, GetV2SelfResponse, GetV2SelfResponses, GetV2TasksByTaskIdData, GetV2TasksByTaskIdError, GetV2TasksByTaskIdErrors, GetV2TasksByTaskIdResponse, GetV2TasksByTaskIdResponses, GetV2TasksData, GetV2TasksResponse, GetV2TasksResponses, GetV2ThreadsByThreadIdData, GetV2ThreadsByThreadIdError, GetV2ThreadsByThreadIdErrors, GetV2ThreadsByThreadIdResponse, GetV2ThreadsByThreadIdResponses, GetV2ThreadsData, GetV2ThreadsResponse, GetV2ThreadsResponses, GetV2WebhooksByWebhookIdData, GetV2WebhooksByWebhookIdError, GetV2WebhooksByWebhookIdErrors, GetV2WebhooksByWebhookIdResponse, GetV2WebhooksByWebhookIdResponses, GetV2WebhooksData, GetV2WebhooksResponse, GetV2WebhooksResponses, GetV2WorkspaceMembersByWorkspaceMemberIdData, GetV2WorkspaceMembersByWorkspaceMemberIdError, GetV2WorkspaceMembersByWorkspaceMemberIdErrors, GetV2WorkspaceMembersByWorkspaceMemberIdResponse, GetV2WorkspaceMembersByWorkspaceMemberIdResponses, GetV2WorkspaceMembersData, GetV2WorkspaceMembersResponse, GetV2WorkspaceMembersResponses, InputValue, List, type ListEntryFilter, type ListId, type ListObjectsInput, type ListQueryInput, type LogContext, type LogValue, type MatchingAttribute, Meeting, type MetadataCacheConfig, type MetadataCacheConfigDisabled, type MetadataCacheConfigEnabled, type MetadataCacheManager, type MetadataCacheMaxEntries, type MetadataCacheScope, Note, NoteCreateInput, NoteDeleteInput, type NoteFormat, NoteGetInput, type NoteId, type NoteParentObjectId, type NoteParentRecordId, Object$1 as Object, type ObjectApiSlug, type ObjectNoun, type ObjectSlug, type OffsetPageResult, type OffsetPaginationOptions, Options, OutputValue, type PageResult, type PaginationOptions, type ParentObjectId, type ParentRecordId, PatchV2ByTargetByIdentifierAttributesByAttributeData, PatchV2ByTargetByIdentifierAttributesByAttributeError, PatchV2ByTargetByIdentifierAttributesByAttributeErrors, PatchV2ByTargetByIdentifierAttributesByAttributeOptionsByOptionData, PatchV2ByTargetByIdentifierAttributesByAttributeOptionsByOptionError, PatchV2ByTargetByIdentifierAttributesByAttributeOptionsByOptionErrors, PatchV2ByTargetByIdentifierAttributesByAttributeOptionsByOptionResponse, PatchV2ByTargetByIdentifierAttributesByAttributeOptionsByOptionResponses, PatchV2ByTargetByIdentifierAttributesByAttributeResponse, PatchV2ByTargetByIdentifierAttributesByAttributeResponses, PatchV2ByTargetByIdentifierAttributesByAttributeStatusesByStatusData, PatchV2ByTargetByIdentifierAttributesByAttributeStatusesByStatusError, PatchV2ByTargetByIdentifierAttributesByAttributeStatusesByStatusErrors, PatchV2ByTargetByIdentifierAttributesByAttributeStatusesByStatusResponse, PatchV2ByTargetByIdentifierAttributesByAttributeStatusesByStatusResponses, PatchV2ListsByListData, PatchV2ListsByListEntriesByEntryIdData, PatchV2ListsByListEntriesByEntryIdError, PatchV2ListsByListEntriesByEntryIdErrors, PatchV2ListsByListEntriesByEntryIdResponse, PatchV2ListsByListEntriesByEntryIdResponses, PatchV2ListsByListError, PatchV2ListsByListErrors, PatchV2ListsByListResponse, PatchV2ListsByListResponses, PatchV2ObjectsByObjectData, PatchV2ObjectsByObjectError, PatchV2ObjectsByObjectErrors, PatchV2ObjectsByObjectRecordsByRecordIdData, PatchV2ObjectsByObjectRecordsByRecordIdError, PatchV2ObjectsByObjectRecordsByRecordIdErrors, PatchV2ObjectsByObjectRecordsByRecordIdResponse, PatchV2ObjectsByObjectRecordsByRecordIdResponses, PatchV2ObjectsByObjectResponse, PatchV2ObjectsByObjectResponses, PatchV2TasksByTaskIdData, PatchV2TasksByTaskIdError, PatchV2TasksByTaskIdErrors, PatchV2TasksByTaskIdResponse, PatchV2TasksByTaskIdResponses, PatchV2WebhooksByWebhookIdData, PatchV2WebhooksByWebhookIdError, PatchV2WebhooksByWebhookIdErrors, PatchV2WebhooksByWebhookIdResponse, PatchV2WebhooksByWebhookIdResponses, PostV2ByTargetByIdentifierAttributesByAttributeOptionsData, PostV2ByTargetByIdentifierAttributesByAttributeOptionsError, PostV2ByTargetByIdentifierAttributesByAttributeOptionsErrors, PostV2ByTargetByIdentifierAttributesByAttributeOptionsResponse, PostV2ByTargetByIdentifierAttributesByAttributeOptionsResponses, PostV2ByTargetByIdentifierAttributesByAttributeStatusesData, PostV2ByTargetByIdentifierAttributesByAttributeStatusesError, PostV2ByTargetByIdentifierAttributesByAttributeStatusesErrors, PostV2ByTargetByIdentifierAttributesByAttributeStatusesResponse, PostV2ByTargetByIdentifierAttributesByAttributeStatusesResponses, PostV2ByTargetByIdentifierAttributesData, PostV2ByTargetByIdentifierAttributesError, PostV2ByTargetByIdentifierAttributesErrors, PostV2ByTargetByIdentifierAttributesResponse, PostV2ByTargetByIdentifierAttributesResponses, PostV2CommentsData, PostV2CommentsError, PostV2CommentsErrors, PostV2CommentsResponse, PostV2CommentsResponses, PostV2ListsByListEntriesData, PostV2ListsByListEntriesError, PostV2ListsByListEntriesErrors, PostV2ListsByListEntriesQueryData, PostV2ListsByListEntriesQueryError, PostV2ListsByListEntriesQueryErrors, PostV2ListsByListEntriesQueryResponse, PostV2ListsByListEntriesQueryResponses, PostV2ListsByListEntriesResponse, PostV2ListsByListEntriesResponses, PostV2ListsData, PostV2ListsError, PostV2ListsErrors, PostV2ListsResponse, PostV2ListsResponses, PostV2MeetingsByMeetingIdCallRecordingsData, PostV2MeetingsByMeetingIdCallRecordingsError, PostV2MeetingsByMeetingIdCallRecordingsErrors, PostV2MeetingsByMeetingIdCallRecordingsResponse, PostV2MeetingsByMeetingIdCallRecordingsResponses, PostV2MeetingsData, PostV2MeetingsError, PostV2MeetingsErrors, PostV2MeetingsResponse, PostV2MeetingsResponses, PostV2NotesData, PostV2NotesError, PostV2NotesErrors, PostV2NotesResponse, PostV2NotesResponses, PostV2ObjectsByObjectRecordsData, PostV2ObjectsByObjectRecordsError, PostV2ObjectsByObjectRecordsErrors, PostV2ObjectsByObjectRecordsQueryData, PostV2ObjectsByObjectRecordsQueryError, PostV2ObjectsByObjectRecordsQueryErrors, PostV2ObjectsByObjectRecordsQueryResponse, PostV2ObjectsByObjectRecordsQueryResponses, PostV2ObjectsByObjectRecordsResponse, PostV2ObjectsByObjectRecordsResponses, PostV2ObjectsData, PostV2ObjectsError, PostV2ObjectsErrors, PostV2ObjectsRecordsSearchData, PostV2ObjectsRecordsSearchError, PostV2ObjectsRecordsSearchErrors, PostV2ObjectsRecordsSearchResponse, PostV2ObjectsRecordsSearchResponses, PostV2ObjectsResponse, PostV2ObjectsResponses, PostV2TasksData, PostV2TasksError, PostV2TasksErrors, PostV2TasksResponse, PostV2TasksResponses, PostV2WebhooksData, PostV2WebhooksError, PostV2WebhooksErrors, PostV2WebhooksResponse, PostV2WebhooksResponses, PutV2ListsByListEntriesByEntryIdData, PutV2ListsByListEntriesByEntryIdError, PutV2ListsByListEntriesByEntryIdErrors, PutV2ListsByListEntriesByEntryIdResponse, PutV2ListsByListEntriesByEntryIdResponses, PutV2ListsByListEntriesData, PutV2ListsByListEntriesError, PutV2ListsByListEntriesErrors, PutV2ListsByListEntriesResponse, PutV2ListsByListEntriesResponses, PutV2ObjectsByObjectRecordsByRecordIdData, PutV2ObjectsByObjectRecordsByRecordIdError, PutV2ObjectsByObjectRecordsByRecordIdErrors, PutV2ObjectsByObjectRecordsByRecordIdResponse, PutV2ObjectsByObjectRecordsByRecordIdResponses, PutV2ObjectsByObjectRecordsData, PutV2ObjectsByObjectRecordsError, PutV2ObjectsByObjectRecordsErrors, PutV2ObjectsByObjectRecordsResponse, PutV2ObjectsByObjectRecordsResponses, type RecordCreateInput, type RecordDeleteInput, type RecordFilter, type RecordGetInput, type RecordId, type RecordObjectId, type RecordQueryInput, RecordSearchInput, type RecordSorts, type RecordUpdateInput, type RecordUpsertInput, type RecordValues, type RemoveListEntryInput, type ResultOptions, type RetryConfig, type SchemaInput, type SdkInput, SelectOption, Status, Task, type TaskCreateData, TaskCreateInput, TaskDeleteInput, TaskGetInput, type TaskId, type TaskUpdateData, TaskUpdateInput, Thread, TtlCache, type TtlCacheEntry, type TtlCacheOptions, type UnwrapItemsOptions, type UnwrapOptions, type UpdateListEntryInput, type UpdateObjectInput, type ValueCurrencyInput, type ValueFactory, type ValueInput, type ValueLookupOptions, WorkspaceMember, addListEntry, assertOk, buildAttributeMetadataPath, buildKey, calculateRetryDelay, callWithRetry, clearClientCache, clearMetadataCacheRegistry, createAttioCacheManager, createAttioClient, createAttioSdk, createNote, createObject, createOffsetPageResultSchema, createPageResultSchema, createRecord, createSchema, createSchemaError, createTask, createTtlCache, createTtlCacheAdapter, deleteNote, deleteRecord, deleteTask, deleteV2CommentsByCommentId, deleteV2ListsByListEntriesByEntryId, deleteV2MeetingsByMeetingIdCallRecordingsByCallRecordingId, deleteV2NotesByNoteId, deleteV2ObjectsByObjectRecordsByRecordId, deleteV2TasksByTaskId, deleteV2WebhooksByWebhookId, enhanceAttioError, extractRecordId, extractTitles, filters, getAttioClient, getAttribute, getAttributeOptions, getAttributeStatuses, getCachedClient, getEnvValue, getFirstValue, getKnownFieldValues, getList, getNote, getObject, getRecord, getTask, getV2ByTargetByIdentifierAttributes, getV2ByTargetByIdentifierAttributesByAttribute, getV2ByTargetByIdentifierAttributesByAttributeOptions, getV2ByTargetByIdentifierAttributesByAttributeStatuses, getV2CommentsByCommentId, getV2Lists, getV2ListsByList, getV2ListsByListEntriesByEntryId, getV2ListsByListEntriesByEntryIdAttributesByAttributeValues, getV2Meetings, getV2MeetingsByMeetingId, getV2MeetingsByMeetingIdCallRecordings, getV2MeetingsByMeetingIdCallRecordingsByCallRecordingId, getV2MeetingsByMeetingIdCallRecordingsByCallRecordingIdTranscript, getV2Notes, getV2NotesByNoteId, getV2Objects, getV2ObjectsByObject, getV2ObjectsByObjectRecordsByRecordId, getV2ObjectsByObjectRecordsByRecordIdAttributesByAttributeValues, getV2ObjectsByObjectRecordsByRecordIdEntries, getV2Self, getV2Tasks, getV2TasksByTaskId, getV2Threads, getV2ThreadsByThreadId, getV2Webhooks, getV2WebhooksByWebhookId, getV2WorkspaceMembers, getV2WorkspaceMembersByWorkspaceMemberId, getValue, getWorkspaceMember, hashToken, isRetryableError, isRetryableStatus, listAttributeMetadata, listAttributes, listLists, listNotes, listObjects, listTasks, listWorkspaceMembers, normalizeAttioError, normalizeBaseUrl, normalizeRecord, normalizeRecords, paginate, paginateOffset, parseOffsetPageResult, parsePageResult, patchV2ByTargetByIdentifierAttributesByAttribute, patchV2ByTargetByIdentifierAttributesByAttributeOptionsByOption, patchV2ByTargetByIdentifierAttributesByAttributeStatusesByStatus, patchV2ListsByList, patchV2ListsByListEntriesByEntryId, patchV2ObjectsByObject, patchV2ObjectsByObjectRecordsByRecordId, patchV2TasksByTaskId, patchV2WebhooksByWebhookId, postV2ByTargetByIdentifierAttributes, postV2ByTargetByIdentifierAttributesByAttributeOptions, postV2ByTargetByIdentifierAttributesByAttributeStatuses, postV2Comments, postV2Lists, postV2ListsByListEntries, postV2ListsByListEntriesQuery, postV2Meetings, postV2MeetingsByMeetingIdCallRecordings, postV2Notes, postV2Objects, postV2ObjectsByObjectRecords, postV2ObjectsByObjectRecordsQuery, postV2ObjectsRecordsSearch, postV2Tasks, postV2Webhooks, putV2ListsByListEntries, putV2ListsByListEntriesByEntryId, putV2ObjectsByObjectRecords, putV2ObjectsByObjectRecordsByRecordId, queryListEntries, queryRecords, removeListEntry, resolveAttioClient, resolveAuthToken, resolveBaseUrl, resolveResponseStyle, resolveThrowOnError, runBatch, searchRecords, setCachedClient, sleep, toOffsetPageResult, toPageResult, toResult, unwrapData, unwrapItems, unwrapPaginationCursor, unwrapPaginationOffset, updateKnownFieldValues, updateListEntry, updateObject, updateRecord, updateTask, upsertRecord, value$1 as value };
|
|
14989
15348
|
//# sourceMappingURL=index.d.mts.map
|