@distilled.cloud/neon 0.19.2 → 0.20.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (124) hide show
  1. package/lib/operations/acceptProjectTransferRequest.d.ts +1 -1
  2. package/lib/operations/addBranchNeonAuthOauthProvider.d.ts +4 -4
  3. package/lib/operations/addBranchNeonAuthTrustedDomain.d.ts +2 -2
  4. package/lib/operations/addProjectJWKS.d.ts +14 -14
  5. package/lib/operations/assignOrganizationVPCEndpoint.d.ts +1 -1
  6. package/lib/operations/assignProjectVPCEndpoint.d.ts +1 -1
  7. package/lib/operations/createApiKey.d.ts +2 -2
  8. package/lib/operations/createBranchNeonAuthNewUser.d.ts +1 -1
  9. package/lib/operations/createNeonAuth.d.ts +5 -5
  10. package/lib/operations/createNeonAuthProviderSDKKeys.d.ts +4 -4
  11. package/lib/operations/createOrgApiKey.d.ts +3 -3
  12. package/lib/operations/createOrganizationInvitations.d.ts +4 -4
  13. package/lib/operations/createProject.d.ts +187 -187
  14. package/lib/operations/createProjectBranch.d.ts +91 -91
  15. package/lib/operations/createProjectBranchAnonymized.d.ts +91 -91
  16. package/lib/operations/createProjectBranchDataAPI.d.ts +6 -6
  17. package/lib/operations/createProjectBranchDatabase.d.ts +9 -9
  18. package/lib/operations/createProjectBranchRole.d.ts +16 -16
  19. package/lib/operations/createProjectEndpoint.d.ts +36 -36
  20. package/lib/operations/createProjectTransferRequest.d.ts +2 -2
  21. package/lib/operations/createSnapshot.d.ts +21 -21
  22. package/lib/operations/deleteBranchNeonAuthOauthProvider.d.ts +1 -1
  23. package/lib/operations/deleteBranchNeonAuthTrustedDomain.d.ts +2 -2
  24. package/lib/operations/deleteBranchNeonAuthUser.d.ts +2 -2
  25. package/lib/operations/deleteProject.d.ts +48 -48
  26. package/lib/operations/deleteProjectBranch.d.ts +34 -34
  27. package/lib/operations/deleteProjectBranchDataAPI.d.ts +1 -1
  28. package/lib/operations/deleteProjectBranchDatabase.d.ts +9 -9
  29. package/lib/operations/deleteProjectBranchRole.d.ts +16 -16
  30. package/lib/operations/deleteProjectEndpoint.d.ts +26 -26
  31. package/lib/operations/deleteProjectJWKS.d.ts +6 -6
  32. package/lib/operations/disableNeonAuth.d.ts +1 -1
  33. package/lib/operations/finalizeRestoreBranch.d.ts +7 -7
  34. package/lib/operations/getActiveRegions.d.ts +2 -2
  35. package/lib/operations/getAnonymizedBranchStatus.d.ts +7 -7
  36. package/lib/operations/getAuthDetails.d.ts +1 -1
  37. package/lib/operations/getAvailablePreloadLibraries.d.ts +1 -1
  38. package/lib/operations/getConnectionURI.d.ts +3 -3
  39. package/lib/operations/getConsumptionHistoryPerAccount.d.ts +10 -10
  40. package/lib/operations/getConsumptionHistoryPerProject.d.ts +16 -16
  41. package/lib/operations/getConsumptionHistoryPerProjectV2.d.ts +14 -14
  42. package/lib/operations/getCurrentUserInfo.d.ts +29 -29
  43. package/lib/operations/getCurrentUserOrganizations.d.ts +5 -5
  44. package/lib/operations/getMaskingRules.d.ts +4 -4
  45. package/lib/operations/getNeonAuth.d.ts +5 -5
  46. package/lib/operations/getNeonAuthAllowLocalhost.d.ts +1 -1
  47. package/lib/operations/getNeonAuthEmailAndPasswordConfig.d.ts +5 -5
  48. package/lib/operations/getNeonAuthEmailProvider.d.ts +1 -1
  49. package/lib/operations/getNeonAuthPhoneNumberPlugin.d.ts +2 -2
  50. package/lib/operations/getNeonAuthPluginConfigs.d.ts +25 -25
  51. package/lib/operations/getNeonAuthWebhookConfig.d.ts +2 -2
  52. package/lib/operations/getOrganization.d.ts +5 -5
  53. package/lib/operations/getOrganizationInvitations.d.ts +3 -3
  54. package/lib/operations/getOrganizationMember.d.ts +3 -3
  55. package/lib/operations/getOrganizationMembers.d.ts +5 -5
  56. package/lib/operations/getOrganizationVPCEndpointDetails.d.ts +3 -3
  57. package/lib/operations/getProject.d.ts +48 -48
  58. package/lib/operations/getProjectAdvisorSecurityIssues.d.ts +8 -8
  59. package/lib/operations/getProjectBranch.d.ts +39 -39
  60. package/lib/operations/getProjectBranchDataAPI.d.ts +5 -5
  61. package/lib/operations/getProjectBranchDatabase.d.ts +3 -3
  62. package/lib/operations/getProjectBranchRole.d.ts +3 -3
  63. package/lib/operations/getProjectBranchRolePassword.d.ts +1 -1
  64. package/lib/operations/getProjectBranchSchema.d.ts +9 -9
  65. package/lib/operations/getProjectBranchSchemaComparison.d.ts +4 -4
  66. package/lib/operations/getProjectEndpoint.d.ts +20 -20
  67. package/lib/operations/getProjectJWKS.d.ts +5 -5
  68. package/lib/operations/getProjectOperation.d.ts +7 -7
  69. package/lib/operations/getSnapshotSchedule.d.ts +2 -2
  70. package/lib/operations/grantPermissionToProject.d.ts +3 -3
  71. package/lib/operations/listApiKeys.d.ts +3 -3
  72. package/lib/operations/listBranchNeonAuthOauthProviders.d.ts +3 -3
  73. package/lib/operations/listBranchNeonAuthTrustedDomains.d.ts +2 -2
  74. package/lib/operations/listOrgApiKeys.d.ts +3 -3
  75. package/lib/operations/listOrganizationVPCEndpoints.d.ts +1 -1
  76. package/lib/operations/listOrganizationVPCEndpointsAllRegions.d.ts +1 -1
  77. package/lib/operations/listProjectBranchDatabases.d.ts +3 -3
  78. package/lib/operations/listProjectBranchEndpoints.d.ts +20 -20
  79. package/lib/operations/listProjectBranchRoles.d.ts +3 -3
  80. package/lib/operations/listProjectBranches.d.ts +43 -43
  81. package/lib/operations/listProjectEndpoints.d.ts +19 -19
  82. package/lib/operations/listProjectOperations.d.ts +7 -7
  83. package/lib/operations/listProjectPermissions.d.ts +2 -2
  84. package/lib/operations/listProjectVPCEndpoints.d.ts +1 -1
  85. package/lib/operations/listProjects.d.ts +51 -51
  86. package/lib/operations/listSharedProjects.d.ts +43 -43
  87. package/lib/operations/listSnapshots.d.ts +7 -7
  88. package/lib/operations/recoverProject.d.ts +90 -90
  89. package/lib/operations/recoverProjectBranch.d.ts +47 -47
  90. package/lib/operations/removeOrganizationMember.d.ts +1 -1
  91. package/lib/operations/resetProjectBranchRolePassword.d.ts +16 -16
  92. package/lib/operations/restartProjectEndpoint.d.ts +26 -26
  93. package/lib/operations/restoreProjectBranch.d.ts +35 -35
  94. package/lib/operations/restoreSnapshot.d.ts +54 -54
  95. package/lib/operations/revokeApiKey.d.ts +2 -2
  96. package/lib/operations/revokeOrgApiKey.d.ts +4 -4
  97. package/lib/operations/revokePermissionFromProject.d.ts +3 -3
  98. package/lib/operations/sendNeonAuthTestEmail.d.ts +5 -5
  99. package/lib/operations/setDefaultProjectBranch.d.ts +34 -34
  100. package/lib/operations/setSnapshotSchedule.d.ts +2 -2
  101. package/lib/operations/startAnonymization.d.ts +7 -7
  102. package/lib/operations/startProjectEndpoint.d.ts +26 -26
  103. package/lib/operations/suspendProjectEndpoint.d.ts +26 -26
  104. package/lib/operations/transferNeonAuthProviderProject.d.ts +1 -1
  105. package/lib/operations/transferProjectsFromOrgToOrg.d.ts +1 -1
  106. package/lib/operations/updateBranchNeonAuthOauthProvider.d.ts +4 -4
  107. package/lib/operations/updateMaskingRules.d.ts +7 -7
  108. package/lib/operations/updateNeonAuthAllowLocalhost.d.ts +2 -2
  109. package/lib/operations/updateNeonAuthConfig.d.ts +1 -1
  110. package/lib/operations/updateNeonAuthEmailAndPasswordConfig.d.ts +9 -9
  111. package/lib/operations/updateNeonAuthEmailProvider.d.ts +1 -1
  112. package/lib/operations/updateNeonAuthMagicLinkPlugin.d.ts +3 -3
  113. package/lib/operations/updateNeonAuthOrganizationPlugin.d.ts +5 -5
  114. package/lib/operations/updateNeonAuthPhoneNumberPlugin.d.ts +3 -3
  115. package/lib/operations/updateNeonAuthUserRole.d.ts +2 -2
  116. package/lib/operations/updateNeonAuthWebhookConfig.d.ts +3 -3
  117. package/lib/operations/updateOrganizationMember.d.ts +3 -3
  118. package/lib/operations/updateProject.d.ts +89 -89
  119. package/lib/operations/updateProjectBranch.d.ts +36 -36
  120. package/lib/operations/updateProjectBranchDataAPI.d.ts +2 -2
  121. package/lib/operations/updateProjectBranchDatabase.d.ts +10 -10
  122. package/lib/operations/updateProjectEndpoint.d.ts +35 -35
  123. package/lib/operations/updateSnapshot.d.ts +8 -8
  124. package/package.json +3 -3
@@ -260,261 +260,261 @@ export type CreateProjectOutput = typeof CreateProjectOutput.Type;
260
260
  */
261
261
  export declare const createProject: import("@distilled.cloud/core/client").OperationMethod<{
262
262
  readonly project: {
263
- readonly autoscaling_limit_max_cu?: number | undefined;
264
- readonly autoscaling_limit_min_cu?: number | undefined;
263
+ readonly settings?: {
264
+ readonly quota?: {
265
+ readonly active_time_seconds?: number | undefined;
266
+ readonly compute_time_seconds?: number | undefined;
267
+ readonly written_data_bytes?: number | undefined;
268
+ readonly data_transfer_bytes?: number | undefined;
269
+ readonly logical_size_bytes?: number | undefined;
270
+ } | undefined;
271
+ readonly allowed_ips?: {
272
+ readonly ips?: readonly string[] | undefined;
273
+ readonly protected_branches_only?: boolean | undefined;
274
+ } | undefined;
275
+ readonly enable_logical_replication?: boolean | undefined;
276
+ readonly maintenance_window?: {
277
+ readonly weekdays: readonly number[];
278
+ readonly start_time: string;
279
+ readonly end_time: string;
280
+ } | undefined;
281
+ readonly block_public_connections?: boolean | undefined;
282
+ readonly block_vpc_connections?: boolean | undefined;
283
+ readonly audit_log_level?: "base" | "extended" | "full" | undefined;
284
+ readonly hipaa?: boolean | undefined;
285
+ readonly preload_libraries?: {
286
+ readonly use_defaults?: boolean | undefined;
287
+ readonly enabled_libraries?: readonly string[] | undefined;
288
+ } | undefined;
289
+ } | undefined;
290
+ readonly name?: string | undefined;
265
291
  readonly branch?: {
292
+ readonly name?: string | undefined;
293
+ readonly role_name?: string | undefined;
294
+ readonly database_name?: string | undefined;
266
295
  readonly annotations?: {
267
296
  readonly [x: string]: string;
268
297
  } | undefined;
269
- readonly database_name?: string | undefined;
270
- readonly name?: string | undefined;
271
- readonly role_name?: string | undefined;
272
298
  } | undefined;
299
+ readonly autoscaling_limit_min_cu?: number | undefined;
300
+ readonly autoscaling_limit_max_cu?: number | undefined;
301
+ readonly provisioner?: string | undefined;
302
+ readonly region_id?: string | undefined;
273
303
  readonly default_endpoint_settings?: {
274
- readonly autoscaling_limit_max_cu?: number | undefined;
275
- readonly autoscaling_limit_min_cu?: number | undefined;
276
304
  readonly pg_settings?: {
277
305
  readonly [x: string]: string;
278
306
  } | undefined;
279
307
  readonly pgbouncer_settings?: {
280
308
  readonly [x: string]: string;
281
309
  } | undefined;
310
+ readonly autoscaling_limit_min_cu?: number | undefined;
311
+ readonly autoscaling_limit_max_cu?: number | undefined;
282
312
  readonly suspend_timeout_seconds?: number | undefined;
283
313
  } | undefined;
314
+ readonly pg_version?: number | undefined;
315
+ readonly store_passwords?: boolean | undefined;
284
316
  readonly history_retention_seconds?: number | undefined;
285
- readonly name?: string | undefined;
286
317
  readonly org_id?: string | undefined;
287
- readonly pg_version?: number | undefined;
288
- readonly provisioner?: string | undefined;
289
- readonly region_id?: string | undefined;
318
+ };
319
+ }, {
320
+ readonly project: {
321
+ readonly data_storage_bytes_hour: number;
322
+ readonly data_transfer_bytes: number;
323
+ readonly written_data_bytes: number;
324
+ readonly compute_time_seconds: number;
325
+ readonly active_time_seconds: number;
326
+ readonly cpu_used_sec: number;
327
+ readonly id: string;
328
+ readonly platform_id: string;
329
+ readonly region_id: string;
330
+ readonly name: string;
331
+ readonly provisioner: string;
332
+ readonly default_endpoint_settings?: {
333
+ readonly pg_settings?: {
334
+ readonly [x: string]: string;
335
+ } | undefined;
336
+ readonly pgbouncer_settings?: {
337
+ readonly [x: string]: string;
338
+ } | undefined;
339
+ readonly autoscaling_limit_min_cu?: number | undefined;
340
+ readonly autoscaling_limit_max_cu?: number | undefined;
341
+ readonly suspend_timeout_seconds?: number | undefined;
342
+ } | undefined;
290
343
  readonly settings?: {
344
+ readonly quota?: {
345
+ readonly active_time_seconds?: number | undefined;
346
+ readonly compute_time_seconds?: number | undefined;
347
+ readonly written_data_bytes?: number | undefined;
348
+ readonly data_transfer_bytes?: number | undefined;
349
+ readonly logical_size_bytes?: number | undefined;
350
+ } | undefined;
291
351
  readonly allowed_ips?: {
292
352
  readonly ips?: readonly string[] | undefined;
293
353
  readonly protected_branches_only?: boolean | undefined;
294
354
  } | undefined;
295
- readonly audit_log_level?: "base" | "extended" | "full" | undefined;
296
- readonly block_public_connections?: boolean | undefined;
297
- readonly block_vpc_connections?: boolean | undefined;
298
355
  readonly enable_logical_replication?: boolean | undefined;
299
- readonly hipaa?: boolean | undefined;
300
356
  readonly maintenance_window?: {
301
- readonly end_time: string;
302
- readonly start_time: string;
303
357
  readonly weekdays: readonly number[];
358
+ readonly start_time: string;
359
+ readonly end_time: string;
304
360
  } | undefined;
361
+ readonly block_public_connections?: boolean | undefined;
362
+ readonly block_vpc_connections?: boolean | undefined;
363
+ readonly audit_log_level?: "base" | "extended" | "full" | undefined;
364
+ readonly hipaa?: boolean | undefined;
305
365
  readonly preload_libraries?: {
306
- readonly enabled_libraries?: readonly string[] | undefined;
307
366
  readonly use_defaults?: boolean | undefined;
367
+ readonly enabled_libraries?: readonly string[] | undefined;
308
368
  } | undefined;
309
- readonly quota?: {
310
- readonly active_time_seconds?: number | undefined;
311
- readonly compute_time_seconds?: number | undefined;
312
- readonly data_transfer_bytes?: number | undefined;
313
- readonly logical_size_bytes?: number | undefined;
314
- readonly written_data_bytes?: number | undefined;
315
- } | undefined;
316
- } | undefined;
317
- readonly store_passwords?: boolean | undefined;
318
- };
319
- }, {
320
- readonly branch: {
321
- readonly active_time_seconds: number;
322
- readonly compute_time_seconds: number;
323
- readonly cpu_used_sec: number;
324
- readonly created_at: string;
325
- readonly created_by?: {
326
- readonly image?: string | undefined;
327
- readonly name?: string | undefined;
328
369
  } | undefined;
370
+ readonly pg_version: number;
371
+ readonly proxy_host: string;
372
+ readonly branch_logical_size_limit: number;
373
+ readonly branch_logical_size_limit_bytes: number;
374
+ readonly store_passwords: boolean;
375
+ readonly maintenance_starts_at?: string | undefined;
329
376
  readonly creation_source: string;
330
- readonly current_state: string;
331
- readonly data_transfer_bytes: number;
332
- readonly default: boolean;
333
- readonly expires_at?: string | undefined;
334
- readonly id: string;
335
- readonly init_source?: string | undefined;
336
- readonly last_reset_at?: string | undefined;
337
- readonly logical_size?: number | undefined;
338
- readonly name: string;
339
- readonly parent_id?: string | undefined;
340
- readonly parent_lsn?: string | undefined;
341
- readonly parent_timestamp?: string | undefined;
342
- readonly pending_state?: string | undefined;
343
- readonly primary?: boolean | undefined;
344
- readonly project_id: string;
345
- readonly protected: boolean;
346
- readonly recovery?: {
347
- readonly deleted_at: string;
348
- readonly deletion_method: "ttl" | "user";
349
- readonly recoverable_until: string;
350
- } | undefined;
351
- readonly restore_status?: string | undefined;
352
- readonly restored_as?: string | undefined;
353
- readonly restored_from?: string | undefined;
354
- readonly restricted_actions?: readonly {
355
- readonly name: string;
356
- readonly reason: string;
357
- }[] | undefined;
358
- readonly state_changed_at: string;
359
- readonly ttl_interval_seconds?: number | undefined;
377
+ readonly history_retention_seconds: number;
378
+ readonly created_at: string;
360
379
  readonly updated_at: string;
361
- readonly written_data_bytes: number;
380
+ readonly synthetic_storage_size?: number | undefined;
381
+ readonly consumption_period_start: string;
382
+ readonly consumption_period_end: string;
383
+ readonly quota_reset_at?: string | undefined;
384
+ readonly owner_id: string;
385
+ readonly owner?: {
386
+ readonly email: string;
387
+ readonly name: string;
388
+ readonly branches_limit: number;
389
+ readonly subscription_type: "UNKNOWN" | "aws_marketplace" | "business" | "direct_sales" | "direct_sales_v3" | "free_v2" | "free_v3" | "launch" | "launch_v3" | "scale" | "scale_v3" | "vercel_pg_legacy";
390
+ } | undefined;
391
+ readonly compute_last_active_at?: string | undefined;
392
+ readonly org_id?: string | undefined;
393
+ readonly maintenance_scheduled_for?: string | undefined;
394
+ readonly hipaa_enabled_at?: string | undefined;
362
395
  };
363
396
  readonly connection_uris: readonly {
397
+ readonly connection_uri: string | import("effect/Redacted").Redacted<string>;
364
398
  readonly connection_parameters: {
365
399
  readonly database: string;
366
- readonly host: string;
367
400
  readonly password: string | import("effect/Redacted").Redacted<string>;
368
- readonly pooler_host: string;
369
401
  readonly role: string;
402
+ readonly host: string;
403
+ readonly pooler_host: string;
370
404
  };
371
- readonly connection_uri: string | import("effect/Redacted").Redacted<string>;
372
405
  }[];
373
- readonly databases: readonly {
406
+ readonly roles: readonly {
374
407
  readonly branch_id: string;
375
- readonly created_at: string;
376
- readonly id: number;
377
408
  readonly name: string;
378
- readonly owner_name: string;
409
+ readonly password?: string | import("effect/Redacted").Redacted<string> | undefined;
410
+ readonly protected?: boolean | undefined;
411
+ readonly authentication_method?: string | undefined;
412
+ readonly created_at: string;
379
413
  readonly updated_at: string;
380
414
  }[];
381
- readonly endpoints: readonly {
382
- readonly autoscaling_limit_max_cu: number;
383
- readonly autoscaling_limit_min_cu: number;
415
+ readonly databases: readonly {
416
+ readonly id: number;
384
417
  readonly branch_id: string;
385
- readonly compute_release_version?: string | undefined;
418
+ readonly name: string;
419
+ readonly owner_name: string;
386
420
  readonly created_at: string;
387
- readonly creation_source: string;
388
- readonly current_state: "active" | "idle" | "init";
389
- readonly disabled: boolean;
390
- readonly host: string;
391
- readonly id: string;
392
- readonly last_active?: string | undefined;
393
- readonly name?: string | undefined;
394
- readonly passwordless_access: boolean;
395
- readonly pending_state?: "active" | "idle" | "init" | undefined;
396
- readonly pooler_enabled: boolean;
397
- readonly pooler_mode: "transaction";
398
- readonly project_id: string;
399
- readonly provisioner: string;
400
- readonly proxy_host: string;
401
- readonly region_id: string;
402
- readonly settings: {
403
- readonly pg_settings?: {
404
- readonly [x: string]: string;
405
- } | undefined;
406
- readonly pgbouncer_settings?: {
407
- readonly [x: string]: string;
408
- } | undefined;
409
- readonly preload_libraries?: {
410
- readonly enabled_libraries?: readonly string[] | undefined;
411
- readonly use_defaults?: boolean | undefined;
412
- } | undefined;
413
- };
414
- readonly started_at?: string | undefined;
415
- readonly suspend_timeout_seconds: number;
416
- readonly suspended_at?: string | undefined;
417
- readonly type: "read_only" | "read_write";
418
421
  readonly updated_at: string;
419
422
  }[];
420
423
  readonly operations: readonly {
421
- readonly action: "apply_config" | "apply_schema_from_branch" | "apply_storage_config" | "check_availability" | "create_branch" | "create_compute" | "create_timeline" | "delete_timeline" | "detach_parent_branch" | "disable_maintenance" | "finalize_migration" | "import_data" | "mark_migration_prepared" | "prepare_secondary_pageserver" | "prewarm_replica" | "promote_replica" | "replace_safekeeper" | "set_storage_non_dirty" | "start_compute" | "start_reserved_compute" | "suspend_compute" | "swap_binding_id" | "switch_pageserver" | "sync_dbs_and_roles_from_compute" | "tenant_attach" | "tenant_detach" | "tenant_ignore" | "tenant_reattach" | "timeline_archive" | "timeline_mark_invisible" | "timeline_unarchive" | "timeline_update_protected_config";
424
+ readonly id: string;
425
+ readonly project_id: string;
422
426
  readonly branch_id?: string | undefined;
423
- readonly created_at: string;
424
427
  readonly endpoint_id?: string | undefined;
428
+ readonly action: "apply_config" | "apply_schema_from_branch" | "apply_storage_config" | "check_availability" | "create_branch" | "create_compute" | "create_timeline" | "delete_timeline" | "detach_parent_branch" | "disable_maintenance" | "finalize_migration" | "import_data" | "mark_migration_prepared" | "prepare_secondary_pageserver" | "prewarm_replica" | "promote_replica" | "replace_safekeeper" | "set_storage_non_dirty" | "start_compute" | "start_reserved_compute" | "suspend_compute" | "swap_binding_id" | "switch_pageserver" | "sync_dbs_and_roles_from_compute" | "tenant_attach" | "tenant_detach" | "tenant_ignore" | "tenant_reattach" | "timeline_archive" | "timeline_mark_invisible" | "timeline_unarchive" | "timeline_update_protected_config";
429
+ readonly status: "cancelled" | "cancelling" | "error" | "failed" | "finished" | "running" | "scheduling" | "skipped";
425
430
  readonly error?: string | undefined;
426
431
  readonly failures_count: number;
427
- readonly id: string;
428
- readonly project_id: string;
429
432
  readonly retry_at?: string | undefined;
430
- readonly status: "cancelled" | "cancelling" | "error" | "failed" | "finished" | "running" | "scheduling" | "skipped";
431
- readonly total_duration_ms: number;
433
+ readonly created_at: string;
432
434
  readonly updated_at: string;
435
+ readonly total_duration_ms: number;
433
436
  }[];
434
- readonly project: {
435
- readonly active_time_seconds: number;
436
- readonly branch_logical_size_limit: number;
437
- readonly branch_logical_size_limit_bytes: number;
438
- readonly compute_last_active_at?: string | undefined;
439
- readonly compute_time_seconds: number;
440
- readonly consumption_period_end: string;
441
- readonly consumption_period_start: string;
442
- readonly cpu_used_sec: number;
443
- readonly created_at: string;
437
+ readonly branch: {
438
+ readonly id: string;
439
+ readonly project_id: string;
440
+ readonly parent_id?: string | undefined;
441
+ readonly parent_lsn?: string | undefined;
442
+ readonly parent_timestamp?: string | undefined;
443
+ readonly name: string;
444
+ readonly current_state: string;
445
+ readonly pending_state?: string | undefined;
446
+ readonly state_changed_at: string;
447
+ readonly logical_size?: number | undefined;
444
448
  readonly creation_source: string;
445
- readonly data_storage_bytes_hour: number;
449
+ readonly primary?: boolean | undefined;
450
+ readonly default: boolean;
451
+ readonly protected: boolean;
452
+ readonly cpu_used_sec: number;
453
+ readonly compute_time_seconds: number;
454
+ readonly active_time_seconds: number;
455
+ readonly written_data_bytes: number;
446
456
  readonly data_transfer_bytes: number;
447
- readonly default_endpoint_settings?: {
448
- readonly autoscaling_limit_max_cu?: number | undefined;
449
- readonly autoscaling_limit_min_cu?: number | undefined;
450
- readonly pg_settings?: {
451
- readonly [x: string]: string;
452
- } | undefined;
453
- readonly pgbouncer_settings?: {
454
- readonly [x: string]: string;
455
- } | undefined;
456
- readonly suspend_timeout_seconds?: number | undefined;
457
+ readonly created_at: string;
458
+ readonly updated_at: string;
459
+ readonly ttl_interval_seconds?: number | undefined;
460
+ readonly expires_at?: string | undefined;
461
+ readonly last_reset_at?: string | undefined;
462
+ readonly created_by?: {
463
+ readonly name?: string | undefined;
464
+ readonly image?: string | undefined;
457
465
  } | undefined;
458
- readonly hipaa_enabled_at?: string | undefined;
459
- readonly history_retention_seconds: number;
460
- readonly id: string;
461
- readonly maintenance_scheduled_for?: string | undefined;
462
- readonly maintenance_starts_at?: string | undefined;
463
- readonly name: string;
464
- readonly org_id?: string | undefined;
465
- readonly owner?: {
466
- readonly branches_limit: number;
467
- readonly email: string;
466
+ readonly init_source?: string | undefined;
467
+ readonly restore_status?: string | undefined;
468
+ readonly restored_from?: string | undefined;
469
+ readonly restored_as?: string | undefined;
470
+ readonly restricted_actions?: readonly {
468
471
  readonly name: string;
469
- readonly subscription_type: "UNKNOWN" | "aws_marketplace" | "business" | "direct_sales" | "direct_sales_v3" | "free_v2" | "free_v3" | "launch" | "launch_v3" | "scale" | "scale_v3" | "vercel_pg_legacy";
472
+ readonly reason: string;
473
+ }[] | undefined;
474
+ readonly recovery?: {
475
+ readonly deleted_at: string;
476
+ readonly recoverable_until: string;
477
+ readonly deletion_method: "ttl" | "user";
470
478
  } | undefined;
471
- readonly owner_id: string;
472
- readonly pg_version: number;
473
- readonly platform_id: string;
474
- readonly provisioner: string;
475
- readonly proxy_host: string;
476
- readonly quota_reset_at?: string | undefined;
479
+ };
480
+ readonly endpoints: readonly {
481
+ readonly host: string;
482
+ readonly id: string;
483
+ readonly name?: string | undefined;
484
+ readonly project_id: string;
485
+ readonly branch_id: string;
486
+ readonly autoscaling_limit_min_cu: number;
487
+ readonly autoscaling_limit_max_cu: number;
477
488
  readonly region_id: string;
478
- readonly settings?: {
479
- readonly allowed_ips?: {
480
- readonly ips?: readonly string[] | undefined;
481
- readonly protected_branches_only?: boolean | undefined;
489
+ readonly type: "read_only" | "read_write";
490
+ readonly current_state: "active" | "idle" | "init";
491
+ readonly pending_state?: "active" | "idle" | "init" | undefined;
492
+ readonly settings: {
493
+ readonly pg_settings?: {
494
+ readonly [x: string]: string;
482
495
  } | undefined;
483
- readonly audit_log_level?: "base" | "extended" | "full" | undefined;
484
- readonly block_public_connections?: boolean | undefined;
485
- readonly block_vpc_connections?: boolean | undefined;
486
- readonly enable_logical_replication?: boolean | undefined;
487
- readonly hipaa?: boolean | undefined;
488
- readonly maintenance_window?: {
489
- readonly end_time: string;
490
- readonly start_time: string;
491
- readonly weekdays: readonly number[];
496
+ readonly pgbouncer_settings?: {
497
+ readonly [x: string]: string;
492
498
  } | undefined;
493
499
  readonly preload_libraries?: {
494
- readonly enabled_libraries?: readonly string[] | undefined;
495
500
  readonly use_defaults?: boolean | undefined;
501
+ readonly enabled_libraries?: readonly string[] | undefined;
496
502
  } | undefined;
497
- readonly quota?: {
498
- readonly active_time_seconds?: number | undefined;
499
- readonly compute_time_seconds?: number | undefined;
500
- readonly data_transfer_bytes?: number | undefined;
501
- readonly logical_size_bytes?: number | undefined;
502
- readonly written_data_bytes?: number | undefined;
503
- } | undefined;
504
- } | undefined;
505
- readonly store_passwords: boolean;
506
- readonly synthetic_storage_size?: number | undefined;
507
- readonly updated_at: string;
508
- readonly written_data_bytes: number;
509
- };
510
- readonly roles: readonly {
511
- readonly authentication_method?: string | undefined;
512
- readonly branch_id: string;
503
+ };
504
+ readonly pooler_enabled: boolean;
505
+ readonly pooler_mode: "transaction";
506
+ readonly disabled: boolean;
507
+ readonly passwordless_access: boolean;
508
+ readonly last_active?: string | undefined;
509
+ readonly creation_source: string;
513
510
  readonly created_at: string;
514
- readonly name: string;
515
- readonly password?: string | import("effect/Redacted").Redacted<string> | undefined;
516
- readonly protected?: boolean | undefined;
517
511
  readonly updated_at: string;
512
+ readonly started_at?: string | undefined;
513
+ readonly suspended_at?: string | undefined;
514
+ readonly proxy_host: string;
515
+ readonly suspend_timeout_seconds: number;
516
+ readonly provisioner: string;
517
+ readonly compute_release_version?: string | undefined;
518
518
  }[];
519
519
  }, never, import("../credentials.ts").Credentials>;
520
520
  //# sourceMappingURL=createProject.d.ts.map