@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
@@ -43,37 +43,37 @@ export type V1UpdateHostnameConfigOutput = typeof V1UpdateHostnameConfigOutput.T
43
43
  * @param ref - Project ref
44
44
  */
45
45
  export declare const v1UpdateHostnameConfig: import("@distilled.cloud/core/client").OperationMethod<{
46
- readonly custom_hostname: string;
47
46
  readonly ref: string;
47
+ readonly custom_hostname: string;
48
48
  }, {
49
+ readonly status: "1_not_started" | "2_initiated" | "3_challenge_verified" | "4_origin_setup_completed" | "5_services_reconfigured";
49
50
  readonly custom_hostname: string;
50
51
  readonly data: {
52
+ readonly success: boolean;
51
53
  readonly errors: readonly unknown[];
52
54
  readonly messages: readonly unknown[];
53
55
  readonly result: {
54
- readonly custom_origin_server: string;
55
- readonly hostname: string;
56
56
  readonly id: string;
57
- readonly ownership_verification: {
58
- readonly name: string;
59
- readonly type: string;
60
- readonly value: string;
61
- };
57
+ readonly hostname: string;
62
58
  readonly ssl: {
63
59
  readonly status: string;
64
- readonly validation_errors?: readonly {
65
- readonly message: string;
66
- }[] | undefined;
67
60
  readonly validation_records: readonly {
68
61
  readonly txt_name: string;
69
62
  readonly txt_value: string;
70
63
  }[];
64
+ readonly validation_errors?: readonly {
65
+ readonly message: string;
66
+ }[] | undefined;
71
67
  };
72
- readonly status: string;
68
+ readonly ownership_verification: {
69
+ readonly type: string;
70
+ readonly name: string;
71
+ readonly value: string;
72
+ };
73
+ readonly custom_origin_server: string;
73
74
  readonly verification_errors?: readonly string[] | undefined;
75
+ readonly status: string;
74
76
  };
75
- readonly success: boolean;
76
77
  };
77
- readonly status: "1_not_started" | "2_initiated" | "3_challenge_verified" | "4_origin_setup_completed" | "5_services_reconfigured";
78
78
  }, BadRequest | Forbidden, import("../credentials.ts").Credentials>;
79
79
  //# sourceMappingURL=v1UpdateHostnameConfig.d.ts.map
@@ -42,7 +42,10 @@ export type V1UpdateJitAccessOutput = typeof V1UpdateJitAccessOutput.Type;
42
42
  */
43
43
  export declare const v1UpdateJitAccess: import("@distilled.cloud/core/client").OperationMethod<{
44
44
  readonly ref: string;
45
+ readonly user_id: string;
45
46
  readonly roles: readonly {
47
+ readonly role: string;
48
+ readonly expires_at?: number | undefined;
46
49
  readonly allowed_networks?: {
47
50
  readonly allowed_cidrs?: readonly {
48
51
  readonly cidr: string;
@@ -51,13 +54,12 @@ export declare const v1UpdateJitAccess: import("@distilled.cloud/core/client").O
51
54
  readonly cidr: string;
52
55
  }[] | undefined;
53
56
  } | undefined;
54
- readonly expires_at?: number | undefined;
55
- readonly role: string;
56
57
  }[];
57
- readonly user_id: string;
58
58
  }, {
59
59
  readonly user_id: string;
60
60
  readonly user_roles: readonly {
61
+ readonly role: string;
62
+ readonly expires_at?: number | undefined;
61
63
  readonly allowed_networks?: {
62
64
  readonly allowed_cidrs?: readonly {
63
65
  readonly cidr: string;
@@ -66,8 +68,6 @@ export declare const v1UpdateJitAccess: import("@distilled.cloud/core/client").O
66
68
  readonly cidr: string;
67
69
  }[] | undefined;
68
70
  } | undefined;
69
- readonly expires_at?: number | undefined;
70
- readonly role: string;
71
71
  }[];
72
72
  }, BadRequest | Forbidden, import("../credentials.ts").Credentials>;
73
73
  //# sourceMappingURL=v1UpdateJitAccess.d.ts.map
@@ -32,6 +32,8 @@ export declare const v1UpdateJitAccessConfig: import("@distilled.cloud/core/clie
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 v1UpdateJitAccessConfig: import("@distilled.cloud/core/clie
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=v1UpdateJitAccessConfig.d.ts.map
@@ -27,21 +27,21 @@ export type V1UpdateNetworkRestrictionsOutput = typeof V1UpdateNetworkRestrictio
27
27
  * @param ref - Project ref
28
28
  */
29
29
  export declare const v1UpdateNetworkRestrictions: import("@distilled.cloud/core/client").OperationMethod<{
30
+ readonly ref: string;
30
31
  readonly dbAllowedCidrs?: readonly string[] | undefined;
31
32
  readonly dbAllowedCidrsV6?: readonly string[] | undefined;
32
- readonly ref: string;
33
33
  }, {
34
- readonly applied_at?: string | undefined;
34
+ readonly entitlement: "allowed" | "disallowed";
35
35
  readonly config: {
36
36
  readonly dbAllowedCidrs?: readonly string[] | undefined;
37
37
  readonly dbAllowedCidrsV6?: readonly string[] | undefined;
38
38
  };
39
- readonly entitlement: "allowed" | "disallowed";
40
39
  readonly old_config?: {
41
40
  readonly dbAllowedCidrs?: readonly string[] | undefined;
42
41
  readonly dbAllowedCidrsV6?: readonly string[] | undefined;
43
42
  } | undefined;
44
43
  readonly status: "applied" | "stored";
45
44
  readonly updated_at?: string | undefined;
45
+ readonly applied_at?: string | undefined;
46
46
  }, BadRequest | Forbidden, import("../credentials.ts").Credentials>;
47
47
  //# sourceMappingURL=v1UpdateNetworkRestrictions.d.ts.map
@@ -17,9 +17,9 @@ export type V1UpdatePoolerConfigOutput = typeof V1UpdatePoolerConfigOutput.Type;
17
17
  * @param ref - Project ref
18
18
  */
19
19
  export declare const v1UpdatePoolerConfig: import("@distilled.cloud/core/client").OperationMethod<{
20
+ readonly ref: string;
20
21
  readonly default_pool_size?: number | null | undefined;
21
22
  readonly pool_mode?: "session" | "transaction" | undefined;
22
- readonly ref: string;
23
23
  }, {
24
24
  readonly default_pool_size: number | null;
25
25
  readonly pool_mode: string;
@@ -64,11 +64,11 @@ export type V1UpdatePostgresConfigOutput = typeof V1UpdatePostgresConfigOutput.T
64
64
  * @param ref - Project ref
65
65
  */
66
66
  export declare const v1UpdatePostgresConfig: import("@distilled.cloud/core/client").OperationMethod<{
67
- readonly checkpoint_timeout?: string | undefined;
67
+ readonly ref: string;
68
68
  readonly effective_cache_size?: string | undefined;
69
- readonly hot_standby_feedback?: boolean | undefined;
70
69
  readonly logical_decoding_work_mem?: string | undefined;
71
70
  readonly maintenance_work_mem?: string | undefined;
71
+ readonly track_activity_query_size?: string | undefined;
72
72
  readonly max_connections?: number | undefined;
73
73
  readonly max_locks_per_transaction?: number | undefined;
74
74
  readonly max_parallel_maintenance_workers?: number | undefined;
@@ -78,25 +78,24 @@ export declare const v1UpdatePostgresConfig: import("@distilled.cloud/core/clien
78
78
  readonly max_slot_wal_keep_size?: string | undefined;
79
79
  readonly max_standby_archive_delay?: string | undefined;
80
80
  readonly max_standby_streaming_delay?: string | undefined;
81
- readonly max_wal_senders?: number | undefined;
82
81
  readonly max_wal_size?: string | undefined;
82
+ readonly max_wal_senders?: number | undefined;
83
83
  readonly max_worker_processes?: number | undefined;
84
- readonly ref: string;
85
- readonly restart_database?: boolean | undefined;
86
84
  readonly session_replication_role?: "local" | "origin" | "replica" | undefined;
87
85
  readonly shared_buffers?: string | undefined;
88
86
  readonly statement_timeout?: string | undefined;
89
- readonly track_activity_query_size?: string | undefined;
90
87
  readonly track_commit_timestamp?: boolean | undefined;
91
88
  readonly wal_keep_size?: string | undefined;
92
89
  readonly wal_sender_timeout?: string | undefined;
93
90
  readonly work_mem?: string | undefined;
94
- }, {
95
91
  readonly checkpoint_timeout?: string | undefined;
96
- readonly effective_cache_size?: string | undefined;
97
92
  readonly hot_standby_feedback?: boolean | undefined;
93
+ readonly restart_database?: boolean | undefined;
94
+ }, {
95
+ readonly effective_cache_size?: string | undefined;
98
96
  readonly logical_decoding_work_mem?: string | undefined;
99
97
  readonly maintenance_work_mem?: string | undefined;
98
+ readonly track_activity_query_size?: string | undefined;
100
99
  readonly max_connections?: number | undefined;
101
100
  readonly max_locks_per_transaction?: number | undefined;
102
101
  readonly max_parallel_maintenance_workers?: number | undefined;
@@ -106,16 +105,17 @@ export declare const v1UpdatePostgresConfig: import("@distilled.cloud/core/clien
106
105
  readonly max_slot_wal_keep_size?: string | undefined;
107
106
  readonly max_standby_archive_delay?: string | undefined;
108
107
  readonly max_standby_streaming_delay?: string | undefined;
109
- readonly max_wal_senders?: number | undefined;
110
108
  readonly max_wal_size?: string | undefined;
109
+ readonly max_wal_senders?: number | undefined;
111
110
  readonly max_worker_processes?: number | undefined;
112
111
  readonly session_replication_role?: "local" | "origin" | "replica" | undefined;
113
112
  readonly shared_buffers?: string | undefined;
114
113
  readonly statement_timeout?: string | undefined;
115
- readonly track_activity_query_size?: string | undefined;
116
114
  readonly track_commit_timestamp?: boolean | undefined;
117
115
  readonly wal_keep_size?: string | undefined;
118
116
  readonly wal_sender_timeout?: string | undefined;
119
117
  readonly work_mem?: string | undefined;
118
+ readonly checkpoint_timeout?: string | undefined;
119
+ readonly hot_standby_feedback?: boolean | undefined;
120
120
  }, BadRequest | Forbidden, import("../credentials.ts").Credentials>;
121
121
  //# sourceMappingURL=v1UpdatePostgresConfig.d.ts.map
@@ -21,15 +21,15 @@ export type V1UpdatePostgrestServiceConfigOutput = typeof V1UpdatePostgrestServi
21
21
  * @param ref - Project ref
22
22
  */
23
23
  export declare const v1UpdatePostgrestServiceConfig: import("@distilled.cloud/core/client").OperationMethod<{
24
+ readonly ref: string;
24
25
  readonly db_extra_search_path?: string | undefined;
25
- readonly db_pool?: number | undefined;
26
26
  readonly db_schema?: string | undefined;
27
27
  readonly max_rows?: number | undefined;
28
- readonly ref: string;
28
+ readonly db_pool?: number | undefined;
29
29
  }, {
30
- readonly db_extra_search_path: string;
31
- readonly db_pool: number | null;
32
30
  readonly db_schema: string;
33
31
  readonly max_rows: number;
32
+ readonly db_extra_search_path: string;
33
+ readonly db_pool: number | null;
34
34
  }, BadRequest | Forbidden, import("../credentials.ts").Credentials>;
35
35
  //# sourceMappingURL=v1UpdatePostgrestServiceConfig.d.ts.map
@@ -29,26 +29,26 @@ export type V1UpdateProjectApiKeyOutput = typeof V1UpdateProjectApiKeyOutput.Typ
29
29
  * @param reveal - Boolean string, true or false
30
30
  */
31
31
  export declare const v1UpdateProjectApiKey: import("@distilled.cloud/core/client").OperationMethod<{
32
- readonly description?: string | null | undefined;
33
- readonly id: string;
34
- readonly name?: string | undefined;
35
32
  readonly ref: string;
33
+ readonly id: string;
36
34
  readonly reveal?: boolean | undefined;
35
+ readonly name?: string | undefined;
36
+ readonly description?: string | null | undefined;
37
37
  readonly secret_jwt_template?: {
38
38
  readonly [x: string]: unknown;
39
39
  } | null | undefined;
40
40
  }, {
41
41
  readonly api_key?: string | import("effect/Redacted").Redacted<string> | null | undefined;
42
- readonly description?: string | null | undefined;
43
- readonly hash?: string | null | undefined;
44
42
  readonly id?: string | null | undefined;
45
- readonly inserted_at?: string | null | undefined;
46
- readonly name: string;
43
+ readonly type?: "legacy" | "publishable" | "secret" | null | undefined;
47
44
  readonly prefix?: string | null | undefined;
45
+ readonly name: string;
46
+ readonly description?: string | null | undefined;
47
+ readonly hash?: string | null | undefined;
48
48
  readonly secret_jwt_template?: {
49
49
  readonly [x: string]: unknown;
50
50
  } | null | undefined;
51
- readonly type?: "legacy" | "publishable" | "secret" | null | undefined;
51
+ readonly inserted_at?: string | null | undefined;
52
52
  readonly updated_at?: string | null | undefined;
53
53
  }, BadRequest | Forbidden | NotFound, import("../credentials.ts").Credentials>;
54
54
  //# sourceMappingURL=v1UpdateProjectApiKey.d.ts.map
@@ -16,8 +16,8 @@ export type V1UpdateProjectLegacyApiKeysOutput = typeof V1UpdateProjectLegacyApi
16
16
  * @param enabled - Boolean string, true or false
17
17
  */
18
18
  export declare const v1UpdateProjectLegacyApiKeys: import("@distilled.cloud/core/client").OperationMethod<{
19
- readonly enabled: boolean;
20
19
  readonly ref: string;
20
+ readonly enabled: boolean;
21
21
  }, {
22
22
  readonly enabled: boolean;
23
23
  }, BadRequest | Forbidden, import("../credentials.ts").Credentials>;
@@ -25,11 +25,11 @@ export declare const v1UpdateProjectSigningKey: import("@distilled.cloud/core/cl
25
25
  readonly ref: string;
26
26
  readonly status: "in_use" | "previously_used" | "revoked" | "standby";
27
27
  }, {
28
- readonly algorithm: "ES256" | "EdDSA" | "HS256" | "RS256";
29
- readonly created_at: string;
30
28
  readonly id: string;
31
- readonly public_jwk?: unknown;
29
+ readonly algorithm: "ES256" | "EdDSA" | "HS256" | "RS256";
32
30
  readonly status: "in_use" | "previously_used" | "revoked" | "standby";
31
+ readonly public_jwk?: unknown;
32
+ readonly created_at: string;
33
33
  readonly updated_at: string;
34
34
  }, BadRequest | Forbidden | NotFound, import("../credentials.ts").Credentials>;
35
35
  //# sourceMappingURL=v1UpdateProjectSigningKey.d.ts.map
@@ -23,17 +23,17 @@ export type V1UpdateRealtimeConfigOutput = typeof V1UpdateRealtimeConfigOutput.T
23
23
  * @param ref - Project ref
24
24
  */
25
25
  export declare const v1UpdateRealtimeConfig: import("@distilled.cloud/core/client").OperationMethod<{
26
+ readonly ref: string;
27
+ readonly private_only?: boolean | undefined;
26
28
  readonly connection_pool?: number | undefined;
27
- readonly max_bytes_per_second?: number | undefined;
28
- readonly max_channels_per_client?: number | undefined;
29
29
  readonly max_concurrent_users?: number | undefined;
30
30
  readonly max_events_per_second?: number | undefined;
31
+ readonly max_bytes_per_second?: number | undefined;
32
+ readonly max_channels_per_client?: number | undefined;
31
33
  readonly max_joins_per_second?: number | undefined;
32
- readonly max_payload_size_in_kb?: number | undefined;
33
34
  readonly max_presence_events_per_second?: number | undefined;
34
- readonly presence_enabled?: boolean | undefined;
35
- readonly private_only?: boolean | undefined;
36
- readonly ref: string;
35
+ readonly max_payload_size_in_kb?: number | undefined;
37
36
  readonly suspend?: boolean | undefined;
37
+ readonly presence_enabled?: boolean | undefined;
38
38
  }, void, BadRequest | Forbidden, import("../credentials.ts").Credentials>;
39
39
  //# sourceMappingURL=v1UpdateRealtimeConfig.d.ts.map
@@ -25,9 +25,9 @@ export declare const v1UpdateSslEnforcementConfig: import("@distilled.cloud/core
25
25
  readonly database: boolean;
26
26
  };
27
27
  }, {
28
- readonly appliedSuccessfully: boolean;
29
28
  readonly currentConfig: {
30
29
  readonly database: boolean;
31
30
  };
31
+ readonly appliedSuccessfully: boolean;
32
32
  }, BadRequest | Forbidden, import("../credentials.ts").Credentials>;
33
33
  //# sourceMappingURL=v1UpdateSslEnforcementConfig.d.ts.map
@@ -35,29 +35,29 @@ export type V1UpdateStorageConfigOutput = typeof V1UpdateStorageConfigOutput.Typ
35
35
  * @param ref - Project ref
36
36
  */
37
37
  export declare const v1UpdateStorageConfig: import("@distilled.cloud/core/client").OperationMethod<{
38
- readonly external?: {
39
- readonly upstreamTarget: "canary" | "main";
40
- } | undefined;
38
+ readonly ref: string;
39
+ readonly fileSizeLimit?: number | undefined;
41
40
  readonly features?: {
42
- readonly icebergCatalog?: {
43
- readonly enabled: boolean;
44
- readonly maxCatalogs: number;
45
- readonly maxNamespaces: number;
46
- readonly maxTables: number;
47
- } | undefined;
48
41
  readonly imageTransformation?: {
49
42
  readonly enabled: boolean;
50
43
  } | undefined;
51
44
  readonly s3Protocol?: {
52
45
  readonly enabled: boolean;
53
46
  } | undefined;
47
+ readonly icebergCatalog?: {
48
+ readonly enabled: boolean;
49
+ readonly maxNamespaces: number;
50
+ readonly maxTables: number;
51
+ readonly maxCatalogs: number;
52
+ } | undefined;
54
53
  readonly vectorBuckets?: {
55
54
  readonly enabled: boolean;
56
55
  readonly maxBuckets: number;
57
56
  readonly maxIndexes: number;
58
57
  } | undefined;
59
58
  } | undefined;
60
- readonly fileSizeLimit?: number | undefined;
61
- readonly ref: string;
59
+ readonly external?: {
60
+ readonly upstreamTarget: "canary" | "main";
61
+ } | undefined;
62
62
  }, void, BadRequest | Forbidden, import("../credentials.ts").Credentials>;
63
63
  //# sourceMappingURL=v1UpdateStorageConfig.d.ts.map
@@ -17,8 +17,8 @@ export type V1UpgradePostgresVersionOutput = typeof V1UpgradePostgresVersionOutp
17
17
  */
18
18
  export declare const v1UpgradePostgresVersion: import("@distilled.cloud/core/client").OperationMethod<{
19
19
  readonly ref: string;
20
- readonly release_channel?: "alpha" | "beta" | "ga" | "internal" | "preview" | "withdrawn" | undefined;
21
20
  readonly target_version: string;
21
+ readonly release_channel?: "alpha" | "beta" | "ga" | "internal" | "preview" | "withdrawn" | undefined;
22
22
  }, {
23
23
  readonly tracking_id: string;
24
24
  }, BadRequest | Forbidden, import("../credentials.ts").Credentials>;
@@ -18,9 +18,9 @@ export type V1UpsertAMigrationOutput = typeof V1UpsertAMigrationOutput.Type;
18
18
  * @param Idempotency-Key - A unique key to ensure the same migration is tracked only once.
19
19
  */
20
20
  export declare const v1UpsertAMigration: import("@distilled.cloud/core/client").OperationMethod<{
21
- readonly name?: string | undefined;
22
- readonly query: string;
23
21
  readonly ref: string;
22
+ readonly query: string;
23
+ readonly name?: string | undefined;
24
24
  readonly rollback?: string | undefined;
25
25
  }, void, BadRequest | Forbidden, import("../credentials.ts").Credentials>;
26
26
  //# sourceMappingURL=v1UpsertAMigration.d.ts.map
@@ -44,34 +44,34 @@ export type V1VerifyDnsConfigOutput = typeof V1VerifyDnsConfigOutput.Type;
44
44
  export declare const v1VerifyDnsConfig: 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=v1VerifyDnsConfig.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@distilled.cloud/supabase",
3
- "version": "0.19.1",
3
+ "version": "0.20.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/alchemy-run/distilled",
@@ -74,7 +74,7 @@
74
74
  "specs:update": "git -C specs/distilled-spec-supabase fetch && git -C specs/distilled-spec-supabase checkout main && git -C specs/distilled-spec-supabase pull"
75
75
  },
76
76
  "dependencies": {
77
- "@distilled.cloud/core": "0.19.1"
77
+ "@distilled.cloud/core": "0.20.0"
78
78
  },
79
79
  "devDependencies": {
80
80
  "@types/bun": "^1.3.0",
@@ -83,6 +83,6 @@
83
83
  "vitest": "^3.2.3"
84
84
  },
85
85
  "peerDependencies": {
86
- "effect": ">=4.0.0-beta.60 || >=4.0.0"
86
+ "effect": ">=4.0.0-beta.66 || >=4.0.0"
87
87
  }
88
88
  }
@@ -1,9 +1,9 @@
1
+ import { ConfigError } from "@distilled.cloud/core/errors";
1
2
  import * as EffectConfig from "effect/Config";
2
3
  import * as Context from "effect/Context";
3
4
  import * as Effect from "effect/Effect";
4
5
  import * as Layer from "effect/Layer";
5
6
  import * as Redacted from "effect/Redacted";
6
- import { ConfigError } from "@distilled.cloud/core/errors";
7
7
 
8
8
  export const DEFAULT_API_BASE_URL = "https://api.supabase.com";
9
9
 
@@ -22,7 +22,7 @@ const envConfig = EffectConfig.all({
22
22
 
23
23
  export const CredentialsFromEnv = Layer.effect(
24
24
  Credentials,
25
- envConfig.asEffect().pipe(
25
+ envConfig.pipe(
26
26
  Effect.mapError(
27
27
  () =>
28
28
  new ConfigError({