@amerged/ohmyhost-sdk 0.1.65 → 0.1.66

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.
@@ -227,7 +227,7 @@ export type ApplicationDomainIdentity = {
227
227
  };
228
228
  export type ManagedMailDomainRequest = {
229
229
  domain: string;
230
- sending: boolean;
230
+ sending: true;
231
231
  receiving: boolean;
232
232
  };
233
233
  export type ManagedMailWebhookRequest = {
@@ -1623,7 +1623,7 @@ export type ProblemDetails = {
1623
1623
  status: number;
1624
1624
  detail?: string;
1625
1625
  instance?: string;
1626
- code: "invalid_request" | "unauthenticated" | "forbidden" | "organization_required" | "resource_not_found" | "idempotency_key_reused" | "project_handle_unavailable" | "project_identity_unavailable" | "deployment_plan_expired" | "deployment_plan_incompatible" | "confirmation_expired" | "confirmation_invalid" | "etag_mismatch" | "promotion_source_stale" | "promotion_target_stale" | "promotion_invalid_target" | "mail_domain_conflict" | "mail_domain_pending_limit" | "mail_domain_required" | "mail_capacity_unavailable" | "storage_jurisdiction_conflict" | "shared_data_requires_promotion" | "development_environment_exists" | "development_environment_missing" | "production_deployment_required" | "framework_conversion_required" | "repository_configuration_missing" | "migration_filename_noncanonical" | "environment_secret_mutation_blocked" | "workers_runtime_incompatible" | "project_handle_invalid" | "project_handle_taken" | "project_handle_unchanged" | "project_rename_blocked" | "database_limit_reached" | "payload_too_large" | "rate_limited" | "build_capacity_reached" | "insufficient_organization_credits" | "paid_plan_required" | "project_budget_exceeded" | "compute_performance_paid_required" | "compute_paid_required" | "compute_storage_shrink_requires_migration" | "compute_performance_unavailable" | "database_write_pending" | "database_access_limit" | "database_webhook_limit" | "database_schedule_limit" | "database_schedule_not_runnable" | "database_webhook_delivery_pending" | "database_watch_limit" | "database_watch_table_unavailable" | "database_watch_column_unavailable" | "database_watch_events_unavailable" | "database_watch_conflict" | "database_table_conflict" | "database_table_limit" | "compute_change_pending" | "compute_change_conflict" | "billing_purchase_conflict" | "billing_recharge_conflict" | "github_connection_required" | "github_connection_revoked" | "repository_not_installed" | "cloudflare_zone_not_bound" | "cloudflare_authorization_closed" | "project_notes_conflict" | "project_export_not_ready" | "powered_by_flag_required" | "interactive_login_required" | "api_key_creation_uncertain" | "api_key_permissions_unavailable" | "reconciliation_exhausted" | "reconciliation_not_pending" | "service_unavailable" | "source_commit_not_found" | "domain_hostname_taken" | "domain_ownership_required" | "domain_dns_conflict" | "data_change_blocked" | "data_change_in_progress" | "data_change_not_applicable" | "rollback_target_data_changed" | "project_domain_delete_required" | "native_domain_sync_pending" | "native_auth_launch_unavailable" | "native_auth_provider_unavailable" | "native_auth_epoch_exhausted" | "native_user_conflict" | "project_domains_conflict";
1626
+ code: "invalid_request" | "unauthenticated" | "forbidden" | "organization_required" | "resource_not_found" | "idempotency_key_reused" | "project_handle_unavailable" | "project_identity_unavailable" | "deployment_plan_expired" | "deployment_plan_incompatible" | "confirmation_expired" | "confirmation_invalid" | "etag_mismatch" | "promotion_source_stale" | "promotion_target_stale" | "promotion_invalid_target" | "mail_domain_conflict" | "mail_domain_pending_limit" | "mail_domain_required" | "mail_capacity_unavailable" | "storage_jurisdiction_conflict" | "shared_data_requires_promotion" | "development_environment_exists" | "development_environment_missing" | "source_generation_conflict" | "source_commit_conflict" | "source_upload_conflict" | "source_upload_expired" | "source_scope_unavailable" | "source_snapshot_invalid" | "source_snapshot_too_large" | "preview_version_conflict" | "production_deployment_required" | "framework_conversion_required" | "repository_configuration_missing" | "migration_filename_noncanonical" | "environment_secret_mutation_blocked" | "workers_runtime_incompatible" | "project_handle_invalid" | "project_handle_taken" | "project_handle_unchanged" | "project_rename_blocked" | "database_limit_reached" | "payload_too_large" | "rate_limited" | "build_capacity_reached" | "insufficient_organization_credits" | "paid_plan_required" | "project_budget_exceeded" | "compute_performance_paid_required" | "compute_paid_required" | "compute_storage_shrink_requires_migration" | "compute_performance_unavailable" | "database_write_pending" | "database_access_limit" | "database_webhook_limit" | "database_schedule_limit" | "database_schedule_not_runnable" | "database_webhook_delivery_pending" | "database_watch_limit" | "database_watch_table_unavailable" | "database_watch_column_unavailable" | "database_watch_events_unavailable" | "database_watch_conflict" | "database_table_conflict" | "database_table_limit" | "compute_change_pending" | "compute_change_conflict" | "billing_purchase_conflict" | "billing_recharge_conflict" | "github_connection_required" | "connection_revoked" | "github_connection_revoked" | "repository_not_installed" | "cloudflare_zone_not_bound" | "cloudflare_authorization_closed" | "project_notes_conflict" | "project_export_not_ready" | "powered_by_flag_required" | "interactive_login_required" | "api_key_creation_uncertain" | "api_key_permissions_unavailable" | "reconciliation_exhausted" | "reconciliation_not_pending" | "service_unavailable" | "source_commit_not_found" | "domain_hostname_taken" | "domain_ownership_required" | "domain_dns_conflict" | "domain_already_configured" | "domain_deleting" | "data_change_blocked" | "data_change_in_progress" | "data_change_not_applicable" | "rollback_target_data_changed" | "project_domain_delete_required" | "native_domain_sync_pending" | "native_auth_launch_unavailable" | "native_auth_provider_unavailable" | "native_auth_epoch_exhausted" | "native_auth_revision_conflict" | "native_auth_provider_incomplete" | "auto_deploy_source_unavailable" | "cutover_pending" | "project_operation_in_progress" | "native_user_conflict" | "project_domains_conflict";
1627
1627
  request_id: string;
1628
1628
  retryable: boolean;
1629
1629
  /**
@@ -1632,6 +1632,16 @@ export type ProblemDetails = {
1632
1632
  retry_after_seconds?: number;
1633
1633
  suggested_action: string;
1634
1634
  };
1635
+ /**
1636
+ * Durable record of an accepted project creation. project_id identifies the new project; it is returned unchanged by an identical idempotent replay.
1637
+ */
1638
+ export type ProjectCreateOperation = {
1639
+ id: Ulid;
1640
+ state: "queued";
1641
+ created_at: string;
1642
+ updated_at: string;
1643
+ project_id: Ulid;
1644
+ };
1635
1645
  /**
1636
1646
  * Durable record returned for an accepted asynchronous mutation. Optional reconciliation is a current observation for queued/running work, separate from immutable terminal state. A completed reconciliation attempt alone does not mean the operation succeeded.
1637
1647
  */
@@ -1737,20 +1747,7 @@ export type DatabaseCompute = {
1737
1747
  environment: "dev" | "prod";
1738
1748
  data_mode: "shared" | "isolated";
1739
1749
  observed_at: string;
1740
- database: null | FixedDatabaseCompute | {
1741
- min_cu: number;
1742
- max_cu: number;
1743
- min_memory_gb: number;
1744
- max_memory_gb: number;
1745
- /**
1746
- * Configured timeout: 0 is provider default; -1 disables suspension.
1747
- */
1748
- suspend_timeout_seconds: number;
1749
- state: "init" | "active" | "idle";
1750
- pending_state: "init" | "active" | "idle" | null;
1751
- disabled: boolean;
1752
- region: string;
1753
- };
1750
+ database: null | FixedDatabaseCompute;
1754
1751
  };
1755
1752
  /**
1756
1753
  * Fixed resources; storage includes engine and WAL overhead. First provisioning is distinct from a sleeping database.
@@ -1809,7 +1806,7 @@ export type ProjectExportArchive = {
1809
1806
  };
1810
1807
  export type OperationFailure = {
1811
1808
  migration?: MigrationFailureDiagnostic;
1812
- code: "operation_failed" | "operation_abandoned" | "authorization_changed" | "source_commit_conflict" | "source_snapshot_invalid" | "source_upload_expired" | "recovery_dispatch_failed" | "recovery_job_failed" | "recovery_input_expired" | "recovery_database_unavailable" | "recovery_checksum_mismatch" | "recovery_scope_unavailable" | "recovery_archive_too_large" | "build_not_started" | "build_failed" | "database_write_rejected" | "database_write_unavailable" | "database_write_outcome_unknown" | "database_compute_failed" | "database_compute_plan_changed" | "database_compute_rejected" | "database_migration_failed" | "insufficient_organization_credits" | "project_budget_exceeded" | "paid_plan_required" | "runtime_candidate_failed" | "runtime_candidate_rejected" | "storage_jurisdiction_conflict" | "provider_state_absent" | "auto_deploy_plan_rejected" | "promotion_source_stale" | "promotion_target_stale" | "project_handle_taken" | "managed_source_dispatch_failed";
1809
+ code: "operation_failed" | "operation_abandoned" | "authorization_changed" | "source_commit_conflict" | "source_snapshot_invalid" | "source_upload_expired" | "recovery_dispatch_failed" | "recovery_job_failed" | "recovery_input_expired" | "recovery_database_unavailable" | "recovery_checksum_mismatch" | "recovery_scope_unavailable" | "recovery_archive_too_large" | "build_not_started" | "build_failed" | "database_write_rejected" | "database_write_unavailable" | "database_write_outcome_unknown" | "database_compute_failed" | "database_compute_plan_changed" | "database_compute_rejected" | "database_migration_failed" | "insufficient_organization_credits" | "project_budget_exceeded" | "paid_plan_required" | "runtime_candidate_failed" | "runtime_candidate_rejected" | "storage_jurisdiction_conflict" | "provider_state_absent" | "auto_deploy_plan_rejected" | "auto_deploy_repository_renamed" | "promotion_source_stale" | "promotion_target_stale" | "project_handle_taken" | "managed_source_dispatch_failed";
1813
1810
  message: string;
1814
1811
  /**
1815
1812
  * A terminal operation cannot be retried in place; follow suggested_action.
@@ -1930,6 +1927,10 @@ export type AuditLimit = number;
1930
1927
  * Identifies one mutation and its canonical request payload.
1931
1928
  */
1932
1929
  export type IdempotencyKey = string;
1930
+ /**
1931
+ * Identifies one mutation and its canonical request payload; only letters, digits and the characters . _ : - are accepted.
1932
+ */
1933
+ export type IdempotencyKeyToken = string;
1933
1934
  /**
1934
1935
  * Use resource_etag from a fresh rollback, promotion, deletion or data-change plan. For a project address change, use etag from project status; an ETag from another representation is not accepted.
1935
1936
  */
@@ -1999,7 +2000,7 @@ export type ProjectLimit = number;
1999
2000
  */
2000
2001
  export type EnvironmentId = Ulid;
2001
2002
  /**
2002
- * Uppercase environment-variable name.
2003
+ * Uppercase environment-variable name. Set refuses a name starting with OHMYHOST_ and the platform names BETTER_AUTH_SECRET, BETTER_AUTH_URL, DATABASE_URL, HYPERDRIVE, ASSETS, FILES, IMAGES and STORAGE with a 400 whose detail is "Secret name is reserved.". Delete refuses the installed platform keys OHMYHOST_AI_KEY, OHMYHOST_MAIL_KEY, OHMYHOST_STORAGE_KEY, OHMYHOST_BROWSER_KEY and BETTER_AUTH_SECRET with the same detail.
2003
2004
  */
2004
2005
  export type SecretName = string;
2005
2006
  /**
@@ -3478,7 +3479,7 @@ export type CreateWorkspaceMailDomainData = {
3478
3479
  */
3479
3480
  "X-Request-Id"?: string;
3480
3481
  /**
3481
- * Identifies one mutation and its canonical request payload.
3482
+ * Identifies one mutation and its canonical request payload; only letters, digits and the characters . _ : - are accepted.
3482
3483
  */
3483
3484
  "Idempotency-Key": string;
3484
3485
  };
@@ -3538,7 +3539,7 @@ export type RetireWorkspaceMailDomainData = {
3538
3539
  */
3539
3540
  "X-Request-Id"?: string;
3540
3541
  /**
3541
- * Identifies one mutation and its canonical request payload.
3542
+ * Identifies one mutation and its canonical request payload; only letters, digits and the characters . _ : - are accepted.
3542
3543
  */
3543
3544
  "Idempotency-Key": string;
3544
3545
  };
@@ -3656,7 +3657,7 @@ export type RevokeWorkspaceMailDomainDnsAuthorizationData = {
3656
3657
  */
3657
3658
  "X-Request-Id"?: string;
3658
3659
  /**
3659
- * Identifies one mutation and its canonical request payload.
3660
+ * Identifies one mutation and its canonical request payload; only letters, digits and the characters . _ : - are accepted.
3660
3661
  */
3661
3662
  "Idempotency-Key": string;
3662
3663
  };
@@ -3774,7 +3775,7 @@ export type AuthorizeWorkspaceMailDomainDnsData = {
3774
3775
  */
3775
3776
  "X-Request-Id"?: string;
3776
3777
  /**
3777
- * Identifies one mutation and its canonical request payload.
3778
+ * Identifies one mutation and its canonical request payload; only letters, digits and the characters . _ : - are accepted.
3778
3779
  */
3779
3780
  "Idempotency-Key": string;
3780
3781
  };
@@ -3835,7 +3836,7 @@ export type DetachProjectMailDomainBindingData = {
3835
3836
  */
3836
3837
  "X-Request-Id"?: string;
3837
3838
  /**
3838
- * Identifies one mutation and its canonical request payload.
3839
+ * Identifies one mutation and its canonical request payload; only letters, digits and the characters . _ : - are accepted.
3839
3840
  */
3840
3841
  "Idempotency-Key": string;
3841
3842
  };
@@ -3953,7 +3954,7 @@ export type PutProjectMailDomainBindingData = {
3953
3954
  */
3954
3955
  "X-Request-Id"?: string;
3955
3956
  /**
3956
- * Identifies one mutation and its canonical request payload.
3957
+ * Identifies one mutation and its canonical request payload; only letters, digits and the characters . _ : - are accepted.
3957
3958
  */
3958
3959
  "Idempotency-Key": string;
3959
3960
  };
@@ -4014,7 +4015,7 @@ export type RevokeApplicationDomainIdentityData = {
4014
4015
  */
4015
4016
  "X-Request-Id"?: string;
4016
4017
  /**
4017
- * Identifies one mutation and its canonical request payload.
4018
+ * Identifies one mutation and its canonical request payload; only letters, digits and the characters . _ : - are accepted.
4018
4019
  */
4019
4020
  "Idempotency-Key": string;
4020
4021
  };
@@ -4130,7 +4131,7 @@ export type DeclareApplicationDomainIdentityData = {
4130
4131
  */
4131
4132
  "X-Request-Id"?: string;
4132
4133
  /**
4133
- * Identifies one mutation and its canonical request payload.
4134
+ * Identifies one mutation and its canonical request payload; only letters, digits and the characters . _ : - are accepted.
4134
4135
  */
4135
4136
  "Idempotency-Key": string;
4136
4137
  };
@@ -4190,7 +4191,7 @@ export type VerifyApplicationDomainIdentityData = {
4190
4191
  */
4191
4192
  "X-Request-Id"?: string;
4192
4193
  /**
4193
- * Identifies one mutation and its canonical request payload.
4194
+ * Identifies one mutation and its canonical request payload; only letters, digits and the characters . _ : - are accepted.
4194
4195
  */
4195
4196
  "Idempotency-Key": string;
4196
4197
  };
@@ -4250,7 +4251,7 @@ export type RevokeApplicationDomainIdentityDnsAuthorizationData = {
4250
4251
  */
4251
4252
  "X-Request-Id"?: string;
4252
4253
  /**
4253
- * Identifies one mutation and its canonical request payload.
4254
+ * Identifies one mutation and its canonical request payload; only letters, digits and the characters . _ : - are accepted.
4254
4255
  */
4255
4256
  "Idempotency-Key": string;
4256
4257
  };
@@ -4366,7 +4367,7 @@ export type AuthorizeApplicationDomainIdentityDnsData = {
4366
4367
  */
4367
4368
  "X-Request-Id"?: string;
4368
4369
  /**
4369
- * Identifies one mutation and its canonical request payload.
4370
+ * Identifies one mutation and its canonical request payload; only letters, digits and the characters . _ : - are accepted.
4370
4371
  */
4371
4372
  "Idempotency-Key": string;
4372
4373
  };
@@ -4805,6 +4806,12 @@ export type GetOrganizationReferralResponses = {
4805
4806
  export type GetOrganizationReferralResponse = GetOrganizationReferralResponses[keyof GetOrganizationReferralResponses];
4806
4807
  export type GetOrganizationAccountData = {
4807
4808
  body?: never;
4809
+ headers?: {
4810
+ /**
4811
+ * Optional caller-provided correlation identifier.
4812
+ */
4813
+ "X-Request-Id"?: string;
4814
+ };
4808
4815
  path: {
4809
4816
  organization_id: Ulid;
4810
4817
  };
@@ -5070,7 +5077,7 @@ export type CreateUserApiKeyData = {
5070
5077
  */
5071
5078
  "X-Request-Id"?: string;
5072
5079
  /**
5073
- * Identifies one mutation and its canonical request payload.
5080
+ * Identifies one mutation and its canonical request payload; only letters, digits and the characters . _ : - are accepted.
5074
5081
  */
5075
5082
  "Idempotency-Key": string;
5076
5083
  };
@@ -5179,7 +5186,7 @@ export type SubmitFeedbackData = {
5179
5186
  */
5180
5187
  "X-Request-Id"?: string;
5181
5188
  /**
5182
- * Identifies one mutation and its canonical request payload.
5189
+ * Identifies one mutation and its canonical request payload; only letters, digits and the characters . _ : - are accepted.
5183
5190
  */
5184
5191
  "Idempotency-Key": string;
5185
5192
  };
@@ -5401,7 +5408,7 @@ export type RevokeCurrentSessionData = {
5401
5408
  */
5402
5409
  "X-Request-Id"?: string;
5403
5410
  /**
5404
- * Identifies one mutation and its canonical request payload.
5411
+ * Identifies one mutation and its canonical request payload; only letters, digits and the characters . _ : - are accepted.
5405
5412
  */
5406
5413
  "Idempotency-Key": string;
5407
5414
  };
@@ -5509,7 +5516,7 @@ export type CreateBillingCheckoutData = {
5509
5516
  */
5510
5517
  "X-Request-Id"?: string;
5511
5518
  /**
5512
- * Identifies one mutation and its canonical request payload.
5519
+ * Identifies one mutation and its canonical request payload; only letters, digits and the characters . _ : - are accepted.
5513
5520
  */
5514
5521
  "Idempotency-Key": string;
5515
5522
  };
@@ -5727,7 +5734,7 @@ export type ConfigureBillingRechargeData = {
5727
5734
  */
5728
5735
  "X-Request-Id"?: string;
5729
5736
  /**
5730
- * Identifies one mutation and its canonical request payload.
5737
+ * Identifies one mutation and its canonical request payload; only letters, digits and the characters . _ : - are accepted.
5731
5738
  */
5732
5739
  "Idempotency-Key": string;
5733
5740
  };
@@ -6114,9 +6121,9 @@ export type SetProjectCreditBudgetErrors = {
6114
6121
  */
6115
6122
  404: ProblemDetails;
6116
6123
  /**
6117
- * The idempotency key was already used with a different canonical request.
6124
+ * The request failed.
6118
6125
  */
6119
- 409: IdempotencyConflictProblem;
6126
+ 409: ProblemDetails;
6120
6127
  /**
6121
6128
  * The request failed.
6122
6129
  */
@@ -6219,9 +6226,9 @@ export type CreateProjectErrors = {
6219
6226
  */
6220
6227
  403: ProblemDetails;
6221
6228
  /**
6222
- * The idempotency key was already used with a different canonical request.
6229
+ * The request failed.
6223
6230
  */
6224
- 409: IdempotencyConflictProblem;
6231
+ 409: ProblemDetails;
6225
6232
  /**
6226
6233
  * The request failed.
6227
6234
  */
@@ -6238,9 +6245,9 @@ export type CreateProjectErrors = {
6238
6245
  export type CreateProjectError = CreateProjectErrors[keyof CreateProjectErrors];
6239
6246
  export type CreateProjectResponses = {
6240
6247
  /**
6241
- * The mutation was accepted for asynchronous processing.
6248
+ * The project creation was accepted for asynchronous provisioning.
6242
6249
  */
6243
- 202: Operation;
6250
+ 202: ProjectCreateOperation;
6244
6251
  };
6245
6252
  export type CreateProjectResponse = CreateProjectResponses[keyof CreateProjectResponses];
6246
6253
  export type DeleteProjectData = {
@@ -7060,9 +7067,9 @@ export type LinkProjectSourceErrors = {
7060
7067
  */
7061
7068
  404: ProblemDetails;
7062
7069
  /**
7063
- * The idempotency key was already used with a different canonical request.
7070
+ * The request failed.
7064
7071
  */
7065
- 409: IdempotencyConflictProblem;
7072
+ 409: ProblemDetails;
7066
7073
  /**
7067
7074
  * The request failed.
7068
7075
  */
@@ -8058,9 +8065,9 @@ export type ChangeProjectHandleErrors = {
8058
8065
  */
8059
8066
  404: ProblemDetails;
8060
8067
  /**
8061
- * The idempotency key was already used with a different canonical request.
8068
+ * The request failed.
8062
8069
  */
8063
- 409: IdempotencyConflictProblem;
8070
+ 409: ProblemDetails;
8064
8071
  /**
8065
8072
  * The request failed.
8066
8073
  */
@@ -8117,9 +8124,9 @@ export type ConfigureProjectDomainsErrors = {
8117
8124
  */
8118
8125
  404: ProblemDetails;
8119
8126
  /**
8120
- * The idempotency key was already used with a different canonical request.
8127
+ * The request failed.
8121
8128
  */
8122
- 409: IdempotencyConflictProblem;
8129
+ 409: ProblemDetails;
8123
8130
  /**
8124
8131
  * The request failed.
8125
8132
  */
@@ -8231,9 +8238,9 @@ export type DeletePaidProjectDomainErrors = {
8231
8238
  */
8232
8239
  404: ProblemDetails;
8233
8240
  /**
8234
- * The idempotency key was already used with a different canonical request.
8241
+ * The request failed.
8235
8242
  */
8236
- 409: IdempotencyConflictProblem;
8243
+ 409: ProblemDetails;
8237
8244
  /**
8238
8245
  * The request failed.
8239
8246
  */
@@ -8527,9 +8534,9 @@ export type CreateDeploymentErrors = {
8527
8534
  */
8528
8535
  404: ProblemDetails;
8529
8536
  /**
8530
- * The idempotency key was already used with a different canonical request.
8537
+ * The request failed.
8531
8538
  */
8532
- 409: IdempotencyConflictProblem;
8539
+ 409: ProblemDetails;
8533
8540
  /**
8534
8541
  * The request failed.
8535
8542
  */
@@ -8678,10 +8685,17 @@ export type StreamDeploymentLogsData = {
8678
8685
  */
8679
8686
  deployment_id: Ulid;
8680
8687
  };
8681
- query?: never;
8688
+ query?: {
8689
+ cursor?: string;
8690
+ limit?: number;
8691
+ };
8682
8692
  url: "/v1/projects/{project_id}/deployments/{deployment_id}/logs/events";
8683
8693
  };
8684
8694
  export type StreamDeploymentLogsErrors = {
8695
+ /**
8696
+ * The request failed.
8697
+ */
8698
+ 400: ProblemDetails;
8685
8699
  /**
8686
8700
  * The request failed.
8687
8701
  */
@@ -8694,6 +8708,10 @@ export type StreamDeploymentLogsErrors = {
8694
8708
  * The resource does not exist or is not visible to the authenticated principal.
8695
8709
  */
8696
8710
  404: ProblemDetails;
8711
+ /**
8712
+ * The request failed.
8713
+ */
8714
+ 429: ProblemDetails;
8697
8715
  /**
8698
8716
  * The request failed.
8699
8717
  */
@@ -8702,7 +8720,7 @@ export type StreamDeploymentLogsErrors = {
8702
8720
  export type StreamDeploymentLogsError = StreamDeploymentLogsErrors[keyof StreamDeploymentLogsErrors];
8703
8721
  export type StreamDeploymentLogsResponses = {
8704
8722
  /**
8705
- * A bounded normalized diagnostic event stream.
8723
+ * A bounded normalized diagnostic event stream of one page. Each diagnostic is a diagnostic event; when more follow, a final next event carries next_cursor for the next request's cursor.
8706
8724
  */
8707
8725
  200: DeploymentDiagnostic;
8708
8726
  };
@@ -10772,7 +10790,7 @@ export type DeleteEnvironmentSecretData = {
10772
10790
  */
10773
10791
  environment_id: Ulid;
10774
10792
  /**
10775
- * Uppercase environment-variable name.
10793
+ * Uppercase environment-variable name. Set refuses a name starting with OHMYHOST_ and the platform names BETTER_AUTH_SECRET, BETTER_AUTH_URL, DATABASE_URL, HYPERDRIVE, ASSETS, FILES, IMAGES and STORAGE with a 400 whose detail is "Secret name is reserved.". Delete refuses the installed platform keys OHMYHOST_AI_KEY, OHMYHOST_MAIL_KEY, OHMYHOST_STORAGE_KEY, OHMYHOST_BROWSER_KEY and BETTER_AUTH_SECRET with the same detail.
10776
10794
  */
10777
10795
  secret_name: string;
10778
10796
  };
@@ -10797,9 +10815,9 @@ export type DeleteEnvironmentSecretErrors = {
10797
10815
  */
10798
10816
  404: ProblemDetails;
10799
10817
  /**
10800
- * The idempotency key was already used with a different canonical request.
10818
+ * The request failed.
10801
10819
  */
10802
- 409: IdempotencyConflictProblem;
10820
+ 409: ProblemDetails;
10803
10821
  /**
10804
10822
  * The request failed.
10805
10823
  */
@@ -10839,7 +10857,7 @@ export type PutEnvironmentSecretData = {
10839
10857
  */
10840
10858
  environment_id: Ulid;
10841
10859
  /**
10842
- * Uppercase environment-variable name.
10860
+ * Uppercase environment-variable name. Set refuses a name starting with OHMYHOST_ and the platform names BETTER_AUTH_SECRET, BETTER_AUTH_URL, DATABASE_URL, HYPERDRIVE, ASSETS, FILES, IMAGES and STORAGE with a 400 whose detail is "Secret name is reserved.". Delete refuses the installed platform keys OHMYHOST_AI_KEY, OHMYHOST_MAIL_KEY, OHMYHOST_STORAGE_KEY, OHMYHOST_BROWSER_KEY and BETTER_AUTH_SECRET with the same detail.
10843
10861
  */
10844
10862
  secret_name: string;
10845
10863
  };
@@ -10864,9 +10882,9 @@ export type PutEnvironmentSecretErrors = {
10864
10882
  */
10865
10883
  404: ProblemDetails;
10866
10884
  /**
10867
- * The idempotency key was already used with a different canonical request.
10885
+ * The request failed.
10868
10886
  */
10869
- 409: IdempotencyConflictProblem;
10887
+ 409: ProblemDetails;
10870
10888
  /**
10871
10889
  * The request failed.
10872
10890
  */
@@ -10906,7 +10924,7 @@ export type RotateEnvironmentSecretData = {
10906
10924
  */
10907
10925
  environment_id: Ulid;
10908
10926
  /**
10909
- * Uppercase environment-variable name.
10927
+ * Uppercase environment-variable name. Set refuses a name starting with OHMYHOST_ and the platform names BETTER_AUTH_SECRET, BETTER_AUTH_URL, DATABASE_URL, HYPERDRIVE, ASSETS, FILES, IMAGES and STORAGE with a 400 whose detail is "Secret name is reserved.". Delete refuses the installed platform keys OHMYHOST_AI_KEY, OHMYHOST_MAIL_KEY, OHMYHOST_STORAGE_KEY, OHMYHOST_BROWSER_KEY and BETTER_AUTH_SECRET with the same detail.
10910
10928
  */
10911
10929
  secret_name: string;
10912
10930
  };
@@ -10931,9 +10949,9 @@ export type RotateEnvironmentSecretErrors = {
10931
10949
  */
10932
10950
  404: ProblemDetails;
10933
10951
  /**
10934
- * The idempotency key was already used with a different canonical request.
10952
+ * The request failed.
10935
10953
  */
10936
- 409: IdempotencyConflictProblem;
10954
+ 409: ProblemDetails;
10937
10955
  /**
10938
10956
  * The request failed.
10939
10957
  */