@gpt-platform/client 0.10.3 → 0.10.5
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 +831 -38
- package/dist/index.d.ts +831 -38
- package/dist/index.js +735 -11
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +735 -11
- package/dist/index.mjs.map +1 -1
- package/llms.txt +35 -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.5";
|
|
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
|
|
|
@@ -1033,6 +1033,12 @@ declare class RequestBuilder {
|
|
|
1033
1033
|
* Used for endpoints implemented as custom Phoenix controllers.
|
|
1034
1034
|
*/
|
|
1035
1035
|
rawPost<TResponse>(url: string, body?: unknown, options?: RequestOptions): Promise<TResponse>;
|
|
1036
|
+
/**
|
|
1037
|
+
* Execute a raw POST to a custom endpoint that returns flat JSON (no data wrapper).
|
|
1038
|
+
* Unlike rawPost (which unwraps data.data), this returns the response body directly.
|
|
1039
|
+
* Used for hand-written Phoenix controllers like DocumentsController.
|
|
1040
|
+
*/
|
|
1041
|
+
rawPostDirect<TResponse>(url: string, body?: unknown, options?: RequestOptions): Promise<TResponse>;
|
|
1036
1042
|
/**
|
|
1037
1043
|
* Execute a raw PUT request to a custom (non-generated) endpoint.
|
|
1038
1044
|
*/
|
|
@@ -1681,7 +1687,7 @@ type WorkspaceAgentConfig = {
|
|
|
1681
1687
|
/**
|
|
1682
1688
|
* A "Resource object" representing a clinical-goal-template
|
|
1683
1689
|
*/
|
|
1684
|
-
type ClinicalGoalTemplate = {
|
|
1690
|
+
type ClinicalGoalTemplate$1 = {
|
|
1685
1691
|
/**
|
|
1686
1692
|
* An attributes object for a clinical-goal-template
|
|
1687
1693
|
*/
|
|
@@ -2026,7 +2032,7 @@ type VoiceTranscriptionResult = {
|
|
|
2026
2032
|
/**
|
|
2027
2033
|
* A "Resource object" representing a clinical-goal-template-category
|
|
2028
2034
|
*/
|
|
2029
|
-
type ClinicalGoalTemplateCategory = {
|
|
2035
|
+
type ClinicalGoalTemplateCategory$1 = {
|
|
2030
2036
|
/**
|
|
2031
2037
|
* An attributes object for a clinical-goal-template-category
|
|
2032
2038
|
*/
|
|
@@ -2920,7 +2926,7 @@ type CrmCompany = {
|
|
|
2920
2926
|
/**
|
|
2921
2927
|
* A "Resource object" representing a clinical-practice-tool
|
|
2922
2928
|
*/
|
|
2923
|
-
type ClinicalPracticeTool = {
|
|
2929
|
+
type ClinicalPracticeTool$1 = {
|
|
2924
2930
|
/**
|
|
2925
2931
|
* An attributes object for a clinical-practice-tool
|
|
2926
2932
|
*/
|
|
@@ -3251,7 +3257,7 @@ type SupportTag = {
|
|
|
3251
3257
|
/**
|
|
3252
3258
|
* A "Resource object" representing a clinical-note-version
|
|
3253
3259
|
*/
|
|
3254
|
-
type ClinicalNoteVersion = {
|
|
3260
|
+
type ClinicalNoteVersion$1 = {
|
|
3255
3261
|
/**
|
|
3256
3262
|
* An attributes object for a clinical-note-version
|
|
3257
3263
|
*/
|
|
@@ -4164,7 +4170,7 @@ type VoiceRecording = {
|
|
|
4164
4170
|
/**
|
|
4165
4171
|
* A "Resource object" representing a clinical-client-resource-assignment
|
|
4166
4172
|
*/
|
|
4167
|
-
type ClinicalClientResourceAssignment = {
|
|
4173
|
+
type ClinicalClientResourceAssignment$1 = {
|
|
4168
4174
|
/**
|
|
4169
4175
|
* An attributes object for a clinical-client-resource-assignment
|
|
4170
4176
|
*/
|
|
@@ -5360,7 +5366,7 @@ type Application = {
|
|
|
5360
5366
|
/**
|
|
5361
5367
|
* A "Resource object" representing a clinical-client-supplement
|
|
5362
5368
|
*/
|
|
5363
|
-
type ClinicalClientSupplement = {
|
|
5369
|
+
type ClinicalClientSupplement$1 = {
|
|
5364
5370
|
/**
|
|
5365
5371
|
* An attributes object for a clinical-client-supplement
|
|
5366
5372
|
*/
|
|
@@ -6035,6 +6041,40 @@ type Transaction = {
|
|
|
6035
6041
|
};
|
|
6036
6042
|
type: string;
|
|
6037
6043
|
};
|
|
6044
|
+
/**
|
|
6045
|
+
* A "Resource object" representing a extraction-agent
|
|
6046
|
+
*/
|
|
6047
|
+
type ExtractionAgent = {
|
|
6048
|
+
/**
|
|
6049
|
+
* An attributes object for a extraction-agent
|
|
6050
|
+
*/
|
|
6051
|
+
attributes?: {
|
|
6052
|
+
/**
|
|
6053
|
+
* Description of what this agent is good at, used for AI matching. Field included by default.
|
|
6054
|
+
*/
|
|
6055
|
+
capabilities: string;
|
|
6056
|
+
/**
|
|
6057
|
+
* Field included by default.
|
|
6058
|
+
*/
|
|
6059
|
+
description: string;
|
|
6060
|
+
/**
|
|
6061
|
+
* Field included by default.
|
|
6062
|
+
*/
|
|
6063
|
+
name: string;
|
|
6064
|
+
/**
|
|
6065
|
+
* Field included by default.
|
|
6066
|
+
*/
|
|
6067
|
+
slug: string;
|
|
6068
|
+
};
|
|
6069
|
+
id: string;
|
|
6070
|
+
/**
|
|
6071
|
+
* A relationships object for a extraction-agent
|
|
6072
|
+
*/
|
|
6073
|
+
relationships?: {
|
|
6074
|
+
[key: string]: never;
|
|
6075
|
+
};
|
|
6076
|
+
type: string;
|
|
6077
|
+
};
|
|
6038
6078
|
/**
|
|
6039
6079
|
* A "Resource object" representing a agent-deployment
|
|
6040
6080
|
*/
|
|
@@ -6243,6 +6283,84 @@ type AgentDeployment = {
|
|
|
6243
6283
|
};
|
|
6244
6284
|
type: string;
|
|
6245
6285
|
};
|
|
6286
|
+
/**
|
|
6287
|
+
* A "Resource object" representing a training-analytics
|
|
6288
|
+
*/
|
|
6289
|
+
type TrainingAnalytics = {
|
|
6290
|
+
/**
|
|
6291
|
+
* An attributes object for a training-analytics
|
|
6292
|
+
*/
|
|
6293
|
+
attributes?: {
|
|
6294
|
+
/**
|
|
6295
|
+
* Field included by default.
|
|
6296
|
+
*/
|
|
6297
|
+
accuracy_improvement?: number | null | unknown;
|
|
6298
|
+
/**
|
|
6299
|
+
* Field included by default.
|
|
6300
|
+
*/
|
|
6301
|
+
accuracy_trend?: Array<{
|
|
6302
|
+
[key: string]: unknown;
|
|
6303
|
+
}> | null | unknown;
|
|
6304
|
+
/**
|
|
6305
|
+
* Field included by default.
|
|
6306
|
+
*/
|
|
6307
|
+
avg_confidence?: number | null | unknown;
|
|
6308
|
+
/**
|
|
6309
|
+
* Field included by default.
|
|
6310
|
+
*/
|
|
6311
|
+
confidence_threshold?: number | null | unknown;
|
|
6312
|
+
/**
|
|
6313
|
+
* Field included by default.
|
|
6314
|
+
*/
|
|
6315
|
+
docs_needing_review_count?: number | null | unknown;
|
|
6316
|
+
/**
|
|
6317
|
+
* Field included by default.
|
|
6318
|
+
*/
|
|
6319
|
+
low_confidence_documents?: Array<{
|
|
6320
|
+
[key: string]: unknown;
|
|
6321
|
+
}> | null | unknown;
|
|
6322
|
+
/**
|
|
6323
|
+
* Field included by default.
|
|
6324
|
+
*/
|
|
6325
|
+
top_corrected_field?: string | null | unknown;
|
|
6326
|
+
/**
|
|
6327
|
+
* Field included by default.
|
|
6328
|
+
*/
|
|
6329
|
+
top_field_correction_count?: number | null | unknown;
|
|
6330
|
+
/**
|
|
6331
|
+
* Field included by default.
|
|
6332
|
+
*/
|
|
6333
|
+
total_examples?: number | null | unknown;
|
|
6334
|
+
/**
|
|
6335
|
+
* Field included by default.
|
|
6336
|
+
*/
|
|
6337
|
+
total_fields_confirmed?: number | null | unknown;
|
|
6338
|
+
/**
|
|
6339
|
+
* Field included by default.
|
|
6340
|
+
*/
|
|
6341
|
+
total_fields_corrected?: number | null | unknown;
|
|
6342
|
+
/**
|
|
6343
|
+
* Field included by default.
|
|
6344
|
+
*/
|
|
6345
|
+
total_fields_reviewed?: number | null | unknown;
|
|
6346
|
+
/**
|
|
6347
|
+
* Field included by default.
|
|
6348
|
+
*/
|
|
6349
|
+
trained?: number | null | unknown;
|
|
6350
|
+
/**
|
|
6351
|
+
* Field included by default.
|
|
6352
|
+
*/
|
|
6353
|
+
workspace_id?: string | null | unknown;
|
|
6354
|
+
};
|
|
6355
|
+
id: string;
|
|
6356
|
+
/**
|
|
6357
|
+
* A relationships object for a training-analytics
|
|
6358
|
+
*/
|
|
6359
|
+
relationships?: {
|
|
6360
|
+
[key: string]: never;
|
|
6361
|
+
};
|
|
6362
|
+
type: string;
|
|
6363
|
+
};
|
|
6246
6364
|
/**
|
|
6247
6365
|
* A "Resource object" representing a data-subject-request
|
|
6248
6366
|
*/
|
|
@@ -6658,7 +6776,7 @@ type AgentVersionComparison = {
|
|
|
6658
6776
|
/**
|
|
6659
6777
|
* A "Resource object" representing a clinical-session
|
|
6660
6778
|
*/
|
|
6661
|
-
type ClinicalSession = {
|
|
6779
|
+
type ClinicalSession$1 = {
|
|
6662
6780
|
/**
|
|
6663
6781
|
* An attributes object for a clinical-session
|
|
6664
6782
|
*/
|
|
@@ -6886,7 +7004,7 @@ type SavedSearch = {
|
|
|
6886
7004
|
/**
|
|
6887
7005
|
* A "Resource object" representing a clinical-meal-plan
|
|
6888
7006
|
*/
|
|
6889
|
-
type ClinicalMealPlan = {
|
|
7007
|
+
type ClinicalMealPlan$1 = {
|
|
6890
7008
|
/**
|
|
6891
7009
|
* An attributes object for a clinical-meal-plan
|
|
6892
7010
|
*/
|
|
@@ -7334,7 +7452,7 @@ type EmailTrackingEvent = {
|
|
|
7334
7452
|
/**
|
|
7335
7453
|
* A "Resource object" representing a clinical-patient
|
|
7336
7454
|
*/
|
|
7337
|
-
type ClinicalPatient = {
|
|
7455
|
+
type ClinicalPatient$1 = {
|
|
7338
7456
|
/**
|
|
7339
7457
|
* An attributes object for a clinical-patient
|
|
7340
7458
|
*/
|
|
@@ -7419,6 +7537,18 @@ type ClinicalPatient = {
|
|
|
7419
7537
|
type: string;
|
|
7420
7538
|
}>;
|
|
7421
7539
|
};
|
|
7540
|
+
medications?: {
|
|
7541
|
+
/**
|
|
7542
|
+
* Relationship data for medications
|
|
7543
|
+
*/
|
|
7544
|
+
data?: Array<{
|
|
7545
|
+
id: string;
|
|
7546
|
+
meta?: {
|
|
7547
|
+
[key: string]: unknown;
|
|
7548
|
+
};
|
|
7549
|
+
type: string;
|
|
7550
|
+
}>;
|
|
7551
|
+
};
|
|
7422
7552
|
notes?: {
|
|
7423
7553
|
/**
|
|
7424
7554
|
* Relationship data for notes
|
|
@@ -7703,7 +7833,7 @@ type ApiKey = {
|
|
|
7703
7833
|
/**
|
|
7704
7834
|
* A "Resource object" representing a clinical-practice-resource
|
|
7705
7835
|
*/
|
|
7706
|
-
type ClinicalPracticeResource = {
|
|
7836
|
+
type ClinicalPracticeResource$1 = {
|
|
7707
7837
|
/**
|
|
7708
7838
|
* An attributes object for a clinical-practice-resource
|
|
7709
7839
|
*/
|
|
@@ -8193,7 +8323,7 @@ type AccessLog = {
|
|
|
8193
8323
|
/**
|
|
8194
8324
|
* A "Resource object" representing a clinical-delivery
|
|
8195
8325
|
*/
|
|
8196
|
-
type ClinicalDelivery = {
|
|
8326
|
+
type ClinicalDelivery$1 = {
|
|
8197
8327
|
/**
|
|
8198
8328
|
* An attributes object for a clinical-delivery
|
|
8199
8329
|
*/
|
|
@@ -8560,7 +8690,7 @@ type DisclosureLog = {
|
|
|
8560
8690
|
/**
|
|
8561
8691
|
* A "Resource object" representing a clinical-supplement-rec-cache
|
|
8562
8692
|
*/
|
|
8563
|
-
type ClinicalSupplementRecCache = {
|
|
8693
|
+
type ClinicalSupplementRecCache$1 = {
|
|
8564
8694
|
/**
|
|
8565
8695
|
* An attributes object for a clinical-supplement-rec-cache
|
|
8566
8696
|
*/
|
|
@@ -9666,7 +9796,7 @@ type DataTransferRecord = {
|
|
|
9666
9796
|
/**
|
|
9667
9797
|
* A "Resource object" representing a clinical-health-metric
|
|
9668
9798
|
*/
|
|
9669
|
-
type ClinicalHealthMetric = {
|
|
9799
|
+
type ClinicalHealthMetric$1 = {
|
|
9670
9800
|
/**
|
|
9671
9801
|
* An attributes object for a clinical-health-metric
|
|
9672
9802
|
*/
|
|
@@ -9736,6 +9866,117 @@ type ClinicalHealthMetric = {
|
|
|
9736
9866
|
};
|
|
9737
9867
|
type: string;
|
|
9738
9868
|
};
|
|
9869
|
+
/**
|
|
9870
|
+
* A "Resource object" representing a clinical-client-medication
|
|
9871
|
+
*/
|
|
9872
|
+
type ClinicalClientMedication$1 = {
|
|
9873
|
+
/**
|
|
9874
|
+
* An attributes object for a clinical-client-medication
|
|
9875
|
+
*/
|
|
9876
|
+
attributes?: {
|
|
9877
|
+
/**
|
|
9878
|
+
* Field included by default.
|
|
9879
|
+
*/
|
|
9880
|
+
dosage?: string | null | unknown;
|
|
9881
|
+
/**
|
|
9882
|
+
* Field included by default.
|
|
9883
|
+
*/
|
|
9884
|
+
end_date?: string | null | unknown;
|
|
9885
|
+
/**
|
|
9886
|
+
* Field included by default.
|
|
9887
|
+
*/
|
|
9888
|
+
external_ids: {
|
|
9889
|
+
[key: string]: unknown;
|
|
9890
|
+
};
|
|
9891
|
+
/**
|
|
9892
|
+
* Field included by default.
|
|
9893
|
+
*/
|
|
9894
|
+
frequency?: string | null | unknown;
|
|
9895
|
+
/**
|
|
9896
|
+
* Field included by default.
|
|
9897
|
+
*/
|
|
9898
|
+
generic_name?: string | null | unknown;
|
|
9899
|
+
/**
|
|
9900
|
+
* Field included by default.
|
|
9901
|
+
*/
|
|
9902
|
+
indication?: string | null | unknown;
|
|
9903
|
+
/**
|
|
9904
|
+
* Field included by default.
|
|
9905
|
+
*/
|
|
9906
|
+
instructions?: string | null | unknown;
|
|
9907
|
+
/**
|
|
9908
|
+
* Field included by default.
|
|
9909
|
+
*/
|
|
9910
|
+
interaction_flags: Array<string>;
|
|
9911
|
+
is_archived?: boolean | null | unknown;
|
|
9912
|
+
/**
|
|
9913
|
+
* Field included by default.
|
|
9914
|
+
*/
|
|
9915
|
+
metadata: {
|
|
9916
|
+
[key: string]: unknown;
|
|
9917
|
+
};
|
|
9918
|
+
/**
|
|
9919
|
+
* Field included by default.
|
|
9920
|
+
*/
|
|
9921
|
+
name: string;
|
|
9922
|
+
/**
|
|
9923
|
+
* Field included by default.
|
|
9924
|
+
*/
|
|
9925
|
+
ndc_code?: string | null | unknown;
|
|
9926
|
+
/**
|
|
9927
|
+
* Field included by default.
|
|
9928
|
+
*/
|
|
9929
|
+
patient_id: string;
|
|
9930
|
+
/**
|
|
9931
|
+
* Field included by default.
|
|
9932
|
+
*/
|
|
9933
|
+
pharmacy_name?: string | null | unknown;
|
|
9934
|
+
/**
|
|
9935
|
+
* Field included by default.
|
|
9936
|
+
*/
|
|
9937
|
+
pharmacy_phone?: string | null | unknown;
|
|
9938
|
+
/**
|
|
9939
|
+
* Field included by default.
|
|
9940
|
+
*/
|
|
9941
|
+
prescribed_at?: string | null | unknown;
|
|
9942
|
+
/**
|
|
9943
|
+
* Field included by default.
|
|
9944
|
+
*/
|
|
9945
|
+
prescriber_npi?: string | null | unknown;
|
|
9946
|
+
/**
|
|
9947
|
+
* Field included by default.
|
|
9948
|
+
*/
|
|
9949
|
+
refill_date?: string | null | unknown;
|
|
9950
|
+
/**
|
|
9951
|
+
* Field included by default.
|
|
9952
|
+
*/
|
|
9953
|
+
refills_remaining?: number | null | unknown;
|
|
9954
|
+
/**
|
|
9955
|
+
* Field included by default.
|
|
9956
|
+
*/
|
|
9957
|
+
route?: string | null | unknown;
|
|
9958
|
+
/**
|
|
9959
|
+
* Field included by default.
|
|
9960
|
+
*/
|
|
9961
|
+
source?: string | null | unknown;
|
|
9962
|
+
/**
|
|
9963
|
+
* Field included by default.
|
|
9964
|
+
*/
|
|
9965
|
+
start_date?: string | null | unknown;
|
|
9966
|
+
/**
|
|
9967
|
+
* Field included by default.
|
|
9968
|
+
*/
|
|
9969
|
+
status: "active" | "discontinued" | "on_hold" | "pending_review";
|
|
9970
|
+
};
|
|
9971
|
+
id: string;
|
|
9972
|
+
/**
|
|
9973
|
+
* A relationships object for a clinical-client-medication
|
|
9974
|
+
*/
|
|
9975
|
+
relationships?: {
|
|
9976
|
+
[key: string]: never;
|
|
9977
|
+
};
|
|
9978
|
+
type: string;
|
|
9979
|
+
};
|
|
9739
9980
|
/**
|
|
9740
9981
|
* A "Resource object" representing a training-session
|
|
9741
9982
|
*/
|
|
@@ -10719,7 +10960,7 @@ type Bucket = {
|
|
|
10719
10960
|
/**
|
|
10720
10961
|
* A "Resource object" representing a clinical-note
|
|
10721
10962
|
*/
|
|
10722
|
-
type ClinicalNote = {
|
|
10963
|
+
type ClinicalNote$1 = {
|
|
10723
10964
|
/**
|
|
10724
10965
|
* An attributes object for a clinical-note
|
|
10725
10966
|
*/
|
|
@@ -11712,7 +11953,7 @@ type CrmCustomEntity = {
|
|
|
11712
11953
|
/**
|
|
11713
11954
|
* A "Resource object" representing a clinical-client-goal
|
|
11714
11955
|
*/
|
|
11715
|
-
type ClinicalClientGoal = {
|
|
11956
|
+
type ClinicalClientGoal$1 = {
|
|
11716
11957
|
/**
|
|
11717
11958
|
* An attributes object for a clinical-client-goal
|
|
11718
11959
|
*/
|
|
@@ -12192,6 +12433,72 @@ interface TriggerPipelineAttributes {
|
|
|
12192
12433
|
/** Input data passed to the first pipeline node. */
|
|
12193
12434
|
input?: Record<string, unknown>;
|
|
12194
12435
|
}
|
|
12436
|
+
/** Response from a successful pipeline trigger. */
|
|
12437
|
+
interface PipelineTriggerResponse {
|
|
12438
|
+
/** Pipeline execution UUID. Use pipelineExecutions.get() to poll status. */
|
|
12439
|
+
execution_id: string;
|
|
12440
|
+
/** Initial status — always "running" on success. */
|
|
12441
|
+
status: string;
|
|
12442
|
+
}
|
|
12443
|
+
/** Attributes for dry-run validation. */
|
|
12444
|
+
interface DryRunAttributes {
|
|
12445
|
+
/** Workspace context for validation. */
|
|
12446
|
+
workspace_id: string;
|
|
12447
|
+
}
|
|
12448
|
+
/** Response from pipeline dry-run validation. */
|
|
12449
|
+
interface DryRunResponse {
|
|
12450
|
+
/** Whether the pipeline is valid and ready to execute. */
|
|
12451
|
+
valid: boolean;
|
|
12452
|
+
/** Number of nodes in the pipeline graph. */
|
|
12453
|
+
node_count?: number;
|
|
12454
|
+
/** Number of agent nodes with resolvable agents. */
|
|
12455
|
+
agent_count?: number;
|
|
12456
|
+
/** Number of HITL checkpoint nodes. */
|
|
12457
|
+
checkpoint_count?: number;
|
|
12458
|
+
/** Validation errors (when valid is false). */
|
|
12459
|
+
errors?: string[];
|
|
12460
|
+
}
|
|
12461
|
+
/** A pipeline resource (read-only on client API). */
|
|
12462
|
+
interface Pipeline {
|
|
12463
|
+
id: string;
|
|
12464
|
+
name: string;
|
|
12465
|
+
description: string | null;
|
|
12466
|
+
application_id: string | null;
|
|
12467
|
+
workspace_id: string | null;
|
|
12468
|
+
trigger_type: "manual" | "event" | "schedule";
|
|
12469
|
+
system_slug: string | null;
|
|
12470
|
+
is_active: boolean;
|
|
12471
|
+
inserted_at: string;
|
|
12472
|
+
updated_at: string;
|
|
12473
|
+
}
|
|
12474
|
+
|
|
12475
|
+
/** Status of a pipeline execution. */
|
|
12476
|
+
type PipelineExecutionStatus = "running" | "awaiting_approval" | "approved" | "rejected" | "completed" | "failed" | "expired";
|
|
12477
|
+
/** A pipeline execution resource. */
|
|
12478
|
+
interface PipelineExecution {
|
|
12479
|
+
id: string;
|
|
12480
|
+
pipeline_id: string;
|
|
12481
|
+
workspace_id: string | null;
|
|
12482
|
+
status: PipelineExecutionStatus;
|
|
12483
|
+
input: Record<string, unknown>;
|
|
12484
|
+
node_outputs: Record<string, unknown>;
|
|
12485
|
+
checkpoint_node: string | null;
|
|
12486
|
+
checkpoint_data: Record<string, unknown> | null;
|
|
12487
|
+
checkpoint_notes: string | null;
|
|
12488
|
+
checkpoint_refinements: Array<{
|
|
12489
|
+
node_id: string;
|
|
12490
|
+
instruction: string;
|
|
12491
|
+
timestamp: string;
|
|
12492
|
+
}>;
|
|
12493
|
+
checkpoint_session_id: string | null;
|
|
12494
|
+
started_at: string;
|
|
12495
|
+
completed_at: string | null;
|
|
12496
|
+
}
|
|
12497
|
+
/** Attributes for editing checkpoint data before approval. */
|
|
12498
|
+
interface UpdateCheckpointAttributes {
|
|
12499
|
+
/** RD-edited output data. Corrected values flow into downstream nodes. */
|
|
12500
|
+
checkpoint_data?: Record<string, unknown>;
|
|
12501
|
+
}
|
|
12195
12502
|
|
|
12196
12503
|
interface ClusterMember {
|
|
12197
12504
|
id: string;
|
|
@@ -13013,6 +13320,18 @@ declare function createSocialNamespace(rb: RequestBuilder): {
|
|
|
13013
13320
|
generateMasterCopy: (id: string, workspaceId: string, options?: RequestOptions) => Promise<unknown>;
|
|
13014
13321
|
/** Adapt master copy for target platforms and create SocialPost drafts. */
|
|
13015
13322
|
adaptForPlatforms: (id: string, workspaceId: string, socialAccountId: string, options?: RequestOptions) => Promise<unknown>;
|
|
13323
|
+
/**
|
|
13324
|
+
* Preview adapted copy per platform without creating SocialPost records.
|
|
13325
|
+
*
|
|
13326
|
+
* Returns the AI-adapted text for each target platform so the user can
|
|
13327
|
+
* review before committing via `adaptForPlatforms`.
|
|
13328
|
+
*
|
|
13329
|
+
* @param id - Campaign UUID.
|
|
13330
|
+
* @param workspaceId - Workspace UUID.
|
|
13331
|
+
* @param options - Optional request options.
|
|
13332
|
+
* @returns `{ adaptations: [{ platform: string, content: string }] }`
|
|
13333
|
+
*/
|
|
13334
|
+
previewAdaptations: (id: string, workspaceId: string, options?: RequestOptions) => Promise<unknown>;
|
|
13016
13335
|
};
|
|
13017
13336
|
/** Trending content discovery — snapshots, items, and watch alerts. */
|
|
13018
13337
|
trending: {
|
|
@@ -14540,6 +14859,18 @@ declare function createThreadsNamespace(rb: RequestBuilder): {
|
|
|
14540
14859
|
search: (query: string, options?: RequestOptions) => Promise<ChatThread[]>;
|
|
14541
14860
|
};
|
|
14542
14861
|
|
|
14862
|
+
/** Parameters for requesting a presigned download URL. */
|
|
14863
|
+
interface RequestDownloadUrlParams {
|
|
14864
|
+
/** Time in seconds until the URL expires (default: 3600). */
|
|
14865
|
+
expires_in?: number;
|
|
14866
|
+
}
|
|
14867
|
+
/** Response from a presigned download URL request. */
|
|
14868
|
+
interface DownloadUrlResponse {
|
|
14869
|
+
/** The presigned download URL. */
|
|
14870
|
+
url: string;
|
|
14871
|
+
/** When the URL expires (ISO 8601). */
|
|
14872
|
+
expires_at: string;
|
|
14873
|
+
}
|
|
14543
14874
|
/** Response from a presigned upload request. */
|
|
14544
14875
|
interface PresignedUploadResponse {
|
|
14545
14876
|
url?: string;
|
|
@@ -14879,6 +15210,28 @@ declare function createStorageNamespace(rb: RequestBuilder): {
|
|
|
14879
15210
|
* @returns A promise resolving to an array of child `StorageFile` objects.
|
|
14880
15211
|
*/
|
|
14881
15212
|
listChildren: (parentId: string, options?: RequestOptions) => Promise<StorageFile[]>;
|
|
15213
|
+
/**
|
|
15214
|
+
* Generate a short-lived presigned download URL for a file.
|
|
15215
|
+
*
|
|
15216
|
+
* Returns a URL that can be used to download the file directly from
|
|
15217
|
+
* object storage (GCS in production, MinIO in dev) without routing
|
|
15218
|
+
* through the application server.
|
|
15219
|
+
*
|
|
15220
|
+
* @param id - The UUID of the file to download.
|
|
15221
|
+
* @param params - Optional parameters (e.g., custom `expires_in` seconds).
|
|
15222
|
+
* @param options - Optional request options (abort signal, custom headers).
|
|
15223
|
+
* @returns A promise resolving to the presigned URL and its expiry.
|
|
15224
|
+
*
|
|
15225
|
+
* @example
|
|
15226
|
+
* ```typescript
|
|
15227
|
+
* const { url, expires_at } = await client.storage.files.requestDownloadUrl(
|
|
15228
|
+
* 'file-uuid',
|
|
15229
|
+
* { expires_in: 300 }, // 5 minutes
|
|
15230
|
+
* );
|
|
15231
|
+
* // Redirect browser to `url` for direct download
|
|
15232
|
+
* ```
|
|
15233
|
+
*/
|
|
15234
|
+
requestDownloadUrl: (id: string, params?: RequestDownloadUrlParams, options?: RequestOptions) => Promise<DownloadUrlResponse>;
|
|
14882
15235
|
};
|
|
14883
15236
|
};
|
|
14884
15237
|
|
|
@@ -16143,34 +16496,54 @@ type CreateInvitationAttributes = {
|
|
|
16143
16496
|
};
|
|
16144
16497
|
/** Attributes accepted when creating a brand identity. */
|
|
16145
16498
|
type CreateBrandIdentityAttributes = {
|
|
16499
|
+
/** Required. Display name for this brand identity. */
|
|
16146
16500
|
name: string;
|
|
16501
|
+
/** Tenant UUID — required for tenant-scoped identities. */
|
|
16502
|
+
tenant_id: string;
|
|
16503
|
+
/** Optional workspace UUID — set for workspace-level overrides, omit for tenant-level. */
|
|
16147
16504
|
workspace_id?: string;
|
|
16148
|
-
|
|
16505
|
+
/** Brand voice description (e.g. "Professional but approachable"). */
|
|
16506
|
+
voice?: string;
|
|
16507
|
+
/** Brand values as an array of strings (e.g. ["innovation", "integrity"]). */
|
|
16508
|
+
values?: string[];
|
|
16509
|
+
/** Target audience description. */
|
|
16510
|
+
target_audience?: string;
|
|
16511
|
+
/** Industry vertical. */
|
|
16512
|
+
industry?: string;
|
|
16513
|
+
/** Brand website URL. */
|
|
16514
|
+
website_url?: string;
|
|
16515
|
+
/** Logo image URL. */
|
|
16149
16516
|
logo_url?: string;
|
|
16150
|
-
|
|
16151
|
-
|
|
16152
|
-
|
|
16153
|
-
accent_color?: string;
|
|
16154
|
-
font_family?: string;
|
|
16155
|
-
tagline?: string;
|
|
16517
|
+
/** Color palette map (e.g. { primary: "#0066CC", secondary: "#FF0000" }). */
|
|
16518
|
+
color_palette?: Record<string, string>;
|
|
16519
|
+
/** General description of this brand identity. */
|
|
16156
16520
|
description?: string;
|
|
16157
|
-
|
|
16521
|
+
/** Whether this is the default identity at its scope level. */
|
|
16522
|
+
is_default?: boolean;
|
|
16158
16523
|
};
|
|
16159
16524
|
/** Attributes accepted when updating a brand identity (PATCH semantics). */
|
|
16160
16525
|
type UpdateBrandIdentityAttributes = Partial<Omit<CreateBrandIdentityAttributes, "workspace_id" | "tenant_id">>;
|
|
16161
16526
|
/** Attributes accepted when creating a platform tone. */
|
|
16162
16527
|
type CreatePlatformToneAttributes = {
|
|
16163
|
-
|
|
16528
|
+
/** Required. Social platform this tone applies to. */
|
|
16529
|
+
platform: "facebook" | "instagram" | "threads" | "twitter" | "linkedin" | "reddit" | "bluesky";
|
|
16530
|
+
/** Required. Brand identity UUID this tone belongs to. */
|
|
16164
16531
|
brand_identity_id: string;
|
|
16165
|
-
|
|
16166
|
-
|
|
16167
|
-
|
|
16168
|
-
|
|
16169
|
-
|
|
16170
|
-
|
|
16532
|
+
/** Tone preset. Default: "casual". */
|
|
16533
|
+
tone?: "casual" | "professional" | "humorous" | "inspirational" | "educational" | "promotional";
|
|
16534
|
+
/** Emoji usage policy. Default: "minimal". */
|
|
16535
|
+
emoji_policy?: "none" | "minimal" | "moderate" | "heavy";
|
|
16536
|
+
/** Number of hashtags to include. Default: 5. */
|
|
16537
|
+
hashtag_count?: number;
|
|
16538
|
+
/** Maximum character length for posts on this platform. */
|
|
16539
|
+
max_length?: number;
|
|
16540
|
+
/** Call-to-action text to include in generated copy. */
|
|
16541
|
+
call_to_action?: string;
|
|
16542
|
+
/** Free-form instructions for AI content generation on this platform. */
|
|
16543
|
+
custom_instructions?: string;
|
|
16171
16544
|
};
|
|
16172
16545
|
/** Attributes accepted when updating a platform tone (PATCH semantics). */
|
|
16173
|
-
type UpdatePlatformToneAttributes = Partial<Omit<CreatePlatformToneAttributes, "brand_identity_id">>;
|
|
16546
|
+
type UpdatePlatformToneAttributes = Partial<Omit<CreatePlatformToneAttributes, "brand_identity_id" | "platform">>;
|
|
16174
16547
|
|
|
16175
16548
|
/**
|
|
16176
16549
|
* Creates the platform namespace providing access to workspace management,
|
|
@@ -19105,8 +19478,128 @@ declare function createExtractionNamespace(rb: RequestBuilder): {
|
|
|
19105
19478
|
*/
|
|
19106
19479
|
create: (workspaceId: string, documentId: string, attrs: CreateFieldMappingAttributes, options?: RequestOptions) => Promise<FieldMappingRecord>;
|
|
19107
19480
|
};
|
|
19481
|
+
/** Extraction agents — list and predict best extraction agents for documents. */
|
|
19482
|
+
extractionAgents: {
|
|
19483
|
+
/**
|
|
19484
|
+
* Lists all available extraction agents (system agents tagged with
|
|
19485
|
+
* "extraction" category).
|
|
19486
|
+
*
|
|
19487
|
+
* @param options - Optional request options (abort signal, custom headers).
|
|
19488
|
+
* @returns An array of extraction agent objects.
|
|
19489
|
+
*
|
|
19490
|
+
* @example
|
|
19491
|
+
* ```typescript
|
|
19492
|
+
* const agents = await client.extraction.extractionAgents.list();
|
|
19493
|
+
* ```
|
|
19494
|
+
*/
|
|
19495
|
+
list: (options?: RequestOptions) => Promise<ExtractionAgent[]>;
|
|
19496
|
+
/**
|
|
19497
|
+
* Retrieves a single extraction agent by its unique identifier.
|
|
19498
|
+
*
|
|
19499
|
+
* @param id - The UUID of the extraction agent.
|
|
19500
|
+
* @param options - Optional request options (abort signal, custom headers).
|
|
19501
|
+
* @returns The matching extraction agent object.
|
|
19502
|
+
*
|
|
19503
|
+
* @example
|
|
19504
|
+
* ```typescript
|
|
19505
|
+
* const agent = await client.extraction.extractionAgents.get('agent-uuid');
|
|
19506
|
+
* ```
|
|
19507
|
+
*/
|
|
19508
|
+
get: (id: string, options?: RequestOptions) => Promise<ExtractionAgent>;
|
|
19509
|
+
/**
|
|
19510
|
+
* Predicts the best extraction agent for a given document based on its
|
|
19511
|
+
* name, description, or file content.
|
|
19512
|
+
*
|
|
19513
|
+
* @param attributes - Prediction input (name, description, file_content, document_id).
|
|
19514
|
+
* @param options - Optional request options (abort signal, custom headers).
|
|
19515
|
+
* @returns A prediction result with recommended agents.
|
|
19516
|
+
*
|
|
19517
|
+
* @example
|
|
19518
|
+
* ```typescript
|
|
19519
|
+
* const prediction = await client.extraction.extractionAgents.predict({
|
|
19520
|
+
* name: 'invoice.pdf',
|
|
19521
|
+
* file_content: 'Invoice #12345...',
|
|
19522
|
+
* });
|
|
19523
|
+
* ```
|
|
19524
|
+
*/
|
|
19525
|
+
predict: (attributes: {
|
|
19526
|
+
name?: string;
|
|
19527
|
+
description?: string;
|
|
19528
|
+
file_content?: string;
|
|
19529
|
+
document_id?: string;
|
|
19530
|
+
[key: string]: unknown;
|
|
19531
|
+
}, options?: RequestOptions) => Promise<unknown>;
|
|
19532
|
+
};
|
|
19533
|
+
/** Training analytics — workspace-level extraction training metrics. */
|
|
19534
|
+
trainingAnalytics: {
|
|
19535
|
+
/**
|
|
19536
|
+
* Retrieves training analytics for a specific workspace, including
|
|
19537
|
+
* accuracy trends, correction counts, and low-confidence documents.
|
|
19538
|
+
*
|
|
19539
|
+
* @param workspaceId - The UUID of the workspace.
|
|
19540
|
+
* @param options - Optional request options (abort signal, custom headers).
|
|
19541
|
+
* @returns The training analytics object for the workspace.
|
|
19542
|
+
*
|
|
19543
|
+
* @example
|
|
19544
|
+
* ```typescript
|
|
19545
|
+
* const analytics = await client.extraction.trainingAnalytics.forWorkspace('ws-uuid');
|
|
19546
|
+
* console.log(analytics.avg_confidence, analytics.total_examples);
|
|
19547
|
+
* ```
|
|
19548
|
+
*/
|
|
19549
|
+
forWorkspace: (workspaceId: string, options?: RequestOptions) => Promise<TrainingAnalytics>;
|
|
19550
|
+
};
|
|
19108
19551
|
};
|
|
19109
19552
|
|
|
19553
|
+
/** Parameters for generating a PDF from HTML. */
|
|
19554
|
+
interface GeneratePdfParams {
|
|
19555
|
+
/** HTML content to convert to PDF (max 2MB). */
|
|
19556
|
+
html: string;
|
|
19557
|
+
/** Output filename (default: "document.pdf"). */
|
|
19558
|
+
filename?: string;
|
|
19559
|
+
/**
|
|
19560
|
+
* When true, stores the PDF in platform Storage and returns a storage_key.
|
|
19561
|
+
* When false, returns the PDF as base64-encoded string.
|
|
19562
|
+
* Default: false.
|
|
19563
|
+
*/
|
|
19564
|
+
store?: boolean;
|
|
19565
|
+
/** Workspace ID — required when store is true. */
|
|
19566
|
+
workspace_id?: string;
|
|
19567
|
+
}
|
|
19568
|
+
/** Response when store is true. */
|
|
19569
|
+
interface GeneratePdfStoredResponse {
|
|
19570
|
+
storage_key: string;
|
|
19571
|
+
/** UUID of the StorageFile record. Use with `storage.files.requestDownloadUrl(file_id)` to get a presigned download URL. */
|
|
19572
|
+
file_id: string;
|
|
19573
|
+
}
|
|
19574
|
+
/** Union response from generatePdf (when store is true or omitted with workspace_id). */
|
|
19575
|
+
type GeneratePdfResponse = GeneratePdfStoredResponse;
|
|
19576
|
+
/** Parameters for generating a PDF and emailing it. */
|
|
19577
|
+
interface EmailReportParams {
|
|
19578
|
+
/** HTML content to convert to PDF (max 2MB). */
|
|
19579
|
+
html: string;
|
|
19580
|
+
/** Recipient email address. */
|
|
19581
|
+
to: string;
|
|
19582
|
+
/** Email subject line. */
|
|
19583
|
+
subject: string;
|
|
19584
|
+
/** HTML body for the email (default: generic attachment note). */
|
|
19585
|
+
body_html?: string;
|
|
19586
|
+
/** PDF attachment filename (default: "report.pdf"). */
|
|
19587
|
+
filename?: string;
|
|
19588
|
+
/** Also store the PDF in platform Storage. */
|
|
19589
|
+
store?: boolean;
|
|
19590
|
+
/** Workspace ID — required when store is true. */
|
|
19591
|
+
workspace_id?: string;
|
|
19592
|
+
}
|
|
19593
|
+
/** Response from emailReport. */
|
|
19594
|
+
interface EmailReportResponse {
|
|
19595
|
+
/** Whether the email was sent successfully. */
|
|
19596
|
+
sent: boolean;
|
|
19597
|
+
/** Storage key if store was true, null otherwise. */
|
|
19598
|
+
storage_key: string | null;
|
|
19599
|
+
/** Error message if storage failed (email still sent). */
|
|
19600
|
+
storage_error?: string;
|
|
19601
|
+
}
|
|
19602
|
+
|
|
19110
19603
|
/** Attributes accepted when creating a new support ticket. */
|
|
19111
19604
|
type CreateSupportTicketAttributes = {
|
|
19112
19605
|
workspace_id: string;
|
|
@@ -25387,6 +25880,32 @@ type ActivityFeedParams = {
|
|
|
25387
25880
|
offset?: number;
|
|
25388
25881
|
};
|
|
25389
25882
|
|
|
25883
|
+
/**
|
|
25884
|
+
* Utility type for JSON:API resource flattening.
|
|
25885
|
+
*
|
|
25886
|
+
* The SDK runtime unwraps JSON:API envelopes via `flattenResource()`:
|
|
25887
|
+
* { id, type, attributes: { a, b }, relationships: { r } } → { id, type, a, b, r }
|
|
25888
|
+
*
|
|
25889
|
+
* Generated types in `_internal/types.gen.ts` keep the nested envelope shape.
|
|
25890
|
+
* `FlatResource<T>` mirrors the runtime flattening at the type level so namespace
|
|
25891
|
+
* method return types match what callers actually receive.
|
|
25892
|
+
*
|
|
25893
|
+
* @example
|
|
25894
|
+
* ```ts
|
|
25895
|
+
* import type { ClinicalMealPlan } from "./_internal/types.gen";
|
|
25896
|
+
* import type { FlatResource } from "./json-api";
|
|
25897
|
+
*
|
|
25898
|
+
* type MealPlan = FlatResource<ClinicalMealPlan>;
|
|
25899
|
+
* // MealPlan.status works directly — no .attributes?.status
|
|
25900
|
+
* ```
|
|
25901
|
+
*/
|
|
25902
|
+
type FlatResource<T> = T extends {
|
|
25903
|
+
id: string;
|
|
25904
|
+
type: string;
|
|
25905
|
+
attributes?: infer A;
|
|
25906
|
+
relationships?: infer R;
|
|
25907
|
+
} ? Omit<T, "attributes" | "relationships"> & (NonNullable<A> extends Record<string, unknown> ? NonNullable<A> : {}) & (NonNullable<R> extends Record<string, unknown> ? NonNullable<R> : {}) : T;
|
|
25908
|
+
|
|
25390
25909
|
/**
|
|
25391
25910
|
* Clinical namespace for the GPT Platform Client SDK.
|
|
25392
25911
|
* Covers patients, sessions, notes, health metrics, meal plans,
|
|
@@ -25394,6 +25913,22 @@ type ActivityFeedParams = {
|
|
|
25394
25913
|
* practice tools, client resource assignments, and supplement caches.
|
|
25395
25914
|
*/
|
|
25396
25915
|
|
|
25916
|
+
type ClinicalClientGoal = FlatResource<ClinicalClientGoal$1>;
|
|
25917
|
+
type ClinicalClientResourceAssignment = FlatResource<ClinicalClientResourceAssignment$1>;
|
|
25918
|
+
type ClinicalClientMedication = FlatResource<ClinicalClientMedication$1>;
|
|
25919
|
+
type ClinicalClientSupplement = FlatResource<ClinicalClientSupplement$1>;
|
|
25920
|
+
type ClinicalDelivery = FlatResource<ClinicalDelivery$1>;
|
|
25921
|
+
type ClinicalGoalTemplate = FlatResource<ClinicalGoalTemplate$1>;
|
|
25922
|
+
type ClinicalGoalTemplateCategory = FlatResource<ClinicalGoalTemplateCategory$1>;
|
|
25923
|
+
type ClinicalHealthMetric = FlatResource<ClinicalHealthMetric$1>;
|
|
25924
|
+
type ClinicalMealPlan = FlatResource<ClinicalMealPlan$1>;
|
|
25925
|
+
type ClinicalNote = FlatResource<ClinicalNote$1>;
|
|
25926
|
+
type ClinicalNoteVersion = FlatResource<ClinicalNoteVersion$1>;
|
|
25927
|
+
type ClinicalPatient = FlatResource<ClinicalPatient$1>;
|
|
25928
|
+
type ClinicalPracticeResource = FlatResource<ClinicalPracticeResource$1>;
|
|
25929
|
+
type ClinicalPracticeTool = FlatResource<ClinicalPracticeTool$1>;
|
|
25930
|
+
type ClinicalSession = FlatResource<ClinicalSession$1>;
|
|
25931
|
+
type ClinicalSupplementRecCache = FlatResource<ClinicalSupplementRecCache$1>;
|
|
25397
25932
|
interface CreateClinicalPatientAttributes {
|
|
25398
25933
|
workspace_id: string;
|
|
25399
25934
|
contact_id?: string;
|
|
@@ -25402,6 +25937,34 @@ interface CreateClinicalPatientAttributes {
|
|
|
25402
25937
|
timezone?: string;
|
|
25403
25938
|
state?: string;
|
|
25404
25939
|
tags?: string[];
|
|
25940
|
+
date_of_birth?: string;
|
|
25941
|
+
sex?: string;
|
|
25942
|
+
height_inches?: number;
|
|
25943
|
+
weight_lbs?: number;
|
|
25944
|
+
goal_weight_lbs?: number;
|
|
25945
|
+
activity_level?: string;
|
|
25946
|
+
eating_style?: string[];
|
|
25947
|
+
meals_per_day?: number;
|
|
25948
|
+
snacks_per_day?: number;
|
|
25949
|
+
conditions?: string[];
|
|
25950
|
+
food_aversions?: string[];
|
|
25951
|
+
food_allergies?: string[];
|
|
25952
|
+
food_preferences?: string[];
|
|
25953
|
+
target_calories_override?: number;
|
|
25954
|
+
protein_pct?: number;
|
|
25955
|
+
carbs_pct?: number;
|
|
25956
|
+
fat_pct?: number;
|
|
25957
|
+
protein_unit?: string;
|
|
25958
|
+
protein_per_weight?: number;
|
|
25959
|
+
followup_interval_value?: number;
|
|
25960
|
+
followup_interval_unit?: string;
|
|
25961
|
+
primary_insurance?: string;
|
|
25962
|
+
diagnosis_codes?: string[];
|
|
25963
|
+
referring_physician_name?: string;
|
|
25964
|
+
referring_physician_phone?: string;
|
|
25965
|
+
referring_physician_fax?: string;
|
|
25966
|
+
profile_data?: Record<string, unknown>;
|
|
25967
|
+
external_ids?: Record<string, string>;
|
|
25405
25968
|
metadata?: Record<string, unknown>;
|
|
25406
25969
|
}
|
|
25407
25970
|
interface UpdateClinicalPatientAttributes {
|
|
@@ -25411,8 +25974,34 @@ interface UpdateClinicalPatientAttributes {
|
|
|
25411
25974
|
timezone?: string;
|
|
25412
25975
|
state?: string;
|
|
25413
25976
|
tags?: string[];
|
|
25977
|
+
date_of_birth?: string;
|
|
25978
|
+
sex?: string;
|
|
25979
|
+
height_inches?: number;
|
|
25980
|
+
weight_lbs?: number;
|
|
25981
|
+
goal_weight_lbs?: number;
|
|
25982
|
+
activity_level?: string;
|
|
25983
|
+
eating_style?: string[];
|
|
25984
|
+
meals_per_day?: number;
|
|
25985
|
+
snacks_per_day?: number;
|
|
25986
|
+
conditions?: string[];
|
|
25987
|
+
food_aversions?: string[];
|
|
25988
|
+
food_allergies?: string[];
|
|
25989
|
+
food_preferences?: string[];
|
|
25990
|
+
target_calories_override?: number;
|
|
25991
|
+
protein_pct?: number;
|
|
25992
|
+
carbs_pct?: number;
|
|
25993
|
+
fat_pct?: number;
|
|
25994
|
+
protein_unit?: string;
|
|
25995
|
+
protein_per_weight?: number;
|
|
25414
25996
|
followup_interval_value?: number;
|
|
25415
25997
|
followup_interval_unit?: string;
|
|
25998
|
+
primary_insurance?: string;
|
|
25999
|
+
diagnosis_codes?: string[];
|
|
26000
|
+
referring_physician_name?: string;
|
|
26001
|
+
referring_physician_phone?: string;
|
|
26002
|
+
referring_physician_fax?: string;
|
|
26003
|
+
profile_data?: Record<string, unknown>;
|
|
26004
|
+
external_ids?: Record<string, string>;
|
|
25416
26005
|
metadata?: Record<string, unknown>;
|
|
25417
26006
|
}
|
|
25418
26007
|
interface CreateClinicalSessionAttributes {
|
|
@@ -25603,6 +26192,58 @@ interface UpdateClientSupplementAttributes {
|
|
|
25603
26192
|
source?: string;
|
|
25604
26193
|
fullscript_treatment_plan_id?: string;
|
|
25605
26194
|
}
|
|
26195
|
+
interface CreateClientMedicationAttributes {
|
|
26196
|
+
workspace_id: string;
|
|
26197
|
+
patient_id: string;
|
|
26198
|
+
status?: "active" | "discontinued" | "on_hold" | "pending_review";
|
|
26199
|
+
name: string;
|
|
26200
|
+
generic_name?: string;
|
|
26201
|
+
ndc_code?: string;
|
|
26202
|
+
dosage?: string;
|
|
26203
|
+
frequency?: string;
|
|
26204
|
+
instructions?: string;
|
|
26205
|
+
route?: string;
|
|
26206
|
+
prescriber_name?: string;
|
|
26207
|
+
prescriber_npi?: string;
|
|
26208
|
+
pharmacy_name?: string;
|
|
26209
|
+
pharmacy_phone?: string;
|
|
26210
|
+
prescribed_at?: string;
|
|
26211
|
+
start_date?: string;
|
|
26212
|
+
end_date?: string;
|
|
26213
|
+
refill_date?: string;
|
|
26214
|
+
refills_remaining?: number;
|
|
26215
|
+
indication?: string;
|
|
26216
|
+
clinical_notes?: string;
|
|
26217
|
+
source?: string;
|
|
26218
|
+
interaction_flags?: string[];
|
|
26219
|
+
external_ids?: Record<string, string>;
|
|
26220
|
+
metadata?: Record<string, unknown>;
|
|
26221
|
+
}
|
|
26222
|
+
interface UpdateClientMedicationAttributes {
|
|
26223
|
+
status?: "active" | "discontinued" | "on_hold" | "pending_review";
|
|
26224
|
+
name?: string;
|
|
26225
|
+
generic_name?: string;
|
|
26226
|
+
ndc_code?: string;
|
|
26227
|
+
dosage?: string;
|
|
26228
|
+
frequency?: string;
|
|
26229
|
+
instructions?: string;
|
|
26230
|
+
route?: string;
|
|
26231
|
+
prescriber_name?: string;
|
|
26232
|
+
prescriber_npi?: string;
|
|
26233
|
+
pharmacy_name?: string;
|
|
26234
|
+
pharmacy_phone?: string;
|
|
26235
|
+
prescribed_at?: string;
|
|
26236
|
+
start_date?: string;
|
|
26237
|
+
end_date?: string;
|
|
26238
|
+
refill_date?: string;
|
|
26239
|
+
refills_remaining?: number;
|
|
26240
|
+
indication?: string;
|
|
26241
|
+
clinical_notes?: string;
|
|
26242
|
+
source?: string;
|
|
26243
|
+
interaction_flags?: string[];
|
|
26244
|
+
external_ids?: Record<string, string>;
|
|
26245
|
+
metadata?: Record<string, unknown>;
|
|
26246
|
+
}
|
|
25606
26247
|
interface CreateDeliveryAttributes {
|
|
25607
26248
|
workspace_id: string;
|
|
25608
26249
|
patient_id: string;
|
|
@@ -26086,6 +26727,14 @@ declare function createClinicalNamespace(rb: RequestBuilder): {
|
|
|
26086
26727
|
* @returns Array of {@link ClinicalClientSupplement} records
|
|
26087
26728
|
*/
|
|
26088
26729
|
supplements: (patientId: string, options?: RequestOptions) => Promise<ClinicalClientSupplement[]>;
|
|
26730
|
+
/**
|
|
26731
|
+
* List medications for a patient (related resource).
|
|
26732
|
+
*
|
|
26733
|
+
* @param patientId - Patient UUID or CRM Contact UUID
|
|
26734
|
+
* @param options - Request options
|
|
26735
|
+
* @returns Array of {@link ClinicalClientMedication} records
|
|
26736
|
+
*/
|
|
26737
|
+
medications: (patientId: string, options?: RequestOptions) => Promise<ClinicalClientMedication[]>;
|
|
26089
26738
|
/**
|
|
26090
26739
|
* List resource assignments for a patient (related resource).
|
|
26091
26740
|
*
|
|
@@ -26765,6 +27414,112 @@ declare function createClinicalNamespace(rb: RequestBuilder): {
|
|
|
26765
27414
|
error?: string;
|
|
26766
27415
|
}>>;
|
|
26767
27416
|
};
|
|
27417
|
+
/**
|
|
27418
|
+
* Manage medication prescriptions for clinical patients.
|
|
27419
|
+
*/
|
|
27420
|
+
clientMedications: {
|
|
27421
|
+
/**
|
|
27422
|
+
* List medication prescriptions, filtered by patient/workspace.
|
|
27423
|
+
*
|
|
27424
|
+
* @param params - Filter/pagination parameters
|
|
27425
|
+
* @param options - Request options
|
|
27426
|
+
* @returns Array of {@link ClinicalClientMedication} records
|
|
27427
|
+
*/
|
|
27428
|
+
list: (params?: ClinicalListParams, options?: RequestOptions) => Promise<ClinicalClientMedication[]>;
|
|
27429
|
+
/**
|
|
27430
|
+
* Get a single medication prescription by ID.
|
|
27431
|
+
*
|
|
27432
|
+
* @param id - ClientMedication UUID
|
|
27433
|
+
* @param options - Request options
|
|
27434
|
+
* @returns {@link ClinicalClientMedication} record
|
|
27435
|
+
*/
|
|
27436
|
+
get: (id: string, options?: RequestOptions) => Promise<ClinicalClientMedication>;
|
|
27437
|
+
/**
|
|
27438
|
+
* Create a new medication prescription.
|
|
27439
|
+
*
|
|
27440
|
+
* @param attributes - Medication creation attributes. Must include `workspace_id`,
|
|
27441
|
+
* `patient_id`, and `name`.
|
|
27442
|
+
* @param options - Request options
|
|
27443
|
+
* @returns Created {@link ClinicalClientMedication} record
|
|
27444
|
+
*/
|
|
27445
|
+
create: (attributes: CreateClientMedicationAttributes, options?: RequestOptions) => Promise<ClinicalClientMedication>;
|
|
27446
|
+
/**
|
|
27447
|
+
* Update a medication prescription.
|
|
27448
|
+
*
|
|
27449
|
+
* @param id - ClientMedication UUID
|
|
27450
|
+
* @param attributes - Fields to update (PATCH semantics)
|
|
27451
|
+
* @param options - Request options
|
|
27452
|
+
* @returns Updated {@link ClinicalClientMedication} record
|
|
27453
|
+
*/
|
|
27454
|
+
update: (id: string, attributes: UpdateClientMedicationAttributes, options?: RequestOptions) => Promise<ClinicalClientMedication>;
|
|
27455
|
+
/**
|
|
27456
|
+
* Delete (archive) a medication prescription.
|
|
27457
|
+
*
|
|
27458
|
+
* @deprecated Use {@link archive} instead.
|
|
27459
|
+
* @param id - ClientMedication UUID
|
|
27460
|
+
* @param options - Request options
|
|
27461
|
+
* @returns Archived {@link ClinicalClientMedication} record
|
|
27462
|
+
*/
|
|
27463
|
+
delete: (id: string, options?: RequestOptions) => Promise<ClinicalClientMedication>;
|
|
27464
|
+
/**
|
|
27465
|
+
* Archive (soft-delete) a medication prescription.
|
|
27466
|
+
*
|
|
27467
|
+
* @param id - ClientMedication UUID
|
|
27468
|
+
* @param options - Request options
|
|
27469
|
+
* @returns Archived {@link ClinicalClientMedication} record
|
|
27470
|
+
*/
|
|
27471
|
+
archive: (id: string, options?: RequestOptions) => Promise<ClinicalClientMedication>;
|
|
27472
|
+
/**
|
|
27473
|
+
* Restore an archived medication prescription.
|
|
27474
|
+
*
|
|
27475
|
+
* @param id - ClientMedication UUID
|
|
27476
|
+
* @param options - Request options
|
|
27477
|
+
* @returns Restored {@link ClinicalClientMedication} record
|
|
27478
|
+
*/
|
|
27479
|
+
restore: (id: string, options?: RequestOptions) => Promise<ClinicalClientMedication>;
|
|
27480
|
+
/**
|
|
27481
|
+
* Permanently delete a medication prescription. Irreversible.
|
|
27482
|
+
*
|
|
27483
|
+
* @param id - ClientMedication UUID
|
|
27484
|
+
* @param options - Request options
|
|
27485
|
+
* @returns `true` on success
|
|
27486
|
+
*/
|
|
27487
|
+
permanentDelete: (id: string, options?: RequestOptions) => Promise<true>;
|
|
27488
|
+
/**
|
|
27489
|
+
* List archived (soft-deleted) medication prescriptions.
|
|
27490
|
+
*
|
|
27491
|
+
* @param params - Filter/pagination parameters
|
|
27492
|
+
* @param options - Request options
|
|
27493
|
+
* @returns Array of archived {@link ClinicalClientMedication} records
|
|
27494
|
+
*/
|
|
27495
|
+
listArchived: (params?: ClinicalListParams, options?: RequestOptions) => Promise<ClinicalClientMedication[]>;
|
|
27496
|
+
/**
|
|
27497
|
+
* Create multiple medications in a single request.
|
|
27498
|
+
*
|
|
27499
|
+
* @param attrs - Bulk creation attributes with workspace_id and medications array
|
|
27500
|
+
* @param options - Request options
|
|
27501
|
+
* @returns Array of creation results with id and status per medication
|
|
27502
|
+
*
|
|
27503
|
+
* @example
|
|
27504
|
+
* ```typescript
|
|
27505
|
+
* const results = await client.clinical.clientMedications.bulkCreate({
|
|
27506
|
+
* workspace_id: 'ws_123',
|
|
27507
|
+
* medications: [
|
|
27508
|
+
* { patient_id: 'pat_1', name: 'Metformin', source: 'ehr_import' },
|
|
27509
|
+
* { patient_id: 'pat_1', name: 'Lisinopril', source: 'ehr_import' },
|
|
27510
|
+
* ],
|
|
27511
|
+
* });
|
|
27512
|
+
* ```
|
|
27513
|
+
*/
|
|
27514
|
+
bulkCreate: (attrs: {
|
|
27515
|
+
workspace_id: string;
|
|
27516
|
+
medications: Array<Omit<CreateClientMedicationAttributes, "workspace_id">>;
|
|
27517
|
+
}, options?: RequestOptions) => Promise<Array<{
|
|
27518
|
+
id?: string;
|
|
27519
|
+
status: string;
|
|
27520
|
+
error?: string;
|
|
27521
|
+
}>>;
|
|
27522
|
+
};
|
|
26768
27523
|
/**
|
|
26769
27524
|
* Manage clinical deliveries (care plan items sent to patients).
|
|
26770
27525
|
*/
|
|
@@ -28746,6 +29501,11 @@ declare class GptClient extends BaseClient {
|
|
|
28746
29501
|
delete: (id: string, options?: RequestOptions) => Promise<true>;
|
|
28747
29502
|
};
|
|
28748
29503
|
};
|
|
29504
|
+
/** HTML→PDF generation and report delivery */
|
|
29505
|
+
readonly documents: {
|
|
29506
|
+
generatePdf: (params: GeneratePdfParams, options?: RequestOptions) => Promise<GeneratePdfResponse>;
|
|
29507
|
+
emailReport: (params: EmailReportParams, options?: RequestOptions) => Promise<EmailReportResponse>;
|
|
29508
|
+
};
|
|
28749
29509
|
/** Document upload, processing, results, and exports */
|
|
28750
29510
|
readonly extraction: {
|
|
28751
29511
|
documents: {
|
|
@@ -28825,6 +29585,20 @@ declare class GptClient extends BaseClient {
|
|
|
28825
29585
|
get: (workspaceId: string, documentId: string, options?: RequestOptions) => Promise<FieldMappingRecord>;
|
|
28826
29586
|
create: (workspaceId: string, documentId: string, attrs: CreateFieldMappingAttributes, options?: RequestOptions) => Promise<FieldMappingRecord>;
|
|
28827
29587
|
};
|
|
29588
|
+
extractionAgents: {
|
|
29589
|
+
list: (options?: RequestOptions) => Promise<ExtractionAgent[]>;
|
|
29590
|
+
get: (id: string, options?: RequestOptions) => Promise<ExtractionAgent>;
|
|
29591
|
+
predict: (attributes: {
|
|
29592
|
+
name?: string;
|
|
29593
|
+
description?: string;
|
|
29594
|
+
file_content?: string;
|
|
29595
|
+
document_id?: string;
|
|
29596
|
+
[key: string]: unknown;
|
|
29597
|
+
}, options?: RequestOptions) => Promise<unknown>;
|
|
29598
|
+
};
|
|
29599
|
+
trainingAnalytics: {
|
|
29600
|
+
forWorkspace: (workspaceId: string, options?: RequestOptions) => Promise<TrainingAnalytics>;
|
|
29601
|
+
};
|
|
28828
29602
|
};
|
|
28829
29603
|
/** User authentication, profiles, and API key management */
|
|
28830
29604
|
readonly identity: {
|
|
@@ -29234,6 +30008,7 @@ declare class GptClient extends BaseClient {
|
|
|
29234
30008
|
updateMetadata: (id: string, newMetadata: Record<string, unknown>, options?: RequestOptions) => Promise<StorageFile>;
|
|
29235
30009
|
byChecksum: (checksum: string, options?: RequestOptions) => Promise<StorageFile[]>;
|
|
29236
30010
|
listChildren: (parentId: string, options?: RequestOptions) => Promise<StorageFile[]>;
|
|
30011
|
+
requestDownloadUrl: (id: string, params?: RequestDownloadUrlParams, options?: RequestOptions) => Promise<DownloadUrlResponse>;
|
|
29237
30012
|
};
|
|
29238
30013
|
};
|
|
29239
30014
|
/** Conversation threads, messaging, and thread management */
|
|
@@ -29468,6 +30243,7 @@ declare class GptClient extends BaseClient {
|
|
|
29468
30243
|
cancel: (id: string, options?: RequestOptions) => Promise<unknown>;
|
|
29469
30244
|
generateMasterCopy: (id: string, workspaceId: string, options?: RequestOptions) => Promise<unknown>;
|
|
29470
30245
|
adaptForPlatforms: (id: string, workspaceId: string, socialAccountId: string, options?: RequestOptions) => Promise<unknown>;
|
|
30246
|
+
previewAdaptations: (id: string, workspaceId: string, options?: RequestOptions) => Promise<unknown>;
|
|
29471
30247
|
};
|
|
29472
30248
|
trending: {
|
|
29473
30249
|
get: (id: string, options?: RequestOptions) => Promise<unknown>;
|
|
@@ -29571,9 +30347,27 @@ declare class GptClient extends BaseClient {
|
|
|
29571
30347
|
data: CrmCluster[];
|
|
29572
30348
|
}>;
|
|
29573
30349
|
};
|
|
30350
|
+
/** Pipeline execution polling and HITL checkpoint management */
|
|
30351
|
+
readonly pipelineExecutions: {
|
|
30352
|
+
get(id: string, options?: RequestOptions): Promise<PipelineExecution>;
|
|
30353
|
+
list(workspaceId: string, filters?: {
|
|
30354
|
+
status?: PipelineExecutionStatus;
|
|
30355
|
+
pipeline_id?: string;
|
|
30356
|
+
}, options?: RequestOptions): Promise<PipelineExecution[]>;
|
|
30357
|
+
listByPipeline(pipelineId: string, options?: RequestOptions): Promise<PipelineExecution[]>;
|
|
30358
|
+
approve(id: string, options?: RequestOptions): Promise<PipelineExecution>;
|
|
30359
|
+
reject(id: string, options?: RequestOptions): Promise<PipelineExecution>;
|
|
30360
|
+
updateCheckpoint(id: string, attributes: UpdateCheckpointAttributes, options?: RequestOptions): Promise<PipelineExecution>;
|
|
30361
|
+
addNote(id: string, note: string, options?: RequestOptions): Promise<PipelineExecution>;
|
|
30362
|
+
aiRefine(id: string, nodeId: string, instruction: string, options?: RequestOptions): Promise<PipelineExecution>;
|
|
30363
|
+
};
|
|
29574
30364
|
/** Pipeline trigger — execute multi-node agent pipelines */
|
|
29575
30365
|
readonly pipelines: {
|
|
29576
|
-
|
|
30366
|
+
list(options?: RequestOptions): Promise<Pipeline[]>;
|
|
30367
|
+
get(id: string, options?: RequestOptions): Promise<Pipeline>;
|
|
30368
|
+
getBySlug(slug: string, options?: RequestOptions): Promise<Pipeline>;
|
|
30369
|
+
trigger(id: string, attributes: TriggerPipelineAttributes, options?: RequestOptions): Promise<PipelineTriggerResponse>;
|
|
30370
|
+
dryRun(id: string, attributes: DryRunAttributes, options?: RequestOptions): Promise<DryRunResponse>;
|
|
29577
30371
|
};
|
|
29578
30372
|
/** Access grants — workspace and tenant role assignments (ReBAC) */
|
|
29579
30373
|
readonly accessGrants: {
|
|
@@ -29610,9 +30404,7 @@ declare class GptClient extends BaseClient {
|
|
|
29610
30404
|
};
|
|
29611
30405
|
documentSections: {
|
|
29612
30406
|
list: (params?: {
|
|
29613
|
-
page
|
|
29614
|
-
/** Contacts, companies, deals, activities, pipelines, relationships, and custom entities */
|
|
29615
|
-
? /** Contacts, companies, deals, activities, pipelines, relationships, and custom entities */: number;
|
|
30407
|
+
page?: number;
|
|
29616
30408
|
pageSize?: number;
|
|
29617
30409
|
}, options?: RequestOptions) => Promise<DocumentSection[]>;
|
|
29618
30410
|
get: (id: string, options?: RequestOptions) => Promise<DocumentSection>;
|
|
@@ -29640,7 +30432,7 @@ declare class GptClient extends BaseClient {
|
|
|
29640
30432
|
upload: (file: File | Blob, params: {
|
|
29641
30433
|
adapter: string;
|
|
29642
30434
|
workspace_id: string;
|
|
29643
|
-
column_mapping
|
|
30435
|
+
column_mapping? /** Wallet, plans, transactions, and payment methods */: Record<string, string>;
|
|
29644
30436
|
metadata?: Record<string, unknown>;
|
|
29645
30437
|
}, options?: RequestOptions) => Promise<{
|
|
29646
30438
|
data: {
|
|
@@ -29930,6 +30722,7 @@ type CampaignsAPI = ReturnType<typeof createCampaignsNamespace>;
|
|
|
29930
30722
|
type EmailAPI = ReturnType<typeof createEmailNamespace>;
|
|
29931
30723
|
type AgentsAPI = ReturnType<typeof createAgentsNamespace>;
|
|
29932
30724
|
type StorageAPI = ReturnType<typeof createStorageNamespace>;
|
|
30725
|
+
|
|
29933
30726
|
type AiAPI = ReturnType<typeof createAiNamespace>;
|
|
29934
30727
|
type PlatformAPI = ReturnType<typeof createPlatformNamespace>;
|
|
29935
30728
|
type SchedulingAPI = ReturnType<typeof createSchedulingNamespace>;
|
|
@@ -29938,4 +30731,4 @@ type SocialAPI = ReturnType<typeof createSocialNamespace>;
|
|
|
29938
30731
|
type ModelsAPI = ReturnType<typeof createModelsNamespace>;
|
|
29939
30732
|
type MemoryAPI = ReturnType<typeof createMemoryNamespace>;
|
|
29940
30733
|
|
|
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 };
|
|
30734
|
+
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 BeginUploadAttributes, type BillingAPI, type BillingAccount, BrowserApiKeyError, type BulkOperationResult, type BulkReprocessResult, 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 CreateExtractionBatchAttributes, type CreateExtractionExportAttributes, type CreateFieldMappingAttributes, type CreateFieldTemplateAttributes, type CreateLabelInput, type CreateMilestoneInput, type CreateProjectInput, type CreateSchemaDiscoveryAttributes, type CreateTaskInput, type CreateTestResultAttributes, type CreateThreadAttributes, type CreateTimeEntryInput, type CreditPackage, DEFAULT_API_VERSION, DEFAULT_RETRY_CONFIG, type DecomposedPlan, type DismissAllTrainedResult, type DocumentSection, type DocumentStatsResponse, type DocumentStatusResponse, type DoneEvent, type DownloadUrlResponse, type DryRunAttributes, type DryRunResponse, type EmailAPI, type ErrorEvent, type Execution, type ExecutionEvent, type ExtractionAPI, type ExtractionExportRecord, type ExtractionPresignedUploadAttributes, type ExtractionPresignedUploadResponse, type ExtractionRowQueryParams, type ExtractionRowQueryResult, type FeatureDefinition, type FeatureSummary, type FeatureUsage, type FieldMappingRecord, type FieldTemplateRecord, type FindOrBeginUploadAttributes, type FlatResource, 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 Pipeline, type PipelineExecution, type PipelineExecutionStatus, type PipelineTriggerResponse, 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, type RegenerateResultAttributes, RequestBuilder, type RequestDownloadUrlParams, type RequestOptions, type RetryConfig, RetryTimeoutError, SDK_VERSION, type SaveCorrectionsAttributes, type SchedulingAPI, type SchemaDiscoveryRecord, 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 UpdateCheckpointAttributes, type UpdateExtractionResultAttributes, type UpdateFeatureDefinitionAttributes, type UpdateMemberInput, type UpdateMessageAttributes, type UpdateProjectInput, type UpdateThreadAttributes, type UpdateVerificationAttributes, 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 };
|