@distilled.cloud/prisma-postgres 0.19.1 → 0.20.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/lib/credentials.d.ts +1 -1
  2. package/lib/credentials.d.ts.map +1 -1
  3. package/lib/credentials.js +2 -2
  4. package/lib/credentials.js.map +1 -1
  5. package/lib/operations/getV1ComputeServices.d.ts +6 -6
  6. package/lib/operations/getV1ComputeServicesByComputeServiceId.d.ts +5 -5
  7. package/lib/operations/getV1ComputeServicesByComputeServiceIdVersions.d.ts +3 -3
  8. package/lib/operations/getV1ComputeServicesVersionsByVersionId.d.ts +7 -7
  9. package/lib/operations/getV1ComputeServicesVersionsByVersionIdLogs.d.ts +3 -3
  10. package/lib/operations/getV1Connections.d.ts +20 -20
  11. package/lib/operations/getV1ConnectionsById.d.ts +18 -18
  12. package/lib/operations/getV1Databases.d.ts +28 -28
  13. package/lib/operations/getV1DatabasesByDatabaseId.d.ts +27 -27
  14. package/lib/operations/getV1DatabasesByDatabaseIdBackups.d.ts +1 -1
  15. package/lib/operations/getV1DatabasesByDatabaseIdConnections.d.ts +20 -20
  16. package/lib/operations/getV1DatabasesByDatabaseIdUsage.d.ts +8 -8
  17. package/lib/operations/getV1Integrations.d.ts +8 -8
  18. package/lib/operations/getV1IntegrationsById.d.ts +7 -7
  19. package/lib/operations/getV1Projects.d.ts +5 -5
  20. package/lib/operations/getV1ProjectsById.d.ts +4 -4
  21. package/lib/operations/getV1ProjectsByProjectIdComputeServices.d.ts +7 -7
  22. package/lib/operations/getV1ProjectsByProjectIdDatabases.d.ts +29 -29
  23. package/lib/operations/getV1Regions.d.ts +1 -1
  24. package/lib/operations/getV1RegionsAccelerate.d.ts +1 -1
  25. package/lib/operations/getV1RegionsPostgres.d.ts +1 -1
  26. package/lib/operations/getV1Versions.d.ts +4 -4
  27. package/lib/operations/getV1VersionsByVersionId.d.ts +7 -7
  28. package/lib/operations/getV1Workspaces.d.ts +3 -3
  29. package/lib/operations/getV1WorkspacesById.d.ts +2 -2
  30. package/lib/operations/getV1WorkspacesByWorkspaceIdIntegrations.d.ts +9 -9
  31. package/lib/operations/patchV1ComputeServicesByComputeServiceId.d.ts +5 -5
  32. package/lib/operations/patchV1DatabasesByDatabaseId.d.ts +27 -27
  33. package/lib/operations/patchV1ProjectsById.d.ts +4 -4
  34. package/lib/operations/postV1ComputeServices.d.ts +6 -6
  35. package/lib/operations/postV1ComputeServicesByComputeServiceIdVersions.d.ts +2 -2
  36. package/lib/operations/postV1Connections.d.ts +22 -22
  37. package/lib/operations/postV1ConnectionsByIdRotate.d.ts +22 -22
  38. package/lib/operations/postV1Databases.d.ts +32 -32
  39. package/lib/operations/postV1DatabasesByDatabaseIdConnections.d.ts +22 -22
  40. package/lib/operations/postV1DatabasesByTargetDatabaseIdRestore.d.ts +32 -32
  41. package/lib/operations/postV1Projects.d.ts +58 -58
  42. package/lib/operations/postV1ProjectsByProjectIdComputeServices.d.ts +6 -6
  43. package/lib/operations/postV1ProjectsByProjectIdDatabases.d.ts +58 -58
  44. package/lib/operations/postV1Versions.d.ts +3 -3
  45. package/package.json +3 -3
  46. package/src/credentials.ts +2 -2
@@ -29,16 +29,16 @@ export declare const getV1ProjectsById: import("@distilled.cloud/core/client").O
29
29
  readonly id: string;
30
30
  }, {
31
31
  readonly data: {
32
- readonly createdAt: string;
33
- readonly defaultRegion: string | null;
34
32
  readonly id: string;
35
- readonly name: string;
36
33
  readonly type: string;
37
34
  readonly url: string;
35
+ readonly name: string;
36
+ readonly createdAt: string;
37
+ readonly defaultRegion: string | null;
38
38
  readonly workspace: {
39
39
  readonly id: string;
40
- readonly name: string;
41
40
  readonly url: string;
41
+ readonly name: string;
42
42
  };
43
43
  };
44
44
  }, NotFound | UnprocessableEntity, any>;
@@ -34,27 +34,27 @@ export type GetV1ProjectsByProjectIdComputeServicesOutput = typeof GetV1Projects
34
34
  * Returns all compute services belonging to a project, ordered by creation time (oldest first). Supports cursor-based pagination.
35
35
  */
36
36
  export declare const getV1ProjectsByProjectIdComputeServices: import("@distilled.cloud/core/client").OperationMethod<{
37
+ readonly projectId: string;
37
38
  readonly cursor?: string | undefined;
38
39
  readonly limit?: number | undefined;
39
- readonly projectId: string;
40
40
  }, {
41
41
  readonly data: readonly {
42
- readonly createdAt: string;
43
42
  readonly id: string;
44
- readonly latestVersionId: string | null;
43
+ readonly type: string;
44
+ readonly url: string;
45
45
  readonly name: string;
46
- readonly projectId: string;
47
46
  readonly region: {
48
47
  readonly id: string;
49
48
  readonly name: string;
50
49
  };
50
+ readonly projectId: string;
51
+ readonly latestVersionId: string | null;
51
52
  readonly serviceEndpointDomain: string;
52
- readonly type: string;
53
- readonly url: string;
53
+ readonly createdAt: string;
54
54
  }[];
55
55
  readonly pagination: {
56
- readonly hasMore: boolean;
57
56
  readonly nextCursor: string | null;
57
+ readonly hasMore: boolean;
58
58
  };
59
59
  }, Forbidden | NotFound | UnprocessableEntity, any>;
60
60
  //# sourceMappingURL=getV1ProjectsByProjectIdComputeServices.d.ts.map
@@ -71,65 +71,65 @@ export type GetV1ProjectsByProjectIdDatabasesOutput = typeof GetV1ProjectsByProj
71
71
  * Returns databases for the given project.
72
72
  */
73
73
  export declare const getV1ProjectsByProjectIdDatabases: import("@distilled.cloud/core/client").OperationMethod<{
74
+ readonly projectId: string;
74
75
  readonly cursor?: string | undefined;
75
76
  readonly limit?: number | undefined;
76
- readonly projectId: string;
77
77
  }, {
78
78
  readonly data: readonly {
79
+ readonly id: string;
80
+ readonly type: string;
81
+ readonly url: string;
82
+ readonly name: string;
83
+ readonly status: "failure" | "provisioning" | "ready" | "recovering";
84
+ readonly createdAt: string;
85
+ readonly isDefault: boolean;
86
+ readonly defaultConnectionId: string | null;
79
87
  readonly connections: readonly {
88
+ readonly id: string;
89
+ readonly type: string;
90
+ readonly url: string;
91
+ readonly name: string;
80
92
  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;
93
+ readonly kind: "accelerate" | "postgres";
91
94
  readonly endpoints: {
92
- readonly accelerate?: {
95
+ readonly direct?: {
93
96
  readonly host: string;
94
97
  readonly port: number;
95
98
  } | undefined;
96
- readonly direct?: {
99
+ readonly pooled?: {
97
100
  readonly host: string;
98
101
  readonly port: number;
99
102
  } | undefined;
100
- readonly pooled?: {
103
+ readonly accelerate?: {
101
104
  readonly host: string;
102
105
  readonly port: number;
103
106
  } | undefined;
104
107
  };
105
- readonly id: string;
106
- readonly kind: "accelerate" | "postgres";
107
- readonly name: string;
108
- readonly type: string;
109
- readonly url: string;
108
+ readonly directConnection?: {
109
+ readonly host: string;
110
+ readonly pass: string;
111
+ readonly user: string;
112
+ } | null | undefined;
113
+ readonly database: {
114
+ readonly id: string;
115
+ readonly url: string;
116
+ readonly name: string;
117
+ };
110
118
  }[];
111
- readonly createdAt: string;
112
- readonly defaultConnectionId: string | null;
113
- readonly id: string;
114
- readonly isDefault: boolean;
115
- readonly name: string;
116
119
  readonly project: {
117
120
  readonly id: string;
118
- readonly name: string;
119
121
  readonly url: string;
122
+ readonly name: string;
120
123
  };
121
124
  readonly region: {
122
125
  readonly id: string;
123
126
  readonly name: string;
124
127
  } | null;
125
128
  readonly source: unknown;
126
- readonly status: "failure" | "provisioning" | "ready" | "recovering";
127
- readonly type: string;
128
- readonly url: string;
129
129
  }[];
130
130
  readonly pagination: {
131
- readonly hasMore: boolean;
132
131
  readonly nextCursor: string | null;
132
+ readonly hasMore: boolean;
133
133
  };
134
134
  }, NotFound | UnprocessableEntity, any>;
135
135
  //# sourceMappingURL=getV1ProjectsByProjectIdDatabases.d.ts.map
@@ -23,10 +23,10 @@ export declare const getV1Regions: import("@distilled.cloud/core/client").Operat
23
23
  }, {
24
24
  readonly data: readonly {
25
25
  readonly id: string;
26
+ readonly type: string;
26
27
  readonly name: string;
27
28
  readonly product: "accelerate" | "postgres";
28
29
  readonly status?: "available" | "unavailable" | undefined;
29
- readonly type: string;
30
30
  }[];
31
31
  }, never, any>;
32
32
  //# sourceMappingURL=getV1Regions.d.ts.map
@@ -17,8 +17,8 @@ export type GetV1RegionsAccelerateOutput = typeof GetV1RegionsAccelerateOutput.T
17
17
  export declare const getV1RegionsAccelerate: import("@distilled.cloud/core/client").OperationMethod<{}, {
18
18
  readonly data: readonly {
19
19
  readonly id: string;
20
- readonly name: string;
21
20
  readonly type: string;
21
+ readonly name: string;
22
22
  }[];
23
23
  }, never, any>;
24
24
  //# sourceMappingURL=getV1RegionsAccelerate.d.ts.map
@@ -18,9 +18,9 @@ export type GetV1RegionsPostgresOutput = typeof GetV1RegionsPostgresOutput.Type;
18
18
  export declare const getV1RegionsPostgres: import("@distilled.cloud/core/client").OperationMethod<{}, {
19
19
  readonly data: readonly {
20
20
  readonly id: string;
21
+ readonly type: string;
21
22
  readonly name: string;
22
23
  readonly status: "available" | "unavailable";
23
- readonly type: string;
24
24
  }[];
25
25
  }, never, any>;
26
26
  //# sourceMappingURL=getV1RegionsPostgres.d.ts.map
@@ -27,20 +27,20 @@ export type GetV1VersionsOutput = typeof GetV1VersionsOutput.Type;
27
27
  * Returns all compute versions the token has access to, ordered by creation time (newest first). Optionally filter by compute service ID. Supports cursor-based pagination.
28
28
  */
29
29
  export declare const getV1Versions: import("@distilled.cloud/core/client").OperationMethod<{
30
- readonly computeServiceId?: string | undefined;
31
30
  readonly cursor?: string | undefined;
32
31
  readonly limit?: number | undefined;
32
+ readonly computeServiceId?: string | undefined;
33
33
  }, {
34
34
  readonly data: readonly {
35
- readonly createdAt: string;
36
- readonly foundryVersionId: string;
37
35
  readonly id: string;
38
36
  readonly type: string;
39
37
  readonly url: string;
38
+ readonly foundryVersionId: string;
39
+ readonly createdAt: string;
40
40
  }[];
41
41
  readonly pagination: {
42
- readonly hasMore: boolean;
43
42
  readonly nextCursor: string | null;
43
+ readonly hasMore: boolean;
44
44
  };
45
45
  }, Forbidden | UnprocessableEntity, any>;
46
46
  //# sourceMappingURL=getV1Versions.d.ts.map
@@ -30,19 +30,19 @@ export declare const getV1VersionsByVersionId: import("@distilled.cloud/core/cli
30
30
  readonly versionId: string;
31
31
  }, {
32
32
  readonly data: {
33
- readonly createdAt: string;
33
+ readonly id: string;
34
+ readonly type: string;
35
+ readonly url: string;
36
+ readonly foundryVersionId: string;
37
+ readonly status: string;
38
+ readonly previewDomain: string | null;
34
39
  readonly envVars?: {
35
40
  readonly [x: string]: string;
36
41
  } | undefined;
37
- readonly foundryVersionId: string;
38
- readonly id: string;
39
42
  readonly portMapping?: {
40
43
  readonly http?: number | undefined;
41
44
  } | undefined;
42
- readonly previewDomain: string | null;
43
- readonly status: string;
44
- readonly type: string;
45
- readonly url: string;
45
+ readonly createdAt: string;
46
46
  };
47
47
  }, Forbidden | NotFound, any>;
48
48
  //# sourceMappingURL=getV1VersionsByVersionId.d.ts.map
@@ -28,15 +28,15 @@ export declare const getV1Workspaces: import("@distilled.cloud/core/client").Ope
28
28
  readonly limit?: number | undefined;
29
29
  }, {
30
30
  readonly data: readonly {
31
- readonly createdAt: string;
32
31
  readonly id: string;
33
- readonly name: string;
34
32
  readonly type: string;
35
33
  readonly url: string;
34
+ readonly name: string;
35
+ readonly createdAt: string;
36
36
  }[];
37
37
  readonly pagination: {
38
- readonly hasMore: boolean;
39
38
  readonly nextCursor: string | null;
39
+ readonly hasMore: boolean;
40
40
  };
41
41
  }, never, any>;
42
42
  //# sourceMappingURL=getV1Workspaces.d.ts.map
@@ -23,11 +23,11 @@ export declare const getV1WorkspacesById: import("@distilled.cloud/core/client")
23
23
  readonly id: string;
24
24
  }, {
25
25
  readonly data: {
26
- readonly createdAt: string;
27
26
  readonly id: string;
28
- readonly name: string;
29
27
  readonly type: string;
30
28
  readonly url: string;
29
+ readonly name: string;
30
+ readonly createdAt: string;
31
31
  };
32
32
  }, NotFound | UnprocessableEntity, any>;
33
33
  //# sourceMappingURL=getV1WorkspacesById.d.ts.map
@@ -35,29 +35,29 @@ export type GetV1WorkspacesByWorkspaceIdIntegrationsOutput = typeof GetV1Workspa
35
35
  * Returns integrations for the given workspace.
36
36
  */
37
37
  export declare const getV1WorkspacesByWorkspaceIdIntegrations: import("@distilled.cloud/core/client").OperationMethod<{
38
+ readonly workspaceId: string;
38
39
  readonly cursor?: string | undefined;
39
40
  readonly limit?: number | undefined;
40
- readonly workspaceId: string;
41
41
  }, {
42
42
  readonly data: readonly {
43
+ readonly id: string;
44
+ readonly url: string;
45
+ readonly createdAt: string;
46
+ readonly scopes: readonly string[];
43
47
  readonly client: {
44
- readonly createdAt: string;
45
48
  readonly id: string;
46
49
  readonly name: string;
50
+ readonly createdAt: string;
47
51
  };
48
- readonly createdAt: string;
49
52
  readonly createdByUser: {
50
- readonly displayName: string | null;
51
- readonly email: string;
52
53
  readonly id: string;
54
+ readonly email: string;
55
+ readonly displayName: string | null;
53
56
  };
54
- readonly id: string;
55
- readonly scopes: readonly string[];
56
- readonly url: string;
57
57
  }[];
58
58
  readonly pagination: {
59
- readonly hasMore: boolean;
60
59
  readonly nextCursor: string | null;
60
+ readonly hasMore: boolean;
61
61
  };
62
62
  }, NotFound | UnprocessableEntity, any>;
63
63
  //# sourceMappingURL=getV1WorkspacesByWorkspaceIdIntegrations.d.ts.map
@@ -33,18 +33,18 @@ export declare const patchV1ComputeServicesByComputeServiceId: import("@distille
33
33
  readonly displayName: string;
34
34
  }, {
35
35
  readonly data: {
36
- readonly createdAt: string;
37
36
  readonly id: string;
38
- readonly latestVersionId: string | null;
37
+ readonly type: string;
38
+ readonly url: string;
39
39
  readonly name: string;
40
- readonly projectId: string;
41
40
  readonly region: {
42
41
  readonly id: string;
43
42
  readonly name: string;
44
43
  };
44
+ readonly projectId: string;
45
+ readonly latestVersionId: string | null;
45
46
  readonly serviceEndpointDomain: string;
46
- readonly type: string;
47
- readonly url: string;
47
+ readonly createdAt: string;
48
48
  };
49
49
  }, Forbidden | NotFound | UnprocessableEntity, any>;
50
50
  //# sourceMappingURL=patchV1ComputeServicesByComputeServiceId.d.ts.map
@@ -70,56 +70,56 @@ export declare const patchV1DatabasesByDatabaseId: import("@distilled.cloud/core
70
70
  readonly name?: string | undefined;
71
71
  }, {
72
72
  readonly data: {
73
+ readonly id: string;
74
+ readonly type: string;
75
+ readonly url: string;
76
+ readonly name: string;
77
+ readonly status: "failure" | "provisioning" | "ready" | "recovering";
78
+ readonly createdAt: string;
79
+ readonly isDefault: boolean;
80
+ readonly defaultConnectionId: string | null;
73
81
  readonly connections: readonly {
82
+ readonly id: string;
83
+ readonly type: string;
84
+ readonly url: string;
85
+ readonly name: string;
74
86
  readonly createdAt: string;
75
- readonly database: {
76
- readonly id: string;
77
- readonly name: string;
78
- readonly url: string;
79
- };
80
- readonly directConnection?: {
81
- readonly host: string;
82
- readonly pass: string;
83
- readonly user: string;
84
- } | null | undefined;
87
+ readonly kind: "accelerate" | "postgres";
85
88
  readonly endpoints: {
86
- readonly accelerate?: {
89
+ readonly direct?: {
87
90
  readonly host: string;
88
91
  readonly port: number;
89
92
  } | undefined;
90
- readonly direct?: {
93
+ readonly pooled?: {
91
94
  readonly host: string;
92
95
  readonly port: number;
93
96
  } | undefined;
94
- readonly pooled?: {
97
+ readonly accelerate?: {
95
98
  readonly host: string;
96
99
  readonly port: number;
97
100
  } | undefined;
98
101
  };
99
- readonly id: string;
100
- readonly kind: "accelerate" | "postgres";
101
- readonly name: string;
102
- readonly type: string;
103
- readonly url: string;
102
+ readonly directConnection?: {
103
+ readonly host: string;
104
+ readonly pass: string;
105
+ readonly user: string;
106
+ } | null | undefined;
107
+ readonly database: {
108
+ readonly id: string;
109
+ readonly url: string;
110
+ readonly name: string;
111
+ };
104
112
  }[];
105
- readonly createdAt: string;
106
- readonly defaultConnectionId: string | null;
107
- readonly id: string;
108
- readonly isDefault: boolean;
109
- readonly name: string;
110
113
  readonly project: {
111
114
  readonly id: string;
112
- readonly name: string;
113
115
  readonly url: string;
116
+ readonly name: string;
114
117
  };
115
118
  readonly region: {
116
119
  readonly id: string;
117
120
  readonly name: string;
118
121
  } | null;
119
122
  readonly source: unknown;
120
- readonly status: "failure" | "provisioning" | "ready" | "recovering";
121
- readonly type: string;
122
- readonly url: string;
123
123
  };
124
124
  }, Forbidden | NotFound | UnprocessableEntity, any>;
125
125
  //# sourceMappingURL=patchV1DatabasesByDatabaseId.d.ts.map
@@ -35,16 +35,16 @@ export declare const patchV1ProjectsById: import("@distilled.cloud/core/client")
35
35
  } | undefined;
36
36
  }, {
37
37
  readonly data: {
38
- readonly createdAt: string;
39
- readonly defaultRegion: string | null;
40
38
  readonly id: string;
41
- readonly name: string;
42
39
  readonly type: string;
43
40
  readonly url: string;
41
+ readonly name: string;
42
+ readonly createdAt: string;
43
+ readonly defaultRegion: string | null;
44
44
  readonly workspace: {
45
45
  readonly id: string;
46
- readonly name: string;
47
46
  readonly url: string;
47
+ readonly name: string;
48
48
  };
49
49
  };
50
50
  }, Forbidden | NotFound | UnprocessableEntity, any>;
@@ -31,22 +31,22 @@ export type PostV1ComputeServicesOutput = typeof PostV1ComputeServicesOutput.Typ
31
31
  */
32
32
  export declare const postV1ComputeServices: import("@distilled.cloud/core/client").OperationMethod<{
33
33
  readonly displayName: string;
34
- readonly projectId: string;
35
34
  readonly regionId?: "ap-northeast-1" | "ap-southeast-1" | "eu-central-1" | "eu-west-3" | "us-east-1" | "us-west-1" | undefined;
35
+ readonly projectId: string;
36
36
  }, {
37
37
  readonly data: {
38
- readonly createdAt: string;
39
38
  readonly id: string;
40
- readonly latestVersionId: string | null;
39
+ readonly type: string;
40
+ readonly url: string;
41
41
  readonly name: string;
42
- readonly projectId: string;
43
42
  readonly region: {
44
43
  readonly id: string;
45
44
  readonly name: string;
46
45
  };
46
+ readonly projectId: string;
47
+ readonly latestVersionId: string | null;
47
48
  readonly serviceEndpointDomain: string;
48
- readonly type: string;
49
- readonly url: string;
49
+ readonly createdAt: string;
50
50
  };
51
51
  }, Forbidden | NotFound | UnprocessableEntity, any>;
52
52
  //# sourceMappingURL=postV1ComputeServices.d.ts.map
@@ -36,11 +36,11 @@ export declare const postV1ComputeServicesByComputeServiceIdVersions: import("@d
36
36
  readonly skipCodeUpload?: boolean | undefined;
37
37
  }, {
38
38
  readonly data: {
39
- readonly foundryVersionId: string;
40
39
  readonly id: string;
41
40
  readonly type: string;
42
- readonly uploadUrl: string | null;
43
41
  readonly url: string;
42
+ readonly foundryVersionId: string;
43
+ readonly uploadUrl: string | null;
44
44
  };
45
45
  }, Forbidden | NotFound | UnprocessableEntity, any>;
46
46
  //# sourceMappingURL=postV1ComputeServicesByComputeServiceIdVersions.d.ts.map
@@ -57,42 +57,42 @@ export declare const postV1Connections: import("@distilled.cloud/core/client").O
57
57
  readonly name: string;
58
58
  }, {
59
59
  readonly data: {
60
- readonly connectionString: string | import("effect/Redacted").Redacted<string>;
60
+ readonly id: string;
61
+ readonly type: string;
62
+ readonly url: string;
63
+ readonly name: string;
61
64
  readonly createdAt: string;
62
- readonly database: {
63
- readonly id: string;
64
- readonly name: string;
65
- readonly url: string;
66
- };
67
- readonly directConnection?: {
68
- readonly host: string;
69
- readonly pass: string;
70
- readonly user: string;
71
- } | null | undefined;
65
+ readonly kind: "accelerate" | "postgres";
72
66
  readonly endpoints: {
73
- readonly accelerate?: {
74
- readonly connectionString: string | import("effect/Redacted").Redacted<string>;
75
- readonly host: string;
76
- readonly port: number;
77
- } | undefined;
78
67
  readonly direct?: {
79
- readonly connectionString: string | import("effect/Redacted").Redacted<string>;
80
68
  readonly host: string;
81
69
  readonly port: number;
70
+ readonly connectionString: string | import("effect/Redacted").Redacted<string>;
82
71
  } | undefined;
83
72
  readonly pooled?: {
73
+ readonly host: string;
74
+ readonly port: number;
84
75
  readonly connectionString: string | import("effect/Redacted").Redacted<string>;
76
+ } | undefined;
77
+ readonly accelerate?: {
85
78
  readonly host: string;
86
79
  readonly port: number;
80
+ readonly connectionString: string | import("effect/Redacted").Redacted<string>;
87
81
  } | undefined;
88
82
  };
83
+ readonly connectionString: string | import("effect/Redacted").Redacted<string>;
84
+ readonly directConnection?: {
85
+ readonly host: string;
86
+ readonly pass: string;
87
+ readonly user: string;
88
+ } | null | undefined;
89
+ readonly database: {
90
+ readonly id: string;
91
+ readonly url: string;
92
+ readonly name: string;
93
+ };
89
94
  readonly host: string | null;
90
- readonly id: string;
91
- readonly kind: "accelerate" | "postgres";
92
- readonly name: string;
93
95
  readonly pass: string | null;
94
- readonly type: string;
95
- readonly url: string;
96
96
  readonly user: string | null;
97
97
  };
98
98
  }, NotFound | UnprocessableEntity, any>;
@@ -55,42 +55,42 @@ export declare const postV1ConnectionsByIdRotate: import("@distilled.cloud/core/
55
55
  readonly id: string;
56
56
  }, {
57
57
  readonly data: {
58
- readonly connectionString: string | import("effect/Redacted").Redacted<string>;
58
+ readonly id: string;
59
+ readonly type: string;
60
+ readonly url: string;
61
+ readonly name: string;
59
62
  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;
63
+ readonly kind: "accelerate" | "postgres";
70
64
  readonly endpoints: {
71
- readonly accelerate?: {
72
- readonly connectionString: string | import("effect/Redacted").Redacted<string>;
73
- readonly host: string;
74
- readonly port: number;
75
- } | undefined;
76
65
  readonly direct?: {
77
- readonly connectionString: string | import("effect/Redacted").Redacted<string>;
78
66
  readonly host: string;
79
67
  readonly port: number;
68
+ readonly connectionString: string | import("effect/Redacted").Redacted<string>;
80
69
  } | undefined;
81
70
  readonly pooled?: {
71
+ readonly host: string;
72
+ readonly port: number;
82
73
  readonly connectionString: string | import("effect/Redacted").Redacted<string>;
74
+ } | undefined;
75
+ readonly accelerate?: {
83
76
  readonly host: string;
84
77
  readonly port: number;
78
+ readonly connectionString: string | import("effect/Redacted").Redacted<string>;
85
79
  } | undefined;
86
80
  };
81
+ readonly connectionString: string | import("effect/Redacted").Redacted<string>;
82
+ readonly directConnection?: {
83
+ readonly host: string;
84
+ readonly pass: string;
85
+ readonly user: string;
86
+ } | null | undefined;
87
+ readonly database: {
88
+ readonly id: string;
89
+ readonly url: string;
90
+ readonly name: string;
91
+ };
87
92
  readonly host: string | null;
88
- readonly id: string;
89
- readonly kind: "accelerate" | "postgres";
90
- readonly name: string;
91
93
  readonly pass: string | null;
92
- readonly type: string;
93
- readonly url: string;
94
94
  readonly user: string | null;
95
95
  };
96
96
  }, NotFound, any>;