@gpt-platform/client 0.10.1 → 0.10.3
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.mts +763 -49
- package/dist/index.d.ts +763 -49
- package/dist/index.js +228 -60
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +227 -60
- package/dist/index.mjs.map +1 -1
- package/llms.txt +6 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -606,7 +606,7 @@ declare class BrowserApiKeyError extends Error {
|
|
|
606
606
|
}
|
|
607
607
|
|
|
608
608
|
/** SDK version — updated automatically by mix update.sdks */
|
|
609
|
-
declare const SDK_VERSION = "0.10.
|
|
609
|
+
declare const SDK_VERSION = "0.10.3";
|
|
610
610
|
/** Default API version sent in every request — updated automatically by mix update.sdks */
|
|
611
611
|
declare const DEFAULT_API_VERSION = "2026-03-23";
|
|
612
612
|
|
|
@@ -5381,6 +5381,10 @@ type ClinicalClientSupplement = {
|
|
|
5381
5381
|
* Field included by default.
|
|
5382
5382
|
*/
|
|
5383
5383
|
fullscript_product_id?: string | null | unknown;
|
|
5384
|
+
/**
|
|
5385
|
+
* Field included by default.
|
|
5386
|
+
*/
|
|
5387
|
+
fullscript_treatment_plan_id?: string | null | unknown;
|
|
5384
5388
|
/**
|
|
5385
5389
|
* Field included by default.
|
|
5386
5390
|
*/
|
|
@@ -5412,6 +5416,18 @@ type ClinicalClientSupplement = {
|
|
|
5412
5416
|
* Field included by default.
|
|
5413
5417
|
*/
|
|
5414
5418
|
rationale_client?: string | null | unknown;
|
|
5419
|
+
/**
|
|
5420
|
+
* Field included by default.
|
|
5421
|
+
*/
|
|
5422
|
+
rationale_clinical?: string | null | unknown;
|
|
5423
|
+
/**
|
|
5424
|
+
* Field included by default.
|
|
5425
|
+
*/
|
|
5426
|
+
route?: string | null | unknown;
|
|
5427
|
+
/**
|
|
5428
|
+
* Field included by default.
|
|
5429
|
+
*/
|
|
5430
|
+
source?: string | null | unknown;
|
|
5415
5431
|
/**
|
|
5416
5432
|
* Field included by default.
|
|
5417
5433
|
*/
|
|
@@ -6692,7 +6708,7 @@ type ClinicalSession = {
|
|
|
6692
6708
|
/**
|
|
6693
6709
|
* Field included by default.
|
|
6694
6710
|
*/
|
|
6695
|
-
session_type: "initial" | "followup" | "discharge" | "emergency" | "group";
|
|
6711
|
+
session_type: "initial" | "followup" | "discharge" | "emergency" | "group" | "phone_encounter" | "coordination" | "administrative";
|
|
6696
6712
|
};
|
|
6697
6713
|
id: string;
|
|
6698
6714
|
/**
|
|
@@ -6890,6 +6906,10 @@ type ClinicalMealPlan = {
|
|
|
6890
6906
|
* Field included by default.
|
|
6891
6907
|
*/
|
|
6892
6908
|
parent_plan_id?: string | null | unknown;
|
|
6909
|
+
/**
|
|
6910
|
+
* Field included by default.
|
|
6911
|
+
*/
|
|
6912
|
+
patient_id?: string | null | unknown;
|
|
6893
6913
|
/**
|
|
6894
6914
|
* Field included by default.
|
|
6895
6915
|
*/
|
|
@@ -7387,6 +7407,30 @@ type ClinicalPatient = {
|
|
|
7387
7407
|
type: string;
|
|
7388
7408
|
}>;
|
|
7389
7409
|
};
|
|
7410
|
+
meal_plans?: {
|
|
7411
|
+
/**
|
|
7412
|
+
* Relationship data for meal_plans
|
|
7413
|
+
*/
|
|
7414
|
+
data?: Array<{
|
|
7415
|
+
id: string;
|
|
7416
|
+
meta?: {
|
|
7417
|
+
[key: string]: unknown;
|
|
7418
|
+
};
|
|
7419
|
+
type: string;
|
|
7420
|
+
}>;
|
|
7421
|
+
};
|
|
7422
|
+
notes?: {
|
|
7423
|
+
/**
|
|
7424
|
+
* Relationship data for notes
|
|
7425
|
+
*/
|
|
7426
|
+
data?: Array<{
|
|
7427
|
+
id: string;
|
|
7428
|
+
meta?: {
|
|
7429
|
+
[key: string]: unknown;
|
|
7430
|
+
};
|
|
7431
|
+
type: string;
|
|
7432
|
+
}>;
|
|
7433
|
+
};
|
|
7390
7434
|
resource_assignments?: {
|
|
7391
7435
|
/**
|
|
7392
7436
|
* Relationship data for resource_assignments
|
|
@@ -8537,6 +8581,12 @@ type ClinicalSupplementRecCache = {
|
|
|
8537
8581
|
* Field included by default.
|
|
8538
8582
|
*/
|
|
8539
8583
|
pipeline_execution_id?: string | null | unknown;
|
|
8584
|
+
/**
|
|
8585
|
+
* Field included by default.
|
|
8586
|
+
*/
|
|
8587
|
+
recommendations?: {
|
|
8588
|
+
[key: string]: unknown;
|
|
8589
|
+
} | null | unknown;
|
|
8540
8590
|
/**
|
|
8541
8591
|
* Field included by default.
|
|
8542
8592
|
*/
|
|
@@ -10674,6 +10724,10 @@ type ClinicalNote = {
|
|
|
10674
10724
|
* An attributes object for a clinical-note
|
|
10675
10725
|
*/
|
|
10676
10726
|
attributes?: {
|
|
10727
|
+
/**
|
|
10728
|
+
* Field included by default.
|
|
10729
|
+
*/
|
|
10730
|
+
amends_note_id?: string | null | unknown;
|
|
10677
10731
|
is_archived?: boolean | null | unknown;
|
|
10678
10732
|
/**
|
|
10679
10733
|
* Field included by default.
|
|
@@ -10684,7 +10738,11 @@ type ClinicalNote = {
|
|
|
10684
10738
|
/**
|
|
10685
10739
|
* Field included by default.
|
|
10686
10740
|
*/
|
|
10687
|
-
note_type: "adime" | "soap" | "progress" | "discharge";
|
|
10741
|
+
note_type: "adime" | "soap" | "progress" | "discharge" | "addendum";
|
|
10742
|
+
/**
|
|
10743
|
+
* Field included by default.
|
|
10744
|
+
*/
|
|
10745
|
+
patient_id: string;
|
|
10688
10746
|
/**
|
|
10689
10747
|
* Field included by default.
|
|
10690
10748
|
*/
|
|
@@ -12222,16 +12280,132 @@ declare function createModelsNamespace(rb: RequestBuilder): {
|
|
|
12222
12280
|
get(modelId: string, reqOptions?: RequestOptions): Promise<ModelInfo>;
|
|
12223
12281
|
};
|
|
12224
12282
|
|
|
12225
|
-
|
|
12226
|
-
|
|
12227
|
-
|
|
12228
|
-
type
|
|
12229
|
-
|
|
12230
|
-
|
|
12231
|
-
|
|
12232
|
-
|
|
12233
|
-
|
|
12234
|
-
|
|
12283
|
+
/** @public A project record. */
|
|
12284
|
+
interface Project {
|
|
12285
|
+
id: string;
|
|
12286
|
+
type: string;
|
|
12287
|
+
attributes?: {
|
|
12288
|
+
name?: string;
|
|
12289
|
+
description?: string;
|
|
12290
|
+
status?: string;
|
|
12291
|
+
workspace_id?: string;
|
|
12292
|
+
template_id?: string;
|
|
12293
|
+
archived_at?: string | null;
|
|
12294
|
+
inserted_at?: string;
|
|
12295
|
+
updated_at?: string;
|
|
12296
|
+
[key: string]: unknown;
|
|
12297
|
+
};
|
|
12298
|
+
}
|
|
12299
|
+
/** @public A project milestone record. */
|
|
12300
|
+
interface Milestone {
|
|
12301
|
+
id: string;
|
|
12302
|
+
type: string;
|
|
12303
|
+
attributes?: {
|
|
12304
|
+
name?: string;
|
|
12305
|
+
description?: string;
|
|
12306
|
+
due_date?: string | null;
|
|
12307
|
+
project_id?: string;
|
|
12308
|
+
inserted_at?: string;
|
|
12309
|
+
updated_at?: string;
|
|
12310
|
+
[key: string]: unknown;
|
|
12311
|
+
};
|
|
12312
|
+
}
|
|
12313
|
+
/** @public A project task record. */
|
|
12314
|
+
interface Task {
|
|
12315
|
+
id: string;
|
|
12316
|
+
type: string;
|
|
12317
|
+
attributes?: {
|
|
12318
|
+
name?: string;
|
|
12319
|
+
description?: string;
|
|
12320
|
+
status?: string;
|
|
12321
|
+
project_id?: string;
|
|
12322
|
+
milestone_id?: string | null;
|
|
12323
|
+
assignee_id?: string | null;
|
|
12324
|
+
inserted_at?: string;
|
|
12325
|
+
updated_at?: string;
|
|
12326
|
+
[key: string]: unknown;
|
|
12327
|
+
};
|
|
12328
|
+
}
|
|
12329
|
+
/** @public A project member record. */
|
|
12330
|
+
interface ProjectMember {
|
|
12331
|
+
id: string;
|
|
12332
|
+
type: string;
|
|
12333
|
+
attributes?: {
|
|
12334
|
+
user_id?: string;
|
|
12335
|
+
role?: string;
|
|
12336
|
+
inserted_at?: string;
|
|
12337
|
+
[key: string]: unknown;
|
|
12338
|
+
};
|
|
12339
|
+
}
|
|
12340
|
+
/** @public A project risk record. */
|
|
12341
|
+
interface ProjectRisk {
|
|
12342
|
+
id: string;
|
|
12343
|
+
type: string;
|
|
12344
|
+
attributes?: {
|
|
12345
|
+
title?: string;
|
|
12346
|
+
description?: string;
|
|
12347
|
+
severity?: string;
|
|
12348
|
+
status?: string;
|
|
12349
|
+
project_id?: string;
|
|
12350
|
+
[key: string]: unknown;
|
|
12351
|
+
};
|
|
12352
|
+
}
|
|
12353
|
+
/** @public A project activity log entry. */
|
|
12354
|
+
interface ProjectActivity {
|
|
12355
|
+
id: string;
|
|
12356
|
+
type: string;
|
|
12357
|
+
attributes?: {
|
|
12358
|
+
action?: string;
|
|
12359
|
+
actor_id?: string;
|
|
12360
|
+
project_id?: string;
|
|
12361
|
+
inserted_at?: string;
|
|
12362
|
+
[key: string]: unknown;
|
|
12363
|
+
};
|
|
12364
|
+
}
|
|
12365
|
+
/** @public A project status update record. */
|
|
12366
|
+
interface ProjectUpdate {
|
|
12367
|
+
id: string;
|
|
12368
|
+
type: string;
|
|
12369
|
+
attributes?: {
|
|
12370
|
+
body?: string;
|
|
12371
|
+
author_id?: string;
|
|
12372
|
+
project_id?: string;
|
|
12373
|
+
inserted_at?: string;
|
|
12374
|
+
[key: string]: unknown;
|
|
12375
|
+
};
|
|
12376
|
+
}
|
|
12377
|
+
/** @public A project template record. */
|
|
12378
|
+
interface ProjectTemplate {
|
|
12379
|
+
id: string;
|
|
12380
|
+
type: string;
|
|
12381
|
+
attributes?: {
|
|
12382
|
+
name?: string;
|
|
12383
|
+
description?: string;
|
|
12384
|
+
[key: string]: unknown;
|
|
12385
|
+
};
|
|
12386
|
+
}
|
|
12387
|
+
/** @public A time entry record. */
|
|
12388
|
+
interface TimeEntry {
|
|
12389
|
+
id: string;
|
|
12390
|
+
type: string;
|
|
12391
|
+
attributes?: {
|
|
12392
|
+
task_id?: string;
|
|
12393
|
+
hours?: number;
|
|
12394
|
+
description?: string;
|
|
12395
|
+
logged_at?: string;
|
|
12396
|
+
[key: string]: unknown;
|
|
12397
|
+
};
|
|
12398
|
+
}
|
|
12399
|
+
/** @public A task label record. */
|
|
12400
|
+
interface TaskLabel {
|
|
12401
|
+
id: string;
|
|
12402
|
+
type: string;
|
|
12403
|
+
attributes?: {
|
|
12404
|
+
name?: string;
|
|
12405
|
+
color?: string;
|
|
12406
|
+
[key: string]: unknown;
|
|
12407
|
+
};
|
|
12408
|
+
}
|
|
12235
12409
|
|
|
12236
12410
|
/** @public Input for creating a project. */
|
|
12237
12411
|
interface CreateProjectInput {
|
|
@@ -12275,6 +12449,10 @@ interface AddMemberInput {
|
|
|
12275
12449
|
user_id: string;
|
|
12276
12450
|
role?: string;
|
|
12277
12451
|
}
|
|
12452
|
+
/** @public Input for updating a project member's role. */
|
|
12453
|
+
interface UpdateMemberInput {
|
|
12454
|
+
role: string;
|
|
12455
|
+
}
|
|
12278
12456
|
/** @public Input for creating a task label. */
|
|
12279
12457
|
interface CreateLabelInput {
|
|
12280
12458
|
name: string;
|
|
@@ -12304,6 +12482,356 @@ interface CompletionEstimate {
|
|
|
12304
12482
|
confidence: number;
|
|
12305
12483
|
blockers: string[];
|
|
12306
12484
|
}
|
|
12485
|
+
/** @public Parameters for listing projects. */
|
|
12486
|
+
interface ListProjectsParams {
|
|
12487
|
+
/** Filter by project status (e.g., "active", "archived"). */
|
|
12488
|
+
status?: string;
|
|
12489
|
+
/** Sort field (e.g., "name", "-inserted_at"). */
|
|
12490
|
+
sort?: string;
|
|
12491
|
+
/** Page number (1-based). */
|
|
12492
|
+
page?: number;
|
|
12493
|
+
/** Number of results per page. */
|
|
12494
|
+
page_size?: number;
|
|
12495
|
+
}
|
|
12496
|
+
/** @public Type of the projects namespace returned by createProjectsNamespace. */
|
|
12497
|
+
type ProjectsNamespace = ReturnType<typeof createProjectsNamespace>;
|
|
12498
|
+
/**
|
|
12499
|
+
* Projects namespace — project management, milestones, tasks, time tracking, risks, and AI.
|
|
12500
|
+
*
|
|
12501
|
+
* @param rb - The request builder used for API communication.
|
|
12502
|
+
* @returns Projects namespace with sub-namespaces for projects, milestones, tasks, timeEntries,
|
|
12503
|
+
* members, risks, activity, updates, ai, templates, labels, and tags.
|
|
12504
|
+
*
|
|
12505
|
+
* @example
|
|
12506
|
+
* ```typescript
|
|
12507
|
+
* const client = new GptClient({ apiKey: 'sk_app_...' });
|
|
12508
|
+
*
|
|
12509
|
+
* // List active projects
|
|
12510
|
+
* const projects = await client.projects.list();
|
|
12511
|
+
*
|
|
12512
|
+
* // Create a project
|
|
12513
|
+
* const project = await client.projects.create({
|
|
12514
|
+
* name: 'Q2 Launch',
|
|
12515
|
+
* workspace_id: 'ws-uuid',
|
|
12516
|
+
* });
|
|
12517
|
+
*
|
|
12518
|
+
* // Add a task
|
|
12519
|
+
* const task = await client.projects.tasks.create({
|
|
12520
|
+
* name: 'Design review',
|
|
12521
|
+
* project_id: project.id,
|
|
12522
|
+
* });
|
|
12523
|
+
*
|
|
12524
|
+
* // Log time
|
|
12525
|
+
* await client.projects.timeEntries.create({
|
|
12526
|
+
* task_id: task.id,
|
|
12527
|
+
* hours: 2.5,
|
|
12528
|
+
* });
|
|
12529
|
+
* ```
|
|
12530
|
+
*/
|
|
12531
|
+
declare function createProjectsNamespace(rb: RequestBuilder): {
|
|
12532
|
+
/**
|
|
12533
|
+
* List projects in the current workspace.
|
|
12534
|
+
*
|
|
12535
|
+
* @param params - Optional filter parameters.
|
|
12536
|
+
* @param options - Optional request options.
|
|
12537
|
+
* @returns Array of Project records.
|
|
12538
|
+
*
|
|
12539
|
+
* @example
|
|
12540
|
+
* ```typescript
|
|
12541
|
+
* const projects = await client.projects.list({ status: 'active' });
|
|
12542
|
+
* ```
|
|
12543
|
+
*/
|
|
12544
|
+
list(params?: ListProjectsParams, options?: RequestOptions): Promise<Project[]>;
|
|
12545
|
+
/**
|
|
12546
|
+
* Get a project by ID.
|
|
12547
|
+
*
|
|
12548
|
+
* @param id - The project UUID.
|
|
12549
|
+
* @param options - Optional request options.
|
|
12550
|
+
* @returns The Project record.
|
|
12551
|
+
*
|
|
12552
|
+
* @example
|
|
12553
|
+
* ```typescript
|
|
12554
|
+
* const project = await client.projects.get('project-uuid');
|
|
12555
|
+
* ```
|
|
12556
|
+
*/
|
|
12557
|
+
get(id: string, options?: RequestOptions): Promise<Project>;
|
|
12558
|
+
/**
|
|
12559
|
+
* Create a new project.
|
|
12560
|
+
*
|
|
12561
|
+
* @param data - Project creation input.
|
|
12562
|
+
* @param options - Optional request options.
|
|
12563
|
+
* @returns The created Project.
|
|
12564
|
+
*
|
|
12565
|
+
* @example
|
|
12566
|
+
* ```typescript
|
|
12567
|
+
* const project = await client.projects.create({
|
|
12568
|
+
* name: 'Q2 Launch',
|
|
12569
|
+
* workspace_id: 'ws-uuid',
|
|
12570
|
+
* });
|
|
12571
|
+
* ```
|
|
12572
|
+
*/
|
|
12573
|
+
create(data: CreateProjectInput, options?: RequestOptions): Promise<Project>;
|
|
12574
|
+
/**
|
|
12575
|
+
* Update a project.
|
|
12576
|
+
*
|
|
12577
|
+
* @param id - The project UUID.
|
|
12578
|
+
* @param data - Update input.
|
|
12579
|
+
* @param options - Optional request options.
|
|
12580
|
+
* @returns The updated Project.
|
|
12581
|
+
*/
|
|
12582
|
+
update(id: string, data: UpdateProjectInput, options?: RequestOptions): Promise<Project>;
|
|
12583
|
+
/**
|
|
12584
|
+
* Archive a project (soft delete).
|
|
12585
|
+
*
|
|
12586
|
+
* @param id - The project UUID.
|
|
12587
|
+
* @param options - Optional request options.
|
|
12588
|
+
*/
|
|
12589
|
+
archive(id: string, options?: RequestOptions): Promise<void>;
|
|
12590
|
+
/**
|
|
12591
|
+
* Milestone management sub-namespace.
|
|
12592
|
+
*/
|
|
12593
|
+
milestones: {
|
|
12594
|
+
/**
|
|
12595
|
+
* List milestones for a project.
|
|
12596
|
+
*
|
|
12597
|
+
* @param projectId - The project UUID.
|
|
12598
|
+
* @param options - Optional request options.
|
|
12599
|
+
* @returns Array of Milestone records.
|
|
12600
|
+
*/
|
|
12601
|
+
list(projectId: string, options?: RequestOptions): Promise<Milestone[]>;
|
|
12602
|
+
/**
|
|
12603
|
+
* Create a milestone in a project.
|
|
12604
|
+
*
|
|
12605
|
+
* @param projectId - The project UUID.
|
|
12606
|
+
* @param data - Milestone creation input.
|
|
12607
|
+
* @param options - Optional request options.
|
|
12608
|
+
* @returns The created Milestone.
|
|
12609
|
+
*
|
|
12610
|
+
* @example
|
|
12611
|
+
* ```typescript
|
|
12612
|
+
* const milestone = await client.projects.milestones.create('proj-uuid', {
|
|
12613
|
+
* name: 'MVP Release',
|
|
12614
|
+
* project_id: 'proj-uuid',
|
|
12615
|
+
* });
|
|
12616
|
+
* ```
|
|
12617
|
+
*/
|
|
12618
|
+
create(projectId: string, data: CreateMilestoneInput, options?: RequestOptions): Promise<Milestone>;
|
|
12619
|
+
};
|
|
12620
|
+
/**
|
|
12621
|
+
* Task management sub-namespace.
|
|
12622
|
+
*/
|
|
12623
|
+
tasks: {
|
|
12624
|
+
/**
|
|
12625
|
+
* List tasks in a project.
|
|
12626
|
+
*
|
|
12627
|
+
* @param projectId - The project UUID.
|
|
12628
|
+
* @param options - Optional request options.
|
|
12629
|
+
* @returns Array of Task records.
|
|
12630
|
+
*/
|
|
12631
|
+
list(projectId: string, options?: RequestOptions): Promise<Task[]>;
|
|
12632
|
+
/**
|
|
12633
|
+
* Create a task in a project.
|
|
12634
|
+
*
|
|
12635
|
+
* @param data - Task creation input.
|
|
12636
|
+
* @param options - Optional request options.
|
|
12637
|
+
* @returns The created Task.
|
|
12638
|
+
*
|
|
12639
|
+
* @example
|
|
12640
|
+
* ```typescript
|
|
12641
|
+
* const task = await client.projects.tasks.create({
|
|
12642
|
+
* name: 'Design review',
|
|
12643
|
+
* project_id: 'proj-uuid',
|
|
12644
|
+
* });
|
|
12645
|
+
* ```
|
|
12646
|
+
*/
|
|
12647
|
+
create(data: CreateTaskInput, options?: RequestOptions): Promise<Task>;
|
|
12648
|
+
/**
|
|
12649
|
+
* Get AI-suggested assignees for a task.
|
|
12650
|
+
*
|
|
12651
|
+
* @param taskId - The task UUID.
|
|
12652
|
+
* @param options - Optional request options.
|
|
12653
|
+
* @returns Array of AssigneeSuggestion records.
|
|
12654
|
+
*/
|
|
12655
|
+
suggestAssignee(taskId: string, options?: RequestOptions): Promise<AssigneeSuggestion[]>;
|
|
12656
|
+
};
|
|
12657
|
+
/**
|
|
12658
|
+
* Time entry management sub-namespace.
|
|
12659
|
+
*/
|
|
12660
|
+
timeEntries: {
|
|
12661
|
+
/**
|
|
12662
|
+
* List time entries for a project.
|
|
12663
|
+
*
|
|
12664
|
+
* @param projectId - The project UUID.
|
|
12665
|
+
* @param options - Optional request options.
|
|
12666
|
+
* @returns Array of TimeEntry records.
|
|
12667
|
+
*/
|
|
12668
|
+
list(projectId: string, options?: RequestOptions): Promise<TimeEntry[]>;
|
|
12669
|
+
/**
|
|
12670
|
+
* Log a time entry.
|
|
12671
|
+
*
|
|
12672
|
+
* @param data - Time entry creation input.
|
|
12673
|
+
* @param options - Optional request options.
|
|
12674
|
+
* @returns The created TimeEntry.
|
|
12675
|
+
*
|
|
12676
|
+
* @example
|
|
12677
|
+
* ```typescript
|
|
12678
|
+
* await client.projects.timeEntries.create({
|
|
12679
|
+
* task_id: 'task-uuid',
|
|
12680
|
+
* hours: 2.5,
|
|
12681
|
+
* });
|
|
12682
|
+
* ```
|
|
12683
|
+
*/
|
|
12684
|
+
create(data: CreateTimeEntryInput, options?: RequestOptions): Promise<TimeEntry>;
|
|
12685
|
+
};
|
|
12686
|
+
/**
|
|
12687
|
+
* Project member management sub-namespace.
|
|
12688
|
+
*/
|
|
12689
|
+
members: {
|
|
12690
|
+
/**
|
|
12691
|
+
* List members of a project.
|
|
12692
|
+
*
|
|
12693
|
+
* @param projectId - The project UUID.
|
|
12694
|
+
* @param options - Optional request options.
|
|
12695
|
+
* @returns Array of ProjectMember records.
|
|
12696
|
+
*/
|
|
12697
|
+
list(projectId: string, options?: RequestOptions): Promise<ProjectMember[]>;
|
|
12698
|
+
/**
|
|
12699
|
+
* Add a member to a project.
|
|
12700
|
+
*
|
|
12701
|
+
* @param projectId - The project UUID.
|
|
12702
|
+
* @param data - Member addition input.
|
|
12703
|
+
* @param options - Optional request options.
|
|
12704
|
+
* @returns The created ProjectMember.
|
|
12705
|
+
*/
|
|
12706
|
+
add(projectId: string, data: AddMemberInput, options?: RequestOptions): Promise<ProjectMember>;
|
|
12707
|
+
/**
|
|
12708
|
+
* Remove a member from a project.
|
|
12709
|
+
*
|
|
12710
|
+
* @param projectId - The project UUID.
|
|
12711
|
+
* @param memberId - The member UUID.
|
|
12712
|
+
* @param options - Optional request options.
|
|
12713
|
+
*/
|
|
12714
|
+
remove(projectId: string, memberId: string, options?: RequestOptions): Promise<void>;
|
|
12715
|
+
};
|
|
12716
|
+
/**
|
|
12717
|
+
* Risk management sub-namespace.
|
|
12718
|
+
*/
|
|
12719
|
+
risks: {
|
|
12720
|
+
/**
|
|
12721
|
+
* List risks for a project.
|
|
12722
|
+
*
|
|
12723
|
+
* @param projectId - The project UUID.
|
|
12724
|
+
* @param options - Optional request options.
|
|
12725
|
+
* @returns Array of ProjectRisk records.
|
|
12726
|
+
*/
|
|
12727
|
+
list(projectId: string, options?: RequestOptions): Promise<ProjectRisk[]>;
|
|
12728
|
+
};
|
|
12729
|
+
/**
|
|
12730
|
+
* Activity feed sub-namespace.
|
|
12731
|
+
*/
|
|
12732
|
+
activity: {
|
|
12733
|
+
/**
|
|
12734
|
+
* List activity records for a project (append-only log).
|
|
12735
|
+
*
|
|
12736
|
+
* @param projectId - The project UUID.
|
|
12737
|
+
* @param options - Optional request options.
|
|
12738
|
+
* @returns Array of ProjectActivity records.
|
|
12739
|
+
*/
|
|
12740
|
+
list(projectId: string, options?: RequestOptions): Promise<ProjectActivity[]>;
|
|
12741
|
+
};
|
|
12742
|
+
/**
|
|
12743
|
+
* Status update sub-namespace.
|
|
12744
|
+
*/
|
|
12745
|
+
updates: {
|
|
12746
|
+
/**
|
|
12747
|
+
* List status updates for a project.
|
|
12748
|
+
*
|
|
12749
|
+
* @param projectId - The project UUID.
|
|
12750
|
+
* @param options - Optional request options.
|
|
12751
|
+
* @returns Array of ProjectUpdate records.
|
|
12752
|
+
*/
|
|
12753
|
+
list(projectId: string, options?: RequestOptions): Promise<ProjectUpdate[]>;
|
|
12754
|
+
};
|
|
12755
|
+
/**
|
|
12756
|
+
* AI-powered project management sub-namespace.
|
|
12757
|
+
*/
|
|
12758
|
+
ai: {
|
|
12759
|
+
/**
|
|
12760
|
+
* Decompose a project goal into milestones and tasks using AI.
|
|
12761
|
+
*
|
|
12762
|
+
* @param projectId - The project UUID.
|
|
12763
|
+
* @param options - Optional request options.
|
|
12764
|
+
* @returns A DecomposedPlan with AI-generated structure.
|
|
12765
|
+
*
|
|
12766
|
+
* @example
|
|
12767
|
+
* ```typescript
|
|
12768
|
+
* const plan = await client.projects.ai.decompose('proj-uuid');
|
|
12769
|
+
* plan.milestones.forEach(m => console.log(m.name));
|
|
12770
|
+
* ```
|
|
12771
|
+
*/
|
|
12772
|
+
decompose(projectId: string, options?: RequestOptions): Promise<DecomposedPlan>;
|
|
12773
|
+
/**
|
|
12774
|
+
* Get AI-estimated completion date for a project.
|
|
12775
|
+
*
|
|
12776
|
+
* @param projectId - The project UUID.
|
|
12777
|
+
* @param options - Optional request options.
|
|
12778
|
+
* @returns CompletionEstimate with date, confidence, and blockers.
|
|
12779
|
+
*/
|
|
12780
|
+
estimateCompletion(projectId: string, options?: RequestOptions): Promise<CompletionEstimate>;
|
|
12781
|
+
/**
|
|
12782
|
+
* Get AI-generated summary for a project.
|
|
12783
|
+
*
|
|
12784
|
+
* @param projectId - The project UUID.
|
|
12785
|
+
* @param options - Optional request options.
|
|
12786
|
+
* @returns The project AI summary as a string.
|
|
12787
|
+
*/
|
|
12788
|
+
getSummary(projectId: string, options?: RequestOptions): Promise<string>;
|
|
12789
|
+
};
|
|
12790
|
+
/**
|
|
12791
|
+
* Template management sub-namespace (client surface — read-only).
|
|
12792
|
+
*/
|
|
12793
|
+
templates: {
|
|
12794
|
+
/**
|
|
12795
|
+
* List available project templates.
|
|
12796
|
+
*
|
|
12797
|
+
* @param options - Optional request options.
|
|
12798
|
+
* @returns Array of ProjectTemplate records.
|
|
12799
|
+
*/
|
|
12800
|
+
list(options?: RequestOptions): Promise<ProjectTemplate[]>;
|
|
12801
|
+
};
|
|
12802
|
+
/**
|
|
12803
|
+
* Task label management sub-namespace.
|
|
12804
|
+
*/
|
|
12805
|
+
labels: {
|
|
12806
|
+
/**
|
|
12807
|
+
* List task labels in the workspace.
|
|
12808
|
+
*
|
|
12809
|
+
* @param options - Optional request options.
|
|
12810
|
+
* @returns Array of TaskLabel records.
|
|
12811
|
+
*/
|
|
12812
|
+
list(options?: RequestOptions): Promise<TaskLabel[]>;
|
|
12813
|
+
/**
|
|
12814
|
+
* Create a task label.
|
|
12815
|
+
*
|
|
12816
|
+
* @param data - Label creation input.
|
|
12817
|
+
* @param options - Optional request options.
|
|
12818
|
+
* @returns The created TaskLabel.
|
|
12819
|
+
*/
|
|
12820
|
+
create(data: CreateLabelInput, options?: RequestOptions): Promise<TaskLabel>;
|
|
12821
|
+
};
|
|
12822
|
+
/**
|
|
12823
|
+
* Project tag management sub-namespace.
|
|
12824
|
+
*/
|
|
12825
|
+
tags: {
|
|
12826
|
+
/**
|
|
12827
|
+
* List project tags in the workspace.
|
|
12828
|
+
*
|
|
12829
|
+
* @param options - Optional request options.
|
|
12830
|
+
* @returns Array of tag records.
|
|
12831
|
+
*/
|
|
12832
|
+
list(options?: RequestOptions): Promise<unknown[]>;
|
|
12833
|
+
};
|
|
12834
|
+
};
|
|
12307
12835
|
|
|
12308
12836
|
/** Attributes accepted by `POST /social/accounts` (create action). */
|
|
12309
12837
|
interface SocialAccountCreateAttributes {
|
|
@@ -12344,7 +12872,10 @@ interface SocialPostUpdateAttributes {
|
|
|
12344
12872
|
link_metadata?: Record<string, unknown>;
|
|
12345
12873
|
platform_metadata?: Record<string, unknown>;
|
|
12346
12874
|
}
|
|
12347
|
-
/**
|
|
12875
|
+
/**
|
|
12876
|
+
* Attributes accepted by `POST /social/campaigns` (create action).
|
|
12877
|
+
* workspace_id is resolved from the authenticated user's context — do NOT pass it here.
|
|
12878
|
+
*/
|
|
12348
12879
|
interface SocialCampaignCreateAttributes {
|
|
12349
12880
|
/** Required. Campaign name. */
|
|
12350
12881
|
name: string;
|
|
@@ -12464,10 +12995,12 @@ declare function createSocialNamespace(rb: RequestBuilder): {
|
|
|
12464
12995
|
get: (id: string, options?: RequestOptions) => Promise<unknown>;
|
|
12465
12996
|
/**
|
|
12466
12997
|
* Create a new social campaign.
|
|
12467
|
-
*
|
|
12468
|
-
*
|
|
12998
|
+
*
|
|
12999
|
+
* @param workspaceId - Workspace ID (passed as query parameter for tenant resolution).
|
|
13000
|
+
* @param attributes - Campaign attributes (name, content_brief, etc.).
|
|
13001
|
+
* @param options - Optional request-level overrides.
|
|
12469
13002
|
*/
|
|
12470
|
-
create: (attributes: SocialCampaignCreateAttributes, options?: RequestOptions) => Promise<unknown>;
|
|
13003
|
+
create: (workspaceId: string, attributes: SocialCampaignCreateAttributes, options?: RequestOptions) => Promise<unknown>;
|
|
12471
13004
|
/** Update a campaign. */
|
|
12472
13005
|
update: (id: string, attributes: SocialCampaignUpdateAttributes, options?: RequestOptions) => Promise<unknown>;
|
|
12473
13006
|
/** Delete a campaign. */
|
|
@@ -20435,32 +20968,82 @@ interface FullscriptSessionGrant {
|
|
|
20435
20968
|
interface FullscriptTreatmentPlan {
|
|
20436
20969
|
id: string;
|
|
20437
20970
|
state: string;
|
|
20971
|
+
patient_id?: string;
|
|
20972
|
+
created_at?: string;
|
|
20973
|
+
updated_at?: string;
|
|
20974
|
+
invitation_url?: string;
|
|
20975
|
+
message?: string;
|
|
20438
20976
|
recommendations?: Array<{
|
|
20439
20977
|
product_id?: string;
|
|
20440
|
-
|
|
20978
|
+
product_name?: string;
|
|
20441
20979
|
variant_id?: string;
|
|
20980
|
+
dosage?: string;
|
|
20981
|
+
frequency?: string;
|
|
20442
20982
|
units_to_purchase?: number;
|
|
20443
20983
|
}>;
|
|
20444
|
-
invitation_url?: string;
|
|
20445
20984
|
[key: string]: unknown;
|
|
20446
20985
|
}
|
|
20447
20986
|
interface FullscriptProduct {
|
|
20448
20987
|
id: string;
|
|
20449
20988
|
name?: string;
|
|
20450
20989
|
brand?: string;
|
|
20990
|
+
description?: string;
|
|
20991
|
+
image_url?: string;
|
|
20992
|
+
product_url?: string;
|
|
20993
|
+
variants?: Array<{
|
|
20994
|
+
id?: string;
|
|
20995
|
+
name?: string;
|
|
20996
|
+
dosage_form?: string;
|
|
20997
|
+
size?: string;
|
|
20998
|
+
price?: string;
|
|
20999
|
+
msrp?: string;
|
|
21000
|
+
sku?: string;
|
|
21001
|
+
}>;
|
|
21002
|
+
categories?: string[];
|
|
21003
|
+
allergens?: string[];
|
|
21004
|
+
third_party_certifications?: string[];
|
|
20451
21005
|
[key: string]: unknown;
|
|
20452
21006
|
}
|
|
20453
21007
|
interface FullscriptOrder {
|
|
20454
21008
|
id: string;
|
|
21009
|
+
state?: string;
|
|
21010
|
+
created_at?: string;
|
|
21011
|
+
updated_at?: string;
|
|
20455
21012
|
line_items?: Array<{
|
|
20456
21013
|
product_id?: string;
|
|
21014
|
+
product_name?: string;
|
|
21015
|
+
variant_id?: string;
|
|
20457
21016
|
quantity?: number;
|
|
21017
|
+
price?: string;
|
|
20458
21018
|
}>;
|
|
20459
21019
|
item_total?: string;
|
|
20460
21020
|
payment_total?: string;
|
|
20461
21021
|
msrp_total?: string;
|
|
21022
|
+
shipping_total?: string;
|
|
21023
|
+
patient_id?: string;
|
|
20462
21024
|
[key: string]: unknown;
|
|
20463
21025
|
}
|
|
21026
|
+
interface CreateTreatmentPlanAttributes {
|
|
21027
|
+
patient_id: string;
|
|
21028
|
+
recommendations: Array<{
|
|
21029
|
+
product_id: string;
|
|
21030
|
+
variant_id?: string;
|
|
21031
|
+
dosage?: string;
|
|
21032
|
+
frequency?: string;
|
|
21033
|
+
units_to_purchase?: number;
|
|
21034
|
+
}>;
|
|
21035
|
+
send_invitation?: boolean;
|
|
21036
|
+
message?: string;
|
|
21037
|
+
}
|
|
21038
|
+
interface ProductMatchQuery {
|
|
21039
|
+
name: string;
|
|
21040
|
+
form?: string;
|
|
21041
|
+
dosage?: string;
|
|
21042
|
+
}
|
|
21043
|
+
interface ProductMatchResult {
|
|
21044
|
+
query: string;
|
|
21045
|
+
matches: FullscriptProduct[];
|
|
21046
|
+
}
|
|
20464
21047
|
/** Attributes for upserting connector credentials. */
|
|
20465
21048
|
type UpsertCredentialAttributes = {
|
|
20466
21049
|
workspace_id: string;
|
|
@@ -20469,11 +21052,15 @@ type UpsertCredentialAttributes = {
|
|
|
20469
21052
|
auth_data: Record<string, unknown>;
|
|
20470
21053
|
scope_level: string;
|
|
20471
21054
|
};
|
|
21055
|
+
/** @public Action-specific parameters passed to the sync engine (e.g., cursor, filter criteria). */
|
|
21056
|
+
interface SyncActionParams {
|
|
21057
|
+
[key: string]: unknown;
|
|
21058
|
+
}
|
|
20472
21059
|
/** Parameters for triggering a connector sync. */
|
|
20473
21060
|
type TriggerSyncParams = {
|
|
20474
21061
|
workspace_id: string;
|
|
20475
21062
|
action_name: "full" | "incremental" | "webhook" | "manual";
|
|
20476
|
-
params?:
|
|
21063
|
+
params?: SyncActionParams;
|
|
20477
21064
|
};
|
|
20478
21065
|
/** Result returned by sync trigger. */
|
|
20479
21066
|
interface SyncTriggerResult {
|
|
@@ -23365,6 +23952,26 @@ type ExecutionEvent = TokenDeltaEvent | ToolCallEvent | ToolResultEvent | Iterat
|
|
|
23365
23952
|
type AgentStatsResponse = AgentStats;
|
|
23366
23953
|
/** Agent usage statistics response — re-exported from generated types. */
|
|
23367
23954
|
type AgentUsageResponse = AgentUsage;
|
|
23955
|
+
/** @public Input for the teach (training correction) operation on an agent. */
|
|
23956
|
+
interface TeachParams {
|
|
23957
|
+
data: {
|
|
23958
|
+
attributes?: {
|
|
23959
|
+
/** Field names to mark as confirmed (correct). */
|
|
23960
|
+
confirmed_fields?: Array<string>;
|
|
23961
|
+
/** Per-field human-readable reasons for corrections. */
|
|
23962
|
+
correction_reasons?: Record<string, unknown>;
|
|
23963
|
+
/** Map of field names to corrected values. */
|
|
23964
|
+
corrections: Record<string, unknown>;
|
|
23965
|
+
/** The document ID used as the training source. */
|
|
23966
|
+
document_id: string;
|
|
23967
|
+
/** Optional free-text note for training context. */
|
|
23968
|
+
training_note?: string;
|
|
23969
|
+
/** Implicitly verify untouched fields. */
|
|
23970
|
+
verify_remaining?: boolean;
|
|
23971
|
+
};
|
|
23972
|
+
type?: "agent";
|
|
23973
|
+
};
|
|
23974
|
+
}
|
|
23368
23975
|
/** Agent training statistics response. */
|
|
23369
23976
|
interface TrainingStatsResponse {
|
|
23370
23977
|
[key: string]: unknown;
|
|
@@ -23756,7 +24363,7 @@ declare function createAgentsNamespace(rb: RequestBuilder): {
|
|
|
23756
24363
|
* const taught = await client.agents.teach('agt_01HXYZ...');
|
|
23757
24364
|
* console.log(taught.attributes.last_trained_at); // ISO timestamp
|
|
23758
24365
|
*/
|
|
23759
|
-
teach: (id: string, params?:
|
|
24366
|
+
teach: (id: string, params?: TeachParams, options?: RequestOptions) => Promise<Agent>;
|
|
23760
24367
|
/**
|
|
23761
24368
|
* Snapshots the agent's current state as a new immutable version.
|
|
23762
24369
|
*
|
|
@@ -24849,6 +25456,7 @@ interface CreateClinicalNoteAttributes {
|
|
|
24849
25456
|
pipeline_execution_id?: string;
|
|
24850
25457
|
note_type?: string;
|
|
24851
25458
|
note_content?: string;
|
|
25459
|
+
amends_note_id?: string;
|
|
24852
25460
|
metadata?: Record<string, unknown>;
|
|
24853
25461
|
}
|
|
24854
25462
|
interface UpdateClinicalNoteAttributes {
|
|
@@ -24887,6 +25495,8 @@ interface UpdateHealthMetricAttributes {
|
|
|
24887
25495
|
}
|
|
24888
25496
|
interface CreateMealPlanAttributes {
|
|
24889
25497
|
workspace_id: string;
|
|
25498
|
+
/** Patient UUID. Optional if `session_id` is provided — auto-populated from the session's patient. Required when creating a meal plan without a session. */
|
|
25499
|
+
patient_id?: string;
|
|
24890
25500
|
session_id?: string;
|
|
24891
25501
|
pipeline_execution_id?: string;
|
|
24892
25502
|
status?: string;
|
|
@@ -24972,6 +25582,9 @@ interface CreateClientSupplementAttributes {
|
|
|
24972
25582
|
prescribed_at?: string;
|
|
24973
25583
|
discontinued_at?: string;
|
|
24974
25584
|
metadata?: Record<string, unknown>;
|
|
25585
|
+
route?: string;
|
|
25586
|
+
source?: string;
|
|
25587
|
+
fullscript_treatment_plan_id?: string;
|
|
24975
25588
|
}
|
|
24976
25589
|
interface UpdateClientSupplementAttributes {
|
|
24977
25590
|
status?: string;
|
|
@@ -24986,6 +25599,9 @@ interface UpdateClientSupplementAttributes {
|
|
|
24986
25599
|
prescribed_at?: string;
|
|
24987
25600
|
discontinued_at?: string;
|
|
24988
25601
|
metadata?: Record<string, unknown>;
|
|
25602
|
+
route?: string;
|
|
25603
|
+
source?: string;
|
|
25604
|
+
fullscript_treatment_plan_id?: string;
|
|
24989
25605
|
}
|
|
24990
25606
|
interface CreateDeliveryAttributes {
|
|
24991
25607
|
workspace_id: string;
|
|
@@ -25235,6 +25851,32 @@ interface RecipeSearchParams {
|
|
|
25235
25851
|
from?: number;
|
|
25236
25852
|
to?: number;
|
|
25237
25853
|
}
|
|
25854
|
+
/** Recipe object returned by Edamam via the platform proxy. */
|
|
25855
|
+
interface RecipeHit {
|
|
25856
|
+
recipe: {
|
|
25857
|
+
uri: string;
|
|
25858
|
+
label: string;
|
|
25859
|
+
image?: string;
|
|
25860
|
+
source?: string;
|
|
25861
|
+
url?: string;
|
|
25862
|
+
yield?: number;
|
|
25863
|
+
dietLabels?: string[];
|
|
25864
|
+
healthLabels?: string[];
|
|
25865
|
+
ingredientLines?: string[];
|
|
25866
|
+
calories?: number;
|
|
25867
|
+
totalTime?: number;
|
|
25868
|
+
cuisineType?: string[];
|
|
25869
|
+
mealType?: string[];
|
|
25870
|
+
dishType?: string[];
|
|
25871
|
+
[key: string]: unknown;
|
|
25872
|
+
};
|
|
25873
|
+
}
|
|
25874
|
+
/** Result shape returned by `clinical.recipes.search()`. */
|
|
25875
|
+
interface RecipeSearchResult {
|
|
25876
|
+
hits: RecipeHit[];
|
|
25877
|
+
count: number;
|
|
25878
|
+
next_page?: string;
|
|
25879
|
+
}
|
|
25238
25880
|
interface GenerateSupplementRecsResponse {
|
|
25239
25881
|
execution_id: string | null;
|
|
25240
25882
|
}
|
|
@@ -25278,6 +25920,21 @@ interface ClinicalSearchResult {
|
|
|
25278
25920
|
similarity: number;
|
|
25279
25921
|
};
|
|
25280
25922
|
}
|
|
25923
|
+
/** Standard JSON:API list parameters for clinical resources. */
|
|
25924
|
+
interface ClinicalListParams {
|
|
25925
|
+
/** Filter results. */
|
|
25926
|
+
filter?: Record<string, unknown>;
|
|
25927
|
+
/** Sort by field(s). Prefix with '-' for descending. */
|
|
25928
|
+
sort?: string;
|
|
25929
|
+
/** Pagination parameters. */
|
|
25930
|
+
page?: {
|
|
25931
|
+
count?: boolean;
|
|
25932
|
+
limit?: number;
|
|
25933
|
+
offset?: number;
|
|
25934
|
+
};
|
|
25935
|
+
/** Include related resources (comma-separated). */
|
|
25936
|
+
include?: string;
|
|
25937
|
+
}
|
|
25281
25938
|
/**
|
|
25282
25939
|
* Clinical namespace — patient management, sessions, notes, health data, and care plans.
|
|
25283
25940
|
*
|
|
@@ -25327,7 +25984,7 @@ declare function createClinicalNamespace(rb: RequestBuilder): {
|
|
|
25327
25984
|
* });
|
|
25328
25985
|
* ```
|
|
25329
25986
|
*/
|
|
25330
|
-
list: (params?:
|
|
25987
|
+
list: (params?: ClinicalListParams, options?: RequestOptions) => Promise<ClinicalPatient[]>;
|
|
25331
25988
|
/**
|
|
25332
25989
|
* Get a single patient by ID.
|
|
25333
25990
|
*
|
|
@@ -25471,7 +26128,7 @@ declare function createClinicalNamespace(rb: RequestBuilder): {
|
|
|
25471
26128
|
* @param options - Request options
|
|
25472
26129
|
* @returns Array of {@link ClinicalSession} records
|
|
25473
26130
|
*/
|
|
25474
|
-
list: (params?:
|
|
26131
|
+
list: (params?: ClinicalListParams, options?: RequestOptions) => Promise<ClinicalSession[]>;
|
|
25475
26132
|
/**
|
|
25476
26133
|
* List sessions for a specific patient.
|
|
25477
26134
|
*
|
|
@@ -25577,7 +26234,25 @@ declare function createClinicalNamespace(rb: RequestBuilder): {
|
|
|
25577
26234
|
* @param options - Request options
|
|
25578
26235
|
* @returns Array of {@link ClinicalNote} records
|
|
25579
26236
|
*/
|
|
25580
|
-
list: (params?:
|
|
26237
|
+
list: (params?: ClinicalListParams, options?: RequestOptions) => Promise<ClinicalNote[]>;
|
|
26238
|
+
/**
|
|
26239
|
+
* List all notes for a patient across all sessions.
|
|
26240
|
+
*
|
|
26241
|
+
* @param patientId - Patient UUID
|
|
26242
|
+
* @param params - Filter/pagination parameters
|
|
26243
|
+
* @param options - Request options
|
|
26244
|
+
* @returns Array of {@link ClinicalNote} records
|
|
26245
|
+
*/
|
|
26246
|
+
listByPatient: (patientId: string, params?: ClinicalListParams, options?: RequestOptions) => Promise<ClinicalNote[]>;
|
|
26247
|
+
/**
|
|
26248
|
+
* List all notes in a workspace.
|
|
26249
|
+
*
|
|
26250
|
+
* @param workspaceId - Workspace UUID
|
|
26251
|
+
* @param params - Filter/pagination parameters
|
|
26252
|
+
* @param options - Request options
|
|
26253
|
+
* @returns Array of {@link ClinicalNote} records
|
|
26254
|
+
*/
|
|
26255
|
+
listByWorkspace: (workspaceId: string, params?: ClinicalListParams, options?: RequestOptions) => Promise<ClinicalNote[]>;
|
|
25581
26256
|
/**
|
|
25582
26257
|
* Get a single note by ID.
|
|
25583
26258
|
*
|
|
@@ -25644,7 +26319,7 @@ declare function createClinicalNamespace(rb: RequestBuilder): {
|
|
|
25644
26319
|
* @param options - Request options
|
|
25645
26320
|
* @returns Array of archived {@link ClinicalNote} records
|
|
25646
26321
|
*/
|
|
25647
|
-
listArchived: (params?:
|
|
26322
|
+
listArchived: (params?: ClinicalListParams, options?: RequestOptions) => Promise<ClinicalNote[]>;
|
|
25648
26323
|
/**
|
|
25649
26324
|
* Approve a clinical note (HITL workflow).
|
|
25650
26325
|
*
|
|
@@ -25713,7 +26388,7 @@ declare function createClinicalNamespace(rb: RequestBuilder): {
|
|
|
25713
26388
|
* @param options - Request options
|
|
25714
26389
|
* @returns Array of {@link ClinicalHealthMetric} records
|
|
25715
26390
|
*/
|
|
25716
|
-
list: (params?:
|
|
26391
|
+
list: (params?: ClinicalListParams, options?: RequestOptions) => Promise<ClinicalHealthMetric[]>;
|
|
25717
26392
|
/**
|
|
25718
26393
|
* Get a single health metric by ID.
|
|
25719
26394
|
*
|
|
@@ -25793,7 +26468,7 @@ declare function createClinicalNamespace(rb: RequestBuilder): {
|
|
|
25793
26468
|
* @param options - Request options
|
|
25794
26469
|
* @returns Array of archived {@link ClinicalHealthMetric} records
|
|
25795
26470
|
*/
|
|
25796
|
-
listArchived: (params?:
|
|
26471
|
+
listArchived: (params?: ClinicalListParams, options?: RequestOptions) => Promise<ClinicalHealthMetric[]>;
|
|
25797
26472
|
};
|
|
25798
26473
|
/**
|
|
25799
26474
|
* Manage meal plans for clinical patients.
|
|
@@ -25806,7 +26481,16 @@ declare function createClinicalNamespace(rb: RequestBuilder): {
|
|
|
25806
26481
|
* @param options - Request options
|
|
25807
26482
|
* @returns Array of {@link ClinicalMealPlan} records
|
|
25808
26483
|
*/
|
|
25809
|
-
list: (params?:
|
|
26484
|
+
list: (params?: ClinicalListParams, options?: RequestOptions) => Promise<ClinicalMealPlan[]>;
|
|
26485
|
+
/**
|
|
26486
|
+
* List all meal plans for a patient across all sessions.
|
|
26487
|
+
*
|
|
26488
|
+
* @param patientId - Patient UUID
|
|
26489
|
+
* @param params - Filter/pagination parameters
|
|
26490
|
+
* @param options - Request options
|
|
26491
|
+
* @returns Array of {@link ClinicalMealPlan} records
|
|
26492
|
+
*/
|
|
26493
|
+
listByPatient: (patientId: string, params?: ClinicalListParams, options?: RequestOptions) => Promise<ClinicalMealPlan[]>;
|
|
25810
26494
|
/**
|
|
25811
26495
|
* Get a single meal plan by ID.
|
|
25812
26496
|
*
|
|
@@ -25819,6 +26503,8 @@ declare function createClinicalNamespace(rb: RequestBuilder): {
|
|
|
25819
26503
|
* Create a new meal plan.
|
|
25820
26504
|
*
|
|
25821
26505
|
* @param attributes - Meal plan creation attributes. Must include `workspace_id`.
|
|
26506
|
+
* Provide `patient_id` directly, or `session_id` to auto-populate
|
|
26507
|
+
* `patient_id` from the session's patient.
|
|
25822
26508
|
* @param options - Request options
|
|
25823
26509
|
* @returns Created {@link ClinicalMealPlan} record
|
|
25824
26510
|
*/
|
|
@@ -25873,7 +26559,7 @@ declare function createClinicalNamespace(rb: RequestBuilder): {
|
|
|
25873
26559
|
* @param options - Request options
|
|
25874
26560
|
* @returns Array of archived {@link ClinicalMealPlan} records
|
|
25875
26561
|
*/
|
|
25876
|
-
listArchived: (params?:
|
|
26562
|
+
listArchived: (params?: ClinicalListParams, options?: RequestOptions) => Promise<ClinicalMealPlan[]>;
|
|
25877
26563
|
};
|
|
25878
26564
|
/**
|
|
25879
26565
|
* Manage client goals (therapeutic targets and wellness milestones).
|
|
@@ -25886,7 +26572,7 @@ declare function createClinicalNamespace(rb: RequestBuilder): {
|
|
|
25886
26572
|
* @param options - Request options
|
|
25887
26573
|
* @returns Array of {@link ClinicalClientGoal} records
|
|
25888
26574
|
*/
|
|
25889
|
-
list: (params?:
|
|
26575
|
+
list: (params?: ClinicalListParams, options?: RequestOptions) => Promise<ClinicalClientGoal[]>;
|
|
25890
26576
|
/**
|
|
25891
26577
|
* Get a single client goal by ID.
|
|
25892
26578
|
*
|
|
@@ -25953,7 +26639,7 @@ declare function createClinicalNamespace(rb: RequestBuilder): {
|
|
|
25953
26639
|
* @param options - Request options
|
|
25954
26640
|
* @returns Array of archived {@link ClinicalClientGoal} records
|
|
25955
26641
|
*/
|
|
25956
|
-
listArchived: (params?:
|
|
26642
|
+
listArchived: (params?: ClinicalListParams, options?: RequestOptions) => Promise<ClinicalClientGoal[]>;
|
|
25957
26643
|
/**
|
|
25958
26644
|
* Batch reorder client goals by updating their positions.
|
|
25959
26645
|
*
|
|
@@ -25983,7 +26669,7 @@ declare function createClinicalNamespace(rb: RequestBuilder): {
|
|
|
25983
26669
|
* @param options - Request options
|
|
25984
26670
|
* @returns Array of {@link ClinicalClientSupplement} records
|
|
25985
26671
|
*/
|
|
25986
|
-
list: (params?:
|
|
26672
|
+
list: (params?: ClinicalListParams, options?: RequestOptions) => Promise<ClinicalClientSupplement[]>;
|
|
25987
26673
|
/**
|
|
25988
26674
|
* Get a single supplement prescription by ID.
|
|
25989
26675
|
*
|
|
@@ -26051,7 +26737,33 @@ declare function createClinicalNamespace(rb: RequestBuilder): {
|
|
|
26051
26737
|
* @param options - Request options
|
|
26052
26738
|
* @returns Array of archived {@link ClinicalClientSupplement} records
|
|
26053
26739
|
*/
|
|
26054
|
-
listArchived: (params?:
|
|
26740
|
+
listArchived: (params?: ClinicalListParams, options?: RequestOptions) => Promise<ClinicalClientSupplement[]>;
|
|
26741
|
+
/**
|
|
26742
|
+
* Create multiple supplements in a single request.
|
|
26743
|
+
*
|
|
26744
|
+
* @param attrs - Bulk creation attributes with workspace_id and supplements array
|
|
26745
|
+
* @param options - Request options
|
|
26746
|
+
* @returns Array of creation results with id and status per supplement
|
|
26747
|
+
*
|
|
26748
|
+
* @example
|
|
26749
|
+
* ```typescript
|
|
26750
|
+
* const results = await client.clinical.clientSupplements.bulkCreate({
|
|
26751
|
+
* workspace_id: 'ws_123',
|
|
26752
|
+
* supplements: [
|
|
26753
|
+
* { patient_id: 'pat_1', name: 'Vitamin D3', source: 'fullscript' },
|
|
26754
|
+
* { patient_id: 'pat_1', name: 'Omega-3', source: 'fullscript' },
|
|
26755
|
+
* ],
|
|
26756
|
+
* });
|
|
26757
|
+
* ```
|
|
26758
|
+
*/
|
|
26759
|
+
bulkCreate: (attrs: {
|
|
26760
|
+
workspace_id: string;
|
|
26761
|
+
supplements: Array<Omit<CreateClientSupplementAttributes, "workspace_id">>;
|
|
26762
|
+
}, options?: RequestOptions) => Promise<Array<{
|
|
26763
|
+
id?: string;
|
|
26764
|
+
status: string;
|
|
26765
|
+
error?: string;
|
|
26766
|
+
}>>;
|
|
26055
26767
|
};
|
|
26056
26768
|
/**
|
|
26057
26769
|
* Manage clinical deliveries (care plan items sent to patients).
|
|
@@ -26064,7 +26776,7 @@ declare function createClinicalNamespace(rb: RequestBuilder): {
|
|
|
26064
26776
|
* @param options - Request options
|
|
26065
26777
|
* @returns Array of {@link ClinicalDelivery} records
|
|
26066
26778
|
*/
|
|
26067
|
-
list: (params?:
|
|
26779
|
+
list: (params?: ClinicalListParams, options?: RequestOptions) => Promise<ClinicalDelivery[]>;
|
|
26068
26780
|
/**
|
|
26069
26781
|
* Get a single delivery by ID.
|
|
26070
26782
|
*
|
|
@@ -26103,7 +26815,7 @@ declare function createClinicalNamespace(rb: RequestBuilder): {
|
|
|
26103
26815
|
* @param options - Request options
|
|
26104
26816
|
* @returns Array of {@link ClinicalPracticeResource} records
|
|
26105
26817
|
*/
|
|
26106
|
-
list: (params?:
|
|
26818
|
+
list: (params?: ClinicalListParams, options?: RequestOptions) => Promise<ClinicalPracticeResource[]>;
|
|
26107
26819
|
/**
|
|
26108
26820
|
* Get a single practice resource by ID.
|
|
26109
26821
|
*
|
|
@@ -26170,7 +26882,7 @@ declare function createClinicalNamespace(rb: RequestBuilder): {
|
|
|
26170
26882
|
* @param options - Request options
|
|
26171
26883
|
* @returns Array of archived {@link ClinicalPracticeResource} records
|
|
26172
26884
|
*/
|
|
26173
|
-
listArchived: (params?:
|
|
26885
|
+
listArchived: (params?: ClinicalListParams, options?: RequestOptions) => Promise<ClinicalPracticeResource[]>;
|
|
26174
26886
|
/**
|
|
26175
26887
|
* List application-level catalog practice resources.
|
|
26176
26888
|
*
|
|
@@ -26213,7 +26925,7 @@ declare function createClinicalNamespace(rb: RequestBuilder): {
|
|
|
26213
26925
|
* @param options - Request options
|
|
26214
26926
|
* @returns Array of archived {@link ClinicalPracticeResource} catalog records
|
|
26215
26927
|
*/
|
|
26216
|
-
listArchivedCatalog: (params?:
|
|
26928
|
+
listArchivedCatalog: (params?: ClinicalListParams, options?: RequestOptions) => Promise<ClinicalPracticeResource[]>;
|
|
26217
26929
|
/**
|
|
26218
26930
|
* List distinct practice resource categories in a workspace.
|
|
26219
26931
|
*
|
|
@@ -26368,7 +27080,7 @@ declare function createClinicalNamespace(rb: RequestBuilder): {
|
|
|
26368
27080
|
* @param options - Request options
|
|
26369
27081
|
* @returns Array of archived {@link ClinicalPracticeTool} records
|
|
26370
27082
|
*/
|
|
26371
|
-
listArchived: (params?:
|
|
27083
|
+
listArchived: (params?: ClinicalListParams, options?: RequestOptions) => Promise<ClinicalPracticeTool[]>;
|
|
26372
27084
|
/**
|
|
26373
27085
|
* List distinct practice tool categories in a workspace.
|
|
26374
27086
|
*
|
|
@@ -26432,7 +27144,7 @@ declare function createClinicalNamespace(rb: RequestBuilder): {
|
|
|
26432
27144
|
* @param options - Request options
|
|
26433
27145
|
* @returns Array of archived {@link ClinicalPracticeTool} catalog records
|
|
26434
27146
|
*/
|
|
26435
|
-
listArchivedCatalog: (params?:
|
|
27147
|
+
listArchivedCatalog: (params?: ClinicalListParams, options?: RequestOptions) => Promise<ClinicalPracticeTool[]>;
|
|
26436
27148
|
/**
|
|
26437
27149
|
* List distinct catalog practice tool categories.
|
|
26438
27150
|
*
|
|
@@ -26498,7 +27210,7 @@ declare function createClinicalNamespace(rb: RequestBuilder): {
|
|
|
26498
27210
|
* @param options - Request options
|
|
26499
27211
|
* @returns Array of {@link ClinicalClientResourceAssignment} records
|
|
26500
27212
|
*/
|
|
26501
|
-
list: (params?:
|
|
27213
|
+
list: (params?: ClinicalListParams, options?: RequestOptions) => Promise<ClinicalClientResourceAssignment[]>;
|
|
26502
27214
|
/**
|
|
26503
27215
|
* Get a single resource assignment by ID.
|
|
26504
27216
|
*
|
|
@@ -26566,7 +27278,7 @@ declare function createClinicalNamespace(rb: RequestBuilder): {
|
|
|
26566
27278
|
* @param options - Request options
|
|
26567
27279
|
* @returns Array of archived {@link ClinicalClientResourceAssignment} records
|
|
26568
27280
|
*/
|
|
26569
|
-
listArchived: (params?:
|
|
27281
|
+
listArchived: (params?: ClinicalListParams, options?: RequestOptions) => Promise<ClinicalClientResourceAssignment[]>;
|
|
26570
27282
|
};
|
|
26571
27283
|
/**
|
|
26572
27284
|
* Read-only access to the AI-generated supplement recommendation cache.
|
|
@@ -26583,7 +27295,7 @@ declare function createClinicalNamespace(rb: RequestBuilder): {
|
|
|
26583
27295
|
* @param options - Request options
|
|
26584
27296
|
* @returns Array of {@link ClinicalSupplementRecCache} records
|
|
26585
27297
|
*/
|
|
26586
|
-
list: (params?:
|
|
27298
|
+
list: (params?: ClinicalListParams, options?: RequestOptions) => Promise<ClinicalSupplementRecCache[]>;
|
|
26587
27299
|
/**
|
|
26588
27300
|
* Get a single supplement recommendation cache entry by ID.
|
|
26589
27301
|
*
|
|
@@ -26748,7 +27460,7 @@ declare function createClinicalNamespace(rb: RequestBuilder): {
|
|
|
26748
27460
|
* @param options - Request options
|
|
26749
27461
|
* @returns Array of archived {@link ClinicalGoalTemplate} records
|
|
26750
27462
|
*/
|
|
26751
|
-
listArchived: (params?:
|
|
27463
|
+
listArchived: (params?: ClinicalListParams, options?: RequestOptions) => Promise<ClinicalGoalTemplate[]>;
|
|
26752
27464
|
/**
|
|
26753
27465
|
* List application-level catalog goal templates.
|
|
26754
27466
|
*
|
|
@@ -26791,7 +27503,7 @@ declare function createClinicalNamespace(rb: RequestBuilder): {
|
|
|
26791
27503
|
* @param options - Request options
|
|
26792
27504
|
* @returns Array of archived {@link ClinicalGoalTemplate} catalog records
|
|
26793
27505
|
*/
|
|
26794
|
-
listArchivedCatalog: (params?:
|
|
27506
|
+
listArchivedCatalog: (params?: ClinicalListParams, options?: RequestOptions) => Promise<ClinicalGoalTemplate[]>;
|
|
26795
27507
|
/**
|
|
26796
27508
|
* List distinct catalog goal template categories.
|
|
26797
27509
|
*
|
|
@@ -26870,7 +27582,7 @@ declare function createClinicalNamespace(rb: RequestBuilder): {
|
|
|
26870
27582
|
* });
|
|
26871
27583
|
* ```
|
|
26872
27584
|
*/
|
|
26873
|
-
search: (params: RecipeSearchParams, options?: RequestOptions) => Promise<
|
|
27585
|
+
search: (params: RecipeSearchParams, options?: RequestOptions) => Promise<RecipeSearchResult>;
|
|
26874
27586
|
};
|
|
26875
27587
|
};
|
|
26876
27588
|
|
|
@@ -26924,7 +27636,7 @@ declare class GptClient extends BaseClient {
|
|
|
26924
27636
|
clone: (id: string, options?: RequestOptions) => Promise<Agent>;
|
|
26925
27637
|
export: (id: string, options?: RequestOptions) => Promise<Agent>;
|
|
26926
27638
|
analyzeTraining: (id: string, options?: RequestOptions) => Promise<Agent>;
|
|
26927
|
-
teach: (id: string, params?:
|
|
27639
|
+
teach: (id: string, params?: TeachParams, options?: RequestOptions) => Promise<Agent>;
|
|
26928
27640
|
publishVersion: (id: string, options?: RequestOptions) => Promise<Agent>;
|
|
26929
27641
|
restoreVersion: (id: string, body?: {
|
|
26930
27642
|
version_id?: string;
|
|
@@ -27581,6 +28293,8 @@ declare class GptClient extends BaseClient {
|
|
|
27581
28293
|
listTreatmentPlans: (connectorId: string, workspaceId: string, patientId: string, options?: RequestOptions) => Promise<FullscriptTreatmentPlan[]>;
|
|
27582
28294
|
getTreatmentPlan: (connectorId: string, workspaceId: string, treatmentPlanId: string, options?: RequestOptions) => Promise<FullscriptTreatmentPlan>;
|
|
27583
28295
|
cancelTreatmentPlan: (connectorId: string, workspaceId: string, treatmentPlanId: string, options?: RequestOptions) => Promise<FullscriptTreatmentPlan>;
|
|
28296
|
+
createTreatmentPlan: (connectorId: string, workspaceId: string, attrs: CreateTreatmentPlanAttributes, options?: RequestOptions) => Promise<FullscriptTreatmentPlan>;
|
|
28297
|
+
matchProducts: (connectorId: string, workspaceId: string, queries: ProductMatchQuery[], options?: RequestOptions) => Promise<ProductMatchResult[]>;
|
|
27584
28298
|
searchProducts: (connectorId: string, workspaceId: string, query: string, options?: RequestOptions) => Promise<FullscriptProduct[]>;
|
|
27585
28299
|
getProduct: (connectorId: string, workspaceId: string, productId: string, options?: RequestOptions) => Promise<FullscriptProduct>;
|
|
27586
28300
|
listSimilarProducts: (connectorId: string, workspaceId: string, productId: string, options?: RequestOptions) => Promise<FullscriptProduct[]>;
|
|
@@ -28747,7 +29461,7 @@ declare class GptClient extends BaseClient {
|
|
|
28747
29461
|
campaigns: {
|
|
28748
29462
|
list: (options?: RequestOptions) => Promise<unknown>;
|
|
28749
29463
|
get: (id: string, options?: RequestOptions) => Promise<unknown>;
|
|
28750
|
-
create: (attributes: SocialCampaignCreateAttributes, options?: RequestOptions) => Promise<unknown>;
|
|
29464
|
+
create: (workspaceId: string, attributes: SocialCampaignCreateAttributes, options?: RequestOptions) => Promise<unknown>;
|
|
28751
29465
|
update: (id: string, attributes: SocialCampaignUpdateAttributes, options?: RequestOptions) => Promise<unknown>;
|
|
28752
29466
|
delete: (id: string, options?: RequestOptions) => Promise<unknown>;
|
|
28753
29467
|
schedule: (id: string, scheduledAt: string, options?: RequestOptions) => Promise<unknown>;
|
|
@@ -28798,7 +29512,7 @@ declare class GptClient extends BaseClient {
|
|
|
28798
29512
|
};
|
|
28799
29513
|
/** Project, milestone, task, time entry, member, risk, and AI management */
|
|
28800
29514
|
readonly projects: {
|
|
28801
|
-
list(params?:
|
|
29515
|
+
list(params?: ListProjectsParams, options?: RequestOptions): Promise<Project[]>;
|
|
28802
29516
|
get(id: string, options?: RequestOptions): Promise<Project>;
|
|
28803
29517
|
create(data: CreateProjectInput, options?: RequestOptions): Promise<Project>;
|
|
28804
29518
|
update(id: string, data: UpdateProjectInput, options?: RequestOptions): Promise<Project>;
|
|
@@ -29224,4 +29938,4 @@ type SocialAPI = ReturnType<typeof createSocialNamespace>;
|
|
|
29224
29938
|
type ModelsAPI = ReturnType<typeof createModelsNamespace>;
|
|
29225
29939
|
type MemoryAPI = ReturnType<typeof createMemoryNamespace>;
|
|
29226
29940
|
|
|
29227
|
-
export { API_KEY_PREFIXES, type AccessGrant, type ActivityFeedParams, type Agent, type AgentDeployment, type AgentVersion, type AgentsAPI, type AiAPI, type ApiKey, type AppInfo, type ApprovalRequiredEvent, type AttributeFilter$1 as AttributeFilter, type AuditLog, AuthenticationError, AuthorizationError, type BaseClientConfig, type BillingAPI, type BillingAccount, BrowserApiKeyError, type BuyAddonAttributes, type CampaignsAPI, type CapacityCalculatorResponse, CardDeclinedError, type CatalogAPI, type CatalogOptionType, type CatalogOptionValue, type CatalogPriceList, type CatalogPriceListEntry, type CatalogProduct, type CatalogProductVariant, type CatalogTaxonomy, type CatalogTaxonomyNode, type CatalogView, type ChannelTokenRequest, type ChannelTokenResponse, type ChatMessage, type ChatMessageFeedback, type ChatThread, type ClinicalSearchResult, type CommunicationAPI, type ComplianceFrameworkReadiness, type CompliancePosture, type ComposeWithAiAttributes, ConflictError, type CreateAgentAttributes, type CreateAgentTrainingExampleAttributes, type CreateAgentVersionAttributes, type CreateCatalogOptionTypeAttributes, type CreateCatalogOptionValueAttributes, type CreateCatalogPriceListAttributes, type CreateCatalogPriceListEntryAttributes, type CreateCatalogProductAttributes, type CreateCatalogProductVariantAttributes, type CreateCatalogTaxonomyAttributes, type CreateCatalogTaxonomyNodeAttributes, type CreateCatalogViewAttributes, type CreateFieldTemplateAttributes, type CreateTestResultAttributes, type CreateThreadAttributes, type CreditPackage, DEFAULT_API_VERSION, DEFAULT_RETRY_CONFIG, type DocumentSection, type DoneEvent, type EmailAPI, type ErrorEvent, type Execution, type ExecutionEvent, type ExtractionAPI, type ExtractionRowQueryParams, type ExtractionRowQueryResult, type FeatureDefinition, type FeatureSummary, type FeatureUsage, type FullscriptOrder, type FullscriptProduct, type FullscriptTreatmentPlan, GptClient, GptCoreError, type IdentityAPI, type Import, type ImportAdapter, type ImportRow, InsecureConnectionError, type InsertMessageAttributes, type Invitation, type Invoice, type IterationCompleteEvent, LOG_LEVELS, type ListModelsOptions, type ListPracticeToolsParams, type LogLevel, type Logger, type MemoryAPI, type MessageFeedback, type MjmlCompileResult, type ModelInfo, type ModelTier, type ModelsAPI, NetworkError, NotFoundError, type PaginatedResponse, type PaginationLinks, type PaginationOptions, type PaymentMethod, type PaymentMethodCreateAttributes, type PaymentMethodTokenizeAttributes, type PaymentMethodUpdateAttributes, PaymentRequiredError, type Plan, type PlanFeatureAllocation, type PlatformAPI, type PracticeToolCategory, RateLimitError, type RateMessageAttributes, RequestBuilder, type RequestOptions, type RetryConfig, RetryTimeoutError, SDK_VERSION, type SchedulingAPI, type SdkErrorEvent, SdkEventEmitter, type SdkEvents, type SdkRequestEvent, type SdkResponseEvent, type SdkRetryEvent, type SearchAPI, type SeatInfo, type SectionDocument, type SecurityConfig, type SendMessageAttributes, ServerError, type SessionNoteType, type SessionNoteValue, type SocialAPI, type SocketManager, type SocketManagerOptions, type StorageAPI, type StreamApprovalRequiredEvent, type StreamDoneEvent, type StreamDoneMetadata, type StreamErrorEvent, type StreamIterationCompleteEvent, type StreamMessageChunk, type StreamOptions, type StreamTokenEvent, type StreamToolCallEvent, type StreamToolResultEvent, SubscriptionConflictError, type TemplateVariableSchema, type TemplateVersion, type Tenant, type ThreadsAPI, TimeoutError, type TokenDeltaEvent, type ToolCallEvent, type ToolResultEvent, type Transaction, type TranscriptionChunkResult, type TranscriptionJob, type TranscriptionJobCreateOptions, type TranscriptionJobFinalizeOptions, type TranscriptionJobFinalizeResult, type TrendingSnapshot, type TrendingSnapshotItem, type TrendingWatch, type TriggerPipelineAttributes, type UpdateAgentAttributes, type UpdateAgentTrainingExampleAttributes, type UpdateAgentVersionAttributes, type UpdateCatalogOptionTypeAttributes, type UpdateCatalogOptionValueAttributes, type UpdateCatalogPriceListAttributes, type UpdateCatalogPriceListEntryAttributes, type UpdateCatalogProductAttributes, type UpdateCatalogProductVariantAttributes, type UpdateCatalogTaxonomyAttributes, type UpdateCatalogTaxonomyNodeAttributes, type UpdateCatalogViewAttributes, type UpdateFeatureDefinitionAttributes, type UpdateMessageAttributes, type UpdateThreadAttributes, type UsageHistoryEntry, type User, type UserProfile, ValidationError, type VoiceAPI, type VoiceFinalizeOptions, type VoiceRecording, type VoiceSession, type VoiceSessionStart, type VoiceStartOptions, type VoiceTranscribeOptions, type VoiceTranscribeResult, type VoiceTranscriptionResult, type Wallet, type WalletPaymentMethod, WebhookSignatureError, type WebhookVerifyOptions, Webhooks, type Workspace, type WorkspaceAgentConfig, buildHeaders, buildUserAgent, collectStreamedMessage, createChannelsNamespace, createImportsNamespace, handleApiError, isBrowserEnvironment, isSecureUrl, paginateAll, paginateToArray, retryWithBackoff, streamMessage, streamSSE, validateApiKey, withRetry };
|
|
29941
|
+
export { API_KEY_PREFIXES, type AccessGrant, type ActivityFeedParams, type AddMemberInput, type Agent, type AgentDeployment, type AgentVersion, type AgentsAPI, type AiAPI, type ApiKey, type AppInfo, type ApprovalRequiredEvent, type AssigneeSuggestion, type AttributeFilter$1 as AttributeFilter, type AuditLog, AuthenticationError, AuthorizationError, type BaseClientConfig, type BillingAPI, type BillingAccount, BrowserApiKeyError, type BuyAddonAttributes, type CampaignsAPI, type CapacityCalculatorResponse, CardDeclinedError, type CatalogAPI, type CatalogOptionType, type CatalogOptionValue, type CatalogPriceList, type CatalogPriceListEntry, type CatalogProduct, type CatalogProductVariant, type CatalogTaxonomy, type CatalogTaxonomyNode, type CatalogView, type ChannelTokenRequest, type ChannelTokenResponse, type ChatMessage, type ChatMessageFeedback, type ChatThread, type ClinicalSearchResult, type CommunicationAPI, type CompletionEstimate, type ComplianceFrameworkReadiness, type CompliancePosture, type ComposeWithAiAttributes, ConflictError, type CreateAgentAttributes, type CreateAgentTrainingExampleAttributes, type CreateAgentVersionAttributes, type CreateCatalogOptionTypeAttributes, type CreateCatalogOptionValueAttributes, type CreateCatalogPriceListAttributes, type CreateCatalogPriceListEntryAttributes, type CreateCatalogProductAttributes, type CreateCatalogProductVariantAttributes, type CreateCatalogTaxonomyAttributes, type CreateCatalogTaxonomyNodeAttributes, type CreateCatalogViewAttributes, type CreateFieldTemplateAttributes, type CreateLabelInput, type CreateMilestoneInput, type CreateProjectInput, type CreateTaskInput, type CreateTestResultAttributes, type CreateThreadAttributes, type CreateTimeEntryInput, type CreditPackage, DEFAULT_API_VERSION, DEFAULT_RETRY_CONFIG, type DecomposedPlan, type DocumentSection, type DoneEvent, type EmailAPI, type ErrorEvent, type Execution, type ExecutionEvent, type ExtractionAPI, type ExtractionRowQueryParams, type ExtractionRowQueryResult, type FeatureDefinition, type FeatureSummary, type FeatureUsage, type FullscriptOrder, type FullscriptProduct, type FullscriptTreatmentPlan, GptClient, GptCoreError, type IdentityAPI, type Import, type ImportAdapter, type ImportRow, InsecureConnectionError, type InsertMessageAttributes, type Invitation, type Invoice, type IterationCompleteEvent, LOG_LEVELS, type ListModelsOptions, type ListPracticeToolsParams, type ListProjectsParams, type LogLevel, type Logger, type MemoryAPI, type MessageFeedback, type Milestone, type MjmlCompileResult, type ModelInfo, type ModelTier, type ModelsAPI, NetworkError, NotFoundError, type PaginatedResponse, type PaginationLinks, type PaginationOptions, type PaymentMethod, type PaymentMethodCreateAttributes, type PaymentMethodTokenizeAttributes, type PaymentMethodUpdateAttributes, PaymentRequiredError, type Plan, type PlanFeatureAllocation, type PlatformAPI, type PracticeToolCategory, type Project, type ProjectActivity, type ProjectMember, type ProjectRisk, type ProjectTemplate, type ProjectUpdate, type ProjectsNamespace, RateLimitError, type RateMessageAttributes, RequestBuilder, type RequestOptions, type RetryConfig, RetryTimeoutError, SDK_VERSION, type SchedulingAPI, type SdkErrorEvent, SdkEventEmitter, type SdkEvents, type SdkRequestEvent, type SdkResponseEvent, type SdkRetryEvent, type SearchAPI, type SeatInfo, type SectionDocument, type SecurityConfig, type SendMessageAttributes, ServerError, type SessionNoteType, type SessionNoteValue, type SocialAPI, type SocketManager, type SocketManagerOptions, type StorageAPI, type StreamApprovalRequiredEvent, type StreamDoneEvent, type StreamDoneMetadata, type StreamErrorEvent, type StreamIterationCompleteEvent, type StreamMessageChunk, type StreamOptions, type StreamTokenEvent, type StreamToolCallEvent, type StreamToolResultEvent, SubscriptionConflictError, type SyncActionParams, type Task, type TaskLabel, type TeachParams, type TemplateVariableSchema, type TemplateVersion, type Tenant, type ThreadsAPI, type TimeEntry, TimeoutError, type TokenDeltaEvent, type ToolCallEvent, type ToolResultEvent, type Transaction, type TranscriptionChunkResult, type TranscriptionJob, type TranscriptionJobCreateOptions, type TranscriptionJobFinalizeOptions, type TranscriptionJobFinalizeResult, type TrendingSnapshot, type TrendingSnapshotItem, type TrendingWatch, type TriggerPipelineAttributes, type UpdateAgentAttributes, type UpdateAgentTrainingExampleAttributes, type UpdateAgentVersionAttributes, type UpdateCatalogOptionTypeAttributes, type UpdateCatalogOptionValueAttributes, type UpdateCatalogPriceListAttributes, type UpdateCatalogPriceListEntryAttributes, type UpdateCatalogProductAttributes, type UpdateCatalogProductVariantAttributes, type UpdateCatalogTaxonomyAttributes, type UpdateCatalogTaxonomyNodeAttributes, type UpdateCatalogViewAttributes, type UpdateFeatureDefinitionAttributes, type UpdateMemberInput, type UpdateMessageAttributes, type UpdateProjectInput, type UpdateThreadAttributes, type UsageHistoryEntry, type User, type UserProfile, ValidationError, type VoiceAPI, type VoiceFinalizeOptions, type VoiceRecording, type VoiceSession, type VoiceSessionStart, type VoiceStartOptions, type VoiceTranscribeOptions, type VoiceTranscribeResult, type VoiceTranscriptionResult, type Wallet, type WalletPaymentMethod, WebhookSignatureError, type WebhookVerifyOptions, Webhooks, type Workspace, type WorkspaceAgentConfig, buildHeaders, buildUserAgent, collectStreamedMessage, createChannelsNamespace, createImportsNamespace, createProjectsNamespace, handleApiError, isBrowserEnvironment, isSecureUrl, paginateAll, paginateToArray, retryWithBackoff, streamMessage, streamSSE, validateApiKey, withRetry };
|