freestyle-sandboxes 0.0.88 → 0.0.90

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "freestyle-sandboxes",
3
- "version": "0.0.88",
3
+ "version": "0.0.90",
4
4
  "type": "module",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",
package/src/index.ts CHANGED
@@ -68,6 +68,11 @@ export type {
68
68
  ListGitTokensResponseSuccess,
69
69
  ListPermissionResponseSuccess,
70
70
  DeploymentBuildOptions,
71
+ DeploymentSource,
72
+ HandleListDomainMappingsResponse,
73
+ HandleListDomainMappingsData,
74
+ HandleInsertDomainMappingResponse,
75
+ HandleDeleteDomainMappingResponse,
71
76
  } from "../openapi/index.ts";
72
77
 
73
78
  /**
@@ -471,25 +476,20 @@ export class FreestyleSandboxes {
471
476
  */
472
477
  async removeDomainMapping({
473
478
  domain,
474
- deploymentId,
475
479
  }: {
476
480
  domain: string;
477
- deploymentId: string;
478
481
  }): Promise<sandbox_openapi.HandleDeleteDomainMappingResponse> {
479
482
  const response = await sandbox_openapi.handleDeleteDomainMapping({
480
483
  client: this.client,
481
484
  path: {
482
485
  domain,
483
486
  },
484
- body: {
485
- deploymentId,
486
- },
487
487
  });
488
488
  if (response.data) {
489
489
  return response.data;
490
490
  }
491
491
  throw new Error(
492
- `Failed to remove domain mapping for domain ${domain} and deployment ${deploymentId}: ${response.error.message}`
492
+ `Failed to remove domain mapping for domain ${domain}: ${response.error.message}`
493
493
  );
494
494
  }
495
495