@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.js CHANGED
@@ -51,6 +51,7 @@ __export(index_exports, {
51
51
  collectStreamedMessage: () => collectStreamedMessage,
52
52
  createChannelsNamespace: () => createChannelsNamespace,
53
53
  createImportsNamespace: () => createImportsNamespace,
54
+ createProjectsNamespace: () => createProjectsNamespace,
54
55
  handleApiError: () => handleApiError,
55
56
  isBrowserEnvironment: () => isBrowserEnvironment,
56
57
  isSecureUrl: () => isSecureUrl,
@@ -1338,7 +1339,7 @@ function buildUserAgent(sdkVersion, appInfo) {
1338
1339
  }
1339
1340
 
1340
1341
  // src/version.ts
1341
- var SDK_VERSION = "0.10.1";
1342
+ var SDK_VERSION = "0.10.2";
1342
1343
  var DEFAULT_API_VERSION = "2026-03-23";
1343
1344
 
1344
1345
  // src/base-client.ts
@@ -12427,7 +12428,7 @@ function createClinicalNamespace(rb) {
12427
12428
  */
12428
12429
  list: async (params, options) => rb.execute(
12429
12430
  getClinicalPatients,
12430
- params ?? {},
12431
+ { query: params ?? {} },
12431
12432
  options
12432
12433
  ),
12433
12434
  /**
@@ -12616,7 +12617,7 @@ function createClinicalNamespace(rb) {
12616
12617
  */
12617
12618
  list: async (params, options) => rb.execute(
12618
12619
  getClinicalSessions,
12619
- params ?? {},
12620
+ { query: params ?? {} },
12620
12621
  options
12621
12622
  ),
12622
12623
  /**
@@ -12755,7 +12756,11 @@ function createClinicalNamespace(rb) {
12755
12756
  * @param options - Request options
12756
12757
  * @returns Array of {@link ClinicalNote} records
12757
12758
  */
12758
- list: async (params, options) => rb.execute(getClinicalNotes, params ?? {}, options),
12759
+ list: async (params, options) => rb.execute(
12760
+ getClinicalNotes,
12761
+ { query: params ?? {} },
12762
+ options
12763
+ ),
12759
12764
  /**
12760
12765
  * Get a single note by ID.
12761
12766
  *
@@ -12864,7 +12869,7 @@ function createClinicalNamespace(rb) {
12864
12869
  */
12865
12870
  listArchived: async (params, options) => rb.execute(
12866
12871
  getClinicalNotesArchived,
12867
- params ?? {},
12872
+ { query: params ?? {} },
12868
12873
  options
12869
12874
  ),
12870
12875
  /**
@@ -12971,7 +12976,7 @@ function createClinicalNamespace(rb) {
12971
12976
  */
12972
12977
  list: async (params, options) => rb.execute(
12973
12978
  getClinicalHealthMetrics,
12974
- params ?? {},
12979
+ { query: params ?? {} },
12975
12980
  options
12976
12981
  ),
12977
12982
  /**
@@ -13101,7 +13106,7 @@ function createClinicalNamespace(rb) {
13101
13106
  */
13102
13107
  listArchived: async (params, options) => rb.execute(
13103
13108
  getClinicalHealthMetricsArchived,
13104
- params ?? {},
13109
+ { query: params ?? {} },
13105
13110
  options
13106
13111
  )
13107
13112
  },
@@ -13118,7 +13123,7 @@ function createClinicalNamespace(rb) {
13118
13123
  */
13119
13124
  list: async (params, options) => rb.execute(
13120
13125
  getClinicalMealPlans,
13121
- params ?? {},
13126
+ { query: params ?? {} },
13122
13127
  options
13123
13128
  ),
13124
13129
  /**
@@ -13229,7 +13234,7 @@ function createClinicalNamespace(rb) {
13229
13234
  */
13230
13235
  listArchived: async (params, options) => rb.execute(
13231
13236
  getClinicalMealPlansArchived,
13232
- params ?? {},
13237
+ { query: params ?? {} },
13233
13238
  options
13234
13239
  )
13235
13240
  },
@@ -13246,7 +13251,7 @@ function createClinicalNamespace(rb) {
13246
13251
  */
13247
13252
  list: async (params, options) => rb.execute(
13248
13253
  getClinicalClientGoals,
13249
- params ?? {},
13254
+ { query: params ?? {} },
13250
13255
  options
13251
13256
  ),
13252
13257
  /**
@@ -13363,7 +13368,7 @@ function createClinicalNamespace(rb) {
13363
13368
  */
13364
13369
  listArchived: async (params, options) => rb.execute(
13365
13370
  getClinicalClientGoalsArchived,
13366
- params ?? {},
13371
+ { query: params ?? {} },
13367
13372
  options
13368
13373
  ),
13369
13374
  /**
@@ -13401,7 +13406,7 @@ function createClinicalNamespace(rb) {
13401
13406
  */
13402
13407
  list: async (params, options) => rb.execute(
13403
13408
  getClinicalClientSupplements,
13404
- params ?? {},
13409
+ { query: params ?? {} },
13405
13410
  options
13406
13411
  ),
13407
13412
  /**
@@ -13523,7 +13528,7 @@ function createClinicalNamespace(rb) {
13523
13528
  */
13524
13529
  listArchived: async (params, options) => rb.execute(
13525
13530
  getClinicalClientSupplementsArchived,
13526
- params ?? {},
13531
+ { query: params ?? {} },
13527
13532
  options
13528
13533
  )
13529
13534
  },
@@ -13540,7 +13545,7 @@ function createClinicalNamespace(rb) {
13540
13545
  */
13541
13546
  list: async (params, options) => rb.execute(
13542
13547
  getClinicalDeliveries,
13543
- params ?? {},
13548
+ { query: params ?? {} },
13544
13549
  options
13545
13550
  ),
13546
13551
  /**
@@ -13598,7 +13603,7 @@ function createClinicalNamespace(rb) {
13598
13603
  */
13599
13604
  list: async (params, options) => rb.execute(
13600
13605
  getClinicalPracticeResources,
13601
- params ?? {},
13606
+ { query: params ?? {} },
13602
13607
  options
13603
13608
  ),
13604
13609
  /**
@@ -13719,7 +13724,7 @@ function createClinicalNamespace(rb) {
13719
13724
  */
13720
13725
  listArchived: async (params, options) => rb.execute(
13721
13726
  getClinicalPracticeResourcesArchived,
13722
- params ?? {},
13727
+ { query: params ?? {} },
13723
13728
  options
13724
13729
  ),
13725
13730
  /**
@@ -13789,7 +13794,7 @@ function createClinicalNamespace(rb) {
13789
13794
  */
13790
13795
  listArchivedCatalog: async (params, options) => rb.execute(
13791
13796
  getClinicalPracticeResourcesCatalogArchived,
13792
- params ?? {},
13797
+ { query: params ?? {} },
13793
13798
  options
13794
13799
  ),
13795
13800
  /**
@@ -14044,7 +14049,7 @@ function createClinicalNamespace(rb) {
14044
14049
  */
14045
14050
  listArchived: async (params, options) => rb.execute(
14046
14051
  getClinicalPracticeToolsArchived,
14047
- params ?? {},
14052
+ { query: params ?? {} },
14048
14053
  options
14049
14054
  ),
14050
14055
  /**
@@ -14136,7 +14141,7 @@ function createClinicalNamespace(rb) {
14136
14141
  */
14137
14142
  listArchivedCatalog: async (params, options) => rb.execute(
14138
14143
  getClinicalPracticeToolsCatalogArchived,
14139
- params ?? {},
14144
+ { query: params ?? {} },
14140
14145
  options
14141
14146
  ),
14142
14147
  /**
@@ -14251,7 +14256,7 @@ function createClinicalNamespace(rb) {
14251
14256
  */
14252
14257
  list: async (params, options) => rb.execute(
14253
14258
  getClinicalClientResourceAssignments,
14254
- params ?? {},
14259
+ { query: params ?? {} },
14255
14260
  options
14256
14261
  ),
14257
14262
  /**
@@ -14391,7 +14396,7 @@ function createClinicalNamespace(rb) {
14391
14396
  */
14392
14397
  listArchived: async (params, options) => rb.execute(
14393
14398
  getClinicalClientResourceAssignmentsArchived,
14394
- params ?? {},
14399
+ { query: params ?? {} },
14395
14400
  options
14396
14401
  )
14397
14402
  },
@@ -14412,7 +14417,7 @@ function createClinicalNamespace(rb) {
14412
14417
  */
14413
14418
  list: async (params, options) => rb.execute(
14414
14419
  getClinicalSupplementRecCache,
14415
- params ?? {},
14420
+ { query: params ?? {} },
14416
14421
  options
14417
14422
  ),
14418
14423
  /**
@@ -14643,7 +14648,7 @@ function createClinicalNamespace(rb) {
14643
14648
  */
14644
14649
  listArchived: async (params, options) => rb.execute(
14645
14650
  getClinicalGoalTemplatesArchived,
14646
- params ?? {},
14651
+ { query: params ?? {} },
14647
14652
  options
14648
14653
  ),
14649
14654
  /**
@@ -14713,7 +14718,7 @@ function createClinicalNamespace(rb) {
14713
14718
  */
14714
14719
  listArchivedCatalog: async (params, options) => rb.execute(
14715
14720
  getClinicalGoalTemplatesCatalogArchived,
14716
- params ?? {},
14721
+ { query: params ?? {} },
14717
14722
  options
14718
14723
  ),
14719
14724
  /**
@@ -34695,6 +34700,7 @@ var Webhooks = class _Webhooks {
34695
34700
  collectStreamedMessage,
34696
34701
  createChannelsNamespace,
34697
34702
  createImportsNamespace,
34703
+ createProjectsNamespace,
34698
34704
  handleApiError,
34699
34705
  isBrowserEnvironment,
34700
34706
  isSecureUrl,