@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 { Forbidden } from "../errors";
|
|
2
3
|
export declare const GetV1DatabasesInput: Schema.Struct<{
|
|
3
4
|
readonly cursor: Schema.optional<Schema.String>;
|
|
4
5
|
readonly limit: Schema.optional<Schema.Number>;
|
|
@@ -69,5 +70,66 @@ export type GetV1DatabasesOutput = typeof GetV1DatabasesOutput.Type;
|
|
|
69
70
|
*
|
|
70
71
|
* Returns all databases the token has access to. Optionally filter by project ID.
|
|
71
72
|
*/
|
|
72
|
-
export declare const getV1Databases:
|
|
73
|
+
export declare const getV1Databases: import("@distilled.cloud/core/client").OperationMethod<{
|
|
74
|
+
readonly cursor?: string | undefined;
|
|
75
|
+
readonly limit?: number | undefined;
|
|
76
|
+
readonly projectId?: string | undefined;
|
|
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
|
+
}, Forbidden, any>;
|
|
73
135
|
//# sourceMappingURL=getV1Databases.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getV1Databases.d.ts","sourceRoot":"","sources":["../../src/operations/getV1Databases.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"getV1Databases.d.ts","sourceRoot":"","sources":["../../src/operations/getV1Databases.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAGtC,eAAO,MAAM,mBAAmB;;;;EAIyB,CAAC;AAC1D,MAAM,MAAM,mBAAmB,GAAG,OAAO,mBAAmB,CAAC,IAAI,CAAC;AAGlE,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8E/B,CAAC;AACH,MAAM,MAAM,oBAAoB,GAAG,OAAO,oBAAoB,CAAC,IAAI,CAAC;AAGpE;;;;GAIG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAIxB,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 } from "../errors";
|
|
4
5
|
// Input Schema
|
|
5
6
|
export const GetV1DatabasesInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
6
7
|
cursor: Schema.optional(Schema.String),
|
|
@@ -80,5 +81,6 @@ export const GetV1DatabasesOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
|
80
81
|
export const getV1Databases = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
81
82
|
inputSchema: GetV1DatabasesInput,
|
|
82
83
|
outputSchema: GetV1DatabasesOutput,
|
|
84
|
+
errors: [Forbidden],
|
|
83
85
|
}));
|
|
84
86
|
//# sourceMappingURL=getV1Databases.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getV1Databases.js","sourceRoot":"","sources":["../../src/operations/getV1Databases.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":"getV1Databases.js","sourceRoot":"","sources":["../../src/operations/getV1Databases.ts"],"names":[],"mappings":"AAAA,O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;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;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;IAClC,MAAM,EAAE,CAAC,SAAS,CAAU;CAC7B,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 GetV1DatabasesByDatabaseIdInput: Schema.Struct<{
|
|
3
4
|
readonly databaseId: Schema.String;
|
|
4
5
|
}>;
|
|
@@ -63,5 +64,60 @@ export type GetV1DatabasesByDatabaseIdOutput = typeof GetV1DatabasesByDatabaseId
|
|
|
63
64
|
*
|
|
64
65
|
* Returns the database with the given ID.
|
|
65
66
|
*/
|
|
66
|
-
export declare const getV1DatabasesByDatabaseId:
|
|
67
|
+
export declare const getV1DatabasesByDatabaseId: import("@distilled.cloud/core/client").OperationMethod<{
|
|
68
|
+
readonly databaseId: string;
|
|
69
|
+
}, {
|
|
70
|
+
readonly data: {
|
|
71
|
+
readonly connections: readonly {
|
|
72
|
+
readonly createdAt: string;
|
|
73
|
+
readonly database: {
|
|
74
|
+
readonly id: string;
|
|
75
|
+
readonly name: string;
|
|
76
|
+
readonly url: string;
|
|
77
|
+
};
|
|
78
|
+
readonly directConnection?: {
|
|
79
|
+
readonly host: string;
|
|
80
|
+
readonly pass: string;
|
|
81
|
+
readonly user: string;
|
|
82
|
+
} | null | undefined;
|
|
83
|
+
readonly endpoints: {
|
|
84
|
+
readonly accelerate?: {
|
|
85
|
+
readonly host: string;
|
|
86
|
+
readonly port: number;
|
|
87
|
+
} | undefined;
|
|
88
|
+
readonly direct?: {
|
|
89
|
+
readonly host: string;
|
|
90
|
+
readonly port: number;
|
|
91
|
+
} | undefined;
|
|
92
|
+
readonly pooled?: {
|
|
93
|
+
readonly host: string;
|
|
94
|
+
readonly port: number;
|
|
95
|
+
} | undefined;
|
|
96
|
+
};
|
|
97
|
+
readonly id: string;
|
|
98
|
+
readonly kind: "accelerate" | "postgres";
|
|
99
|
+
readonly name: string;
|
|
100
|
+
readonly type: string;
|
|
101
|
+
readonly url: string;
|
|
102
|
+
}[];
|
|
103
|
+
readonly createdAt: string;
|
|
104
|
+
readonly defaultConnectionId: string | null;
|
|
105
|
+
readonly id: string;
|
|
106
|
+
readonly isDefault: boolean;
|
|
107
|
+
readonly name: string;
|
|
108
|
+
readonly project: {
|
|
109
|
+
readonly id: string;
|
|
110
|
+
readonly name: string;
|
|
111
|
+
readonly url: string;
|
|
112
|
+
};
|
|
113
|
+
readonly region: {
|
|
114
|
+
readonly id: string;
|
|
115
|
+
readonly name: string;
|
|
116
|
+
} | null;
|
|
117
|
+
readonly source: unknown;
|
|
118
|
+
readonly status: "failure" | "provisioning" | "ready" | "recovering";
|
|
119
|
+
readonly type: string;
|
|
120
|
+
readonly url: string;
|
|
121
|
+
};
|
|
122
|
+
}, Forbidden | NotFound | UnprocessableEntity, any>;
|
|
67
123
|
//# sourceMappingURL=getV1DatabasesByDatabaseId.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getV1DatabasesByDatabaseId.d.ts","sourceRoot":"","sources":["../../src/operations/getV1DatabasesByDatabaseId.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"getV1DatabasesByDatabaseId.d.ts","sourceRoot":"","sources":["../../src/operations/getV1DatabasesByDatabaseId.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,+BAA+B;;EAG4B,CAAC;AACzE,MAAM,MAAM,+BAA+B,GACzC,OAAO,+BAA+B,CAAC,IAAI,CAAC;AAG9C,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyEzC,CAAC;AACL,MAAM,MAAM,gCAAgC,GAC1C,OAAO,gCAAgC,CAAC,IAAI,CAAC;AAG/C;;;;GAIG;AACH,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mDAMtC,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 GetV1DatabasesByDatabaseIdInput =
|
|
6
7
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
@@ -76,5 +77,6 @@ export const GetV1DatabasesByDatabaseIdOutput =
|
|
|
76
77
|
export const getV1DatabasesByDatabaseId = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
77
78
|
inputSchema: GetV1DatabasesByDatabaseIdInput,
|
|
78
79
|
outputSchema: GetV1DatabasesByDatabaseIdOutput,
|
|
80
|
+
errors: [Forbidden, NotFound, UnprocessableEntity],
|
|
79
81
|
}));
|
|
80
82
|
//# sourceMappingURL=getV1DatabasesByDatabaseId.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getV1DatabasesByDatabaseId.js","sourceRoot":"","sources":["../../src/operations/getV1DatabasesByDatabaseId.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":"getV1DatabasesByDatabaseId.js","sourceRoot":"","sources":["../../src/operations/getV1DatabasesByDatabaseId.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,SAAS,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAErE,eAAe;AACf,MAAM,CAAC,MAAM,+BAA+B;AAC1C,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;CAC9C,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,4BAA4B,EAAE,CAAC,CAAC,CAAC;AAIzE,gBAAgB;AAChB,MAAM,CAAC,MAAM,gCAAgC;AAC3C,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,IAAI,EAAE,MAAM,CAAC,MAAM,C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CACH;aACF,CAAC;YACF,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;YACD,QAAQ,EAAE,MAAM,CAAC,MAAM,CAAC;gBACtB,EAAE,EAAE,MAAM,CAAC,MAAM;gBACjB,GAAG,EAAE,MAAM,CAAC,MAAM;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,CAAC,CAAC;AAIL,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,SAAS,EAAE,QAAQ,EAAE,mBAAmB,CAAU;CAC5D,CAAC,CACH,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as Schema from "effect/Schema";
|
|
2
|
+
import { NotFound, UnprocessableEntity } from "../errors";
|
|
2
3
|
export declare const GetV1DatabasesByDatabaseIdBackupsInput: Schema.Struct<{
|
|
3
4
|
readonly databaseId: Schema.String;
|
|
4
5
|
readonly limit: Schema.optional<Schema.Number>;
|
|
@@ -27,5 +28,24 @@ export type GetV1DatabasesByDatabaseIdBackupsOutput = typeof GetV1DatabasesByDat
|
|
|
27
28
|
*
|
|
28
29
|
* Returns backups for the specified database.
|
|
29
30
|
*/
|
|
30
|
-
export declare const getV1DatabasesByDatabaseIdBackups:
|
|
31
|
+
export declare const getV1DatabasesByDatabaseIdBackups: import("@distilled.cloud/core/client").OperationMethod<{
|
|
32
|
+
readonly databaseId: string;
|
|
33
|
+
readonly limit?: number | undefined;
|
|
34
|
+
}, {
|
|
35
|
+
readonly data: readonly {
|
|
36
|
+
readonly backupType: "full" | "incremental";
|
|
37
|
+
readonly createdAt: string;
|
|
38
|
+
readonly id: string;
|
|
39
|
+
readonly size?: number | undefined;
|
|
40
|
+
readonly status: "completed" | "failed" | "running" | "unknown";
|
|
41
|
+
readonly type?: string | undefined;
|
|
42
|
+
}[];
|
|
43
|
+
readonly meta: {
|
|
44
|
+
readonly backupRetentionDays: number;
|
|
45
|
+
};
|
|
46
|
+
readonly pagination: {
|
|
47
|
+
readonly hasMore: boolean;
|
|
48
|
+
readonly limit: unknown;
|
|
49
|
+
};
|
|
50
|
+
}, NotFound | UnprocessableEntity, any>;
|
|
31
51
|
//# sourceMappingURL=getV1DatabasesByDatabaseIdBackups.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getV1DatabasesByDatabaseIdBackups.d.ts","sourceRoot":"","sources":["../../src/operations/getV1DatabasesByDatabaseIdBackups.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"getV1DatabasesByDatabaseIdBackups.d.ts","sourceRoot":"","sources":["../../src/operations/getV1DatabasesByDatabaseIdBackups.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAG1D,eAAO,MAAM,sCAAsC;;;EAMhD,CAAC;AACJ,MAAM,MAAM,sCAAsC,GAChD,OAAO,sCAAsC,CAAC,IAAI,CAAC;AAGrD,eAAO,MAAM,uCAAuC;;;;;;;;;;;;;;;;EAmBhD,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 GetV1DatabasesByDatabaseIdBackupsInput =
|
|
6
7
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
@@ -36,5 +37,6 @@ export const getV1DatabasesByDatabaseIdBackups =
|
|
|
36
37
|
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
37
38
|
inputSchema: GetV1DatabasesByDatabaseIdBackupsInput,
|
|
38
39
|
outputSchema: GetV1DatabasesByDatabaseIdBackupsOutput,
|
|
40
|
+
errors: [NotFound, UnprocessableEntity],
|
|
39
41
|
}));
|
|
40
42
|
//# sourceMappingURL=getV1DatabasesByDatabaseIdBackups.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getV1DatabasesByDatabaseIdBackups.js","sourceRoot":"","sources":["../../src/operations/getV1DatabasesByDatabaseIdBackups.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":"getV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CAAC,CACH;IACD,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC;QAClB,mBAAmB,EAAE,MAAM,CAAC,MAAM;KACnC,CAAC;IACF,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC;QACxB,OAAO,EAAE,MAAM,CAAC,OAAO;QACvB,KAAK,EAAE,MAAM,CAAC,OAAO;KACtB,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"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as Schema from "effect/Schema";
|
|
2
|
+
import { UnprocessableEntity } from "../errors";
|
|
2
3
|
export declare const GetV1DatabasesByDatabaseIdConnectionsInput: Schema.Struct<{
|
|
3
4
|
readonly databaseId: Schema.String;
|
|
4
5
|
readonly cursor: Schema.optional<Schema.String>;
|
|
@@ -49,5 +50,46 @@ export type GetV1DatabasesByDatabaseIdConnectionsOutput = typeof GetV1DatabasesB
|
|
|
49
50
|
*
|
|
50
51
|
* Returns all connections for the given database.
|
|
51
52
|
*/
|
|
52
|
-
export declare const getV1DatabasesByDatabaseIdConnections:
|
|
53
|
+
export declare const getV1DatabasesByDatabaseIdConnections: import("@distilled.cloud/core/client").OperationMethod<{
|
|
54
|
+
readonly cursor?: string | undefined;
|
|
55
|
+
readonly databaseId: string;
|
|
56
|
+
readonly limit?: number | undefined;
|
|
57
|
+
}, {
|
|
58
|
+
readonly data: readonly {
|
|
59
|
+
readonly createdAt: string;
|
|
60
|
+
readonly database: {
|
|
61
|
+
readonly id: string;
|
|
62
|
+
readonly name: string;
|
|
63
|
+
readonly url: string;
|
|
64
|
+
};
|
|
65
|
+
readonly directConnection?: {
|
|
66
|
+
readonly host: string;
|
|
67
|
+
readonly pass: string;
|
|
68
|
+
readonly user: string;
|
|
69
|
+
} | null | undefined;
|
|
70
|
+
readonly endpoints: {
|
|
71
|
+
readonly accelerate?: {
|
|
72
|
+
readonly host: string;
|
|
73
|
+
readonly port: number;
|
|
74
|
+
} | undefined;
|
|
75
|
+
readonly direct?: {
|
|
76
|
+
readonly host: string;
|
|
77
|
+
readonly port: number;
|
|
78
|
+
} | undefined;
|
|
79
|
+
readonly pooled?: {
|
|
80
|
+
readonly host: string;
|
|
81
|
+
readonly port: number;
|
|
82
|
+
} | undefined;
|
|
83
|
+
};
|
|
84
|
+
readonly id: string;
|
|
85
|
+
readonly kind: "accelerate" | "postgres";
|
|
86
|
+
readonly name: string;
|
|
87
|
+
readonly type: string;
|
|
88
|
+
readonly url: string;
|
|
89
|
+
}[];
|
|
90
|
+
readonly pagination: {
|
|
91
|
+
readonly hasMore: boolean;
|
|
92
|
+
readonly nextCursor: string | null;
|
|
93
|
+
};
|
|
94
|
+
}, UnprocessableEntity, any>;
|
|
53
95
|
//# sourceMappingURL=getV1DatabasesByDatabaseIdConnections.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getV1DatabasesByDatabaseIdConnections.d.ts","sourceRoot":"","sources":["../../src/operations/getV1DatabasesByDatabaseIdConnections.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"getV1DatabasesByDatabaseIdConnections.d.ts","sourceRoot":"","sources":["../../src/operations/getV1DatabasesByDatabaseIdConnections.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAGhD,eAAO,MAAM,0CAA0C;;;;EAOpD,CAAC;AACJ,MAAM,MAAM,0CAA0C,GACpD,OAAO,0CAA0C,CAAC,IAAI,CAAC;AAGzD,eAAO,MAAM,2CAA2C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAkDpD,CAAC;AACL,MAAM,MAAM,2CAA2C,GACrD,OAAO,2CAA2C,CAAC,IAAI,CAAC;AAG1D;;;;GAIG;AACH,eAAO,MAAM,qCAAqC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4BAK7C,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
|
// Input Schema
|
|
5
6
|
export const GetV1DatabasesByDatabaseIdConnectionsInput =
|
|
6
7
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
@@ -58,5 +59,6 @@ export const getV1DatabasesByDatabaseIdConnections =
|
|
|
58
59
|
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
59
60
|
inputSchema: GetV1DatabasesByDatabaseIdConnectionsInput,
|
|
60
61
|
outputSchema: GetV1DatabasesByDatabaseIdConnectionsOutput,
|
|
62
|
+
errors: [UnprocessableEntity],
|
|
61
63
|
}));
|
|
62
64
|
//# sourceMappingURL=getV1DatabasesByDatabaseIdConnections.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getV1DatabasesByDatabaseIdConnections.js","sourceRoot":"","sources":["../../src/operations/getV1DatabasesByDatabaseIdConnections.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":"getV1DatabasesByDatabaseIdConnections.js","sourceRoot":"","sources":["../../src/operations/getV1DatabasesByDatabaseIdConnections.ts"],"names":[],"mappings":"AAAA,O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schema";
|
|
2
|
+
import { BadRequest, NotFound, UnprocessableEntity } from "../errors";
|
|
2
3
|
export declare const GetV1DatabasesByDatabaseIdUsageInput: Schema.Struct<{
|
|
3
4
|
readonly databaseId: Schema.String;
|
|
4
5
|
readonly startDate: Schema.optional<Schema.String>;
|
|
@@ -28,5 +29,25 @@ export type GetV1DatabasesByDatabaseIdUsageOutput = typeof GetV1DatabasesByDatab
|
|
|
28
29
|
*
|
|
29
30
|
* Returns usage metrics for the specified database.
|
|
30
31
|
*/
|
|
31
|
-
export declare const getV1DatabasesByDatabaseIdUsage:
|
|
32
|
+
export declare const getV1DatabasesByDatabaseIdUsage: import("@distilled.cloud/core/client").OperationMethod<{
|
|
33
|
+
readonly databaseId: string;
|
|
34
|
+
readonly endDate?: string | undefined;
|
|
35
|
+
readonly startDate?: string | undefined;
|
|
36
|
+
}, {
|
|
37
|
+
readonly generatedAt: string;
|
|
38
|
+
readonly metrics: {
|
|
39
|
+
readonly operations: {
|
|
40
|
+
readonly unit: string;
|
|
41
|
+
readonly used: number;
|
|
42
|
+
};
|
|
43
|
+
readonly storage: {
|
|
44
|
+
readonly unit: string;
|
|
45
|
+
readonly used: number;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
readonly period: {
|
|
49
|
+
readonly end: string;
|
|
50
|
+
readonly start: string;
|
|
51
|
+
};
|
|
52
|
+
}, BadRequest | NotFound | UnprocessableEntity, any>;
|
|
32
53
|
//# sourceMappingURL=getV1DatabasesByDatabaseIdUsage.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getV1DatabasesByDatabaseIdUsage.d.ts","sourceRoot":"","sources":["../../src/operations/getV1DatabasesByDatabaseIdUsage.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"getV1DatabasesByDatabaseIdUsage.d.ts","sourceRoot":"","sources":["../../src/operations/getV1DatabasesByDatabaseIdUsage.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAGtE,eAAO,MAAM,oCAAoC;;;;EAK6B,CAAC;AAC/E,MAAM,MAAM,oCAAoC,GAC9C,OAAO,oCAAoC,CAAC,IAAI,CAAC;AAGnD,eAAO,MAAM,qCAAqC;;;;;;;;;;;;;;;;EAiB9C,CAAC;AACL,MAAM,MAAM,qCAAqC,GAC/C,OAAO,qCAAqC,CAAC,IAAI,CAAC;AAGpD;;;;GAIG;AACH,eAAO,MAAM,+BAA+B;;;;;;;;;;;;;;;;;;;;oDAKvC,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, NotFound, UnprocessableEntity } from "../errors";
|
|
4
5
|
// Input Schema
|
|
5
6
|
export const GetV1DatabasesByDatabaseIdUsageInput =
|
|
6
7
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
@@ -37,5 +38,6 @@ export const getV1DatabasesByDatabaseIdUsage =
|
|
|
37
38
|
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
38
39
|
inputSchema: GetV1DatabasesByDatabaseIdUsageInput,
|
|
39
40
|
outputSchema: GetV1DatabasesByDatabaseIdUsageOutput,
|
|
41
|
+
errors: [BadRequest, NotFound, UnprocessableEntity],
|
|
40
42
|
}));
|
|
41
43
|
//# sourceMappingURL=getV1DatabasesByDatabaseIdUsage.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getV1DatabasesByDatabaseIdUsage.js","sourceRoot":"","sources":["../../src/operations/getV1DatabasesByDatabaseIdUsage.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GA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pB,CAAC;QACF,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC;YACrB,IAAI,EAAE,MAAM,CAAC,MAAM;YACnB,IAAI,EAAE,MAAM,CAAC,MAAM;SACpB,CAAC;KACH,CAAC;IACF,WAAW,EAAE,MAAM,CAAC,MAAM;CAC3B,CAAC,CAAC;AAIL,gBAAgB;AAChB;;;;GAIG;AACH,MAAM,CAAC,MAAM,+BAA+B;AAC1C,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IAC1C,WAAW,EAAE,oCAAoC;IACjD,YAAY,EAAE,qCAAqC;IACnD,MAAM,EAAE,CAAC,UAAU,EAAE,QAAQ,EAAE,mBAAmB,CAAU;CAC7D,CAAC,CAAC,CAAC"}
|
|
@@ -33,5 +33,30 @@ export type GetV1IntegrationsOutput = typeof GetV1IntegrationsOutput.Type;
|
|
|
33
33
|
*
|
|
34
34
|
* Returns integrations filtered by workspace ID.
|
|
35
35
|
*/
|
|
36
|
-
export declare const getV1Integrations:
|
|
36
|
+
export declare const getV1Integrations: import("@distilled.cloud/core/client").OperationMethod<{
|
|
37
|
+
readonly cursor?: string | undefined;
|
|
38
|
+
readonly limit?: number | undefined;
|
|
39
|
+
readonly workspaceId: string;
|
|
40
|
+
}, {
|
|
41
|
+
readonly data: readonly {
|
|
42
|
+
readonly client: {
|
|
43
|
+
readonly createdAt: string;
|
|
44
|
+
readonly id: string;
|
|
45
|
+
readonly name: string;
|
|
46
|
+
};
|
|
47
|
+
readonly createdAt: string;
|
|
48
|
+
readonly createdByUser: {
|
|
49
|
+
readonly displayName: string | null;
|
|
50
|
+
readonly email: string;
|
|
51
|
+
readonly id: string;
|
|
52
|
+
};
|
|
53
|
+
readonly id: string;
|
|
54
|
+
readonly scopes: readonly string[];
|
|
55
|
+
readonly url: string;
|
|
56
|
+
}[];
|
|
57
|
+
readonly pagination: {
|
|
58
|
+
readonly hasMore: boolean;
|
|
59
|
+
readonly nextCursor: string | null;
|
|
60
|
+
};
|
|
61
|
+
}, never, any>;
|
|
37
62
|
//# sourceMappingURL=getV1Integrations.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getV1Integrations.d.ts","sourceRoot":"","sources":["../../src/operations/getV1Integrations.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,sBAAsB;;;;EAMwB,CAAC;AAC5D,MAAM,MAAM,sBAAsB,GAAG,OAAO,sBAAsB,CAAC,IAAI,CAAC;AAGxE,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;EAwBhC,CAAC;AACL,MAAM,MAAM,uBAAuB,GAAG,OAAO,uBAAuB,CAAC,IAAI,CAAC;AAG1E;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,
|
|
1
|
+
{"version":3,"file":"getV1Integrations.d.ts","sourceRoot":"","sources":["../../src/operations/getV1Integrations.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,sBAAsB;;;;EAMwB,CAAC;AAC5D,MAAM,MAAM,sBAAsB,GAAG,OAAO,sBAAsB,CAAC,IAAI,CAAC;AAGxE,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;EAwBhC,CAAC;AACL,MAAM,MAAM,uBAAuB,GAAG,OAAO,uBAAuB,CAAC,IAAI,CAAC;AAG1E;;;;GAIG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;cAG3B,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as Schema from "effect/Schema";
|
|
2
|
+
import { NotFound, UnprocessableEntity } from "../errors";
|
|
2
3
|
export declare const GetV1IntegrationsByIdInput: Schema.Struct<{
|
|
3
4
|
readonly id: Schema.String;
|
|
4
5
|
}>;
|
|
@@ -27,5 +28,24 @@ export type GetV1IntegrationsByIdOutput = typeof GetV1IntegrationsByIdOutput.Typ
|
|
|
27
28
|
*
|
|
28
29
|
* Returns a single integration by its ID.
|
|
29
30
|
*/
|
|
30
|
-
export declare const getV1IntegrationsById:
|
|
31
|
+
export declare const getV1IntegrationsById: import("@distilled.cloud/core/client").OperationMethod<{
|
|
32
|
+
readonly id: string;
|
|
33
|
+
}, {
|
|
34
|
+
readonly data: {
|
|
35
|
+
readonly client: {
|
|
36
|
+
readonly createdAt: string;
|
|
37
|
+
readonly id: string;
|
|
38
|
+
readonly name: string;
|
|
39
|
+
};
|
|
40
|
+
readonly createdAt: string;
|
|
41
|
+
readonly createdByUser: {
|
|
42
|
+
readonly displayName: string | null;
|
|
43
|
+
readonly email: string;
|
|
44
|
+
readonly id: string;
|
|
45
|
+
};
|
|
46
|
+
readonly id: string;
|
|
47
|
+
readonly scopes: readonly string[];
|
|
48
|
+
readonly url: string;
|
|
49
|
+
};
|
|
50
|
+
}, NotFound | UnprocessableEntity, any>;
|
|
31
51
|
//# sourceMappingURL=getV1IntegrationsById.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getV1IntegrationsById.d.ts","sourceRoot":"","sources":["../../src/operations/getV1IntegrationsById.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"getV1IntegrationsById.d.ts","sourceRoot":"","sources":["../../src/operations/getV1IntegrationsById.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAG1D,eAAO,MAAM,0BAA0B;;EAG4B,CAAC;AACpE,MAAM,MAAM,0BAA0B,GAAG,OAAO,0BAA0B,CAAC,IAAI,CAAC;AAGhF,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;EAkBpC,CAAC;AACL,MAAM,MAAM,2BAA2B,GACrC,OAAO,2BAA2B,CAAC,IAAI,CAAC;AAG1C;;;;GAIG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;uCAMjC,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 GetV1IntegrationsByIdInput =
|
|
6
7
|
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
@@ -35,5 +36,6 @@ export const GetV1IntegrationsByIdOutput =
|
|
|
35
36
|
export const getV1IntegrationsById = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
36
37
|
inputSchema: GetV1IntegrationsByIdInput,
|
|
37
38
|
outputSchema: GetV1IntegrationsByIdOutput,
|
|
39
|
+
errors: [NotFound, UnprocessableEntity],
|
|
38
40
|
}));
|
|
39
41
|
//# sourceMappingURL=getV1IntegrationsById.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getV1IntegrationsById.js","sourceRoot":"","sources":["../../src/operations/getV1IntegrationsById.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":"getV1IntegrationsById.js","sourceRoot":"","sources":["../../src/operations/getV1IntegrationsById.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,0BAA0B;AACrC,aAAa,C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 -29,5 +29,26 @@ export type GetV1ProjectsOutput = typeof GetV1ProjectsOutput.Type;
|
|
|
29
29
|
*
|
|
30
30
|
* Returns the list of projects the token has access to.
|
|
31
31
|
*/
|
|
32
|
-
export declare const getV1Projects:
|
|
32
|
+
export declare const getV1Projects: import("@distilled.cloud/core/client").OperationMethod<{
|
|
33
|
+
readonly cursor?: string | undefined;
|
|
34
|
+
readonly limit?: number | undefined;
|
|
35
|
+
}, {
|
|
36
|
+
readonly data: readonly {
|
|
37
|
+
readonly createdAt: string;
|
|
38
|
+
readonly defaultRegion: string | null;
|
|
39
|
+
readonly id: string;
|
|
40
|
+
readonly name: string;
|
|
41
|
+
readonly type: string;
|
|
42
|
+
readonly url: string;
|
|
43
|
+
readonly workspace: {
|
|
44
|
+
readonly id: string;
|
|
45
|
+
readonly name: string;
|
|
46
|
+
readonly url: string;
|
|
47
|
+
};
|
|
48
|
+
}[];
|
|
49
|
+
readonly pagination: {
|
|
50
|
+
readonly hasMore: boolean;
|
|
51
|
+
readonly nextCursor: string | null;
|
|
52
|
+
};
|
|
53
|
+
}, never, any>;
|
|
33
54
|
//# sourceMappingURL=getV1Projects.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getV1Projects.d.ts","sourceRoot":"","sources":["../../src/operations/getV1Projects.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,kBAAkB;;;EAGyB,CAAC;AACzD,MAAM,MAAM,kBAAkB,GAAG,OAAO,kBAAkB,CAAC,IAAI,CAAC;AAGhE,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;EAoB9B,CAAC;AACH,MAAM,MAAM,mBAAmB,GAAG,OAAO,mBAAmB,CAAC,IAAI,CAAC;AAGlE;;;;GAIG;AACH,eAAO,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"getV1Projects.d.ts","sourceRoot":"","sources":["../../src/operations/getV1Projects.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,kBAAkB;;;EAGyB,CAAC;AACzD,MAAM,MAAM,kBAAkB,GAAG,OAAO,kBAAkB,CAAC,IAAI,CAAC;AAGhE,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;EAoB9B,CAAC;AACH,MAAM,MAAM,mBAAmB,GAAG,OAAO,mBAAmB,CAAC,IAAI,CAAC;AAGlE;;;;GAIG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;cAGvB,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as Schema from "effect/Schema";
|
|
2
|
+
import { NotFound, UnprocessableEntity } from "../errors";
|
|
2
3
|
export declare const GetV1ProjectsByIdInput: Schema.Struct<{
|
|
3
4
|
readonly id: Schema.String;
|
|
4
5
|
}>;
|
|
@@ -24,5 +25,21 @@ export type GetV1ProjectsByIdOutput = typeof GetV1ProjectsByIdOutput.Type;
|
|
|
24
25
|
*
|
|
25
26
|
* Returns the project with the given ID.
|
|
26
27
|
*/
|
|
27
|
-
export declare const getV1ProjectsById:
|
|
28
|
+
export declare const getV1ProjectsById: import("@distilled.cloud/core/client").OperationMethod<{
|
|
29
|
+
readonly id: string;
|
|
30
|
+
}, {
|
|
31
|
+
readonly data: {
|
|
32
|
+
readonly createdAt: string;
|
|
33
|
+
readonly defaultRegion: string | null;
|
|
34
|
+
readonly id: string;
|
|
35
|
+
readonly name: string;
|
|
36
|
+
readonly type: string;
|
|
37
|
+
readonly url: string;
|
|
38
|
+
readonly workspace: {
|
|
39
|
+
readonly id: string;
|
|
40
|
+
readonly name: string;
|
|
41
|
+
readonly url: string;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
}, NotFound | UnprocessableEntity, any>;
|
|
28
45
|
//# sourceMappingURL=getV1ProjectsById.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getV1ProjectsById.d.ts","sourceRoot":"","sources":["../../src/operations/getV1ProjectsById.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"getV1ProjectsById.d.ts","sourceRoot":"","sources":["../../src/operations/getV1ProjectsById.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAG1D,eAAO,MAAM,sBAAsB;;EAIyB,CAAC;AAC7D,MAAM,MAAM,sBAAsB,GAAG,OAAO,sBAAsB,CAAC,IAAI,CAAC;AAGxE,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;EAehC,CAAC;AACL,MAAM,MAAM,uBAAuB,GAAG,OAAO,uBAAuB,CAAC,IAAI,CAAC;AAG1E;;;;GAIG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;uCAI3B,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 GetV1ProjectsByIdInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
6
7
|
id: Schema.String.pipe(T.PathParam()),
|
|
@@ -31,5 +32,6 @@ export const GetV1ProjectsByIdOutput =
|
|
|
31
32
|
export const getV1ProjectsById = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
32
33
|
inputSchema: GetV1ProjectsByIdInput,
|
|
33
34
|
outputSchema: GetV1ProjectsByIdOutput,
|
|
35
|
+
errors: [NotFound, UnprocessableEntity],
|
|
34
36
|
}));
|
|
35
37
|
//# sourceMappingURL=getV1ProjectsById.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getV1ProjectsById.js","sourceRoot":"","sources":["../../src/operations/getV1ProjectsById.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":"getV1ProjectsById.js","sourceRoot":"","sources":["../../src/operations/getV1ProjectsById.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,sBAAsB,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAC7E;IACE,EAAE,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;CACtC,CACF,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,mBAAmB,EAAE,CAAC,CAAC,CAAC;AAG7D,gBAAgB;AAChB,MAAM,CAAC,MAAM,uBAAuB;AAClC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC;QAClB,EAAE,EAAE,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;QACxB,aAAa,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC;QAC3C,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC;YACvB,EAA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