@distilled.cloud/neon 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 (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
@@ -73,30 +73,21 @@ export type DeleteProjectEndpointOutput = typeof DeleteProjectEndpointOutput.Typ
73
73
  * @param endpoint_id - The endpoint ID
74
74
  */
75
75
  export declare const deleteProjectEndpoint: import("@distilled.cloud/core/client").OperationMethod<{
76
- readonly endpoint_id: string;
77
76
  readonly project_id: string;
77
+ readonly endpoint_id: string;
78
78
  }, {
79
79
  readonly endpoint: {
80
- readonly autoscaling_limit_max_cu: number;
81
- readonly autoscaling_limit_min_cu: number;
82
- readonly branch_id: string;
83
- readonly compute_release_version?: string | undefined;
84
- readonly created_at: string;
85
- readonly creation_source: string;
86
- readonly current_state: "active" | "idle" | "init";
87
- readonly disabled: boolean;
88
80
  readonly host: string;
89
81
  readonly id: string;
90
- readonly last_active?: string | undefined;
91
82
  readonly name?: string | undefined;
92
- readonly passwordless_access: boolean;
93
- readonly pending_state?: "active" | "idle" | "init" | undefined;
94
- readonly pooler_enabled: boolean;
95
- readonly pooler_mode: "transaction";
96
83
  readonly project_id: string;
97
- readonly provisioner: string;
98
- readonly proxy_host: string;
84
+ readonly branch_id: string;
85
+ readonly autoscaling_limit_min_cu: number;
86
+ readonly autoscaling_limit_max_cu: number;
99
87
  readonly region_id: string;
88
+ readonly type: "read_only" | "read_write";
89
+ readonly current_state: "active" | "idle" | "init";
90
+ readonly pending_state?: "active" | "idle" | "init" | undefined;
100
91
  readonly settings: {
101
92
  readonly pg_settings?: {
102
93
  readonly [x: string]: string;
@@ -105,29 +96,38 @@ export declare const deleteProjectEndpoint: import("@distilled.cloud/core/client
105
96
  readonly [x: string]: string;
106
97
  } | undefined;
107
98
  readonly preload_libraries?: {
108
- readonly enabled_libraries?: readonly string[] | undefined;
109
99
  readonly use_defaults?: boolean | undefined;
100
+ readonly enabled_libraries?: readonly string[] | undefined;
110
101
  } | undefined;
111
102
  };
103
+ readonly pooler_enabled: boolean;
104
+ readonly pooler_mode: "transaction";
105
+ readonly disabled: boolean;
106
+ readonly passwordless_access: boolean;
107
+ readonly last_active?: string | undefined;
108
+ readonly creation_source: string;
109
+ readonly created_at: string;
110
+ readonly updated_at: string;
112
111
  readonly started_at?: string | undefined;
113
- readonly suspend_timeout_seconds: number;
114
112
  readonly suspended_at?: string | undefined;
115
- readonly type: "read_only" | "read_write";
116
- readonly updated_at: string;
113
+ readonly proxy_host: string;
114
+ readonly suspend_timeout_seconds: number;
115
+ readonly provisioner: string;
116
+ readonly compute_release_version?: string | undefined;
117
117
  };
118
118
  readonly operations: readonly {
119
- 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";
119
+ readonly id: string;
120
+ readonly project_id: string;
120
121
  readonly branch_id?: string | undefined;
121
- readonly created_at: string;
122
122
  readonly endpoint_id?: string | undefined;
123
+ 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";
124
+ readonly status: "cancelled" | "cancelling" | "error" | "failed" | "finished" | "running" | "scheduling" | "skipped";
123
125
  readonly error?: string | undefined;
124
126
  readonly failures_count: number;
125
- readonly id: string;
126
- readonly project_id: string;
127
127
  readonly retry_at?: string | undefined;
128
- readonly status: "cancelled" | "cancelling" | "error" | "failed" | "finished" | "running" | "scheduling" | "skipped";
129
- readonly total_duration_ms: number;
128
+ readonly created_at: string;
130
129
  readonly updated_at: string;
130
+ readonly total_duration_ms: number;
131
131
  }[];
132
132
  }, NotFound, import("../credentials.ts").Credentials>;
133
133
  //# sourceMappingURL=deleteProjectEndpoint.d.ts.map
@@ -25,17 +25,17 @@ export type DeleteProjectJWKSOutput = typeof DeleteProjectJWKSOutput.Type;
25
25
  * @param jwks_id - The JWKS ID
26
26
  */
27
27
  export declare const deleteProjectJWKS: import("@distilled.cloud/core/client").OperationMethod<{
28
- readonly jwks_id: string;
29
28
  readonly project_id: string;
29
+ readonly jwks_id: string;
30
30
  }, {
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
  }, never, import("../credentials.ts").Credentials>;
41
41
  //# sourceMappingURL=deleteProjectJWKS.d.ts.map
@@ -14,8 +14,8 @@ export type DisableNeonAuthOutput = typeof DisableNeonAuthOutput.Type;
14
14
  * @param branch_id - The Neon branch ID
15
15
  */
16
16
  export declare const disableNeonAuth: import("@distilled.cloud/core/client").OperationMethod<{
17
+ readonly project_id: string;
17
18
  readonly branch_id: string;
18
19
  readonly delete_data?: boolean | undefined;
19
- readonly project_id: string;
20
20
  }, void, never, import("../credentials.ts").Credentials>;
21
21
  //# sourceMappingURL=disableNeonAuth.d.ts.map
@@ -38,23 +38,23 @@ export type FinalizeRestoreBranchOutput = typeof FinalizeRestoreBranchOutput.Typ
38
38
  * @param branch_id - The branch ID
39
39
  */
40
40
  export declare const finalizeRestoreBranch: import("@distilled.cloud/core/client").OperationMethod<{
41
+ readonly project_id: string;
41
42
  readonly branch_id: string;
42
43
  readonly name?: string | undefined;
43
- readonly project_id: string;
44
44
  }, {
45
45
  readonly operations: readonly {
46
- 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 id: string;
47
+ readonly project_id: string;
47
48
  readonly branch_id?: string | undefined;
48
- readonly created_at: string;
49
49
  readonly endpoint_id?: string | undefined;
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";
51
+ readonly status: "cancelled" | "cancelling" | "error" | "failed" | "finished" | "running" | "scheduling" | "skipped";
50
52
  readonly error?: string | undefined;
51
53
  readonly failures_count: number;
52
- readonly id: string;
53
- readonly project_id: string;
54
54
  readonly retry_at?: string | undefined;
55
- readonly status: "cancelled" | "cancelling" | "error" | "failed" | "finished" | "running" | "scheduling" | "skipped";
56
- readonly total_duration_ms: number;
55
+ readonly created_at: string;
57
56
  readonly updated_at: string;
57
+ readonly total_duration_ms: number;
58
58
  }[];
59
59
  }, never, import("../credentials.ts").Credentials>;
60
60
  //# sourceMappingURL=finalizeRestoreBranch.d.ts.map
@@ -28,11 +28,11 @@ export declare const getActiveRegions: import("@distilled.cloud/core/client").Op
28
28
  readonly org_id?: string | undefined;
29
29
  }, {
30
30
  readonly regions: readonly {
31
+ readonly region_id: string;
32
+ readonly name: string;
31
33
  readonly default: boolean;
32
34
  readonly geo_lat: string;
33
35
  readonly geo_long: string;
34
- readonly name: string;
35
- readonly region_id: string;
36
36
  }[];
37
37
  }, never, import("../credentials.ts").Credentials>;
38
38
  //# sourceMappingURL=getActiveRegions.d.ts.map
@@ -35,22 +35,22 @@ export type GetAnonymizedBranchStatusOutput = typeof GetAnonymizedBranchStatusOu
35
35
  * @param branch_id - The branch ID
36
36
  */
37
37
  export declare const getAnonymizedBranchStatus: import("@distilled.cloud/core/client").OperationMethod<{
38
- readonly branch_id: string;
39
38
  readonly project_id: string;
39
+ readonly branch_id: string;
40
40
  }, {
41
+ readonly project_id: string;
41
42
  readonly branch_id: string;
43
+ readonly state: string;
44
+ readonly status_message?: string | undefined;
42
45
  readonly created_at: string;
46
+ readonly updated_at: string;
43
47
  readonly failed_at?: string | undefined;
44
48
  readonly last_run?: {
45
- readonly completed_at?: string | undefined;
46
- readonly masked_columns?: number | undefined;
47
49
  readonly started_at?: string | undefined;
50
+ readonly completed_at?: string | undefined;
48
51
  readonly triggered_by?: string | undefined;
49
52
  readonly triggered_by_username?: string | undefined;
53
+ readonly masked_columns?: number | undefined;
50
54
  } | undefined;
51
- readonly project_id: string;
52
- readonly state: string;
53
- readonly status_message?: string | undefined;
54
- readonly updated_at: string;
55
55
  }, never, import("../credentials.ts").Credentials>;
56
56
  //# sourceMappingURL=getAnonymizedBranchStatus.d.ts.map
@@ -14,7 +14,7 @@ export type GetAuthDetailsOutput = typeof GetAuthDetailsOutput.Type;
14
14
  */
15
15
  export declare const getAuthDetails: import("@distilled.cloud/core/client").OperationMethod<{}, {
16
16
  readonly account_id: string;
17
- readonly auth_data?: string | undefined;
18
17
  readonly auth_method: "api_key_org" | "api_key_user" | "keycloak" | "oauth" | "session_cookie";
18
+ readonly auth_data?: string | undefined;
19
19
  }, never, import("../credentials.ts").Credentials>;
20
20
  //# sourceMappingURL=getAuthDetails.d.ts.map
@@ -20,10 +20,10 @@ export declare const getAvailablePreloadLibraries: import("@distilled.cloud/core
20
20
  readonly project_id: string;
21
21
  }, {
22
22
  readonly libraries?: readonly {
23
+ readonly library_name: string;
23
24
  readonly description: string;
24
25
  readonly is_default: boolean;
25
26
  readonly is_experimental: boolean;
26
- readonly library_name: string;
27
27
  readonly version: string;
28
28
  }[] | undefined;
29
29
  }, never, import("../credentials.ts").Credentials>;
@@ -29,12 +29,12 @@ export type GetConnectionURIOutput = typeof GetConnectionURIOutput.Type;
29
29
  * @param pooled - Adds the `-pooler` option to the connection URI when set to `true`, creating a pooled connection URI.
30
30
  */
31
31
  export declare const getConnectionURI: import("@distilled.cloud/core/client").OperationMethod<{
32
+ readonly project_id: string;
32
33
  readonly branch_id?: string | undefined;
33
- readonly database_name: string;
34
34
  readonly endpoint_id?: string | undefined;
35
- readonly pooled?: boolean | undefined;
36
- readonly project_id: string;
35
+ readonly database_name: string;
37
36
  readonly role_name: string;
37
+ readonly pooled?: boolean | undefined;
38
38
  }, {
39
39
  readonly uri: string;
40
40
  }, NotFound, import("../credentials.ts").Credentials>;
@@ -83,28 +83,28 @@ A list of metrics can be specified as an array of parameter values or as a comma
83
83
  */
84
84
  export declare const getConsumptionHistoryPerAccount: import("@distilled.cloud/core/client").OperationMethod<{
85
85
  readonly from: string;
86
+ readonly to: string;
86
87
  readonly granularity: string;
88
+ readonly org_id?: string | undefined;
87
89
  readonly include_v1_metrics?: boolean | undefined;
88
90
  readonly metrics?: string | undefined;
89
- readonly org_id?: string | undefined;
90
- readonly to: string;
91
91
  }, {
92
92
  readonly periods: readonly {
93
+ readonly period_id: string;
94
+ readonly period_plan: string;
95
+ readonly period_start: string;
96
+ readonly period_end?: string | undefined;
93
97
  readonly consumption: readonly {
98
+ readonly timeframe_start: string;
99
+ readonly timeframe_end: string;
94
100
  readonly active_time_seconds: number;
95
101
  readonly compute_time_seconds: number;
102
+ readonly written_data_bytes: number;
103
+ readonly synthetic_storage_size_bytes: number;
96
104
  readonly data_storage_bytes_hour?: number | undefined;
97
105
  readonly logical_size_bytes?: number | undefined;
98
106
  readonly logical_size_bytes_hour?: number | undefined;
99
- readonly synthetic_storage_size_bytes: number;
100
- readonly timeframe_end: string;
101
- readonly timeframe_start: string;
102
- readonly written_data_bytes: number;
103
107
  }[];
104
- readonly period_end?: string | undefined;
105
- readonly period_id: string;
106
- readonly period_plan: string;
107
- readonly period_start: string;
108
108
  }[];
109
109
  }, Forbidden | NotFound, import("../credentials.ts").Credentials>;
110
110
  //# sourceMappingURL=getConsumptionHistoryPerAccount.d.ts.map
@@ -103,37 +103,37 @@ A list of metrics can be specified as an array of parameter values or as a comma
103
103
  */
104
104
  export declare const getConsumptionHistoryPerProject: import("@distilled.cloud/core/client").PaginatedOperationMethod<{
105
105
  readonly cursor?: string | undefined;
106
+ readonly limit?: number | undefined;
107
+ readonly project_ids?: string | undefined;
106
108
  readonly from: string;
109
+ readonly to: string;
107
110
  readonly granularity: string;
111
+ readonly org_id?: string | undefined;
108
112
  readonly include_v1_metrics?: boolean | undefined;
109
- readonly limit?: number | undefined;
110
113
  readonly metrics?: string | undefined;
111
- readonly org_id?: string | undefined;
112
- readonly project_ids?: string | undefined;
113
- readonly to: string;
114
114
  }, {
115
- readonly pagination?: {
116
- readonly cursor: string;
117
- } | undefined;
118
115
  readonly projects: readonly {
116
+ readonly project_id: string;
119
117
  readonly periods: readonly {
118
+ readonly period_id: string;
119
+ readonly period_plan: string;
120
+ readonly period_start: string;
121
+ readonly period_end?: string | undefined;
120
122
  readonly consumption: readonly {
123
+ readonly timeframe_start: string;
124
+ readonly timeframe_end: string;
121
125
  readonly active_time_seconds: number;
122
126
  readonly compute_time_seconds: number;
127
+ readonly written_data_bytes: number;
128
+ readonly synthetic_storage_size_bytes: number;
123
129
  readonly data_storage_bytes_hour?: number | undefined;
124
130
  readonly logical_size_bytes?: number | undefined;
125
131
  readonly logical_size_bytes_hour?: number | undefined;
126
- readonly synthetic_storage_size_bytes: number;
127
- readonly timeframe_end: string;
128
- readonly timeframe_start: string;
129
- readonly written_data_bytes: number;
130
132
  }[];
131
- readonly period_end?: string | undefined;
132
- readonly period_id: string;
133
- readonly period_plan: string;
134
- readonly period_start: string;
135
133
  }[];
136
- readonly project_id: string;
137
134
  }[];
135
+ readonly pagination?: {
136
+ readonly cursor: string;
137
+ } | undefined;
138
138
  }, Forbidden | NotFound, import("../credentials.ts").Credentials>;
139
139
  //# sourceMappingURL=getConsumptionHistoryPerProject.d.ts.map
@@ -93,33 +93,33 @@ A list of metrics can be specified as an array of parameter values or as a comma
93
93
  */
94
94
  export declare const getConsumptionHistoryPerProjectV2: import("@distilled.cloud/core/client").PaginatedOperationMethod<{
95
95
  readonly cursor?: string | undefined;
96
- readonly from: string;
97
- readonly granularity: string;
98
96
  readonly limit?: number | undefined;
99
- readonly metrics: string;
100
- readonly org_id: string;
101
97
  readonly project_ids?: string | undefined;
98
+ readonly from: string;
102
99
  readonly to: string;
100
+ readonly granularity: string;
101
+ readonly org_id: string;
102
+ readonly metrics: string;
103
103
  }, {
104
- readonly pagination?: {
105
- readonly cursor: string;
106
- } | undefined;
107
104
  readonly projects: readonly {
105
+ readonly project_id: string;
108
106
  readonly periods: readonly {
107
+ readonly period_id: string;
108
+ readonly period_plan: string;
109
+ readonly period_start: string;
110
+ readonly period_end?: string | undefined;
109
111
  readonly consumption: readonly {
112
+ readonly timeframe_start?: string | undefined;
113
+ readonly timeframe_end?: string | undefined;
110
114
  readonly metrics?: readonly {
111
115
  readonly metric_name: string;
112
116
  readonly value: number;
113
117
  }[] | undefined;
114
- readonly timeframe_end?: string | undefined;
115
- readonly timeframe_start?: string | undefined;
116
118
  }[];
117
- readonly period_end?: string | undefined;
118
- readonly period_id: string;
119
- readonly period_plan: string;
120
- readonly period_start: string;
121
119
  }[];
122
- readonly project_id: string;
123
120
  }[];
121
+ readonly pagination?: {
122
+ readonly cursor: string;
123
+ } | undefined;
124
124
  }, Forbidden | NotFound, import("../credentials.ts").Credentials>;
125
125
  //# sourceMappingURL=getConsumptionHistoryPerProjectV2.d.ts.map
@@ -65,14 +65,22 @@ export type GetCurrentUserInfoOutput = typeof GetCurrentUserInfoOutput.Type;
65
65
  */
66
66
  export declare const getCurrentUserInfo: import("@distilled.cloud/core/client").OperationMethod<{}, {
67
67
  readonly active_seconds_limit: number;
68
- readonly auth_accounts: readonly {
69
- readonly email: string;
70
- readonly image: string;
71
- readonly login: string;
72
- readonly name: string;
73
- readonly provider: "github" | "google" | "hasura" | "keycloak" | "microsoft" | "microsoftv2" | "vercelmp";
74
- }[];
75
68
  readonly billing_account?: {
69
+ readonly state: "UNKNOWN" | "active" | "deactivated" | "deleted" | "suspended";
70
+ readonly payment_source: {
71
+ readonly type: string;
72
+ readonly card?: {
73
+ readonly last4: string;
74
+ readonly brand?: "amex" | "diners" | "discover" | "jcb" | "mastercard" | "unionpay" | "unknown" | "visa" | undefined;
75
+ readonly exp_month?: number | undefined;
76
+ readonly exp_year?: number | undefined;
77
+ } | undefined;
78
+ };
79
+ readonly subscription_type: "UNKNOWN" | "aws_marketplace" | "business" | "direct_sales" | "direct_sales_v3" | "free_v2" | "free_v3" | "launch" | "launch_v3" | "scale" | "scale_v3" | "vercel_pg_legacy";
80
+ readonly payment_method: "UNKNOWN" | "aws_mp" | "azure_mp" | "direct_payment" | "none" | "shared_payment_token" | "sponsorship" | "staff" | "stripe" | "trial" | "vercel_mp";
81
+ readonly quota_reset_at_last: string;
82
+ readonly name: string;
83
+ readonly email: string;
76
84
  readonly address_city: string;
77
85
  readonly address_country: string;
78
86
  readonly address_country_name?: string | undefined;
@@ -80,19 +88,9 @@ export declare const getCurrentUserInfo: import("@distilled.cloud/core/client").
80
88
  readonly address_line2: string;
81
89
  readonly address_postal_code: string;
82
90
  readonly address_state: string;
83
- readonly email: string;
84
- readonly name: string;
85
91
  readonly orb_portal_url?: string | undefined;
86
- readonly payment_method: "UNKNOWN" | "aws_mp" | "azure_mp" | "direct_payment" | "none" | "shared_payment_token" | "sponsorship" | "staff" | "stripe" | "trial" | "vercel_mp";
87
- readonly payment_source: {
88
- readonly card?: {
89
- readonly brand?: "amex" | "diners" | "discover" | "jcb" | "mastercard" | "unionpay" | "unknown" | "visa" | undefined;
90
- readonly exp_month?: number | undefined;
91
- readonly exp_year?: number | undefined;
92
- readonly last4: string;
93
- } | undefined;
94
- readonly type: string;
95
- };
92
+ readonly tax_id?: string | undefined;
93
+ readonly tax_id_type?: string | undefined;
96
94
  readonly plan_details?: {
97
95
  readonly name: string;
98
96
  readonly version?: {
@@ -100,23 +98,25 @@ export declare const getCurrentUserInfo: import("@distilled.cloud/core/client").
100
98
  readonly minor: number;
101
99
  } | undefined;
102
100
  } | undefined;
103
- readonly quota_reset_at_last: string;
104
101
  readonly spending_limit_cents?: number | null | undefined;
105
- readonly state: "UNKNOWN" | "active" | "deactivated" | "deleted" | "suspended";
106
- readonly subscription_type: "UNKNOWN" | "aws_marketplace" | "business" | "direct_sales" | "direct_sales_v3" | "free_v2" | "free_v3" | "launch" | "launch_v3" | "scale" | "scale_v3" | "vercel_pg_legacy";
107
- readonly tax_id?: string | undefined;
108
- readonly tax_id_type?: string | undefined;
109
102
  } | undefined;
110
- readonly branches_limit: number;
111
- readonly compute_seconds_limit?: number | undefined;
103
+ readonly auth_accounts: readonly {
104
+ readonly email: string;
105
+ readonly image: string;
106
+ readonly login: string;
107
+ readonly name: string;
108
+ readonly provider: "github" | "google" | "hasura" | "keycloak" | "microsoft" | "microsoftv2" | "vercelmp";
109
+ }[];
112
110
  readonly email: string;
113
111
  readonly id: string;
114
112
  readonly image: string;
115
- readonly last_name: string;
116
113
  readonly login: string;
117
- readonly max_autoscaling_limit: number;
118
114
  readonly name: string;
119
- readonly plan: string;
115
+ readonly last_name: string;
120
116
  readonly projects_limit: number;
117
+ readonly branches_limit: number;
118
+ readonly max_autoscaling_limit: number;
119
+ readonly compute_seconds_limit?: number | undefined;
120
+ readonly plan: string;
121
121
  }, never, import("../credentials.ts").Credentials>;
122
122
  //# sourceMappingURL=getCurrentUserInfo.d.ts.map
@@ -22,15 +22,15 @@ export type GetCurrentUserOrganizationsOutput = typeof GetCurrentUserOrganizatio
22
22
  */
23
23
  export declare const getCurrentUserOrganizations: import("@distilled.cloud/core/client").OperationMethod<{}, {
24
24
  readonly organizations: readonly {
25
- readonly allow_hipaa_projects?: boolean | undefined;
26
- readonly created_at: string;
27
- readonly handle: string;
28
25
  readonly id: string;
29
- readonly managed_by: string;
30
26
  readonly name: string;
27
+ readonly handle: string;
31
28
  readonly plan: string;
32
- readonly require_mfa?: boolean | undefined;
29
+ readonly created_at: string;
30
+ readonly managed_by: string;
33
31
  readonly updated_at: string;
32
+ readonly allow_hipaa_projects?: boolean | undefined;
33
+ readonly require_mfa?: boolean | undefined;
34
34
  }[];
35
35
  }, never, import("../credentials.ts").Credentials>;
36
36
  //# sourceMappingURL=getCurrentUserOrganizations.d.ts.map
@@ -28,16 +28,16 @@ export type GetMaskingRulesOutput = typeof GetMaskingRulesOutput.Type;
28
28
  * @param branch_id - The branch ID
29
29
  */
30
30
  export declare const getMaskingRules: import("@distilled.cloud/core/client").OperationMethod<{
31
- readonly branch_id: string;
32
31
  readonly project_id: string;
32
+ readonly branch_id: string;
33
33
  }, {
34
34
  readonly masking_rules: readonly {
35
- readonly column_name: string;
36
35
  readonly database_name: string;
37
- readonly masking_function?: string | undefined;
38
- readonly masking_value?: string | undefined;
39
36
  readonly schema_name: string;
40
37
  readonly table_name: string;
38
+ readonly column_name: string;
39
+ readonly masking_function?: string | undefined;
40
+ readonly masking_value?: string | undefined;
41
41
  }[];
42
42
  }, never, import("../credentials.ts").Credentials>;
43
43
  //# sourceMappingURL=getMaskingRules.d.ts.map
@@ -26,18 +26,18 @@ export type GetNeonAuthOutput = typeof GetNeonAuthOutput.Type;
26
26
  * @param branch_id - The Neon branch ID
27
27
  */
28
28
  export declare const getNeonAuth: import("@distilled.cloud/core/client").OperationMethod<{
29
- readonly branch_id: string;
30
29
  readonly project_id: string;
30
+ readonly branch_id: string;
31
31
  }, {
32
32
  readonly auth_provider: "better_auth" | "mock" | "stack" | "stack_v2";
33
33
  readonly auth_provider_project_id: string;
34
- readonly base_url?: string | undefined;
35
34
  readonly branch_id: string;
36
- readonly created_at: string;
37
35
  readonly db_name: string;
38
- readonly jwks_url: string;
39
- readonly name?: string | undefined;
36
+ readonly created_at: string;
40
37
  readonly owned_by: "neon" | "user";
41
38
  readonly transfer_status?: "finished" | "initiated" | undefined;
39
+ readonly jwks_url: string;
40
+ readonly base_url?: string | undefined;
41
+ readonly name?: string | undefined;
42
42
  }, never, import("../credentials.ts").Credentials>;
43
43
  //# sourceMappingURL=getNeonAuth.d.ts.map
@@ -17,8 +17,8 @@ export type GetNeonAuthAllowLocalhostOutput = typeof GetNeonAuthAllowLocalhostOu
17
17
  * @param branch_id - The Neon branch ID
18
18
  */
19
19
  export declare const getNeonAuthAllowLocalhost: import("@distilled.cloud/core/client").OperationMethod<{
20
- readonly branch_id: string;
21
20
  readonly project_id: string;
21
+ readonly branch_id: string;
22
22
  }, {
23
23
  readonly allow_localhost: boolean;
24
24
  }, never, import("../credentials.ts").Credentials>;
@@ -23,15 +23,15 @@ export type GetNeonAuthEmailAndPasswordConfigOutput = typeof GetNeonAuthEmailAnd
23
23
  * @param branch_id - The Neon branch ID
24
24
  */
25
25
  export declare const getNeonAuthEmailAndPasswordConfig: import("@distilled.cloud/core/client").OperationMethod<{
26
- readonly branch_id: string;
27
26
  readonly project_id: string;
27
+ readonly branch_id: string;
28
28
  }, {
29
- readonly auto_sign_in_after_verification: boolean;
30
- readonly disable_sign_up: boolean;
31
- readonly email_verification_method: "link" | "otp";
32
29
  readonly enabled: boolean;
30
+ readonly email_verification_method: "link" | "otp";
33
31
  readonly require_email_verification: boolean;
34
- readonly send_verification_email_on_sign_in: boolean;
32
+ readonly auto_sign_in_after_verification: boolean;
35
33
  readonly send_verification_email_on_sign_up: boolean;
34
+ readonly send_verification_email_on_sign_in: boolean;
35
+ readonly disable_sign_up: boolean;
36
36
  }, never, import("../credentials.ts").Credentials>;
37
37
  //# sourceMappingURL=getNeonAuthEmailAndPasswordConfig.d.ts.map
@@ -15,7 +15,7 @@ export type GetNeonAuthEmailProviderOutput = typeof GetNeonAuthEmailProviderOutp
15
15
  * @param branch_id - The Neon branch ID
16
16
  */
17
17
  export declare const getNeonAuthEmailProvider: import("@distilled.cloud/core/client").OperationMethod<{
18
- readonly branch_id: string;
19
18
  readonly project_id: string;
19
+ readonly branch_id: string;
20
20
  }, unknown, never, import("../credentials.ts").Credentials>;
21
21
  //# sourceMappingURL=getNeonAuthEmailProvider.d.ts.map
@@ -20,11 +20,11 @@ export type GetNeonAuthPhoneNumberPluginOutput = typeof GetNeonAuthPhoneNumberPl
20
20
  * @param branch_id - The Neon branch ID
21
21
  */
22
22
  export declare const getNeonAuthPhoneNumberPlugin: 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
- readonly allowed_attempts?: number | undefined;
27
26
  readonly enabled: boolean;
28
27
  readonly otp_expires_in?: number | undefined;
28
+ readonly allowed_attempts?: number | undefined;
29
29
  }, never, import("../credentials.ts").Credentials>;
30
30
  //# sourceMappingURL=getNeonAuthPhoneNumberPlugin.d.ts.map