@distilled.cloud/prisma-postgres 0.3.0-alpha → 0.5.0

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 (126) hide show
  1. package/lib/operations/deleteV1ComputeServicesByComputeServiceId.d.ts +15 -0
  2. package/lib/operations/deleteV1ComputeServicesByComputeServiceId.d.ts.map +1 -0
  3. package/lib/operations/deleteV1ComputeServicesByComputeServiceId.js +27 -0
  4. package/lib/operations/deleteV1ComputeServicesByComputeServiceId.js.map +1 -0
  5. package/lib/operations/deleteV1ComputeServicesVersionsByVersionId.d.ts +15 -0
  6. package/lib/operations/deleteV1ComputeServicesVersionsByVersionId.d.ts.map +1 -0
  7. package/lib/operations/deleteV1ComputeServicesVersionsByVersionId.js +27 -0
  8. package/lib/operations/deleteV1ComputeServicesVersionsByVersionId.js.map +1 -0
  9. package/lib/operations/deleteV1VersionsByVersionId.d.ts +15 -0
  10. package/lib/operations/deleteV1VersionsByVersionId.d.ts.map +1 -0
  11. package/lib/operations/deleteV1VersionsByVersionId.js +23 -0
  12. package/lib/operations/deleteV1VersionsByVersionId.js.map +1 -0
  13. package/lib/operations/getV1ComputeServices.d.ts +35 -0
  14. package/lib/operations/getV1ComputeServices.d.ts.map +1 -0
  15. package/lib/operations/getV1ComputeServices.js +43 -0
  16. package/lib/operations/getV1ComputeServices.js.map +1 -0
  17. package/lib/operations/getV1ComputeServicesByComputeServiceId.d.ts +29 -0
  18. package/lib/operations/getV1ComputeServicesByComputeServiceId.d.ts.map +1 -0
  19. package/lib/operations/getV1ComputeServicesByComputeServiceId.js +38 -0
  20. package/lib/operations/getV1ComputeServicesByComputeServiceId.js.map +1 -0
  21. package/lib/operations/getV1ComputeServicesByComputeServiceIdVersions.d.ts +29 -0
  22. package/lib/operations/getV1ComputeServicesByComputeServiceIdVersions.d.ts.map +1 -0
  23. package/lib/operations/getV1ComputeServicesByComputeServiceIdVersions.js +41 -0
  24. package/lib/operations/getV1ComputeServicesByComputeServiceIdVersions.js.map +1 -0
  25. package/lib/operations/getV1ComputeServicesVersionsByVersionId.d.ts +26 -0
  26. package/lib/operations/getV1ComputeServicesVersionsByVersionId.d.ts.map +1 -0
  27. package/lib/operations/getV1ComputeServicesVersionsByVersionId.js +38 -0
  28. package/lib/operations/getV1ComputeServicesVersionsByVersionId.js.map +1 -0
  29. package/lib/operations/getV1ProjectsByProjectIdComputeServices.d.ts +35 -0
  30. package/lib/operations/getV1ProjectsByProjectIdComputeServices.d.ts.map +1 -0
  31. package/lib/operations/getV1ProjectsByProjectIdComputeServices.js +47 -0
  32. package/lib/operations/getV1ProjectsByProjectIdComputeServices.js.map +1 -0
  33. package/lib/operations/getV1Versions.d.ts +29 -0
  34. package/lib/operations/getV1Versions.d.ts.map +1 -0
  35. package/lib/operations/getV1Versions.js +35 -0
  36. package/lib/operations/getV1Versions.js.map +1 -0
  37. package/lib/operations/getV1VersionsByVersionId.d.ts +26 -0
  38. package/lib/operations/getV1VersionsByVersionId.d.ts.map +1 -0
  39. package/lib/operations/getV1VersionsByVersionId.js +34 -0
  40. package/lib/operations/getV1VersionsByVersionId.js.map +1 -0
  41. package/lib/operations/patchV1ComputeServicesByComputeServiceId.d.ts +30 -0
  42. package/lib/operations/patchV1ComputeServicesByComputeServiceId.d.ts.map +1 -0
  43. package/lib/operations/patchV1ComputeServicesByComputeServiceId.js +42 -0
  44. package/lib/operations/patchV1ComputeServicesByComputeServiceId.js.map +1 -0
  45. package/lib/operations/postV1ComputeServices.d.ts +31 -0
  46. package/lib/operations/postV1ComputeServices.d.ts.map +1 -0
  47. package/lib/operations/postV1ComputeServices.js +46 -0
  48. package/lib/operations/postV1ComputeServices.js.map +1 -0
  49. package/lib/operations/postV1ComputeServicesByComputeServiceIdVersions.d.ts +28 -0
  50. package/lib/operations/postV1ComputeServicesByComputeServiceIdVersions.d.ts.map +1 -0
  51. package/lib/operations/postV1ComputeServicesByComputeServiceIdVersions.js +40 -0
  52. package/lib/operations/postV1ComputeServicesByComputeServiceIdVersions.js.map +1 -0
  53. package/lib/operations/postV1ComputeServicesVersionsByVersionIdStart.d.ts +19 -0
  54. package/lib/operations/postV1ComputeServicesVersionsByVersionIdStart.d.ts.map +1 -0
  55. package/lib/operations/postV1ComputeServicesVersionsByVersionIdStart.js +31 -0
  56. package/lib/operations/postV1ComputeServicesVersionsByVersionIdStart.js.map +1 -0
  57. package/lib/operations/postV1ComputeServicesVersionsByVersionIdStop.d.ts +15 -0
  58. package/lib/operations/postV1ComputeServicesVersionsByVersionIdStop.d.ts.map +1 -0
  59. package/lib/operations/postV1ComputeServicesVersionsByVersionIdStop.js +27 -0
  60. package/lib/operations/postV1ComputeServicesVersionsByVersionIdStop.js.map +1 -0
  61. package/lib/operations/postV1Connections.d.ts +1 -1
  62. package/lib/operations/postV1Connections.d.ts.map +1 -1
  63. package/lib/operations/postV1Connections.js +2 -1
  64. package/lib/operations/postV1Connections.js.map +1 -1
  65. package/lib/operations/postV1ConnectionsByIdRotate.d.ts +54 -0
  66. package/lib/operations/postV1ConnectionsByIdRotate.d.ts.map +1 -0
  67. package/lib/operations/postV1ConnectionsByIdRotate.js +63 -0
  68. package/lib/operations/postV1ConnectionsByIdRotate.js.map +1 -0
  69. package/lib/operations/postV1DatabasesByDatabaseIdConnections.d.ts +4 -4
  70. package/lib/operations/postV1DatabasesByDatabaseIdConnections.d.ts.map +1 -1
  71. package/lib/operations/postV1DatabasesByDatabaseIdConnections.js +5 -4
  72. package/lib/operations/postV1DatabasesByDatabaseIdConnections.js.map +1 -1
  73. package/lib/operations/postV1DatabasesByTargetDatabaseIdRestore.d.ts +76 -0
  74. package/lib/operations/postV1DatabasesByTargetDatabaseIdRestore.d.ts.map +1 -0
  75. package/lib/operations/postV1DatabasesByTargetDatabaseIdRestore.js +93 -0
  76. package/lib/operations/postV1DatabasesByTargetDatabaseIdRestore.js.map +1 -0
  77. package/lib/operations/postV1Projects.d.ts +5 -5
  78. package/lib/operations/postV1Projects.d.ts.map +1 -1
  79. package/lib/operations/postV1Projects.js +6 -5
  80. package/lib/operations/postV1Projects.js.map +1 -1
  81. package/lib/operations/postV1ProjectsByProjectIdComputeServices.d.ts +31 -0
  82. package/lib/operations/postV1ProjectsByProjectIdComputeServices.d.ts.map +1 -0
  83. package/lib/operations/postV1ProjectsByProjectIdComputeServices.js +50 -0
  84. package/lib/operations/postV1ProjectsByProjectIdComputeServices.js.map +1 -0
  85. package/lib/operations/postV1ProjectsByProjectIdDatabases.d.ts +5 -5
  86. package/lib/operations/postV1ProjectsByProjectIdDatabases.d.ts.map +1 -1
  87. package/lib/operations/postV1ProjectsByProjectIdDatabases.js +6 -5
  88. package/lib/operations/postV1ProjectsByProjectIdDatabases.js.map +1 -1
  89. package/lib/operations/postV1Versions.d.ts +28 -0
  90. package/lib/operations/postV1Versions.d.ts.map +1 -0
  91. package/lib/operations/postV1Versions.js +34 -0
  92. package/lib/operations/postV1Versions.js.map +1 -0
  93. package/lib/operations/postV1VersionsByVersionIdStart.d.ts +19 -0
  94. package/lib/operations/postV1VersionsByVersionIdStart.d.ts.map +1 -0
  95. package/lib/operations/postV1VersionsByVersionIdStart.js +28 -0
  96. package/lib/operations/postV1VersionsByVersionIdStart.js.map +1 -0
  97. package/lib/operations/postV1VersionsByVersionIdStop.d.ts +15 -0
  98. package/lib/operations/postV1VersionsByVersionIdStop.d.ts.map +1 -0
  99. package/lib/operations/postV1VersionsByVersionIdStop.js +24 -0
  100. package/lib/operations/postV1VersionsByVersionIdStop.js.map +1 -0
  101. package/package.json +3 -3
  102. package/src/operations/deleteV1ComputeServicesByComputeServiceId.ts +35 -0
  103. package/src/operations/deleteV1ComputeServicesVersionsByVersionId.ts +35 -0
  104. package/src/operations/deleteV1VersionsByVersionId.ts +31 -0
  105. package/src/operations/getV1ComputeServices.ts +51 -0
  106. package/src/operations/getV1ComputeServicesByComputeServiceId.ts +46 -0
  107. package/src/operations/getV1ComputeServicesByComputeServiceIdVersions.ts +51 -0
  108. package/src/operations/getV1ComputeServicesVersionsByVersionId.ts +46 -0
  109. package/src/operations/getV1ProjectsByProjectIdComputeServices.ts +57 -0
  110. package/src/operations/getV1Versions.ts +41 -0
  111. package/src/operations/getV1VersionsByVersionId.ts +42 -0
  112. package/src/operations/patchV1ComputeServicesByComputeServiceId.ts +50 -0
  113. package/src/operations/postV1ComputeServices.ts +55 -0
  114. package/src/operations/postV1ComputeServicesByComputeServiceIdVersions.ts +50 -0
  115. package/src/operations/postV1ComputeServicesVersionsByVersionIdStart.ts +39 -0
  116. package/src/operations/postV1ComputeServicesVersionsByVersionIdStop.ts +35 -0
  117. package/src/operations/postV1Connections.ts +2 -1
  118. package/src/operations/postV1ConnectionsByIdRotate.ts +81 -0
  119. package/src/operations/postV1DatabasesByDatabaseIdConnections.ts +5 -4
  120. package/src/operations/postV1DatabasesByTargetDatabaseIdRestore.ts +115 -0
  121. package/src/operations/postV1Projects.ts +6 -5
  122. package/src/operations/postV1ProjectsByProjectIdComputeServices.ts +60 -0
  123. package/src/operations/postV1ProjectsByProjectIdDatabases.ts +6 -5
  124. package/src/operations/postV1Versions.ts +40 -0
  125. package/src/operations/postV1VersionsByVersionIdStart.ts +34 -0
  126. package/src/operations/postV1VersionsByVersionIdStop.ts +30 -0
@@ -0,0 +1,35 @@
1
+ import * as Schema from "effect/Schema";
2
+ import { API } from "../client";
3
+ import * as T from "../traits";
4
+ // Input Schema
5
+ export const GetV1VersionsInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
6
+ cursor: Schema.optional(Schema.String),
7
+ limit: Schema.optional(Schema.Number),
8
+ computeServiceId: Schema.optional(Schema.String),
9
+ }).pipe(T.Http({ method: "GET", path: "/v1/versions" }));
10
+ // Output Schema
11
+ export const GetV1VersionsOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
12
+ data: Schema.Array(Schema.Struct({
13
+ id: Schema.String,
14
+ type: Schema.String,
15
+ url: Schema.String,
16
+ foundryVersionId: Schema.String,
17
+ createdAt: Schema.String,
18
+ })),
19
+ pagination: Schema.Struct({
20
+ nextCursor: Schema.NullOr(Schema.String),
21
+ hasMore: Schema.Boolean,
22
+ }),
23
+ });
24
+ // The operation
25
+ /**
26
+ * List compute versions
27
+ *
28
+ * ⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️
29
+ * 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.
30
+ */
31
+ export const getV1Versions = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
32
+ inputSchema: GetV1VersionsInput,
33
+ outputSchema: GetV1VersionsOutput,
34
+ }));
35
+ //# sourceMappingURL=getV1Versions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getV1Versions.js","sourceRoot":"","sources":["../../src/operations/getV1Versions.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,kBAAkB,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IAC1E,MAAM,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACtC,KAAK,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACrC,gBAAgB,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;CACjD,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,cAAc,EAAE,CAAC,CAAC,CAAC;AAGzD,gBAAgB;AAChB,MAAM,CAAC,MAAM,mBAAmB,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IAC3E,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;AAGH,gBAAgB;AAChB;;;;;GAKG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IACvE,WAAW,EAAE,kBAAkB;IAC/B,YAAY,EAAE,mBAAmB;CAClC,CAAC,CAAC,CAAC"}
@@ -0,0 +1,26 @@
1
+ import * as Schema from "effect/Schema";
2
+ export declare const GetV1VersionsByVersionIdInput: Schema.Struct<{
3
+ readonly versionId: Schema.String;
4
+ }>;
5
+ export type GetV1VersionsByVersionIdInput = typeof GetV1VersionsByVersionIdInput.Type;
6
+ export declare const GetV1VersionsByVersionIdOutput: 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 GetV1VersionsByVersionIdOutput = typeof GetV1VersionsByVersionIdOutput.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 getV1VersionsByVersionId: any;
26
+ //# sourceMappingURL=getV1VersionsByVersionId.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getV1VersionsByVersionId.d.ts","sourceRoot":"","sources":["../../src/operations/getV1VersionsByVersionId.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,6BAA6B;;EAG4B,CAAC;AACvE,MAAM,MAAM,6BAA6B,GACvC,OAAO,6BAA6B,CAAC,IAAI,CAAC;AAG5C,eAAO,MAAM,8BAA8B;;;;;;;;;;;EAYvC,CAAC;AACL,MAAM,MAAM,8BAA8B,GACxC,OAAO,8BAA8B,CAAC,IAAI,CAAC;AAG7C;;;;;GAKG;AACH,eAAO,MAAM,wBAAwB,KAKpC,CAAC"}
@@ -0,0 +1,34 @@
1
+ import * as Schema from "effect/Schema";
2
+ import { API } from "../client";
3
+ import * as T from "../traits";
4
+ // Input Schema
5
+ export const GetV1VersionsByVersionIdInput =
6
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
7
+ versionId: Schema.String.pipe(T.PathParam()),
8
+ }).pipe(T.Http({ method: "GET", path: "/v1/versions/{versionId}" }));
9
+ // Output Schema
10
+ export const GetV1VersionsByVersionIdOutput =
11
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
12
+ data: Schema.Struct({
13
+ id: Schema.String,
14
+ type: Schema.String,
15
+ url: Schema.String,
16
+ foundryVersionId: Schema.String,
17
+ status: Schema.String,
18
+ previewDomain: Schema.NullOr(Schema.String),
19
+ envVars: Schema.optional(Schema.Record(Schema.String, Schema.String)),
20
+ createdAt: Schema.String,
21
+ }),
22
+ });
23
+ // The operation
24
+ /**
25
+ * Get compute version
26
+ *
27
+ * ⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️
28
+ * Returns a compute version by ID, including its current status derived from the underlying VM state.
29
+ */
30
+ export const getV1VersionsByVersionId = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
31
+ inputSchema: GetV1VersionsByVersionIdInput,
32
+ outputSchema: GetV1VersionsByVersionIdOutput,
33
+ }));
34
+ //# sourceMappingURL=getV1VersionsByVersionId.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getV1VersionsByVersionId.js","sourceRoot":"","sources":["../../src/operations/getV1VersionsByVersionId.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,6BAA6B;AACxC,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,KAAK,EAAE,IAAI,EAAE,0BAA0B,EAAE,CAAC,CAAC,CAAC;AAIvE,gBAAgB;AAChB,MAAM,CAAC,MAAM,8BAA8B;AACzC,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,wBAAwB,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAC1E,GAAG,EAAE,CAAC,CAAC;IACL,WAAW,EAAE,6BAA6B;IAC1C,YAAY,EAAE,8BAA8B;CAC7C,CAAC,CACH,CAAC"}
@@ -0,0 +1,30 @@
1
+ import * as Schema from "effect/Schema";
2
+ export declare const PatchV1ComputeServicesByComputeServiceIdInput: Schema.Struct<{
3
+ readonly computeServiceId: Schema.String;
4
+ readonly displayName: Schema.String;
5
+ }>;
6
+ export type PatchV1ComputeServicesByComputeServiceIdInput = typeof PatchV1ComputeServicesByComputeServiceIdInput.Type;
7
+ export declare const PatchV1ComputeServicesByComputeServiceIdOutput: Schema.Struct<{
8
+ readonly data: Schema.Struct<{
9
+ readonly id: Schema.String;
10
+ readonly type: Schema.String;
11
+ readonly url: Schema.String;
12
+ readonly name: Schema.String;
13
+ readonly region: Schema.Struct<{
14
+ readonly id: Schema.String;
15
+ readonly name: Schema.String;
16
+ }>;
17
+ readonly projectId: Schema.String;
18
+ readonly latestVersionId: Schema.NullOr<Schema.String>;
19
+ readonly createdAt: Schema.String;
20
+ }>;
21
+ }>;
22
+ export type PatchV1ComputeServicesByComputeServiceIdOutput = typeof PatchV1ComputeServicesByComputeServiceIdOutput.Type;
23
+ /**
24
+ * Update compute service
25
+ *
26
+ * ⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️
27
+ * Updates the display name of a compute service.
28
+ */
29
+ export declare const patchV1ComputeServicesByComputeServiceId: any;
30
+ //# sourceMappingURL=patchV1ComputeServicesByComputeServiceId.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"patchV1ComputeServicesByComputeServiceId.d.ts","sourceRoot":"","sources":["../../src/operations/patchV1ComputeServicesByComputeServiceId.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,6CAA6C;;;EASvD,CAAC;AACJ,MAAM,MAAM,6CAA6C,GACvD,OAAO,6CAA6C,CAAC,IAAI,CAAC;AAG5D,eAAO,MAAM,8CAA8C;;;;;;;;;;;;;;EAevD,CAAC;AACL,MAAM,MAAM,8CAA8C,GACxD,OAAO,8CAA8C,CAAC,IAAI,CAAC;AAG7D;;;;;GAKG;AACH,eAAO,MAAM,wCAAwC,KAIhD,CAAC"}
@@ -0,0 +1,42 @@
1
+ import * as Schema from "effect/Schema";
2
+ import { API } from "../client";
3
+ import * as T from "../traits";
4
+ // Input Schema
5
+ export const PatchV1ComputeServicesByComputeServiceIdInput =
6
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
7
+ computeServiceId: Schema.String.pipe(T.PathParam()),
8
+ displayName: Schema.String,
9
+ }).pipe(T.Http({
10
+ method: "PATCH",
11
+ path: "/v1/compute-services/{computeServiceId}",
12
+ }));
13
+ // Output Schema
14
+ export const PatchV1ComputeServicesByComputeServiceIdOutput =
15
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
16
+ data: Schema.Struct({
17
+ id: Schema.String,
18
+ type: Schema.String,
19
+ url: Schema.String,
20
+ name: Schema.String,
21
+ region: Schema.Struct({
22
+ id: Schema.String,
23
+ name: Schema.String,
24
+ }),
25
+ projectId: Schema.String,
26
+ latestVersionId: Schema.NullOr(Schema.String),
27
+ createdAt: Schema.String,
28
+ }),
29
+ });
30
+ // The operation
31
+ /**
32
+ * Update compute service
33
+ *
34
+ * ⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️
35
+ * Updates the display name of a compute service.
36
+ */
37
+ export const patchV1ComputeServicesByComputeServiceId =
38
+ /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
39
+ inputSchema: PatchV1ComputeServicesByComputeServiceIdInput,
40
+ outputSchema: PatchV1ComputeServicesByComputeServiceIdOutput,
41
+ }));
42
+ //# sourceMappingURL=patchV1ComputeServicesByComputeServiceId.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"patchV1ComputeServicesByComputeServiceId.js","sourceRoot":"","sources":["../../src/operations/patchV1ComputeServicesByComputeServiceId.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,6CAA6C;AACxD,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,gBAAgB,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;IACnD,WAAW,EAAE,MAAM,CAAC,MAAM;CAC3B,CAAC,CAAC,IAAI,CACL,CAAC,CAAC,IAAI,CAAC;IACL,MAAM,EAAE,OAAO;IACf,IAAI,EAAE,yCAAyC;CAChD,CAAC,CACH,CAAC;AAIJ,gBAAgB;AAChB,MAAM,CAAC,MAAM,8CAA8C;AACzD,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,wCAAwC;AACnD,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IAC1C,WAAW,EAAE,6CAA6C;IAC1D,YAAY,EAAE,8CAA8C;CAC7D,CAAC,CAAC,CAAC"}
@@ -0,0 +1,31 @@
1
+ import * as Schema from "effect/Schema";
2
+ export declare const PostV1ComputeServicesInput: Schema.Struct<{
3
+ readonly displayName: Schema.String;
4
+ readonly regionId: Schema.optional<Schema.Literals<readonly ["us-east-1", "us-west-1", "eu-west-3", "eu-central-1", "ap-northeast-1", "ap-southeast-1"]>>;
5
+ readonly projectId: Schema.String;
6
+ }>;
7
+ export type PostV1ComputeServicesInput = typeof PostV1ComputeServicesInput.Type;
8
+ export declare const PostV1ComputeServicesOutput: Schema.Struct<{
9
+ readonly data: 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
+ }>;
23
+ export type PostV1ComputeServicesOutput = typeof PostV1ComputeServicesOutput.Type;
24
+ /**
25
+ * Create compute service
26
+ *
27
+ * ⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️
28
+ * Creates a new compute service under the specified project. The `projectId` is required in the request body. The service is placed in the given region (or the default region if omitted).
29
+ */
30
+ export declare const postV1ComputeServices: any;
31
+ //# sourceMappingURL=postV1ComputeServices.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"postV1ComputeServices.d.ts","sourceRoot":"","sources":["../../src/operations/postV1ComputeServices.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,0BAA0B;;;;EAc4B,CAAC;AACpE,MAAM,MAAM,0BAA0B,GAAG,OAAO,0BAA0B,CAAC,IAAI,CAAC;AAGhF,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;EAepC,CAAC;AACL,MAAM,MAAM,2BAA2B,GACrC,OAAO,2BAA2B,CAAC,IAAI,CAAC;AAG1C;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB,KAKjC,CAAC"}
@@ -0,0 +1,46 @@
1
+ import * as Schema from "effect/Schema";
2
+ import { API } from "../client";
3
+ import * as T from "../traits";
4
+ // Input Schema
5
+ export const PostV1ComputeServicesInput =
6
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
7
+ displayName: Schema.String,
8
+ regionId: Schema.optional(Schema.Literals([
9
+ "us-east-1",
10
+ "us-west-1",
11
+ "eu-west-3",
12
+ "eu-central-1",
13
+ "ap-northeast-1",
14
+ "ap-southeast-1",
15
+ ])),
16
+ projectId: Schema.String,
17
+ }).pipe(T.Http({ method: "POST", path: "/v1/compute-services" }));
18
+ // Output Schema
19
+ export const PostV1ComputeServicesOutput =
20
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
21
+ data: Schema.Struct({
22
+ id: Schema.String,
23
+ type: Schema.String,
24
+ url: Schema.String,
25
+ name: Schema.String,
26
+ region: Schema.Struct({
27
+ id: Schema.String,
28
+ name: Schema.String,
29
+ }),
30
+ projectId: Schema.String,
31
+ latestVersionId: Schema.NullOr(Schema.String),
32
+ createdAt: Schema.String,
33
+ }),
34
+ });
35
+ // The operation
36
+ /**
37
+ * Create compute service
38
+ *
39
+ * ⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️
40
+ * Creates a new compute service under the specified project. The `projectId` is required in the request body. The service is placed in the given region (or the default region if omitted).
41
+ */
42
+ export const postV1ComputeServices = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
43
+ inputSchema: PostV1ComputeServicesInput,
44
+ outputSchema: PostV1ComputeServicesOutput,
45
+ }));
46
+ //# sourceMappingURL=postV1ComputeServices.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"postV1ComputeServices.js","sourceRoot":"","sources":["../../src/operations/postV1ComputeServices.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,0BAA0B;AACrC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,WAAW,EAAE,MAAM,CAAC,MAAM;IAC1B,QAAQ,EAAE,MAAM,CAAC,QAAQ,CACvB,MAAM,CAAC,QAAQ,CAAC;QACd,WAAW;QACX,WAAW;QACX,WAAW;QACX,cAAc;QACd,gBAAgB;QAChB,gBAAgB;KACjB,CAAC,CACH;IACD,SAAS,EAAE,MAAM,CAAC,MAAM;CACzB,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,sBAAsB,EAAE,CAAC,CAAC,CAAC;AAGpE,gBAAgB;AAChB,MAAM,CAAC,MAAM,2BAA2B;AACtC,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,qBAAqB,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CACvE,GAAG,EAAE,CAAC,CAAC;IACL,WAAW,EAAE,0BAA0B;IACvC,YAAY,EAAE,2BAA2B;CAC1C,CAAC,CACH,CAAC"}
@@ -0,0 +1,28 @@
1
+ import * as Schema from "effect/Schema";
2
+ export declare const PostV1ComputeServicesByComputeServiceIdVersionsInput: Schema.Struct<{
3
+ readonly computeServiceId: Schema.String;
4
+ readonly envVars: Schema.optional<Schema.$Record<Schema.String, Schema.Unknown>>;
5
+ readonly portMapping: Schema.optional<Schema.Struct<{
6
+ readonly http: Schema.optional<Schema.Unknown>;
7
+ }>>;
8
+ readonly skipCodeUpload: Schema.optional<Schema.Boolean>;
9
+ }>;
10
+ export type PostV1ComputeServicesByComputeServiceIdVersionsInput = typeof PostV1ComputeServicesByComputeServiceIdVersionsInput.Type;
11
+ export declare const PostV1ComputeServicesByComputeServiceIdVersionsOutput: Schema.Struct<{
12
+ readonly data: Schema.Struct<{
13
+ readonly id: Schema.String;
14
+ readonly type: Schema.String;
15
+ readonly url: Schema.String;
16
+ readonly foundryVersionId: Schema.String;
17
+ readonly uploadUrl: Schema.NullOr<Schema.String>;
18
+ }>;
19
+ }>;
20
+ export type PostV1ComputeServicesByComputeServiceIdVersionsOutput = typeof PostV1ComputeServicesByComputeServiceIdVersionsOutput.Type;
21
+ /**
22
+ * Create compute version
23
+ *
24
+ * ⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️
25
+ * Creates a new compute version under the specified compute service. Returns a pre-signed upload URL for the artifact unless `skipCodeUpload` is set (which forks the latest version's artifact). Environment variables are merged with the previous version's variables when one exists.
26
+ */
27
+ export declare const postV1ComputeServicesByComputeServiceIdVersions: any;
28
+ //# sourceMappingURL=postV1ComputeServicesByComputeServiceIdVersions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"postV1ComputeServicesByComputeServiceIdVersions.d.ts","sourceRoot":"","sources":["../../src/operations/postV1ComputeServicesByComputeServiceIdVersions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,oDAAoD;;;;;;;EAe9D,CAAC;AACJ,MAAM,MAAM,oDAAoD,GAC9D,OAAO,oDAAoD,CAAC,IAAI,CAAC;AAGnE,eAAO,MAAM,qDAAqD;;;;;;;;EAS9D,CAAC;AACL,MAAM,MAAM,qDAAqD,GAC/D,OAAO,qDAAqD,CAAC,IAAI,CAAC;AAGpE;;;;;GAKG;AACH,eAAO,MAAM,+CAA+C,KAIvD,CAAC"}
@@ -0,0 +1,40 @@
1
+ import * as Schema from "effect/Schema";
2
+ import { API } from "../client";
3
+ import * as T from "../traits";
4
+ // Input Schema
5
+ export const PostV1ComputeServicesByComputeServiceIdVersionsInput =
6
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
7
+ computeServiceId: Schema.String.pipe(T.PathParam()),
8
+ envVars: Schema.optional(Schema.Record(Schema.String, Schema.Unknown)),
9
+ portMapping: Schema.optional(Schema.Struct({
10
+ http: Schema.optional(Schema.Unknown),
11
+ })),
12
+ skipCodeUpload: Schema.optional(Schema.Boolean),
13
+ }).pipe(T.Http({
14
+ method: "POST",
15
+ path: "/v1/compute-services/{computeServiceId}/versions",
16
+ }));
17
+ // Output Schema
18
+ export const PostV1ComputeServicesByComputeServiceIdVersionsOutput =
19
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
20
+ data: Schema.Struct({
21
+ id: Schema.String,
22
+ type: Schema.String,
23
+ url: Schema.String,
24
+ foundryVersionId: Schema.String,
25
+ uploadUrl: Schema.NullOr(Schema.String),
26
+ }),
27
+ });
28
+ // The operation
29
+ /**
30
+ * Create compute version
31
+ *
32
+ * ⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️
33
+ * Creates a new compute version under the specified compute service. Returns a pre-signed upload URL for the artifact unless `skipCodeUpload` is set (which forks the latest version's artifact). Environment variables are merged with the previous version's variables when one exists.
34
+ */
35
+ export const postV1ComputeServicesByComputeServiceIdVersions =
36
+ /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
37
+ inputSchema: PostV1ComputeServicesByComputeServiceIdVersionsInput,
38
+ outputSchema: PostV1ComputeServicesByComputeServiceIdVersionsOutput,
39
+ }));
40
+ //# sourceMappingURL=postV1ComputeServicesByComputeServiceIdVersions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"postV1ComputeServicesByComputeServiceIdVersions.js","sourceRoot":"","sources":["../../src/operations/postV1ComputeServicesByComputeServiceIdVersions.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,oDAAoD;AAC/D,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,gBAAgB,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;IACnD,OAAO,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,OAAO,CAAC,CAAC;IACtE,WAAW,EAAE,MAAM,CAAC,QAAQ,CAC1B,MAAM,CAAC,MAAM,CAAC;QACZ,IAAI,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC;KACtC,CAAC,CACH;IACD,cAAc,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC;CAChD,CAAC,CAAC,IAAI,CACL,CAAC,CAAC,IAAI,CAAC;IACL,MAAM,EAAE,MAAM;IACd,IAAI,EAAE,kDAAkD;CACzD,CAAC,CACH,CAAC;AAIJ,gBAAgB;AAChB,MAAM,CAAC,MAAM,qDAAqD;AAChE,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,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC;KACxC,CAAC;CACH,CAAC,CAAC;AAIL,gBAAgB;AAChB;;;;;GAKG;AACH,MAAM,CAAC,MAAM,+CAA+C;AAC1D,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IAC1C,WAAW,EAAE,oDAAoD;IACjE,YAAY,EAAE,qDAAqD;CACpE,CAAC,CAAC,CAAC"}
@@ -0,0 +1,19 @@
1
+ import * as Schema from "effect/Schema";
2
+ export declare const PostV1ComputeServicesVersionsByVersionIdStartInput: Schema.Struct<{
3
+ readonly versionId: Schema.String;
4
+ }>;
5
+ export type PostV1ComputeServicesVersionsByVersionIdStartInput = typeof PostV1ComputeServicesVersionsByVersionIdStartInput.Type;
6
+ export declare const PostV1ComputeServicesVersionsByVersionIdStartOutput: Schema.Struct<{
7
+ readonly data: Schema.Struct<{
8
+ readonly previewDomain: Schema.String;
9
+ }>;
10
+ }>;
11
+ export type PostV1ComputeServicesVersionsByVersionIdStartOutput = typeof PostV1ComputeServicesVersionsByVersionIdStartOutput.Type;
12
+ /**
13
+ * Start compute version
14
+ *
15
+ * ⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️
16
+ * Requests VM creation and startup for the compute version. The artifact must be uploaded before calling this endpoint. Returns a preview domain that becomes reachable once the VM is running. Poll the status endpoint until `running` is reached.
17
+ */
18
+ export declare const postV1ComputeServicesVersionsByVersionIdStart: any;
19
+ //# sourceMappingURL=postV1ComputeServicesVersionsByVersionIdStart.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"postV1ComputeServicesVersionsByVersionIdStart.d.ts","sourceRoot":"","sources":["../../src/operations/postV1ComputeServicesVersionsByVersionIdStart.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,kDAAkD;;EAQ5D,CAAC;AACJ,MAAM,MAAM,kDAAkD,GAC5D,OAAO,kDAAkD,CAAC,IAAI,CAAC;AAGjE,eAAO,MAAM,mDAAmD;;;;EAK5D,CAAC;AACL,MAAM,MAAM,mDAAmD,GAC7D,OAAO,mDAAmD,CAAC,IAAI,CAAC;AAGlE;;;;;GAKG;AACH,eAAO,MAAM,6CAA6C,KAIrD,CAAC"}
@@ -0,0 +1,31 @@
1
+ import * as Schema from "effect/Schema";
2
+ import { API } from "../client";
3
+ import * as T from "../traits";
4
+ // Input Schema
5
+ export const PostV1ComputeServicesVersionsByVersionIdStartInput =
6
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
7
+ versionId: Schema.String.pipe(T.PathParam()),
8
+ }).pipe(T.Http({
9
+ method: "POST",
10
+ path: "/v1/compute-services/versions/{versionId}/start",
11
+ }));
12
+ // Output Schema
13
+ export const PostV1ComputeServicesVersionsByVersionIdStartOutput =
14
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
15
+ data: Schema.Struct({
16
+ previewDomain: Schema.String,
17
+ }),
18
+ });
19
+ // The operation
20
+ /**
21
+ * Start compute version
22
+ *
23
+ * ⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️
24
+ * Requests VM creation and startup for the compute version. The artifact must be uploaded before calling this endpoint. Returns a preview domain that becomes reachable once the VM is running. Poll the status endpoint until `running` is reached.
25
+ */
26
+ export const postV1ComputeServicesVersionsByVersionIdStart =
27
+ /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
28
+ inputSchema: PostV1ComputeServicesVersionsByVersionIdStartInput,
29
+ outputSchema: PostV1ComputeServicesVersionsByVersionIdStartOutput,
30
+ }));
31
+ //# sourceMappingURL=postV1ComputeServicesVersionsByVersionIdStart.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"postV1ComputeServicesVersionsByVersionIdStart.js","sourceRoot":"","sources":["../../src/operations/postV1ComputeServicesVersionsByVersionIdStart.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,kDAAkD;AAC7D,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,MAAM;IACd,IAAI,EAAE,iDAAiD;CACxD,CAAC,CACH,CAAC;AAIJ,gBAAgB;AAChB,MAAM,CAAC,MAAM,mDAAmD;AAC9D,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC;QAClB,aAAa,EAAE,MAAM,CAAC,MAAM;KAC7B,CAAC;CACH,CAAC,CAAC;AAIL,gBAAgB;AAChB;;;;;GAKG;AACH,MAAM,CAAC,MAAM,6CAA6C;AACxD,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IAC1C,WAAW,EAAE,kDAAkD;IAC/D,YAAY,EAAE,mDAAmD;CAClE,CAAC,CAAC,CAAC"}
@@ -0,0 +1,15 @@
1
+ import * as Schema from "effect/Schema";
2
+ export declare const PostV1ComputeServicesVersionsByVersionIdStopInput: Schema.Struct<{
3
+ readonly versionId: Schema.String;
4
+ }>;
5
+ export type PostV1ComputeServicesVersionsByVersionIdStopInput = typeof PostV1ComputeServicesVersionsByVersionIdStopInput.Type;
6
+ export declare const PostV1ComputeServicesVersionsByVersionIdStopOutput: Schema.Void;
7
+ export type PostV1ComputeServicesVersionsByVersionIdStopOutput = typeof PostV1ComputeServicesVersionsByVersionIdStopOutput.Type;
8
+ /**
9
+ * Stop compute version
10
+ *
11
+ * ⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️
12
+ * Requests VM shutdown for the compute version. The version record and metadata are retained. Poll the status endpoint until `stopped` is reached.
13
+ */
14
+ export declare const postV1ComputeServicesVersionsByVersionIdStop: any;
15
+ //# sourceMappingURL=postV1ComputeServicesVersionsByVersionIdStop.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"postV1ComputeServicesVersionsByVersionIdStop.d.ts","sourceRoot":"","sources":["../../src/operations/postV1ComputeServicesVersionsByVersionIdStop.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,iDAAiD;;EAQ3D,CAAC;AACJ,MAAM,MAAM,iDAAiD,GAC3D,OAAO,iDAAiD,CAAC,IAAI,CAAC;AAGhE,eAAO,MAAM,kDAAkD,aACtB,CAAC;AAC1C,MAAM,MAAM,kDAAkD,GAC5D,OAAO,kDAAkD,CAAC,IAAI,CAAC;AAGjE;;;;;GAKG;AACH,eAAO,MAAM,4CAA4C,KAIpD,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 PostV1ComputeServicesVersionsByVersionIdStopInput =
6
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
7
+ versionId: Schema.String.pipe(T.PathParam()),
8
+ }).pipe(T.Http({
9
+ method: "POST",
10
+ path: "/v1/compute-services/versions/{versionId}/stop",
11
+ }));
12
+ // Output Schema
13
+ export const PostV1ComputeServicesVersionsByVersionIdStopOutput =
14
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
15
+ // The operation
16
+ /**
17
+ * Stop compute version
18
+ *
19
+ * ⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️
20
+ * Requests VM shutdown for the compute version. The version record and metadata are retained. Poll the status endpoint until `stopped` is reached.
21
+ */
22
+ export const postV1ComputeServicesVersionsByVersionIdStop =
23
+ /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
24
+ inputSchema: PostV1ComputeServicesVersionsByVersionIdStopInput,
25
+ outputSchema: PostV1ComputeServicesVersionsByVersionIdStopOutput,
26
+ }));
27
+ //# sourceMappingURL=postV1ComputeServicesVersionsByVersionIdStop.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"postV1ComputeServicesVersionsByVersionIdStop.js","sourceRoot":"","sources":["../../src/operations/postV1ComputeServicesVersionsByVersionIdStop.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,iDAAiD;AAC5D,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,MAAM;IACd,IAAI,EAAE,gDAAgD;CACvD,CAAC,CACH,CAAC;AAIJ,gBAAgB;AAChB,MAAM,CAAC,MAAM,kDAAkD;AAC7D,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC;AAI1C,gBAAgB;AAChB;;;;;GAKG;AACH,MAAM,CAAC,MAAM,4CAA4C;AACvD,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IAC1C,WAAW,EAAE,iDAAiD;IAC9D,YAAY,EAAE,kDAAkD;CACjE,CAAC,CAAC,CAAC"}
@@ -26,7 +26,7 @@ export declare const PostV1ConnectionsOutput: Schema.Struct<{
26
26
  readonly port: Schema.Number;
27
27
  }>>;
28
28
  }>;
29
- readonly connectionString: Schema.String;
29
+ readonly connectionString: Schema.Schema<string | import("effect/Redacted").Redacted<string>>;
30
30
  readonly directConnection: Schema.optional<Schema.NullOr<Schema.Struct<{
31
31
  readonly host: Schema.String;
32
32
  readonly pass: Schema.String;
@@ -1 +1 @@
1
- {"version":3,"file":"postV1Connections.d.ts","sourceRoot":"","sources":["../../src/operations/postV1Connections.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,sBAAsB;;;EAKwB,CAAC;AAC5D,MAAM,MAAM,sBAAsB,GAAG,OAAO,sBAAsB,CAAC,IAAI,CAAC;AAGxE,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgDhC,CAAC;AACL,MAAM,MAAM,uBAAuB,GAAG,OAAO,uBAAuB,CAAC,IAAI,CAAC;AAG1E;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,KAG3B,CAAC"}
1
+ {"version":3,"file":"postV1Connections.d.ts","sourceRoot":"","sources":["../../src/operations/postV1Connections.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAMxC,eAAO,MAAM,sBAAsB;;;EAKwB,CAAC;AAC5D,MAAM,MAAM,sBAAsB,GAAG,OAAO,sBAAsB,CAAC,IAAI,CAAC;AAGxE,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgDhC,CAAC;AACL,MAAM,MAAM,uBAAuB,GAAG,OAAO,uBAAuB,CAAC,IAAI,CAAC;AAG1E;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,KAG3B,CAAC"}
@@ -1,6 +1,7 @@
1
1
  import * as Schema from "effect/Schema";
2
2
  import { API } from "../client";
3
3
  import * as T from "../traits";
4
+ import { SensitiveString } from "../sensitive";
4
5
  // Input Schema
5
6
  export const PostV1ConnectionsInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
6
7
  databaseId: Schema.String,
@@ -30,7 +31,7 @@ export const PostV1ConnectionsOutput =
30
31
  port: Schema.Number,
31
32
  })),
32
33
  }),
33
- connectionString: Schema.String,
34
+ connectionString: SensitiveString,
34
35
  directConnection: Schema.optional(Schema.NullOr(Schema.Struct({
35
36
  host: Schema.String,
36
37
  pass: Schema.String,
@@ -1 +1 @@
1
- {"version":3,"file":"postV1Connections.js","sourceRoot":"","sources":["../../src/operations/postV1Connections.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,sBAAsB,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAC7E;IACE,UAAU,EAAE,MAAM,CAAC,MAAM;IACzB,IAAI,EAAE,MAAM,CAAC,MAAM;CACpB,CACF,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,iBAAiB,EAAE,CAAC,CAAC,CAAC;AAG5D,gBAAgB;AAChB,MAAM,CAAC,MAAM,uBAAuB;AAClC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC;QAClB,EAAE,EAAE,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CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC;KACnC,CAAC;CACH,CAAC,CAAC;AAGL,gBAAgB;AAChB;;;;GAIG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IAC3E,WAAW,EAAE,sBAAsB;IACnC,YAAY,EAAE,uBAAuB;CACtC,CAAC,CAAC,CAAC"}
@@ -0,0 +1,54 @@
1
+ import * as Schema from "effect/Schema";
2
+ export declare const PostV1ConnectionsByIdRotateInput: Schema.Struct<{
3
+ readonly id: Schema.String;
4
+ }>;
5
+ export type PostV1ConnectionsByIdRotateInput = typeof PostV1ConnectionsByIdRotateInput.Type;
6
+ export declare const PostV1ConnectionsByIdRotateOutput: 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 createdAt: Schema.String;
13
+ readonly kind: Schema.Literals<readonly ["postgres", "accelerate"]>;
14
+ readonly endpoints: Schema.Struct<{
15
+ readonly direct: Schema.optional<Schema.Struct<{
16
+ readonly host: Schema.String;
17
+ readonly port: Schema.Number;
18
+ readonly connectionString: Schema.Schema<string | import("effect/Redacted").Redacted<string>>;
19
+ }>>;
20
+ readonly pooled: Schema.optional<Schema.Struct<{
21
+ readonly host: Schema.String;
22
+ readonly port: Schema.Number;
23
+ readonly connectionString: Schema.Schema<string | import("effect/Redacted").Redacted<string>>;
24
+ }>>;
25
+ readonly accelerate: Schema.optional<Schema.Struct<{
26
+ readonly host: Schema.String;
27
+ readonly port: Schema.Number;
28
+ readonly connectionString: Schema.Schema<string | import("effect/Redacted").Redacted<string>>;
29
+ }>>;
30
+ }>;
31
+ readonly connectionString: Schema.Schema<string | import("effect/Redacted").Redacted<string>>;
32
+ readonly directConnection: Schema.optional<Schema.NullOr<Schema.Struct<{
33
+ readonly host: Schema.String;
34
+ readonly pass: Schema.String;
35
+ readonly user: Schema.String;
36
+ }>>>;
37
+ readonly database: Schema.Struct<{
38
+ readonly id: Schema.String;
39
+ readonly url: Schema.String;
40
+ readonly name: Schema.String;
41
+ }>;
42
+ readonly host: Schema.NullOr<Schema.String>;
43
+ readonly pass: Schema.NullOr<Schema.String>;
44
+ readonly user: Schema.NullOr<Schema.String>;
45
+ }>;
46
+ }>;
47
+ export type PostV1ConnectionsByIdRotateOutput = typeof PostV1ConnectionsByIdRotateOutput.Type;
48
+ /**
49
+ * Rotate connection credentials
50
+ *
51
+ * Generates new credentials for the connection with the given ID. Revocation of the previous credentials is best-effort.
52
+ */
53
+ export declare const postV1ConnectionsByIdRotate: any;
54
+ //# sourceMappingURL=postV1ConnectionsByIdRotate.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"postV1ConnectionsByIdRotate.d.ts","sourceRoot":"","sources":["../../src/operations/postV1ConnectionsByIdRotate.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAMxC,eAAO,MAAM,gCAAgC;;EAG6B,CAAC;AAC3E,MAAM,MAAM,gCAAgC,GAC1C,OAAO,gCAAgC,CAAC,IAAI,CAAC;AAG/C,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmD1C,CAAC;AACL,MAAM,MAAM,iCAAiC,GAC3C,OAAO,iCAAiC,CAAC,IAAI,CAAC;AAGhD;;;;GAIG;AACH,eAAO,MAAM,2BAA2B,KAKvC,CAAC"}