@avallon-labs/sdk 36.6.0-staging.913 → 36.8.0-staging.916
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 +736 -311
- package/dist/index.js +298 -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.
|
|
@@ -2093,6 +2190,16 @@ interface DeleteInboxResponse {
|
|
|
2093
2190
|
[key: string]: unknown;
|
|
2094
2191
|
}
|
|
2095
2192
|
|
|
2193
|
+
/**
|
|
2194
|
+
* Generated by orval v8.1.0 🍺
|
|
2195
|
+
* Do not edit manually.
|
|
2196
|
+
* Avallon API
|
|
2197
|
+
* OpenAPI spec version: 1.0.0
|
|
2198
|
+
*/
|
|
2199
|
+
interface DeleteScheduleResponse {
|
|
2200
|
+
[key: string]: unknown;
|
|
2201
|
+
}
|
|
2202
|
+
|
|
2096
2203
|
/**
|
|
2097
2204
|
* Generated by orval v8.1.0 🍺
|
|
2098
2205
|
* Do not edit manually.
|
|
@@ -4237,6 +4344,55 @@ type ListJobsParams = {
|
|
|
4237
4344
|
scheduled_before?: string;
|
|
4238
4345
|
};
|
|
4239
4346
|
|
|
4347
|
+
/**
|
|
4348
|
+
* Generated by orval v8.1.0 🍺
|
|
4349
|
+
* Do not edit manually.
|
|
4350
|
+
* Avallon API
|
|
4351
|
+
* OpenAPI spec version: 1.0.0
|
|
4352
|
+
*/
|
|
4353
|
+
type ListSchedulesSortBy = (typeof ListSchedulesSortBy)[keyof typeof ListSchedulesSortBy];
|
|
4354
|
+
declare const ListSchedulesSortBy: {
|
|
4355
|
+
readonly created_at: "created_at";
|
|
4356
|
+
readonly next_run_at: "next_run_at";
|
|
4357
|
+
};
|
|
4358
|
+
|
|
4359
|
+
/**
|
|
4360
|
+
* Generated by orval v8.1.0 🍺
|
|
4361
|
+
* Do not edit manually.
|
|
4362
|
+
* Avallon API
|
|
4363
|
+
* OpenAPI spec version: 1.0.0
|
|
4364
|
+
*/
|
|
4365
|
+
type ListSchedulesSortOrder = (typeof ListSchedulesSortOrder)[keyof typeof ListSchedulesSortOrder];
|
|
4366
|
+
declare const ListSchedulesSortOrder: {
|
|
4367
|
+
readonly asc: "asc";
|
|
4368
|
+
readonly desc: "desc";
|
|
4369
|
+
};
|
|
4370
|
+
|
|
4371
|
+
/**
|
|
4372
|
+
* Generated by orval v8.1.0 🍺
|
|
4373
|
+
* Do not edit manually.
|
|
4374
|
+
* Avallon API
|
|
4375
|
+
* OpenAPI spec version: 1.0.0
|
|
4376
|
+
*/
|
|
4377
|
+
|
|
4378
|
+
type ListSchedulesParams = {
|
|
4379
|
+
/**
|
|
4380
|
+
* Only schedules that trigger this worker
|
|
4381
|
+
*/
|
|
4382
|
+
worker_id?: string;
|
|
4383
|
+
/**
|
|
4384
|
+
* @minimum 1
|
|
4385
|
+
* @maximum 100
|
|
4386
|
+
*/
|
|
4387
|
+
count?: number;
|
|
4388
|
+
/**
|
|
4389
|
+
* @minimum 0
|
|
4390
|
+
*/
|
|
4391
|
+
offset?: number;
|
|
4392
|
+
sort_by?: ListSchedulesSortBy;
|
|
4393
|
+
sort_order?: ListSchedulesSortOrder;
|
|
4394
|
+
};
|
|
4395
|
+
|
|
4240
4396
|
/**
|
|
4241
4397
|
* Generated by orval v8.1.0 🍺
|
|
4242
4398
|
* Do not edit manually.
|
|
@@ -4813,6 +4969,7 @@ declare const ProfilePermissionsItem: {
|
|
|
4813
4969
|
readonly "prompts:write": "prompts:write";
|
|
4814
4970
|
readonly "secrets:read": "secrets:read";
|
|
4815
4971
|
readonly "secrets:write": "secrets:write";
|
|
4972
|
+
readonly "schedules:write": "schedules:write";
|
|
4816
4973
|
};
|
|
4817
4974
|
|
|
4818
4975
|
/**
|
|
@@ -5011,6 +5168,109 @@ interface RevokeTeamInvitationResponse {
|
|
|
5011
5168
|
[key: string]: unknown;
|
|
5012
5169
|
}
|
|
5013
5170
|
|
|
5171
|
+
/**
|
|
5172
|
+
* Generated by orval v8.1.0 🍺
|
|
5173
|
+
* Do not edit manually.
|
|
5174
|
+
* Avallon API
|
|
5175
|
+
* OpenAPI spec version: 1.0.0
|
|
5176
|
+
*/
|
|
5177
|
+
/**
|
|
5178
|
+
* What the schedule does every time it fires
|
|
5179
|
+
*/
|
|
5180
|
+
type ScheduleActionOutput = {
|
|
5181
|
+
type: "trigger_worker";
|
|
5182
|
+
worker_id: string;
|
|
5183
|
+
/** Scope of the runs this schedule creates. Omit or send null to run without artifacts. */
|
|
5184
|
+
scope?: {
|
|
5185
|
+
[key: string]: string | number | boolean | null;
|
|
5186
|
+
} | null;
|
|
5187
|
+
};
|
|
5188
|
+
|
|
5189
|
+
/**
|
|
5190
|
+
* Generated by orval v8.1.0 🍺
|
|
5191
|
+
* Do not edit manually.
|
|
5192
|
+
* Avallon API
|
|
5193
|
+
* OpenAPI spec version: 1.0.0
|
|
5194
|
+
*/
|
|
5195
|
+
/**
|
|
5196
|
+
* When the schedule fires, in the given time zone
|
|
5197
|
+
*/
|
|
5198
|
+
type ScheduleRuleOutput = {
|
|
5199
|
+
type: "hourly";
|
|
5200
|
+
/**
|
|
5201
|
+
* Minute, 0-59
|
|
5202
|
+
* @minimum 0
|
|
5203
|
+
* @maximum 59
|
|
5204
|
+
*/
|
|
5205
|
+
minute: number;
|
|
5206
|
+
/** IANA time zone identifier, e.g. "America/Chicago" */
|
|
5207
|
+
timezone: string;
|
|
5208
|
+
} | {
|
|
5209
|
+
type: "daily";
|
|
5210
|
+
/**
|
|
5211
|
+
* Hour, 0-23
|
|
5212
|
+
* @minimum 0
|
|
5213
|
+
* @maximum 23
|
|
5214
|
+
*/
|
|
5215
|
+
hour: number;
|
|
5216
|
+
/**
|
|
5217
|
+
* Minute, 0-59
|
|
5218
|
+
* @minimum 0
|
|
5219
|
+
* @maximum 59
|
|
5220
|
+
*/
|
|
5221
|
+
minute: number;
|
|
5222
|
+
/** IANA time zone identifier, e.g. "America/Chicago" */
|
|
5223
|
+
timezone: string;
|
|
5224
|
+
} | {
|
|
5225
|
+
type: "weekly";
|
|
5226
|
+
/**
|
|
5227
|
+
* ISO-8601 weekday, 1 = Monday through 7 = Sunday
|
|
5228
|
+
* @minimum 1
|
|
5229
|
+
* @maximum 7
|
|
5230
|
+
*/
|
|
5231
|
+
weekday: number;
|
|
5232
|
+
/**
|
|
5233
|
+
* Hour, 0-23
|
|
5234
|
+
* @minimum 0
|
|
5235
|
+
* @maximum 23
|
|
5236
|
+
*/
|
|
5237
|
+
hour: number;
|
|
5238
|
+
/**
|
|
5239
|
+
* Minute, 0-59
|
|
5240
|
+
* @minimum 0
|
|
5241
|
+
* @maximum 59
|
|
5242
|
+
*/
|
|
5243
|
+
minute: number;
|
|
5244
|
+
/** IANA time zone identifier, e.g. "America/Chicago" */
|
|
5245
|
+
timezone: string;
|
|
5246
|
+
};
|
|
5247
|
+
|
|
5248
|
+
/**
|
|
5249
|
+
* Generated by orval v8.1.0 🍺
|
|
5250
|
+
* Do not edit manually.
|
|
5251
|
+
* Avallon API
|
|
5252
|
+
* OpenAPI spec version: 1.0.0
|
|
5253
|
+
*/
|
|
5254
|
+
|
|
5255
|
+
interface Schedule {
|
|
5256
|
+
/** Unique identifier for the schedule */
|
|
5257
|
+
id: string;
|
|
5258
|
+
/** Optional human-readable name */
|
|
5259
|
+
name: string | null;
|
|
5260
|
+
action: ScheduleActionOutput;
|
|
5261
|
+
rule: ScheduleRuleOutput;
|
|
5262
|
+
/** Whether the schedule currently fires. Disabled never fires. */
|
|
5263
|
+
enabled: boolean;
|
|
5264
|
+
/** When the schedule fires next, in UTC. Null while disabled. */
|
|
5265
|
+
next_run_at: string | null;
|
|
5266
|
+
/** Actor that created the schedule */
|
|
5267
|
+
created_by: string;
|
|
5268
|
+
/** Creation timestamp */
|
|
5269
|
+
created_at: string;
|
|
5270
|
+
/** Last update timestamp */
|
|
5271
|
+
updated_at: string;
|
|
5272
|
+
}
|
|
5273
|
+
|
|
5014
5274
|
/**
|
|
5015
5275
|
* Generated by orval v8.1.0 🍺
|
|
5016
5276
|
* Do not edit manually.
|
|
@@ -5068,6 +5328,15 @@ type ScheduleJobBody = {
|
|
|
5068
5328
|
trigger_immediately?: boolean;
|
|
5069
5329
|
};
|
|
5070
5330
|
|
|
5331
|
+
/**
|
|
5332
|
+
* Generated by orval v8.1.0 🍺
|
|
5333
|
+
* Do not edit manually.
|
|
5334
|
+
* Avallon API
|
|
5335
|
+
* OpenAPI spec version: 1.0.0
|
|
5336
|
+
*/
|
|
5337
|
+
|
|
5338
|
+
type ScheduleList = Schedule[];
|
|
5339
|
+
|
|
5071
5340
|
/**
|
|
5072
5341
|
* Generated by orval v8.1.0 🍺
|
|
5073
5342
|
* Do not edit manually.
|
|
@@ -5453,6 +5722,21 @@ type UpdateMemberRoleBody = {
|
|
|
5453
5722
|
|
|
5454
5723
|
type UpdateMemberRoleResponse = TeamMember;
|
|
5455
5724
|
|
|
5725
|
+
/**
|
|
5726
|
+
* Generated by orval v8.1.0 🍺
|
|
5727
|
+
* Do not edit manually.
|
|
5728
|
+
* Avallon API
|
|
5729
|
+
* OpenAPI spec version: 1.0.0
|
|
5730
|
+
*/
|
|
5731
|
+
|
|
5732
|
+
type UpdateScheduleBody = {
|
|
5733
|
+
rule?: ScheduleRule;
|
|
5734
|
+
/** Human-readable name. Send null to clear it. */
|
|
5735
|
+
name?: string | null;
|
|
5736
|
+
/** Whether the schedule fires. Disabled never fires. */
|
|
5737
|
+
enabled?: boolean;
|
|
5738
|
+
};
|
|
5739
|
+
|
|
5456
5740
|
/**
|
|
5457
5741
|
* Generated by orval v8.1.0 🍺
|
|
5458
5742
|
* Do not edit manually.
|
|
@@ -6451,9 +6735,9 @@ interface WorkerToolList {
|
|
|
6451
6735
|
|
|
6452
6736
|
type WorkerWebhookList = Webhook[];
|
|
6453
6737
|
|
|
6454
|
-
type AwaitedInput$
|
|
6455
|
-
type Awaited$
|
|
6456
|
-
type SecondParameter$
|
|
6738
|
+
type AwaitedInput$o<T> = PromiseLike<T> | T;
|
|
6739
|
+
type Awaited$o<O> = O extends AwaitedInput$o<infer T> ? T : never;
|
|
6740
|
+
type SecondParameter$o<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
6457
6741
|
/**
|
|
6458
6742
|
* Retrieve a tenant-scoped time series for a single processing-volume metric.
|
|
6459
6743
|
|
|
@@ -6465,16 +6749,16 @@ Pick a `metric` (worker runs, documents, or pages), a date range, a bucket `gran
|
|
|
6465
6749
|
declare const getGetAnalyticsTimeSeriesUrl: (params: GetAnalyticsTimeSeriesParams) => string;
|
|
6466
6750
|
declare const getAnalyticsTimeSeries: (params: GetAnalyticsTimeSeriesParams, options?: RequestInit) => Promise<AnalyticsTimeSeries[]>;
|
|
6467
6751
|
declare const getGetAnalyticsTimeSeriesKey: (params: GetAnalyticsTimeSeriesParams) => readonly ["/v1/analytics/timeseries", ...GetAnalyticsTimeSeriesParams[]];
|
|
6468
|
-
type GetAnalyticsTimeSeriesQueryResult = NonNullable<Awaited$
|
|
6752
|
+
type GetAnalyticsTimeSeriesQueryResult = NonNullable<Awaited$o<ReturnType<typeof getAnalyticsTimeSeries>>>;
|
|
6469
6753
|
/**
|
|
6470
6754
|
* @summary Get analytics time series
|
|
6471
6755
|
*/
|
|
6472
6756
|
declare const useGetAnalyticsTimeSeries: <TError = ErrorType<ErrorResponse>>(params: GetAnalyticsTimeSeriesParams, options?: {
|
|
6473
|
-
swr?: SWRConfiguration<Awaited$
|
|
6757
|
+
swr?: SWRConfiguration<Awaited$o<ReturnType<typeof getAnalyticsTimeSeries>>, TError> & {
|
|
6474
6758
|
swrKey?: Key;
|
|
6475
6759
|
enabled?: boolean;
|
|
6476
6760
|
};
|
|
6477
|
-
request?: SecondParameter$
|
|
6761
|
+
request?: SecondParameter$o<typeof customFetch>;
|
|
6478
6762
|
}) => {
|
|
6479
6763
|
data: AnalyticsTimeSeries[] | undefined;
|
|
6480
6764
|
error: TError | undefined;
|
|
@@ -6484,9 +6768,9 @@ declare const useGetAnalyticsTimeSeries: <TError = ErrorType<ErrorResponse>>(par
|
|
|
6484
6768
|
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
|
|
6485
6769
|
};
|
|
6486
6770
|
|
|
6487
|
-
type AwaitedInput$
|
|
6488
|
-
type Awaited$
|
|
6489
|
-
type SecondParameter$
|
|
6771
|
+
type AwaitedInput$n<T> = PromiseLike<T> | T;
|
|
6772
|
+
type Awaited$n<O> = O extends AwaitedInput$n<infer T> ? T : never;
|
|
6773
|
+
type SecondParameter$n<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
6490
6774
|
/**
|
|
6491
6775
|
* List all API keys for your tenant.
|
|
6492
6776
|
|
|
@@ -6498,16 +6782,16 @@ By default, revoked keys are excluded. Set `include_revoked=true` to include the
|
|
|
6498
6782
|
declare const getListApiKeysUrl: (params?: ListApiKeysParams) => string;
|
|
6499
6783
|
declare const listApiKeys: (params?: ListApiKeysParams, options?: RequestInit) => Promise<ApiKeyList>;
|
|
6500
6784
|
declare const getListApiKeysKey: (params?: ListApiKeysParams) => readonly ["/platform/api-keys", ...ListApiKeysParams[]];
|
|
6501
|
-
type ListApiKeysQueryResult = NonNullable<Awaited$
|
|
6785
|
+
type ListApiKeysQueryResult = NonNullable<Awaited$n<ReturnType<typeof listApiKeys>>>;
|
|
6502
6786
|
/**
|
|
6503
6787
|
* @summary List API keys
|
|
6504
6788
|
*/
|
|
6505
6789
|
declare const useListApiKeys: <TError = ErrorType<ErrorResponse>>(params?: ListApiKeysParams, options?: {
|
|
6506
|
-
swr?: SWRConfiguration<Awaited$
|
|
6790
|
+
swr?: SWRConfiguration<Awaited$n<ReturnType<typeof listApiKeys>>, TError> & {
|
|
6507
6791
|
swrKey?: Key;
|
|
6508
6792
|
enabled?: boolean;
|
|
6509
6793
|
};
|
|
6510
|
-
request?: SecondParameter$
|
|
6794
|
+
request?: SecondParameter$n<typeof customFetch>;
|
|
6511
6795
|
}) => {
|
|
6512
6796
|
data: ApiKeyList | undefined;
|
|
6513
6797
|
error: TError | undefined;
|
|
@@ -6526,19 +6810,19 @@ Keys are scoped to an environment (`test` or `live`) and optionally accept an ex
|
|
|
6526
6810
|
*/
|
|
6527
6811
|
declare const getCreateApiKeyUrl: () => string;
|
|
6528
6812
|
declare const createApiKey: (createApiKeyBody: CreateApiKeyBody, options?: RequestInit) => Promise<ApiKeyCreated>;
|
|
6529
|
-
declare const getCreateApiKeyMutationFetcher: (options?: SecondParameter$
|
|
6813
|
+
declare const getCreateApiKeyMutationFetcher: (options?: SecondParameter$n<typeof customFetch>) => (_: Key, { arg }: {
|
|
6530
6814
|
arg: CreateApiKeyBody;
|
|
6531
6815
|
}) => Promise<ApiKeyCreated>;
|
|
6532
6816
|
declare const getCreateApiKeyMutationKey: () => readonly ["/platform/api-keys"];
|
|
6533
|
-
type CreateApiKeyMutationResult = NonNullable<Awaited$
|
|
6817
|
+
type CreateApiKeyMutationResult = NonNullable<Awaited$n<ReturnType<typeof createApiKey>>>;
|
|
6534
6818
|
/**
|
|
6535
6819
|
* @summary Create an API key
|
|
6536
6820
|
*/
|
|
6537
6821
|
declare const useCreateApiKey: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
6538
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
6822
|
+
swr?: SWRMutationConfiguration<Awaited$n<ReturnType<typeof createApiKey>>, TError, Key, CreateApiKeyBody, Awaited$n<ReturnType<typeof createApiKey>>> & {
|
|
6539
6823
|
swrKey?: string;
|
|
6540
6824
|
};
|
|
6541
|
-
request?: SecondParameter$
|
|
6825
|
+
request?: SecondParameter$n<typeof customFetch>;
|
|
6542
6826
|
}) => {
|
|
6543
6827
|
isMutating: boolean;
|
|
6544
6828
|
trigger: swr_mutation.TriggerWithArgs<ApiKeyCreated, TError, string | readonly ["/platform/api-keys"], CreateApiKeyBody>;
|
|
@@ -6557,19 +6841,19 @@ Returns 409 if the key is already revoked, 404 if the key does not exist.
|
|
|
6557
6841
|
*/
|
|
6558
6842
|
declare const getRevokeApiKeyUrl: (id: string) => string;
|
|
6559
6843
|
declare const revokeApiKey: (id: string, options?: RequestInit) => Promise<ConfirmationResponse>;
|
|
6560
|
-
declare const getRevokeApiKeyMutationFetcher: (id: string, options?: SecondParameter$
|
|
6844
|
+
declare const getRevokeApiKeyMutationFetcher: (id: string, options?: SecondParameter$n<typeof customFetch>) => (_: Key, __: {
|
|
6561
6845
|
arg: Arguments;
|
|
6562
6846
|
}) => Promise<ConfirmationResponse>;
|
|
6563
6847
|
declare const getRevokeApiKeyMutationKey: (id: string) => readonly [`/platform/api-keys/${string}/revoke`];
|
|
6564
|
-
type RevokeApiKeyMutationResult = NonNullable<Awaited$
|
|
6848
|
+
type RevokeApiKeyMutationResult = NonNullable<Awaited$n<ReturnType<typeof revokeApiKey>>>;
|
|
6565
6849
|
/**
|
|
6566
6850
|
* @summary Revoke an API key
|
|
6567
6851
|
*/
|
|
6568
6852
|
declare const useRevokeApiKey: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
6569
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
6853
|
+
swr?: SWRMutationConfiguration<Awaited$n<ReturnType<typeof revokeApiKey>>, TError, Key, Arguments, Awaited$n<ReturnType<typeof revokeApiKey>>> & {
|
|
6570
6854
|
swrKey?: string;
|
|
6571
6855
|
};
|
|
6572
|
-
request?: SecondParameter$
|
|
6856
|
+
request?: SecondParameter$n<typeof customFetch>;
|
|
6573
6857
|
}) => {
|
|
6574
6858
|
isMutating: boolean;
|
|
6575
6859
|
trigger: swr_mutation.TriggerWithOptionsArgs<ConfirmationResponse, TError, string | readonly [`/platform/api-keys/${string}/revoke`], Arguments>;
|
|
@@ -6586,19 +6870,19 @@ The caller's role caps the maximum role they can grant — an `admin` cannot pro
|
|
|
6586
6870
|
*/
|
|
6587
6871
|
declare const getUpdateApiKeyUrl: (id: string) => string;
|
|
6588
6872
|
declare const updateApiKey: (id: string, updateApiKeyBody: UpdateApiKeyBody, options?: RequestInit) => Promise<ApiKey>;
|
|
6589
|
-
declare const getUpdateApiKeyMutationFetcher: (id: string, options?: SecondParameter$
|
|
6873
|
+
declare const getUpdateApiKeyMutationFetcher: (id: string, options?: SecondParameter$n<typeof customFetch>) => (_: Key, { arg }: {
|
|
6590
6874
|
arg: UpdateApiKeyBody;
|
|
6591
6875
|
}) => Promise<ApiKey>;
|
|
6592
6876
|
declare const getUpdateApiKeyMutationKey: (id: string) => readonly [`/platform/api-keys/${string}`];
|
|
6593
|
-
type UpdateApiKeyMutationResult = NonNullable<Awaited$
|
|
6877
|
+
type UpdateApiKeyMutationResult = NonNullable<Awaited$n<ReturnType<typeof updateApiKey>>>;
|
|
6594
6878
|
/**
|
|
6595
6879
|
* @summary Update API key
|
|
6596
6880
|
*/
|
|
6597
6881
|
declare const useUpdateApiKey: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
6598
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
6882
|
+
swr?: SWRMutationConfiguration<Awaited$n<ReturnType<typeof updateApiKey>>, TError, Key, UpdateApiKeyBody, Awaited$n<ReturnType<typeof updateApiKey>>> & {
|
|
6599
6883
|
swrKey?: string;
|
|
6600
6884
|
};
|
|
6601
|
-
request?: SecondParameter$
|
|
6885
|
+
request?: SecondParameter$n<typeof customFetch>;
|
|
6602
6886
|
}) => {
|
|
6603
6887
|
isMutating: boolean;
|
|
6604
6888
|
trigger: swr_mutation.TriggerWithArgs<ApiKey, TError, string | readonly [`/platform/api-keys/${string}`], UpdateApiKeyBody>;
|
|
@@ -6608,9 +6892,9 @@ declare const useUpdateApiKey: <TError = ErrorType<ErrorResponse>>(id: string, o
|
|
|
6608
6892
|
swrKey: string | readonly [`/platform/api-keys/${string}`];
|
|
6609
6893
|
};
|
|
6610
6894
|
|
|
6611
|
-
type AwaitedInput$
|
|
6612
|
-
type Awaited$
|
|
6613
|
-
type SecondParameter$
|
|
6895
|
+
type AwaitedInput$m<T> = PromiseLike<T> | T;
|
|
6896
|
+
type Awaited$m<O> = O extends AwaitedInput$m<infer T> ? T : never;
|
|
6897
|
+
type SecondParameter$m<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
6614
6898
|
/**
|
|
6615
6899
|
* Upload a document as a base64-encoded artifact for processing.
|
|
6616
6900
|
|
|
@@ -6626,19 +6910,19 @@ Maximum file size is approximately 6.75MB (base64 encoded). The API Gateway has
|
|
|
6626
6910
|
*/
|
|
6627
6911
|
declare const getCreateArtifactUrl: () => string;
|
|
6628
6912
|
declare const createArtifact: (createArtifactBody: CreateArtifactBody, options?: RequestInit) => Promise<ArtifactCreated>;
|
|
6629
|
-
declare const getCreateArtifactMutationFetcher: (options?: SecondParameter$
|
|
6913
|
+
declare const getCreateArtifactMutationFetcher: (options?: SecondParameter$m<typeof customFetch>) => (_: Key, { arg }: {
|
|
6630
6914
|
arg: CreateArtifactBody;
|
|
6631
6915
|
}) => Promise<ArtifactCreated>;
|
|
6632
6916
|
declare const getCreateArtifactMutationKey: () => readonly ["/v1/artifacts"];
|
|
6633
|
-
type CreateArtifactMutationResult = NonNullable<Awaited$
|
|
6917
|
+
type CreateArtifactMutationResult = NonNullable<Awaited$m<ReturnType<typeof createArtifact>>>;
|
|
6634
6918
|
/**
|
|
6635
6919
|
* @summary Create artifact
|
|
6636
6920
|
*/
|
|
6637
6921
|
declare const useCreateArtifact: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
6638
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
6922
|
+
swr?: SWRMutationConfiguration<Awaited$m<ReturnType<typeof createArtifact>>, TError, Key, CreateArtifactBody, Awaited$m<ReturnType<typeof createArtifact>>> & {
|
|
6639
6923
|
swrKey?: string;
|
|
6640
6924
|
};
|
|
6641
|
-
request?: SecondParameter$
|
|
6925
|
+
request?: SecondParameter$m<typeof customFetch>;
|
|
6642
6926
|
}) => {
|
|
6643
6927
|
isMutating: boolean;
|
|
6644
6928
|
trigger: swr_mutation.TriggerWithArgs<ArtifactCreated, TError, string | readonly ["/v1/artifacts"], CreateArtifactBody>;
|
|
@@ -6662,16 +6946,16 @@ Multiple metadata filters can be combined (AND logic).
|
|
|
6662
6946
|
declare const getListArtifactsUrl: (params?: ListArtifactsParams) => string;
|
|
6663
6947
|
declare const listArtifacts: (params?: ListArtifactsParams, options?: RequestInit) => Promise<ArtifactList>;
|
|
6664
6948
|
declare const getListArtifactsKey: (params?: ListArtifactsParams) => readonly ["/v1/artifacts", ...ListArtifactsParams[]];
|
|
6665
|
-
type ListArtifactsQueryResult = NonNullable<Awaited$
|
|
6949
|
+
type ListArtifactsQueryResult = NonNullable<Awaited$m<ReturnType<typeof listArtifacts>>>;
|
|
6666
6950
|
/**
|
|
6667
6951
|
* @summary List artifacts
|
|
6668
6952
|
*/
|
|
6669
6953
|
declare const useListArtifacts: <TError = ErrorType<ErrorResponse>>(params?: ListArtifactsParams, options?: {
|
|
6670
|
-
swr?: SWRConfiguration<Awaited$
|
|
6954
|
+
swr?: SWRConfiguration<Awaited$m<ReturnType<typeof listArtifacts>>, TError> & {
|
|
6671
6955
|
swrKey?: Key;
|
|
6672
6956
|
enabled?: boolean;
|
|
6673
6957
|
};
|
|
6674
|
-
request?: SecondParameter$
|
|
6958
|
+
request?: SecondParameter$m<typeof customFetch>;
|
|
6675
6959
|
}) => {
|
|
6676
6960
|
data: ArtifactList | undefined;
|
|
6677
6961
|
error: TError | undefined;
|
|
@@ -6689,16 +6973,16 @@ The response always includes `content_with_chunkids_md`: the parsed content anno
|
|
|
6689
6973
|
declare const getGetArtifactUrl: (id: string) => string;
|
|
6690
6974
|
declare const getArtifact: (id: string, options?: RequestInit) => Promise<ArtifactDetail>;
|
|
6691
6975
|
declare const getGetArtifactKey: (id: string) => readonly [`/v1/artifacts/${string}`];
|
|
6692
|
-
type GetArtifactQueryResult = NonNullable<Awaited$
|
|
6976
|
+
type GetArtifactQueryResult = NonNullable<Awaited$m<ReturnType<typeof getArtifact>>>;
|
|
6693
6977
|
/**
|
|
6694
6978
|
* @summary Get artifact
|
|
6695
6979
|
*/
|
|
6696
6980
|
declare const useGetArtifact: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
6697
|
-
swr?: SWRConfiguration<Awaited$
|
|
6981
|
+
swr?: SWRConfiguration<Awaited$m<ReturnType<typeof getArtifact>>, TError> & {
|
|
6698
6982
|
swrKey?: Key;
|
|
6699
6983
|
enabled?: boolean;
|
|
6700
6984
|
};
|
|
6701
|
-
request?: SecondParameter$
|
|
6985
|
+
request?: SecondParameter$m<typeof customFetch>;
|
|
6702
6986
|
}) => {
|
|
6703
6987
|
data: ArtifactDetail | undefined;
|
|
6704
6988
|
error: TError | undefined;
|
|
@@ -6713,19 +6997,19 @@ declare const useGetArtifact: <TError = ErrorType<ErrorResponse>>(id: string, op
|
|
|
6713
6997
|
*/
|
|
6714
6998
|
declare const getDeleteArtifactUrl: (id: string) => string;
|
|
6715
6999
|
declare const deleteArtifact: (id: string, options?: RequestInit) => Promise<DeleteArtifactResponse>;
|
|
6716
|
-
declare const getDeleteArtifactMutationFetcher: (id: string, options?: SecondParameter$
|
|
7000
|
+
declare const getDeleteArtifactMutationFetcher: (id: string, options?: SecondParameter$m<typeof customFetch>) => (_: Key, __: {
|
|
6717
7001
|
arg: Arguments;
|
|
6718
7002
|
}) => Promise<DeleteArtifactResponse>;
|
|
6719
7003
|
declare const getDeleteArtifactMutationKey: (id: string) => readonly [`/v1/artifacts/${string}`];
|
|
6720
|
-
type DeleteArtifactMutationResult = NonNullable<Awaited$
|
|
7004
|
+
type DeleteArtifactMutationResult = NonNullable<Awaited$m<ReturnType<typeof deleteArtifact>>>;
|
|
6721
7005
|
/**
|
|
6722
7006
|
* @summary Delete artifact
|
|
6723
7007
|
*/
|
|
6724
7008
|
declare const useDeleteArtifact: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
6725
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
7009
|
+
swr?: SWRMutationConfiguration<Awaited$m<ReturnType<typeof deleteArtifact>>, TError, Key, Arguments, Awaited$m<ReturnType<typeof deleteArtifact>>> & {
|
|
6726
7010
|
swrKey?: string;
|
|
6727
7011
|
};
|
|
6728
|
-
request?: SecondParameter$
|
|
7012
|
+
request?: SecondParameter$m<typeof customFetch>;
|
|
6729
7013
|
}) => {
|
|
6730
7014
|
isMutating: boolean;
|
|
6731
7015
|
trigger: swr_mutation.TriggerWithOptionsArgs<DeleteArtifactResponse, TError, string | readonly [`/v1/artifacts/${string}`], Arguments>;
|
|
@@ -6741,16 +7025,16 @@ declare const useDeleteArtifact: <TError = ErrorType<ErrorResponse>>(id: string,
|
|
|
6741
7025
|
declare const getGetArtifactMetadataKeysUrl: (params?: GetArtifactMetadataKeysParams) => string;
|
|
6742
7026
|
declare const getArtifactMetadataKeys: (params?: GetArtifactMetadataKeysParams, options?: RequestInit) => Promise<ArtifactMetadataKeys>;
|
|
6743
7027
|
declare const getGetArtifactMetadataKeysKey: (params?: GetArtifactMetadataKeysParams) => readonly ["/v1/artifacts/metadata/keys", ...GetArtifactMetadataKeysParams[]];
|
|
6744
|
-
type GetArtifactMetadataKeysQueryResult = NonNullable<Awaited$
|
|
7028
|
+
type GetArtifactMetadataKeysQueryResult = NonNullable<Awaited$m<ReturnType<typeof getArtifactMetadataKeys>>>;
|
|
6745
7029
|
/**
|
|
6746
7030
|
* @summary Get artifact metadata keys
|
|
6747
7031
|
*/
|
|
6748
7032
|
declare const useGetArtifactMetadataKeys: <TError = ErrorType<ErrorResponse>>(params?: GetArtifactMetadataKeysParams, options?: {
|
|
6749
|
-
swr?: SWRConfiguration<Awaited$
|
|
7033
|
+
swr?: SWRConfiguration<Awaited$m<ReturnType<typeof getArtifactMetadataKeys>>, TError> & {
|
|
6750
7034
|
swrKey?: Key;
|
|
6751
7035
|
enabled?: boolean;
|
|
6752
7036
|
};
|
|
6753
|
-
request?: SecondParameter$
|
|
7037
|
+
request?: SecondParameter$m<typeof customFetch>;
|
|
6754
7038
|
}) => {
|
|
6755
7039
|
data: ArtifactMetadataKeys | undefined;
|
|
6756
7040
|
error: TError | undefined;
|
|
@@ -6768,16 +7052,16 @@ Define the scope with bracket notation (e.g. `scope[email_id]=abc-123`). At leas
|
|
|
6768
7052
|
declare const getGetArtifactStatusSummaryUrl: (params: GetArtifactStatusSummaryParams) => string;
|
|
6769
7053
|
declare const getArtifactStatusSummary: (params: GetArtifactStatusSummaryParams, options?: RequestInit) => Promise<ArtifactStatusSummary>;
|
|
6770
7054
|
declare const getGetArtifactStatusSummaryKey: (params: GetArtifactStatusSummaryParams) => readonly ["/v1/artifacts/status-summary", ...GetArtifactStatusSummaryParams[]];
|
|
6771
|
-
type GetArtifactStatusSummaryQueryResult = NonNullable<Awaited$
|
|
7055
|
+
type GetArtifactStatusSummaryQueryResult = NonNullable<Awaited$m<ReturnType<typeof getArtifactStatusSummary>>>;
|
|
6772
7056
|
/**
|
|
6773
7057
|
* @summary Get artifact status summary
|
|
6774
7058
|
*/
|
|
6775
7059
|
declare const useGetArtifactStatusSummary: <TError = ErrorType<ErrorResponse>>(params: GetArtifactStatusSummaryParams, options?: {
|
|
6776
|
-
swr?: SWRConfiguration<Awaited$
|
|
7060
|
+
swr?: SWRConfiguration<Awaited$m<ReturnType<typeof getArtifactStatusSummary>>, TError> & {
|
|
6777
7061
|
swrKey?: Key;
|
|
6778
7062
|
enabled?: boolean;
|
|
6779
7063
|
};
|
|
6780
|
-
request?: SecondParameter$
|
|
7064
|
+
request?: SecondParameter$m<typeof customFetch>;
|
|
6781
7065
|
}) => {
|
|
6782
7066
|
data: ArtifactStatusSummary | undefined;
|
|
6783
7067
|
error: TError | undefined;
|
|
@@ -6792,19 +7076,19 @@ declare const useGetArtifactStatusSummary: <TError = ErrorType<ErrorResponse>>(p
|
|
|
6792
7076
|
*/
|
|
6793
7077
|
declare const getGetArtifactUploadUrlUrl: () => string;
|
|
6794
7078
|
declare const getArtifactUploadUrl: (getArtifactUploadUrlBody: GetArtifactUploadUrlBody, options?: RequestInit) => Promise<GetArtifactUploadUrl200>;
|
|
6795
|
-
declare const getGetArtifactUploadUrlMutationFetcher: (options?: SecondParameter$
|
|
7079
|
+
declare const getGetArtifactUploadUrlMutationFetcher: (options?: SecondParameter$m<typeof customFetch>) => (_: Key, { arg }: {
|
|
6796
7080
|
arg: GetArtifactUploadUrlBody;
|
|
6797
7081
|
}) => Promise<GetArtifactUploadUrl200>;
|
|
6798
7082
|
declare const getGetArtifactUploadUrlMutationKey: () => readonly ["/v1/artifacts/get-upload-url"];
|
|
6799
|
-
type GetArtifactUploadUrlMutationResult = NonNullable<Awaited$
|
|
7083
|
+
type GetArtifactUploadUrlMutationResult = NonNullable<Awaited$m<ReturnType<typeof getArtifactUploadUrl>>>;
|
|
6800
7084
|
/**
|
|
6801
7085
|
* @summary Request a pre-signed URL for direct large file upload
|
|
6802
7086
|
*/
|
|
6803
7087
|
declare const useGetArtifactUploadUrl: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
6804
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
7088
|
+
swr?: SWRMutationConfiguration<Awaited$m<ReturnType<typeof getArtifactUploadUrl>>, TError, Key, GetArtifactUploadUrlBody, Awaited$m<ReturnType<typeof getArtifactUploadUrl>>> & {
|
|
6805
7089
|
swrKey?: string;
|
|
6806
7090
|
};
|
|
6807
|
-
request?: SecondParameter$
|
|
7091
|
+
request?: SecondParameter$m<typeof customFetch>;
|
|
6808
7092
|
}) => {
|
|
6809
7093
|
isMutating: boolean;
|
|
6810
7094
|
trigger: swr_mutation.TriggerWithArgs<GetArtifactUploadUrl200, TError, string | readonly ["/v1/artifacts/get-upload-url"], GetArtifactUploadUrlBody>;
|
|
@@ -6819,19 +7103,19 @@ declare const useGetArtifactUploadUrl: <TError = ErrorType<ErrorResponse>>(optio
|
|
|
6819
7103
|
*/
|
|
6820
7104
|
declare const getUpdateArtifactMetadataUrl: (id: string) => string;
|
|
6821
7105
|
declare const updateArtifactMetadata: (id: string, updateArtifactMetadataBody: UpdateArtifactMetadataBody, options?: RequestInit) => Promise<ArtifactDetail>;
|
|
6822
|
-
declare const getUpdateArtifactMetadataMutationFetcher: (id: string, options?: SecondParameter$
|
|
7106
|
+
declare const getUpdateArtifactMetadataMutationFetcher: (id: string, options?: SecondParameter$m<typeof customFetch>) => (_: Key, { arg }: {
|
|
6823
7107
|
arg: UpdateArtifactMetadataBody;
|
|
6824
7108
|
}) => Promise<ArtifactDetail>;
|
|
6825
7109
|
declare const getUpdateArtifactMetadataMutationKey: (id: string) => readonly [`/v1/artifacts/${string}/metadata`];
|
|
6826
|
-
type UpdateArtifactMetadataMutationResult = NonNullable<Awaited$
|
|
7110
|
+
type UpdateArtifactMetadataMutationResult = NonNullable<Awaited$m<ReturnType<typeof updateArtifactMetadata>>>;
|
|
6827
7111
|
/**
|
|
6828
7112
|
* @summary Update artifact metadata
|
|
6829
7113
|
*/
|
|
6830
7114
|
declare const useUpdateArtifactMetadata: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
6831
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
7115
|
+
swr?: SWRMutationConfiguration<Awaited$m<ReturnType<typeof updateArtifactMetadata>>, TError, Key, UpdateArtifactMetadataBody, Awaited$m<ReturnType<typeof updateArtifactMetadata>>> & {
|
|
6832
7116
|
swrKey?: string;
|
|
6833
7117
|
};
|
|
6834
|
-
request?: SecondParameter$
|
|
7118
|
+
request?: SecondParameter$m<typeof customFetch>;
|
|
6835
7119
|
}) => {
|
|
6836
7120
|
isMutating: boolean;
|
|
6837
7121
|
trigger: swr_mutation.TriggerWithArgs<ArtifactDetail, TError, string | readonly [`/v1/artifacts/${string}/metadata`], UpdateArtifactMetadataBody>;
|
|
@@ -6848,19 +7132,19 @@ This endpoint returns an upload id that can be used to find the created artifact
|
|
|
6848
7132
|
*/
|
|
6849
7133
|
declare const getUploadFileUrl: () => string;
|
|
6850
7134
|
declare const uploadFile: (uploadFileBody: UploadFileBody, options?: RequestInit) => Promise<UploadFileResponse>;
|
|
6851
|
-
declare const getUploadFileMutationFetcher: (options?: SecondParameter$
|
|
7135
|
+
declare const getUploadFileMutationFetcher: (options?: SecondParameter$m<typeof customFetch>) => (_: Key, { arg }: {
|
|
6852
7136
|
arg: UploadFileBody;
|
|
6853
7137
|
}) => Promise<UploadFileResponse>;
|
|
6854
7138
|
declare const getUploadFileMutationKey: () => readonly ["/v1/upload-file"];
|
|
6855
|
-
type UploadFileMutationResult = NonNullable<Awaited$
|
|
7139
|
+
type UploadFileMutationResult = NonNullable<Awaited$m<ReturnType<typeof uploadFile>>>;
|
|
6856
7140
|
/**
|
|
6857
7141
|
* @summary Upload a file for processing
|
|
6858
7142
|
*/
|
|
6859
7143
|
declare const useUploadFile: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
6860
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
7144
|
+
swr?: SWRMutationConfiguration<Awaited$m<ReturnType<typeof uploadFile>>, TError, Key, UploadFileBody, Awaited$m<ReturnType<typeof uploadFile>>> & {
|
|
6861
7145
|
swrKey?: string;
|
|
6862
7146
|
};
|
|
6863
|
-
request?: SecondParameter$
|
|
7147
|
+
request?: SecondParameter$m<typeof customFetch>;
|
|
6864
7148
|
}) => {
|
|
6865
7149
|
isMutating: boolean;
|
|
6866
7150
|
trigger: swr_mutation.TriggerWithArgs<UploadFileResponse, TError, string | readonly ["/v1/upload-file"], UploadFileBody>;
|
|
@@ -6870,28 +7154,28 @@ declare const useUploadFile: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
|
6870
7154
|
swrKey: string | readonly ["/v1/upload-file"];
|
|
6871
7155
|
};
|
|
6872
7156
|
|
|
6873
|
-
type AwaitedInput$
|
|
6874
|
-
type Awaited$
|
|
6875
|
-
type SecondParameter$
|
|
7157
|
+
type AwaitedInput$l<T> = PromiseLike<T> | T;
|
|
7158
|
+
type Awaited$l<O> = O extends AwaitedInput$l<infer T> ? T : never;
|
|
7159
|
+
type SecondParameter$l<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
6876
7160
|
/**
|
|
6877
7161
|
* 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
7162
|
* @summary Sign up
|
|
6879
7163
|
*/
|
|
6880
7164
|
declare const getSignUpUrl: () => string;
|
|
6881
7165
|
declare const signUp: (signUpBody: SignUpBody, options?: RequestInit) => Promise<SignUpResponse>;
|
|
6882
|
-
declare const getSignUpMutationFetcher: (options?: SecondParameter$
|
|
7166
|
+
declare const getSignUpMutationFetcher: (options?: SecondParameter$l<typeof customFetchNoAuth>) => (_: Key, { arg }: {
|
|
6883
7167
|
arg: SignUpBody;
|
|
6884
7168
|
}) => Promise<SignUpResponse>;
|
|
6885
7169
|
declare const getSignUpMutationKey: () => readonly ["/v1/auth/sign-up"];
|
|
6886
|
-
type SignUpMutationResult = NonNullable<Awaited$
|
|
7170
|
+
type SignUpMutationResult = NonNullable<Awaited$l<ReturnType<typeof signUp>>>;
|
|
6887
7171
|
/**
|
|
6888
7172
|
* @summary Sign up
|
|
6889
7173
|
*/
|
|
6890
7174
|
declare const useSignUp: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
6891
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
7175
|
+
swr?: SWRMutationConfiguration<Awaited$l<ReturnType<typeof signUp>>, TError, Key, SignUpBody, Awaited$l<ReturnType<typeof signUp>>> & {
|
|
6892
7176
|
swrKey?: string;
|
|
6893
7177
|
};
|
|
6894
|
-
request?: SecondParameter$
|
|
7178
|
+
request?: SecondParameter$l<typeof customFetchNoAuth>;
|
|
6895
7179
|
}) => {
|
|
6896
7180
|
isMutating: boolean;
|
|
6897
7181
|
trigger: swr_mutation.TriggerWithArgs<SignUpResponse, TError, string | readonly ["/v1/auth/sign-up"], SignUpBody>;
|
|
@@ -6910,19 +7194,19 @@ declare const useSignUp: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
|
6910
7194
|
*/
|
|
6911
7195
|
declare const getSignInUrl: () => string;
|
|
6912
7196
|
declare const signIn: (signInBody: SignInBody, options?: RequestInit) => Promise<AuthTokens>;
|
|
6913
|
-
declare const getSignInMutationFetcher: (options?: SecondParameter$
|
|
7197
|
+
declare const getSignInMutationFetcher: (options?: SecondParameter$l<typeof customFetchNoAuth>) => (_: Key, { arg }: {
|
|
6914
7198
|
arg: SignInBody;
|
|
6915
7199
|
}) => Promise<AuthTokens>;
|
|
6916
7200
|
declare const getSignInMutationKey: () => readonly ["/v1/auth/sign-in"];
|
|
6917
|
-
type SignInMutationResult = NonNullable<Awaited$
|
|
7201
|
+
type SignInMutationResult = NonNullable<Awaited$l<ReturnType<typeof signIn>>>;
|
|
6918
7202
|
/**
|
|
6919
7203
|
* @summary Sign in
|
|
6920
7204
|
*/
|
|
6921
7205
|
declare const useSignIn: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
6922
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
7206
|
+
swr?: SWRMutationConfiguration<Awaited$l<ReturnType<typeof signIn>>, TError, Key, SignInBody, Awaited$l<ReturnType<typeof signIn>>> & {
|
|
6923
7207
|
swrKey?: string;
|
|
6924
7208
|
};
|
|
6925
|
-
request?: SecondParameter$
|
|
7209
|
+
request?: SecondParameter$l<typeof customFetchNoAuth>;
|
|
6926
7210
|
}) => {
|
|
6927
7211
|
isMutating: boolean;
|
|
6928
7212
|
trigger: swr_mutation.TriggerWithArgs<AuthTokens, TError, string | readonly ["/v1/auth/sign-in"], SignInBody>;
|
|
@@ -6937,19 +7221,19 @@ declare const useSignIn: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
|
6937
7221
|
*/
|
|
6938
7222
|
declare const getRefreshTokenUrl: () => string;
|
|
6939
7223
|
declare const refreshToken: (refreshTokenBody: RefreshTokenBody, options?: RequestInit) => Promise<AuthTokens>;
|
|
6940
|
-
declare const getRefreshTokenMutationFetcher: (options?: SecondParameter$
|
|
7224
|
+
declare const getRefreshTokenMutationFetcher: (options?: SecondParameter$l<typeof customFetchNoAuth>) => (_: Key, { arg }: {
|
|
6941
7225
|
arg: RefreshTokenBody;
|
|
6942
7226
|
}) => Promise<AuthTokens>;
|
|
6943
7227
|
declare const getRefreshTokenMutationKey: () => readonly ["/v1/auth/refresh-token"];
|
|
6944
|
-
type RefreshTokenMutationResult = NonNullable<Awaited$
|
|
7228
|
+
type RefreshTokenMutationResult = NonNullable<Awaited$l<ReturnType<typeof refreshToken>>>;
|
|
6945
7229
|
/**
|
|
6946
7230
|
* @summary Refresh authentication token
|
|
6947
7231
|
*/
|
|
6948
7232
|
declare const useRefreshToken: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
6949
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
7233
|
+
swr?: SWRMutationConfiguration<Awaited$l<ReturnType<typeof refreshToken>>, TError, Key, RefreshTokenBody, Awaited$l<ReturnType<typeof refreshToken>>> & {
|
|
6950
7234
|
swrKey?: string;
|
|
6951
7235
|
};
|
|
6952
|
-
request?: SecondParameter$
|
|
7236
|
+
request?: SecondParameter$l<typeof customFetchNoAuth>;
|
|
6953
7237
|
}) => {
|
|
6954
7238
|
isMutating: boolean;
|
|
6955
7239
|
trigger: swr_mutation.TriggerWithArgs<AuthTokens, TError, string | readonly ["/v1/auth/refresh-token"], RefreshTokenBody>;
|
|
@@ -6969,16 +7253,16 @@ For enterprise SSO, pass `provider=sso` together with the user's `email`; the em
|
|
|
6969
7253
|
declare const getGetOAuthUrlUrl: (params: GetOAuthUrlParams) => string;
|
|
6970
7254
|
declare const getOAuthUrl: (params: GetOAuthUrlParams, options?: RequestInit) => Promise<OAuthUrl>;
|
|
6971
7255
|
declare const getGetOAuthUrlKey: (params: GetOAuthUrlParams) => readonly ["/v1/auth/oauth-url", ...GetOAuthUrlParams[]];
|
|
6972
|
-
type GetOAuthUrlQueryResult = NonNullable<Awaited$
|
|
7256
|
+
type GetOAuthUrlQueryResult = NonNullable<Awaited$l<ReturnType<typeof getOAuthUrl>>>;
|
|
6973
7257
|
/**
|
|
6974
7258
|
* @summary Get OAuth sign-in URL
|
|
6975
7259
|
*/
|
|
6976
7260
|
declare const useGetOAuthUrl: <TError = ErrorType<ErrorResponse>>(params: GetOAuthUrlParams, options?: {
|
|
6977
|
-
swr?: SWRConfiguration<Awaited$
|
|
7261
|
+
swr?: SWRConfiguration<Awaited$l<ReturnType<typeof getOAuthUrl>>, TError> & {
|
|
6978
7262
|
swrKey?: Key;
|
|
6979
7263
|
enabled?: boolean;
|
|
6980
7264
|
};
|
|
6981
|
-
request?: SecondParameter$
|
|
7265
|
+
request?: SecondParameter$l<typeof customFetchNoAuth>;
|
|
6982
7266
|
}) => {
|
|
6983
7267
|
data: OAuthUrl | undefined;
|
|
6984
7268
|
error: TError | undefined;
|
|
@@ -6998,19 +7282,19 @@ declare const useGetOAuthUrl: <TError = ErrorType<ErrorResponse>>(params: GetOAu
|
|
|
6998
7282
|
*/
|
|
6999
7283
|
declare const getGetSessionTokenUrl: () => string;
|
|
7000
7284
|
declare const getSessionToken: (getSessionTokenBody: GetSessionTokenBody, options?: RequestInit) => Promise<GetSessionToken200>;
|
|
7001
|
-
declare const getGetSessionTokenMutationFetcher: (options?: SecondParameter$
|
|
7285
|
+
declare const getGetSessionTokenMutationFetcher: (options?: SecondParameter$l<typeof customFetchNoAuth>) => (_: Key, { arg }: {
|
|
7002
7286
|
arg: GetSessionTokenBody;
|
|
7003
7287
|
}) => Promise<GetSessionToken200>;
|
|
7004
7288
|
declare const getGetSessionTokenMutationKey: () => readonly ["/v1/auth/session"];
|
|
7005
|
-
type GetSessionTokenMutationResult = NonNullable<Awaited$
|
|
7289
|
+
type GetSessionTokenMutationResult = NonNullable<Awaited$l<ReturnType<typeof getSessionToken>>>;
|
|
7006
7290
|
/**
|
|
7007
7291
|
* @summary Create or switch tenant session
|
|
7008
7292
|
*/
|
|
7009
7293
|
declare const useGetSessionToken: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
7010
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
7294
|
+
swr?: SWRMutationConfiguration<Awaited$l<ReturnType<typeof getSessionToken>>, TError, Key, GetSessionTokenBody, Awaited$l<ReturnType<typeof getSessionToken>>> & {
|
|
7011
7295
|
swrKey?: string;
|
|
7012
7296
|
};
|
|
7013
|
-
request?: SecondParameter$
|
|
7297
|
+
request?: SecondParameter$l<typeof customFetchNoAuth>;
|
|
7014
7298
|
}) => {
|
|
7015
7299
|
isMutating: boolean;
|
|
7016
7300
|
trigger: swr_mutation.TriggerWithArgs<GetSessionToken200, TError, string | readonly ["/v1/auth/session"], GetSessionTokenBody>;
|
|
@@ -7026,16 +7310,16 @@ declare const useGetSessionToken: <TError = ErrorType<ErrorResponse>>(options?:
|
|
|
7026
7310
|
declare const getGetPartnerJwksUrl: (partner: string) => string;
|
|
7027
7311
|
declare const getPartnerJwks: (partner: string, options?: RequestInit) => Promise<PartnerJwks>;
|
|
7028
7312
|
declare const getGetPartnerJwksKey: (partner: string) => readonly [`/.well-known/partners/${string}/jwks.json`];
|
|
7029
|
-
type GetPartnerJwksQueryResult = NonNullable<Awaited$
|
|
7313
|
+
type GetPartnerJwksQueryResult = NonNullable<Awaited$l<ReturnType<typeof getPartnerJwks>>>;
|
|
7030
7314
|
/**
|
|
7031
7315
|
* @summary Get partner JWKS
|
|
7032
7316
|
*/
|
|
7033
7317
|
declare const useGetPartnerJwks: <TError = ErrorType<ErrorResponse>>(partner: string, options?: {
|
|
7034
|
-
swr?: SWRConfiguration<Awaited$
|
|
7318
|
+
swr?: SWRConfiguration<Awaited$l<ReturnType<typeof getPartnerJwks>>, TError> & {
|
|
7035
7319
|
swrKey?: Key;
|
|
7036
7320
|
enabled?: boolean;
|
|
7037
7321
|
};
|
|
7038
|
-
request?: SecondParameter$
|
|
7322
|
+
request?: SecondParameter$l<typeof customFetchNoAuth>;
|
|
7039
7323
|
}) => {
|
|
7040
7324
|
data: PartnerJwks | undefined;
|
|
7041
7325
|
error: TError | undefined;
|
|
@@ -7050,19 +7334,19 @@ declare const useGetPartnerJwks: <TError = ErrorType<ErrorResponse>>(partner: st
|
|
|
7050
7334
|
*/
|
|
7051
7335
|
declare const getPartnerLaunchUrl: (params?: PartnerLaunchParams) => string;
|
|
7052
7336
|
declare const partnerLaunch: (params?: PartnerLaunchParams, options?: RequestInit) => Promise<unknown>;
|
|
7053
|
-
declare const getPartnerLaunchMutationFetcher: (params?: PartnerLaunchParams, options?: SecondParameter$
|
|
7337
|
+
declare const getPartnerLaunchMutationFetcher: (params?: PartnerLaunchParams, options?: SecondParameter$l<typeof customFetchNoAuth>) => (_: Key, __: {
|
|
7054
7338
|
arg: Arguments;
|
|
7055
7339
|
}) => Promise<unknown>;
|
|
7056
7340
|
declare const getPartnerLaunchMutationKey: (params?: PartnerLaunchParams) => readonly ["/v1/auth/partner-launch", ...PartnerLaunchParams[]];
|
|
7057
|
-
type PartnerLaunchMutationResult = NonNullable<Awaited$
|
|
7341
|
+
type PartnerLaunchMutationResult = NonNullable<Awaited$l<ReturnType<typeof partnerLaunch>>>;
|
|
7058
7342
|
/**
|
|
7059
7343
|
* @summary Partner launch (SSO)
|
|
7060
7344
|
*/
|
|
7061
7345
|
declare const usePartnerLaunch: <TError = ErrorType<PartnerLaunch302 | ErrorResponse>>(params?: PartnerLaunchParams, options?: {
|
|
7062
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
7346
|
+
swr?: SWRMutationConfiguration<Awaited$l<ReturnType<typeof partnerLaunch>>, TError, Key, Arguments, Awaited$l<ReturnType<typeof partnerLaunch>>> & {
|
|
7063
7347
|
swrKey?: string;
|
|
7064
7348
|
};
|
|
7065
|
-
request?: SecondParameter$
|
|
7349
|
+
request?: SecondParameter$l<typeof customFetchNoAuth>;
|
|
7066
7350
|
}) => {
|
|
7067
7351
|
isMutating: boolean;
|
|
7068
7352
|
trigger: swr_mutation.TriggerWithOptionsArgs<unknown, TError, string | readonly ["/v1/auth/partner-launch", ...PartnerLaunchParams[]], Arguments>;
|
|
@@ -7072,28 +7356,28 @@ declare const usePartnerLaunch: <TError = ErrorType<PartnerLaunch302 | ErrorResp
|
|
|
7072
7356
|
swrKey: string | readonly ["/v1/auth/partner-launch", ...PartnerLaunchParams[]];
|
|
7073
7357
|
};
|
|
7074
7358
|
|
|
7075
|
-
type AwaitedInput$
|
|
7076
|
-
type Awaited$
|
|
7077
|
-
type SecondParameter$
|
|
7359
|
+
type AwaitedInput$k<T> = PromiseLike<T> | T;
|
|
7360
|
+
type Awaited$k<O> = O extends AwaitedInput$k<infer T> ? T : never;
|
|
7361
|
+
type SecondParameter$k<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
7078
7362
|
/**
|
|
7079
7363
|
* 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
7364
|
* @summary Create feedback on a call message
|
|
7081
7365
|
*/
|
|
7082
7366
|
declare const getCreateCallFeedbackUrl: (id: string) => string;
|
|
7083
7367
|
declare const createCallFeedback: (id: string, createFeedbackRequest: CreateFeedbackRequest, options?: RequestInit) => Promise<Feedback>;
|
|
7084
|
-
declare const getCreateCallFeedbackMutationFetcher: (id: string, options?: SecondParameter$
|
|
7368
|
+
declare const getCreateCallFeedbackMutationFetcher: (id: string, options?: SecondParameter$k<typeof customFetch>) => (_: Key, { arg }: {
|
|
7085
7369
|
arg: CreateFeedbackRequest;
|
|
7086
7370
|
}) => Promise<Feedback>;
|
|
7087
7371
|
declare const getCreateCallFeedbackMutationKey: (id: string) => readonly [`/v1/calls/${string}/feedback`];
|
|
7088
|
-
type CreateCallFeedbackMutationResult = NonNullable<Awaited$
|
|
7372
|
+
type CreateCallFeedbackMutationResult = NonNullable<Awaited$k<ReturnType<typeof createCallFeedback>>>;
|
|
7089
7373
|
/**
|
|
7090
7374
|
* @summary Create feedback on a call message
|
|
7091
7375
|
*/
|
|
7092
7376
|
declare const useCreateCallFeedback: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
7093
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
7377
|
+
swr?: SWRMutationConfiguration<Awaited$k<ReturnType<typeof createCallFeedback>>, TError, Key, CreateFeedbackRequest, Awaited$k<ReturnType<typeof createCallFeedback>>> & {
|
|
7094
7378
|
swrKey?: string;
|
|
7095
7379
|
};
|
|
7096
|
-
request?: SecondParameter$
|
|
7380
|
+
request?: SecondParameter$k<typeof customFetch>;
|
|
7097
7381
|
}) => {
|
|
7098
7382
|
isMutating: boolean;
|
|
7099
7383
|
trigger: swr_mutation.TriggerWithArgs<Feedback, TError, string | readonly [`/v1/calls/${string}/feedback`], CreateFeedbackRequest>;
|
|
@@ -7109,16 +7393,16 @@ declare const useCreateCallFeedback: <TError = ErrorType<ErrorResponse>>(id: str
|
|
|
7109
7393
|
declare const getListCallFeedbackUrl: (id: string, params?: ListCallFeedbackParams) => string;
|
|
7110
7394
|
declare const listCallFeedback: (id: string, params?: ListCallFeedbackParams, options?: RequestInit) => Promise<Feedback[]>;
|
|
7111
7395
|
declare const getListCallFeedbackKey: (id: string, params?: ListCallFeedbackParams) => readonly [`/v1/calls/${string}/feedback`, ...ListCallFeedbackParams[]];
|
|
7112
|
-
type ListCallFeedbackQueryResult = NonNullable<Awaited$
|
|
7396
|
+
type ListCallFeedbackQueryResult = NonNullable<Awaited$k<ReturnType<typeof listCallFeedback>>>;
|
|
7113
7397
|
/**
|
|
7114
7398
|
* @summary List feedback for a call
|
|
7115
7399
|
*/
|
|
7116
7400
|
declare const useListCallFeedback: <TError = ErrorType<ErrorResponse>>(id: string, params?: ListCallFeedbackParams, options?: {
|
|
7117
|
-
swr?: SWRConfiguration<Awaited$
|
|
7401
|
+
swr?: SWRConfiguration<Awaited$k<ReturnType<typeof listCallFeedback>>, TError> & {
|
|
7118
7402
|
swrKey?: Key;
|
|
7119
7403
|
enabled?: boolean;
|
|
7120
7404
|
};
|
|
7121
|
-
request?: SecondParameter$
|
|
7405
|
+
request?: SecondParameter$k<typeof customFetch>;
|
|
7122
7406
|
}) => {
|
|
7123
7407
|
data: Feedback[] | undefined;
|
|
7124
7408
|
error: TError | undefined;
|
|
@@ -7133,19 +7417,19 @@ declare const useListCallFeedback: <TError = ErrorType<ErrorResponse>>(id: strin
|
|
|
7133
7417
|
*/
|
|
7134
7418
|
declare const getDeleteCallFeedbackUrl: (id: string, feedbackId: string) => string;
|
|
7135
7419
|
declare const deleteCallFeedback: (id: string, feedbackId: string, options?: RequestInit) => Promise<null>;
|
|
7136
|
-
declare const getDeleteCallFeedbackMutationFetcher: (id: string, feedbackId: string, options?: SecondParameter$
|
|
7420
|
+
declare const getDeleteCallFeedbackMutationFetcher: (id: string, feedbackId: string, options?: SecondParameter$k<typeof customFetch>) => (_: Key, __: {
|
|
7137
7421
|
arg: Arguments;
|
|
7138
7422
|
}) => Promise<null>;
|
|
7139
7423
|
declare const getDeleteCallFeedbackMutationKey: (id: string, feedbackId: string) => readonly [`/v1/calls/${string}/feedback/${string}`];
|
|
7140
|
-
type DeleteCallFeedbackMutationResult = NonNullable<Awaited$
|
|
7424
|
+
type DeleteCallFeedbackMutationResult = NonNullable<Awaited$k<ReturnType<typeof deleteCallFeedback>>>;
|
|
7141
7425
|
/**
|
|
7142
7426
|
* @summary Delete feedback
|
|
7143
7427
|
*/
|
|
7144
7428
|
declare const useDeleteCallFeedback: <TError = ErrorType<ErrorResponse>>(id: string, feedbackId: string, options?: {
|
|
7145
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
7429
|
+
swr?: SWRMutationConfiguration<Awaited$k<ReturnType<typeof deleteCallFeedback>>, TError, Key, Arguments, Awaited$k<ReturnType<typeof deleteCallFeedback>>> & {
|
|
7146
7430
|
swrKey?: string;
|
|
7147
7431
|
};
|
|
7148
|
-
request?: SecondParameter$
|
|
7432
|
+
request?: SecondParameter$k<typeof customFetch>;
|
|
7149
7433
|
}) => {
|
|
7150
7434
|
isMutating: boolean;
|
|
7151
7435
|
trigger: swr_mutation.TriggerWithOptionsArgs<null, TError, string | readonly [`/v1/calls/${string}/feedback/${string}`], Arguments>;
|
|
@@ -7155,9 +7439,9 @@ declare const useDeleteCallFeedback: <TError = ErrorType<ErrorResponse>>(id: str
|
|
|
7155
7439
|
swrKey: string | readonly [`/v1/calls/${string}/feedback/${string}`];
|
|
7156
7440
|
};
|
|
7157
7441
|
|
|
7158
|
-
type AwaitedInput$
|
|
7159
|
-
type Awaited$
|
|
7160
|
-
type SecondParameter$
|
|
7442
|
+
type AwaitedInput$j<T> = PromiseLike<T> | T;
|
|
7443
|
+
type Awaited$j<O> = O extends AwaitedInput$j<infer T> ? T : never;
|
|
7444
|
+
type SecondParameter$j<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
7161
7445
|
/**
|
|
7162
7446
|
* List all calls, with pagination, filtering, and sorting.
|
|
7163
7447
|
|
|
@@ -7177,16 +7461,16 @@ Multiple metadata filters can be combined (AND logic).
|
|
|
7177
7461
|
declare const getListCallsUrl: (params?: ListCallsParams) => string;
|
|
7178
7462
|
declare const listCalls: (params?: ListCallsParams, options?: RequestInit) => Promise<CallList>;
|
|
7179
7463
|
declare const getListCallsKey: (params?: ListCallsParams) => readonly ["/v1/calls", ...ListCallsParams[]];
|
|
7180
|
-
type ListCallsQueryResult = NonNullable<Awaited$
|
|
7464
|
+
type ListCallsQueryResult = NonNullable<Awaited$j<ReturnType<typeof listCalls>>>;
|
|
7181
7465
|
/**
|
|
7182
7466
|
* @summary List calls
|
|
7183
7467
|
*/
|
|
7184
7468
|
declare const useListCalls: <TError = ErrorType<ErrorResponse>>(params?: ListCallsParams, options?: {
|
|
7185
|
-
swr?: SWRConfiguration<Awaited$
|
|
7469
|
+
swr?: SWRConfiguration<Awaited$j<ReturnType<typeof listCalls>>, TError> & {
|
|
7186
7470
|
swrKey?: Key;
|
|
7187
7471
|
enabled?: boolean;
|
|
7188
7472
|
};
|
|
7189
|
-
request?: SecondParameter$
|
|
7473
|
+
request?: SecondParameter$j<typeof customFetch>;
|
|
7190
7474
|
}) => {
|
|
7191
7475
|
data: CallList | undefined;
|
|
7192
7476
|
error: TError | undefined;
|
|
@@ -7204,16 +7488,16 @@ Set `include_messages=true` to include the full message transcript.
|
|
|
7204
7488
|
declare const getGetCallUrl: (id: string, params?: GetCallParams) => string;
|
|
7205
7489
|
declare const getCall: (id: string, params?: GetCallParams, options?: RequestInit) => Promise<CallDetail>;
|
|
7206
7490
|
declare const getGetCallKey: (id: string, params?: GetCallParams) => readonly [`/v1/calls/${string}`, ...GetCallParams[]];
|
|
7207
|
-
type GetCallQueryResult = NonNullable<Awaited$
|
|
7491
|
+
type GetCallQueryResult = NonNullable<Awaited$j<ReturnType<typeof getCall>>>;
|
|
7208
7492
|
/**
|
|
7209
7493
|
* @summary Get call
|
|
7210
7494
|
*/
|
|
7211
7495
|
declare const useGetCall: <TError = ErrorType<ErrorResponse>>(id: string, params?: GetCallParams, options?: {
|
|
7212
|
-
swr?: SWRConfiguration<Awaited$
|
|
7496
|
+
swr?: SWRConfiguration<Awaited$j<ReturnType<typeof getCall>>, TError> & {
|
|
7213
7497
|
swrKey?: Key;
|
|
7214
7498
|
enabled?: boolean;
|
|
7215
7499
|
};
|
|
7216
|
-
request?: SecondParameter$
|
|
7500
|
+
request?: SecondParameter$j<typeof customFetch>;
|
|
7217
7501
|
}) => {
|
|
7218
7502
|
data: CallDetail | undefined;
|
|
7219
7503
|
error: TError | undefined;
|
|
@@ -7229,16 +7513,16 @@ declare const useGetCall: <TError = ErrorType<ErrorResponse>>(id: string, params
|
|
|
7229
7513
|
declare const getGetCallEvaluationUrl: (id: string) => string;
|
|
7230
7514
|
declare const getCallEvaluation: (id: string, options?: RequestInit) => Promise<CallEvaluation>;
|
|
7231
7515
|
declare const getGetCallEvaluationKey: (id: string) => readonly [`/v1/calls/${string}/evaluation`];
|
|
7232
|
-
type GetCallEvaluationQueryResult = NonNullable<Awaited$
|
|
7516
|
+
type GetCallEvaluationQueryResult = NonNullable<Awaited$j<ReturnType<typeof getCallEvaluation>>>;
|
|
7233
7517
|
/**
|
|
7234
7518
|
* @summary Get call evaluation
|
|
7235
7519
|
*/
|
|
7236
7520
|
declare const useGetCallEvaluation: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
7237
|
-
swr?: SWRConfiguration<Awaited$
|
|
7521
|
+
swr?: SWRConfiguration<Awaited$j<ReturnType<typeof getCallEvaluation>>, TError> & {
|
|
7238
7522
|
swrKey?: Key;
|
|
7239
7523
|
enabled?: boolean;
|
|
7240
7524
|
};
|
|
7241
|
-
request?: SecondParameter$
|
|
7525
|
+
request?: SecondParameter$j<typeof customFetch>;
|
|
7242
7526
|
}) => {
|
|
7243
7527
|
data: CallEvaluation | undefined;
|
|
7244
7528
|
error: TError | undefined;
|
|
@@ -7256,16 +7540,16 @@ Includes summary statistics, call volume over time, evaluation scores, score and
|
|
|
7256
7540
|
declare const getGetCallAnalyticsUrl: (params: GetCallAnalyticsParams) => string;
|
|
7257
7541
|
declare const getCallAnalytics: (params: GetCallAnalyticsParams, options?: RequestInit) => Promise<CallAnalytics>;
|
|
7258
7542
|
declare const getGetCallAnalyticsKey: (params: GetCallAnalyticsParams) => readonly ["/v1/calls/analytics", ...GetCallAnalyticsParams[]];
|
|
7259
|
-
type GetCallAnalyticsQueryResult = NonNullable<Awaited$
|
|
7543
|
+
type GetCallAnalyticsQueryResult = NonNullable<Awaited$j<ReturnType<typeof getCallAnalytics>>>;
|
|
7260
7544
|
/**
|
|
7261
7545
|
* @summary Get call analytics
|
|
7262
7546
|
*/
|
|
7263
7547
|
declare const useGetCallAnalytics: <TError = ErrorType<ErrorResponse>>(params: GetCallAnalyticsParams, options?: {
|
|
7264
|
-
swr?: SWRConfiguration<Awaited$
|
|
7548
|
+
swr?: SWRConfiguration<Awaited$j<ReturnType<typeof getCallAnalytics>>, TError> & {
|
|
7265
7549
|
swrKey?: Key;
|
|
7266
7550
|
enabled?: boolean;
|
|
7267
7551
|
};
|
|
7268
|
-
request?: SecondParameter$
|
|
7552
|
+
request?: SecondParameter$j<typeof customFetch>;
|
|
7269
7553
|
}) => {
|
|
7270
7554
|
data: CallAnalytics | undefined;
|
|
7271
7555
|
error: TError | undefined;
|
|
@@ -7275,9 +7559,9 @@ declare const useGetCallAnalytics: <TError = ErrorType<ErrorResponse>>(params: G
|
|
|
7275
7559
|
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
|
|
7276
7560
|
};
|
|
7277
7561
|
|
|
7278
|
-
type AwaitedInput$
|
|
7279
|
-
type Awaited$
|
|
7280
|
-
type SecondParameter$
|
|
7562
|
+
type AwaitedInput$i<T> = PromiseLike<T> | T;
|
|
7563
|
+
type Awaited$i<O> = O extends AwaitedInput$i<infer T> ? T : never;
|
|
7564
|
+
type SecondParameter$i<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
7281
7565
|
/**
|
|
7282
7566
|
* List all cases for the current tenant, paginated, filterable, and sortable.
|
|
7283
7567
|
* @summary List cases
|
|
@@ -7285,16 +7569,16 @@ type SecondParameter$h<T extends (...args: never) => unknown> = Parameters<T>[1]
|
|
|
7285
7569
|
declare const getListCasesUrl: (params?: ListCasesParams) => string;
|
|
7286
7570
|
declare const listCases: (params?: ListCasesParams, options?: RequestInit) => Promise<CaseList>;
|
|
7287
7571
|
declare const getListCasesKey: (params?: ListCasesParams) => readonly ["/v1/cases", ...ListCasesParams[]];
|
|
7288
|
-
type ListCasesQueryResult = NonNullable<Awaited$
|
|
7572
|
+
type ListCasesQueryResult = NonNullable<Awaited$i<ReturnType<typeof listCases>>>;
|
|
7289
7573
|
/**
|
|
7290
7574
|
* @summary List cases
|
|
7291
7575
|
*/
|
|
7292
7576
|
declare const useListCases: <TError = ErrorType<ErrorResponse>>(params?: ListCasesParams, options?: {
|
|
7293
|
-
swr?: SWRConfiguration<Awaited$
|
|
7577
|
+
swr?: SWRConfiguration<Awaited$i<ReturnType<typeof listCases>>, TError> & {
|
|
7294
7578
|
swrKey?: Key;
|
|
7295
7579
|
enabled?: boolean;
|
|
7296
7580
|
};
|
|
7297
|
-
request?: SecondParameter$
|
|
7581
|
+
request?: SecondParameter$i<typeof customFetch>;
|
|
7298
7582
|
}) => {
|
|
7299
7583
|
data: CaseList | undefined;
|
|
7300
7584
|
error: TError | undefined;
|
|
@@ -7311,19 +7595,19 @@ Case ids are tenant-scoped opaque keys (e.g. "clm-1", "STD-001") and are normali
|
|
|
7311
7595
|
*/
|
|
7312
7596
|
declare const getCreateCaseUrl: () => string;
|
|
7313
7597
|
declare const createCase: (createCaseBody: CreateCaseBody, options?: RequestInit) => Promise<CreateCaseResponse>;
|
|
7314
|
-
declare const getCreateCaseMutationFetcher: (options?: SecondParameter$
|
|
7598
|
+
declare const getCreateCaseMutationFetcher: (options?: SecondParameter$i<typeof customFetch>) => (_: Key, { arg }: {
|
|
7315
7599
|
arg: CreateCaseBody;
|
|
7316
7600
|
}) => Promise<CreateCaseResponse>;
|
|
7317
7601
|
declare const getCreateCaseMutationKey: () => readonly ["/v1/cases"];
|
|
7318
|
-
type CreateCaseMutationResult = NonNullable<Awaited$
|
|
7602
|
+
type CreateCaseMutationResult = NonNullable<Awaited$i<ReturnType<typeof createCase>>>;
|
|
7319
7603
|
/**
|
|
7320
7604
|
* @summary Create case
|
|
7321
7605
|
*/
|
|
7322
7606
|
declare const useCreateCase: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
7323
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
7607
|
+
swr?: SWRMutationConfiguration<Awaited$i<ReturnType<typeof createCase>>, TError, Key, CreateCaseBody, Awaited$i<ReturnType<typeof createCase>>> & {
|
|
7324
7608
|
swrKey?: string;
|
|
7325
7609
|
};
|
|
7326
|
-
request?: SecondParameter$
|
|
7610
|
+
request?: SecondParameter$i<typeof customFetch>;
|
|
7327
7611
|
}) => {
|
|
7328
7612
|
isMutating: boolean;
|
|
7329
7613
|
trigger: swr_mutation.TriggerWithArgs<CreateCaseResponse, TError, string | readonly ["/v1/cases"], CreateCaseBody>;
|
|
@@ -7339,16 +7623,16 @@ declare const useCreateCase: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
|
7339
7623
|
declare const getSearchCasesUrl: (params: SearchCasesParams) => string;
|
|
7340
7624
|
declare const searchCases: (params: SearchCasesParams, options?: RequestInit) => Promise<CaseSearchResult>;
|
|
7341
7625
|
declare const getSearchCasesKey: (params: SearchCasesParams) => readonly ["/v1/cases/search", ...SearchCasesParams[]];
|
|
7342
|
-
type SearchCasesQueryResult = NonNullable<Awaited$
|
|
7626
|
+
type SearchCasesQueryResult = NonNullable<Awaited$i<ReturnType<typeof searchCases>>>;
|
|
7343
7627
|
/**
|
|
7344
7628
|
* @summary Search cases
|
|
7345
7629
|
*/
|
|
7346
7630
|
declare const useSearchCases: <TError = ErrorType<ErrorResponse>>(params: SearchCasesParams, options?: {
|
|
7347
|
-
swr?: SWRConfiguration<Awaited$
|
|
7631
|
+
swr?: SWRConfiguration<Awaited$i<ReturnType<typeof searchCases>>, TError> & {
|
|
7348
7632
|
swrKey?: Key;
|
|
7349
7633
|
enabled?: boolean;
|
|
7350
7634
|
};
|
|
7351
|
-
request?: SecondParameter$
|
|
7635
|
+
request?: SecondParameter$i<typeof customFetch>;
|
|
7352
7636
|
}) => {
|
|
7353
7637
|
data: CaseSearchResult | undefined;
|
|
7354
7638
|
error: TError | undefined;
|
|
@@ -7367,16 +7651,16 @@ e.g. `GET /v1/worker-runs?case_id=…` and `GET /v1/artifacts?metadata[case_id]=
|
|
|
7367
7651
|
declare const getGetCaseUrl: (id: string) => string;
|
|
7368
7652
|
declare const getCase: (id: string, options?: RequestInit) => Promise<CaseDetail>;
|
|
7369
7653
|
declare const getGetCaseKey: (id: string) => readonly [`/v1/cases/${string}`];
|
|
7370
|
-
type GetCaseQueryResult = NonNullable<Awaited$
|
|
7654
|
+
type GetCaseQueryResult = NonNullable<Awaited$i<ReturnType<typeof getCase>>>;
|
|
7371
7655
|
/**
|
|
7372
7656
|
* @summary Get case
|
|
7373
7657
|
*/
|
|
7374
7658
|
declare const useGetCase: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
7375
|
-
swr?: SWRConfiguration<Awaited$
|
|
7659
|
+
swr?: SWRConfiguration<Awaited$i<ReturnType<typeof getCase>>, TError> & {
|
|
7376
7660
|
swrKey?: Key;
|
|
7377
7661
|
enabled?: boolean;
|
|
7378
7662
|
};
|
|
7379
|
-
request?: SecondParameter$
|
|
7663
|
+
request?: SecondParameter$i<typeof customFetch>;
|
|
7380
7664
|
}) => {
|
|
7381
7665
|
data: CaseDetail | undefined;
|
|
7382
7666
|
error: TError | undefined;
|
|
@@ -7393,19 +7677,19 @@ The case and every entity must already exist in the tenant — unknown ids retur
|
|
|
7393
7677
|
*/
|
|
7394
7678
|
declare const getAddCaseLinksUrl: (id: string) => string;
|
|
7395
7679
|
declare const addCaseLinks: (id: string, addCaseLinksBody: AddCaseLinksBody, options?: RequestInit) => Promise<AddCaseLinksResponse>;
|
|
7396
|
-
declare const getAddCaseLinksMutationFetcher: (id: string, options?: SecondParameter$
|
|
7680
|
+
declare const getAddCaseLinksMutationFetcher: (id: string, options?: SecondParameter$i<typeof customFetch>) => (_: Key, { arg }: {
|
|
7397
7681
|
arg: AddCaseLinksBody;
|
|
7398
7682
|
}) => Promise<AddCaseLinksResponse>;
|
|
7399
7683
|
declare const getAddCaseLinksMutationKey: (id: string) => readonly [`/v1/cases/${string}/links`];
|
|
7400
|
-
type AddCaseLinksMutationResult = NonNullable<Awaited$
|
|
7684
|
+
type AddCaseLinksMutationResult = NonNullable<Awaited$i<ReturnType<typeof addCaseLinks>>>;
|
|
7401
7685
|
/**
|
|
7402
7686
|
* @summary Add case links
|
|
7403
7687
|
*/
|
|
7404
7688
|
declare const useAddCaseLinks: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
7405
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
7689
|
+
swr?: SWRMutationConfiguration<Awaited$i<ReturnType<typeof addCaseLinks>>, TError, Key, AddCaseLinksBody, Awaited$i<ReturnType<typeof addCaseLinks>>> & {
|
|
7406
7690
|
swrKey?: string;
|
|
7407
7691
|
};
|
|
7408
|
-
request?: SecondParameter$
|
|
7692
|
+
request?: SecondParameter$i<typeof customFetch>;
|
|
7409
7693
|
}) => {
|
|
7410
7694
|
isMutating: boolean;
|
|
7411
7695
|
trigger: swr_mutation.TriggerWithArgs<AddCaseLinksResponse, TError, string | readonly [`/v1/cases/${string}/links`], AddCaseLinksBody>;
|
|
@@ -7421,16 +7705,16 @@ declare const useAddCaseLinks: <TError = ErrorType<ErrorResponse>>(id: string, o
|
|
|
7421
7705
|
declare const getListCaseLinksUrl: (id: string, params?: ListCaseLinksParams) => string;
|
|
7422
7706
|
declare const listCaseLinks: (id: string, params?: ListCaseLinksParams, options?: RequestInit) => Promise<CaseLinkList>;
|
|
7423
7707
|
declare const getListCaseLinksKey: (id: string, params?: ListCaseLinksParams) => readonly [`/v1/cases/${string}/links`, ...ListCaseLinksParams[]];
|
|
7424
|
-
type ListCaseLinksQueryResult = NonNullable<Awaited$
|
|
7708
|
+
type ListCaseLinksQueryResult = NonNullable<Awaited$i<ReturnType<typeof listCaseLinks>>>;
|
|
7425
7709
|
/**
|
|
7426
7710
|
* @summary List case links
|
|
7427
7711
|
*/
|
|
7428
7712
|
declare const useListCaseLinks: <TError = ErrorType<ErrorResponse>>(id: string, params?: ListCaseLinksParams, options?: {
|
|
7429
|
-
swr?: SWRConfiguration<Awaited$
|
|
7713
|
+
swr?: SWRConfiguration<Awaited$i<ReturnType<typeof listCaseLinks>>, TError> & {
|
|
7430
7714
|
swrKey?: Key;
|
|
7431
7715
|
enabled?: boolean;
|
|
7432
7716
|
};
|
|
7433
|
-
request?: SecondParameter$
|
|
7717
|
+
request?: SecondParameter$i<typeof customFetch>;
|
|
7434
7718
|
}) => {
|
|
7435
7719
|
data: CaseLinkList | undefined;
|
|
7436
7720
|
error: TError | undefined;
|
|
@@ -7445,19 +7729,19 @@ declare const useListCaseLinks: <TError = ErrorType<ErrorResponse>>(id: string,
|
|
|
7445
7729
|
*/
|
|
7446
7730
|
declare const getRemoveCaseLinkUrl: (id: string, entityType: "artifact" | "call" | "chat" | "email" | "extract" | "worker_run", entityId: string) => string;
|
|
7447
7731
|
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$
|
|
7732
|
+
declare const getRemoveCaseLinkMutationFetcher: (id: string, entityType: "artifact" | "call" | "chat" | "email" | "extract" | "worker_run", entityId: string, options?: SecondParameter$i<typeof customFetch>) => (_: Key, __: {
|
|
7449
7733
|
arg: Arguments;
|
|
7450
7734
|
}) => Promise<RemoveCaseLinkResponse>;
|
|
7451
7735
|
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$
|
|
7736
|
+
type RemoveCaseLinkMutationResult = NonNullable<Awaited$i<ReturnType<typeof removeCaseLink>>>;
|
|
7453
7737
|
/**
|
|
7454
7738
|
* @summary Remove case link
|
|
7455
7739
|
*/
|
|
7456
7740
|
declare const useRemoveCaseLink: <TError = ErrorType<ErrorResponse>>(id: string, entityType: "artifact" | "call" | "chat" | "email" | "extract" | "worker_run", entityId: string, options?: {
|
|
7457
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
7741
|
+
swr?: SWRMutationConfiguration<Awaited$i<ReturnType<typeof removeCaseLink>>, TError, Key, Arguments, Awaited$i<ReturnType<typeof removeCaseLink>>> & {
|
|
7458
7742
|
swrKey?: string;
|
|
7459
7743
|
};
|
|
7460
|
-
request?: SecondParameter$
|
|
7744
|
+
request?: SecondParameter$i<typeof customFetch>;
|
|
7461
7745
|
}) => {
|
|
7462
7746
|
isMutating: boolean;
|
|
7463
7747
|
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 +7751,28 @@ declare const useRemoveCaseLink: <TError = ErrorType<ErrorResponse>>(id: string,
|
|
|
7467
7751
|
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
7752
|
};
|
|
7469
7753
|
|
|
7470
|
-
type AwaitedInput$
|
|
7471
|
-
type Awaited$
|
|
7472
|
-
type SecondParameter$
|
|
7754
|
+
type AwaitedInput$h<T> = PromiseLike<T> | T;
|
|
7755
|
+
type Awaited$h<O> = O extends AwaitedInput$h<infer T> ? T : never;
|
|
7756
|
+
type SecondParameter$h<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
7473
7757
|
/**
|
|
7474
7758
|
* Create a new chat agent with a name and prompt.
|
|
7475
7759
|
* @summary Create chat agent
|
|
7476
7760
|
*/
|
|
7477
7761
|
declare const getCreateChatAgentUrl: () => string;
|
|
7478
7762
|
declare const createChatAgent: (createChatAgentBody: CreateChatAgentBody, options?: RequestInit) => Promise<ChatAgentCreated>;
|
|
7479
|
-
declare const getCreateChatAgentMutationFetcher: (options?: SecondParameter$
|
|
7763
|
+
declare const getCreateChatAgentMutationFetcher: (options?: SecondParameter$h<typeof customFetch>) => (_: Key, { arg }: {
|
|
7480
7764
|
arg: CreateChatAgentBody;
|
|
7481
7765
|
}) => Promise<ChatAgentCreated>;
|
|
7482
7766
|
declare const getCreateChatAgentMutationKey: () => readonly ["/v1/chat-agents"];
|
|
7483
|
-
type CreateChatAgentMutationResult = NonNullable<Awaited$
|
|
7767
|
+
type CreateChatAgentMutationResult = NonNullable<Awaited$h<ReturnType<typeof createChatAgent>>>;
|
|
7484
7768
|
/**
|
|
7485
7769
|
* @summary Create chat agent
|
|
7486
7770
|
*/
|
|
7487
7771
|
declare const useCreateChatAgent: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
7488
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
7772
|
+
swr?: SWRMutationConfiguration<Awaited$h<ReturnType<typeof createChatAgent>>, TError, Key, CreateChatAgentBody, Awaited$h<ReturnType<typeof createChatAgent>>> & {
|
|
7489
7773
|
swrKey?: string;
|
|
7490
7774
|
};
|
|
7491
|
-
request?: SecondParameter$
|
|
7775
|
+
request?: SecondParameter$h<typeof customFetch>;
|
|
7492
7776
|
}) => {
|
|
7493
7777
|
isMutating: boolean;
|
|
7494
7778
|
trigger: swr_mutation.TriggerWithArgs<ChatAgentCreated, TError, string | readonly ["/v1/chat-agents"], CreateChatAgentBody>;
|
|
@@ -7504,16 +7788,16 @@ declare const useCreateChatAgent: <TError = ErrorType<ErrorResponse>>(options?:
|
|
|
7504
7788
|
declare const getListChatAgentsUrl: (params?: ListChatAgentsParams) => string;
|
|
7505
7789
|
declare const listChatAgents: (params?: ListChatAgentsParams, options?: RequestInit) => Promise<ChatAgentList>;
|
|
7506
7790
|
declare const getListChatAgentsKey: (params?: ListChatAgentsParams) => readonly ["/v1/chat-agents", ...ListChatAgentsParams[]];
|
|
7507
|
-
type ListChatAgentsQueryResult = NonNullable<Awaited$
|
|
7791
|
+
type ListChatAgentsQueryResult = NonNullable<Awaited$h<ReturnType<typeof listChatAgents>>>;
|
|
7508
7792
|
/**
|
|
7509
7793
|
* @summary List chat agents
|
|
7510
7794
|
*/
|
|
7511
7795
|
declare const useListChatAgents: <TError = ErrorType<ErrorResponse>>(params?: ListChatAgentsParams, options?: {
|
|
7512
|
-
swr?: SWRConfiguration<Awaited$
|
|
7796
|
+
swr?: SWRConfiguration<Awaited$h<ReturnType<typeof listChatAgents>>, TError> & {
|
|
7513
7797
|
swrKey?: Key;
|
|
7514
7798
|
enabled?: boolean;
|
|
7515
7799
|
};
|
|
7516
|
-
request?: SecondParameter$
|
|
7800
|
+
request?: SecondParameter$h<typeof customFetch>;
|
|
7517
7801
|
}) => {
|
|
7518
7802
|
data: ChatAgentList | undefined;
|
|
7519
7803
|
error: TError | undefined;
|
|
@@ -7529,16 +7813,16 @@ declare const useListChatAgents: <TError = ErrorType<ErrorResponse>>(params?: Li
|
|
|
7529
7813
|
declare const getGetChatAgentUrl: (chatAgentId: string) => string;
|
|
7530
7814
|
declare const getChatAgent: (chatAgentId: string, options?: RequestInit) => Promise<ChatAgentDetail>;
|
|
7531
7815
|
declare const getGetChatAgentKey: (chatAgentId: string) => readonly [`/v1/chat-agents/${string}`];
|
|
7532
|
-
type GetChatAgentQueryResult = NonNullable<Awaited$
|
|
7816
|
+
type GetChatAgentQueryResult = NonNullable<Awaited$h<ReturnType<typeof getChatAgent>>>;
|
|
7533
7817
|
/**
|
|
7534
7818
|
* @summary Get chat agent
|
|
7535
7819
|
*/
|
|
7536
7820
|
declare const useGetChatAgent: <TError = ErrorType<ErrorResponse>>(chatAgentId: string, options?: {
|
|
7537
|
-
swr?: SWRConfiguration<Awaited$
|
|
7821
|
+
swr?: SWRConfiguration<Awaited$h<ReturnType<typeof getChatAgent>>, TError> & {
|
|
7538
7822
|
swrKey?: Key;
|
|
7539
7823
|
enabled?: boolean;
|
|
7540
7824
|
};
|
|
7541
|
-
request?: SecondParameter$
|
|
7825
|
+
request?: SecondParameter$h<typeof customFetch>;
|
|
7542
7826
|
}) => {
|
|
7543
7827
|
data: ChatAgentDetail | undefined;
|
|
7544
7828
|
error: TError | undefined;
|
|
@@ -7553,19 +7837,19 @@ declare const useGetChatAgent: <TError = ErrorType<ErrorResponse>>(chatAgentId:
|
|
|
7553
7837
|
*/
|
|
7554
7838
|
declare const getUpdateChatAgentUrl: (chatAgentId: string) => string;
|
|
7555
7839
|
declare const updateChatAgent: (chatAgentId: string, updateChatAgentRequest: UpdateChatAgentRequest, options?: RequestInit) => Promise<ChatAgent>;
|
|
7556
|
-
declare const getUpdateChatAgentMutationFetcher: (chatAgentId: string, options?: SecondParameter$
|
|
7840
|
+
declare const getUpdateChatAgentMutationFetcher: (chatAgentId: string, options?: SecondParameter$h<typeof customFetch>) => (_: Key, { arg }: {
|
|
7557
7841
|
arg: UpdateChatAgentRequest;
|
|
7558
7842
|
}) => Promise<ChatAgent>;
|
|
7559
7843
|
declare const getUpdateChatAgentMutationKey: (chatAgentId: string) => readonly [`/v1/chat-agents/${string}`];
|
|
7560
|
-
type UpdateChatAgentMutationResult = NonNullable<Awaited$
|
|
7844
|
+
type UpdateChatAgentMutationResult = NonNullable<Awaited$h<ReturnType<typeof updateChatAgent>>>;
|
|
7561
7845
|
/**
|
|
7562
7846
|
* @summary Update chat agent
|
|
7563
7847
|
*/
|
|
7564
7848
|
declare const useUpdateChatAgent: <TError = ErrorType<ErrorResponse>>(chatAgentId: string, options?: {
|
|
7565
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
7849
|
+
swr?: SWRMutationConfiguration<Awaited$h<ReturnType<typeof updateChatAgent>>, TError, Key, UpdateChatAgentRequest, Awaited$h<ReturnType<typeof updateChatAgent>>> & {
|
|
7566
7850
|
swrKey?: string;
|
|
7567
7851
|
};
|
|
7568
|
-
request?: SecondParameter$
|
|
7852
|
+
request?: SecondParameter$h<typeof customFetch>;
|
|
7569
7853
|
}) => {
|
|
7570
7854
|
isMutating: boolean;
|
|
7571
7855
|
trigger: swr_mutation.TriggerWithArgs<ChatAgent, TError, string | readonly [`/v1/chat-agents/${string}`], UpdateChatAgentRequest>;
|
|
@@ -7580,19 +7864,19 @@ declare const useUpdateChatAgent: <TError = ErrorType<ErrorResponse>>(chatAgentI
|
|
|
7580
7864
|
*/
|
|
7581
7865
|
declare const getDeleteChatAgentUrl: (chatAgentId: string) => string;
|
|
7582
7866
|
declare const deleteChatAgent: (chatAgentId: string, options?: RequestInit) => Promise<DeleteChatAgentResponse>;
|
|
7583
|
-
declare const getDeleteChatAgentMutationFetcher: (chatAgentId: string, options?: SecondParameter$
|
|
7867
|
+
declare const getDeleteChatAgentMutationFetcher: (chatAgentId: string, options?: SecondParameter$h<typeof customFetch>) => (_: Key, __: {
|
|
7584
7868
|
arg: Arguments;
|
|
7585
7869
|
}) => Promise<DeleteChatAgentResponse>;
|
|
7586
7870
|
declare const getDeleteChatAgentMutationKey: (chatAgentId: string) => readonly [`/v1/chat-agents/${string}`];
|
|
7587
|
-
type DeleteChatAgentMutationResult = NonNullable<Awaited$
|
|
7871
|
+
type DeleteChatAgentMutationResult = NonNullable<Awaited$h<ReturnType<typeof deleteChatAgent>>>;
|
|
7588
7872
|
/**
|
|
7589
7873
|
* @summary Delete chat agent
|
|
7590
7874
|
*/
|
|
7591
7875
|
declare const useDeleteChatAgent: <TError = ErrorType<ErrorResponse>>(chatAgentId: string, options?: {
|
|
7592
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
7876
|
+
swr?: SWRMutationConfiguration<Awaited$h<ReturnType<typeof deleteChatAgent>>, TError, Key, Arguments, Awaited$h<ReturnType<typeof deleteChatAgent>>> & {
|
|
7593
7877
|
swrKey?: string;
|
|
7594
7878
|
};
|
|
7595
|
-
request?: SecondParameter$
|
|
7879
|
+
request?: SecondParameter$h<typeof customFetch>;
|
|
7596
7880
|
}) => {
|
|
7597
7881
|
isMutating: boolean;
|
|
7598
7882
|
trigger: swr_mutation.TriggerWithOptionsArgs<DeleteChatAgentResponse, TError, string | readonly [`/v1/chat-agents/${string}`], Arguments>;
|
|
@@ -7608,16 +7892,16 @@ declare const useDeleteChatAgent: <TError = ErrorType<ErrorResponse>>(chatAgentI
|
|
|
7608
7892
|
declare const getGetChatAgentPromptUrl: (chatAgentId: string) => string;
|
|
7609
7893
|
declare const getChatAgentPrompt: (chatAgentId: string, options?: RequestInit) => Promise<ChatAgentPrompt>;
|
|
7610
7894
|
declare const getGetChatAgentPromptKey: (chatAgentId: string) => readonly [`/v1/chat-agents/${string}/prompt`];
|
|
7611
|
-
type GetChatAgentPromptQueryResult = NonNullable<Awaited$
|
|
7895
|
+
type GetChatAgentPromptQueryResult = NonNullable<Awaited$h<ReturnType<typeof getChatAgentPrompt>>>;
|
|
7612
7896
|
/**
|
|
7613
7897
|
* @summary Get chat agent prompt
|
|
7614
7898
|
*/
|
|
7615
7899
|
declare const useGetChatAgentPrompt: <TError = ErrorType<ErrorResponse>>(chatAgentId: string, options?: {
|
|
7616
|
-
swr?: SWRConfiguration<Awaited$
|
|
7900
|
+
swr?: SWRConfiguration<Awaited$h<ReturnType<typeof getChatAgentPrompt>>, TError> & {
|
|
7617
7901
|
swrKey?: Key;
|
|
7618
7902
|
enabled?: boolean;
|
|
7619
7903
|
};
|
|
7620
|
-
request?: SecondParameter$
|
|
7904
|
+
request?: SecondParameter$h<typeof customFetch>;
|
|
7621
7905
|
}) => {
|
|
7622
7906
|
data: ChatAgentPrompt | undefined;
|
|
7623
7907
|
error: TError | undefined;
|
|
@@ -7632,19 +7916,19 @@ declare const useGetChatAgentPrompt: <TError = ErrorType<ErrorResponse>>(chatAge
|
|
|
7632
7916
|
*/
|
|
7633
7917
|
declare const getUpdateChatAgentPromptUrl: (chatAgentId: string) => string;
|
|
7634
7918
|
declare const updateChatAgentPrompt: (chatAgentId: string, updateChatAgentPromptBody: UpdateChatAgentPromptBody, options?: RequestInit) => Promise<ChatAgentPromptUpdated>;
|
|
7635
|
-
declare const getUpdateChatAgentPromptMutationFetcher: (chatAgentId: string, options?: SecondParameter$
|
|
7919
|
+
declare const getUpdateChatAgentPromptMutationFetcher: (chatAgentId: string, options?: SecondParameter$h<typeof customFetch>) => (_: Key, { arg }: {
|
|
7636
7920
|
arg: UpdateChatAgentPromptBody;
|
|
7637
7921
|
}) => Promise<ChatAgentPromptUpdated>;
|
|
7638
7922
|
declare const getUpdateChatAgentPromptMutationKey: (chatAgentId: string) => readonly [`/v1/chat-agents/${string}/prompt`];
|
|
7639
|
-
type UpdateChatAgentPromptMutationResult = NonNullable<Awaited$
|
|
7923
|
+
type UpdateChatAgentPromptMutationResult = NonNullable<Awaited$h<ReturnType<typeof updateChatAgentPrompt>>>;
|
|
7640
7924
|
/**
|
|
7641
7925
|
* @summary Update chat agent prompt
|
|
7642
7926
|
*/
|
|
7643
7927
|
declare const useUpdateChatAgentPrompt: <TError = ErrorType<ErrorResponse>>(chatAgentId: string, options?: {
|
|
7644
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
7928
|
+
swr?: SWRMutationConfiguration<Awaited$h<ReturnType<typeof updateChatAgentPrompt>>, TError, Key, UpdateChatAgentPromptBody, Awaited$h<ReturnType<typeof updateChatAgentPrompt>>> & {
|
|
7645
7929
|
swrKey?: string;
|
|
7646
7930
|
};
|
|
7647
|
-
request?: SecondParameter$
|
|
7931
|
+
request?: SecondParameter$h<typeof customFetch>;
|
|
7648
7932
|
}) => {
|
|
7649
7933
|
isMutating: boolean;
|
|
7650
7934
|
trigger: swr_mutation.TriggerWithArgs<ChatAgentPromptUpdated, TError, string | readonly [`/v1/chat-agents/${string}/prompt`], UpdateChatAgentPromptBody>;
|
|
@@ -7654,28 +7938,28 @@ declare const useUpdateChatAgentPrompt: <TError = ErrorType<ErrorResponse>>(chat
|
|
|
7654
7938
|
swrKey: string | readonly [`/v1/chat-agents/${string}/prompt`];
|
|
7655
7939
|
};
|
|
7656
7940
|
|
|
7657
|
-
type AwaitedInput$
|
|
7658
|
-
type Awaited$
|
|
7659
|
-
type SecondParameter$
|
|
7941
|
+
type AwaitedInput$g<T> = PromiseLike<T> | T;
|
|
7942
|
+
type Awaited$g<O> = O extends AwaitedInput$g<infer T> ? T : never;
|
|
7943
|
+
type SecondParameter$g<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
7660
7944
|
/**
|
|
7661
7945
|
* Create a new chat against an existing chat agent. The chat agent's tenant becomes the owner of the chat.
|
|
7662
7946
|
* @summary Create a chat
|
|
7663
7947
|
*/
|
|
7664
7948
|
declare const getCreateChatUrl: () => string;
|
|
7665
7949
|
declare const createChat: (createChatBody: CreateChatBody, options?: RequestInit) => Promise<ChatCreated>;
|
|
7666
|
-
declare const getCreateChatMutationFetcher: (options?: SecondParameter$
|
|
7950
|
+
declare const getCreateChatMutationFetcher: (options?: SecondParameter$g<typeof customFetch>) => (_: Key, { arg }: {
|
|
7667
7951
|
arg: CreateChatBody;
|
|
7668
7952
|
}) => Promise<ChatCreated>;
|
|
7669
7953
|
declare const getCreateChatMutationKey: () => readonly ["/public/v1/chats"];
|
|
7670
|
-
type CreateChatMutationResult = NonNullable<Awaited$
|
|
7954
|
+
type CreateChatMutationResult = NonNullable<Awaited$g<ReturnType<typeof createChat>>>;
|
|
7671
7955
|
/**
|
|
7672
7956
|
* @summary Create a chat
|
|
7673
7957
|
*/
|
|
7674
7958
|
declare const useCreateChat: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
7675
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
7959
|
+
swr?: SWRMutationConfiguration<Awaited$g<ReturnType<typeof createChat>>, TError, Key, CreateChatBody, Awaited$g<ReturnType<typeof createChat>>> & {
|
|
7676
7960
|
swrKey?: string;
|
|
7677
7961
|
};
|
|
7678
|
-
request?: SecondParameter$
|
|
7962
|
+
request?: SecondParameter$g<typeof customFetch>;
|
|
7679
7963
|
}) => {
|
|
7680
7964
|
isMutating: boolean;
|
|
7681
7965
|
trigger: swr_mutation.TriggerWithArgs<ChatCreated, TError, string | readonly ["/public/v1/chats"], CreateChatBody>;
|
|
@@ -7694,16 +7978,16 @@ For compatibility this endpoint is also available using the following (deprecate
|
|
|
7694
7978
|
declare const getGetChatUrl: (chatId: string) => string;
|
|
7695
7979
|
declare const getChat: (chatId: string, options?: RequestInit) => Promise<ChatHistory>;
|
|
7696
7980
|
declare const getGetChatKey: (chatId: string) => readonly [`/public/v1/chats/${string}`];
|
|
7697
|
-
type GetChatQueryResult = NonNullable<Awaited$
|
|
7981
|
+
type GetChatQueryResult = NonNullable<Awaited$g<ReturnType<typeof getChat>>>;
|
|
7698
7982
|
/**
|
|
7699
7983
|
* @summary Get a chat
|
|
7700
7984
|
*/
|
|
7701
7985
|
declare const useGetChat: <TError = ErrorType<ErrorResponse>>(chatId: string, options?: {
|
|
7702
|
-
swr?: SWRConfiguration<Awaited$
|
|
7986
|
+
swr?: SWRConfiguration<Awaited$g<ReturnType<typeof getChat>>, TError> & {
|
|
7703
7987
|
swrKey?: Key;
|
|
7704
7988
|
enabled?: boolean;
|
|
7705
7989
|
};
|
|
7706
|
-
request?: SecondParameter$
|
|
7990
|
+
request?: SecondParameter$g<typeof customFetch>;
|
|
7707
7991
|
}) => {
|
|
7708
7992
|
data: ChatHistory | undefined;
|
|
7709
7993
|
error: TError | undefined;
|
|
@@ -7719,16 +8003,16 @@ declare const useGetChat: <TError = ErrorType<ErrorResponse>>(chatId: string, op
|
|
|
7719
8003
|
declare const getGetPublicChatAgentUrl: (chatAgentId: string) => string;
|
|
7720
8004
|
declare const getPublicChatAgent: (chatAgentId: string, options?: RequestInit) => Promise<PublicChatAgent>;
|
|
7721
8005
|
declare const getGetPublicChatAgentKey: (chatAgentId: string) => readonly [`/public/v1/chat-agents/${string}`];
|
|
7722
|
-
type GetPublicChatAgentQueryResult = NonNullable<Awaited$
|
|
8006
|
+
type GetPublicChatAgentQueryResult = NonNullable<Awaited$g<ReturnType<typeof getPublicChatAgent>>>;
|
|
7723
8007
|
/**
|
|
7724
8008
|
* @summary Get a chat agent (public)
|
|
7725
8009
|
*/
|
|
7726
8010
|
declare const useGetPublicChatAgent: <TError = ErrorType<ErrorResponse>>(chatAgentId: string, options?: {
|
|
7727
|
-
swr?: SWRConfiguration<Awaited$
|
|
8011
|
+
swr?: SWRConfiguration<Awaited$g<ReturnType<typeof getPublicChatAgent>>, TError> & {
|
|
7728
8012
|
swrKey?: Key;
|
|
7729
8013
|
enabled?: boolean;
|
|
7730
8014
|
};
|
|
7731
|
-
request?: SecondParameter$
|
|
8015
|
+
request?: SecondParameter$g<typeof customFetch>;
|
|
7732
8016
|
}) => {
|
|
7733
8017
|
data: PublicChatAgent | undefined;
|
|
7734
8018
|
error: TError | undefined;
|
|
@@ -7746,19 +8030,19 @@ For compatibility this endpoint is also available using the following (deprecate
|
|
|
7746
8030
|
*/
|
|
7747
8031
|
declare const getPostChatMessageUrl: (chatId: string) => string;
|
|
7748
8032
|
declare const postChatMessage: (chatId: string, postChatMessageBody: PostChatMessageBody, options?: RequestInit) => Promise<ChatMessageCreated>;
|
|
7749
|
-
declare const getPostChatMessageMutationFetcher: (chatId: string, options?: SecondParameter$
|
|
8033
|
+
declare const getPostChatMessageMutationFetcher: (chatId: string, options?: SecondParameter$g<typeof customFetch>) => (_: Key, { arg }: {
|
|
7750
8034
|
arg: PostChatMessageBody;
|
|
7751
8035
|
}) => Promise<ChatMessageCreated>;
|
|
7752
8036
|
declare const getPostChatMessageMutationKey: (chatId: string) => readonly [`/public/v1/chats/${string}/messages`];
|
|
7753
|
-
type PostChatMessageMutationResult = NonNullable<Awaited$
|
|
8037
|
+
type PostChatMessageMutationResult = NonNullable<Awaited$g<ReturnType<typeof postChatMessage>>>;
|
|
7754
8038
|
/**
|
|
7755
8039
|
* @summary Post a message to a chat
|
|
7756
8040
|
*/
|
|
7757
8041
|
declare const usePostChatMessage: <TError = ErrorType<ErrorResponse>>(chatId: string, options?: {
|
|
7758
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
8042
|
+
swr?: SWRMutationConfiguration<Awaited$g<ReturnType<typeof postChatMessage>>, TError, Key, PostChatMessageBody, Awaited$g<ReturnType<typeof postChatMessage>>> & {
|
|
7759
8043
|
swrKey?: string;
|
|
7760
8044
|
};
|
|
7761
|
-
request?: SecondParameter$
|
|
8045
|
+
request?: SecondParameter$g<typeof customFetch>;
|
|
7762
8046
|
}) => {
|
|
7763
8047
|
isMutating: boolean;
|
|
7764
8048
|
trigger: swr_mutation.TriggerWithArgs<ChatMessageCreated, TError, string | readonly [`/public/v1/chats/${string}/messages`], PostChatMessageBody>;
|
|
@@ -7774,16 +8058,16 @@ declare const usePostChatMessage: <TError = ErrorType<ErrorResponse>>(chatId: st
|
|
|
7774
8058
|
declare const getListChatsUrl: (params?: ListChatsParams) => string;
|
|
7775
8059
|
declare const listChats: (params?: ListChatsParams, options?: RequestInit) => Promise<ChatList>;
|
|
7776
8060
|
declare const getListChatsKey: (params?: ListChatsParams) => readonly ["/v1/chats", ...ListChatsParams[]];
|
|
7777
|
-
type ListChatsQueryResult = NonNullable<Awaited$
|
|
8061
|
+
type ListChatsQueryResult = NonNullable<Awaited$g<ReturnType<typeof listChats>>>;
|
|
7778
8062
|
/**
|
|
7779
8063
|
* @summary List chats
|
|
7780
8064
|
*/
|
|
7781
8065
|
declare const useListChats: <TError = ErrorType<ErrorResponse>>(params?: ListChatsParams, options?: {
|
|
7782
|
-
swr?: SWRConfiguration<Awaited$
|
|
8066
|
+
swr?: SWRConfiguration<Awaited$g<ReturnType<typeof listChats>>, TError> & {
|
|
7783
8067
|
swrKey?: Key;
|
|
7784
8068
|
enabled?: boolean;
|
|
7785
8069
|
};
|
|
7786
|
-
request?: SecondParameter$
|
|
8070
|
+
request?: SecondParameter$g<typeof customFetch>;
|
|
7787
8071
|
}) => {
|
|
7788
8072
|
data: ChatList | undefined;
|
|
7789
8073
|
error: TError | undefined;
|
|
@@ -7799,16 +8083,16 @@ declare const useListChats: <TError = ErrorType<ErrorResponse>>(params?: ListCha
|
|
|
7799
8083
|
declare const getListChatMessagesUrl: (chatId: string, params?: ListChatMessagesParams) => string;
|
|
7800
8084
|
declare const listChatMessages: (chatId: string, params?: ListChatMessagesParams, options?: RequestInit) => Promise<ChatMessageList>;
|
|
7801
8085
|
declare const getListChatMessagesKey: (chatId: string, params?: ListChatMessagesParams) => readonly [`/v1/chats/${string}/messages`, ...ListChatMessagesParams[]];
|
|
7802
|
-
type ListChatMessagesQueryResult = NonNullable<Awaited$
|
|
8086
|
+
type ListChatMessagesQueryResult = NonNullable<Awaited$g<ReturnType<typeof listChatMessages>>>;
|
|
7803
8087
|
/**
|
|
7804
8088
|
* @summary List chat messages
|
|
7805
8089
|
*/
|
|
7806
8090
|
declare const useListChatMessages: <TError = ErrorType<ErrorResponse>>(chatId: string, params?: ListChatMessagesParams, options?: {
|
|
7807
|
-
swr?: SWRConfiguration<Awaited$
|
|
8091
|
+
swr?: SWRConfiguration<Awaited$g<ReturnType<typeof listChatMessages>>, TError> & {
|
|
7808
8092
|
swrKey?: Key;
|
|
7809
8093
|
enabled?: boolean;
|
|
7810
8094
|
};
|
|
7811
|
-
request?: SecondParameter$
|
|
8095
|
+
request?: SecondParameter$g<typeof customFetch>;
|
|
7812
8096
|
}) => {
|
|
7813
8097
|
data: ChatMessageList | undefined;
|
|
7814
8098
|
error: TError | undefined;
|
|
@@ -7818,28 +8102,28 @@ declare const useListChatMessages: <TError = ErrorType<ErrorResponse>>(chatId: s
|
|
|
7818
8102
|
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
|
|
7819
8103
|
};
|
|
7820
8104
|
|
|
7821
|
-
type AwaitedInput$
|
|
7822
|
-
type Awaited$
|
|
7823
|
-
type SecondParameter$
|
|
8105
|
+
type AwaitedInput$f<T> = PromiseLike<T> | T;
|
|
8106
|
+
type Awaited$f<O> = O extends AwaitedInput$f<infer T> ? T : never;
|
|
8107
|
+
type SecondParameter$f<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
7824
8108
|
/**
|
|
7825
8109
|
* Ingest an email into the system.
|
|
7826
8110
|
* @summary Create email
|
|
7827
8111
|
*/
|
|
7828
8112
|
declare const getCreateEmailUrl: () => string;
|
|
7829
8113
|
declare const createEmail: (createEmailBody: CreateEmailBody, options?: RequestInit) => Promise<EmailCreated>;
|
|
7830
|
-
declare const getCreateEmailMutationFetcher: (options?: SecondParameter$
|
|
8114
|
+
declare const getCreateEmailMutationFetcher: (options?: SecondParameter$f<typeof customFetch>) => (_: Key, { arg }: {
|
|
7831
8115
|
arg: CreateEmailBody;
|
|
7832
8116
|
}) => Promise<EmailCreated>;
|
|
7833
8117
|
declare const getCreateEmailMutationKey: () => readonly ["/v1/emails"];
|
|
7834
|
-
type CreateEmailMutationResult = NonNullable<Awaited$
|
|
8118
|
+
type CreateEmailMutationResult = NonNullable<Awaited$f<ReturnType<typeof createEmail>>>;
|
|
7835
8119
|
/**
|
|
7836
8120
|
* @summary Create email
|
|
7837
8121
|
*/
|
|
7838
8122
|
declare const useCreateEmail: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
7839
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
8123
|
+
swr?: SWRMutationConfiguration<Awaited$f<ReturnType<typeof createEmail>>, TError, Key, CreateEmailBody, Awaited$f<ReturnType<typeof createEmail>>> & {
|
|
7840
8124
|
swrKey?: string;
|
|
7841
8125
|
};
|
|
7842
|
-
request?: SecondParameter$
|
|
8126
|
+
request?: SecondParameter$f<typeof customFetch>;
|
|
7843
8127
|
}) => {
|
|
7844
8128
|
isMutating: boolean;
|
|
7845
8129
|
trigger: swr_mutation.TriggerWithArgs<EmailCreated, TError, string | readonly ["/v1/emails"], CreateEmailBody>;
|
|
@@ -7859,16 +8143,16 @@ Filter by email agent, sender, recipient, content search, or case.
|
|
|
7859
8143
|
declare const getListEmailsUrl: (params?: ListEmailsParams) => string;
|
|
7860
8144
|
declare const listEmails: (params?: ListEmailsParams, options?: RequestInit) => Promise<EmailList>;
|
|
7861
8145
|
declare const getListEmailsKey: (params?: ListEmailsParams) => readonly ["/v1/emails", ...ListEmailsParams[]];
|
|
7862
|
-
type ListEmailsQueryResult = NonNullable<Awaited$
|
|
8146
|
+
type ListEmailsQueryResult = NonNullable<Awaited$f<ReturnType<typeof listEmails>>>;
|
|
7863
8147
|
/**
|
|
7864
8148
|
* @summary List emails
|
|
7865
8149
|
*/
|
|
7866
8150
|
declare const useListEmails: <TError = ErrorType<ErrorResponse>>(params?: ListEmailsParams, options?: {
|
|
7867
|
-
swr?: SWRConfiguration<Awaited$
|
|
8151
|
+
swr?: SWRConfiguration<Awaited$f<ReturnType<typeof listEmails>>, TError> & {
|
|
7868
8152
|
swrKey?: Key;
|
|
7869
8153
|
enabled?: boolean;
|
|
7870
8154
|
};
|
|
7871
|
-
request?: SecondParameter$
|
|
8155
|
+
request?: SecondParameter$f<typeof customFetch>;
|
|
7872
8156
|
}) => {
|
|
7873
8157
|
data: EmailList | undefined;
|
|
7874
8158
|
error: TError | undefined;
|
|
@@ -7884,16 +8168,16 @@ declare const useListEmails: <TError = ErrorType<ErrorResponse>>(params?: ListEm
|
|
|
7884
8168
|
declare const getGetEmailUrl: (emailId: string) => string;
|
|
7885
8169
|
declare const getEmail: (emailId: string, options?: RequestInit) => Promise<EmailDetail>;
|
|
7886
8170
|
declare const getGetEmailKey: (emailId: string) => readonly [`/v1/emails/${string}`];
|
|
7887
|
-
type GetEmailQueryResult = NonNullable<Awaited$
|
|
8171
|
+
type GetEmailQueryResult = NonNullable<Awaited$f<ReturnType<typeof getEmail>>>;
|
|
7888
8172
|
/**
|
|
7889
8173
|
* @summary Get email
|
|
7890
8174
|
*/
|
|
7891
8175
|
declare const useGetEmail: <TError = ErrorType<ErrorResponse>>(emailId: string, options?: {
|
|
7892
|
-
swr?: SWRConfiguration<Awaited$
|
|
8176
|
+
swr?: SWRConfiguration<Awaited$f<ReturnType<typeof getEmail>>, TError> & {
|
|
7893
8177
|
swrKey?: Key;
|
|
7894
8178
|
enabled?: boolean;
|
|
7895
8179
|
};
|
|
7896
|
-
request?: SecondParameter$
|
|
8180
|
+
request?: SecondParameter$f<typeof customFetch>;
|
|
7897
8181
|
}) => {
|
|
7898
8182
|
data: EmailDetail | undefined;
|
|
7899
8183
|
error: TError | undefined;
|
|
@@ -7908,19 +8192,19 @@ declare const useGetEmail: <TError = ErrorType<ErrorResponse>>(emailId: string,
|
|
|
7908
8192
|
*/
|
|
7909
8193
|
declare const getDeleteEmailUrl: (emailId: string) => string;
|
|
7910
8194
|
declare const deleteEmail: (emailId: string, options?: RequestInit) => Promise<DeleteEmailResponse>;
|
|
7911
|
-
declare const getDeleteEmailMutationFetcher: (emailId: string, options?: SecondParameter$
|
|
8195
|
+
declare const getDeleteEmailMutationFetcher: (emailId: string, options?: SecondParameter$f<typeof customFetch>) => (_: Key, __: {
|
|
7912
8196
|
arg: Arguments;
|
|
7913
8197
|
}) => Promise<DeleteEmailResponse>;
|
|
7914
8198
|
declare const getDeleteEmailMutationKey: (emailId: string) => readonly [`/v1/emails/${string}`];
|
|
7915
|
-
type DeleteEmailMutationResult = NonNullable<Awaited$
|
|
8199
|
+
type DeleteEmailMutationResult = NonNullable<Awaited$f<ReturnType<typeof deleteEmail>>>;
|
|
7916
8200
|
/**
|
|
7917
8201
|
* @summary Delete email
|
|
7918
8202
|
*/
|
|
7919
8203
|
declare const useDeleteEmail: <TError = ErrorType<ErrorResponse>>(emailId: string, options?: {
|
|
7920
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
8204
|
+
swr?: SWRMutationConfiguration<Awaited$f<ReturnType<typeof deleteEmail>>, TError, Key, Arguments, Awaited$f<ReturnType<typeof deleteEmail>>> & {
|
|
7921
8205
|
swrKey?: string;
|
|
7922
8206
|
};
|
|
7923
|
-
request?: SecondParameter$
|
|
8207
|
+
request?: SecondParameter$f<typeof customFetch>;
|
|
7924
8208
|
}) => {
|
|
7925
8209
|
isMutating: boolean;
|
|
7926
8210
|
trigger: swr_mutation.TriggerWithOptionsArgs<DeleteEmailResponse, TError, string | readonly [`/v1/emails/${string}`], Arguments>;
|
|
@@ -7936,16 +8220,16 @@ declare const useDeleteEmail: <TError = ErrorType<ErrorResponse>>(emailId: strin
|
|
|
7936
8220
|
declare const getListEmailThreadsUrl: (params?: ListEmailThreadsParams) => string;
|
|
7937
8221
|
declare const listEmailThreads: (params?: ListEmailThreadsParams, options?: RequestInit) => Promise<EmailThreadList>;
|
|
7938
8222
|
declare const getListEmailThreadsKey: (params?: ListEmailThreadsParams) => readonly ["/v1/emails/threads", ...ListEmailThreadsParams[]];
|
|
7939
|
-
type ListEmailThreadsQueryResult = NonNullable<Awaited$
|
|
8223
|
+
type ListEmailThreadsQueryResult = NonNullable<Awaited$f<ReturnType<typeof listEmailThreads>>>;
|
|
7940
8224
|
/**
|
|
7941
8225
|
* @summary List email threads
|
|
7942
8226
|
*/
|
|
7943
8227
|
declare const useListEmailThreads: <TError = ErrorType<ErrorResponse>>(params?: ListEmailThreadsParams, options?: {
|
|
7944
|
-
swr?: SWRConfiguration<Awaited$
|
|
8228
|
+
swr?: SWRConfiguration<Awaited$f<ReturnType<typeof listEmailThreads>>, TError> & {
|
|
7945
8229
|
swrKey?: Key;
|
|
7946
8230
|
enabled?: boolean;
|
|
7947
8231
|
};
|
|
7948
|
-
request?: SecondParameter$
|
|
8232
|
+
request?: SecondParameter$f<typeof customFetch>;
|
|
7949
8233
|
}) => {
|
|
7950
8234
|
data: EmailThreadList | undefined;
|
|
7951
8235
|
error: TError | undefined;
|
|
@@ -7964,21 +8248,21 @@ The `body` is HTML by default. Set `is_html` to `false` to provide plain text in
|
|
|
7964
8248
|
*/
|
|
7965
8249
|
declare const getReplyToEmailUrl: (emailId: string) => string;
|
|
7966
8250
|
declare const replyToEmail: (emailId: string, replyToEmailBody: ReplyToEmailBody, options?: RequestInit) => Promise<EmailReplyResult>;
|
|
7967
|
-
declare const getReplyToEmailMutationFetcher: (emailId: string, options?: SecondParameter$
|
|
8251
|
+
declare const getReplyToEmailMutationFetcher: (emailId: string, options?: SecondParameter$f<typeof customFetch>) => (_: Key, { arg }: {
|
|
7968
8252
|
arg: ReplyToEmailBody;
|
|
7969
8253
|
}) => Promise<{
|
|
7970
8254
|
readonly sent: true;
|
|
7971
8255
|
}>;
|
|
7972
8256
|
declare const getReplyToEmailMutationKey: (emailId: string) => readonly [`/v1/emails/${string}/reply`];
|
|
7973
|
-
type ReplyToEmailMutationResult = NonNullable<Awaited$
|
|
8257
|
+
type ReplyToEmailMutationResult = NonNullable<Awaited$f<ReturnType<typeof replyToEmail>>>;
|
|
7974
8258
|
/**
|
|
7975
8259
|
* @summary Reply to email
|
|
7976
8260
|
*/
|
|
7977
8261
|
declare const useReplyToEmail: <TError = ErrorType<ErrorResponse>>(emailId: string, options?: {
|
|
7978
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
8262
|
+
swr?: SWRMutationConfiguration<Awaited$f<ReturnType<typeof replyToEmail>>, TError, Key, ReplyToEmailBody, Awaited$f<ReturnType<typeof replyToEmail>>> & {
|
|
7979
8263
|
swrKey?: string;
|
|
7980
8264
|
};
|
|
7981
|
-
request?: SecondParameter$
|
|
8265
|
+
request?: SecondParameter$f<typeof customFetch>;
|
|
7982
8266
|
}) => {
|
|
7983
8267
|
isMutating: boolean;
|
|
7984
8268
|
trigger: swr_mutation.TriggerWithArgs<{
|
|
@@ -7999,19 +8283,19 @@ The `body` is HTML by default. Set `is_html` to `false` to provide plain text in
|
|
|
7999
8283
|
*/
|
|
8000
8284
|
declare const getSendEmailUrl: () => string;
|
|
8001
8285
|
declare const sendEmail: (sendEmailBody: SendEmailBody, options?: RequestInit) => Promise<EmailSendResult>;
|
|
8002
|
-
declare const getSendEmailMutationFetcher: (options?: SecondParameter$
|
|
8286
|
+
declare const getSendEmailMutationFetcher: (options?: SecondParameter$f<typeof customFetch>) => (_: Key, { arg }: {
|
|
8003
8287
|
arg: SendEmailBody;
|
|
8004
8288
|
}) => Promise<EmailSendResult>;
|
|
8005
8289
|
declare const getSendEmailMutationKey: () => readonly ["/v1/emails/send"];
|
|
8006
|
-
type SendEmailMutationResult = NonNullable<Awaited$
|
|
8290
|
+
type SendEmailMutationResult = NonNullable<Awaited$f<ReturnType<typeof sendEmail>>>;
|
|
8007
8291
|
/**
|
|
8008
8292
|
* @summary Send email
|
|
8009
8293
|
*/
|
|
8010
8294
|
declare const useSendEmail: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
8011
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
8295
|
+
swr?: SWRMutationConfiguration<Awaited$f<ReturnType<typeof sendEmail>>, TError, Key, SendEmailBody, Awaited$f<ReturnType<typeof sendEmail>>> & {
|
|
8012
8296
|
swrKey?: string;
|
|
8013
8297
|
};
|
|
8014
|
-
request?: SecondParameter$
|
|
8298
|
+
request?: SecondParameter$f<typeof customFetch>;
|
|
8015
8299
|
}) => {
|
|
8016
8300
|
isMutating: boolean;
|
|
8017
8301
|
trigger: swr_mutation.TriggerWithArgs<EmailSendResult, TError, string | readonly ["/v1/emails/send"], SendEmailBody>;
|
|
@@ -8021,9 +8305,9 @@ declare const useSendEmail: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
|
8021
8305
|
swrKey: string | readonly ["/v1/emails/send"];
|
|
8022
8306
|
};
|
|
8023
8307
|
|
|
8024
|
-
type AwaitedInput$
|
|
8025
|
-
type Awaited$
|
|
8026
|
-
type SecondParameter$
|
|
8308
|
+
type AwaitedInput$e<T> = PromiseLike<T> | T;
|
|
8309
|
+
type Awaited$e<O> = O extends AwaitedInput$e<infer T> ? T : never;
|
|
8310
|
+
type SecondParameter$e<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
8027
8311
|
/**
|
|
8028
8312
|
* List all extraction jobs with pagination, filtering, and sorting.
|
|
8029
8313
|
|
|
@@ -8040,16 +8324,16 @@ Multiple scope filters can be combined (AND logic).
|
|
|
8040
8324
|
declare const getListExtractorJobsUrl: (params?: ListExtractorJobsParams) => string;
|
|
8041
8325
|
declare const listExtractorJobs: (params?: ListExtractorJobsParams, options?: RequestInit) => Promise<ExtractorJobList>;
|
|
8042
8326
|
declare const getListExtractorJobsKey: (params?: ListExtractorJobsParams) => readonly ["/v1/extractor-jobs", ...ListExtractorJobsParams[]];
|
|
8043
|
-
type ListExtractorJobsQueryResult = NonNullable<Awaited$
|
|
8327
|
+
type ListExtractorJobsQueryResult = NonNullable<Awaited$e<ReturnType<typeof listExtractorJobs>>>;
|
|
8044
8328
|
/**
|
|
8045
8329
|
* @summary List extractor jobs
|
|
8046
8330
|
*/
|
|
8047
8331
|
declare const useListExtractorJobs: <TError = ErrorType<ErrorResponse>>(params?: ListExtractorJobsParams, options?: {
|
|
8048
|
-
swr?: SWRConfiguration<Awaited$
|
|
8332
|
+
swr?: SWRConfiguration<Awaited$e<ReturnType<typeof listExtractorJobs>>, TError> & {
|
|
8049
8333
|
swrKey?: Key;
|
|
8050
8334
|
enabled?: boolean;
|
|
8051
8335
|
};
|
|
8052
|
-
request?: SecondParameter$
|
|
8336
|
+
request?: SecondParameter$e<typeof customFetch>;
|
|
8053
8337
|
}) => {
|
|
8054
8338
|
data: ExtractorJobList | undefined;
|
|
8055
8339
|
error: TError | undefined;
|
|
@@ -8066,19 +8350,19 @@ Provide a non-empty `scope` object to define what the extractor should process (
|
|
|
8066
8350
|
*/
|
|
8067
8351
|
declare const getCreateExtractorJobUrl: () => string;
|
|
8068
8352
|
declare const createExtractorJob: (createExtractorJobBody: CreateExtractorJobBody, options?: RequestInit) => Promise<ExtractorJobCreated>;
|
|
8069
|
-
declare const getCreateExtractorJobMutationFetcher: (options?: SecondParameter$
|
|
8353
|
+
declare const getCreateExtractorJobMutationFetcher: (options?: SecondParameter$e<typeof customFetch>) => (_: Key, { arg }: {
|
|
8070
8354
|
arg: CreateExtractorJobBody;
|
|
8071
8355
|
}) => Promise<ExtractorJobCreated>;
|
|
8072
8356
|
declare const getCreateExtractorJobMutationKey: () => readonly ["/v1/extractor-jobs"];
|
|
8073
|
-
type CreateExtractorJobMutationResult = NonNullable<Awaited$
|
|
8357
|
+
type CreateExtractorJobMutationResult = NonNullable<Awaited$e<ReturnType<typeof createExtractorJob>>>;
|
|
8074
8358
|
/**
|
|
8075
8359
|
* @summary Create extractor job
|
|
8076
8360
|
*/
|
|
8077
8361
|
declare const useCreateExtractorJob: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
8078
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
8362
|
+
swr?: SWRMutationConfiguration<Awaited$e<ReturnType<typeof createExtractorJob>>, TError, Key, CreateExtractorJobBody, Awaited$e<ReturnType<typeof createExtractorJob>>> & {
|
|
8079
8363
|
swrKey?: string;
|
|
8080
8364
|
};
|
|
8081
|
-
request?: SecondParameter$
|
|
8365
|
+
request?: SecondParameter$e<typeof customFetch>;
|
|
8082
8366
|
}) => {
|
|
8083
8367
|
isMutating: boolean;
|
|
8084
8368
|
trigger: swr_mutation.TriggerWithArgs<ExtractorJobCreated, TError, string | readonly ["/v1/extractor-jobs"], CreateExtractorJobBody>;
|
|
@@ -8094,16 +8378,16 @@ declare const useCreateExtractorJob: <TError = ErrorType<ErrorResponse>>(options
|
|
|
8094
8378
|
declare const getGetExtractorJobUrl: (id: string) => string;
|
|
8095
8379
|
declare const getExtractorJob: (id: string, options?: RequestInit) => Promise<GetExtractorJobResponse>;
|
|
8096
8380
|
declare const getGetExtractorJobKey: (id: string) => readonly [`/v1/extractor-jobs/${string}`];
|
|
8097
|
-
type GetExtractorJobQueryResult = NonNullable<Awaited$
|
|
8381
|
+
type GetExtractorJobQueryResult = NonNullable<Awaited$e<ReturnType<typeof getExtractorJob>>>;
|
|
8098
8382
|
/**
|
|
8099
8383
|
* @summary Get extractor job
|
|
8100
8384
|
*/
|
|
8101
8385
|
declare const useGetExtractorJob: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
8102
|
-
swr?: SWRConfiguration<Awaited$
|
|
8386
|
+
swr?: SWRConfiguration<Awaited$e<ReturnType<typeof getExtractorJob>>, TError> & {
|
|
8103
8387
|
swrKey?: Key;
|
|
8104
8388
|
enabled?: boolean;
|
|
8105
8389
|
};
|
|
8106
|
-
request?: SecondParameter$
|
|
8390
|
+
request?: SecondParameter$e<typeof customFetch>;
|
|
8107
8391
|
}) => {
|
|
8108
8392
|
data: GetExtractorJobResponse | undefined;
|
|
8109
8393
|
error: TError | undefined;
|
|
@@ -8113,28 +8397,28 @@ declare const useGetExtractorJob: <TError = ErrorType<ErrorResponse>>(id: string
|
|
|
8113
8397
|
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
|
|
8114
8398
|
};
|
|
8115
8399
|
|
|
8116
|
-
type AwaitedInput$
|
|
8117
|
-
type Awaited$
|
|
8118
|
-
type SecondParameter$
|
|
8400
|
+
type AwaitedInput$d<T> = PromiseLike<T> | T;
|
|
8401
|
+
type Awaited$d<O> = O extends AwaitedInput$d<infer T> ? T : never;
|
|
8402
|
+
type SecondParameter$d<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
8119
8403
|
/**
|
|
8120
8404
|
* Create a new extractor with a name and JSON schema defining the extraction output format.
|
|
8121
8405
|
* @summary Create extractor
|
|
8122
8406
|
*/
|
|
8123
8407
|
declare const getCreateExtractorUrl: () => string;
|
|
8124
8408
|
declare const createExtractor: (createExtractorBody: CreateExtractorBody, options?: RequestInit) => Promise<ExtractorCreated>;
|
|
8125
|
-
declare const getCreateExtractorMutationFetcher: (options?: SecondParameter$
|
|
8409
|
+
declare const getCreateExtractorMutationFetcher: (options?: SecondParameter$d<typeof customFetch>) => (_: Key, { arg }: {
|
|
8126
8410
|
arg: CreateExtractorBody;
|
|
8127
8411
|
}) => Promise<ExtractorCreated>;
|
|
8128
8412
|
declare const getCreateExtractorMutationKey: () => readonly ["/v1/extractors"];
|
|
8129
|
-
type CreateExtractorMutationResult = NonNullable<Awaited$
|
|
8413
|
+
type CreateExtractorMutationResult = NonNullable<Awaited$d<ReturnType<typeof createExtractor>>>;
|
|
8130
8414
|
/**
|
|
8131
8415
|
* @summary Create extractor
|
|
8132
8416
|
*/
|
|
8133
8417
|
declare const useCreateExtractor: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
8134
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
8418
|
+
swr?: SWRMutationConfiguration<Awaited$d<ReturnType<typeof createExtractor>>, TError, Key, CreateExtractorBody, Awaited$d<ReturnType<typeof createExtractor>>> & {
|
|
8135
8419
|
swrKey?: string;
|
|
8136
8420
|
};
|
|
8137
|
-
request?: SecondParameter$
|
|
8421
|
+
request?: SecondParameter$d<typeof customFetch>;
|
|
8138
8422
|
}) => {
|
|
8139
8423
|
isMutating: boolean;
|
|
8140
8424
|
trigger: swr_mutation.TriggerWithArgs<ExtractorCreated, TError, string | readonly ["/v1/extractors"], CreateExtractorBody>;
|
|
@@ -8152,16 +8436,16 @@ Filter by name using the `name` query parameter.
|
|
|
8152
8436
|
declare const getListExtractorsUrl: (params?: ListExtractorsParams) => string;
|
|
8153
8437
|
declare const listExtractors: (params?: ListExtractorsParams, options?: RequestInit) => Promise<ExtractorList>;
|
|
8154
8438
|
declare const getListExtractorsKey: (params?: ListExtractorsParams) => readonly ["/v1/extractors", ...ListExtractorsParams[]];
|
|
8155
|
-
type ListExtractorsQueryResult = NonNullable<Awaited$
|
|
8439
|
+
type ListExtractorsQueryResult = NonNullable<Awaited$d<ReturnType<typeof listExtractors>>>;
|
|
8156
8440
|
/**
|
|
8157
8441
|
* @summary List extractors
|
|
8158
8442
|
*/
|
|
8159
8443
|
declare const useListExtractors: <TError = ErrorType<ErrorResponse>>(params?: ListExtractorsParams, options?: {
|
|
8160
|
-
swr?: SWRConfiguration<Awaited$
|
|
8444
|
+
swr?: SWRConfiguration<Awaited$d<ReturnType<typeof listExtractors>>, TError> & {
|
|
8161
8445
|
swrKey?: Key;
|
|
8162
8446
|
enabled?: boolean;
|
|
8163
8447
|
};
|
|
8164
|
-
request?: SecondParameter$
|
|
8448
|
+
request?: SecondParameter$d<typeof customFetch>;
|
|
8165
8449
|
}) => {
|
|
8166
8450
|
data: ExtractorList | undefined;
|
|
8167
8451
|
error: TError | undefined;
|
|
@@ -8177,16 +8461,16 @@ declare const useListExtractors: <TError = ErrorType<ErrorResponse>>(params?: Li
|
|
|
8177
8461
|
declare const getGetExtractorUrl: (id: string) => string;
|
|
8178
8462
|
declare const getExtractor: (id: string, options?: RequestInit) => Promise<GetExtractorResponse>;
|
|
8179
8463
|
declare const getGetExtractorKey: (id: string) => readonly [`/v1/extractors/${string}`];
|
|
8180
|
-
type GetExtractorQueryResult = NonNullable<Awaited$
|
|
8464
|
+
type GetExtractorQueryResult = NonNullable<Awaited$d<ReturnType<typeof getExtractor>>>;
|
|
8181
8465
|
/**
|
|
8182
8466
|
* @summary Get extractor
|
|
8183
8467
|
*/
|
|
8184
8468
|
declare const useGetExtractor: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
8185
|
-
swr?: SWRConfiguration<Awaited$
|
|
8469
|
+
swr?: SWRConfiguration<Awaited$d<ReturnType<typeof getExtractor>>, TError> & {
|
|
8186
8470
|
swrKey?: Key;
|
|
8187
8471
|
enabled?: boolean;
|
|
8188
8472
|
};
|
|
8189
|
-
request?: SecondParameter$
|
|
8473
|
+
request?: SecondParameter$d<typeof customFetch>;
|
|
8190
8474
|
}) => {
|
|
8191
8475
|
data: GetExtractorResponse | undefined;
|
|
8192
8476
|
error: TError | undefined;
|
|
@@ -8201,19 +8485,19 @@ declare const useGetExtractor: <TError = ErrorType<ErrorResponse>>(id: string, o
|
|
|
8201
8485
|
*/
|
|
8202
8486
|
declare const getUpdateExtractorUrl: (id: string) => string;
|
|
8203
8487
|
declare const updateExtractor: (id: string, updateExtractorBody: UpdateExtractorBody, options?: RequestInit) => Promise<ExtractorUpdated>;
|
|
8204
|
-
declare const getUpdateExtractorMutationFetcher: (id: string, options?: SecondParameter$
|
|
8488
|
+
declare const getUpdateExtractorMutationFetcher: (id: string, options?: SecondParameter$d<typeof customFetch>) => (_: Key, { arg }: {
|
|
8205
8489
|
arg: UpdateExtractorBody;
|
|
8206
8490
|
}) => Promise<ExtractorUpdated>;
|
|
8207
8491
|
declare const getUpdateExtractorMutationKey: (id: string) => readonly [`/v1/extractors/${string}`];
|
|
8208
|
-
type UpdateExtractorMutationResult = NonNullable<Awaited$
|
|
8492
|
+
type UpdateExtractorMutationResult = NonNullable<Awaited$d<ReturnType<typeof updateExtractor>>>;
|
|
8209
8493
|
/**
|
|
8210
8494
|
* @summary Update extractor
|
|
8211
8495
|
*/
|
|
8212
8496
|
declare const useUpdateExtractor: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
8213
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
8497
|
+
swr?: SWRMutationConfiguration<Awaited$d<ReturnType<typeof updateExtractor>>, TError, Key, UpdateExtractorBody, Awaited$d<ReturnType<typeof updateExtractor>>> & {
|
|
8214
8498
|
swrKey?: string;
|
|
8215
8499
|
};
|
|
8216
|
-
request?: SecondParameter$
|
|
8500
|
+
request?: SecondParameter$d<typeof customFetch>;
|
|
8217
8501
|
}) => {
|
|
8218
8502
|
isMutating: boolean;
|
|
8219
8503
|
trigger: swr_mutation.TriggerWithArgs<ExtractorUpdated, TError, string | readonly [`/v1/extractors/${string}`], UpdateExtractorBody>;
|
|
@@ -8228,19 +8512,19 @@ declare const useUpdateExtractor: <TError = ErrorType<ErrorResponse>>(id: string
|
|
|
8228
8512
|
*/
|
|
8229
8513
|
declare const getDeleteExtractorUrl: (id: string) => string;
|
|
8230
8514
|
declare const deleteExtractor: (id: string, options?: RequestInit) => Promise<DeleteExtractorResponse>;
|
|
8231
|
-
declare const getDeleteExtractorMutationFetcher: (id: string, options?: SecondParameter$
|
|
8515
|
+
declare const getDeleteExtractorMutationFetcher: (id: string, options?: SecondParameter$d<typeof customFetch>) => (_: Key, __: {
|
|
8232
8516
|
arg: Arguments;
|
|
8233
8517
|
}) => Promise<DeleteExtractorResponse>;
|
|
8234
8518
|
declare const getDeleteExtractorMutationKey: (id: string) => readonly [`/v1/extractors/${string}`];
|
|
8235
|
-
type DeleteExtractorMutationResult = NonNullable<Awaited$
|
|
8519
|
+
type DeleteExtractorMutationResult = NonNullable<Awaited$d<ReturnType<typeof deleteExtractor>>>;
|
|
8236
8520
|
/**
|
|
8237
8521
|
* @summary Delete extractor
|
|
8238
8522
|
*/
|
|
8239
8523
|
declare const useDeleteExtractor: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
8240
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
8524
|
+
swr?: SWRMutationConfiguration<Awaited$d<ReturnType<typeof deleteExtractor>>, TError, Key, Arguments, Awaited$d<ReturnType<typeof deleteExtractor>>> & {
|
|
8241
8525
|
swrKey?: string;
|
|
8242
8526
|
};
|
|
8243
|
-
request?: SecondParameter$
|
|
8527
|
+
request?: SecondParameter$d<typeof customFetch>;
|
|
8244
8528
|
}) => {
|
|
8245
8529
|
isMutating: boolean;
|
|
8246
8530
|
trigger: swr_mutation.TriggerWithOptionsArgs<DeleteExtractorResponse, TError, string | readonly [`/v1/extractors/${string}`], Arguments>;
|
|
@@ -8250,9 +8534,9 @@ declare const useDeleteExtractor: <TError = ErrorType<ErrorResponse>>(id: string
|
|
|
8250
8534
|
swrKey: string | readonly [`/v1/extractors/${string}`];
|
|
8251
8535
|
};
|
|
8252
8536
|
|
|
8253
|
-
type AwaitedInput$
|
|
8254
|
-
type Awaited$
|
|
8255
|
-
type SecondParameter$
|
|
8537
|
+
type AwaitedInput$c<T> = PromiseLike<T> | T;
|
|
8538
|
+
type Awaited$c<O> = O extends AwaitedInput$c<infer T> ? T : never;
|
|
8539
|
+
type SecondParameter$c<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
8256
8540
|
/**
|
|
8257
8541
|
* Retrieve a single extract by ID, including the extraction result data.
|
|
8258
8542
|
* @summary Get extract
|
|
@@ -8260,16 +8544,16 @@ type SecondParameter$b<T extends (...args: never) => unknown> = Parameters<T>[1]
|
|
|
8260
8544
|
declare const getGetExtractUrl: (id: string) => string;
|
|
8261
8545
|
declare const getExtract: (id: string, options?: RequestInit) => Promise<Extract>;
|
|
8262
8546
|
declare const getGetExtractKey: (id: string) => readonly [`/v1/extracts/${string}`];
|
|
8263
|
-
type GetExtractQueryResult = NonNullable<Awaited$
|
|
8547
|
+
type GetExtractQueryResult = NonNullable<Awaited$c<ReturnType<typeof getExtract>>>;
|
|
8264
8548
|
/**
|
|
8265
8549
|
* @summary Get extract
|
|
8266
8550
|
*/
|
|
8267
8551
|
declare const useGetExtract: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
8268
|
-
swr?: SWRConfiguration<Awaited$
|
|
8552
|
+
swr?: SWRConfiguration<Awaited$c<ReturnType<typeof getExtract>>, TError> & {
|
|
8269
8553
|
swrKey?: Key;
|
|
8270
8554
|
enabled?: boolean;
|
|
8271
8555
|
};
|
|
8272
|
-
request?: SecondParameter$
|
|
8556
|
+
request?: SecondParameter$c<typeof customFetch>;
|
|
8273
8557
|
}) => {
|
|
8274
8558
|
data: Extract | undefined;
|
|
8275
8559
|
error: TError | undefined;
|
|
@@ -8285,16 +8569,16 @@ declare const useGetExtract: <TError = ErrorType<ErrorResponse>>(id: string, opt
|
|
|
8285
8569
|
declare const getGetExtractCitationsUrl: (id: string) => string;
|
|
8286
8570
|
declare const getExtractCitations: (id: string, options?: RequestInit) => Promise<GetExtractCitations200>;
|
|
8287
8571
|
declare const getGetExtractCitationsKey: (id: string) => readonly [`/v1/extracts/${string}/citations`];
|
|
8288
|
-
type GetExtractCitationsQueryResult = NonNullable<Awaited$
|
|
8572
|
+
type GetExtractCitationsQueryResult = NonNullable<Awaited$c<ReturnType<typeof getExtractCitations>>>;
|
|
8289
8573
|
/**
|
|
8290
8574
|
* @summary Get extract citations
|
|
8291
8575
|
*/
|
|
8292
8576
|
declare const useGetExtractCitations: <TError = ErrorType<ErrorResponse>>(id: string, options?: {
|
|
8293
|
-
swr?: SWRConfiguration<Awaited$
|
|
8577
|
+
swr?: SWRConfiguration<Awaited$c<ReturnType<typeof getExtractCitations>>, TError> & {
|
|
8294
8578
|
swrKey?: Key;
|
|
8295
8579
|
enabled?: boolean;
|
|
8296
8580
|
};
|
|
8297
|
-
request?: SecondParameter$
|
|
8581
|
+
request?: SecondParameter$c<typeof customFetch>;
|
|
8298
8582
|
}) => {
|
|
8299
8583
|
data: GetExtractCitations200 | undefined;
|
|
8300
8584
|
error: TError | undefined;
|
|
@@ -8317,16 +8601,16 @@ Multiple scope filters can be combined (AND logic).
|
|
|
8317
8601
|
declare const getListExtractsUrl: (params?: ListExtractsParams) => string;
|
|
8318
8602
|
declare const listExtracts: (params?: ListExtractsParams, options?: RequestInit) => Promise<ExtractList>;
|
|
8319
8603
|
declare const getListExtractsKey: (params?: ListExtractsParams) => readonly ["/v1/extracts", ...ListExtractsParams[]];
|
|
8320
|
-
type ListExtractsQueryResult = NonNullable<Awaited$
|
|
8604
|
+
type ListExtractsQueryResult = NonNullable<Awaited$c<ReturnType<typeof listExtracts>>>;
|
|
8321
8605
|
/**
|
|
8322
8606
|
* @summary List extracts
|
|
8323
8607
|
*/
|
|
8324
8608
|
declare const useListExtracts: <TError = ErrorType<ErrorResponse>>(params?: ListExtractsParams, options?: {
|
|
8325
|
-
swr?: SWRConfiguration<Awaited$
|
|
8609
|
+
swr?: SWRConfiguration<Awaited$c<ReturnType<typeof listExtracts>>, TError> & {
|
|
8326
8610
|
swrKey?: Key;
|
|
8327
8611
|
enabled?: boolean;
|
|
8328
8612
|
};
|
|
8329
|
-
request?: SecondParameter$
|
|
8613
|
+
request?: SecondParameter$c<typeof customFetch>;
|
|
8330
8614
|
}) => {
|
|
8331
8615
|
data: ExtractList | undefined;
|
|
8332
8616
|
error: TError | undefined;
|
|
@@ -8336,9 +8620,9 @@ declare const useListExtracts: <TError = ErrorType<ErrorResponse>>(params?: List
|
|
|
8336
8620
|
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
|
|
8337
8621
|
};
|
|
8338
8622
|
|
|
8339
|
-
type AwaitedInput$
|
|
8340
|
-
type Awaited$
|
|
8341
|
-
type SecondParameter$
|
|
8623
|
+
type AwaitedInput$b<T> = PromiseLike<T> | T;
|
|
8624
|
+
type Awaited$b<O> = O extends AwaitedInput$b<infer T> ? T : never;
|
|
8625
|
+
type SecondParameter$b<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
8342
8626
|
/**
|
|
8343
8627
|
* Check whether a given email username is available for creating a new inbox.
|
|
8344
8628
|
|
|
@@ -8349,16 +8633,16 @@ For compatibility this endpoint is also available using the following (deprecate
|
|
|
8349
8633
|
declare const getCheckInboxAvailabilityUrl: (params: CheckInboxAvailabilityParams) => string;
|
|
8350
8634
|
declare const checkInboxAvailability: (params: CheckInboxAvailabilityParams, options?: RequestInit) => Promise<InboxAvailability>;
|
|
8351
8635
|
declare const getCheckInboxAvailabilityKey: (params: CheckInboxAvailabilityParams) => readonly ["/v1/inboxes/availability", ...CheckInboxAvailabilityParams[]];
|
|
8352
|
-
type CheckInboxAvailabilityQueryResult = NonNullable<Awaited$
|
|
8636
|
+
type CheckInboxAvailabilityQueryResult = NonNullable<Awaited$b<ReturnType<typeof checkInboxAvailability>>>;
|
|
8353
8637
|
/**
|
|
8354
8638
|
* @summary Check email username availability
|
|
8355
8639
|
*/
|
|
8356
8640
|
declare const useCheckInboxAvailability: <TError = ErrorType<ErrorResponse>>(params: CheckInboxAvailabilityParams, options?: {
|
|
8357
|
-
swr?: SWRConfiguration<Awaited$
|
|
8641
|
+
swr?: SWRConfiguration<Awaited$b<ReturnType<typeof checkInboxAvailability>>, TError> & {
|
|
8358
8642
|
swrKey?: Key;
|
|
8359
8643
|
enabled?: boolean;
|
|
8360
8644
|
};
|
|
8361
|
-
request?: SecondParameter$
|
|
8645
|
+
request?: SecondParameter$b<typeof customFetch>;
|
|
8362
8646
|
}) => {
|
|
8363
8647
|
data: InboxAvailability | undefined;
|
|
8364
8648
|
error: TError | undefined;
|
|
@@ -8380,19 +8664,19 @@ For compatibility this endpoint is also available using the following (deprecate
|
|
|
8380
8664
|
*/
|
|
8381
8665
|
declare const getCreateInboxUrl: () => string;
|
|
8382
8666
|
declare const createInbox: (createInboxBody: CreateInboxBody, options?: RequestInit) => Promise<Inbox>;
|
|
8383
|
-
declare const getCreateInboxMutationFetcher: (options?: SecondParameter$
|
|
8667
|
+
declare const getCreateInboxMutationFetcher: (options?: SecondParameter$b<typeof customFetch>) => (_: Key, { arg }: {
|
|
8384
8668
|
arg: CreateInboxBody;
|
|
8385
8669
|
}) => Promise<Inbox>;
|
|
8386
8670
|
declare const getCreateInboxMutationKey: () => readonly ["/v1/inboxes"];
|
|
8387
|
-
type CreateInboxMutationResult = NonNullable<Awaited$
|
|
8671
|
+
type CreateInboxMutationResult = NonNullable<Awaited$b<ReturnType<typeof createInbox>>>;
|
|
8388
8672
|
/**
|
|
8389
8673
|
* @summary Create inbox
|
|
8390
8674
|
*/
|
|
8391
8675
|
declare const useCreateInbox: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
8392
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
8676
|
+
swr?: SWRMutationConfiguration<Awaited$b<ReturnType<typeof createInbox>>, TError, Key, CreateInboxBody, Awaited$b<ReturnType<typeof createInbox>>> & {
|
|
8393
8677
|
swrKey?: string;
|
|
8394
8678
|
};
|
|
8395
|
-
request?: SecondParameter$
|
|
8679
|
+
request?: SecondParameter$b<typeof customFetch>;
|
|
8396
8680
|
}) => {
|
|
8397
8681
|
isMutating: boolean;
|
|
8398
8682
|
trigger: swr_mutation.TriggerWithArgs<Inbox, TError, string | readonly ["/v1/inboxes"], CreateInboxBody>;
|
|
@@ -8411,16 +8695,16 @@ For compatibility this endpoint is also available using the following (deprecate
|
|
|
8411
8695
|
declare const getListInboxesUrl: (params?: ListInboxesParams) => string;
|
|
8412
8696
|
declare const listInboxes: (params?: ListInboxesParams, options?: RequestInit) => Promise<InboxList>;
|
|
8413
8697
|
declare const getListInboxesKey: (params?: ListInboxesParams) => readonly ["/v1/inboxes", ...ListInboxesParams[]];
|
|
8414
|
-
type ListInboxesQueryResult = NonNullable<Awaited$
|
|
8698
|
+
type ListInboxesQueryResult = NonNullable<Awaited$b<ReturnType<typeof listInboxes>>>;
|
|
8415
8699
|
/**
|
|
8416
8700
|
* @summary List inboxes
|
|
8417
8701
|
*/
|
|
8418
8702
|
declare const useListInboxes: <TError = ErrorType<ErrorResponse>>(params?: ListInboxesParams, options?: {
|
|
8419
|
-
swr?: SWRConfiguration<Awaited$
|
|
8703
|
+
swr?: SWRConfiguration<Awaited$b<ReturnType<typeof listInboxes>>, TError> & {
|
|
8420
8704
|
swrKey?: Key;
|
|
8421
8705
|
enabled?: boolean;
|
|
8422
8706
|
};
|
|
8423
|
-
request?: SecondParameter$
|
|
8707
|
+
request?: SecondParameter$b<typeof customFetch>;
|
|
8424
8708
|
}) => {
|
|
8425
8709
|
data: InboxList | undefined;
|
|
8426
8710
|
error: TError | undefined;
|
|
@@ -8438,19 +8722,19 @@ For compatibility this endpoint is also available using the following (deprecate
|
|
|
8438
8722
|
*/
|
|
8439
8723
|
declare const getUpdateInboxUrl: (inboxId: string) => string;
|
|
8440
8724
|
declare const updateInbox: (inboxId: string, updateInboxBody: UpdateInboxBody, options?: RequestInit) => Promise<Inbox>;
|
|
8441
|
-
declare const getUpdateInboxMutationFetcher: (inboxId: string, options?: SecondParameter$
|
|
8725
|
+
declare const getUpdateInboxMutationFetcher: (inboxId: string, options?: SecondParameter$b<typeof customFetch>) => (_: Key, { arg }: {
|
|
8442
8726
|
arg: UpdateInboxBody;
|
|
8443
8727
|
}) => Promise<Inbox>;
|
|
8444
8728
|
declare const getUpdateInboxMutationKey: (inboxId: string) => readonly [`/v1/inboxes/${string}`];
|
|
8445
|
-
type UpdateInboxMutationResult = NonNullable<Awaited$
|
|
8729
|
+
type UpdateInboxMutationResult = NonNullable<Awaited$b<ReturnType<typeof updateInbox>>>;
|
|
8446
8730
|
/**
|
|
8447
8731
|
* @summary Update inbox
|
|
8448
8732
|
*/
|
|
8449
8733
|
declare const useUpdateInbox: <TError = ErrorType<ErrorResponse>>(inboxId: string, options?: {
|
|
8450
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
8734
|
+
swr?: SWRMutationConfiguration<Awaited$b<ReturnType<typeof updateInbox>>, TError, Key, UpdateInboxBody, Awaited$b<ReturnType<typeof updateInbox>>> & {
|
|
8451
8735
|
swrKey?: string;
|
|
8452
8736
|
};
|
|
8453
|
-
request?: SecondParameter$
|
|
8737
|
+
request?: SecondParameter$b<typeof customFetch>;
|
|
8454
8738
|
}) => {
|
|
8455
8739
|
isMutating: boolean;
|
|
8456
8740
|
trigger: swr_mutation.TriggerWithArgs<Inbox, TError, string | readonly [`/v1/inboxes/${string}`], UpdateInboxBody>;
|
|
@@ -8465,19 +8749,19 @@ declare const useUpdateInbox: <TError = ErrorType<ErrorResponse>>(inboxId: strin
|
|
|
8465
8749
|
*/
|
|
8466
8750
|
declare const getDeleteInboxUrl: (inboxId: string) => string;
|
|
8467
8751
|
declare const deleteInbox: (inboxId: string, options?: RequestInit) => Promise<DeleteInboxResponse>;
|
|
8468
|
-
declare const getDeleteInboxMutationFetcher: (inboxId: string, options?: SecondParameter$
|
|
8752
|
+
declare const getDeleteInboxMutationFetcher: (inboxId: string, options?: SecondParameter$b<typeof customFetch>) => (_: Key, __: {
|
|
8469
8753
|
arg: Arguments;
|
|
8470
8754
|
}) => Promise<DeleteInboxResponse>;
|
|
8471
8755
|
declare const getDeleteInboxMutationKey: (inboxId: string) => readonly [`/v1/inboxes/${string}`];
|
|
8472
|
-
type DeleteInboxMutationResult = NonNullable<Awaited$
|
|
8756
|
+
type DeleteInboxMutationResult = NonNullable<Awaited$b<ReturnType<typeof deleteInbox>>>;
|
|
8473
8757
|
/**
|
|
8474
8758
|
* @summary Delete inbox
|
|
8475
8759
|
*/
|
|
8476
8760
|
declare const useDeleteInbox: <TError = ErrorType<ErrorResponse>>(inboxId: string, options?: {
|
|
8477
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
8761
|
+
swr?: SWRMutationConfiguration<Awaited$b<ReturnType<typeof deleteInbox>>, TError, Key, Arguments, Awaited$b<ReturnType<typeof deleteInbox>>> & {
|
|
8478
8762
|
swrKey?: string;
|
|
8479
8763
|
};
|
|
8480
|
-
request?: SecondParameter$
|
|
8764
|
+
request?: SecondParameter$b<typeof customFetch>;
|
|
8481
8765
|
}) => {
|
|
8482
8766
|
isMutating: boolean;
|
|
8483
8767
|
trigger: swr_mutation.TriggerWithOptionsArgs<DeleteInboxResponse, TError, string | readonly [`/v1/inboxes/${string}`], Arguments>;
|
|
@@ -8487,9 +8771,9 @@ declare const useDeleteInbox: <TError = ErrorType<ErrorResponse>>(inboxId: strin
|
|
|
8487
8771
|
swrKey: string | readonly [`/v1/inboxes/${string}`];
|
|
8488
8772
|
};
|
|
8489
8773
|
|
|
8490
|
-
type AwaitedInput$
|
|
8491
|
-
type Awaited$
|
|
8492
|
-
type SecondParameter$
|
|
8774
|
+
type AwaitedInput$a<T> = PromiseLike<T> | T;
|
|
8775
|
+
type Awaited$a<O> = O extends AwaitedInput$a<infer T> ? T : never;
|
|
8776
|
+
type SecondParameter$a<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
8493
8777
|
/**
|
|
8494
8778
|
* Schedule a new outbound call job for a voice agent.
|
|
8495
8779
|
|
|
@@ -8509,19 +8793,19 @@ For compatibility this endpoint is also available using the following (deprecate
|
|
|
8509
8793
|
*/
|
|
8510
8794
|
declare const getScheduleJobUrl: (voiceAgentId: string) => string;
|
|
8511
8795
|
declare const scheduleJob: (voiceAgentId: string, scheduleJobBody: ScheduleJobBody, options?: RequestInit) => Promise<OutboundJob>;
|
|
8512
|
-
declare const getScheduleJobMutationFetcher: (voiceAgentId: string, options?: SecondParameter$
|
|
8796
|
+
declare const getScheduleJobMutationFetcher: (voiceAgentId: string, options?: SecondParameter$a<typeof customFetch>) => (_: Key, { arg }: {
|
|
8513
8797
|
arg: ScheduleJobBody;
|
|
8514
8798
|
}) => Promise<OutboundJob>;
|
|
8515
8799
|
declare const getScheduleJobMutationKey: (voiceAgentId: string) => readonly [`/v1/voice-agents/${string}/jobs`];
|
|
8516
|
-
type ScheduleJobMutationResult = NonNullable<Awaited$
|
|
8800
|
+
type ScheduleJobMutationResult = NonNullable<Awaited$a<ReturnType<typeof scheduleJob>>>;
|
|
8517
8801
|
/**
|
|
8518
8802
|
* @summary Schedule an outbound job
|
|
8519
8803
|
*/
|
|
8520
8804
|
declare const useScheduleJob: <TError = ErrorType<ErrorResponse>>(voiceAgentId: string, options?: {
|
|
8521
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
8805
|
+
swr?: SWRMutationConfiguration<Awaited$a<ReturnType<typeof scheduleJob>>, TError, Key, ScheduleJobBody, Awaited$a<ReturnType<typeof scheduleJob>>> & {
|
|
8522
8806
|
swrKey?: string;
|
|
8523
8807
|
};
|
|
8524
|
-
request?: SecondParameter$
|
|
8808
|
+
request?: SecondParameter$a<typeof customFetch>;
|
|
8525
8809
|
}) => {
|
|
8526
8810
|
isMutating: boolean;
|
|
8527
8811
|
trigger: swr_mutation.TriggerWithArgs<OutboundJob, TError, string | readonly [`/v1/voice-agents/${string}/jobs`], ScheduleJobBody>;
|
|
@@ -8545,16 +8829,16 @@ For compatibility this endpoint is also available using the following (deprecate
|
|
|
8545
8829
|
declare const getListJobsUrl: (params: ListJobsParams) => string;
|
|
8546
8830
|
declare const listJobs: (params: ListJobsParams, options?: RequestInit) => Promise<OutboundJobList>;
|
|
8547
8831
|
declare const getListJobsKey: (params: ListJobsParams) => readonly ["/v1/voice-agents/jobs", ...ListJobsParams[]];
|
|
8548
|
-
type ListJobsQueryResult = NonNullable<Awaited$
|
|
8832
|
+
type ListJobsQueryResult = NonNullable<Awaited$a<ReturnType<typeof listJobs>>>;
|
|
8549
8833
|
/**
|
|
8550
8834
|
* @summary List outbound jobs
|
|
8551
8835
|
*/
|
|
8552
8836
|
declare const useListJobs: <TError = ErrorType<ErrorResponse>>(params: ListJobsParams, options?: {
|
|
8553
|
-
swr?: SWRConfiguration<Awaited$
|
|
8837
|
+
swr?: SWRConfiguration<Awaited$a<ReturnType<typeof listJobs>>, TError> & {
|
|
8554
8838
|
swrKey?: Key;
|
|
8555
8839
|
enabled?: boolean;
|
|
8556
8840
|
};
|
|
8557
|
-
request?: SecondParameter$
|
|
8841
|
+
request?: SecondParameter$a<typeof customFetch>;
|
|
8558
8842
|
}) => {
|
|
8559
8843
|
data: OutboundJobList | undefined;
|
|
8560
8844
|
error: TError | undefined;
|
|
@@ -8572,19 +8856,19 @@ For compatibility this endpoint is also available using the following (deprecate
|
|
|
8572
8856
|
*/
|
|
8573
8857
|
declare const getCancelJobUrl: (jobId: string) => string;
|
|
8574
8858
|
declare const cancelJob: (jobId: string, options?: RequestInit) => Promise<OutboundJob>;
|
|
8575
|
-
declare const getCancelJobMutationFetcher: (jobId: string, options?: SecondParameter$
|
|
8859
|
+
declare const getCancelJobMutationFetcher: (jobId: string, options?: SecondParameter$a<typeof customFetch>) => (_: Key, __: {
|
|
8576
8860
|
arg: Arguments;
|
|
8577
8861
|
}) => Promise<OutboundJob>;
|
|
8578
8862
|
declare const getCancelJobMutationKey: (jobId: string) => readonly [`/v1/voice-agents/jobs/${string}/cancel`];
|
|
8579
|
-
type CancelJobMutationResult = NonNullable<Awaited$
|
|
8863
|
+
type CancelJobMutationResult = NonNullable<Awaited$a<ReturnType<typeof cancelJob>>>;
|
|
8580
8864
|
/**
|
|
8581
8865
|
* @summary Cancel an outbound job
|
|
8582
8866
|
*/
|
|
8583
8867
|
declare const useCancelJob: <TError = ErrorType<ErrorResponse>>(jobId: string, options?: {
|
|
8584
|
-
swr?: SWRMutationConfiguration<Awaited$
|
|
8868
|
+
swr?: SWRMutationConfiguration<Awaited$a<ReturnType<typeof cancelJob>>, TError, Key, Arguments, Awaited$a<ReturnType<typeof cancelJob>>> & {
|
|
8585
8869
|
swrKey?: string;
|
|
8586
8870
|
};
|
|
8587
|
-
request?: SecondParameter$
|
|
8871
|
+
request?: SecondParameter$a<typeof customFetch>;
|
|
8588
8872
|
}) => {
|
|
8589
8873
|
isMutating: boolean;
|
|
8590
8874
|
trigger: swr_mutation.TriggerWithOptionsArgs<OutboundJob, TError, string | readonly [`/v1/voice-agents/jobs/${string}/cancel`], Arguments>;
|
|
@@ -8594,9 +8878,9 @@ declare const useCancelJob: <TError = ErrorType<ErrorResponse>>(jobId: string, o
|
|
|
8594
8878
|
swrKey: string | readonly [`/v1/voice-agents/jobs/${string}/cancel`];
|
|
8595
8879
|
};
|
|
8596
8880
|
|
|
8597
|
-
type AwaitedInput$
|
|
8598
|
-
type Awaited$
|
|
8599
|
-
type SecondParameter$
|
|
8881
|
+
type AwaitedInput$9<T> = PromiseLike<T> | T;
|
|
8882
|
+
type Awaited$9<O> = O extends AwaitedInput$9<infer T> ? T : never;
|
|
8883
|
+
type SecondParameter$9<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
8600
8884
|
/**
|
|
8601
8885
|
* Retrieve the current user's profile information. This endpoint requires a user session and cannot be used with API Keys.
|
|
8602
8886
|
* @summary Get profile
|
|
@@ -8604,16 +8888,16 @@ type SecondParameter$8<T extends (...args: never) => unknown> = Parameters<T>[1]
|
|
|
8604
8888
|
declare const getGetProfileUrl: () => string;
|
|
8605
8889
|
declare const getProfile: (options?: RequestInit) => Promise<Profile>;
|
|
8606
8890
|
declare const getGetProfileKey: () => readonly ["/v1/profile"];
|
|
8607
|
-
type GetProfileQueryResult = NonNullable<Awaited$
|
|
8891
|
+
type GetProfileQueryResult = NonNullable<Awaited$9<ReturnType<typeof getProfile>>>;
|
|
8608
8892
|
/**
|
|
8609
8893
|
* @summary Get profile
|
|
8610
8894
|
*/
|
|
8611
8895
|
declare const useGetProfile: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
8612
|
-
swr?: SWRConfiguration<Awaited$
|
|
8896
|
+
swr?: SWRConfiguration<Awaited$9<ReturnType<typeof getProfile>>, TError> & {
|
|
8613
8897
|
swrKey?: Key;
|
|
8614
8898
|
enabled?: boolean;
|
|
8615
8899
|
};
|
|
8616
|
-
request?: SecondParameter$
|
|
8900
|
+
request?: SecondParameter$9<typeof customFetch>;
|
|
8617
8901
|
}) => {
|
|
8618
8902
|
data: Profile | undefined;
|
|
8619
8903
|
error: TError | undefined;
|
|
@@ -8623,6 +8907,147 @@ declare const useGetProfile: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
|
8623
8907
|
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => swr.Arguments);
|
|
8624
8908
|
};
|
|
8625
8909
|
|
|
8910
|
+
type AwaitedInput$8<T> = PromiseLike<T> | T;
|
|
8911
|
+
type Awaited$8<O> = O extends AwaitedInput$8<infer T> ? T : never;
|
|
8912
|
+
type SecondParameter$8<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
8913
|
+
/**
|
|
8914
|
+
* Create a schedule that repeatedly performs an action on a recurring rule.
|
|
8915
|
+
|
|
8916
|
+
`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.
|
|
8917
|
+
|
|
8918
|
+
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.
|
|
8919
|
+
|
|
8920
|
+
Requires the `schedules:write` permission.
|
|
8921
|
+
* @summary Create a schedule
|
|
8922
|
+
*/
|
|
8923
|
+
declare const getCreateScheduleUrl: () => string;
|
|
8924
|
+
declare const createSchedule: (createScheduleBody: CreateScheduleBody, options?: RequestInit) => Promise<Schedule>;
|
|
8925
|
+
declare const getCreateScheduleMutationFetcher: (options?: SecondParameter$8<typeof customFetch>) => (_: Key, { arg }: {
|
|
8926
|
+
arg: CreateScheduleBody;
|
|
8927
|
+
}) => Promise<Schedule>;
|
|
8928
|
+
declare const getCreateScheduleMutationKey: () => readonly ["/v1/schedules"];
|
|
8929
|
+
type CreateScheduleMutationResult = NonNullable<Awaited$8<ReturnType<typeof createSchedule>>>;
|
|
8930
|
+
/**
|
|
8931
|
+
* @summary Create a schedule
|
|
8932
|
+
*/
|
|
8933
|
+
declare const useCreateSchedule: <TError = ErrorType<ErrorResponse>>(options?: {
|
|
8934
|
+
swr?: SWRMutationConfiguration<Awaited$8<ReturnType<typeof createSchedule>>, TError, Key, CreateScheduleBody, Awaited$8<ReturnType<typeof createSchedule>>> & {
|
|
8935
|
+
swrKey?: string;
|
|
8936
|
+
};
|
|
8937
|
+
request?: SecondParameter$8<typeof customFetch>;
|
|
8938
|
+
}) => {
|
|
8939
|
+
isMutating: boolean;
|
|
8940
|
+
trigger: swr_mutation.TriggerWithArgs<Schedule, TError, string | readonly ["/v1/schedules"], CreateScheduleBody>;
|
|
8941
|
+
reset: () => void;
|
|
8942
|
+
data: Schedule | undefined;
|
|
8943
|
+
error: TError | undefined;
|
|
8944
|
+
swrKey: string | readonly ["/v1/schedules"];
|
|
8945
|
+
};
|
|
8946
|
+
/**
|
|
8947
|
+
* 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.
|
|
8948
|
+
* @summary List schedules
|
|
8949
|
+
*/
|
|
8950
|
+
declare const getListSchedulesUrl: (params?: ListSchedulesParams) => string;
|
|
8951
|
+
declare const listSchedules: (params?: ListSchedulesParams, options?: RequestInit) => Promise<ScheduleList>;
|
|
8952
|
+
declare const getListSchedulesKey: (params?: ListSchedulesParams) => readonly ["/v1/schedules", ...ListSchedulesParams[]];
|
|
8953
|
+
type ListSchedulesQueryResult = NonNullable<Awaited$8<ReturnType<typeof listSchedules>>>;
|
|
8954
|
+
/**
|
|
8955
|
+
* @summary List schedules
|
|
8956
|
+
*/
|
|
8957
|
+
declare const useListSchedules: <TError = ErrorType<ErrorResponse>>(params?: ListSchedulesParams, options?: {
|
|
8958
|
+
swr?: SWRConfiguration<Awaited$8<ReturnType<typeof listSchedules>>, TError> & {
|
|
8959
|
+
swrKey?: Key;
|
|
8960
|
+
enabled?: boolean;
|
|
8961
|
+
};
|
|
8962
|
+
request?: SecondParameter$8<typeof customFetch>;
|
|
8963
|
+
}) => {
|
|
8964
|
+
data: ScheduleList | undefined;
|
|
8965
|
+
error: TError | undefined;
|
|
8966
|
+
mutate: swr.KeyedMutator<ScheduleList>;
|
|
8967
|
+
isValidating: boolean;
|
|
8968
|
+
isLoading: swr__internal.IsLoadingResponse<Data, Config>;
|
|
8969
|
+
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => Arguments);
|
|
8970
|
+
};
|
|
8971
|
+
/**
|
|
8972
|
+
* Retrieve a single schedule.
|
|
8973
|
+
* @summary Get a schedule
|
|
8974
|
+
*/
|
|
8975
|
+
declare const getGetScheduleUrl: (scheduleId: string) => string;
|
|
8976
|
+
declare const getSchedule: (scheduleId: string, options?: RequestInit) => Promise<Schedule>;
|
|
8977
|
+
declare const getGetScheduleKey: (scheduleId: string) => readonly [`/v1/schedules/${string}`];
|
|
8978
|
+
type GetScheduleQueryResult = NonNullable<Awaited$8<ReturnType<typeof getSchedule>>>;
|
|
8979
|
+
/**
|
|
8980
|
+
* @summary Get a schedule
|
|
8981
|
+
*/
|
|
8982
|
+
declare const useGetSchedule: <TError = ErrorType<ErrorResponse>>(scheduleId: string, options?: {
|
|
8983
|
+
swr?: SWRConfiguration<Awaited$8<ReturnType<typeof getSchedule>>, TError> & {
|
|
8984
|
+
swrKey?: Key;
|
|
8985
|
+
enabled?: boolean;
|
|
8986
|
+
};
|
|
8987
|
+
request?: SecondParameter$8<typeof customFetch>;
|
|
8988
|
+
}) => {
|
|
8989
|
+
data: Schedule | undefined;
|
|
8990
|
+
error: TError | undefined;
|
|
8991
|
+
mutate: swr.KeyedMutator<Schedule>;
|
|
8992
|
+
isValidating: boolean;
|
|
8993
|
+
isLoading: swr__internal.IsLoadingResponse<Data, Config>;
|
|
8994
|
+
swrKey: string | false | readonly [any, ...unknown[]] | Record<any, any> | (() => Arguments);
|
|
8995
|
+
};
|
|
8996
|
+
/**
|
|
8997
|
+
* Update a schedule's rule, name, or enabled state.
|
|
8998
|
+
* @summary Update a schedule
|
|
8999
|
+
*/
|
|
9000
|
+
declare const getUpdateScheduleUrl: (scheduleId: string) => string;
|
|
9001
|
+
declare const updateSchedule: (scheduleId: string, updateScheduleBody: UpdateScheduleBody, options?: RequestInit) => Promise<Schedule>;
|
|
9002
|
+
declare const getUpdateScheduleMutationFetcher: (scheduleId: string, options?: SecondParameter$8<typeof customFetch>) => (_: Key, { arg }: {
|
|
9003
|
+
arg: UpdateScheduleBody;
|
|
9004
|
+
}) => Promise<Schedule>;
|
|
9005
|
+
declare const getUpdateScheduleMutationKey: (scheduleId: string) => readonly [`/v1/schedules/${string}`];
|
|
9006
|
+
type UpdateScheduleMutationResult = NonNullable<Awaited$8<ReturnType<typeof updateSchedule>>>;
|
|
9007
|
+
/**
|
|
9008
|
+
* @summary Update a schedule
|
|
9009
|
+
*/
|
|
9010
|
+
declare const useUpdateSchedule: <TError = ErrorType<ErrorResponse>>(scheduleId: string, options?: {
|
|
9011
|
+
swr?: SWRMutationConfiguration<Awaited$8<ReturnType<typeof updateSchedule>>, TError, Key, UpdateScheduleBody, Awaited$8<ReturnType<typeof updateSchedule>>> & {
|
|
9012
|
+
swrKey?: string;
|
|
9013
|
+
};
|
|
9014
|
+
request?: SecondParameter$8<typeof customFetch>;
|
|
9015
|
+
}) => {
|
|
9016
|
+
isMutating: boolean;
|
|
9017
|
+
trigger: swr_mutation.TriggerWithArgs<Schedule, TError, string | readonly [`/v1/schedules/${string}`], UpdateScheduleBody>;
|
|
9018
|
+
reset: () => void;
|
|
9019
|
+
data: Schedule | undefined;
|
|
9020
|
+
error: TError | undefined;
|
|
9021
|
+
swrKey: string | readonly [`/v1/schedules/${string}`];
|
|
9022
|
+
};
|
|
9023
|
+
/**
|
|
9024
|
+
* Delete a schedule so it stops firing.
|
|
9025
|
+
* @summary Delete a schedule
|
|
9026
|
+
*/
|
|
9027
|
+
declare const getDeleteScheduleUrl: (scheduleId: string) => string;
|
|
9028
|
+
declare const deleteSchedule: (scheduleId: string, options?: RequestInit) => Promise<DeleteScheduleResponse>;
|
|
9029
|
+
declare const getDeleteScheduleMutationFetcher: (scheduleId: string, options?: SecondParameter$8<typeof customFetch>) => (_: Key, __: {
|
|
9030
|
+
arg: Arguments;
|
|
9031
|
+
}) => Promise<DeleteScheduleResponse>;
|
|
9032
|
+
declare const getDeleteScheduleMutationKey: (scheduleId: string) => readonly [`/v1/schedules/${string}`];
|
|
9033
|
+
type DeleteScheduleMutationResult = NonNullable<Awaited$8<ReturnType<typeof deleteSchedule>>>;
|
|
9034
|
+
/**
|
|
9035
|
+
* @summary Delete a schedule
|
|
9036
|
+
*/
|
|
9037
|
+
declare const useDeleteSchedule: <TError = ErrorType<ErrorResponse>>(scheduleId: string, options?: {
|
|
9038
|
+
swr?: SWRMutationConfiguration<Awaited$8<ReturnType<typeof deleteSchedule>>, TError, Key, Arguments, Awaited$8<ReturnType<typeof deleteSchedule>>> & {
|
|
9039
|
+
swrKey?: string;
|
|
9040
|
+
};
|
|
9041
|
+
request?: SecondParameter$8<typeof customFetch>;
|
|
9042
|
+
}) => {
|
|
9043
|
+
isMutating: boolean;
|
|
9044
|
+
trigger: swr_mutation.TriggerWithOptionsArgs<DeleteScheduleResponse, TError, string | readonly [`/v1/schedules/${string}`], Arguments>;
|
|
9045
|
+
reset: () => void;
|
|
9046
|
+
data: DeleteScheduleResponse | undefined;
|
|
9047
|
+
error: TError | undefined;
|
|
9048
|
+
swrKey: string | readonly [`/v1/schedules/${string}`];
|
|
9049
|
+
};
|
|
9050
|
+
|
|
8626
9051
|
type AwaitedInput$7<T> = PromiseLike<T> | T;
|
|
8627
9052
|
type Awaited$7<O> = O extends AwaitedInput$7<infer T> ? T : never;
|
|
8628
9053
|
type SecondParameter$7<T extends (...args: never) => unknown> = Parameters<T>[1];
|
|
@@ -10425,4 +10850,4 @@ declare const useUpdateWorkerMcps: <TError = ErrorType<ErrorResponse>>(workerId:
|
|
|
10425
10850
|
swrKey: string | readonly [`/v1/workers/${string}/mcps`];
|
|
10426
10851
|
};
|
|
10427
10852
|
|
|
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 };
|
|
10853
|
+
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 DeleteScheduleMutationResult, type DeleteScheduleResponse, 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 GetScheduleQueryResult, 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 UpdateScheduleBody, type UpdateScheduleMutationResult, 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, deleteSchedule, 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, getDeleteScheduleMutationFetcher, getDeleteScheduleMutationKey, getDeleteScheduleUrl, 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, getGetScheduleKey, getGetScheduleUrl, 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, getSchedule, 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, getUpdateScheduleMutationFetcher, getUpdateScheduleMutationKey, getUpdateScheduleUrl, 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, updateSchedule, 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, useDeleteSchedule, 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, useGetSchedule, 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, useUpdateSchedule, useUpdateSecret, useUpdateTool, useUpdateVoiceAgent, useUpdateVoiceAgentModels, useUpdateVoiceAgentPrompt, useUpdateWorker, useUpdateWorkerMcps, useUpdateWorkerPrompt, useUpdateWorkerRunScope, useUploadFile, useWorkerExecuteTool, useWorkerGetTool, useWorkerListTools, workerExecuteTool, workerGetTool, workerListTools };
|