@gpt-platform/client 0.10.1 → 0.10.3

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.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.1";
1275
+ var SDK_VERSION = "0.10.3";
1276
1276
  var DEFAULT_API_VERSION = "2026-03-23";
1277
1277
 
1278
1278
  // src/base-client.ts
@@ -1904,6 +1904,11 @@ var getCatalogTaxonomyNodesTaxonomyByTaxonomyId = (options) => (options.client ?
1904
1904
  url: "/catalog/taxonomy-nodes/taxonomy/{taxonomy_id}",
1905
1905
  ...options
1906
1906
  });
1907
+ var getClinicalNotesByPatient = (options) => (options.client ?? client).get({
1908
+ security: [{ scheme: "bearer", type: "http" }],
1909
+ url: "/clinical/notes/by-patient",
1910
+ ...options
1911
+ });
1907
1912
  var getClinicalNotesByNoteIdVersionsById = (options) => (options.client ?? client).get({
1908
1913
  security: [{ scheme: "bearer", type: "http" }],
1909
1914
  url: "/clinical/notes/{note_id}/versions/{id}",
@@ -2110,6 +2115,11 @@ var postTenantsPersonal = (options) => (options.client ?? client).post({
2110
2115
  ...options.headers
2111
2116
  }
2112
2117
  });
2118
+ var getClinicalMealPlansByPatient = (options) => (options.client ?? client).get({
2119
+ security: [{ scheme: "bearer", type: "http" }],
2120
+ url: "/clinical/meal-plans/by-patient",
2121
+ ...options
2122
+ });
2113
2123
  var getEmailTrackingEventsById = (options) => (options.client ?? client).get({
2114
2124
  security: [{ scheme: "bearer", type: "http" }],
2115
2125
  url: "/email/tracking-events/{id}",
@@ -2911,6 +2921,11 @@ var patchSupportTicketsByIdMerge = (options) => (options.client ?? client).patch
2911
2921
  ...options.headers
2912
2922
  }
2913
2923
  });
2924
+ var getClinicalNotesByWorkspace = (options) => (options.client ?? client).get({
2925
+ security: [{ scheme: "bearer", type: "http" }],
2926
+ url: "/clinical/notes/by-workspace",
2927
+ ...options
2928
+ });
2914
2929
  var getMemorySectionDocumentsById = (options) => (options.client ?? client).get({
2915
2930
  security: [{ scheme: "bearer", type: "http" }],
2916
2931
  url: "/memory/section-documents/{id}",
@@ -12361,7 +12376,7 @@ function createClinicalNamespace(rb) {
12361
12376
  */
12362
12377
  list: async (params, options) => rb.execute(
12363
12378
  getClinicalPatients,
12364
- params ?? {},
12379
+ { query: params ?? {} },
12365
12380
  options
12366
12381
  ),
12367
12382
  /**
@@ -12550,7 +12565,7 @@ function createClinicalNamespace(rb) {
12550
12565
  */
12551
12566
  list: async (params, options) => rb.execute(
12552
12567
  getClinicalSessions,
12553
- params ?? {},
12568
+ { query: params ?? {} },
12554
12569
  options
12555
12570
  ),
12556
12571
  /**
@@ -12689,7 +12704,37 @@ function createClinicalNamespace(rb) {
12689
12704
  * @param options - Request options
12690
12705
  * @returns Array of {@link ClinicalNote} records
12691
12706
  */
12692
- list: async (params, options) => rb.execute(getClinicalNotes, params ?? {}, options),
12707
+ list: async (params, options) => rb.execute(
12708
+ getClinicalNotes,
12709
+ { query: params ?? {} },
12710
+ options
12711
+ ),
12712
+ /**
12713
+ * List all notes for a patient across all sessions.
12714
+ *
12715
+ * @param patientId - Patient UUID
12716
+ * @param params - Filter/pagination parameters
12717
+ * @param options - Request options
12718
+ * @returns Array of {@link ClinicalNote} records
12719
+ */
12720
+ listByPatient: async (patientId, params, options) => rb.execute(
12721
+ getClinicalNotesByPatient,
12722
+ { query: { patient_id: patientId, ...params } },
12723
+ options
12724
+ ),
12725
+ /**
12726
+ * List all notes in a workspace.
12727
+ *
12728
+ * @param workspaceId - Workspace UUID
12729
+ * @param params - Filter/pagination parameters
12730
+ * @param options - Request options
12731
+ * @returns Array of {@link ClinicalNote} records
12732
+ */
12733
+ listByWorkspace: async (workspaceId, params, options) => rb.execute(
12734
+ getClinicalNotesByWorkspace,
12735
+ { query: { workspace_id: workspaceId, ...params } },
12736
+ options
12737
+ ),
12693
12738
  /**
12694
12739
  * Get a single note by ID.
12695
12740
  *
@@ -12798,7 +12843,7 @@ function createClinicalNamespace(rb) {
12798
12843
  */
12799
12844
  listArchived: async (params, options) => rb.execute(
12800
12845
  getClinicalNotesArchived,
12801
- params ?? {},
12846
+ { query: params ?? {} },
12802
12847
  options
12803
12848
  ),
12804
12849
  /**
@@ -12905,7 +12950,7 @@ function createClinicalNamespace(rb) {
12905
12950
  */
12906
12951
  list: async (params, options) => rb.execute(
12907
12952
  getClinicalHealthMetrics,
12908
- params ?? {},
12953
+ { query: params ?? {} },
12909
12954
  options
12910
12955
  ),
12911
12956
  /**
@@ -13035,7 +13080,7 @@ function createClinicalNamespace(rb) {
13035
13080
  */
13036
13081
  listArchived: async (params, options) => rb.execute(
13037
13082
  getClinicalHealthMetricsArchived,
13038
- params ?? {},
13083
+ { query: params ?? {} },
13039
13084
  options
13040
13085
  )
13041
13086
  },
@@ -13052,7 +13097,20 @@ function createClinicalNamespace(rb) {
13052
13097
  */
13053
13098
  list: async (params, options) => rb.execute(
13054
13099
  getClinicalMealPlans,
13055
- params ?? {},
13100
+ { query: params ?? {} },
13101
+ options
13102
+ ),
13103
+ /**
13104
+ * List all meal plans for a patient across all sessions.
13105
+ *
13106
+ * @param patientId - Patient UUID
13107
+ * @param params - Filter/pagination parameters
13108
+ * @param options - Request options
13109
+ * @returns Array of {@link ClinicalMealPlan} records
13110
+ */
13111
+ listByPatient: async (patientId, params, options) => rb.execute(
13112
+ getClinicalMealPlansByPatient,
13113
+ { query: { patient_id: patientId, ...params } },
13056
13114
  options
13057
13115
  ),
13058
13116
  /**
@@ -13071,6 +13129,8 @@ function createClinicalNamespace(rb) {
13071
13129
  * Create a new meal plan.
13072
13130
  *
13073
13131
  * @param attributes - Meal plan creation attributes. Must include `workspace_id`.
13132
+ * Provide `patient_id` directly, or `session_id` to auto-populate
13133
+ * `patient_id` from the session's patient.
13074
13134
  * @param options - Request options
13075
13135
  * @returns Created {@link ClinicalMealPlan} record
13076
13136
  */
@@ -13163,7 +13223,7 @@ function createClinicalNamespace(rb) {
13163
13223
  */
13164
13224
  listArchived: async (params, options) => rb.execute(
13165
13225
  getClinicalMealPlansArchived,
13166
- params ?? {},
13226
+ { query: params ?? {} },
13167
13227
  options
13168
13228
  )
13169
13229
  },
@@ -13180,7 +13240,7 @@ function createClinicalNamespace(rb) {
13180
13240
  */
13181
13241
  list: async (params, options) => rb.execute(
13182
13242
  getClinicalClientGoals,
13183
- params ?? {},
13243
+ { query: params ?? {} },
13184
13244
  options
13185
13245
  ),
13186
13246
  /**
@@ -13297,7 +13357,7 @@ function createClinicalNamespace(rb) {
13297
13357
  */
13298
13358
  listArchived: async (params, options) => rb.execute(
13299
13359
  getClinicalClientGoalsArchived,
13300
- params ?? {},
13360
+ { query: params ?? {} },
13301
13361
  options
13302
13362
  ),
13303
13363
  /**
@@ -13335,7 +13395,7 @@ function createClinicalNamespace(rb) {
13335
13395
  */
13336
13396
  list: async (params, options) => rb.execute(
13337
13397
  getClinicalClientSupplements,
13338
- params ?? {},
13398
+ { query: params ?? {} },
13339
13399
  options
13340
13400
  ),
13341
13401
  /**
@@ -13457,9 +13517,28 @@ function createClinicalNamespace(rb) {
13457
13517
  */
13458
13518
  listArchived: async (params, options) => rb.execute(
13459
13519
  getClinicalClientSupplementsArchived,
13460
- params ?? {},
13520
+ { query: params ?? {} },
13461
13521
  options
13462
- )
13522
+ ),
13523
+ /**
13524
+ * Create multiple supplements in a single request.
13525
+ *
13526
+ * @param attrs - Bulk creation attributes with workspace_id and supplements array
13527
+ * @param options - Request options
13528
+ * @returns Array of creation results with id and status per supplement
13529
+ *
13530
+ * @example
13531
+ * ```typescript
13532
+ * const results = await client.clinical.clientSupplements.bulkCreate({
13533
+ * workspace_id: 'ws_123',
13534
+ * supplements: [
13535
+ * { patient_id: 'pat_1', name: 'Vitamin D3', source: 'fullscript' },
13536
+ * { patient_id: 'pat_1', name: 'Omega-3', source: 'fullscript' },
13537
+ * ],
13538
+ * });
13539
+ * ```
13540
+ */
13541
+ bulkCreate: async (attrs, options) => rb.rawPost(`/clinical/client-supplements/bulk`, { data: attrs }, options).then((r) => r.data)
13463
13542
  },
13464
13543
  /**
13465
13544
  * Manage clinical deliveries (care plan items sent to patients).
@@ -13474,7 +13553,7 @@ function createClinicalNamespace(rb) {
13474
13553
  */
13475
13554
  list: async (params, options) => rb.execute(
13476
13555
  getClinicalDeliveries,
13477
- params ?? {},
13556
+ { query: params ?? {} },
13478
13557
  options
13479
13558
  ),
13480
13559
  /**
@@ -13532,7 +13611,7 @@ function createClinicalNamespace(rb) {
13532
13611
  */
13533
13612
  list: async (params, options) => rb.execute(
13534
13613
  getClinicalPracticeResources,
13535
- params ?? {},
13614
+ { query: params ?? {} },
13536
13615
  options
13537
13616
  ),
13538
13617
  /**
@@ -13653,7 +13732,7 @@ function createClinicalNamespace(rb) {
13653
13732
  */
13654
13733
  listArchived: async (params, options) => rb.execute(
13655
13734
  getClinicalPracticeResourcesArchived,
13656
- params ?? {},
13735
+ { query: params ?? {} },
13657
13736
  options
13658
13737
  ),
13659
13738
  /**
@@ -13723,7 +13802,7 @@ function createClinicalNamespace(rb) {
13723
13802
  */
13724
13803
  listArchivedCatalog: async (params, options) => rb.execute(
13725
13804
  getClinicalPracticeResourcesCatalogArchived,
13726
- params ?? {},
13805
+ { query: params ?? {} },
13727
13806
  options
13728
13807
  ),
13729
13808
  /**
@@ -13978,7 +14057,7 @@ function createClinicalNamespace(rb) {
13978
14057
  */
13979
14058
  listArchived: async (params, options) => rb.execute(
13980
14059
  getClinicalPracticeToolsArchived,
13981
- params ?? {},
14060
+ { query: params ?? {} },
13982
14061
  options
13983
14062
  ),
13984
14063
  /**
@@ -14070,7 +14149,7 @@ function createClinicalNamespace(rb) {
14070
14149
  */
14071
14150
  listArchivedCatalog: async (params, options) => rb.execute(
14072
14151
  getClinicalPracticeToolsCatalogArchived,
14073
- params ?? {},
14152
+ { query: params ?? {} },
14074
14153
  options
14075
14154
  ),
14076
14155
  /**
@@ -14185,7 +14264,7 @@ function createClinicalNamespace(rb) {
14185
14264
  */
14186
14265
  list: async (params, options) => rb.execute(
14187
14266
  getClinicalClientResourceAssignments,
14188
- params ?? {},
14267
+ { query: params ?? {} },
14189
14268
  options
14190
14269
  ),
14191
14270
  /**
@@ -14325,7 +14404,7 @@ function createClinicalNamespace(rb) {
14325
14404
  */
14326
14405
  listArchived: async (params, options) => rb.execute(
14327
14406
  getClinicalClientResourceAssignmentsArchived,
14328
- params ?? {},
14407
+ { query: params ?? {} },
14329
14408
  options
14330
14409
  )
14331
14410
  },
@@ -14346,7 +14425,7 @@ function createClinicalNamespace(rb) {
14346
14425
  */
14347
14426
  list: async (params, options) => rb.execute(
14348
14427
  getClinicalSupplementRecCache,
14349
- params ?? {},
14428
+ { query: params ?? {} },
14350
14429
  options
14351
14430
  ),
14352
14431
  /**
@@ -14577,7 +14656,7 @@ function createClinicalNamespace(rb) {
14577
14656
  */
14578
14657
  listArchived: async (params, options) => rb.execute(
14579
14658
  getClinicalGoalTemplatesArchived,
14580
- params ?? {},
14659
+ { query: params ?? {} },
14581
14660
  options
14582
14661
  ),
14583
14662
  /**
@@ -14647,7 +14726,7 @@ function createClinicalNamespace(rb) {
14647
14726
  */
14648
14727
  listArchivedCatalog: async (params, options) => rb.execute(
14649
14728
  getClinicalGoalTemplatesCatalogArchived,
14650
- params ?? {},
14729
+ { query: params ?? {} },
14651
14730
  options
14652
14731
  ),
14653
14732
  /**
@@ -14773,7 +14852,11 @@ function createClinicalNamespace(rb) {
14773
14852
  * });
14774
14853
  * ```
14775
14854
  */
14776
- search: async (params, options) => rb.rawPost(`/clinical/recipes/search`, params, options)
14855
+ search: async (params, options) => rb.rawPost(
14856
+ `/clinical/recipes/search`,
14857
+ params,
14858
+ options
14859
+ )
14777
14860
  }
14778
14861
  };
14779
14862
  }
@@ -18395,7 +18478,10 @@ function createConnectorsNamespace(rb) {
18395
18478
  */
18396
18479
  create: async (attributes, options) => rb.execute(
18397
18480
  postConnectors,
18398
- { body: { data: { type: "connector-instance", attributes } } },
18481
+ {
18482
+ body: { data: { type: "connector-instance", attributes } },
18483
+ query: { workspace_id: attributes.workspace_id }
18484
+ },
18399
18485
  options
18400
18486
  ),
18401
18487
  /**
@@ -18517,7 +18603,6 @@ function createConnectorsNamespace(rb) {
18517
18603
  path: { id },
18518
18604
  body: {
18519
18605
  data: {
18520
- type: "credential",
18521
18606
  workspace_id: workspaceId
18522
18607
  }
18523
18608
  }
@@ -18550,10 +18635,7 @@ function createConnectorsNamespace(rb) {
18550
18635
  postConnectorsCredentialsUpsert,
18551
18636
  {
18552
18637
  body: {
18553
- data: {
18554
- type: "credential",
18555
- ...attributes
18556
- }
18638
+ data: attributes
18557
18639
  }
18558
18640
  },
18559
18641
  options
@@ -18582,7 +18664,6 @@ function createConnectorsNamespace(rb) {
18582
18664
  {
18583
18665
  body: {
18584
18666
  data: {
18585
- type: "credential",
18586
18667
  workspace_id: workspaceId,
18587
18668
  connector_type: connectorType,
18588
18669
  scope_level: scopeLevel
@@ -19065,9 +19146,11 @@ function createConnectorsNamespace(rb) {
19065
19146
  listTreatmentPlans: async (connectorId, workspaceId, patientId, options) => rb.rawPost(
19066
19147
  `/connectors/fullscript/treatment-plans/list`,
19067
19148
  {
19068
- workspace_id: workspaceId,
19069
- connector_id: connectorId,
19070
- patient_id: patientId
19149
+ data: {
19150
+ workspace_id: workspaceId,
19151
+ connector_id: connectorId,
19152
+ patient_id: patientId
19153
+ }
19071
19154
  },
19072
19155
  options
19073
19156
  ).then((r) => r.data),
@@ -19094,9 +19177,11 @@ function createConnectorsNamespace(rb) {
19094
19177
  getTreatmentPlan: async (connectorId, workspaceId, treatmentPlanId, options) => rb.rawPost(
19095
19178
  `/connectors/fullscript/treatment-plans/get`,
19096
19179
  {
19097
- workspace_id: workspaceId,
19098
- connector_id: connectorId,
19099
- treatment_plan_id: treatmentPlanId
19180
+ data: {
19181
+ workspace_id: workspaceId,
19182
+ connector_id: connectorId,
19183
+ treatment_plan_id: treatmentPlanId
19184
+ }
19100
19185
  },
19101
19186
  options
19102
19187
  ).then((r) => r.data),
@@ -19123,13 +19208,81 @@ function createConnectorsNamespace(rb) {
19123
19208
  cancelTreatmentPlan: async (connectorId, workspaceId, treatmentPlanId, options) => rb.rawPost(
19124
19209
  `/connectors/fullscript/treatment-plans/cancel`,
19125
19210
  {
19126
- workspace_id: workspaceId,
19127
- connector_id: connectorId,
19128
- treatment_plan_id: treatmentPlanId
19211
+ data: {
19212
+ workspace_id: workspaceId,
19213
+ connector_id: connectorId,
19214
+ treatment_plan_id: treatmentPlanId
19215
+ }
19216
+ },
19217
+ options
19218
+ ).then((r) => r.data),
19219
+ /**
19220
+ * Create a treatment plan in Fullscript with product recommendations.
19221
+ *
19222
+ * @param connectorId - The Fullscript connector instance ID
19223
+ * @param workspaceId - The workspace ID
19224
+ * @param attrs - Treatment plan creation attributes
19225
+ * @param options - Optional request options.
19226
+ * @returns The created {@link FullscriptTreatmentPlan}.
19227
+ *
19228
+ * @example
19229
+ * ```typescript
19230
+ * const plan = await client.connectors.fullscript.createTreatmentPlan(
19231
+ * 'ci_fs_123',
19232
+ * 'ws_abc123',
19233
+ * {
19234
+ * patient_id: 'fs_pat_456',
19235
+ * recommendations: [{ product_id: 'prod_1', dosage: '1 cap daily' }],
19236
+ * send_invitation: true,
19237
+ * message: 'Please take as directed',
19238
+ * },
19239
+ * );
19240
+ * ```
19241
+ */
19242
+ createTreatmentPlan: async (connectorId, workspaceId, attrs, options) => rb.rawPost(
19243
+ `/connectors/fullscript/treatment-plans/create`,
19244
+ {
19245
+ data: {
19246
+ workspace_id: workspaceId,
19247
+ connector_id: connectorId,
19248
+ patient_id: attrs.patient_id,
19249
+ recommendations: attrs.recommendations,
19250
+ send_invitation: attrs.send_invitation,
19251
+ message: attrs.message
19252
+ }
19129
19253
  },
19130
19254
  options
19131
19255
  ).then((r) => r.data),
19132
19256
  // ── Products ──
19257
+ /**
19258
+ * Match AI-generated supplement names to Fullscript products.
19259
+ *
19260
+ * @param connectorId - The Fullscript connector instance ID
19261
+ * @param workspaceId - The workspace ID
19262
+ * @param queries - Array of product match queries
19263
+ * @param options - Optional request options.
19264
+ * @returns Array of {@link ProductMatchResult} with matched products per query.
19265
+ *
19266
+ * @example
19267
+ * ```typescript
19268
+ * const results = await client.connectors.fullscript.matchProducts(
19269
+ * 'ci_fs_123',
19270
+ * 'ws_abc123',
19271
+ * [{ name: 'Vitamin D3 2000 IU', form: 'capsule' }],
19272
+ * );
19273
+ * ```
19274
+ */
19275
+ matchProducts: async (connectorId, workspaceId, queries, options) => rb.rawPost(
19276
+ `/connectors/fullscript/products/match`,
19277
+ {
19278
+ data: {
19279
+ workspace_id: workspaceId,
19280
+ connector_id: connectorId,
19281
+ queries
19282
+ }
19283
+ },
19284
+ options
19285
+ ).then((r) => r.data),
19133
19286
  /**
19134
19287
  * Search the Fullscript product catalog by keyword query.
19135
19288
  *
@@ -19153,9 +19306,11 @@ function createConnectorsNamespace(rb) {
19153
19306
  searchProducts: async (connectorId, workspaceId, query, options) => rb.rawPost(
19154
19307
  `/connectors/fullscript/products/search`,
19155
19308
  {
19156
- workspace_id: workspaceId,
19157
- connector_id: connectorId,
19158
- query
19309
+ data: {
19310
+ workspace_id: workspaceId,
19311
+ connector_id: connectorId,
19312
+ query
19313
+ }
19159
19314
  },
19160
19315
  options
19161
19316
  ).then((r) => r.data),
@@ -19182,9 +19337,11 @@ function createConnectorsNamespace(rb) {
19182
19337
  getProduct: async (connectorId, workspaceId, productId, options) => rb.rawPost(
19183
19338
  `/connectors/fullscript/products/get`,
19184
19339
  {
19185
- workspace_id: workspaceId,
19186
- connector_id: connectorId,
19187
- product_id: productId
19340
+ data: {
19341
+ workspace_id: workspaceId,
19342
+ connector_id: connectorId,
19343
+ product_id: productId
19344
+ }
19188
19345
  },
19189
19346
  options
19190
19347
  ).then((r) => r.data),
@@ -19211,9 +19368,11 @@ function createConnectorsNamespace(rb) {
19211
19368
  listSimilarProducts: async (connectorId, workspaceId, productId, options) => rb.rawPost(
19212
19369
  `/connectors/fullscript/products/similar`,
19213
19370
  {
19214
- workspace_id: workspaceId,
19215
- connector_id: connectorId,
19216
- product_id: productId
19371
+ data: {
19372
+ workspace_id: workspaceId,
19373
+ connector_id: connectorId,
19374
+ product_id: productId
19375
+ }
19217
19376
  },
19218
19377
  options
19219
19378
  ).then((r) => r.data),
@@ -19241,9 +19400,11 @@ function createConnectorsNamespace(rb) {
19241
19400
  listPatientOrders: async (connectorId, workspaceId, patientId, options) => rb.rawPost(
19242
19401
  `/connectors/fullscript/orders/list`,
19243
19402
  {
19244
- workspace_id: workspaceId,
19245
- connector_id: connectorId,
19246
- patient_id: patientId
19403
+ data: {
19404
+ workspace_id: workspaceId,
19405
+ connector_id: connectorId,
19406
+ patient_id: patientId
19407
+ }
19247
19408
  },
19248
19409
  options
19249
19410
  ).then((r) => r.data),
@@ -19270,9 +19431,11 @@ function createConnectorsNamespace(rb) {
19270
19431
  getOrder: async (connectorId, workspaceId, orderId, options) => rb.rawPost(
19271
19432
  `/connectors/fullscript/orders/get`,
19272
19433
  {
19273
- workspace_id: workspaceId,
19274
- connector_id: connectorId,
19275
- order_id: orderId
19434
+ data: {
19435
+ workspace_id: workspaceId,
19436
+ connector_id: connectorId,
19437
+ order_id: orderId
19438
+ }
19276
19439
  },
19277
19440
  options
19278
19441
  ).then((r) => r.data),
@@ -32960,13 +33123,16 @@ function createSocialNamespace(rb) {
32960
33123
  },
32961
33124
  /**
32962
33125
  * Create a new social campaign.
32963
- * Workspace is resolved from the authenticated user's context — do NOT
32964
- * pass `workspace_id` in attributes.
33126
+ *
33127
+ * @param workspaceId - Workspace ID (passed as query parameter for tenant resolution).
33128
+ * @param attributes - Campaign attributes (name, content_brief, etc.).
33129
+ * @param options - Optional request-level overrides.
32965
33130
  */
32966
- create: async (attributes, options) => {
33131
+ create: async (workspaceId, attributes, options) => {
32967
33132
  return rb.execute(
32968
33133
  postSocialCampaigns,
32969
33134
  {
33135
+ query: { workspace_id: workspaceId },
32970
33136
  body: {
32971
33137
  data: { type: "social-campaign", attributes }
32972
33138
  }
@@ -34628,6 +34794,7 @@ export {
34628
34794
  collectStreamedMessage,
34629
34795
  createChannelsNamespace,
34630
34796
  createImportsNamespace,
34797
+ createProjectsNamespace,
34631
34798
  handleApiError,
34632
34799
  isBrowserEnvironment,
34633
34800
  isSecureUrl,