@distilled.cloud/prisma-postgres 0.10.1 → 0.11.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 (186) hide show
  1. package/lib/client.d.ts +2 -2
  2. package/lib/client.d.ts.map +1 -1
  3. package/lib/client.js +6 -0
  4. package/lib/client.js.map +1 -1
  5. package/lib/operations/deleteV1ComputeServicesByComputeServiceId.d.ts +3 -1
  6. package/lib/operations/deleteV1ComputeServicesByComputeServiceId.d.ts.map +1 -1
  7. package/lib/operations/deleteV1ComputeServicesVersionsByVersionId.d.ts +3 -1
  8. package/lib/operations/deleteV1ComputeServicesVersionsByVersionId.d.ts.map +1 -1
  9. package/lib/operations/deleteV1ConnectionsById.d.ts +4 -1
  10. package/lib/operations/deleteV1ConnectionsById.d.ts.map +1 -1
  11. package/lib/operations/deleteV1ConnectionsById.js +2 -0
  12. package/lib/operations/deleteV1ConnectionsById.js.map +1 -1
  13. package/lib/operations/deleteV1DatabasesByDatabaseId.d.ts +4 -1
  14. package/lib/operations/deleteV1DatabasesByDatabaseId.d.ts.map +1 -1
  15. package/lib/operations/deleteV1DatabasesByDatabaseId.js +2 -0
  16. package/lib/operations/deleteV1DatabasesByDatabaseId.js.map +1 -1
  17. package/lib/operations/deleteV1IntegrationsById.d.ts +4 -1
  18. package/lib/operations/deleteV1IntegrationsById.d.ts.map +1 -1
  19. package/lib/operations/deleteV1IntegrationsById.js +2 -0
  20. package/lib/operations/deleteV1IntegrationsById.js.map +1 -1
  21. package/lib/operations/deleteV1ProjectsById.d.ts +4 -1
  22. package/lib/operations/deleteV1ProjectsById.d.ts.map +1 -1
  23. package/lib/operations/deleteV1ProjectsById.js +2 -0
  24. package/lib/operations/deleteV1ProjectsById.js.map +1 -1
  25. package/lib/operations/deleteV1VersionsByVersionId.d.ts +3 -1
  26. package/lib/operations/deleteV1VersionsByVersionId.d.ts.map +1 -1
  27. package/lib/operations/deleteV1WorkspacesByWorkspaceIdIntegrationsByClientId.d.ts +5 -1
  28. package/lib/operations/deleteV1WorkspacesByWorkspaceIdIntegrationsByClientId.d.ts.map +1 -1
  29. package/lib/operations/deleteV1WorkspacesByWorkspaceIdIntegrationsByClientId.js +2 -0
  30. package/lib/operations/deleteV1WorkspacesByWorkspaceIdIntegrationsByClientId.js.map +1 -1
  31. package/lib/operations/getV1ComputeServices.d.ts +24 -1
  32. package/lib/operations/getV1ComputeServices.d.ts.map +1 -1
  33. package/lib/operations/getV1ComputeServicesByComputeServiceId.d.ts +18 -1
  34. package/lib/operations/getV1ComputeServicesByComputeServiceId.d.ts.map +1 -1
  35. package/lib/operations/getV1ComputeServicesByComputeServiceIdVersions.d.ts +17 -1
  36. package/lib/operations/getV1ComputeServicesByComputeServiceIdVersions.d.ts.map +1 -1
  37. package/lib/operations/getV1ComputeServicesVersionsByVersionId.d.ts +19 -1
  38. package/lib/operations/getV1ComputeServicesVersionsByVersionId.d.ts.map +1 -1
  39. package/lib/operations/getV1ComputeServicesVersionsByVersionIdLogs.d.ts +6 -1
  40. package/lib/operations/getV1ComputeServicesVersionsByVersionIdLogs.d.ts.map +1 -1
  41. package/lib/operations/getV1Connections.d.ts +42 -1
  42. package/lib/operations/getV1Connections.d.ts.map +1 -1
  43. package/lib/operations/getV1ConnectionsById.d.ts +37 -1
  44. package/lib/operations/getV1ConnectionsById.d.ts.map +1 -1
  45. package/lib/operations/getV1ConnectionsById.js +2 -0
  46. package/lib/operations/getV1ConnectionsById.js.map +1 -1
  47. package/lib/operations/getV1Databases.d.ts +63 -1
  48. package/lib/operations/getV1Databases.d.ts.map +1 -1
  49. package/lib/operations/getV1Databases.js +2 -0
  50. package/lib/operations/getV1Databases.js.map +1 -1
  51. package/lib/operations/getV1DatabasesByDatabaseId.d.ts +57 -1
  52. package/lib/operations/getV1DatabasesByDatabaseId.d.ts.map +1 -1
  53. package/lib/operations/getV1DatabasesByDatabaseId.js +2 -0
  54. package/lib/operations/getV1DatabasesByDatabaseId.js.map +1 -1
  55. package/lib/operations/getV1DatabasesByDatabaseIdBackups.d.ts +21 -1
  56. package/lib/operations/getV1DatabasesByDatabaseIdBackups.d.ts.map +1 -1
  57. package/lib/operations/getV1DatabasesByDatabaseIdBackups.js +2 -0
  58. package/lib/operations/getV1DatabasesByDatabaseIdBackups.js.map +1 -1
  59. package/lib/operations/getV1DatabasesByDatabaseIdConnections.d.ts +43 -1
  60. package/lib/operations/getV1DatabasesByDatabaseIdConnections.d.ts.map +1 -1
  61. package/lib/operations/getV1DatabasesByDatabaseIdConnections.js +2 -0
  62. package/lib/operations/getV1DatabasesByDatabaseIdConnections.js.map +1 -1
  63. package/lib/operations/getV1DatabasesByDatabaseIdUsage.d.ts +22 -1
  64. package/lib/operations/getV1DatabasesByDatabaseIdUsage.d.ts.map +1 -1
  65. package/lib/operations/getV1DatabasesByDatabaseIdUsage.js +2 -0
  66. package/lib/operations/getV1DatabasesByDatabaseIdUsage.js.map +1 -1
  67. package/lib/operations/getV1Integrations.d.ts +26 -1
  68. package/lib/operations/getV1Integrations.d.ts.map +1 -1
  69. package/lib/operations/getV1IntegrationsById.d.ts +21 -1
  70. package/lib/operations/getV1IntegrationsById.d.ts.map +1 -1
  71. package/lib/operations/getV1IntegrationsById.js +2 -0
  72. package/lib/operations/getV1IntegrationsById.js.map +1 -1
  73. package/lib/operations/getV1Projects.d.ts +22 -1
  74. package/lib/operations/getV1Projects.d.ts.map +1 -1
  75. package/lib/operations/getV1ProjectsById.d.ts +18 -1
  76. package/lib/operations/getV1ProjectsById.d.ts.map +1 -1
  77. package/lib/operations/getV1ProjectsById.js +2 -0
  78. package/lib/operations/getV1ProjectsById.js.map +1 -1
  79. package/lib/operations/getV1ProjectsByProjectIdComputeServices.d.ts +24 -1
  80. package/lib/operations/getV1ProjectsByProjectIdComputeServices.d.ts.map +1 -1
  81. package/lib/operations/getV1ProjectsByProjectIdDatabases.d.ts +63 -1
  82. package/lib/operations/getV1ProjectsByProjectIdDatabases.d.ts.map +1 -1
  83. package/lib/operations/getV1ProjectsByProjectIdDatabases.js +2 -0
  84. package/lib/operations/getV1ProjectsByProjectIdDatabases.js.map +1 -1
  85. package/lib/operations/getV1Regions.d.ts +11 -1
  86. package/lib/operations/getV1Regions.d.ts.map +1 -1
  87. package/lib/operations/getV1RegionsAccelerate.d.ts +7 -1
  88. package/lib/operations/getV1RegionsAccelerate.d.ts.map +1 -1
  89. package/lib/operations/getV1RegionsPostgres.d.ts +8 -1
  90. package/lib/operations/getV1RegionsPostgres.d.ts.map +1 -1
  91. package/lib/operations/getV1Versions.d.ts +17 -1
  92. package/lib/operations/getV1Versions.d.ts.map +1 -1
  93. package/lib/operations/getV1VersionsByVersionId.d.ts +19 -1
  94. package/lib/operations/getV1VersionsByVersionId.d.ts.map +1 -1
  95. package/lib/operations/getV1Workspaces.d.ts +16 -1
  96. package/lib/operations/getV1Workspaces.d.ts.map +1 -1
  97. package/lib/operations/getV1WorkspacesById.d.ts +12 -1
  98. package/lib/operations/getV1WorkspacesById.d.ts.map +1 -1
  99. package/lib/operations/getV1WorkspacesById.js +2 -0
  100. package/lib/operations/getV1WorkspacesById.js.map +1 -1
  101. package/lib/operations/getV1WorkspacesByWorkspaceIdIntegrations.d.ts +27 -1
  102. package/lib/operations/getV1WorkspacesByWorkspaceIdIntegrations.d.ts.map +1 -1
  103. package/lib/operations/getV1WorkspacesByWorkspaceIdIntegrations.js +2 -0
  104. package/lib/operations/getV1WorkspacesByWorkspaceIdIntegrations.js.map +1 -1
  105. package/lib/operations/patchV1ComputeServicesByComputeServiceId.d.ts +19 -1
  106. package/lib/operations/patchV1ComputeServicesByComputeServiceId.d.ts.map +1 -1
  107. package/lib/operations/patchV1DatabasesByDatabaseId.d.ts +58 -1
  108. package/lib/operations/patchV1DatabasesByDatabaseId.d.ts.map +1 -1
  109. package/lib/operations/patchV1DatabasesByDatabaseId.js +2 -0
  110. package/lib/operations/patchV1DatabasesByDatabaseId.js.map +1 -1
  111. package/lib/operations/patchV1ProjectsById.d.ts +22 -1
  112. package/lib/operations/patchV1ProjectsById.d.ts.map +1 -1
  113. package/lib/operations/patchV1ProjectsById.js +2 -0
  114. package/lib/operations/patchV1ProjectsById.js.map +1 -1
  115. package/lib/operations/postV1ComputeServices.d.ts +20 -1
  116. package/lib/operations/postV1ComputeServices.d.ts.map +1 -1
  117. package/lib/operations/postV1ComputeServicesByComputeServiceIdPromote.d.ts +8 -1
  118. package/lib/operations/postV1ComputeServicesByComputeServiceIdPromote.d.ts.map +1 -1
  119. package/lib/operations/postV1ComputeServicesByComputeServiceIdVersions.d.ts +18 -1
  120. package/lib/operations/postV1ComputeServicesByComputeServiceIdVersions.d.ts.map +1 -1
  121. package/lib/operations/postV1ComputeServicesVersionsByVersionIdStart.d.ts +7 -1
  122. package/lib/operations/postV1ComputeServicesVersionsByVersionIdStart.d.ts.map +1 -1
  123. package/lib/operations/postV1ComputeServicesVersionsByVersionIdStop.d.ts +3 -1
  124. package/lib/operations/postV1ComputeServicesVersionsByVersionIdStop.d.ts.map +1 -1
  125. package/lib/operations/postV1Connections.d.ts +45 -1
  126. package/lib/operations/postV1Connections.d.ts.map +1 -1
  127. package/lib/operations/postV1Connections.js +2 -0
  128. package/lib/operations/postV1Connections.js.map +1 -1
  129. package/lib/operations/postV1ConnectionsByIdRotate.d.ts +43 -1
  130. package/lib/operations/postV1ConnectionsByIdRotate.d.ts.map +1 -1
  131. package/lib/operations/postV1Databases.d.ts +64 -1
  132. package/lib/operations/postV1Databases.d.ts.map +1 -1
  133. package/lib/operations/postV1Databases.js +2 -0
  134. package/lib/operations/postV1Databases.js.map +1 -1
  135. package/lib/operations/postV1DatabasesByDatabaseIdConnections.d.ts +45 -1
  136. package/lib/operations/postV1DatabasesByDatabaseIdConnections.d.ts.map +1 -1
  137. package/lib/operations/postV1DatabasesByDatabaseIdConnections.js +2 -0
  138. package/lib/operations/postV1DatabasesByDatabaseIdConnections.js.map +1 -1
  139. package/lib/operations/postV1DatabasesByTargetDatabaseIdRestore.d.ts +65 -1
  140. package/lib/operations/postV1DatabasesByTargetDatabaseIdRestore.d.ts.map +1 -1
  141. package/lib/operations/postV1Projects.d.ts +104 -1
  142. package/lib/operations/postV1Projects.d.ts.map +1 -1
  143. package/lib/operations/postV1Projects.js +2 -0
  144. package/lib/operations/postV1Projects.js.map +1 -1
  145. package/lib/operations/postV1ProjectsByIdTransfer.d.ts +5 -1
  146. package/lib/operations/postV1ProjectsByIdTransfer.d.ts.map +1 -1
  147. package/lib/operations/postV1ProjectsByIdTransfer.js +2 -0
  148. package/lib/operations/postV1ProjectsByIdTransfer.js.map +1 -1
  149. package/lib/operations/postV1ProjectsByProjectIdComputeServices.d.ts +20 -1
  150. package/lib/operations/postV1ProjectsByProjectIdComputeServices.d.ts.map +1 -1
  151. package/lib/operations/postV1ProjectsByProjectIdDatabases.d.ts +102 -1
  152. package/lib/operations/postV1ProjectsByProjectIdDatabases.d.ts.map +1 -1
  153. package/lib/operations/postV1ProjectsByProjectIdDatabases.js +2 -0
  154. package/lib/operations/postV1ProjectsByProjectIdDatabases.js.map +1 -1
  155. package/lib/operations/postV1Versions.d.ts +18 -1
  156. package/lib/operations/postV1Versions.d.ts.map +1 -1
  157. package/lib/operations/postV1VersionsByVersionIdStart.d.ts +7 -1
  158. package/lib/operations/postV1VersionsByVersionIdStart.d.ts.map +1 -1
  159. package/lib/operations/postV1VersionsByVersionIdStop.d.ts +3 -1
  160. package/lib/operations/postV1VersionsByVersionIdStop.d.ts.map +1 -1
  161. package/package.json +3 -2
  162. package/src/client.ts +7 -0
  163. package/src/operations/deleteV1ConnectionsById.ts +2 -0
  164. package/src/operations/deleteV1DatabasesByDatabaseId.ts +2 -0
  165. package/src/operations/deleteV1IntegrationsById.ts +2 -0
  166. package/src/operations/deleteV1ProjectsById.ts +2 -0
  167. package/src/operations/deleteV1WorkspacesByWorkspaceIdIntegrationsByClientId.ts +2 -0
  168. package/src/operations/getV1ConnectionsById.ts +2 -0
  169. package/src/operations/getV1Databases.ts +2 -0
  170. package/src/operations/getV1DatabasesByDatabaseId.ts +2 -0
  171. package/src/operations/getV1DatabasesByDatabaseIdBackups.ts +2 -0
  172. package/src/operations/getV1DatabasesByDatabaseIdConnections.ts +2 -0
  173. package/src/operations/getV1DatabasesByDatabaseIdUsage.ts +2 -0
  174. package/src/operations/getV1IntegrationsById.ts +2 -0
  175. package/src/operations/getV1ProjectsById.ts +2 -0
  176. package/src/operations/getV1ProjectsByProjectIdDatabases.ts +2 -0
  177. package/src/operations/getV1WorkspacesById.ts +2 -0
  178. package/src/operations/getV1WorkspacesByWorkspaceIdIntegrations.ts +2 -0
  179. package/src/operations/patchV1DatabasesByDatabaseId.ts +2 -0
  180. package/src/operations/patchV1ProjectsById.ts +2 -0
  181. package/src/operations/postV1Connections.ts +2 -0
  182. package/src/operations/postV1Databases.ts +7 -0
  183. package/src/operations/postV1DatabasesByDatabaseIdConnections.ts +2 -0
  184. package/src/operations/postV1Projects.ts +2 -0
  185. package/src/operations/postV1ProjectsByIdTransfer.ts +2 -0
  186. package/src/operations/postV1ProjectsByProjectIdDatabases.ts +7 -0
@@ -32,5 +32,28 @@ export type GetV1ProjectsByProjectIdComputeServicesOutput = typeof GetV1Projects
32
32
  * ⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️
33
33
  * Returns all compute services belonging to a project, ordered by creation time (oldest first). Supports cursor-based pagination.
34
34
  */
35
- export declare const getV1ProjectsByProjectIdComputeServices: any;
35
+ export declare const getV1ProjectsByProjectIdComputeServices: import("@distilled.cloud/core/client").OperationMethod<{
36
+ readonly cursor?: string | undefined;
37
+ readonly limit?: number | undefined;
38
+ readonly projectId: string;
39
+ }, {
40
+ readonly data: readonly {
41
+ readonly createdAt: string;
42
+ readonly id: string;
43
+ readonly latestVersionId: string | null;
44
+ readonly name: string;
45
+ readonly projectId: string;
46
+ readonly region: {
47
+ readonly id: string;
48
+ readonly name: string;
49
+ };
50
+ readonly serviceEndpointDomain: string;
51
+ readonly type: string;
52
+ readonly url: string;
53
+ }[];
54
+ readonly pagination: {
55
+ readonly hasMore: boolean;
56
+ readonly nextCursor: string | null;
57
+ };
58
+ }, never, any>;
36
59
  //# sourceMappingURL=getV1ProjectsByProjectIdComputeServices.d.ts.map
@@ -1 +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;;;;;;;;;;;;;;;;;;;EAsBtD,CAAC;AACL,MAAM,MAAM,6CAA6C,GACvD,OAAO,6CAA6C,CAAC,IAAI,CAAC;AAG5D;;;;;GAKG;AACH,eAAO,MAAM,uCAAuC,KAI/C,CAAC"}
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;;;;;;;;;;;;;;;;;;;EAsBtD,CAAC;AACL,MAAM,MAAM,6CAA6C,GACvD,OAAO,6CAA6C,CAAC,IAAI,CAAC;AAG5D;;;;;GAKG;AACH,eAAO,MAAM,uCAAuC;;;;;;;;;;;;;;;;;;;;;;;cAI/C,CAAC"}
@@ -1,4 +1,5 @@
1
1
  import * as Schema from "effect/Schema";
2
+ import { NotFound, UnprocessableEntity } from "../errors";
2
3
  export declare const GetV1ProjectsByProjectIdDatabasesInput: Schema.Struct<{
3
4
  readonly projectId: Schema.String;
4
5
  readonly cursor: Schema.optional<Schema.String>;
@@ -69,5 +70,66 @@ export type GetV1ProjectsByProjectIdDatabasesOutput = typeof GetV1ProjectsByProj
69
70
  *
70
71
  * Returns databases for the given project.
71
72
  */
72
- export declare const getV1ProjectsByProjectIdDatabases: any;
73
+ export declare const getV1ProjectsByProjectIdDatabases: import("@distilled.cloud/core/client").OperationMethod<{
74
+ readonly cursor?: string | undefined;
75
+ readonly limit?: number | undefined;
76
+ readonly projectId: string;
77
+ }, {
78
+ readonly data: readonly {
79
+ readonly connections: readonly {
80
+ readonly createdAt: string;
81
+ readonly database: {
82
+ readonly id: string;
83
+ readonly name: string;
84
+ readonly url: string;
85
+ };
86
+ readonly directConnection?: {
87
+ readonly host: string;
88
+ readonly pass: string;
89
+ readonly user: string;
90
+ } | null | undefined;
91
+ readonly endpoints: {
92
+ readonly accelerate?: {
93
+ readonly host: string;
94
+ readonly port: number;
95
+ } | undefined;
96
+ readonly direct?: {
97
+ readonly host: string;
98
+ readonly port: number;
99
+ } | undefined;
100
+ readonly pooled?: {
101
+ readonly host: string;
102
+ readonly port: number;
103
+ } | undefined;
104
+ };
105
+ readonly id: string;
106
+ readonly kind: "accelerate" | "postgres";
107
+ readonly name: string;
108
+ readonly type: string;
109
+ readonly url: string;
110
+ }[];
111
+ readonly createdAt: string;
112
+ readonly defaultConnectionId: string | null;
113
+ readonly id: string;
114
+ readonly isDefault: boolean;
115
+ readonly name: string;
116
+ readonly project: {
117
+ readonly id: string;
118
+ readonly name: string;
119
+ readonly url: string;
120
+ };
121
+ readonly region: {
122
+ readonly id: string;
123
+ readonly name: string;
124
+ } | null;
125
+ readonly source: unknown;
126
+ readonly status: "failure" | "provisioning" | "ready" | "recovering";
127
+ readonly type: string;
128
+ readonly url: string;
129
+ }[];
130
+ readonly pagination: {
131
+ readonly hasMore: boolean;
132
+ readonly nextCursor: string | null;
133
+ };
134
+ }, NotFound | UnprocessableEntity, any>;
73
135
  //# sourceMappingURL=getV1ProjectsByProjectIdDatabases.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getV1ProjectsByProjectIdDatabases.d.ts","sourceRoot":"","sources":["../../src/operations/getV1ProjectsByProjectIdDatabases.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,sCAAsC;;;;EAOhD,CAAC;AACJ,MAAM,MAAM,sCAAsC,GAChD,OAAO,sCAAsC,CAAC,IAAI,CAAC;AAGrD,eAAO,MAAM,uCAAuC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+EhD,CAAC;AACL,MAAM,MAAM,uCAAuC,GACjD,OAAO,uCAAuC,CAAC,IAAI,CAAC;AAGtD;;;;GAIG;AACH,eAAO,MAAM,iCAAiC,KAIzC,CAAC"}
1
+ {"version":3,"file":"getV1ProjectsByProjectIdDatabases.d.ts","sourceRoot":"","sources":["../../src/operations/getV1ProjectsByProjectIdDatabases.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAG1D,eAAO,MAAM,sCAAsC;;;;EAOhD,CAAC;AACJ,MAAM,MAAM,sCAAsC,GAChD,OAAO,sCAAsC,CAAC,IAAI,CAAC;AAGrD,eAAO,MAAM,uCAAuC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA+EhD,CAAC;AACL,MAAM,MAAM,uCAAuC,GACjD,OAAO,uCAAuC,CAAC,IAAI,CAAC;AAGtD;;;;GAIG;AACH,eAAO,MAAM,iCAAiC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;uCAKzC,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 { NotFound, UnprocessableEntity } from "../errors";
4
5
  // Input Schema
5
6
  export const GetV1ProjectsByProjectIdDatabasesInput =
6
7
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
@@ -83,5 +84,6 @@ export const getV1ProjectsByProjectIdDatabases =
83
84
  /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
84
85
  inputSchema: GetV1ProjectsByProjectIdDatabasesInput,
85
86
  outputSchema: GetV1ProjectsByProjectIdDatabasesOutput,
87
+ errors: [NotFound, UnprocessableEntity],
86
88
  }));
87
89
  //# sourceMappingURL=getV1ProjectsByProjectIdDatabases.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getV1ProjectsByProjectIdDatabases.js","sourceRoot":"","sources":["../../src/operations/getV1ProjectsByProjectIdDatabases.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,sCAAsC;AACjD,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,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,oCAAoC,EAAE,CAAC,CACtE,CAAC;AAIJ,gBAAgB;AAChB,MAAM,CAAC,MAAM,uCAAuC;AAClD,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,IAAI,EAAE,MAAM,CAAC,KAAK,CAChB,MAAM,CA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AM;gBAClB,IAAI,EAAE,MAAM,CAAC,MAAM;aACpB,CAAC;SACH,CAAC,CACH;QACD,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC;YACrB,EAAE,EAAE,MAAM,CAAC,MAAM;YACjB,GAAG,EAAE,MAAM,CAAC,MAAM;YAClB,IAAI,EAAE,MAAM,CAAC,MAAM;SACpB,CAAC;QACF,MAAM,EAAE,MAAM,CAAC,MAAM,CACnB,MAAM,CAAC,MAAM,CAAC;YACZ,EAAE,EAAE,MAAM,CAAC,MAAM;YACjB,IAAI,EAAE,MAAM,CAAC,MAAM;SACpB,CAAC,CACH;QACD,MAAM,EAAE,MAAM,CAAC,OAAO;KACvB,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;;;;GAIG;AACH,MAAM,CAAC,MAAM,iCAAiC;AAC5C,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IAC1C,WAAW,EAAE,sCAAsC;IACnD,YAAY,EAAE,uCAAuC;IACrD,MAAM,EAAE,CAAC,QAAQ,EAAE,mBAAmB,CAAU;CACjD,CAAC,CAAC,CAAC"}
@@ -18,5 +18,15 @@ export type GetV1RegionsOutput = typeof GetV1RegionsOutput.Type;
18
18
  *
19
19
  * Returns all available regions across products. Optionally filter by product.
20
20
  */
21
- export declare const getV1Regions: any;
21
+ export declare const getV1Regions: import("@distilled.cloud/core/client").OperationMethod<{
22
+ readonly product?: "accelerate" | "postgres" | undefined;
23
+ }, {
24
+ readonly data: readonly {
25
+ readonly id: string;
26
+ readonly name: string;
27
+ readonly product: "accelerate" | "postgres";
28
+ readonly status?: "available" | "unavailable" | undefined;
29
+ readonly type: string;
30
+ }[];
31
+ }, never, any>;
22
32
  //# sourceMappingURL=getV1Regions.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getV1Regions.d.ts","sourceRoot":"","sources":["../../src/operations/getV1Regions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,iBAAiB;;EAEyB,CAAC;AACxD,MAAM,MAAM,iBAAiB,GAAG,OAAO,iBAAiB,CAAC,IAAI,CAAC;AAG9D,eAAO,MAAM,kBAAkB;;;;;;;;EAU7B,CAAC;AACH,MAAM,MAAM,kBAAkB,GAAG,OAAO,kBAAkB,CAAC,IAAI,CAAC;AAGhE;;;;GAIG;AACH,eAAO,MAAM,YAAY,KAGtB,CAAC"}
1
+ {"version":3,"file":"getV1Regions.d.ts","sourceRoot":"","sources":["../../src/operations/getV1Regions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,iBAAiB;;EAEyB,CAAC;AACxD,MAAM,MAAM,iBAAiB,GAAG,OAAO,iBAAiB,CAAC,IAAI,CAAC;AAG9D,eAAO,MAAM,kBAAkB;;;;;;;;EAU7B,CAAC;AACH,MAAM,MAAM,kBAAkB,GAAG,OAAO,kBAAkB,CAAC,IAAI,CAAC;AAGhE;;;;GAIG;AACH,eAAO,MAAM,YAAY;;;;;;;;;;cAGtB,CAAC"}
@@ -14,5 +14,11 @@ export type GetV1RegionsAccelerateOutput = typeof GetV1RegionsAccelerateOutput.T
14
14
  *
15
15
  * Returns all available regions for Prisma Accelerate.
16
16
  */
17
- export declare const getV1RegionsAccelerate: any;
17
+ export declare const getV1RegionsAccelerate: import("@distilled.cloud/core/client").OperationMethod<{}, {
18
+ readonly data: readonly {
19
+ readonly id: string;
20
+ readonly name: string;
21
+ readonly type: string;
22
+ }[];
23
+ }, never, any>;
18
24
  //# sourceMappingURL=getV1RegionsAccelerate.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getV1RegionsAccelerate.d.ts","sourceRoot":"","sources":["../../src/operations/getV1RegionsAccelerate.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,2BAA2B,mBAGrC,CAAC;AACJ,MAAM,MAAM,2BAA2B,GACrC,OAAO,2BAA2B,CAAC,IAAI,CAAC;AAG1C,eAAO,MAAM,4BAA4B;;;;;;EASrC,CAAC;AACL,MAAM,MAAM,4BAA4B,GACtC,OAAO,4BAA4B,CAAC,IAAI,CAAC;AAG3C;;;;GAIG;AACH,eAAO,MAAM,sBAAsB,KAKlC,CAAC"}
1
+ {"version":3,"file":"getV1RegionsAccelerate.d.ts","sourceRoot":"","sources":["../../src/operations/getV1RegionsAccelerate.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,2BAA2B,mBAGrC,CAAC;AACJ,MAAM,MAAM,2BAA2B,GACrC,OAAO,2BAA2B,CAAC,IAAI,CAAC;AAG1C,eAAO,MAAM,4BAA4B;;;;;;EASrC,CAAC;AACL,MAAM,MAAM,4BAA4B,GACtC,OAAO,4BAA4B,CAAC,IAAI,CAAC;AAG3C;;;;GAIG;AACH,eAAO,MAAM,sBAAsB;;;;;;cAKlC,CAAC"}
@@ -15,5 +15,12 @@ export type GetV1RegionsPostgresOutput = typeof GetV1RegionsPostgresOutput.Type;
15
15
  *
16
16
  * Returns all available regions for Prisma Postgres.
17
17
  */
18
- export declare const getV1RegionsPostgres: any;
18
+ export declare const getV1RegionsPostgres: import("@distilled.cloud/core/client").OperationMethod<{}, {
19
+ readonly data: readonly {
20
+ readonly id: string;
21
+ readonly name: string;
22
+ readonly status: "available" | "unavailable";
23
+ readonly type: string;
24
+ }[];
25
+ }, never, any>;
19
26
  //# sourceMappingURL=getV1RegionsPostgres.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getV1RegionsPostgres.d.ts","sourceRoot":"","sources":["../../src/operations/getV1RegionsPostgres.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,yBAAyB,mBAGnC,CAAC;AACJ,MAAM,MAAM,yBAAyB,GAAG,OAAO,yBAAyB,CAAC,IAAI,CAAC;AAG9E,eAAO,MAAM,0BAA0B;;;;;;;EAUnC,CAAC;AACL,MAAM,MAAM,0BAA0B,GAAG,OAAO,0BAA0B,CAAC,IAAI,CAAC;AAGhF;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,KAKhC,CAAC"}
1
+ {"version":3,"file":"getV1RegionsPostgres.d.ts","sourceRoot":"","sources":["../../src/operations/getV1RegionsPostgres.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,yBAAyB,mBAGnC,CAAC;AACJ,MAAM,MAAM,yBAAyB,GAAG,OAAO,yBAAyB,CAAC,IAAI,CAAC;AAG9E,eAAO,MAAM,0BAA0B;;;;;;;EAUnC,CAAC;AACL,MAAM,MAAM,0BAA0B,GAAG,OAAO,0BAA0B,CAAC,IAAI,CAAC;AAGhF;;;;GAIG;AACH,eAAO,MAAM,oBAAoB;;;;;;;cAKhC,CAAC"}
@@ -25,5 +25,21 @@ export type GetV1VersionsOutput = typeof GetV1VersionsOutput.Type;
25
25
  * ⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️
26
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
27
  */
28
- export declare const getV1Versions: any;
28
+ export declare const getV1Versions: import("@distilled.cloud/core/client").OperationMethod<{
29
+ readonly computeServiceId?: string | undefined;
30
+ readonly cursor?: string | undefined;
31
+ readonly limit?: number | undefined;
32
+ }, {
33
+ readonly data: readonly {
34
+ readonly createdAt: string;
35
+ readonly foundryVersionId: string;
36
+ readonly id: string;
37
+ readonly type: string;
38
+ readonly url: string;
39
+ }[];
40
+ readonly pagination: {
41
+ readonly hasMore: boolean;
42
+ readonly nextCursor: string | null;
43
+ };
44
+ }, never, any>;
29
45
  //# sourceMappingURL=getV1Versions.d.ts.map
@@ -1 +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"}
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;;;;;;;;;;;;;;;;cAGvB,CAAC"}
@@ -25,5 +25,23 @@ export type GetV1VersionsByVersionIdOutput = typeof GetV1VersionsByVersionIdOutp
25
25
  * ⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️
26
26
  * Returns a compute version by ID, including its current status derived from the underlying VM state.
27
27
  */
28
- export declare const getV1VersionsByVersionId: any;
28
+ export declare const getV1VersionsByVersionId: import("@distilled.cloud/core/client").OperationMethod<{
29
+ readonly versionId: string;
30
+ }, {
31
+ readonly data: {
32
+ readonly createdAt: string;
33
+ readonly envVars?: {
34
+ readonly [x: string]: string;
35
+ } | undefined;
36
+ readonly foundryVersionId: string;
37
+ readonly id: string;
38
+ readonly portMapping?: {
39
+ readonly http?: number | undefined;
40
+ } | undefined;
41
+ readonly previewDomain: string | null;
42
+ readonly status: string;
43
+ readonly type: string;
44
+ readonly url: string;
45
+ };
46
+ }, never, any>;
29
47
  //# sourceMappingURL=getV1VersionsByVersionId.d.ts.map
@@ -1 +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;;;;;;;;;;;;;;EAiBvC,CAAC;AACL,MAAM,MAAM,8BAA8B,GACxC,OAAO,8BAA8B,CAAC,IAAI,CAAC;AAG7C;;;;;GAKG;AACH,eAAO,MAAM,wBAAwB,KAKpC,CAAC"}
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;;;;;;;;;;;;;;EAiBvC,CAAC;AACL,MAAM,MAAM,8BAA8B,GACxC,OAAO,8BAA8B,CAAC,IAAI,CAAC;AAG7C;;;;;GAKG;AACH,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;cAKpC,CAAC"}
@@ -23,5 +23,20 @@ export type GetV1WorkspacesOutput = typeof GetV1WorkspacesOutput.Type;
23
23
  *
24
24
  * Returns the list of workspaces the current token can access.
25
25
  */
26
- export declare const getV1Workspaces: any;
26
+ export declare const getV1Workspaces: import("@distilled.cloud/core/client").OperationMethod<{
27
+ readonly cursor?: string | undefined;
28
+ readonly limit?: number | undefined;
29
+ }, {
30
+ readonly data: readonly {
31
+ readonly createdAt: string;
32
+ readonly id: string;
33
+ readonly name: string;
34
+ readonly type: string;
35
+ readonly url: string;
36
+ }[];
37
+ readonly pagination: {
38
+ readonly hasMore: boolean;
39
+ readonly nextCursor: string | null;
40
+ };
41
+ }, never, any>;
27
42
  //# sourceMappingURL=getV1Workspaces.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getV1Workspaces.d.ts","sourceRoot":"","sources":["../../src/operations/getV1Workspaces.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,oBAAoB;;;EAGyB,CAAC;AAC3D,MAAM,MAAM,oBAAoB,GAAG,OAAO,oBAAoB,CAAC,IAAI,CAAC;AAGpE,eAAO,MAAM,qBAAqB;;;;;;;;;;;;EAchC,CAAC;AACH,MAAM,MAAM,qBAAqB,GAAG,OAAO,qBAAqB,CAAC,IAAI,CAAC;AAGtE;;;;GAIG;AACH,eAAO,MAAM,eAAe,KAGzB,CAAC"}
1
+ {"version":3,"file":"getV1Workspaces.d.ts","sourceRoot":"","sources":["../../src/operations/getV1Workspaces.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,oBAAoB;;;EAGyB,CAAC;AAC3D,MAAM,MAAM,oBAAoB,GAAG,OAAO,oBAAoB,CAAC,IAAI,CAAC;AAGpE,eAAO,MAAM,qBAAqB;;;;;;;;;;;;EAchC,CAAC;AACH,MAAM,MAAM,qBAAqB,GAAG,OAAO,qBAAqB,CAAC,IAAI,CAAC;AAGtE;;;;GAIG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;cAGzB,CAAC"}
@@ -1,4 +1,5 @@
1
1
  import * as Schema from "effect/Schema";
2
+ import { NotFound, UnprocessableEntity } from "../errors";
2
3
  export declare const GetV1WorkspacesByIdInput: Schema.Struct<{
3
4
  readonly id: Schema.String;
4
5
  }>;
@@ -18,5 +19,15 @@ export type GetV1WorkspacesByIdOutput = typeof GetV1WorkspacesByIdOutput.Type;
18
19
  *
19
20
  * Returns the workspace with the given ID.
20
21
  */
21
- export declare const getV1WorkspacesById: any;
22
+ export declare const getV1WorkspacesById: import("@distilled.cloud/core/client").OperationMethod<{
23
+ readonly id: string;
24
+ }, {
25
+ readonly data: {
26
+ readonly createdAt: string;
27
+ readonly id: string;
28
+ readonly name: string;
29
+ readonly type: string;
30
+ readonly url: string;
31
+ };
32
+ }, NotFound | UnprocessableEntity, any>;
22
33
  //# sourceMappingURL=getV1WorkspacesById.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getV1WorkspacesById.d.ts","sourceRoot":"","sources":["../../src/operations/getV1WorkspacesById.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,wBAAwB;;EAG4B,CAAC;AAClE,MAAM,MAAM,wBAAwB,GAAG,OAAO,wBAAwB,CAAC,IAAI,CAAC;AAG5E,eAAO,MAAM,yBAAyB;;;;;;;;EASlC,CAAC;AACL,MAAM,MAAM,yBAAyB,GAAG,OAAO,yBAAyB,CAAC,IAAI,CAAC;AAG9E;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,KAG7B,CAAC"}
1
+ {"version":3,"file":"getV1WorkspacesById.d.ts","sourceRoot":"","sources":["../../src/operations/getV1WorkspacesById.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAG1D,eAAO,MAAM,wBAAwB;;EAG4B,CAAC;AAClE,MAAM,MAAM,wBAAwB,GAAG,OAAO,wBAAwB,CAAC,IAAI,CAAC;AAG5E,eAAO,MAAM,yBAAyB;;;;;;;;EASlC,CAAC;AACL,MAAM,MAAM,yBAAyB,GAAG,OAAO,yBAAyB,CAAC,IAAI,CAAC;AAG9E;;;;GAIG;AACH,eAAO,MAAM,mBAAmB;;;;;;;;;;uCAI7B,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 { NotFound, UnprocessableEntity } from "../errors";
4
5
  // Input Schema
5
6
  export const GetV1WorkspacesByIdInput =
6
7
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
@@ -26,5 +27,6 @@ export const GetV1WorkspacesByIdOutput =
26
27
  export const getV1WorkspacesById = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
27
28
  inputSchema: GetV1WorkspacesByIdInput,
28
29
  outputSchema: GetV1WorkspacesByIdOutput,
30
+ errors: [NotFound, UnprocessableEntity],
29
31
  }));
30
32
  //# sourceMappingURL=getV1WorkspacesById.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getV1WorkspacesById.js","sourceRoot":"","sources":["../../src/operations/getV1WorkspacesById.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,wBAAwB;AACnC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,EAAE,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;CACtC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,qBAAqB,EAAE,CAAC,CAAC,CAAC;AAGlE,gBA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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,SAAS,EAAE,MAAM,CAAC,MAAM;KACzB,CAAC;CACH,CAAC,CAAC;AAGL,gBAAgB;AAChB;;;;GAIG;AACH,MAAM,CAAC,MAAM,mBAAmB,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IAC7E,WAAW,EAAE,wBAAwB;IACrC,YAAY,EAAE,yBAAyB;IACvC,MAAM,EAAE,CAAC,QAAQ,EAAE,mBAAmB,CAAU;CACjD,CAAC,CAAC,CAAC"}
@@ -1,4 +1,5 @@
1
1
  import * as Schema from "effect/Schema";
2
+ import { NotFound, UnprocessableEntity } from "../errors";
2
3
  export declare const GetV1WorkspacesByWorkspaceIdIntegrationsInput: Schema.Struct<{
3
4
  readonly workspaceId: Schema.String;
4
5
  readonly cursor: Schema.optional<Schema.String>;
@@ -33,5 +34,30 @@ export type GetV1WorkspacesByWorkspaceIdIntegrationsOutput = typeof GetV1Workspa
33
34
  *
34
35
  * Returns integrations for the given workspace.
35
36
  */
36
- export declare const getV1WorkspacesByWorkspaceIdIntegrations: any;
37
+ export declare const getV1WorkspacesByWorkspaceIdIntegrations: import("@distilled.cloud/core/client").OperationMethod<{
38
+ readonly cursor?: string | undefined;
39
+ readonly limit?: number | undefined;
40
+ readonly workspaceId: string;
41
+ }, {
42
+ readonly data: readonly {
43
+ readonly client: {
44
+ readonly createdAt: string;
45
+ readonly id: string;
46
+ readonly name: string;
47
+ };
48
+ readonly createdAt: string;
49
+ readonly createdByUser: {
50
+ readonly displayName: string | null;
51
+ readonly email: string;
52
+ readonly id: string;
53
+ };
54
+ readonly id: string;
55
+ readonly scopes: readonly string[];
56
+ readonly url: string;
57
+ }[];
58
+ readonly pagination: {
59
+ readonly hasMore: boolean;
60
+ readonly nextCursor: string | null;
61
+ };
62
+ }, NotFound | UnprocessableEntity, any>;
37
63
  //# sourceMappingURL=getV1WorkspacesByWorkspaceIdIntegrations.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getV1WorkspacesByWorkspaceIdIntegrations.d.ts","sourceRoot":"","sources":["../../src/operations/getV1WorkspacesByWorkspaceIdIntegrations.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,6CAA6C;;;;EAUvD,CAAC;AACJ,MAAM,MAAM,6CAA6C,GACvD,OAAO,6CAA6C,CAAC,IAAI,CAAC;AAG5D,eAAO,MAAM,8CAA8C;;;;;;;;;;;;;;;;;;;;;EAwBvD,CAAC;AACL,MAAM,MAAM,8CAA8C,GACxD,OAAO,8CAA8C,CAAC,IAAI,CAAC;AAG7D;;;;GAIG;AACH,eAAO,MAAM,wCAAwC,KAIhD,CAAC"}
1
+ {"version":3,"file":"getV1WorkspacesByWorkspaceIdIntegrations.d.ts","sourceRoot":"","sources":["../../src/operations/getV1WorkspacesByWorkspaceIdIntegrations.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAG1D,eAAO,MAAM,6CAA6C;;;;EAUvD,CAAC;AACJ,MAAM,MAAM,6CAA6C,GACvD,OAAO,6CAA6C,CAAC,IAAI,CAAC;AAG5D,eAAO,MAAM,8CAA8C;;;;;;;;;;;;;;;;;;;;;EAwBvD,CAAC;AACL,MAAM,MAAM,8CAA8C,GACxD,OAAO,8CAA8C,CAAC,IAAI,CAAC;AAG7D;;;;GAIG;AACH,eAAO,MAAM,wCAAwC;;;;;;;;;;;;;;;;;;;;;;;;;uCAKhD,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 { NotFound, UnprocessableEntity } from "../errors";
4
5
  // Input Schema
5
6
  export const GetV1WorkspacesByWorkspaceIdIntegrationsInput =
6
7
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
@@ -45,5 +46,6 @@ export const getV1WorkspacesByWorkspaceIdIntegrations =
45
46
  /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
46
47
  inputSchema: GetV1WorkspacesByWorkspaceIdIntegrationsInput,
47
48
  outputSchema: GetV1WorkspacesByWorkspaceIdIntegrationsOutput,
49
+ errors: [NotFound, UnprocessableEntity],
48
50
  }));
49
51
  //# sourceMappingURL=getV1WorkspacesByWorkspaceIdIntegrations.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"getV1WorkspacesByWorkspaceIdIntegrations.js","sourceRoot":"","sources":["../../src/operations/getV1WorkspacesByWorkspaceIdIntegrations.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,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;IAC9C,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,8CAA8C;AACzD,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,GAAG,EAAE,MAAM,CAAC,MAAM;QAClB,SAAS,EAAE,MAAM,CAAC,MAAM;QACxB,MAAM,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC;QACnC,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC;YACpB,EAAE,EAAE,MAAM,CAAC,MAAM;YACjB,IAAI,EAAE,MAAM,CAAC,MAAM;YACnB,SAAS,EAAE,MAAM,CAAC,MAAM;SACzB,CAAC;QACF,aAAa,EAAE,MAAM,CAAC,MAAM,CAAC;YAC3B,EAAE,EAAE,MAAM,CAAC,MAAM;YACjB,KAAK,EAAE,MAAM,CAAC,MAAM;YACpB,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC;SAC1C,CAAC;KACH,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;;;;GAIG;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"}
1
+ {"version":3,"file":"getV1WorkspacesByWorkspaceIdIntegrations.js","sourceRoot":"","sources":["../../src/operations/getV1WorkspacesByWorkspaceIdIntegrations.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eA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,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC;SAC1C,CAAC;KACH,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;;;;GAIG;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;IAC5D,MAAM,EAAE,CAAC,QAAQ,EAAE,mBAAmB,CAAU;CACjD,CAAC,CAAC,CAAC"}
@@ -27,5 +27,23 @@ export type PatchV1ComputeServicesByComputeServiceIdOutput = typeof PatchV1Compu
27
27
  * ⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️
28
28
  * Updates the display name of a compute service.
29
29
  */
30
- export declare const patchV1ComputeServicesByComputeServiceId: any;
30
+ export declare const patchV1ComputeServicesByComputeServiceId: import("@distilled.cloud/core/client").OperationMethod<{
31
+ readonly computeServiceId: string;
32
+ readonly displayName: string;
33
+ }, {
34
+ readonly data: {
35
+ readonly createdAt: string;
36
+ readonly id: string;
37
+ readonly latestVersionId: string | null;
38
+ readonly name: string;
39
+ readonly projectId: string;
40
+ readonly region: {
41
+ readonly id: string;
42
+ readonly name: string;
43
+ };
44
+ readonly serviceEndpointDomain: string;
45
+ readonly type: string;
46
+ readonly url: string;
47
+ };
48
+ }, never, any>;
31
49
  //# sourceMappingURL=patchV1ComputeServicesByComputeServiceId.d.ts.map
@@ -1 +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;;;;;;;;;;;;;;;EAgBvD,CAAC;AACL,MAAM,MAAM,8CAA8C,GACxD,OAAO,8CAA8C,CAAC,IAAI,CAAC;AAG7D;;;;;GAKG;AACH,eAAO,MAAM,wCAAwC,KAIhD,CAAC"}
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;;;;;;;;;;;;;;;EAgBvD,CAAC;AACL,MAAM,MAAM,8CAA8C,GACxD,OAAO,8CAA8C,CAAC,IAAI,CAAC;AAG7D;;;;;GAKG;AACH,eAAO,MAAM,wCAAwC;;;;;;;;;;;;;;;;;;cAIhD,CAAC"}
@@ -1,4 +1,5 @@
1
1
  import * as Schema from "effect/Schema";
2
+ import { Forbidden, NotFound, UnprocessableEntity } from "../errors";
2
3
  export declare const PatchV1DatabasesByDatabaseIdInput: Schema.Struct<{
3
4
  readonly databaseId: Schema.String;
4
5
  readonly name: Schema.optional<Schema.String>;
@@ -64,5 +65,61 @@ export type PatchV1DatabasesByDatabaseIdOutput = typeof PatchV1DatabasesByDataba
64
65
  *
65
66
  * Updates the database with the given ID.
66
67
  */
67
- export declare const patchV1DatabasesByDatabaseId: any;
68
+ export declare const patchV1DatabasesByDatabaseId: import("@distilled.cloud/core/client").OperationMethod<{
69
+ readonly databaseId: string;
70
+ readonly name?: string | undefined;
71
+ }, {
72
+ readonly data: {
73
+ readonly connections: readonly {
74
+ readonly createdAt: string;
75
+ readonly database: {
76
+ readonly id: string;
77
+ readonly name: string;
78
+ readonly url: string;
79
+ };
80
+ readonly directConnection?: {
81
+ readonly host: string;
82
+ readonly pass: string;
83
+ readonly user: string;
84
+ } | null | undefined;
85
+ readonly endpoints: {
86
+ readonly accelerate?: {
87
+ readonly host: string;
88
+ readonly port: number;
89
+ } | undefined;
90
+ readonly direct?: {
91
+ readonly host: string;
92
+ readonly port: number;
93
+ } | undefined;
94
+ readonly pooled?: {
95
+ readonly host: string;
96
+ readonly port: number;
97
+ } | undefined;
98
+ };
99
+ readonly id: string;
100
+ readonly kind: "accelerate" | "postgres";
101
+ readonly name: string;
102
+ readonly type: string;
103
+ readonly url: string;
104
+ }[];
105
+ readonly createdAt: string;
106
+ readonly defaultConnectionId: string | null;
107
+ readonly id: string;
108
+ readonly isDefault: boolean;
109
+ readonly name: string;
110
+ readonly project: {
111
+ readonly id: string;
112
+ readonly name: string;
113
+ readonly url: string;
114
+ };
115
+ readonly region: {
116
+ readonly id: string;
117
+ readonly name: string;
118
+ } | null;
119
+ readonly source: unknown;
120
+ readonly status: "failure" | "provisioning" | "ready" | "recovering";
121
+ readonly type: string;
122
+ readonly url: string;
123
+ };
124
+ }, Forbidden | NotFound | UnprocessableEntity, any>;
68
125
  //# sourceMappingURL=patchV1DatabasesByDatabaseId.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"patchV1DatabasesByDatabaseId.d.ts","sourceRoot":"","sources":["../../src/operations/patchV1DatabasesByDatabaseId.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,iCAAiC;;;EAI4B,CAAC;AAC3E,MAAM,MAAM,iCAAiC,GAC3C,OAAO,iCAAiC,CAAC,IAAI,CAAC;AAGhD,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyE3C,CAAC;AACL,MAAM,MAAM,kCAAkC,GAC5C,OAAO,kCAAkC,CAAC,IAAI,CAAC;AAGjD;;;;GAIG;AACH,eAAO,MAAM,4BAA4B,KAIpC,CAAC"}
1
+ {"version":3,"file":"patchV1DatabasesByDatabaseId.d.ts","sourceRoot":"","sources":["../../src/operations/patchV1DatabasesByDatabaseId.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAGrE,eAAO,MAAM,iCAAiC;;;EAI4B,CAAC;AAC3E,MAAM,MAAM,iCAAiC,GAC3C,OAAO,iCAAiC,CAAC,IAAI,CAAC;AAGhD,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyE3C,CAAC;AACL,MAAM,MAAM,kCAAkC,GAC5C,OAAO,kCAAkC,CAAC,IAAI,CAAC;AAGjD;;;;GAIG;AACH,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mDAKpC,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 { Forbidden, NotFound, UnprocessableEntity } from "../errors";
4
5
  // Input Schema
5
6
  export const PatchV1DatabasesByDatabaseIdInput =
6
7
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
@@ -78,5 +79,6 @@ export const patchV1DatabasesByDatabaseId =
78
79
  /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
79
80
  inputSchema: PatchV1DatabasesByDatabaseIdInput,
80
81
  outputSchema: PatchV1DatabasesByDatabaseIdOutput,
82
+ errors: [Forbidden, NotFound, UnprocessableEntity],
81
83
  }));
82
84
  //# sourceMappingURL=patchV1DatabasesByDatabaseId.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"patchV1DatabasesByDatabaseId.js","sourceRoot":"","sources":["../../src/operations/patchV1DatabasesByDatabaseId.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,iCAAiC;AAC5C,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;IAC7C,IAAI,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;CACrC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,4BAA4B,EAAE,CAAC,CAAC,CAAC;AAI3E,gBAAgB;AAChB,MAAM,CAAC,MAAM,kCAAkC;AAC7C,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,QAAQ,CAAC;YACtB,SAAS;YACT,cAAc;YACd,OAAO;YACP,YAAY;SACb,CAAC;QACF,SAAS,EAAE,MAAM,CAAC,MAAM;QACxB,SAAS,EAAE,MAAM,CAAC,OAAO;QACzB,mBAAmB,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC;QACjD,WAAW,EAAE,MAAM,CAAC,KAAK,CACvB,MAAM,CAAC,MAAM,C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AAU;CAC5D,CAAC,CAAC,CAAC"}
@@ -1,4 +1,5 @@
1
1
  import * as Schema from "effect/Schema";
2
+ import { Forbidden, NotFound, UnprocessableEntity } from "../errors";
2
3
  export declare const PatchV1ProjectsByIdInput: Schema.Struct<{
3
4
  readonly id: Schema.String;
4
5
  readonly name: Schema.optional<Schema.String>;
@@ -26,5 +27,25 @@ export type PatchV1ProjectsByIdOutput = typeof PatchV1ProjectsByIdOutput.Type;
26
27
  *
27
28
  * Updates the project with the given ID.
28
29
  */
29
- export declare const patchV1ProjectsById: any;
30
+ export declare const patchV1ProjectsById: import("@distilled.cloud/core/client").OperationMethod<{
31
+ readonly id: string;
32
+ readonly name?: string | undefined;
33
+ readonly settings?: {
34
+ readonly [x: string]: unknown;
35
+ } | undefined;
36
+ }, {
37
+ readonly data: {
38
+ readonly createdAt: string;
39
+ readonly defaultRegion: string | null;
40
+ readonly id: string;
41
+ readonly name: string;
42
+ readonly type: string;
43
+ readonly url: string;
44
+ readonly workspace: {
45
+ readonly id: string;
46
+ readonly name: string;
47
+ readonly url: string;
48
+ };
49
+ };
50
+ }, Forbidden | NotFound | UnprocessableEntity, any>;
30
51
  //# sourceMappingURL=patchV1ProjectsById.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"patchV1ProjectsById.d.ts","sourceRoot":"","sources":["../../src/operations/patchV1ProjectsById.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,wBAAwB;;;;EAK4B,CAAC;AAClE,MAAM,MAAM,wBAAwB,GAAG,OAAO,wBAAwB,CAAC,IAAI,CAAC;AAG5E,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;EAelC,CAAC;AACL,MAAM,MAAM,yBAAyB,GAAG,OAAO,yBAAyB,CAAC,IAAI,CAAC;AAG9E;;;;GAIG;AACH,eAAO,MAAM,mBAAmB,KAG7B,CAAC"}
1
+ {"version":3,"file":"patchV1ProjectsById.d.ts","sourceRoot":"","sources":["../../src/operations/patchV1ProjectsById.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAGrE,eAAO,MAAM,wBAAwB;;;;EAK4B,CAAC;AAClE,MAAM,MAAM,wBAAwB,GAAG,OAAO,wBAAwB,CAAC,IAAI,CAAC;AAG5E,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;EAelC,CAAC;AACL,MAAM,MAAM,yBAAyB,GAAG,OAAO,yBAAyB,CAAC,IAAI,CAAC;AAG9E;;;;GAIG;AACH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;mDAI7B,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 { Forbidden, NotFound, UnprocessableEntity } from "../errors";
4
5
  // Input Schema
5
6
  export const PatchV1ProjectsByIdInput =
6
7
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
@@ -34,5 +35,6 @@ export const PatchV1ProjectsByIdOutput =
34
35
  export const patchV1ProjectsById = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
35
36
  inputSchema: PatchV1ProjectsByIdInput,
36
37
  outputSchema: PatchV1ProjectsByIdOutput,
38
+ errors: [Forbidden, NotFound, UnprocessableEntity],
37
39
  }));
38
40
  //# sourceMappingURL=patchV1ProjectsById.js.map