@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
@@ -26,16 +26,16 @@ export type V1GetRealtimeConfigOutput = typeof V1GetRealtimeConfigOutput.Type;
26
26
  export declare const v1GetRealtimeConfig: import("@distilled.cloud/core/client").OperationMethod<{
27
27
  readonly ref: string;
28
28
  }, {
29
+ readonly private_only: boolean | null;
29
30
  readonly connection_pool: number | null;
30
- readonly max_bytes_per_second: number | null;
31
- readonly max_channels_per_client: number | null;
32
31
  readonly max_concurrent_users: number | null;
33
32
  readonly max_events_per_second: number | null;
33
+ readonly max_bytes_per_second: number | null;
34
+ readonly max_channels_per_client: number | null;
34
35
  readonly max_joins_per_second: number | null;
35
- readonly max_payload_size_in_kb: number | null;
36
36
  readonly max_presence_events_per_second: number | null;
37
- readonly presence_enabled: boolean;
38
- readonly private_only: boolean | null;
37
+ readonly max_payload_size_in_kb: number | null;
39
38
  readonly suspend: boolean | null;
39
+ readonly presence_enabled: boolean;
40
40
  }, BadRequest | Forbidden, import("../credentials.ts").Credentials>;
41
41
  //# sourceMappingURL=v1GetRealtimeConfig.d.ts.map
@@ -17,11 +17,11 @@ export type V1GetRestorePointOutput = typeof V1GetRestorePointOutput.Type;
17
17
  * @param ref - Project ref
18
18
  */
19
19
  export declare const v1GetRestorePoint: import("@distilled.cloud/core/client").OperationMethod<{
20
- readonly name?: string | undefined;
21
20
  readonly ref: string;
21
+ readonly name?: string | undefined;
22
22
  }, {
23
- readonly completed_on: string | null;
24
23
  readonly name: string;
25
24
  readonly status: "AVAILABLE" | "FAILED" | "PENDING" | "REMOVED";
25
+ readonly completed_on: string | null;
26
26
  }, BadRequest | Forbidden, import("../credentials.ts").Credentials>;
27
27
  //# sourceMappingURL=v1GetRestorePoint.d.ts.map
@@ -24,10 +24,10 @@ export declare const v1GetServicesHealth: import("@distilled.cloud/core/client")
24
24
  readonly services: string;
25
25
  readonly timeout_ms?: number | undefined;
26
26
  }, readonly {
27
- readonly error?: string | undefined;
28
- readonly healthy: boolean;
29
- readonly info?: unknown;
30
27
  readonly name: "auth" | "db" | "db_postgres_user" | "pg_bouncer" | "pooler" | "realtime" | "rest" | "storage";
28
+ readonly healthy: boolean;
31
29
  readonly status: "ACTIVE_HEALTHY" | "COMING_UP" | "UNHEALTHY";
30
+ readonly info?: unknown;
31
+ readonly error?: string | undefined;
32
32
  }[], BadRequest | Forbidden, import("../credentials.ts").Credentials>;
33
33
  //# sourceMappingURL=v1GetServicesHealth.d.ts.map
@@ -19,9 +19,9 @@ export type V1GetSslEnforcementConfigOutput = typeof V1GetSslEnforcementConfigOu
19
19
  export declare const v1GetSslEnforcementConfig: import("@distilled.cloud/core/client").OperationMethod<{
20
20
  readonly ref: string;
21
21
  }, {
22
- readonly appliedSuccessfully: boolean;
23
22
  readonly currentConfig: {
24
23
  readonly database: boolean;
25
24
  };
25
+ readonly appliedSuccessfully: boolean;
26
26
  }, BadRequest | Forbidden, import("../credentials.ts").Credentials>;
27
27
  //# sourceMappingURL=v1GetSslEnforcementConfig.d.ts.map
@@ -44,34 +44,34 @@ export type V1GetStorageConfigOutput = typeof V1GetStorageConfigOutput.Type;
44
44
  export declare const v1GetStorageConfig: import("@distilled.cloud/core/client").OperationMethod<{
45
45
  readonly ref: string;
46
46
  }, {
47
- readonly capabilities: {
48
- readonly iceberg_catalog: boolean;
49
- readonly list_v2: boolean;
50
- };
51
- readonly databasePoolMode: string;
52
- readonly external: {
53
- readonly upstreamTarget: "canary" | "main";
54
- };
47
+ readonly fileSizeLimit: number;
55
48
  readonly features: {
56
- readonly icebergCatalog: {
57
- readonly enabled: boolean;
58
- readonly maxCatalogs: number;
59
- readonly maxNamespaces: number;
60
- readonly maxTables: number;
61
- };
62
49
  readonly imageTransformation: {
63
50
  readonly enabled: boolean;
64
51
  };
65
52
  readonly s3Protocol: {
66
53
  readonly enabled: boolean;
67
54
  };
55
+ readonly icebergCatalog: {
56
+ readonly enabled: boolean;
57
+ readonly maxNamespaces: number;
58
+ readonly maxTables: number;
59
+ readonly maxCatalogs: number;
60
+ };
68
61
  readonly vectorBuckets: {
69
62
  readonly enabled: boolean;
70
63
  readonly maxBuckets: number;
71
64
  readonly maxIndexes: number;
72
65
  };
73
66
  };
74
- readonly fileSizeLimit: number;
67
+ readonly capabilities: {
68
+ readonly list_v2: boolean;
69
+ readonly iceberg_catalog: boolean;
70
+ };
71
+ readonly external: {
72
+ readonly upstreamTarget: "canary" | "main";
73
+ };
75
74
  readonly migrationVersion: string;
75
+ readonly databasePoolMode: string;
76
76
  }, BadRequest | Forbidden, import("../credentials.ts").Credentials>;
77
77
  //# sourceMappingURL=v1GetStorageConfig.d.ts.map
@@ -17,7 +17,7 @@ export type V1GetVanitySubdomainConfigOutput = typeof V1GetVanitySubdomainConfig
17
17
  export declare const v1GetVanitySubdomainConfig: import("@distilled.cloud/core/client").OperationMethod<{
18
18
  readonly ref: string;
19
19
  }, {
20
- readonly custom_domain?: string | undefined;
21
20
  readonly status: "active" | "custom-domain-used" | "not-used";
21
+ readonly custom_domain?: string | undefined;
22
22
  }, BadRequest | Forbidden, import("../credentials.ts").Credentials>;
23
23
  //# sourceMappingURL=v1GetVanitySubdomainConfig.d.ts.map
@@ -30,22 +30,22 @@ export type V1ListActionRunsOutput = typeof V1ListActionRunsOutput.Type;
30
30
  * @param ref - Project ref
31
31
  */
32
32
  export declare const v1ListActionRuns: import("@distilled.cloud/core/client").OperationMethod<{
33
- readonly limit?: number | undefined;
34
- readonly offset?: number | undefined;
35
33
  readonly ref: string;
34
+ readonly offset?: number | undefined;
35
+ readonly limit?: number | undefined;
36
36
  }, readonly {
37
- readonly branch_id: string;
38
- readonly check_run_id: number | null;
39
- readonly created_at: string;
40
- readonly git_config?: unknown;
41
37
  readonly id: string;
38
+ readonly branch_id: string;
42
39
  readonly run_steps: readonly {
43
- readonly created_at: string;
44
40
  readonly name: "clone" | "configure" | "deploy" | "health" | "migrate" | "pull" | "seed";
45
41
  readonly status: "CREATED" | "DEAD" | "EXITED" | "PAUSED" | "REMOVING" | "RESTARTING" | "RUNNING";
42
+ readonly created_at: string;
46
43
  readonly updated_at: string;
47
44
  }[];
48
- readonly updated_at: string;
45
+ readonly git_config?: unknown;
49
46
  readonly workdir: string | null;
47
+ readonly check_run_id: number | null;
48
+ readonly created_at: string;
49
+ readonly updated_at: string;
50
50
  }[], BadRequest | Forbidden, import("../credentials.ts").Credentials>;
51
51
  //# sourceMappingURL=v1ListActionRuns.d.ts.map
@@ -27,17 +27,17 @@ export type V1ListAllBackupsOutput = typeof V1ListAllBackupsOutput.Type;
27
27
  export declare const v1ListAllBackups: import("@distilled.cloud/core/client").OperationMethod<{
28
28
  readonly ref: string;
29
29
  }, {
30
+ readonly region: string;
31
+ readonly walg_enabled: boolean;
32
+ readonly pitr_enabled: boolean;
30
33
  readonly backups: readonly {
31
- readonly inserted_at: string;
32
34
  readonly is_physical_backup: boolean;
33
35
  readonly status: "ARCHIVED" | "CANCELLED" | "COMPLETED" | "FAILED" | "PENDING" | "REMOVED";
36
+ readonly inserted_at: string;
34
37
  }[];
35
38
  readonly physical_backup_data: {
36
39
  readonly earliest_physical_backup_date_unix?: number | undefined;
37
40
  readonly latest_physical_backup_date_unix?: number | undefined;
38
41
  };
39
- readonly pitr_enabled: boolean;
40
- readonly region: string;
41
- readonly walg_enabled: boolean;
42
42
  }, BadRequest | Forbidden, import("../credentials.ts").Credentials>;
43
43
  //# sourceMappingURL=v1ListAllBackups.d.ts.map
@@ -34,22 +34,22 @@ export type V1ListAllBranchesOutput = typeof V1ListAllBranchesOutput.Type;
34
34
  export declare const v1ListAllBranches: import("@distilled.cloud/core/client").OperationMethod<{
35
35
  readonly ref: string;
36
36
  }, readonly {
37
- readonly created_at: string;
38
- readonly deletion_scheduled_at?: string | undefined;
39
- readonly git_branch?: string | undefined;
40
37
  readonly id: string;
41
- readonly is_default: boolean;
42
- readonly latest_check_run_id?: number | undefined;
43
38
  readonly name: string;
44
- readonly notify_url?: string | undefined;
39
+ readonly project_ref: string;
45
40
  readonly parent_project_ref: string;
46
- readonly persistent: boolean;
41
+ readonly is_default: boolean;
42
+ readonly git_branch?: string | undefined;
47
43
  readonly pr_number?: number | undefined;
48
- readonly preview_project_status?: "ACTIVE_HEALTHY" | "ACTIVE_UNHEALTHY" | "COMING_UP" | "GOING_DOWN" | "INACTIVE" | "INIT_FAILED" | "PAUSE_FAILED" | "PAUSING" | "REMOVED" | "RESIZING" | "RESTARTING" | "RESTORE_FAILED" | "RESTORING" | "UNKNOWN" | "UPGRADING" | undefined;
49
- readonly project_ref: string;
50
- readonly review_requested_at?: string | undefined;
44
+ readonly latest_check_run_id?: number | undefined;
45
+ readonly persistent: boolean;
51
46
  readonly status: "CREATING_PROJECT" | "FUNCTIONS_DEPLOYED" | "FUNCTIONS_FAILED" | "MIGRATIONS_FAILED" | "MIGRATIONS_PASSED" | "RUNNING_MIGRATIONS";
47
+ readonly created_at: string;
52
48
  readonly updated_at: string;
49
+ readonly review_requested_at?: string | undefined;
53
50
  readonly with_data: boolean;
51
+ readonly notify_url?: string | undefined;
52
+ readonly deletion_scheduled_at?: string | undefined;
53
+ readonly preview_project_status?: "ACTIVE_HEALTHY" | "ACTIVE_UNHEALTHY" | "COMING_UP" | "GOING_DOWN" | "INACTIVE" | "INIT_FAILED" | "PAUSE_FAILED" | "PAUSING" | "REMOVED" | "RESIZING" | "RESTARTING" | "RESTORE_FAILED" | "RESTORING" | "UNKNOWN" | "UPGRADING" | undefined;
54
54
  }[], BadRequest | Forbidden | NotFound, import("../credentials.ts").Credentials>;
55
55
  //# sourceMappingURL=v1ListAllBranches.d.ts.map
@@ -21,11 +21,11 @@ export type V1ListAllBucketsOutput = typeof V1ListAllBucketsOutput.Type;
21
21
  export declare const v1ListAllBuckets: import("@distilled.cloud/core/client").OperationMethod<{
22
22
  readonly ref: string;
23
23
  }, readonly {
24
- readonly created_at: string;
25
24
  readonly id: string;
26
25
  readonly name: string;
27
26
  readonly owner: string;
28
- readonly public: boolean;
27
+ readonly created_at: string;
29
28
  readonly updated_at: string;
29
+ readonly public: boolean;
30
30
  }[], BadRequest | Forbidden, import("../credentials.ts").Credentials>;
31
31
  //# sourceMappingURL=v1ListAllBuckets.d.ts.map
@@ -29,17 +29,17 @@ export type V1ListAllFunctionsOutput = typeof V1ListAllFunctionsOutput.Type;
29
29
  export declare const v1ListAllFunctions: import("@distilled.cloud/core/client").OperationMethod<{
30
30
  readonly ref: string;
31
31
  }, readonly {
32
- readonly created_at: number;
33
- readonly entrypoint_path?: string | undefined;
34
- readonly ezbr_sha256?: string | undefined;
35
32
  readonly id: string;
36
- readonly import_map?: boolean | undefined;
37
- readonly import_map_path?: string | undefined;
38
- readonly name: string;
39
33
  readonly slug: string;
34
+ readonly name: string;
40
35
  readonly status: "ACTIVE" | "REMOVED" | "THROTTLED";
36
+ readonly version: number;
37
+ readonly created_at: number;
41
38
  readonly updated_at: number;
42
39
  readonly verify_jwt?: boolean | undefined;
43
- readonly version: number;
40
+ readonly import_map?: boolean | undefined;
41
+ readonly entrypoint_path?: string | undefined;
42
+ readonly import_map_path?: string | undefined;
43
+ readonly ezbr_sha256?: string | undefined;
44
44
  }[], BadRequest | Forbidden, import("../credentials.ts").Credentials>;
45
45
  //# sourceMappingURL=v1ListAllFunctions.d.ts.map
@@ -15,7 +15,7 @@ export type V1ListAllOrganizationsOutput = typeof V1ListAllOrganizationsOutput.T
15
15
  */
16
16
  export declare const v1ListAllOrganizations: import("@distilled.cloud/core/client").OperationMethod<{}, readonly {
17
17
  readonly id: string;
18
- readonly name: string;
19
18
  readonly slug: string;
19
+ readonly name: string;
20
20
  }[], Forbidden, import("../credentials.ts").Credentials>;
21
21
  //# sourceMappingURL=v1ListAllOrganizations.d.ts.map
@@ -26,19 +26,19 @@ export type V1ListAllProjectsOutput = typeof V1ListAllProjectsOutput.Type;
26
26
  * Use `/v1/organizations/{slug}/projects` instead when possible to get more precise results and pagination support.
27
27
  */
28
28
  export declare const v1ListAllProjects: import("@distilled.cloud/core/client").OperationMethod<{}, readonly {
29
+ readonly id: string;
30
+ readonly ref: string;
31
+ readonly organization_id: string;
32
+ readonly organization_slug: string;
33
+ readonly name: string;
34
+ readonly region: string;
29
35
  readonly created_at: string;
36
+ readonly status: "ACTIVE_HEALTHY" | "ACTIVE_UNHEALTHY" | "COMING_UP" | "GOING_DOWN" | "INACTIVE" | "INIT_FAILED" | "PAUSE_FAILED" | "PAUSING" | "REMOVED" | "RESIZING" | "RESTARTING" | "RESTORE_FAILED" | "RESTORING" | "UNKNOWN" | "UPGRADING";
30
37
  readonly database: {
31
38
  readonly host: string;
39
+ readonly version: string;
32
40
  readonly postgres_engine: string;
33
41
  readonly release_channel: string;
34
- readonly version: string;
35
42
  };
36
- readonly id: string;
37
- readonly name: string;
38
- readonly organization_id: string;
39
- readonly organization_slug: string;
40
- readonly ref: string;
41
- readonly region: string;
42
- readonly status: "ACTIVE_HEALTHY" | "ACTIVE_UNHEALTHY" | "COMING_UP" | "GOING_DOWN" | "INACTIVE" | "INIT_FAILED" | "PAUSE_FAILED" | "PAUSING" | "REMOVED" | "RESIZING" | "RESTARTING" | "RESTORE_FAILED" | "RESTORING" | "UNKNOWN" | "UPGRADING";
43
43
  }[], Forbidden, import("../credentials.ts").Credentials>;
44
44
  //# sourceMappingURL=v1ListAllProjects.d.ts.map
@@ -21,7 +21,7 @@ export declare const v1ListAllSecrets: import("@distilled.cloud/core/client").Op
21
21
  readonly ref: string;
22
22
  }, readonly {
23
23
  readonly name: string;
24
- readonly updated_at?: string | undefined;
25
24
  readonly value: string;
25
+ readonly updated_at?: string | undefined;
26
26
  }[], BadRequest | Forbidden, import("../credentials.ts").Credentials>;
27
27
  //# sourceMappingURL=v1ListAllSecrets.d.ts.map
@@ -40,34 +40,34 @@ export type V1ListAllSnippetsOutput = typeof V1ListAllSnippetsOutput.Type;
40
40
  * @param project_ref - Project ref
41
41
  */
42
42
  export declare const v1ListAllSnippets: import("@distilled.cloud/core/client").OperationMethod<{
43
+ readonly project_ref?: string | undefined;
43
44
  readonly cursor?: string | undefined;
44
45
  readonly limit?: string | undefined;
45
- readonly project_ref?: string | undefined;
46
46
  readonly sort_by?: "inserted_at" | "name" | undefined;
47
47
  readonly sort_order?: "asc" | "desc" | undefined;
48
48
  }, {
49
- readonly cursor?: string | undefined;
50
49
  readonly data: readonly {
51
- readonly description: string | null;
52
- readonly favorite: boolean;
53
50
  readonly id: string;
54
51
  readonly inserted_at: string;
52
+ readonly updated_at: string;
53
+ readonly type: "sql";
54
+ readonly visibility: "org" | "project" | "public" | "user";
55
55
  readonly name: string;
56
- readonly owner: {
57
- readonly id: number;
58
- readonly username: string;
59
- };
56
+ readonly description: string | null;
60
57
  readonly project: {
61
58
  readonly id: number;
62
59
  readonly name: string;
63
60
  };
64
- readonly type: "sql";
65
- readonly updated_at: string;
61
+ readonly owner: {
62
+ readonly id: number;
63
+ readonly username: string;
64
+ };
66
65
  readonly updated_by: {
67
66
  readonly id: number;
68
67
  readonly username: string;
69
68
  };
70
- readonly visibility: "org" | "project" | "public" | "user";
69
+ readonly favorite: boolean;
71
70
  }[];
71
+ readonly cursor?: string | undefined;
72
72
  }, Forbidden, import("../credentials.ts").Credentials>;
73
73
  //# sourceMappingURL=v1ListAllSnippets.d.ts.map
@@ -42,31 +42,31 @@ export declare const v1ListAllSsoProvider: import("@distilled.cloud/core/client"
42
42
  readonly ref: string;
43
43
  }, {
44
44
  readonly items: readonly {
45
- readonly created_at?: string | undefined;
46
- readonly domains?: readonly {
47
- readonly created_at?: string | undefined;
48
- readonly domain?: string | undefined;
49
- readonly id: string;
50
- readonly updated_at?: string | undefined;
51
- }[] | undefined;
52
45
  readonly id: string;
53
46
  readonly saml?: {
47
+ readonly id: string;
48
+ readonly entity_id: string;
49
+ readonly metadata_url?: string | undefined;
50
+ readonly metadata_xml?: string | undefined;
54
51
  readonly attribute_mapping?: {
55
52
  readonly keys: {
56
53
  readonly [x: string]: {
57
- readonly array?: boolean | undefined;
58
- readonly default?: unknown;
59
54
  readonly name?: string | undefined;
60
55
  readonly names?: readonly string[] | undefined;
56
+ readonly default?: unknown;
57
+ readonly array?: boolean | undefined;
61
58
  };
62
59
  };
63
60
  } | undefined;
64
- readonly entity_id: string;
65
- readonly id: string;
66
- readonly metadata_url?: string | undefined;
67
- readonly metadata_xml?: string | undefined;
68
61
  readonly name_id_format?: "urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress" | "urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified" | "urn:oasis:names:tc:SAML:2.0:nameid-format:persistent" | "urn:oasis:names:tc:SAML:2.0:nameid-format:transient" | undefined;
69
62
  } | undefined;
63
+ readonly domains?: readonly {
64
+ readonly id: string;
65
+ readonly domain?: string | undefined;
66
+ readonly created_at?: string | undefined;
67
+ readonly updated_at?: string | undefined;
68
+ }[] | undefined;
69
+ readonly created_at?: string | undefined;
70
70
  readonly updated_at?: string | undefined;
71
71
  }[];
72
72
  }, BadRequest | Forbidden | NotFound, import("../credentials.ts").Credentials>;
@@ -21,9 +21,9 @@ export declare const v1ListAvailableRestoreVersions: import("@distilled.cloud/co
21
21
  readonly ref: string;
22
22
  }, {
23
23
  readonly available_versions: readonly {
24
- readonly postgres_engine: "13" | "14" | "15" | "17" | "17-oriole";
25
- readonly release_channel: "alpha" | "beta" | "ga" | "internal" | "preview" | "withdrawn";
26
24
  readonly version: string;
25
+ readonly release_channel: "alpha" | "beta" | "ga" | "internal" | "preview" | "withdrawn";
26
+ readonly postgres_engine: "13" | "14" | "15" | "17" | "17-oriole";
27
27
  }[];
28
28
  }, BadRequest | Forbidden, import("../credentials.ts").Credentials>;
29
29
  //# sourceMappingURL=v1ListAvailableRestoreVersions.d.ts.map
@@ -35,6 +35,8 @@ export declare const v1ListJitAccess: import("@distilled.cloud/core/client").Ope
35
35
  readonly items: readonly {
36
36
  readonly user_id: string;
37
37
  readonly user_roles: readonly {
38
+ readonly role: string;
39
+ readonly expires_at?: number | undefined;
38
40
  readonly allowed_networks?: {
39
41
  readonly allowed_cidrs?: readonly {
40
42
  readonly cidr: string;
@@ -43,8 +45,6 @@ export declare const v1ListJitAccess: import("@distilled.cloud/core/client").Ope
43
45
  readonly cidr: string;
44
46
  }[] | undefined;
45
47
  } | undefined;
46
- readonly expires_at?: number | undefined;
47
- readonly role: string;
48
48
  }[];
49
49
  }[];
50
50
  }, BadRequest | Forbidden, import("../credentials.ts").Credentials>;
@@ -19,7 +19,7 @@ export type V1ListMigrationHistoryOutput = typeof V1ListMigrationHistoryOutput.T
19
19
  export declare const v1ListMigrationHistory: import("@distilled.cloud/core/client").OperationMethod<{
20
20
  readonly ref: string;
21
21
  }, readonly {
22
- readonly name?: string | undefined;
23
22
  readonly version: string;
23
+ readonly name?: string | undefined;
24
24
  }[], BadRequest | Forbidden, import("../credentials.ts").Credentials>;
25
25
  //# sourceMappingURL=v1ListMigrationHistory.d.ts.map
@@ -20,10 +20,10 @@ export type V1ListOrganizationMembersOutput = typeof V1ListOrganizationMembersOu
20
20
  export declare const v1ListOrganizationMembers: import("@distilled.cloud/core/client").OperationMethod<{
21
21
  readonly slug: string;
22
22
  }, readonly {
23
- readonly email?: string | undefined;
24
- readonly mfa_enabled: boolean;
25
- readonly role_name: string;
26
23
  readonly user_id: string;
27
24
  readonly user_name: string;
25
+ readonly email?: string | undefined;
26
+ readonly role_name: string;
27
+ readonly mfa_enabled: boolean;
28
28
  }[], BadRequest | Forbidden | NotFound, import("../credentials.ts").Credentials>;
29
29
  //# sourceMappingURL=v1ListOrganizationMembers.d.ts.map
@@ -46,34 +46,34 @@ export type V1ListProjectAddonsOutput = typeof V1ListProjectAddonsOutput.Type;
46
46
  export declare const v1ListProjectAddons: import("@distilled.cloud/core/client").OperationMethod<{
47
47
  readonly ref: string;
48
48
  }, {
49
- readonly available_addons: readonly {
50
- readonly name: string;
49
+ readonly selected_addons: readonly {
51
50
  readonly type: "auth_mfa_phone" | "auth_mfa_web_authn" | "compute_instance" | "custom_domain" | "ipv4" | "log_drain" | "pitr";
52
- readonly variants: readonly {
51
+ readonly variant: {
53
52
  readonly id: unknown;
54
- readonly meta?: unknown;
55
53
  readonly name: string;
56
54
  readonly price: {
57
- readonly amount: number;
58
55
  readonly description: string;
59
- readonly interval: "hourly" | "monthly";
60
56
  readonly type: "fixed" | "usage";
57
+ readonly interval: "hourly" | "monthly";
58
+ readonly amount: number;
61
59
  };
62
- }[];
60
+ readonly meta?: unknown;
61
+ };
63
62
  }[];
64
- readonly selected_addons: readonly {
63
+ readonly available_addons: readonly {
65
64
  readonly type: "auth_mfa_phone" | "auth_mfa_web_authn" | "compute_instance" | "custom_domain" | "ipv4" | "log_drain" | "pitr";
66
- readonly variant: {
65
+ readonly name: string;
66
+ readonly variants: readonly {
67
67
  readonly id: unknown;
68
- readonly meta?: unknown;
69
68
  readonly name: string;
70
69
  readonly price: {
71
- readonly amount: number;
72
70
  readonly description: string;
73
- readonly interval: "hourly" | "monthly";
74
71
  readonly type: "fixed" | "usage";
72
+ readonly interval: "hourly" | "monthly";
73
+ readonly amount: number;
75
74
  };
76
- };
75
+ readonly meta?: unknown;
76
+ }[];
77
77
  }[];
78
78
  }, BadRequest | Forbidden, import("../credentials.ts").Credentials>;
79
79
  //# sourceMappingURL=v1ListProjectAddons.d.ts.map
@@ -24,14 +24,14 @@ export type V1ListProjectTpaIntegrationsOutput = typeof V1ListProjectTpaIntegrat
24
24
  export declare const v1ListProjectTpaIntegrations: import("@distilled.cloud/core/client").OperationMethod<{
25
25
  readonly ref: string;
26
26
  }, readonly {
27
- readonly custom_jwks?: unknown;
28
27
  readonly id: string;
29
- readonly inserted_at: string;
30
- readonly jwks_url?: string | null | undefined;
28
+ readonly type: string;
31
29
  readonly oidc_issuer_url?: string | null | undefined;
32
- readonly resolved_at?: string | null | undefined;
30
+ readonly jwks_url?: string | null | undefined;
31
+ readonly custom_jwks?: unknown;
33
32
  readonly resolved_jwks?: unknown;
34
- readonly type: string;
33
+ readonly inserted_at: string;
35
34
  readonly updated_at: string;
35
+ readonly resolved_at?: string | null | undefined;
36
36
  }[], BadRequest | Forbidden, import("../credentials.ts").Credentials>;
37
37
  //# sourceMappingURL=v1ListProjectTpaIntegrations.d.ts.map
@@ -21,7 +21,7 @@ export declare const v1MergeABranch: import("@distilled.cloud/core/client").Oper
21
21
  readonly branch_id_or_ref: string;
22
22
  readonly migration_version?: string | undefined;
23
23
  }, {
24
- readonly message: "ok";
25
24
  readonly workflow_run_id: string;
25
+ readonly message: "ok";
26
26
  }, BadRequest | Forbidden | NotFound, import("../credentials.ts").Credentials>;
27
27
  //# sourceMappingURL=v1MergeABranch.d.ts.map
@@ -13,7 +13,7 @@ export type V1ModifyDatabaseDiskOutput = typeof V1ModifyDatabaseDiskOutput.Type;
13
13
  * @param ref - Project ref
14
14
  */
15
15
  export declare const v1ModifyDatabaseDisk: import("@distilled.cloud/core/client").OperationMethod<{
16
- readonly attributes: unknown;
17
16
  readonly ref: string;
17
+ readonly attributes: unknown;
18
18
  }, void, BadRequest | Forbidden, import("../credentials.ts").Credentials>;
19
19
  //# sourceMappingURL=v1ModifyDatabaseDisk.d.ts.map
@@ -21,13 +21,13 @@ export type V1OauthAuthorizeProjectClaimOutput = typeof V1OauthAuthorizeProjectC
21
21
  * @param project_ref - Project ref
22
22
  */
23
23
  export declare const v1OauthAuthorizeProjectClaim: import("@distilled.cloud/core/client").OperationMethod<{
24
- readonly client_id: string;
25
- readonly code_challenge?: string | undefined;
26
- readonly code_challenge_method?: "S256" | "plain" | "sha256" | undefined;
27
24
  readonly project_ref: string;
28
- readonly redirect_uri: string;
29
- readonly response_mode?: string | undefined;
25
+ readonly client_id: string;
30
26
  readonly response_type: "code" | "id_token token" | "token";
27
+ readonly redirect_uri: string;
31
28
  readonly state?: string | undefined;
29
+ readonly response_mode?: string | undefined;
30
+ readonly code_challenge?: string | undefined;
31
+ readonly code_challenge_method?: "S256" | "plain" | "sha256" | undefined;
32
32
  }, void, Forbidden, import("../credentials.ts").Credentials>;
33
33
  //# sourceMappingURL=v1OauthAuthorizeProjectClaim.d.ts.map
@@ -17,9 +17,9 @@ export type V1PatchAMigrationOutput = typeof V1PatchAMigrationOutput.Type;
17
17
  * @param ref - Project ref
18
18
  */
19
19
  export declare const v1PatchAMigration: import("@distilled.cloud/core/client").OperationMethod<{
20
- readonly name?: string | undefined;
21
20
  readonly ref: string;
22
- readonly rollback?: string | undefined;
23
21
  readonly version: string;
22
+ readonly name?: string | undefined;
23
+ readonly rollback?: string | undefined;
24
24
  }, void, BadRequest | Forbidden | NotFound, import("../credentials.ts").Credentials>;
25
25
  //# sourceMappingURL=v1PatchAMigration.d.ts.map
@@ -37,31 +37,31 @@ export type V1PatchNetworkRestrictionsOutput = typeof V1PatchNetworkRestrictions
37
37
  * @param ref - Project ref
38
38
  */
39
39
  export declare const v1PatchNetworkRestrictions: import("@distilled.cloud/core/client").OperationMethod<{
40
+ readonly ref: string;
40
41
  readonly add?: {
41
42
  readonly dbAllowedCidrs?: readonly string[] | undefined;
42
43
  readonly dbAllowedCidrsV6?: readonly string[] | undefined;
43
44
  } | undefined;
44
- readonly ref: string;
45
45
  readonly remove?: {
46
46
  readonly dbAllowedCidrs?: readonly string[] | undefined;
47
47
  readonly dbAllowedCidrsV6?: readonly string[] | undefined;
48
48
  } | undefined;
49
49
  }, {
50
- readonly applied_at?: string | undefined;
50
+ readonly entitlement: "allowed" | "disallowed";
51
51
  readonly config: {
52
52
  readonly dbAllowedCidrs?: readonly {
53
53
  readonly address: string;
54
54
  readonly type: "v4" | "v6";
55
55
  }[] | undefined;
56
56
  };
57
- readonly entitlement: "allowed" | "disallowed";
58
57
  readonly old_config?: {
59
58
  readonly dbAllowedCidrs?: readonly {
60
59
  readonly address: string;
61
60
  readonly type: "v4" | "v6";
62
61
  }[] | undefined;
63
62
  } | undefined;
64
- readonly status: "applied" | "stored";
65
63
  readonly updated_at?: string | undefined;
64
+ readonly applied_at?: string | undefined;
65
+ readonly status: "applied" | "stored";
66
66
  }, BadRequest | Forbidden, import("../credentials.ts").Credentials>;
67
67
  //# sourceMappingURL=v1PatchNetworkRestrictions.d.ts.map
@@ -21,7 +21,7 @@ export declare const v1PushABranch: import("@distilled.cloud/core/client").Opera
21
21
  readonly branch_id_or_ref: string;
22
22
  readonly migration_version?: string | undefined;
23
23
  }, {
24
- readonly message: "ok";
25
24
  readonly workflow_run_id: string;
25
+ readonly message: "ok";
26
26
  }, BadRequest | Forbidden | NotFound, import("../credentials.ts").Credentials>;
27
27
  //# sourceMappingURL=v1PushABranch.d.ts.map
@@ -16,8 +16,8 @@ export type V1ReadOnlyQueryOutput = typeof V1ReadOnlyQueryOutput.Type;
16
16
  * @param ref - Project ref
17
17
  */
18
18
  export declare const v1ReadOnlyQuery: import("@distilled.cloud/core/client").OperationMethod<{
19
- readonly parameters?: readonly unknown[] | undefined;
20
- readonly query: string;
21
19
  readonly ref: string;
20
+ readonly query: string;
21
+ readonly parameters?: readonly unknown[] | undefined;
22
22
  }, void, BadRequest | Forbidden, import("../credentials.ts").Credentials>;
23
23
  //# sourceMappingURL=v1ReadOnlyQuery.d.ts.map