@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.
- package/lib/client.d.ts +2 -2
- package/lib/client.d.ts.map +1 -1
- package/lib/client.js +6 -0
- package/lib/client.js.map +1 -1
- package/lib/operations/deleteV1ComputeServicesByComputeServiceId.d.ts +3 -1
- package/lib/operations/deleteV1ComputeServicesByComputeServiceId.d.ts.map +1 -1
- package/lib/operations/deleteV1ComputeServicesVersionsByVersionId.d.ts +3 -1
- package/lib/operations/deleteV1ComputeServicesVersionsByVersionId.d.ts.map +1 -1
- package/lib/operations/deleteV1ConnectionsById.d.ts +4 -1
- package/lib/operations/deleteV1ConnectionsById.d.ts.map +1 -1
- package/lib/operations/deleteV1ConnectionsById.js +2 -0
- package/lib/operations/deleteV1ConnectionsById.js.map +1 -1
- package/lib/operations/deleteV1DatabasesByDatabaseId.d.ts +4 -1
- package/lib/operations/deleteV1DatabasesByDatabaseId.d.ts.map +1 -1
- package/lib/operations/deleteV1DatabasesByDatabaseId.js +2 -0
- package/lib/operations/deleteV1DatabasesByDatabaseId.js.map +1 -1
- package/lib/operations/deleteV1IntegrationsById.d.ts +4 -1
- package/lib/operations/deleteV1IntegrationsById.d.ts.map +1 -1
- package/lib/operations/deleteV1IntegrationsById.js +2 -0
- package/lib/operations/deleteV1IntegrationsById.js.map +1 -1
- package/lib/operations/deleteV1ProjectsById.d.ts +4 -1
- package/lib/operations/deleteV1ProjectsById.d.ts.map +1 -1
- package/lib/operations/deleteV1ProjectsById.js +2 -0
- package/lib/operations/deleteV1ProjectsById.js.map +1 -1
- package/lib/operations/deleteV1VersionsByVersionId.d.ts +3 -1
- package/lib/operations/deleteV1VersionsByVersionId.d.ts.map +1 -1
- package/lib/operations/deleteV1WorkspacesByWorkspaceIdIntegrationsByClientId.d.ts +5 -1
- package/lib/operations/deleteV1WorkspacesByWorkspaceIdIntegrationsByClientId.d.ts.map +1 -1
- package/lib/operations/deleteV1WorkspacesByWorkspaceIdIntegrationsByClientId.js +2 -0
- package/lib/operations/deleteV1WorkspacesByWorkspaceIdIntegrationsByClientId.js.map +1 -1
- package/lib/operations/getV1ComputeServices.d.ts +24 -1
- package/lib/operations/getV1ComputeServices.d.ts.map +1 -1
- package/lib/operations/getV1ComputeServicesByComputeServiceId.d.ts +18 -1
- package/lib/operations/getV1ComputeServicesByComputeServiceId.d.ts.map +1 -1
- package/lib/operations/getV1ComputeServicesByComputeServiceIdVersions.d.ts +17 -1
- package/lib/operations/getV1ComputeServicesByComputeServiceIdVersions.d.ts.map +1 -1
- package/lib/operations/getV1ComputeServicesVersionsByVersionId.d.ts +19 -1
- package/lib/operations/getV1ComputeServicesVersionsByVersionId.d.ts.map +1 -1
- package/lib/operations/getV1ComputeServicesVersionsByVersionIdLogs.d.ts +6 -1
- package/lib/operations/getV1ComputeServicesVersionsByVersionIdLogs.d.ts.map +1 -1
- package/lib/operations/getV1Connections.d.ts +42 -1
- package/lib/operations/getV1Connections.d.ts.map +1 -1
- package/lib/operations/getV1ConnectionsById.d.ts +37 -1
- package/lib/operations/getV1ConnectionsById.d.ts.map +1 -1
- package/lib/operations/getV1ConnectionsById.js +2 -0
- package/lib/operations/getV1ConnectionsById.js.map +1 -1
- package/lib/operations/getV1Databases.d.ts +63 -1
- package/lib/operations/getV1Databases.d.ts.map +1 -1
- package/lib/operations/getV1Databases.js +2 -0
- package/lib/operations/getV1Databases.js.map +1 -1
- package/lib/operations/getV1DatabasesByDatabaseId.d.ts +57 -1
- package/lib/operations/getV1DatabasesByDatabaseId.d.ts.map +1 -1
- package/lib/operations/getV1DatabasesByDatabaseId.js +2 -0
- package/lib/operations/getV1DatabasesByDatabaseId.js.map +1 -1
- package/lib/operations/getV1DatabasesByDatabaseIdBackups.d.ts +21 -1
- package/lib/operations/getV1DatabasesByDatabaseIdBackups.d.ts.map +1 -1
- package/lib/operations/getV1DatabasesByDatabaseIdBackups.js +2 -0
- package/lib/operations/getV1DatabasesByDatabaseIdBackups.js.map +1 -1
- package/lib/operations/getV1DatabasesByDatabaseIdConnections.d.ts +43 -1
- package/lib/operations/getV1DatabasesByDatabaseIdConnections.d.ts.map +1 -1
- package/lib/operations/getV1DatabasesByDatabaseIdConnections.js +2 -0
- package/lib/operations/getV1DatabasesByDatabaseIdConnections.js.map +1 -1
- package/lib/operations/getV1DatabasesByDatabaseIdUsage.d.ts +22 -1
- package/lib/operations/getV1DatabasesByDatabaseIdUsage.d.ts.map +1 -1
- package/lib/operations/getV1DatabasesByDatabaseIdUsage.js +2 -0
- package/lib/operations/getV1DatabasesByDatabaseIdUsage.js.map +1 -1
- package/lib/operations/getV1Integrations.d.ts +26 -1
- package/lib/operations/getV1Integrations.d.ts.map +1 -1
- package/lib/operations/getV1IntegrationsById.d.ts +21 -1
- package/lib/operations/getV1IntegrationsById.d.ts.map +1 -1
- package/lib/operations/getV1IntegrationsById.js +2 -0
- package/lib/operations/getV1IntegrationsById.js.map +1 -1
- package/lib/operations/getV1Projects.d.ts +22 -1
- package/lib/operations/getV1Projects.d.ts.map +1 -1
- package/lib/operations/getV1ProjectsById.d.ts +18 -1
- package/lib/operations/getV1ProjectsById.d.ts.map +1 -1
- package/lib/operations/getV1ProjectsById.js +2 -0
- package/lib/operations/getV1ProjectsById.js.map +1 -1
- package/lib/operations/getV1ProjectsByProjectIdComputeServices.d.ts +24 -1
- package/lib/operations/getV1ProjectsByProjectIdComputeServices.d.ts.map +1 -1
- package/lib/operations/getV1ProjectsByProjectIdDatabases.d.ts +63 -1
- package/lib/operations/getV1ProjectsByProjectIdDatabases.d.ts.map +1 -1
- package/lib/operations/getV1ProjectsByProjectIdDatabases.js +2 -0
- package/lib/operations/getV1ProjectsByProjectIdDatabases.js.map +1 -1
- package/lib/operations/getV1Regions.d.ts +11 -1
- package/lib/operations/getV1Regions.d.ts.map +1 -1
- package/lib/operations/getV1RegionsAccelerate.d.ts +7 -1
- package/lib/operations/getV1RegionsAccelerate.d.ts.map +1 -1
- package/lib/operations/getV1RegionsPostgres.d.ts +8 -1
- package/lib/operations/getV1RegionsPostgres.d.ts.map +1 -1
- package/lib/operations/getV1Versions.d.ts +17 -1
- package/lib/operations/getV1Versions.d.ts.map +1 -1
- package/lib/operations/getV1VersionsByVersionId.d.ts +19 -1
- package/lib/operations/getV1VersionsByVersionId.d.ts.map +1 -1
- package/lib/operations/getV1Workspaces.d.ts +16 -1
- package/lib/operations/getV1Workspaces.d.ts.map +1 -1
- package/lib/operations/getV1WorkspacesById.d.ts +12 -1
- package/lib/operations/getV1WorkspacesById.d.ts.map +1 -1
- package/lib/operations/getV1WorkspacesById.js +2 -0
- package/lib/operations/getV1WorkspacesById.js.map +1 -1
- package/lib/operations/getV1WorkspacesByWorkspaceIdIntegrations.d.ts +27 -1
- package/lib/operations/getV1WorkspacesByWorkspaceIdIntegrations.d.ts.map +1 -1
- package/lib/operations/getV1WorkspacesByWorkspaceIdIntegrations.js +2 -0
- package/lib/operations/getV1WorkspacesByWorkspaceIdIntegrations.js.map +1 -1
- package/lib/operations/patchV1ComputeServicesByComputeServiceId.d.ts +19 -1
- package/lib/operations/patchV1ComputeServicesByComputeServiceId.d.ts.map +1 -1
- package/lib/operations/patchV1DatabasesByDatabaseId.d.ts +58 -1
- package/lib/operations/patchV1DatabasesByDatabaseId.d.ts.map +1 -1
- package/lib/operations/patchV1DatabasesByDatabaseId.js +2 -0
- package/lib/operations/patchV1DatabasesByDatabaseId.js.map +1 -1
- package/lib/operations/patchV1ProjectsById.d.ts +22 -1
- package/lib/operations/patchV1ProjectsById.d.ts.map +1 -1
- package/lib/operations/patchV1ProjectsById.js +2 -0
- package/lib/operations/patchV1ProjectsById.js.map +1 -1
- package/lib/operations/postV1ComputeServices.d.ts +20 -1
- package/lib/operations/postV1ComputeServices.d.ts.map +1 -1
- package/lib/operations/postV1ComputeServicesByComputeServiceIdPromote.d.ts +8 -1
- package/lib/operations/postV1ComputeServicesByComputeServiceIdPromote.d.ts.map +1 -1
- package/lib/operations/postV1ComputeServicesByComputeServiceIdVersions.d.ts +18 -1
- package/lib/operations/postV1ComputeServicesByComputeServiceIdVersions.d.ts.map +1 -1
- package/lib/operations/postV1ComputeServicesVersionsByVersionIdStart.d.ts +7 -1
- package/lib/operations/postV1ComputeServicesVersionsByVersionIdStart.d.ts.map +1 -1
- package/lib/operations/postV1ComputeServicesVersionsByVersionIdStop.d.ts +3 -1
- package/lib/operations/postV1ComputeServicesVersionsByVersionIdStop.d.ts.map +1 -1
- package/lib/operations/postV1Connections.d.ts +45 -1
- package/lib/operations/postV1Connections.d.ts.map +1 -1
- package/lib/operations/postV1Connections.js +2 -0
- package/lib/operations/postV1Connections.js.map +1 -1
- package/lib/operations/postV1ConnectionsByIdRotate.d.ts +43 -1
- package/lib/operations/postV1ConnectionsByIdRotate.d.ts.map +1 -1
- package/lib/operations/postV1Databases.d.ts +64 -1
- package/lib/operations/postV1Databases.d.ts.map +1 -1
- package/lib/operations/postV1Databases.js +2 -0
- package/lib/operations/postV1Databases.js.map +1 -1
- package/lib/operations/postV1DatabasesByDatabaseIdConnections.d.ts +45 -1
- package/lib/operations/postV1DatabasesByDatabaseIdConnections.d.ts.map +1 -1
- package/lib/operations/postV1DatabasesByDatabaseIdConnections.js +2 -0
- package/lib/operations/postV1DatabasesByDatabaseIdConnections.js.map +1 -1
- package/lib/operations/postV1DatabasesByTargetDatabaseIdRestore.d.ts +65 -1
- package/lib/operations/postV1DatabasesByTargetDatabaseIdRestore.d.ts.map +1 -1
- package/lib/operations/postV1Projects.d.ts +104 -1
- package/lib/operations/postV1Projects.d.ts.map +1 -1
- package/lib/operations/postV1Projects.js +2 -0
- package/lib/operations/postV1Projects.js.map +1 -1
- package/lib/operations/postV1ProjectsByIdTransfer.d.ts +5 -1
- package/lib/operations/postV1ProjectsByIdTransfer.d.ts.map +1 -1
- package/lib/operations/postV1ProjectsByIdTransfer.js +2 -0
- package/lib/operations/postV1ProjectsByIdTransfer.js.map +1 -1
- package/lib/operations/postV1ProjectsByProjectIdComputeServices.d.ts +20 -1
- package/lib/operations/postV1ProjectsByProjectIdComputeServices.d.ts.map +1 -1
- package/lib/operations/postV1ProjectsByProjectIdDatabases.d.ts +102 -1
- package/lib/operations/postV1ProjectsByProjectIdDatabases.d.ts.map +1 -1
- package/lib/operations/postV1ProjectsByProjectIdDatabases.js +2 -0
- package/lib/operations/postV1ProjectsByProjectIdDatabases.js.map +1 -1
- package/lib/operations/postV1Versions.d.ts +18 -1
- package/lib/operations/postV1Versions.d.ts.map +1 -1
- package/lib/operations/postV1VersionsByVersionIdStart.d.ts +7 -1
- package/lib/operations/postV1VersionsByVersionIdStart.d.ts.map +1 -1
- package/lib/operations/postV1VersionsByVersionIdStop.d.ts +3 -1
- package/lib/operations/postV1VersionsByVersionIdStop.d.ts.map +1 -1
- package/package.json +3 -2
- package/src/client.ts +7 -0
- package/src/operations/deleteV1ConnectionsById.ts +2 -0
- package/src/operations/deleteV1DatabasesByDatabaseId.ts +2 -0
- package/src/operations/deleteV1IntegrationsById.ts +2 -0
- package/src/operations/deleteV1ProjectsById.ts +2 -0
- package/src/operations/deleteV1WorkspacesByWorkspaceIdIntegrationsByClientId.ts +2 -0
- package/src/operations/getV1ConnectionsById.ts +2 -0
- package/src/operations/getV1Databases.ts +2 -0
- package/src/operations/getV1DatabasesByDatabaseId.ts +2 -0
- package/src/operations/getV1DatabasesByDatabaseIdBackups.ts +2 -0
- package/src/operations/getV1DatabasesByDatabaseIdConnections.ts +2 -0
- package/src/operations/getV1DatabasesByDatabaseIdUsage.ts +2 -0
- package/src/operations/getV1IntegrationsById.ts +2 -0
- package/src/operations/getV1ProjectsById.ts +2 -0
- package/src/operations/getV1ProjectsByProjectIdDatabases.ts +2 -0
- package/src/operations/getV1WorkspacesById.ts +2 -0
- package/src/operations/getV1WorkspacesByWorkspaceIdIntegrations.ts +2 -0
- package/src/operations/patchV1DatabasesByDatabaseId.ts +2 -0
- package/src/operations/patchV1ProjectsById.ts +2 -0
- package/src/operations/postV1Connections.ts +2 -0
- package/src/operations/postV1Databases.ts +7 -0
- package/src/operations/postV1DatabasesByDatabaseIdConnections.ts +2 -0
- package/src/operations/postV1Projects.ts +2 -0
- package/src/operations/postV1ProjectsByIdTransfer.ts +2 -0
- package/src/operations/postV1ProjectsByProjectIdDatabases.ts +7 -0
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as Schema from "effect/Schema";
|
|
2
|
+
import { UnprocessableEntity } from "../errors";
|
|
2
3
|
export declare const PostV1ProjectsInput: Schema.Struct<{
|
|
3
4
|
readonly createDatabase: Schema.optional<Schema.Boolean>;
|
|
4
5
|
readonly name: Schema.optional<Schema.String>;
|
|
@@ -110,5 +111,107 @@ export type PostV1ProjectsOutput = typeof PostV1ProjectsOutput.Type;
|
|
|
110
111
|
*
|
|
111
112
|
* Creates a new project with a postgres database.
|
|
112
113
|
*/
|
|
113
|
-
export declare const postV1Projects:
|
|
114
|
+
export declare const postV1Projects: import("@distilled.cloud/core/client").OperationMethod<{
|
|
115
|
+
readonly createDatabase?: boolean | undefined;
|
|
116
|
+
readonly name?: string | undefined;
|
|
117
|
+
readonly region?: "ap-northeast-1" | "ap-southeast-1" | "eu-central-1" | "eu-west-3" | "us-east-1" | "us-west-1" | undefined;
|
|
118
|
+
}, {
|
|
119
|
+
readonly data: {
|
|
120
|
+
readonly createdAt: string;
|
|
121
|
+
readonly database: {
|
|
122
|
+
readonly apiKeys: readonly {
|
|
123
|
+
readonly connectionString: string | import("effect/Redacted").Redacted<string>;
|
|
124
|
+
readonly createdAt: string;
|
|
125
|
+
readonly directConnection?: {
|
|
126
|
+
readonly host: string;
|
|
127
|
+
readonly pass: string;
|
|
128
|
+
readonly user: string;
|
|
129
|
+
} | null | undefined;
|
|
130
|
+
readonly endpoints: {
|
|
131
|
+
readonly accelerate?: {
|
|
132
|
+
readonly host: string;
|
|
133
|
+
readonly port: number;
|
|
134
|
+
} | undefined;
|
|
135
|
+
readonly direct?: {
|
|
136
|
+
readonly host: string;
|
|
137
|
+
readonly port: number;
|
|
138
|
+
} | undefined;
|
|
139
|
+
readonly pooled?: {
|
|
140
|
+
readonly host: string;
|
|
141
|
+
readonly port: number;
|
|
142
|
+
} | undefined;
|
|
143
|
+
};
|
|
144
|
+
readonly id: string;
|
|
145
|
+
readonly kind: "accelerate" | "postgres";
|
|
146
|
+
readonly name: string;
|
|
147
|
+
readonly type: string;
|
|
148
|
+
readonly url: string;
|
|
149
|
+
}[];
|
|
150
|
+
readonly connectionString: string | import("effect/Redacted").Redacted<string> | null;
|
|
151
|
+
readonly connections: readonly {
|
|
152
|
+
readonly createdAt: string;
|
|
153
|
+
readonly database: {
|
|
154
|
+
readonly id: string;
|
|
155
|
+
readonly name: string;
|
|
156
|
+
readonly url: string;
|
|
157
|
+
};
|
|
158
|
+
readonly directConnection?: {
|
|
159
|
+
readonly host: string;
|
|
160
|
+
readonly pass: string;
|
|
161
|
+
readonly user: string;
|
|
162
|
+
} | null | undefined;
|
|
163
|
+
readonly endpoints: {
|
|
164
|
+
readonly accelerate?: {
|
|
165
|
+
readonly connectionString?: string | import("effect/Redacted").Redacted<string> | undefined;
|
|
166
|
+
readonly host: string;
|
|
167
|
+
readonly port: number;
|
|
168
|
+
} | undefined;
|
|
169
|
+
readonly direct?: {
|
|
170
|
+
readonly connectionString?: string | import("effect/Redacted").Redacted<string> | undefined;
|
|
171
|
+
readonly host: string;
|
|
172
|
+
readonly port: number;
|
|
173
|
+
} | undefined;
|
|
174
|
+
readonly pooled?: {
|
|
175
|
+
readonly connectionString?: string | import("effect/Redacted").Redacted<string> | undefined;
|
|
176
|
+
readonly host: string;
|
|
177
|
+
readonly port: number;
|
|
178
|
+
} | undefined;
|
|
179
|
+
};
|
|
180
|
+
readonly id: string;
|
|
181
|
+
readonly kind: "accelerate" | "postgres";
|
|
182
|
+
readonly name: string;
|
|
183
|
+
readonly type: string;
|
|
184
|
+
readonly url: string;
|
|
185
|
+
}[];
|
|
186
|
+
readonly createdAt: string;
|
|
187
|
+
readonly defaultConnectionId: string | null;
|
|
188
|
+
readonly directConnection: {
|
|
189
|
+
readonly host: string;
|
|
190
|
+
readonly pass: string;
|
|
191
|
+
readonly user: string;
|
|
192
|
+
} | null;
|
|
193
|
+
readonly id: string;
|
|
194
|
+
readonly isDefault: boolean;
|
|
195
|
+
readonly name: string;
|
|
196
|
+
readonly region: {
|
|
197
|
+
readonly id: string;
|
|
198
|
+
readonly name: string;
|
|
199
|
+
};
|
|
200
|
+
readonly source: unknown;
|
|
201
|
+
readonly status: "provisioning" | "ready";
|
|
202
|
+
readonly type: string;
|
|
203
|
+
readonly url: string;
|
|
204
|
+
} | null;
|
|
205
|
+
readonly defaultRegion: string | null;
|
|
206
|
+
readonly id: string;
|
|
207
|
+
readonly name: string;
|
|
208
|
+
readonly type: string;
|
|
209
|
+
readonly url: string;
|
|
210
|
+
readonly workspace: {
|
|
211
|
+
readonly id: string;
|
|
212
|
+
readonly name: string;
|
|
213
|
+
readonly url: string;
|
|
214
|
+
};
|
|
215
|
+
};
|
|
216
|
+
}, UnprocessableEntity, any>;
|
|
114
217
|
//# sourceMappingURL=postV1Projects.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"postV1Projects.d.ts","sourceRoot":"","sources":["../../src/operations/postV1Projects.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"postV1Projects.d.ts","sourceRoot":"","sources":["../../src/operations/postV1Projects.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAIhD,eAAO,MAAM,mBAAmB;;;;EAayB,CAAC;AAC1D,MAAM,MAAM,mBAAmB,GAAG,OAAO,mBAAmB,CAAC,IAAI,CAAC;AAGlE,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8H/B,CAAC;AACH,MAAM,MAAM,oBAAoB,GAAG,OAAO,oBAAoB,CAAC,IAAI,CAAC;AAGpE;;;;GAIG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4BAIxB,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 { UnprocessableEntity } from "../errors";
|
|
4
5
|
import { SensitiveString, SensitiveNullableString } from "../sensitive";
|
|
5
6
|
// Input Schema
|
|
6
7
|
export const PostV1ProjectsInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
@@ -124,5 +125,6 @@ export const PostV1ProjectsOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
124
125
|
export const postV1Projects = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
125
126
|
inputSchema: PostV1ProjectsInput,
|
|
126
127
|
outputSchema: PostV1ProjectsOutput,
|
|
128
|
+
errors: [UnprocessableEntity],
|
|
127
129
|
}));
|
|
128
130
|
//# sourceMappingURL=postV1Projects.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"postV1Projects.js","sourceRoot":"","sources":["../../src/operations/postV1Projects.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;AAC/B,OAAO,EAAE,eAAe,EAAE,uBAAuB,EAAE,MAAM,cAAc,CAAC;AAExE,eAAe;AACf,MAAM,CAAC,MAAM,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BACZ,IAAI,EAAE,MAAM,CAAC,MAAM;wBACnB,IAAI,EAAE,MAAM,CAAC,MAAM;qBACpB,CAAC,CACH;oBACD,UAAU,EAAE,MAAM,CAAC,QAAQ,CACzB,MAAM,CAAC,MAAM,CAAC;wBACZ,IAAI,EAAE,MAAM,CAAC,MAAM;wBACnB,IAAI,EAAE,MAAM,CAAC,MAAM;qBACpB,CAAC,CACH;iBACF,CAAC;gBACF,gBAAgB,EAAE,eAAe;gBACjC,gBAAgB,EAAE,MAAM,CAAC,QAAQ,CAC/B,MAAM,CAAC,MAAM,CACX,MAAM,CAAC,MAAM,CAAC;oBACZ,IAAI,EAAE,MAAM,CAAC,MAAM;oBACnB,IAAI,EAAE,MAAM,CAAC,MAAM;oBACnB,IAAI,EAAE,MAAM,CAAC,MAAM;iBACpB,CAAC,CACH,CACF;aACF,CAAC,CACH;YACD,gBAAgB,EAAE,uBAAuB;YACzC,gBAAgB,EAAE,MAAM,CAAC,MAAM,CAC7B,MAAM,CAAC,MAAM,CAAC;gBACZ,IAAI,EAAE,MAAM,CAAC,MAAM;gBACnB,IAAI,EAAE,MAAM,CAAC,MAAM;gBACnB,IAAI,EAAE,MAAM,CAAC,MAAM;aACpB,CAAC,CACH;SACF,CAAC,CACH;KACF,CAAC;CACH,CAAC,CAAC;AAGH,gBAAgB;AAChB;;;;GAIG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IACxE,WAAW,EAAE,mBAAmB;IAChC,YAAY,EAAE,oBAAoB;
|
|
1
|
+
{"version":3,"file":"postV1Projects.js","sourceRoot":"","sources":["../../src/operations/postV1Projects.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;AAC/B,OAAO,EAAE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as Schema from "effect/Schema";
|
|
2
|
+
import { NotFound, UnprocessableEntity } from "../errors";
|
|
2
3
|
export declare const PostV1ProjectsByIdTransferInput: Schema.Struct<{
|
|
3
4
|
readonly id: Schema.String;
|
|
4
5
|
readonly recipientAccessToken: Schema.String;
|
|
@@ -11,5 +12,8 @@ export type PostV1ProjectsByIdTransferOutput = typeof PostV1ProjectsByIdTransfer
|
|
|
11
12
|
*
|
|
12
13
|
* Transfer the project with the given ID to the new owner's workspace
|
|
13
14
|
*/
|
|
14
|
-
export declare const postV1ProjectsByIdTransfer:
|
|
15
|
+
export declare const postV1ProjectsByIdTransfer: import("@distilled.cloud/core/client").OperationMethod<{
|
|
16
|
+
readonly id: string;
|
|
17
|
+
readonly recipientAccessToken: string;
|
|
18
|
+
}, void, NotFound | UnprocessableEntity, any>;
|
|
15
19
|
//# sourceMappingURL=postV1ProjectsByIdTransfer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"postV1ProjectsByIdTransfer.d.ts","sourceRoot":"","sources":["../../src/operations/postV1ProjectsByIdTransfer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"postV1ProjectsByIdTransfer.d.ts","sourceRoot":"","sources":["../../src/operations/postV1ProjectsByIdTransfer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAG1D,eAAO,MAAM,+BAA+B;;;EAI6B,CAAC;AAC1E,MAAM,MAAM,+BAA+B,GACzC,OAAO,+BAA+B,CAAC,IAAI,CAAC;AAG9C,eAAO,MAAM,gCAAgC,aACJ,CAAC;AAC1C,MAAM,MAAM,gCAAgC,GAC1C,OAAO,gCAAgC,CAAC,IAAI,CAAC;AAG/C;;;;GAIG;AACH,eAAO,MAAM,0BAA0B;;;6CAMtC,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 PostV1ProjectsByIdTransferInput =
|
|
6
7
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
@@ -19,5 +20,6 @@ export const PostV1ProjectsByIdTransferOutput =
|
|
|
19
20
|
export const postV1ProjectsByIdTransfer = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
20
21
|
inputSchema: PostV1ProjectsByIdTransferInput,
|
|
21
22
|
outputSchema: PostV1ProjectsByIdTransferOutput,
|
|
23
|
+
errors: [NotFound, UnprocessableEntity],
|
|
22
24
|
}));
|
|
23
25
|
//# sourceMappingURL=postV1ProjectsByIdTransfer.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"postV1ProjectsByIdTransfer.js","sourceRoot":"","sources":["../../src/operations/postV1ProjectsByIdTransfer.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;
|
|
1
|
+
{"version":3,"file":"postV1ProjectsByIdTransfer.js","sourceRoot":"","sources":["../../src/operations/postV1ProjectsByIdTransfer.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;AAC/B,OAAO,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAE1D,eAAe;AACf,MAAM,CAAC,MAAM,+BAA+B;AAC1C,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,EAAE,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;IACrC,oBAAoB,EAAE,MAAM,CAAC,MAAM;CACpC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,4BAA4B,EAAE,CAAC,CAAC,CAAC;AAI1E,gBAAgB;AAChB,MAAM,CAAC,MAAM,gCAAgC;AAC3C,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC;AAI1C,gBAAgB;AAChB;;;;GAIG;AACH,MAAM,CAAC,MAAM,0BAA0B,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAC5E,GAAG,EAAE,CAAC,CAAC;IACL,WAAW,EAAE,+BAA+B;IAC5C,YAAY,EAAE,gCAAgC;IAC9C,MAAM,EAAE,CAAC,QAAQ,EAAE,mBAAmB,CAAU;CACjD,CAAC,CACH,CAAC"}
|
|
@@ -28,5 +28,24 @@ export type PostV1ProjectsByProjectIdComputeServicesOutput = typeof PostV1Projec
|
|
|
28
28
|
* ⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️
|
|
29
29
|
* Creates a new compute service under the specified project. The service is placed in the given region (or the default region if omitted).
|
|
30
30
|
*/
|
|
31
|
-
export declare const postV1ProjectsByProjectIdComputeServices:
|
|
31
|
+
export declare const postV1ProjectsByProjectIdComputeServices: import("@distilled.cloud/core/client").OperationMethod<{
|
|
32
|
+
readonly displayName: string;
|
|
33
|
+
readonly projectId: string;
|
|
34
|
+
readonly regionId?: "ap-northeast-1" | "ap-southeast-1" | "eu-central-1" | "eu-west-3" | "us-east-1" | "us-west-1" | undefined;
|
|
35
|
+
}, {
|
|
36
|
+
readonly data: {
|
|
37
|
+
readonly createdAt: string;
|
|
38
|
+
readonly id: string;
|
|
39
|
+
readonly latestVersionId: string | null;
|
|
40
|
+
readonly name: string;
|
|
41
|
+
readonly projectId: string;
|
|
42
|
+
readonly region: {
|
|
43
|
+
readonly id: string;
|
|
44
|
+
readonly name: string;
|
|
45
|
+
};
|
|
46
|
+
readonly serviceEndpointDomain: string;
|
|
47
|
+
readonly type: string;
|
|
48
|
+
readonly url: string;
|
|
49
|
+
};
|
|
50
|
+
}, never, any>;
|
|
32
51
|
//# sourceMappingURL=postV1ProjectsByProjectIdComputeServices.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"postV1ProjectsByProjectIdComputeServices.d.ts","sourceRoot":"","sources":["../../src/operations/postV1ProjectsByProjectIdComputeServices.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,6CAA6C;;;;EAmBvD,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,
|
|
1
|
+
{"version":3,"file":"postV1ProjectsByProjectIdComputeServices.d.ts","sourceRoot":"","sources":["../../src/operations/postV1ProjectsByProjectIdComputeServices.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,6CAA6C;;;;EAmBvD,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 { BadRequest, Forbidden, NotFound, UnprocessableEntity } from "../errors";
|
|
2
3
|
export declare const PostV1ProjectsByProjectIdDatabasesInput: Schema.Struct<{
|
|
3
4
|
readonly projectId: Schema.String;
|
|
4
5
|
readonly region: Schema.optional<Schema.Literals<readonly ["us-east-1", "us-west-1", "eu-west-3", "eu-central-1", "ap-northeast-1", "ap-southeast-1", "inherit"]>>;
|
|
@@ -108,5 +109,105 @@ export type PostV1ProjectsByProjectIdDatabasesOutput = typeof PostV1ProjectsByPr
|
|
|
108
109
|
*
|
|
109
110
|
* Creates a new database for the given project.
|
|
110
111
|
*/
|
|
111
|
-
export declare const postV1ProjectsByProjectIdDatabases:
|
|
112
|
+
export declare const postV1ProjectsByProjectIdDatabases: import("@distilled.cloud/core/client").OperationMethod<{
|
|
113
|
+
readonly fromDatabase?: {
|
|
114
|
+
readonly backupId?: string | undefined;
|
|
115
|
+
readonly id: string;
|
|
116
|
+
} | undefined;
|
|
117
|
+
readonly isDefault?: boolean | undefined;
|
|
118
|
+
readonly name?: string | undefined;
|
|
119
|
+
readonly projectId: string;
|
|
120
|
+
readonly region?: "ap-northeast-1" | "ap-southeast-1" | "eu-central-1" | "eu-west-3" | "inherit" | "us-east-1" | "us-west-1" | undefined;
|
|
121
|
+
readonly source?: unknown;
|
|
122
|
+
}, {
|
|
123
|
+
readonly data: {
|
|
124
|
+
readonly apiKeys: readonly {
|
|
125
|
+
readonly connectionString: string | import("effect/Redacted").Redacted<string>;
|
|
126
|
+
readonly createdAt: string;
|
|
127
|
+
readonly directConnection?: {
|
|
128
|
+
readonly host: string;
|
|
129
|
+
readonly pass: string;
|
|
130
|
+
readonly user: string;
|
|
131
|
+
} | null | undefined;
|
|
132
|
+
readonly endpoints: {
|
|
133
|
+
readonly accelerate?: {
|
|
134
|
+
readonly host: string;
|
|
135
|
+
readonly port: number;
|
|
136
|
+
} | undefined;
|
|
137
|
+
readonly direct?: {
|
|
138
|
+
readonly host: string;
|
|
139
|
+
readonly port: number;
|
|
140
|
+
} | undefined;
|
|
141
|
+
readonly pooled?: {
|
|
142
|
+
readonly host: string;
|
|
143
|
+
readonly port: number;
|
|
144
|
+
} | undefined;
|
|
145
|
+
};
|
|
146
|
+
readonly id: string;
|
|
147
|
+
readonly kind: "accelerate" | "postgres";
|
|
148
|
+
readonly name: string;
|
|
149
|
+
readonly type: string;
|
|
150
|
+
readonly url: string;
|
|
151
|
+
}[];
|
|
152
|
+
readonly connectionString: string | import("effect/Redacted").Redacted<string> | null;
|
|
153
|
+
readonly connections: readonly {
|
|
154
|
+
readonly createdAt: string;
|
|
155
|
+
readonly database: {
|
|
156
|
+
readonly id: string;
|
|
157
|
+
readonly name: string;
|
|
158
|
+
readonly url: string;
|
|
159
|
+
};
|
|
160
|
+
readonly directConnection?: {
|
|
161
|
+
readonly host: string;
|
|
162
|
+
readonly pass: string;
|
|
163
|
+
readonly user: string;
|
|
164
|
+
} | null | undefined;
|
|
165
|
+
readonly endpoints: {
|
|
166
|
+
readonly accelerate?: {
|
|
167
|
+
readonly connectionString?: string | import("effect/Redacted").Redacted<string> | undefined;
|
|
168
|
+
readonly host: string;
|
|
169
|
+
readonly port: number;
|
|
170
|
+
} | undefined;
|
|
171
|
+
readonly direct?: {
|
|
172
|
+
readonly connectionString?: string | import("effect/Redacted").Redacted<string> | undefined;
|
|
173
|
+
readonly host: string;
|
|
174
|
+
readonly port: number;
|
|
175
|
+
} | undefined;
|
|
176
|
+
readonly pooled?: {
|
|
177
|
+
readonly connectionString?: string | import("effect/Redacted").Redacted<string> | undefined;
|
|
178
|
+
readonly host: string;
|
|
179
|
+
readonly port: number;
|
|
180
|
+
} | undefined;
|
|
181
|
+
};
|
|
182
|
+
readonly id: string;
|
|
183
|
+
readonly kind: "accelerate" | "postgres";
|
|
184
|
+
readonly name: string;
|
|
185
|
+
readonly type: string;
|
|
186
|
+
readonly url: string;
|
|
187
|
+
}[];
|
|
188
|
+
readonly createdAt: string;
|
|
189
|
+
readonly defaultConnectionId: string | null;
|
|
190
|
+
readonly directConnection: {
|
|
191
|
+
readonly host: string;
|
|
192
|
+
readonly pass: string;
|
|
193
|
+
readonly user: string;
|
|
194
|
+
} | null;
|
|
195
|
+
readonly id: string;
|
|
196
|
+
readonly isDefault: boolean;
|
|
197
|
+
readonly name: string;
|
|
198
|
+
readonly project: {
|
|
199
|
+
readonly id: string;
|
|
200
|
+
readonly name: string;
|
|
201
|
+
readonly url: string;
|
|
202
|
+
};
|
|
203
|
+
readonly region: {
|
|
204
|
+
readonly id: string;
|
|
205
|
+
readonly name: string;
|
|
206
|
+
};
|
|
207
|
+
readonly source: unknown;
|
|
208
|
+
readonly status: "provisioning" | "ready";
|
|
209
|
+
readonly type: string;
|
|
210
|
+
readonly url: string;
|
|
211
|
+
};
|
|
212
|
+
}, BadRequest | Forbidden | NotFound | UnprocessableEntity, any>;
|
|
112
213
|
//# sourceMappingURL=postV1ProjectsByProjectIdDatabases.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"postV1ProjectsByProjectIdDatabases.d.ts","sourceRoot":"","sources":["../../src/operations/postV1ProjectsByProjectIdDatabases.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"postV1ProjectsByProjectIdDatabases.d.ts","sourceRoot":"","sources":["../../src/operations/postV1ProjectsByProjectIdDatabases.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EACL,UAAU,EACV,SAAS,EACT,QAAQ,EACR,mBAAmB,EACpB,MAAM,WAAW,CAAC;AAInB,eAAO,MAAM,uCAAuC;;;;;;;;;;EAyBjD,CAAC;AACJ,MAAM,MAAM,uCAAuC,GACjD,OAAO,uCAAuC,CAAC,IAAI,CAAC;AAGtD,eAAO,MAAM,wCAAwC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqHjD,CAAC;AACL,MAAM,MAAM,wCAAwC,GAClD,OAAO,wCAAwC,CAAC,IAAI,CAAC;AAGvD;;;;GAIG;AACH,eAAO,MAAM,kCAAkC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gEAK1C,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 { BadRequest, Forbidden, NotFound, UnprocessableEntity, } from "../errors";
|
|
4
5
|
import { SensitiveString, SensitiveNullableString } from "../sensitive";
|
|
5
6
|
// Input Schema
|
|
6
7
|
export const PostV1ProjectsByProjectIdDatabasesInput =
|
|
@@ -126,5 +127,6 @@ export const postV1ProjectsByProjectIdDatabases =
|
|
|
126
127
|
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
127
128
|
inputSchema: PostV1ProjectsByProjectIdDatabasesInput,
|
|
128
129
|
outputSchema: PostV1ProjectsByProjectIdDatabasesOutput,
|
|
130
|
+
errors: [BadRequest, Forbidden, NotFound, UnprocessableEntity],
|
|
129
131
|
}));
|
|
130
132
|
//# sourceMappingURL=postV1ProjectsByProjectIdDatabases.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"postV1ProjectsByProjectIdDatabases.js","sourceRoot":"","sources":["../../src/operations/postV1ProjectsByProjectIdDatabases.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;AAC/B,OAAO,EAAE,eAAe,EAAE,uBAAuB,EAAE,MAAM,cAAc,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,MAAM,CAAC,QAAQ,CACrB,MAAM,CAAC,MAAM,CAAC;oBACZ,IAAI,EAAE,MAAM,CAAC,MAAM;oBACnB,IAAI,EAAE,MAAM,CAAC,MAAM;iBACpB,CAAC,CACH;gBACD,UAAU,EAAE,MAAM,CAAC,QAAQ,CACzB,MAAM,CAAC,MAAM,CAAC;oBACZ,IAAI,EAAE,MAAM,CAAC,MAAM;oBACnB,IAAI,EAAE,MAAM,CAAC,MAAM;iBACpB,CAAC,CACH;aACF,CAAC;YACF,gBAAgB,EAAE,eAAe;YACjC,gBAAgB,EAAE,MAAM,CAAC,QAAQ,CAC/B,MAAM,CAAC,MAAM,CACX,MAAM,CAAC,MAAM,CAAC;gBACZ,IAAI,EAAE,MAAM,CAAC,MAAM;gBACnB,IAAI,EAAE,MAAM,CAAC,MAAM;gBACnB,IAAI,EAAE,MAAM,CAAC,MAAM;aACpB,CAAC,CACH,CACF;SACF,CAAC,CACH;QACD,gBAAgB,EAAE,uBAAuB;QACzC,gBAAgB,EAAE,MAAM,CAAC,MAAM,CAC7B,MAAM,CAAC,MAAM,CAAC;YACZ,IAAI,EAAE,MAAM,CAAC,MAAM;YACnB,IAAI,EAAE,MAAM,CAAC,MAAM;YACnB,IAAI,EAAE,MAAM,CAAC,MAAM;SACpB,CAAC,CACH;KACF,CAAC;CACH,CAAC,CAAC;AAIL,gBAAgB;AAChB;;;;GAIG;AACH,MAAM,CAAC,MAAM,kCAAkC;AAC7C,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IAC1C,WAAW,EAAE,uCAAuC;IACpD,YAAY,EAAE,wCAAwC;
|
|
1
|
+
{"version":3,"file":"postV1ProjectsByProjectIdDatabases.js","sourceRoot":"","sources":["../../src/operations/postV1ProjectsByProjectIdDatabases.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC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AC,UAAU,EAAE,SAAS,EAAE,QAAQ,EAAE,mBAAmB,CAAU;CACxE,CAAC,CAAC,CAAC"}
|
|
@@ -24,5 +24,22 @@ export type PostV1VersionsOutput = typeof PostV1VersionsOutput.Type;
|
|
|
24
24
|
* ⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️
|
|
25
25
|
* Creates a new compute version under the specified compute service. The `computeServiceId` is required in the request body. Returns a pre-signed upload URL for the artifact unless `skipCodeUpload` is set. Environment variables are merged with the previous version's variables when one exists.
|
|
26
26
|
*/
|
|
27
|
-
export declare const postV1Versions:
|
|
27
|
+
export declare const postV1Versions: import("@distilled.cloud/core/client").OperationMethod<{
|
|
28
|
+
readonly computeServiceId: string;
|
|
29
|
+
readonly envVars?: {
|
|
30
|
+
readonly [x: string]: unknown;
|
|
31
|
+
} | undefined;
|
|
32
|
+
readonly portMapping?: {
|
|
33
|
+
readonly http?: unknown;
|
|
34
|
+
} | undefined;
|
|
35
|
+
readonly skipCodeUpload?: boolean | undefined;
|
|
36
|
+
}, {
|
|
37
|
+
readonly data: {
|
|
38
|
+
readonly foundryVersionId: string;
|
|
39
|
+
readonly id: string;
|
|
40
|
+
readonly type: string;
|
|
41
|
+
readonly uploadUrl: string | null;
|
|
42
|
+
readonly url: string;
|
|
43
|
+
};
|
|
44
|
+
}, never, any>;
|
|
28
45
|
//# sourceMappingURL=postV1Versions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"postV1Versions.d.ts","sourceRoot":"","sources":["../../src/operations/postV1Versions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,mBAAmB;;;;;;;EASyB,CAAC;AAC1D,MAAM,MAAM,mBAAmB,GAAG,OAAO,mBAAmB,CAAC,IAAI,CAAC;AAGlE,eAAO,MAAM,oBAAoB;;;;;;;;EAQ/B,CAAC;AACH,MAAM,MAAM,oBAAoB,GAAG,OAAO,oBAAoB,CAAC,IAAI,CAAC;AAGpE;;;;;GAKG;AACH,eAAO,MAAM,cAAc,
|
|
1
|
+
{"version":3,"file":"postV1Versions.d.ts","sourceRoot":"","sources":["../../src/operations/postV1Versions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,mBAAmB;;;;;;;EASyB,CAAC;AAC1D,MAAM,MAAM,mBAAmB,GAAG,OAAO,mBAAmB,CAAC,IAAI,CAAC;AAGlE,eAAO,MAAM,oBAAoB;;;;;;;;EAQ/B,CAAC;AACH,MAAM,MAAM,oBAAoB,GAAG,OAAO,oBAAoB,CAAC,IAAI,CAAC;AAGpE;;;;;GAKG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;cAGxB,CAAC"}
|
|
@@ -15,5 +15,11 @@ export type PostV1VersionsByVersionIdStartOutput = typeof PostV1VersionsByVersio
|
|
|
15
15
|
* ⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️
|
|
16
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
17
|
*/
|
|
18
|
-
export declare const postV1VersionsByVersionIdStart:
|
|
18
|
+
export declare const postV1VersionsByVersionIdStart: import("@distilled.cloud/core/client").OperationMethod<{
|
|
19
|
+
readonly versionId: string;
|
|
20
|
+
}, {
|
|
21
|
+
readonly data: {
|
|
22
|
+
readonly previewDomain: string;
|
|
23
|
+
};
|
|
24
|
+
}, never, any>;
|
|
19
25
|
//# sourceMappingURL=postV1VersionsByVersionIdStart.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"postV1VersionsByVersionIdStart.d.ts","sourceRoot":"","sources":["../../src/operations/postV1VersionsByVersionIdStart.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,mCAAmC;;EAG6B,CAAC;AAC9E,MAAM,MAAM,mCAAmC,GAC7C,OAAO,mCAAmC,CAAC,IAAI,CAAC;AAGlD,eAAO,MAAM,oCAAoC;;;;EAK7C,CAAC;AACL,MAAM,MAAM,oCAAoC,GAC9C,OAAO,oCAAoC,CAAC,IAAI,CAAC;AAGnD;;;;;GAKG;AACH,eAAO,MAAM,8BAA8B,
|
|
1
|
+
{"version":3,"file":"postV1VersionsByVersionIdStart.d.ts","sourceRoot":"","sources":["../../src/operations/postV1VersionsByVersionIdStart.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,mCAAmC;;EAG6B,CAAC;AAC9E,MAAM,MAAM,mCAAmC,GAC7C,OAAO,mCAAmC,CAAC,IAAI,CAAC;AAGlD,eAAO,MAAM,oCAAoC;;;;EAK7C,CAAC;AACL,MAAM,MAAM,oCAAoC,GAC9C,OAAO,oCAAoC,CAAC,IAAI,CAAC;AAGnD;;;;;GAKG;AACH,eAAO,MAAM,8BAA8B;;;;;;cAItC,CAAC"}
|
|
@@ -11,5 +11,7 @@ export type PostV1VersionsByVersionIdStopOutput = typeof PostV1VersionsByVersion
|
|
|
11
11
|
* ⚠️ Experimental endpoint: this API is in active development and may change at any time without notice. ⚠️
|
|
12
12
|
* Requests VM shutdown for the compute version. The version record and metadata are retained. Poll the status endpoint until `stopped` is reached.
|
|
13
13
|
*/
|
|
14
|
-
export declare const postV1VersionsByVersionIdStop:
|
|
14
|
+
export declare const postV1VersionsByVersionIdStop: import("@distilled.cloud/core/client").OperationMethod<{
|
|
15
|
+
readonly versionId: string;
|
|
16
|
+
}, void, never, any>;
|
|
15
17
|
//# sourceMappingURL=postV1VersionsByVersionIdStop.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"postV1VersionsByVersionIdStop.d.ts","sourceRoot":"","sources":["../../src/operations/postV1VersionsByVersionIdStop.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,kCAAkC;;EAG6B,CAAC;AAC7E,MAAM,MAAM,kCAAkC,GAC5C,OAAO,kCAAkC,CAAC,IAAI,CAAC;AAGjD,eAAO,MAAM,mCAAmC,aACP,CAAC;AAC1C,MAAM,MAAM,mCAAmC,GAC7C,OAAO,mCAAmC,CAAC,IAAI,CAAC;AAGlD;;;;;GAKG;AACH,eAAO,MAAM,6BAA6B,
|
|
1
|
+
{"version":3,"file":"postV1VersionsByVersionIdStop.d.ts","sourceRoot":"","sources":["../../src/operations/postV1VersionsByVersionIdStop.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,kCAAkC;;EAG6B,CAAC;AAC7E,MAAM,MAAM,kCAAkC,GAC5C,OAAO,kCAAkC,CAAC,IAAI,CAAC;AAGjD,eAAO,MAAM,mCAAmC,aACP,CAAC;AAC1C,MAAM,MAAM,mCAAmC,GAC7C,OAAO,mCAAmC,CAAC,IAAI,CAAC;AAGlD;;;;;GAKG;AACH,eAAO,MAAM,6BAA6B;;oBAIrC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@distilled.cloud/prisma-postgres",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.11.0",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/alchemy-run/distilled",
|
|
@@ -66,6 +66,7 @@
|
|
|
66
66
|
"fmt": "oxfmt --write src",
|
|
67
67
|
"lint": "oxlint --fix src",
|
|
68
68
|
"check": "tsgo && oxlint src && oxfmt --check src",
|
|
69
|
+
"nuke": "bun scripts/nuke.ts",
|
|
69
70
|
"test": "bunx vitest run test --exclude specs",
|
|
70
71
|
"publish:npm": "bun run build && bun publish --access public",
|
|
71
72
|
"generate": "bun run scripts/generate.ts && oxlint --fix src && oxfmt --write src && oxfmt --write src",
|
|
@@ -73,7 +74,7 @@
|
|
|
73
74
|
"specs:update": "git -C specs/distilled-spec-prisma-postgres fetch && git -C specs/distilled-spec-prisma-postgres checkout main && git -C specs/distilled-spec-prisma-postgres pull"
|
|
74
75
|
},
|
|
75
76
|
"dependencies": {
|
|
76
|
-
"@distilled.cloud/core": "0.
|
|
77
|
+
"@distilled.cloud/core": "0.11.0",
|
|
77
78
|
"effect": "4.0.0-beta.48"
|
|
78
79
|
},
|
|
79
80
|
"devDependencies": {
|
package/src/client.ts
CHANGED
|
@@ -51,6 +51,13 @@ const matchError = (
|
|
|
51
51
|
}),
|
|
52
52
|
);
|
|
53
53
|
} catch {
|
|
54
|
+
// Non-JSON responses (e.g. plain-text 401/403) — fall back to status code matching
|
|
55
|
+
const ErrorClass = (HTTP_STATUS_MAP as any)[status];
|
|
56
|
+
if (ErrorClass) {
|
|
57
|
+
const message =
|
|
58
|
+
typeof errorBody === "string" ? errorBody : String(errorBody ?? "");
|
|
59
|
+
return Effect.fail(new ErrorClass({ message }));
|
|
60
|
+
}
|
|
54
61
|
return Effect.fail(new UnknownPrismaPostgresError({ body: errorBody }));
|
|
55
62
|
}
|
|
56
63
|
};
|
|
@@ -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
|
|
|
5
6
|
// Input Schema
|
|
6
7
|
export const DeleteV1ConnectionsByIdInput =
|
|
@@ -26,5 +27,6 @@ export const deleteV1ConnectionsById = /*@__PURE__*/ /*#__PURE__*/ API.make(
|
|
|
26
27
|
() => ({
|
|
27
28
|
inputSchema: DeleteV1ConnectionsByIdInput,
|
|
28
29
|
outputSchema: DeleteV1ConnectionsByIdOutput,
|
|
30
|
+
errors: [NotFound, UnprocessableEntity] as const,
|
|
29
31
|
}),
|
|
30
32
|
);
|
|
@@ -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
|
|
|
5
6
|
// Input Schema
|
|
6
7
|
export const DeleteV1DatabasesByDatabaseIdInput =
|
|
@@ -26,4 +27,5 @@ export const deleteV1DatabasesByDatabaseId =
|
|
|
26
27
|
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
27
28
|
inputSchema: DeleteV1DatabasesByDatabaseIdInput,
|
|
28
29
|
outputSchema: DeleteV1DatabasesByDatabaseIdOutput,
|
|
30
|
+
errors: [Forbidden, NotFound, UnprocessableEntity] as const,
|
|
29
31
|
}));
|
|
@@ -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
|
|
|
5
6
|
// Input Schema
|
|
6
7
|
export const DeleteV1IntegrationsByIdInput =
|
|
@@ -26,5 +27,6 @@ export const deleteV1IntegrationsById = /*@__PURE__*/ /*#__PURE__*/ API.make(
|
|
|
26
27
|
() => ({
|
|
27
28
|
inputSchema: DeleteV1IntegrationsByIdInput,
|
|
28
29
|
outputSchema: DeleteV1IntegrationsByIdOutput,
|
|
30
|
+
errors: [NotFound, UnprocessableEntity] as const,
|
|
29
31
|
}),
|
|
30
32
|
);
|
|
@@ -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 { BadRequest, NotFound, UnprocessableEntity } from "../errors";
|
|
4
5
|
|
|
5
6
|
// Input Schema
|
|
6
7
|
export const DeleteV1ProjectsByIdInput =
|
|
@@ -24,5 +25,6 @@ export const deleteV1ProjectsById = /*@__PURE__*/ /*#__PURE__*/ API.make(
|
|
|
24
25
|
() => ({
|
|
25
26
|
inputSchema: DeleteV1ProjectsByIdInput,
|
|
26
27
|
outputSchema: DeleteV1ProjectsByIdOutput,
|
|
28
|
+
errors: [BadRequest, NotFound, UnprocessableEntity] as const,
|
|
27
29
|
}),
|
|
28
30
|
);
|
|
@@ -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
|
|
|
5
6
|
// Input Schema
|
|
6
7
|
export const DeleteV1WorkspacesByWorkspaceIdIntegrationsByClientIdInput =
|
|
@@ -32,4 +33,5 @@ export const deleteV1WorkspacesByWorkspaceIdIntegrationsByClientId =
|
|
|
32
33
|
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
33
34
|
inputSchema: DeleteV1WorkspacesByWorkspaceIdIntegrationsByClientIdInput,
|
|
34
35
|
outputSchema: DeleteV1WorkspacesByWorkspaceIdIntegrationsByClientIdOutput,
|
|
36
|
+
errors: [NotFound, UnprocessableEntity] as const,
|
|
35
37
|
}));
|
|
@@ -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
|
|
|
5
6
|
// Input Schema
|
|
6
7
|
export const GetV1ConnectionsByIdInput =
|
|
@@ -67,5 +68,6 @@ export const getV1ConnectionsById = /*@__PURE__*/ /*#__PURE__*/ API.make(
|
|
|
67
68
|
() => ({
|
|
68
69
|
inputSchema: GetV1ConnectionsByIdInput,
|
|
69
70
|
outputSchema: GetV1ConnectionsByIdOutput,
|
|
71
|
+
errors: [NotFound, UnprocessableEntity] as const,
|
|
70
72
|
}),
|
|
71
73
|
);
|
|
@@ -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 } from "../errors";
|
|
4
5
|
|
|
5
6
|
// Input Schema
|
|
6
7
|
export const GetV1DatabasesInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
@@ -101,4 +102,5 @@ export type GetV1DatabasesOutput = typeof GetV1DatabasesOutput.Type;
|
|
|
101
102
|
export const getV1Databases = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
102
103
|
inputSchema: GetV1DatabasesInput,
|
|
103
104
|
outputSchema: GetV1DatabasesOutput,
|
|
105
|
+
errors: [Forbidden] as const,
|
|
104
106
|
}));
|
|
@@ -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
|
|
|
5
6
|
// Input Schema
|
|
6
7
|
export const GetV1DatabasesByDatabaseIdInput =
|
|
@@ -98,5 +99,6 @@ export const getV1DatabasesByDatabaseId = /*@__PURE__*/ /*#__PURE__*/ API.make(
|
|
|
98
99
|
() => ({
|
|
99
100
|
inputSchema: GetV1DatabasesByDatabaseIdInput,
|
|
100
101
|
outputSchema: GetV1DatabasesByDatabaseIdOutput,
|
|
102
|
+
errors: [Forbidden, NotFound, UnprocessableEntity] as const,
|
|
101
103
|
}),
|
|
102
104
|
);
|