@temps-sdk/api 0.1.0-beta.1 → 0.1.0-beta.64

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.
@@ -215,18 +215,18 @@ export type AcmeOrderResponse = {
215
215
  authorizations?: unknown;
216
216
  certificate_url?: string | null;
217
217
  challenge_validation?: ChallengeValidationStatus | null;
218
- created_at: number;
218
+ created_at: string;
219
219
  domain_id: number;
220
220
  email: string;
221
221
  error?: string | null;
222
222
  error_type?: string | null;
223
- expires_at?: number | null;
223
+ expires_at?: string | null;
224
224
  finalize_url?: string | null;
225
225
  id: number;
226
226
  identifiers: unknown;
227
227
  order_url: string;
228
228
  status: string;
229
- updated_at: number;
229
+ updated_at: string;
230
230
  };
231
231
  export type ActionKind = "make_reachable" | "deploy" | "set_dns_record" | "open_ingress" | "open_worker" | "wait" | "run_command";
232
232
  export type ActivateProviderResponse = {
@@ -1937,6 +1937,27 @@ export type AnalyticsIngestKey = {
1937
1937
  revoked_at?: string | null;
1938
1938
  updated_at: string;
1939
1939
  };
1940
+ /**
1941
+ * One page of a project's analytics ingest keys, newest first.
1942
+ */
1943
+ export type AnalyticsIngestKeyList = {
1944
+ /**
1945
+ * The items on this page.
1946
+ */
1947
+ items: Array<AnalyticsIngestKey>;
1948
+ /**
1949
+ * The page served, starting at 1.
1950
+ */
1951
+ page: number;
1952
+ /**
1953
+ * The page size served (at most 100).
1954
+ */
1955
+ page_size: number;
1956
+ /**
1957
+ * Items across all pages.
1958
+ */
1959
+ total: number;
1960
+ };
1940
1961
  export type AnalyticsProjectOption = {
1941
1962
  project_id: number;
1942
1963
  project_name: string;
@@ -2848,6 +2869,12 @@ export type AppSettingsResponse = {
2848
2869
  * at password login (bherila/temps#32). SSO/OIDC logins are unaffected.
2849
2870
  */
2850
2871
  require_mfa_for_admins: boolean;
2872
+ /**
2873
+ * Revision of these settings. Send it back as `expected_revision` when
2874
+ * saving, so a save made by someone else since this read is not
2875
+ * silently reverted.
2876
+ */
2877
+ revision: string;
2851
2878
  screenshots: ScreenshotSettings;
2852
2879
  security_headers: SecurityHeadersSettings;
2853
2880
  /**
@@ -2913,7 +2940,10 @@ export type ApplicationGitConnectionsResponse = {
2913
2940
  eligibleRepositories: Array<EligibleGitRepositoryResponse>;
2914
2941
  };
2915
2942
  export type ApplicationPreviewLinkResponse = {
2916
- expires_at: number;
2943
+ /**
2944
+ * When the link stops working, ISO 8601 in UTC.
2945
+ */
2946
+ expires_at: string;
2917
2947
  /**
2918
2948
  * A short-lived authenticated URL. Its fragment carries the grant and
2919
2949
  * never reaches the development server or referrer headers.
@@ -3224,9 +3254,19 @@ export type AssetCachePurgeResponse = {
3224
3254
  */
3225
3255
  deleted: number;
3226
3256
  };
3257
+ /**
3258
+ * Body of `POST /users/{user_id}/roles`. The target user comes from the
3259
+ * path; the body names only the role.
3260
+ */
3227
3261
  export type AssignRoleRequest = {
3228
3262
  role_type: string;
3229
- user_id: number;
3263
+ /**
3264
+ * Deprecated: the target is the path's `user_id`. Still accepted for
3265
+ * older clients, but only when it equals the path id (otherwise 400).
3266
+ *
3267
+ * @deprecated
3268
+ */
3269
+ user_id?: number | null;
3230
3270
  };
3231
3271
  /**
3232
3272
  * Who a group is assigned to.
@@ -3459,9 +3499,9 @@ export type AuditLogIpInfo = {
3459
3499
  */
3460
3500
  export type AuditLogResponse = {
3461
3501
  /**
3462
- * When the action occurred
3502
+ * When the action occurred, ISO 8601 in UTC
3463
3503
  */
3464
- audit_date: number;
3504
+ audit_date: string;
3465
3505
  /**
3466
3506
  * Additional context about the action
3467
3507
  */
@@ -3535,7 +3575,7 @@ export type AuthStatusResponse = {
3535
3575
  };
3536
3576
  export type AuthTokenResponse = {
3537
3577
  access_token: string;
3538
- expires_at: number;
3578
+ expires_at: string;
3539
3579
  refresh_token: string;
3540
3580
  };
3541
3581
  export type AuthorizeWorkspacePreviewRequest = {
@@ -3899,6 +3939,27 @@ export type BackupExecutorSettings = {
3899
3939
  */
3900
3940
  max_concurrent?: number;
3901
3941
  };
3942
+ /**
3943
+ * One page of a schedule's backups, newest first.
3944
+ */
3945
+ export type BackupList = {
3946
+ /**
3947
+ * The items on this page.
3948
+ */
3949
+ items: Array<BackupResponse>;
3950
+ /**
3951
+ * The page served, starting at 1.
3952
+ */
3953
+ page: number;
3954
+ /**
3955
+ * The page size served (at most 100).
3956
+ */
3957
+ page_size: number;
3958
+ /**
3959
+ * Items across all pages.
3960
+ */
3961
+ total: number;
3962
+ };
3902
3963
  /**
3903
3964
  * Response type for backup
3904
3965
  */
@@ -3911,7 +3972,7 @@ export type BackupResponse = {
3911
3972
  backup_id: string;
3912
3973
  backup_type: string;
3913
3974
  checksum?: string | null;
3914
- completed_at?: number | null;
3975
+ completed_at?: string | null;
3915
3976
  compression_type: string;
3916
3977
  created_by: number;
3917
3978
  /**
@@ -3921,7 +3982,7 @@ export type BackupResponse = {
3921
3982
  */
3922
3983
  current_step?: string | null;
3923
3984
  error_message?: string | null;
3924
- expires_at?: number | null;
3985
+ expires_at?: string | null;
3925
3986
  external_service?: ExternalServiceSummary | null;
3926
3987
  file_count?: number | null;
3927
3988
  id: number;
@@ -3951,7 +4012,7 @@ export type BackupResponse = {
3951
4012
  * Final size of the backup once completed. Null while running.
3952
4013
  */
3953
4014
  size_bytes?: number | null;
3954
- started_at: number;
4015
+ started_at: string;
3955
4016
  state: string;
3956
4017
  tags: Array<string>;
3957
4018
  };
@@ -3960,7 +4021,7 @@ export type BackupResponse = {
3960
4021
  */
3961
4022
  export type BackupScheduleResponse = {
3962
4023
  backup_type: string;
3963
- created_at: number;
4024
+ created_at: string;
3964
4025
  description?: string | null;
3965
4026
  enabled: boolean;
3966
4027
  id: number;
@@ -3970,14 +4031,14 @@ export type BackupScheduleResponse = {
3970
4031
  * fan-out happens.
3971
4032
  */
3972
4033
  include_control_plane: boolean;
3973
- last_run?: number | null;
4034
+ last_run?: string | null;
3974
4035
  /**
3975
4036
  * Per-schedule wall-clock timeout override for backup jobs (seconds).
3976
4037
  * `null` means the default of four hours (14400 seconds) is used.
3977
4038
  */
3978
4039
  max_runtime_secs?: number | null;
3979
4040
  name: string;
3980
- next_run?: number | null;
4041
+ next_run?: string | null;
3981
4042
  retention_period: number;
3982
4043
  s3_source_id: number;
3983
4044
  schedule_expression: string;
@@ -3988,7 +4049,7 @@ export type BackupScheduleResponse = {
3988
4049
  * targets services attached via `backup_schedule_services`.
3989
4050
  */
3990
4051
  target_all_services: boolean;
3991
- updated_at: number;
4052
+ updated_at: string;
3992
4053
  };
3993
4054
  /**
3994
4055
  * A batch object as returned by the provider.
@@ -4206,6 +4267,15 @@ export type BranchInfo = {
4206
4267
  };
4207
4268
  export type BranchListResponse = {
4208
4269
  branches: Array<BranchInfo>;
4270
+ /**
4271
+ * Whether the git provider's safety cap stopped the listing before the
4272
+ * repository ran out of branches. When `true`, `branches` is a prefix of
4273
+ * the repository's branches and a name missing from it may still exist:
4274
+ * clients must verify such a name with the single-branch lookup
4275
+ * (`GET repositories/{owner}/{repo}/branch`) instead of reporting it
4276
+ * missing.
4277
+ */
4278
+ truncated: boolean;
4209
4279
  };
4210
4280
  /**
4211
4281
  * One downstream call inside the operation.
@@ -4813,9 +4883,9 @@ export type CertFailureCause = "dns_lookup" | "unreachable" | "upstream_answered
4813
4883
  */
4814
4884
  export type CertStatusResponse = {
4815
4885
  /**
4816
- * On-demand negative-cache deadline (epoch millis), when in backoff.
4886
+ * On-demand negative-cache deadline (ISO 8601, UTC), when in backoff.
4817
4887
  */
4818
- backoff_until?: number | null;
4888
+ backoff_until?: string | null;
4819
4889
  /**
4820
4890
  * SNI hostname.
4821
4891
  */
@@ -8173,13 +8243,31 @@ export type CreateAnalyticsIngestKeyRequest = {
8173
8243
  };
8174
8244
  export type CreateApiKeyRequest = {
8175
8245
  environment_id?: number | null;
8246
+ /**
8247
+ * When the key stops working. Must be in the future. Defaults to one
8248
+ * year after creation when left out: API keys always expire.
8249
+ */
8176
8250
  expires_at?: string | null;
8251
+ /**
8252
+ * Up to 255 characters, unique among the caller's keys. Surrounding
8253
+ * whitespace is trimmed; a blank name is refused.
8254
+ */
8177
8255
  name: string;
8256
+ /**
8257
+ * The key's permissions, required with `role_type: custom`. Any other
8258
+ * role carries its own: a non-empty list with it is refused, while an
8259
+ * empty list or none gives the role's permissions. Fixed once the key is
8260
+ * created.
8261
+ */
8178
8262
  permissions?: Array<string> | null;
8179
8263
  /**
8180
8264
  * Immutable optional deployment resource scope.
8181
8265
  */
8182
8266
  project_id?: number | null;
8267
+ /**
8268
+ * A predefined role (`admin`, `platform_admin`, `user`, `reader`,
8269
+ * `api_reader`) or `custom` for an explicit permission list.
8270
+ */
8183
8271
  role_type: string;
8184
8272
  };
8185
8273
  export type CreateApiKeyResponse = {
@@ -8440,18 +8528,29 @@ export type CreateDeliveryProfileRequest = {
8440
8528
  };
8441
8529
  export type CreateDeploymentTokenRequest = {
8442
8530
  /**
8443
- * Optional deployment ID - if set, token is scoped to a specific deployment
8531
+ * Optional deployment of this project (and of `environment_id`, when
8532
+ * set) - if set, token is scoped to a specific deployment.
8444
8533
  */
8445
8534
  deployment_id?: number | null;
8446
8535
  /**
8447
- * Optional environment ID - if not set, token applies to all environments
8536
+ * Optional environment of this project - if not set, token applies to
8537
+ * all environments. An environment of another project is refused.
8448
8538
  */
8449
8539
  environment_id?: number | null;
8540
+ /**
8541
+ * When the token stops working. Must be in the future; leave it out for
8542
+ * a token that does not expire.
8543
+ */
8450
8544
  expires_at?: string | null;
8545
+ /**
8546
+ * Up to 255 characters, unique within the project. Surrounding
8547
+ * whitespace is trimmed; a blank name is refused.
8548
+ */
8451
8549
  name: string;
8452
8550
  /**
8453
- * List of permissions (e.g., ["visitors:enrich", "emails:send"])
8454
- * If not provided, defaults to full access
8551
+ * List of permissions (e.g., ["visitors:enrich", "emails:send"]).
8552
+ * If not provided, defaults to full access (`["*"]`). An empty list is
8553
+ * refused: the token could do nothing.
8455
8554
  */
8456
8555
  permissions?: Array<string> | null;
8457
8556
  };
@@ -8517,7 +8616,9 @@ export type CreateEdgeRuleRequest = {
8517
8616
  */
8518
8617
  name?: string | null;
8519
8618
  /**
8520
- * Where to insert the rule (0 = first). Defaults to the end.
8619
+ * Where to insert the rule: 0 is first, and the number of rules the
8620
+ * project has is after the last one. Defaults to the end. A position
8621
+ * outside that range is refused.
8521
8622
  */
8522
8623
  position?: number | null;
8523
8624
  };
@@ -8687,10 +8788,6 @@ export type CreateFunnelRequest = {
8687
8788
  name: string;
8688
8789
  steps: Array<CreateFunnelStep>;
8689
8790
  };
8690
- export type CreateFunnelResponse = {
8691
- funnel_id: number;
8692
- message: string;
8693
- };
8694
8791
  export type CreateFunnelStep = {
8695
8792
  event_filter?: Array<SmartFilter>;
8696
8793
  event_name: string;
@@ -9559,6 +9656,12 @@ export type CreateRepositoryRequest = {
9559
9656
  };
9560
9657
  export type CreateRouteRequest = {
9561
9658
  domain: string;
9659
+ /**
9660
+ * Whether the route serves traffic as soon as it is created. Defaults
9661
+ * to `true`; send `false` to create the route disabled and enable it
9662
+ * later with `PUT /lb/routes/{domain}`.
9663
+ */
9664
+ enabled?: boolean | null;
9562
9665
  host: string;
9563
9666
  port: number;
9564
9667
  /**
@@ -9838,6 +9941,11 @@ export type CreateStatusPageRequest = {
9838
9941
  title: string;
9839
9942
  };
9840
9943
  export type CreateStatusPageWebhookRequest = {
9944
+ /**
9945
+ * Whether events are posted to it (default `true`). A webhook created
9946
+ * switched off receives nothing until it is enabled.
9947
+ */
9948
+ enabled?: boolean;
9841
9949
  /**
9842
9950
  * `https://` URL with a public address, at most 2048 characters.
9843
9951
  */
@@ -10288,13 +10396,13 @@ export type CustomDomainRequest = {
10288
10396
  };
10289
10397
  export type CustomDomainResponse = {
10290
10398
  branch?: string | null;
10291
- created_at: number;
10399
+ created_at: string;
10292
10400
  domain: string;
10293
10401
  domain_id?: number | null;
10294
10402
  environment?: DomainEnvironmentResponse | null;
10295
- expiration_time?: number | null;
10403
+ expiration_time?: string | null;
10296
10404
  id: number;
10297
- last_renewed?: number | null;
10405
+ last_renewed?: string | null;
10298
10406
  message?: string | null;
10299
10407
  project_id: number;
10300
10408
  redirect_to?: string | null;
@@ -10304,7 +10412,7 @@ export type CustomDomainResponse = {
10304
10412
  service_name?: string | null;
10305
10413
  status: string;
10306
10414
  status_code?: number | null;
10307
- updated_at: number;
10415
+ updated_at: string;
10308
10416
  };
10309
10417
  export type CustomerMovementResponse = {
10310
10418
  bucket: string;
@@ -11196,7 +11304,7 @@ export type DeploymentConfiguration = {
11196
11304
  * A single captured container-log dump, including its full text content.
11197
11305
  */
11198
11306
  export type DeploymentContainerLogContentResponse = {
11199
- captured_at: number;
11307
+ captured_at: string;
11200
11308
  container_name: string;
11201
11309
  /**
11202
11310
  * The captured plain-text log content.
@@ -11213,10 +11321,9 @@ export type DeploymentContainerLogContentResponse = {
11213
11321
  */
11214
11322
  export type DeploymentContainerLogResponse = {
11215
11323
  /**
11216
- * Unix epoch milliseconds of when the logs were captured (just before
11217
- * teardown). Matches the timestamp convention used by `DeploymentResponse`.
11324
+ * When the logs were captured (just before teardown), ISO 8601 in UTC.
11218
11325
  */
11219
- captured_at: number;
11326
+ captured_at: string;
11220
11327
  container_id: string;
11221
11328
  container_name: string;
11222
11329
  deployment_id: number;
@@ -11305,13 +11412,13 @@ export type DeploymentFailureInfo = {
11305
11412
  */
11306
11413
  export type DeploymentFailureStage = "source" | "configuration" | "dependency_install" | "build" | "image" | "deploy" | "runtime" | "health_check" | "resource" | "platform" | "unknown";
11307
11414
  export type DeploymentJobResponse = {
11308
- created_at: number;
11415
+ created_at: string;
11309
11416
  dependencies?: unknown;
11310
11417
  deployment_id: number;
11311
11418
  description?: string | null;
11312
11419
  error_message?: string | null;
11313
11420
  execution_order?: number | null;
11314
- finished_at?: number | null;
11421
+ finished_at?: string | null;
11315
11422
  id: number;
11316
11423
  /**
11317
11424
  * Internal workflow configuration is intentionally redacted. It can
@@ -11323,9 +11430,9 @@ export type DeploymentJobResponse = {
11323
11430
  log_id: string;
11324
11431
  name: string;
11325
11432
  outputs?: unknown;
11326
- started_at?: number | null;
11433
+ started_at?: string | null;
11327
11434
  status: string;
11328
- updated_at: number;
11435
+ updated_at: string;
11329
11436
  };
11330
11437
  export type DeploymentJobsResponse = {
11331
11438
  jobs: Array<DeploymentJobResponse>;
@@ -11505,15 +11612,15 @@ export type DeploymentResponse = {
11505
11612
  branch?: string | null;
11506
11613
  cancelled_reason?: string | null;
11507
11614
  commit_author?: string | null;
11508
- commit_date?: number | null;
11615
+ commit_date?: string | null;
11509
11616
  commit_hash?: string | null;
11510
11617
  commit_message?: string | null;
11511
- created_at: number;
11618
+ created_at: string;
11512
11619
  deployment_config?: DeploymentConfigSnapshot | null;
11513
11620
  environment: DeploymentEnvironmentResponse;
11514
11621
  environment_id: number;
11515
11622
  failure?: DeploymentFailureInfo | null;
11516
- finished_at?: number | null;
11623
+ finished_at?: string | null;
11517
11624
  id: number;
11518
11625
  /**
11519
11626
  * The `USER` the image declares, as written (`nodejs`, `10001:10001`).
@@ -11534,7 +11641,7 @@ export type DeploymentResponse = {
11534
11641
  */
11535
11642
  runs_as_root?: boolean;
11536
11643
  screenshot_location?: string | null;
11537
- started_at?: number | null;
11644
+ started_at?: string | null;
11538
11645
  status: string;
11539
11646
  tag?: string | null;
11540
11647
  url: string;
@@ -13016,25 +13123,25 @@ export type DomainResponse = {
13016
13123
  * The PEM-encoded certificate chain (can be displayed in browser or downloaded)
13017
13124
  */
13018
13125
  certificate?: string | null;
13019
- created_at: number;
13126
+ created_at: string;
13020
13127
  dns_challenge_token?: string | null;
13021
13128
  dns_challenge_value?: string | null;
13022
13129
  domain: string;
13023
- expiration_time?: number | null;
13130
+ expiration_time?: string | null;
13024
13131
  failure_cause?: CertFailureCause | null;
13025
13132
  id: number;
13026
13133
  is_wildcard: boolean;
13027
13134
  last_error?: string | null;
13028
13135
  last_error_type?: string | null;
13029
- last_renewed?: number | null;
13136
+ last_renewed?: string | null;
13030
13137
  /**
13031
- * On-demand TLS negative-cache deadline (epoch millis), when this hostname's
13138
+ * On-demand TLS negative-cache deadline (ISO 8601, UTC), when this hostname's
13032
13139
  * on-demand HTTP-01 issuance is in backoff after a failure (ADR-018 §4).
13033
13140
  * `None` means no active backoff.
13034
13141
  */
13035
- on_demand_backoff_until?: number | null;
13142
+ on_demand_backoff_until?: string | null;
13036
13143
  status: string;
13037
- updated_at: number;
13144
+ updated_at: string;
13038
13145
  verification_method: string;
13039
13146
  };
13040
13147
  export type DrainNodeResponse = {
@@ -14049,7 +14156,7 @@ export type EnvironmentDeliveryOverride = {
14049
14156
  profile_id?: number | null;
14050
14157
  };
14051
14158
  export type EnvironmentDomainResponse = {
14052
- created_at: number;
14159
+ created_at: string;
14053
14160
  domain: string;
14054
14161
  environment_id: number;
14055
14162
  id: number;
@@ -14168,14 +14275,14 @@ export type EnvironmentResponse = {
14168
14275
  */
14169
14276
  attack_mode?: boolean | null;
14170
14277
  branch?: string | null;
14171
- created_at: number;
14278
+ created_at: string;
14172
14279
  current_deployment_id?: number | null;
14173
14280
  deployment_config?: DeploymentConfig | null;
14174
14281
  /**
14175
- * Estimated time (epoch millis) when the environment will go to sleep
14282
+ * Estimated time (ISO 8601, UTC) when the environment will go to sleep
14176
14283
  * based on last activity + idle timeout. NULL when sleeping or on-demand disabled.
14177
14284
  */
14178
- estimated_sleep_at?: number | null;
14285
+ estimated_sleep_at?: string | null;
14179
14286
  /**
14180
14287
  * Per-environment HTTP→HTTPS redirect override.
14181
14288
  * `null` means inherit the proxy default (redirect only when the host has
@@ -14191,10 +14298,10 @@ export type EnvironmentResponse = {
14191
14298
  */
14192
14299
  is_preview: boolean;
14193
14300
  /**
14194
- * Last proxied request timestamp (epoch millis) for on-demand environments.
14301
+ * Last proxied request time (ISO 8601, UTC) for on-demand environments.
14195
14302
  * NULL when on-demand is disabled or no traffic has been received yet.
14196
14303
  */
14197
- last_activity_at?: number | null;
14304
+ last_activity_at?: string | null;
14198
14305
  main_url: string;
14199
14306
  name: string;
14200
14307
  /**
@@ -14230,7 +14337,7 @@ export type EnvironmentResponse = {
14230
14337
  * this via the rename-subdomain endpoint, not the full URL.
14231
14338
  */
14232
14339
  subdomain: string;
14233
- updated_at: number;
14340
+ updated_at: string;
14234
14341
  };
14235
14342
  /**
14236
14343
  * Environment variable
@@ -14262,7 +14369,7 @@ export type EnvironmentVariableInfo = {
14262
14369
  value: string;
14263
14370
  };
14264
14371
  export type EnvironmentVariableResponse = {
14265
- created_at: number;
14372
+ created_at: string;
14266
14373
  environments: Array<EnvironmentInfo>;
14267
14374
  id: number;
14268
14375
  /**
@@ -14276,7 +14383,7 @@ export type EnvironmentVariableResponse = {
14276
14383
  is_secret: boolean;
14277
14384
  key: string;
14278
14385
  secret_suggestion?: SecretSuggestionResponse | null;
14279
- updated_at: number;
14386
+ updated_at: string;
14280
14387
  /**
14281
14388
  * Plaintext for regular variables in create/update responses, or `"***"`
14282
14389
  * in list responses. Always `None` for marked secrets. Only regular
@@ -16167,7 +16274,28 @@ export type FullRequest = {
16167
16274
  user_agent?: string | null;
16168
16275
  };
16169
16276
  /**
16170
- * Acknowledges a funnel update or delete.
16277
+ * One page of a project's active funnels, newest first.
16278
+ */
16279
+ export type FunnelList = {
16280
+ /**
16281
+ * The items on this page.
16282
+ */
16283
+ items: Array<FunnelResponse>;
16284
+ /**
16285
+ * The page served, starting at 1.
16286
+ */
16287
+ page: number;
16288
+ /**
16289
+ * The page size served (at most 100).
16290
+ */
16291
+ page_size: number;
16292
+ /**
16293
+ * Items across all pages.
16294
+ */
16295
+ total: number;
16296
+ };
16297
+ /**
16298
+ * Acknowledges a funnel delete.
16171
16299
  */
16172
16300
  export type FunnelMessageResponse = {
16173
16301
  message: string;
@@ -16180,14 +16308,38 @@ export type FunnelMetricsResponse = {
16180
16308
  step_conversions: Array<StepConversionResponse>;
16181
16309
  total_entries: number;
16182
16310
  };
16311
+ /**
16312
+ * A funnel and its steps.
16313
+ */
16183
16314
  export type FunnelResponse = {
16184
16315
  created_at: string;
16185
16316
  description?: string | null;
16186
16317
  id: number;
16187
16318
  is_active: boolean;
16188
16319
  name: string;
16320
+ project_id: number;
16321
+ /**
16322
+ * The steps a visitor goes through, in order.
16323
+ */
16324
+ steps: Array<FunnelStepResponse>;
16189
16325
  updated_at: string;
16190
16326
  };
16327
+ /**
16328
+ * One step of a funnel, as it was written.
16329
+ */
16330
+ export type FunnelStepResponse = {
16331
+ /**
16332
+ * The filters the step matches events with (empty: every event of
16333
+ * `event_name`).
16334
+ */
16335
+ event_filter: Array<SmartFilter>;
16336
+ event_name: string;
16337
+ id: number;
16338
+ /**
16339
+ * Position of the step in the funnel, starting at 1.
16340
+ */
16341
+ order: number;
16342
+ };
16191
16343
  /**
16192
16344
  * Who may sign in to a Temps-gated address besides being able to see the
16193
16345
  * project (ADR 065 D7): stored in `gate_allow`. Empty lists mean no list.
@@ -16924,6 +17076,14 @@ export type GetOrCreateDsnRequest = {
16924
17076
  };
16925
17077
  export type GetProjectSecretsQuery = {
16926
17078
  environment_id?: number | null;
17079
+ /**
17080
+ * Page number, starting at 1 (default 1).
17081
+ */
17082
+ page?: number | null;
17083
+ /**
17084
+ * Items per page (default 20, max 100).
17085
+ */
17086
+ page_size?: number | null;
16927
17087
  };
16928
17088
  export type GetProjectSessionReplaysQuery = {
16929
17089
  environment_id?: number | null;
@@ -16955,7 +17115,13 @@ export type GetRequest = {
16955
17115
  */
16956
17116
  export type GetResponse = {
16957
17117
  /**
16958
- * The value, or null if not found
17118
+ * Whether the key exists, so a stored JSON `null` is not mistaken for a
17119
+ * missing key
17120
+ */
17121
+ exists: boolean;
17122
+ /**
17123
+ * The value, or null if not found. A stored JSON `null` is also null
17124
+ * here; `exists` tells the two apart.
16959
17125
  */
16960
17126
  value?: unknown;
16961
17127
  };
@@ -19334,6 +19500,27 @@ export type IncidentResponse = {
19334
19500
  title: string;
19335
19501
  updated_at: string;
19336
19502
  };
19503
+ /**
19504
+ * One page of an incident's updates, newest first.
19505
+ */
19506
+ export type IncidentUpdateList = {
19507
+ /**
19508
+ * The items on this page.
19509
+ */
19510
+ items: Array<IncidentUpdateResponse>;
19511
+ /**
19512
+ * The page served, starting at 1.
19513
+ */
19514
+ page: number;
19515
+ /**
19516
+ * The page size served (at most 100).
19517
+ */
19518
+ page_size: number;
19519
+ /**
19520
+ * Items across all pages.
19521
+ */
19522
+ total: number;
19523
+ };
19337
19524
  export type IncidentUpdateResponse = {
19338
19525
  created_at: string;
19339
19526
  id: number;
@@ -21810,11 +21997,6 @@ export type MetricsRangeQuery = {
21810
21997
  * Metric name, e.g. `"pg.connections_active"`.
21811
21998
  */
21812
21999
  metric: string;
21813
- /**
21814
- * Optional histogram percentile (0–100). When provided, the endpoint
21815
- * fetches histogram buckets and computes the requested quantile.
21816
- */
21817
- percentile?: number | null;
21818
22000
  /**
21819
22001
  * Time window: `"1h"` | `"6h"` | `"24h"` | `"7d"`.
21820
22002
  * Ignored when `start_time` and `end_time` are both set.
@@ -22042,6 +22224,38 @@ export type MiscResult = {
22042
22224
  */
22043
22225
  is_role_account: boolean;
22044
22226
  };
22227
+ /**
22228
+ * A database a linked project reads that the backup does not have, while
22229
+ * the backup has databases no linked project reads.
22230
+ */
22231
+ export type MissingLinkedDatabase = {
22232
+ /**
22233
+ * How the link picks its database: `project_environment`, `project`
22234
+ * or `custom`.
22235
+ */
22236
+ database_provisioning_mode: DatabaseProvisioningMode;
22237
+ /**
22238
+ * `None` when every environment of the project reads the database.
22239
+ */
22240
+ environment_name?: string | null;
22241
+ /**
22242
+ * Environments of the project that would all read one database once
22243
+ * the link is pointed at a restored one.
22244
+ */
22245
+ environment_names: Array<string>;
22246
+ /**
22247
+ * The database the project's apps receive.
22248
+ */
22249
+ expected_database: string;
22250
+ project_id: number;
22251
+ project_name: string;
22252
+ project_slug: string;
22253
+ /**
22254
+ * The unused restored database that most likely holds this project's
22255
+ * data, when one stands out.
22256
+ */
22257
+ suggested_database?: string | null;
22258
+ };
22045
22259
  export type MkdirBody = {
22046
22260
  path: string;
22047
22261
  };
@@ -22076,9 +22290,12 @@ export type ModelCatalogEntry = {
22076
22290
  provider: string;
22077
22291
  release_date?: string | null;
22078
22292
  source_url: string;
22079
- supports_reasoning: boolean;
22080
- supports_tools: boolean;
22081
- supports_vision: boolean;
22293
+ supports_reasoning?: boolean | null;
22294
+ /**
22295
+ * `null` when the catalog does not say.
22296
+ */
22297
+ supports_tools?: boolean | null;
22298
+ supports_vision?: boolean | null;
22082
22299
  };
22083
22300
  /**
22084
22301
  * A page of stored catalog models.
@@ -22830,6 +23047,35 @@ export type NodeBackend = {
22830
23047
  */
22831
23048
  reason?: string | null;
22832
23049
  };
23050
+ /**
23051
+ * A worker's effective build limits.
23052
+ */
23053
+ export type NodeBuildLimitsResponse = {
23054
+ /**
23055
+ * How long a build may run, in seconds.
23056
+ */
23057
+ build_timeout_seconds: number;
23058
+ /**
23059
+ * Builds the node runs at once.
23060
+ */
23061
+ concurrency: number;
23062
+ /**
23063
+ * True when no limits were saved for the node, so these are the
23064
+ * defaults (and follow a future change of them).
23065
+ */
23066
+ is_default: boolean;
23067
+ node_id: number;
23068
+ /**
23069
+ * How long a build may wait for a free slot, in seconds.
23070
+ */
23071
+ queue_wait_seconds: number;
23072
+ /**
23073
+ * Revision of the stored limits. Send it back as `expected_revision`
23074
+ * when saving, so a save made by someone else since this read is not
23075
+ * silently reverted.
23076
+ */
23077
+ revision: string;
23078
+ };
22833
23079
  /**
22834
23080
  * Whether this installation can run a workload anywhere, and if not, why.
22835
23081
  */
@@ -23109,6 +23355,11 @@ export type NodeInfoResponse = {
23109
23355
  */
23110
23356
  architecture?: string | null;
23111
23357
  build_limits: BuildLimits;
23358
+ /**
23359
+ * Revision of `build_limits`, to send as `expected_revision` when
23360
+ * saving them (`PUT /internal/nodes/{node_id}/build-limits`).
23361
+ */
23362
+ build_limits_revision: string;
23112
23363
  /**
23113
23364
  * Resource capacity/usage metrics from the latest heartbeat
23114
23365
  */
@@ -23580,22 +23831,22 @@ export type NotificationPreferencesResponse = {
23580
23831
  };
23581
23832
  export type NotificationProviderResponse = {
23582
23833
  config: unknown;
23583
- created_at: number;
23834
+ created_at: string;
23584
23835
  enabled: boolean;
23585
23836
  id: number;
23586
23837
  name: string;
23587
23838
  provider_type: string;
23588
- updated_at: number;
23839
+ updated_at: string;
23589
23840
  };
23590
23841
  export type NotificationRoute = {
23591
- created_at: number;
23842
+ created_at: string;
23592
23843
  enabled: boolean;
23593
23844
  id: number;
23594
23845
  max_severity: string;
23595
23846
  min_severity: string;
23596
23847
  name: string;
23597
23848
  provider_ids: Array<number>;
23598
- updated_at: number;
23849
+ updated_at: string;
23599
23850
  };
23600
23851
  export type NotificationRoutePage = {
23601
23852
  items: Array<NotificationRoute>;
@@ -23815,6 +24066,28 @@ export type OidcProviderSummary = {
23815
24066
  */
23816
24067
  template: string;
23817
24068
  };
24069
+ /**
24070
+ * One page of the users who sign in through an OIDC provider, newest
24071
+ * first.
24072
+ */
24073
+ export type OidcProviderUserList = {
24074
+ /**
24075
+ * The items on this page.
24076
+ */
24077
+ items: Array<OidcProviderUserResponse>;
24078
+ /**
24079
+ * The page served, starting at 1.
24080
+ */
24081
+ page: number;
24082
+ /**
24083
+ * The page size served (at most 100).
24084
+ */
24085
+ page_size: number;
24086
+ /**
24087
+ * Items across all pages.
24088
+ */
24089
+ total: number;
24090
+ };
23818
24091
  /**
23819
24092
  * A user that has logged in via a given OIDC provider. Used by the
23820
24093
  * admin "Users for provider" panel — the `oidc_subject` is the
@@ -23867,9 +24140,9 @@ export type OnDemandCertAttemptResponse = {
23867
24140
  */
23868
24141
  challenge_served?: boolean | null;
23869
24142
  /**
23870
- * When the attempt was recorded (epoch millis).
24143
+ * When the attempt was recorded (ISO 8601, UTC).
23871
24144
  */
23872
- created_at: number;
24145
+ created_at: string;
23873
24146
  /**
23874
24147
  * End-to-end issuance duration in milliseconds (0/None for skipped).
23875
24148
  */
@@ -23909,13 +24182,13 @@ export type OnDemandCertRow = {
23909
24182
  */
23910
24183
  attempt: OnDemandCertAttemptResponse;
23911
24184
  /**
23912
- * On-demand negative-cache deadline (epoch millis), when in backoff.
24185
+ * On-demand negative-cache deadline (ISO 8601, UTC), when in backoff.
23913
24186
  */
23914
- backoff_until?: number | null;
24187
+ backoff_until?: string | null;
23915
24188
  /**
23916
- * Certificate expiration (epoch millis), when an active cert exists.
24189
+ * Certificate expiration (ISO 8601, UTC), when an active cert exists.
23917
24190
  */
23918
- expiration_time?: number | null;
24191
+ expiration_time?: string | null;
23919
24192
  /**
23920
24193
  * SNI hostname.
23921
24194
  */
@@ -26408,9 +26681,9 @@ export type PreviewShareLinkBody = {
26408
26681
  };
26409
26682
  export type PreviewShareLinkResponse = {
26410
26683
  /**
26411
- * Unix seconds after which the link stops working.
26684
+ * When the link stops working, ISO 8601 in UTC.
26412
26685
  */
26413
- expires_at: number;
26686
+ expires_at: string;
26414
26687
  /**
26415
26688
  * The full link. Its fragment contains the grant and must be treated as a
26416
26689
  * credential; URL fragments are not sent to servers or in Referer headers.
@@ -27064,7 +27337,7 @@ export type ProjectResponse = {
27064
27337
  * true exactly when `shield_mode` is `attack`.
27065
27338
  */
27066
27339
  attack_mode: boolean;
27067
- created_at: number;
27340
+ created_at: string;
27068
27341
  /**
27069
27342
  * ADR-027 Phase 3 opt-out: when false, this project's traces are suppressed
27070
27343
  * from cross-project discovery results. Default true (consistent with the
@@ -27139,7 +27412,7 @@ export type ProjectResponse = {
27139
27412
  * not imply that an incompletely configured repository is public.
27140
27413
  */
27141
27414
  is_public_repo: boolean;
27142
- last_deployment?: number | null;
27415
+ last_deployment?: string | null;
27143
27416
  /**
27144
27417
  * This project's container log ingestion budget in KiB/s. Absent = the
27145
27418
  * platform default; 0 = unlimited.
@@ -27211,7 +27484,7 @@ export type ProjectResponse = {
27211
27484
  * source-build controls.
27212
27485
  */
27213
27486
  template_slug?: string | null;
27214
- updated_at: number;
27487
+ updated_at: string;
27215
27488
  /**
27216
27489
  * Opt-in Trivy vulnerability scanning of this project's deployed Docker
27217
27490
  * images. Off by default — project owners explicitly enable it.
@@ -27223,6 +27496,27 @@ export type ProjectSecretEnvironmentInfo = {
27223
27496
  main_url: string;
27224
27497
  name: string;
27225
27498
  };
27499
+ /**
27500
+ * One page of a project's secrets (metadata only), newest first.
27501
+ */
27502
+ export type ProjectSecretList = {
27503
+ /**
27504
+ * The items on this page.
27505
+ */
27506
+ items: Array<ProjectSecretResponse>;
27507
+ /**
27508
+ * The page served, starting at 1.
27509
+ */
27510
+ page: number;
27511
+ /**
27512
+ * The page size served (at most 100).
27513
+ */
27514
+ page_size: number;
27515
+ /**
27516
+ * Items across all pages.
27517
+ */
27518
+ total: number;
27519
+ };
27226
27520
  /**
27227
27521
  * Project secret metadata. There is deliberately no `value` field — secret
27228
27522
  * plaintext is never returned after creation. Callers that need the value
@@ -27234,13 +27528,13 @@ export type ProjectSecretResponse = {
27234
27528
  * service in the stack.
27235
27529
  */
27236
27530
  compose_services: Array<string>;
27237
- created_at: number;
27531
+ created_at: string;
27238
27532
  environments: Array<ProjectSecretEnvironmentInfo>;
27239
27533
  id: number;
27240
27534
  include_in_preview: boolean;
27241
27535
  key: string;
27242
27536
  project_id: number;
27243
- updated_at: number;
27537
+ updated_at: string;
27244
27538
  };
27245
27539
  export type ProjectServiceInfo = {
27246
27540
  custom_database_name?: string | null;
@@ -28225,6 +28519,11 @@ export type PublicIngressSettings = {
28225
28519
  * Configured public address; `None` means the listen address.
28226
28520
  */
28227
28521
  public_address?: string | null;
28522
+ /**
28523
+ * Revision of the settings above that a save writes. Send it back as
28524
+ * `expected_revision`, so a save made since this read is not reverted.
28525
+ */
28526
+ revision: string;
28228
28527
  running?: boolean | null;
28229
28528
  };
28230
28529
  /**
@@ -29471,9 +29770,9 @@ export type RenameConversationRequest = {
29471
29770
  */
29472
29771
  export type RenewalAttemptResponse = {
29473
29772
  /**
29474
- * When the attempt was recorded (epoch millis).
29773
+ * When the attempt was recorded (ISO 8601, UTC).
29475
29774
  */
29476
- created_at: number;
29775
+ created_at: string;
29477
29776
  error?: string | null;
29478
29777
  error_type?: string | null;
29479
29778
  id: number;
@@ -29845,7 +30144,7 @@ export type ResolverCoverageHost = {
29845
30144
  /**
29846
30145
  * What a resolver looks like right now.
29847
30146
  */
29848
- export type ResolverHealth = "healthy" | "stale" | "down" | "off" | "node_unavailable" | "agent_too_old" | "not_reporting" | "no_local_resolver";
30147
+ export type ResolverHealth = "healthy" | "stale" | "down" | "off" | "node_unavailable" | "agent_too_old" | "not_reporting" | "no_local_resolver" | "unsupported";
29849
30148
  /**
29850
30149
  * Quick count of resources involved in the migration
29851
30150
  */
@@ -30222,6 +30521,77 @@ export type RestoreRunView = {
30222
30521
  target_service_id?: number | null;
30223
30522
  target_service_name?: string | null;
30224
30523
  };
30524
+ /**
30525
+ * One database the restore brought back.
30526
+ */
30527
+ export type RestoredDatabase = {
30528
+ kind: RestoredDatabaseKind;
30529
+ name: string;
30530
+ /**
30531
+ * The name is one a link can be pointed at (`[a-z_][a-z0-9_]{0,62}`).
30532
+ */
30533
+ usable_by_link: boolean;
30534
+ /**
30535
+ * The linked projects you can see that read it.
30536
+ */
30537
+ used_by: Array<RestoredDatabaseUse>;
30538
+ /**
30539
+ * A project you cannot see also reads it.
30540
+ */
30541
+ used_by_other_projects: boolean;
30542
+ };
30543
+ /**
30544
+ * How a restored database relates to the service and its links.
30545
+ */
30546
+ export type RestoredDatabaseKind = "linked" | "unused" | "service" | "system" | "sandbox";
30547
+ /**
30548
+ * A linked project (or one of its environments) that reads a database.
30549
+ */
30550
+ export type RestoredDatabaseUse = {
30551
+ /**
30552
+ * `None` when every environment of the project reads the database.
30553
+ */
30554
+ environment_name?: string | null;
30555
+ project_id: number;
30556
+ project_name: string;
30557
+ };
30558
+ /**
30559
+ * What the latest restore of a PostgreSQL service brought back.
30560
+ */
30561
+ export type RestoredDatabasesReport = {
30562
+ /**
30563
+ * Sorted by name.
30564
+ */
30565
+ databases: Array<RestoredDatabase>;
30566
+ /**
30567
+ * Linked databases the backup does not have. Empty when every restored
30568
+ * database is read by a link: then nothing restored is left unused.
30569
+ */
30570
+ missing: Array<MissingLinkedDatabase>;
30571
+ restore_run_id: number;
30572
+ restored_at: string;
30573
+ /**
30574
+ * Sorted by name.
30575
+ */
30576
+ roles: Array<RestoredRole>;
30577
+ /**
30578
+ * A list was longer than Temps keeps and was cut.
30579
+ */
30580
+ truncated: boolean;
30581
+ };
30582
+ /**
30583
+ * `GET /external-services/{id}/restored-databases`.
30584
+ */
30585
+ export type RestoredDatabasesResponse = {
30586
+ report?: RestoredDatabasesReport | null;
30587
+ };
30588
+ /**
30589
+ * A login role the restore brought back. Names only.
30590
+ */
30591
+ export type RestoredRole = {
30592
+ name: string;
30593
+ superuser: boolean;
30594
+ };
30225
30595
  /**
30226
30596
  * `POST …/reachability/runs/{run_id}/resume`.
30227
30597
  */
@@ -30402,7 +30772,10 @@ export type RouteRefreshResponse = {
30402
30772
  route_count: number;
30403
30773
  };
30404
30774
  export type RouteResponse = {
30405
- created_at: number;
30775
+ /**
30776
+ * When the route was created (ISO 8601, UTC)
30777
+ */
30778
+ created_at: string;
30406
30779
  domain: string;
30407
30780
  enabled: boolean;
30408
30781
  host: string;
@@ -30412,13 +30785,16 @@ export type RouteResponse = {
30412
30785
  * Route type: "http" or "tls"
30413
30786
  */
30414
30787
  route_type: string;
30415
- updated_at: number;
30788
+ /**
30789
+ * When the route was last changed (ISO 8601, UTC)
30790
+ */
30791
+ updated_at: string;
30416
30792
  };
30417
30793
  export type RouteRole = {
30418
- created_at: number;
30794
+ created_at: string;
30419
30795
  id: number;
30420
30796
  name: string;
30421
- updated_at: number;
30797
+ updated_at: string;
30422
30798
  };
30423
30799
  export type RouteTestDelivery = {
30424
30800
  message?: string | null;
@@ -30432,8 +30808,8 @@ export type RouteTestDelivery = {
30432
30808
  */
30433
30809
  export type RouteTestDeliveryStatus = "sent" | "failed" | "skipped_disabled";
30434
30810
  export type RouteUser = {
30435
- created_at: number;
30436
- deleted_at?: number | null;
30811
+ created_at: string;
30812
+ deleted_at?: string | null;
30437
30813
  email: string;
30438
30814
  email_verified: boolean;
30439
30815
  id: number;
@@ -30441,7 +30817,7 @@ export type RouteUser = {
30441
30817
  mfa_enabled: boolean;
30442
30818
  must_change_password: boolean;
30443
30819
  name: string;
30444
- updated_at: number;
30820
+ updated_at: string;
30445
30821
  username: string;
30446
30822
  };
30447
30823
  export type RouteUserWithRoles = {
@@ -30789,7 +31165,7 @@ export type S3SourceResponse = {
30789
31165
  access_key_id: string;
30790
31166
  bucket_name: string;
30791
31167
  bucket_path: string;
30792
- created_at: number;
31168
+ created_at: string;
30793
31169
  /**
30794
31170
  * The endpoint every client (WAL-G, restore and worker jobs) receives,
30795
31171
  * always with an explicit scheme. `None` for AWS S3 itself.
@@ -30817,7 +31193,7 @@ export type S3SourceResponse = {
30817
31193
  */
30818
31194
  path_style_reason: PathStyleReason;
30819
31195
  region: string;
30820
- updated_at: number;
31196
+ updated_at: string;
30821
31197
  /**
30822
31198
  * What a worker node receives from this source (ADR-102).
30823
31199
  */
@@ -33468,6 +33844,17 @@ export type SetManagedRecordRequest = {
33468
33844
  */
33469
33845
  ttl?: number | null;
33470
33846
  };
33847
+ /**
33848
+ * A worker's new build limits.
33849
+ */
33850
+ export type SetNodeBuildLimitsRequest = BuildLimits & {
33851
+ /**
33852
+ * The `revision` the limits were read with. When set and the stored
33853
+ * limits have changed since, the save is refused with 409 and nothing
33854
+ * changes. When omitted the save is unconditional (older clients).
33855
+ */
33856
+ expected_revision?: string | null;
33857
+ };
33471
33858
  export type SetNodeNetworkPolicyModeRequest = {
33472
33859
  mode: string;
33473
33860
  };
@@ -33479,6 +33866,13 @@ export type SetNodePublicIngressResponse = {
33479
33866
  node_id: number;
33480
33867
  };
33481
33868
  export type SetNodeResourcesRequest = {
33869
+ /**
33870
+ * Put `system_reserved` back to the default, so `system_reserved_is_default`
33871
+ * is true again: the control plane's stored values are cleared (it then
33872
+ * follows the default), a worker gets its role's default. Cannot be
33873
+ * combined with `system_reserved`.
33874
+ */
33875
+ reset_system_reserved?: boolean;
33482
33876
  resource_policy?: NodeResourcePolicy | null;
33483
33877
  system_reserved?: SystemReserved | null;
33484
33878
  };
@@ -33589,9 +33983,10 @@ export type SetRequest = {
33589
33983
  */
33590
33984
  export type SetResponse = {
33591
33985
  /**
33592
- * Always "OK" on success
33986
+ * "OK" when the value was written; null when an NX/XX condition did not
33987
+ * hold and the key was left unchanged (the Redis reply)
33593
33988
  */
33594
- result: string;
33989
+ result?: string | null;
33595
33990
  };
33596
33991
  /**
33597
33992
  * Body of `PUT /nodes/wireguard/hub`.
@@ -33621,6 +34016,11 @@ export type SetWorkloadModeRequest = {
33621
34016
  */
33622
34017
  export type SettingsUpdateResponse = {
33623
34018
  message: string;
34019
+ /**
34020
+ * `PUT /settings`: revision of the saved settings, to send as
34021
+ * `expected_revision` with the next save.
34022
+ */
34023
+ revision?: string | null;
33624
34024
  };
33625
34025
  /**
33626
34026
  * Request to setup DNS challenge records using a configured DNS provider
@@ -37714,9 +38114,25 @@ export type UpdateAnalyticsIngestKeyRequest = {
37714
38114
  rate_limit_per_minute?: number | null;
37715
38115
  };
37716
38116
  export type UpdateApiKeyRequest = {
38117
+ /**
38118
+ * A new expiry, which must be in the future. Leave it out, or send the
38119
+ * key's current expiry back unchanged (even one that has passed), to
38120
+ * keep it: an expired key can be renamed or deactivated without
38121
+ * extending it. API keys always expire, so `null` is refused for a key
38122
+ * that has an expiry.
38123
+ */
37717
38124
  expires_at?: string | null;
37718
38125
  is_active?: boolean | null;
38126
+ /**
38127
+ * New name, trimmed; a blank name is refused. Leave it out to keep the
38128
+ * current one.
38129
+ */
37719
38130
  name?: string | null;
38131
+ /**
38132
+ * A key's permissions are fixed when it is created. The key's current
38133
+ * permissions are accepted unchanged; any other list is refused with 400.
38134
+ * To change them, create a new key and delete this one.
38135
+ */
37720
38136
  permissions?: Array<string> | null;
37721
38137
  };
37722
38138
  export type UpdateApplicationWorkspaceRequest = {
@@ -38089,9 +38505,21 @@ export type UpdateDeploymentConfigRequest = {
38089
38505
  websocketIdleTimeoutSeconds?: number | null;
38090
38506
  };
38091
38507
  export type UpdateDeploymentTokenRequest = {
38508
+ /**
38509
+ * A future time sets a new expiry, `null` removes it (the token no
38510
+ * longer expires), and leaving the field out, or sending the current
38511
+ * expiry back unchanged (even one that has passed), keeps it.
38512
+ */
38092
38513
  expires_at?: string | null;
38093
38514
  is_active?: boolean | null;
38515
+ /**
38516
+ * New name. Leave it out to keep the current one.
38517
+ */
38094
38518
  name?: string | null;
38519
+ /**
38520
+ * Replaces the token's permissions. Leave it out to keep them; an empty
38521
+ * list is refused.
38522
+ */
38095
38523
  permissions?: Array<string> | null;
38096
38524
  };
38097
38525
  /**
@@ -38549,6 +38977,20 @@ export type UpdateKvResponse = {
38549
38977
  */
38550
38978
  success: boolean;
38551
38979
  };
38980
+ /**
38981
+ * Which database the link gives the project's apps.
38982
+ */
38983
+ export type UpdateLinkDatabaseRequest = {
38984
+ /**
38985
+ * The database every environment of the project reads, in `custom` mode.
38986
+ */
38987
+ custom_database_name?: string | null;
38988
+ /**
38989
+ * `project_environment` (one database per environment), `project` (one
38990
+ * for the whole project) or `custom` (the name below).
38991
+ */
38992
+ database_provisioning_mode: DatabaseProvisioningMode;
38993
+ };
38552
38994
  /**
38553
38995
  * Fields left out are unchanged. Once a window has started, only `title`,
38554
38996
  * `description` and `ends_at` can change.
@@ -38595,11 +39037,26 @@ export type UpdateManagedDomainApiRequest = {
38595
39037
  */
38596
39038
  sync_generated_records?: boolean | null;
38597
39039
  };
39040
+ /**
39041
+ * Partial update of an MCP server: omitted or `null` fields keep their
39042
+ * current value.
39043
+ */
38598
39044
  export type UpdateMcpRequest = {
39045
+ /**
39046
+ * Replacement server config. Omit or send `null` to keep the current
39047
+ * config; masked (`***`) credential values keep the stored secret.
39048
+ */
38599
39049
  config: {
38600
39050
  [key: string]: unknown;
38601
- };
39051
+ } | null;
39052
+ /**
39053
+ * New description. Omit or send `null` to keep the current description;
39054
+ * an empty string clears it (stored and returned as `null`).
39055
+ */
38602
39056
  description?: string | null;
39057
+ /**
39058
+ * New display name. Omit or send `null` to keep the current name.
39059
+ */
38603
39060
  name?: string | null;
38604
39061
  };
38605
39062
  /**
@@ -38760,22 +39217,34 @@ export type UpdateProjectGroupRequest = {
38760
39217
  slug?: string | null;
38761
39218
  };
38762
39219
  /**
38763
- * Request to update a project secret. The `value` field is optional — omit it
38764
- * to rotate only the environment scoping / preview flag without touching the
38765
- * ciphertext.
39220
+ * Request to update a project secret. Every field is optional, and a field
39221
+ * that is left out (or `null`) keeps its stored value: rotating only the
39222
+ * `value` keeps the secret's environments, preview flag and compose services
39223
+ * exactly as they are.
38766
39224
  */
38767
39225
  export type UpdateProjectSecretRequest = {
38768
39226
  /**
38769
- * Docker Compose services allowed to read this secret, by compose
38770
- * service name. Empty (the default) delivers it to every service in the
38771
- * stack, which is how secrets behaved before scoping existed.
39227
+ * Replaces the Docker Compose services allowed to read this secret, by
39228
+ * compose service name. An empty list delivers it to every service in
39229
+ * the stack. Omit to keep the current services.
38772
39230
  *
38773
39231
  * Ignored by non-Compose presets: those deploy a single container, which
38774
39232
  * always receives every secret in scope for its environment.
38775
39233
  */
38776
- compose_services?: Array<string>;
38777
- environment_ids?: Array<number>;
38778
- include_in_preview?: boolean;
39234
+ compose_services?: Array<string> | null;
39235
+ /**
39236
+ * Replaces the environments the secret applies to. Omit to keep the
39237
+ * current environments. Bindings to deleted environments are always
39238
+ * kept, so an empty list applies the secret to every environment of the
39239
+ * project only when it has none; a secret still bound to a deleted
39240
+ * environment stays limited to it.
39241
+ */
39242
+ environment_ids?: Array<number> | null;
39243
+ /**
39244
+ * Whether preview environments receive the secret. Omit to keep the
39245
+ * current setting.
39246
+ */
39247
+ include_in_preview?: boolean | null;
38779
39248
  /**
38780
39249
  * New plaintext value, <= 1 MiB. Omit to keep the existing value.
38781
39250
  */
@@ -38897,14 +39366,36 @@ export type UpdateProviderCredentialsRequest = {
38897
39366
  */
38898
39367
  client_id?: string | null;
38899
39368
  client_secret?: SecretString | null;
39369
+ password?: SecretString | null;
38900
39370
  private_key?: SecretString | null;
39371
+ /**
39372
+ * SSH public key (one OpenSSH line) of an SSH-key provider. Replaced
39373
+ * together with `private_key`, which then carries the SSH private key.
39374
+ */
39375
+ public_key?: string | null;
38901
39376
  /**
38902
39377
  * OAuth redirect URI (GitLab OAuth / GitLab App).
38903
39378
  */
38904
39379
  redirect_uri?: string | null;
38905
39380
  token?: SecretString | null;
39381
+ /**
39382
+ * Username of a basic-auth provider (generic Git server, Bitbucket app
39383
+ * password). Omit to keep the stored username.
39384
+ */
39385
+ username?: string | null;
38906
39386
  webhook_secret?: SecretString | null;
38907
39387
  };
39388
+ /**
39389
+ * Result of a credential update: the provider and the names of the
39390
+ * credential fields that were replaced. Credential values are never returned.
39391
+ */
39392
+ export type UpdateProviderCredentialsResponse = ProviderResponse & {
39393
+ /**
39394
+ * Names of the fields that were replaced, e.g. `["password"]`. Fields
39395
+ * that do not apply to the provider's auth method are not listed.
39396
+ */
39397
+ updated_fields: Array<string>;
39398
+ };
38908
39399
  export type UpdateProviderKeyRequest = {
38909
39400
  api_key?: SecretString | null;
38910
39401
  /**
@@ -38937,6 +39428,12 @@ export type UpdateProviderRequest = {
38937
39428
  };
38938
39429
  export type UpdatePublicIngressSettingsRequest = {
38939
39430
  enabled: boolean;
39431
+ /**
39432
+ * The `revision` the settings were read with. When set and they have
39433
+ * changed since, the save is refused with 409 and nothing changes.
39434
+ * When omitted the save is unconditional (older clients).
39435
+ */
39436
+ expected_revision?: string | null;
38940
39437
  http_port?: number | null;
38941
39438
  https_port?: number | null;
38942
39439
  /**
@@ -39064,6 +39561,21 @@ export type UpdateSessionDurationRequest = {
39064
39561
  export type UpdateSessionDurationResponse = {
39065
39562
  message: string;
39066
39563
  };
39564
+ /**
39565
+ * `PUT /settings` body: the settings document (partial documents keep the
39566
+ * omitted fields), plus the revision it was read with.
39567
+ *
39568
+ * Schema only: the handler reads the raw body, because which fields were
39569
+ * sent is information deserialization destroys.
39570
+ */
39571
+ export type UpdateSettingsRequest = AppSettings & {
39572
+ /**
39573
+ * The `revision` from `GET /settings`. When set and the settings have
39574
+ * changed since, the save is refused with 409 and nothing changes.
39575
+ * When omitted the save is unconditional (older clients).
39576
+ */
39577
+ expected_revision?: string | null;
39578
+ };
39067
39579
  /**
39068
39580
  * Replaces an entry's verdict, note and expiry; what it matches stays.
39069
39581
  */
@@ -39072,9 +39584,22 @@ export type UpdateShieldEntryRequest = {
39072
39584
  note?: string | null;
39073
39585
  verdict: ShieldEntryVerdict;
39074
39586
  };
39587
+ /**
39588
+ * Partial update of a skill: omitted or `null` fields keep their current value.
39589
+ */
39075
39590
  export type UpdateSkillRequest = {
39591
+ /**
39592
+ * New SKILL.md content. Omit or send `null` to keep the current content.
39593
+ */
39076
39594
  content?: string | null;
39595
+ /**
39596
+ * New description. Omit or send `null` to keep the current description;
39597
+ * an empty string clears it (stored and returned as `null`).
39598
+ */
39077
39599
  description?: string | null;
39600
+ /**
39601
+ * New display name. Omit or send `null` to keep the current name.
39602
+ */
39078
39603
  name?: string | null;
39079
39604
  };
39080
39605
  export type UpdateSlackProviderRequest = {
@@ -39248,9 +39773,23 @@ export type UpdateTraefikRouteEnabledRequest = {
39248
39773
  */
39249
39774
  enabled: boolean;
39250
39775
  };
39776
+ /**
39777
+ * Body of `PATCH /users/{user_id}`. Unknown fields are rejected so a
39778
+ * misspelt field is an error instead of a silent no-op.
39779
+ */
39251
39780
  export type UpdateUserRequest = {
39252
39781
  email?: string | null;
39782
+ /**
39783
+ * Deprecated: the old name of `username`, still accepted. Sending both
39784
+ * with different values is refused.
39785
+ *
39786
+ * @deprecated
39787
+ */
39253
39788
  name?: string | null;
39789
+ /**
39790
+ * The new username, as in `CreateUserRequest`.
39791
+ */
39792
+ username?: string | null;
39254
39793
  };
39255
39794
  export type UpdateWebhookProviderRequest = {
39256
39795
  config: WebhookConfig;
@@ -40611,6 +41150,11 @@ export type WireguardMeshStatusResponse = {
40611
41150
  * is on.
40612
41151
  */
40613
41152
  ca_rotation_required: boolean;
41153
+ /**
41154
+ * Whether `DELETE /nodes/wireguard` can turn the mesh off now: it is
41155
+ * on and nothing depends on it.
41156
+ */
41157
+ can_disable: boolean;
40614
41158
  /**
40615
41159
  * Whether `POST /nodes/wireguard` can turn the mesh on here.
40616
41160
  */
@@ -40620,6 +41164,12 @@ export type WireguardMeshStatusResponse = {
40620
41164
  */
40621
41165
  cidr?: string | null;
40622
41166
  control_plane?: WireguardMeshControlPlaneEntry | null;
41167
+ /**
41168
+ * What prevents turning it off, when the mesh is on and `can_disable`
41169
+ * is false (nodes on the mesh, pairings in progress, the control
41170
+ * plane's overlay on its mesh address). Rendered verbatim.
41171
+ */
41172
+ disable_blocker?: string | null;
40623
41173
  /**
40624
41174
  * What prevents enabling it, when `can_enable` is false and the mesh is
40625
41175
  * off. Rendered verbatim.
@@ -41832,7 +42382,7 @@ export type S3SourceResponseWritable = {
41832
42382
  access_key_id: string;
41833
42383
  bucket_name: string;
41834
42384
  bucket_path: string;
41835
- created_at: number;
42385
+ created_at: string;
41836
42386
  /**
41837
42387
  * The endpoint every client (WAL-G, restore and worker jobs) receives,
41838
42388
  * always with an explicit scheme. `None` for AWS S3 itself.
@@ -41861,7 +42411,7 @@ export type S3SourceResponseWritable = {
41861
42411
  path_style_reason: PathStyleReason;
41862
42412
  region: string;
41863
42413
  secret_key: string;
41864
- updated_at: number;
42414
+ updated_at: string;
41865
42415
  /**
41866
42416
  * What a worker node receives from this source (ADR-102).
41867
42417
  */
@@ -41889,6 +42439,21 @@ export type SaveAccessServiceWritable = {
41889
42439
  */
41890
42440
  vault_id?: string | null;
41891
42441
  };
42442
+ /**
42443
+ * `PUT /settings` body: the settings document (partial documents keep the
42444
+ * omitted fields), plus the revision it was read with.
42445
+ *
42446
+ * Schema only: the handler reads the raw body, because which fields were
42447
+ * sent is information deserialization destroys.
42448
+ */
42449
+ export type UpdateSettingsRequestWritable = AppSettingsWritable & {
42450
+ /**
42451
+ * The `revision` from `GET /settings`. When set and the settings have
42452
+ * changed since, the save is refused with 409 and nothing changes.
42453
+ * When omitted the save is unconditional (older clients).
42454
+ */
42455
+ expected_revision?: string | null;
42456
+ };
41892
42457
  export type GetPlatformInfoData = {
41893
42458
  body?: never;
41894
42459
  path?: never;
@@ -43359,6 +43924,43 @@ export type DeleteOidcProviderResponses = {
43359
43924
  204: void;
43360
43925
  };
43361
43926
  export type DeleteOidcProviderResponse = DeleteOidcProviderResponses[keyof DeleteOidcProviderResponses];
43927
+ export type GetOidcProviderData = {
43928
+ body?: never;
43929
+ path: {
43930
+ /**
43931
+ * OIDC provider ID
43932
+ */
43933
+ provider_id: number;
43934
+ };
43935
+ query?: never;
43936
+ url: "/admin/oidc/providers/{provider_id}";
43937
+ };
43938
+ export type GetOidcProviderErrors = {
43939
+ /**
43940
+ * Unauthorized
43941
+ */
43942
+ 401: ProblemDetails;
43943
+ /**
43944
+ * Insufficient permissions
43945
+ */
43946
+ 403: ProblemDetails;
43947
+ /**
43948
+ * OIDC provider not found
43949
+ */
43950
+ 404: ProblemDetails;
43951
+ /**
43952
+ * Internal server error
43953
+ */
43954
+ 500: ProblemDetails;
43955
+ };
43956
+ export type GetOidcProviderError = GetOidcProviderErrors[keyof GetOidcProviderErrors];
43957
+ export type GetOidcProviderResponses = {
43958
+ /**
43959
+ * The OIDC provider
43960
+ */
43961
+ 200: OidcProviderResponse;
43962
+ };
43963
+ export type GetOidcProviderResponse = GetOidcProviderResponses[keyof GetOidcProviderResponses];
43362
43964
  export type UpdateOidcProviderData = {
43363
43965
  body: UpdateOidcProviderRequest;
43364
43966
  path: {
@@ -43427,10 +44029,27 @@ export type ListOidcProviderUsersData = {
43427
44029
  */
43428
44030
  provider_id: number;
43429
44031
  };
43430
- query?: never;
44032
+ query?: {
44033
+ /**
44034
+ * Page number, starting at 1 (default 1).
44035
+ */
44036
+ page?: number;
44037
+ /**
44038
+ * Items per page (default 20, max 100).
44039
+ */
44040
+ page_size?: number;
44041
+ };
43431
44042
  url: "/admin/oidc/providers/{provider_id}/users";
43432
44043
  };
43433
44044
  export type ListOidcProviderUsersErrors = {
44045
+ /**
44046
+ * Unauthorized
44047
+ */
44048
+ 401: unknown;
44049
+ /**
44050
+ * Insufficient permissions
44051
+ */
44052
+ 403: unknown;
43434
44053
  /**
43435
44054
  * Provider not found
43436
44055
  */
@@ -43438,9 +44057,9 @@ export type ListOidcProviderUsersErrors = {
43438
44057
  };
43439
44058
  export type ListOidcProviderUsersResponses = {
43440
44059
  /**
43441
- * Users authenticated via this OIDC provider
44060
+ * One page of the users who sign in through this OIDC provider, newest first
43442
44061
  */
43443
- 200: Array<OidcProviderUserResponse>;
44062
+ 200: OidcProviderUserList;
43444
44063
  };
43445
44064
  export type ListOidcProviderUsersResponse = ListOidcProviderUsersResponses[keyof ListOidcProviderUsersResponses];
43446
44065
  export type DeleteOidcRoleMappingData = {
@@ -49772,7 +50391,7 @@ export type CreateApiKeyData = {
49772
50391
  };
49773
50392
  export type CreateApiKeyErrors = {
49774
50393
  /**
49775
- * Bad request
50394
+ * Bad request: a blank name, an expiry in the past, permissions with a role other than custom, or an invalid scope
49776
50395
  */
49777
50396
  400: unknown;
49778
50397
  /**
@@ -49938,7 +50557,7 @@ export type UpdateApiKeyData = {
49938
50557
  };
49939
50558
  export type UpdateApiKeyErrors = {
49940
50559
  /**
49941
- * Bad request
50560
+ * Bad request: a blank name, a new expiry in the past (the key's current expiry may be sent back unchanged), a removed expiry, or permissions that differ from the key's (they cannot change after creation)
49942
50561
  */
49943
50562
  400: unknown;
49944
50563
  /**
@@ -51470,9 +52089,21 @@ export type UpdateBackupScheduleResponse = UpdateBackupScheduleResponses[keyof U
51470
52089
  export type ListBackupsForScheduleData = {
51471
52090
  body?: never;
51472
52091
  path: {
52092
+ /**
52093
+ * Backup schedule ID
52094
+ */
51473
52095
  id: number;
51474
52096
  };
51475
- query?: never;
52097
+ query?: {
52098
+ /**
52099
+ * Page number, starting at 1 (default 1).
52100
+ */
52101
+ page?: number;
52102
+ /**
52103
+ * Items per page (default 20, max 100).
52104
+ */
52105
+ page_size?: number;
52106
+ };
51476
52107
  url: "/backups/schedules/{id}/backups";
51477
52108
  };
51478
52109
  export type ListBackupsForScheduleErrors = {
@@ -51496,9 +52127,9 @@ export type ListBackupsForScheduleErrors = {
51496
52127
  export type ListBackupsForScheduleError = ListBackupsForScheduleErrors[keyof ListBackupsForScheduleErrors];
51497
52128
  export type ListBackupsForScheduleResponses = {
51498
52129
  /**
51499
- * List of backups for the schedule
52130
+ * One page of the schedule's backups, newest first
51500
52131
  */
51501
- 200: Array<BackupResponse>;
52132
+ 200: BackupList;
51502
52133
  };
51503
52134
  export type ListBackupsForScheduleResponse = ListBackupsForScheduleResponses[keyof ListBackupsForScheduleResponses];
51504
52135
  export type DisableBackupScheduleData = {
@@ -53168,11 +53799,6 @@ export type DeploymentMetricsGetRangeData = {
53168
53799
  * Ignored when `start_time` and `end_time` are both set.
53169
53800
  */
53170
53801
  range?: string;
53171
- /**
53172
- * Optional histogram percentile (0–100). When provided, the endpoint
53173
- * fetches histogram buckets and computes the requested quantile.
53174
- */
53175
- percentile?: number | null;
53176
53802
  /**
53177
53803
  * Explicit window start (ISO 8601). Must be paired with `end_time`.
53178
53804
  */
@@ -57123,7 +57749,7 @@ export type PromoteClusterMemberErrors = {
57123
57749
  */
57124
57750
  404: unknown;
57125
57751
  /**
57126
- * This process has no local Docker daemon to run the promotion on
57752
+ * This process has no local Docker daemon to run the promotion on, or the member's node stayed busy (another operation owned its container) and ran nothing: retry
57127
57753
  */
57128
57754
  409: unknown;
57129
57755
  /**
@@ -57155,11 +57781,6 @@ export type ExternalServiceMetricsGetRangeData = {
57155
57781
  * Ignored when `start_time` and `end_time` are both set.
57156
57782
  */
57157
57783
  range?: string;
57158
- /**
57159
- * Optional histogram percentile (0–100). When provided, the endpoint
57160
- * fetches histogram buckets and computes the requested quantile.
57161
- */
57162
- percentile?: number | null;
57163
57784
  /**
57164
57785
  * Explicit window start (ISO 8601). Must be paired with `end_time`.
57165
57786
  */
@@ -57758,6 +58379,50 @@ export type UnlinkServiceFromProjectResponses = {
57758
58379
  204: void;
57759
58380
  };
57760
58381
  export type UnlinkServiceFromProjectResponse = UnlinkServiceFromProjectResponses[keyof UnlinkServiceFromProjectResponses];
58382
+ export type UpdateLinkDatabaseData = {
58383
+ body: UpdateLinkDatabaseRequest;
58384
+ path: {
58385
+ /**
58386
+ * External service ID
58387
+ */
58388
+ id: number;
58389
+ /**
58390
+ * Project ID
58391
+ */
58392
+ project_id: number;
58393
+ };
58394
+ query?: never;
58395
+ url: "/external-services/{id}/projects/{project_id}/database";
58396
+ };
58397
+ export type UpdateLinkDatabaseErrors = {
58398
+ /**
58399
+ * Invalid database provisioning configuration
58400
+ */
58401
+ 400: unknown;
58402
+ /**
58403
+ * Authentication required
58404
+ */
58405
+ 401: unknown;
58406
+ /**
58407
+ * Insufficient permission to change this link
58408
+ */
58409
+ 403: unknown;
58410
+ /**
58411
+ * Service, project or link not found
58412
+ */
58413
+ 404: unknown;
58414
+ /**
58415
+ * Internal server error
58416
+ */
58417
+ 500: unknown;
58418
+ };
58419
+ export type UpdateLinkDatabaseResponses = {
58420
+ /**
58421
+ * The link gives the project this database from its next deployment
58422
+ */
58423
+ 200: ProjectServiceInfo;
58424
+ };
58425
+ export type UpdateLinkDatabaseResponse = UpdateLinkDatabaseResponses[keyof UpdateLinkDatabaseResponses];
57761
58426
  export type GetServiceEnvironmentVariablesData = {
57762
58427
  body?: never;
57763
58428
  path: {
@@ -58063,11 +58728,44 @@ export type ListRestoreRunsForServiceErrors = {
58063
58728
  export type ListRestoreRunsForServiceError = ListRestoreRunsForServiceErrors[keyof ListRestoreRunsForServiceErrors];
58064
58729
  export type ListRestoreRunsForServiceResponses = {
58065
58730
  /**
58066
- * Recent restore runs for the service
58731
+ * The service's 50 most recent restore runs, newest first. Not paginated: bounded by design to recent history; older runs are not returned
58067
58732
  */
58068
58733
  200: Array<RestoreRunView>;
58069
58734
  };
58070
58735
  export type ListRestoreRunsForServiceResponse = ListRestoreRunsForServiceResponses[keyof ListRestoreRunsForServiceResponses];
58736
+ export type GetRestoredDatabasesData = {
58737
+ body?: never;
58738
+ path: {
58739
+ /**
58740
+ * External service id
58741
+ */
58742
+ id: number;
58743
+ };
58744
+ query?: never;
58745
+ url: "/external-services/{id}/restored-databases";
58746
+ };
58747
+ export type GetRestoredDatabasesErrors = {
58748
+ /**
58749
+ * Unauthorized
58750
+ */
58751
+ 401: ProblemDetails;
58752
+ /**
58753
+ * Insufficient permissions
58754
+ */
58755
+ 403: ProblemDetails;
58756
+ /**
58757
+ * Service not found
58758
+ */
58759
+ 404: ProblemDetails;
58760
+ };
58761
+ export type GetRestoredDatabasesError = GetRestoredDatabasesErrors[keyof GetRestoredDatabasesErrors];
58762
+ export type GetRestoredDatabasesResponses = {
58763
+ /**
58764
+ * What the latest restore brought back; `report` is null when it recorded nothing
58765
+ */
58766
+ 200: RestoredDatabasesResponse;
58767
+ };
58768
+ export type GetRestoredDatabasesResponse = GetRestoredDatabasesResponses[keyof GetRestoredDatabasesResponses];
58071
58769
  export type RetryClusterData = {
58072
58770
  body: RetryClusterRequest;
58073
58771
  path: {
@@ -59171,7 +59869,7 @@ export type ListPgUpgradesErrors = {
59171
59869
  export type ListPgUpgradesError = ListPgUpgradesErrors[keyof ListPgUpgradesErrors];
59172
59870
  export type ListPgUpgradesResponses = {
59173
59871
  /**
59174
- * Recent upgrades
59872
+ * The service's 50 most recent upgrades, newest first. Not paginated: bounded by design to recent history; older upgrades are not returned
59175
59873
  */
59176
59874
  200: Array<PgUpgradeResponse>;
59177
59875
  };
@@ -60706,7 +61404,7 @@ export type UpdateGitProviderCredentialsData = {
60706
61404
  };
60707
61405
  export type UpdateGitProviderCredentialsErrors = {
60708
61406
  /**
60709
- * Bad request
61407
+ * Invalid credentials for the provider's auth method
60710
61408
  */
60711
61409
  400: unknown;
60712
61410
  /**
@@ -60730,7 +61428,7 @@ export type UpdateGitProviderCredentialsResponses = {
60730
61428
  /**
60731
61429
  * Credentials updated
60732
61430
  */
60733
- 200: ProviderResponse;
61431
+ 200: UpdateProviderCredentialsResponse;
60734
61432
  };
60735
61433
  export type UpdateGitProviderCredentialsResponse = UpdateGitProviderCredentialsResponses[keyof UpdateGitProviderCredentialsResponses];
60736
61434
  export type DeactivateProviderData = {
@@ -60975,6 +61673,71 @@ export type GetPublicRepositoryResponses = {
60975
61673
  200: PublicRepositoryInfo;
60976
61674
  };
60977
61675
  export type GetPublicRepositoryResponse = GetPublicRepositoryResponses[keyof GetPublicRepositoryResponses];
61676
+ export type GetPublicBranchData = {
61677
+ body?: never;
61678
+ path: {
61679
+ /**
61680
+ * Git provider (github or gitlab)
61681
+ */
61682
+ provider: string;
61683
+ /**
61684
+ * Repository owner
61685
+ */
61686
+ owner: string;
61687
+ /**
61688
+ * Repository name
61689
+ */
61690
+ repo: string;
61691
+ };
61692
+ query: {
61693
+ /**
61694
+ * HTTPS/443 origin of a self-hosted GitLab instance. Requires authentication and git_repositories:read.
61695
+ */
61696
+ base_url?: string | null;
61697
+ /**
61698
+ * Exact branch name to look up
61699
+ */
61700
+ name: string;
61701
+ };
61702
+ url: "/git/public/{provider}/{owner}/{repo}/branch";
61703
+ };
61704
+ export type GetPublicBranchErrors = {
61705
+ /**
61706
+ * Provider not supported, or empty branch name
61707
+ */
61708
+ 400: unknown;
61709
+ /**
61710
+ * Authentication required for custom GitLab origins
61711
+ */
61712
+ 401: unknown;
61713
+ /**
61714
+ * Git provider permission required
61715
+ */
61716
+ 403: unknown;
61717
+ /**
61718
+ * Repository or branch not found
61719
+ */
61720
+ 404: unknown;
61721
+ /**
61722
+ * API rate limit exceeded
61723
+ */
61724
+ 429: unknown;
61725
+ /**
61726
+ * Internal server error
61727
+ */
61728
+ 500: unknown;
61729
+ /**
61730
+ * The provider could not answer for this branch (its listing was capped and it has no single-branch endpoint)
61731
+ */
61732
+ 502: unknown;
61733
+ };
61734
+ export type GetPublicBranchResponses = {
61735
+ /**
61736
+ * The branch
61737
+ */
61738
+ 200: BranchInfo;
61739
+ };
61740
+ export type GetPublicBranchResponse = GetPublicBranchResponses[keyof GetPublicBranchResponses];
60978
61741
  export type GetPublicBranchesData = {
60979
61742
  body?: never;
60980
61743
  path: {
@@ -61542,7 +62305,16 @@ export type GetIncidentUpdatesData = {
61542
62305
  */
61543
62306
  incident_id: number;
61544
62307
  };
61545
- query?: never;
62308
+ query?: {
62309
+ /**
62310
+ * Page number, starting at 1 (default 1).
62311
+ */
62312
+ page?: number;
62313
+ /**
62314
+ * Items per page (default 20, max 100).
62315
+ */
62316
+ page_size?: number;
62317
+ };
61546
62318
  url: "/incidents/{incident_id}/updates";
61547
62319
  };
61548
62320
  export type GetIncidentUpdatesErrors = {
@@ -61565,9 +62337,9 @@ export type GetIncidentUpdatesErrors = {
61565
62337
  };
61566
62338
  export type GetIncidentUpdatesResponses = {
61567
62339
  /**
61568
- * Successfully retrieved incident updates
62340
+ * One page of the incident's updates, newest first
61569
62341
  */
61570
- 200: Array<IncidentUpdateResponse>;
62342
+ 200: IncidentUpdateList;
61571
62343
  };
61572
62344
  export type GetIncidentUpdatesResponse = GetIncidentUpdatesResponses[keyof GetIncidentUpdatesResponses];
61573
62345
  export type SetIncidentUpdateVisibilityData = {
@@ -63004,8 +63776,48 @@ export type AdminGetNodeResponses = {
63004
63776
  200: NodeInfoResponse;
63005
63777
  };
63006
63778
  export type AdminGetNodeResponse = AdminGetNodeResponses[keyof AdminGetNodeResponses];
63779
+ export type AdminGetNodeBuildLimitsData = {
63780
+ body?: never;
63781
+ path: {
63782
+ /**
63783
+ * Worker node ID
63784
+ */
63785
+ node_id: number;
63786
+ };
63787
+ query?: never;
63788
+ url: "/internal/nodes/{node_id}/build-limits";
63789
+ };
63790
+ export type AdminGetNodeBuildLimitsErrors = {
63791
+ /**
63792
+ * The node is the control plane or not a worker
63793
+ */
63794
+ 400: unknown;
63795
+ /**
63796
+ * Unauthorized
63797
+ */
63798
+ 401: unknown;
63799
+ /**
63800
+ * Forbidden
63801
+ */
63802
+ 403: unknown;
63803
+ /**
63804
+ * Node not found
63805
+ */
63806
+ 404: unknown;
63807
+ /**
63808
+ * Stored limits are invalid or storage failed
63809
+ */
63810
+ 500: unknown;
63811
+ };
63812
+ export type AdminGetNodeBuildLimitsResponses = {
63813
+ /**
63814
+ * The worker's effective build limits, and whether they are the defaults
63815
+ */
63816
+ 200: NodeBuildLimitsResponse;
63817
+ };
63818
+ export type AdminGetNodeBuildLimitsResponse = AdminGetNodeBuildLimitsResponses[keyof AdminGetNodeBuildLimitsResponses];
63007
63819
  export type AdminSetNodeBuildLimitsData = {
63008
- body: BuildLimits;
63820
+ body: SetNodeBuildLimitsRequest;
63009
63821
  path: {
63010
63822
  /**
63011
63823
  * Worker node ID
@@ -63017,7 +63829,7 @@ export type AdminSetNodeBuildLimitsData = {
63017
63829
  };
63018
63830
  export type AdminSetNodeBuildLimitsErrors = {
63019
63831
  /**
63020
- * Invalid limits or node role
63832
+ * Invalid limits, node role, or the control plane (node 0)
63021
63833
  */
63022
63834
  400: unknown;
63023
63835
  /**
@@ -63032,13 +63844,20 @@ export type AdminSetNodeBuildLimitsErrors = {
63032
63844
  * Node not found
63033
63845
  */
63034
63846
  404: unknown;
63847
+ /**
63848
+ * `expected_revision` is stale: the limits changed since they were read; nothing was saved
63849
+ */
63850
+ 409: unknown;
63035
63851
  /**
63036
63852
  * Storage failed
63037
63853
  */
63038
63854
  500: unknown;
63039
63855
  };
63040
63856
  export type AdminSetNodeBuildLimitsResponses = {
63041
- 200: BuildLimits;
63857
+ /**
63858
+ * The saved limits and their new revision
63859
+ */
63860
+ 200: NodeBuildLimitsResponse;
63042
63861
  };
63043
63862
  export type AdminSetNodeBuildLimitsResponse = AdminSetNodeBuildLimitsResponses[keyof AdminSetNodeBuildLimitsResponses];
63044
63863
  export type AdminListNodeContainersData = {
@@ -63513,6 +64332,10 @@ export type AdminUpdateNodePublicIngressSettingsErrors = {
63513
64332
  * Node not found
63514
64333
  */
63515
64334
  404: unknown;
64335
+ /**
64336
+ * The worker does not allow this change, or `expected_revision` is stale: the settings changed since they were read; nothing was saved
64337
+ */
64338
+ 409: unknown;
63516
64339
  };
63517
64340
  export type AdminUpdateNodePublicIngressSettingsResponses = {
63518
64341
  200: PublicIngressSettings;
@@ -63549,6 +64372,9 @@ export type AdminGetNodeResourcesErrors = {
63549
64372
  };
63550
64373
  export type AdminGetNodeResourcesError = AdminGetNodeResourcesErrors[keyof AdminGetNodeResourcesErrors];
63551
64374
  export type AdminGetNodeResourcesResponses = {
64375
+ /**
64376
+ * The node's capacity, reservation and what is placed on it
64377
+ */
63552
64378
  200: NodeResourcesResponse;
63553
64379
  };
63554
64380
  export type AdminGetNodeResourcesResponse = AdminGetNodeResourcesResponses[keyof AdminGetNodeResourcesResponses];
@@ -63565,7 +64391,7 @@ export type AdminSetNodeResourcesData = {
63565
64391
  };
63566
64392
  export type AdminSetNodeResourcesErrors = {
63567
64393
  /**
63568
- * Invalid reserve
64394
+ * Invalid reserve, nothing to change, or system_reserved together with reset_system_reserved
63569
64395
  */
63570
64396
  400: ProblemDetails;
63571
64397
  /**
@@ -63587,6 +64413,9 @@ export type AdminSetNodeResourcesErrors = {
63587
64413
  };
63588
64414
  export type AdminSetNodeResourcesError = AdminSetNodeResourcesErrors[keyof AdminSetNodeResourcesErrors];
63589
64415
  export type AdminSetNodeResourcesResponses = {
64416
+ /**
64417
+ * The node's resources after the change
64418
+ */
63590
64419
  200: NodeResourcesResponse;
63591
64420
  };
63592
64421
  export type AdminSetNodeResourcesResponse = AdminSetNodeResourcesResponses[keyof AdminSetNodeResourcesResponses];
@@ -64091,7 +64920,7 @@ export type KvSetErrors = {
64091
64920
  };
64092
64921
  export type KvSetResponses = {
64093
64922
  /**
64094
- * Value set
64923
+ * Value set, or `result: null` when an NX/XX condition did not hold
64095
64924
  */
64096
64925
  200: SetResponse;
64097
64926
  };
@@ -65972,6 +66801,41 @@ export type NodeSshHostKeyResponses = {
65972
66801
  200: NodeSshHostKeyResponse;
65973
66802
  };
65974
66803
  export type NodeSshHostKeyResponse2 = NodeSshHostKeyResponses[keyof NodeSshHostKeyResponses];
66804
+ export type WireguardMeshDisableData = {
66805
+ body?: never;
66806
+ path?: never;
66807
+ query?: never;
66808
+ url: "/nodes/wireguard";
66809
+ };
66810
+ export type WireguardMeshDisableErrors = {
66811
+ /**
66812
+ * Unauthorized
66813
+ */
66814
+ 401: unknown;
66815
+ /**
66816
+ * Insufficient permissions
66817
+ */
66818
+ 403: unknown;
66819
+ /**
66820
+ * Something still depends on the mesh; the detail says what
66821
+ */
66822
+ 409: unknown;
66823
+ /**
66824
+ * Re-authentication required
66825
+ */
66826
+ 428: unknown;
66827
+ /**
66828
+ * Internal server error
66829
+ */
66830
+ 500: unknown;
66831
+ };
66832
+ export type WireguardMeshDisableResponses = {
66833
+ /**
66834
+ * Mesh off; current state
66835
+ */
66836
+ 200: WireguardMeshStatusResponse;
66837
+ };
66838
+ export type WireguardMeshDisableResponse = WireguardMeshDisableResponses[keyof WireguardMeshDisableResponses];
65975
66839
  export type WireguardMeshStatusGetData = {
65976
66840
  body?: never;
65977
66841
  path?: never;
@@ -66095,11 +66959,6 @@ export type NodeMetricsGetRangeData = {
66095
66959
  * Ignored when `start_time` and `end_time` are both set.
66096
66960
  */
66097
66961
  range?: string;
66098
- /**
66099
- * Optional histogram percentile (0–100). When provided, the endpoint
66100
- * fetches histogram buckets and computes the requested quantile.
66101
- */
66102
- percentile?: number | null;
66103
66962
  /**
66104
66963
  * Explicit window start (ISO 8601). Must be paired with `end_time`.
66105
66964
  */
@@ -66256,6 +67115,46 @@ export type NodeMetricsDeleteAlertRuleResponses = {
66256
67115
  204: void;
66257
67116
  };
66258
67117
  export type NodeMetricsDeleteAlertRuleResponse = NodeMetricsDeleteAlertRuleResponses[keyof NodeMetricsDeleteAlertRuleResponses];
67118
+ export type NodeMetricsGetAlertRuleData = {
67119
+ body?: never;
67120
+ path: {
67121
+ /**
67122
+ * Node ID (0 = control plane)
67123
+ */
67124
+ id: number;
67125
+ /**
67126
+ * Alert rule ID
67127
+ */
67128
+ rule_id: number;
67129
+ };
67130
+ query?: never;
67131
+ url: "/nodes/{id}/metrics/alert-rules/{rule_id}";
67132
+ };
67133
+ export type NodeMetricsGetAlertRuleErrors = {
67134
+ /**
67135
+ * Unauthorized
67136
+ */
67137
+ 401: unknown;
67138
+ /**
67139
+ * Insufficient permissions
67140
+ */
67141
+ 403: unknown;
67142
+ /**
67143
+ * Alert rule not found on this node
67144
+ */
67145
+ 404: unknown;
67146
+ /**
67147
+ * Internal server error
67148
+ */
67149
+ 500: unknown;
67150
+ };
67151
+ export type NodeMetricsGetAlertRuleResponses = {
67152
+ /**
67153
+ * The alert rule
67154
+ */
67155
+ 200: ServiceAlertRuleResponse;
67156
+ };
67157
+ export type NodeMetricsGetAlertRuleResponse = NodeMetricsGetAlertRuleResponses[keyof NodeMetricsGetAlertRuleResponses];
66259
67158
  export type NodeMetricsUpdateAlertRuleData = {
66260
67159
  body: ServiceUpdateAlertRuleRequest;
66261
67160
  path: {
@@ -70766,6 +71665,46 @@ export type DeleteGroupEnvVarResponses = {
70766
71665
  204: void;
70767
71666
  };
70768
71667
  export type DeleteGroupEnvVarResponse = DeleteGroupEnvVarResponses[keyof DeleteGroupEnvVarResponses];
71668
+ export type GetGroupEnvVarData = {
71669
+ body?: never;
71670
+ path: {
71671
+ /**
71672
+ * Project group ID
71673
+ */
71674
+ group_id: number;
71675
+ /**
71676
+ * Variable ID
71677
+ */
71678
+ var_id: number;
71679
+ };
71680
+ query?: never;
71681
+ url: "/project-groups/{group_id}/env-vars/{var_id}";
71682
+ };
71683
+ export type GetGroupEnvVarErrors = {
71684
+ /**
71685
+ * Unauthorized
71686
+ */
71687
+ 401: unknown;
71688
+ /**
71689
+ * Insufficient permissions on a member project
71690
+ */
71691
+ 403: unknown;
71692
+ /**
71693
+ * Project group or variable not found
71694
+ */
71695
+ 404: unknown;
71696
+ /**
71697
+ * Internal server error
71698
+ */
71699
+ 500: unknown;
71700
+ };
71701
+ export type GetGroupEnvVarResponses = {
71702
+ /**
71703
+ * The variable (value masked)
71704
+ */
71705
+ 200: GroupEnvVarResponse;
71706
+ };
71707
+ export type GetGroupEnvVarResponse = GetGroupEnvVarResponses[keyof GetGroupEnvVarResponses];
70769
71708
  export type UpdateGroupEnvVarData = {
70770
71709
  body: UpdateGroupEnvVarRequest;
70771
71710
  path: {
@@ -70907,7 +71846,7 @@ export type AddProjectToGroupErrors = {
70907
71846
  */
70908
71847
  404: unknown;
70909
71848
  /**
70910
- * A route involving the project appeared, the project changed group, or a project joined the destination group, while the request was being authorized; retry
71849
+ * A route involving the project appeared, the project changed group, or a project the caller cannot manage joined the destination group, while the request was being authorized; retry. Projects placed concurrently by a caller that may manage them do not conflict
70911
71850
  */
70912
71851
  409: unknown;
70913
71852
  };
@@ -74714,7 +75653,16 @@ export type ListAnalyticsIngestKeysData = {
74714
75653
  */
74715
75654
  project_id: number;
74716
75655
  };
74717
- query?: never;
75656
+ query?: {
75657
+ /**
75658
+ * Page number, starting at 1 (default 1).
75659
+ */
75660
+ page?: number;
75661
+ /**
75662
+ * Items per page (default 20, max 100).
75663
+ */
75664
+ page_size?: number;
75665
+ };
74718
75666
  url: "/projects/{project_id}/analytics/ingest-keys";
74719
75667
  };
74720
75668
  export type ListAnalyticsIngestKeysErrors = {
@@ -74733,9 +75681,9 @@ export type ListAnalyticsIngestKeysErrors = {
74733
75681
  };
74734
75682
  export type ListAnalyticsIngestKeysResponses = {
74735
75683
  /**
74736
- * Ingest keys, active and revoked, newest first
75684
+ * One page of ingest keys, active and revoked, newest first
74737
75685
  */
74738
- 200: Array<AnalyticsIngestKey>;
75686
+ 200: AnalyticsIngestKeyList;
74739
75687
  };
74740
75688
  export type ListAnalyticsIngestKeysResponse = ListAnalyticsIngestKeysResponses[keyof ListAnalyticsIngestKeysResponses];
74741
75689
  export type CreateAnalyticsIngestKeyData = {
@@ -74778,6 +75726,46 @@ export type CreateAnalyticsIngestKeyResponses = {
74778
75726
  201: AnalyticsIngestKey;
74779
75727
  };
74780
75728
  export type CreateAnalyticsIngestKeyResponse = CreateAnalyticsIngestKeyResponses[keyof CreateAnalyticsIngestKeyResponses];
75729
+ export type GetAnalyticsIngestKeyData = {
75730
+ body?: never;
75731
+ path: {
75732
+ /**
75733
+ * Project ID
75734
+ */
75735
+ project_id: number;
75736
+ /**
75737
+ * Analytics ingest key ID
75738
+ */
75739
+ key_id: number;
75740
+ };
75741
+ query?: never;
75742
+ url: "/projects/{project_id}/analytics/ingest-keys/{key_id}";
75743
+ };
75744
+ export type GetAnalyticsIngestKeyErrors = {
75745
+ /**
75746
+ * Unauthorized
75747
+ */
75748
+ 401: unknown;
75749
+ /**
75750
+ * Insufficient permissions
75751
+ */
75752
+ 403: unknown;
75753
+ /**
75754
+ * Ingest key not found in this project
75755
+ */
75756
+ 404: unknown;
75757
+ /**
75758
+ * Internal server error
75759
+ */
75760
+ 500: unknown;
75761
+ };
75762
+ export type GetAnalyticsIngestKeyResponses = {
75763
+ /**
75764
+ * The ingest key
75765
+ */
75766
+ 200: AnalyticsIngestKey;
75767
+ };
75768
+ export type GetAnalyticsIngestKeyResponse = GetAnalyticsIngestKeyResponses[keyof GetAnalyticsIngestKeyResponses];
74781
75769
  export type UpdateAnalyticsIngestKeyData = {
74782
75770
  body: UpdateAnalyticsIngestKeyRequest;
74783
75771
  path: {
@@ -76890,7 +77878,7 @@ export type CreateDeploymentTokenData = {
76890
77878
  };
76891
77879
  export type CreateDeploymentTokenErrors = {
76892
77880
  /**
76893
- * Invalid request
77881
+ * Invalid request: blank name, empty permissions, an expiry in the past, or a deployment of another environment
76894
77882
  */
76895
77883
  400: unknown;
76896
77884
  /**
@@ -76901,6 +77889,10 @@ export type CreateDeploymentTokenErrors = {
76901
77889
  * Insufficient permissions
76902
77890
  */
76903
77891
  403: unknown;
77892
+ /**
77893
+ * The project, or the requested environment or deployment in it, was not found
77894
+ */
77895
+ 404: unknown;
76904
77896
  /**
76905
77897
  * Token with this name already exists
76906
77898
  */
@@ -77014,7 +78006,7 @@ export type UpdateDeploymentTokenData = {
77014
78006
  };
77015
78007
  export type UpdateDeploymentTokenErrors = {
77016
78008
  /**
77017
- * Invalid request
78009
+ * Invalid request: blank name, empty permissions or a new expiry in the past (the token's current expiry may be sent back unchanged)
77018
78010
  */
77019
78011
  400: unknown;
77020
78012
  /**
@@ -78174,7 +79166,7 @@ export type CreateEdgeRuleData = {
78174
79166
  };
78175
79167
  export type CreateEdgeRuleErrors = {
78176
79168
  /**
78177
- * Invalid rule; `issues` lists each problem
79169
+ * Invalid rule (`issues` lists each problem; a rule needs at least one condition), or a position outside the project's rules (`max_position` is the last valid one)
78178
79170
  */
78179
79171
  400: ProblemDetails;
78180
79172
  /**
@@ -81124,7 +82116,7 @@ export type ListShieldTokensErrors = {
81124
82116
  export type ListShieldTokensError = ListShieldTokensErrors[keyof ListShieldTokensErrors];
81125
82117
  export type ListShieldTokensResponses = {
81126
82118
  /**
81127
- * Active bypass tokens
82119
+ * Every active bypass token valid here (at most 100, newest first)
81128
82120
  */
81129
82121
  200: Array<ShieldTokenResponse>;
81130
82122
  };
@@ -83713,7 +84705,7 @@ export type ListErrorInboundFiltersErrors = {
83713
84705
  };
83714
84706
  export type ListErrorInboundFiltersResponses = {
83715
84707
  /**
83716
- * The project's inbound filters
84708
+ * The project's inbound filters, oldest first. Not paginated: bounded by design to 50 rules per project
83717
84709
  */
83718
84710
  200: InboundFiltersResponse;
83719
84711
  };
@@ -83798,6 +84790,46 @@ export type DeleteErrorInboundFilterResponses = {
83798
84790
  204: void;
83799
84791
  };
83800
84792
  export type DeleteErrorInboundFilterResponse = DeleteErrorInboundFilterResponses[keyof DeleteErrorInboundFilterResponses];
84793
+ export type GetErrorInboundFilterData = {
84794
+ body?: never;
84795
+ path: {
84796
+ /**
84797
+ * Project ID
84798
+ */
84799
+ project_id: number;
84800
+ /**
84801
+ * Inbound filter ID
84802
+ */
84803
+ filter_id: number;
84804
+ };
84805
+ query?: never;
84806
+ url: "/projects/{project_id}/error-inbound-filters/{filter_id}";
84807
+ };
84808
+ export type GetErrorInboundFilterErrors = {
84809
+ /**
84810
+ * Unauthorized
84811
+ */
84812
+ 401: unknown;
84813
+ /**
84814
+ * Insufficient permissions
84815
+ */
84816
+ 403: unknown;
84817
+ /**
84818
+ * No such filter in this project
84819
+ */
84820
+ 404: unknown;
84821
+ /**
84822
+ * Internal server error
84823
+ */
84824
+ 500: unknown;
84825
+ };
84826
+ export type GetErrorInboundFilterResponses = {
84827
+ /**
84828
+ * The filter, as listed
84829
+ */
84830
+ 200: InboundFilterResponse;
84831
+ };
84832
+ export type GetErrorInboundFilterResponse = GetErrorInboundFilterResponses[keyof GetErrorInboundFilterResponses];
83801
84833
  export type UpdateErrorInboundFilterData = {
83802
84834
  body: UpdateInboundFilterRequest;
83803
84835
  path: {
@@ -85341,7 +86373,16 @@ export type ListFunnelsData = {
85341
86373
  */
85342
86374
  project_id: number;
85343
86375
  };
85344
- query?: never;
86376
+ query?: {
86377
+ /**
86378
+ * Page number, starting at 1 (default 1).
86379
+ */
86380
+ page?: number;
86381
+ /**
86382
+ * Items per page (default 20, max 100).
86383
+ */
86384
+ page_size?: number;
86385
+ };
85345
86386
  url: "/projects/{project_id}/funnels";
85346
86387
  };
85347
86388
  export type ListFunnelsErrors = {
@@ -85349,6 +86390,10 @@ export type ListFunnelsErrors = {
85349
86390
  * Unauthorized
85350
86391
  */
85351
86392
  401: unknown;
86393
+ /**
86394
+ * Insufficient permissions
86395
+ */
86396
+ 403: unknown;
85352
86397
  /**
85353
86398
  * Internal server error
85354
86399
  */
@@ -85356,9 +86401,9 @@ export type ListFunnelsErrors = {
85356
86401
  };
85357
86402
  export type ListFunnelsResponses = {
85358
86403
  /**
85359
- * Funnels retrieved successfully
86404
+ * One page of funnels, newest first
85360
86405
  */
85361
- 200: Array<FunnelResponse>;
86406
+ 200: FunnelList;
85362
86407
  };
85363
86408
  export type ListFunnelsResponse = ListFunnelsResponses[keyof ListFunnelsResponses];
85364
86409
  export type CreateFunnelData = {
@@ -85381,6 +86426,10 @@ export type CreateFunnelErrors = {
85381
86426
  * Unauthorized
85382
86427
  */
85383
86428
  401: unknown;
86429
+ /**
86430
+ * Insufficient permissions
86431
+ */
86432
+ 403: unknown;
85384
86433
  /**
85385
86434
  * Internal server error
85386
86435
  */
@@ -85388,11 +86437,11 @@ export type CreateFunnelErrors = {
85388
86437
  };
85389
86438
  export type CreateFunnelResponses = {
85390
86439
  /**
85391
- * Funnel created successfully
86440
+ * Funnel created; the body is the funnel with its steps
85392
86441
  */
85393
- 201: CreateFunnelResponse;
86442
+ 201: FunnelResponse;
85394
86443
  };
85395
- export type CreateFunnelResponse2 = CreateFunnelResponses[keyof CreateFunnelResponses];
86444
+ export type CreateFunnelResponse = CreateFunnelResponses[keyof CreateFunnelResponses];
85396
86445
  export type PreviewFunnelMetricsData = {
85397
86446
  body: CreateFunnelRequest;
85398
86447
  path: {
@@ -85449,6 +86498,10 @@ export type DeleteFunnelErrors = {
85449
86498
  * Unauthorized
85450
86499
  */
85451
86500
  401: unknown;
86501
+ /**
86502
+ * Insufficient permissions
86503
+ */
86504
+ 403: unknown;
85452
86505
  /**
85453
86506
  * Funnel not found
85454
86507
  */
@@ -85465,6 +86518,46 @@ export type DeleteFunnelResponses = {
85465
86518
  200: FunnelMessageResponse;
85466
86519
  };
85467
86520
  export type DeleteFunnelResponse = DeleteFunnelResponses[keyof DeleteFunnelResponses];
86521
+ export type GetFunnelData = {
86522
+ body?: never;
86523
+ path: {
86524
+ /**
86525
+ * Project ID
86526
+ */
86527
+ project_id: number;
86528
+ /**
86529
+ * Funnel ID
86530
+ */
86531
+ funnel_id: number;
86532
+ };
86533
+ query?: never;
86534
+ url: "/projects/{project_id}/funnels/{funnel_id}";
86535
+ };
86536
+ export type GetFunnelErrors = {
86537
+ /**
86538
+ * Unauthorized
86539
+ */
86540
+ 401: unknown;
86541
+ /**
86542
+ * Insufficient permissions
86543
+ */
86544
+ 403: unknown;
86545
+ /**
86546
+ * No active funnel with this ID in the project
86547
+ */
86548
+ 404: unknown;
86549
+ /**
86550
+ * Internal server error
86551
+ */
86552
+ 500: unknown;
86553
+ };
86554
+ export type GetFunnelResponses = {
86555
+ /**
86556
+ * The funnel with its steps
86557
+ */
86558
+ 200: FunnelResponse;
86559
+ };
86560
+ export type GetFunnelResponse = GetFunnelResponses[keyof GetFunnelResponses];
85468
86561
  export type UpdateFunnelData = {
85469
86562
  body: CreateFunnelRequest;
85470
86563
  path: {
@@ -85489,6 +86582,10 @@ export type UpdateFunnelErrors = {
85489
86582
  * Unauthorized
85490
86583
  */
85491
86584
  401: unknown;
86585
+ /**
86586
+ * Insufficient permissions
86587
+ */
86588
+ 403: unknown;
85492
86589
  /**
85493
86590
  * Funnel not found
85494
86591
  */
@@ -85500,9 +86597,9 @@ export type UpdateFunnelErrors = {
85500
86597
  };
85501
86598
  export type UpdateFunnelResponses = {
85502
86599
  /**
85503
- * Funnel updated successfully
86600
+ * Funnel updated; the body is the funnel with its steps
85504
86601
  */
85505
- 200: FunnelMessageResponse;
86602
+ 200: FunnelResponse;
85506
86603
  };
85507
86604
  export type UpdateFunnelResponse = UpdateFunnelResponses[keyof UpdateFunnelResponses];
85508
86605
  export type GetFunnelMetricsData = {
@@ -86058,6 +87155,46 @@ export type DeleteHttpCheckResponses = {
86058
87155
  */
86059
87156
  200: unknown;
86060
87157
  };
87158
+ export type GetHttpCheckData = {
87159
+ body?: never;
87160
+ path: {
87161
+ /**
87162
+ * Project ID
87163
+ */
87164
+ project_id: number;
87165
+ /**
87166
+ * Check ID
87167
+ */
87168
+ check_id: number;
87169
+ };
87170
+ query?: never;
87171
+ url: "/projects/{project_id}/http-checks/{check_id}";
87172
+ };
87173
+ export type GetHttpCheckErrors = {
87174
+ /**
87175
+ * Unauthorized
87176
+ */
87177
+ 401: unknown;
87178
+ /**
87179
+ * Forbidden
87180
+ */
87181
+ 403: unknown;
87182
+ /**
87183
+ * No check with this ID in the project
87184
+ */
87185
+ 404: unknown;
87186
+ /**
87187
+ * Internal error
87188
+ */
87189
+ 500: unknown;
87190
+ };
87191
+ export type GetHttpCheckResponses = {
87192
+ /**
87193
+ * The check, as listed (credentials are never returned)
87194
+ */
87195
+ 200: HttpCheckView;
87196
+ };
87197
+ export type GetHttpCheckResponse = GetHttpCheckResponses[keyof GetHttpCheckResponses];
86061
87198
  export type SetHttpCheckEnabledData = {
86062
87199
  body: SetHttpCheckEnabled;
86063
87200
  path: {
@@ -87511,15 +88648,66 @@ export type UpdateMcpErrors = {
87511
88648
  * Unauthorized
87512
88649
  */
87513
88650
  401: unknown;
88651
+ /**
88652
+ * Insufficient permissions
88653
+ */
88654
+ 403: unknown;
87514
88655
  /**
87515
88656
  * MCP server not found
87516
88657
  */
87517
88658
  404: unknown;
88659
+ /**
88660
+ * Internal server error
88661
+ */
88662
+ 500: unknown;
87518
88663
  };
87519
88664
  export type UpdateMcpResponses = {
88665
+ /**
88666
+ * Updated definition
88667
+ */
87520
88668
  200: McpDefinitionResponse;
87521
88669
  };
87522
88670
  export type UpdateMcpResponse = UpdateMcpResponses[keyof UpdateMcpResponses];
88671
+ export type UpdateMcpPutData = {
88672
+ body: UpdateMcpRequest;
88673
+ path: {
88674
+ /**
88675
+ * Project ID
88676
+ */
88677
+ project_id: number;
88678
+ /**
88679
+ * MCP server slug
88680
+ */
88681
+ slug: string;
88682
+ };
88683
+ query?: never;
88684
+ url: "/projects/{project_id}/mcp-servers/{slug}";
88685
+ };
88686
+ export type UpdateMcpPutErrors = {
88687
+ /**
88688
+ * Unauthorized
88689
+ */
88690
+ 401: unknown;
88691
+ /**
88692
+ * Insufficient permissions
88693
+ */
88694
+ 403: unknown;
88695
+ /**
88696
+ * MCP server not found
88697
+ */
88698
+ 404: unknown;
88699
+ /**
88700
+ * Internal server error
88701
+ */
88702
+ 500: unknown;
88703
+ };
88704
+ export type UpdateMcpPutResponses = {
88705
+ /**
88706
+ * Updated definition
88707
+ */
88708
+ 200: McpDefinitionResponse;
88709
+ };
88710
+ export type UpdateMcpPutResponse = UpdateMcpPutResponses[keyof UpdateMcpPutResponses];
87523
88711
  export type RevealMcpConfigData = {
87524
88712
  body?: never;
87525
88713
  path: {
@@ -88865,13 +90053,29 @@ export type ListProjectSecretsData = {
88865
90053
  };
88866
90054
  query?: {
88867
90055
  /**
88868
- * Optional environment filter
90056
+ * Only secrets attached to this environment
88869
90057
  */
88870
90058
  environment_id?: number;
90059
+ /**
90060
+ * Page number, starting at 1 (default 1)
90061
+ */
90062
+ page?: number;
90063
+ /**
90064
+ * Items per page (default 20, max 100)
90065
+ */
90066
+ page_size?: number;
88871
90067
  };
88872
90068
  url: "/projects/{project_id}/secrets";
88873
90069
  };
88874
90070
  export type ListProjectSecretsErrors = {
90071
+ /**
90072
+ * Unauthorized
90073
+ */
90074
+ 401: unknown;
90075
+ /**
90076
+ * Insufficient permissions
90077
+ */
90078
+ 403: unknown;
88875
90079
  /**
88876
90080
  * Project not found
88877
90081
  */
@@ -88883,9 +90087,9 @@ export type ListProjectSecretsErrors = {
88883
90087
  };
88884
90088
  export type ListProjectSecretsResponses = {
88885
90089
  /**
88886
- * List of secrets (metadata only, no values)
90090
+ * One page of secrets (metadata only, no values), newest first
88887
90091
  */
88888
- 200: Array<ProjectSecretResponse>;
90092
+ 200: ProjectSecretList;
88889
90093
  };
88890
90094
  export type ListProjectSecretsResponse = ListProjectSecretsResponses[keyof ListProjectSecretsResponses];
88891
90095
  export type CreateProjectSecretData = {
@@ -88952,6 +90156,46 @@ export type DeleteProjectSecretResponses = {
88952
90156
  204: void;
88953
90157
  };
88954
90158
  export type DeleteProjectSecretResponse = DeleteProjectSecretResponses[keyof DeleteProjectSecretResponses];
90159
+ export type GetProjectSecretData = {
90160
+ body?: never;
90161
+ path: {
90162
+ /**
90163
+ * Project ID
90164
+ */
90165
+ project_id: number;
90166
+ /**
90167
+ * Secret ID
90168
+ */
90169
+ secret_id: number;
90170
+ };
90171
+ query?: never;
90172
+ url: "/projects/{project_id}/secrets/{secret_id}";
90173
+ };
90174
+ export type GetProjectSecretErrors = {
90175
+ /**
90176
+ * Unauthorized
90177
+ */
90178
+ 401: unknown;
90179
+ /**
90180
+ * Insufficient permissions
90181
+ */
90182
+ 403: unknown;
90183
+ /**
90184
+ * No secret with this ID in the project
90185
+ */
90186
+ 404: unknown;
90187
+ /**
90188
+ * Internal server error
90189
+ */
90190
+ 500: unknown;
90191
+ };
90192
+ export type GetProjectSecretResponses = {
90193
+ /**
90194
+ * The secret's metadata, without its value
90195
+ */
90196
+ 200: ProjectSecretResponse;
90197
+ };
90198
+ export type GetProjectSecretResponse = GetProjectSecretResponses[keyof GetProjectSecretResponses];
88955
90199
  export type UpdateProjectSecretData = {
88956
90200
  body: UpdateProjectSecretRequest;
88957
90201
  path: {
@@ -88969,13 +90213,17 @@ export type UpdateProjectSecretData = {
88969
90213
  };
88970
90214
  export type UpdateProjectSecretErrors = {
88971
90215
  /**
88972
- * Value too large
90216
+ * Value too large or an invalid compose service name
88973
90217
  */
88974
90218
  400: unknown;
88975
90219
  /**
88976
- * Secret not found
90220
+ * The secret, or a requested environment, was not found in the project
88977
90221
  */
88978
90222
  404: unknown;
90223
+ /**
90224
+ * Another secret with the same key already applies to one of the requested environments
90225
+ */
90226
+ 409: unknown;
88979
90227
  /**
88980
90228
  * Internal server error
88981
90229
  */
@@ -89293,7 +90541,7 @@ export type ListProjectShieldEntriesErrors = {
89293
90541
  export type ListProjectShieldEntriesError = ListProjectShieldEntriesErrors[keyof ListProjectShieldEntriesErrors];
89294
90542
  export type ListProjectShieldEntriesResponses = {
89295
90543
  /**
89296
- * The project's entries, newest first
90544
+ * Every entry of the project (at most 500, newest first)
89297
90545
  */
89298
90546
  200: Array<ShieldEntryResponse>;
89299
90547
  };
@@ -89384,6 +90632,47 @@ export type DeleteProjectShieldEntryResponses = {
89384
90632
  204: void;
89385
90633
  };
89386
90634
  export type DeleteProjectShieldEntryResponse = DeleteProjectShieldEntryResponses[keyof DeleteProjectShieldEntryResponses];
90635
+ export type GetProjectShieldEntryData = {
90636
+ body?: never;
90637
+ path: {
90638
+ /**
90639
+ * Project ID
90640
+ */
90641
+ project_id: number;
90642
+ /**
90643
+ * Entry ID
90644
+ */
90645
+ entry_id: number;
90646
+ };
90647
+ query?: never;
90648
+ url: "/projects/{project_id}/shield/entries/{entry_id}";
90649
+ };
90650
+ export type GetProjectShieldEntryErrors = {
90651
+ /**
90652
+ * Unauthorized
90653
+ */
90654
+ 401: ProblemDetails;
90655
+ /**
90656
+ * Insufficient permissions
90657
+ */
90658
+ 403: ProblemDetails;
90659
+ /**
90660
+ * Entry not found in this project
90661
+ */
90662
+ 404: ProblemDetails;
90663
+ /**
90664
+ * Internal server error
90665
+ */
90666
+ 500: ProblemDetails;
90667
+ };
90668
+ export type GetProjectShieldEntryError = GetProjectShieldEntryErrors[keyof GetProjectShieldEntryErrors];
90669
+ export type GetProjectShieldEntryResponses = {
90670
+ /**
90671
+ * The entry, as listed
90672
+ */
90673
+ 200: ShieldEntryResponse;
90674
+ };
90675
+ export type GetProjectShieldEntryResponse = GetProjectShieldEntryResponses[keyof GetProjectShieldEntryResponses];
89387
90676
  export type UpdateProjectShieldEntryData = {
89388
90677
  body: UpdateShieldEntryRequest;
89389
90678
  path: {
@@ -89573,15 +90862,66 @@ export type UpdateSkillErrors = {
89573
90862
  * Unauthorized
89574
90863
  */
89575
90864
  401: unknown;
90865
+ /**
90866
+ * Insufficient permissions
90867
+ */
90868
+ 403: unknown;
89576
90869
  /**
89577
90870
  * Skill not found
89578
90871
  */
89579
90872
  404: unknown;
90873
+ /**
90874
+ * Internal server error
90875
+ */
90876
+ 500: unknown;
89580
90877
  };
89581
90878
  export type UpdateSkillResponses = {
90879
+ /**
90880
+ * Updated definition
90881
+ */
89582
90882
  200: SkillDefinitionResponse;
89583
90883
  };
89584
90884
  export type UpdateSkillResponse = UpdateSkillResponses[keyof UpdateSkillResponses];
90885
+ export type UpdateSkillPutData = {
90886
+ body: UpdateSkillRequest;
90887
+ path: {
90888
+ /**
90889
+ * Project ID
90890
+ */
90891
+ project_id: number;
90892
+ /**
90893
+ * Skill slug
90894
+ */
90895
+ slug: string;
90896
+ };
90897
+ query?: never;
90898
+ url: "/projects/{project_id}/skills/{slug}";
90899
+ };
90900
+ export type UpdateSkillPutErrors = {
90901
+ /**
90902
+ * Unauthorized
90903
+ */
90904
+ 401: unknown;
90905
+ /**
90906
+ * Insufficient permissions
90907
+ */
90908
+ 403: unknown;
90909
+ /**
90910
+ * Skill not found
90911
+ */
90912
+ 404: unknown;
90913
+ /**
90914
+ * Internal server error
90915
+ */
90916
+ 500: unknown;
90917
+ };
90918
+ export type UpdateSkillPutResponses = {
90919
+ /**
90920
+ * Updated definition
90921
+ */
90922
+ 200: SkillDefinitionResponse;
90923
+ };
90924
+ export type UpdateSkillPutResponse = UpdateSkillPutResponses[keyof UpdateSkillPutResponses];
89585
90925
  export type DownloadSkillArchiveData = {
89586
90926
  body?: never;
89587
90927
  path: {
@@ -91975,6 +93315,71 @@ export type GetRepositoryPresetByNameResponses = {
91975
93315
  200: RepositoryPresetResponse;
91976
93316
  };
91977
93317
  export type GetRepositoryPresetByNameResponse = GetRepositoryPresetByNameResponses[keyof GetRepositoryPresetByNameResponses];
93318
+ export type GetRepositoryBranchData = {
93319
+ body?: never;
93320
+ path: {
93321
+ /**
93322
+ * Repository owner
93323
+ */
93324
+ owner: string;
93325
+ /**
93326
+ * Repository name
93327
+ */
93328
+ repo: string;
93329
+ };
93330
+ query: {
93331
+ /**
93332
+ * Git provider connection ID (required when multiple connections have the same repo)
93333
+ */
93334
+ connection_id: number;
93335
+ /**
93336
+ * Exact branch name to look up
93337
+ */
93338
+ name: string;
93339
+ };
93340
+ url: "/repositories/{owner}/{repo}/branch";
93341
+ };
93342
+ export type GetRepositoryBranchErrors = {
93343
+ /**
93344
+ * Empty branch name
93345
+ */
93346
+ 400: unknown;
93347
+ /**
93348
+ * Unauthorized
93349
+ */
93350
+ 401: unknown;
93351
+ /**
93352
+ * Git provider permission required
93353
+ */
93354
+ 403: unknown;
93355
+ /**
93356
+ * Repository or branch not found
93357
+ */
93358
+ 404: unknown;
93359
+ /**
93360
+ * The connection must be reauthorized
93361
+ */
93362
+ 409: unknown;
93363
+ /**
93364
+ * Branch lookup rate limit exceeded
93365
+ */
93366
+ 429: unknown;
93367
+ /**
93368
+ * Internal server error
93369
+ */
93370
+ 500: unknown;
93371
+ /**
93372
+ * Git provider request failed, or the repository could not be read to confirm a missing branch
93373
+ */
93374
+ 502: unknown;
93375
+ };
93376
+ export type GetRepositoryBranchResponses = {
93377
+ /**
93378
+ * The branch
93379
+ */
93380
+ 200: BranchInfo;
93381
+ };
93382
+ export type GetRepositoryBranchResponse = GetRepositoryBranchResponses[keyof GetRepositoryBranchResponses];
91978
93383
  export type GetRepositoryBranchesData = {
91979
93384
  body?: never;
91980
93385
  path: {
@@ -92813,7 +94218,7 @@ export type GetSettingsResponses = {
92813
94218
  };
92814
94219
  export type GetSettingsResponse = GetSettingsResponses[keyof GetSettingsResponses];
92815
94220
  export type UpdateSettingsData = {
92816
- body: AppSettingsWritable;
94221
+ body: UpdateSettingsRequestWritable;
92817
94222
  path?: never;
92818
94223
  query?: never;
92819
94224
  url: "/settings";
@@ -92827,6 +94232,10 @@ export type UpdateSettingsErrors = {
92827
94232
  * Unauthorized
92828
94233
  */
92829
94234
  401: unknown;
94235
+ /**
94236
+ * `expected_revision` is stale (the settings changed since they were read), or the public ingress hostname is in use; nothing was saved
94237
+ */
94238
+ 409: unknown;
92830
94239
  /**
92831
94240
  * Internal server error
92832
94241
  */
@@ -93040,6 +94449,12 @@ export type GetAiProviderHarnessUpdateData = {
93040
94449
  * Look inside the workspace again instead of returning the cached check.
93041
94450
  */
93042
94451
  refresh?: boolean;
94452
+ /**
94453
+ * Return only what was last read, never looking inside the workspace
94454
+ * (which could create or wake it). Not checked yet: every version field
94455
+ * and `checked_at` are null. Ignored when `refresh` is set.
94456
+ */
94457
+ cached_only?: boolean;
93043
94458
  };
93044
94459
  url: "/settings/ai-providers/{provider_id}/harness-update";
93045
94460
  };
@@ -93863,15 +95278,62 @@ export type UpdateGlobalMcpErrors = {
93863
95278
  * Unauthorized
93864
95279
  */
93865
95280
  401: unknown;
95281
+ /**
95282
+ * Insufficient permissions
95283
+ */
95284
+ 403: unknown;
93866
95285
  /**
93867
95286
  * MCP server not found
93868
95287
  */
93869
95288
  404: unknown;
95289
+ /**
95290
+ * Internal server error
95291
+ */
95292
+ 500: unknown;
93870
95293
  };
93871
95294
  export type UpdateGlobalMcpResponses = {
95295
+ /**
95296
+ * Updated definition
95297
+ */
93872
95298
  200: McpDefinitionResponse;
93873
95299
  };
93874
95300
  export type UpdateGlobalMcpResponse = UpdateGlobalMcpResponses[keyof UpdateGlobalMcpResponses];
95301
+ export type UpdateGlobalMcpPutData = {
95302
+ body: UpdateMcpRequest;
95303
+ path: {
95304
+ /**
95305
+ * MCP server slug
95306
+ */
95307
+ slug: string;
95308
+ };
95309
+ query?: never;
95310
+ url: "/settings/mcp-servers/{slug}";
95311
+ };
95312
+ export type UpdateGlobalMcpPutErrors = {
95313
+ /**
95314
+ * Unauthorized
95315
+ */
95316
+ 401: unknown;
95317
+ /**
95318
+ * Insufficient permissions
95319
+ */
95320
+ 403: unknown;
95321
+ /**
95322
+ * MCP server not found
95323
+ */
95324
+ 404: unknown;
95325
+ /**
95326
+ * Internal server error
95327
+ */
95328
+ 500: unknown;
95329
+ };
95330
+ export type UpdateGlobalMcpPutResponses = {
95331
+ /**
95332
+ * Updated definition
95333
+ */
95334
+ 200: McpDefinitionResponse;
95335
+ };
95336
+ export type UpdateGlobalMcpPutResponse = UpdateGlobalMcpPutResponses[keyof UpdateGlobalMcpPutResponses];
93875
95337
  export type RevealGlobalMcpConfigData = {
93876
95338
  body?: never;
93877
95339
  path: {
@@ -94211,7 +95673,7 @@ export type ListPlatformShieldEntriesErrors = {
94211
95673
  export type ListPlatformShieldEntriesError = ListPlatformShieldEntriesErrors[keyof ListPlatformShieldEntriesErrors];
94212
95674
  export type ListPlatformShieldEntriesResponses = {
94213
95675
  /**
94214
- * Platform entries, newest first
95676
+ * Every platform entry (at most 500, newest first)
94215
95677
  */
94216
95678
  200: Array<ShieldEntryResponse>;
94217
95679
  };
@@ -94289,6 +95751,43 @@ export type DeletePlatformShieldEntryResponses = {
94289
95751
  204: void;
94290
95752
  };
94291
95753
  export type DeletePlatformShieldEntryResponse = DeletePlatformShieldEntryResponses[keyof DeletePlatformShieldEntryResponses];
95754
+ export type GetPlatformShieldEntryData = {
95755
+ body?: never;
95756
+ path: {
95757
+ /**
95758
+ * Entry ID
95759
+ */
95760
+ entry_id: number;
95761
+ };
95762
+ query?: never;
95763
+ url: "/settings/shield/entries/{entry_id}";
95764
+ };
95765
+ export type GetPlatformShieldEntryErrors = {
95766
+ /**
95767
+ * Unauthorized
95768
+ */
95769
+ 401: ProblemDetails;
95770
+ /**
95771
+ * Insufficient permissions
95772
+ */
95773
+ 403: ProblemDetails;
95774
+ /**
95775
+ * Entry not found
95776
+ */
95777
+ 404: ProblemDetails;
95778
+ /**
95779
+ * Internal server error
95780
+ */
95781
+ 500: ProblemDetails;
95782
+ };
95783
+ export type GetPlatformShieldEntryError = GetPlatformShieldEntryErrors[keyof GetPlatformShieldEntryErrors];
95784
+ export type GetPlatformShieldEntryResponses = {
95785
+ /**
95786
+ * The entry, as listed
95787
+ */
95788
+ 200: ShieldEntryResponse;
95789
+ };
95790
+ export type GetPlatformShieldEntryResponse = GetPlatformShieldEntryResponses[keyof GetPlatformShieldEntryResponses];
94292
95791
  export type UpdatePlatformShieldEntryData = {
94293
95792
  body: UpdateShieldEntryRequest;
94294
95793
  path: {
@@ -94571,15 +96070,62 @@ export type UpdateGlobalSkillErrors = {
94571
96070
  * Unauthorized
94572
96071
  */
94573
96072
  401: unknown;
96073
+ /**
96074
+ * Insufficient permissions
96075
+ */
96076
+ 403: unknown;
94574
96077
  /**
94575
96078
  * Skill not found
94576
96079
  */
94577
96080
  404: unknown;
96081
+ /**
96082
+ * Internal server error
96083
+ */
96084
+ 500: unknown;
94578
96085
  };
94579
96086
  export type UpdateGlobalSkillResponses = {
96087
+ /**
96088
+ * Updated definition
96089
+ */
94580
96090
  200: SkillDefinitionResponse;
94581
96091
  };
94582
96092
  export type UpdateGlobalSkillResponse = UpdateGlobalSkillResponses[keyof UpdateGlobalSkillResponses];
96093
+ export type UpdateGlobalSkillPutData = {
96094
+ body: UpdateSkillRequest;
96095
+ path: {
96096
+ /**
96097
+ * Skill slug
96098
+ */
96099
+ slug: string;
96100
+ };
96101
+ query?: never;
96102
+ url: "/settings/skills/{slug}";
96103
+ };
96104
+ export type UpdateGlobalSkillPutErrors = {
96105
+ /**
96106
+ * Unauthorized
96107
+ */
96108
+ 401: unknown;
96109
+ /**
96110
+ * Insufficient permissions
96111
+ */
96112
+ 403: unknown;
96113
+ /**
96114
+ * Skill not found
96115
+ */
96116
+ 404: unknown;
96117
+ /**
96118
+ * Internal server error
96119
+ */
96120
+ 500: unknown;
96121
+ };
96122
+ export type UpdateGlobalSkillPutResponses = {
96123
+ /**
96124
+ * Updated definition
96125
+ */
96126
+ 200: SkillDefinitionResponse;
96127
+ };
96128
+ export type UpdateGlobalSkillPutResponse = UpdateGlobalSkillPutResponses[keyof UpdateGlobalSkillPutResponses];
94583
96129
  export type DownloadGlobalSkillArchiveData = {
94584
96130
  body?: never;
94585
96131
  path: {
@@ -95964,6 +97510,46 @@ export type DeleteStatusPageWebhookResponses = {
95964
97510
  204: void;
95965
97511
  };
95966
97512
  export type DeleteStatusPageWebhookResponse = DeleteStatusPageWebhookResponses[keyof DeleteStatusPageWebhookResponses];
97513
+ export type GetStatusPageWebhookData = {
97514
+ body?: never;
97515
+ path: {
97516
+ /**
97517
+ * Status page ID
97518
+ */
97519
+ status_page_id: number;
97520
+ /**
97521
+ * Webhook ID
97522
+ */
97523
+ webhook_id: number;
97524
+ };
97525
+ query?: never;
97526
+ url: "/status-pages/{status_page_id}/webhooks/{webhook_id}";
97527
+ };
97528
+ export type GetStatusPageWebhookErrors = {
97529
+ /**
97530
+ * Unauthorized
97531
+ */
97532
+ 401: unknown;
97533
+ /**
97534
+ * Insufficient permissions
97535
+ */
97536
+ 403: unknown;
97537
+ /**
97538
+ * Status page or webhook not found
97539
+ */
97540
+ 404: unknown;
97541
+ /**
97542
+ * Internal server error
97543
+ */
97544
+ 500: unknown;
97545
+ };
97546
+ export type GetStatusPageWebhookResponses = {
97547
+ /**
97548
+ * The webhook
97549
+ */
97550
+ 200: StatusPageWebhookResponse;
97551
+ };
97552
+ export type GetStatusPageWebhookResponse = GetStatusPageWebhookResponses[keyof GetStatusPageWebhookResponses];
95967
97553
  export type UpdateStatusPageWebhookData = {
95968
97554
  body: UpdateStatusPageWebhookRequest;
95969
97555
  path: {
@@ -96781,6 +98367,40 @@ export type RemoveTeamMemberResponses = {
96781
98367
  204: void;
96782
98368
  };
96783
98369
  export type RemoveTeamMemberResponse = RemoveTeamMemberResponses[keyof RemoveTeamMemberResponses];
98370
+ export type GetTeamMemberData = {
98371
+ body?: never;
98372
+ path: {
98373
+ team_id: number;
98374
+ user_id: number;
98375
+ };
98376
+ query?: never;
98377
+ url: "/teams/{team_id}/members/{user_id}";
98378
+ };
98379
+ export type GetTeamMemberErrors = {
98380
+ /**
98381
+ * Unauthorized
98382
+ */
98383
+ 401: unknown;
98384
+ /**
98385
+ * Insufficient permissions
98386
+ */
98387
+ 403: unknown;
98388
+ /**
98389
+ * The user is not a member of the team
98390
+ */
98391
+ 404: unknown;
98392
+ /**
98393
+ * Internal server error
98394
+ */
98395
+ 500: unknown;
98396
+ };
98397
+ export type GetTeamMemberResponses = {
98398
+ /**
98399
+ * The membership
98400
+ */
98401
+ 200: TeamMemberResponse;
98402
+ };
98403
+ export type GetTeamMemberResponse = GetTeamMemberResponses[keyof GetTeamMemberResponses];
96784
98404
  export type UpdateTeamMemberRoleData = {
96785
98405
  body: UpdateMemberRoleRequest;
96786
98406
  path: {
@@ -97471,6 +99091,42 @@ export type DeleteUserResponses = {
97471
99091
  204: void;
97472
99092
  };
97473
99093
  export type DeleteUserResponse = DeleteUserResponses[keyof DeleteUserResponses];
99094
+ export type GetUserData = {
99095
+ body?: never;
99096
+ path: {
99097
+ /**
99098
+ * User ID
99099
+ */
99100
+ user_id: number;
99101
+ };
99102
+ query?: never;
99103
+ url: "/users/{user_id}";
99104
+ };
99105
+ export type GetUserErrors = {
99106
+ /**
99107
+ * Unauthorized
99108
+ */
99109
+ 401: unknown;
99110
+ /**
99111
+ * Insufficient permissions
99112
+ */
99113
+ 403: unknown;
99114
+ /**
99115
+ * User not found
99116
+ */
99117
+ 404: unknown;
99118
+ /**
99119
+ * Internal server error
99120
+ */
99121
+ 500: unknown;
99122
+ };
99123
+ export type GetUserResponses = {
99124
+ /**
99125
+ * The user and their roles
99126
+ */
99127
+ 200: RouteUserWithRoles;
99128
+ };
99129
+ export type GetUserResponse = GetUserResponses[keyof GetUserResponses];
97474
99130
  export type UpdateUserData = {
97475
99131
  body: UpdateUserRequest;
97476
99132
  path: {
@@ -97652,7 +99308,7 @@ export type AssignRoleData = {
97652
99308
  };
97653
99309
  export type AssignRoleErrors = {
97654
99310
  /**
97655
- * Invalid role type
99311
+ * Invalid role type, or a deprecated body user_id that differs from the path
97656
99312
  */
97657
99313
  400: unknown;
97658
99314
  /**
@@ -97674,10 +99330,11 @@ export type AssignRoleErrors = {
97674
99330
  };
97675
99331
  export type AssignRoleResponses = {
97676
99332
  /**
97677
- * Role assigned successfully
99333
+ * Role assigned; the user and all of its roles
97678
99334
  */
97679
- 200: unknown;
99335
+ 200: RouteUserWithRoles;
97680
99336
  };
99337
+ export type AssignRoleResponse = AssignRoleResponses[keyof AssignRoleResponses];
97681
99338
  export type RemoveRoleData = {
97682
99339
  body?: never;
97683
99340
  path: {