@distilled.cloud/supabase 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 (133) 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/v1ActivateCustomHostname.d.ts +13 -13
  6. package/lib/operations/v1ApplyAMigration.d.ts +2 -2
  7. package/lib/operations/v1ApplyProjectAddon.d.ts +2 -2
  8. package/lib/operations/v1AuthorizeJitAccess.d.ts +3 -3
  9. package/lib/operations/v1AuthorizeUser.d.ts +5 -5
  10. package/lib/operations/v1BulkUpdateFunctions.d.ts +7 -7
  11. package/lib/operations/v1CreateABranch.d.ts +14 -14
  12. package/lib/operations/v1CreateAProject.d.ts +5 -5
  13. package/lib/operations/v1CreateASsoProvider.d.ts +20 -20
  14. package/lib/operations/v1CreateAnOrganization.d.ts +1 -1
  15. package/lib/operations/v1CreateLegacySigningKey.d.ts +3 -3
  16. package/lib/operations/v1CreateLoginRole.d.ts +2 -2
  17. package/lib/operations/v1CreateProjectApiKey.d.ts +8 -8
  18. package/lib/operations/v1CreateProjectClaimToken.d.ts +3 -3
  19. package/lib/operations/v1CreateProjectSigningKey.d.ts +5 -5
  20. package/lib/operations/v1CreateProjectTpaIntegration.d.ts +8 -8
  21. package/lib/operations/v1CreateRestorePoint.d.ts +2 -2
  22. package/lib/operations/v1DeleteAFunction.d.ts +1 -1
  23. package/lib/operations/v1DeleteAProject.d.ts +1 -1
  24. package/lib/operations/v1DeleteASsoProvider.d.ts +14 -14
  25. package/lib/operations/v1DeleteNetworkBans.d.ts +2 -2
  26. package/lib/operations/v1DeleteProjectApiKey.d.ts +7 -7
  27. package/lib/operations/v1DeleteProjectTpaIntegration.d.ts +5 -5
  28. package/lib/operations/v1DeployAFunction.d.ts +10 -10
  29. package/lib/operations/v1ExchangeOauthToken.d.ts +2 -2
  30. package/lib/operations/v1GenerateTypescriptTypes.d.ts +1 -1
  31. package/lib/operations/v1GetABranch.d.ts +11 -11
  32. package/lib/operations/v1GetABranchConfig.d.ts +6 -6
  33. package/lib/operations/v1GetAFunction.d.ts +8 -8
  34. package/lib/operations/v1GetAFunctionBody.d.ts +1 -1
  35. package/lib/operations/v1GetAMigration.d.ts +4 -4
  36. package/lib/operations/v1GetASnippet.d.ts +14 -14
  37. package/lib/operations/v1GetASsoProvider.d.ts +14 -14
  38. package/lib/operations/v1GetActionRun.d.ts +6 -6
  39. package/lib/operations/v1GetAllProjectsForOrganization.d.ts +19 -19
  40. package/lib/operations/v1GetAnOrganization.d.ts +2 -2
  41. package/lib/operations/v1GetAuthServiceConfig.d.ts +62 -62
  42. package/lib/operations/v1GetAvailableRegions.d.ts +13 -13
  43. package/lib/operations/v1GetDiskUtilization.d.ts +2 -2
  44. package/lib/operations/v1GetHostnameConfig.d.ts +13 -13
  45. package/lib/operations/v1GetJitAccess.d.ts +2 -2
  46. package/lib/operations/v1GetJitAccessConfig.d.ts +2 -2
  47. package/lib/operations/v1GetLegacySigningKey.d.ts +3 -3
  48. package/lib/operations/v1GetNetworkRestrictions.d.ts +2 -2
  49. package/lib/operations/v1GetOrganizationEntitlements.d.ts +1 -1
  50. package/lib/operations/v1GetOrganizationProjectClaim.d.ts +13 -13
  51. package/lib/operations/v1GetPoolerConfig.d.ts +6 -6
  52. package/lib/operations/v1GetPostgresConfig.d.ts +4 -4
  53. package/lib/operations/v1GetPostgresUpgradeEligibility.d.ts +5 -5
  54. package/lib/operations/v1GetPostgresUpgradeStatus.d.ts +2 -2
  55. package/lib/operations/v1GetPostgrestServiceConfig.d.ts +2 -2
  56. package/lib/operations/v1GetProject.d.ts +8 -8
  57. package/lib/operations/v1GetProjectApiKey.d.ts +6 -6
  58. package/lib/operations/v1GetProjectApiKeys.d.ts +5 -5
  59. package/lib/operations/v1GetProjectClaimToken.d.ts +2 -2
  60. package/lib/operations/v1GetProjectDiskAutoscaleConfig.d.ts +1 -1
  61. package/lib/operations/v1GetProjectFunctionCombinedStats.d.ts +3 -3
  62. package/lib/operations/v1GetProjectLogs.d.ts +3 -3
  63. package/lib/operations/v1GetProjectPgbouncerConfig.d.ts +3 -3
  64. package/lib/operations/v1GetProjectSigningKey.d.ts +3 -3
  65. package/lib/operations/v1GetProjectSigningKeys.d.ts +3 -3
  66. package/lib/operations/v1GetProjectTpaIntegration.d.ts +5 -5
  67. package/lib/operations/v1GetProjectUsageApiCount.d.ts +2 -2
  68. package/lib/operations/v1GetProjectUsageRequestCount.d.ts +1 -1
  69. package/lib/operations/v1GetReadonlyModeStatus.d.ts +1 -1
  70. package/lib/operations/v1GetRealtimeConfig.d.ts +5 -5
  71. package/lib/operations/v1GetRestorePoint.d.ts +2 -2
  72. package/lib/operations/v1GetServicesHealth.d.ts +3 -3
  73. package/lib/operations/v1GetSslEnforcementConfig.d.ts +1 -1
  74. package/lib/operations/v1GetStorageConfig.d.ts +15 -15
  75. package/lib/operations/v1GetVanitySubdomainConfig.d.ts +1 -1
  76. package/lib/operations/v1ListActionRuns.d.ts +8 -8
  77. package/lib/operations/v1ListAllBackups.d.ts +4 -4
  78. package/lib/operations/v1ListAllBranches.d.ts +10 -10
  79. package/lib/operations/v1ListAllBuckets.d.ts +2 -2
  80. package/lib/operations/v1ListAllFunctions.d.ts +7 -7
  81. package/lib/operations/v1ListAllOrganizations.d.ts +1 -1
  82. package/lib/operations/v1ListAllProjects.d.ts +8 -8
  83. package/lib/operations/v1ListAllSecrets.d.ts +1 -1
  84. package/lib/operations/v1ListAllSnippets.d.ts +11 -11
  85. package/lib/operations/v1ListAllSsoProvider.d.ts +13 -13
  86. package/lib/operations/v1ListAvailableRestoreVersions.d.ts +2 -2
  87. package/lib/operations/v1ListJitAccess.d.ts +2 -2
  88. package/lib/operations/v1ListMigrationHistory.d.ts +1 -1
  89. package/lib/operations/v1ListOrganizationMembers.d.ts +3 -3
  90. package/lib/operations/v1ListProjectAddons.d.ts +13 -13
  91. package/lib/operations/v1ListProjectTpaIntegrations.d.ts +5 -5
  92. package/lib/operations/v1MergeABranch.d.ts +1 -1
  93. package/lib/operations/v1ModifyDatabaseDisk.d.ts +1 -1
  94. package/lib/operations/v1OauthAuthorizeProjectClaim.d.ts +5 -5
  95. package/lib/operations/v1PatchAMigration.d.ts +2 -2
  96. package/lib/operations/v1PatchNetworkRestrictions.d.ts +4 -4
  97. package/lib/operations/v1PushABranch.d.ts +1 -1
  98. package/lib/operations/v1ReadOnlyQuery.d.ts +2 -2
  99. package/lib/operations/v1RemoveAReadReplica.d.ts +1 -1
  100. package/lib/operations/v1RemoveProjectAddon.d.ts +1 -1
  101. package/lib/operations/v1RemoveProjectSigningKey.d.ts +3 -3
  102. package/lib/operations/v1ResetABranch.d.ts +1 -1
  103. package/lib/operations/v1RestorePhysicalBackup.d.ts +1 -1
  104. package/lib/operations/v1RestorePitrBackup.d.ts +1 -1
  105. package/lib/operations/v1RollbackMigrations.d.ts +1 -1
  106. package/lib/operations/v1RunAQuery.d.ts +2 -2
  107. package/lib/operations/v1SetupAReadReplica.d.ts +1 -1
  108. package/lib/operations/v1Undo.d.ts +1 -1
  109. package/lib/operations/v1UpdateABranchConfig.d.ts +13 -13
  110. package/lib/operations/v1UpdateAFunction.d.ts +13 -13
  111. package/lib/operations/v1UpdateAProject.d.ts +2 -2
  112. package/lib/operations/v1UpdateASsoProvider.d.ts +20 -20
  113. package/lib/operations/v1UpdateActionRunStatus.d.ts +5 -5
  114. package/lib/operations/v1UpdateAuthServiceConfig.d.ts +226 -226
  115. package/lib/operations/v1UpdateDatabasePassword.d.ts +1 -1
  116. package/lib/operations/v1UpdateHostnameConfig.d.ts +14 -14
  117. package/lib/operations/v1UpdateJitAccess.d.ts +5 -5
  118. package/lib/operations/v1UpdateJitAccessConfig.d.ts +2 -2
  119. package/lib/operations/v1UpdateNetworkRestrictions.d.ts +3 -3
  120. package/lib/operations/v1UpdatePoolerConfig.d.ts +1 -1
  121. package/lib/operations/v1UpdatePostgresConfig.d.ts +10 -10
  122. package/lib/operations/v1UpdatePostgrestServiceConfig.d.ts +4 -4
  123. package/lib/operations/v1UpdateProjectApiKey.d.ts +8 -8
  124. package/lib/operations/v1UpdateProjectLegacyApiKeys.d.ts +1 -1
  125. package/lib/operations/v1UpdateProjectSigningKey.d.ts +3 -3
  126. package/lib/operations/v1UpdateRealtimeConfig.d.ts +6 -6
  127. package/lib/operations/v1UpdateSslEnforcementConfig.d.ts +1 -1
  128. package/lib/operations/v1UpdateStorageConfig.d.ts +11 -11
  129. package/lib/operations/v1UpgradePostgresVersion.d.ts +1 -1
  130. package/lib/operations/v1UpsertAMigration.d.ts +2 -2
  131. package/lib/operations/v1VerifyDnsConfig.d.ts +13 -13
  132. package/package.json +3 -3
  133. package/src/credentials.ts +2 -2
@@ -45,36 +45,36 @@ export type V1GetAvailableRegionsOutput = typeof V1GetAvailableRegionsOutput.Typ
45
45
  * @param desired_instance_size - Desired instance size. Omit this field to always default to the smallest possible size.
46
46
  */
47
47
  export declare const v1GetAvailableRegions: import("@distilled.cloud/core/client").OperationMethod<{
48
+ readonly organization_slug: string;
48
49
  readonly continent?: "AF" | "AN" | "AS" | "EU" | "NA" | "OC" | "SA" | undefined;
49
50
  readonly desired_instance_size?: "12xlarge" | "16xlarge" | "24xlarge" | "24xlarge_high_memory" | "24xlarge_optimized_cpu" | "24xlarge_optimized_memory" | "2xlarge" | "48xlarge" | "48xlarge_high_memory" | "48xlarge_optimized_cpu" | "48xlarge_optimized_memory" | "4xlarge" | "8xlarge" | "large" | "medium" | "micro" | "nano" | "small" | "xlarge" | undefined;
50
- readonly organization_slug: string;
51
51
  }, {
52
- readonly all: {
53
- readonly smartGroup: readonly {
54
- readonly code: "americas" | "apac" | "emea";
52
+ readonly recommendations: {
53
+ readonly smartGroup: {
55
54
  readonly name: string;
55
+ readonly code: "americas" | "apac" | "emea";
56
56
  readonly type: "smartGroup";
57
- }[];
57
+ };
58
58
  readonly specific: readonly {
59
- readonly code: "ap-east-1" | "ap-northeast-1" | "ap-northeast-2" | "ap-south-1" | "ap-southeast-1" | "ap-southeast-2" | "ca-central-1" | "eu-central-1" | "eu-central-2" | "eu-north-1" | "eu-west-1" | "eu-west-2" | "eu-west-3" | "sa-east-1" | "us-east-1" | "us-east-2" | "us-west-1" | "us-west-2";
60
59
  readonly name: string;
60
+ readonly code: "ap-east-1" | "ap-northeast-1" | "ap-northeast-2" | "ap-south-1" | "ap-southeast-1" | "ap-southeast-2" | "ca-central-1" | "eu-central-1" | "eu-central-2" | "eu-north-1" | "eu-west-1" | "eu-west-2" | "eu-west-3" | "sa-east-1" | "us-east-1" | "us-east-2" | "us-west-1" | "us-west-2";
61
+ readonly type: "specific";
61
62
  readonly provider: "AWS" | "AWS_K8S" | "AWS_NIMBUS" | "FLY";
62
63
  readonly status?: "capacity" | "other" | undefined;
63
- readonly type: "specific";
64
64
  }[];
65
65
  };
66
- readonly recommendations: {
67
- readonly smartGroup: {
68
- readonly code: "americas" | "apac" | "emea";
66
+ readonly all: {
67
+ readonly smartGroup: readonly {
69
68
  readonly name: string;
69
+ readonly code: "americas" | "apac" | "emea";
70
70
  readonly type: "smartGroup";
71
- };
71
+ }[];
72
72
  readonly specific: readonly {
73
- readonly code: "ap-east-1" | "ap-northeast-1" | "ap-northeast-2" | "ap-south-1" | "ap-southeast-1" | "ap-southeast-2" | "ca-central-1" | "eu-central-1" | "eu-central-2" | "eu-north-1" | "eu-west-1" | "eu-west-2" | "eu-west-3" | "sa-east-1" | "us-east-1" | "us-east-2" | "us-west-1" | "us-west-2";
74
73
  readonly name: string;
74
+ readonly code: "ap-east-1" | "ap-northeast-1" | "ap-northeast-2" | "ap-south-1" | "ap-southeast-1" | "ap-southeast-2" | "ca-central-1" | "eu-central-1" | "eu-central-2" | "eu-north-1" | "eu-west-1" | "eu-west-2" | "eu-west-3" | "sa-east-1" | "us-east-1" | "us-east-2" | "us-west-1" | "us-west-2";
75
+ readonly type: "specific";
75
76
  readonly provider: "AWS" | "AWS_K8S" | "AWS_NIMBUS" | "FLY";
76
77
  readonly status?: "capacity" | "other" | undefined;
77
- readonly type: "specific";
78
78
  }[];
79
79
  };
80
80
  }, Forbidden, import("../credentials.ts").Credentials>;
@@ -21,11 +21,11 @@ export type V1GetDiskUtilizationOutput = typeof V1GetDiskUtilizationOutput.Type;
21
21
  export declare const v1GetDiskUtilization: import("@distilled.cloud/core/client").OperationMethod<{
22
22
  readonly ref: string;
23
23
  }, {
24
+ readonly timestamp: string;
24
25
  readonly metrics: {
25
- readonly fs_avail_bytes: number;
26
26
  readonly fs_size_bytes: number;
27
+ readonly fs_avail_bytes: number;
27
28
  readonly fs_used_bytes: number;
28
29
  };
29
- readonly timestamp: string;
30
30
  }, BadRequest | Forbidden, import("../credentials.ts").Credentials>;
31
31
  //# sourceMappingURL=v1GetDiskUtilization.d.ts.map
@@ -44,34 +44,34 @@ export type V1GetHostnameConfigOutput = typeof V1GetHostnameConfigOutput.Type;
44
44
  export declare const v1GetHostnameConfig: import("@distilled.cloud/core/client").OperationMethod<{
45
45
  readonly ref: string;
46
46
  }, {
47
+ readonly status: "1_not_started" | "2_initiated" | "3_challenge_verified" | "4_origin_setup_completed" | "5_services_reconfigured";
47
48
  readonly custom_hostname: string;
48
49
  readonly data: {
50
+ readonly success: boolean;
49
51
  readonly errors: readonly unknown[];
50
52
  readonly messages: readonly unknown[];
51
53
  readonly result: {
52
- readonly custom_origin_server: string;
53
- readonly hostname: string;
54
54
  readonly id: string;
55
- readonly ownership_verification: {
56
- readonly name: string;
57
- readonly type: string;
58
- readonly value: string;
59
- };
55
+ readonly hostname: string;
60
56
  readonly ssl: {
61
57
  readonly status: string;
62
- readonly validation_errors?: readonly {
63
- readonly message: string;
64
- }[] | undefined;
65
58
  readonly validation_records: readonly {
66
59
  readonly txt_name: string;
67
60
  readonly txt_value: string;
68
61
  }[];
62
+ readonly validation_errors?: readonly {
63
+ readonly message: string;
64
+ }[] | undefined;
69
65
  };
70
- readonly status: string;
66
+ readonly ownership_verification: {
67
+ readonly type: string;
68
+ readonly name: string;
69
+ readonly value: string;
70
+ };
71
+ readonly custom_origin_server: string;
71
72
  readonly verification_errors?: readonly string[] | undefined;
73
+ readonly status: string;
72
74
  };
73
- readonly success: boolean;
74
75
  };
75
- readonly status: "1_not_started" | "2_initiated" | "3_challenge_verified" | "4_origin_setup_completed" | "5_services_reconfigured";
76
76
  }, BadRequest | Forbidden, import("../credentials.ts").Credentials>;
77
77
  //# sourceMappingURL=v1GetHostnameConfig.d.ts.map
@@ -32,6 +32,8 @@ export declare const v1GetJitAccess: import("@distilled.cloud/core/client").Oper
32
32
  }, {
33
33
  readonly user_id: string;
34
34
  readonly user_roles: readonly {
35
+ readonly role: string;
36
+ readonly expires_at?: number | undefined;
35
37
  readonly allowed_networks?: {
36
38
  readonly allowed_cidrs?: readonly {
37
39
  readonly cidr: string;
@@ -40,8 +42,6 @@ export declare const v1GetJitAccess: import("@distilled.cloud/core/client").Oper
40
42
  readonly cidr: string;
41
43
  }[] | undefined;
42
44
  } | undefined;
43
- readonly expires_at?: number | undefined;
44
- readonly role: string;
45
45
  }[];
46
46
  }, BadRequest | Forbidden, import("../credentials.ts").Credentials>;
47
47
  //# sourceMappingURL=v1GetJitAccess.d.ts.map
@@ -30,6 +30,8 @@ export declare const v1GetJitAccessConfig: import("@distilled.cloud/core/client"
30
30
  }, {
31
31
  readonly user_id: string;
32
32
  readonly user_roles: readonly {
33
+ readonly role: string;
34
+ readonly expires_at?: number | undefined;
33
35
  readonly allowed_networks?: {
34
36
  readonly allowed_cidrs?: readonly {
35
37
  readonly cidr: string;
@@ -38,8 +40,6 @@ export declare const v1GetJitAccessConfig: import("@distilled.cloud/core/client"
38
40
  readonly cidr: string;
39
41
  }[] | undefined;
40
42
  } | undefined;
41
- readonly expires_at?: number | undefined;
42
- readonly role: string;
43
43
  }[];
44
44
  }, BadRequest | Forbidden, import("../credentials.ts").Credentials>;
45
45
  //# sourceMappingURL=v1GetJitAccessConfig.d.ts.map
@@ -21,11 +21,11 @@ export type V1GetLegacySigningKeyOutput = typeof V1GetLegacySigningKeyOutput.Typ
21
21
  export declare const v1GetLegacySigningKey: import("@distilled.cloud/core/client").OperationMethod<{
22
22
  readonly ref: string;
23
23
  }, {
24
- readonly algorithm: "ES256" | "EdDSA" | "HS256" | "RS256";
25
- readonly created_at: string;
26
24
  readonly id: string;
27
- readonly public_jwk?: unknown;
25
+ readonly algorithm: "ES256" | "EdDSA" | "HS256" | "RS256";
28
26
  readonly status: "in_use" | "previously_used" | "revoked" | "standby";
27
+ readonly public_jwk?: unknown;
28
+ readonly created_at: string;
29
29
  readonly updated_at: string;
30
30
  }, BadRequest | Forbidden, import("../credentials.ts").Credentials>;
31
31
  //# sourceMappingURL=v1GetLegacySigningKey.d.ts.map
@@ -27,17 +27,17 @@ export type V1GetNetworkRestrictionsOutput = typeof V1GetNetworkRestrictionsOutp
27
27
  export declare const v1GetNetworkRestrictions: import("@distilled.cloud/core/client").OperationMethod<{
28
28
  readonly ref: string;
29
29
  }, {
30
- readonly applied_at?: string | undefined;
30
+ readonly entitlement: "allowed" | "disallowed";
31
31
  readonly config: {
32
32
  readonly dbAllowedCidrs?: readonly string[] | undefined;
33
33
  readonly dbAllowedCidrsV6?: readonly string[] | undefined;
34
34
  };
35
- readonly entitlement: "allowed" | "disallowed";
36
35
  readonly old_config?: {
37
36
  readonly dbAllowedCidrs?: readonly string[] | undefined;
38
37
  readonly dbAllowedCidrsV6?: readonly string[] | undefined;
39
38
  } | undefined;
40
39
  readonly status: "applied" | "stored";
41
40
  readonly updated_at?: string | undefined;
41
+ readonly applied_at?: string | undefined;
42
42
  }, BadRequest | Forbidden, import("../credentials.ts").Credentials>;
43
43
  //# sourceMappingURL=v1GetNetworkRestrictions.d.ts.map
@@ -27,13 +27,13 @@ export declare const v1GetOrganizationEntitlements: import("@distilled.cloud/cor
27
27
  readonly slug: string;
28
28
  }, {
29
29
  readonly entitlements: readonly {
30
- readonly config: unknown;
31
30
  readonly feature: {
32
31
  readonly key: "assistant.advance_model" | "auth.advanced_auth_settings" | "auth.custom_jwt_template" | "auth.hooks" | "auth.leaked_password_protection" | "auth.mfa_enhanced_security" | "auth.mfa_phone" | "auth.mfa_web_authn" | "auth.password_hibp" | "auth.performance_settings" | "auth.platform.sso" | "auth.saml_2" | "auth.user_sessions" | "backup.restore_to_new_project" | "backup.retention_days" | "branching_limit" | "branching_persistent" | "custom_domain" | "dedicated_pooler" | "function.max_count" | "function.size_limit_mb" | "instances.compute_update_available_sizes" | "instances.disk_modifications" | "instances.high_availability" | "instances.orioledb" | "instances.read_replicas" | "integrations.github_connections" | "ipv4" | "log.retention_days" | "log_drains" | "observability.dashboard_advanced_metrics" | "pitr.available_variants" | "project_cloning" | "project_pausing" | "project_restore_after_expiry" | "project_scoped_roles" | "realtime.max_bytes_per_second" | "realtime.max_channels_per_client" | "realtime.max_concurrent_users" | "realtime.max_events_per_second" | "realtime.max_joins_per_second" | "realtime.max_payload_size_in_kb" | "realtime.max_presence_events_per_second" | "replication.etl" | "security.audit_logs_days" | "security.enforce_mfa" | "security.member_roles" | "security.private_link" | "security.questionnaire" | "security.soc2_report" | "storage.iceberg_catalog" | "storage.image_transformations" | "storage.max_file_size" | "storage.max_file_size.configurable" | "storage.vector_buckets" | "vanity_subdomain";
33
32
  readonly type: "boolean" | "numeric" | "set";
34
33
  };
35
34
  readonly hasAccess: boolean;
36
35
  readonly type: "boolean" | "numeric" | "set";
36
+ readonly config: unknown;
37
37
  }[];
38
38
  }, Forbidden, import("../credentials.ts").Credentials>;
39
39
  //# sourceMappingURL=v1GetOrganizationEntitlements.d.ts.map
@@ -45,10 +45,16 @@ export declare const v1GetOrganizationProjectClaim: import("@distilled.cloud/cor
45
45
  readonly slug: string;
46
46
  readonly token: string;
47
47
  }, {
48
- readonly created_at: string;
49
- readonly created_by: string;
50
- readonly expires_at: string;
48
+ readonly project: {
49
+ readonly ref: string;
50
+ readonly name: string;
51
+ };
51
52
  readonly preview: {
53
+ readonly valid: boolean;
54
+ readonly warnings: readonly {
55
+ readonly key: string;
56
+ readonly message: string;
57
+ }[];
52
58
  readonly errors: readonly {
53
59
  readonly key: string;
54
60
  readonly message: string;
@@ -58,20 +64,14 @@ export declare const v1GetOrganizationProjectClaim: import("@distilled.cloud/cor
58
64
  readonly message: string;
59
65
  }[];
60
66
  readonly members_exceeding_free_project_limit: readonly {
61
- readonly limit: number;
62
67
  readonly name: string;
68
+ readonly limit: number;
63
69
  }[];
64
70
  readonly source_subscription_plan: "enterprise" | "free" | "platform" | "pro" | "team";
65
71
  readonly target_subscription_plan: "enterprise" | "free" | "platform" | "pro" | "team" | null;
66
- readonly valid: boolean;
67
- readonly warnings: readonly {
68
- readonly key: string;
69
- readonly message: string;
70
- }[];
71
- };
72
- readonly project: {
73
- readonly name: string;
74
- readonly ref: string;
75
72
  };
73
+ readonly expires_at: string;
74
+ readonly created_at: string;
75
+ readonly created_by: string;
76
76
  }, BadRequest | Forbidden | NotFound, import("../credentials.ts").Credentials>;
77
77
  //# sourceMappingURL=v1GetOrganizationProjectClaim.d.ts.map
@@ -27,16 +27,16 @@ export type V1GetPoolerConfigOutput = typeof V1GetPoolerConfigOutput.Type;
27
27
  export declare const v1GetPoolerConfig: import("@distilled.cloud/core/client").OperationMethod<{
28
28
  readonly ref: string;
29
29
  }, readonly {
30
- readonly connectionString: string | import("effect/Redacted").Redacted<string>;
31
- readonly connection_string: string | import("effect/Redacted").Redacted<string>;
30
+ readonly identifier: string;
32
31
  readonly database_type: "PRIMARY" | "READ_REPLICA";
32
+ readonly is_using_scram_auth: boolean;
33
+ readonly db_user: string;
33
34
  readonly db_host: string;
34
- readonly db_name: string;
35
35
  readonly db_port: number;
36
- readonly db_user: string;
36
+ readonly db_name: string;
37
+ readonly connection_string: string | import("effect/Redacted").Redacted<string>;
38
+ readonly connectionString: string | import("effect/Redacted").Redacted<string>;
37
39
  readonly default_pool_size: number | null;
38
- readonly identifier: string;
39
- readonly is_using_scram_auth: boolean;
40
40
  readonly max_client_conn: number | null;
41
41
  readonly pool_mode: "session" | "transaction";
42
42
  }[], BadRequest | Forbidden, import("../credentials.ts").Credentials>;
@@ -40,11 +40,10 @@ export type V1GetPostgresConfigOutput = typeof V1GetPostgresConfigOutput.Type;
40
40
  export declare const v1GetPostgresConfig: import("@distilled.cloud/core/client").OperationMethod<{
41
41
  readonly ref: string;
42
42
  }, {
43
- readonly checkpoint_timeout?: string | undefined;
44
43
  readonly effective_cache_size?: string | undefined;
45
- readonly hot_standby_feedback?: boolean | undefined;
46
44
  readonly logical_decoding_work_mem?: string | undefined;
47
45
  readonly maintenance_work_mem?: string | undefined;
46
+ readonly track_activity_query_size?: string | undefined;
48
47
  readonly max_connections?: number | undefined;
49
48
  readonly max_locks_per_transaction?: number | undefined;
50
49
  readonly max_parallel_maintenance_workers?: number | undefined;
@@ -54,16 +53,17 @@ export declare const v1GetPostgresConfig: import("@distilled.cloud/core/client")
54
53
  readonly max_slot_wal_keep_size?: string | undefined;
55
54
  readonly max_standby_archive_delay?: string | undefined;
56
55
  readonly max_standby_streaming_delay?: string | undefined;
57
- readonly max_wal_senders?: number | undefined;
58
56
  readonly max_wal_size?: string | undefined;
57
+ readonly max_wal_senders?: number | undefined;
59
58
  readonly max_worker_processes?: number | undefined;
60
59
  readonly session_replication_role?: "local" | "origin" | "replica" | undefined;
61
60
  readonly shared_buffers?: string | undefined;
62
61
  readonly statement_timeout?: string | undefined;
63
- readonly track_activity_query_size?: string | undefined;
64
62
  readonly track_commit_timestamp?: boolean | undefined;
65
63
  readonly wal_keep_size?: string | undefined;
66
64
  readonly wal_sender_timeout?: string | undefined;
67
65
  readonly work_mem?: string | undefined;
66
+ readonly checkpoint_timeout?: string | undefined;
67
+ readonly hot_standby_feedback?: boolean | undefined;
68
68
  }, BadRequest | Forbidden, import("../credentials.ts").Credentials>;
69
69
  //# sourceMappingURL=v1GetPostgresConfig.d.ts.map
@@ -30,18 +30,18 @@ export type V1GetPostgresUpgradeEligibilityOutput = typeof V1GetPostgresUpgradeE
30
30
  export declare const v1GetPostgresUpgradeEligibility: import("@distilled.cloud/core/client").OperationMethod<{
31
31
  readonly ref: string;
32
32
  }, {
33
+ readonly eligible: boolean;
33
34
  readonly current_app_version: string;
34
35
  readonly current_app_version_release_channel: "alpha" | "beta" | "ga" | "internal" | "preview" | "withdrawn";
35
- readonly duration_estimate_hours: number;
36
- readonly eligible: boolean;
37
36
  readonly latest_app_version: string;
38
- readonly legacy_auth_custom_roles: readonly string[];
39
- readonly objects_to_be_dropped: readonly string[];
40
37
  readonly target_upgrade_versions: readonly {
41
- readonly app_version: string;
42
38
  readonly postgres_version: "13" | "14" | "15" | "17" | "17-oriole";
43
39
  readonly release_channel: "alpha" | "beta" | "ga" | "internal" | "preview" | "withdrawn";
40
+ readonly app_version: string;
44
41
  }[];
42
+ readonly duration_estimate_hours: number;
43
+ readonly legacy_auth_custom_roles: readonly string[];
44
+ readonly objects_to_be_dropped: readonly string[];
45
45
  readonly unsupported_extensions: readonly string[];
46
46
  readonly user_defined_objects_in_internal_schemas: readonly string[];
47
47
  readonly validation_errors: readonly unknown[];
@@ -26,12 +26,12 @@ export declare const v1GetPostgresUpgradeStatus: import("@distilled.cloud/core/c
26
26
  readonly tracking_id?: string | undefined;
27
27
  }, {
28
28
  readonly databaseUpgradeStatus: {
29
- readonly error?: "1_upgraded_instance_launch_failed" | "2_volume_detachchment_from_upgraded_instance_failed" | "3_volume_attachment_to_original_instance_failed" | "4_data_upgrade_initiation_failed" | "5_data_upgrade_completion_failed" | "6_volume_detachchment_from_original_instance_failed" | "7_volume_attachment_to_upgraded_instance_failed" | "8_upgrade_completion_failed" | "9_post_physical_backup_failed" | undefined;
30
29
  readonly initiated_at: string;
31
30
  readonly latest_status_at: string;
31
+ readonly target_version: number;
32
+ readonly error?: "1_upgraded_instance_launch_failed" | "2_volume_detachchment_from_upgraded_instance_failed" | "3_volume_attachment_to_original_instance_failed" | "4_data_upgrade_initiation_failed" | "5_data_upgrade_completion_failed" | "6_volume_detachchment_from_original_instance_failed" | "7_volume_attachment_to_upgraded_instance_failed" | "8_upgrade_completion_failed" | "9_post_physical_backup_failed" | undefined;
32
33
  readonly progress?: "0_requested" | "10_completed_post_physical_backup" | "1_started" | "2_launched_upgraded_instance" | "3_detached_volume_from_upgraded_instance" | "4_attached_volume_to_original_instance" | "5_initiated_data_upgrade" | "6_completed_data_upgrade" | "7_detached_volume_from_original_instance" | "8_attached_volume_to_upgraded_instance" | "9_completed_upgrade" | undefined;
33
34
  readonly status: number;
34
- readonly target_version: number;
35
35
  } | null;
36
36
  }, BadRequest | Forbidden, import("../credentials.ts").Credentials>;
37
37
  //# sourceMappingURL=v1GetPostgresUpgradeStatus.d.ts.map
@@ -20,10 +20,10 @@ export type V1GetPostgrestServiceConfigOutput = typeof V1GetPostgrestServiceConf
20
20
  export declare const v1GetPostgrestServiceConfig: import("@distilled.cloud/core/client").OperationMethod<{
21
21
  readonly ref: string;
22
22
  }, {
23
+ readonly db_schema: string;
24
+ readonly max_rows: number;
23
25
  readonly db_extra_search_path: string;
24
26
  readonly db_pool: number | null;
25
- readonly db_schema: string;
26
27
  readonly jwt_secret?: string | import("effect/Redacted").Redacted<string> | undefined;
27
- readonly max_rows: number;
28
28
  }, BadRequest | Forbidden, import("../credentials.ts").Credentials>;
29
29
  //# sourceMappingURL=v1GetPostgrestServiceConfig.d.ts.map
@@ -29,19 +29,19 @@ export type V1GetProjectOutput = typeof V1GetProjectOutput.Type;
29
29
  export declare const v1GetProject: import("@distilled.cloud/core/client").OperationMethod<{
30
30
  readonly ref: string;
31
31
  }, {
32
+ readonly id: string;
33
+ readonly ref: string;
34
+ readonly organization_id: string;
35
+ readonly organization_slug: string;
36
+ readonly name: string;
37
+ readonly region: string;
32
38
  readonly created_at: string;
39
+ readonly status: "ACTIVE_HEALTHY" | "ACTIVE_UNHEALTHY" | "COMING_UP" | "GOING_DOWN" | "INACTIVE" | "INIT_FAILED" | "PAUSE_FAILED" | "PAUSING" | "REMOVED" | "RESIZING" | "RESTARTING" | "RESTORE_FAILED" | "RESTORING" | "UNKNOWN" | "UPGRADING";
33
40
  readonly database: {
34
41
  readonly host: string;
42
+ readonly version: string;
35
43
  readonly postgres_engine: string;
36
44
  readonly release_channel: string;
37
- readonly version: string;
38
45
  };
39
- readonly id: string;
40
- readonly name: string;
41
- readonly organization_id: string;
42
- readonly organization_slug: string;
43
- readonly ref: string;
44
- readonly region: string;
45
- readonly status: "ACTIVE_HEALTHY" | "ACTIVE_UNHEALTHY" | "COMING_UP" | "GOING_DOWN" | "INACTIVE" | "INIT_FAILED" | "PAUSE_FAILED" | "PAUSING" | "REMOVED" | "RESIZING" | "RESTARTING" | "RESTORE_FAILED" | "RESTORING" | "UNKNOWN" | "UPGRADING";
46
46
  }, BadRequest | Forbidden, import("../credentials.ts").Credentials>;
47
47
  //# sourceMappingURL=v1GetProject.d.ts.map
@@ -26,21 +26,21 @@ export type V1GetProjectApiKeyOutput = typeof V1GetProjectApiKeyOutput.Type;
26
26
  * @param reveal - Boolean string, true or false
27
27
  */
28
28
  export declare const v1GetProjectApiKey: import("@distilled.cloud/core/client").OperationMethod<{
29
- readonly id: string;
30
29
  readonly ref: string;
30
+ readonly id: string;
31
31
  readonly reveal?: boolean | undefined;
32
32
  }, {
33
33
  readonly api_key?: string | import("effect/Redacted").Redacted<string> | null | undefined;
34
- readonly description?: string | null | undefined;
35
- readonly hash?: string | null | undefined;
36
34
  readonly id?: string | null | undefined;
37
- readonly inserted_at?: string | null | undefined;
38
- readonly name: string;
35
+ readonly type?: "legacy" | "publishable" | "secret" | null | undefined;
39
36
  readonly prefix?: string | null | undefined;
37
+ readonly name: string;
38
+ readonly description?: string | null | undefined;
39
+ readonly hash?: string | null | undefined;
40
40
  readonly secret_jwt_template?: {
41
41
  readonly [x: string]: unknown;
42
42
  } | null | undefined;
43
- readonly type?: "legacy" | "publishable" | "secret" | null | undefined;
43
+ readonly inserted_at?: string | null | undefined;
44
44
  readonly updated_at?: string | null | undefined;
45
45
  }, BadRequest | Forbidden | NotFound, import("../credentials.ts").Credentials>;
46
46
  //# sourceMappingURL=v1GetProjectApiKey.d.ts.map
@@ -29,16 +29,16 @@ export declare const v1GetProjectApiKeys: import("@distilled.cloud/core/client")
29
29
  readonly reveal?: boolean | undefined;
30
30
  }, readonly {
31
31
  readonly api_key?: string | import("effect/Redacted").Redacted<string> | null | undefined;
32
- readonly description?: string | null | undefined;
33
- readonly hash?: string | null | undefined;
34
32
  readonly id?: string | null | undefined;
35
- readonly inserted_at?: string | null | undefined;
36
- readonly name: string;
33
+ readonly type?: "legacy" | "publishable" | "secret" | null | undefined;
37
34
  readonly prefix?: string | null | undefined;
35
+ readonly name: string;
36
+ readonly description?: string | null | undefined;
37
+ readonly hash?: string | null | undefined;
38
38
  readonly secret_jwt_template?: {
39
39
  readonly [x: string]: unknown;
40
40
  } | null | undefined;
41
- readonly type?: "legacy" | "publishable" | "secret" | null | undefined;
41
+ readonly inserted_at?: string | null | undefined;
42
42
  readonly updated_at?: string | null | undefined;
43
43
  }[], BadRequest | Forbidden, import("../credentials.ts").Credentials>;
44
44
  //# sourceMappingURL=v1GetProjectApiKeys.d.ts.map
@@ -19,9 +19,9 @@ export type V1GetProjectClaimTokenOutput = typeof V1GetProjectClaimTokenOutput.T
19
19
  export declare const v1GetProjectClaimToken: import("@distilled.cloud/core/client").OperationMethod<{
20
20
  readonly ref: string;
21
21
  }, {
22
+ readonly token_alias: string;
23
+ readonly expires_at: string;
22
24
  readonly created_at: string;
23
25
  readonly created_by: string;
24
- readonly expires_at: string;
25
- readonly token_alias: string;
26
26
  }, BadRequest | Forbidden, import("../credentials.ts").Credentials>;
27
27
  //# sourceMappingURL=v1GetProjectClaimToken.d.ts.map
@@ -19,7 +19,7 @@ export declare const v1GetProjectDiskAutoscaleConfig: import("@distilled.cloud/c
19
19
  readonly ref: string;
20
20
  }, {
21
21
  readonly growth_percent: number | null;
22
- readonly max_size_gb: number | null;
23
22
  readonly min_increment_gb: number | null;
23
+ readonly max_size_gb: number | null;
24
24
  }, BadRequest | Forbidden, import("../credentials.ts").Credentials>;
25
25
  //# sourceMappingURL=v1GetProjectDiskAutoscaleConfig.d.ts.map
@@ -17,11 +17,11 @@ export type V1GetProjectFunctionCombinedStatsOutput = typeof V1GetProjectFunctio
17
17
  * @param ref - Project ref
18
18
  */
19
19
  export declare const v1GetProjectFunctionCombinedStats: import("@distilled.cloud/core/client").OperationMethod<{
20
- readonly function_id: string;
21
- readonly interval: "15min" | "1day" | "1hr" | "3hr";
22
20
  readonly ref: string;
21
+ readonly interval: "15min" | "1day" | "1hr" | "3hr";
22
+ readonly function_id: string;
23
23
  }, {
24
- readonly error?: unknown;
25
24
  readonly result?: readonly unknown[] | undefined;
25
+ readonly error?: unknown;
26
26
  }, BadRequest | Forbidden, import("../credentials.ts").Credentials>;
27
27
  //# sourceMappingURL=v1GetProjectFunctionCombinedStats.d.ts.map
@@ -25,12 +25,12 @@ export type V1GetProjectLogsOutput = typeof V1GetProjectLogsOutput.Type;
25
25
  * @param sql - Custom SQL query to execute on the logs. See [querying logs](/docs/guides/telemetry/logs?queryGroups=product&product=postgres&queryGroups=source&source=edge_logs#querying-with-the-logs-explorer) for more details.
26
26
  */
27
27
  export declare const v1GetProjectLogs: import("@distilled.cloud/core/client").OperationMethod<{
28
- readonly iso_timestamp_end?: string | undefined;
29
- readonly iso_timestamp_start?: string | undefined;
30
28
  readonly ref: string;
31
29
  readonly sql?: string | undefined;
30
+ readonly iso_timestamp_start?: string | undefined;
31
+ readonly iso_timestamp_end?: string | undefined;
32
32
  }, {
33
- readonly error?: unknown;
34
33
  readonly result?: readonly unknown[] | undefined;
34
+ readonly error?: unknown;
35
35
  }, BadRequest | Forbidden, import("../credentials.ts").Credentials>;
36
36
  //# sourceMappingURL=v1GetProjectLogs.d.ts.map
@@ -24,14 +24,14 @@ export type V1GetProjectPgbouncerConfigOutput = typeof V1GetProjectPgbouncerConf
24
24
  export declare const v1GetProjectPgbouncerConfig: import("@distilled.cloud/core/client").OperationMethod<{
25
25
  readonly ref: string;
26
26
  }, {
27
- readonly connection_string?: string | import("effect/Redacted").Redacted<string> | undefined;
28
27
  readonly default_pool_size?: number | undefined;
29
28
  readonly ignore_startup_parameters?: string | undefined;
30
29
  readonly max_client_conn?: number | undefined;
31
30
  readonly pool_mode?: "session" | "statement" | "transaction" | undefined;
32
- readonly query_wait_timeout?: number | undefined;
33
- readonly reserve_pool_size?: number | undefined;
31
+ readonly connection_string?: string | import("effect/Redacted").Redacted<string> | undefined;
34
32
  readonly server_idle_timeout?: number | undefined;
35
33
  readonly server_lifetime?: number | undefined;
34
+ readonly query_wait_timeout?: number | undefined;
35
+ readonly reserve_pool_size?: number | undefined;
36
36
  }, BadRequest | Forbidden, import("../credentials.ts").Credentials>;
37
37
  //# sourceMappingURL=v1GetProjectPgbouncerConfig.d.ts.map
@@ -23,11 +23,11 @@ export declare const v1GetProjectSigningKey: import("@distilled.cloud/core/clien
23
23
  readonly id: string;
24
24
  readonly ref: string;
25
25
  }, {
26
- readonly algorithm: "ES256" | "EdDSA" | "HS256" | "RS256";
27
- readonly created_at: string;
28
26
  readonly id: string;
29
- readonly public_jwk?: unknown;
27
+ readonly algorithm: "ES256" | "EdDSA" | "HS256" | "RS256";
30
28
  readonly status: "in_use" | "previously_used" | "revoked" | "standby";
29
+ readonly public_jwk?: unknown;
30
+ readonly created_at: string;
31
31
  readonly updated_at: string;
32
32
  }, BadRequest | Forbidden | NotFound, import("../credentials.ts").Credentials>;
33
33
  //# sourceMappingURL=v1GetProjectSigningKey.d.ts.map
@@ -24,11 +24,11 @@ export declare const v1GetProjectSigningKeys: import("@distilled.cloud/core/clie
24
24
  readonly ref: string;
25
25
  }, {
26
26
  readonly keys: readonly {
27
- readonly algorithm: "ES256" | "EdDSA" | "HS256" | "RS256";
28
- readonly created_at: string;
29
27
  readonly id: string;
30
- readonly public_jwk?: unknown;
28
+ readonly algorithm: "ES256" | "EdDSA" | "HS256" | "RS256";
31
29
  readonly status: "in_use" | "previously_used" | "revoked" | "standby";
30
+ readonly public_jwk?: unknown;
31
+ readonly created_at: string;
32
32
  readonly updated_at: string;
33
33
  }[];
34
34
  }, BadRequest | Forbidden, import("../credentials.ts").Credentials>;
@@ -26,14 +26,14 @@ export declare const v1GetProjectTpaIntegration: import("@distilled.cloud/core/c
26
26
  readonly ref: string;
27
27
  readonly tpa_id: string;
28
28
  }, {
29
- readonly custom_jwks?: unknown;
30
29
  readonly id: string;
31
- readonly inserted_at: string;
32
- readonly jwks_url?: string | null | undefined;
30
+ readonly type: string;
33
31
  readonly oidc_issuer_url?: string | null | undefined;
34
- readonly resolved_at?: string | null | undefined;
32
+ readonly jwks_url?: string | null | undefined;
33
+ readonly custom_jwks?: unknown;
35
34
  readonly resolved_jwks?: unknown;
36
- readonly type: string;
35
+ readonly inserted_at: string;
37
36
  readonly updated_at: string;
37
+ readonly resolved_at?: string | null | undefined;
38
38
  }, BadRequest | Forbidden | NotFound, import("../credentials.ts").Credentials>;
39
39
  //# sourceMappingURL=v1GetProjectTpaIntegration.d.ts.map
@@ -22,10 +22,9 @@ export type V1GetProjectUsageApiCountOutput = typeof V1GetProjectUsageApiCountOu
22
22
  * @param ref - Project ref
23
23
  */
24
24
  export declare const v1GetProjectUsageApiCount: import("@distilled.cloud/core/client").OperationMethod<{
25
- readonly interval?: "15min" | "1day" | "1hr" | "30min" | "3day" | "3hr" | "7day" | undefined;
26
25
  readonly ref: string;
26
+ readonly interval?: "15min" | "1day" | "1hr" | "30min" | "3day" | "3hr" | "7day" | undefined;
27
27
  }, {
28
- readonly error?: unknown;
29
28
  readonly result?: readonly {
30
29
  readonly timestamp: string;
31
30
  readonly total_auth_requests: number;
@@ -33,5 +32,6 @@ export declare const v1GetProjectUsageApiCount: import("@distilled.cloud/core/cl
33
32
  readonly total_rest_requests: number;
34
33
  readonly total_storage_requests: number;
35
34
  }[] | undefined;
35
+ readonly error?: unknown;
36
36
  }, BadRequest | Forbidden, import("../credentials.ts").Credentials>;
37
37
  //# sourceMappingURL=v1GetProjectUsageApiCount.d.ts.map
@@ -19,9 +19,9 @@ export type V1GetProjectUsageRequestCountOutput = typeof V1GetProjectUsageReques
19
19
  export declare const v1GetProjectUsageRequestCount: import("@distilled.cloud/core/client").OperationMethod<{
20
20
  readonly ref: string;
21
21
  }, {
22
- readonly error?: unknown;
23
22
  readonly result?: readonly {
24
23
  readonly count: number;
25
24
  }[] | undefined;
25
+ readonly error?: unknown;
26
26
  }, BadRequest | Forbidden, import("../credentials.ts").Credentials>;
27
27
  //# sourceMappingURL=v1GetProjectUsageRequestCount.d.ts.map
@@ -19,7 +19,7 @@ export declare const v1GetReadonlyModeStatus: import("@distilled.cloud/core/clie
19
19
  readonly ref: string;
20
20
  }, {
21
21
  readonly enabled: boolean;
22
- readonly override_active_until: string;
23
22
  readonly override_enabled: boolean;
23
+ readonly override_active_until: string;
24
24
  }, BadRequest | Forbidden, import("../credentials.ts").Credentials>;
25
25
  //# sourceMappingURL=v1GetReadonlyModeStatus.d.ts.map