@supernova-studio/client 1.9.17 → 1.9.19

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
@@ -9827,26 +9827,18 @@ var WorkspaceChatThreadsEndpoint = class {
9827
9827
  this.messages = new ChatThreadMessagesEndpoint(requestExecutor);
9828
9828
  }
9829
9829
  create(workspaceId, body) {
9830
- return this.requestExecutor.json(
9831
- `/workspaces/${workspaceId}/forge/threads`,
9832
- DTOForgeChatThreadCreateResponse,
9833
- {
9834
- method: "POST",
9835
- body
9836
- }
9837
- );
9830
+ return this.requestExecutor.json(`/workspaces/${workspaceId}/forge/threads`, DTOForgeChatThreadCreateResponse, {
9831
+ method: "POST",
9832
+ body
9833
+ });
9838
9834
  }
9839
9835
  list(workspaceId, query) {
9840
- return this.requestExecutor.json(
9841
- `/workspaces/${workspaceId}/forge/threads`,
9842
- DTOForgeChatThreadListResponse,
9843
- {
9844
- query: query ? new URLSearchParams({
9845
- ...query.limit !== void 0 && { limit: query.limit.toString() },
9846
- ...query.offset !== void 0 && { offset: query.offset.toString() }
9847
- }) : void 0
9848
- }
9849
- );
9836
+ return this.requestExecutor.json(`/workspaces/${workspaceId}/forge/threads`, DTOForgeChatThreadListResponse, {
9837
+ query: query ? new URLSearchParams({
9838
+ ...query.limit !== void 0 && { limit: query.limit.toString() },
9839
+ ...query.offset !== void 0 && { offset: query.offset.toString() }
9840
+ }) : void 0
9841
+ });
9850
9842
  }
9851
9843
  update(workspaceId, threadId, body) {
9852
9844
  return this.requestExecutor.json(
@@ -10177,6 +10169,7 @@ var RequestExecutor = class {
10177
10169
  // src/api/client.ts
10178
10170
  var SupernovaApiClient = class {
10179
10171
  constructor(config) {
10172
+ this.config = config;
10180
10173
  __publicField(this, "users");
10181
10174
  __publicField(this, "workspaces");
10182
10175
  __publicField(this, "designSystems");