@distilled.cloud/prisma-postgres 0.0.0 → 0.2.5-alpha2
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/README.md +47 -6
- package/lib/category.d.ts +5 -0
- package/lib/category.d.ts.map +1 -0
- package/lib/category.js +5 -0
- package/lib/category.js.map +1 -0
- package/lib/client.d.ts +17 -0
- package/lib/client.d.ts.map +1 -0
- package/lib/client.js +55 -0
- package/lib/client.js.map +1 -0
- package/lib/credentials.d.ts +14 -0
- package/lib/credentials.d.ts.map +1 -0
- package/lib/credentials.js +17 -0
- package/lib/credentials.js.map +1 -0
- package/lib/errors.d.ts +32 -0
- package/lib/errors.d.ts.map +1 -0
- package/lib/errors.js +24 -0
- package/lib/errors.js.map +1 -0
- package/lib/index.d.ts +16 -0
- package/lib/index.d.ts.map +1 -0
- package/lib/index.js +16 -0
- package/lib/index.js.map +1 -0
- package/lib/operations/deleteV1ConnectionsById.d.ts +14 -0
- package/lib/operations/deleteV1ConnectionsById.d.ts.map +1 -0
- package/lib/operations/deleteV1ConnectionsById.js +22 -0
- package/lib/operations/deleteV1ConnectionsById.js.map +1 -0
- package/lib/operations/deleteV1DatabasesByDatabaseId.d.ts +14 -0
- package/lib/operations/deleteV1DatabasesByDatabaseId.d.ts.map +1 -0
- package/lib/operations/deleteV1DatabasesByDatabaseId.js +23 -0
- package/lib/operations/deleteV1DatabasesByDatabaseId.js.map +1 -0
- package/lib/operations/deleteV1IntegrationsById.d.ts +14 -0
- package/lib/operations/deleteV1IntegrationsById.d.ts.map +1 -0
- package/lib/operations/deleteV1IntegrationsById.js +22 -0
- package/lib/operations/deleteV1IntegrationsById.js.map +1 -0
- package/lib/operations/deleteV1ProjectsById.d.ts +14 -0
- package/lib/operations/deleteV1ProjectsById.d.ts.map +1 -0
- package/lib/operations/deleteV1ProjectsById.js +22 -0
- package/lib/operations/deleteV1ProjectsById.js.map +1 -0
- package/lib/operations/deleteV1WorkspacesByWorkspaceIdIntegrationsByClientId.d.ts +15 -0
- package/lib/operations/deleteV1WorkspacesByWorkspaceIdIntegrationsByClientId.d.ts.map +1 -0
- package/lib/operations/deleteV1WorkspacesByWorkspaceIdIntegrationsByClientId.js +27 -0
- package/lib/operations/deleteV1WorkspacesByWorkspaceIdIntegrationsByClientId.js.map +1 -0
- package/lib/operations/getV1Connections.d.ts +53 -0
- package/lib/operations/getV1Connections.d.ts.map +1 -0
- package/lib/operations/getV1Connections.js +59 -0
- package/lib/operations/getV1Connections.js.map +1 -0
- package/lib/operations/getV1ConnectionsById.d.ts +47 -0
- package/lib/operations/getV1ConnectionsById.d.ts.map +1 -0
- package/lib/operations/getV1ConnectionsById.js +55 -0
- package/lib/operations/getV1ConnectionsById.js.map +1 -0
- package/lib/operations/getV1Databases.d.ts +72 -0
- package/lib/operations/getV1Databases.d.ts.map +1 -0
- package/lib/operations/getV1Databases.js +83 -0
- package/lib/operations/getV1Databases.js.map +1 -0
- package/lib/operations/getV1DatabasesByDatabaseId.d.ts +66 -0
- package/lib/operations/getV1DatabasesByDatabaseId.d.ts.map +1 -0
- package/lib/operations/getV1DatabasesByDatabaseId.js +79 -0
- package/lib/operations/getV1DatabasesByDatabaseId.js.map +1 -0
- package/lib/operations/getV1DatabasesByDatabaseIdBackups.d.ts +31 -0
- package/lib/operations/getV1DatabasesByDatabaseIdBackups.d.ts.map +1 -0
- package/lib/operations/getV1DatabasesByDatabaseIdBackups.js +40 -0
- package/lib/operations/getV1DatabasesByDatabaseIdBackups.js.map +1 -0
- package/lib/operations/getV1DatabasesByDatabaseIdConnections.d.ts +53 -0
- package/lib/operations/getV1DatabasesByDatabaseIdConnections.d.ts.map +1 -0
- package/lib/operations/getV1DatabasesByDatabaseIdConnections.js +62 -0
- package/lib/operations/getV1DatabasesByDatabaseIdConnections.js.map +1 -0
- package/lib/operations/getV1DatabasesByDatabaseIdUsage.d.ts +32 -0
- package/lib/operations/getV1DatabasesByDatabaseIdUsage.d.ts.map +1 -0
- package/lib/operations/getV1DatabasesByDatabaseIdUsage.js +41 -0
- package/lib/operations/getV1DatabasesByDatabaseIdUsage.js.map +1 -0
- package/lib/operations/getV1Integrations.d.ts +37 -0
- package/lib/operations/getV1Integrations.d.ts.map +1 -0
- package/lib/operations/getV1Integrations.js +44 -0
- package/lib/operations/getV1Integrations.js.map +1 -0
- package/lib/operations/getV1IntegrationsById.d.ts +31 -0
- package/lib/operations/getV1IntegrationsById.d.ts.map +1 -0
- package/lib/operations/getV1IntegrationsById.js +39 -0
- package/lib/operations/getV1IntegrationsById.js.map +1 -0
- package/lib/operations/getV1Projects.d.ts +33 -0
- package/lib/operations/getV1Projects.d.ts.map +1 -0
- package/lib/operations/getV1Projects.js +39 -0
- package/lib/operations/getV1Projects.js.map +1 -0
- package/lib/operations/getV1ProjectsById.d.ts +28 -0
- package/lib/operations/getV1ProjectsById.d.ts.map +1 -0
- package/lib/operations/getV1ProjectsById.js +35 -0
- package/lib/operations/getV1ProjectsById.js.map +1 -0
- package/lib/operations/getV1ProjectsByProjectIdDatabases.d.ts +72 -0
- package/lib/operations/getV1ProjectsByProjectIdDatabases.d.ts.map +1 -0
- package/lib/operations/getV1ProjectsByProjectIdDatabases.js +86 -0
- package/lib/operations/getV1ProjectsByProjectIdDatabases.js.map +1 -0
- package/lib/operations/getV1Regions.d.ts +22 -0
- package/lib/operations/getV1Regions.d.ts.map +1 -0
- package/lib/operations/getV1Regions.js +28 -0
- package/lib/operations/getV1Regions.js.map +1 -0
- package/lib/operations/getV1RegionsAccelerate.d.ts +18 -0
- package/lib/operations/getV1RegionsAccelerate.d.ts.map +1 -0
- package/lib/operations/getV1RegionsAccelerate.js +26 -0
- package/lib/operations/getV1RegionsAccelerate.js.map +1 -0
- package/lib/operations/getV1RegionsPostgres.d.ts +19 -0
- package/lib/operations/getV1RegionsPostgres.d.ts.map +1 -0
- package/lib/operations/getV1RegionsPostgres.js +27 -0
- package/lib/operations/getV1RegionsPostgres.js.map +1 -0
- package/lib/operations/getV1Workspaces.d.ts +27 -0
- package/lib/operations/getV1Workspaces.d.ts.map +1 -0
- package/lib/operations/getV1Workspaces.js +33 -0
- package/lib/operations/getV1Workspaces.js.map +1 -0
- package/lib/operations/getV1WorkspacesById.d.ts +22 -0
- package/lib/operations/getV1WorkspacesById.d.ts.map +1 -0
- package/lib/operations/getV1WorkspacesById.js +30 -0
- package/lib/operations/getV1WorkspacesById.js.map +1 -0
- package/lib/operations/getV1WorkspacesByWorkspaceIdIntegrations.d.ts +37 -0
- package/lib/operations/getV1WorkspacesByWorkspaceIdIntegrations.d.ts.map +1 -0
- package/lib/operations/getV1WorkspacesByWorkspaceIdIntegrations.js +49 -0
- package/lib/operations/getV1WorkspacesByWorkspaceIdIntegrations.js.map +1 -0
- package/lib/operations/index.d.ts +32 -0
- package/lib/operations/index.d.ts.map +1 -0
- package/lib/operations/index.js +32 -0
- package/lib/operations/index.js.map +1 -0
- package/lib/operations/patchV1DatabasesByDatabaseId.d.ts +67 -0
- package/lib/operations/patchV1DatabasesByDatabaseId.d.ts.map +1 -0
- package/lib/operations/patchV1DatabasesByDatabaseId.js +81 -0
- package/lib/operations/patchV1DatabasesByDatabaseId.js.map +1 -0
- package/lib/operations/patchV1ProjectsById.d.ts +30 -0
- package/lib/operations/patchV1ProjectsById.d.ts.map +1 -0
- package/lib/operations/patchV1ProjectsById.js +38 -0
- package/lib/operations/patchV1ProjectsById.js.map +1 -0
- package/lib/operations/postV1Connections.d.ts +52 -0
- package/lib/operations/postV1Connections.d.ts.map +1 -0
- package/lib/operations/postV1Connections.js +59 -0
- package/lib/operations/postV1Connections.js.map +1 -0
- package/lib/operations/postV1Databases.d.ts +69 -0
- package/lib/operations/postV1Databases.d.ts.map +1 -0
- package/lib/operations/postV1Databases.js +83 -0
- package/lib/operations/postV1Databases.js.map +1 -0
- package/lib/operations/postV1DatabasesByDatabaseIdConnections.d.ts +55 -0
- package/lib/operations/postV1DatabasesByDatabaseIdConnections.d.ts.map +1 -0
- package/lib/operations/postV1DatabasesByDatabaseIdConnections.js +64 -0
- package/lib/operations/postV1DatabasesByDatabaseIdConnections.js.map +1 -0
- package/lib/operations/postV1Projects.d.ts +113 -0
- package/lib/operations/postV1Projects.d.ts.map +1 -0
- package/lib/operations/postV1Projects.js +126 -0
- package/lib/operations/postV1Projects.js.map +1 -0
- package/lib/operations/postV1ProjectsByIdTransfer.d.ts +15 -0
- package/lib/operations/postV1ProjectsByIdTransfer.d.ts.map +1 -0
- package/lib/operations/postV1ProjectsByIdTransfer.js +23 -0
- package/lib/operations/postV1ProjectsByIdTransfer.js.map +1 -0
- package/lib/operations/postV1ProjectsByProjectIdDatabases.d.ts +110 -0
- package/lib/operations/postV1ProjectsByProjectIdDatabases.d.ts.map +1 -0
- package/lib/operations/postV1ProjectsByProjectIdDatabases.js +127 -0
- package/lib/operations/postV1ProjectsByProjectIdDatabases.js.map +1 -0
- package/lib/retry.d.ts +22 -0
- package/lib/retry.d.ts.map +1 -0
- package/lib/retry.js +21 -0
- package/lib/retry.js.map +1 -0
- package/lib/sensitive.d.ts +5 -0
- package/lib/sensitive.d.ts.map +1 -0
- package/lib/sensitive.js +5 -0
- package/lib/sensitive.js.map +1 -0
- package/lib/traits.d.ts +5 -0
- package/lib/traits.d.ts.map +1 -0
- package/lib/traits.js +5 -0
- package/lib/traits.js.map +1 -0
- package/package.json +80 -9
- package/src/category.ts +4 -0
- package/src/client.ts +68 -0
- package/src/credentials.ts +30 -0
- package/src/errors.ts +48 -0
- package/src/index.ts +15 -0
- package/src/operations/deleteV1ConnectionsById.ts +30 -0
- package/src/operations/deleteV1DatabasesByDatabaseId.ts +29 -0
- package/src/operations/deleteV1IntegrationsById.ts +30 -0
- package/src/operations/deleteV1ProjectsById.ts +28 -0
- package/src/operations/deleteV1WorkspacesByWorkspaceIdIntegrationsByClientId.ts +35 -0
- package/src/operations/getV1Connections.ts +77 -0
- package/src/operations/getV1ConnectionsById.ts +71 -0
- package/src/operations/getV1Databases.ts +103 -0
- package/src/operations/getV1DatabasesByDatabaseId.ts +101 -0
- package/src/operations/getV1DatabasesByDatabaseIdBackups.ts +50 -0
- package/src/operations/getV1DatabasesByDatabaseIdConnections.ts +82 -0
- package/src/operations/getV1DatabasesByDatabaseIdUsage.ts +47 -0
- package/src/operations/getV1Integrations.ts +52 -0
- package/src/operations/getV1IntegrationsById.ts +46 -0
- package/src/operations/getV1Projects.ts +45 -0
- package/src/operations/getV1ProjectsById.ts +41 -0
- package/src/operations/getV1ProjectsByProjectIdDatabases.ts +110 -0
- package/src/operations/getV1Regions.ts +34 -0
- package/src/operations/getV1RegionsAccelerate.ts +38 -0
- package/src/operations/getV1RegionsPostgres.ts +37 -0
- package/src/operations/getV1Workspaces.ts +39 -0
- package/src/operations/getV1WorkspacesById.ts +34 -0
- package/src/operations/getV1WorkspacesByWorkspaceIdIntegrations.ts +59 -0
- package/src/operations/index.ts +31 -0
- package/src/operations/patchV1DatabasesByDatabaseId.ts +101 -0
- package/src/operations/patchV1ProjectsById.ts +42 -0
- package/src/operations/postV1Connections.ts +75 -0
- package/src/operations/postV1Databases.ts +103 -0
- package/src/operations/postV1DatabasesByDatabaseIdConnections.ts +82 -0
- package/src/operations/postV1Projects.ts +160 -0
- package/src/operations/postV1ProjectsByIdTransfer.ts +31 -0
- package/src/operations/postV1ProjectsByProjectIdDatabases.ts +165 -0
- package/src/retry.ts +37 -0
- package/src/sensitive.ts +4 -0
- package/src/traits.ts +4 -0
- package/bun.lock +0 -26
- package/index.ts +0 -1
- package/tsconfig.json +0 -29
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../client";
|
|
3
|
+
import * as T from "../traits";
|
|
4
|
+
// Input Schema
|
|
5
|
+
export const GetV1DatabasesByDatabaseIdConnectionsInput =
|
|
6
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
7
|
+
databaseId: Schema.String.pipe(T.PathParam()),
|
|
8
|
+
cursor: Schema.optional(Schema.String),
|
|
9
|
+
limit: Schema.optional(Schema.Number),
|
|
10
|
+
}).pipe(T.Http({ method: "GET", path: "/v1/databases/{databaseId}/connections" }));
|
|
11
|
+
// Output Schema
|
|
12
|
+
export const GetV1DatabasesByDatabaseIdConnectionsOutput =
|
|
13
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
14
|
+
data: Schema.Array(Schema.Struct({
|
|
15
|
+
id: Schema.String,
|
|
16
|
+
type: Schema.String,
|
|
17
|
+
url: Schema.String,
|
|
18
|
+
name: Schema.String,
|
|
19
|
+
createdAt: Schema.String,
|
|
20
|
+
kind: Schema.Literals(["postgres", "accelerate"]),
|
|
21
|
+
endpoints: Schema.Struct({
|
|
22
|
+
direct: Schema.optional(Schema.Struct({
|
|
23
|
+
host: Schema.String,
|
|
24
|
+
port: Schema.Number,
|
|
25
|
+
})),
|
|
26
|
+
pooled: Schema.optional(Schema.Struct({
|
|
27
|
+
host: Schema.String,
|
|
28
|
+
port: Schema.Number,
|
|
29
|
+
})),
|
|
30
|
+
accelerate: Schema.optional(Schema.Struct({
|
|
31
|
+
host: Schema.String,
|
|
32
|
+
port: Schema.Number,
|
|
33
|
+
})),
|
|
34
|
+
}),
|
|
35
|
+
directConnection: Schema.optional(Schema.NullOr(Schema.Struct({
|
|
36
|
+
host: Schema.String,
|
|
37
|
+
pass: Schema.String,
|
|
38
|
+
user: Schema.String,
|
|
39
|
+
}))),
|
|
40
|
+
database: Schema.Struct({
|
|
41
|
+
id: Schema.String,
|
|
42
|
+
url: Schema.String,
|
|
43
|
+
name: Schema.String,
|
|
44
|
+
}),
|
|
45
|
+
})),
|
|
46
|
+
pagination: Schema.Struct({
|
|
47
|
+
nextCursor: Schema.NullOr(Schema.String),
|
|
48
|
+
hasMore: Schema.Boolean,
|
|
49
|
+
}),
|
|
50
|
+
});
|
|
51
|
+
// The operation
|
|
52
|
+
/**
|
|
53
|
+
* Get list of database connections
|
|
54
|
+
*
|
|
55
|
+
* Returns all connections for the given database.
|
|
56
|
+
*/
|
|
57
|
+
export const getV1DatabasesByDatabaseIdConnections =
|
|
58
|
+
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
59
|
+
inputSchema: GetV1DatabasesByDatabaseIdConnectionsInput,
|
|
60
|
+
outputSchema: GetV1DatabasesByDatabaseIdConnectionsOutput,
|
|
61
|
+
}));
|
|
62
|
+
//# sourceMappingURL=getV1DatabasesByDatabaseIdConnections.js.map
|
|
@@ -0,0 +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;AAE/B,eAAe;AACf,MAAM,CAAC,MAAM,0CAA0C;AACrD,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;IAC7C,MAAM,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACtC,KAAK,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;CACtC,CAAC,CAAC,IAAI,CACL,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,wCAAwC,EAAE,CAAC,CAC1E,CAAC;AAIJ,gBAAgB;AAChB,MAAM,CAAC,MAAM,2CAA2C;AACtD,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,IAAI,EAAE,MAAM,CAAC,KAAK,CAChB,MAAM,CAAC,MAAM,CAAC;QACZ,EAAE,EAAE,MAAM,CAAC,MAAM;QACjB,IAAI,EAAE,MAAM,CAAC,MAA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AAO,EAAE,MAAM,CAAC,OAAO;KACxB,CAAC;CACH,CAAC,CAAC;AAIL,gBAAgB;AAChB;;;;GAIG;AACH,MAAM,CAAC,MAAM,qCAAqC;AAChD,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IAC1C,WAAW,EAAE,0CAA0C;IACvD,YAAY,EAAE,2CAA2C;CAC1D,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
export declare const GetV1DatabasesByDatabaseIdUsageInput: Schema.Struct<{
|
|
3
|
+
readonly databaseId: Schema.String;
|
|
4
|
+
readonly startDate: Schema.optional<Schema.String>;
|
|
5
|
+
readonly endDate: Schema.optional<Schema.String>;
|
|
6
|
+
}>;
|
|
7
|
+
export type GetV1DatabasesByDatabaseIdUsageInput = typeof GetV1DatabasesByDatabaseIdUsageInput.Type;
|
|
8
|
+
export declare const GetV1DatabasesByDatabaseIdUsageOutput: Schema.Struct<{
|
|
9
|
+
readonly period: Schema.Struct<{
|
|
10
|
+
readonly start: Schema.String;
|
|
11
|
+
readonly end: Schema.String;
|
|
12
|
+
}>;
|
|
13
|
+
readonly metrics: Schema.Struct<{
|
|
14
|
+
readonly operations: Schema.Struct<{
|
|
15
|
+
readonly used: Schema.Number;
|
|
16
|
+
readonly unit: Schema.String;
|
|
17
|
+
}>;
|
|
18
|
+
readonly storage: Schema.Struct<{
|
|
19
|
+
readonly used: Schema.Number;
|
|
20
|
+
readonly unit: Schema.String;
|
|
21
|
+
}>;
|
|
22
|
+
}>;
|
|
23
|
+
readonly generatedAt: Schema.String;
|
|
24
|
+
}>;
|
|
25
|
+
export type GetV1DatabasesByDatabaseIdUsageOutput = typeof GetV1DatabasesByDatabaseIdUsageOutput.Type;
|
|
26
|
+
/**
|
|
27
|
+
* Get database usage metrics
|
|
28
|
+
*
|
|
29
|
+
* Returns usage metrics for the specified database.
|
|
30
|
+
*/
|
|
31
|
+
export declare const getV1DatabasesByDatabaseIdUsage: any;
|
|
32
|
+
//# sourceMappingURL=getV1DatabasesByDatabaseIdUsage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getV1DatabasesByDatabaseIdUsage.d.ts","sourceRoot":"","sources":["../../src/operations/getV1DatabasesByDatabaseIdUsage.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,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,KAIvC,CAAC"}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../client";
|
|
3
|
+
import * as T from "../traits";
|
|
4
|
+
// Input Schema
|
|
5
|
+
export const GetV1DatabasesByDatabaseIdUsageInput =
|
|
6
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
7
|
+
databaseId: Schema.String.pipe(T.PathParam()),
|
|
8
|
+
startDate: Schema.optional(Schema.String),
|
|
9
|
+
endDate: Schema.optional(Schema.String),
|
|
10
|
+
}).pipe(T.Http({ method: "GET", path: "/v1/databases/{databaseId}/usage" }));
|
|
11
|
+
// Output Schema
|
|
12
|
+
export const GetV1DatabasesByDatabaseIdUsageOutput =
|
|
13
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
14
|
+
period: Schema.Struct({
|
|
15
|
+
start: Schema.String,
|
|
16
|
+
end: Schema.String,
|
|
17
|
+
}),
|
|
18
|
+
metrics: Schema.Struct({
|
|
19
|
+
operations: Schema.Struct({
|
|
20
|
+
used: Schema.Number,
|
|
21
|
+
unit: Schema.String,
|
|
22
|
+
}),
|
|
23
|
+
storage: Schema.Struct({
|
|
24
|
+
used: Schema.Number,
|
|
25
|
+
unit: Schema.String,
|
|
26
|
+
}),
|
|
27
|
+
}),
|
|
28
|
+
generatedAt: Schema.String,
|
|
29
|
+
});
|
|
30
|
+
// The operation
|
|
31
|
+
/**
|
|
32
|
+
* Get database usage metrics
|
|
33
|
+
*
|
|
34
|
+
* Returns usage metrics for the specified database.
|
|
35
|
+
*/
|
|
36
|
+
export const getV1DatabasesByDatabaseIdUsage =
|
|
37
|
+
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
38
|
+
inputSchema: GetV1DatabasesByDatabaseIdUsageInput,
|
|
39
|
+
outputSchema: GetV1DatabasesByDatabaseIdUsageOutput,
|
|
40
|
+
}));
|
|
41
|
+
//# sourceMappingURL=getV1DatabasesByDatabaseIdUsage.js.map
|
|
@@ -0,0 +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,GAAG,EAAE,MAAM,WAAW,CAAC;AAChC,OAAO,KAAK,CAAC,MAAM,WAAW,CAAC;AAE/B,eAAe;AACf,MAAM,CAAC,MAAM,oCAAoC;AAC/C,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;IAC7C,SAAS,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACzC,OAAO,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;CACxC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,kCAAkC,EAAE,CAAC,CAAC,CAAC;AAI/E,gBAAgB;AAChB,MAAM,CAAC,MAAM,qCAAqC;AAChD,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC;QACpB,KAAK,EAAE,MAAM,CAAC,MAAM;QACpB,GAAG,EAAE,MAAM,CAAC,MAAM;KACnB,CAAC;IACF,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC;QACrB,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC;YACxB,IAAI,EAAE,MAAM,CAAC,MAAM;YACnB,IAAI,EAAE,MAAM,CAAC,MAAM;SACpB,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;CACpD,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
export declare const GetV1IntegrationsInput: Schema.Struct<{
|
|
3
|
+
readonly cursor: Schema.optional<Schema.String>;
|
|
4
|
+
readonly limit: Schema.optional<Schema.Number>;
|
|
5
|
+
readonly workspaceId: Schema.String;
|
|
6
|
+
}>;
|
|
7
|
+
export type GetV1IntegrationsInput = typeof GetV1IntegrationsInput.Type;
|
|
8
|
+
export declare const GetV1IntegrationsOutput: Schema.Struct<{
|
|
9
|
+
readonly data: Schema.$Array<Schema.Struct<{
|
|
10
|
+
readonly id: Schema.String;
|
|
11
|
+
readonly url: Schema.String;
|
|
12
|
+
readonly createdAt: Schema.String;
|
|
13
|
+
readonly scopes: Schema.$Array<Schema.String>;
|
|
14
|
+
readonly client: Schema.Struct<{
|
|
15
|
+
readonly id: Schema.String;
|
|
16
|
+
readonly name: Schema.String;
|
|
17
|
+
readonly createdAt: Schema.String;
|
|
18
|
+
}>;
|
|
19
|
+
readonly createdByUser: Schema.Struct<{
|
|
20
|
+
readonly id: Schema.String;
|
|
21
|
+
readonly email: Schema.String;
|
|
22
|
+
readonly displayName: Schema.NullOr<Schema.String>;
|
|
23
|
+
}>;
|
|
24
|
+
}>>;
|
|
25
|
+
readonly pagination: Schema.Struct<{
|
|
26
|
+
readonly nextCursor: Schema.NullOr<Schema.String>;
|
|
27
|
+
readonly hasMore: Schema.Boolean;
|
|
28
|
+
}>;
|
|
29
|
+
}>;
|
|
30
|
+
export type GetV1IntegrationsOutput = typeof GetV1IntegrationsOutput.Type;
|
|
31
|
+
/**
|
|
32
|
+
* Get list of integrations
|
|
33
|
+
*
|
|
34
|
+
* Returns integrations filtered by workspace ID.
|
|
35
|
+
*/
|
|
36
|
+
export declare const getV1Integrations: any;
|
|
37
|
+
//# sourceMappingURL=getV1Integrations.d.ts.map
|
|
@@ -0,0 +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,KAG3B,CAAC"}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../client";
|
|
3
|
+
import * as T from "../traits";
|
|
4
|
+
// Input Schema
|
|
5
|
+
export const GetV1IntegrationsInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
6
|
+
cursor: Schema.optional(Schema.String),
|
|
7
|
+
limit: Schema.optional(Schema.Number),
|
|
8
|
+
workspaceId: Schema.String,
|
|
9
|
+
}).pipe(T.Http({ method: "GET", path: "/v1/integrations" }));
|
|
10
|
+
// Output Schema
|
|
11
|
+
export const GetV1IntegrationsOutput =
|
|
12
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
13
|
+
data: Schema.Array(Schema.Struct({
|
|
14
|
+
id: Schema.String,
|
|
15
|
+
url: Schema.String,
|
|
16
|
+
createdAt: Schema.String,
|
|
17
|
+
scopes: Schema.Array(Schema.String),
|
|
18
|
+
client: Schema.Struct({
|
|
19
|
+
id: Schema.String,
|
|
20
|
+
name: Schema.String,
|
|
21
|
+
createdAt: Schema.String,
|
|
22
|
+
}),
|
|
23
|
+
createdByUser: Schema.Struct({
|
|
24
|
+
id: Schema.String,
|
|
25
|
+
email: Schema.String,
|
|
26
|
+
displayName: Schema.NullOr(Schema.String),
|
|
27
|
+
}),
|
|
28
|
+
})),
|
|
29
|
+
pagination: Schema.Struct({
|
|
30
|
+
nextCursor: Schema.NullOr(Schema.String),
|
|
31
|
+
hasMore: Schema.Boolean,
|
|
32
|
+
}),
|
|
33
|
+
});
|
|
34
|
+
// The operation
|
|
35
|
+
/**
|
|
36
|
+
* Get list of integrations
|
|
37
|
+
*
|
|
38
|
+
* Returns integrations filtered by workspace ID.
|
|
39
|
+
*/
|
|
40
|
+
export const getV1Integrations = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
41
|
+
inputSchema: GetV1IntegrationsInput,
|
|
42
|
+
outputSchema: GetV1IntegrationsOutput,
|
|
43
|
+
}));
|
|
44
|
+
//# sourceMappingURL=getV1Integrations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getV1Integrations.js","sourceRoot":"","sources":["../../src/operations/getV1Integrations.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAChC,OAAO,KAAK,CAAC,MAAM,WAAW,CAAC;AAE/B,eAAe;AACf,MAAM,CAAC,MAAM,sBAAsB,GAAG,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAC7E;IACE,MAAM,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACtC,KAAK,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACrC,WAAW,EAAE,MAAM,CAAC,MAAM;CAC3B,CACF,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,kBAAkB,EAAE,CAAC,CAAC,CAAC;AAG5D,gBAAgB;AAChB,MAAM,CAAC,MAAM,uBAAuB;AAClC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,IAAI,EAAE,MAAM,CAAC,KAAK,CAChB,MAAM,CAAC,MAAM,CAAC;QACZ,EAAE,EAAE,MAAM,CAAC,MAAM;QACjB,GAAG,EAAE,MAAM,CAAC,MAAM;QAClB,SAAS,EAAE,MAAM,CAAC,MAAM;QACxB,MAAM,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC;QACnC,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC;YACpB,EAAE,EAAE,MAAM,CAAC,MAAM;YACjB,IAAI,EAAE,MAAM,CAAC,MAAM;YACnB,SAAS,EAAE,MAAM,CAAC,MAAM;SACzB,CAAC;QACF,aAAa,EAAE,MAAM,CAAC,MAAM,CAAC;YAC3B,EAAE,EAAE,MAAM,CAAC,MAAM;YACjB,KAAK,EAAE,MAAM,CAAC,MAAM;YACpB,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC;SAC1C,CAAC;KACH,CAAC,CACH;IACD,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC;QACxB,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC;QACxC,OAAO,EAAE,MAAM,CAAC,OAAO;KACxB,CAAC;CACH,CAAC,CAAC;AAGL,gBAAgB;AAChB;;;;GAIG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IAC3E,WAAW,EAAE,sBAAsB;IACnC,YAAY,EAAE,uBAAuB;CACtC,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
export declare const GetV1IntegrationsByIdInput: Schema.Struct<{
|
|
3
|
+
readonly id: Schema.String;
|
|
4
|
+
}>;
|
|
5
|
+
export type GetV1IntegrationsByIdInput = typeof GetV1IntegrationsByIdInput.Type;
|
|
6
|
+
export declare const GetV1IntegrationsByIdOutput: Schema.Struct<{
|
|
7
|
+
readonly data: Schema.Struct<{
|
|
8
|
+
readonly id: Schema.String;
|
|
9
|
+
readonly url: Schema.String;
|
|
10
|
+
readonly createdAt: Schema.String;
|
|
11
|
+
readonly scopes: Schema.$Array<Schema.String>;
|
|
12
|
+
readonly client: Schema.Struct<{
|
|
13
|
+
readonly id: Schema.String;
|
|
14
|
+
readonly name: Schema.String;
|
|
15
|
+
readonly createdAt: Schema.String;
|
|
16
|
+
}>;
|
|
17
|
+
readonly createdByUser: Schema.Struct<{
|
|
18
|
+
readonly id: Schema.String;
|
|
19
|
+
readonly email: Schema.String;
|
|
20
|
+
readonly displayName: Schema.NullOr<Schema.String>;
|
|
21
|
+
}>;
|
|
22
|
+
}>;
|
|
23
|
+
}>;
|
|
24
|
+
export type GetV1IntegrationsByIdOutput = typeof GetV1IntegrationsByIdOutput.Type;
|
|
25
|
+
/**
|
|
26
|
+
* Get integration by ID
|
|
27
|
+
*
|
|
28
|
+
* Returns a single integration by its ID.
|
|
29
|
+
*/
|
|
30
|
+
export declare const getV1IntegrationsById: any;
|
|
31
|
+
//# sourceMappingURL=getV1IntegrationsById.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getV1IntegrationsById.d.ts","sourceRoot":"","sources":["../../src/operations/getV1IntegrationsById.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,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,KAKjC,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../client";
|
|
3
|
+
import * as T from "../traits";
|
|
4
|
+
// Input Schema
|
|
5
|
+
export const GetV1IntegrationsByIdInput =
|
|
6
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
7
|
+
id: Schema.String.pipe(T.PathParam()),
|
|
8
|
+
}).pipe(T.Http({ method: "GET", path: "/v1/integrations/{id}" }));
|
|
9
|
+
// Output Schema
|
|
10
|
+
export const GetV1IntegrationsByIdOutput =
|
|
11
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
12
|
+
data: Schema.Struct({
|
|
13
|
+
id: Schema.String,
|
|
14
|
+
url: Schema.String,
|
|
15
|
+
createdAt: Schema.String,
|
|
16
|
+
scopes: Schema.Array(Schema.String),
|
|
17
|
+
client: Schema.Struct({
|
|
18
|
+
id: Schema.String,
|
|
19
|
+
name: Schema.String,
|
|
20
|
+
createdAt: Schema.String,
|
|
21
|
+
}),
|
|
22
|
+
createdByUser: Schema.Struct({
|
|
23
|
+
id: Schema.String,
|
|
24
|
+
email: Schema.String,
|
|
25
|
+
displayName: Schema.NullOr(Schema.String),
|
|
26
|
+
}),
|
|
27
|
+
}),
|
|
28
|
+
});
|
|
29
|
+
// The operation
|
|
30
|
+
/**
|
|
31
|
+
* Get integration by ID
|
|
32
|
+
*
|
|
33
|
+
* Returns a single integration by its ID.
|
|
34
|
+
*/
|
|
35
|
+
export const getV1IntegrationsById = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
36
|
+
inputSchema: GetV1IntegrationsByIdInput,
|
|
37
|
+
outputSchema: GetV1IntegrationsByIdOutput,
|
|
38
|
+
}));
|
|
39
|
+
//# sourceMappingURL=getV1IntegrationsById.js.map
|
|
@@ -0,0 +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;AAE/B,eAAe;AACf,MAAM,CAAC,MAAM,0BAA0B;AACrC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,EAAE,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;CACtC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,uBAAuB,EAAE,CAAC,CAAC,CAAC;AAGpE,gBAAgB;AAChB,MAAM,CAAC,MAAM,2BAA2B;AACtC,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC;QAClB,EAAE,EAAE,MAAM,CAAC,MAAM;QACjB,GAAG,EAAE,MAAM,CAAC,MAAM;QAClB,SAAS,EAAE,MAAM,CAAC,MAAM;QACxB,MAAM,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC;QACnC,MAAM,EAAE,MAAM,CAAC,MAAM,CAAC;YACpB,EAAE,EAAE,MAAM,CAAC,MAAM;YACjB,IAAI,EAAE,MAAM,CAAC,MAAM;YACnB,SAAS,EAAE,MAAM,CAAC,MAAM;SACzB,CAAC;QACF,aAAa,EAAE,MAAM,CAAC,MAAM,CAAC;YAC3B,EAAE,EAAE,MAAM,CAAC,MAAM;YACjB,KAAK,EAAE,MAAM,CAAC,MAAM;YACpB,WAAW,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC;SAC1C,CAAC;KACH,CAAC;CACH,CAAC,CAAC;AAIL,gBAAgB;AAChB;;;;GAIG;AACH,MAAM,CAAC,MAAM,qBAAqB,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CACvE,GAAG,EAAE,CAAC,CAAC;IACL,WAAW,EAAE,0BAA0B;IACvC,YAAY,EAAE,2BAA2B;CAC1C,CAAC,CACH,CAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
export declare const GetV1ProjectsInput: Schema.Struct<{
|
|
3
|
+
readonly cursor: Schema.optional<Schema.String>;
|
|
4
|
+
readonly limit: Schema.optional<Schema.Number>;
|
|
5
|
+
}>;
|
|
6
|
+
export type GetV1ProjectsInput = typeof GetV1ProjectsInput.Type;
|
|
7
|
+
export declare const GetV1ProjectsOutput: Schema.Struct<{
|
|
8
|
+
readonly data: Schema.$Array<Schema.Struct<{
|
|
9
|
+
readonly id: Schema.String;
|
|
10
|
+
readonly type: Schema.String;
|
|
11
|
+
readonly url: Schema.String;
|
|
12
|
+
readonly name: Schema.String;
|
|
13
|
+
readonly createdAt: Schema.String;
|
|
14
|
+
readonly defaultRegion: Schema.NullOr<Schema.String>;
|
|
15
|
+
readonly workspace: Schema.Struct<{
|
|
16
|
+
readonly id: Schema.String;
|
|
17
|
+
readonly url: Schema.String;
|
|
18
|
+
readonly name: Schema.String;
|
|
19
|
+
}>;
|
|
20
|
+
}>>;
|
|
21
|
+
readonly pagination: Schema.Struct<{
|
|
22
|
+
readonly nextCursor: Schema.NullOr<Schema.String>;
|
|
23
|
+
readonly hasMore: Schema.Boolean;
|
|
24
|
+
}>;
|
|
25
|
+
}>;
|
|
26
|
+
export type GetV1ProjectsOutput = typeof GetV1ProjectsOutput.Type;
|
|
27
|
+
/**
|
|
28
|
+
* Get list of projects
|
|
29
|
+
*
|
|
30
|
+
* Returns the list of projects the token has access to.
|
|
31
|
+
*/
|
|
32
|
+
export declare const getV1Projects: any;
|
|
33
|
+
//# sourceMappingURL=getV1Projects.d.ts.map
|
|
@@ -0,0 +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,KAGvB,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../client";
|
|
3
|
+
import * as T from "../traits";
|
|
4
|
+
// Input Schema
|
|
5
|
+
export const GetV1ProjectsInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
6
|
+
cursor: Schema.optional(Schema.String),
|
|
7
|
+
limit: Schema.optional(Schema.Number),
|
|
8
|
+
}).pipe(T.Http({ method: "GET", path: "/v1/projects" }));
|
|
9
|
+
// Output Schema
|
|
10
|
+
export const GetV1ProjectsOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
11
|
+
data: Schema.Array(Schema.Struct({
|
|
12
|
+
id: Schema.String,
|
|
13
|
+
type: Schema.String,
|
|
14
|
+
url: Schema.String,
|
|
15
|
+
name: Schema.String,
|
|
16
|
+
createdAt: Schema.String,
|
|
17
|
+
defaultRegion: Schema.NullOr(Schema.String),
|
|
18
|
+
workspace: Schema.Struct({
|
|
19
|
+
id: Schema.String,
|
|
20
|
+
url: Schema.String,
|
|
21
|
+
name: Schema.String,
|
|
22
|
+
}),
|
|
23
|
+
})),
|
|
24
|
+
pagination: Schema.Struct({
|
|
25
|
+
nextCursor: Schema.NullOr(Schema.String),
|
|
26
|
+
hasMore: Schema.Boolean,
|
|
27
|
+
}),
|
|
28
|
+
});
|
|
29
|
+
// The operation
|
|
30
|
+
/**
|
|
31
|
+
* Get list of projects
|
|
32
|
+
*
|
|
33
|
+
* Returns the list of projects the token has access to.
|
|
34
|
+
*/
|
|
35
|
+
export const getV1Projects = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
36
|
+
inputSchema: GetV1ProjectsInput,
|
|
37
|
+
outputSchema: GetV1ProjectsOutput,
|
|
38
|
+
}));
|
|
39
|
+
//# sourceMappingURL=getV1Projects.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getV1Projects.js","sourceRoot":"","sources":["../../src/operations/getV1Projects.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAA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,gBAAgB;AAChB;;;;GAIG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IACvE,WAAW,EAAE,kBAAkB;IAC/B,YAAY,EAAE,mBAAmB;CAClC,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
export declare const GetV1ProjectsByIdInput: Schema.Struct<{
|
|
3
|
+
readonly id: Schema.String;
|
|
4
|
+
}>;
|
|
5
|
+
export type GetV1ProjectsByIdInput = typeof GetV1ProjectsByIdInput.Type;
|
|
6
|
+
export declare const GetV1ProjectsByIdOutput: Schema.Struct<{
|
|
7
|
+
readonly data: Schema.Struct<{
|
|
8
|
+
readonly id: Schema.String;
|
|
9
|
+
readonly type: Schema.String;
|
|
10
|
+
readonly url: Schema.String;
|
|
11
|
+
readonly name: Schema.String;
|
|
12
|
+
readonly createdAt: Schema.String;
|
|
13
|
+
readonly defaultRegion: Schema.NullOr<Schema.String>;
|
|
14
|
+
readonly workspace: Schema.Struct<{
|
|
15
|
+
readonly id: Schema.String;
|
|
16
|
+
readonly url: Schema.String;
|
|
17
|
+
readonly name: Schema.String;
|
|
18
|
+
}>;
|
|
19
|
+
}>;
|
|
20
|
+
}>;
|
|
21
|
+
export type GetV1ProjectsByIdOutput = typeof GetV1ProjectsByIdOutput.Type;
|
|
22
|
+
/**
|
|
23
|
+
* Get project
|
|
24
|
+
*
|
|
25
|
+
* Returns the project with the given ID.
|
|
26
|
+
*/
|
|
27
|
+
export declare const getV1ProjectsById: any;
|
|
28
|
+
//# sourceMappingURL=getV1ProjectsById.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getV1ProjectsById.d.ts","sourceRoot":"","sources":["../../src/operations/getV1ProjectsById.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,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,KAG3B,CAAC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../client";
|
|
3
|
+
import * as T from "../traits";
|
|
4
|
+
// Input Schema
|
|
5
|
+
export const GetV1ProjectsByIdInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
6
|
+
id: Schema.String.pipe(T.PathParam()),
|
|
7
|
+
}).pipe(T.Http({ method: "GET", path: "/v1/projects/{id}" }));
|
|
8
|
+
// Output Schema
|
|
9
|
+
export const GetV1ProjectsByIdOutput =
|
|
10
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
11
|
+
data: Schema.Struct({
|
|
12
|
+
id: Schema.String,
|
|
13
|
+
type: Schema.String,
|
|
14
|
+
url: Schema.String,
|
|
15
|
+
name: Schema.String,
|
|
16
|
+
createdAt: Schema.String,
|
|
17
|
+
defaultRegion: Schema.NullOr(Schema.String),
|
|
18
|
+
workspace: Schema.Struct({
|
|
19
|
+
id: Schema.String,
|
|
20
|
+
url: Schema.String,
|
|
21
|
+
name: Schema.String,
|
|
22
|
+
}),
|
|
23
|
+
}),
|
|
24
|
+
});
|
|
25
|
+
// The operation
|
|
26
|
+
/**
|
|
27
|
+
* Get project
|
|
28
|
+
*
|
|
29
|
+
* Returns the project with the given ID.
|
|
30
|
+
*/
|
|
31
|
+
export const getV1ProjectsById = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
32
|
+
inputSchema: GetV1ProjectsByIdInput,
|
|
33
|
+
outputSchema: GetV1ProjectsByIdOutput,
|
|
34
|
+
}));
|
|
35
|
+
//# sourceMappingURL=getV1ProjectsById.js.map
|
|
@@ -0,0 +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;AAE/B,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,EAAE,EAAE,MAAM,CAAC,MAAM;YACjB,GAAG,EAAE,MAAM,CAAC,MAAM;YAClB,IAAI,EAAE,MAAM,CAAC,MAAM;SACpB,CAAC;KACH,CAAC;CACH,CAAC,CAAC;AAGL,gBAAgB;AAChB;;;;GAIG;AACH,MAAM,CAAC,MAAM,iBAAiB,GAAG,aAAa,CAAC,aAAa,CAAC,GAAG,CAAC,IAAI,CAAC,GAAG,EAAE,CAAC,CAAC;IAC3E,WAAW,EAAE,sBAAsB;IACnC,YAAY,EAAE,uBAAuB;CACtC,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
export declare const GetV1ProjectsByProjectIdDatabasesInput: Schema.Struct<{
|
|
3
|
+
readonly projectId: Schema.String;
|
|
4
|
+
readonly cursor: Schema.optional<Schema.String>;
|
|
5
|
+
readonly limit: Schema.optional<Schema.Number>;
|
|
6
|
+
}>;
|
|
7
|
+
export type GetV1ProjectsByProjectIdDatabasesInput = typeof GetV1ProjectsByProjectIdDatabasesInput.Type;
|
|
8
|
+
export declare const GetV1ProjectsByProjectIdDatabasesOutput: Schema.Struct<{
|
|
9
|
+
readonly data: Schema.$Array<Schema.Struct<{
|
|
10
|
+
readonly id: Schema.String;
|
|
11
|
+
readonly type: Schema.String;
|
|
12
|
+
readonly url: Schema.String;
|
|
13
|
+
readonly name: Schema.String;
|
|
14
|
+
readonly status: Schema.Literals<readonly ["failure", "provisioning", "ready", "recovering"]>;
|
|
15
|
+
readonly createdAt: Schema.String;
|
|
16
|
+
readonly isDefault: Schema.Boolean;
|
|
17
|
+
readonly defaultConnectionId: Schema.NullOr<Schema.String>;
|
|
18
|
+
readonly connections: Schema.$Array<Schema.Struct<{
|
|
19
|
+
readonly id: Schema.String;
|
|
20
|
+
readonly type: Schema.String;
|
|
21
|
+
readonly url: Schema.String;
|
|
22
|
+
readonly name: Schema.String;
|
|
23
|
+
readonly createdAt: Schema.String;
|
|
24
|
+
readonly kind: Schema.Literals<readonly ["postgres", "accelerate"]>;
|
|
25
|
+
readonly endpoints: Schema.Struct<{
|
|
26
|
+
readonly direct: Schema.optional<Schema.Struct<{
|
|
27
|
+
readonly host: Schema.String;
|
|
28
|
+
readonly port: Schema.Number;
|
|
29
|
+
}>>;
|
|
30
|
+
readonly pooled: Schema.optional<Schema.Struct<{
|
|
31
|
+
readonly host: Schema.String;
|
|
32
|
+
readonly port: Schema.Number;
|
|
33
|
+
}>>;
|
|
34
|
+
readonly accelerate: Schema.optional<Schema.Struct<{
|
|
35
|
+
readonly host: Schema.String;
|
|
36
|
+
readonly port: Schema.Number;
|
|
37
|
+
}>>;
|
|
38
|
+
}>;
|
|
39
|
+
readonly directConnection: Schema.optional<Schema.NullOr<Schema.Struct<{
|
|
40
|
+
readonly host: Schema.String;
|
|
41
|
+
readonly pass: Schema.String;
|
|
42
|
+
readonly user: Schema.String;
|
|
43
|
+
}>>>;
|
|
44
|
+
readonly database: Schema.Struct<{
|
|
45
|
+
readonly id: Schema.String;
|
|
46
|
+
readonly url: Schema.String;
|
|
47
|
+
readonly name: Schema.String;
|
|
48
|
+
}>;
|
|
49
|
+
}>>;
|
|
50
|
+
readonly project: Schema.Struct<{
|
|
51
|
+
readonly id: Schema.String;
|
|
52
|
+
readonly url: Schema.String;
|
|
53
|
+
readonly name: Schema.String;
|
|
54
|
+
}>;
|
|
55
|
+
readonly region: Schema.NullOr<Schema.Struct<{
|
|
56
|
+
readonly id: Schema.String;
|
|
57
|
+
readonly name: Schema.String;
|
|
58
|
+
}>>;
|
|
59
|
+
}>>;
|
|
60
|
+
readonly pagination: Schema.Struct<{
|
|
61
|
+
readonly nextCursor: Schema.NullOr<Schema.String>;
|
|
62
|
+
readonly hasMore: Schema.Boolean;
|
|
63
|
+
}>;
|
|
64
|
+
}>;
|
|
65
|
+
export type GetV1ProjectsByProjectIdDatabasesOutput = typeof GetV1ProjectsByProjectIdDatabasesOutput.Type;
|
|
66
|
+
/**
|
|
67
|
+
* Get list of databases
|
|
68
|
+
*
|
|
69
|
+
* Returns databases for the given project.
|
|
70
|
+
*/
|
|
71
|
+
export declare const getV1ProjectsByProjectIdDatabases: any;
|
|
72
|
+
//# sourceMappingURL=getV1ProjectsByProjectIdDatabases.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getV1ProjectsByProjectIdDatabases.d.ts","sourceRoot":"","sources":["../../src/operations/getV1ProjectsByProjectIdDatabases.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,sCAAsC;;;;EAOhD,CAAC;AACJ,MAAM,MAAM,sCAAsC,GAChD,OAAO,sCAAsC,CAAC,IAAI,CAAC;AAGrD,eAAO,MAAM,uCAAuC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8EhD,CAAC;AACL,MAAM,MAAM,uCAAuC,GACjD,OAAO,uCAAuC,CAAC,IAAI,CAAC;AAGtD;;;;GAIG;AACH,eAAO,MAAM,iCAAiC,KAIzC,CAAC"}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import * as Schema from "effect/Schema";
|
|
2
|
+
import { API } from "../client";
|
|
3
|
+
import * as T from "../traits";
|
|
4
|
+
// Input Schema
|
|
5
|
+
export const GetV1ProjectsByProjectIdDatabasesInput =
|
|
6
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
7
|
+
projectId: Schema.String.pipe(T.PathParam()),
|
|
8
|
+
cursor: Schema.optional(Schema.String),
|
|
9
|
+
limit: Schema.optional(Schema.Number),
|
|
10
|
+
}).pipe(T.Http({ method: "GET", path: "/v1/projects/{projectId}/databases" }));
|
|
11
|
+
// Output Schema
|
|
12
|
+
export const GetV1ProjectsByProjectIdDatabasesOutput =
|
|
13
|
+
/*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
|
|
14
|
+
data: Schema.Array(Schema.Struct({
|
|
15
|
+
id: Schema.String,
|
|
16
|
+
type: Schema.String,
|
|
17
|
+
url: Schema.String,
|
|
18
|
+
name: Schema.String,
|
|
19
|
+
status: Schema.Literals([
|
|
20
|
+
"failure",
|
|
21
|
+
"provisioning",
|
|
22
|
+
"ready",
|
|
23
|
+
"recovering",
|
|
24
|
+
]),
|
|
25
|
+
createdAt: Schema.String,
|
|
26
|
+
isDefault: Schema.Boolean,
|
|
27
|
+
defaultConnectionId: Schema.NullOr(Schema.String),
|
|
28
|
+
connections: Schema.Array(Schema.Struct({
|
|
29
|
+
id: Schema.String,
|
|
30
|
+
type: Schema.String,
|
|
31
|
+
url: Schema.String,
|
|
32
|
+
name: Schema.String,
|
|
33
|
+
createdAt: Schema.String,
|
|
34
|
+
kind: Schema.Literals(["postgres", "accelerate"]),
|
|
35
|
+
endpoints: Schema.Struct({
|
|
36
|
+
direct: Schema.optional(Schema.Struct({
|
|
37
|
+
host: Schema.String,
|
|
38
|
+
port: Schema.Number,
|
|
39
|
+
})),
|
|
40
|
+
pooled: Schema.optional(Schema.Struct({
|
|
41
|
+
host: Schema.String,
|
|
42
|
+
port: Schema.Number,
|
|
43
|
+
})),
|
|
44
|
+
accelerate: Schema.optional(Schema.Struct({
|
|
45
|
+
host: Schema.String,
|
|
46
|
+
port: Schema.Number,
|
|
47
|
+
})),
|
|
48
|
+
}),
|
|
49
|
+
directConnection: Schema.optional(Schema.NullOr(Schema.Struct({
|
|
50
|
+
host: Schema.String,
|
|
51
|
+
pass: Schema.String,
|
|
52
|
+
user: Schema.String,
|
|
53
|
+
}))),
|
|
54
|
+
database: Schema.Struct({
|
|
55
|
+
id: Schema.String,
|
|
56
|
+
url: Schema.String,
|
|
57
|
+
name: Schema.String,
|
|
58
|
+
}),
|
|
59
|
+
})),
|
|
60
|
+
project: Schema.Struct({
|
|
61
|
+
id: Schema.String,
|
|
62
|
+
url: Schema.String,
|
|
63
|
+
name: Schema.String,
|
|
64
|
+
}),
|
|
65
|
+
region: Schema.NullOr(Schema.Struct({
|
|
66
|
+
id: Schema.String,
|
|
67
|
+
name: Schema.String,
|
|
68
|
+
})),
|
|
69
|
+
})),
|
|
70
|
+
pagination: Schema.Struct({
|
|
71
|
+
nextCursor: Schema.NullOr(Schema.String),
|
|
72
|
+
hasMore: Schema.Boolean,
|
|
73
|
+
}),
|
|
74
|
+
});
|
|
75
|
+
// The operation
|
|
76
|
+
/**
|
|
77
|
+
* Get list of databases
|
|
78
|
+
*
|
|
79
|
+
* Returns databases for the given project.
|
|
80
|
+
*/
|
|
81
|
+
export const getV1ProjectsByProjectIdDatabases =
|
|
82
|
+
/*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
|
|
83
|
+
inputSchema: GetV1ProjectsByProjectIdDatabasesInput,
|
|
84
|
+
outputSchema: GetV1ProjectsByProjectIdDatabasesOutput,
|
|
85
|
+
}));
|
|
86
|
+
//# sourceMappingURL=getV1ProjectsByProjectIdDatabases.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getV1ProjectsByProjectIdDatabases.js","sourceRoot":"","sources":["../../src/operations/getV1ProjectsByProjectIdDatabases.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,EAAE,GAAG,EAAE,MAAM,WAAW,CAAC;AAChC,OAAO,KAAK,CAAC,MAAM,WAAW,CAAC;AAE/B,eAAe;AACf,MAAM,CAAC,MAAM,sCAAsC;AACjD,aAAa,CAAC,aAAa,CAAC,MAAM,CAAC,MAAM,CAAC;IACxC,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC;IAC5C,MAAM,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;IACtC,KAAK,EAAE,MAAM,CAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC;CACtC,CAAC,CAAC,IAAI,CACL,CAAC,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,KAAK,EAAE,IAAI,EAAE,oCAAoC,EAAE,CAAC,CACtE,CAAC;AAIJ,gBAAgB;AAChB,MAAM,CAAC,MAAM,uCAAuC;AAClD,aAAa,CAAC,aAAa,CAA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