@avallon-labs/sdk 36.5.0 → 36.7.0-staging.914
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/dist/index.d.ts +634 -313
- package/dist/index.js +221 -143
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1756,6 +1756,103 @@ type CreateInboxWebhookBody = {
|
|
|
1756
1756
|
enabled?: boolean;
|
|
1757
1757
|
};
|
|
1758
1758
|
|
|
1759
|
+
/**
|
|
1760
|
+
* Generated by orval v8.1.0 🍺
|
|
1761
|
+
* Do not edit manually.
|
|
1762
|
+
* Avallon API
|
|
1763
|
+
* OpenAPI spec version: 1.0.0
|
|
1764
|
+
*/
|
|
1765
|
+
/**
|
|
1766
|
+
* What the schedule does every time it fires
|
|
1767
|
+
*/
|
|
1768
|
+
type ScheduleAction = {
|
|
1769
|
+
type: "trigger_worker";
|
|
1770
|
+
worker_id: string;
|
|
1771
|
+
/** Scope of the runs this schedule creates. Omit or send null to run without artifacts. */
|
|
1772
|
+
scope?: {
|
|
1773
|
+
[key: string]: string | number | boolean | null;
|
|
1774
|
+
} | null;
|
|
1775
|
+
};
|
|
1776
|
+
|
|
1777
|
+
/**
|
|
1778
|
+
* Generated by orval v8.1.0 🍺
|
|
1779
|
+
* Do not edit manually.
|
|
1780
|
+
* Avallon API
|
|
1781
|
+
* OpenAPI spec version: 1.0.0
|
|
1782
|
+
*/
|
|
1783
|
+
/**
|
|
1784
|
+
* When the schedule fires, in the given time zone
|
|
1785
|
+
*/
|
|
1786
|
+
type ScheduleRule = {
|
|
1787
|
+
type: "hourly";
|
|
1788
|
+
/**
|
|
1789
|
+
* Minute, 0-59
|
|
1790
|
+
* @minimum 0
|
|
1791
|
+
* @maximum 59
|
|
1792
|
+
*/
|
|
1793
|
+
minute: number;
|
|
1794
|
+
/** IANA time zone identifier, e.g. "America/Chicago" */
|
|
1795
|
+
timezone: string;
|
|
1796
|
+
} | {
|
|
1797
|
+
type: "daily";
|
|
1798
|
+
/**
|
|
1799
|
+
* Hour, 0-23
|
|
1800
|
+
* @minimum 0
|
|
1801
|
+
* @maximum 23
|
|
1802
|
+
*/
|
|
1803
|
+
hour: number;
|
|
1804
|
+
/**
|
|
1805
|
+
* Minute, 0-59
|
|
1806
|
+
* @minimum 0
|
|
1807
|
+
* @maximum 59
|
|
1808
|
+
*/
|
|
1809
|
+
minute: number;
|
|
1810
|
+
/** IANA time zone identifier, e.g. "America/Chicago" */
|
|
1811
|
+
timezone: string;
|
|
1812
|
+
} | {
|
|
1813
|
+
type: "weekly";
|
|
1814
|
+
/**
|
|
1815
|
+
* ISO-8601 weekday, 1 = Monday through 7 = Sunday
|
|
1816
|
+
* @minimum 1
|
|
1817
|
+
* @maximum 7
|
|
1818
|
+
*/
|
|
1819
|
+
weekday: number;
|
|
1820
|
+
/**
|
|
1821
|
+
* Hour, 0-23
|
|
1822
|
+
* @minimum 0
|
|
1823
|
+
* @maximum 23
|
|
1824
|
+
*/
|
|
1825
|
+
hour: number;
|
|
1826
|
+
/**
|
|
1827
|
+
* Minute, 0-59
|
|
1828
|
+
* @minimum 0
|
|
1829
|
+
* @maximum 59
|
|
1830
|
+
*/
|
|
1831
|
+
minute: number;
|
|
1832
|
+
/** IANA time zone identifier, e.g. "America/Chicago" */
|
|
1833
|
+
timezone: string;
|
|
1834
|
+
};
|
|
1835
|
+
|
|
1836
|
+
/**
|
|
1837
|
+
* Generated by orval v8.1.0 🍺
|
|
1838
|
+
* Do not edit manually.
|
|
1839
|
+
* Avallon API
|
|
1840
|
+
* OpenAPI spec version: 1.0.0
|
|
1841
|
+
*/
|
|
1842
|
+
|
|
1843
|
+
type CreateScheduleBody = {
|
|
1844
|
+
action: ScheduleAction;
|
|
1845
|
+
rule: ScheduleRule;
|
|
1846
|
+
/**
|
|
1847
|
+
* Human-readable name, e.g. "Nightly claim sweep"
|
|
1848
|
+
* @minLength 1
|
|
1849
|
+
* @maxLength 200
|
|
1850
|
+
*/
|
|
1851
|
+
name?: string;
|
|
1852
|
+
/** Whether the schedule starts firing right away. Defaults to true. */
|
|
1853
|
+
enabled?: boolean;
|
|
1854
|
+
};
|
|
1855
|
+
|
|
1759
1856
|
/**
|
|
1760
1857
|
* Generated by orval v8.1.0 🍺
|
|
1761
1858
|
* Do not edit manually.
|
|
@@ -2195,7 +2292,7 @@ interface Email {
|
|
|
2195
2292
|
subject: string | null;
|
|
2196
2293
|
preview: string | null;
|
|
2197
2294
|
/** Why the email was stored without processing. Null for emails that were processed normally. */
|
|
2198
|
-
ignored_reason: "sender_domain_not_allowed" | "received_via_cc_or_bcc" | null;
|
|
2295
|
+
ignored_reason: "sender_domain_not_allowed" | "received_via_cc_or_bcc" | "sent_from_own_inbox" | null;
|
|
2199
2296
|
sent_at: string;
|
|
2200
2297
|
/** @deprecated */
|
|
2201
2298
|
received_at: string;
|
|
@@ -2271,7 +2368,7 @@ interface EmailDetail {
|
|
|
2271
2368
|
body_text: string | null;
|
|
2272
2369
|
body_html: string | null;
|
|
2273
2370
|
/** Why the email was stored without processing. Null for emails that were processed normally. */
|
|
2274
|
-
ignored_reason: "sender_domain_not_allowed" | "received_via_cc_or_bcc" | null;
|
|
2371
|
+
ignored_reason: "sender_domain_not_allowed" | "received_via_cc_or_bcc" | "sent_from_own_inbox" | null;
|
|
2275
2372
|
sent_at: string;
|
|
2276
2373
|
/** @deprecated */
|
|
2277
2374
|
received_at: string;
|
|
@@ -4237,6 +4334,55 @@ type ListJobsParams = {
|
|
|
4237
4334
|
scheduled_before?: string;
|
|
4238
4335
|
};
|
|
4239
4336
|
|
|
4337
|
+
/**
|
|
4338
|
+
* Generated by orval v8.1.0 🍺
|
|
4339
|
+
* Do not edit manually.
|
|
4340
|
+
* Avallon API
|
|
4341
|
+
* OpenAPI spec version: 1.0.0
|
|
4342
|
+
*/
|
|
4343
|
+
type ListSchedulesSortBy = (typeof ListSchedulesSortBy)[keyof typeof ListSchedulesSortBy];
|
|
4344
|
+
declare const ListSchedulesSortBy: {
|
|
4345
|
+
readonly created_at: "created_at";
|
|
4346
|
+
readonly next_run_at: "next_run_at";
|
|
4347
|
+
};
|
|
4348
|
+
|
|
4349
|
+
/**
|
|
4350
|
+
* Generated by orval v8.1.0 🍺
|
|
4351
|
+
* Do not edit manually.
|
|
4352
|
+
* Avallon API
|
|
4353
|
+
* OpenAPI spec version: 1.0.0
|
|
4354
|
+
*/
|
|
4355
|
+
type ListSchedulesSortOrder = (typeof ListSchedulesSortOrder)[keyof typeof ListSchedulesSortOrder];
|
|
4356
|
+
declare const ListSchedulesSortOrder: {
|
|
4357
|
+
readonly asc: "asc";
|
|
4358
|
+
readonly desc: "desc";
|
|
4359
|
+
};
|
|
4360
|
+
|
|
4361
|
+
/**
|
|
4362
|
+
* Generated by orval v8.1.0 🍺
|
|
4363
|
+
* Do not edit manually.
|
|
4364
|
+
* Avallon API
|
|
4365
|
+
* OpenAPI spec version: 1.0.0
|
|
4366
|
+
*/
|
|
4367
|
+
|
|
4368
|
+
type ListSchedulesParams = {
|
|
4369
|
+
/**
|
|
4370
|
+
* Only schedules that trigger this worker
|
|
4371
|
+
*/
|
|
4372
|
+
worker_id?: string;
|
|
4373
|
+
/**
|
|
4374
|
+
* @minimum 1
|
|
4375
|
+
* @maximum 100
|
|
4376
|
+
*/
|
|
4377
|
+
count?: number;
|
|
4378
|
+
/**
|
|
4379
|
+
* @minimum 0
|
|
4380
|
+
*/
|
|
4381
|
+
offset?: number;
|
|
4382
|
+
sort_by?: ListSchedulesSortBy;
|
|
4383
|
+
sort_order?: ListSchedulesSortOrder;
|
|
4384
|
+
};
|
|
4385
|
+
|
|
4240
4386
|
/**
|
|
4241
4387
|
* Generated by orval v8.1.0 🍺
|
|
4242
4388
|
* Do not edit manually.
|
|
@@ -4813,6 +4959,7 @@ declare const ProfilePermissionsItem: {
|
|
|
4813
4959
|
readonly "prompts:write": "prompts:write";
|
|
4814
4960
|
readonly "secrets:read": "secrets:read";
|
|
4815
4961
|
readonly "secrets:write": "secrets:write";
|
|
4962
|
+
readonly "schedules:write": "schedules:write";
|
|
4816
4963
|
};
|
|
4817
4964
|
|
|
4818
4965
|
/**
|
|
@@ -5011,6 +5158,109 @@ interface RevokeTeamInvitationResponse {
|
|
|
5011
5158
|
[key: string]: unknown;
|
|
5012
5159
|
}
|
|
5013
5160
|
|
|
5161
|
+
/**
|
|
5162
|
+
* Generated by orval v8.1.0 🍺
|
|
5163
|
+
* Do not edit manually.
|
|
5164
|
+
* Avallon API
|
|
5165
|
+
* OpenAPI spec version: 1.0.0
|
|
5166
|
+
*/
|
|
5167
|
+
/**
|
|
5168
|
+
* What the schedule does every time it fires
|
|
5169
|
+
*/
|
|
5170
|
+
type ScheduleActionOutput = {
|
|
5171
|
+
type: "trigger_worker";
|
|
5172
|
+
worker_id: string;
|
|
5173
|
+
/** Scope of the runs this schedule creates. Omit or send null to run without artifacts. */
|
|
5174
|
+
scope?: {
|
|
5175
|
+
[key: string]: string | number | boolean | null;
|
|
5176
|
+
} | null;
|
|
5177
|
+
};
|
|
5178
|
+
|
|
5179
|
+
/**
|
|
5180
|
+
* Generated by orval v8.1.0 🍺
|
|
5181
|
+
* Do not edit manually.
|
|
5182
|
+
* Avallon API
|
|
5183
|
+
* OpenAPI spec version: 1.0.0
|
|
5184
|
+
*/
|
|
5185
|
+
/**
|
|
5186
|
+
* When the schedule fires, in the given time zone
|
|
5187
|
+
*/
|
|
5188
|
+
type ScheduleRuleOutput = {
|
|
5189
|
+
type: "hourly";
|
|
5190
|
+
/**
|
|
5191
|
+
* Minute, 0-59
|
|
5192
|
+
* @minimum 0
|
|
5193
|
+
* @maximum 59
|
|
5194
|
+
*/
|
|
5195
|
+
minute: number;
|
|
5196
|
+
/** IANA time zone identifier, e.g. "America/Chicago" */
|
|
5197
|
+
timezone: string;
|
|
5198
|
+
} | {
|
|
5199
|
+
type: "daily";
|
|
5200
|
+
/**
|
|
5201
|
+
* Hour, 0-23
|
|
5202
|
+
* @minimum 0
|
|
5203
|
+
* @maximum 23
|
|
5204
|
+
*/
|
|
5205
|
+
hour: number;
|
|
5206
|
+
/**
|
|
5207
|
+
* Minute, 0-59
|
|
5208
|
+
* @minimum 0
|
|
5209
|
+
* @maximum 59
|
|
5210
|
+
*/
|
|
5211
|
+
minute: number;
|
|
5212
|
+
/** IANA time zone identifier, e.g. "America/Chicago" */
|
|
5213
|
+
timezone: string;
|
|
5214
|
+
} | {
|
|
5215
|
+
type: "weekly";
|
|
5216
|
+
/**
|
|
5217
|
+
* ISO-8601 weekday, 1 = Monday through 7 = Sunday
|
|
5218
|
+
* @minimum 1
|
|
5219
|
+
* @maximum 7
|
|
5220
|
+
*/
|
|
5221
|
+
weekday: number;
|
|
5222
|
+
/**
|
|
5223
|
+
* Hour, 0-23
|
|
5224
|
+
* @minimum 0
|
|
5225
|
+
* @maximum 23
|
|
5226
|
+
*/
|
|
5227
|
+
hour: number;
|
|
5228
|
+
/**
|
|
5229
|
+
* Minute, 0-59
|
|
5230
|
+
* @minimum 0
|
|
5231
|
+
* @maximum 59
|
|
5232
|
+
*/
|
|
5233
|
+
minute: number;
|
|
5234
|
+
/** IANA time zone identifier, e.g. "America/Chicago" */
|
|
5235
|
+
timezone: string;
|
|
5236
|
+
};
|
|
5237
|
+
|
|
5238
|
+
/**
|
|
5239
|
+
* Generated by orval v8.1.0 🍺
|
|
5240
|
+
* Do not edit manually.
|
|
5241
|
+
* Avallon API
|
|
5242
|
+
* OpenAPI spec version: 1.0.0
|
|
5243
|
+
*/
|
|
5244
|
+
|
|
5245
|
+
interface Schedule {
|
|
5246
|
+
/** Unique identifier for the schedule */
|
|
5247
|
+
id: string;
|
|
5248
|
+
/** Optional human-readable name */
|
|
5249
|
+
name: string | null;
|
|
5250
|
+
action: ScheduleActionOutput;
|
|
5251
|
+
rule: ScheduleRuleOutput;
|
|
5252
|
+
/** Whether the schedule currently fires. Disabled never fires. */
|
|
5253
|
+
enabled: boolean;
|
|
5254
|
+
/** When the schedule fires next, in UTC. Null while disabled. */
|
|
5255
|
+
next_run_at: string | null;
|
|
5256
|
+
/** Actor that created the schedule */
|
|
5257
|
+
created_by: string;
|
|
5258
|
+
/** Creation timestamp */
|
|
5259
|
+
created_at: string;
|
|
5260
|
+
/** Last update timestamp */
|
|
5261
|
+
updated_at: string;
|
|
5262
|
+
}
|
|
5263
|
+
|
|
5014
5264
|
/**
|
|
5015
5265
|
* Generated by orval v8.1.0 🍺
|
|
5016
5266
|
* Do not edit manually.
|
|
@@ -5068,6 +5318,15 @@ type ScheduleJobBody = {
|
|
|
5068
5318
|
trigger_immediately?: boolean;
|
|
5069
5319
|
};
|
|
5070
5320
|
|
|
5321
|
+
/**
|
|
5322
|
+
* Generated by orval v8.1.0 🍺
|
|
5323
|
+
* Do not edit manually.
|
|
5324
|
+
* Avallon API
|
|
5325
|
+
* OpenAPI spec version: 1.0.0
|
|
5326
|
+
*/
|
|
5327
|
+
|
|
5328
|
+
type ScheduleList = Schedule[];
|
|
5329
|
+
|
|
5071
5330
|
/**
|
|
5072
5331
|
* Generated by orval v8.1.0 🍺
|
|
5073
5332
|
* Do not edit manually.
|
|
@@ -6451,9 +6710,9 @@ interface WorkerToolList {
|
|
|
6451
6710
|
|
|
6452
6711
|
type WorkerWebhookList = Webhook[];
|
|
6453
6712
|
|
|
6454
|
-
type AwaitedInput$
|
|
6455
|
-
type Awaited$
|
|
6456
|
-
type SecondParameter$
|
|
6713
|
+
type AwaitedInput$o<T> = PromiseLike<T> | T;
|
|
6714
|
+
type Awaited$o<O> = O extends AwaitedInput$o<infer T> ? T : never;
|
|
6715
|
+
type SecondParameter$o<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
6457
6716
|
/**
|
|
6458
6717
|
* Retrieve a tenant-scoped time series for a single processing-volume metric.
|
|
6459
6718
|
|
|
@@ -6465,16 +6724,16 @@ Pick a `metric` (worker runs, documents, or pages), a date range, a bucket `gran
|
|
|
6465
6724
|
declare const getGetAnalyticsTimeSeriesUrl: (params: GetAnalyticsTimeSeriesParams) => string;
|
|
6466
6725
|
declare const getAnalyticsTimeSeries: (params: GetAnalyticsTimeSeriesParams, options?: RequestInit) => Promise<AnalyticsTimeSeries[]>;
|
|
6467
6726
|
declare const getGetAnalyticsTimeSeriesKey: (params: GetAnalyticsTimeSeriesParams) => readonly ["/v1/analytics/timeseries", ...GetAnalyticsTimeSeriesParams[]];
|
|
6468
|
-
type GetAnalyticsTimeSeriesQueryResult = NonNullable<Awaited$
|
|
6727
|
+
type GetAnalyticsTimeSeriesQueryResult = NonNullable<Awaited$o<ReturnType<typeof getAnalyticsTimeSeries>>>;
|
|
6469
6728
|
/**
|
|
6470
6729
|
* @summary Get analytics time series
|
|
6471
6730
|
*/
|
|
6472
6731
|
declare const useGetAnalyticsTimeSeries: <TError = ErrorType<ErrorResponse>>(params: GetAnalyticsTimeSeriesParams, options?: {
|
|
6473
|
-
swr?: SWRConfiguration<Awaited$
|
|
6732
|
+
swr?: SWRConfiguration<Awaited$o<ReturnType<typeof getAnalyticsTimeSeries>>, TError> & {
|
|
6474
6733
|
swrKey?: Key;
|
|
6475
6734
|
enabled?: boolean;
|
|
6476
6735
|
};
|
|
6477
|
-
request?: SecondParameter$
|
|
6736
|
+
request?: SecondParameter$o<typeof customFetch>;
|
|
6478
6737
|
}) => {
|
|
6479
6738
|
data: AnalyticsTimeSeries[] | undefined;
|
|
6480
6739
|
error: TError | undefined;
|
|
@@ -6484,9 +6743,9 @@ declare const useGetAnalyticsTimeSeries: <TError = ErrorType<ErrorResponse>>(par
|
|
|
6484
6743
|
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
|
|
6485
6744
|
};
|
|
6486
6745
|
|
|
6487
|
-
type AwaitedInput$
|
|
6488
|
-
type Awaited$
|
|
6489
|
-
type SecondParameter$
|
|
6746
|
+
type AwaitedInput$n<T> = PromiseLike<T> | T;
|
|
6747
|
+
type Awaited$n<O> = O extends AwaitedInput$n<infer T> ? T : never;
|
|
6748
|
+
type SecondParameter$n<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
6490
6749
|
/**
|
|
6491
6750
|
* List all API keys for your tenant.
|
|
6492
6751
|
|
|
@@ -6498,16 +6757,16 @@ By default, revoked keys are excluded. Set `include_revoked=true` to include the
|
|
|
6498
6757
|
declare const getListApiKeysUrl: (params?: ListApiKeysParams) => string;
|
|
6499
6758
|
declare const listApiKeys: (params?: ListApiKeysParams, options?: RequestInit) => Promise<ApiKeyList>;
|
|
6500
6759
|
declare const getListApiKeysKey: (params?: ListApiKeysParams) => readonly ["/platform/api-keys", ...ListApiKeysParams[]];
|
|
6501
|
-
type ListApiKeysQueryResult = NonNullable<Awaited$
|
|
6760
|
+
type ListApiKeysQueryResult = NonNullable<Awaited$n<ReturnType<typeof listApiKeys>>>;
|
|
6502
6761
|
/**
|
|
6503
6762
|
* @summary List API keys
|
|
6504
6763
|
*/
|
|
6505
6764
|
declare const useListApiKeys: <TError = ErrorType<ErrorResponse>>(params?: ListApiKeysParams, options?: {
|
|
6506
|
-
swr?: SWRConfiguration<Awaited$
|
|
6765
|
+
swr?: SWRConfiguration<Awaited$n<ReturnType<typeof listApiKeys>>, TError> & {
|
|
6507
6766
|
swrKey?: Key;
|
|
6508
6767
|
enabled?: boolean;
|
|
6509
6768
|
};
|
|
6510
|
-
request?: SecondParameter$
|
|
6769
|
+
request?: SecondParameter$n<typeof customFetch>;
|
|
6511
6770
|
}) => {
|
|
6512
6771
|
data: ApiKeyList | undefined;
|
|
6513
6772
|
error: TError | undefined;
|
|
@@ -6526,19 +6785,19 @@ Keys are scoped to an environment (`test` or `live`) and optionally accept an ex
|
|
|
6526
6785
|
*/
|
|
6527
6786
|
declare const getCreateApiKeyUrl: () => string;
|
|
6528
6787
|
declare const createApiKey: (createApiKeyBody: CreateApiKeyBody, options?: RequestInit) => Promise<ApiKeyCreated>;
|
|
6529
|
-
declare const getCreateApiKeyMutationFetcher: (options?: SecondParameter$
|
|
6788
|
+
declare const getCreateApiKeyMutationFetcher: (options?: SecondParameter$n<typeof customFetch>) => (_: Key, { arg }: {
|
|
6530
6789
|
arg: CreateApiKeyBody;
|
|
6531
6790
|
}) => Promise<ApiKeyCreated>;
|
|
6532
6791
|
declare const getCreateApiKeyMutationKey: () => readonly ["/platform/api-keys"];
|
|
6533
|
-
type CreateApiKeyMutationResult = NonNullable<Awaited$
|
|
6792
|
+
type CreateApiKeyMutationResult = NonNullable<Awaited$n<ReturnType<typeof createApiKey>>>;
|
|
6534
6793
|
/**
|
|
6535
6794
|
* @summary Create an API key
|
|
6536
6795
|
*/
|
|
6537
6796
|
declare const useCreateApiKey: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
6538
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
6797
|
+
swr?: SWRMutationConfiguration<Awaited$n<ReturnType<typeof createApiKey>>, TError, Key, CreateApiKeyBody, Awaited$n<ReturnType<typeof createApiKey>>> & {
|
|
6539
6798
|
swrKey?: string;
|
|
6540
6799
|
};
|
|
6541
|
-
request?: SecondParameter$
|
|
6800
|
+
request?: SecondParameter$n<typeof customFetch>;
|
|
6542
6801
|
}) => {
|
|
6543
6802
|
isMutating: boolean;
|
|
6544
6803
|
trigger: swr_mutation.TriggerWithArgs<ApiKeyCreated, TError, string | readonly ["/platform/api-keys"], CreateApiKeyBody>;
|
|
@@ -6557,19 +6816,19 @@ Returns 409 if the key is already revoked, 404 if the key does not exist.
|
|
|
6557
6816
|
*/
|
|
6558
6817
|
declare const getRevokeApiKeyUrl: (id: string) => string;
|
|
6559
6818
|
declare const revokeApiKey: (id: string, options?: RequestInit) => Promise<ConfirmationResponse>;
|
|
6560
|
-
declare const getRevokeApiKeyMutationFetcher: (id: string, options?: SecondParameter$
|
|
6819
|
+
declare const getRevokeApiKeyMutationFetcher: (id: string, options?: SecondParameter$n<typeof customFetch>) => (_: Key, __: {
|
|
6561
6820
|
arg: Arguments;
|
|
6562
6821
|
}) => Promise<ConfirmationResponse>;
|
|
6563
6822
|
declare const getRevokeApiKeyMutationKey: (id: string) => readonly [`/platform/api-keys/${string}/revoke`];
|
|
6564
|
-
type RevokeApiKeyMutationResult = NonNullable<Awaited$
|
|
6823
|
+
type RevokeApiKeyMutationResult = NonNullable<Awaited$n<ReturnType<typeof revokeApiKey>>>;
|
|
6565
6824
|
/**
|
|
6566
6825
|
* @summary Revoke an API key
|
|
6567
6826
|
*/
|
|
6568
6827
|
declare const useRevokeApiKey: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
6569
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
6828
|
+
swr?: SWRMutationConfiguration<Awaited$n<ReturnType<typeof revokeApiKey>>, TError, Key, Arguments, Awaited$n<ReturnType<typeof revokeApiKey>>> & {
|
|
6570
6829
|
swrKey?: string;
|
|
6571
6830
|
};
|
|
6572
|
-
request?: SecondParameter$
|
|
6831
|
+
request?: SecondParameter$n<typeof customFetch>;
|
|
6573
6832
|
}) => {
|
|
6574
6833
|
isMutating: boolean;
|
|
6575
6834
|
trigger: swr_mutation.TriggerWithOptionsArgs<ConfirmationResponse, TError, string | readonly [`/platform/api-keys/${string}/revoke`], Arguments>;
|
|
@@ -6586,19 +6845,19 @@ The caller's role caps the maximum role they can grant — an `admin` cannot pro
|
|
|
6586
6845
|
*/
|
|
6587
6846
|
declare const getUpdateApiKeyUrl: (id: string) => string;
|
|
6588
6847
|
declare const updateApiKey: (id: string, updateApiKeyBody: UpdateApiKeyBody, options?: RequestInit) => Promise<ApiKey>;
|
|
6589
|
-
declare const getUpdateApiKeyMutationFetcher: (id: string, options?: SecondParameter$
|
|
6848
|
+
declare const getUpdateApiKeyMutationFetcher: (id: string, options?: SecondParameter$n<typeof customFetch>) => (_: Key, { arg }: {
|
|
6590
6849
|
arg: UpdateApiKeyBody;
|
|
6591
6850
|
}) => Promise<ApiKey>;
|
|
6592
6851
|
declare const getUpdateApiKeyMutationKey: (id: string) => readonly [`/platform/api-keys/${string}`];
|
|
6593
|
-
type UpdateApiKeyMutationResult = NonNullable<Awaited$
|
|
6852
|
+
type UpdateApiKeyMutationResult = NonNullable<Awaited$n<ReturnType<typeof updateApiKey>>>;
|
|
6594
6853
|
/**
|
|
6595
6854
|
* @summary Update API key
|
|
6596
6855
|
*/
|
|
6597
6856
|
declare const useUpdateApiKey: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
6598
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
6857
|
+
swr?: SWRMutationConfiguration<Awaited$n<ReturnType<typeof updateApiKey>>, TError, Key, UpdateApiKeyBody, Awaited$n<ReturnType<typeof updateApiKey>>> & {
|
|
6599
6858
|
swrKey?: string;
|
|
6600
6859
|
};
|
|
6601
|
-
request?: SecondParameter$
|
|
6860
|
+
request?: SecondParameter$n<typeof customFetch>;
|
|
6602
6861
|
}) => {
|
|
6603
6862
|
isMutating: boolean;
|
|
6604
6863
|
trigger: swr_mutation.TriggerWithArgs<ApiKey, TError, string | readonly [`/platform/api-keys/${string}`], UpdateApiKeyBody>;
|
|
@@ -6608,9 +6867,9 @@ declare const useUpdateApiKey: <TError = ErrorType<ErrorResponse>>(id: string, o
|
|
|
6608
6867
|
swrKey: string | readonly [`/platform/api-keys/${string}`];
|
|
6609
6868
|
};
|
|
6610
6869
|
|
|
6611
|
-
type AwaitedInput$
|
|
6612
|
-
type Awaited$
|
|
6613
|
-
type SecondParameter$
|
|
6870
|
+
type AwaitedInput$m<T> = PromiseLike<T> | T;
|
|
6871
|
+
type Awaited$m<O> = O extends AwaitedInput$m<infer T> ? T : never;
|
|
6872
|
+
type SecondParameter$m<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
6614
6873
|
/**
|
|
6615
6874
|
* Upload a document as a base64-encoded artifact for processing.
|
|
6616
6875
|
|
|
@@ -6626,19 +6885,19 @@ Maximum file size is approximately 6.75MB (base64 encoded). The API Gateway has
|
|
|
6626
6885
|
*/
|
|
6627
6886
|
declare const getCreateArtifactUrl: () => string;
|
|
6628
6887
|
declare const createArtifact: (createArtifactBody: CreateArtifactBody, options?: RequestInit) => Promise<ArtifactCreated>;
|
|
6629
|
-
declare const getCreateArtifactMutationFetcher: (options?: SecondParameter$
|
|
6888
|
+
declare const getCreateArtifactMutationFetcher: (options?: SecondParameter$m<typeof customFetch>) => (_: Key, { arg }: {
|
|
6630
6889
|
arg: CreateArtifactBody;
|
|
6631
6890
|
}) => Promise<ArtifactCreated>;
|
|
6632
6891
|
declare const getCreateArtifactMutationKey: () => readonly ["/v1/artifacts"];
|
|
6633
|
-
type CreateArtifactMutationResult = NonNullable<Awaited$
|
|
6892
|
+
type CreateArtifactMutationResult = NonNullable<Awaited$m<ReturnType<typeof createArtifact>>>;
|
|
6634
6893
|
/**
|
|
6635
6894
|
* @summary Create artifact
|
|
6636
6895
|
*/
|
|
6637
6896
|
declare const useCreateArtifact: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
6638
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
6897
|
+
swr?: SWRMutationConfiguration<Awaited$m<ReturnType<typeof createArtifact>>, TError, Key, CreateArtifactBody, Awaited$m<ReturnType<typeof createArtifact>>> & {
|
|
6639
6898
|
swrKey?: string;
|
|
6640
6899
|
};
|
|
6641
|
-
request?: SecondParameter$
|
|
6900
|
+
request?: SecondParameter$m<typeof customFetch>;
|
|
6642
6901
|
}) => {
|
|
6643
6902
|
isMutating: boolean;
|
|
6644
6903
|
trigger: swr_mutation.TriggerWithArgs<ArtifactCreated, TError, string | readonly ["/v1/artifacts"], CreateArtifactBody>;
|
|
@@ -6662,16 +6921,16 @@ Multiple metadata filters can be combined (AND logic).
|
|
|
6662
6921
|
declare const getListArtifactsUrl: (params?: ListArtifactsParams) => string;
|
|
6663
6922
|
declare const listArtifacts: (params?: ListArtifactsParams, options?: RequestInit) => Promise<ArtifactList>;
|
|
6664
6923
|
declare const getListArtifactsKey: (params?: ListArtifactsParams) => readonly ["/v1/artifacts", ...ListArtifactsParams[]];
|
|
6665
|
-
type ListArtifactsQueryResult = NonNullable<Awaited$
|
|
6924
|
+
type ListArtifactsQueryResult = NonNullable<Awaited$m<ReturnType<typeof listArtifacts>>>;
|
|
6666
6925
|
/**
|
|
6667
6926
|
* @summary List artifacts
|
|
6668
6927
|
*/
|
|
6669
6928
|
declare const useListArtifacts: <TError = ErrorType<ErrorResponse>>(params?: ListArtifactsParams, options?: {
|
|
6670
|
-
swr?: SWRConfiguration<Awaited$
|
|
6929
|
+
swr?: SWRConfiguration<Awaited$m<ReturnType<typeof listArtifacts>>, TError> & {
|
|
6671
6930
|
swrKey?: Key;
|
|
6672
6931
|
enabled?: boolean;
|
|
6673
6932
|
};
|
|
6674
|
-
request?: SecondParameter$
|
|
6933
|
+
request?: SecondParameter$m<typeof customFetch>;
|
|
6675
6934
|
}) => {
|
|
6676
6935
|
data: ArtifactList | undefined;
|
|
6677
6936
|
error: TError | undefined;
|
|
@@ -6689,16 +6948,16 @@ The response always includes `content_with_chunkids_md`: the parsed content anno
|
|
|
6689
6948
|
declare const getGetArtifactUrl: (id: string) => string;
|
|
6690
6949
|
declare const getArtifact: (id: string, options?: RequestInit) => Promise<ArtifactDetail>;
|
|
6691
6950
|
declare const getGetArtifactKey: (id: string) => readonly [`/v1/artifacts/${string}`];
|
|
6692
|
-
type GetArtifactQueryResult = NonNullable<Awaited$
|
|
6951
|
+
type GetArtifactQueryResult = NonNullable<Awaited$m<ReturnType<typeof getArtifact>>>;
|
|
6693
6952
|
/**
|
|
6694
6953
|
* @summary Get artifact
|
|
6695
6954
|
*/
|
|
6696
6955
|
declare const useGetArtifact: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
6697
|
-
swr?: SWRConfiguration<Awaited$
|
|
6956
|
+
swr?: SWRConfiguration<Awaited$m<ReturnType<typeof getArtifact>>, TError> & {
|
|
6698
6957
|
swrKey?: Key;
|
|
6699
6958
|
enabled?: boolean;
|
|
6700
6959
|
};
|
|
6701
|
-
request?: SecondParameter$
|
|
6960
|
+
request?: SecondParameter$m<typeof customFetch>;
|
|
6702
6961
|
}) => {
|
|
6703
6962
|
data: ArtifactDetail | undefined;
|
|
6704
6963
|
error: TError | undefined;
|
|
@@ -6713,19 +6972,19 @@ declare const useGetArtifact: <TError = ErrorType<ErrorResponse>>(id: string, op
|
|
|
6713
6972
|
*/
|
|
6714
6973
|
declare const getDeleteArtifactUrl: (id: string) => string;
|
|
6715
6974
|
declare const deleteArtifact: (id: string, options?: RequestInit) => Promise<DeleteArtifactResponse>;
|
|
6716
|
-
declare const getDeleteArtifactMutationFetcher: (id: string, options?: SecondParameter$
|
|
6975
|
+
declare const getDeleteArtifactMutationFetcher: (id: string, options?: SecondParameter$m<typeof customFetch>) => (_: Key, __: {
|
|
6717
6976
|
arg: Arguments;
|
|
6718
6977
|
}) => Promise<DeleteArtifactResponse>;
|
|
6719
6978
|
declare const getDeleteArtifactMutationKey: (id: string) => readonly [`/v1/artifacts/${string}`];
|
|
6720
|
-
type DeleteArtifactMutationResult = NonNullable<Awaited$
|
|
6979
|
+
type DeleteArtifactMutationResult = NonNullable<Awaited$m<ReturnType<typeof deleteArtifact>>>;
|
|
6721
6980
|
/**
|
|
6722
6981
|
* @summary Delete artifact
|
|
6723
6982
|
*/
|
|
6724
6983
|
declare const useDeleteArtifact: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
6725
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
6984
|
+
swr?: SWRMutationConfiguration<Awaited$m<ReturnType<typeof deleteArtifact>>, TError, Key, Arguments, Awaited$m<ReturnType<typeof deleteArtifact>>> & {
|
|
6726
6985
|
swrKey?: string;
|
|
6727
6986
|
};
|
|
6728
|
-
request?: SecondParameter$
|
|
6987
|
+
request?: SecondParameter$m<typeof customFetch>;
|
|
6729
6988
|
}) => {
|
|
6730
6989
|
isMutating: boolean;
|
|
6731
6990
|
trigger: swr_mutation.TriggerWithOptionsArgs<DeleteArtifactResponse, TError, string | readonly [`/v1/artifacts/${string}`], Arguments>;
|
|
@@ -6741,16 +7000,16 @@ declare const useDeleteArtifact: <TError = ErrorType<ErrorResponse>>(id: string,
|
|
|
6741
7000
|
declare const getGetArtifactMetadataKeysUrl: (params?: GetArtifactMetadataKeysParams) => string;
|
|
6742
7001
|
declare const getArtifactMetadataKeys: (params?: GetArtifactMetadataKeysParams, options?: RequestInit) => Promise<ArtifactMetadataKeys>;
|
|
6743
7002
|
declare const getGetArtifactMetadataKeysKey: (params?: GetArtifactMetadataKeysParams) => readonly ["/v1/artifacts/metadata/keys", ...GetArtifactMetadataKeysParams[]];
|
|
6744
|
-
type GetArtifactMetadataKeysQueryResult = NonNullable<Awaited$
|
|
7003
|
+
type GetArtifactMetadataKeysQueryResult = NonNullable<Awaited$m<ReturnType<typeof getArtifactMetadataKeys>>>;
|
|
6745
7004
|
/**
|
|
6746
7005
|
* @summary Get artifact metadata keys
|
|
6747
7006
|
*/
|
|
6748
7007
|
declare const useGetArtifactMetadataKeys: <TError = ErrorType<ErrorResponse>>(params?: GetArtifactMetadataKeysParams, options?: {
|
|
6749
|
-
swr?: SWRConfiguration<Awaited$
|
|
7008
|
+
swr?: SWRConfiguration<Awaited$m<ReturnType<typeof getArtifactMetadataKeys>>, TError> & {
|
|
6750
7009
|
swrKey?: Key;
|
|
6751
7010
|
enabled?: boolean;
|
|
6752
7011
|
};
|
|
6753
|
-
request?: SecondParameter$
|
|
7012
|
+
request?: SecondParameter$m<typeof customFetch>;
|
|
6754
7013
|
}) => {
|
|
6755
7014
|
data: ArtifactMetadataKeys | undefined;
|
|
6756
7015
|
error: TError | undefined;
|
|
@@ -6768,16 +7027,16 @@ Define the scope with bracket notation (e.g. `scope[email_id]=abc-123`). At leas
|
|
|
6768
7027
|
declare const getGetArtifactStatusSummaryUrl: (params: GetArtifactStatusSummaryParams) => string;
|
|
6769
7028
|
declare const getArtifactStatusSummary: (params: GetArtifactStatusSummaryParams, options?: RequestInit) => Promise<ArtifactStatusSummary>;
|
|
6770
7029
|
declare const getGetArtifactStatusSummaryKey: (params: GetArtifactStatusSummaryParams) => readonly ["/v1/artifacts/status-summary", ...GetArtifactStatusSummaryParams[]];
|
|
6771
|
-
type GetArtifactStatusSummaryQueryResult = NonNullable<Awaited$
|
|
7030
|
+
type GetArtifactStatusSummaryQueryResult = NonNullable<Awaited$m<ReturnType<typeof getArtifactStatusSummary>>>;
|
|
6772
7031
|
/**
|
|
6773
7032
|
* @summary Get artifact status summary
|
|
6774
7033
|
*/
|
|
6775
7034
|
declare const useGetArtifactStatusSummary: <TError = ErrorType<ErrorResponse>>(params: GetArtifactStatusSummaryParams, options?: {
|
|
6776
|
-
swr?: SWRConfiguration<Awaited$
|
|
7035
|
+
swr?: SWRConfiguration<Awaited$m<ReturnType<typeof getArtifactStatusSummary>>, TError> & {
|
|
6777
7036
|
swrKey?: Key;
|
|
6778
7037
|
enabled?: boolean;
|
|
6779
7038
|
};
|
|
6780
|
-
request?: SecondParameter$
|
|
7039
|
+
request?: SecondParameter$m<typeof customFetch>;
|
|
6781
7040
|
}) => {
|
|
6782
7041
|
data: ArtifactStatusSummary | undefined;
|
|
6783
7042
|
error: TError | undefined;
|
|
@@ -6792,19 +7051,19 @@ declare const useGetArtifactStatusSummary: <TError = ErrorType<ErrorResponse>>(p
|
|
|
6792
7051
|
*/
|
|
6793
7052
|
declare const getGetArtifactUploadUrlUrl: () => string;
|
|
6794
7053
|
declare const getArtifactUploadUrl: (getArtifactUploadUrlBody: GetArtifactUploadUrlBody, options?: RequestInit) => Promise<GetArtifactUploadUrl200>;
|
|
6795
|
-
declare const getGetArtifactUploadUrlMutationFetcher: (options?: SecondParameter$
|
|
7054
|
+
declare const getGetArtifactUploadUrlMutationFetcher: (options?: SecondParameter$m<typeof customFetch>) => (_: Key, { arg }: {
|
|
6796
7055
|
arg: GetArtifactUploadUrlBody;
|
|
6797
7056
|
}) => Promise<GetArtifactUploadUrl200>;
|
|
6798
7057
|
declare const getGetArtifactUploadUrlMutationKey: () => readonly ["/v1/artifacts/get-upload-url"];
|
|
6799
|
-
type GetArtifactUploadUrlMutationResult = NonNullable<Awaited$
|
|
7058
|
+
type GetArtifactUploadUrlMutationResult = NonNullable<Awaited$m<ReturnType<typeof getArtifactUploadUrl>>>;
|
|
6800
7059
|
/**
|
|
6801
7060
|
* @summary Request a pre-signed URL for direct large file upload
|
|
6802
7061
|
*/
|
|
6803
7062
|
declare const useGetArtifactUploadUrl: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
6804
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
7063
|
+
swr?: SWRMutationConfiguration<Awaited$m<ReturnType<typeof getArtifactUploadUrl>>, TError, Key, GetArtifactUploadUrlBody, Awaited$m<ReturnType<typeof getArtifactUploadUrl>>> & {
|
|
6805
7064
|
swrKey?: string;
|
|
6806
7065
|
};
|
|
6807
|
-
request?: SecondParameter$
|
|
7066
|
+
request?: SecondParameter$m<typeof customFetch>;
|
|
6808
7067
|
}) => {
|
|
6809
7068
|
isMutating: boolean;
|
|
6810
7069
|
trigger: swr_mutation.TriggerWithArgs<GetArtifactUploadUrl200, TError, string | readonly ["/v1/artifacts/get-upload-url"], GetArtifactUploadUrlBody>;
|
|
@@ -6819,19 +7078,19 @@ declare const useGetArtifactUploadUrl: <TError = ErrorType<ErrorResponse>>(optio
|
|
|
6819
7078
|
*/
|
|
6820
7079
|
declare const getUpdateArtifactMetadataUrl: (id: string) => string;
|
|
6821
7080
|
declare const updateArtifactMetadata: (id: string, updateArtifactMetadataBody: UpdateArtifactMetadataBody, options?: RequestInit) => Promise<ArtifactDetail>;
|
|
6822
|
-
declare const getUpdateArtifactMetadataMutationFetcher: (id: string, options?: SecondParameter$
|
|
7081
|
+
declare const getUpdateArtifactMetadataMutationFetcher: (id: string, options?: SecondParameter$m<typeof customFetch>) => (_: Key, { arg }: {
|
|
6823
7082
|
arg: UpdateArtifactMetadataBody;
|
|
6824
7083
|
}) => Promise<ArtifactDetail>;
|
|
6825
7084
|
declare const getUpdateArtifactMetadataMutationKey: (id: string) => readonly [`/v1/artifacts/${string}/metadata`];
|
|
6826
|
-
type UpdateArtifactMetadataMutationResult = NonNullable<Awaited$
|
|
7085
|
+
type UpdateArtifactMetadataMutationResult = NonNullable<Awaited$m<ReturnType<typeof updateArtifactMetadata>>>;
|
|
6827
7086
|
/**
|
|
6828
7087
|
* @summary Update artifact metadata
|
|
6829
7088
|
*/
|
|
6830
7089
|
declare const useUpdateArtifactMetadata: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
6831
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
7090
|
+
swr?: SWRMutationConfiguration<Awaited$m<ReturnType<typeof updateArtifactMetadata>>, TError, Key, UpdateArtifactMetadataBody, Awaited$m<ReturnType<typeof updateArtifactMetadata>>> & {
|
|
6832
7091
|
swrKey?: string;
|
|
6833
7092
|
};
|
|
6834
|
-
request?: SecondParameter$
|
|
7093
|
+
request?: SecondParameter$m<typeof customFetch>;
|
|
6835
7094
|
}) => {
|
|
6836
7095
|
isMutating: boolean;
|
|
6837
7096
|
trigger: swr_mutation.TriggerWithArgs<ArtifactDetail, TError, string | readonly [`/v1/artifacts/${string}/metadata`], UpdateArtifactMetadataBody>;
|
|
@@ -6848,19 +7107,19 @@ This endpoint returns an upload id that can be used to find the created artifact
|
|
|
6848
7107
|
*/
|
|
6849
7108
|
declare const getUploadFileUrl: () => string;
|
|
6850
7109
|
declare const uploadFile: (uploadFileBody: UploadFileBody, options?: RequestInit) => Promise<UploadFileResponse>;
|
|
6851
|
-
declare const getUploadFileMutationFetcher: (options?: SecondParameter$
|
|
7110
|
+
declare const getUploadFileMutationFetcher: (options?: SecondParameter$m<typeof customFetch>) => (_: Key, { arg }: {
|
|
6852
7111
|
arg: UploadFileBody;
|
|
6853
7112
|
}) => Promise<UploadFileResponse>;
|
|
6854
7113
|
declare const getUploadFileMutationKey: () => readonly ["/v1/upload-file"];
|
|
6855
|
-
type UploadFileMutationResult = NonNullable<Awaited$
|
|
7114
|
+
type UploadFileMutationResult = NonNullable<Awaited$m<ReturnType<typeof uploadFile>>>;
|
|
6856
7115
|
/**
|
|
6857
7116
|
* @summary Upload a file for processing
|
|
6858
7117
|
*/
|
|
6859
7118
|
declare const useUploadFile: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
6860
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
7119
|
+
swr?: SWRMutationConfiguration<Awaited$m<ReturnType<typeof uploadFile>>, TError, Key, UploadFileBody, Awaited$m<ReturnType<typeof uploadFile>>> & {
|
|
6861
7120
|
swrKey?: string;
|
|
6862
7121
|
};
|
|
6863
|
-
request?: SecondParameter$
|
|
7122
|
+
request?: SecondParameter$m<typeof customFetch>;
|
|
6864
7123
|
}) => {
|
|
6865
7124
|
isMutating: boolean;
|
|
6866
7125
|
trigger: swr_mutation.TriggerWithArgs<UploadFileResponse, TError, string | readonly ["/v1/upload-file"], UploadFileBody>;
|
|
@@ -6870,28 +7129,28 @@ declare const useUploadFile: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
|
6870
7129
|
swrKey: string | readonly ["/v1/upload-file"];
|
|
6871
7130
|
};
|
|
6872
7131
|
|
|
6873
|
-
type AwaitedInput$
|
|
6874
|
-
type Awaited$
|
|
6875
|
-
type SecondParameter$
|
|
7132
|
+
type AwaitedInput$l<T> = PromiseLike<T> | T;
|
|
7133
|
+
type Awaited$l<O> = O extends AwaitedInput$l<infer T> ? T : never;
|
|
7134
|
+
type SecondParameter$l<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
6876
7135
|
/**
|
|
6877
7136
|
* Create a new user account with email and password. When the response includes a pending_authentication_token, the account requires email verification: complete it via sign-in (type: email_otp) with the emailed one-time password and this token.
|
|
6878
7137
|
* @summary Sign up
|
|
6879
7138
|
*/
|
|
6880
7139
|
declare const getSignUpUrl: () => string;
|
|
6881
7140
|
declare const signUp: (signUpBody: SignUpBody, options?: RequestInit) => Promise<SignUpResponse>;
|
|
6882
|
-
declare const getSignUpMutationFetcher: (options?: SecondParameter$
|
|
7141
|
+
declare const getSignUpMutationFetcher: (options?: SecondParameter$l<typeof customFetchNoAuth>) => (_: Key, { arg }: {
|
|
6883
7142
|
arg: SignUpBody;
|
|
6884
7143
|
}) => Promise<SignUpResponse>;
|
|
6885
7144
|
declare const getSignUpMutationKey: () => readonly ["/v1/auth/sign-up"];
|
|
6886
|
-
type SignUpMutationResult = NonNullable<Awaited$
|
|
7145
|
+
type SignUpMutationResult = NonNullable<Awaited$l<ReturnType<typeof signUp>>>;
|
|
6887
7146
|
/**
|
|
6888
7147
|
* @summary Sign up
|
|
6889
7148
|
*/
|
|
6890
7149
|
declare const useSignUp: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
6891
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
7150
|
+
swr?: SWRMutationConfiguration<Awaited$l<ReturnType<typeof signUp>>, TError, Key, SignUpBody, Awaited$l<ReturnType<typeof signUp>>> & {
|
|
6892
7151
|
swrKey?: string;
|
|
6893
7152
|
};
|
|
6894
|
-
request?: SecondParameter$
|
|
7153
|
+
request?: SecondParameter$l<typeof customFetchNoAuth>;
|
|
6895
7154
|
}) => {
|
|
6896
7155
|
isMutating: boolean;
|
|
6897
7156
|
trigger: swr_mutation.TriggerWithArgs<SignUpResponse, TError, string | readonly ["/v1/auth/sign-up"], SignUpBody>;
|
|
@@ -6910,19 +7169,19 @@ declare const useSignUp: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
|
6910
7169
|
*/
|
|
6911
7170
|
declare const getSignInUrl: () => string;
|
|
6912
7171
|
declare const signIn: (signInBody: SignInBody, options?: RequestInit) => Promise<AuthTokens>;
|
|
6913
|
-
declare const getSignInMutationFetcher: (options?: SecondParameter$
|
|
7172
|
+
declare const getSignInMutationFetcher: (options?: SecondParameter$l<typeof customFetchNoAuth>) => (_: Key, { arg }: {
|
|
6914
7173
|
arg: SignInBody;
|
|
6915
7174
|
}) => Promise<AuthTokens>;
|
|
6916
7175
|
declare const getSignInMutationKey: () => readonly ["/v1/auth/sign-in"];
|
|
6917
|
-
type SignInMutationResult = NonNullable<Awaited$
|
|
7176
|
+
type SignInMutationResult = NonNullable<Awaited$l<ReturnType<typeof signIn>>>;
|
|
6918
7177
|
/**
|
|
6919
7178
|
* @summary Sign in
|
|
6920
7179
|
*/
|
|
6921
7180
|
declare const useSignIn: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
6922
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
7181
|
+
swr?: SWRMutationConfiguration<Awaited$l<ReturnType<typeof signIn>>, TError, Key, SignInBody, Awaited$l<ReturnType<typeof signIn>>> & {
|
|
6923
7182
|
swrKey?: string;
|
|
6924
7183
|
};
|
|
6925
|
-
request?: SecondParameter$
|
|
7184
|
+
request?: SecondParameter$l<typeof customFetchNoAuth>;
|
|
6926
7185
|
}) => {
|
|
6927
7186
|
isMutating: boolean;
|
|
6928
7187
|
trigger: swr_mutation.TriggerWithArgs<AuthTokens, TError, string | readonly ["/v1/auth/sign-in"], SignInBody>;
|
|
@@ -6937,19 +7196,19 @@ declare const useSignIn: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
|
6937
7196
|
*/
|
|
6938
7197
|
declare const getRefreshTokenUrl: () => string;
|
|
6939
7198
|
declare const refreshToken: (refreshTokenBody: RefreshTokenBody, options?: RequestInit) => Promise<AuthTokens>;
|
|
6940
|
-
declare const getRefreshTokenMutationFetcher: (options?: SecondParameter$
|
|
7199
|
+
declare const getRefreshTokenMutationFetcher: (options?: SecondParameter$l<typeof customFetchNoAuth>) => (_: Key, { arg }: {
|
|
6941
7200
|
arg: RefreshTokenBody;
|
|
6942
7201
|
}) => Promise<AuthTokens>;
|
|
6943
7202
|
declare const getRefreshTokenMutationKey: () => readonly ["/v1/auth/refresh-token"];
|
|
6944
|
-
type RefreshTokenMutationResult = NonNullable<Awaited$
|
|
7203
|
+
type RefreshTokenMutationResult = NonNullable<Awaited$l<ReturnType<typeof refreshToken>>>;
|
|
6945
7204
|
/**
|
|
6946
7205
|
* @summary Refresh authentication token
|
|
6947
7206
|
*/
|
|
6948
7207
|
declare const useRefreshToken: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
6949
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
7208
|
+
swr?: SWRMutationConfiguration<Awaited$l<ReturnType<typeof refreshToken>>, TError, Key, RefreshTokenBody, Awaited$l<ReturnType<typeof refreshToken>>> & {
|
|
6950
7209
|
swrKey?: string;
|
|
6951
7210
|
};
|
|
6952
|
-
request?: SecondParameter$
|
|
7211
|
+
request?: SecondParameter$l<typeof customFetchNoAuth>;
|
|
6953
7212
|
}) => {
|
|
6954
7213
|
isMutating: boolean;
|
|
6955
7214
|
trigger: swr_mutation.TriggerWithArgs<AuthTokens, TError, string | readonly ["/v1/auth/refresh-token"], RefreshTokenBody>;
|
|
@@ -6969,16 +7228,16 @@ For enterprise SSO, pass `provider=sso` together with the user's `email`; the em
|
|
|
6969
7228
|
declare const getGetOAuthUrlUrl: (params: GetOAuthUrlParams) => string;
|
|
6970
7229
|
declare const getOAuthUrl: (params: GetOAuthUrlParams, options?: RequestInit) => Promise<OAuthUrl>;
|
|
6971
7230
|
declare const getGetOAuthUrlKey: (params: GetOAuthUrlParams) => readonly ["/v1/auth/oauth-url", ...GetOAuthUrlParams[]];
|
|
6972
|
-
type GetOAuthUrlQueryResult = NonNullable<Awaited$
|
|
7231
|
+
type GetOAuthUrlQueryResult = NonNullable<Awaited$l<ReturnType<typeof getOAuthUrl>>>;
|
|
6973
7232
|
/**
|
|
6974
7233
|
* @summary Get OAuth sign-in URL
|
|
6975
7234
|
*/
|
|
6976
7235
|
declare const useGetOAuthUrl: <TError = ErrorType<ErrorResponse>>(params: GetOAuthUrlParams, options?: {
|
|
6977
|
-
swr?: SWRConfiguration<Awaited$
|
|
7236
|
+
swr?: SWRConfiguration<Awaited$l<ReturnType<typeof getOAuthUrl>>, TError> & {
|
|
6978
7237
|
swrKey?: Key;
|
|
6979
7238
|
enabled?: boolean;
|
|
6980
7239
|
};
|
|
6981
|
-
request?: SecondParameter$
|
|
7240
|
+
request?: SecondParameter$l<typeof customFetchNoAuth>;
|
|
6982
7241
|
}) => {
|
|
6983
7242
|
data: OAuthUrl | undefined;
|
|
6984
7243
|
error: TError | undefined;
|
|
@@ -6998,19 +7257,19 @@ declare const useGetOAuthUrl: <TError = ErrorType<ErrorResponse>>(params: GetOAu
|
|
|
6998
7257
|
*/
|
|
6999
7258
|
declare const getGetSessionTokenUrl: () => string;
|
|
7000
7259
|
declare const getSessionToken: (getSessionTokenBody: GetSessionTokenBody, options?: RequestInit) => Promise<GetSessionToken200>;
|
|
7001
|
-
declare const getGetSessionTokenMutationFetcher: (options?: SecondParameter$
|
|
7260
|
+
declare const getGetSessionTokenMutationFetcher: (options?: SecondParameter$l<typeof customFetchNoAuth>) => (_: Key, { arg }: {
|
|
7002
7261
|
arg: GetSessionTokenBody;
|
|
7003
7262
|
}) => Promise<GetSessionToken200>;
|
|
7004
7263
|
declare const getGetSessionTokenMutationKey: () => readonly ["/v1/auth/session"];
|
|
7005
|
-
type GetSessionTokenMutationResult = NonNullable<Awaited$
|
|
7264
|
+
type GetSessionTokenMutationResult = NonNullable<Awaited$l<ReturnType<typeof getSessionToken>>>;
|
|
7006
7265
|
/**
|
|
7007
7266
|
* @summary Create or switch tenant session
|
|
7008
7267
|
*/
|
|
7009
7268
|
declare const useGetSessionToken: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
7010
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
7269
|
+
swr?: SWRMutationConfiguration<Awaited$l<ReturnType<typeof getSessionToken>>, TError, Key, GetSessionTokenBody, Awaited$l<ReturnType<typeof getSessionToken>>> & {
|
|
7011
7270
|
swrKey?: string;
|
|
7012
7271
|
};
|
|
7013
|
-
request?: SecondParameter$
|
|
7272
|
+
request?: SecondParameter$l<typeof customFetchNoAuth>;
|
|
7014
7273
|
}) => {
|
|
7015
7274
|
isMutating: boolean;
|
|
7016
7275
|
trigger: swr_mutation.TriggerWithArgs<GetSessionToken200, TError, string | readonly ["/v1/auth/session"], GetSessionTokenBody>;
|
|
@@ -7026,16 +7285,16 @@ declare const useGetSessionToken: <TError = ErrorType<ErrorResponse>>(options?:
|
|
|
7026
7285
|
declare const getGetPartnerJwksUrl: (partner: string) => string;
|
|
7027
7286
|
declare const getPartnerJwks: (partner: string, options?: RequestInit) => Promise<PartnerJwks>;
|
|
7028
7287
|
declare const getGetPartnerJwksKey: (partner: string) => readonly [`/.well-known/partners/${string}/jwks.json`];
|
|
7029
|
-
type GetPartnerJwksQueryResult = NonNullable<Awaited$
|
|
7288
|
+
type GetPartnerJwksQueryResult = NonNullable<Awaited$l<ReturnType<typeof getPartnerJwks>>>;
|
|
7030
7289
|
/**
|
|
7031
7290
|
* @summary Get partner JWKS
|
|
7032
7291
|
*/
|
|
7033
7292
|
declare const useGetPartnerJwks: <TError = ErrorType<ErrorResponse>>(partner: string, options?: {
|
|
7034
|
-
swr?: SWRConfiguration<Awaited$
|
|
7293
|
+
swr?: SWRConfiguration<Awaited$l<ReturnType<typeof getPartnerJwks>>, TError> & {
|
|
7035
7294
|
swrKey?: Key;
|
|
7036
7295
|
enabled?: boolean;
|
|
7037
7296
|
};
|
|
7038
|
-
request?: SecondParameter$
|
|
7297
|
+
request?: SecondParameter$l<typeof customFetchNoAuth>;
|
|
7039
7298
|
}) => {
|
|
7040
7299
|
data: PartnerJwks | undefined;
|
|
7041
7300
|
error: TError | undefined;
|
|
@@ -7050,19 +7309,19 @@ declare const useGetPartnerJwks: <TError = ErrorType<ErrorResponse>>(partner: st
|
|
|
7050
7309
|
*/
|
|
7051
7310
|
declare const getPartnerLaunchUrl: (params?: PartnerLaunchParams) => string;
|
|
7052
7311
|
declare const partnerLaunch: (params?: PartnerLaunchParams, options?: RequestInit) => Promise<unknown>;
|
|
7053
|
-
declare const getPartnerLaunchMutationFetcher: (params?: PartnerLaunchParams, options?: SecondParameter$
|
|
7312
|
+
declare const getPartnerLaunchMutationFetcher: (params?: PartnerLaunchParams, options?: SecondParameter$l<typeof customFetchNoAuth>) => (_: Key, __: {
|
|
7054
7313
|
arg: Arguments;
|
|
7055
7314
|
}) => Promise<unknown>;
|
|
7056
7315
|
declare const getPartnerLaunchMutationKey: (params?: PartnerLaunchParams) => readonly ["/v1/auth/partner-launch", ...PartnerLaunchParams[]];
|
|
7057
|
-
type PartnerLaunchMutationResult = NonNullable<Awaited$
|
|
7316
|
+
type PartnerLaunchMutationResult = NonNullable<Awaited$l<ReturnType<typeof partnerLaunch>>>;
|
|
7058
7317
|
/**
|
|
7059
7318
|
* @summary Partner launch (SSO)
|
|
7060
7319
|
*/
|
|
7061
7320
|
declare const usePartnerLaunch: <TError = ErrorType<PartnerLaunch302 | ErrorResponse>>(params?: PartnerLaunchParams, options?: {
|
|
7062
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
7321
|
+
swr?: SWRMutationConfiguration<Awaited$l<ReturnType<typeof partnerLaunch>>, TError, Key, Arguments, Awaited$l<ReturnType<typeof partnerLaunch>>> & {
|
|
7063
7322
|
swrKey?: string;
|
|
7064
7323
|
};
|
|
7065
|
-
request?: SecondParameter$
|
|
7324
|
+
request?: SecondParameter$l<typeof customFetchNoAuth>;
|
|
7066
7325
|
}) => {
|
|
7067
7326
|
isMutating: boolean;
|
|
7068
7327
|
trigger: swr_mutation.TriggerWithOptionsArgs<unknown, TError, string | readonly ["/v1/auth/partner-launch", ...PartnerLaunchParams[]], Arguments>;
|
|
@@ -7072,28 +7331,28 @@ declare const usePartnerLaunch: <TError = ErrorType<PartnerLaunch302 | ErrorResp
|
|
|
7072
7331
|
swrKey: string | readonly ["/v1/auth/partner-launch", ...PartnerLaunchParams[]];
|
|
7073
7332
|
};
|
|
7074
7333
|
|
|
7075
|
-
type AwaitedInput$
|
|
7076
|
-
type Awaited$
|
|
7077
|
-
type SecondParameter$
|
|
7334
|
+
type AwaitedInput$k<T> = PromiseLike<T> | T;
|
|
7335
|
+
type Awaited$k<O> = O extends AwaitedInput$k<infer T> ? T : never;
|
|
7336
|
+
type SecondParameter$k<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
7078
7337
|
/**
|
|
7079
7338
|
* Create feedback for a specific message in a call. Requires user (JWT) authentication; the author is derived from the authenticated user's profile and API-key callers are rejected.
|
|
7080
7339
|
* @summary Create feedback on a call message
|
|
7081
7340
|
*/
|
|
7082
7341
|
declare const getCreateCallFeedbackUrl: (id: string) => string;
|
|
7083
7342
|
declare const createCallFeedback: (id: string, createFeedbackRequest: CreateFeedbackRequest, options?: RequestInit) => Promise<Feedback>;
|
|
7084
|
-
declare const getCreateCallFeedbackMutationFetcher: (id: string, options?: SecondParameter$
|
|
7343
|
+
declare const getCreateCallFeedbackMutationFetcher: (id: string, options?: SecondParameter$k<typeof customFetch>) => (_: Key, { arg }: {
|
|
7085
7344
|
arg: CreateFeedbackRequest;
|
|
7086
7345
|
}) => Promise<Feedback>;
|
|
7087
7346
|
declare const getCreateCallFeedbackMutationKey: (id: string) => readonly [`/v1/calls/${string}/feedback`];
|
|
7088
|
-
type CreateCallFeedbackMutationResult = NonNullable<Awaited$
|
|
7347
|
+
type CreateCallFeedbackMutationResult = NonNullable<Awaited$k<ReturnType<typeof createCallFeedback>>>;
|
|
7089
7348
|
/**
|
|
7090
7349
|
* @summary Create feedback on a call message
|
|
7091
7350
|
*/
|
|
7092
7351
|
declare const useCreateCallFeedback: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
7093
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
7352
|
+
swr?: SWRMutationConfiguration<Awaited$k<ReturnType<typeof createCallFeedback>>, TError, Key, CreateFeedbackRequest, Awaited$k<ReturnType<typeof createCallFeedback>>> & {
|
|
7094
7353
|
swrKey?: string;
|
|
7095
7354
|
};
|
|
7096
|
-
request?: SecondParameter$
|
|
7355
|
+
request?: SecondParameter$k<typeof customFetch>;
|
|
7097
7356
|
}) => {
|
|
7098
7357
|
isMutating: boolean;
|
|
7099
7358
|
trigger: swr_mutation.TriggerWithArgs<Feedback, TError, string | readonly [`/v1/calls/${string}/feedback`], CreateFeedbackRequest>;
|
|
@@ -7109,16 +7368,16 @@ declare const useCreateCallFeedback: <TError = ErrorType<ErrorResponse>>(id: str
|
|
|
7109
7368
|
declare const getListCallFeedbackUrl: (id: string, params?: ListCallFeedbackParams) => string;
|
|
7110
7369
|
declare const listCallFeedback: (id: string, params?: ListCallFeedbackParams, options?: RequestInit) => Promise<Feedback[]>;
|
|
7111
7370
|
declare const getListCallFeedbackKey: (id: string, params?: ListCallFeedbackParams) => readonly [`/v1/calls/${string}/feedback`, ...ListCallFeedbackParams[]];
|
|
7112
|
-
type ListCallFeedbackQueryResult = NonNullable<Awaited$
|
|
7371
|
+
type ListCallFeedbackQueryResult = NonNullable<Awaited$k<ReturnType<typeof listCallFeedback>>>;
|
|
7113
7372
|
/**
|
|
7114
7373
|
* @summary List feedback for a call
|
|
7115
7374
|
*/
|
|
7116
7375
|
declare const useListCallFeedback: <TError = ErrorType<ErrorResponse>>(id: string, params?: ListCallFeedbackParams, options?: {
|
|
7117
|
-
swr?: SWRConfiguration<Awaited$
|
|
7376
|
+
swr?: SWRConfiguration<Awaited$k<ReturnType<typeof listCallFeedback>>, TError> & {
|
|
7118
7377
|
swrKey?: Key;
|
|
7119
7378
|
enabled?: boolean;
|
|
7120
7379
|
};
|
|
7121
|
-
request?: SecondParameter$
|
|
7380
|
+
request?: SecondParameter$k<typeof customFetch>;
|
|
7122
7381
|
}) => {
|
|
7123
7382
|
data: Feedback[] | undefined;
|
|
7124
7383
|
error: TError | undefined;
|
|
@@ -7133,19 +7392,19 @@ declare const useListCallFeedback: <TError = ErrorType<ErrorResponse>>(id: strin
|
|
|
7133
7392
|
*/
|
|
7134
7393
|
declare const getDeleteCallFeedbackUrl: (id: string, feedbackId: string) => string;
|
|
7135
7394
|
declare const deleteCallFeedback: (id: string, feedbackId: string, options?: RequestInit) => Promise<null>;
|
|
7136
|
-
declare const getDeleteCallFeedbackMutationFetcher: (id: string, feedbackId: string, options?: SecondParameter$
|
|
7395
|
+
declare const getDeleteCallFeedbackMutationFetcher: (id: string, feedbackId: string, options?: SecondParameter$k<typeof customFetch>) => (_: Key, __: {
|
|
7137
7396
|
arg: Arguments;
|
|
7138
7397
|
}) => Promise<null>;
|
|
7139
7398
|
declare const getDeleteCallFeedbackMutationKey: (id: string, feedbackId: string) => readonly [`/v1/calls/${string}/feedback/${string}`];
|
|
7140
|
-
type DeleteCallFeedbackMutationResult = NonNullable<Awaited$
|
|
7399
|
+
type DeleteCallFeedbackMutationResult = NonNullable<Awaited$k<ReturnType<typeof deleteCallFeedback>>>;
|
|
7141
7400
|
/**
|
|
7142
7401
|
* @summary Delete feedback
|
|
7143
7402
|
*/
|
|
7144
7403
|
declare const useDeleteCallFeedback: <TError = ErrorType<ErrorResponse>>(id: string, feedbackId: string, options?: {
|
|
7145
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
7404
|
+
swr?: SWRMutationConfiguration<Awaited$k<ReturnType<typeof deleteCallFeedback>>, TError, Key, Arguments, Awaited$k<ReturnType<typeof deleteCallFeedback>>> & {
|
|
7146
7405
|
swrKey?: string;
|
|
7147
7406
|
};
|
|
7148
|
-
request?: SecondParameter$
|
|
7407
|
+
request?: SecondParameter$k<typeof customFetch>;
|
|
7149
7408
|
}) => {
|
|
7150
7409
|
isMutating: boolean;
|
|
7151
7410
|
trigger: swr_mutation.TriggerWithOptionsArgs<null, TError, string | readonly [`/v1/calls/${string}/feedback/${string}`], Arguments>;
|
|
@@ -7155,9 +7414,9 @@ declare const useDeleteCallFeedback: <TError = ErrorType<ErrorResponse>>(id: str
|
|
|
7155
7414
|
swrKey: string | readonly [`/v1/calls/${string}/feedback/${string}`];
|
|
7156
7415
|
};
|
|
7157
7416
|
|
|
7158
|
-
type AwaitedInput$
|
|
7159
|
-
type Awaited$
|
|
7160
|
-
type SecondParameter$
|
|
7417
|
+
type AwaitedInput$j<T> = PromiseLike<T> | T;
|
|
7418
|
+
type Awaited$j<O> = O extends AwaitedInput$j<infer T> ? T : never;
|
|
7419
|
+
type SecondParameter$j<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
7161
7420
|
/**
|
|
7162
7421
|
* List all calls, with pagination, filtering, and sorting.
|
|
7163
7422
|
|
|
@@ -7177,16 +7436,16 @@ Multiple metadata filters can be combined (AND logic).
|
|
|
7177
7436
|
declare const getListCallsUrl: (params?: ListCallsParams) => string;
|
|
7178
7437
|
declare const listCalls: (params?: ListCallsParams, options?: RequestInit) => Promise<CallList>;
|
|
7179
7438
|
declare const getListCallsKey: (params?: ListCallsParams) => readonly ["/v1/calls", ...ListCallsParams[]];
|
|
7180
|
-
type ListCallsQueryResult = NonNullable<Awaited$
|
|
7439
|
+
type ListCallsQueryResult = NonNullable<Awaited$j<ReturnType<typeof listCalls>>>;
|
|
7181
7440
|
/**
|
|
7182
7441
|
* @summary List calls
|
|
7183
7442
|
*/
|
|
7184
7443
|
declare const useListCalls: <TError = ErrorType<ErrorResponse>>(params?: ListCallsParams, options?: {
|
|
7185
|
-
swr?: SWRConfiguration<Awaited$
|
|
7444
|
+
swr?: SWRConfiguration<Awaited$j<ReturnType<typeof listCalls>>, TError> & {
|
|
7186
7445
|
swrKey?: Key;
|
|
7187
7446
|
enabled?: boolean;
|
|
7188
7447
|
};
|
|
7189
|
-
request?: SecondParameter$
|
|
7448
|
+
request?: SecondParameter$j<typeof customFetch>;
|
|
7190
7449
|
}) => {
|
|
7191
7450
|
data: CallList | undefined;
|
|
7192
7451
|
error: TError | undefined;
|
|
@@ -7204,16 +7463,16 @@ Set `include_messages=true` to include the full message transcript.
|
|
|
7204
7463
|
declare const getGetCallUrl: (id: string, params?: GetCallParams) => string;
|
|
7205
7464
|
declare const getCall: (id: string, params?: GetCallParams, options?: RequestInit) => Promise<CallDetail>;
|
|
7206
7465
|
declare const getGetCallKey: (id: string, params?: GetCallParams) => readonly [`/v1/calls/${string}`, ...GetCallParams[]];
|
|
7207
|
-
type GetCallQueryResult = NonNullable<Awaited$
|
|
7466
|
+
type GetCallQueryResult = NonNullable<Awaited$j<ReturnType<typeof getCall>>>;
|
|
7208
7467
|
/**
|
|
7209
7468
|
* @summary Get call
|
|
7210
7469
|
*/
|
|
7211
7470
|
declare const useGetCall: <TError = ErrorType<ErrorResponse>>(id: string, params?: GetCallParams, options?: {
|
|
7212
|
-
swr?: SWRConfiguration<Awaited$
|
|
7471
|
+
swr?: SWRConfiguration<Awaited$j<ReturnType<typeof getCall>>, TError> & {
|
|
7213
7472
|
swrKey?: Key;
|
|
7214
7473
|
enabled?: boolean;
|
|
7215
7474
|
};
|
|
7216
|
-
request?: SecondParameter$
|
|
7475
|
+
request?: SecondParameter$j<typeof customFetch>;
|
|
7217
7476
|
}) => {
|
|
7218
7477
|
data: CallDetail | undefined;
|
|
7219
7478
|
error: TError | undefined;
|
|
@@ -7229,16 +7488,16 @@ declare const useGetCall: <TError = ErrorType<ErrorResponse>>(id: string, params
|
|
|
7229
7488
|
declare const getGetCallEvaluationUrl: (id: string) => string;
|
|
7230
7489
|
declare const getCallEvaluation: (id: string, options?: RequestInit) => Promise<CallEvaluation>;
|
|
7231
7490
|
declare const getGetCallEvaluationKey: (id: string) => readonly [`/v1/calls/${string}/evaluation`];
|
|
7232
|
-
type GetCallEvaluationQueryResult = NonNullable<Awaited$
|
|
7491
|
+
type GetCallEvaluationQueryResult = NonNullable<Awaited$j<ReturnType<typeof getCallEvaluation>>>;
|
|
7233
7492
|
/**
|
|
7234
7493
|
* @summary Get call evaluation
|
|
7235
7494
|
*/
|
|
7236
7495
|
declare const useGetCallEvaluation: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
7237
|
-
swr?: SWRConfiguration<Awaited$
|
|
7496
|
+
swr?: SWRConfiguration<Awaited$j<ReturnType<typeof getCallEvaluation>>, TError> & {
|
|
7238
7497
|
swrKey?: Key;
|
|
7239
7498
|
enabled?: boolean;
|
|
7240
7499
|
};
|
|
7241
|
-
request?: SecondParameter$
|
|
7500
|
+
request?: SecondParameter$j<typeof customFetch>;
|
|
7242
7501
|
}) => {
|
|
7243
7502
|
data: CallEvaluation | undefined;
|
|
7244
7503
|
error: TError | undefined;
|
|
@@ -7256,16 +7515,16 @@ Includes summary statistics, call volume over time, evaluation scores, score and
|
|
|
7256
7515
|
declare const getGetCallAnalyticsUrl: (params: GetCallAnalyticsParams) => string;
|
|
7257
7516
|
declare const getCallAnalytics: (params: GetCallAnalyticsParams, options?: RequestInit) => Promise<CallAnalytics>;
|
|
7258
7517
|
declare const getGetCallAnalyticsKey: (params: GetCallAnalyticsParams) => readonly ["/v1/calls/analytics", ...GetCallAnalyticsParams[]];
|
|
7259
|
-
type GetCallAnalyticsQueryResult = NonNullable<Awaited$
|
|
7518
|
+
type GetCallAnalyticsQueryResult = NonNullable<Awaited$j<ReturnType<typeof getCallAnalytics>>>;
|
|
7260
7519
|
/**
|
|
7261
7520
|
* @summary Get call analytics
|
|
7262
7521
|
*/
|
|
7263
7522
|
declare const useGetCallAnalytics: <TError = ErrorType<ErrorResponse>>(params: GetCallAnalyticsParams, options?: {
|
|
7264
|
-
swr?: SWRConfiguration<Awaited$
|
|
7523
|
+
swr?: SWRConfiguration<Awaited$j<ReturnType<typeof getCallAnalytics>>, TError> & {
|
|
7265
7524
|
swrKey?: Key;
|
|
7266
7525
|
enabled?: boolean;
|
|
7267
7526
|
};
|
|
7268
|
-
request?: SecondParameter$
|
|
7527
|
+
request?: SecondParameter$j<typeof customFetch>;
|
|
7269
7528
|
}) => {
|
|
7270
7529
|
data: CallAnalytics | undefined;
|
|
7271
7530
|
error: TError | undefined;
|
|
@@ -7275,9 +7534,9 @@ declare const useGetCallAnalytics: <TError = ErrorType<ErrorResponse>>(params: G
|
|
|
7275
7534
|
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
|
|
7276
7535
|
};
|
|
7277
7536
|
|
|
7278
|
-
type AwaitedInput$
|
|
7279
|
-
type Awaited$
|
|
7280
|
-
type SecondParameter$
|
|
7537
|
+
type AwaitedInput$i<T> = PromiseLike<T> | T;
|
|
7538
|
+
type Awaited$i<O> = O extends AwaitedInput$i<infer T> ? T : never;
|
|
7539
|
+
type SecondParameter$i<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
7281
7540
|
/**
|
|
7282
7541
|
* List all cases for the current tenant, paginated, filterable, and sortable.
|
|
7283
7542
|
* @summary List cases
|
|
@@ -7285,16 +7544,16 @@ type SecondParameter$h<T extends (...args: never) => unknown> = Parameters<T>[1]
|
|
|
7285
7544
|
declare const getListCasesUrl: (params?: ListCasesParams) => string;
|
|
7286
7545
|
declare const listCases: (params?: ListCasesParams, options?: RequestInit) => Promise<CaseList>;
|
|
7287
7546
|
declare const getListCasesKey: (params?: ListCasesParams) => readonly ["/v1/cases", ...ListCasesParams[]];
|
|
7288
|
-
type ListCasesQueryResult = NonNullable<Awaited$
|
|
7547
|
+
type ListCasesQueryResult = NonNullable<Awaited$i<ReturnType<typeof listCases>>>;
|
|
7289
7548
|
/**
|
|
7290
7549
|
* @summary List cases
|
|
7291
7550
|
*/
|
|
7292
7551
|
declare const useListCases: <TError = ErrorType<ErrorResponse>>(params?: ListCasesParams, options?: {
|
|
7293
|
-
swr?: SWRConfiguration<Awaited$
|
|
7552
|
+
swr?: SWRConfiguration<Awaited$i<ReturnType<typeof listCases>>, TError> & {
|
|
7294
7553
|
swrKey?: Key;
|
|
7295
7554
|
enabled?: boolean;
|
|
7296
7555
|
};
|
|
7297
|
-
request?: SecondParameter$
|
|
7556
|
+
request?: SecondParameter$i<typeof customFetch>;
|
|
7298
7557
|
}) => {
|
|
7299
7558
|
data: CaseList | undefined;
|
|
7300
7559
|
error: TError | undefined;
|
|
@@ -7311,19 +7570,19 @@ Case ids are tenant-scoped opaque keys (e.g. "clm-1", "STD-001") and are normali
|
|
|
7311
7570
|
*/
|
|
7312
7571
|
declare const getCreateCaseUrl: () => string;
|
|
7313
7572
|
declare const createCase: (createCaseBody: CreateCaseBody, options?: RequestInit) => Promise<CreateCaseResponse>;
|
|
7314
|
-
declare const getCreateCaseMutationFetcher: (options?: SecondParameter$
|
|
7573
|
+
declare const getCreateCaseMutationFetcher: (options?: SecondParameter$i<typeof customFetch>) => (_: Key, { arg }: {
|
|
7315
7574
|
arg: CreateCaseBody;
|
|
7316
7575
|
}) => Promise<CreateCaseResponse>;
|
|
7317
7576
|
declare const getCreateCaseMutationKey: () => readonly ["/v1/cases"];
|
|
7318
|
-
type CreateCaseMutationResult = NonNullable<Awaited$
|
|
7577
|
+
type CreateCaseMutationResult = NonNullable<Awaited$i<ReturnType<typeof createCase>>>;
|
|
7319
7578
|
/**
|
|
7320
7579
|
* @summary Create case
|
|
7321
7580
|
*/
|
|
7322
7581
|
declare const useCreateCase: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
7323
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
7582
|
+
swr?: SWRMutationConfiguration<Awaited$i<ReturnType<typeof createCase>>, TError, Key, CreateCaseBody, Awaited$i<ReturnType<typeof createCase>>> & {
|
|
7324
7583
|
swrKey?: string;
|
|
7325
7584
|
};
|
|
7326
|
-
request?: SecondParameter$
|
|
7585
|
+
request?: SecondParameter$i<typeof customFetch>;
|
|
7327
7586
|
}) => {
|
|
7328
7587
|
isMutating: boolean;
|
|
7329
7588
|
trigger: swr_mutation.TriggerWithArgs<CreateCaseResponse, TError, string | readonly ["/v1/cases"], CreateCaseBody>;
|
|
@@ -7339,16 +7598,16 @@ declare const useCreateCase: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
|
7339
7598
|
declare const getSearchCasesUrl: (params: SearchCasesParams) => string;
|
|
7340
7599
|
declare const searchCases: (params: SearchCasesParams, options?: RequestInit) => Promise<CaseSearchResult>;
|
|
7341
7600
|
declare const getSearchCasesKey: (params: SearchCasesParams) => readonly ["/v1/cases/search", ...SearchCasesParams[]];
|
|
7342
|
-
type SearchCasesQueryResult = NonNullable<Awaited$
|
|
7601
|
+
type SearchCasesQueryResult = NonNullable<Awaited$i<ReturnType<typeof searchCases>>>;
|
|
7343
7602
|
/**
|
|
7344
7603
|
* @summary Search cases
|
|
7345
7604
|
*/
|
|
7346
7605
|
declare const useSearchCases: <TError = ErrorType<ErrorResponse>>(params: SearchCasesParams, options?: {
|
|
7347
|
-
swr?: SWRConfiguration<Awaited$
|
|
7606
|
+
swr?: SWRConfiguration<Awaited$i<ReturnType<typeof searchCases>>, TError> & {
|
|
7348
7607
|
swrKey?: Key;
|
|
7349
7608
|
enabled?: boolean;
|
|
7350
7609
|
};
|
|
7351
|
-
request?: SecondParameter$
|
|
7610
|
+
request?: SecondParameter$i<typeof customFetch>;
|
|
7352
7611
|
}) => {
|
|
7353
7612
|
data: CaseSearchResult | undefined;
|
|
7354
7613
|
error: TError | undefined;
|
|
@@ -7367,16 +7626,16 @@ e.g. `GET /v1/worker-runs?case_id=…` and `GET /v1/artifacts?metadata[case_id]=
|
|
|
7367
7626
|
declare const getGetCaseUrl: (id: string) => string;
|
|
7368
7627
|
declare const getCase: (id: string, options?: RequestInit) => Promise<CaseDetail>;
|
|
7369
7628
|
declare const getGetCaseKey: (id: string) => readonly [`/v1/cases/${string}`];
|
|
7370
|
-
type GetCaseQueryResult = NonNullable<Awaited$
|
|
7629
|
+
type GetCaseQueryResult = NonNullable<Awaited$i<ReturnType<typeof getCase>>>;
|
|
7371
7630
|
/**
|
|
7372
7631
|
* @summary Get case
|
|
7373
7632
|
*/
|
|
7374
7633
|
declare const useGetCase: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
7375
|
-
swr?: SWRConfiguration<Awaited$
|
|
7634
|
+
swr?: SWRConfiguration<Awaited$i<ReturnType<typeof getCase>>, TError> & {
|
|
7376
7635
|
swrKey?: Key;
|
|
7377
7636
|
enabled?: boolean;
|
|
7378
7637
|
};
|
|
7379
|
-
request?: SecondParameter$
|
|
7638
|
+
request?: SecondParameter$i<typeof customFetch>;
|
|
7380
7639
|
}) => {
|
|
7381
7640
|
data: CaseDetail | undefined;
|
|
7382
7641
|
error: TError | undefined;
|
|
@@ -7393,19 +7652,19 @@ The case and every entity must already exist in the tenant — unknown ids retur
|
|
|
7393
7652
|
*/
|
|
7394
7653
|
declare const getAddCaseLinksUrl: (id: string) => string;
|
|
7395
7654
|
declare const addCaseLinks: (id: string, addCaseLinksBody: AddCaseLinksBody, options?: RequestInit) => Promise<AddCaseLinksResponse>;
|
|
7396
|
-
declare const getAddCaseLinksMutationFetcher: (id: string, options?: SecondParameter$
|
|
7655
|
+
declare const getAddCaseLinksMutationFetcher: (id: string, options?: SecondParameter$i<typeof customFetch>) => (_: Key, { arg }: {
|
|
7397
7656
|
arg: AddCaseLinksBody;
|
|
7398
7657
|
}) => Promise<AddCaseLinksResponse>;
|
|
7399
7658
|
declare const getAddCaseLinksMutationKey: (id: string) => readonly [`/v1/cases/${string}/links`];
|
|
7400
|
-
type AddCaseLinksMutationResult = NonNullable<Awaited$
|
|
7659
|
+
type AddCaseLinksMutationResult = NonNullable<Awaited$i<ReturnType<typeof addCaseLinks>>>;
|
|
7401
7660
|
/**
|
|
7402
7661
|
* @summary Add case links
|
|
7403
7662
|
*/
|
|
7404
7663
|
declare const useAddCaseLinks: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
7405
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
7664
|
+
swr?: SWRMutationConfiguration<Awaited$i<ReturnType<typeof addCaseLinks>>, TError, Key, AddCaseLinksBody, Awaited$i<ReturnType<typeof addCaseLinks>>> & {
|
|
7406
7665
|
swrKey?: string;
|
|
7407
7666
|
};
|
|
7408
|
-
request?: SecondParameter$
|
|
7667
|
+
request?: SecondParameter$i<typeof customFetch>;
|
|
7409
7668
|
}) => {
|
|
7410
7669
|
isMutating: boolean;
|
|
7411
7670
|
trigger: swr_mutation.TriggerWithArgs<AddCaseLinksResponse, TError, string | readonly [`/v1/cases/${string}/links`], AddCaseLinksBody>;
|
|
@@ -7421,16 +7680,16 @@ declare const useAddCaseLinks: <TError = ErrorType<ErrorResponse>>(id: string, o
|
|
|
7421
7680
|
declare const getListCaseLinksUrl: (id: string, params?: ListCaseLinksParams) => string;
|
|
7422
7681
|
declare const listCaseLinks: (id: string, params?: ListCaseLinksParams, options?: RequestInit) => Promise<CaseLinkList>;
|
|
7423
7682
|
declare const getListCaseLinksKey: (id: string, params?: ListCaseLinksParams) => readonly [`/v1/cases/${string}/links`, ...ListCaseLinksParams[]];
|
|
7424
|
-
type ListCaseLinksQueryResult = NonNullable<Awaited$
|
|
7683
|
+
type ListCaseLinksQueryResult = NonNullable<Awaited$i<ReturnType<typeof listCaseLinks>>>;
|
|
7425
7684
|
/**
|
|
7426
7685
|
* @summary List case links
|
|
7427
7686
|
*/
|
|
7428
7687
|
declare const useListCaseLinks: <TError = ErrorType<ErrorResponse>>(id: string, params?: ListCaseLinksParams, options?: {
|
|
7429
|
-
swr?: SWRConfiguration<Awaited$
|
|
7688
|
+
swr?: SWRConfiguration<Awaited$i<ReturnType<typeof listCaseLinks>>, TError> & {
|
|
7430
7689
|
swrKey?: Key;
|
|
7431
7690
|
enabled?: boolean;
|
|
7432
7691
|
};
|
|
7433
|
-
request?: SecondParameter$
|
|
7692
|
+
request?: SecondParameter$i<typeof customFetch>;
|
|
7434
7693
|
}) => {
|
|
7435
7694
|
data: CaseLinkList | undefined;
|
|
7436
7695
|
error: TError | undefined;
|
|
@@ -7445,19 +7704,19 @@ declare const useListCaseLinks: <TError = ErrorType<ErrorResponse>>(id: string,
|
|
|
7445
7704
|
*/
|
|
7446
7705
|
declare const getRemoveCaseLinkUrl: (id: string, entityType: "artifact" | "call" | "chat" | "email" | "extract" | "worker_run", entityId: string) => string;
|
|
7447
7706
|
declare const removeCaseLink: (id: string, entityType: "artifact" | "call" | "chat" | "email" | "extract" | "worker_run", entityId: string, options?: RequestInit) => Promise<RemoveCaseLinkResponse>;
|
|
7448
|
-
declare const getRemoveCaseLinkMutationFetcher: (id: string, entityType: "artifact" | "call" | "chat" | "email" | "extract" | "worker_run", entityId: string, options?: SecondParameter$
|
|
7707
|
+
declare const getRemoveCaseLinkMutationFetcher: (id: string, entityType: "artifact" | "call" | "chat" | "email" | "extract" | "worker_run", entityId: string, options?: SecondParameter$i<typeof customFetch>) => (_: Key, __: {
|
|
7449
7708
|
arg: Arguments;
|
|
7450
7709
|
}) => Promise<RemoveCaseLinkResponse>;
|
|
7451
7710
|
declare const getRemoveCaseLinkMutationKey: (id: string, entityType: "artifact" | "call" | "chat" | "email" | "extract" | "worker_run", entityId: string) => readonly [`/v1/cases/${string}/links/artifact/${string}` | `/v1/cases/${string}/links/call/${string}` | `/v1/cases/${string}/links/chat/${string}` | `/v1/cases/${string}/links/email/${string}` | `/v1/cases/${string}/links/extract/${string}` | `/v1/cases/${string}/links/worker_run/${string}`];
|
|
7452
|
-
type RemoveCaseLinkMutationResult = NonNullable<Awaited$
|
|
7711
|
+
type RemoveCaseLinkMutationResult = NonNullable<Awaited$i<ReturnType<typeof removeCaseLink>>>;
|
|
7453
7712
|
/**
|
|
7454
7713
|
* @summary Remove case link
|
|
7455
7714
|
*/
|
|
7456
7715
|
declare const useRemoveCaseLink: <TError = ErrorType<ErrorResponse>>(id: string, entityType: "artifact" | "call" | "chat" | "email" | "extract" | "worker_run", entityId: string, options?: {
|
|
7457
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
7716
|
+
swr?: SWRMutationConfiguration<Awaited$i<ReturnType<typeof removeCaseLink>>, TError, Key, Arguments, Awaited$i<ReturnType<typeof removeCaseLink>>> & {
|
|
7458
7717
|
swrKey?: string;
|
|
7459
7718
|
};
|
|
7460
|
-
request?: SecondParameter$
|
|
7719
|
+
request?: SecondParameter$i<typeof customFetch>;
|
|
7461
7720
|
}) => {
|
|
7462
7721
|
isMutating: boolean;
|
|
7463
7722
|
trigger: swr_mutation.TriggerWithOptionsArgs<RemoveCaseLinkResponse, TError, string | readonly [`/v1/cases/${string}/links/artifact/${string}` | `/v1/cases/${string}/links/call/${string}` | `/v1/cases/${string}/links/chat/${string}` | `/v1/cases/${string}/links/email/${string}` | `/v1/cases/${string}/links/extract/${string}` | `/v1/cases/${string}/links/worker_run/${string}`], Arguments>;
|
|
@@ -7467,28 +7726,28 @@ declare const useRemoveCaseLink: <TError = ErrorType<ErrorResponse>>(id: string,
|
|
|
7467
7726
|
swrKey: string | readonly [`/v1/cases/${string}/links/artifact/${string}` | `/v1/cases/${string}/links/call/${string}` | `/v1/cases/${string}/links/chat/${string}` | `/v1/cases/${string}/links/email/${string}` | `/v1/cases/${string}/links/extract/${string}` | `/v1/cases/${string}/links/worker_run/${string}`];
|
|
7468
7727
|
};
|
|
7469
7728
|
|
|
7470
|
-
type AwaitedInput$
|
|
7471
|
-
type Awaited$
|
|
7472
|
-
type SecondParameter$
|
|
7729
|
+
type AwaitedInput$h<T> = PromiseLike<T> | T;
|
|
7730
|
+
type Awaited$h<O> = O extends AwaitedInput$h<infer T> ? T : never;
|
|
7731
|
+
type SecondParameter$h<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
7473
7732
|
/**
|
|
7474
7733
|
* Create a new chat agent with a name and prompt.
|
|
7475
7734
|
* @summary Create chat agent
|
|
7476
7735
|
*/
|
|
7477
7736
|
declare const getCreateChatAgentUrl: () => string;
|
|
7478
7737
|
declare const createChatAgent: (createChatAgentBody: CreateChatAgentBody, options?: RequestInit) => Promise<ChatAgentCreated>;
|
|
7479
|
-
declare const getCreateChatAgentMutationFetcher: (options?: SecondParameter$
|
|
7738
|
+
declare const getCreateChatAgentMutationFetcher: (options?: SecondParameter$h<typeof customFetch>) => (_: Key, { arg }: {
|
|
7480
7739
|
arg: CreateChatAgentBody;
|
|
7481
7740
|
}) => Promise<ChatAgentCreated>;
|
|
7482
7741
|
declare const getCreateChatAgentMutationKey: () => readonly ["/v1/chat-agents"];
|
|
7483
|
-
type CreateChatAgentMutationResult = NonNullable<Awaited$
|
|
7742
|
+
type CreateChatAgentMutationResult = NonNullable<Awaited$h<ReturnType<typeof createChatAgent>>>;
|
|
7484
7743
|
/**
|
|
7485
7744
|
* @summary Create chat agent
|
|
7486
7745
|
*/
|
|
7487
7746
|
declare const useCreateChatAgent: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
7488
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
7747
|
+
swr?: SWRMutationConfiguration<Awaited$h<ReturnType<typeof createChatAgent>>, TError, Key, CreateChatAgentBody, Awaited$h<ReturnType<typeof createChatAgent>>> & {
|
|
7489
7748
|
swrKey?: string;
|
|
7490
7749
|
};
|
|
7491
|
-
request?: SecondParameter$
|
|
7750
|
+
request?: SecondParameter$h<typeof customFetch>;
|
|
7492
7751
|
}) => {
|
|
7493
7752
|
isMutating: boolean;
|
|
7494
7753
|
trigger: swr_mutation.TriggerWithArgs<ChatAgentCreated, TError, string | readonly ["/v1/chat-agents"], CreateChatAgentBody>;
|
|
@@ -7504,16 +7763,16 @@ declare const useCreateChatAgent: <TError = ErrorType<ErrorResponse>>(options?:
|
|
|
7504
7763
|
declare const getListChatAgentsUrl: (params?: ListChatAgentsParams) => string;
|
|
7505
7764
|
declare const listChatAgents: (params?: ListChatAgentsParams, options?: RequestInit) => Promise<ChatAgentList>;
|
|
7506
7765
|
declare const getListChatAgentsKey: (params?: ListChatAgentsParams) => readonly ["/v1/chat-agents", ...ListChatAgentsParams[]];
|
|
7507
|
-
type ListChatAgentsQueryResult = NonNullable<Awaited$
|
|
7766
|
+
type ListChatAgentsQueryResult = NonNullable<Awaited$h<ReturnType<typeof listChatAgents>>>;
|
|
7508
7767
|
/**
|
|
7509
7768
|
* @summary List chat agents
|
|
7510
7769
|
*/
|
|
7511
7770
|
declare const useListChatAgents: <TError = ErrorType<ErrorResponse>>(params?: ListChatAgentsParams, options?: {
|
|
7512
|
-
swr?: SWRConfiguration<Awaited$
|
|
7771
|
+
swr?: SWRConfiguration<Awaited$h<ReturnType<typeof listChatAgents>>, TError> & {
|
|
7513
7772
|
swrKey?: Key;
|
|
7514
7773
|
enabled?: boolean;
|
|
7515
7774
|
};
|
|
7516
|
-
request?: SecondParameter$
|
|
7775
|
+
request?: SecondParameter$h<typeof customFetch>;
|
|
7517
7776
|
}) => {
|
|
7518
7777
|
data: ChatAgentList | undefined;
|
|
7519
7778
|
error: TError | undefined;
|
|
@@ -7529,16 +7788,16 @@ declare const useListChatAgents: <TError = ErrorType<ErrorResponse>>(params?: Li
|
|
|
7529
7788
|
declare const getGetChatAgentUrl: (chatAgentId: string) => string;
|
|
7530
7789
|
declare const getChatAgent: (chatAgentId: string, options?: RequestInit) => Promise<ChatAgentDetail>;
|
|
7531
7790
|
declare const getGetChatAgentKey: (chatAgentId: string) => readonly [`/v1/chat-agents/${string}`];
|
|
7532
|
-
type GetChatAgentQueryResult = NonNullable<Awaited$
|
|
7791
|
+
type GetChatAgentQueryResult = NonNullable<Awaited$h<ReturnType<typeof getChatAgent>>>;
|
|
7533
7792
|
/**
|
|
7534
7793
|
* @summary Get chat agent
|
|
7535
7794
|
*/
|
|
7536
7795
|
declare const useGetChatAgent: <TError = ErrorType<ErrorResponse>>(chatAgentId: string, options?: {
|
|
7537
|
-
swr?: SWRConfiguration<Awaited$
|
|
7796
|
+
swr?: SWRConfiguration<Awaited$h<ReturnType<typeof getChatAgent>>, TError> & {
|
|
7538
7797
|
swrKey?: Key;
|
|
7539
7798
|
enabled?: boolean;
|
|
7540
7799
|
};
|
|
7541
|
-
request?: SecondParameter$
|
|
7800
|
+
request?: SecondParameter$h<typeof customFetch>;
|
|
7542
7801
|
}) => {
|
|
7543
7802
|
data: ChatAgentDetail | undefined;
|
|
7544
7803
|
error: TError | undefined;
|
|
@@ -7553,19 +7812,19 @@ declare const useGetChatAgent: <TError = ErrorType<ErrorResponse>>(chatAgentId:
|
|
|
7553
7812
|
*/
|
|
7554
7813
|
declare const getUpdateChatAgentUrl: (chatAgentId: string) => string;
|
|
7555
7814
|
declare const updateChatAgent: (chatAgentId: string, updateChatAgentRequest: UpdateChatAgentRequest, options?: RequestInit) => Promise<ChatAgent>;
|
|
7556
|
-
declare const getUpdateChatAgentMutationFetcher: (chatAgentId: string, options?: SecondParameter$
|
|
7815
|
+
declare const getUpdateChatAgentMutationFetcher: (chatAgentId: string, options?: SecondParameter$h<typeof customFetch>) => (_: Key, { arg }: {
|
|
7557
7816
|
arg: UpdateChatAgentRequest;
|
|
7558
7817
|
}) => Promise<ChatAgent>;
|
|
7559
7818
|
declare const getUpdateChatAgentMutationKey: (chatAgentId: string) => readonly [`/v1/chat-agents/${string}`];
|
|
7560
|
-
type UpdateChatAgentMutationResult = NonNullable<Awaited$
|
|
7819
|
+
type UpdateChatAgentMutationResult = NonNullable<Awaited$h<ReturnType<typeof updateChatAgent>>>;
|
|
7561
7820
|
/**
|
|
7562
7821
|
* @summary Update chat agent
|
|
7563
7822
|
*/
|
|
7564
7823
|
declare const useUpdateChatAgent: <TError = ErrorType<ErrorResponse>>(chatAgentId: string, options?: {
|
|
7565
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
7824
|
+
swr?: SWRMutationConfiguration<Awaited$h<ReturnType<typeof updateChatAgent>>, TError, Key, UpdateChatAgentRequest, Awaited$h<ReturnType<typeof updateChatAgent>>> & {
|
|
7566
7825
|
swrKey?: string;
|
|
7567
7826
|
};
|
|
7568
|
-
request?: SecondParameter$
|
|
7827
|
+
request?: SecondParameter$h<typeof customFetch>;
|
|
7569
7828
|
}) => {
|
|
7570
7829
|
isMutating: boolean;
|
|
7571
7830
|
trigger: swr_mutation.TriggerWithArgs<ChatAgent, TError, string | readonly [`/v1/chat-agents/${string}`], UpdateChatAgentRequest>;
|
|
@@ -7580,19 +7839,19 @@ declare const useUpdateChatAgent: <TError = ErrorType<ErrorResponse>>(chatAgentI
|
|
|
7580
7839
|
*/
|
|
7581
7840
|
declare const getDeleteChatAgentUrl: (chatAgentId: string) => string;
|
|
7582
7841
|
declare const deleteChatAgent: (chatAgentId: string, options?: RequestInit) => Promise<DeleteChatAgentResponse>;
|
|
7583
|
-
declare const getDeleteChatAgentMutationFetcher: (chatAgentId: string, options?: SecondParameter$
|
|
7842
|
+
declare const getDeleteChatAgentMutationFetcher: (chatAgentId: string, options?: SecondParameter$h<typeof customFetch>) => (_: Key, __: {
|
|
7584
7843
|
arg: Arguments;
|
|
7585
7844
|
}) => Promise<DeleteChatAgentResponse>;
|
|
7586
7845
|
declare const getDeleteChatAgentMutationKey: (chatAgentId: string) => readonly [`/v1/chat-agents/${string}`];
|
|
7587
|
-
type DeleteChatAgentMutationResult = NonNullable<Awaited$
|
|
7846
|
+
type DeleteChatAgentMutationResult = NonNullable<Awaited$h<ReturnType<typeof deleteChatAgent>>>;
|
|
7588
7847
|
/**
|
|
7589
7848
|
* @summary Delete chat agent
|
|
7590
7849
|
*/
|
|
7591
7850
|
declare const useDeleteChatAgent: <TError = ErrorType<ErrorResponse>>(chatAgentId: string, options?: {
|
|
7592
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
7851
|
+
swr?: SWRMutationConfiguration<Awaited$h<ReturnType<typeof deleteChatAgent>>, TError, Key, Arguments, Awaited$h<ReturnType<typeof deleteChatAgent>>> & {
|
|
7593
7852
|
swrKey?: string;
|
|
7594
7853
|
};
|
|
7595
|
-
request?: SecondParameter$
|
|
7854
|
+
request?: SecondParameter$h<typeof customFetch>;
|
|
7596
7855
|
}) => {
|
|
7597
7856
|
isMutating: boolean;
|
|
7598
7857
|
trigger: swr_mutation.TriggerWithOptionsArgs<DeleteChatAgentResponse, TError, string | readonly [`/v1/chat-agents/${string}`], Arguments>;
|
|
@@ -7608,16 +7867,16 @@ declare const useDeleteChatAgent: <TError = ErrorType<ErrorResponse>>(chatAgentI
|
|
|
7608
7867
|
declare const getGetChatAgentPromptUrl: (chatAgentId: string) => string;
|
|
7609
7868
|
declare const getChatAgentPrompt: (chatAgentId: string, options?: RequestInit) => Promise<ChatAgentPrompt>;
|
|
7610
7869
|
declare const getGetChatAgentPromptKey: (chatAgentId: string) => readonly [`/v1/chat-agents/${string}/prompt`];
|
|
7611
|
-
type GetChatAgentPromptQueryResult = NonNullable<Awaited$
|
|
7870
|
+
type GetChatAgentPromptQueryResult = NonNullable<Awaited$h<ReturnType<typeof getChatAgentPrompt>>>;
|
|
7612
7871
|
/**
|
|
7613
7872
|
* @summary Get chat agent prompt
|
|
7614
7873
|
*/
|
|
7615
7874
|
declare const useGetChatAgentPrompt: <TError = ErrorType<ErrorResponse>>(chatAgentId: string, options?: {
|
|
7616
|
-
swr?: SWRConfiguration<Awaited$
|
|
7875
|
+
swr?: SWRConfiguration<Awaited$h<ReturnType<typeof getChatAgentPrompt>>, TError> & {
|
|
7617
7876
|
swrKey?: Key;
|
|
7618
7877
|
enabled?: boolean;
|
|
7619
7878
|
};
|
|
7620
|
-
request?: SecondParameter$
|
|
7879
|
+
request?: SecondParameter$h<typeof customFetch>;
|
|
7621
7880
|
}) => {
|
|
7622
7881
|
data: ChatAgentPrompt | undefined;
|
|
7623
7882
|
error: TError | undefined;
|
|
@@ -7632,19 +7891,19 @@ declare const useGetChatAgentPrompt: <TError = ErrorType<ErrorResponse>>(chatAge
|
|
|
7632
7891
|
*/
|
|
7633
7892
|
declare const getUpdateChatAgentPromptUrl: (chatAgentId: string) => string;
|
|
7634
7893
|
declare const updateChatAgentPrompt: (chatAgentId: string, updateChatAgentPromptBody: UpdateChatAgentPromptBody, options?: RequestInit) => Promise<ChatAgentPromptUpdated>;
|
|
7635
|
-
declare const getUpdateChatAgentPromptMutationFetcher: (chatAgentId: string, options?: SecondParameter$
|
|
7894
|
+
declare const getUpdateChatAgentPromptMutationFetcher: (chatAgentId: string, options?: SecondParameter$h<typeof customFetch>) => (_: Key, { arg }: {
|
|
7636
7895
|
arg: UpdateChatAgentPromptBody;
|
|
7637
7896
|
}) => Promise<ChatAgentPromptUpdated>;
|
|
7638
7897
|
declare const getUpdateChatAgentPromptMutationKey: (chatAgentId: string) => readonly [`/v1/chat-agents/${string}/prompt`];
|
|
7639
|
-
type UpdateChatAgentPromptMutationResult = NonNullable<Awaited$
|
|
7898
|
+
type UpdateChatAgentPromptMutationResult = NonNullable<Awaited$h<ReturnType<typeof updateChatAgentPrompt>>>;
|
|
7640
7899
|
/**
|
|
7641
7900
|
* @summary Update chat agent prompt
|
|
7642
7901
|
*/
|
|
7643
7902
|
declare const useUpdateChatAgentPrompt: <TError = ErrorType<ErrorResponse>>(chatAgentId: string, options?: {
|
|
7644
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
7903
|
+
swr?: SWRMutationConfiguration<Awaited$h<ReturnType<typeof updateChatAgentPrompt>>, TError, Key, UpdateChatAgentPromptBody, Awaited$h<ReturnType<typeof updateChatAgentPrompt>>> & {
|
|
7645
7904
|
swrKey?: string;
|
|
7646
7905
|
};
|
|
7647
|
-
request?: SecondParameter$
|
|
7906
|
+
request?: SecondParameter$h<typeof customFetch>;
|
|
7648
7907
|
}) => {
|
|
7649
7908
|
isMutating: boolean;
|
|
7650
7909
|
trigger: swr_mutation.TriggerWithArgs<ChatAgentPromptUpdated, TError, string | readonly [`/v1/chat-agents/${string}/prompt`], UpdateChatAgentPromptBody>;
|
|
@@ -7654,28 +7913,28 @@ declare const useUpdateChatAgentPrompt: <TError = ErrorType<ErrorResponse>>(chat
|
|
|
7654
7913
|
swrKey: string | readonly [`/v1/chat-agents/${string}/prompt`];
|
|
7655
7914
|
};
|
|
7656
7915
|
|
|
7657
|
-
type AwaitedInput$
|
|
7658
|
-
type Awaited$
|
|
7659
|
-
type SecondParameter$
|
|
7916
|
+
type AwaitedInput$g<T> = PromiseLike<T> | T;
|
|
7917
|
+
type Awaited$g<O> = O extends AwaitedInput$g<infer T> ? T : never;
|
|
7918
|
+
type SecondParameter$g<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
7660
7919
|
/**
|
|
7661
7920
|
* Create a new chat against an existing chat agent. The chat agent's tenant becomes the owner of the chat.
|
|
7662
7921
|
* @summary Create a chat
|
|
7663
7922
|
*/
|
|
7664
7923
|
declare const getCreateChatUrl: () => string;
|
|
7665
7924
|
declare const createChat: (createChatBody: CreateChatBody, options?: RequestInit) => Promise<ChatCreated>;
|
|
7666
|
-
declare const getCreateChatMutationFetcher: (options?: SecondParameter$
|
|
7925
|
+
declare const getCreateChatMutationFetcher: (options?: SecondParameter$g<typeof customFetch>) => (_: Key, { arg }: {
|
|
7667
7926
|
arg: CreateChatBody;
|
|
7668
7927
|
}) => Promise<ChatCreated>;
|
|
7669
7928
|
declare const getCreateChatMutationKey: () => readonly ["/public/v1/chats"];
|
|
7670
|
-
type CreateChatMutationResult = NonNullable<Awaited$
|
|
7929
|
+
type CreateChatMutationResult = NonNullable<Awaited$g<ReturnType<typeof createChat>>>;
|
|
7671
7930
|
/**
|
|
7672
7931
|
* @summary Create a chat
|
|
7673
7932
|
*/
|
|
7674
7933
|
declare const useCreateChat: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
7675
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
7934
|
+
swr?: SWRMutationConfiguration<Awaited$g<ReturnType<typeof createChat>>, TError, Key, CreateChatBody, Awaited$g<ReturnType<typeof createChat>>> & {
|
|
7676
7935
|
swrKey?: string;
|
|
7677
7936
|
};
|
|
7678
|
-
request?: SecondParameter$
|
|
7937
|
+
request?: SecondParameter$g<typeof customFetch>;
|
|
7679
7938
|
}) => {
|
|
7680
7939
|
isMutating: boolean;
|
|
7681
7940
|
trigger: swr_mutation.TriggerWithArgs<ChatCreated, TError, string | readonly ["/public/v1/chats"], CreateChatBody>;
|
|
@@ -7694,16 +7953,16 @@ For compatibility this endpoint is also available using the following (deprecate
|
|
|
7694
7953
|
declare const getGetChatUrl: (chatId: string) => string;
|
|
7695
7954
|
declare const getChat: (chatId: string, options?: RequestInit) => Promise<ChatHistory>;
|
|
7696
7955
|
declare const getGetChatKey: (chatId: string) => readonly [`/public/v1/chats/${string}`];
|
|
7697
|
-
type GetChatQueryResult = NonNullable<Awaited$
|
|
7956
|
+
type GetChatQueryResult = NonNullable<Awaited$g<ReturnType<typeof getChat>>>;
|
|
7698
7957
|
/**
|
|
7699
7958
|
* @summary Get a chat
|
|
7700
7959
|
*/
|
|
7701
7960
|
declare const useGetChat: <TError = ErrorType<ErrorResponse>>(chatId: string, options?: {
|
|
7702
|
-
swr?: SWRConfiguration<Awaited$
|
|
7961
|
+
swr?: SWRConfiguration<Awaited$g<ReturnType<typeof getChat>>, TError> & {
|
|
7703
7962
|
swrKey?: Key;
|
|
7704
7963
|
enabled?: boolean;
|
|
7705
7964
|
};
|
|
7706
|
-
request?: SecondParameter$
|
|
7965
|
+
request?: SecondParameter$g<typeof customFetch>;
|
|
7707
7966
|
}) => {
|
|
7708
7967
|
data: ChatHistory | undefined;
|
|
7709
7968
|
error: TError | undefined;
|
|
@@ -7719,16 +7978,16 @@ declare const useGetChat: <TError = ErrorType<ErrorResponse>>(chatId: string, op
|
|
|
7719
7978
|
declare const getGetPublicChatAgentUrl: (chatAgentId: string) => string;
|
|
7720
7979
|
declare const getPublicChatAgent: (chatAgentId: string, options?: RequestInit) => Promise<PublicChatAgent>;
|
|
7721
7980
|
declare const getGetPublicChatAgentKey: (chatAgentId: string) => readonly [`/public/v1/chat-agents/${string}`];
|
|
7722
|
-
type GetPublicChatAgentQueryResult = NonNullable<Awaited$
|
|
7981
|
+
type GetPublicChatAgentQueryResult = NonNullable<Awaited$g<ReturnType<typeof getPublicChatAgent>>>;
|
|
7723
7982
|
/**
|
|
7724
7983
|
* @summary Get a chat agent (public)
|
|
7725
7984
|
*/
|
|
7726
7985
|
declare const useGetPublicChatAgent: <TError = ErrorType<ErrorResponse>>(chatAgentId: string, options?: {
|
|
7727
|
-
swr?: SWRConfiguration<Awaited$
|
|
7986
|
+
swr?: SWRConfiguration<Awaited$g<ReturnType<typeof getPublicChatAgent>>, TError> & {
|
|
7728
7987
|
swrKey?: Key;
|
|
7729
7988
|
enabled?: boolean;
|
|
7730
7989
|
};
|
|
7731
|
-
request?: SecondParameter$
|
|
7990
|
+
request?: SecondParameter$g<typeof customFetch>;
|
|
7732
7991
|
}) => {
|
|
7733
7992
|
data: PublicChatAgent | undefined;
|
|
7734
7993
|
error: TError | undefined;
|
|
@@ -7746,19 +8005,19 @@ For compatibility this endpoint is also available using the following (deprecate
|
|
|
7746
8005
|
*/
|
|
7747
8006
|
declare const getPostChatMessageUrl: (chatId: string) => string;
|
|
7748
8007
|
declare const postChatMessage: (chatId: string, postChatMessageBody: PostChatMessageBody, options?: RequestInit) => Promise<ChatMessageCreated>;
|
|
7749
|
-
declare const getPostChatMessageMutationFetcher: (chatId: string, options?: SecondParameter$
|
|
8008
|
+
declare const getPostChatMessageMutationFetcher: (chatId: string, options?: SecondParameter$g<typeof customFetch>) => (_: Key, { arg }: {
|
|
7750
8009
|
arg: PostChatMessageBody;
|
|
7751
8010
|
}) => Promise<ChatMessageCreated>;
|
|
7752
8011
|
declare const getPostChatMessageMutationKey: (chatId: string) => readonly [`/public/v1/chats/${string}/messages`];
|
|
7753
|
-
type PostChatMessageMutationResult = NonNullable<Awaited$
|
|
8012
|
+
type PostChatMessageMutationResult = NonNullable<Awaited$g<ReturnType<typeof postChatMessage>>>;
|
|
7754
8013
|
/**
|
|
7755
8014
|
* @summary Post a message to a chat
|
|
7756
8015
|
*/
|
|
7757
8016
|
declare const usePostChatMessage: <TError = ErrorType<ErrorResponse>>(chatId: string, options?: {
|
|
7758
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
8017
|
+
swr?: SWRMutationConfiguration<Awaited$g<ReturnType<typeof postChatMessage>>, TError, Key, PostChatMessageBody, Awaited$g<ReturnType<typeof postChatMessage>>> & {
|
|
7759
8018
|
swrKey?: string;
|
|
7760
8019
|
};
|
|
7761
|
-
request?: SecondParameter$
|
|
8020
|
+
request?: SecondParameter$g<typeof customFetch>;
|
|
7762
8021
|
}) => {
|
|
7763
8022
|
isMutating: boolean;
|
|
7764
8023
|
trigger: swr_mutation.TriggerWithArgs<ChatMessageCreated, TError, string | readonly [`/public/v1/chats/${string}/messages`], PostChatMessageBody>;
|
|
@@ -7774,16 +8033,16 @@ declare const usePostChatMessage: <TError = ErrorType<ErrorResponse>>(chatId: st
|
|
|
7774
8033
|
declare const getListChatsUrl: (params?: ListChatsParams) => string;
|
|
7775
8034
|
declare const listChats: (params?: ListChatsParams, options?: RequestInit) => Promise<ChatList>;
|
|
7776
8035
|
declare const getListChatsKey: (params?: ListChatsParams) => readonly ["/v1/chats", ...ListChatsParams[]];
|
|
7777
|
-
type ListChatsQueryResult = NonNullable<Awaited$
|
|
8036
|
+
type ListChatsQueryResult = NonNullable<Awaited$g<ReturnType<typeof listChats>>>;
|
|
7778
8037
|
/**
|
|
7779
8038
|
* @summary List chats
|
|
7780
8039
|
*/
|
|
7781
8040
|
declare const useListChats: <TError = ErrorType<ErrorResponse>>(params?: ListChatsParams, options?: {
|
|
7782
|
-
swr?: SWRConfiguration<Awaited$
|
|
8041
|
+
swr?: SWRConfiguration<Awaited$g<ReturnType<typeof listChats>>, TError> & {
|
|
7783
8042
|
swrKey?: Key;
|
|
7784
8043
|
enabled?: boolean;
|
|
7785
8044
|
};
|
|
7786
|
-
request?: SecondParameter$
|
|
8045
|
+
request?: SecondParameter$g<typeof customFetch>;
|
|
7787
8046
|
}) => {
|
|
7788
8047
|
data: ChatList | undefined;
|
|
7789
8048
|
error: TError | undefined;
|
|
@@ -7799,16 +8058,16 @@ declare const useListChats: <TError = ErrorType<ErrorResponse>>(params?: ListCha
|
|
|
7799
8058
|
declare const getListChatMessagesUrl: (chatId: string, params?: ListChatMessagesParams) => string;
|
|
7800
8059
|
declare const listChatMessages: (chatId: string, params?: ListChatMessagesParams, options?: RequestInit) => Promise<ChatMessageList>;
|
|
7801
8060
|
declare const getListChatMessagesKey: (chatId: string, params?: ListChatMessagesParams) => readonly [`/v1/chats/${string}/messages`, ...ListChatMessagesParams[]];
|
|
7802
|
-
type ListChatMessagesQueryResult = NonNullable<Awaited$
|
|
8061
|
+
type ListChatMessagesQueryResult = NonNullable<Awaited$g<ReturnType<typeof listChatMessages>>>;
|
|
7803
8062
|
/**
|
|
7804
8063
|
* @summary List chat messages
|
|
7805
8064
|
*/
|
|
7806
8065
|
declare const useListChatMessages: <TError = ErrorType<ErrorResponse>>(chatId: string, params?: ListChatMessagesParams, options?: {
|
|
7807
|
-
swr?: SWRConfiguration<Awaited$
|
|
8066
|
+
swr?: SWRConfiguration<Awaited$g<ReturnType<typeof listChatMessages>>, TError> & {
|
|
7808
8067
|
swrKey?: Key;
|
|
7809
8068
|
enabled?: boolean;
|
|
7810
8069
|
};
|
|
7811
|
-
request?: SecondParameter$
|
|
8070
|
+
request?: SecondParameter$g<typeof customFetch>;
|
|
7812
8071
|
}) => {
|
|
7813
8072
|
data: ChatMessageList | undefined;
|
|
7814
8073
|
error: TError | undefined;
|
|
@@ -7818,28 +8077,28 @@ declare const useListChatMessages: <TError = ErrorType<ErrorResponse>>(chatId: s
|
|
|
7818
8077
|
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
|
|
7819
8078
|
};
|
|
7820
8079
|
|
|
7821
|
-
type AwaitedInput$
|
|
7822
|
-
type Awaited$
|
|
7823
|
-
type SecondParameter$
|
|
8080
|
+
type AwaitedInput$f<T> = PromiseLike<T> | T;
|
|
8081
|
+
type Awaited$f<O> = O extends AwaitedInput$f<infer T> ? T : never;
|
|
8082
|
+
type SecondParameter$f<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
7824
8083
|
/**
|
|
7825
8084
|
* Ingest an email into the system.
|
|
7826
8085
|
* @summary Create email
|
|
7827
8086
|
*/
|
|
7828
8087
|
declare const getCreateEmailUrl: () => string;
|
|
7829
8088
|
declare const createEmail: (createEmailBody: CreateEmailBody, options?: RequestInit) => Promise<EmailCreated>;
|
|
7830
|
-
declare const getCreateEmailMutationFetcher: (options?: SecondParameter$
|
|
8089
|
+
declare const getCreateEmailMutationFetcher: (options?: SecondParameter$f<typeof customFetch>) => (_: Key, { arg }: {
|
|
7831
8090
|
arg: CreateEmailBody;
|
|
7832
8091
|
}) => Promise<EmailCreated>;
|
|
7833
8092
|
declare const getCreateEmailMutationKey: () => readonly ["/v1/emails"];
|
|
7834
|
-
type CreateEmailMutationResult = NonNullable<Awaited$
|
|
8093
|
+
type CreateEmailMutationResult = NonNullable<Awaited$f<ReturnType<typeof createEmail>>>;
|
|
7835
8094
|
/**
|
|
7836
8095
|
* @summary Create email
|
|
7837
8096
|
*/
|
|
7838
8097
|
declare const useCreateEmail: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
7839
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
8098
|
+
swr?: SWRMutationConfiguration<Awaited$f<ReturnType<typeof createEmail>>, TError, Key, CreateEmailBody, Awaited$f<ReturnType<typeof createEmail>>> & {
|
|
7840
8099
|
swrKey?: string;
|
|
7841
8100
|
};
|
|
7842
|
-
request?: SecondParameter$
|
|
8101
|
+
request?: SecondParameter$f<typeof customFetch>;
|
|
7843
8102
|
}) => {
|
|
7844
8103
|
isMutating: boolean;
|
|
7845
8104
|
trigger: swr_mutation.TriggerWithArgs<EmailCreated, TError, string | readonly ["/v1/emails"], CreateEmailBody>;
|
|
@@ -7859,16 +8118,16 @@ Filter by email agent, sender, recipient, content search, or case.
|
|
|
7859
8118
|
declare const getListEmailsUrl: (params?: ListEmailsParams) => string;
|
|
7860
8119
|
declare const listEmails: (params?: ListEmailsParams, options?: RequestInit) => Promise<EmailList>;
|
|
7861
8120
|
declare const getListEmailsKey: (params?: ListEmailsParams) => readonly ["/v1/emails", ...ListEmailsParams[]];
|
|
7862
|
-
type ListEmailsQueryResult = NonNullable<Awaited$
|
|
8121
|
+
type ListEmailsQueryResult = NonNullable<Awaited$f<ReturnType<typeof listEmails>>>;
|
|
7863
8122
|
/**
|
|
7864
8123
|
* @summary List emails
|
|
7865
8124
|
*/
|
|
7866
8125
|
declare const useListEmails: <TError = ErrorType<ErrorResponse>>(params?: ListEmailsParams, options?: {
|
|
7867
|
-
swr?: SWRConfiguration<Awaited$
|
|
8126
|
+
swr?: SWRConfiguration<Awaited$f<ReturnType<typeof listEmails>>, TError> & {
|
|
7868
8127
|
swrKey?: Key;
|
|
7869
8128
|
enabled?: boolean;
|
|
7870
8129
|
};
|
|
7871
|
-
request?: SecondParameter$
|
|
8130
|
+
request?: SecondParameter$f<typeof customFetch>;
|
|
7872
8131
|
}) => {
|
|
7873
8132
|
data: EmailList | undefined;
|
|
7874
8133
|
error: TError | undefined;
|
|
@@ -7884,16 +8143,16 @@ declare const useListEmails: <TError = ErrorType<ErrorResponse>>(params?: ListEm
|
|
|
7884
8143
|
declare const getGetEmailUrl: (emailId: string) => string;
|
|
7885
8144
|
declare const getEmail: (emailId: string, options?: RequestInit) => Promise<EmailDetail>;
|
|
7886
8145
|
declare const getGetEmailKey: (emailId: string) => readonly [`/v1/emails/${string}`];
|
|
7887
|
-
type GetEmailQueryResult = NonNullable<Awaited$
|
|
8146
|
+
type GetEmailQueryResult = NonNullable<Awaited$f<ReturnType<typeof getEmail>>>;
|
|
7888
8147
|
/**
|
|
7889
8148
|
* @summary Get email
|
|
7890
8149
|
*/
|
|
7891
8150
|
declare const useGetEmail: <TError = ErrorType<ErrorResponse>>(emailId: string, options?: {
|
|
7892
|
-
swr?: SWRConfiguration<Awaited$
|
|
8151
|
+
swr?: SWRConfiguration<Awaited$f<ReturnType<typeof getEmail>>, TError> & {
|
|
7893
8152
|
swrKey?: Key;
|
|
7894
8153
|
enabled?: boolean;
|
|
7895
8154
|
};
|
|
7896
|
-
request?: SecondParameter$
|
|
8155
|
+
request?: SecondParameter$f<typeof customFetch>;
|
|
7897
8156
|
}) => {
|
|
7898
8157
|
data: EmailDetail | undefined;
|
|
7899
8158
|
error: TError | undefined;
|
|
@@ -7908,19 +8167,19 @@ declare const useGetEmail: <TError = ErrorType<ErrorResponse>>(emailId: string,
|
|
|
7908
8167
|
*/
|
|
7909
8168
|
declare const getDeleteEmailUrl: (emailId: string) => string;
|
|
7910
8169
|
declare const deleteEmail: (emailId: string, options?: RequestInit) => Promise<DeleteEmailResponse>;
|
|
7911
|
-
declare const getDeleteEmailMutationFetcher: (emailId: string, options?: SecondParameter$
|
|
8170
|
+
declare const getDeleteEmailMutationFetcher: (emailId: string, options?: SecondParameter$f<typeof customFetch>) => (_: Key, __: {
|
|
7912
8171
|
arg: Arguments;
|
|
7913
8172
|
}) => Promise<DeleteEmailResponse>;
|
|
7914
8173
|
declare const getDeleteEmailMutationKey: (emailId: string) => readonly [`/v1/emails/${string}`];
|
|
7915
|
-
type DeleteEmailMutationResult = NonNullable<Awaited$
|
|
8174
|
+
type DeleteEmailMutationResult = NonNullable<Awaited$f<ReturnType<typeof deleteEmail>>>;
|
|
7916
8175
|
/**
|
|
7917
8176
|
* @summary Delete email
|
|
7918
8177
|
*/
|
|
7919
8178
|
declare const useDeleteEmail: <TError = ErrorType<ErrorResponse>>(emailId: string, options?: {
|
|
7920
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
8179
|
+
swr?: SWRMutationConfiguration<Awaited$f<ReturnType<typeof deleteEmail>>, TError, Key, Arguments, Awaited$f<ReturnType<typeof deleteEmail>>> & {
|
|
7921
8180
|
swrKey?: string;
|
|
7922
8181
|
};
|
|
7923
|
-
request?: SecondParameter$
|
|
8182
|
+
request?: SecondParameter$f<typeof customFetch>;
|
|
7924
8183
|
}) => {
|
|
7925
8184
|
isMutating: boolean;
|
|
7926
8185
|
trigger: swr_mutation.TriggerWithOptionsArgs<DeleteEmailResponse, TError, string | readonly [`/v1/emails/${string}`], Arguments>;
|
|
@@ -7936,16 +8195,16 @@ declare const useDeleteEmail: <TError = ErrorType<ErrorResponse>>(emailId: strin
|
|
|
7936
8195
|
declare const getListEmailThreadsUrl: (params?: ListEmailThreadsParams) => string;
|
|
7937
8196
|
declare const listEmailThreads: (params?: ListEmailThreadsParams, options?: RequestInit) => Promise<EmailThreadList>;
|
|
7938
8197
|
declare const getListEmailThreadsKey: (params?: ListEmailThreadsParams) => readonly ["/v1/emails/threads", ...ListEmailThreadsParams[]];
|
|
7939
|
-
type ListEmailThreadsQueryResult = NonNullable<Awaited$
|
|
8198
|
+
type ListEmailThreadsQueryResult = NonNullable<Awaited$f<ReturnType<typeof listEmailThreads>>>;
|
|
7940
8199
|
/**
|
|
7941
8200
|
* @summary List email threads
|
|
7942
8201
|
*/
|
|
7943
8202
|
declare const useListEmailThreads: <TError = ErrorType<ErrorResponse>>(params?: ListEmailThreadsParams, options?: {
|
|
7944
|
-
swr?: SWRConfiguration<Awaited$
|
|
8203
|
+
swr?: SWRConfiguration<Awaited$f<ReturnType<typeof listEmailThreads>>, TError> & {
|
|
7945
8204
|
swrKey?: Key;
|
|
7946
8205
|
enabled?: boolean;
|
|
7947
8206
|
};
|
|
7948
|
-
request?: SecondParameter$
|
|
8207
|
+
request?: SecondParameter$f<typeof customFetch>;
|
|
7949
8208
|
}) => {
|
|
7950
8209
|
data: EmailThreadList | undefined;
|
|
7951
8210
|
error: TError | undefined;
|
|
@@ -7964,21 +8223,21 @@ The `body` is HTML by default. Set `is_html` to `false` to provide plain text in
|
|
|
7964
8223
|
*/
|
|
7965
8224
|
declare const getReplyToEmailUrl: (emailId: string) => string;
|
|
7966
8225
|
declare const replyToEmail: (emailId: string, replyToEmailBody: ReplyToEmailBody, options?: RequestInit) => Promise<EmailReplyResult>;
|
|
7967
|
-
declare const getReplyToEmailMutationFetcher: (emailId: string, options?: SecondParameter$
|
|
8226
|
+
declare const getReplyToEmailMutationFetcher: (emailId: string, options?: SecondParameter$f<typeof customFetch>) => (_: Key, { arg }: {
|
|
7968
8227
|
arg: ReplyToEmailBody;
|
|
7969
8228
|
}) => Promise<{
|
|
7970
8229
|
readonly sent: true;
|
|
7971
8230
|
}>;
|
|
7972
8231
|
declare const getReplyToEmailMutationKey: (emailId: string) => readonly [`/v1/emails/${string}/reply`];
|
|
7973
|
-
type ReplyToEmailMutationResult = NonNullable<Awaited$
|
|
8232
|
+
type ReplyToEmailMutationResult = NonNullable<Awaited$f<ReturnType<typeof replyToEmail>>>;
|
|
7974
8233
|
/**
|
|
7975
8234
|
* @summary Reply to email
|
|
7976
8235
|
*/
|
|
7977
8236
|
declare const useReplyToEmail: <TError = ErrorType<ErrorResponse>>(emailId: string, options?: {
|
|
7978
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
8237
|
+
swr?: SWRMutationConfiguration<Awaited$f<ReturnType<typeof replyToEmail>>, TError, Key, ReplyToEmailBody, Awaited$f<ReturnType<typeof replyToEmail>>> & {
|
|
7979
8238
|
swrKey?: string;
|
|
7980
8239
|
};
|
|
7981
|
-
request?: SecondParameter$
|
|
8240
|
+
request?: SecondParameter$f<typeof customFetch>;
|
|
7982
8241
|
}) => {
|
|
7983
8242
|
isMutating: boolean;
|
|
7984
8243
|
trigger: swr_mutation.TriggerWithArgs<{
|
|
@@ -7999,19 +8258,19 @@ The `body` is HTML by default. Set `is_html` to `false` to provide plain text in
|
|
|
7999
8258
|
*/
|
|
8000
8259
|
declare const getSendEmailUrl: () => string;
|
|
8001
8260
|
declare const sendEmail: (sendEmailBody: SendEmailBody, options?: RequestInit) => Promise<EmailSendResult>;
|
|
8002
|
-
declare const getSendEmailMutationFetcher: (options?: SecondParameter$
|
|
8261
|
+
declare const getSendEmailMutationFetcher: (options?: SecondParameter$f<typeof customFetch>) => (_: Key, { arg }: {
|
|
8003
8262
|
arg: SendEmailBody;
|
|
8004
8263
|
}) => Promise<EmailSendResult>;
|
|
8005
8264
|
declare const getSendEmailMutationKey: () => readonly ["/v1/emails/send"];
|
|
8006
|
-
type SendEmailMutationResult = NonNullable<Awaited$
|
|
8265
|
+
type SendEmailMutationResult = NonNullable<Awaited$f<ReturnType<typeof sendEmail>>>;
|
|
8007
8266
|
/**
|
|
8008
8267
|
* @summary Send email
|
|
8009
8268
|
*/
|
|
8010
8269
|
declare const useSendEmail: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
8011
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
8270
|
+
swr?: SWRMutationConfiguration<Awaited$f<ReturnType<typeof sendEmail>>, TError, Key, SendEmailBody, Awaited$f<ReturnType<typeof sendEmail>>> & {
|
|
8012
8271
|
swrKey?: string;
|
|
8013
8272
|
};
|
|
8014
|
-
request?: SecondParameter$
|
|
8273
|
+
request?: SecondParameter$f<typeof customFetch>;
|
|
8015
8274
|
}) => {
|
|
8016
8275
|
isMutating: boolean;
|
|
8017
8276
|
trigger: swr_mutation.TriggerWithArgs<EmailSendResult, TError, string | readonly ["/v1/emails/send"], SendEmailBody>;
|
|
@@ -8021,9 +8280,9 @@ declare const useSendEmail: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
|
8021
8280
|
swrKey: string | readonly ["/v1/emails/send"];
|
|
8022
8281
|
};
|
|
8023
8282
|
|
|
8024
|
-
type AwaitedInput$
|
|
8025
|
-
type Awaited$
|
|
8026
|
-
type SecondParameter$
|
|
8283
|
+
type AwaitedInput$e<T> = PromiseLike<T> | T;
|
|
8284
|
+
type Awaited$e<O> = O extends AwaitedInput$e<infer T> ? T : never;
|
|
8285
|
+
type SecondParameter$e<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
8027
8286
|
/**
|
|
8028
8287
|
* List all extraction jobs with pagination, filtering, and sorting.
|
|
8029
8288
|
|
|
@@ -8040,16 +8299,16 @@ Multiple scope filters can be combined (AND logic).
|
|
|
8040
8299
|
declare const getListExtractorJobsUrl: (params?: ListExtractorJobsParams) => string;
|
|
8041
8300
|
declare const listExtractorJobs: (params?: ListExtractorJobsParams, options?: RequestInit) => Promise<ExtractorJobList>;
|
|
8042
8301
|
declare const getListExtractorJobsKey: (params?: ListExtractorJobsParams) => readonly ["/v1/extractor-jobs", ...ListExtractorJobsParams[]];
|
|
8043
|
-
type ListExtractorJobsQueryResult = NonNullable<Awaited$
|
|
8302
|
+
type ListExtractorJobsQueryResult = NonNullable<Awaited$e<ReturnType<typeof listExtractorJobs>>>;
|
|
8044
8303
|
/**
|
|
8045
8304
|
* @summary List extractor jobs
|
|
8046
8305
|
*/
|
|
8047
8306
|
declare const useListExtractorJobs: <TError = ErrorType<ErrorResponse>>(params?: ListExtractorJobsParams, options?: {
|
|
8048
|
-
swr?: SWRConfiguration<Awaited$
|
|
8307
|
+
swr?: SWRConfiguration<Awaited$e<ReturnType<typeof listExtractorJobs>>, TError> & {
|
|
8049
8308
|
swrKey?: Key;
|
|
8050
8309
|
enabled?: boolean;
|
|
8051
8310
|
};
|
|
8052
|
-
request?: SecondParameter$
|
|
8311
|
+
request?: SecondParameter$e<typeof customFetch>;
|
|
8053
8312
|
}) => {
|
|
8054
8313
|
data: ExtractorJobList | undefined;
|
|
8055
8314
|
error: TError | undefined;
|
|
@@ -8066,19 +8325,19 @@ Provide a non-empty `scope` object to define what the extractor should process (
|
|
|
8066
8325
|
*/
|
|
8067
8326
|
declare const getCreateExtractorJobUrl: () => string;
|
|
8068
8327
|
declare const createExtractorJob: (createExtractorJobBody: CreateExtractorJobBody, options?: RequestInit) => Promise<ExtractorJobCreated>;
|
|
8069
|
-
declare const getCreateExtractorJobMutationFetcher: (options?: SecondParameter$
|
|
8328
|
+
declare const getCreateExtractorJobMutationFetcher: (options?: SecondParameter$e<typeof customFetch>) => (_: Key, { arg }: {
|
|
8070
8329
|
arg: CreateExtractorJobBody;
|
|
8071
8330
|
}) => Promise<ExtractorJobCreated>;
|
|
8072
8331
|
declare const getCreateExtractorJobMutationKey: () => readonly ["/v1/extractor-jobs"];
|
|
8073
|
-
type CreateExtractorJobMutationResult = NonNullable<Awaited$
|
|
8332
|
+
type CreateExtractorJobMutationResult = NonNullable<Awaited$e<ReturnType<typeof createExtractorJob>>>;
|
|
8074
8333
|
/**
|
|
8075
8334
|
* @summary Create extractor job
|
|
8076
8335
|
*/
|
|
8077
8336
|
declare const useCreateExtractorJob: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
8078
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
8337
|
+
swr?: SWRMutationConfiguration<Awaited$e<ReturnType<typeof createExtractorJob>>, TError, Key, CreateExtractorJobBody, Awaited$e<ReturnType<typeof createExtractorJob>>> & {
|
|
8079
8338
|
swrKey?: string;
|
|
8080
8339
|
};
|
|
8081
|
-
request?: SecondParameter$
|
|
8340
|
+
request?: SecondParameter$e<typeof customFetch>;
|
|
8082
8341
|
}) => {
|
|
8083
8342
|
isMutating: boolean;
|
|
8084
8343
|
trigger: swr_mutation.TriggerWithArgs<ExtractorJobCreated, TError, string | readonly ["/v1/extractor-jobs"], CreateExtractorJobBody>;
|
|
@@ -8094,16 +8353,16 @@ declare const useCreateExtractorJob: <TError = ErrorType<ErrorResponse>>(options
|
|
|
8094
8353
|
declare const getGetExtractorJobUrl: (id: string) => string;
|
|
8095
8354
|
declare const getExtractorJob: (id: string, options?: RequestInit) => Promise<GetExtractorJobResponse>;
|
|
8096
8355
|
declare const getGetExtractorJobKey: (id: string) => readonly [`/v1/extractor-jobs/${string}`];
|
|
8097
|
-
type GetExtractorJobQueryResult = NonNullable<Awaited$
|
|
8356
|
+
type GetExtractorJobQueryResult = NonNullable<Awaited$e<ReturnType<typeof getExtractorJob>>>;
|
|
8098
8357
|
/**
|
|
8099
8358
|
* @summary Get extractor job
|
|
8100
8359
|
*/
|
|
8101
8360
|
declare const useGetExtractorJob: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
8102
|
-
swr?: SWRConfiguration<Awaited$
|
|
8361
|
+
swr?: SWRConfiguration<Awaited$e<ReturnType<typeof getExtractorJob>>, TError> & {
|
|
8103
8362
|
swrKey?: Key;
|
|
8104
8363
|
enabled?: boolean;
|
|
8105
8364
|
};
|
|
8106
|
-
request?: SecondParameter$
|
|
8365
|
+
request?: SecondParameter$e<typeof customFetch>;
|
|
8107
8366
|
}) => {
|
|
8108
8367
|
data: GetExtractorJobResponse | undefined;
|
|
8109
8368
|
error: TError | undefined;
|
|
@@ -8113,28 +8372,28 @@ declare const useGetExtractorJob: <TError = ErrorType<ErrorResponse>>(id: string
|
|
|
8113
8372
|
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
|
|
8114
8373
|
};
|
|
8115
8374
|
|
|
8116
|
-
type AwaitedInput$
|
|
8117
|
-
type Awaited$
|
|
8118
|
-
type SecondParameter$
|
|
8375
|
+
type AwaitedInput$d<T> = PromiseLike<T> | T;
|
|
8376
|
+
type Awaited$d<O> = O extends AwaitedInput$d<infer T> ? T : never;
|
|
8377
|
+
type SecondParameter$d<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
8119
8378
|
/**
|
|
8120
8379
|
* Create a new extractor with a name and JSON schema defining the extraction output format.
|
|
8121
8380
|
* @summary Create extractor
|
|
8122
8381
|
*/
|
|
8123
8382
|
declare const getCreateExtractorUrl: () => string;
|
|
8124
8383
|
declare const createExtractor: (createExtractorBody: CreateExtractorBody, options?: RequestInit) => Promise<ExtractorCreated>;
|
|
8125
|
-
declare const getCreateExtractorMutationFetcher: (options?: SecondParameter$
|
|
8384
|
+
declare const getCreateExtractorMutationFetcher: (options?: SecondParameter$d<typeof customFetch>) => (_: Key, { arg }: {
|
|
8126
8385
|
arg: CreateExtractorBody;
|
|
8127
8386
|
}) => Promise<ExtractorCreated>;
|
|
8128
8387
|
declare const getCreateExtractorMutationKey: () => readonly ["/v1/extractors"];
|
|
8129
|
-
type CreateExtractorMutationResult = NonNullable<Awaited$
|
|
8388
|
+
type CreateExtractorMutationResult = NonNullable<Awaited$d<ReturnType<typeof createExtractor>>>;
|
|
8130
8389
|
/**
|
|
8131
8390
|
* @summary Create extractor
|
|
8132
8391
|
*/
|
|
8133
8392
|
declare const useCreateExtractor: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
8134
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
8393
|
+
swr?: SWRMutationConfiguration<Awaited$d<ReturnType<typeof createExtractor>>, TError, Key, CreateExtractorBody, Awaited$d<ReturnType<typeof createExtractor>>> & {
|
|
8135
8394
|
swrKey?: string;
|
|
8136
8395
|
};
|
|
8137
|
-
request?: SecondParameter$
|
|
8396
|
+
request?: SecondParameter$d<typeof customFetch>;
|
|
8138
8397
|
}) => {
|
|
8139
8398
|
isMutating: boolean;
|
|
8140
8399
|
trigger: swr_mutation.TriggerWithArgs<ExtractorCreated, TError, string | readonly ["/v1/extractors"], CreateExtractorBody>;
|
|
@@ -8152,16 +8411,16 @@ Filter by name using the `name` query parameter.
|
|
|
8152
8411
|
declare const getListExtractorsUrl: (params?: ListExtractorsParams) => string;
|
|
8153
8412
|
declare const listExtractors: (params?: ListExtractorsParams, options?: RequestInit) => Promise<ExtractorList>;
|
|
8154
8413
|
declare const getListExtractorsKey: (params?: ListExtractorsParams) => readonly ["/v1/extractors", ...ListExtractorsParams[]];
|
|
8155
|
-
type ListExtractorsQueryResult = NonNullable<Awaited$
|
|
8414
|
+
type ListExtractorsQueryResult = NonNullable<Awaited$d<ReturnType<typeof listExtractors>>>;
|
|
8156
8415
|
/**
|
|
8157
8416
|
* @summary List extractors
|
|
8158
8417
|
*/
|
|
8159
8418
|
declare const useListExtractors: <TError = ErrorType<ErrorResponse>>(params?: ListExtractorsParams, options?: {
|
|
8160
|
-
swr?: SWRConfiguration<Awaited$
|
|
8419
|
+
swr?: SWRConfiguration<Awaited$d<ReturnType<typeof listExtractors>>, TError> & {
|
|
8161
8420
|
swrKey?: Key;
|
|
8162
8421
|
enabled?: boolean;
|
|
8163
8422
|
};
|
|
8164
|
-
request?: SecondParameter$
|
|
8423
|
+
request?: SecondParameter$d<typeof customFetch>;
|
|
8165
8424
|
}) => {
|
|
8166
8425
|
data: ExtractorList | undefined;
|
|
8167
8426
|
error: TError | undefined;
|
|
@@ -8177,16 +8436,16 @@ declare const useListExtractors: <TError = ErrorType<ErrorResponse>>(params?: Li
|
|
|
8177
8436
|
declare const getGetExtractorUrl: (id: string) => string;
|
|
8178
8437
|
declare const getExtractor: (id: string, options?: RequestInit) => Promise<GetExtractorResponse>;
|
|
8179
8438
|
declare const getGetExtractorKey: (id: string) => readonly [`/v1/extractors/${string}`];
|
|
8180
|
-
type GetExtractorQueryResult = NonNullable<Awaited$
|
|
8439
|
+
type GetExtractorQueryResult = NonNullable<Awaited$d<ReturnType<typeof getExtractor>>>;
|
|
8181
8440
|
/**
|
|
8182
8441
|
* @summary Get extractor
|
|
8183
8442
|
*/
|
|
8184
8443
|
declare const useGetExtractor: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
8185
|
-
swr?: SWRConfiguration<Awaited$
|
|
8444
|
+
swr?: SWRConfiguration<Awaited$d<ReturnType<typeof getExtractor>>, TError> & {
|
|
8186
8445
|
swrKey?: Key;
|
|
8187
8446
|
enabled?: boolean;
|
|
8188
8447
|
};
|
|
8189
|
-
request?: SecondParameter$
|
|
8448
|
+
request?: SecondParameter$d<typeof customFetch>;
|
|
8190
8449
|
}) => {
|
|
8191
8450
|
data: GetExtractorResponse | undefined;
|
|
8192
8451
|
error: TError | undefined;
|
|
@@ -8201,19 +8460,19 @@ declare const useGetExtractor: <TError = ErrorType<ErrorResponse>>(id: string, o
|
|
|
8201
8460
|
*/
|
|
8202
8461
|
declare const getUpdateExtractorUrl: (id: string) => string;
|
|
8203
8462
|
declare const updateExtractor: (id: string, updateExtractorBody: UpdateExtractorBody, options?: RequestInit) => Promise<ExtractorUpdated>;
|
|
8204
|
-
declare const getUpdateExtractorMutationFetcher: (id: string, options?: SecondParameter$
|
|
8463
|
+
declare const getUpdateExtractorMutationFetcher: (id: string, options?: SecondParameter$d<typeof customFetch>) => (_: Key, { arg }: {
|
|
8205
8464
|
arg: UpdateExtractorBody;
|
|
8206
8465
|
}) => Promise<ExtractorUpdated>;
|
|
8207
8466
|
declare const getUpdateExtractorMutationKey: (id: string) => readonly [`/v1/extractors/${string}`];
|
|
8208
|
-
type UpdateExtractorMutationResult = NonNullable<Awaited$
|
|
8467
|
+
type UpdateExtractorMutationResult = NonNullable<Awaited$d<ReturnType<typeof updateExtractor>>>;
|
|
8209
8468
|
/**
|
|
8210
8469
|
* @summary Update extractor
|
|
8211
8470
|
*/
|
|
8212
8471
|
declare const useUpdateExtractor: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
8213
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
8472
|
+
swr?: SWRMutationConfiguration<Awaited$d<ReturnType<typeof updateExtractor>>, TError, Key, UpdateExtractorBody, Awaited$d<ReturnType<typeof updateExtractor>>> & {
|
|
8214
8473
|
swrKey?: string;
|
|
8215
8474
|
};
|
|
8216
|
-
request?: SecondParameter$
|
|
8475
|
+
request?: SecondParameter$d<typeof customFetch>;
|
|
8217
8476
|
}) => {
|
|
8218
8477
|
isMutating: boolean;
|
|
8219
8478
|
trigger: swr_mutation.TriggerWithArgs<ExtractorUpdated, TError, string | readonly [`/v1/extractors/${string}`], UpdateExtractorBody>;
|
|
@@ -8228,19 +8487,19 @@ declare const useUpdateExtractor: <TError = ErrorType<ErrorResponse>>(id: string
|
|
|
8228
8487
|
*/
|
|
8229
8488
|
declare const getDeleteExtractorUrl: (id: string) => string;
|
|
8230
8489
|
declare const deleteExtractor: (id: string, options?: RequestInit) => Promise<DeleteExtractorResponse>;
|
|
8231
|
-
declare const getDeleteExtractorMutationFetcher: (id: string, options?: SecondParameter$
|
|
8490
|
+
declare const getDeleteExtractorMutationFetcher: (id: string, options?: SecondParameter$d<typeof customFetch>) => (_: Key, __: {
|
|
8232
8491
|
arg: Arguments;
|
|
8233
8492
|
}) => Promise<DeleteExtractorResponse>;
|
|
8234
8493
|
declare const getDeleteExtractorMutationKey: (id: string) => readonly [`/v1/extractors/${string}`];
|
|
8235
|
-
type DeleteExtractorMutationResult = NonNullable<Awaited$
|
|
8494
|
+
type DeleteExtractorMutationResult = NonNullable<Awaited$d<ReturnType<typeof deleteExtractor>>>;
|
|
8236
8495
|
/**
|
|
8237
8496
|
* @summary Delete extractor
|
|
8238
8497
|
*/
|
|
8239
8498
|
declare const useDeleteExtractor: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
8240
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
8499
|
+
swr?: SWRMutationConfiguration<Awaited$d<ReturnType<typeof deleteExtractor>>, TError, Key, Arguments, Awaited$d<ReturnType<typeof deleteExtractor>>> & {
|
|
8241
8500
|
swrKey?: string;
|
|
8242
8501
|
};
|
|
8243
|
-
request?: SecondParameter$
|
|
8502
|
+
request?: SecondParameter$d<typeof customFetch>;
|
|
8244
8503
|
}) => {
|
|
8245
8504
|
isMutating: boolean;
|
|
8246
8505
|
trigger: swr_mutation.TriggerWithOptionsArgs<DeleteExtractorResponse, TError, string | readonly [`/v1/extractors/${string}`], Arguments>;
|
|
@@ -8250,9 +8509,9 @@ declare const useDeleteExtractor: <TError = ErrorType<ErrorResponse>>(id: string
|
|
|
8250
8509
|
swrKey: string | readonly [`/v1/extractors/${string}`];
|
|
8251
8510
|
};
|
|
8252
8511
|
|
|
8253
|
-
type AwaitedInput$
|
|
8254
|
-
type Awaited$
|
|
8255
|
-
type SecondParameter$
|
|
8512
|
+
type AwaitedInput$c<T> = PromiseLike<T> | T;
|
|
8513
|
+
type Awaited$c<O> = O extends AwaitedInput$c<infer T> ? T : never;
|
|
8514
|
+
type SecondParameter$c<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
8256
8515
|
/**
|
|
8257
8516
|
* Retrieve a single extract by ID, including the extraction result data.
|
|
8258
8517
|
* @summary Get extract
|
|
@@ -8260,16 +8519,16 @@ type SecondParameter$b<T extends (...args: never) => unknown> = Parameters<T>[1]
|
|
|
8260
8519
|
declare const getGetExtractUrl: (id: string) => string;
|
|
8261
8520
|
declare const getExtract: (id: string, options?: RequestInit) => Promise<Extract>;
|
|
8262
8521
|
declare const getGetExtractKey: (id: string) => readonly [`/v1/extracts/${string}`];
|
|
8263
|
-
type GetExtractQueryResult = NonNullable<Awaited$
|
|
8522
|
+
type GetExtractQueryResult = NonNullable<Awaited$c<ReturnType<typeof getExtract>>>;
|
|
8264
8523
|
/**
|
|
8265
8524
|
* @summary Get extract
|
|
8266
8525
|
*/
|
|
8267
8526
|
declare const useGetExtract: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
8268
|
-
swr?: SWRConfiguration<Awaited$
|
|
8527
|
+
swr?: SWRConfiguration<Awaited$c<ReturnType<typeof getExtract>>, TError> & {
|
|
8269
8528
|
swrKey?: Key;
|
|
8270
8529
|
enabled?: boolean;
|
|
8271
8530
|
};
|
|
8272
|
-
request?: SecondParameter$
|
|
8531
|
+
request?: SecondParameter$c<typeof customFetch>;
|
|
8273
8532
|
}) => {
|
|
8274
8533
|
data: Extract | undefined;
|
|
8275
8534
|
error: TError | undefined;
|
|
@@ -8285,16 +8544,16 @@ declare const useGetExtract: <TError = ErrorType<ErrorResponse>>(id: string, opt
|
|
|
8285
8544
|
declare const getGetExtractCitationsUrl: (id: string) => string;
|
|
8286
8545
|
declare const getExtractCitations: (id: string, options?: RequestInit) => Promise<GetExtractCitations200>;
|
|
8287
8546
|
declare const getGetExtractCitationsKey: (id: string) => readonly [`/v1/extracts/${string}/citations`];
|
|
8288
|
-
type GetExtractCitationsQueryResult = NonNullable<Awaited$
|
|
8547
|
+
type GetExtractCitationsQueryResult = NonNullable<Awaited$c<ReturnType<typeof getExtractCitations>>>;
|
|
8289
8548
|
/**
|
|
8290
8549
|
* @summary Get extract citations
|
|
8291
8550
|
*/
|
|
8292
8551
|
declare const useGetExtractCitations: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
8293
|
-
swr?: SWRConfiguration<Awaited$
|
|
8552
|
+
swr?: SWRConfiguration<Awaited$c<ReturnType<typeof getExtractCitations>>, TError> & {
|
|
8294
8553
|
swrKey?: Key;
|
|
8295
8554
|
enabled?: boolean;
|
|
8296
8555
|
};
|
|
8297
|
-
request?: SecondParameter$
|
|
8556
|
+
request?: SecondParameter$c<typeof customFetch>;
|
|
8298
8557
|
}) => {
|
|
8299
8558
|
data: GetExtractCitations200 | undefined;
|
|
8300
8559
|
error: TError | undefined;
|
|
@@ -8317,16 +8576,16 @@ Multiple scope filters can be combined (AND logic).
|
|
|
8317
8576
|
declare const getListExtractsUrl: (params?: ListExtractsParams) => string;
|
|
8318
8577
|
declare const listExtracts: (params?: ListExtractsParams, options?: RequestInit) => Promise<ExtractList>;
|
|
8319
8578
|
declare const getListExtractsKey: (params?: ListExtractsParams) => readonly ["/v1/extracts", ...ListExtractsParams[]];
|
|
8320
|
-
type ListExtractsQueryResult = NonNullable<Awaited$
|
|
8579
|
+
type ListExtractsQueryResult = NonNullable<Awaited$c<ReturnType<typeof listExtracts>>>;
|
|
8321
8580
|
/**
|
|
8322
8581
|
* @summary List extracts
|
|
8323
8582
|
*/
|
|
8324
8583
|
declare const useListExtracts: <TError = ErrorType<ErrorResponse>>(params?: ListExtractsParams, options?: {
|
|
8325
|
-
swr?: SWRConfiguration<Awaited$
|
|
8584
|
+
swr?: SWRConfiguration<Awaited$c<ReturnType<typeof listExtracts>>, TError> & {
|
|
8326
8585
|
swrKey?: Key;
|
|
8327
8586
|
enabled?: boolean;
|
|
8328
8587
|
};
|
|
8329
|
-
request?: SecondParameter$
|
|
8588
|
+
request?: SecondParameter$c<typeof customFetch>;
|
|
8330
8589
|
}) => {
|
|
8331
8590
|
data: ExtractList | undefined;
|
|
8332
8591
|
error: TError | undefined;
|
|
@@ -8336,9 +8595,9 @@ declare const useListExtracts: <TError = ErrorType<ErrorResponse>>(params?: List
|
|
|
8336
8595
|
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
|
|
8337
8596
|
};
|
|
8338
8597
|
|
|
8339
|
-
type AwaitedInput$
|
|
8340
|
-
type Awaited$
|
|
8341
|
-
type SecondParameter$
|
|
8598
|
+
type AwaitedInput$b<T> = PromiseLike<T> | T;
|
|
8599
|
+
type Awaited$b<O> = O extends AwaitedInput$b<infer T> ? T : never;
|
|
8600
|
+
type SecondParameter$b<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
8342
8601
|
/**
|
|
8343
8602
|
* Check whether a given email username is available for creating a new inbox.
|
|
8344
8603
|
|
|
@@ -8349,16 +8608,16 @@ For compatibility this endpoint is also available using the following (deprecate
|
|
|
8349
8608
|
declare const getCheckInboxAvailabilityUrl: (params: CheckInboxAvailabilityParams) => string;
|
|
8350
8609
|
declare const checkInboxAvailability: (params: CheckInboxAvailabilityParams, options?: RequestInit) => Promise<InboxAvailability>;
|
|
8351
8610
|
declare const getCheckInboxAvailabilityKey: (params: CheckInboxAvailabilityParams) => readonly ["/v1/inboxes/availability", ...CheckInboxAvailabilityParams[]];
|
|
8352
|
-
type CheckInboxAvailabilityQueryResult = NonNullable<Awaited$
|
|
8611
|
+
type CheckInboxAvailabilityQueryResult = NonNullable<Awaited$b<ReturnType<typeof checkInboxAvailability>>>;
|
|
8353
8612
|
/**
|
|
8354
8613
|
* @summary Check email username availability
|
|
8355
8614
|
*/
|
|
8356
8615
|
declare const useCheckInboxAvailability: <TError = ErrorType<ErrorResponse>>(params: CheckInboxAvailabilityParams, options?: {
|
|
8357
|
-
swr?: SWRConfiguration<Awaited$
|
|
8616
|
+
swr?: SWRConfiguration<Awaited$b<ReturnType<typeof checkInboxAvailability>>, TError> & {
|
|
8358
8617
|
swrKey?: Key;
|
|
8359
8618
|
enabled?: boolean;
|
|
8360
8619
|
};
|
|
8361
|
-
request?: SecondParameter$
|
|
8620
|
+
request?: SecondParameter$b<typeof customFetch>;
|
|
8362
8621
|
}) => {
|
|
8363
8622
|
data: InboxAvailability | undefined;
|
|
8364
8623
|
error: TError | undefined;
|
|
@@ -8380,19 +8639,19 @@ For compatibility this endpoint is also available using the following (deprecate
|
|
|
8380
8639
|
*/
|
|
8381
8640
|
declare const getCreateInboxUrl: () => string;
|
|
8382
8641
|
declare const createInbox: (createInboxBody: CreateInboxBody, options?: RequestInit) => Promise<Inbox>;
|
|
8383
|
-
declare const getCreateInboxMutationFetcher: (options?: SecondParameter$
|
|
8642
|
+
declare const getCreateInboxMutationFetcher: (options?: SecondParameter$b<typeof customFetch>) => (_: Key, { arg }: {
|
|
8384
8643
|
arg: CreateInboxBody;
|
|
8385
8644
|
}) => Promise<Inbox>;
|
|
8386
8645
|
declare const getCreateInboxMutationKey: () => readonly ["/v1/inboxes"];
|
|
8387
|
-
type CreateInboxMutationResult = NonNullable<Awaited$
|
|
8646
|
+
type CreateInboxMutationResult = NonNullable<Awaited$b<ReturnType<typeof createInbox>>>;
|
|
8388
8647
|
/**
|
|
8389
8648
|
* @summary Create inbox
|
|
8390
8649
|
*/
|
|
8391
8650
|
declare const useCreateInbox: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
8392
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
8651
|
+
swr?: SWRMutationConfiguration<Awaited$b<ReturnType<typeof createInbox>>, TError, Key, CreateInboxBody, Awaited$b<ReturnType<typeof createInbox>>> & {
|
|
8393
8652
|
swrKey?: string;
|
|
8394
8653
|
};
|
|
8395
|
-
request?: SecondParameter$
|
|
8654
|
+
request?: SecondParameter$b<typeof customFetch>;
|
|
8396
8655
|
}) => {
|
|
8397
8656
|
isMutating: boolean;
|
|
8398
8657
|
trigger: swr_mutation.TriggerWithArgs<Inbox, TError, string | readonly ["/v1/inboxes"], CreateInboxBody>;
|
|
@@ -8411,16 +8670,16 @@ For compatibility this endpoint is also available using the following (deprecate
|
|
|
8411
8670
|
declare const getListInboxesUrl: (params?: ListInboxesParams) => string;
|
|
8412
8671
|
declare const listInboxes: (params?: ListInboxesParams, options?: RequestInit) => Promise<InboxList>;
|
|
8413
8672
|
declare const getListInboxesKey: (params?: ListInboxesParams) => readonly ["/v1/inboxes", ...ListInboxesParams[]];
|
|
8414
|
-
type ListInboxesQueryResult = NonNullable<Awaited$
|
|
8673
|
+
type ListInboxesQueryResult = NonNullable<Awaited$b<ReturnType<typeof listInboxes>>>;
|
|
8415
8674
|
/**
|
|
8416
8675
|
* @summary List inboxes
|
|
8417
8676
|
*/
|
|
8418
8677
|
declare const useListInboxes: <TError = ErrorType<ErrorResponse>>(params?: ListInboxesParams, options?: {
|
|
8419
|
-
swr?: SWRConfiguration<Awaited$
|
|
8678
|
+
swr?: SWRConfiguration<Awaited$b<ReturnType<typeof listInboxes>>, TError> & {
|
|
8420
8679
|
swrKey?: Key;
|
|
8421
8680
|
enabled?: boolean;
|
|
8422
8681
|
};
|
|
8423
|
-
request?: SecondParameter$
|
|
8682
|
+
request?: SecondParameter$b<typeof customFetch>;
|
|
8424
8683
|
}) => {
|
|
8425
8684
|
data: InboxList | undefined;
|
|
8426
8685
|
error: TError | undefined;
|
|
@@ -8438,19 +8697,19 @@ For compatibility this endpoint is also available using the following (deprecate
|
|
|
8438
8697
|
*/
|
|
8439
8698
|
declare const getUpdateInboxUrl: (inboxId: string) => string;
|
|
8440
8699
|
declare const updateInbox: (inboxId: string, updateInboxBody: UpdateInboxBody, options?: RequestInit) => Promise<Inbox>;
|
|
8441
|
-
declare const getUpdateInboxMutationFetcher: (inboxId: string, options?: SecondParameter$
|
|
8700
|
+
declare const getUpdateInboxMutationFetcher: (inboxId: string, options?: SecondParameter$b<typeof customFetch>) => (_: Key, { arg }: {
|
|
8442
8701
|
arg: UpdateInboxBody;
|
|
8443
8702
|
}) => Promise<Inbox>;
|
|
8444
8703
|
declare const getUpdateInboxMutationKey: (inboxId: string) => readonly [`/v1/inboxes/${string}`];
|
|
8445
|
-
type UpdateInboxMutationResult = NonNullable<Awaited$
|
|
8704
|
+
type UpdateInboxMutationResult = NonNullable<Awaited$b<ReturnType<typeof updateInbox>>>;
|
|
8446
8705
|
/**
|
|
8447
8706
|
* @summary Update inbox
|
|
8448
8707
|
*/
|
|
8449
8708
|
declare const useUpdateInbox: <TError = ErrorType<ErrorResponse>>(inboxId: string, options?: {
|
|
8450
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
8709
|
+
swr?: SWRMutationConfiguration<Awaited$b<ReturnType<typeof updateInbox>>, TError, Key, UpdateInboxBody, Awaited$b<ReturnType<typeof updateInbox>>> & {
|
|
8451
8710
|
swrKey?: string;
|
|
8452
8711
|
};
|
|
8453
|
-
request?: SecondParameter$
|
|
8712
|
+
request?: SecondParameter$b<typeof customFetch>;
|
|
8454
8713
|
}) => {
|
|
8455
8714
|
isMutating: boolean;
|
|
8456
8715
|
trigger: swr_mutation.TriggerWithArgs<Inbox, TError, string | readonly [`/v1/inboxes/${string}`], UpdateInboxBody>;
|
|
@@ -8465,19 +8724,19 @@ declare const useUpdateInbox: <TError = ErrorType<ErrorResponse>>(inboxId: strin
|
|
|
8465
8724
|
*/
|
|
8466
8725
|
declare const getDeleteInboxUrl: (inboxId: string) => string;
|
|
8467
8726
|
declare const deleteInbox: (inboxId: string, options?: RequestInit) => Promise<DeleteInboxResponse>;
|
|
8468
|
-
declare const getDeleteInboxMutationFetcher: (inboxId: string, options?: SecondParameter$
|
|
8727
|
+
declare const getDeleteInboxMutationFetcher: (inboxId: string, options?: SecondParameter$b<typeof customFetch>) => (_: Key, __: {
|
|
8469
8728
|
arg: Arguments;
|
|
8470
8729
|
}) => Promise<DeleteInboxResponse>;
|
|
8471
8730
|
declare const getDeleteInboxMutationKey: (inboxId: string) => readonly [`/v1/inboxes/${string}`];
|
|
8472
|
-
type DeleteInboxMutationResult = NonNullable<Awaited$
|
|
8731
|
+
type DeleteInboxMutationResult = NonNullable<Awaited$b<ReturnType<typeof deleteInbox>>>;
|
|
8473
8732
|
/**
|
|
8474
8733
|
* @summary Delete inbox
|
|
8475
8734
|
*/
|
|
8476
8735
|
declare const useDeleteInbox: <TError = ErrorType<ErrorResponse>>(inboxId: string, options?: {
|
|
8477
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
8736
|
+
swr?: SWRMutationConfiguration<Awaited$b<ReturnType<typeof deleteInbox>>, TError, Key, Arguments, Awaited$b<ReturnType<typeof deleteInbox>>> & {
|
|
8478
8737
|
swrKey?: string;
|
|
8479
8738
|
};
|
|
8480
|
-
request?: SecondParameter$
|
|
8739
|
+
request?: SecondParameter$b<typeof customFetch>;
|
|
8481
8740
|
}) => {
|
|
8482
8741
|
isMutating: boolean;
|
|
8483
8742
|
trigger: swr_mutation.TriggerWithOptionsArgs<DeleteInboxResponse, TError, string | readonly [`/v1/inboxes/${string}`], Arguments>;
|
|
@@ -8487,9 +8746,9 @@ declare const useDeleteInbox: <TError = ErrorType<ErrorResponse>>(inboxId: strin
|
|
|
8487
8746
|
swrKey: string | readonly [`/v1/inboxes/${string}`];
|
|
8488
8747
|
};
|
|
8489
8748
|
|
|
8490
|
-
type AwaitedInput$
|
|
8491
|
-
type Awaited$
|
|
8492
|
-
type SecondParameter$
|
|
8749
|
+
type AwaitedInput$a<T> = PromiseLike<T> | T;
|
|
8750
|
+
type Awaited$a<O> = O extends AwaitedInput$a<infer T> ? T : never;
|
|
8751
|
+
type SecondParameter$a<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
8493
8752
|
/**
|
|
8494
8753
|
* Schedule a new outbound call job for a voice agent.
|
|
8495
8754
|
|
|
@@ -8509,19 +8768,19 @@ For compatibility this endpoint is also available using the following (deprecate
|
|
|
8509
8768
|
*/
|
|
8510
8769
|
declare const getScheduleJobUrl: (voiceAgentId: string) => string;
|
|
8511
8770
|
declare const scheduleJob: (voiceAgentId: string, scheduleJobBody: ScheduleJobBody, options?: RequestInit) => Promise<OutboundJob>;
|
|
8512
|
-
declare const getScheduleJobMutationFetcher: (voiceAgentId: string, options?: SecondParameter$
|
|
8771
|
+
declare const getScheduleJobMutationFetcher: (voiceAgentId: string, options?: SecondParameter$a<typeof customFetch>) => (_: Key, { arg }: {
|
|
8513
8772
|
arg: ScheduleJobBody;
|
|
8514
8773
|
}) => Promise<OutboundJob>;
|
|
8515
8774
|
declare const getScheduleJobMutationKey: (voiceAgentId: string) => readonly [`/v1/voice-agents/${string}/jobs`];
|
|
8516
|
-
type ScheduleJobMutationResult = NonNullable<Awaited$
|
|
8775
|
+
type ScheduleJobMutationResult = NonNullable<Awaited$a<ReturnType<typeof scheduleJob>>>;
|
|
8517
8776
|
/**
|
|
8518
8777
|
* @summary Schedule an outbound job
|
|
8519
8778
|
*/
|
|
8520
8779
|
declare const useScheduleJob: <TError = ErrorType<ErrorResponse>>(voiceAgentId: string, options?: {
|
|
8521
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
8780
|
+
swr?: SWRMutationConfiguration<Awaited$a<ReturnType<typeof scheduleJob>>, TError, Key, ScheduleJobBody, Awaited$a<ReturnType<typeof scheduleJob>>> & {
|
|
8522
8781
|
swrKey?: string;
|
|
8523
8782
|
};
|
|
8524
|
-
request?: SecondParameter$
|
|
8783
|
+
request?: SecondParameter$a<typeof customFetch>;
|
|
8525
8784
|
}) => {
|
|
8526
8785
|
isMutating: boolean;
|
|
8527
8786
|
trigger: swr_mutation.TriggerWithArgs<OutboundJob, TError, string | readonly [`/v1/voice-agents/${string}/jobs`], ScheduleJobBody>;
|
|
@@ -8545,16 +8804,16 @@ For compatibility this endpoint is also available using the following (deprecate
|
|
|
8545
8804
|
declare const getListJobsUrl: (params: ListJobsParams) => string;
|
|
8546
8805
|
declare const listJobs: (params: ListJobsParams, options?: RequestInit) => Promise<OutboundJobList>;
|
|
8547
8806
|
declare const getListJobsKey: (params: ListJobsParams) => readonly ["/v1/voice-agents/jobs", ...ListJobsParams[]];
|
|
8548
|
-
type ListJobsQueryResult = NonNullable<Awaited$
|
|
8807
|
+
type ListJobsQueryResult = NonNullable<Awaited$a<ReturnType<typeof listJobs>>>;
|
|
8549
8808
|
/**
|
|
8550
8809
|
* @summary List outbound jobs
|
|
8551
8810
|
*/
|
|
8552
8811
|
declare const useListJobs: <TError = ErrorType<ErrorResponse>>(params: ListJobsParams, options?: {
|
|
8553
|
-
swr?: SWRConfiguration<Awaited$
|
|
8812
|
+
swr?: SWRConfiguration<Awaited$a<ReturnType<typeof listJobs>>, TError> & {
|
|
8554
8813
|
swrKey?: Key;
|
|
8555
8814
|
enabled?: boolean;
|
|
8556
8815
|
};
|
|
8557
|
-
request?: SecondParameter$
|
|
8816
|
+
request?: SecondParameter$a<typeof customFetch>;
|
|
8558
8817
|
}) => {
|
|
8559
8818
|
data: OutboundJobList | undefined;
|
|
8560
8819
|
error: TError | undefined;
|
|
@@ -8572,19 +8831,19 @@ For compatibility this endpoint is also available using the following (deprecate
|
|
|
8572
8831
|
*/
|
|
8573
8832
|
declare const getCancelJobUrl: (jobId: string) => string;
|
|
8574
8833
|
declare const cancelJob: (jobId: string, options?: RequestInit) => Promise<OutboundJob>;
|
|
8575
|
-
declare const getCancelJobMutationFetcher: (jobId: string, options?: SecondParameter$
|
|
8834
|
+
declare const getCancelJobMutationFetcher: (jobId: string, options?: SecondParameter$a<typeof customFetch>) => (_: Key, __: {
|
|
8576
8835
|
arg: Arguments;
|
|
8577
8836
|
}) => Promise<OutboundJob>;
|
|
8578
8837
|
declare const getCancelJobMutationKey: (jobId: string) => readonly [`/v1/voice-agents/jobs/${string}/cancel`];
|
|
8579
|
-
type CancelJobMutationResult = NonNullable<Awaited$
|
|
8838
|
+
type CancelJobMutationResult = NonNullable<Awaited$a<ReturnType<typeof cancelJob>>>;
|
|
8580
8839
|
/**
|
|
8581
8840
|
* @summary Cancel an outbound job
|
|
8582
8841
|
*/
|
|
8583
8842
|
declare const useCancelJob: <TError = ErrorType<ErrorResponse>>(jobId: string, options?: {
|
|
8584
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
8843
|
+
swr?: SWRMutationConfiguration<Awaited$a<ReturnType<typeof cancelJob>>, TError, Key, Arguments, Awaited$a<ReturnType<typeof cancelJob>>> & {
|
|
8585
8844
|
swrKey?: string;
|
|
8586
8845
|
};
|
|
8587
|
-
request?: SecondParameter$
|
|
8846
|
+
request?: SecondParameter$a<typeof customFetch>;
|
|
8588
8847
|
}) => {
|
|
8589
8848
|
isMutating: boolean;
|
|
8590
8849
|
trigger: swr_mutation.TriggerWithOptionsArgs<OutboundJob, TError, string | readonly [`/v1/voice-agents/jobs/${string}/cancel`], Arguments>;
|
|
@@ -8594,9 +8853,9 @@ declare const useCancelJob: <TError = ErrorType<ErrorResponse>>(jobId: string, o
|
|
|
8594
8853
|
swrKey: string | readonly [`/v1/voice-agents/jobs/${string}/cancel`];
|
|
8595
8854
|
};
|
|
8596
8855
|
|
|
8597
|
-
type AwaitedInput$
|
|
8598
|
-
type Awaited$
|
|
8599
|
-
type SecondParameter$
|
|
8856
|
+
type AwaitedInput$9<T> = PromiseLike<T> | T;
|
|
8857
|
+
type Awaited$9<O> = O extends AwaitedInput$9<infer T> ? T : never;
|
|
8858
|
+
type SecondParameter$9<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
8600
8859
|
/**
|
|
8601
8860
|
* Retrieve the current user's profile information. This endpoint requires a user session and cannot be used with API Keys.
|
|
8602
8861
|
* @summary Get profile
|
|
@@ -8604,16 +8863,16 @@ type SecondParameter$8<T extends (...args: never) => unknown> = Parameters<T>[1]
|
|
|
8604
8863
|
declare const getGetProfileUrl: () => string;
|
|
8605
8864
|
declare const getProfile: (options?: RequestInit) => Promise<Profile>;
|
|
8606
8865
|
declare const getGetProfileKey: () => readonly ["/v1/profile"];
|
|
8607
|
-
type GetProfileQueryResult = NonNullable<Awaited$
|
|
8866
|
+
type GetProfileQueryResult = NonNullable<Awaited$9<ReturnType<typeof getProfile>>>;
|
|
8608
8867
|
/**
|
|
8609
8868
|
* @summary Get profile
|
|
8610
8869
|
*/
|
|
8611
8870
|
declare const useGetProfile: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
8612
|
-
swr?: SWRConfiguration<Awaited$
|
|
8871
|
+
swr?: SWRConfiguration<Awaited$9<ReturnType<typeof getProfile>>, TError> & {
|
|
8613
8872
|
swrKey?: Key;
|
|
8614
8873
|
enabled?: boolean;
|
|
8615
8874
|
};
|
|
8616
|
-
request?: SecondParameter$
|
|
8875
|
+
request?: SecondParameter$9<typeof customFetch>;
|
|
8617
8876
|
}) => {
|
|
8618
8877
|
data: Profile | undefined;
|
|
8619
8878
|
error: TError | undefined;
|
|
@@ -8623,6 +8882,68 @@ declare const useGetProfile: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
|
8623
8882
|
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
|
|
8624
8883
|
};
|
|
8625
8884
|
|
|
8885
|
+
type AwaitedInput$8<T> = PromiseLike<T> | T;
|
|
8886
|
+
type Awaited$8<O> = O extends AwaitedInput$8<infer T> ? T : never;
|
|
8887
|
+
type SecondParameter$8<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
8888
|
+
/**
|
|
8889
|
+
* Create a schedule that repeatedly performs an action on a recurring rule.
|
|
8890
|
+
|
|
8891
|
+
`action` describes **what** happens — today only `trigger_worker`, which starts a worker run with the given scope. `rule` describes **when**, in the tenant's own time zone: an IANA identifier such as `America/Chicago`, resolved across DST transitions.
|
|
8892
|
+
|
|
8893
|
+
The response's `next_run_at` is the first occurrence strictly after the moment of creation. Create with `enabled: false` to stage a schedule without letting it fire.
|
|
8894
|
+
|
|
8895
|
+
Requires the `schedules:write` permission.
|
|
8896
|
+
* @summary Create a schedule
|
|
8897
|
+
*/
|
|
8898
|
+
declare const getCreateScheduleUrl: () => string;
|
|
8899
|
+
declare const createSchedule: (createScheduleBody: CreateScheduleBody, options?: RequestInit) => Promise<Schedule>;
|
|
8900
|
+
declare const getCreateScheduleMutationFetcher: (options?: SecondParameter$8<typeof customFetch>) => (_: Key, { arg }: {
|
|
8901
|
+
arg: CreateScheduleBody;
|
|
8902
|
+
}) => Promise<Schedule>;
|
|
8903
|
+
declare const getCreateScheduleMutationKey: () => readonly ["/v1/schedules"];
|
|
8904
|
+
type CreateScheduleMutationResult = NonNullable<Awaited$8<ReturnType<typeof createSchedule>>>;
|
|
8905
|
+
/**
|
|
8906
|
+
* @summary Create a schedule
|
|
8907
|
+
*/
|
|
8908
|
+
declare const useCreateSchedule: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
8909
|
+
swr?: SWRMutationConfiguration<Awaited$8<ReturnType<typeof createSchedule>>, TError, Key, CreateScheduleBody, Awaited$8<ReturnType<typeof createSchedule>>> & {
|
|
8910
|
+
swrKey?: string;
|
|
8911
|
+
};
|
|
8912
|
+
request?: SecondParameter$8<typeof customFetch>;
|
|
8913
|
+
}) => {
|
|
8914
|
+
isMutating: boolean;
|
|
8915
|
+
trigger: swr_mutation.TriggerWithArgs<Schedule, TError, string | readonly ["/v1/schedules"], CreateScheduleBody>;
|
|
8916
|
+
reset: () => void;
|
|
8917
|
+
data: Schedule | undefined;
|
|
8918
|
+
error: TError | undefined;
|
|
8919
|
+
swrKey: string | readonly ["/v1/schedules"];
|
|
8920
|
+
};
|
|
8921
|
+
/**
|
|
8922
|
+
* List the organization's schedules with pagination and sorting, optionally narrowed to the schedules that trigger one worker with `worker_id`. Requires the `schedules:write` permission.
|
|
8923
|
+
* @summary List schedules
|
|
8924
|
+
*/
|
|
8925
|
+
declare const getListSchedulesUrl: (params?: ListSchedulesParams) => string;
|
|
8926
|
+
declare const listSchedules: (params?: ListSchedulesParams, options?: RequestInit) => Promise<ScheduleList>;
|
|
8927
|
+
declare const getListSchedulesKey: (params?: ListSchedulesParams) => readonly ["/v1/schedules", ...ListSchedulesParams[]];
|
|
8928
|
+
type ListSchedulesQueryResult = NonNullable<Awaited$8<ReturnType<typeof listSchedules>>>;
|
|
8929
|
+
/**
|
|
8930
|
+
* @summary List schedules
|
|
8931
|
+
*/
|
|
8932
|
+
declare const useListSchedules: <TError = ErrorType<ErrorResponse>>(params?: ListSchedulesParams, options?: {
|
|
8933
|
+
swr?: SWRConfiguration<Awaited$8<ReturnType<typeof listSchedules>>, TError> & {
|
|
8934
|
+
swrKey?: Key;
|
|
8935
|
+
enabled?: boolean;
|
|
8936
|
+
};
|
|
8937
|
+
request?: SecondParameter$8<typeof customFetch>;
|
|
8938
|
+
}) => {
|
|
8939
|
+
data: ScheduleList | undefined;
|
|
8940
|
+
error: TError | undefined;
|
|
8941
|
+
mutate: swr.KeyedMutator<ScheduleList>;
|
|
8942
|
+
isValidating: boolean;
|
|
8943
|
+
isLoading: swr__internal.IsLoadingResponse<Data, Config>;
|
|
8944
|
+
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
|
|
8945
|
+
};
|
|
8946
|
+
|
|
8626
8947
|
type AwaitedInput$7<T> = PromiseLike<T> | T;
|
|
8627
8948
|
type Awaited$7<O> = O extends AwaitedInput$7<infer T> ? T : never;
|
|
8628
8949
|
type SecondParameter$7<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
@@ -10425,4 +10746,4 @@ declare const useUpdateWorkerMcps: <TError = ErrorType<ErrorResponse>>(workerId:
|
|
|
10425
10746
|
swrKey: string | readonly [`/v1/workers/${string}/mcps`];
|
|
10426
10747
|
};
|
|
10427
10748
|
|
|
10428
|
-
export { type AddCaseLinksBody, type AddCaseLinksBodyEntitiesItem, AddCaseLinksBodyEntitiesItemEntityType, type AddCaseLinksMutationResult, type AddCaseLinksResponse, type AddToolsToVoiceAgentBody, type AddToolsToVoiceAgentMutationResult, type AddToolsToVoiceAgentResponse, type AnalyticsTimeSeries, AnalyticsTimeSeriesGranularity, AnalyticsTimeSeriesMetric, type AnalyticsTimeSeriesPointsItem, type ApiKey, type ApiKeyCreated, ApiKeyCreatedRole, type ApiKeyList, ApiKeyRole, type Artifact, type ArtifactCreated, type ArtifactCreatedItem, type ArtifactDetail, type ArtifactDetailData, type ArtifactDetailDataMetadata, type ArtifactList, type ArtifactMetadata, type ArtifactMetadataKeys, type ArtifactMetadataKeysData, type ArtifactMetadataKeysDataValues, type ArtifactStatusSummary, type AuthTokens, type AvallonConfig, AvallonError, type Call, type CallAnalytics, type CallAnalyticsCallsOverTimeItem, type CallAnalyticsDurationDistributionItem, type CallAnalyticsEvaluationOverTimeItem, type CallAnalyticsMetricPerformanceItem, type CallAnalyticsScoreDistributionItem, type CallAnalyticsSummary, type CallDetail, CallDetailDirection, type CallDetailEvaluation, type CallDetailMetadata, CallDirection, type CallEvaluation, type CallEvaluationMetricsItem, type CallEvaluationProperty, type CallList, type CallMessage, type CallMessageMetadata, type CallMessageToolArguments, type CallMessageToolResult, type CallMetadata, type CancelJobMutationResult, type CancelWorkerRunMutationResult, type CaseDetail, type CaseLink, CaseLinkEntityType, type CaseLinkList, type CaseList, type CaseSearchResult, type CaseSummary, type ChatAgent, type ChatAgentCreated, type ChatAgentDetail, type ChatAgentList, type ChatAgentPrompt, type ChatAgentPromptUpdated, type ChatCreated, type ChatHistory, type ChatHistoryMessagesItem, ChatHistoryMessagesItemRole, type ChatList, type ChatListItem, type ChatMessage, type ChatMessageCreated, type ChatMessageCreatedMessage, type ChatMessageCreatedMessageContentItem, type ChatMessageList, type ChatMessagePart, ChatMessageRole, type CheckInboxAvailabilityParams, type CheckInboxAvailabilityQueryResult, type CodeTool, type CodeToolCreated, type CodeToolCreatedTool, type CodeToolCreatedToolSchema, type CodeToolSchema, type CodeToolSummary, type CodeToolUpdated, type CodeToolUpdatedTool, type CodeToolUpdatedToolSchema, type ConfirmationResponse, type CreateAgentWebhookBody, type CreateAgentWebhookMutationResult, type CreateApiKeyBody, CreateApiKeyBodyEnvironment, CreateApiKeyBodyRole, type CreateApiKeyMutationResult, type CreateArtifactBody, type CreateArtifactBodyMetadata, type CreateArtifactBodyProcessingOptions, type CreateArtifactMutationResult, type CreateCallFeedbackMutationResult, type CreateCaseBody, type CreateCaseMutationResult, type CreateCaseResponse, type CreateChatAgentBody, type CreateChatAgentMutationResult, type CreateChatBody, type CreateChatMutationResult, type CreateEmailBody, CreateEmailBodyDirection, type CreateEmailMutationResult, type CreateExtractorBody, type CreateExtractorBodySchema, type CreateExtractorJobBody, type CreateExtractorJobBodyScope, type CreateExtractorJobMutationResult, type CreateExtractorMutationResult, type CreateExtractorWebhookBody, type CreateExtractorWebhookMutationResult, type CreateFeedbackRequest, type CreateInboxBody, CreateInboxBodyProcessorType, type CreateInboxMutationResult, type CreateInboxWebhookBody, type CreateInboxWebhookMutationResult, type CreateSecretBody, type CreateSecretMutationResult, type CreateToolBody, type CreateToolMutationResult, type CreateVoiceAgentBody, CreateVoiceAgentBodyCallProcessorType, CreateVoiceAgentBodyDirection, CreateVoiceAgentBodyLanguage, CreateVoiceAgentBodyLlmModel, CreateVoiceAgentBodySttModel, CreateVoiceAgentBodyTtsModel, CreateVoiceAgentBodyTtsProvider, type CreateVoiceAgentMutationResult, type CreateVoiceAgentResponse, type CreateWorkerBody, type CreateWorkerMutationResult, type CreateWorkerRunBody, type CreateWorkerRunBodyScope, type CreateWorkerRunMutationResult, type CreateWorkerWebhookBody, type CreateWorkerWebhookMutationResult, type DeleteArtifactMutationResult, type DeleteArtifactResponse, type DeleteCallFeedbackMutationResult, type DeleteChatAgentMutationResult, type DeleteChatAgentResponse, type DeleteEmailMutationResult, type DeleteEmailResponse, type DeleteExtractorMutationResult, type DeleteExtractorResponse, type DeleteInboxMutationResult, type DeleteInboxResponse, type DeleteSecretMutationResult, type DeleteSecretResponse, type DeleteToolMutationResult, type DeleteToolResponse, type DeleteToolsFromVoiceAgentBody, type DeleteToolsFromVoiceAgentMutationResult, type DeleteToolsFromVoiceAgentResponse, type DeleteVoiceAgentMutationResult, type DeleteVoiceAgentResponse, type DeleteWebhookMutationResult, type DeleteWebhookResponse, type DeleteWorkerMutationResult, type DeleteWorkerResponse, type Email, type EmailCreated, EmailCreatedDirection, type EmailDetail, EmailDetailDirection, EmailDirection, type EmailList, type EmailReplyResult, EmailReplyResultValue, type EmailSendResult, type EmailThread, type EmailThreadList, type ErrorResponse, type ErrorResponseData, type ExecuteCodeBody, type ExecuteCodeBodyParams, type ExecuteCodeMutationResult, type Extract, type ExtractList, type ExtractProcessorScope, type ExtractSummary, type ExtractSummaryProcessorScope, type Extractor, type ExtractorCreated, type ExtractorCreatedSchema, type ExtractorJob, type ExtractorJobCreated, type ExtractorJobCreatedScope, type ExtractorJobDetail, type ExtractorJobDetailScope, type ExtractorJobList, type ExtractorJobScope, type ExtractorList, type ExtractorSchema, type ExtractorSummary, type ExtractorUpdated, type ExtractorUpdatedSchema, type ExtractorWebhookList, type Feedback, GetAnalyticsTimeSeriesGranularity, GetAnalyticsTimeSeriesGroupBy, GetAnalyticsTimeSeriesMetric, type GetAnalyticsTimeSeriesParams, type GetAnalyticsTimeSeriesQueryResult, type GetArtifactMetadataKeysParams, type GetArtifactMetadataKeysQueryResult, type GetArtifactQueryResult, type GetArtifactStatusSummaryParams, type GetArtifactStatusSummaryQueryResult, type GetArtifactUploadUrl200, type GetArtifactUploadUrlBody, type GetArtifactUploadUrlMutationResult, type GetCallAnalyticsParams, type GetCallAnalyticsQueryResult, type GetCallEvaluationQueryResult, type GetCallParams, type GetCallQueryResult, type GetCaseQueryResult, type GetChatAgentPromptQueryResult, type GetChatAgentQueryResult, type GetChatQueryResult, type GetEmailQueryResult, type GetExtractCitations200, type GetExtractCitations200Chunks, type GetExtractCitations200ChunksBoundingBox, type GetExtractCitationsQueryResult, type GetExtractQueryResult, type GetExtractorJobQueryResult, type GetExtractorJobResponse, type GetExtractorQueryResult, type GetExtractorResponse, GetOAuthUrlCodeChallengeMethod, type GetOAuthUrlParams, GetOAuthUrlProvider, type GetOAuthUrlQueryResult, type GetPartnerJwksQueryResult, type GetProfileQueryResult, type GetPublicChatAgentQueryResult, type GetSecretQueryResult, type GetSessionToken200, type GetSessionTokenBody, type GetSessionTokenMutationResult, type GetToolQueryResult, type GetToolResponse, type GetVoiceAgentPlaceholdersQueryResult, type GetVoiceAgentPromptParams, type GetVoiceAgentPromptQueryResult, type GetVoiceAgentQueryResult, type GetVoiceAgentResponse, type GetVoiceAgentVersionChangeSummaryQueryResult, type GetVoiceAgentVersionQueryResult, type GetWebhookQueryResult, type GetWorkerPromptQueryResult, type GetWorkerQueryResult, type GetWorkerRunQueryResult, type GetWorkerRunResponse, type GetWorkerToolResponse, type Inbox, type InboxAvailability, type InboxList, InboxProcessorType, type InboxWebhookList, type InviteTeamMemberBody, type InviteTeamMemberMutationResult, type ListAgentWebhooksQueryResult, ListApiKeysIncludeRevoked, type ListApiKeysParams, type ListApiKeysQueryResult, type ListArtifactsParams, type ListArtifactsQueryResult, ListArtifactsSortBy, ListArtifactsSortOrder, type ListCallFeedbackParams, type ListCallFeedbackQueryResult, ListCallFeedbackSortBy, ListCallFeedbackSortOrder, ListCallsDirection, type ListCallsParams, type ListCallsQueryResult, ListCallsSortBy, ListCallsSortOrder, ListCallsStatus, ListCaseLinksEntityType, type ListCaseLinksParams, type ListCaseLinksQueryResult, ListCaseLinksSortBy, ListCaseLinksSortOrder, type ListCasesParams, type ListCasesQueryResult, ListCasesSortBy, ListCasesSortOrder, type ListChatAgentsParams, type ListChatAgentsQueryResult, ListChatAgentsSortBy, ListChatAgentsSortOrder, type ListChatMessagesParams, type ListChatMessagesQueryResult, ListChatMessagesSortBy, ListChatMessagesSortOrder, type ListChatsParams, type ListChatsQueryResult, ListChatsSortBy, ListChatsSortOrder, type ListEmailThreadsParams, type ListEmailThreadsQueryResult, ListEmailThreadsSortBy, ListEmailThreadsSortOrder, type ListEmailsParams, type ListEmailsQueryResult, ListEmailsSortBy, ListEmailsSortOrder, type ListExtractorJobsParams, type ListExtractorJobsQueryResult, ListExtractorJobsSortBy, ListExtractorJobsSortOrder, ListExtractorJobsStatus, type ListExtractorsParams, type ListExtractorsQueryResult, ListExtractorsSortBy, ListExtractorsSortOrder, type ListExtractsParams, type ListExtractsQueryResult, ListExtractsSortBy, ListExtractsSortOrder, type ListInboxWebhooksQueryResult, type ListInboxesParams, type ListInboxesQueryResult, ListInboxesSortBy, ListInboxesSortOrder, type ListJobsParams, type ListJobsQueryResult, ListJobsStatusItem, type ListSecretsParams, type ListSecretsQueryResult, ListSecretsSortBy, ListSecretsSortOrder, type ListTeamInvitationsQueryResult, type ListTeamInvitationsResponse, type ListTeamMembersQueryResult, type ListTeamMembersResponse, type ListToolsParams, type ListToolsQueryResult, ListToolsSortBy, ListToolsSortOrder, type ListVoiceAgentVersionsParams, type ListVoiceAgentVersionsQueryResult, ListVoiceAgentVersionsSortBy, ListVoiceAgentVersionsSortOrder, type ListVoiceAgentsParams, type ListVoiceAgentsQueryResult, type ListWebhookDeliveriesParams, type ListWebhookDeliveriesQueryResult, ListWebhookDeliveriesSortOrder, type ListWebhooksQueryResult, type ListWorkerModelsQueryResult, type ListWorkerRunMessagesParams, type ListWorkerRunMessagesQueryResult, type ListWorkerRunsParams, type ListWorkerRunsQueryResult, ListWorkerRunsSortBy, ListWorkerRunsSortOrder, ListWorkerRunsStatus, type ListWorkerWebhooksQueryResult, type ListWorkersParams, type ListWorkersQueryResult, ListWorkersSortBy, ListWorkersSortOrder, type OAuthUrl, type OutboundJob, OutboundJobEnvironment, type OutboundJobList, type OutboundJobMetadata, type OutboundJobPayload, OutboundJobStatus, type PartnerJwks, type PartnerJwksKeysItem, type PartnerLaunch302, type PartnerLaunchMutationResult, type PartnerLaunchParams, type PostChatMessageBody, type PostChatMessageMutationResult, type Profile, ProfilePermissionsItem, ProfileRole, type ProfileTenant, type ProfileTenants, type PromoteVoiceAgentVersionBody, PromoteVoiceAgentVersionBodyEnvironment, type PromoteVoiceAgentVersionMutationResult, type PromotedVoiceAgentVersion, PromotedVoiceAgentVersionEnvironment, type PublicChatAgent, type RefreshTokenBody, type RefreshTokenMutationResult, type RemoveCaseLinkMutationResult, type RemoveCaseLinkResponse, type RemoveMemberMutationResult, type RemoveMemberResponse, type ReplyToEmailBody, type ReplyToEmailBodyAttachmentsItem, type ReplyToEmailMutationResult, type ResendTeamInvitationMutationResult, type RevokeApiKeyMutationResult, type RevokeTeamInvitationMutationResult, type RevokeTeamInvitationResponse, type ScheduleJobBody, ScheduleJobBodyEnvironment, type ScheduleJobBodyMetadata, type ScheduleJobBodyPayload, type ScheduleJobMutationResult, type SearchCasesParams, type SearchCasesQueryResult, type Secret, type SecretList, type SendEmailBody, type SendEmailBodyAttachmentsItem, type SendEmailMutationResult, type SignInBody, type SignInMutationResult, type SignUpBody, type SignUpMutationResult, type SignUpResponse, type TeamInvitation, TeamInvitationState, type TeamMember, TeamMemberRole, type TestWebhookMutationResult, type ToolExecutionResult, type ToolExecutionResultError, type ToolExecutionResultTracesItem, type ToolList, type UpdateApiKeyBody, UpdateApiKeyBodyRole, type UpdateApiKeyMutationResult, type UpdateArtifactMetadataBody, type UpdateArtifactMetadataBodyMetadata, type UpdateArtifactMetadataMutationResult, type UpdateCallControlsBody, type UpdateCallControlsMutationResult, type UpdateChatAgentMutationResult, type UpdateChatAgentPromptBody, type UpdateChatAgentPromptMutationResult, type UpdateChatAgentRequest, type UpdateExtractorBody, type UpdateExtractorBodySchema, type UpdateExtractorMutationResult, type UpdateInboxBody, type UpdateInboxBodyProcessor, UpdateInboxBodyProcessorType, type UpdateInboxMutationResult, type UpdateMemberRoleBody, UpdateMemberRoleBodyRole, type UpdateMemberRoleMutationResult, type UpdateMemberRoleResponse, type UpdateSecretBody, type UpdateSecretMutationResult, type UpdateToolBody, type UpdateToolMutationResult, type UpdateVoiceAgentBody, UpdateVoiceAgentBodyCallProcessorType, type UpdateVoiceAgentCallControlsResponse, type UpdateVoiceAgentModelsBody, UpdateVoiceAgentModelsBodyLanguage, UpdateVoiceAgentModelsBodyLlmModel, UpdateVoiceAgentModelsBodySttModel, UpdateVoiceAgentModelsBodyTtsModel, UpdateVoiceAgentModelsBodyTtsProvider, type UpdateVoiceAgentModelsMutationResult, type UpdateVoiceAgentModelsResponse, type UpdateVoiceAgentMutationResult, type UpdateVoiceAgentPromptBody, type UpdateVoiceAgentPromptMutationResult, type UpdateVoiceAgentResponse, type UpdateWorkerBody, type UpdateWorkerBodySchema, type UpdateWorkerMcpsBody, type UpdateWorkerMcpsMutationResult, type UpdateWorkerMutationResult, type UpdateWorkerPromptBody, type UpdateWorkerPromptMutationResult, type UpdateWorkerRunScopeBody, type UpdateWorkerRunScopeBodyScope, type UpdateWorkerRunScopeMutationResult, type UploadFileBody, type UploadFileBodyMetadata, type UploadFileBodyProcessingOptions, type UploadFileMutationResult, type UploadFileResponse, type VoiceAgent, VoiceAgentBackgroundSounds, VoiceAgentDirection, VoiceAgentLanguage, type VoiceAgentList, VoiceAgentLlmModel, VoiceAgentNoiseCancellation, type VoiceAgentPlaceholders, type VoiceAgentPrompt, type VoiceAgentPromptUpdated, VoiceAgentSttModel, VoiceAgentTtsModel, VoiceAgentTtsProvider, type VoiceAgentVersion, VoiceAgentVersionActiveEnvironmentsItem, type VoiceAgentVersionChangeSummary, type VoiceAgentVersionDetail, VoiceAgentVersionDetailActiveEnvironmentsItem, VoiceAgentVersionDetailBackgroundSounds, VoiceAgentVersionDetailDirection, VoiceAgentVersionDetailLanguage, VoiceAgentVersionDetailLlmModel, VoiceAgentVersionDetailNoiseCancellation, VoiceAgentVersionDetailSttModel, VoiceAgentVersionDetailTtsModel, VoiceAgentVersionDetailTtsProvider, type VoiceAgentVersionList, type VoiceAgentWebhookList, type VoiceAgentWithTestPhoneNumber, VoiceAgentWithTestPhoneNumberBackgroundSounds, VoiceAgentWithTestPhoneNumberDirection, VoiceAgentWithTestPhoneNumberLanguage, VoiceAgentWithTestPhoneNumberLlmModel, VoiceAgentWithTestPhoneNumberNoiseCancellation, VoiceAgentWithTestPhoneNumberSttModel, VoiceAgentWithTestPhoneNumberTtsModel, VoiceAgentWithTestPhoneNumberTtsProvider, type Webhook, type WebhookDelivery, type WebhookDeliveryList, type WebhookScope, type WebhookTestResult, type Worker, type WorkerExecuteToolBody, type WorkerExecuteToolBodyParams, type WorkerExecuteToolMutationResult, type WorkerGetToolQueryResult, type WorkerList, type WorkerListToolsQueryResult, type WorkerMcp, WorkerMcpName, type WorkerMcpOutput, WorkerMcpOutputName, type WorkerModel, type WorkerModelList, type WorkerPrompt, type WorkerPromptUpdated, type WorkerRun, type WorkerRunCreated, type WorkerRunCreatedScope, type WorkerRunList, type WorkerRunMessage, type WorkerRunMessageList, type WorkerRunMessageMessage, type WorkerRunScope, type WorkerSchema, type WorkerSummary, type WorkerTool, type WorkerToolExecutionResult, type WorkerToolExecutionResultError, type WorkerToolList, type WorkerToolSchema, type WorkerToolSummary, type WorkerWebhookList, addCaseLinks, addToolsToVoiceAgent, cancelJob, cancelWorkerRun, checkInboxAvailability, configure, createAgentWebhook, createApiKey, createArtifact, createCallFeedback, createCase, createChat, createChatAgent, createEmail, createExtractor, createExtractorJob, createExtractorWebhook, createInbox, createInboxWebhook, createSecret, createTool, createVoiceAgent, createWorker, createWorkerRun, createWorkerWebhook, deleteArtifact, deleteCallFeedback, deleteChatAgent, deleteEmail, deleteExtractor, deleteInbox, deleteSecret, deleteTool, deleteToolsFromVoiceAgent, deleteVoiceAgent, deleteWebhook, deleteWorker, executeCode, generateCodeChallenge, generateCodeVerifier, getAddCaseLinksMutationFetcher, getAddCaseLinksMutationKey, getAddCaseLinksUrl, getAddToolsToVoiceAgentMutationFetcher, getAddToolsToVoiceAgentMutationKey, getAddToolsToVoiceAgentUrl, getAnalyticsTimeSeries, getArtifact, getArtifactMetadataKeys, getArtifactStatusSummary, getArtifactUploadUrl, getCall, getCallAnalytics, getCallEvaluation, getCancelJobMutationFetcher, getCancelJobMutationKey, getCancelJobUrl, getCancelWorkerRunMutationFetcher, getCancelWorkerRunMutationKey, getCancelWorkerRunUrl, getCase, getChat, getChatAgent, getChatAgentPrompt, getCheckInboxAvailabilityKey, getCheckInboxAvailabilityUrl, getConfig, getCreateAgentWebhookMutationFetcher, getCreateAgentWebhookMutationKey, getCreateAgentWebhookUrl, getCreateApiKeyMutationFetcher, getCreateApiKeyMutationKey, getCreateApiKeyUrl, getCreateArtifactMutationFetcher, getCreateArtifactMutationKey, getCreateArtifactUrl, getCreateCallFeedbackMutationFetcher, getCreateCallFeedbackMutationKey, getCreateCallFeedbackUrl, getCreateCaseMutationFetcher, getCreateCaseMutationKey, getCreateCaseUrl, getCreateChatAgentMutationFetcher, getCreateChatAgentMutationKey, getCreateChatAgentUrl, getCreateChatMutationFetcher, getCreateChatMutationKey, getCreateChatUrl, getCreateEmailMutationFetcher, getCreateEmailMutationKey, getCreateEmailUrl, getCreateExtractorJobMutationFetcher, getCreateExtractorJobMutationKey, getCreateExtractorJobUrl, getCreateExtractorMutationFetcher, getCreateExtractorMutationKey, getCreateExtractorUrl, getCreateExtractorWebhookMutationFetcher, getCreateExtractorWebhookMutationKey, getCreateExtractorWebhookUrl, getCreateInboxMutationFetcher, getCreateInboxMutationKey, getCreateInboxUrl, getCreateInboxWebhookMutationFetcher, getCreateInboxWebhookMutationKey, getCreateInboxWebhookUrl, getCreateSecretMutationFetcher, getCreateSecretMutationKey, getCreateSecretUrl, getCreateToolMutationFetcher, getCreateToolMutationKey, getCreateToolUrl, getCreateVoiceAgentMutationFetcher, getCreateVoiceAgentMutationKey, getCreateVoiceAgentUrl, getCreateWorkerMutationFetcher, getCreateWorkerMutationKey, getCreateWorkerRunMutationFetcher, getCreateWorkerRunMutationKey, getCreateWorkerRunUrl, getCreateWorkerUrl, getCreateWorkerWebhookMutationFetcher, getCreateWorkerWebhookMutationKey, getCreateWorkerWebhookUrl, getDeleteArtifactMutationFetcher, getDeleteArtifactMutationKey, getDeleteArtifactUrl, getDeleteCallFeedbackMutationFetcher, getDeleteCallFeedbackMutationKey, getDeleteCallFeedbackUrl, getDeleteChatAgentMutationFetcher, getDeleteChatAgentMutationKey, getDeleteChatAgentUrl, getDeleteEmailMutationFetcher, getDeleteEmailMutationKey, getDeleteEmailUrl, getDeleteExtractorMutationFetcher, getDeleteExtractorMutationKey, getDeleteExtractorUrl, getDeleteInboxMutationFetcher, getDeleteInboxMutationKey, getDeleteInboxUrl, getDeleteSecretMutationFetcher, getDeleteSecretMutationKey, getDeleteSecretUrl, getDeleteToolMutationFetcher, getDeleteToolMutationKey, getDeleteToolUrl, getDeleteToolsFromVoiceAgentMutationFetcher, getDeleteToolsFromVoiceAgentMutationKey, getDeleteToolsFromVoiceAgentUrl, getDeleteVoiceAgentMutationFetcher, getDeleteVoiceAgentMutationKey, getDeleteVoiceAgentUrl, getDeleteWebhookMutationFetcher, getDeleteWebhookMutationKey, getDeleteWebhookUrl, getDeleteWorkerMutationFetcher, getDeleteWorkerMutationKey, getDeleteWorkerUrl, getEmail, getExecuteCodeMutationFetcher, getExecuteCodeMutationKey, getExecuteCodeUrl, getExtract, getExtractCitations, getExtractor, getExtractorJob, getGetAnalyticsTimeSeriesKey, getGetAnalyticsTimeSeriesUrl, getGetArtifactKey, getGetArtifactMetadataKeysKey, getGetArtifactMetadataKeysUrl, getGetArtifactStatusSummaryKey, getGetArtifactStatusSummaryUrl, getGetArtifactUploadUrlMutationFetcher, getGetArtifactUploadUrlMutationKey, getGetArtifactUploadUrlUrl, getGetArtifactUrl, getGetCallAnalyticsKey, getGetCallAnalyticsUrl, getGetCallEvaluationKey, getGetCallEvaluationUrl, getGetCallKey, getGetCallUrl, getGetCaseKey, getGetCaseUrl, getGetChatAgentKey, getGetChatAgentPromptKey, getGetChatAgentPromptUrl, getGetChatAgentUrl, getGetChatKey, getGetChatUrl, getGetEmailKey, getGetEmailUrl, getGetExtractCitationsKey, getGetExtractCitationsUrl, getGetExtractKey, getGetExtractUrl, getGetExtractorJobKey, getGetExtractorJobUrl, getGetExtractorKey, getGetExtractorUrl, getGetOAuthUrlKey, getGetOAuthUrlUrl, getGetPartnerJwksKey, getGetPartnerJwksUrl, getGetProfileKey, getGetProfileUrl, getGetPublicChatAgentKey, getGetPublicChatAgentUrl, getGetSecretKey, getGetSecretUrl, getGetSessionTokenMutationFetcher, getGetSessionTokenMutationKey, getGetSessionTokenUrl, getGetToolKey, getGetToolUrl, getGetVoiceAgentKey, getGetVoiceAgentPlaceholdersKey, getGetVoiceAgentPlaceholdersUrl, getGetVoiceAgentPromptKey, getGetVoiceAgentPromptUrl, getGetVoiceAgentUrl, getGetVoiceAgentVersionChangeSummaryKey, getGetVoiceAgentVersionChangeSummaryUrl, getGetVoiceAgentVersionKey, getGetVoiceAgentVersionUrl, getGetWebhookKey, getGetWebhookUrl, getGetWorkerKey, getGetWorkerPromptKey, getGetWorkerPromptUrl, getGetWorkerRunKey, getGetWorkerRunUrl, getGetWorkerUrl, getInviteTeamMemberMutationFetcher, getInviteTeamMemberMutationKey, getInviteTeamMemberUrl, getListAgentWebhooksKey, getListAgentWebhooksUrl, getListApiKeysKey, getListApiKeysUrl, getListArtifactsKey, getListArtifactsUrl, getListCallFeedbackKey, getListCallFeedbackUrl, getListCallsKey, getListCallsUrl, getListCaseLinksKey, getListCaseLinksUrl, getListCasesKey, getListCasesUrl, getListChatAgentsKey, getListChatAgentsUrl, getListChatMessagesKey, getListChatMessagesUrl, getListChatsKey, getListChatsUrl, getListEmailThreadsKey, getListEmailThreadsUrl, getListEmailsKey, getListEmailsUrl, getListExtractorJobsKey, getListExtractorJobsUrl, getListExtractorsKey, getListExtractorsUrl, getListExtractsKey, getListExtractsUrl, getListInboxWebhooksKey, getListInboxWebhooksUrl, getListInboxesKey, getListInboxesUrl, getListJobsKey, getListJobsUrl, getListSecretsKey, getListSecretsUrl, getListTeamInvitationsKey, getListTeamInvitationsUrl, getListTeamMembersKey, getListTeamMembersUrl, getListToolsKey, getListToolsUrl, getListVoiceAgentVersionsKey, getListVoiceAgentVersionsUrl, getListVoiceAgentsKey, getListVoiceAgentsUrl, getListWebhookDeliveriesKey, getListWebhookDeliveriesUrl, getListWebhooksKey, getListWebhooksUrl, getListWorkerModelsKey, getListWorkerModelsUrl, getListWorkerRunMessagesKey, getListWorkerRunMessagesUrl, getListWorkerRunsKey, getListWorkerRunsUrl, getListWorkerWebhooksKey, getListWorkerWebhooksUrl, getListWorkersKey, getListWorkersUrl, getOAuthUrl, getPartnerJwks, getPartnerLaunchMutationFetcher, getPartnerLaunchMutationKey, getPartnerLaunchUrl, getPostChatMessageMutationFetcher, getPostChatMessageMutationKey, getPostChatMessageUrl, getProfile, getPromoteVoiceAgentVersionMutationFetcher, getPromoteVoiceAgentVersionMutationKey, getPromoteVoiceAgentVersionUrl, getPublicChatAgent, getRefreshTokenMutationFetcher, getRefreshTokenMutationKey, getRefreshTokenUrl, getRemoveCaseLinkMutationFetcher, getRemoveCaseLinkMutationKey, getRemoveCaseLinkUrl, getRemoveMemberMutationFetcher, getRemoveMemberMutationKey, getRemoveMemberUrl, getReplyToEmailMutationFetcher, getReplyToEmailMutationKey, getReplyToEmailUrl, getResendTeamInvitationMutationFetcher, getResendTeamInvitationMutationKey, getResendTeamInvitationUrl, getRevokeApiKeyMutationFetcher, getRevokeApiKeyMutationKey, getRevokeApiKeyUrl, getRevokeTeamInvitationMutationFetcher, getRevokeTeamInvitationMutationKey, getRevokeTeamInvitationUrl, getScheduleJobMutationFetcher, getScheduleJobMutationKey, getScheduleJobUrl, getSearchCasesKey, getSearchCasesUrl, getSecret, getSendEmailMutationFetcher, getSendEmailMutationKey, getSendEmailUrl, getSessionToken, getSignInMutationFetcher, getSignInMutationKey, getSignInUrl, getSignUpMutationFetcher, getSignUpMutationKey, getSignUpUrl, getTestWebhookMutationFetcher, getTestWebhookMutationKey, getTestWebhookUrl, getTool, getUpdateApiKeyMutationFetcher, getUpdateApiKeyMutationKey, getUpdateApiKeyUrl, getUpdateArtifactMetadataMutationFetcher, getUpdateArtifactMetadataMutationKey, getUpdateArtifactMetadataUrl, getUpdateCallControlsMutationFetcher, getUpdateCallControlsMutationKey, getUpdateCallControlsUrl, getUpdateChatAgentMutationFetcher, getUpdateChatAgentMutationKey, getUpdateChatAgentPromptMutationFetcher, getUpdateChatAgentPromptMutationKey, getUpdateChatAgentPromptUrl, getUpdateChatAgentUrl, getUpdateExtractorMutationFetcher, getUpdateExtractorMutationKey, getUpdateExtractorUrl, getUpdateInboxMutationFetcher, getUpdateInboxMutationKey, getUpdateInboxUrl, getUpdateMemberRoleMutationFetcher, getUpdateMemberRoleMutationKey, getUpdateMemberRoleUrl, getUpdateSecretMutationFetcher, getUpdateSecretMutationKey, getUpdateSecretUrl, getUpdateToolMutationFetcher, getUpdateToolMutationKey, getUpdateToolUrl, getUpdateVoiceAgentModelsMutationFetcher, getUpdateVoiceAgentModelsMutationKey, getUpdateVoiceAgentModelsUrl, getUpdateVoiceAgentMutationFetcher, getUpdateVoiceAgentMutationKey, getUpdateVoiceAgentPromptMutationFetcher, getUpdateVoiceAgentPromptMutationKey, getUpdateVoiceAgentPromptUrl, getUpdateVoiceAgentUrl, getUpdateWorkerMcpsMutationFetcher, getUpdateWorkerMcpsMutationKey, getUpdateWorkerMcpsUrl, getUpdateWorkerMutationFetcher, getUpdateWorkerMutationKey, getUpdateWorkerPromptMutationFetcher, getUpdateWorkerPromptMutationKey, getUpdateWorkerPromptUrl, getUpdateWorkerRunScopeMutationFetcher, getUpdateWorkerRunScopeMutationKey, getUpdateWorkerRunScopeUrl, getUpdateWorkerUrl, getUploadFileMutationFetcher, getUploadFileMutationKey, getUploadFileUrl, getVoiceAgent, getVoiceAgentPlaceholders, getVoiceAgentPrompt, getVoiceAgentVersion, getVoiceAgentVersionChangeSummary, getWebhook, getWorker, getWorkerExecuteToolMutationFetcher, getWorkerExecuteToolMutationKey, getWorkerExecuteToolUrl, getWorkerGetToolKey, getWorkerGetToolUrl, getWorkerListToolsKey, getWorkerListToolsUrl, getWorkerPrompt, getWorkerRun, inviteTeamMember, listAgentWebhooks, listApiKeys, listArtifacts, listCallFeedback, listCalls, listCaseLinks, listCases, listChatAgents, listChatMessages, listChats, listEmailThreads, listEmails, listExtractorJobs, listExtractors, listExtracts, listInboxWebhooks, listInboxes, listJobs, listSecrets, listTeamInvitations, listTeamMembers, listTools, listVoiceAgentVersions, listVoiceAgents, listWebhookDeliveries, listWebhooks, listWorkerModels, listWorkerRunMessages, listWorkerRuns, listWorkerWebhooks, listWorkers, partnerLaunch, postChatMessage, promoteVoiceAgentVersion, refreshToken, removeCaseLink, removeMember, replyToEmail, resendTeamInvitation, revokeApiKey, revokeTeamInvitation, scheduleJob, searchCases, sendEmail, signIn, signUp, testWebhook, updateApiKey, updateArtifactMetadata, updateCallControls, updateChatAgent, updateChatAgentPrompt, updateExtractor, updateInbox, updateMemberRole, updateSecret, updateTool, updateVoiceAgent, updateVoiceAgentModels, updateVoiceAgentPrompt, updateWorker, updateWorkerMcps, updateWorkerPrompt, updateWorkerRunScope, uploadFile, useAddCaseLinks, useAddToolsToVoiceAgent, useCancelJob, useCancelWorkerRun, useCheckInboxAvailability, useCreateAgentWebhook, useCreateApiKey, useCreateArtifact, useCreateCallFeedback, useCreateCase, useCreateChat, useCreateChatAgent, useCreateEmail, useCreateExtractor, useCreateExtractorJob, useCreateExtractorWebhook, useCreateInbox, useCreateInboxWebhook, useCreateSecret, useCreateTool, useCreateVoiceAgent, useCreateWorker, useCreateWorkerRun, useCreateWorkerWebhook, useDeleteArtifact, useDeleteCallFeedback, useDeleteChatAgent, useDeleteEmail, useDeleteExtractor, useDeleteInbox, useDeleteSecret, useDeleteTool, useDeleteToolsFromVoiceAgent, useDeleteVoiceAgent, useDeleteWebhook, useDeleteWorker, useExecuteCode, useGetAnalyticsTimeSeries, useGetArtifact, useGetArtifactMetadataKeys, useGetArtifactStatusSummary, useGetArtifactUploadUrl, useGetCall, useGetCallAnalytics, useGetCallEvaluation, useGetCase, useGetChat, useGetChatAgent, useGetChatAgentPrompt, useGetEmail, useGetExtract, useGetExtractCitations, useGetExtractor, useGetExtractorJob, useGetOAuthUrl, useGetPartnerJwks, useGetProfile, useGetPublicChatAgent, useGetSecret, useGetSessionToken, useGetTool, useGetVoiceAgent, useGetVoiceAgentPlaceholders, useGetVoiceAgentPrompt, useGetVoiceAgentVersion, useGetVoiceAgentVersionChangeSummary, useGetWebhook, useGetWorker, useGetWorkerPrompt, useGetWorkerRun, useInviteTeamMember, useListAgentWebhooks, useListApiKeys, useListArtifacts, useListCallFeedback, useListCalls, useListCaseLinks, useListCases, useListChatAgents, useListChatMessages, useListChats, useListEmailThreads, useListEmails, useListExtractorJobs, useListExtractors, useListExtracts, useListInboxWebhooks, useListInboxes, useListJobs, useListSecrets, useListTeamInvitations, useListTeamMembers, useListTools, useListVoiceAgentVersions, useListVoiceAgents, useListWebhookDeliveries, useListWebhooks, useListWorkerModels, useListWorkerRunMessages, useListWorkerRuns, useListWorkerWebhooks, useListWorkers, usePartnerLaunch, usePostChatMessage, usePromoteVoiceAgentVersion, useRefreshToken, useRemoveCaseLink, useRemoveMember, useReplyToEmail, useResendTeamInvitation, useRevokeApiKey, useRevokeTeamInvitation, useScheduleJob, useSearchCases, useSendEmail, useSignIn, useSignUp, useTestWebhook, useUpdateApiKey, useUpdateArtifactMetadata, useUpdateCallControls, useUpdateChatAgent, useUpdateChatAgentPrompt, useUpdateExtractor, useUpdateInbox, useUpdateMemberRole, useUpdateSecret, useUpdateTool, useUpdateVoiceAgent, useUpdateVoiceAgentModels, useUpdateVoiceAgentPrompt, useUpdateWorker, useUpdateWorkerMcps, useUpdateWorkerPrompt, useUpdateWorkerRunScope, useUploadFile, useWorkerExecuteTool, useWorkerGetTool, useWorkerListTools, workerExecuteTool, workerGetTool, workerListTools };
|
|
10749
|
+
export { type AddCaseLinksBody, type AddCaseLinksBodyEntitiesItem, AddCaseLinksBodyEntitiesItemEntityType, type AddCaseLinksMutationResult, type AddCaseLinksResponse, type AddToolsToVoiceAgentBody, type AddToolsToVoiceAgentMutationResult, type AddToolsToVoiceAgentResponse, type AnalyticsTimeSeries, AnalyticsTimeSeriesGranularity, AnalyticsTimeSeriesMetric, type AnalyticsTimeSeriesPointsItem, type ApiKey, type ApiKeyCreated, ApiKeyCreatedRole, type ApiKeyList, ApiKeyRole, type Artifact, type ArtifactCreated, type ArtifactCreatedItem, type ArtifactDetail, type ArtifactDetailData, type ArtifactDetailDataMetadata, type ArtifactList, type ArtifactMetadata, type ArtifactMetadataKeys, type ArtifactMetadataKeysData, type ArtifactMetadataKeysDataValues, type ArtifactStatusSummary, type AuthTokens, type AvallonConfig, AvallonError, type Call, type CallAnalytics, type CallAnalyticsCallsOverTimeItem, type CallAnalyticsDurationDistributionItem, type CallAnalyticsEvaluationOverTimeItem, type CallAnalyticsMetricPerformanceItem, type CallAnalyticsScoreDistributionItem, type CallAnalyticsSummary, type CallDetail, CallDetailDirection, type CallDetailEvaluation, type CallDetailMetadata, CallDirection, type CallEvaluation, type CallEvaluationMetricsItem, type CallEvaluationProperty, type CallList, type CallMessage, type CallMessageMetadata, type CallMessageToolArguments, type CallMessageToolResult, type CallMetadata, type CancelJobMutationResult, type CancelWorkerRunMutationResult, type CaseDetail, type CaseLink, CaseLinkEntityType, type CaseLinkList, type CaseList, type CaseSearchResult, type CaseSummary, type ChatAgent, type ChatAgentCreated, type ChatAgentDetail, type ChatAgentList, type ChatAgentPrompt, type ChatAgentPromptUpdated, type ChatCreated, type ChatHistory, type ChatHistoryMessagesItem, ChatHistoryMessagesItemRole, type ChatList, type ChatListItem, type ChatMessage, type ChatMessageCreated, type ChatMessageCreatedMessage, type ChatMessageCreatedMessageContentItem, type ChatMessageList, type ChatMessagePart, ChatMessageRole, type CheckInboxAvailabilityParams, type CheckInboxAvailabilityQueryResult, type CodeTool, type CodeToolCreated, type CodeToolCreatedTool, type CodeToolCreatedToolSchema, type CodeToolSchema, type CodeToolSummary, type CodeToolUpdated, type CodeToolUpdatedTool, type CodeToolUpdatedToolSchema, type ConfirmationResponse, type CreateAgentWebhookBody, type CreateAgentWebhookMutationResult, type CreateApiKeyBody, CreateApiKeyBodyEnvironment, CreateApiKeyBodyRole, type CreateApiKeyMutationResult, type CreateArtifactBody, type CreateArtifactBodyMetadata, type CreateArtifactBodyProcessingOptions, type CreateArtifactMutationResult, type CreateCallFeedbackMutationResult, type CreateCaseBody, type CreateCaseMutationResult, type CreateCaseResponse, type CreateChatAgentBody, type CreateChatAgentMutationResult, type CreateChatBody, type CreateChatMutationResult, type CreateEmailBody, CreateEmailBodyDirection, type CreateEmailMutationResult, type CreateExtractorBody, type CreateExtractorBodySchema, type CreateExtractorJobBody, type CreateExtractorJobBodyScope, type CreateExtractorJobMutationResult, type CreateExtractorMutationResult, type CreateExtractorWebhookBody, type CreateExtractorWebhookMutationResult, type CreateFeedbackRequest, type CreateInboxBody, CreateInboxBodyProcessorType, type CreateInboxMutationResult, type CreateInboxWebhookBody, type CreateInboxWebhookMutationResult, type CreateScheduleBody, type CreateScheduleMutationResult, type CreateSecretBody, type CreateSecretMutationResult, type CreateToolBody, type CreateToolMutationResult, type CreateVoiceAgentBody, CreateVoiceAgentBodyCallProcessorType, CreateVoiceAgentBodyDirection, CreateVoiceAgentBodyLanguage, CreateVoiceAgentBodyLlmModel, CreateVoiceAgentBodySttModel, CreateVoiceAgentBodyTtsModel, CreateVoiceAgentBodyTtsProvider, type CreateVoiceAgentMutationResult, type CreateVoiceAgentResponse, type CreateWorkerBody, type CreateWorkerMutationResult, type CreateWorkerRunBody, type CreateWorkerRunBodyScope, type CreateWorkerRunMutationResult, type CreateWorkerWebhookBody, type CreateWorkerWebhookMutationResult, type DeleteArtifactMutationResult, type DeleteArtifactResponse, type DeleteCallFeedbackMutationResult, type DeleteChatAgentMutationResult, type DeleteChatAgentResponse, type DeleteEmailMutationResult, type DeleteEmailResponse, type DeleteExtractorMutationResult, type DeleteExtractorResponse, type DeleteInboxMutationResult, type DeleteInboxResponse, type DeleteSecretMutationResult, type DeleteSecretResponse, type DeleteToolMutationResult, type DeleteToolResponse, type DeleteToolsFromVoiceAgentBody, type DeleteToolsFromVoiceAgentMutationResult, type DeleteToolsFromVoiceAgentResponse, type DeleteVoiceAgentMutationResult, type DeleteVoiceAgentResponse, type DeleteWebhookMutationResult, type DeleteWebhookResponse, type DeleteWorkerMutationResult, type DeleteWorkerResponse, type Email, type EmailCreated, EmailCreatedDirection, type EmailDetail, EmailDetailDirection, EmailDirection, type EmailList, type EmailReplyResult, EmailReplyResultValue, type EmailSendResult, type EmailThread, type EmailThreadList, type ErrorResponse, type ErrorResponseData, type ExecuteCodeBody, type ExecuteCodeBodyParams, type ExecuteCodeMutationResult, type Extract, type ExtractList, type ExtractProcessorScope, type ExtractSummary, type ExtractSummaryProcessorScope, type Extractor, type ExtractorCreated, type ExtractorCreatedSchema, type ExtractorJob, type ExtractorJobCreated, type ExtractorJobCreatedScope, type ExtractorJobDetail, type ExtractorJobDetailScope, type ExtractorJobList, type ExtractorJobScope, type ExtractorList, type ExtractorSchema, type ExtractorSummary, type ExtractorUpdated, type ExtractorUpdatedSchema, type ExtractorWebhookList, type Feedback, GetAnalyticsTimeSeriesGranularity, GetAnalyticsTimeSeriesGroupBy, GetAnalyticsTimeSeriesMetric, type GetAnalyticsTimeSeriesParams, type GetAnalyticsTimeSeriesQueryResult, type GetArtifactMetadataKeysParams, type GetArtifactMetadataKeysQueryResult, type GetArtifactQueryResult, type GetArtifactStatusSummaryParams, type GetArtifactStatusSummaryQueryResult, type GetArtifactUploadUrl200, type GetArtifactUploadUrlBody, type GetArtifactUploadUrlMutationResult, type GetCallAnalyticsParams, type GetCallAnalyticsQueryResult, type GetCallEvaluationQueryResult, type GetCallParams, type GetCallQueryResult, type GetCaseQueryResult, type GetChatAgentPromptQueryResult, type GetChatAgentQueryResult, type GetChatQueryResult, type GetEmailQueryResult, type GetExtractCitations200, type GetExtractCitations200Chunks, type GetExtractCitations200ChunksBoundingBox, type GetExtractCitationsQueryResult, type GetExtractQueryResult, type GetExtractorJobQueryResult, type GetExtractorJobResponse, type GetExtractorQueryResult, type GetExtractorResponse, GetOAuthUrlCodeChallengeMethod, type GetOAuthUrlParams, GetOAuthUrlProvider, type GetOAuthUrlQueryResult, type GetPartnerJwksQueryResult, type GetProfileQueryResult, type GetPublicChatAgentQueryResult, type GetSecretQueryResult, type GetSessionToken200, type GetSessionTokenBody, type GetSessionTokenMutationResult, type GetToolQueryResult, type GetToolResponse, type GetVoiceAgentPlaceholdersQueryResult, type GetVoiceAgentPromptParams, type GetVoiceAgentPromptQueryResult, type GetVoiceAgentQueryResult, type GetVoiceAgentResponse, type GetVoiceAgentVersionChangeSummaryQueryResult, type GetVoiceAgentVersionQueryResult, type GetWebhookQueryResult, type GetWorkerPromptQueryResult, type GetWorkerQueryResult, type GetWorkerRunQueryResult, type GetWorkerRunResponse, type GetWorkerToolResponse, type Inbox, type InboxAvailability, type InboxList, InboxProcessorType, type InboxWebhookList, type InviteTeamMemberBody, type InviteTeamMemberMutationResult, type ListAgentWebhooksQueryResult, ListApiKeysIncludeRevoked, type ListApiKeysParams, type ListApiKeysQueryResult, type ListArtifactsParams, type ListArtifactsQueryResult, ListArtifactsSortBy, ListArtifactsSortOrder, type ListCallFeedbackParams, type ListCallFeedbackQueryResult, ListCallFeedbackSortBy, ListCallFeedbackSortOrder, ListCallsDirection, type ListCallsParams, type ListCallsQueryResult, ListCallsSortBy, ListCallsSortOrder, ListCallsStatus, ListCaseLinksEntityType, type ListCaseLinksParams, type ListCaseLinksQueryResult, ListCaseLinksSortBy, ListCaseLinksSortOrder, type ListCasesParams, type ListCasesQueryResult, ListCasesSortBy, ListCasesSortOrder, type ListChatAgentsParams, type ListChatAgentsQueryResult, ListChatAgentsSortBy, ListChatAgentsSortOrder, type ListChatMessagesParams, type ListChatMessagesQueryResult, ListChatMessagesSortBy, ListChatMessagesSortOrder, type ListChatsParams, type ListChatsQueryResult, ListChatsSortBy, ListChatsSortOrder, type ListEmailThreadsParams, type ListEmailThreadsQueryResult, ListEmailThreadsSortBy, ListEmailThreadsSortOrder, type ListEmailsParams, type ListEmailsQueryResult, ListEmailsSortBy, ListEmailsSortOrder, type ListExtractorJobsParams, type ListExtractorJobsQueryResult, ListExtractorJobsSortBy, ListExtractorJobsSortOrder, ListExtractorJobsStatus, type ListExtractorsParams, type ListExtractorsQueryResult, ListExtractorsSortBy, ListExtractorsSortOrder, type ListExtractsParams, type ListExtractsQueryResult, ListExtractsSortBy, ListExtractsSortOrder, type ListInboxWebhooksQueryResult, type ListInboxesParams, type ListInboxesQueryResult, ListInboxesSortBy, ListInboxesSortOrder, type ListJobsParams, type ListJobsQueryResult, ListJobsStatusItem, type ListSchedulesParams, type ListSchedulesQueryResult, ListSchedulesSortBy, ListSchedulesSortOrder, type ListSecretsParams, type ListSecretsQueryResult, ListSecretsSortBy, ListSecretsSortOrder, type ListTeamInvitationsQueryResult, type ListTeamInvitationsResponse, type ListTeamMembersQueryResult, type ListTeamMembersResponse, type ListToolsParams, type ListToolsQueryResult, ListToolsSortBy, ListToolsSortOrder, type ListVoiceAgentVersionsParams, type ListVoiceAgentVersionsQueryResult, ListVoiceAgentVersionsSortBy, ListVoiceAgentVersionsSortOrder, type ListVoiceAgentsParams, type ListVoiceAgentsQueryResult, type ListWebhookDeliveriesParams, type ListWebhookDeliveriesQueryResult, ListWebhookDeliveriesSortOrder, type ListWebhooksQueryResult, type ListWorkerModelsQueryResult, type ListWorkerRunMessagesParams, type ListWorkerRunMessagesQueryResult, type ListWorkerRunsParams, type ListWorkerRunsQueryResult, ListWorkerRunsSortBy, ListWorkerRunsSortOrder, ListWorkerRunsStatus, type ListWorkerWebhooksQueryResult, type ListWorkersParams, type ListWorkersQueryResult, ListWorkersSortBy, ListWorkersSortOrder, type OAuthUrl, type OutboundJob, OutboundJobEnvironment, type OutboundJobList, type OutboundJobMetadata, type OutboundJobPayload, OutboundJobStatus, type PartnerJwks, type PartnerJwksKeysItem, type PartnerLaunch302, type PartnerLaunchMutationResult, type PartnerLaunchParams, type PostChatMessageBody, type PostChatMessageMutationResult, type Profile, ProfilePermissionsItem, ProfileRole, type ProfileTenant, type ProfileTenants, type PromoteVoiceAgentVersionBody, PromoteVoiceAgentVersionBodyEnvironment, type PromoteVoiceAgentVersionMutationResult, type PromotedVoiceAgentVersion, PromotedVoiceAgentVersionEnvironment, type PublicChatAgent, type RefreshTokenBody, type RefreshTokenMutationResult, type RemoveCaseLinkMutationResult, type RemoveCaseLinkResponse, type RemoveMemberMutationResult, type RemoveMemberResponse, type ReplyToEmailBody, type ReplyToEmailBodyAttachmentsItem, type ReplyToEmailMutationResult, type ResendTeamInvitationMutationResult, type RevokeApiKeyMutationResult, type RevokeTeamInvitationMutationResult, type RevokeTeamInvitationResponse, type Schedule, type ScheduleAction, type ScheduleActionOutput, type ScheduleJobBody, ScheduleJobBodyEnvironment, type ScheduleJobBodyMetadata, type ScheduleJobBodyPayload, type ScheduleJobMutationResult, type ScheduleList, type ScheduleRule, type ScheduleRuleOutput, type SearchCasesParams, type SearchCasesQueryResult, type Secret, type SecretList, type SendEmailBody, type SendEmailBodyAttachmentsItem, type SendEmailMutationResult, type SignInBody, type SignInMutationResult, type SignUpBody, type SignUpMutationResult, type SignUpResponse, type TeamInvitation, TeamInvitationState, type TeamMember, TeamMemberRole, type TestWebhookMutationResult, type ToolExecutionResult, type ToolExecutionResultError, type ToolExecutionResultTracesItem, type ToolList, type UpdateApiKeyBody, UpdateApiKeyBodyRole, type UpdateApiKeyMutationResult, type UpdateArtifactMetadataBody, type UpdateArtifactMetadataBodyMetadata, type UpdateArtifactMetadataMutationResult, type UpdateCallControlsBody, type UpdateCallControlsMutationResult, type UpdateChatAgentMutationResult, type UpdateChatAgentPromptBody, type UpdateChatAgentPromptMutationResult, type UpdateChatAgentRequest, type UpdateExtractorBody, type UpdateExtractorBodySchema, type UpdateExtractorMutationResult, type UpdateInboxBody, type UpdateInboxBodyProcessor, UpdateInboxBodyProcessorType, type UpdateInboxMutationResult, type UpdateMemberRoleBody, UpdateMemberRoleBodyRole, type UpdateMemberRoleMutationResult, type UpdateMemberRoleResponse, type UpdateSecretBody, type UpdateSecretMutationResult, type UpdateToolBody, type UpdateToolMutationResult, type UpdateVoiceAgentBody, UpdateVoiceAgentBodyCallProcessorType, type UpdateVoiceAgentCallControlsResponse, type UpdateVoiceAgentModelsBody, UpdateVoiceAgentModelsBodyLanguage, UpdateVoiceAgentModelsBodyLlmModel, UpdateVoiceAgentModelsBodySttModel, UpdateVoiceAgentModelsBodyTtsModel, UpdateVoiceAgentModelsBodyTtsProvider, type UpdateVoiceAgentModelsMutationResult, type UpdateVoiceAgentModelsResponse, type UpdateVoiceAgentMutationResult, type UpdateVoiceAgentPromptBody, type UpdateVoiceAgentPromptMutationResult, type UpdateVoiceAgentResponse, type UpdateWorkerBody, type UpdateWorkerBodySchema, type UpdateWorkerMcpsBody, type UpdateWorkerMcpsMutationResult, type UpdateWorkerMutationResult, type UpdateWorkerPromptBody, type UpdateWorkerPromptMutationResult, type UpdateWorkerRunScopeBody, type UpdateWorkerRunScopeBodyScope, type UpdateWorkerRunScopeMutationResult, type UploadFileBody, type UploadFileBodyMetadata, type UploadFileBodyProcessingOptions, type UploadFileMutationResult, type UploadFileResponse, type VoiceAgent, VoiceAgentBackgroundSounds, VoiceAgentDirection, VoiceAgentLanguage, type VoiceAgentList, VoiceAgentLlmModel, VoiceAgentNoiseCancellation, type VoiceAgentPlaceholders, type VoiceAgentPrompt, type VoiceAgentPromptUpdated, VoiceAgentSttModel, VoiceAgentTtsModel, VoiceAgentTtsProvider, type VoiceAgentVersion, VoiceAgentVersionActiveEnvironmentsItem, type VoiceAgentVersionChangeSummary, type VoiceAgentVersionDetail, VoiceAgentVersionDetailActiveEnvironmentsItem, VoiceAgentVersionDetailBackgroundSounds, VoiceAgentVersionDetailDirection, VoiceAgentVersionDetailLanguage, VoiceAgentVersionDetailLlmModel, VoiceAgentVersionDetailNoiseCancellation, VoiceAgentVersionDetailSttModel, VoiceAgentVersionDetailTtsModel, VoiceAgentVersionDetailTtsProvider, type VoiceAgentVersionList, type VoiceAgentWebhookList, type VoiceAgentWithTestPhoneNumber, VoiceAgentWithTestPhoneNumberBackgroundSounds, VoiceAgentWithTestPhoneNumberDirection, VoiceAgentWithTestPhoneNumberLanguage, VoiceAgentWithTestPhoneNumberLlmModel, VoiceAgentWithTestPhoneNumberNoiseCancellation, VoiceAgentWithTestPhoneNumberSttModel, VoiceAgentWithTestPhoneNumberTtsModel, VoiceAgentWithTestPhoneNumberTtsProvider, type Webhook, type WebhookDelivery, type WebhookDeliveryList, type WebhookScope, type WebhookTestResult, type Worker, type WorkerExecuteToolBody, type WorkerExecuteToolBodyParams, type WorkerExecuteToolMutationResult, type WorkerGetToolQueryResult, type WorkerList, type WorkerListToolsQueryResult, type WorkerMcp, WorkerMcpName, type WorkerMcpOutput, WorkerMcpOutputName, type WorkerModel, type WorkerModelList, type WorkerPrompt, type WorkerPromptUpdated, type WorkerRun, type WorkerRunCreated, type WorkerRunCreatedScope, type WorkerRunList, type WorkerRunMessage, type WorkerRunMessageList, type WorkerRunMessageMessage, type WorkerRunScope, type WorkerSchema, type WorkerSummary, type WorkerTool, type WorkerToolExecutionResult, type WorkerToolExecutionResultError, type WorkerToolList, type WorkerToolSchema, type WorkerToolSummary, type WorkerWebhookList, addCaseLinks, addToolsToVoiceAgent, cancelJob, cancelWorkerRun, checkInboxAvailability, configure, createAgentWebhook, createApiKey, createArtifact, createCallFeedback, createCase, createChat, createChatAgent, createEmail, createExtractor, createExtractorJob, createExtractorWebhook, createInbox, createInboxWebhook, createSchedule, createSecret, createTool, createVoiceAgent, createWorker, createWorkerRun, createWorkerWebhook, deleteArtifact, deleteCallFeedback, deleteChatAgent, deleteEmail, deleteExtractor, deleteInbox, deleteSecret, deleteTool, deleteToolsFromVoiceAgent, deleteVoiceAgent, deleteWebhook, deleteWorker, executeCode, generateCodeChallenge, generateCodeVerifier, getAddCaseLinksMutationFetcher, getAddCaseLinksMutationKey, getAddCaseLinksUrl, getAddToolsToVoiceAgentMutationFetcher, getAddToolsToVoiceAgentMutationKey, getAddToolsToVoiceAgentUrl, getAnalyticsTimeSeries, getArtifact, getArtifactMetadataKeys, getArtifactStatusSummary, getArtifactUploadUrl, getCall, getCallAnalytics, getCallEvaluation, getCancelJobMutationFetcher, getCancelJobMutationKey, getCancelJobUrl, getCancelWorkerRunMutationFetcher, getCancelWorkerRunMutationKey, getCancelWorkerRunUrl, getCase, getChat, getChatAgent, getChatAgentPrompt, getCheckInboxAvailabilityKey, getCheckInboxAvailabilityUrl, getConfig, getCreateAgentWebhookMutationFetcher, getCreateAgentWebhookMutationKey, getCreateAgentWebhookUrl, getCreateApiKeyMutationFetcher, getCreateApiKeyMutationKey, getCreateApiKeyUrl, getCreateArtifactMutationFetcher, getCreateArtifactMutationKey, getCreateArtifactUrl, getCreateCallFeedbackMutationFetcher, getCreateCallFeedbackMutationKey, getCreateCallFeedbackUrl, getCreateCaseMutationFetcher, getCreateCaseMutationKey, getCreateCaseUrl, getCreateChatAgentMutationFetcher, getCreateChatAgentMutationKey, getCreateChatAgentUrl, getCreateChatMutationFetcher, getCreateChatMutationKey, getCreateChatUrl, getCreateEmailMutationFetcher, getCreateEmailMutationKey, getCreateEmailUrl, getCreateExtractorJobMutationFetcher, getCreateExtractorJobMutationKey, getCreateExtractorJobUrl, getCreateExtractorMutationFetcher, getCreateExtractorMutationKey, getCreateExtractorUrl, getCreateExtractorWebhookMutationFetcher, getCreateExtractorWebhookMutationKey, getCreateExtractorWebhookUrl, getCreateInboxMutationFetcher, getCreateInboxMutationKey, getCreateInboxUrl, getCreateInboxWebhookMutationFetcher, getCreateInboxWebhookMutationKey, getCreateInboxWebhookUrl, getCreateScheduleMutationFetcher, getCreateScheduleMutationKey, getCreateScheduleUrl, getCreateSecretMutationFetcher, getCreateSecretMutationKey, getCreateSecretUrl, getCreateToolMutationFetcher, getCreateToolMutationKey, getCreateToolUrl, getCreateVoiceAgentMutationFetcher, getCreateVoiceAgentMutationKey, getCreateVoiceAgentUrl, getCreateWorkerMutationFetcher, getCreateWorkerMutationKey, getCreateWorkerRunMutationFetcher, getCreateWorkerRunMutationKey, getCreateWorkerRunUrl, getCreateWorkerUrl, getCreateWorkerWebhookMutationFetcher, getCreateWorkerWebhookMutationKey, getCreateWorkerWebhookUrl, getDeleteArtifactMutationFetcher, getDeleteArtifactMutationKey, getDeleteArtifactUrl, getDeleteCallFeedbackMutationFetcher, getDeleteCallFeedbackMutationKey, getDeleteCallFeedbackUrl, getDeleteChatAgentMutationFetcher, getDeleteChatAgentMutationKey, getDeleteChatAgentUrl, getDeleteEmailMutationFetcher, getDeleteEmailMutationKey, getDeleteEmailUrl, getDeleteExtractorMutationFetcher, getDeleteExtractorMutationKey, getDeleteExtractorUrl, getDeleteInboxMutationFetcher, getDeleteInboxMutationKey, getDeleteInboxUrl, getDeleteSecretMutationFetcher, getDeleteSecretMutationKey, getDeleteSecretUrl, getDeleteToolMutationFetcher, getDeleteToolMutationKey, getDeleteToolUrl, getDeleteToolsFromVoiceAgentMutationFetcher, getDeleteToolsFromVoiceAgentMutationKey, getDeleteToolsFromVoiceAgentUrl, getDeleteVoiceAgentMutationFetcher, getDeleteVoiceAgentMutationKey, getDeleteVoiceAgentUrl, getDeleteWebhookMutationFetcher, getDeleteWebhookMutationKey, getDeleteWebhookUrl, getDeleteWorkerMutationFetcher, getDeleteWorkerMutationKey, getDeleteWorkerUrl, getEmail, getExecuteCodeMutationFetcher, getExecuteCodeMutationKey, getExecuteCodeUrl, getExtract, getExtractCitations, getExtractor, getExtractorJob, getGetAnalyticsTimeSeriesKey, getGetAnalyticsTimeSeriesUrl, getGetArtifactKey, getGetArtifactMetadataKeysKey, getGetArtifactMetadataKeysUrl, getGetArtifactStatusSummaryKey, getGetArtifactStatusSummaryUrl, getGetArtifactUploadUrlMutationFetcher, getGetArtifactUploadUrlMutationKey, getGetArtifactUploadUrlUrl, getGetArtifactUrl, getGetCallAnalyticsKey, getGetCallAnalyticsUrl, getGetCallEvaluationKey, getGetCallEvaluationUrl, getGetCallKey, getGetCallUrl, getGetCaseKey, getGetCaseUrl, getGetChatAgentKey, getGetChatAgentPromptKey, getGetChatAgentPromptUrl, getGetChatAgentUrl, getGetChatKey, getGetChatUrl, getGetEmailKey, getGetEmailUrl, getGetExtractCitationsKey, getGetExtractCitationsUrl, getGetExtractKey, getGetExtractUrl, getGetExtractorJobKey, getGetExtractorJobUrl, getGetExtractorKey, getGetExtractorUrl, getGetOAuthUrlKey, getGetOAuthUrlUrl, getGetPartnerJwksKey, getGetPartnerJwksUrl, getGetProfileKey, getGetProfileUrl, getGetPublicChatAgentKey, getGetPublicChatAgentUrl, getGetSecretKey, getGetSecretUrl, getGetSessionTokenMutationFetcher, getGetSessionTokenMutationKey, getGetSessionTokenUrl, getGetToolKey, getGetToolUrl, getGetVoiceAgentKey, getGetVoiceAgentPlaceholdersKey, getGetVoiceAgentPlaceholdersUrl, getGetVoiceAgentPromptKey, getGetVoiceAgentPromptUrl, getGetVoiceAgentUrl, getGetVoiceAgentVersionChangeSummaryKey, getGetVoiceAgentVersionChangeSummaryUrl, getGetVoiceAgentVersionKey, getGetVoiceAgentVersionUrl, getGetWebhookKey, getGetWebhookUrl, getGetWorkerKey, getGetWorkerPromptKey, getGetWorkerPromptUrl, getGetWorkerRunKey, getGetWorkerRunUrl, getGetWorkerUrl, getInviteTeamMemberMutationFetcher, getInviteTeamMemberMutationKey, getInviteTeamMemberUrl, getListAgentWebhooksKey, getListAgentWebhooksUrl, getListApiKeysKey, getListApiKeysUrl, getListArtifactsKey, getListArtifactsUrl, getListCallFeedbackKey, getListCallFeedbackUrl, getListCallsKey, getListCallsUrl, getListCaseLinksKey, getListCaseLinksUrl, getListCasesKey, getListCasesUrl, getListChatAgentsKey, getListChatAgentsUrl, getListChatMessagesKey, getListChatMessagesUrl, getListChatsKey, getListChatsUrl, getListEmailThreadsKey, getListEmailThreadsUrl, getListEmailsKey, getListEmailsUrl, getListExtractorJobsKey, getListExtractorJobsUrl, getListExtractorsKey, getListExtractorsUrl, getListExtractsKey, getListExtractsUrl, getListInboxWebhooksKey, getListInboxWebhooksUrl, getListInboxesKey, getListInboxesUrl, getListJobsKey, getListJobsUrl, getListSchedulesKey, getListSchedulesUrl, getListSecretsKey, getListSecretsUrl, getListTeamInvitationsKey, getListTeamInvitationsUrl, getListTeamMembersKey, getListTeamMembersUrl, getListToolsKey, getListToolsUrl, getListVoiceAgentVersionsKey, getListVoiceAgentVersionsUrl, getListVoiceAgentsKey, getListVoiceAgentsUrl, getListWebhookDeliveriesKey, getListWebhookDeliveriesUrl, getListWebhooksKey, getListWebhooksUrl, getListWorkerModelsKey, getListWorkerModelsUrl, getListWorkerRunMessagesKey, getListWorkerRunMessagesUrl, getListWorkerRunsKey, getListWorkerRunsUrl, getListWorkerWebhooksKey, getListWorkerWebhooksUrl, getListWorkersKey, getListWorkersUrl, getOAuthUrl, getPartnerJwks, getPartnerLaunchMutationFetcher, getPartnerLaunchMutationKey, getPartnerLaunchUrl, getPostChatMessageMutationFetcher, getPostChatMessageMutationKey, getPostChatMessageUrl, getProfile, getPromoteVoiceAgentVersionMutationFetcher, getPromoteVoiceAgentVersionMutationKey, getPromoteVoiceAgentVersionUrl, getPublicChatAgent, getRefreshTokenMutationFetcher, getRefreshTokenMutationKey, getRefreshTokenUrl, getRemoveCaseLinkMutationFetcher, getRemoveCaseLinkMutationKey, getRemoveCaseLinkUrl, getRemoveMemberMutationFetcher, getRemoveMemberMutationKey, getRemoveMemberUrl, getReplyToEmailMutationFetcher, getReplyToEmailMutationKey, getReplyToEmailUrl, getResendTeamInvitationMutationFetcher, getResendTeamInvitationMutationKey, getResendTeamInvitationUrl, getRevokeApiKeyMutationFetcher, getRevokeApiKeyMutationKey, getRevokeApiKeyUrl, getRevokeTeamInvitationMutationFetcher, getRevokeTeamInvitationMutationKey, getRevokeTeamInvitationUrl, getScheduleJobMutationFetcher, getScheduleJobMutationKey, getScheduleJobUrl, getSearchCasesKey, getSearchCasesUrl, getSecret, getSendEmailMutationFetcher, getSendEmailMutationKey, getSendEmailUrl, getSessionToken, getSignInMutationFetcher, getSignInMutationKey, getSignInUrl, getSignUpMutationFetcher, getSignUpMutationKey, getSignUpUrl, getTestWebhookMutationFetcher, getTestWebhookMutationKey, getTestWebhookUrl, getTool, getUpdateApiKeyMutationFetcher, getUpdateApiKeyMutationKey, getUpdateApiKeyUrl, getUpdateArtifactMetadataMutationFetcher, getUpdateArtifactMetadataMutationKey, getUpdateArtifactMetadataUrl, getUpdateCallControlsMutationFetcher, getUpdateCallControlsMutationKey, getUpdateCallControlsUrl, getUpdateChatAgentMutationFetcher, getUpdateChatAgentMutationKey, getUpdateChatAgentPromptMutationFetcher, getUpdateChatAgentPromptMutationKey, getUpdateChatAgentPromptUrl, getUpdateChatAgentUrl, getUpdateExtractorMutationFetcher, getUpdateExtractorMutationKey, getUpdateExtractorUrl, getUpdateInboxMutationFetcher, getUpdateInboxMutationKey, getUpdateInboxUrl, getUpdateMemberRoleMutationFetcher, getUpdateMemberRoleMutationKey, getUpdateMemberRoleUrl, getUpdateSecretMutationFetcher, getUpdateSecretMutationKey, getUpdateSecretUrl, getUpdateToolMutationFetcher, getUpdateToolMutationKey, getUpdateToolUrl, getUpdateVoiceAgentModelsMutationFetcher, getUpdateVoiceAgentModelsMutationKey, getUpdateVoiceAgentModelsUrl, getUpdateVoiceAgentMutationFetcher, getUpdateVoiceAgentMutationKey, getUpdateVoiceAgentPromptMutationFetcher, getUpdateVoiceAgentPromptMutationKey, getUpdateVoiceAgentPromptUrl, getUpdateVoiceAgentUrl, getUpdateWorkerMcpsMutationFetcher, getUpdateWorkerMcpsMutationKey, getUpdateWorkerMcpsUrl, getUpdateWorkerMutationFetcher, getUpdateWorkerMutationKey, getUpdateWorkerPromptMutationFetcher, getUpdateWorkerPromptMutationKey, getUpdateWorkerPromptUrl, getUpdateWorkerRunScopeMutationFetcher, getUpdateWorkerRunScopeMutationKey, getUpdateWorkerRunScopeUrl, getUpdateWorkerUrl, getUploadFileMutationFetcher, getUploadFileMutationKey, getUploadFileUrl, getVoiceAgent, getVoiceAgentPlaceholders, getVoiceAgentPrompt, getVoiceAgentVersion, getVoiceAgentVersionChangeSummary, getWebhook, getWorker, getWorkerExecuteToolMutationFetcher, getWorkerExecuteToolMutationKey, getWorkerExecuteToolUrl, getWorkerGetToolKey, getWorkerGetToolUrl, getWorkerListToolsKey, getWorkerListToolsUrl, getWorkerPrompt, getWorkerRun, inviteTeamMember, listAgentWebhooks, listApiKeys, listArtifacts, listCallFeedback, listCalls, listCaseLinks, listCases, listChatAgents, listChatMessages, listChats, listEmailThreads, listEmails, listExtractorJobs, listExtractors, listExtracts, listInboxWebhooks, listInboxes, listJobs, listSchedules, listSecrets, listTeamInvitations, listTeamMembers, listTools, listVoiceAgentVersions, listVoiceAgents, listWebhookDeliveries, listWebhooks, listWorkerModels, listWorkerRunMessages, listWorkerRuns, listWorkerWebhooks, listWorkers, partnerLaunch, postChatMessage, promoteVoiceAgentVersion, refreshToken, removeCaseLink, removeMember, replyToEmail, resendTeamInvitation, revokeApiKey, revokeTeamInvitation, scheduleJob, searchCases, sendEmail, signIn, signUp, testWebhook, updateApiKey, updateArtifactMetadata, updateCallControls, updateChatAgent, updateChatAgentPrompt, updateExtractor, updateInbox, updateMemberRole, updateSecret, updateTool, updateVoiceAgent, updateVoiceAgentModels, updateVoiceAgentPrompt, updateWorker, updateWorkerMcps, updateWorkerPrompt, updateWorkerRunScope, uploadFile, useAddCaseLinks, useAddToolsToVoiceAgent, useCancelJob, useCancelWorkerRun, useCheckInboxAvailability, useCreateAgentWebhook, useCreateApiKey, useCreateArtifact, useCreateCallFeedback, useCreateCase, useCreateChat, useCreateChatAgent, useCreateEmail, useCreateExtractor, useCreateExtractorJob, useCreateExtractorWebhook, useCreateInbox, useCreateInboxWebhook, useCreateSchedule, useCreateSecret, useCreateTool, useCreateVoiceAgent, useCreateWorker, useCreateWorkerRun, useCreateWorkerWebhook, useDeleteArtifact, useDeleteCallFeedback, useDeleteChatAgent, useDeleteEmail, useDeleteExtractor, useDeleteInbox, useDeleteSecret, useDeleteTool, useDeleteToolsFromVoiceAgent, useDeleteVoiceAgent, useDeleteWebhook, useDeleteWorker, useExecuteCode, useGetAnalyticsTimeSeries, useGetArtifact, useGetArtifactMetadataKeys, useGetArtifactStatusSummary, useGetArtifactUploadUrl, useGetCall, useGetCallAnalytics, useGetCallEvaluation, useGetCase, useGetChat, useGetChatAgent, useGetChatAgentPrompt, useGetEmail, useGetExtract, useGetExtractCitations, useGetExtractor, useGetExtractorJob, useGetOAuthUrl, useGetPartnerJwks, useGetProfile, useGetPublicChatAgent, useGetSecret, useGetSessionToken, useGetTool, useGetVoiceAgent, useGetVoiceAgentPlaceholders, useGetVoiceAgentPrompt, useGetVoiceAgentVersion, useGetVoiceAgentVersionChangeSummary, useGetWebhook, useGetWorker, useGetWorkerPrompt, useGetWorkerRun, useInviteTeamMember, useListAgentWebhooks, useListApiKeys, useListArtifacts, useListCallFeedback, useListCalls, useListCaseLinks, useListCases, useListChatAgents, useListChatMessages, useListChats, useListEmailThreads, useListEmails, useListExtractorJobs, useListExtractors, useListExtracts, useListInboxWebhooks, useListInboxes, useListJobs, useListSchedules, useListSecrets, useListTeamInvitations, useListTeamMembers, useListTools, useListVoiceAgentVersions, useListVoiceAgents, useListWebhookDeliveries, useListWebhooks, useListWorkerModels, useListWorkerRunMessages, useListWorkerRuns, useListWorkerWebhooks, useListWorkers, usePartnerLaunch, usePostChatMessage, usePromoteVoiceAgentVersion, useRefreshToken, useRemoveCaseLink, useRemoveMember, useReplyToEmail, useResendTeamInvitation, useRevokeApiKey, useRevokeTeamInvitation, useScheduleJob, useSearchCases, useSendEmail, useSignIn, useSignUp, useTestWebhook, useUpdateApiKey, useUpdateArtifactMetadata, useUpdateCallControls, useUpdateChatAgent, useUpdateChatAgentPrompt, useUpdateExtractor, useUpdateInbox, useUpdateMemberRole, useUpdateSecret, useUpdateTool, useUpdateVoiceAgent, useUpdateVoiceAgentModels, useUpdateVoiceAgentPrompt, useUpdateWorker, useUpdateWorkerMcps, useUpdateWorkerPrompt, useUpdateWorkerRunScope, useUploadFile, useWorkerExecuteTool, useWorkerGetTool, useWorkerListTools, workerExecuteTool, workerGetTool, workerListTools };
|