@gpt-platform/admin 0.10.1 → 0.10.2
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 +41 -13
- package/dist/index.d.ts +41 -13
- package/dist/index.js +13 -13
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +13 -13
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -306,7 +306,7 @@ type OmitKeys<T, K> = Pick<T, Exclude<keyof T, K>>;
|
|
|
306
306
|
type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean, TResponse = unknown, TResponseStyle extends ResponseStyle = "fields"> = OmitKeys<RequestOptions$1<TResponse, TResponseStyle, ThrowOnError>, "body" | "path" | "query" | "url"> & ([TData] extends [never] ? unknown : Omit<TData, "url">);
|
|
307
307
|
|
|
308
308
|
/** SDK version — updated automatically by mix update.sdks */
|
|
309
|
-
declare const SDK_VERSION = "0.10.
|
|
309
|
+
declare const SDK_VERSION = "0.10.2";
|
|
310
310
|
/** Default API version sent in every request — updated automatically by mix update.sdks */
|
|
311
311
|
declare const DEFAULT_API_VERSION = "2026-03-23";
|
|
312
312
|
|
|
@@ -167670,6 +167670,25 @@ type GetAdminVoiceRecordingsResponses = {
|
|
|
167670
167670
|
};
|
|
167671
167671
|
type GetAdminVoiceRecordingsResponse = GetAdminVoiceRecordingsResponses[keyof GetAdminVoiceRecordingsResponses];
|
|
167672
167672
|
|
|
167673
|
+
/** Standard JSON:API list parameters for clinical resources. */
|
|
167674
|
+
interface ClinicalListParams {
|
|
167675
|
+
/** Filter results. */
|
|
167676
|
+
filter?: Record<string, unknown>;
|
|
167677
|
+
/** Sort by field(s). Prefix with '-' for descending. */
|
|
167678
|
+
sort?: string;
|
|
167679
|
+
/** Pagination parameters. */
|
|
167680
|
+
page?: {
|
|
167681
|
+
count?: boolean;
|
|
167682
|
+
limit?: number;
|
|
167683
|
+
offset?: number;
|
|
167684
|
+
};
|
|
167685
|
+
/** Include related resources (comma-separated). */
|
|
167686
|
+
include?: string;
|
|
167687
|
+
}
|
|
167688
|
+
/** List parameters for workspace-scoped clinical resources. */
|
|
167689
|
+
interface ClinicalWorkspaceListParams extends ClinicalListParams {
|
|
167690
|
+
workspace_id: string;
|
|
167691
|
+
}
|
|
167673
167692
|
interface ClinicalAnalyticsOverview {
|
|
167674
167693
|
total_patients: number;
|
|
167675
167694
|
total_sessions: number;
|
|
@@ -168114,6 +168133,15 @@ interface CreatePipelineAttributes {
|
|
|
168114
168133
|
agent_id: string;
|
|
168115
168134
|
inputs?: Record<string, string>;
|
|
168116
168135
|
depends_on?: string[];
|
|
168136
|
+
/** Optional condition — when false, node is skipped. */
|
|
168137
|
+
condition?: {
|
|
168138
|
+
/** Dot-path into execution context (e.g., "pipeline_input.input_mode") */
|
|
168139
|
+
field: string;
|
|
168140
|
+
/** Comparison operator */
|
|
168141
|
+
op: "eq" | "neq" | "in" | "present";
|
|
168142
|
+
/** Expected value(s) — not required for "present" */
|
|
168143
|
+
value?: string | number | boolean | string[];
|
|
168144
|
+
};
|
|
168117
168145
|
} | {
|
|
168118
168146
|
type: "approval";
|
|
168119
168147
|
description?: string;
|
|
@@ -171664,7 +171692,7 @@ declare class GptAdmin extends BaseClient {
|
|
|
171664
171692
|
archive: (id: string, options?: RequestOptions) => Promise<ClinicalGoalTemplate>;
|
|
171665
171693
|
restore: (id: string, options?: RequestOptions) => Promise<ClinicalGoalTemplate>;
|
|
171666
171694
|
permanentDelete: (id: string, options?: RequestOptions) => Promise<true>;
|
|
171667
|
-
listArchived: (params
|
|
171695
|
+
listArchived: (params: ClinicalWorkspaceListParams, options?: RequestOptions) => Promise<ClinicalGoalTemplate[]>;
|
|
171668
171696
|
listCatalog: (params: {
|
|
171669
171697
|
application_id: string;
|
|
171670
171698
|
filter?: Record<string, unknown>;
|
|
@@ -171677,7 +171705,7 @@ declare class GptAdmin extends BaseClient {
|
|
|
171677
171705
|
archiveCatalog: (id: string, options?: RequestOptions) => Promise<ClinicalGoalTemplate>;
|
|
171678
171706
|
restoreCatalog: (id: string, options?: RequestOptions) => Promise<ClinicalGoalTemplate>;
|
|
171679
171707
|
permanentDeleteCatalog: (id: string, options?: RequestOptions) => Promise<true>;
|
|
171680
|
-
listArchivedCatalog: (params?:
|
|
171708
|
+
listArchivedCatalog: (params?: ClinicalListParams, options?: RequestOptions) => Promise<ClinicalGoalTemplate[]>;
|
|
171681
171709
|
listCatalogCategories: (params: {
|
|
171682
171710
|
application_id: string;
|
|
171683
171711
|
}, options?: RequestOptions) => Promise<ClinicalGoalTemplateCategory[]>;
|
|
@@ -171712,7 +171740,7 @@ declare class GptAdmin extends BaseClient {
|
|
|
171712
171740
|
archive: (id: string, options?: RequestOptions) => Promise<ClinicalPracticeTool>;
|
|
171713
171741
|
restore: (id: string, options?: RequestOptions) => Promise<ClinicalPracticeTool>;
|
|
171714
171742
|
permanentDelete: (id: string, options?: RequestOptions) => Promise<true>;
|
|
171715
|
-
listArchived: (params
|
|
171743
|
+
listArchived: (params: ClinicalWorkspaceListParams, options?: RequestOptions) => Promise<ClinicalPracticeTool[]>;
|
|
171716
171744
|
listCatalog: (params: {
|
|
171717
171745
|
application_id: string;
|
|
171718
171746
|
filter?: Record<string, unknown>;
|
|
@@ -171725,7 +171753,7 @@ declare class GptAdmin extends BaseClient {
|
|
|
171725
171753
|
archiveCatalog: (id: string, options?: RequestOptions) => Promise<ClinicalPracticeTool>;
|
|
171726
171754
|
restoreCatalog: (id: string, options?: RequestOptions) => Promise<ClinicalPracticeTool>;
|
|
171727
171755
|
permanentDeleteCatalog: (id: string, options?: RequestOptions) => Promise<true>;
|
|
171728
|
-
listArchivedCatalog: (params?:
|
|
171756
|
+
listArchivedCatalog: (params?: ClinicalListParams, options?: RequestOptions) => Promise<ClinicalPracticeTool[]>;
|
|
171729
171757
|
listCatalogCategories: (params: {
|
|
171730
171758
|
application_id: string;
|
|
171731
171759
|
}, options?: RequestOptions) => Promise<ClinicalPracticeToolCategory[]>;
|
|
@@ -171760,7 +171788,7 @@ declare class GptAdmin extends BaseClient {
|
|
|
171760
171788
|
archive: (id: string, options?: RequestOptions) => Promise<ClinicalPracticeResource>;
|
|
171761
171789
|
restore: (id: string, options?: RequestOptions) => Promise<ClinicalPracticeResource>;
|
|
171762
171790
|
permanentDelete: (id: string, options?: RequestOptions) => Promise<true>;
|
|
171763
|
-
listArchived: (params
|
|
171791
|
+
listArchived: (params: ClinicalWorkspaceListParams, options?: RequestOptions) => Promise<ClinicalPracticeResource[]>;
|
|
171764
171792
|
listCatalog: (params: {
|
|
171765
171793
|
application_id: string;
|
|
171766
171794
|
filter?: Record<string, unknown>;
|
|
@@ -171773,7 +171801,7 @@ declare class GptAdmin extends BaseClient {
|
|
|
171773
171801
|
archiveCatalog: (id: string, options?: RequestOptions) => Promise<ClinicalPracticeResource>;
|
|
171774
171802
|
restoreCatalog: (id: string, options?: RequestOptions) => Promise<ClinicalPracticeResource>;
|
|
171775
171803
|
permanentDeleteCatalog: (id: string, options?: RequestOptions) => Promise<true>;
|
|
171776
|
-
listArchivedCatalog: (params?:
|
|
171804
|
+
listArchivedCatalog: (params?: ClinicalListParams, options?: RequestOptions) => Promise<ClinicalPracticeResource[]>;
|
|
171777
171805
|
listCategories: (params: {
|
|
171778
171806
|
workspace_id: string;
|
|
171779
171807
|
}, options?: RequestOptions) => Promise<PracticeResourceCategory[]>;
|
|
@@ -171843,7 +171871,7 @@ declare class GptAdmin extends BaseClient {
|
|
|
171843
171871
|
archive: (id: string, options?: RequestOptions) => Promise<ClinicalNote>;
|
|
171844
171872
|
restore: (id: string, options?: RequestOptions) => Promise<ClinicalNote>;
|
|
171845
171873
|
permanentDelete: (id: string, options?: RequestOptions) => Promise<true>;
|
|
171846
|
-
listArchived: (params
|
|
171874
|
+
listArchived: (params: ClinicalWorkspaceListParams, options?: RequestOptions) => Promise<ClinicalNote[]>;
|
|
171847
171875
|
approve: (id: string, reviewedById: string, options?: RequestOptions) => Promise<ClinicalNote>;
|
|
171848
171876
|
reject: (id: string, reviewedById: string, options?: RequestOptions) => Promise<ClinicalNote>;
|
|
171849
171877
|
versions: (noteId: string, options?: RequestOptions) => Promise<ClinicalNoteVersion[]>;
|
|
@@ -171866,7 +171894,7 @@ declare class GptAdmin extends BaseClient {
|
|
|
171866
171894
|
archive: (id: string, options?: RequestOptions) => Promise<ClinicalHealthMetric>;
|
|
171867
171895
|
restore: (id: string, options?: RequestOptions) => Promise<ClinicalHealthMetric>;
|
|
171868
171896
|
permanentDelete: (id: string, options?: RequestOptions) => Promise<true>;
|
|
171869
|
-
listArchived: (params
|
|
171897
|
+
listArchived: (params: ClinicalWorkspaceListParams, options?: RequestOptions) => Promise<ClinicalHealthMetric[]>;
|
|
171870
171898
|
};
|
|
171871
171899
|
mealPlans: {
|
|
171872
171900
|
list: (params: {
|
|
@@ -171885,7 +171913,7 @@ declare class GptAdmin extends BaseClient {
|
|
|
171885
171913
|
archive: (id: string, options?: RequestOptions) => Promise<ClinicalMealPlan>;
|
|
171886
171914
|
restore: (id: string, options?: RequestOptions) => Promise<ClinicalMealPlan>;
|
|
171887
171915
|
permanentDelete: (id: string, options?: RequestOptions) => Promise<true>;
|
|
171888
|
-
listArchived: (params
|
|
171916
|
+
listArchived: (params: ClinicalWorkspaceListParams, options?: RequestOptions) => Promise<ClinicalMealPlan[]>;
|
|
171889
171917
|
};
|
|
171890
171918
|
clientGoals: {
|
|
171891
171919
|
list: (params: {
|
|
@@ -171901,7 +171929,7 @@ declare class GptAdmin extends BaseClient {
|
|
|
171901
171929
|
archive: (id: string, options?: RequestOptions) => Promise<ClinicalClientGoal>;
|
|
171902
171930
|
restore: (id: string, options?: RequestOptions) => Promise<ClinicalClientGoal>;
|
|
171903
171931
|
permanentDelete: (id: string, options?: RequestOptions) => Promise<true>;
|
|
171904
|
-
listArchived: (params
|
|
171932
|
+
listArchived: (params: ClinicalWorkspaceListParams, options?: RequestOptions) => Promise<ClinicalClientGoal[]>;
|
|
171905
171933
|
};
|
|
171906
171934
|
clientSupplements: {
|
|
171907
171935
|
list: (params: {
|
|
@@ -171916,7 +171944,7 @@ declare class GptAdmin extends BaseClient {
|
|
|
171916
171944
|
archive: (id: string, options?: RequestOptions) => Promise<ClinicalClientSupplement>;
|
|
171917
171945
|
restore: (id: string, options?: RequestOptions) => Promise<ClinicalClientSupplement>;
|
|
171918
171946
|
permanentDelete: (id: string, options?: RequestOptions) => Promise<true>;
|
|
171919
|
-
listArchived: (params
|
|
171947
|
+
listArchived: (params: ClinicalWorkspaceListParams, options?: RequestOptions) => Promise<ClinicalClientSupplement[]>;
|
|
171920
171948
|
};
|
|
171921
171949
|
deliveries: {
|
|
171922
171950
|
list: (params: {
|
|
@@ -171945,7 +171973,7 @@ declare class GptAdmin extends BaseClient {
|
|
|
171945
171973
|
archive: (id: string, options?: RequestOptions) => Promise<ClinicalClientResourceAssignment>;
|
|
171946
171974
|
restore: (id: string, options?: RequestOptions) => Promise<ClinicalClientResourceAssignment>;
|
|
171947
171975
|
permanentDelete: (id: string, options?: RequestOptions) => Promise<true>;
|
|
171948
|
-
listArchived: (params
|
|
171976
|
+
listArchived: (params: ClinicalWorkspaceListParams, options?: RequestOptions) => Promise<ClinicalClientResourceAssignment[]>;
|
|
171949
171977
|
};
|
|
171950
171978
|
supplementRecCache: {
|
|
171951
171979
|
list: (params: {
|
package/dist/index.d.ts
CHANGED
|
@@ -306,7 +306,7 @@ type OmitKeys<T, K> = Pick<T, Exclude<keyof T, K>>;
|
|
|
306
306
|
type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean, TResponse = unknown, TResponseStyle extends ResponseStyle = "fields"> = OmitKeys<RequestOptions$1<TResponse, TResponseStyle, ThrowOnError>, "body" | "path" | "query" | "url"> & ([TData] extends [never] ? unknown : Omit<TData, "url">);
|
|
307
307
|
|
|
308
308
|
/** SDK version — updated automatically by mix update.sdks */
|
|
309
|
-
declare const SDK_VERSION = "0.10.
|
|
309
|
+
declare const SDK_VERSION = "0.10.2";
|
|
310
310
|
/** Default API version sent in every request — updated automatically by mix update.sdks */
|
|
311
311
|
declare const DEFAULT_API_VERSION = "2026-03-23";
|
|
312
312
|
|
|
@@ -167670,6 +167670,25 @@ type GetAdminVoiceRecordingsResponses = {
|
|
|
167670
167670
|
};
|
|
167671
167671
|
type GetAdminVoiceRecordingsResponse = GetAdminVoiceRecordingsResponses[keyof GetAdminVoiceRecordingsResponses];
|
|
167672
167672
|
|
|
167673
|
+
/** Standard JSON:API list parameters for clinical resources. */
|
|
167674
|
+
interface ClinicalListParams {
|
|
167675
|
+
/** Filter results. */
|
|
167676
|
+
filter?: Record<string, unknown>;
|
|
167677
|
+
/** Sort by field(s). Prefix with '-' for descending. */
|
|
167678
|
+
sort?: string;
|
|
167679
|
+
/** Pagination parameters. */
|
|
167680
|
+
page?: {
|
|
167681
|
+
count?: boolean;
|
|
167682
|
+
limit?: number;
|
|
167683
|
+
offset?: number;
|
|
167684
|
+
};
|
|
167685
|
+
/** Include related resources (comma-separated). */
|
|
167686
|
+
include?: string;
|
|
167687
|
+
}
|
|
167688
|
+
/** List parameters for workspace-scoped clinical resources. */
|
|
167689
|
+
interface ClinicalWorkspaceListParams extends ClinicalListParams {
|
|
167690
|
+
workspace_id: string;
|
|
167691
|
+
}
|
|
167673
167692
|
interface ClinicalAnalyticsOverview {
|
|
167674
167693
|
total_patients: number;
|
|
167675
167694
|
total_sessions: number;
|
|
@@ -168114,6 +168133,15 @@ interface CreatePipelineAttributes {
|
|
|
168114
168133
|
agent_id: string;
|
|
168115
168134
|
inputs?: Record<string, string>;
|
|
168116
168135
|
depends_on?: string[];
|
|
168136
|
+
/** Optional condition — when false, node is skipped. */
|
|
168137
|
+
condition?: {
|
|
168138
|
+
/** Dot-path into execution context (e.g., "pipeline_input.input_mode") */
|
|
168139
|
+
field: string;
|
|
168140
|
+
/** Comparison operator */
|
|
168141
|
+
op: "eq" | "neq" | "in" | "present";
|
|
168142
|
+
/** Expected value(s) — not required for "present" */
|
|
168143
|
+
value?: string | number | boolean | string[];
|
|
168144
|
+
};
|
|
168117
168145
|
} | {
|
|
168118
168146
|
type: "approval";
|
|
168119
168147
|
description?: string;
|
|
@@ -171664,7 +171692,7 @@ declare class GptAdmin extends BaseClient {
|
|
|
171664
171692
|
archive: (id: string, options?: RequestOptions) => Promise<ClinicalGoalTemplate>;
|
|
171665
171693
|
restore: (id: string, options?: RequestOptions) => Promise<ClinicalGoalTemplate>;
|
|
171666
171694
|
permanentDelete: (id: string, options?: RequestOptions) => Promise<true>;
|
|
171667
|
-
listArchived: (params
|
|
171695
|
+
listArchived: (params: ClinicalWorkspaceListParams, options?: RequestOptions) => Promise<ClinicalGoalTemplate[]>;
|
|
171668
171696
|
listCatalog: (params: {
|
|
171669
171697
|
application_id: string;
|
|
171670
171698
|
filter?: Record<string, unknown>;
|
|
@@ -171677,7 +171705,7 @@ declare class GptAdmin extends BaseClient {
|
|
|
171677
171705
|
archiveCatalog: (id: string, options?: RequestOptions) => Promise<ClinicalGoalTemplate>;
|
|
171678
171706
|
restoreCatalog: (id: string, options?: RequestOptions) => Promise<ClinicalGoalTemplate>;
|
|
171679
171707
|
permanentDeleteCatalog: (id: string, options?: RequestOptions) => Promise<true>;
|
|
171680
|
-
listArchivedCatalog: (params?:
|
|
171708
|
+
listArchivedCatalog: (params?: ClinicalListParams, options?: RequestOptions) => Promise<ClinicalGoalTemplate[]>;
|
|
171681
171709
|
listCatalogCategories: (params: {
|
|
171682
171710
|
application_id: string;
|
|
171683
171711
|
}, options?: RequestOptions) => Promise<ClinicalGoalTemplateCategory[]>;
|
|
@@ -171712,7 +171740,7 @@ declare class GptAdmin extends BaseClient {
|
|
|
171712
171740
|
archive: (id: string, options?: RequestOptions) => Promise<ClinicalPracticeTool>;
|
|
171713
171741
|
restore: (id: string, options?: RequestOptions) => Promise<ClinicalPracticeTool>;
|
|
171714
171742
|
permanentDelete: (id: string, options?: RequestOptions) => Promise<true>;
|
|
171715
|
-
listArchived: (params
|
|
171743
|
+
listArchived: (params: ClinicalWorkspaceListParams, options?: RequestOptions) => Promise<ClinicalPracticeTool[]>;
|
|
171716
171744
|
listCatalog: (params: {
|
|
171717
171745
|
application_id: string;
|
|
171718
171746
|
filter?: Record<string, unknown>;
|
|
@@ -171725,7 +171753,7 @@ declare class GptAdmin extends BaseClient {
|
|
|
171725
171753
|
archiveCatalog: (id: string, options?: RequestOptions) => Promise<ClinicalPracticeTool>;
|
|
171726
171754
|
restoreCatalog: (id: string, options?: RequestOptions) => Promise<ClinicalPracticeTool>;
|
|
171727
171755
|
permanentDeleteCatalog: (id: string, options?: RequestOptions) => Promise<true>;
|
|
171728
|
-
listArchivedCatalog: (params?:
|
|
171756
|
+
listArchivedCatalog: (params?: ClinicalListParams, options?: RequestOptions) => Promise<ClinicalPracticeTool[]>;
|
|
171729
171757
|
listCatalogCategories: (params: {
|
|
171730
171758
|
application_id: string;
|
|
171731
171759
|
}, options?: RequestOptions) => Promise<ClinicalPracticeToolCategory[]>;
|
|
@@ -171760,7 +171788,7 @@ declare class GptAdmin extends BaseClient {
|
|
|
171760
171788
|
archive: (id: string, options?: RequestOptions) => Promise<ClinicalPracticeResource>;
|
|
171761
171789
|
restore: (id: string, options?: RequestOptions) => Promise<ClinicalPracticeResource>;
|
|
171762
171790
|
permanentDelete: (id: string, options?: RequestOptions) => Promise<true>;
|
|
171763
|
-
listArchived: (params
|
|
171791
|
+
listArchived: (params: ClinicalWorkspaceListParams, options?: RequestOptions) => Promise<ClinicalPracticeResource[]>;
|
|
171764
171792
|
listCatalog: (params: {
|
|
171765
171793
|
application_id: string;
|
|
171766
171794
|
filter?: Record<string, unknown>;
|
|
@@ -171773,7 +171801,7 @@ declare class GptAdmin extends BaseClient {
|
|
|
171773
171801
|
archiveCatalog: (id: string, options?: RequestOptions) => Promise<ClinicalPracticeResource>;
|
|
171774
171802
|
restoreCatalog: (id: string, options?: RequestOptions) => Promise<ClinicalPracticeResource>;
|
|
171775
171803
|
permanentDeleteCatalog: (id: string, options?: RequestOptions) => Promise<true>;
|
|
171776
|
-
listArchivedCatalog: (params?:
|
|
171804
|
+
listArchivedCatalog: (params?: ClinicalListParams, options?: RequestOptions) => Promise<ClinicalPracticeResource[]>;
|
|
171777
171805
|
listCategories: (params: {
|
|
171778
171806
|
workspace_id: string;
|
|
171779
171807
|
}, options?: RequestOptions) => Promise<PracticeResourceCategory[]>;
|
|
@@ -171843,7 +171871,7 @@ declare class GptAdmin extends BaseClient {
|
|
|
171843
171871
|
archive: (id: string, options?: RequestOptions) => Promise<ClinicalNote>;
|
|
171844
171872
|
restore: (id: string, options?: RequestOptions) => Promise<ClinicalNote>;
|
|
171845
171873
|
permanentDelete: (id: string, options?: RequestOptions) => Promise<true>;
|
|
171846
|
-
listArchived: (params
|
|
171874
|
+
listArchived: (params: ClinicalWorkspaceListParams, options?: RequestOptions) => Promise<ClinicalNote[]>;
|
|
171847
171875
|
approve: (id: string, reviewedById: string, options?: RequestOptions) => Promise<ClinicalNote>;
|
|
171848
171876
|
reject: (id: string, reviewedById: string, options?: RequestOptions) => Promise<ClinicalNote>;
|
|
171849
171877
|
versions: (noteId: string, options?: RequestOptions) => Promise<ClinicalNoteVersion[]>;
|
|
@@ -171866,7 +171894,7 @@ declare class GptAdmin extends BaseClient {
|
|
|
171866
171894
|
archive: (id: string, options?: RequestOptions) => Promise<ClinicalHealthMetric>;
|
|
171867
171895
|
restore: (id: string, options?: RequestOptions) => Promise<ClinicalHealthMetric>;
|
|
171868
171896
|
permanentDelete: (id: string, options?: RequestOptions) => Promise<true>;
|
|
171869
|
-
listArchived: (params
|
|
171897
|
+
listArchived: (params: ClinicalWorkspaceListParams, options?: RequestOptions) => Promise<ClinicalHealthMetric[]>;
|
|
171870
171898
|
};
|
|
171871
171899
|
mealPlans: {
|
|
171872
171900
|
list: (params: {
|
|
@@ -171885,7 +171913,7 @@ declare class GptAdmin extends BaseClient {
|
|
|
171885
171913
|
archive: (id: string, options?: RequestOptions) => Promise<ClinicalMealPlan>;
|
|
171886
171914
|
restore: (id: string, options?: RequestOptions) => Promise<ClinicalMealPlan>;
|
|
171887
171915
|
permanentDelete: (id: string, options?: RequestOptions) => Promise<true>;
|
|
171888
|
-
listArchived: (params
|
|
171916
|
+
listArchived: (params: ClinicalWorkspaceListParams, options?: RequestOptions) => Promise<ClinicalMealPlan[]>;
|
|
171889
171917
|
};
|
|
171890
171918
|
clientGoals: {
|
|
171891
171919
|
list: (params: {
|
|
@@ -171901,7 +171929,7 @@ declare class GptAdmin extends BaseClient {
|
|
|
171901
171929
|
archive: (id: string, options?: RequestOptions) => Promise<ClinicalClientGoal>;
|
|
171902
171930
|
restore: (id: string, options?: RequestOptions) => Promise<ClinicalClientGoal>;
|
|
171903
171931
|
permanentDelete: (id: string, options?: RequestOptions) => Promise<true>;
|
|
171904
|
-
listArchived: (params
|
|
171932
|
+
listArchived: (params: ClinicalWorkspaceListParams, options?: RequestOptions) => Promise<ClinicalClientGoal[]>;
|
|
171905
171933
|
};
|
|
171906
171934
|
clientSupplements: {
|
|
171907
171935
|
list: (params: {
|
|
@@ -171916,7 +171944,7 @@ declare class GptAdmin extends BaseClient {
|
|
|
171916
171944
|
archive: (id: string, options?: RequestOptions) => Promise<ClinicalClientSupplement>;
|
|
171917
171945
|
restore: (id: string, options?: RequestOptions) => Promise<ClinicalClientSupplement>;
|
|
171918
171946
|
permanentDelete: (id: string, options?: RequestOptions) => Promise<true>;
|
|
171919
|
-
listArchived: (params
|
|
171947
|
+
listArchived: (params: ClinicalWorkspaceListParams, options?: RequestOptions) => Promise<ClinicalClientSupplement[]>;
|
|
171920
171948
|
};
|
|
171921
171949
|
deliveries: {
|
|
171922
171950
|
list: (params: {
|
|
@@ -171945,7 +171973,7 @@ declare class GptAdmin extends BaseClient {
|
|
|
171945
171973
|
archive: (id: string, options?: RequestOptions) => Promise<ClinicalClientResourceAssignment>;
|
|
171946
171974
|
restore: (id: string, options?: RequestOptions) => Promise<ClinicalClientResourceAssignment>;
|
|
171947
171975
|
permanentDelete: (id: string, options?: RequestOptions) => Promise<true>;
|
|
171948
|
-
listArchived: (params
|
|
171976
|
+
listArchived: (params: ClinicalWorkspaceListParams, options?: RequestOptions) => Promise<ClinicalClientResourceAssignment[]>;
|
|
171949
171977
|
};
|
|
171950
171978
|
supplementRecCache: {
|
|
171951
171979
|
list: (params: {
|
package/dist/index.js
CHANGED
|
@@ -855,7 +855,7 @@ var createClient = (config = {}) => {
|
|
|
855
855
|
};
|
|
856
856
|
|
|
857
857
|
// src/version.ts
|
|
858
|
-
var SDK_VERSION = "0.10.
|
|
858
|
+
var SDK_VERSION = "0.10.2";
|
|
859
859
|
var DEFAULT_API_VERSION = "2026-03-23";
|
|
860
860
|
|
|
861
861
|
// src/base-client.ts
|
|
@@ -18378,7 +18378,7 @@ function createClinicalNamespace(rb) {
|
|
|
18378
18378
|
*/
|
|
18379
18379
|
listArchived: async (params, options) => rb.execute(
|
|
18380
18380
|
getAdminClinicalGoalTemplatesArchived,
|
|
18381
|
-
params
|
|
18381
|
+
{ query: params },
|
|
18382
18382
|
options
|
|
18383
18383
|
),
|
|
18384
18384
|
/**
|
|
@@ -18501,7 +18501,7 @@ function createClinicalNamespace(rb) {
|
|
|
18501
18501
|
*/
|
|
18502
18502
|
listArchivedCatalog: async (params, options) => rb.execute(
|
|
18503
18503
|
getAdminClinicalGoalTemplatesCatalogArchived,
|
|
18504
|
-
params ?? {},
|
|
18504
|
+
{ query: params ?? {} },
|
|
18505
18505
|
options
|
|
18506
18506
|
),
|
|
18507
18507
|
/**
|
|
@@ -18699,7 +18699,7 @@ function createClinicalNamespace(rb) {
|
|
|
18699
18699
|
*/
|
|
18700
18700
|
listArchived: async (params, options) => rb.execute(
|
|
18701
18701
|
getAdminClinicalPracticeToolsArchived,
|
|
18702
|
-
params
|
|
18702
|
+
{ query: params },
|
|
18703
18703
|
options
|
|
18704
18704
|
),
|
|
18705
18705
|
/**
|
|
@@ -18822,7 +18822,7 @@ function createClinicalNamespace(rb) {
|
|
|
18822
18822
|
*/
|
|
18823
18823
|
listArchivedCatalog: async (params, options) => rb.execute(
|
|
18824
18824
|
getAdminClinicalPracticeToolsCatalogArchived,
|
|
18825
|
-
params ?? {},
|
|
18825
|
+
{ query: params ?? {} },
|
|
18826
18826
|
options
|
|
18827
18827
|
),
|
|
18828
18828
|
/**
|
|
@@ -19024,7 +19024,7 @@ function createClinicalNamespace(rb) {
|
|
|
19024
19024
|
*/
|
|
19025
19025
|
listArchived: async (params, options) => rb.execute(
|
|
19026
19026
|
getAdminClinicalPracticeResourcesArchived,
|
|
19027
|
-
params
|
|
19027
|
+
{ query: params },
|
|
19028
19028
|
options
|
|
19029
19029
|
),
|
|
19030
19030
|
/**
|
|
@@ -19151,7 +19151,7 @@ function createClinicalNamespace(rb) {
|
|
|
19151
19151
|
*/
|
|
19152
19152
|
listArchivedCatalog: async (params, options) => rb.execute(
|
|
19153
19153
|
getAdminClinicalPracticeResourcesCatalogArchived,
|
|
19154
|
-
params ?? {},
|
|
19154
|
+
{ query: params ?? {} },
|
|
19155
19155
|
options
|
|
19156
19156
|
),
|
|
19157
19157
|
/**
|
|
@@ -19457,7 +19457,7 @@ function createClinicalNamespace(rb) {
|
|
|
19457
19457
|
*/
|
|
19458
19458
|
listArchived: async (params, options) => rb.execute(
|
|
19459
19459
|
getAdminClinicalNotesArchived,
|
|
19460
|
-
params
|
|
19460
|
+
{ query: params },
|
|
19461
19461
|
options
|
|
19462
19462
|
),
|
|
19463
19463
|
/**
|
|
@@ -19627,7 +19627,7 @@ function createClinicalNamespace(rb) {
|
|
|
19627
19627
|
*/
|
|
19628
19628
|
listArchived: async (params, options) => rb.execute(
|
|
19629
19629
|
getAdminClinicalHealthMetricsArchived,
|
|
19630
|
-
params
|
|
19630
|
+
{ query: params },
|
|
19631
19631
|
options
|
|
19632
19632
|
)
|
|
19633
19633
|
},
|
|
@@ -19728,7 +19728,7 @@ function createClinicalNamespace(rb) {
|
|
|
19728
19728
|
*/
|
|
19729
19729
|
listArchived: async (params, options) => rb.execute(
|
|
19730
19730
|
getAdminClinicalMealPlansArchived,
|
|
19731
|
-
params
|
|
19731
|
+
{ query: params },
|
|
19732
19732
|
options
|
|
19733
19733
|
)
|
|
19734
19734
|
},
|
|
@@ -19835,7 +19835,7 @@ function createClinicalNamespace(rb) {
|
|
|
19835
19835
|
*/
|
|
19836
19836
|
listArchived: async (params, options) => rb.execute(
|
|
19837
19837
|
getAdminClinicalClientGoalsArchived,
|
|
19838
|
-
params
|
|
19838
|
+
{ query: params },
|
|
19839
19839
|
options
|
|
19840
19840
|
)
|
|
19841
19841
|
},
|
|
@@ -19940,7 +19940,7 @@ function createClinicalNamespace(rb) {
|
|
|
19940
19940
|
*/
|
|
19941
19941
|
listArchived: async (params, options) => rb.execute(
|
|
19942
19942
|
getAdminClinicalClientSupplementsArchived,
|
|
19943
|
-
params
|
|
19943
|
+
{ query: params },
|
|
19944
19944
|
options
|
|
19945
19945
|
)
|
|
19946
19946
|
},
|
|
@@ -20099,7 +20099,7 @@ function createClinicalNamespace(rb) {
|
|
|
20099
20099
|
*/
|
|
20100
20100
|
listArchived: async (params, options) => rb.execute(
|
|
20101
20101
|
getAdminClinicalClientResourceAssignmentsArchived,
|
|
20102
|
-
params
|
|
20102
|
+
{ query: params },
|
|
20103
20103
|
options
|
|
20104
20104
|
)
|
|
20105
20105
|
},
|