@gpt-platform/client 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 +548 -39
- package/dist/index.d.ts +548 -39
- package/dist/index.js +30 -24
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +29 -24
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -1272,7 +1272,7 @@ function buildUserAgent(sdkVersion, appInfo) {
|
|
|
1272
1272
|
}
|
|
1273
1273
|
|
|
1274
1274
|
// src/version.ts
|
|
1275
|
-
var SDK_VERSION = "0.10.
|
|
1275
|
+
var SDK_VERSION = "0.10.2";
|
|
1276
1276
|
var DEFAULT_API_VERSION = "2026-03-23";
|
|
1277
1277
|
|
|
1278
1278
|
// src/base-client.ts
|
|
@@ -12361,7 +12361,7 @@ function createClinicalNamespace(rb) {
|
|
|
12361
12361
|
*/
|
|
12362
12362
|
list: async (params, options) => rb.execute(
|
|
12363
12363
|
getClinicalPatients,
|
|
12364
|
-
params ?? {},
|
|
12364
|
+
{ query: params ?? {} },
|
|
12365
12365
|
options
|
|
12366
12366
|
),
|
|
12367
12367
|
/**
|
|
@@ -12550,7 +12550,7 @@ function createClinicalNamespace(rb) {
|
|
|
12550
12550
|
*/
|
|
12551
12551
|
list: async (params, options) => rb.execute(
|
|
12552
12552
|
getClinicalSessions,
|
|
12553
|
-
params ?? {},
|
|
12553
|
+
{ query: params ?? {} },
|
|
12554
12554
|
options
|
|
12555
12555
|
),
|
|
12556
12556
|
/**
|
|
@@ -12689,7 +12689,11 @@ function createClinicalNamespace(rb) {
|
|
|
12689
12689
|
* @param options - Request options
|
|
12690
12690
|
* @returns Array of {@link ClinicalNote} records
|
|
12691
12691
|
*/
|
|
12692
|
-
list: async (params, options) => rb.execute(
|
|
12692
|
+
list: async (params, options) => rb.execute(
|
|
12693
|
+
getClinicalNotes,
|
|
12694
|
+
{ query: params ?? {} },
|
|
12695
|
+
options
|
|
12696
|
+
),
|
|
12693
12697
|
/**
|
|
12694
12698
|
* Get a single note by ID.
|
|
12695
12699
|
*
|
|
@@ -12798,7 +12802,7 @@ function createClinicalNamespace(rb) {
|
|
|
12798
12802
|
*/
|
|
12799
12803
|
listArchived: async (params, options) => rb.execute(
|
|
12800
12804
|
getClinicalNotesArchived,
|
|
12801
|
-
params ?? {},
|
|
12805
|
+
{ query: params ?? {} },
|
|
12802
12806
|
options
|
|
12803
12807
|
),
|
|
12804
12808
|
/**
|
|
@@ -12905,7 +12909,7 @@ function createClinicalNamespace(rb) {
|
|
|
12905
12909
|
*/
|
|
12906
12910
|
list: async (params, options) => rb.execute(
|
|
12907
12911
|
getClinicalHealthMetrics,
|
|
12908
|
-
params ?? {},
|
|
12912
|
+
{ query: params ?? {} },
|
|
12909
12913
|
options
|
|
12910
12914
|
),
|
|
12911
12915
|
/**
|
|
@@ -13035,7 +13039,7 @@ function createClinicalNamespace(rb) {
|
|
|
13035
13039
|
*/
|
|
13036
13040
|
listArchived: async (params, options) => rb.execute(
|
|
13037
13041
|
getClinicalHealthMetricsArchived,
|
|
13038
|
-
params ?? {},
|
|
13042
|
+
{ query: params ?? {} },
|
|
13039
13043
|
options
|
|
13040
13044
|
)
|
|
13041
13045
|
},
|
|
@@ -13052,7 +13056,7 @@ function createClinicalNamespace(rb) {
|
|
|
13052
13056
|
*/
|
|
13053
13057
|
list: async (params, options) => rb.execute(
|
|
13054
13058
|
getClinicalMealPlans,
|
|
13055
|
-
params ?? {},
|
|
13059
|
+
{ query: params ?? {} },
|
|
13056
13060
|
options
|
|
13057
13061
|
),
|
|
13058
13062
|
/**
|
|
@@ -13163,7 +13167,7 @@ function createClinicalNamespace(rb) {
|
|
|
13163
13167
|
*/
|
|
13164
13168
|
listArchived: async (params, options) => rb.execute(
|
|
13165
13169
|
getClinicalMealPlansArchived,
|
|
13166
|
-
params ?? {},
|
|
13170
|
+
{ query: params ?? {} },
|
|
13167
13171
|
options
|
|
13168
13172
|
)
|
|
13169
13173
|
},
|
|
@@ -13180,7 +13184,7 @@ function createClinicalNamespace(rb) {
|
|
|
13180
13184
|
*/
|
|
13181
13185
|
list: async (params, options) => rb.execute(
|
|
13182
13186
|
getClinicalClientGoals,
|
|
13183
|
-
params ?? {},
|
|
13187
|
+
{ query: params ?? {} },
|
|
13184
13188
|
options
|
|
13185
13189
|
),
|
|
13186
13190
|
/**
|
|
@@ -13297,7 +13301,7 @@ function createClinicalNamespace(rb) {
|
|
|
13297
13301
|
*/
|
|
13298
13302
|
listArchived: async (params, options) => rb.execute(
|
|
13299
13303
|
getClinicalClientGoalsArchived,
|
|
13300
|
-
params ?? {},
|
|
13304
|
+
{ query: params ?? {} },
|
|
13301
13305
|
options
|
|
13302
13306
|
),
|
|
13303
13307
|
/**
|
|
@@ -13335,7 +13339,7 @@ function createClinicalNamespace(rb) {
|
|
|
13335
13339
|
*/
|
|
13336
13340
|
list: async (params, options) => rb.execute(
|
|
13337
13341
|
getClinicalClientSupplements,
|
|
13338
|
-
params ?? {},
|
|
13342
|
+
{ query: params ?? {} },
|
|
13339
13343
|
options
|
|
13340
13344
|
),
|
|
13341
13345
|
/**
|
|
@@ -13457,7 +13461,7 @@ function createClinicalNamespace(rb) {
|
|
|
13457
13461
|
*/
|
|
13458
13462
|
listArchived: async (params, options) => rb.execute(
|
|
13459
13463
|
getClinicalClientSupplementsArchived,
|
|
13460
|
-
params ?? {},
|
|
13464
|
+
{ query: params ?? {} },
|
|
13461
13465
|
options
|
|
13462
13466
|
)
|
|
13463
13467
|
},
|
|
@@ -13474,7 +13478,7 @@ function createClinicalNamespace(rb) {
|
|
|
13474
13478
|
*/
|
|
13475
13479
|
list: async (params, options) => rb.execute(
|
|
13476
13480
|
getClinicalDeliveries,
|
|
13477
|
-
params ?? {},
|
|
13481
|
+
{ query: params ?? {} },
|
|
13478
13482
|
options
|
|
13479
13483
|
),
|
|
13480
13484
|
/**
|
|
@@ -13532,7 +13536,7 @@ function createClinicalNamespace(rb) {
|
|
|
13532
13536
|
*/
|
|
13533
13537
|
list: async (params, options) => rb.execute(
|
|
13534
13538
|
getClinicalPracticeResources,
|
|
13535
|
-
params ?? {},
|
|
13539
|
+
{ query: params ?? {} },
|
|
13536
13540
|
options
|
|
13537
13541
|
),
|
|
13538
13542
|
/**
|
|
@@ -13653,7 +13657,7 @@ function createClinicalNamespace(rb) {
|
|
|
13653
13657
|
*/
|
|
13654
13658
|
listArchived: async (params, options) => rb.execute(
|
|
13655
13659
|
getClinicalPracticeResourcesArchived,
|
|
13656
|
-
params ?? {},
|
|
13660
|
+
{ query: params ?? {} },
|
|
13657
13661
|
options
|
|
13658
13662
|
),
|
|
13659
13663
|
/**
|
|
@@ -13723,7 +13727,7 @@ function createClinicalNamespace(rb) {
|
|
|
13723
13727
|
*/
|
|
13724
13728
|
listArchivedCatalog: async (params, options) => rb.execute(
|
|
13725
13729
|
getClinicalPracticeResourcesCatalogArchived,
|
|
13726
|
-
params ?? {},
|
|
13730
|
+
{ query: params ?? {} },
|
|
13727
13731
|
options
|
|
13728
13732
|
),
|
|
13729
13733
|
/**
|
|
@@ -13978,7 +13982,7 @@ function createClinicalNamespace(rb) {
|
|
|
13978
13982
|
*/
|
|
13979
13983
|
listArchived: async (params, options) => rb.execute(
|
|
13980
13984
|
getClinicalPracticeToolsArchived,
|
|
13981
|
-
params ?? {},
|
|
13985
|
+
{ query: params ?? {} },
|
|
13982
13986
|
options
|
|
13983
13987
|
),
|
|
13984
13988
|
/**
|
|
@@ -14070,7 +14074,7 @@ function createClinicalNamespace(rb) {
|
|
|
14070
14074
|
*/
|
|
14071
14075
|
listArchivedCatalog: async (params, options) => rb.execute(
|
|
14072
14076
|
getClinicalPracticeToolsCatalogArchived,
|
|
14073
|
-
params ?? {},
|
|
14077
|
+
{ query: params ?? {} },
|
|
14074
14078
|
options
|
|
14075
14079
|
),
|
|
14076
14080
|
/**
|
|
@@ -14185,7 +14189,7 @@ function createClinicalNamespace(rb) {
|
|
|
14185
14189
|
*/
|
|
14186
14190
|
list: async (params, options) => rb.execute(
|
|
14187
14191
|
getClinicalClientResourceAssignments,
|
|
14188
|
-
params ?? {},
|
|
14192
|
+
{ query: params ?? {} },
|
|
14189
14193
|
options
|
|
14190
14194
|
),
|
|
14191
14195
|
/**
|
|
@@ -14325,7 +14329,7 @@ function createClinicalNamespace(rb) {
|
|
|
14325
14329
|
*/
|
|
14326
14330
|
listArchived: async (params, options) => rb.execute(
|
|
14327
14331
|
getClinicalClientResourceAssignmentsArchived,
|
|
14328
|
-
params ?? {},
|
|
14332
|
+
{ query: params ?? {} },
|
|
14329
14333
|
options
|
|
14330
14334
|
)
|
|
14331
14335
|
},
|
|
@@ -14346,7 +14350,7 @@ function createClinicalNamespace(rb) {
|
|
|
14346
14350
|
*/
|
|
14347
14351
|
list: async (params, options) => rb.execute(
|
|
14348
14352
|
getClinicalSupplementRecCache,
|
|
14349
|
-
params ?? {},
|
|
14353
|
+
{ query: params ?? {} },
|
|
14350
14354
|
options
|
|
14351
14355
|
),
|
|
14352
14356
|
/**
|
|
@@ -14577,7 +14581,7 @@ function createClinicalNamespace(rb) {
|
|
|
14577
14581
|
*/
|
|
14578
14582
|
listArchived: async (params, options) => rb.execute(
|
|
14579
14583
|
getClinicalGoalTemplatesArchived,
|
|
14580
|
-
params ?? {},
|
|
14584
|
+
{ query: params ?? {} },
|
|
14581
14585
|
options
|
|
14582
14586
|
),
|
|
14583
14587
|
/**
|
|
@@ -14647,7 +14651,7 @@ function createClinicalNamespace(rb) {
|
|
|
14647
14651
|
*/
|
|
14648
14652
|
listArchivedCatalog: async (params, options) => rb.execute(
|
|
14649
14653
|
getClinicalGoalTemplatesCatalogArchived,
|
|
14650
|
-
params ?? {},
|
|
14654
|
+
{ query: params ?? {} },
|
|
14651
14655
|
options
|
|
14652
14656
|
),
|
|
14653
14657
|
/**
|
|
@@ -34628,6 +34632,7 @@ export {
|
|
|
34628
34632
|
collectStreamedMessage,
|
|
34629
34633
|
createChannelsNamespace,
|
|
34630
34634
|
createImportsNamespace,
|
|
34635
|
+
createProjectsNamespace,
|
|
34631
34636
|
handleApiError,
|
|
34632
34637
|
isBrowserEnvironment,
|
|
34633
34638
|
isSecureUrl,
|