@gpt-platform/client 0.10.4 → 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 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.4";
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
 
@@ -7537,6 +7537,18 @@ type ClinicalPatient$1 = {
7537
7537
  type: string;
7538
7538
  }>;
7539
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
+ };
7540
7552
  notes?: {
7541
7553
  /**
7542
7554
  * Relationship data for notes
@@ -9854,6 +9866,117 @@ type ClinicalHealthMetric$1 = {
9854
9866
  };
9855
9867
  type: string;
9856
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
+ };
9857
9980
  /**
9858
9981
  * A "Resource object" representing a training-session
9859
9982
  */
@@ -12310,6 +12433,72 @@ interface TriggerPipelineAttributes {
12310
12433
  /** Input data passed to the first pipeline node. */
12311
12434
  input?: Record<string, unknown>;
12312
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
+ }
12313
12502
 
12314
12503
  interface ClusterMember {
12315
12504
  id: string;
@@ -25726,6 +25915,7 @@ type FlatResource<T> = T extends {
25726
25915
 
25727
25916
  type ClinicalClientGoal = FlatResource<ClinicalClientGoal$1>;
25728
25917
  type ClinicalClientResourceAssignment = FlatResource<ClinicalClientResourceAssignment$1>;
25918
+ type ClinicalClientMedication = FlatResource<ClinicalClientMedication$1>;
25729
25919
  type ClinicalClientSupplement = FlatResource<ClinicalClientSupplement$1>;
25730
25920
  type ClinicalDelivery = FlatResource<ClinicalDelivery$1>;
25731
25921
  type ClinicalGoalTemplate = FlatResource<ClinicalGoalTemplate$1>;
@@ -25747,6 +25937,34 @@ interface CreateClinicalPatientAttributes {
25747
25937
  timezone?: string;
25748
25938
  state?: string;
25749
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>;
25750
25968
  metadata?: Record<string, unknown>;
25751
25969
  }
25752
25970
  interface UpdateClinicalPatientAttributes {
@@ -25756,8 +25974,34 @@ interface UpdateClinicalPatientAttributes {
25756
25974
  timezone?: string;
25757
25975
  state?: string;
25758
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;
25759
25996
  followup_interval_value?: number;
25760
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>;
25761
26005
  metadata?: Record<string, unknown>;
25762
26006
  }
25763
26007
  interface CreateClinicalSessionAttributes {
@@ -25948,6 +26192,58 @@ interface UpdateClientSupplementAttributes {
25948
26192
  source?: string;
25949
26193
  fullscript_treatment_plan_id?: string;
25950
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
+ }
25951
26247
  interface CreateDeliveryAttributes {
25952
26248
  workspace_id: string;
25953
26249
  patient_id: string;
@@ -26431,6 +26727,14 @@ declare function createClinicalNamespace(rb: RequestBuilder): {
26431
26727
  * @returns Array of {@link ClinicalClientSupplement} records
26432
26728
  */
26433
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[]>;
26434
26738
  /**
26435
26739
  * List resource assignments for a patient (related resource).
26436
26740
  *
@@ -27110,6 +27414,112 @@ declare function createClinicalNamespace(rb: RequestBuilder): {
27110
27414
  error?: string;
27111
27415
  }>>;
27112
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
+ };
27113
27523
  /**
27114
27524
  * Manage clinical deliveries (care plan items sent to patients).
27115
27525
  */
@@ -29576,9 +29986,7 @@ declare class GptClient extends BaseClient {
29576
29986
  buckets: {
29577
29987
  list: (options?: {
29578
29988
  page?: number;
29579
- pageSize
29580
- /** Scoped channel tokens for WebSocket authentication */
29581
- ? /** Scoped channel tokens for WebSocket authentication */: number;
29989
+ pageSize?: number;
29582
29990
  } & RequestOptions) => Promise<Bucket[]>;
29583
29991
  listAll: (options?: RequestOptions) => Promise<Bucket[]>;
29584
29992
  delete: (id: string, options?: RequestOptions) => Promise<true>;
@@ -29939,9 +30347,27 @@ declare class GptClient extends BaseClient {
29939
30347
  data: CrmCluster[];
29940
30348
  }>;
29941
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
+ };
29942
30364
  /** Pipeline trigger — execute multi-node agent pipelines */
29943
30365
  readonly pipelines: {
29944
- trigger(id: string, attributes: TriggerPipelineAttributes, options?: RequestOptions): Promise<unknown>;
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>;
29945
30371
  };
29946
30372
  /** Access grants — workspace and tenant role assignments (ReBAC) */
29947
30373
  readonly accessGrants: {
@@ -30006,7 +30432,7 @@ declare class GptClient extends BaseClient {
30006
30432
  upload: (file: File | Blob, params: {
30007
30433
  adapter: string;
30008
30434
  workspace_id: string;
30009
- column_mapping? /** Product catalog, inventory, pricing, and taxonomy */: Record<string, string>;
30435
+ column_mapping? /** Wallet, plans, transactions, and payment methods */: Record<string, string>;
30010
30436
  metadata?: Record<string, unknown>;
30011
30437
  }, options?: RequestOptions) => Promise<{
30012
30438
  data: {
@@ -30018,7 +30444,7 @@ declare class GptClient extends BaseClient {
30018
30444
  workspace_id: string;
30019
30445
  adapter?: string;
30020
30446
  status?: string;
30021
- offset? /** Document upload, processing, results, and exports */: number;
30447
+ offset?: number;
30022
30448
  limit?: number;
30023
30449
  }, options?: RequestOptions) => Promise<{
30024
30450
  data: Import[];
@@ -30305,4 +30731,4 @@ type SocialAPI = ReturnType<typeof createSocialNamespace>;
30305
30731
  type ModelsAPI = ReturnType<typeof createModelsNamespace>;
30306
30732
  type MemoryAPI = ReturnType<typeof createMemoryNamespace>;
30307
30733
 
30308
- 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 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 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 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 };
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 };