@distilled.cloud/neon 0.19.2 → 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 (124) hide show
  1. package/lib/operations/acceptProjectTransferRequest.d.ts +1 -1
  2. package/lib/operations/addBranchNeonAuthOauthProvider.d.ts +4 -4
  3. package/lib/operations/addBranchNeonAuthTrustedDomain.d.ts +2 -2
  4. package/lib/operations/addProjectJWKS.d.ts +14 -14
  5. package/lib/operations/assignOrganizationVPCEndpoint.d.ts +1 -1
  6. package/lib/operations/assignProjectVPCEndpoint.d.ts +1 -1
  7. package/lib/operations/createApiKey.d.ts +2 -2
  8. package/lib/operations/createBranchNeonAuthNewUser.d.ts +1 -1
  9. package/lib/operations/createNeonAuth.d.ts +5 -5
  10. package/lib/operations/createNeonAuthProviderSDKKeys.d.ts +4 -4
  11. package/lib/operations/createOrgApiKey.d.ts +3 -3
  12. package/lib/operations/createOrganizationInvitations.d.ts +4 -4
  13. package/lib/operations/createProject.d.ts +187 -187
  14. package/lib/operations/createProjectBranch.d.ts +91 -91
  15. package/lib/operations/createProjectBranchAnonymized.d.ts +91 -91
  16. package/lib/operations/createProjectBranchDataAPI.d.ts +6 -6
  17. package/lib/operations/createProjectBranchDatabase.d.ts +9 -9
  18. package/lib/operations/createProjectBranchRole.d.ts +16 -16
  19. package/lib/operations/createProjectEndpoint.d.ts +36 -36
  20. package/lib/operations/createProjectTransferRequest.d.ts +2 -2
  21. package/lib/operations/createSnapshot.d.ts +21 -21
  22. package/lib/operations/deleteBranchNeonAuthOauthProvider.d.ts +1 -1
  23. package/lib/operations/deleteBranchNeonAuthTrustedDomain.d.ts +2 -2
  24. package/lib/operations/deleteBranchNeonAuthUser.d.ts +2 -2
  25. package/lib/operations/deleteProject.d.ts +48 -48
  26. package/lib/operations/deleteProjectBranch.d.ts +34 -34
  27. package/lib/operations/deleteProjectBranchDataAPI.d.ts +1 -1
  28. package/lib/operations/deleteProjectBranchDatabase.d.ts +9 -9
  29. package/lib/operations/deleteProjectBranchRole.d.ts +16 -16
  30. package/lib/operations/deleteProjectEndpoint.d.ts +26 -26
  31. package/lib/operations/deleteProjectJWKS.d.ts +6 -6
  32. package/lib/operations/disableNeonAuth.d.ts +1 -1
  33. package/lib/operations/finalizeRestoreBranch.d.ts +7 -7
  34. package/lib/operations/getActiveRegions.d.ts +2 -2
  35. package/lib/operations/getAnonymizedBranchStatus.d.ts +7 -7
  36. package/lib/operations/getAuthDetails.d.ts +1 -1
  37. package/lib/operations/getAvailablePreloadLibraries.d.ts +1 -1
  38. package/lib/operations/getConnectionURI.d.ts +3 -3
  39. package/lib/operations/getConsumptionHistoryPerAccount.d.ts +10 -10
  40. package/lib/operations/getConsumptionHistoryPerProject.d.ts +16 -16
  41. package/lib/operations/getConsumptionHistoryPerProjectV2.d.ts +14 -14
  42. package/lib/operations/getCurrentUserInfo.d.ts +29 -29
  43. package/lib/operations/getCurrentUserOrganizations.d.ts +5 -5
  44. package/lib/operations/getMaskingRules.d.ts +4 -4
  45. package/lib/operations/getNeonAuth.d.ts +5 -5
  46. package/lib/operations/getNeonAuthAllowLocalhost.d.ts +1 -1
  47. package/lib/operations/getNeonAuthEmailAndPasswordConfig.d.ts +5 -5
  48. package/lib/operations/getNeonAuthEmailProvider.d.ts +1 -1
  49. package/lib/operations/getNeonAuthPhoneNumberPlugin.d.ts +2 -2
  50. package/lib/operations/getNeonAuthPluginConfigs.d.ts +25 -25
  51. package/lib/operations/getNeonAuthWebhookConfig.d.ts +2 -2
  52. package/lib/operations/getOrganization.d.ts +5 -5
  53. package/lib/operations/getOrganizationInvitations.d.ts +3 -3
  54. package/lib/operations/getOrganizationMember.d.ts +3 -3
  55. package/lib/operations/getOrganizationMembers.d.ts +5 -5
  56. package/lib/operations/getOrganizationVPCEndpointDetails.d.ts +3 -3
  57. package/lib/operations/getProject.d.ts +48 -48
  58. package/lib/operations/getProjectAdvisorSecurityIssues.d.ts +8 -8
  59. package/lib/operations/getProjectBranch.d.ts +39 -39
  60. package/lib/operations/getProjectBranchDataAPI.d.ts +5 -5
  61. package/lib/operations/getProjectBranchDatabase.d.ts +3 -3
  62. package/lib/operations/getProjectBranchRole.d.ts +3 -3
  63. package/lib/operations/getProjectBranchRolePassword.d.ts +1 -1
  64. package/lib/operations/getProjectBranchSchema.d.ts +9 -9
  65. package/lib/operations/getProjectBranchSchemaComparison.d.ts +4 -4
  66. package/lib/operations/getProjectEndpoint.d.ts +20 -20
  67. package/lib/operations/getProjectJWKS.d.ts +5 -5
  68. package/lib/operations/getProjectOperation.d.ts +7 -7
  69. package/lib/operations/getSnapshotSchedule.d.ts +2 -2
  70. package/lib/operations/grantPermissionToProject.d.ts +3 -3
  71. package/lib/operations/listApiKeys.d.ts +3 -3
  72. package/lib/operations/listBranchNeonAuthOauthProviders.d.ts +3 -3
  73. package/lib/operations/listBranchNeonAuthTrustedDomains.d.ts +2 -2
  74. package/lib/operations/listOrgApiKeys.d.ts +3 -3
  75. package/lib/operations/listOrganizationVPCEndpoints.d.ts +1 -1
  76. package/lib/operations/listOrganizationVPCEndpointsAllRegions.d.ts +1 -1
  77. package/lib/operations/listProjectBranchDatabases.d.ts +3 -3
  78. package/lib/operations/listProjectBranchEndpoints.d.ts +20 -20
  79. package/lib/operations/listProjectBranchRoles.d.ts +3 -3
  80. package/lib/operations/listProjectBranches.d.ts +43 -43
  81. package/lib/operations/listProjectEndpoints.d.ts +19 -19
  82. package/lib/operations/listProjectOperations.d.ts +7 -7
  83. package/lib/operations/listProjectPermissions.d.ts +2 -2
  84. package/lib/operations/listProjectVPCEndpoints.d.ts +1 -1
  85. package/lib/operations/listProjects.d.ts +51 -51
  86. package/lib/operations/listSharedProjects.d.ts +43 -43
  87. package/lib/operations/listSnapshots.d.ts +7 -7
  88. package/lib/operations/recoverProject.d.ts +90 -90
  89. package/lib/operations/recoverProjectBranch.d.ts +47 -47
  90. package/lib/operations/removeOrganizationMember.d.ts +1 -1
  91. package/lib/operations/resetProjectBranchRolePassword.d.ts +16 -16
  92. package/lib/operations/restartProjectEndpoint.d.ts +26 -26
  93. package/lib/operations/restoreProjectBranch.d.ts +35 -35
  94. package/lib/operations/restoreSnapshot.d.ts +54 -54
  95. package/lib/operations/revokeApiKey.d.ts +2 -2
  96. package/lib/operations/revokeOrgApiKey.d.ts +4 -4
  97. package/lib/operations/revokePermissionFromProject.d.ts +3 -3
  98. package/lib/operations/sendNeonAuthTestEmail.d.ts +5 -5
  99. package/lib/operations/setDefaultProjectBranch.d.ts +34 -34
  100. package/lib/operations/setSnapshotSchedule.d.ts +2 -2
  101. package/lib/operations/startAnonymization.d.ts +7 -7
  102. package/lib/operations/startProjectEndpoint.d.ts +26 -26
  103. package/lib/operations/suspendProjectEndpoint.d.ts +26 -26
  104. package/lib/operations/transferNeonAuthProviderProject.d.ts +1 -1
  105. package/lib/operations/transferProjectsFromOrgToOrg.d.ts +1 -1
  106. package/lib/operations/updateBranchNeonAuthOauthProvider.d.ts +4 -4
  107. package/lib/operations/updateMaskingRules.d.ts +7 -7
  108. package/lib/operations/updateNeonAuthAllowLocalhost.d.ts +2 -2
  109. package/lib/operations/updateNeonAuthConfig.d.ts +1 -1
  110. package/lib/operations/updateNeonAuthEmailAndPasswordConfig.d.ts +9 -9
  111. package/lib/operations/updateNeonAuthEmailProvider.d.ts +1 -1
  112. package/lib/operations/updateNeonAuthMagicLinkPlugin.d.ts +3 -3
  113. package/lib/operations/updateNeonAuthOrganizationPlugin.d.ts +5 -5
  114. package/lib/operations/updateNeonAuthPhoneNumberPlugin.d.ts +3 -3
  115. package/lib/operations/updateNeonAuthUserRole.d.ts +2 -2
  116. package/lib/operations/updateNeonAuthWebhookConfig.d.ts +3 -3
  117. package/lib/operations/updateOrganizationMember.d.ts +3 -3
  118. package/lib/operations/updateProject.d.ts +89 -89
  119. package/lib/operations/updateProjectBranch.d.ts +36 -36
  120. package/lib/operations/updateProjectBranchDataAPI.d.ts +2 -2
  121. package/lib/operations/updateProjectBranchDatabase.d.ts +10 -10
  122. package/lib/operations/updateProjectEndpoint.d.ts +35 -35
  123. package/lib/operations/updateSnapshot.d.ts +8 -8
  124. package/package.json +3 -3
@@ -57,30 +57,21 @@ export type GetProjectEndpointOutput = typeof GetProjectEndpointOutput.Type;
57
57
  * @param endpoint_id - The endpoint ID
58
58
  */
59
59
  export declare const getProjectEndpoint: import("@distilled.cloud/core/client").OperationMethod<{
60
- readonly endpoint_id: string;
61
60
  readonly project_id: string;
61
+ readonly endpoint_id: string;
62
62
  }, {
63
63
  readonly endpoint: {
64
- readonly autoscaling_limit_max_cu: number;
65
- readonly autoscaling_limit_min_cu: number;
66
- readonly branch_id: string;
67
- readonly compute_release_version?: string | undefined;
68
- readonly created_at: string;
69
- readonly creation_source: string;
70
- readonly current_state: "active" | "idle" | "init";
71
- readonly disabled: boolean;
72
64
  readonly host: string;
73
65
  readonly id: string;
74
- readonly last_active?: string | undefined;
75
66
  readonly name?: string | undefined;
76
- readonly passwordless_access: boolean;
77
- readonly pending_state?: "active" | "idle" | "init" | undefined;
78
- readonly pooler_enabled: boolean;
79
- readonly pooler_mode: "transaction";
80
67
  readonly project_id: string;
81
- readonly provisioner: string;
82
- readonly proxy_host: string;
68
+ readonly branch_id: string;
69
+ readonly autoscaling_limit_min_cu: number;
70
+ readonly autoscaling_limit_max_cu: number;
83
71
  readonly region_id: string;
72
+ readonly type: "read_only" | "read_write";
73
+ readonly current_state: "active" | "idle" | "init";
74
+ readonly pending_state?: "active" | "idle" | "init" | undefined;
84
75
  readonly settings: {
85
76
  readonly pg_settings?: {
86
77
  readonly [x: string]: string;
@@ -89,15 +80,24 @@ export declare const getProjectEndpoint: import("@distilled.cloud/core/client").
89
80
  readonly [x: string]: string;
90
81
  } | undefined;
91
82
  readonly preload_libraries?: {
92
- readonly enabled_libraries?: readonly string[] | undefined;
93
83
  readonly use_defaults?: boolean | undefined;
84
+ readonly enabled_libraries?: readonly string[] | undefined;
94
85
  } | undefined;
95
86
  };
87
+ readonly pooler_enabled: boolean;
88
+ readonly pooler_mode: "transaction";
89
+ readonly disabled: boolean;
90
+ readonly passwordless_access: boolean;
91
+ readonly last_active?: string | undefined;
92
+ readonly creation_source: string;
93
+ readonly created_at: string;
94
+ readonly updated_at: string;
96
95
  readonly started_at?: string | undefined;
97
- readonly suspend_timeout_seconds: number;
98
96
  readonly suspended_at?: string | undefined;
99
- readonly type: "read_only" | "read_write";
100
- readonly updated_at: string;
97
+ readonly proxy_host: string;
98
+ readonly suspend_timeout_seconds: number;
99
+ readonly provisioner: string;
100
+ readonly compute_release_version?: string | undefined;
101
101
  };
102
102
  }, NotFound, import("../credentials.ts").Credentials>;
103
103
  //# sourceMappingURL=getProjectEndpoint.d.ts.map
@@ -28,15 +28,15 @@ export declare const getProjectJWKS: import("@distilled.cloud/core/client").Oper
28
28
  readonly project_id: string;
29
29
  }, {
30
30
  readonly jwks: readonly {
31
- readonly branch_id?: string | undefined;
32
- readonly created_at: string;
33
31
  readonly id: string;
34
- readonly jwks_url: string;
35
- readonly jwt_audience?: string | undefined;
36
32
  readonly project_id: string;
33
+ readonly branch_id?: string | undefined;
34
+ readonly jwks_url: string;
37
35
  readonly provider_name: string;
38
- readonly role_names?: readonly string[] | undefined;
36
+ readonly created_at: string;
39
37
  readonly updated_at: string;
38
+ readonly jwt_audience?: string | undefined;
39
+ readonly role_names?: readonly string[] | undefined;
40
40
  }[];
41
41
  }, never, import("../credentials.ts").Credentials>;
42
42
  //# sourceMappingURL=getProjectJWKS.d.ts.map
@@ -34,22 +34,22 @@ export type GetProjectOperationOutput = typeof GetProjectOperationOutput.Type;
34
34
  * @param operation_id - The operation ID
35
35
  */
36
36
  export declare const getProjectOperation: import("@distilled.cloud/core/client").OperationMethod<{
37
- readonly operation_id: string;
38
37
  readonly project_id: string;
38
+ readonly operation_id: string;
39
39
  }, {
40
40
  readonly operation: {
41
- readonly action: "apply_config" | "apply_schema_from_branch" | "apply_storage_config" | "check_availability" | "create_branch" | "create_compute" | "create_timeline" | "delete_timeline" | "detach_parent_branch" | "disable_maintenance" | "finalize_migration" | "import_data" | "mark_migration_prepared" | "prepare_secondary_pageserver" | "prewarm_replica" | "promote_replica" | "replace_safekeeper" | "set_storage_non_dirty" | "start_compute" | "start_reserved_compute" | "suspend_compute" | "swap_binding_id" | "switch_pageserver" | "sync_dbs_and_roles_from_compute" | "tenant_attach" | "tenant_detach" | "tenant_ignore" | "tenant_reattach" | "timeline_archive" | "timeline_mark_invisible" | "timeline_unarchive" | "timeline_update_protected_config";
41
+ readonly id: string;
42
+ readonly project_id: string;
42
43
  readonly branch_id?: string | undefined;
43
- readonly created_at: string;
44
44
  readonly endpoint_id?: string | undefined;
45
+ readonly action: "apply_config" | "apply_schema_from_branch" | "apply_storage_config" | "check_availability" | "create_branch" | "create_compute" | "create_timeline" | "delete_timeline" | "detach_parent_branch" | "disable_maintenance" | "finalize_migration" | "import_data" | "mark_migration_prepared" | "prepare_secondary_pageserver" | "prewarm_replica" | "promote_replica" | "replace_safekeeper" | "set_storage_non_dirty" | "start_compute" | "start_reserved_compute" | "suspend_compute" | "swap_binding_id" | "switch_pageserver" | "sync_dbs_and_roles_from_compute" | "tenant_attach" | "tenant_detach" | "tenant_ignore" | "tenant_reattach" | "timeline_archive" | "timeline_mark_invisible" | "timeline_unarchive" | "timeline_update_protected_config";
46
+ readonly status: "cancelled" | "cancelling" | "error" | "failed" | "finished" | "running" | "scheduling" | "skipped";
45
47
  readonly error?: string | undefined;
46
48
  readonly failures_count: number;
47
- readonly id: string;
48
- readonly project_id: string;
49
49
  readonly retry_at?: string | undefined;
50
- readonly status: "cancelled" | "cancelling" | "error" | "failed" | "finished" | "running" | "scheduling" | "skipped";
51
- readonly total_duration_ms: number;
50
+ readonly created_at: string;
52
51
  readonly updated_at: string;
52
+ readonly total_duration_ms: number;
53
53
  };
54
54
  }, NotFound, import("../credentials.ts").Credentials>;
55
55
  //# sourceMappingURL=getProjectOperation.d.ts.map
@@ -24,13 +24,13 @@ export type GetSnapshotScheduleOutput = typeof GetSnapshotScheduleOutput.Type;
24
24
  * @param branch_id - The branch ID
25
25
  */
26
26
  export declare const getSnapshotSchedule: import("@distilled.cloud/core/client").OperationMethod<{
27
- readonly branch_id: string;
28
27
  readonly project_id: string;
28
+ readonly branch_id: string;
29
29
  }, {
30
30
  readonly schedule: readonly {
31
- readonly day?: number | undefined;
32
31
  readonly frequency: string;
33
32
  readonly hour?: number | undefined;
33
+ readonly day?: number | undefined;
34
34
  readonly month?: number | undefined;
35
35
  readonly retention_seconds?: number | undefined;
36
36
  }[];
@@ -17,12 +17,12 @@ export type GrantPermissionToProjectOutput = typeof GrantPermissionToProjectOutp
17
17
  * Grants project access to the account associated with the specified email address
18
18
  */
19
19
  export declare const grantPermissionToProject: import("@distilled.cloud/core/client").OperationMethod<{
20
- readonly email: string;
21
20
  readonly project_id: string;
21
+ readonly email: string;
22
22
  }, {
23
- readonly granted_at: string;
24
- readonly granted_to_email: string;
25
23
  readonly id: string;
24
+ readonly granted_to_email: string;
25
+ readonly granted_at: string;
26
26
  readonly revoked_at?: string | undefined;
27
27
  }, never, import("../credentials.ts").Credentials>;
28
28
  //# sourceMappingURL=grantPermissionToProject.d.ts.map
@@ -23,15 +23,15 @@ export type ListApiKeysOutput = typeof ListApiKeysOutput.Type;
23
23
  * For more information, see [Manage API keys](https://neon.tech/docs/manage/api-keys/).
24
24
  */
25
25
  export declare const listApiKeys: import("@distilled.cloud/core/client").OperationMethod<{}, readonly {
26
+ readonly id: number;
27
+ readonly name: string;
26
28
  readonly created_at: string;
27
29
  readonly created_by: {
28
30
  readonly id: string;
29
- readonly image: string;
30
31
  readonly name: string;
32
+ readonly image: string;
31
33
  };
32
- readonly id: number;
33
34
  readonly last_used_at?: string | null | undefined;
34
35
  readonly last_used_from_addr: string;
35
- readonly name: string;
36
36
  }[], never, import("../credentials.ts").Credentials>;
37
37
  //# sourceMappingURL=listApiKeys.d.ts.map
@@ -22,14 +22,14 @@ export type ListBranchNeonAuthOauthProvidersOutput = typeof ListBranchNeonAuthOa
22
22
  * @param branch_id - The Neon branch ID
23
23
  */
24
24
  export declare const listBranchNeonAuthOauthProviders: import("@distilled.cloud/core/client").OperationMethod<{
25
- readonly branch_id: string;
26
25
  readonly project_id: string;
26
+ readonly branch_id: string;
27
27
  }, {
28
28
  readonly providers: readonly {
29
- readonly client_id?: string | undefined;
30
- readonly client_secret?: string | import("effect/Redacted").Redacted<string> | undefined;
31
29
  readonly id: "github" | "google" | "microsoft" | "vercel";
32
30
  readonly type: "shared" | "standard";
31
+ readonly client_id?: string | undefined;
32
+ readonly client_secret?: string | import("effect/Redacted").Redacted<string> | undefined;
33
33
  }[];
34
34
  }, never, import("../credentials.ts").Credentials>;
35
35
  //# sourceMappingURL=listBranchNeonAuthOauthProviders.d.ts.map
@@ -20,12 +20,12 @@ export type ListBranchNeonAuthTrustedDomainsOutput = typeof ListBranchNeonAuthTr
20
20
  * @param branch_id - The Neon branch ID
21
21
  */
22
22
  export declare const listBranchNeonAuthTrustedDomains: import("@distilled.cloud/core/client").OperationMethod<{
23
- readonly branch_id: string;
24
23
  readonly project_id: string;
24
+ readonly branch_id: string;
25
25
  }, {
26
26
  readonly domains: readonly {
27
- readonly auth_provider: "better_auth" | "mock" | "stack" | "stack_v2";
28
27
  readonly domain: string;
28
+ readonly auth_provider: "better_auth" | "mock" | "stack" | "stack_v2";
29
29
  }[];
30
30
  }, never, import("../credentials.ts").Credentials>;
31
31
  //# sourceMappingURL=listBranchNeonAuthTrustedDomains.d.ts.map
@@ -30,16 +30,16 @@ export type ListOrgApiKeysOutput = typeof ListOrgApiKeysOutput.Type;
30
30
  export declare const listOrgApiKeys: import("@distilled.cloud/core/client").OperationMethod<{
31
31
  readonly org_id: string;
32
32
  }, readonly {
33
+ readonly id: number;
34
+ readonly name: string;
33
35
  readonly created_at: string;
34
36
  readonly created_by: {
35
37
  readonly id: string;
36
- readonly image: string;
37
38
  readonly name: string;
39
+ readonly image: string;
38
40
  };
39
- readonly id: number;
40
41
  readonly last_used_at?: string | null | undefined;
41
42
  readonly last_used_from_addr: string;
42
- readonly name: string;
43
43
  readonly project_id?: string | undefined;
44
44
  }[], never, import("../credentials.ts").Credentials>;
45
45
  //# sourceMappingURL=listOrgApiKeys.d.ts.map
@@ -24,8 +24,8 @@ export declare const listOrganizationVPCEndpoints: import("@distilled.cloud/core
24
24
  readonly region_id: string;
25
25
  }, {
26
26
  readonly endpoints: readonly {
27
- readonly label: string;
28
27
  readonly vpc_endpoint_id: string;
28
+ readonly label: string;
29
29
  }[];
30
30
  }, never, import("../credentials.ts").Credentials>;
31
31
  //# sourceMappingURL=listOrganizationVPCEndpoints.d.ts.map
@@ -22,9 +22,9 @@ export declare const listOrganizationVPCEndpointsAllRegions: import("@distilled.
22
22
  readonly org_id: string;
23
23
  }, {
24
24
  readonly endpoints: readonly {
25
+ readonly vpc_endpoint_id: string;
25
26
  readonly label: string;
26
27
  readonly region_id: string;
27
- readonly vpc_endpoint_id: string;
28
28
  }[];
29
29
  }, never, import("../credentials.ts").Credentials>;
30
30
  //# sourceMappingURL=listOrganizationVPCEndpointsAllRegions.d.ts.map
@@ -29,15 +29,15 @@ export type ListProjectBranchDatabasesOutput = typeof ListProjectBranchDatabases
29
29
  * @param branch_id - The branch ID
30
30
  */
31
31
  export declare const listProjectBranchDatabases: import("@distilled.cloud/core/client").OperationMethod<{
32
- readonly branch_id: string;
33
32
  readonly project_id: string;
33
+ readonly branch_id: string;
34
34
  }, {
35
35
  readonly databases: readonly {
36
- readonly branch_id: string;
37
- readonly created_at: string;
38
36
  readonly id: number;
37
+ readonly branch_id: string;
39
38
  readonly name: string;
40
39
  readonly owner_name: string;
40
+ readonly created_at: string;
41
41
  readonly updated_at: string;
42
42
  }[];
43
43
  }, NotFound, import("../credentials.ts").Credentials>;
@@ -56,30 +56,21 @@ export type ListProjectBranchEndpointsOutput = typeof ListProjectBranchEndpoints
56
56
  * @param branch_id - The branch ID
57
57
  */
58
58
  export declare const listProjectBranchEndpoints: import("@distilled.cloud/core/client").OperationMethod<{
59
- readonly branch_id: string;
60
59
  readonly project_id: string;
60
+ readonly branch_id: string;
61
61
  }, {
62
62
  readonly endpoints: readonly {
63
- readonly autoscaling_limit_max_cu: number;
64
- readonly autoscaling_limit_min_cu: number;
65
- readonly branch_id: string;
66
- readonly compute_release_version?: string | undefined;
67
- readonly created_at: string;
68
- readonly creation_source: string;
69
- readonly current_state: "active" | "idle" | "init";
70
- readonly disabled: boolean;
71
63
  readonly host: string;
72
64
  readonly id: string;
73
- readonly last_active?: string | undefined;
74
65
  readonly name?: string | undefined;
75
- readonly passwordless_access: boolean;
76
- readonly pending_state?: "active" | "idle" | "init" | undefined;
77
- readonly pooler_enabled: boolean;
78
- readonly pooler_mode: "transaction";
79
66
  readonly project_id: string;
80
- readonly provisioner: string;
81
- readonly proxy_host: string;
67
+ readonly branch_id: string;
68
+ readonly autoscaling_limit_min_cu: number;
69
+ readonly autoscaling_limit_max_cu: number;
82
70
  readonly region_id: string;
71
+ readonly type: "read_only" | "read_write";
72
+ readonly current_state: "active" | "idle" | "init";
73
+ readonly pending_state?: "active" | "idle" | "init" | undefined;
83
74
  readonly settings: {
84
75
  readonly pg_settings?: {
85
76
  readonly [x: string]: string;
@@ -88,15 +79,24 @@ export declare const listProjectBranchEndpoints: import("@distilled.cloud/core/c
88
79
  readonly [x: string]: string;
89
80
  } | undefined;
90
81
  readonly preload_libraries?: {
91
- readonly enabled_libraries?: readonly string[] | undefined;
92
82
  readonly use_defaults?: boolean | undefined;
83
+ readonly enabled_libraries?: readonly string[] | undefined;
93
84
  } | undefined;
94
85
  };
86
+ readonly pooler_enabled: boolean;
87
+ readonly pooler_mode: "transaction";
88
+ readonly disabled: boolean;
89
+ readonly passwordless_access: boolean;
90
+ readonly last_active?: string | undefined;
91
+ readonly creation_source: string;
92
+ readonly created_at: string;
93
+ readonly updated_at: string;
95
94
  readonly started_at?: string | undefined;
96
- readonly suspend_timeout_seconds: number;
97
95
  readonly suspended_at?: string | undefined;
98
- readonly type: "read_only" | "read_write";
99
- readonly updated_at: string;
96
+ readonly proxy_host: string;
97
+ readonly suspend_timeout_seconds: number;
98
+ readonly provisioner: string;
99
+ readonly compute_release_version?: string | undefined;
100
100
  }[];
101
101
  }, NotFound, import("../credentials.ts").Credentials>;
102
102
  //# sourceMappingURL=listProjectBranchEndpoints.d.ts.map
@@ -29,16 +29,16 @@ export type ListProjectBranchRolesOutput = typeof ListProjectBranchRolesOutput.T
29
29
  * @param branch_id - The branch ID
30
30
  */
31
31
  export declare const listProjectBranchRoles: import("@distilled.cloud/core/client").OperationMethod<{
32
- readonly branch_id: string;
33
32
  readonly project_id: string;
33
+ readonly branch_id: string;
34
34
  }, {
35
35
  readonly roles: readonly {
36
- readonly authentication_method?: string | undefined;
37
36
  readonly branch_id: string;
38
- readonly created_at: string;
39
37
  readonly name: string;
40
38
  readonly password?: string | import("effect/Redacted").Redacted<string> | undefined;
41
39
  readonly protected?: boolean | undefined;
40
+ readonly authentication_method?: string | undefined;
41
+ readonly created_at: string;
42
42
  readonly updated_at: string;
43
43
  }[];
44
44
  }, NotFound, import("../credentials.ts").Credentials>;
@@ -94,70 +94,70 @@ This parameter is part of the Branch Recovery feature, which is in preview and n
94
94
 
95
95
  */
96
96
  export declare const listProjectBranches: import("@distilled.cloud/core/client").PaginatedOperationMethod<{
97
- readonly cursor?: string | undefined;
98
- readonly include_deleted?: boolean | undefined;
99
- readonly limit?: number | undefined;
100
97
  readonly project_id: string;
101
98
  readonly search?: string | undefined;
102
99
  readonly sort_by?: "created_at" | "name" | "updated_at" | undefined;
100
+ readonly cursor?: string | undefined;
103
101
  readonly sort_order?: "asc" | "desc" | undefined;
102
+ readonly limit?: number | undefined;
103
+ readonly include_deleted?: boolean | undefined;
104
104
  }, {
105
- readonly annotations: {
106
- readonly [x: string]: {
107
- readonly created_at?: string | undefined;
108
- readonly object: {
109
- readonly id: string;
110
- readonly type: string;
111
- };
112
- readonly updated_at?: string | undefined;
113
- readonly value: {
114
- readonly [x: string]: string;
115
- };
116
- };
117
- };
118
105
  readonly branches: readonly {
119
- readonly active_time_seconds: number;
120
- readonly compute_time_seconds: number;
121
- readonly cpu_used_sec: number;
122
- readonly created_at: string;
123
- readonly created_by?: {
124
- readonly image?: string | undefined;
125
- readonly name?: string | undefined;
126
- } | undefined;
127
- readonly creation_source: string;
128
- readonly current_state: string;
129
- readonly data_transfer_bytes: number;
130
- readonly default: boolean;
131
- readonly expires_at?: string | undefined;
132
106
  readonly id: string;
133
- readonly init_source?: string | undefined;
134
- readonly last_reset_at?: string | undefined;
135
- readonly logical_size?: number | undefined;
136
- readonly name: string;
107
+ readonly project_id: string;
137
108
  readonly parent_id?: string | undefined;
138
109
  readonly parent_lsn?: string | undefined;
139
110
  readonly parent_timestamp?: string | undefined;
111
+ readonly name: string;
112
+ readonly current_state: string;
140
113
  readonly pending_state?: string | undefined;
114
+ readonly state_changed_at: string;
115
+ readonly logical_size?: number | undefined;
116
+ readonly creation_source: string;
141
117
  readonly primary?: boolean | undefined;
142
- readonly project_id: string;
118
+ readonly default: boolean;
143
119
  readonly protected: boolean;
144
- readonly recovery?: {
145
- readonly deleted_at: string;
146
- readonly deletion_method: "ttl" | "user";
147
- readonly recoverable_until: string;
120
+ readonly cpu_used_sec: number;
121
+ readonly compute_time_seconds: number;
122
+ readonly active_time_seconds: number;
123
+ readonly written_data_bytes: number;
124
+ readonly data_transfer_bytes: number;
125
+ readonly created_at: string;
126
+ readonly updated_at: string;
127
+ readonly ttl_interval_seconds?: number | undefined;
128
+ readonly expires_at?: string | undefined;
129
+ readonly last_reset_at?: string | undefined;
130
+ readonly created_by?: {
131
+ readonly name?: string | undefined;
132
+ readonly image?: string | undefined;
148
133
  } | undefined;
134
+ readonly init_source?: string | undefined;
149
135
  readonly restore_status?: string | undefined;
150
- readonly restored_as?: string | undefined;
151
136
  readonly restored_from?: string | undefined;
137
+ readonly restored_as?: string | undefined;
152
138
  readonly restricted_actions?: readonly {
153
139
  readonly name: string;
154
140
  readonly reason: string;
155
141
  }[] | undefined;
156
- readonly state_changed_at: string;
157
- readonly ttl_interval_seconds?: number | undefined;
158
- readonly updated_at: string;
159
- readonly written_data_bytes: number;
142
+ readonly recovery?: {
143
+ readonly deleted_at: string;
144
+ readonly recoverable_until: string;
145
+ readonly deletion_method: "ttl" | "user";
146
+ } | undefined;
160
147
  }[];
148
+ readonly annotations: {
149
+ readonly [x: string]: {
150
+ readonly object: {
151
+ readonly type: string;
152
+ readonly id: string;
153
+ };
154
+ readonly value: {
155
+ readonly [x: string]: string;
156
+ };
157
+ readonly created_at?: string | undefined;
158
+ readonly updated_at?: string | undefined;
159
+ };
160
+ };
161
161
  readonly pagination?: {
162
162
  readonly next?: string | undefined;
163
163
  readonly sort_by?: string | undefined;
@@ -56,26 +56,17 @@ export declare const listProjectEndpoints: import("@distilled.cloud/core/client"
56
56
  readonly project_id: string;
57
57
  }, {
58
58
  readonly endpoints: readonly {
59
- readonly autoscaling_limit_max_cu: number;
60
- readonly autoscaling_limit_min_cu: number;
61
- readonly branch_id: string;
62
- readonly compute_release_version?: string | undefined;
63
- readonly created_at: string;
64
- readonly creation_source: string;
65
- readonly current_state: "active" | "idle" | "init";
66
- readonly disabled: boolean;
67
59
  readonly host: string;
68
60
  readonly id: string;
69
- readonly last_active?: string | undefined;
70
61
  readonly name?: string | undefined;
71
- readonly passwordless_access: boolean;
72
- readonly pending_state?: "active" | "idle" | "init" | undefined;
73
- readonly pooler_enabled: boolean;
74
- readonly pooler_mode: "transaction";
75
62
  readonly project_id: string;
76
- readonly provisioner: string;
77
- readonly proxy_host: string;
63
+ readonly branch_id: string;
64
+ readonly autoscaling_limit_min_cu: number;
65
+ readonly autoscaling_limit_max_cu: number;
78
66
  readonly region_id: string;
67
+ readonly type: "read_only" | "read_write";
68
+ readonly current_state: "active" | "idle" | "init";
69
+ readonly pending_state?: "active" | "idle" | "init" | undefined;
79
70
  readonly settings: {
80
71
  readonly pg_settings?: {
81
72
  readonly [x: string]: string;
@@ -84,15 +75,24 @@ export declare const listProjectEndpoints: import("@distilled.cloud/core/client"
84
75
  readonly [x: string]: string;
85
76
  } | undefined;
86
77
  readonly preload_libraries?: {
87
- readonly enabled_libraries?: readonly string[] | undefined;
88
78
  readonly use_defaults?: boolean | undefined;
79
+ readonly enabled_libraries?: readonly string[] | undefined;
89
80
  } | undefined;
90
81
  };
82
+ readonly pooler_enabled: boolean;
83
+ readonly pooler_mode: "transaction";
84
+ readonly disabled: boolean;
85
+ readonly passwordless_access: boolean;
86
+ readonly last_active?: string | undefined;
87
+ readonly creation_source: string;
88
+ readonly created_at: string;
89
+ readonly updated_at: string;
91
90
  readonly started_at?: string | undefined;
92
- readonly suspend_timeout_seconds: number;
93
91
  readonly suspended_at?: string | undefined;
94
- readonly type: "read_only" | "read_write";
95
- readonly updated_at: string;
92
+ readonly proxy_host: string;
93
+ readonly suspend_timeout_seconds: number;
94
+ readonly provisioner: string;
95
+ readonly compute_release_version?: string | undefined;
96
96
  }[];
97
97
  }, NotFound, import("../credentials.ts").Credentials>;
98
98
  //# sourceMappingURL=listProjectEndpoints.d.ts.map
@@ -42,23 +42,23 @@ export type ListProjectOperationsOutput = typeof ListProjectOperationsOutput.Typ
42
42
  * @param project_id - The Neon project ID
43
43
  */
44
44
  export declare const listProjectOperations: import("@distilled.cloud/core/client").PaginatedOperationMethod<{
45
+ readonly project_id: string;
45
46
  readonly cursor?: string | undefined;
46
47
  readonly limit?: number | undefined;
47
- readonly project_id: string;
48
48
  }, {
49
49
  readonly operations: readonly {
50
- readonly action: "apply_config" | "apply_schema_from_branch" | "apply_storage_config" | "check_availability" | "create_branch" | "create_compute" | "create_timeline" | "delete_timeline" | "detach_parent_branch" | "disable_maintenance" | "finalize_migration" | "import_data" | "mark_migration_prepared" | "prepare_secondary_pageserver" | "prewarm_replica" | "promote_replica" | "replace_safekeeper" | "set_storage_non_dirty" | "start_compute" | "start_reserved_compute" | "suspend_compute" | "swap_binding_id" | "switch_pageserver" | "sync_dbs_and_roles_from_compute" | "tenant_attach" | "tenant_detach" | "tenant_ignore" | "tenant_reattach" | "timeline_archive" | "timeline_mark_invisible" | "timeline_unarchive" | "timeline_update_protected_config";
50
+ readonly id: string;
51
+ readonly project_id: string;
51
52
  readonly branch_id?: string | undefined;
52
- readonly created_at: string;
53
53
  readonly endpoint_id?: string | undefined;
54
+ readonly action: "apply_config" | "apply_schema_from_branch" | "apply_storage_config" | "check_availability" | "create_branch" | "create_compute" | "create_timeline" | "delete_timeline" | "detach_parent_branch" | "disable_maintenance" | "finalize_migration" | "import_data" | "mark_migration_prepared" | "prepare_secondary_pageserver" | "prewarm_replica" | "promote_replica" | "replace_safekeeper" | "set_storage_non_dirty" | "start_compute" | "start_reserved_compute" | "suspend_compute" | "swap_binding_id" | "switch_pageserver" | "sync_dbs_and_roles_from_compute" | "tenant_attach" | "tenant_detach" | "tenant_ignore" | "tenant_reattach" | "timeline_archive" | "timeline_mark_invisible" | "timeline_unarchive" | "timeline_update_protected_config";
55
+ readonly status: "cancelled" | "cancelling" | "error" | "failed" | "finished" | "running" | "scheduling" | "skipped";
54
56
  readonly error?: string | undefined;
55
57
  readonly failures_count: number;
56
- readonly id: string;
57
- readonly project_id: string;
58
58
  readonly retry_at?: string | undefined;
59
- readonly status: "cancelled" | "cancelling" | "error" | "failed" | "finished" | "running" | "scheduling" | "skipped";
60
- readonly total_duration_ms: number;
59
+ readonly created_at: string;
61
60
  readonly updated_at: string;
61
+ readonly total_duration_ms: number;
62
62
  }[];
63
63
  readonly pagination?: {
64
64
  readonly cursor: string;
@@ -22,9 +22,9 @@ export declare const listProjectPermissions: import("@distilled.cloud/core/clien
22
22
  readonly project_id: string;
23
23
  }, {
24
24
  readonly project_permissions: readonly {
25
- readonly granted_at: string;
26
- readonly granted_to_email: string;
27
25
  readonly id: string;
26
+ readonly granted_to_email: string;
27
+ readonly granted_at: string;
28
28
  readonly revoked_at?: string | undefined;
29
29
  }[];
30
30
  }, NotFound, import("../credentials.ts").Credentials>;
@@ -21,8 +21,8 @@ export declare const listProjectVPCEndpoints: import("@distilled.cloud/core/clie
21
21
  readonly project_id: string;
22
22
  }, {
23
23
  readonly endpoints: readonly {
24
- readonly label: string;
25
24
  readonly vpc_endpoint_id: string;
25
+ readonly label: string;
26
26
  }[];
27
27
  }, never, import("../credentials.ts").Credentials>;
28
28
  //# sourceMappingURL=listProjectVPCEndpoints.d.ts.map