@supernova-studio/client 1.50.4 → 1.50.6

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
@@ -10920,7 +10920,9 @@ var DTOSandboxTemplateBuildCreateInput = z340.object({
10920
10920
  version: z340.string()
10921
10921
  });
10922
10922
  var DTOSandboxTemplateBuildCreateResponse = z340.object({
10923
+ /** @deprecated use domain + build.dockerImagePath */
10923
10924
  dockerUrl: z340.string(),
10925
+ dockerRegistryDomain: z340.string(),
10924
10926
  dockerAccessToken: z340.string(),
10925
10927
  build: DTOSandboxTemplateBuild
10926
10928
  });
@@ -12793,6 +12795,53 @@ var MCPStreamsEndpoint = class {
12793
12795
  }
12794
12796
  };
12795
12797
 
12798
+ // src/api/endpoints/sandboxes/builds.ts
12799
+ var SandboxTemplateBuildsEndpoint = class {
12800
+ constructor(requestExecutor) {
12801
+ this.requestExecutor = requestExecutor;
12802
+ }
12803
+ start(body) {
12804
+ return this.requestExecutor.json(`/sandboxes/builds`, DTOSandboxTemplateBuildCreateResponse, {
12805
+ body,
12806
+ method: "POST"
12807
+ });
12808
+ }
12809
+ get(buildId) {
12810
+ return this.requestExecutor.json(`/sandboxes/builds/${buildId}`, DTOSandboxTemplateBuildResponse);
12811
+ }
12812
+ finalize(buildId) {
12813
+ return this.requestExecutor.json(`/sandboxes/builds/${buildId}`, DTOSandboxTemplateBuildFinalizeResponse, {
12814
+ method: "PUT"
12815
+ });
12816
+ }
12817
+ };
12818
+
12819
+ // src/api/endpoints/sandboxes/templates.ts
12820
+ var SandboxTemplatesEndpoint = class {
12821
+ constructor(requestExecutor) {
12822
+ this.requestExecutor = requestExecutor;
12823
+ }
12824
+ list(query) {
12825
+ return this.requestExecutor.json(`/sandboxes/templates`, DTOSandboxTemplateListResponse, {
12826
+ query: new URLSearchParams(query)
12827
+ });
12828
+ }
12829
+ get(templateId) {
12830
+ return this.requestExecutor.json(`/sandboxes/templates/${templateId}`, DTOSandboxTemplateResponse);
12831
+ }
12832
+ };
12833
+
12834
+ // src/api/endpoints/sandboxes/sandboxes.ts
12835
+ var SandboxesEndpoint = class {
12836
+ constructor(requestExecutor) {
12837
+ this.requestExecutor = requestExecutor;
12838
+ __publicField(this, "builds");
12839
+ __publicField(this, "templates");
12840
+ this.builds = new SandboxTemplateBuildsEndpoint(requestExecutor);
12841
+ this.templates = new SandboxTemplatesEndpoint(requestExecutor);
12842
+ }
12843
+ };
12844
+
12796
12845
  // src/api/endpoints/workspaces/billing.ts
12797
12846
  var WorkspaceBillingEndpoint = class {
12798
12847
  constructor(requestExecutor) {
@@ -13253,53 +13302,6 @@ var RequestExecutor = class {
13253
13302
  }
13254
13303
  };
13255
13304
 
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
13305
  // src/api/client.ts
13304
13306
  var SupernovaApiClient = class {
13305
13307
  constructor(config) {
@@ -20566,6 +20568,9 @@ export {
20566
20568
  RequestExecutor,
20567
20569
  RequestExecutorError,
20568
20570
  ResolvedVariableType,
20571
+ SandboxTemplateBuildsEndpoint,
20572
+ SandboxTemplatesEndpoint,
20573
+ SandboxesEndpoint,
20569
20574
  StorybookEntriesEndpoint,
20570
20575
  StorybookHostingEndpoint,
20571
20576
  StringVariableScopeType,