@supernova-studio/client 1.50.4 → 1.50.5

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
@@ -12793,6 +12793,53 @@ var MCPStreamsEndpoint = class {
12793
12793
  }
12794
12794
  };
12795
12795
 
12796
+ // src/api/endpoints/sandboxes/builds.ts
12797
+ var SandboxTemplateBuildsEndpoint = class {
12798
+ constructor(requestExecutor) {
12799
+ this.requestExecutor = requestExecutor;
12800
+ }
12801
+ start(body) {
12802
+ return this.requestExecutor.json(`/sandboxes/builds`, DTOSandboxTemplateBuildCreateResponse, {
12803
+ body,
12804
+ method: "POST"
12805
+ });
12806
+ }
12807
+ get(buildId) {
12808
+ return this.requestExecutor.json(`/sandboxes/builds/${buildId}`, DTOSandboxTemplateBuildResponse);
12809
+ }
12810
+ finalize(buildId) {
12811
+ return this.requestExecutor.json(`/sandboxes/builds/${buildId}`, DTOSandboxTemplateBuildFinalizeResponse, {
12812
+ method: "PUT"
12813
+ });
12814
+ }
12815
+ };
12816
+
12817
+ // src/api/endpoints/sandboxes/templates.ts
12818
+ var SandboxTemplatesEndpoint = class {
12819
+ constructor(requestExecutor) {
12820
+ this.requestExecutor = requestExecutor;
12821
+ }
12822
+ list(query) {
12823
+ return this.requestExecutor.json(`/sandboxes/templates`, DTOSandboxTemplateListResponse, {
12824
+ query: new URLSearchParams(query)
12825
+ });
12826
+ }
12827
+ get(templateId) {
12828
+ return this.requestExecutor.json(`/sandboxes/templates/${templateId}`, DTOSandboxTemplateResponse);
12829
+ }
12830
+ };
12831
+
12832
+ // src/api/endpoints/sandboxes/sandboxes.ts
12833
+ var SandboxesEndpoint = class {
12834
+ constructor(requestExecutor) {
12835
+ this.requestExecutor = requestExecutor;
12836
+ __publicField(this, "builds");
12837
+ __publicField(this, "templates");
12838
+ this.builds = new SandboxTemplateBuildsEndpoint(requestExecutor);
12839
+ this.templates = new SandboxTemplatesEndpoint(requestExecutor);
12840
+ }
12841
+ };
12842
+
12796
12843
  // src/api/endpoints/workspaces/billing.ts
12797
12844
  var WorkspaceBillingEndpoint = class {
12798
12845
  constructor(requestExecutor) {
@@ -13253,53 +13300,6 @@ var RequestExecutor = class {
13253
13300
  }
13254
13301
  };
13255
13302
 
13256
- // src/api/endpoints/sandboxes/builds.ts
13257
- var SandboxTemplateBuildsEndpoint = class {
13258
- constructor(requestExecutor) {
13259
- this.requestExecutor = requestExecutor;
13260
- }
13261
- start(body) {
13262
- return this.requestExecutor.json(`/sandboxes/builds`, DTOSandboxTemplateBuildCreateResponse, {
13263
- body,
13264
- method: "POST"
13265
- });
13266
- }
13267
- get(buildId) {
13268
- return this.requestExecutor.json(`/sandboxes/builds/${buildId}`, DTOSandboxTemplateBuildResponse);
13269
- }
13270
- finalize(buildId) {
13271
- return this.requestExecutor.json(`/sandboxes/builds/${buildId}`, DTOSandboxTemplateBuildFinalizeResponse, {
13272
- method: "PUT"
13273
- });
13274
- }
13275
- };
13276
-
13277
- // src/api/endpoints/sandboxes/templates.ts
13278
- var SandboxTemplatesEndpoint = class {
13279
- constructor(requestExecutor) {
13280
- this.requestExecutor = requestExecutor;
13281
- }
13282
- list(query) {
13283
- return this.requestExecutor.json(`/sandboxes/templates`, DTOSandboxTemplateListResponse, {
13284
- query: new URLSearchParams(query)
13285
- });
13286
- }
13287
- get(templateId) {
13288
- return this.requestExecutor.json(`/sandboxes/templates/${templateId}`, DTOSandboxTemplateResponse);
13289
- }
13290
- };
13291
-
13292
- // src/api/endpoints/sandboxes/sandboxes.ts
13293
- var SandboxesEndpoint = class {
13294
- constructor(requestExecutor) {
13295
- this.requestExecutor = requestExecutor;
13296
- __publicField(this, "builds");
13297
- __publicField(this, "templates");
13298
- this.builds = new SandboxTemplateBuildsEndpoint(requestExecutor);
13299
- this.templates = new SandboxTemplatesEndpoint(requestExecutor);
13300
- }
13301
- };
13302
-
13303
13303
  // src/api/client.ts
13304
13304
  var SupernovaApiClient = class {
13305
13305
  constructor(config) {
@@ -20566,6 +20566,9 @@ export {
20566
20566
  RequestExecutor,
20567
20567
  RequestExecutorError,
20568
20568
  ResolvedVariableType,
20569
+ SandboxTemplateBuildsEndpoint,
20570
+ SandboxTemplatesEndpoint,
20571
+ SandboxesEndpoint,
20569
20572
  StorybookEntriesEndpoint,
20570
20573
  StorybookHostingEndpoint,
20571
20574
  StringVariableScopeType,