@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.
- package/lib/operations/acceptProjectTransferRequest.d.ts +1 -1
- package/lib/operations/addBranchNeonAuthOauthProvider.d.ts +4 -4
- package/lib/operations/addBranchNeonAuthTrustedDomain.d.ts +2 -2
- package/lib/operations/addProjectJWKS.d.ts +14 -14
- package/lib/operations/assignOrganizationVPCEndpoint.d.ts +1 -1
- package/lib/operations/assignProjectVPCEndpoint.d.ts +1 -1
- package/lib/operations/createApiKey.d.ts +2 -2
- package/lib/operations/createBranchNeonAuthNewUser.d.ts +1 -1
- package/lib/operations/createNeonAuth.d.ts +5 -5
- package/lib/operations/createNeonAuthProviderSDKKeys.d.ts +4 -4
- package/lib/operations/createOrgApiKey.d.ts +3 -3
- package/lib/operations/createOrganizationInvitations.d.ts +4 -4
- package/lib/operations/createProject.d.ts +187 -187
- package/lib/operations/createProjectBranch.d.ts +91 -91
- package/lib/operations/createProjectBranchAnonymized.d.ts +91 -91
- package/lib/operations/createProjectBranchDataAPI.d.ts +6 -6
- package/lib/operations/createProjectBranchDatabase.d.ts +9 -9
- package/lib/operations/createProjectBranchRole.d.ts +16 -16
- package/lib/operations/createProjectEndpoint.d.ts +36 -36
- package/lib/operations/createProjectTransferRequest.d.ts +2 -2
- package/lib/operations/createSnapshot.d.ts +21 -21
- package/lib/operations/deleteBranchNeonAuthOauthProvider.d.ts +1 -1
- package/lib/operations/deleteBranchNeonAuthTrustedDomain.d.ts +2 -2
- package/lib/operations/deleteBranchNeonAuthUser.d.ts +2 -2
- package/lib/operations/deleteProject.d.ts +48 -48
- package/lib/operations/deleteProjectBranch.d.ts +34 -34
- package/lib/operations/deleteProjectBranchDataAPI.d.ts +1 -1
- package/lib/operations/deleteProjectBranchDatabase.d.ts +9 -9
- package/lib/operations/deleteProjectBranchRole.d.ts +16 -16
- package/lib/operations/deleteProjectEndpoint.d.ts +26 -26
- package/lib/operations/deleteProjectJWKS.d.ts +6 -6
- package/lib/operations/disableNeonAuth.d.ts +1 -1
- package/lib/operations/finalizeRestoreBranch.d.ts +7 -7
- package/lib/operations/getActiveRegions.d.ts +2 -2
- package/lib/operations/getAnonymizedBranchStatus.d.ts +7 -7
- package/lib/operations/getAuthDetails.d.ts +1 -1
- package/lib/operations/getAvailablePreloadLibraries.d.ts +1 -1
- package/lib/operations/getConnectionURI.d.ts +3 -3
- package/lib/operations/getConsumptionHistoryPerAccount.d.ts +10 -10
- package/lib/operations/getConsumptionHistoryPerProject.d.ts +16 -16
- package/lib/operations/getConsumptionHistoryPerProjectV2.d.ts +14 -14
- package/lib/operations/getCurrentUserInfo.d.ts +29 -29
- package/lib/operations/getCurrentUserOrganizations.d.ts +5 -5
- package/lib/operations/getMaskingRules.d.ts +4 -4
- package/lib/operations/getNeonAuth.d.ts +5 -5
- package/lib/operations/getNeonAuthAllowLocalhost.d.ts +1 -1
- package/lib/operations/getNeonAuthEmailAndPasswordConfig.d.ts +5 -5
- package/lib/operations/getNeonAuthEmailProvider.d.ts +1 -1
- package/lib/operations/getNeonAuthPhoneNumberPlugin.d.ts +2 -2
- package/lib/operations/getNeonAuthPluginConfigs.d.ts +25 -25
- package/lib/operations/getNeonAuthWebhookConfig.d.ts +2 -2
- package/lib/operations/getOrganization.d.ts +5 -5
- package/lib/operations/getOrganizationInvitations.d.ts +3 -3
- package/lib/operations/getOrganizationMember.d.ts +3 -3
- package/lib/operations/getOrganizationMembers.d.ts +5 -5
- package/lib/operations/getOrganizationVPCEndpointDetails.d.ts +3 -3
- package/lib/operations/getProject.d.ts +48 -48
- package/lib/operations/getProjectAdvisorSecurityIssues.d.ts +8 -8
- package/lib/operations/getProjectBranch.d.ts +39 -39
- package/lib/operations/getProjectBranchDataAPI.d.ts +5 -5
- package/lib/operations/getProjectBranchDatabase.d.ts +3 -3
- package/lib/operations/getProjectBranchRole.d.ts +3 -3
- package/lib/operations/getProjectBranchRolePassword.d.ts +1 -1
- package/lib/operations/getProjectBranchSchema.d.ts +9 -9
- package/lib/operations/getProjectBranchSchemaComparison.d.ts +4 -4
- package/lib/operations/getProjectEndpoint.d.ts +20 -20
- package/lib/operations/getProjectJWKS.d.ts +5 -5
- package/lib/operations/getProjectOperation.d.ts +7 -7
- package/lib/operations/getSnapshotSchedule.d.ts +2 -2
- package/lib/operations/grantPermissionToProject.d.ts +3 -3
- package/lib/operations/listApiKeys.d.ts +3 -3
- package/lib/operations/listBranchNeonAuthOauthProviders.d.ts +3 -3
- package/lib/operations/listBranchNeonAuthTrustedDomains.d.ts +2 -2
- package/lib/operations/listOrgApiKeys.d.ts +3 -3
- package/lib/operations/listOrganizationVPCEndpoints.d.ts +1 -1
- package/lib/operations/listOrganizationVPCEndpointsAllRegions.d.ts +1 -1
- package/lib/operations/listProjectBranchDatabases.d.ts +3 -3
- package/lib/operations/listProjectBranchEndpoints.d.ts +20 -20
- package/lib/operations/listProjectBranchRoles.d.ts +3 -3
- package/lib/operations/listProjectBranches.d.ts +43 -43
- package/lib/operations/listProjectEndpoints.d.ts +19 -19
- package/lib/operations/listProjectOperations.d.ts +7 -7
- package/lib/operations/listProjectPermissions.d.ts +2 -2
- package/lib/operations/listProjectVPCEndpoints.d.ts +1 -1
- package/lib/operations/listProjects.d.ts +51 -51
- package/lib/operations/listSharedProjects.d.ts +43 -43
- package/lib/operations/listSnapshots.d.ts +7 -7
- package/lib/operations/recoverProject.d.ts +90 -90
- package/lib/operations/recoverProjectBranch.d.ts +47 -47
- package/lib/operations/removeOrganizationMember.d.ts +1 -1
- package/lib/operations/resetProjectBranchRolePassword.d.ts +16 -16
- package/lib/operations/restartProjectEndpoint.d.ts +26 -26
- package/lib/operations/restoreProjectBranch.d.ts +35 -35
- package/lib/operations/restoreSnapshot.d.ts +54 -54
- package/lib/operations/revokeApiKey.d.ts +2 -2
- package/lib/operations/revokeOrgApiKey.d.ts +4 -4
- package/lib/operations/revokePermissionFromProject.d.ts +3 -3
- package/lib/operations/sendNeonAuthTestEmail.d.ts +5 -5
- package/lib/operations/setDefaultProjectBranch.d.ts +34 -34
- package/lib/operations/setSnapshotSchedule.d.ts +2 -2
- package/lib/operations/startAnonymization.d.ts +7 -7
- package/lib/operations/startProjectEndpoint.d.ts +26 -26
- package/lib/operations/suspendProjectEndpoint.d.ts +26 -26
- package/lib/operations/transferNeonAuthProviderProject.d.ts +1 -1
- package/lib/operations/transferProjectsFromOrgToOrg.d.ts +1 -1
- package/lib/operations/updateBranchNeonAuthOauthProvider.d.ts +4 -4
- package/lib/operations/updateMaskingRules.d.ts +7 -7
- package/lib/operations/updateNeonAuthAllowLocalhost.d.ts +2 -2
- package/lib/operations/updateNeonAuthConfig.d.ts +1 -1
- package/lib/operations/updateNeonAuthEmailAndPasswordConfig.d.ts +9 -9
- package/lib/operations/updateNeonAuthEmailProvider.d.ts +1 -1
- package/lib/operations/updateNeonAuthMagicLinkPlugin.d.ts +3 -3
- package/lib/operations/updateNeonAuthOrganizationPlugin.d.ts +5 -5
- package/lib/operations/updateNeonAuthPhoneNumberPlugin.d.ts +3 -3
- package/lib/operations/updateNeonAuthUserRole.d.ts +2 -2
- package/lib/operations/updateNeonAuthWebhookConfig.d.ts +3 -3
- package/lib/operations/updateOrganizationMember.d.ts +3 -3
- package/lib/operations/updateProject.d.ts +89 -89
- package/lib/operations/updateProjectBranch.d.ts +36 -36
- package/lib/operations/updateProjectBranchDataAPI.d.ts +2 -2
- package/lib/operations/updateProjectBranchDatabase.d.ts +10 -10
- package/lib/operations/updateProjectEndpoint.d.ts +35 -35
- package/lib/operations/updateSnapshot.d.ts +8 -8
- 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
|
|
264
|
-
|
|
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
|
-
|
|
288
|
-
|
|
289
|
-
|
|
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
|
|
331
|
-
readonly
|
|
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
|
|
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
|
|
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
|
|
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
|
|
382
|
-
readonly
|
|
383
|
-
readonly autoscaling_limit_min_cu: number;
|
|
415
|
+
readonly databases: readonly {
|
|
416
|
+
readonly id: number;
|
|
384
417
|
readonly branch_id: string;
|
|
385
|
-
readonly
|
|
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
|
|
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
|
|
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
|
|
435
|
-
readonly
|
|
436
|
-
readonly
|
|
437
|
-
readonly
|
|
438
|
-
readonly
|
|
439
|
-
readonly
|
|
440
|
-
readonly
|
|
441
|
-
readonly
|
|
442
|
-
readonly
|
|
443
|
-
readonly
|
|
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
|
|
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
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
readonly
|
|
454
|
-
|
|
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
|
|
459
|
-
readonly
|
|
460
|
-
readonly
|
|
461
|
-
readonly
|
|
462
|
-
readonly
|
|
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
|
|
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
|
-
|
|
472
|
-
|
|
473
|
-
readonly
|
|
474
|
-
readonly
|
|
475
|
-
readonly
|
|
476
|
-
readonly
|
|
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
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
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
|
|
484
|
-
|
|
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
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
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
|