@distilled.cloud/prisma-postgres 0.4.0 → 0.5.1

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.
Files changed (127) hide show
  1. package/README.md +1 -0
  2. package/lib/operations/deleteV1ComputeServicesByComputeServiceId.d.ts +15 -0
  3. package/lib/operations/deleteV1ComputeServicesByComputeServiceId.d.ts.map +1 -0
  4. package/lib/operations/deleteV1ComputeServicesByComputeServiceId.js +27 -0
  5. package/lib/operations/deleteV1ComputeServicesByComputeServiceId.js.map +1 -0
  6. package/lib/operations/deleteV1ComputeServicesVersionsByVersionId.d.ts +15 -0
  7. package/lib/operations/deleteV1ComputeServicesVersionsByVersionId.d.ts.map +1 -0
  8. package/lib/operations/deleteV1ComputeServicesVersionsByVersionId.js +27 -0
  9. package/lib/operations/deleteV1ComputeServicesVersionsByVersionId.js.map +1 -0
  10. package/lib/operations/deleteV1VersionsByVersionId.d.ts +15 -0
  11. package/lib/operations/deleteV1VersionsByVersionId.d.ts.map +1 -0
  12. package/lib/operations/deleteV1VersionsByVersionId.js +23 -0
  13. package/lib/operations/deleteV1VersionsByVersionId.js.map +1 -0
  14. package/lib/operations/getV1ComputeServices.d.ts +35 -0
  15. package/lib/operations/getV1ComputeServices.d.ts.map +1 -0
  16. package/lib/operations/getV1ComputeServices.js +43 -0
  17. package/lib/operations/getV1ComputeServices.js.map +1 -0
  18. package/lib/operations/getV1ComputeServicesByComputeServiceId.d.ts +29 -0
  19. package/lib/operations/getV1ComputeServicesByComputeServiceId.d.ts.map +1 -0
  20. package/lib/operations/getV1ComputeServicesByComputeServiceId.js +38 -0
  21. package/lib/operations/getV1ComputeServicesByComputeServiceId.js.map +1 -0
  22. package/lib/operations/getV1ComputeServicesByComputeServiceIdVersions.d.ts +29 -0
  23. package/lib/operations/getV1ComputeServicesByComputeServiceIdVersions.d.ts.map +1 -0
  24. package/lib/operations/getV1ComputeServicesByComputeServiceIdVersions.js +41 -0
  25. package/lib/operations/getV1ComputeServicesByComputeServiceIdVersions.js.map +1 -0
  26. package/lib/operations/getV1ComputeServicesVersionsByVersionId.d.ts +26 -0
  27. package/lib/operations/getV1ComputeServicesVersionsByVersionId.d.ts.map +1 -0
  28. package/lib/operations/getV1ComputeServicesVersionsByVersionId.js +38 -0
  29. package/lib/operations/getV1ComputeServicesVersionsByVersionId.js.map +1 -0
  30. package/lib/operations/getV1ProjectsByProjectIdComputeServices.d.ts +35 -0
  31. package/lib/operations/getV1ProjectsByProjectIdComputeServices.d.ts.map +1 -0
  32. package/lib/operations/getV1ProjectsByProjectIdComputeServices.js +47 -0
  33. package/lib/operations/getV1ProjectsByProjectIdComputeServices.js.map +1 -0
  34. package/lib/operations/getV1Versions.d.ts +29 -0
  35. package/lib/operations/getV1Versions.d.ts.map +1 -0
  36. package/lib/operations/getV1Versions.js +35 -0
  37. package/lib/operations/getV1Versions.js.map +1 -0
  38. package/lib/operations/getV1VersionsByVersionId.d.ts +26 -0
  39. package/lib/operations/getV1VersionsByVersionId.d.ts.map +1 -0
  40. package/lib/operations/getV1VersionsByVersionId.js +34 -0
  41. package/lib/operations/getV1VersionsByVersionId.js.map +1 -0
  42. package/lib/operations/patchV1ComputeServicesByComputeServiceId.d.ts +30 -0
  43. package/lib/operations/patchV1ComputeServicesByComputeServiceId.d.ts.map +1 -0
  44. package/lib/operations/patchV1ComputeServicesByComputeServiceId.js +42 -0
  45. package/lib/operations/patchV1ComputeServicesByComputeServiceId.js.map +1 -0
  46. package/lib/operations/postV1ComputeServices.d.ts +31 -0
  47. package/lib/operations/postV1ComputeServices.d.ts.map +1 -0
  48. package/lib/operations/postV1ComputeServices.js +46 -0
  49. package/lib/operations/postV1ComputeServices.js.map +1 -0
  50. package/lib/operations/postV1ComputeServicesByComputeServiceIdVersions.d.ts +28 -0
  51. package/lib/operations/postV1ComputeServicesByComputeServiceIdVersions.d.ts.map +1 -0
  52. package/lib/operations/postV1ComputeServicesByComputeServiceIdVersions.js +40 -0
  53. package/lib/operations/postV1ComputeServicesByComputeServiceIdVersions.js.map +1 -0
  54. package/lib/operations/postV1ComputeServicesVersionsByVersionIdStart.d.ts +19 -0
  55. package/lib/operations/postV1ComputeServicesVersionsByVersionIdStart.d.ts.map +1 -0
  56. package/lib/operations/postV1ComputeServicesVersionsByVersionIdStart.js +31 -0
  57. package/lib/operations/postV1ComputeServicesVersionsByVersionIdStart.js.map +1 -0
  58. package/lib/operations/postV1ComputeServicesVersionsByVersionIdStop.d.ts +15 -0
  59. package/lib/operations/postV1ComputeServicesVersionsByVersionIdStop.d.ts.map +1 -0
  60. package/lib/operations/postV1ComputeServicesVersionsByVersionIdStop.js +27 -0
  61. package/lib/operations/postV1ComputeServicesVersionsByVersionIdStop.js.map +1 -0
  62. package/lib/operations/postV1Connections.d.ts +1 -1
  63. package/lib/operations/postV1Connections.d.ts.map +1 -1
  64. package/lib/operations/postV1Connections.js +2 -1
  65. package/lib/operations/postV1Connections.js.map +1 -1
  66. package/lib/operations/postV1ConnectionsByIdRotate.d.ts +54 -0
  67. package/lib/operations/postV1ConnectionsByIdRotate.d.ts.map +1 -0
  68. package/lib/operations/postV1ConnectionsByIdRotate.js +63 -0
  69. package/lib/operations/postV1ConnectionsByIdRotate.js.map +1 -0
  70. package/lib/operations/postV1DatabasesByDatabaseIdConnections.d.ts +4 -4
  71. package/lib/operations/postV1DatabasesByDatabaseIdConnections.d.ts.map +1 -1
  72. package/lib/operations/postV1DatabasesByDatabaseIdConnections.js +5 -4
  73. package/lib/operations/postV1DatabasesByDatabaseIdConnections.js.map +1 -1
  74. package/lib/operations/postV1DatabasesByTargetDatabaseIdRestore.d.ts +76 -0
  75. package/lib/operations/postV1DatabasesByTargetDatabaseIdRestore.d.ts.map +1 -0
  76. package/lib/operations/postV1DatabasesByTargetDatabaseIdRestore.js +93 -0
  77. package/lib/operations/postV1DatabasesByTargetDatabaseIdRestore.js.map +1 -0
  78. package/lib/operations/postV1Projects.d.ts +5 -5
  79. package/lib/operations/postV1Projects.d.ts.map +1 -1
  80. package/lib/operations/postV1Projects.js +6 -5
  81. package/lib/operations/postV1Projects.js.map +1 -1
  82. package/lib/operations/postV1ProjectsByProjectIdComputeServices.d.ts +31 -0
  83. package/lib/operations/postV1ProjectsByProjectIdComputeServices.d.ts.map +1 -0
  84. package/lib/operations/postV1ProjectsByProjectIdComputeServices.js +50 -0
  85. package/lib/operations/postV1ProjectsByProjectIdComputeServices.js.map +1 -0
  86. package/lib/operations/postV1ProjectsByProjectIdDatabases.d.ts +5 -5
  87. package/lib/operations/postV1ProjectsByProjectIdDatabases.d.ts.map +1 -1
  88. package/lib/operations/postV1ProjectsByProjectIdDatabases.js +6 -5
  89. package/lib/operations/postV1ProjectsByProjectIdDatabases.js.map +1 -1
  90. package/lib/operations/postV1Versions.d.ts +28 -0
  91. package/lib/operations/postV1Versions.d.ts.map +1 -0
  92. package/lib/operations/postV1Versions.js +34 -0
  93. package/lib/operations/postV1Versions.js.map +1 -0
  94. package/lib/operations/postV1VersionsByVersionIdStart.d.ts +19 -0
  95. package/lib/operations/postV1VersionsByVersionIdStart.d.ts.map +1 -0
  96. package/lib/operations/postV1VersionsByVersionIdStart.js +28 -0
  97. package/lib/operations/postV1VersionsByVersionIdStart.js.map +1 -0
  98. package/lib/operations/postV1VersionsByVersionIdStop.d.ts +15 -0
  99. package/lib/operations/postV1VersionsByVersionIdStop.d.ts.map +1 -0
  100. package/lib/operations/postV1VersionsByVersionIdStop.js +24 -0
  101. package/lib/operations/postV1VersionsByVersionIdStop.js.map +1 -0
  102. package/package.json +4 -4
  103. package/src/operations/deleteV1ComputeServicesByComputeServiceId.ts +35 -0
  104. package/src/operations/deleteV1ComputeServicesVersionsByVersionId.ts +35 -0
  105. package/src/operations/deleteV1VersionsByVersionId.ts +31 -0
  106. package/src/operations/getV1ComputeServices.ts +51 -0
  107. package/src/operations/getV1ComputeServicesByComputeServiceId.ts +46 -0
  108. package/src/operations/getV1ComputeServicesByComputeServiceIdVersions.ts +51 -0
  109. package/src/operations/getV1ComputeServicesVersionsByVersionId.ts +46 -0
  110. package/src/operations/getV1ProjectsByProjectIdComputeServices.ts +57 -0
  111. package/src/operations/getV1Versions.ts +41 -0
  112. package/src/operations/getV1VersionsByVersionId.ts +42 -0
  113. package/src/operations/patchV1ComputeServicesByComputeServiceId.ts +50 -0
  114. package/src/operations/postV1ComputeServices.ts +55 -0
  115. package/src/operations/postV1ComputeServicesByComputeServiceIdVersions.ts +50 -0
  116. package/src/operations/postV1ComputeServicesVersionsByVersionIdStart.ts +39 -0
  117. package/src/operations/postV1ComputeServicesVersionsByVersionIdStop.ts +35 -0
  118. package/src/operations/postV1Connections.ts +2 -1
  119. package/src/operations/postV1ConnectionsByIdRotate.ts +81 -0
  120. package/src/operations/postV1DatabasesByDatabaseIdConnections.ts +5 -4
  121. package/src/operations/postV1DatabasesByTargetDatabaseIdRestore.ts +115 -0
  122. package/src/operations/postV1Projects.ts +6 -5
  123. package/src/operations/postV1ProjectsByProjectIdComputeServices.ts +60 -0
  124. package/src/operations/postV1ProjectsByProjectIdDatabases.ts +6 -5
  125. package/src/operations/postV1Versions.ts +40 -0
  126. package/src/operations/postV1VersionsByVersionIdStart.ts +34 -0
  127. package/src/operations/postV1VersionsByVersionIdStop.ts +30 -0
package/README.md CHANGED
@@ -12,6 +12,7 @@ npm install @distilled.cloud/prisma-postgres effect
12
12
 
13
13
  ```typescript
14
14
  import { Effect, Layer } from "effect";
15
+ import * as Stream from "effect/Stream";
15
16
  import * as FetchHttpClient from "effect/unstable/http/FetchHttpClient";
16
17
  import { getV1Databases } from "@distilled.cloud/prisma-postgres/Operations";
17
18
  import { CredentialsFromEnv } from "@distilled.cloud/prisma-postgres";
@@ -0,0 +1,15 @@
1
+ import * as Schema from "effect/Schema";
2
+ export declare const DeleteV1ComputeServicesByComputeServiceIdInput: Schema.Struct<{
3
+ readonly computeServiceId: Schema.String;
4
+ }>;
5
+ export type DeleteV1ComputeServicesByComputeServiceIdInput = typeof DeleteV1ComputeServicesByComputeServiceIdInput.Type;
6
+ export declare const DeleteV1ComputeServicesByComputeServiceIdOutput: Schema.Void;
7
+ export type DeleteV1ComputeServicesByComputeServiceIdOutput = typeof DeleteV1ComputeServicesByComputeServiceIdOutput.Type;
8
+ /**
9
+ * Delete compute service
10
+ *
11
+ * ⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️
12
+ * Deletes a compute service. All compute versions under the service must already be stopped or deleted.
13
+ */
14
+ export declare const deleteV1ComputeServicesByComputeServiceId: any;
15
+ //# sourceMappingURL=deleteV1ComputeServicesByComputeServiceId.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"deleteV1ComputeServicesByComputeServiceId.d.ts","sourceRoot":"","sources":["../../src/operations/deleteV1ComputeServicesByComputeServiceId.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,8CAA8C;;EAQxD,CAAC;AACJ,MAAM,MAAM,8CAA8C,GACxD,OAAO,8CAA8C,CAAC,IAAI,CAAC;AAG7D,eAAO,MAAM,+CAA+C,aACnB,CAAC;AAC1C,MAAM,MAAM,+CAA+C,GACzD,OAAO,+CAA+C,CAAC,IAAI,CAAC;AAG9D;;;;;GAKG;AACH,eAAO,MAAM,yCAAyC,KAIjD,CAAC"}
@@ -0,0 +1,27 @@
1
+ import * as Schema from "effect/Schema";
2
+ import { API } from "../client";
3
+ import * as T from "../traits";
4
+ // Input Schema
5
+ export const DeleteV1ComputeServicesByComputeServiceIdInput =
6
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
7
+ computeServiceId: Schema.String.pipe(T.PathParam()),
8
+ }).pipe(T.Http({
9
+ method: "DELETE",
10
+ path: "/v1/compute-services/{computeServiceId}",
11
+ }));
12
+ // Output Schema
13
+ export const DeleteV1ComputeServicesByComputeServiceIdOutput =
14
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
15
+ // The operation
16
+ /**
17
+ * Delete compute service
18
+ *
19
+ * ⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️
20
+ * Deletes a compute service. All compute versions under the service must already be stopped or deleted.
21
+ */
22
+ export const deleteV1ComputeServicesByComputeServiceId =
23
+ /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
24
+ inputSchema: DeleteV1ComputeServicesByComputeServiceIdInput,
25
+ outputSchema: DeleteV1ComputeServicesByComputeServiceIdOutput,
26
+ }));
27
+ //# sourceMappingURL=deleteV1ComputeServicesByComputeServiceId.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"deleteV1ComputeServicesByComputeServiceId.js","sourceRoot":"","sources":["../../src/operations/deleteV1ComputeServicesByComputeServiceId.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAChC,OAAO,KAAK,CAAC,MAAM,WAAW,CAAC;AAE/B,eAAe;AACf,MAAM,CAAC,MAAM,8CAA8C;AACzD,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,gBAAgB,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;CACpD,CAAC,CAAC,IAAI,CACL,CAAC,CAAC,IAAI,CAAC;IACL,MAAM,EAAE,QAAQ;IAChB,IAAI,EAAE,yCAAyC;CAChD,CAAC,CACH,CAAC;AAIJ,gBAAgB;AAChB,MAAM,CAAC,MAAM,+CAA+C;AAC1D,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC;AAI1C,gBAAgB;AAChB;;;;;GAKG;AACH,MAAM,CAAC,MAAM,yCAAyC;AACpD,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IAC1C,WAAW,EAAE,8CAA8C;IAC3D,YAAY,EAAE,+CAA+C;CAC9D,CAAC,CAAC,CAAC"}
@@ -0,0 +1,15 @@
1
+ import * as Schema from "effect/Schema";
2
+ export declare const DeleteV1ComputeServicesVersionsByVersionIdInput: Schema.Struct<{
3
+ readonly versionId: Schema.String;
4
+ }>;
5
+ export type DeleteV1ComputeServicesVersionsByVersionIdInput = typeof DeleteV1ComputeServicesVersionsByVersionIdInput.Type;
6
+ export declare const DeleteV1ComputeServicesVersionsByVersionIdOutput: Schema.Void;
7
+ export type DeleteV1ComputeServicesVersionsByVersionIdOutput = typeof DeleteV1ComputeServicesVersionsByVersionIdOutput.Type;
8
+ /**
9
+ * Delete compute version
10
+ *
11
+ * ⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️
12
+ * Permanently deletes the compute version, its metadata, and any associated VM. The version must be stopped or in the `new` state before it can be deleted.
13
+ */
14
+ export declare const deleteV1ComputeServicesVersionsByVersionId: any;
15
+ //# sourceMappingURL=deleteV1ComputeServicesVersionsByVersionId.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"deleteV1ComputeServicesVersionsByVersionId.d.ts","sourceRoot":"","sources":["../../src/operations/deleteV1ComputeServicesVersionsByVersionId.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,+CAA+C;;EAQzD,CAAC;AACJ,MAAM,MAAM,+CAA+C,GACzD,OAAO,+CAA+C,CAAC,IAAI,CAAC;AAG9D,eAAO,MAAM,gDAAgD,aACpB,CAAC;AAC1C,MAAM,MAAM,gDAAgD,GAC1D,OAAO,gDAAgD,CAAC,IAAI,CAAC;AAG/D;;;;;GAKG;AACH,eAAO,MAAM,0CAA0C,KAIlD,CAAC"}
@@ -0,0 +1,27 @@
1
+ import * as Schema from "effect/Schema";
2
+ import { API } from "../client";
3
+ import * as T from "../traits";
4
+ // Input Schema
5
+ export const DeleteV1ComputeServicesVersionsByVersionIdInput =
6
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
7
+ versionId: Schema.String.pipe(T.PathParam()),
8
+ }).pipe(T.Http({
9
+ method: "DELETE",
10
+ path: "/v1/compute-services/versions/{versionId}",
11
+ }));
12
+ // Output Schema
13
+ export const DeleteV1ComputeServicesVersionsByVersionIdOutput =
14
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
15
+ // The operation
16
+ /**
17
+ * Delete compute version
18
+ *
19
+ * ⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️
20
+ * Permanently deletes the compute version, its metadata, and any associated VM. The version must be stopped or in the `new` state before it can be deleted.
21
+ */
22
+ export const deleteV1ComputeServicesVersionsByVersionId =
23
+ /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
24
+ inputSchema: DeleteV1ComputeServicesVersionsByVersionIdInput,
25
+ outputSchema: DeleteV1ComputeServicesVersionsByVersionIdOutput,
26
+ }));
27
+ //# sourceMappingURL=deleteV1ComputeServicesVersionsByVersionId.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"deleteV1ComputeServicesVersionsByVersionId.js","sourceRoot":"","sources":["../../src/operations/deleteV1ComputeServicesVersionsByVersionId.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAChC,OAAO,KAAK,CAAC,MAAM,WAAW,CAAC;AAE/B,eAAe;AACf,MAAM,CAAC,MAAM,+CAA+C;AAC1D,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;CAC7C,CAAC,CAAC,IAAI,CACL,CAAC,CAAC,IAAI,CAAC;IACL,MAAM,EAAE,QAAQ;IAChB,IAAI,EAAE,2CAA2C;CAClD,CAAC,CACH,CAAC;AAIJ,gBAAgB;AAChB,MAAM,CAAC,MAAM,gDAAgD;AAC3D,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC;AAI1C,gBAAgB;AAChB;;;;;GAKG;AACH,MAAM,CAAC,MAAM,0CAA0C;AACrD,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IAC1C,WAAW,EAAE,+CAA+C;IAC5D,YAAY,EAAE,gDAAgD;CAC/D,CAAC,CAAC,CAAC"}
@@ -0,0 +1,15 @@
1
+ import * as Schema from "effect/Schema";
2
+ export declare const DeleteV1VersionsByVersionIdInput: Schema.Struct<{
3
+ readonly versionId: Schema.String;
4
+ }>;
5
+ export type DeleteV1VersionsByVersionIdInput = typeof DeleteV1VersionsByVersionIdInput.Type;
6
+ export declare const DeleteV1VersionsByVersionIdOutput: Schema.Void;
7
+ export type DeleteV1VersionsByVersionIdOutput = typeof DeleteV1VersionsByVersionIdOutput.Type;
8
+ /**
9
+ * Delete compute version
10
+ *
11
+ * ⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️
12
+ * Permanently deletes the compute version, its metadata, and any associated VM. The version must be stopped or in the `new` state before it can be deleted.
13
+ */
14
+ export declare const deleteV1VersionsByVersionId: any;
15
+ //# sourceMappingURL=deleteV1VersionsByVersionId.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"deleteV1VersionsByVersionId.d.ts","sourceRoot":"","sources":["../../src/operations/deleteV1VersionsByVersionId.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,gCAAgC;;EAG4B,CAAC;AAC1E,MAAM,MAAM,gCAAgC,GAC1C,OAAO,gCAAgC,CAAC,IAAI,CAAC;AAG/C,eAAO,MAAM,iCAAiC,aACL,CAAC;AAC1C,MAAM,MAAM,iCAAiC,GAC3C,OAAO,iCAAiC,CAAC,IAAI,CAAC;AAGhD;;;;;GAKG;AACH,eAAO,MAAM,2BAA2B,KAKvC,CAAC"}
@@ -0,0 +1,23 @@
1
+ import * as Schema from "effect/Schema";
2
+ import { API } from "../client";
3
+ import * as T from "../traits";
4
+ // Input Schema
5
+ export const DeleteV1VersionsByVersionIdInput =
6
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
7
+ versionId: Schema.String.pipe(T.PathParam()),
8
+ }).pipe(T.Http({ method: "DELETE", path: "/v1/versions/{versionId}" }));
9
+ // Output Schema
10
+ export const DeleteV1VersionsByVersionIdOutput =
11
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
12
+ // The operation
13
+ /**
14
+ * Delete compute version
15
+ *
16
+ * ⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️
17
+ * Permanently deletes the compute version, its metadata, and any associated VM. The version must be stopped or in the `new` state before it can be deleted.
18
+ */
19
+ export const deleteV1VersionsByVersionId = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
20
+ inputSchema: DeleteV1VersionsByVersionIdInput,
21
+ outputSchema: DeleteV1VersionsByVersionIdOutput,
22
+ }));
23
+ //# sourceMappingURL=deleteV1VersionsByVersionId.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"deleteV1VersionsByVersionId.js","sourceRoot":"","sources":["../../src/operations/deleteV1VersionsByVersionId.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAChC,OAAO,KAAK,CAAC,MAAM,WAAW,CAAC;AAE/B,eAAe;AACf,MAAM,CAAC,MAAM,gCAAgC;AAC3C,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;CAC7C,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,EAAE,0BAA0B,EAAE,CAAC,CAAC,CAAC;AAI1E,gBAAgB;AAChB,MAAM,CAAC,MAAM,iCAAiC;AAC5C,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC;AAI1C,gBAAgB;AAChB;;;;;GAKG;AACH,MAAM,CAAC,MAAM,2BAA2B,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAC7E,GAAG,EAAE,CAAC,CAAC;IACL,WAAW,EAAE,gCAAgC;IAC7C,YAAY,EAAE,iCAAiC;CAChD,CAAC,CACH,CAAC"}
@@ -0,0 +1,35 @@
1
+ import * as Schema from "effect/Schema";
2
+ export declare const GetV1ComputeServicesInput: Schema.Struct<{
3
+ readonly cursor: Schema.optional<Schema.String>;
4
+ readonly limit: Schema.optional<Schema.Number>;
5
+ readonly projectId: Schema.optional<Schema.String>;
6
+ }>;
7
+ export type GetV1ComputeServicesInput = typeof GetV1ComputeServicesInput.Type;
8
+ export declare const GetV1ComputeServicesOutput: Schema.Struct<{
9
+ readonly data: Schema.$Array<Schema.Struct<{
10
+ readonly id: Schema.String;
11
+ readonly type: Schema.String;
12
+ readonly url: Schema.String;
13
+ readonly name: Schema.String;
14
+ readonly region: Schema.Struct<{
15
+ readonly id: Schema.String;
16
+ readonly name: Schema.String;
17
+ }>;
18
+ readonly projectId: Schema.String;
19
+ readonly latestVersionId: Schema.NullOr<Schema.String>;
20
+ readonly createdAt: Schema.String;
21
+ }>>;
22
+ readonly pagination: Schema.Struct<{
23
+ readonly nextCursor: Schema.NullOr<Schema.String>;
24
+ readonly hasMore: Schema.Boolean;
25
+ }>;
26
+ }>;
27
+ export type GetV1ComputeServicesOutput = typeof GetV1ComputeServicesOutput.Type;
28
+ /**
29
+ * List compute services
30
+ *
31
+ * ⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️
32
+ * Returns all compute services the token has access to, ordered by creation time (oldest first). Optionally filter by project ID. Supports cursor-based pagination.
33
+ */
34
+ export declare const getV1ComputeServices: any;
35
+ //# sourceMappingURL=getV1ComputeServices.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getV1ComputeServices.d.ts","sourceRoot":"","sources":["../../src/operations/getV1ComputeServices.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,yBAAyB;;;;EAK4B,CAAC;AACnE,MAAM,MAAM,yBAAyB,GAAG,OAAO,yBAAyB,CAAC,IAAI,CAAC;AAG9E,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;EAqBnC,CAAC;AACL,MAAM,MAAM,0BAA0B,GAAG,OAAO,0BAA0B,CAAC,IAAI,CAAC;AAGhF;;;;;GAKG;AACH,eAAO,MAAM,oBAAoB,KAKhC,CAAC"}
@@ -0,0 +1,43 @@
1
+ import * as Schema from "effect/Schema";
2
+ import { API } from "../client";
3
+ import * as T from "../traits";
4
+ // Input Schema
5
+ export const GetV1ComputeServicesInput =
6
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
7
+ cursor: Schema.optional(Schema.String),
8
+ limit: Schema.optional(Schema.Number),
9
+ projectId: Schema.optional(Schema.String),
10
+ }).pipe(T.Http({ method: "GET", path: "/v1/compute-services" }));
11
+ // Output Schema
12
+ export const GetV1ComputeServicesOutput =
13
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
14
+ data: Schema.Array(Schema.Struct({
15
+ id: Schema.String,
16
+ type: Schema.String,
17
+ url: Schema.String,
18
+ name: Schema.String,
19
+ region: Schema.Struct({
20
+ id: Schema.String,
21
+ name: Schema.String,
22
+ }),
23
+ projectId: Schema.String,
24
+ latestVersionId: Schema.NullOr(Schema.String),
25
+ createdAt: Schema.String,
26
+ })),
27
+ pagination: Schema.Struct({
28
+ nextCursor: Schema.NullOr(Schema.String),
29
+ hasMore: Schema.Boolean,
30
+ }),
31
+ });
32
+ // The operation
33
+ /**
34
+ * List compute services
35
+ *
36
+ * ⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️
37
+ * Returns all compute services the token has access to, ordered by creation time (oldest first). Optionally filter by project ID. Supports cursor-based pagination.
38
+ */
39
+ export const getV1ComputeServices = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
40
+ inputSchema: GetV1ComputeServicesInput,
41
+ outputSchema: GetV1ComputeServicesOutput,
42
+ }));
43
+ //# sourceMappingURL=getV1ComputeServices.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getV1ComputeServices.js","sourceRoot":"","sources":["../../src/operations/getV1ComputeServices.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAChC,OAAO,KAAK,CAAC,MAAM,WAAW,CAAC;AAE/B,eAAe;AACf,MAAM,CAAC,MAAM,yBAAyB;AACpC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,MAAM,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACtC,KAAK,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACrC,SAAS,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;CAC1C,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,sBAAsB,EAAE,CAAC,CAAC,CAAC;AAGnE,gBAAgB;AAChB,MAAM,CAAC,MAAM,0BAA0B;AACrC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,IAAI,EAAE,MAAM,CAAC,KAAK,CAChB,MAAM,CAAC,MAAM,CAAC;QACZ,EAAE,EAAE,MAAM,CAAC,MAAM;QACjB,IAAI,EAAE,MAAM,CAAC,MAAM;QACnB,GAAG,EAAE,MAAM,CAAC,MAAM;QAClB,IAAI,EAAE,MAAM,CAAC,MAAM;QACnB,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC;YACpB,EAAE,EAAE,MAAM,CAAC,MAAM;YACjB,IAAI,EAAE,MAAM,CAAC,MAAM;SACpB,CAAC;QACF,SAAS,EAAE,MAAM,CAAC,MAAM;QACxB,eAAe,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC;QAC7C,SAAS,EAAE,MAAM,CAAC,MAAM;KACzB,CAAC,CACH;IACD,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC;QACxB,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC;QACxC,OAAO,EAAE,MAAM,CAAC,OAAO;KACxB,CAAC;CACH,CAAC,CAAC;AAGL,gBAAgB;AAChB;;;;;GAKG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CACtE,GAAG,EAAE,CAAC,CAAC;IACL,WAAW,EAAE,yBAAyB;IACtC,YAAY,EAAE,0BAA0B;CACzC,CAAC,CACH,CAAC"}
@@ -0,0 +1,29 @@
1
+ import * as Schema from "effect/Schema";
2
+ export declare const GetV1ComputeServicesByComputeServiceIdInput: Schema.Struct<{
3
+ readonly computeServiceId: Schema.String;
4
+ }>;
5
+ export type GetV1ComputeServicesByComputeServiceIdInput = typeof GetV1ComputeServicesByComputeServiceIdInput.Type;
6
+ export declare const GetV1ComputeServicesByComputeServiceIdOutput: Schema.Struct<{
7
+ readonly data: Schema.Struct<{
8
+ readonly id: Schema.String;
9
+ readonly type: Schema.String;
10
+ readonly url: Schema.String;
11
+ readonly name: Schema.String;
12
+ readonly region: Schema.Struct<{
13
+ readonly id: Schema.String;
14
+ readonly name: Schema.String;
15
+ }>;
16
+ readonly projectId: Schema.String;
17
+ readonly latestVersionId: Schema.NullOr<Schema.String>;
18
+ readonly createdAt: Schema.String;
19
+ }>;
20
+ }>;
21
+ export type GetV1ComputeServicesByComputeServiceIdOutput = typeof GetV1ComputeServicesByComputeServiceIdOutput.Type;
22
+ /**
23
+ * Get compute service
24
+ *
25
+ * ⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️
26
+ * Returns a compute service by ID, including its region and latest version reference.
27
+ */
28
+ export declare const getV1ComputeServicesByComputeServiceId: any;
29
+ //# sourceMappingURL=getV1ComputeServicesByComputeServiceId.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getV1ComputeServicesByComputeServiceId.d.ts","sourceRoot":"","sources":["../../src/operations/getV1ComputeServicesByComputeServiceId.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,2CAA2C;;EAKrD,CAAC;AACJ,MAAM,MAAM,2CAA2C,GACrD,OAAO,2CAA2C,CAAC,IAAI,CAAC;AAG1D,eAAO,MAAM,4CAA4C;;;;;;;;;;;;;;EAerD,CAAC;AACL,MAAM,MAAM,4CAA4C,GACtD,OAAO,4CAA4C,CAAC,IAAI,CAAC;AAG3D;;;;;GAKG;AACH,eAAO,MAAM,sCAAsC,KAI9C,CAAC"}
@@ -0,0 +1,38 @@
1
+ import * as Schema from "effect/Schema";
2
+ import { API } from "../client";
3
+ import * as T from "../traits";
4
+ // Input Schema
5
+ export const GetV1ComputeServicesByComputeServiceIdInput =
6
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
7
+ computeServiceId: Schema.String.pipe(T.PathParam()),
8
+ }).pipe(T.Http({ method: "GET", path: "/v1/compute-services/{computeServiceId}" }));
9
+ // Output Schema
10
+ export const GetV1ComputeServicesByComputeServiceIdOutput =
11
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
12
+ data: Schema.Struct({
13
+ id: Schema.String,
14
+ type: Schema.String,
15
+ url: Schema.String,
16
+ name: Schema.String,
17
+ region: Schema.Struct({
18
+ id: Schema.String,
19
+ name: Schema.String,
20
+ }),
21
+ projectId: Schema.String,
22
+ latestVersionId: Schema.NullOr(Schema.String),
23
+ createdAt: Schema.String,
24
+ }),
25
+ });
26
+ // The operation
27
+ /**
28
+ * Get compute service
29
+ *
30
+ * ⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️
31
+ * Returns a compute service by ID, including its region and latest version reference.
32
+ */
33
+ export const getV1ComputeServicesByComputeServiceId =
34
+ /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
35
+ inputSchema: GetV1ComputeServicesByComputeServiceIdInput,
36
+ outputSchema: GetV1ComputeServicesByComputeServiceIdOutput,
37
+ }));
38
+ //# sourceMappingURL=getV1ComputeServicesByComputeServiceId.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getV1ComputeServicesByComputeServiceId.js","sourceRoot":"","sources":["../../src/operations/getV1ComputeServicesByComputeServiceId.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAChC,OAAO,KAAK,CAAC,MAAM,WAAW,CAAC;AAE/B,eAAe;AACf,MAAM,CAAC,MAAM,2CAA2C;AACtD,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,gBAAgB,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;CACpD,CAAC,CAAC,IAAI,CACL,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,yCAAyC,EAAE,CAAC,CAC3E,CAAC;AAIJ,gBAAgB;AAChB,MAAM,CAAC,MAAM,4CAA4C;AACvD,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC;QAClB,EAAE,EAAE,MAAM,CAAC,MAAM;QACjB,IAAI,EAAE,MAAM,CAAC,MAAM;QACnB,GAAG,EAAE,MAAM,CAAC,MAAM;QAClB,IAAI,EAAE,MAAM,CAAC,MAAM;QACnB,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC;YACpB,EAAE,EAAE,MAAM,CAAC,MAAM;YACjB,IAAI,EAAE,MAAM,CAAC,MAAM;SACpB,CAAC;QACF,SAAS,EAAE,MAAM,CAAC,MAAM;QACxB,eAAe,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC;QAC7C,SAAS,EAAE,MAAM,CAAC,MAAM;KACzB,CAAC;CACH,CAAC,CAAC;AAIL,gBAAgB;AAChB;;;;;GAKG;AACH,MAAM,CAAC,MAAM,sCAAsC;AACjD,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IAC1C,WAAW,EAAE,2CAA2C;IACxD,YAAY,EAAE,4CAA4C;CAC3D,CAAC,CAAC,CAAC"}
@@ -0,0 +1,29 @@
1
+ import * as Schema from "effect/Schema";
2
+ export declare const GetV1ComputeServicesByComputeServiceIdVersionsInput: Schema.Struct<{
3
+ readonly computeServiceId: Schema.String;
4
+ readonly cursor: Schema.optional<Schema.String>;
5
+ readonly limit: Schema.optional<Schema.Number>;
6
+ }>;
7
+ export type GetV1ComputeServicesByComputeServiceIdVersionsInput = typeof GetV1ComputeServicesByComputeServiceIdVersionsInput.Type;
8
+ export declare const GetV1ComputeServicesByComputeServiceIdVersionsOutput: Schema.Struct<{
9
+ readonly data: Schema.$Array<Schema.Struct<{
10
+ readonly id: Schema.String;
11
+ readonly type: Schema.String;
12
+ readonly url: Schema.String;
13
+ readonly foundryVersionId: Schema.String;
14
+ readonly createdAt: Schema.String;
15
+ }>>;
16
+ readonly pagination: Schema.Struct<{
17
+ readonly nextCursor: Schema.NullOr<Schema.String>;
18
+ readonly hasMore: Schema.Boolean;
19
+ }>;
20
+ }>;
21
+ export type GetV1ComputeServicesByComputeServiceIdVersionsOutput = typeof GetV1ComputeServicesByComputeServiceIdVersionsOutput.Type;
22
+ /**
23
+ * List compute versions
24
+ *
25
+ * ⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️
26
+ * Returns all compute versions belonging to a compute service, ordered by creation time (newest first). Supports cursor-based pagination.
27
+ */
28
+ export declare const getV1ComputeServicesByComputeServiceIdVersions: any;
29
+ //# sourceMappingURL=getV1ComputeServicesByComputeServiceIdVersions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getV1ComputeServicesByComputeServiceIdVersions.d.ts","sourceRoot":"","sources":["../../src/operations/getV1ComputeServicesByComputeServiceIdVersions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,mDAAmD;;;;EAU7D,CAAC;AACJ,MAAM,MAAM,mDAAmD,GAC7D,OAAO,mDAAmD,CAAC,IAAI,CAAC;AAGlE,eAAO,MAAM,oDAAoD;;;;;;;;;;;;EAe7D,CAAC;AACL,MAAM,MAAM,oDAAoD,GAC9D,OAAO,oDAAoD,CAAC,IAAI,CAAC;AAGnE;;;;;GAKG;AACH,eAAO,MAAM,8CAA8C,KAItD,CAAC"}
@@ -0,0 +1,41 @@
1
+ import * as Schema from "effect/Schema";
2
+ import { API } from "../client";
3
+ import * as T from "../traits";
4
+ // Input Schema
5
+ export const GetV1ComputeServicesByComputeServiceIdVersionsInput =
6
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
7
+ computeServiceId: Schema.String.pipe(T.PathParam()),
8
+ cursor: Schema.optional(Schema.String),
9
+ limit: Schema.optional(Schema.Number),
10
+ }).pipe(T.Http({
11
+ method: "GET",
12
+ path: "/v1/compute-services/{computeServiceId}/versions",
13
+ }));
14
+ // Output Schema
15
+ export const GetV1ComputeServicesByComputeServiceIdVersionsOutput =
16
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
17
+ data: Schema.Array(Schema.Struct({
18
+ id: Schema.String,
19
+ type: Schema.String,
20
+ url: Schema.String,
21
+ foundryVersionId: Schema.String,
22
+ createdAt: Schema.String,
23
+ })),
24
+ pagination: Schema.Struct({
25
+ nextCursor: Schema.NullOr(Schema.String),
26
+ hasMore: Schema.Boolean,
27
+ }),
28
+ });
29
+ // The operation
30
+ /**
31
+ * List compute versions
32
+ *
33
+ * ⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️
34
+ * Returns all compute versions belonging to a compute service, ordered by creation time (newest first). Supports cursor-based pagination.
35
+ */
36
+ export const getV1ComputeServicesByComputeServiceIdVersions =
37
+ /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
38
+ inputSchema: GetV1ComputeServicesByComputeServiceIdVersionsInput,
39
+ outputSchema: GetV1ComputeServicesByComputeServiceIdVersionsOutput,
40
+ }));
41
+ //# sourceMappingURL=getV1ComputeServicesByComputeServiceIdVersions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getV1ComputeServicesByComputeServiceIdVersions.js","sourceRoot":"","sources":["../../src/operations/getV1ComputeServicesByComputeServiceIdVersions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAChC,OAAO,KAAK,CAAC,MAAM,WAAW,CAAC;AAE/B,eAAe;AACf,MAAM,CAAC,MAAM,mDAAmD;AAC9D,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,gBAAgB,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;IACnD,MAAM,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACtC,KAAK,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;CACtC,CAAC,CAAC,IAAI,CACL,CAAC,CAAC,IAAI,CAAC;IACL,MAAM,EAAE,KAAK;IACb,IAAI,EAAE,kDAAkD;CACzD,CAAC,CACH,CAAC;AAIJ,gBAAgB;AAChB,MAAM,CAAC,MAAM,oDAAoD;AAC/D,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,IAAI,EAAE,MAAM,CAAC,KAAK,CAChB,MAAM,CAAC,MAAM,CAAC;QACZ,EAAE,EAAE,MAAM,CAAC,MAAM;QACjB,IAAI,EAAE,MAAM,CAAC,MAAM;QACnB,GAAG,EAAE,MAAM,CAAC,MAAM;QAClB,gBAAgB,EAAE,MAAM,CAAC,MAAM;QAC/B,SAAS,EAAE,MAAM,CAAC,MAAM;KACzB,CAAC,CACH;IACD,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC;QACxB,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC;QACxC,OAAO,EAAE,MAAM,CAAC,OAAO;KACxB,CAAC;CACH,CAAC,CAAC;AAIL,gBAAgB;AAChB;;;;;GAKG;AACH,MAAM,CAAC,MAAM,8CAA8C;AACzD,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IAC1C,WAAW,EAAE,mDAAmD;IAChE,YAAY,EAAE,oDAAoD;CACnE,CAAC,CAAC,CAAC"}
@@ -0,0 +1,26 @@
1
+ import * as Schema from "effect/Schema";
2
+ export declare const GetV1ComputeServicesVersionsByVersionIdInput: Schema.Struct<{
3
+ readonly versionId: Schema.String;
4
+ }>;
5
+ export type GetV1ComputeServicesVersionsByVersionIdInput = typeof GetV1ComputeServicesVersionsByVersionIdInput.Type;
6
+ export declare const GetV1ComputeServicesVersionsByVersionIdOutput: Schema.Struct<{
7
+ readonly data: Schema.Struct<{
8
+ readonly id: Schema.String;
9
+ readonly type: Schema.String;
10
+ readonly url: Schema.String;
11
+ readonly foundryVersionId: Schema.String;
12
+ readonly status: Schema.String;
13
+ readonly previewDomain: Schema.NullOr<Schema.String>;
14
+ readonly envVars: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
15
+ readonly createdAt: Schema.String;
16
+ }>;
17
+ }>;
18
+ export type GetV1ComputeServicesVersionsByVersionIdOutput = typeof GetV1ComputeServicesVersionsByVersionIdOutput.Type;
19
+ /**
20
+ * Get compute version
21
+ *
22
+ * ⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️
23
+ * Returns a compute version by ID, including its current status derived from the underlying VM state.
24
+ */
25
+ export declare const getV1ComputeServicesVersionsByVersionId: any;
26
+ //# sourceMappingURL=getV1ComputeServicesVersionsByVersionId.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getV1ComputeServicesVersionsByVersionId.d.ts","sourceRoot":"","sources":["../../src/operations/getV1ComputeServicesVersionsByVersionId.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,4CAA4C;;EAQtD,CAAC;AACJ,MAAM,MAAM,4CAA4C,GACtD,OAAO,4CAA4C,CAAC,IAAI,CAAC;AAG3D,eAAO,MAAM,6CAA6C;;;;;;;;;;;EAYtD,CAAC;AACL,MAAM,MAAM,6CAA6C,GACvD,OAAO,6CAA6C,CAAC,IAAI,CAAC;AAG5D;;;;;GAKG;AACH,eAAO,MAAM,uCAAuC,KAI/C,CAAC"}
@@ -0,0 +1,38 @@
1
+ import * as Schema from "effect/Schema";
2
+ import { API } from "../client";
3
+ import * as T from "../traits";
4
+ // Input Schema
5
+ export const GetV1ComputeServicesVersionsByVersionIdInput =
6
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
7
+ versionId: Schema.String.pipe(T.PathParam()),
8
+ }).pipe(T.Http({
9
+ method: "GET",
10
+ path: "/v1/compute-services/versions/{versionId}",
11
+ }));
12
+ // Output Schema
13
+ export const GetV1ComputeServicesVersionsByVersionIdOutput =
14
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
15
+ data: Schema.Struct({
16
+ id: Schema.String,
17
+ type: Schema.String,
18
+ url: Schema.String,
19
+ foundryVersionId: Schema.String,
20
+ status: Schema.String,
21
+ previewDomain: Schema.NullOr(Schema.String),
22
+ envVars: Schema.optional(Schema.Record(Schema.String, Schema.String)),
23
+ createdAt: Schema.String,
24
+ }),
25
+ });
26
+ // The operation
27
+ /**
28
+ * Get compute version
29
+ *
30
+ * ⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️
31
+ * Returns a compute version by ID, including its current status derived from the underlying VM state.
32
+ */
33
+ export const getV1ComputeServicesVersionsByVersionId =
34
+ /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
35
+ inputSchema: GetV1ComputeServicesVersionsByVersionIdInput,
36
+ outputSchema: GetV1ComputeServicesVersionsByVersionIdOutput,
37
+ }));
38
+ //# sourceMappingURL=getV1ComputeServicesVersionsByVersionId.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getV1ComputeServicesVersionsByVersionId.js","sourceRoot":"","sources":["../../src/operations/getV1ComputeServicesVersionsByVersionId.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAChC,OAAO,KAAK,CAAC,MAAM,WAAW,CAAC;AAE/B,eAAe;AACf,MAAM,CAAC,MAAM,4CAA4C;AACvD,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;CAC7C,CAAC,CAAC,IAAI,CACL,CAAC,CAAC,IAAI,CAAC;IACL,MAAM,EAAE,KAAK;IACb,IAAI,EAAE,2CAA2C;CAClD,CAAC,CACH,CAAC;AAIJ,gBAAgB;AAChB,MAAM,CAAC,MAAM,6CAA6C;AACxD,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC;QAClB,EAAE,EAAE,MAAM,CAAC,MAAM;QACjB,IAAI,EAAE,MAAM,CAAC,MAAM;QACnB,GAAG,EAAE,MAAM,CAAC,MAAM;QAClB,gBAAgB,EAAE,MAAM,CAAC,MAAM;QAC/B,MAAM,EAAE,MAAM,CAAC,MAAM;QACrB,aAAa,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC;QAC3C,OAAO,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC,CAAC;QACrE,SAAS,EAAE,MAAM,CAAC,MAAM;KACzB,CAAC;CACH,CAAC,CAAC;AAIL,gBAAgB;AAChB;;;;;GAKG;AACH,MAAM,CAAC,MAAM,uCAAuC;AAClD,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IAC1C,WAAW,EAAE,4CAA4C;IACzD,YAAY,EAAE,6CAA6C;CAC5D,CAAC,CAAC,CAAC"}
@@ -0,0 +1,35 @@
1
+ import * as Schema from "effect/Schema";
2
+ export declare const GetV1ProjectsByProjectIdComputeServicesInput: Schema.Struct<{
3
+ readonly projectId: Schema.String;
4
+ readonly cursor: Schema.optional<Schema.String>;
5
+ readonly limit: Schema.optional<Schema.Number>;
6
+ }>;
7
+ export type GetV1ProjectsByProjectIdComputeServicesInput = typeof GetV1ProjectsByProjectIdComputeServicesInput.Type;
8
+ export declare const GetV1ProjectsByProjectIdComputeServicesOutput: Schema.Struct<{
9
+ readonly data: Schema.$Array<Schema.Struct<{
10
+ readonly id: Schema.String;
11
+ readonly type: Schema.String;
12
+ readonly url: Schema.String;
13
+ readonly name: Schema.String;
14
+ readonly region: Schema.Struct<{
15
+ readonly id: Schema.String;
16
+ readonly name: Schema.String;
17
+ }>;
18
+ readonly projectId: Schema.String;
19
+ readonly latestVersionId: Schema.NullOr<Schema.String>;
20
+ readonly createdAt: Schema.String;
21
+ }>>;
22
+ readonly pagination: Schema.Struct<{
23
+ readonly nextCursor: Schema.NullOr<Schema.String>;
24
+ readonly hasMore: Schema.Boolean;
25
+ }>;
26
+ }>;
27
+ export type GetV1ProjectsByProjectIdComputeServicesOutput = typeof GetV1ProjectsByProjectIdComputeServicesOutput.Type;
28
+ /**
29
+ * List compute services for a project
30
+ *
31
+ * ⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️
32
+ * Returns all compute services belonging to a project, ordered by creation time (oldest first). Supports cursor-based pagination.
33
+ */
34
+ export declare const getV1ProjectsByProjectIdComputeServices: any;
35
+ //# sourceMappingURL=getV1ProjectsByProjectIdComputeServices.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getV1ProjectsByProjectIdComputeServices.d.ts","sourceRoot":"","sources":["../../src/operations/getV1ProjectsByProjectIdComputeServices.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,4CAA4C;;;;EAUtD,CAAC;AACJ,MAAM,MAAM,4CAA4C,GACtD,OAAO,4CAA4C,CAAC,IAAI,CAAC;AAG3D,eAAO,MAAM,6CAA6C;;;;;;;;;;;;;;;;;;EAqBtD,CAAC;AACL,MAAM,MAAM,6CAA6C,GACvD,OAAO,6CAA6C,CAAC,IAAI,CAAC;AAG5D;;;;;GAKG;AACH,eAAO,MAAM,uCAAuC,KAI/C,CAAC"}
@@ -0,0 +1,47 @@
1
+ import * as Schema from "effect/Schema";
2
+ import { API } from "../client";
3
+ import * as T from "../traits";
4
+ // Input Schema
5
+ export const GetV1ProjectsByProjectIdComputeServicesInput =
6
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
7
+ projectId: Schema.String.pipe(T.PathParam()),
8
+ cursor: Schema.optional(Schema.String),
9
+ limit: Schema.optional(Schema.Number),
10
+ }).pipe(T.Http({
11
+ method: "GET",
12
+ path: "/v1/projects/{projectId}/compute-services",
13
+ }));
14
+ // Output Schema
15
+ export const GetV1ProjectsByProjectIdComputeServicesOutput =
16
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
17
+ data: Schema.Array(Schema.Struct({
18
+ id: Schema.String,
19
+ type: Schema.String,
20
+ url: Schema.String,
21
+ name: Schema.String,
22
+ region: Schema.Struct({
23
+ id: Schema.String,
24
+ name: Schema.String,
25
+ }),
26
+ projectId: Schema.String,
27
+ latestVersionId: Schema.NullOr(Schema.String),
28
+ createdAt: Schema.String,
29
+ })),
30
+ pagination: Schema.Struct({
31
+ nextCursor: Schema.NullOr(Schema.String),
32
+ hasMore: Schema.Boolean,
33
+ }),
34
+ });
35
+ // The operation
36
+ /**
37
+ * List compute services for a project
38
+ *
39
+ * ⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️
40
+ * Returns all compute services belonging to a project, ordered by creation time (oldest first). Supports cursor-based pagination.
41
+ */
42
+ export const getV1ProjectsByProjectIdComputeServices =
43
+ /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
44
+ inputSchema: GetV1ProjectsByProjectIdComputeServicesInput,
45
+ outputSchema: GetV1ProjectsByProjectIdComputeServicesOutput,
46
+ }));
47
+ //# sourceMappingURL=getV1ProjectsByProjectIdComputeServices.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getV1ProjectsByProjectIdComputeServices.js","sourceRoot":"","sources":["../../src/operations/getV1ProjectsByProjectIdComputeServices.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAChC,OAAO,KAAK,CAAC,MAAM,WAAW,CAAC;AAE/B,eAAe;AACf,MAAM,CAAC,MAAM,4CAA4C;AACvD,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;IAC5C,MAAM,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACtC,KAAK,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;CACtC,CAAC,CAAC,IAAI,CACL,CAAC,CAAC,IAAI,CAAC;IACL,MAAM,EAAE,KAAK;IACb,IAAI,EAAE,2CAA2C;CAClD,CAAC,CACH,CAAC;AAIJ,gBAAgB;AAChB,MAAM,CAAC,MAAM,6CAA6C;AACxD,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,IAAI,EAAE,MAAM,CAAC,KAAK,CAChB,MAAM,CAAC,MAAM,CAAC;QACZ,EAAE,EAAE,MAAM,CAAC,MAAM;QACjB,IAAI,EAAE,MAAM,CAAC,MAAM;QACnB,GAAG,EAAE,MAAM,CAAC,MAAM;QAClB,IAAI,EAAE,MAAM,CAAC,MAAM;QACnB,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC;YACpB,EAAE,EAAE,MAAM,CAAC,MAAM;YACjB,IAAI,EAAE,MAAM,CAAC,MAAM;SACpB,CAAC;QACF,SAAS,EAAE,MAAM,CAAC,MAAM;QACxB,eAAe,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC;QAC7C,SAAS,EAAE,MAAM,CAAC,MAAM;KACzB,CAAC,CACH;IACD,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC;QACxB,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC;QACxC,OAAO,EAAE,MAAM,CAAC,OAAO;KACxB,CAAC;CACH,CAAC,CAAC;AAIL,gBAAgB;AAChB;;;;;GAKG;AACH,MAAM,CAAC,MAAM,uCAAuC;AAClD,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IAC1C,WAAW,EAAE,4CAA4C;IACzD,YAAY,EAAE,6CAA6C;CAC5D,CAAC,CAAC,CAAC"}
@@ -0,0 +1,29 @@
1
+ import * as Schema from "effect/Schema";
2
+ export declare const GetV1VersionsInput: Schema.Struct<{
3
+ readonly cursor: Schema.optional<Schema.String>;
4
+ readonly limit: Schema.optional<Schema.Number>;
5
+ readonly computeServiceId: Schema.optional<Schema.String>;
6
+ }>;
7
+ export type GetV1VersionsInput = typeof GetV1VersionsInput.Type;
8
+ export declare const GetV1VersionsOutput: Schema.Struct<{
9
+ readonly data: Schema.$Array<Schema.Struct<{
10
+ readonly id: Schema.String;
11
+ readonly type: Schema.String;
12
+ readonly url: Schema.String;
13
+ readonly foundryVersionId: Schema.String;
14
+ readonly createdAt: Schema.String;
15
+ }>>;
16
+ readonly pagination: Schema.Struct<{
17
+ readonly nextCursor: Schema.NullOr<Schema.String>;
18
+ readonly hasMore: Schema.Boolean;
19
+ }>;
20
+ }>;
21
+ export type GetV1VersionsOutput = typeof GetV1VersionsOutput.Type;
22
+ /**
23
+ * List compute versions
24
+ *
25
+ * ⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️
26
+ * Returns all compute versions the token has access to, ordered by creation time (newest first). Optionally filter by compute service ID. Supports cursor-based pagination.
27
+ */
28
+ export declare const getV1Versions: any;
29
+ //# sourceMappingURL=getV1Versions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getV1Versions.d.ts","sourceRoot":"","sources":["../../src/operations/getV1Versions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,kBAAkB;;;;EAIyB,CAAC;AACzD,MAAM,MAAM,kBAAkB,GAAG,OAAO,kBAAkB,CAAC,IAAI,CAAC;AAGhE,eAAO,MAAM,mBAAmB;;;;;;;;;;;;EAc9B,CAAC;AACH,MAAM,MAAM,mBAAmB,GAAG,OAAO,mBAAmB,CAAC,IAAI,CAAC;AAGlE;;;;;GAKG;AACH,eAAO,MAAM,aAAa,KAGvB,CAAC"}