attio-ts-sdk 0.0.0 → 1.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/README.md +72 -21
- package/dist/index.d.mts +252 -196
- package/dist/index.mjs +1647 -1429
- package/dist/index.mjs.map +1 -1
- package/package.json +20 -18
- package/dist/browser.d.ts +0 -14933
- package/dist/browser.js +0 -8
- package/dist/browser.js.map +0 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,3 +1,54 @@
|
|
|
1
|
+
import { ZodType, z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/attio/batch.d.ts
|
|
4
|
+
interface BatchItemRunParams {
|
|
5
|
+
signal?: AbortSignal;
|
|
6
|
+
}
|
|
7
|
+
interface BatchItem<T> {
|
|
8
|
+
run: (params?: BatchItemRunParams) => Promise<T>;
|
|
9
|
+
label?: string;
|
|
10
|
+
}
|
|
11
|
+
interface BatchResult<T> {
|
|
12
|
+
status: "fulfilled" | "rejected";
|
|
13
|
+
value?: T;
|
|
14
|
+
reason?: unknown;
|
|
15
|
+
label?: string;
|
|
16
|
+
}
|
|
17
|
+
interface BatchOptions {
|
|
18
|
+
concurrency?: number;
|
|
19
|
+
stopOnError?: boolean;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Returns an empty results array when called with no items.
|
|
23
|
+
*/
|
|
24
|
+
declare const runBatch: <T>(items: BatchItem<T>[], options?: BatchOptions) => Promise<BatchResult<T>[]>;
|
|
25
|
+
//#endregion
|
|
26
|
+
//#region src/attio/cache.d.ts
|
|
27
|
+
interface TtlCacheEntry<T> {
|
|
28
|
+
value: T;
|
|
29
|
+
expiresAt: number;
|
|
30
|
+
}
|
|
31
|
+
interface TtlCacheOptions {
|
|
32
|
+
ttlMs: number;
|
|
33
|
+
maxEntries?: number;
|
|
34
|
+
}
|
|
35
|
+
declare class TtlCache<K, V> {
|
|
36
|
+
private readonly ttlMs;
|
|
37
|
+
private readonly maxEntries;
|
|
38
|
+
private readonly store;
|
|
39
|
+
constructor(options: TtlCacheOptions);
|
|
40
|
+
get(key: K): V | undefined;
|
|
41
|
+
set(key: K, value: V): void;
|
|
42
|
+
delete(key: K): void;
|
|
43
|
+
clear(): void;
|
|
44
|
+
}
|
|
45
|
+
type ClientCacheValidator<T> = ZodType<T>;
|
|
46
|
+
declare const getCachedClient: <T>(key: string, validator: ClientCacheValidator<T>) => T | undefined;
|
|
47
|
+
declare const setCachedClient: <T>(key: string, client: T) => void;
|
|
48
|
+
declare const clearClientCache: () => void;
|
|
49
|
+
declare const hashToken: (value: string) => string;
|
|
50
|
+
declare const createTtlCache: <K, V>(options: TtlCacheOptions) => TtlCache<K, V>;
|
|
51
|
+
//#endregion
|
|
1
52
|
//#region src/generated/core/auth.gen.d.ts
|
|
2
53
|
type AuthToken = string | undefined;
|
|
3
54
|
interface Auth {
|
|
@@ -308,6 +359,134 @@ interface TDataShape {
|
|
|
308
359
|
type OmitKeys<T, K> = Pick<T, Exclude<keyof T, K>>;
|
|
309
360
|
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'>);
|
|
310
361
|
//#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
|
+
//#region src/attio/errors.d.ts
|
|
416
|
+
interface AttioErrorDetails {
|
|
417
|
+
code?: string;
|
|
418
|
+
type?: string;
|
|
419
|
+
status?: number;
|
|
420
|
+
message?: string;
|
|
421
|
+
data?: unknown;
|
|
422
|
+
cause?: unknown;
|
|
423
|
+
}
|
|
424
|
+
interface AttioErrorContext {
|
|
425
|
+
response?: Response;
|
|
426
|
+
request?: Request;
|
|
427
|
+
options?: unknown;
|
|
428
|
+
}
|
|
429
|
+
declare class AttioError extends Error {
|
|
430
|
+
status?: number;
|
|
431
|
+
code?: string;
|
|
432
|
+
type?: string;
|
|
433
|
+
requestId?: string;
|
|
434
|
+
data?: unknown;
|
|
435
|
+
response?: Response;
|
|
436
|
+
request?: Request;
|
|
437
|
+
retryAfterMs?: number;
|
|
438
|
+
isNetworkError?: boolean;
|
|
439
|
+
isApiError?: boolean;
|
|
440
|
+
suggestions?: unknown;
|
|
441
|
+
constructor(message: string, details?: AttioErrorDetails);
|
|
442
|
+
}
|
|
443
|
+
declare class AttioBatchError extends AttioError {
|
|
444
|
+
constructor(message: string, details?: AttioErrorDetails);
|
|
445
|
+
}
|
|
446
|
+
declare class AttioConfigError extends AttioError {
|
|
447
|
+
constructor(message: string, details?: AttioErrorDetails);
|
|
448
|
+
}
|
|
449
|
+
declare class AttioEnvironmentError extends AttioError {
|
|
450
|
+
constructor(message: string, details?: AttioErrorDetails);
|
|
451
|
+
}
|
|
452
|
+
declare class AttioResponseError extends AttioError {
|
|
453
|
+
constructor(message: string, details?: AttioErrorDetails);
|
|
454
|
+
}
|
|
455
|
+
declare class AttioRetryError extends AttioError {
|
|
456
|
+
constructor(message: string, details?: AttioErrorDetails);
|
|
457
|
+
}
|
|
458
|
+
declare class AttioApiError extends AttioError {
|
|
459
|
+
constructor(message: string, details?: AttioErrorDetails);
|
|
460
|
+
}
|
|
461
|
+
declare class AttioNetworkError extends AttioError {
|
|
462
|
+
constructor(message: string, details?: AttioErrorDetails);
|
|
463
|
+
}
|
|
464
|
+
declare const normalizeAttioError: (error: unknown, context?: AttioErrorContext) => AttioError;
|
|
465
|
+
//#endregion
|
|
466
|
+
//#region src/attio/error-enhancer.d.ts
|
|
467
|
+
interface AttioValueSuggestion {
|
|
468
|
+
field: string;
|
|
469
|
+
attempted: string;
|
|
470
|
+
bestMatch?: string;
|
|
471
|
+
matches: string[];
|
|
472
|
+
}
|
|
473
|
+
declare const getKnownFieldValues: (field: string) => string[] | undefined;
|
|
474
|
+
declare const updateKnownFieldValues: (field: string, values: string[]) => void;
|
|
475
|
+
declare const enhanceAttioError: (error: AttioError) => AttioError;
|
|
476
|
+
//#endregion
|
|
477
|
+
//#region src/attio/filters.d.ts
|
|
478
|
+
type AttioFilter = Record<string, unknown>;
|
|
479
|
+
declare const filters: {
|
|
480
|
+
eq: (field: string, value: unknown) => AttioFilter;
|
|
481
|
+
contains: (field: string, value: unknown) => AttioFilter;
|
|
482
|
+
startsWith: (field: string, value: unknown) => AttioFilter;
|
|
483
|
+
endsWith: (field: string, value: unknown) => AttioFilter;
|
|
484
|
+
notEmpty: (field: string) => AttioFilter;
|
|
485
|
+
and: (...conditions: AttioFilter[]) => AttioFilter;
|
|
486
|
+
or: (...conditions: AttioFilter[]) => AttioFilter;
|
|
487
|
+
not: (condition: AttioFilter) => AttioFilter;
|
|
488
|
+
};
|
|
489
|
+
//#endregion
|
|
311
490
|
//#region src/generated/types.gen.d.ts
|
|
312
491
|
type ClientOptions = {
|
|
313
492
|
baseUrl: 'https://api.attio.com' | (string & {});
|
|
@@ -614,7 +793,7 @@ type OutputValue = {
|
|
|
614
793
|
/**
|
|
615
794
|
* The ISO4217 currency code representing the currency that the value is stored in.
|
|
616
795
|
*/
|
|
617
|
-
currency_code?: 'ARS' | 'AUD' | 'BRL' | 'BGN' | 'CAD' | 'CLP' | 'CNY' | 'COP' | 'CZK' | 'DKK' | 'EUR' | 'HKD' | 'ISK' | 'INR' | 'ILS' | 'JPY' | 'KES' | 'KRW' | 'MYR' | 'MXN' | 'NTD' | 'NZD' | 'NGN' | 'NOK' | 'XPF' | 'PEN' | 'PHP' | 'PLN' | 'GBP' | 'RWF' | 'SAR' | 'SGD' | 'ZAR' | 'SEK' | 'CHF' | 'THB' | 'AED' | 'UYU' | 'USD';
|
|
796
|
+
currency_code?: 'ARS' | 'AUD' | 'BRL' | 'BGN' | 'CAD' | 'CLP' | 'CNY' | 'COP' | 'CZK' | 'DKK' | 'EUR' | 'HKD' | 'HUF' | 'ISK' | 'INR' | 'ILS' | 'JPY' | 'KES' | 'KRW' | 'MYR' | 'MXN' | 'NTD' | 'NZD' | 'NGN' | 'NOK' | 'XPF' | 'PEN' | 'PHP' | 'PLN' | 'GBP' | 'RWF' | 'SAR' | 'SGD' | 'ZAR' | 'SEK' | 'CHF' | 'THB' | 'AED' | 'UYU' | 'USD';
|
|
618
797
|
/**
|
|
619
798
|
* The attribute type of the value.
|
|
620
799
|
*/
|
|
@@ -946,7 +1125,7 @@ type Attribute = {
|
|
|
946
1125
|
/**
|
|
947
1126
|
* The ISO4217 code representing the currency that values for this attribute should be stored in.
|
|
948
1127
|
*/
|
|
949
|
-
default_currency_code: 'ARS' | 'AUD' | 'BRL' | 'BGN' | 'CAD' | 'CLP' | 'CNY' | 'COP' | 'CZK' | 'DKK' | 'EUR' | 'HKD' | 'ISK' | 'INR' | 'ILS' | 'JPY' | 'KES' | 'KRW' | 'MYR' | 'MXN' | 'NTD' | 'NZD' | 'NGN' | 'NOK' | 'XPF' | 'PEN' | 'PHP' | 'PLN' | 'GBP' | 'RWF' | 'SAR' | 'SGD' | 'ZAR' | 'SEK' | 'CHF' | 'THB' | 'AED' | 'UYU' | 'USD';
|
|
1128
|
+
default_currency_code: 'ARS' | 'AUD' | 'BRL' | 'BGN' | 'CAD' | 'CLP' | 'CNY' | 'COP' | 'CZK' | 'DKK' | 'EUR' | 'HKD' | 'HUF' | 'ISK' | 'INR' | 'ILS' | 'JPY' | 'KES' | 'KRW' | 'MYR' | 'MXN' | 'NTD' | 'NZD' | 'NGN' | 'NOK' | 'XPF' | 'PEN' | 'PHP' | 'PLN' | 'GBP' | 'RWF' | 'SAR' | 'SGD' | 'ZAR' | 'SEK' | 'CHF' | 'THB' | 'AED' | 'UYU' | 'USD';
|
|
950
1129
|
/**
|
|
951
1130
|
* How the currency should be displayed across the app. "code" will display the ISO currency code e.g. "USD", "name" will display the localized currency name e.g. "British pound", "narrowSymbol" will display "$1" instead of "US$1" and "symbol" will display a localized currency symbol such as "$".
|
|
952
1131
|
*/
|
|
@@ -1701,7 +1880,7 @@ type PostV2ByTargetByIdentifierAttributesData = {
|
|
|
1701
1880
|
/**
|
|
1702
1881
|
* The ISO4217 code representing the currency that values for this attribute should be stored in.
|
|
1703
1882
|
*/
|
|
1704
|
-
default_currency_code: 'ARS' | 'AUD' | 'BRL' | 'BGN' | 'CAD' | 'CLP' | 'CNY' | 'COP' | 'CZK' | 'DKK' | 'EUR' | 'HKD' | 'ISK' | 'INR' | 'ILS' | 'JPY' | 'KES' | 'KRW' | 'MYR' | 'MXN' | 'NTD' | 'NZD' | 'NGN' | 'NOK' | 'XPF' | 'PEN' | 'PHP' | 'PLN' | 'GBP' | 'RWF' | 'SAR' | 'SGD' | 'ZAR' | 'SEK' | 'CHF' | 'THB' | 'AED' | 'UYU' | 'USD';
|
|
1883
|
+
default_currency_code: 'ARS' | 'AUD' | 'BRL' | 'BGN' | 'CAD' | 'CLP' | 'CNY' | 'COP' | 'CZK' | 'DKK' | 'EUR' | 'HKD' | 'HUF' | 'ISK' | 'INR' | 'ILS' | 'JPY' | 'KES' | 'KRW' | 'MYR' | 'MXN' | 'NTD' | 'NZD' | 'NGN' | 'NOK' | 'XPF' | 'PEN' | 'PHP' | 'PLN' | 'GBP' | 'RWF' | 'SAR' | 'SGD' | 'ZAR' | 'SEK' | 'CHF' | 'THB' | 'AED' | 'UYU' | 'USD';
|
|
1705
1884
|
/**
|
|
1706
1885
|
* How the currency should be displayed across the app. "code" will display the ISO currency code e.g. "USD", "name" will display the localized currency name e.g. "British pound", "narrowSymbol" will display "$1" instead of "US$1" and "symbol" will display a localized currency symbol such as "$".
|
|
1707
1886
|
*/
|
|
@@ -1855,7 +2034,7 @@ type PatchV2ByTargetByIdentifierAttributesByAttributeData = {
|
|
|
1855
2034
|
/**
|
|
1856
2035
|
* The ISO4217 code representing the currency that values for this attribute should be stored in.
|
|
1857
2036
|
*/
|
|
1858
|
-
default_currency_code: 'ARS' | 'AUD' | 'BRL' | 'BGN' | 'CAD' | 'CLP' | 'CNY' | 'COP' | 'CZK' | 'DKK' | 'EUR' | 'HKD' | 'ISK' | 'INR' | 'ILS' | 'JPY' | 'KES' | 'KRW' | 'MYR' | 'MXN' | 'NTD' | 'NZD' | 'NGN' | 'NOK' | 'XPF' | 'PEN' | 'PHP' | 'PLN' | 'GBP' | 'RWF' | 'SAR' | 'SGD' | 'ZAR' | 'SEK' | 'CHF' | 'THB' | 'AED' | 'UYU' | 'USD';
|
|
2037
|
+
default_currency_code: 'ARS' | 'AUD' | 'BRL' | 'BGN' | 'CAD' | 'CLP' | 'CNY' | 'COP' | 'CZK' | 'DKK' | 'EUR' | 'HKD' | 'HUF' | 'ISK' | 'INR' | 'ILS' | 'JPY' | 'KES' | 'KRW' | 'MYR' | 'MXN' | 'NTD' | 'NZD' | 'NGN' | 'NOK' | 'XPF' | 'PEN' | 'PHP' | 'PLN' | 'GBP' | 'RWF' | 'SAR' | 'SGD' | 'ZAR' | 'SEK' | 'CHF' | 'THB' | 'AED' | 'UYU' | 'USD';
|
|
1859
2038
|
/**
|
|
1860
2039
|
* How the currency should be displayed across the app. "code" will display the ISO currency code e.g. "USD", "name" will display the localized currency name e.g. "British pound", "narrowSymbol" will display "$1" instead of "US$1" and "symbol" will display a localized currency symbol such as "$".
|
|
1861
2040
|
*/
|
|
@@ -2508,7 +2687,7 @@ type PostV2ObjectsByObjectRecordsQueryResponses = {
|
|
|
2508
2687
|
/**
|
|
2509
2688
|
* The ISO4217 currency code representing the currency that the value is stored in.
|
|
2510
2689
|
*/
|
|
2511
|
-
currency_code?: 'ARS' | 'AUD' | 'BRL' | 'BGN' | 'CAD' | 'CLP' | 'CNY' | 'COP' | 'CZK' | 'DKK' | 'EUR' | 'HKD' | 'ISK' | 'INR' | 'ILS' | 'JPY' | 'KES' | 'KRW' | 'MYR' | 'MXN' | 'NTD' | 'NZD' | 'NGN' | 'NOK' | 'XPF' | 'PEN' | 'PHP' | 'PLN' | 'GBP' | 'RWF' | 'SAR' | 'SGD' | 'ZAR' | 'SEK' | 'CHF' | 'THB' | 'AED' | 'UYU' | 'USD';
|
|
2690
|
+
currency_code?: 'ARS' | 'AUD' | 'BRL' | 'BGN' | 'CAD' | 'CLP' | 'CNY' | 'COP' | 'CZK' | 'DKK' | 'EUR' | 'HKD' | 'HUF' | 'ISK' | 'INR' | 'ILS' | 'JPY' | 'KES' | 'KRW' | 'MYR' | 'MXN' | 'NTD' | 'NZD' | 'NGN' | 'NOK' | 'XPF' | 'PEN' | 'PHP' | 'PLN' | 'GBP' | 'RWF' | 'SAR' | 'SGD' | 'ZAR' | 'SEK' | 'CHF' | 'THB' | 'AED' | 'UYU' | 'USD';
|
|
2512
2691
|
/**
|
|
2513
2692
|
* The attribute type of the value.
|
|
2514
2693
|
*/
|
|
@@ -3168,7 +3347,7 @@ type PostV2ObjectsByObjectRecordsResponses = {
|
|
|
3168
3347
|
/**
|
|
3169
3348
|
* The ISO4217 currency code representing the currency that the value is stored in.
|
|
3170
3349
|
*/
|
|
3171
|
-
currency_code?: 'ARS' | 'AUD' | 'BRL' | 'BGN' | 'CAD' | 'CLP' | 'CNY' | 'COP' | 'CZK' | 'DKK' | 'EUR' | 'HKD' | 'ISK' | 'INR' | 'ILS' | 'JPY' | 'KES' | 'KRW' | 'MYR' | 'MXN' | 'NTD' | 'NZD' | 'NGN' | 'NOK' | 'XPF' | 'PEN' | 'PHP' | 'PLN' | 'GBP' | 'RWF' | 'SAR' | 'SGD' | 'ZAR' | 'SEK' | 'CHF' | 'THB' | 'AED' | 'UYU' | 'USD';
|
|
3350
|
+
currency_code?: 'ARS' | 'AUD' | 'BRL' | 'BGN' | 'CAD' | 'CLP' | 'CNY' | 'COP' | 'CZK' | 'DKK' | 'EUR' | 'HKD' | 'HUF' | 'ISK' | 'INR' | 'ILS' | 'JPY' | 'KES' | 'KRW' | 'MYR' | 'MXN' | 'NTD' | 'NZD' | 'NGN' | 'NOK' | 'XPF' | 'PEN' | 'PHP' | 'PLN' | 'GBP' | 'RWF' | 'SAR' | 'SGD' | 'ZAR' | 'SEK' | 'CHF' | 'THB' | 'AED' | 'UYU' | 'USD';
|
|
3172
3351
|
/**
|
|
3173
3352
|
* The attribute type of the value.
|
|
3174
3353
|
*/
|
|
@@ -3833,7 +4012,7 @@ type PutV2ObjectsByObjectRecordsResponses = {
|
|
|
3833
4012
|
/**
|
|
3834
4013
|
* The ISO4217 currency code representing the currency that the value is stored in.
|
|
3835
4014
|
*/
|
|
3836
|
-
currency_code?: 'ARS' | 'AUD' | 'BRL' | 'BGN' | 'CAD' | 'CLP' | 'CNY' | 'COP' | 'CZK' | 'DKK' | 'EUR' | 'HKD' | 'ISK' | 'INR' | 'ILS' | 'JPY' | 'KES' | 'KRW' | 'MYR' | 'MXN' | 'NTD' | 'NZD' | 'NGN' | 'NOK' | 'XPF' | 'PEN' | 'PHP' | 'PLN' | 'GBP' | 'RWF' | 'SAR' | 'SGD' | 'ZAR' | 'SEK' | 'CHF' | 'THB' | 'AED' | 'UYU' | 'USD';
|
|
4015
|
+
currency_code?: 'ARS' | 'AUD' | 'BRL' | 'BGN' | 'CAD' | 'CLP' | 'CNY' | 'COP' | 'CZK' | 'DKK' | 'EUR' | 'HKD' | 'HUF' | 'ISK' | 'INR' | 'ILS' | 'JPY' | 'KES' | 'KRW' | 'MYR' | 'MXN' | 'NTD' | 'NZD' | 'NGN' | 'NOK' | 'XPF' | 'PEN' | 'PHP' | 'PLN' | 'GBP' | 'RWF' | 'SAR' | 'SGD' | 'ZAR' | 'SEK' | 'CHF' | 'THB' | 'AED' | 'UYU' | 'USD';
|
|
3837
4016
|
/**
|
|
3838
4017
|
* The attribute type of the value.
|
|
3839
4018
|
*/
|
|
@@ -4515,7 +4694,7 @@ type GetV2ObjectsByObjectRecordsByRecordIdResponses = {
|
|
|
4515
4694
|
/**
|
|
4516
4695
|
* The ISO4217 currency code representing the currency that the value is stored in.
|
|
4517
4696
|
*/
|
|
4518
|
-
currency_code?: 'ARS' | 'AUD' | 'BRL' | 'BGN' | 'CAD' | 'CLP' | 'CNY' | 'COP' | 'CZK' | 'DKK' | 'EUR' | 'HKD' | 'ISK' | 'INR' | 'ILS' | 'JPY' | 'KES' | 'KRW' | 'MYR' | 'MXN' | 'NTD' | 'NZD' | 'NGN' | 'NOK' | 'XPF' | 'PEN' | 'PHP' | 'PLN' | 'GBP' | 'RWF' | 'SAR' | 'SGD' | 'ZAR' | 'SEK' | 'CHF' | 'THB' | 'AED' | 'UYU' | 'USD';
|
|
4697
|
+
currency_code?: 'ARS' | 'AUD' | 'BRL' | 'BGN' | 'CAD' | 'CLP' | 'CNY' | 'COP' | 'CZK' | 'DKK' | 'EUR' | 'HKD' | 'HUF' | 'ISK' | 'INR' | 'ILS' | 'JPY' | 'KES' | 'KRW' | 'MYR' | 'MXN' | 'NTD' | 'NZD' | 'NGN' | 'NOK' | 'XPF' | 'PEN' | 'PHP' | 'PLN' | 'GBP' | 'RWF' | 'SAR' | 'SGD' | 'ZAR' | 'SEK' | 'CHF' | 'THB' | 'AED' | 'UYU' | 'USD';
|
|
4519
4698
|
/**
|
|
4520
4699
|
* The attribute type of the value.
|
|
4521
4700
|
*/
|
|
@@ -5179,7 +5358,7 @@ type PatchV2ObjectsByObjectRecordsByRecordIdResponses = {
|
|
|
5179
5358
|
/**
|
|
5180
5359
|
* The ISO4217 currency code representing the currency that the value is stored in.
|
|
5181
5360
|
*/
|
|
5182
|
-
currency_code?: 'ARS' | 'AUD' | 'BRL' | 'BGN' | 'CAD' | 'CLP' | 'CNY' | 'COP' | 'CZK' | 'DKK' | 'EUR' | 'HKD' | 'ISK' | 'INR' | 'ILS' | 'JPY' | 'KES' | 'KRW' | 'MYR' | 'MXN' | 'NTD' | 'NZD' | 'NGN' | 'NOK' | 'XPF' | 'PEN' | 'PHP' | 'PLN' | 'GBP' | 'RWF' | 'SAR' | 'SGD' | 'ZAR' | 'SEK' | 'CHF' | 'THB' | 'AED' | 'UYU' | 'USD';
|
|
5361
|
+
currency_code?: 'ARS' | 'AUD' | 'BRL' | 'BGN' | 'CAD' | 'CLP' | 'CNY' | 'COP' | 'CZK' | 'DKK' | 'EUR' | 'HKD' | 'HUF' | 'ISK' | 'INR' | 'ILS' | 'JPY' | 'KES' | 'KRW' | 'MYR' | 'MXN' | 'NTD' | 'NZD' | 'NGN' | 'NOK' | 'XPF' | 'PEN' | 'PHP' | 'PLN' | 'GBP' | 'RWF' | 'SAR' | 'SGD' | 'ZAR' | 'SEK' | 'CHF' | 'THB' | 'AED' | 'UYU' | 'USD';
|
|
5183
5362
|
/**
|
|
5184
5363
|
* The attribute type of the value.
|
|
5185
5364
|
*/
|
|
@@ -5843,7 +6022,7 @@ type PutV2ObjectsByObjectRecordsByRecordIdResponses = {
|
|
|
5843
6022
|
/**
|
|
5844
6023
|
* The ISO4217 currency code representing the currency that the value is stored in.
|
|
5845
6024
|
*/
|
|
5846
|
-
currency_code?: 'ARS' | 'AUD' | 'BRL' | 'BGN' | 'CAD' | 'CLP' | 'CNY' | 'COP' | 'CZK' | 'DKK' | 'EUR' | 'HKD' | 'ISK' | 'INR' | 'ILS' | 'JPY' | 'KES' | 'KRW' | 'MYR' | 'MXN' | 'NTD' | 'NZD' | 'NGN' | 'NOK' | 'XPF' | 'PEN' | 'PHP' | 'PLN' | 'GBP' | 'RWF' | 'SAR' | 'SGD' | 'ZAR' | 'SEK' | 'CHF' | 'THB' | 'AED' | 'UYU' | 'USD';
|
|
6025
|
+
currency_code?: 'ARS' | 'AUD' | 'BRL' | 'BGN' | 'CAD' | 'CLP' | 'CNY' | 'COP' | 'CZK' | 'DKK' | 'EUR' | 'HKD' | 'HUF' | 'ISK' | 'INR' | 'ILS' | 'JPY' | 'KES' | 'KRW' | 'MYR' | 'MXN' | 'NTD' | 'NZD' | 'NGN' | 'NOK' | 'XPF' | 'PEN' | 'PHP' | 'PLN' | 'GBP' | 'RWF' | 'SAR' | 'SGD' | 'ZAR' | 'SEK' | 'CHF' | 'THB' | 'AED' | 'UYU' | 'USD';
|
|
5847
6026
|
/**
|
|
5848
6027
|
* The attribute type of the value.
|
|
5849
6028
|
*/
|
|
@@ -6488,7 +6667,7 @@ type GetV2ObjectsByObjectRecordsByRecordIdAttributesByAttributeValuesResponses =
|
|
|
6488
6667
|
/**
|
|
6489
6668
|
* The ISO4217 currency code representing the currency that the value is stored in.
|
|
6490
6669
|
*/
|
|
6491
|
-
currency_code?: 'ARS' | 'AUD' | 'BRL' | 'BGN' | 'CAD' | 'CLP' | 'CNY' | 'COP' | 'CZK' | 'DKK' | 'EUR' | 'HKD' | 'ISK' | 'INR' | 'ILS' | 'JPY' | 'KES' | 'KRW' | 'MYR' | 'MXN' | 'NTD' | 'NZD' | 'NGN' | 'NOK' | 'XPF' | 'PEN' | 'PHP' | 'PLN' | 'GBP' | 'RWF' | 'SAR' | 'SGD' | 'ZAR' | 'SEK' | 'CHF' | 'THB' | 'AED' | 'UYU' | 'USD';
|
|
6670
|
+
currency_code?: 'ARS' | 'AUD' | 'BRL' | 'BGN' | 'CAD' | 'CLP' | 'CNY' | 'COP' | 'CZK' | 'DKK' | 'EUR' | 'HKD' | 'HUF' | 'ISK' | 'INR' | 'ILS' | 'JPY' | 'KES' | 'KRW' | 'MYR' | 'MXN' | 'NTD' | 'NZD' | 'NGN' | 'NOK' | 'XPF' | 'PEN' | 'PHP' | 'PLN' | 'GBP' | 'RWF' | 'SAR' | 'SGD' | 'ZAR' | 'SEK' | 'CHF' | 'THB' | 'AED' | 'UYU' | 'USD';
|
|
6492
6671
|
/**
|
|
6493
6672
|
* The attribute type of the value.
|
|
6494
6673
|
*/
|
|
@@ -7574,7 +7753,7 @@ type PostV2ListsByListEntriesQueryResponses = {
|
|
|
7574
7753
|
/**
|
|
7575
7754
|
* The ISO4217 currency code representing the currency that the value is stored in.
|
|
7576
7755
|
*/
|
|
7577
|
-
currency_code?: 'ARS' | 'AUD' | 'BRL' | 'BGN' | 'CAD' | 'CLP' | 'CNY' | 'COP' | 'CZK' | 'DKK' | 'EUR' | 'HKD' | 'ISK' | 'INR' | 'ILS' | 'JPY' | 'KES' | 'KRW' | 'MYR' | 'MXN' | 'NTD' | 'NZD' | 'NGN' | 'NOK' | 'XPF' | 'PEN' | 'PHP' | 'PLN' | 'GBP' | 'RWF' | 'SAR' | 'SGD' | 'ZAR' | 'SEK' | 'CHF' | 'THB' | 'AED' | 'UYU' | 'USD';
|
|
7756
|
+
currency_code?: 'ARS' | 'AUD' | 'BRL' | 'BGN' | 'CAD' | 'CLP' | 'CNY' | 'COP' | 'CZK' | 'DKK' | 'EUR' | 'HKD' | 'HUF' | 'ISK' | 'INR' | 'ILS' | 'JPY' | 'KES' | 'KRW' | 'MYR' | 'MXN' | 'NTD' | 'NZD' | 'NGN' | 'NOK' | 'XPF' | 'PEN' | 'PHP' | 'PLN' | 'GBP' | 'RWF' | 'SAR' | 'SGD' | 'ZAR' | 'SEK' | 'CHF' | 'THB' | 'AED' | 'UYU' | 'USD';
|
|
7578
7757
|
/**
|
|
7579
7758
|
* The attribute type of the value.
|
|
7580
7759
|
*/
|
|
@@ -8246,7 +8425,7 @@ type PostV2ListsByListEntriesResponses = {
|
|
|
8246
8425
|
/**
|
|
8247
8426
|
* The ISO4217 currency code representing the currency that the value is stored in.
|
|
8248
8427
|
*/
|
|
8249
|
-
currency_code?: 'ARS' | 'AUD' | 'BRL' | 'BGN' | 'CAD' | 'CLP' | 'CNY' | 'COP' | 'CZK' | 'DKK' | 'EUR' | 'HKD' | 'ISK' | 'INR' | 'ILS' | 'JPY' | 'KES' | 'KRW' | 'MYR' | 'MXN' | 'NTD' | 'NZD' | 'NGN' | 'NOK' | 'XPF' | 'PEN' | 'PHP' | 'PLN' | 'GBP' | 'RWF' | 'SAR' | 'SGD' | 'ZAR' | 'SEK' | 'CHF' | 'THB' | 'AED' | 'UYU' | 'USD';
|
|
8428
|
+
currency_code?: 'ARS' | 'AUD' | 'BRL' | 'BGN' | 'CAD' | 'CLP' | 'CNY' | 'COP' | 'CZK' | 'DKK' | 'EUR' | 'HKD' | 'HUF' | 'ISK' | 'INR' | 'ILS' | 'JPY' | 'KES' | 'KRW' | 'MYR' | 'MXN' | 'NTD' | 'NZD' | 'NGN' | 'NOK' | 'XPF' | 'PEN' | 'PHP' | 'PLN' | 'GBP' | 'RWF' | 'SAR' | 'SGD' | 'ZAR' | 'SEK' | 'CHF' | 'THB' | 'AED' | 'UYU' | 'USD';
|
|
8250
8429
|
/**
|
|
8251
8430
|
* The attribute type of the value.
|
|
8252
8431
|
*/
|
|
@@ -8918,7 +9097,7 @@ type PutV2ListsByListEntriesResponses = {
|
|
|
8918
9097
|
/**
|
|
8919
9098
|
* The ISO4217 currency code representing the currency that the value is stored in.
|
|
8920
9099
|
*/
|
|
8921
|
-
currency_code?: 'ARS' | 'AUD' | 'BRL' | 'BGN' | 'CAD' | 'CLP' | 'CNY' | 'COP' | 'CZK' | 'DKK' | 'EUR' | 'HKD' | 'ISK' | 'INR' | 'ILS' | 'JPY' | 'KES' | 'KRW' | 'MYR' | 'MXN' | 'NTD' | 'NZD' | 'NGN' | 'NOK' | 'XPF' | 'PEN' | 'PHP' | 'PLN' | 'GBP' | 'RWF' | 'SAR' | 'SGD' | 'ZAR' | 'SEK' | 'CHF' | 'THB' | 'AED' | 'UYU' | 'USD';
|
|
9100
|
+
currency_code?: 'ARS' | 'AUD' | 'BRL' | 'BGN' | 'CAD' | 'CLP' | 'CNY' | 'COP' | 'CZK' | 'DKK' | 'EUR' | 'HKD' | 'HUF' | 'ISK' | 'INR' | 'ILS' | 'JPY' | 'KES' | 'KRW' | 'MYR' | 'MXN' | 'NTD' | 'NZD' | 'NGN' | 'NOK' | 'XPF' | 'PEN' | 'PHP' | 'PLN' | 'GBP' | 'RWF' | 'SAR' | 'SGD' | 'ZAR' | 'SEK' | 'CHF' | 'THB' | 'AED' | 'UYU' | 'USD';
|
|
8922
9101
|
/**
|
|
8923
9102
|
* The attribute type of the value.
|
|
8924
9103
|
*/
|
|
@@ -9604,7 +9783,7 @@ type GetV2ListsByListEntriesByEntryIdResponses = {
|
|
|
9604
9783
|
/**
|
|
9605
9784
|
* The ISO4217 currency code representing the currency that the value is stored in.
|
|
9606
9785
|
*/
|
|
9607
|
-
currency_code?: 'ARS' | 'AUD' | 'BRL' | 'BGN' | 'CAD' | 'CLP' | 'CNY' | 'COP' | 'CZK' | 'DKK' | 'EUR' | 'HKD' | 'ISK' | 'INR' | 'ILS' | 'JPY' | 'KES' | 'KRW' | 'MYR' | 'MXN' | 'NTD' | 'NZD' | 'NGN' | 'NOK' | 'XPF' | 'PEN' | 'PHP' | 'PLN' | 'GBP' | 'RWF' | 'SAR' | 'SGD' | 'ZAR' | 'SEK' | 'CHF' | 'THB' | 'AED' | 'UYU' | 'USD';
|
|
9786
|
+
currency_code?: 'ARS' | 'AUD' | 'BRL' | 'BGN' | 'CAD' | 'CLP' | 'CNY' | 'COP' | 'CZK' | 'DKK' | 'EUR' | 'HKD' | 'HUF' | 'ISK' | 'INR' | 'ILS' | 'JPY' | 'KES' | 'KRW' | 'MYR' | 'MXN' | 'NTD' | 'NZD' | 'NGN' | 'NOK' | 'XPF' | 'PEN' | 'PHP' | 'PLN' | 'GBP' | 'RWF' | 'SAR' | 'SGD' | 'ZAR' | 'SEK' | 'CHF' | 'THB' | 'AED' | 'UYU' | 'USD';
|
|
9608
9787
|
/**
|
|
9609
9788
|
* The attribute type of the value.
|
|
9610
9789
|
*/
|
|
@@ -10272,7 +10451,7 @@ type PatchV2ListsByListEntriesByEntryIdResponses = {
|
|
|
10272
10451
|
/**
|
|
10273
10452
|
* The ISO4217 currency code representing the currency that the value is stored in.
|
|
10274
10453
|
*/
|
|
10275
|
-
currency_code?: 'ARS' | 'AUD' | 'BRL' | 'BGN' | 'CAD' | 'CLP' | 'CNY' | 'COP' | 'CZK' | 'DKK' | 'EUR' | 'HKD' | 'ISK' | 'INR' | 'ILS' | 'JPY' | 'KES' | 'KRW' | 'MYR' | 'MXN' | 'NTD' | 'NZD' | 'NGN' | 'NOK' | 'XPF' | 'PEN' | 'PHP' | 'PLN' | 'GBP' | 'RWF' | 'SAR' | 'SGD' | 'ZAR' | 'SEK' | 'CHF' | 'THB' | 'AED' | 'UYU' | 'USD';
|
|
10454
|
+
currency_code?: 'ARS' | 'AUD' | 'BRL' | 'BGN' | 'CAD' | 'CLP' | 'CNY' | 'COP' | 'CZK' | 'DKK' | 'EUR' | 'HKD' | 'HUF' | 'ISK' | 'INR' | 'ILS' | 'JPY' | 'KES' | 'KRW' | 'MYR' | 'MXN' | 'NTD' | 'NZD' | 'NGN' | 'NOK' | 'XPF' | 'PEN' | 'PHP' | 'PLN' | 'GBP' | 'RWF' | 'SAR' | 'SGD' | 'ZAR' | 'SEK' | 'CHF' | 'THB' | 'AED' | 'UYU' | 'USD';
|
|
10276
10455
|
/**
|
|
10277
10456
|
* The attribute type of the value.
|
|
10278
10457
|
*/
|
|
@@ -10940,7 +11119,7 @@ type PutV2ListsByListEntriesByEntryIdResponses = {
|
|
|
10940
11119
|
/**
|
|
10941
11120
|
* The ISO4217 currency code representing the currency that the value is stored in.
|
|
10942
11121
|
*/
|
|
10943
|
-
currency_code?: 'ARS' | 'AUD' | 'BRL' | 'BGN' | 'CAD' | 'CLP' | 'CNY' | 'COP' | 'CZK' | 'DKK' | 'EUR' | 'HKD' | 'ISK' | 'INR' | 'ILS' | 'JPY' | 'KES' | 'KRW' | 'MYR' | 'MXN' | 'NTD' | 'NZD' | 'NGN' | 'NOK' | 'XPF' | 'PEN' | 'PHP' | 'PLN' | 'GBP' | 'RWF' | 'SAR' | 'SGD' | 'ZAR' | 'SEK' | 'CHF' | 'THB' | 'AED' | 'UYU' | 'USD';
|
|
11122
|
+
currency_code?: 'ARS' | 'AUD' | 'BRL' | 'BGN' | 'CAD' | 'CLP' | 'CNY' | 'COP' | 'CZK' | 'DKK' | 'EUR' | 'HKD' | 'HUF' | 'ISK' | 'INR' | 'ILS' | 'JPY' | 'KES' | 'KRW' | 'MYR' | 'MXN' | 'NTD' | 'NZD' | 'NGN' | 'NOK' | 'XPF' | 'PEN' | 'PHP' | 'PLN' | 'GBP' | 'RWF' | 'SAR' | 'SGD' | 'ZAR' | 'SEK' | 'CHF' | 'THB' | 'AED' | 'UYU' | 'USD';
|
|
10944
11123
|
/**
|
|
10945
11124
|
* The attribute type of the value.
|
|
10946
11125
|
*/
|
|
@@ -11576,7 +11755,7 @@ type GetV2ListsByListEntriesByEntryIdAttributesByAttributeValuesResponses = {
|
|
|
11576
11755
|
/**
|
|
11577
11756
|
* The ISO4217 currency code representing the currency that the value is stored in.
|
|
11578
11757
|
*/
|
|
11579
|
-
currency_code?: 'ARS' | 'AUD' | 'BRL' | 'BGN' | 'CAD' | 'CLP' | 'CNY' | 'COP' | 'CZK' | 'DKK' | 'EUR' | 'HKD' | 'ISK' | 'INR' | 'ILS' | 'JPY' | 'KES' | 'KRW' | 'MYR' | 'MXN' | 'NTD' | 'NZD' | 'NGN' | 'NOK' | 'XPF' | 'PEN' | 'PHP' | 'PLN' | 'GBP' | 'RWF' | 'SAR' | 'SGD' | 'ZAR' | 'SEK' | 'CHF' | 'THB' | 'AED' | 'UYU' | 'USD';
|
|
11758
|
+
currency_code?: 'ARS' | 'AUD' | 'BRL' | 'BGN' | 'CAD' | 'CLP' | 'CNY' | 'COP' | 'CZK' | 'DKK' | 'EUR' | 'HKD' | 'HUF' | 'ISK' | 'INR' | 'ILS' | 'JPY' | 'KES' | 'KRW' | 'MYR' | 'MXN' | 'NTD' | 'NZD' | 'NGN' | 'NOK' | 'XPF' | 'PEN' | 'PHP' | 'PLN' | 'GBP' | 'RWF' | 'SAR' | 'SGD' | 'ZAR' | 'SEK' | 'CHF' | 'THB' | 'AED' | 'UYU' | 'USD';
|
|
11580
11759
|
/**
|
|
11581
11760
|
* The attribute type of the value.
|
|
11582
11761
|
*/
|
|
@@ -14591,168 +14770,6 @@ declare const patchV2WebhooksByWebhookId: <ThrowOnError extends boolean = false>
|
|
|
14591
14770
|
*/
|
|
14592
14771
|
declare const getV2Self: <ThrowOnError extends boolean = false>(options?: Options<GetV2SelfData, ThrowOnError>) => RequestResult<GetV2SelfResponses, unknown, ThrowOnError, "fields">;
|
|
14593
14772
|
//#endregion
|
|
14594
|
-
//#region src/attio/batch.d.ts
|
|
14595
|
-
declare namespace BatchItem {
|
|
14596
|
-
interface RunParams {
|
|
14597
|
-
signal?: AbortSignal;
|
|
14598
|
-
}
|
|
14599
|
-
}
|
|
14600
|
-
interface BatchItem<T> {
|
|
14601
|
-
run: (params?: BatchItem.RunParams) => Promise<T>;
|
|
14602
|
-
label?: string;
|
|
14603
|
-
}
|
|
14604
|
-
interface BatchResult<T> {
|
|
14605
|
-
status: "fulfilled" | "rejected";
|
|
14606
|
-
value?: T;
|
|
14607
|
-
reason?: unknown;
|
|
14608
|
-
label?: string;
|
|
14609
|
-
}
|
|
14610
|
-
interface BatchOptions {
|
|
14611
|
-
concurrency?: number;
|
|
14612
|
-
stopOnError?: boolean;
|
|
14613
|
-
}
|
|
14614
|
-
/**
|
|
14615
|
-
* Returns an empty results array when called with no items.
|
|
14616
|
-
*/
|
|
14617
|
-
declare const runBatch: <T>(items: BatchItem<T>[], options?: BatchOptions) => Promise<BatchResult<T>[]>;
|
|
14618
|
-
//#endregion
|
|
14619
|
-
//#region src/attio/cache.d.ts
|
|
14620
|
-
interface TtlCacheEntry<T> {
|
|
14621
|
-
value: T;
|
|
14622
|
-
expiresAt: number;
|
|
14623
|
-
}
|
|
14624
|
-
interface TtlCacheOptions {
|
|
14625
|
-
ttlMs: number;
|
|
14626
|
-
maxEntries?: number;
|
|
14627
|
-
}
|
|
14628
|
-
declare class TtlCache<K, V> {
|
|
14629
|
-
private readonly ttlMs;
|
|
14630
|
-
private readonly maxEntries;
|
|
14631
|
-
private readonly store;
|
|
14632
|
-
constructor(options: TtlCacheOptions);
|
|
14633
|
-
get(key: K): V | undefined;
|
|
14634
|
-
set(key: K, value: V): void;
|
|
14635
|
-
delete(key: K): void;
|
|
14636
|
-
clear(): void;
|
|
14637
|
-
}
|
|
14638
|
-
declare const createTtlCache: <K, V>(options: TtlCacheOptions) => TtlCache<K, V>;
|
|
14639
|
-
declare const getCachedClient: <T>(key: string) => T | undefined;
|
|
14640
|
-
declare const setCachedClient: <T>(key: string, client: T) => void;
|
|
14641
|
-
declare const clearClientCache: () => void;
|
|
14642
|
-
declare const hashToken: (value: string) => string;
|
|
14643
|
-
//#endregion
|
|
14644
|
-
//#region src/attio/errors.d.ts
|
|
14645
|
-
interface AttioErrorDetails {
|
|
14646
|
-
code?: string;
|
|
14647
|
-
type?: string;
|
|
14648
|
-
status?: number;
|
|
14649
|
-
message?: string;
|
|
14650
|
-
data?: unknown;
|
|
14651
|
-
}
|
|
14652
|
-
interface AttioErrorContext {
|
|
14653
|
-
response?: Response;
|
|
14654
|
-
request?: Request;
|
|
14655
|
-
options?: unknown;
|
|
14656
|
-
}
|
|
14657
|
-
declare class AttioError extends Error {
|
|
14658
|
-
status?: number;
|
|
14659
|
-
code?: string;
|
|
14660
|
-
type?: string;
|
|
14661
|
-
requestId?: string;
|
|
14662
|
-
data?: unknown;
|
|
14663
|
-
response?: Response;
|
|
14664
|
-
request?: Request;
|
|
14665
|
-
retryAfterMs?: number;
|
|
14666
|
-
isNetworkError?: boolean;
|
|
14667
|
-
isApiError?: boolean;
|
|
14668
|
-
suggestions?: unknown;
|
|
14669
|
-
constructor(message: string, details?: AttioErrorDetails);
|
|
14670
|
-
}
|
|
14671
|
-
declare class AttioApiError extends AttioError {
|
|
14672
|
-
constructor(message: string, details?: AttioErrorDetails);
|
|
14673
|
-
}
|
|
14674
|
-
declare class AttioNetworkError extends AttioError {
|
|
14675
|
-
constructor(message: string, details?: AttioErrorDetails);
|
|
14676
|
-
}
|
|
14677
|
-
declare const normalizeAttioError: (error: unknown, context?: AttioErrorContext) => AttioError;
|
|
14678
|
-
//#endregion
|
|
14679
|
-
//#region src/attio/retry.d.ts
|
|
14680
|
-
interface RetryConfig {
|
|
14681
|
-
maxRetries: number;
|
|
14682
|
-
initialDelayMs: number;
|
|
14683
|
-
maxDelayMs: number;
|
|
14684
|
-
retryableStatusCodes: number[];
|
|
14685
|
-
respectRetryAfter: boolean;
|
|
14686
|
-
}
|
|
14687
|
-
declare const DEFAULT_RETRY_CONFIG: RetryConfig;
|
|
14688
|
-
declare const sleep: (ms: number) => Promise<unknown>;
|
|
14689
|
-
declare const calculateRetryDelay: (attempt: number, config: RetryConfig, retryAfterMs?: number) => number;
|
|
14690
|
-
declare const isRetryableStatus: (status: number | undefined, config: RetryConfig) => boolean;
|
|
14691
|
-
declare const isRetryableError: (error: AttioError | unknown, config: RetryConfig) => boolean;
|
|
14692
|
-
declare const callWithRetry: <T>(fn: () => Promise<T>, config?: Partial<RetryConfig>) => Promise<T>;
|
|
14693
|
-
//#endregion
|
|
14694
|
-
//#region src/attio/config.d.ts
|
|
14695
|
-
declare const DEFAULT_BASE_URL = "https://api.attio.com";
|
|
14696
|
-
interface AttioClientConfig extends Omit<Config, "auth" | "baseUrl" | "headers"> {
|
|
14697
|
-
apiKey?: string;
|
|
14698
|
-
accessToken?: string;
|
|
14699
|
-
authToken?: string;
|
|
14700
|
-
baseUrl?: string;
|
|
14701
|
-
headers?: Config["headers"];
|
|
14702
|
-
timeoutMs?: number;
|
|
14703
|
-
retry?: Partial<RetryConfig>;
|
|
14704
|
-
cache?: {
|
|
14705
|
-
enabled?: boolean;
|
|
14706
|
-
key?: string;
|
|
14707
|
-
};
|
|
14708
|
-
responseStyle?: ResponseStyle;
|
|
14709
|
-
throwOnError?: boolean;
|
|
14710
|
-
}
|
|
14711
|
-
declare const getEnvValue: (key: string) => string | undefined;
|
|
14712
|
-
declare const normalizeBaseUrl: (baseUrl: string) => string;
|
|
14713
|
-
declare const resolveBaseUrl: (config?: AttioClientConfig) => string;
|
|
14714
|
-
declare const resolveAuthToken: (config?: AttioClientConfig) => string | undefined;
|
|
14715
|
-
declare const validateAuthToken: (token: string | undefined) => string;
|
|
14716
|
-
declare const resolveResponseStyle: (config?: AttioClientConfig) => ResponseStyle;
|
|
14717
|
-
declare const resolveThrowOnError: (config?: AttioClientConfig) => boolean;
|
|
14718
|
-
//#endregion
|
|
14719
|
-
//#region src/attio/client.d.ts
|
|
14720
|
-
type AttioClient = Client;
|
|
14721
|
-
interface AttioClientInput {
|
|
14722
|
-
client?: AttioClient;
|
|
14723
|
-
config?: AttioClientConfig;
|
|
14724
|
-
}
|
|
14725
|
-
interface AttioRequestOptions extends RequestOptions {
|
|
14726
|
-
retry?: Partial<RetryConfig>;
|
|
14727
|
-
}
|
|
14728
|
-
declare const createAttioClient: (config?: AttioClientConfig) => AttioClient;
|
|
14729
|
-
declare const getAttioClient: (config?: AttioClientConfig) => AttioClient;
|
|
14730
|
-
declare const resolveAttioClient: (input?: AttioClientInput) => AttioClient;
|
|
14731
|
-
//#endregion
|
|
14732
|
-
//#region src/attio/error-enhancer.d.ts
|
|
14733
|
-
interface AttioValueSuggestion {
|
|
14734
|
-
field: string;
|
|
14735
|
-
attempted: string;
|
|
14736
|
-
bestMatch?: string;
|
|
14737
|
-
matches: string[];
|
|
14738
|
-
}
|
|
14739
|
-
declare const getKnownFieldValues: (field: string) => string[] | undefined;
|
|
14740
|
-
declare const updateKnownFieldValues: (field: string, values: string[]) => void;
|
|
14741
|
-
declare const enhanceAttioError: (error: AttioError) => AttioError;
|
|
14742
|
-
//#endregion
|
|
14743
|
-
//#region src/attio/filters.d.ts
|
|
14744
|
-
type AttioFilter = Record<string, unknown>;
|
|
14745
|
-
declare const filters: {
|
|
14746
|
-
eq: (field: string, value: unknown) => AttioFilter;
|
|
14747
|
-
contains: (field: string, value: unknown) => AttioFilter;
|
|
14748
|
-
startsWith: (field: string, value: unknown) => AttioFilter;
|
|
14749
|
-
endsWith: (field: string, value: unknown) => AttioFilter;
|
|
14750
|
-
notEmpty: (field: string) => AttioFilter;
|
|
14751
|
-
and: (...conditions: AttioFilter[]) => AttioFilter;
|
|
14752
|
-
or: (...conditions: AttioFilter[]) => AttioFilter;
|
|
14753
|
-
not: (condition: AttioFilter) => AttioFilter;
|
|
14754
|
-
};
|
|
14755
|
-
//#endregion
|
|
14756
14773
|
//#region src/attio/lists.d.ts
|
|
14757
14774
|
interface ListQueryInput extends AttioClientInput {
|
|
14758
14775
|
list: string;
|
|
@@ -14785,6 +14802,8 @@ declare const removeListEntry: (input: {
|
|
|
14785
14802
|
} & AttioClientInput) => Promise<boolean>;
|
|
14786
14803
|
//#endregion
|
|
14787
14804
|
//#region src/attio/metadata.d.ts
|
|
14805
|
+
declare const buildKey: (target: string, identifier: string, attribute?: string) => string;
|
|
14806
|
+
declare const extractTitles: (items: unknown[]) => string[];
|
|
14788
14807
|
interface AttributeListInput extends AttioClientInput {
|
|
14789
14808
|
target: string;
|
|
14790
14809
|
identifier: string;
|
|
@@ -14793,10 +14812,30 @@ interface AttributeListInput extends AttioClientInput {
|
|
|
14793
14812
|
interface AttributeInput extends AttributeListInput {
|
|
14794
14813
|
attribute: string;
|
|
14795
14814
|
}
|
|
14796
|
-
|
|
14797
|
-
|
|
14798
|
-
|
|
14799
|
-
|
|
14815
|
+
interface AttributeMetadataPath {
|
|
14816
|
+
target: string;
|
|
14817
|
+
identifier: string;
|
|
14818
|
+
attribute: string;
|
|
14819
|
+
}
|
|
14820
|
+
interface AttributeMetadataFetchParams extends Omit<Options, "client" | "path"> {
|
|
14821
|
+
client: AttioClient;
|
|
14822
|
+
path: AttributeMetadataPath;
|
|
14823
|
+
}
|
|
14824
|
+
interface AttributeMetadataRequestParams {
|
|
14825
|
+
input: AttributeInput;
|
|
14826
|
+
cache: TtlCache<string, unknown[]>;
|
|
14827
|
+
fetcher: (params: AttributeMetadataFetchParams) => Promise<unknown>;
|
|
14828
|
+
}
|
|
14829
|
+
declare const buildAttributeMetadataPath: (input: AttributeInput) => AttributeMetadataPath;
|
|
14830
|
+
declare const listAttributeMetadata: ({
|
|
14831
|
+
input,
|
|
14832
|
+
cache,
|
|
14833
|
+
fetcher
|
|
14834
|
+
}: AttributeMetadataRequestParams) => Promise<unknown[]>;
|
|
14835
|
+
declare const listAttributes: (input: AttributeListInput) => Promise<Attribute[]>;
|
|
14836
|
+
declare const getAttribute: (input: AttributeInput) => Promise<Attribute>;
|
|
14837
|
+
declare const getAttributeOptions: (input: AttributeInput) => Promise<SelectOption[]>;
|
|
14838
|
+
declare const getAttributeStatuses: (input: AttributeInput) => Promise<Status[]>;
|
|
14800
14839
|
//#endregion
|
|
14801
14840
|
//#region src/attio/notes.d.ts
|
|
14802
14841
|
interface NoteCreateInput extends AttioClientInput {
|
|
@@ -14820,27 +14859,44 @@ interface PageResult<T> {
|
|
|
14820
14859
|
items: T[];
|
|
14821
14860
|
nextCursor?: string | null;
|
|
14822
14861
|
}
|
|
14823
|
-
interface PaginationOptions {
|
|
14862
|
+
interface PaginationOptions<T = unknown> {
|
|
14824
14863
|
cursor?: string | null;
|
|
14825
14864
|
maxPages?: number;
|
|
14826
14865
|
maxItems?: number;
|
|
14866
|
+
itemSchema?: ZodType<T>;
|
|
14827
14867
|
}
|
|
14868
|
+
declare const createPageResultSchema: <T>(itemSchema: ZodType<T>) => z.ZodObject<{
|
|
14869
|
+
items: z.ZodArray<ZodType<T, unknown, z.core.$ZodTypeInternals<T, unknown>>>;
|
|
14870
|
+
nextCursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14871
|
+
}, z.core.$strip>;
|
|
14828
14872
|
declare const toPageResult: <T>(result: unknown) => PageResult<T>;
|
|
14829
|
-
declare const
|
|
14873
|
+
declare const parsePageResult: <T>(page: unknown, itemSchema?: ZodType<T>) => PageResult<T> | undefined;
|
|
14874
|
+
declare const paginate: <T>(fetchPage: (cursor?: string | null) => Promise<PageResult<T> | unknown>, options?: PaginationOptions<T>) => Promise<T[]>;
|
|
14830
14875
|
//#endregion
|
|
14831
14876
|
//#region src/attio/record-utils.d.ts
|
|
14877
|
+
declare const attioRecordIdSchema: z.core.$ZodBranded<z.ZodString, "AttioRecordId", "out">;
|
|
14878
|
+
type AttioRecordId = z.infer<typeof attioRecordIdSchema>;
|
|
14879
|
+
interface AttioRecordIdFields {
|
|
14880
|
+
record_id?: AttioRecordId;
|
|
14881
|
+
company_id?: AttioRecordId;
|
|
14882
|
+
person_id?: AttioRecordId;
|
|
14883
|
+
list_id?: AttioRecordId;
|
|
14884
|
+
task_id?: AttioRecordId;
|
|
14885
|
+
}
|
|
14886
|
+
type EmptyObjectBehavior = "allow" | "reject";
|
|
14887
|
+
interface NormalizeRecordOptions {
|
|
14888
|
+
emptyBehavior?: EmptyObjectBehavior;
|
|
14889
|
+
}
|
|
14832
14890
|
interface AttioRecordLike {
|
|
14833
|
-
id?:
|
|
14891
|
+
id?: AttioRecordIdFields | AttioRecordId;
|
|
14834
14892
|
values?: Record<string, unknown>;
|
|
14835
14893
|
[key: string]: unknown;
|
|
14836
14894
|
}
|
|
14837
|
-
declare const extractRecordId: (obj: unknown) =>
|
|
14838
|
-
declare
|
|
14839
|
-
|
|
14840
|
-
|
|
14841
|
-
declare
|
|
14842
|
-
allowEmpty?: boolean;
|
|
14843
|
-
}) => T[];
|
|
14895
|
+
declare const extractRecordId: (obj: unknown) => AttioRecordId | undefined;
|
|
14896
|
+
declare function normalizeRecord<T extends AttioRecordLike>(raw: Record<string, unknown>, options?: NormalizeRecordOptions): T;
|
|
14897
|
+
declare function normalizeRecord(raw: Record<string, unknown>, options?: NormalizeRecordOptions): AttioRecordLike;
|
|
14898
|
+
declare function normalizeRecords<T extends AttioRecordLike>(items: unknown[], options?: NormalizeRecordOptions): T[];
|
|
14899
|
+
declare function normalizeRecords(items: unknown[], options?: NormalizeRecordOptions): AttioRecordLike[];
|
|
14844
14900
|
//#endregion
|
|
14845
14901
|
//#region src/attio/records.d.ts
|
|
14846
14902
|
interface RecordCreateInput extends AttioClientInput {
|
|
@@ -14868,7 +14924,7 @@ interface RecordGetInput extends AttioClientInput {
|
|
|
14868
14924
|
interface RecordQueryInput extends AttioClientInput {
|
|
14869
14925
|
object: string;
|
|
14870
14926
|
filter?: Record<string, unknown>;
|
|
14871
|
-
sorts?:
|
|
14927
|
+
sorts?: Record<string, unknown>[];
|
|
14872
14928
|
limit?: number;
|
|
14873
14929
|
offset?: number;
|
|
14874
14930
|
options?: Omit<Options, "client" | "path" | "body">;
|
|
@@ -14929,5 +14985,5 @@ declare const getWorkspaceMember: (input: {
|
|
|
14929
14985
|
workspaceMemberId: string;
|
|
14930
14986
|
} & AttioClientInput) => Promise<unknown>;
|
|
14931
14987
|
//#endregion
|
|
14932
|
-
export { AttioApiError, AttioClient, AttioClientConfig, AttioClientInput, AttioError, AttioErrorContext, AttioErrorDetails, AttioFilter, AttioNetworkError, AttioRecordLike, AttioRequestOptions, AttioValueSuggestion, Attribute, AttributeInput, AttributeListInput, BatchItem, BatchOptions, 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, PageResult, 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, RecordCreateInput, RecordGetInput, RecordQueryInput, RecordSearchInput, RecordUpdateInput, RecordUpsertInput, RetryConfig, SelectOption, Status, Task, TaskCreateInput, TaskUpdateInput, Thread, TtlCache, TtlCacheEntry, TtlCacheOptions, WorkspaceMember, addListEntry, calculateRetryDelay, callWithRetry, clearClientCache, createAttioClient, createNote, createRecord, createTask, createTtlCache, deleteNote, deleteRecord, deleteTask, deleteV2CommentsByCommentId, deleteV2ListsByListEntriesByEntryId, deleteV2MeetingsByMeetingIdCallRecordingsByCallRecordingId, deleteV2NotesByNoteId, deleteV2ObjectsByObjectRecordsByRecordId, deleteV2TasksByTaskId, deleteV2WebhooksByWebhookId, enhanceAttioError, extractRecordId, 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, listAttributes, listLists, listNotes, listTasks, listWorkspaceMembers, normalizeAttioError, normalizeBaseUrl, normalizeRecord, normalizeRecords, paginate, 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 };
|
|
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 };
|
|
14933
14989
|
//# sourceMappingURL=index.d.mts.map
|