@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.
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +224 -15
- package/dist/index.js.map +1 -1
- package/dist/sdk.gen.d.ts +163 -18
- package/dist/sdk.gen.d.ts.map +1 -1
- package/dist/sdk.gen.js +340 -32
- package/dist/sdk.gen.js.map +1 -1
- package/dist/types.gen.d.ts +1831 -174
- package/dist/types.gen.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +140 -1
- package/src/sdk.gen.ts +655 -32
- package/src/types.gen.ts +1975 -175
package/src/types.gen.ts
CHANGED
|
@@ -255,18 +255,18 @@ export type AcmeOrderResponse = {
|
|
|
255
255
|
authorizations?: unknown;
|
|
256
256
|
certificate_url?: string | null;
|
|
257
257
|
challenge_validation?: ChallengeValidationStatus | null;
|
|
258
|
-
created_at:
|
|
258
|
+
created_at: string;
|
|
259
259
|
domain_id: number;
|
|
260
260
|
email: string;
|
|
261
261
|
error?: string | null;
|
|
262
262
|
error_type?: string | null;
|
|
263
|
-
expires_at?:
|
|
263
|
+
expires_at?: string | null;
|
|
264
264
|
finalize_url?: string | null;
|
|
265
265
|
id: number;
|
|
266
266
|
identifiers: unknown;
|
|
267
267
|
order_url: string;
|
|
268
268
|
status: string;
|
|
269
|
-
updated_at:
|
|
269
|
+
updated_at: string;
|
|
270
270
|
};
|
|
271
271
|
|
|
272
272
|
export type ActionKind =
|
|
@@ -2138,6 +2138,28 @@ export type AnalyticsIngestKey = {
|
|
|
2138
2138
|
updated_at: string;
|
|
2139
2139
|
};
|
|
2140
2140
|
|
|
2141
|
+
/**
|
|
2142
|
+
* One page of a project's analytics ingest keys, newest first.
|
|
2143
|
+
*/
|
|
2144
|
+
export type AnalyticsIngestKeyList = {
|
|
2145
|
+
/**
|
|
2146
|
+
* The items on this page.
|
|
2147
|
+
*/
|
|
2148
|
+
items: Array<AnalyticsIngestKey>;
|
|
2149
|
+
/**
|
|
2150
|
+
* The page served, starting at 1.
|
|
2151
|
+
*/
|
|
2152
|
+
page: number;
|
|
2153
|
+
/**
|
|
2154
|
+
* The page size served (at most 100).
|
|
2155
|
+
*/
|
|
2156
|
+
page_size: number;
|
|
2157
|
+
/**
|
|
2158
|
+
* Items across all pages.
|
|
2159
|
+
*/
|
|
2160
|
+
total: number;
|
|
2161
|
+
};
|
|
2162
|
+
|
|
2141
2163
|
export type AnalyticsProjectOption = {
|
|
2142
2164
|
project_id: number;
|
|
2143
2165
|
project_name: string;
|
|
@@ -3073,6 +3095,12 @@ export type AppSettingsResponse = {
|
|
|
3073
3095
|
* at password login (bherila/temps#32). SSO/OIDC logins are unaffected.
|
|
3074
3096
|
*/
|
|
3075
3097
|
require_mfa_for_admins: boolean;
|
|
3098
|
+
/**
|
|
3099
|
+
* Revision of these settings. Send it back as `expected_revision` when
|
|
3100
|
+
* saving, so a save made by someone else since this read is not
|
|
3101
|
+
* silently reverted.
|
|
3102
|
+
*/
|
|
3103
|
+
revision: string;
|
|
3076
3104
|
screenshots: ScreenshotSettings;
|
|
3077
3105
|
security_headers: SecurityHeadersSettings;
|
|
3078
3106
|
/**
|
|
@@ -3142,7 +3170,10 @@ export type ApplicationGitConnectionsResponse = {
|
|
|
3142
3170
|
};
|
|
3143
3171
|
|
|
3144
3172
|
export type ApplicationPreviewLinkResponse = {
|
|
3145
|
-
|
|
3173
|
+
/**
|
|
3174
|
+
* When the link stops working, ISO 8601 in UTC.
|
|
3175
|
+
*/
|
|
3176
|
+
expires_at: string;
|
|
3146
3177
|
/**
|
|
3147
3178
|
* A short-lived authenticated URL. Its fragment carries the grant and
|
|
3148
3179
|
* never reaches the development server or referrer headers.
|
|
@@ -3481,9 +3512,19 @@ export type AssetCachePurgeResponse = {
|
|
|
3481
3512
|
deleted: number;
|
|
3482
3513
|
};
|
|
3483
3514
|
|
|
3515
|
+
/**
|
|
3516
|
+
* Body of `POST /users/{user_id}/roles`. The target user comes from the
|
|
3517
|
+
* path; the body names only the role.
|
|
3518
|
+
*/
|
|
3484
3519
|
export type AssignRoleRequest = {
|
|
3485
3520
|
role_type: string;
|
|
3486
|
-
|
|
3521
|
+
/**
|
|
3522
|
+
* Deprecated: the target is the path's `user_id`. Still accepted for
|
|
3523
|
+
* older clients, but only when it equals the path id (otherwise 400).
|
|
3524
|
+
*
|
|
3525
|
+
* @deprecated
|
|
3526
|
+
*/
|
|
3527
|
+
user_id?: number | null;
|
|
3487
3528
|
};
|
|
3488
3529
|
|
|
3489
3530
|
/**
|
|
@@ -3740,9 +3781,9 @@ export type AuditLogIpInfo = {
|
|
|
3740
3781
|
*/
|
|
3741
3782
|
export type AuditLogResponse = {
|
|
3742
3783
|
/**
|
|
3743
|
-
* When the action occurred
|
|
3784
|
+
* When the action occurred, ISO 8601 in UTC
|
|
3744
3785
|
*/
|
|
3745
|
-
audit_date:
|
|
3786
|
+
audit_date: string;
|
|
3746
3787
|
/**
|
|
3747
3788
|
* Additional context about the action
|
|
3748
3789
|
*/
|
|
@@ -3821,7 +3862,7 @@ export type AuthStatusResponse = {
|
|
|
3821
3862
|
|
|
3822
3863
|
export type AuthTokenResponse = {
|
|
3823
3864
|
access_token: string;
|
|
3824
|
-
expires_at:
|
|
3865
|
+
expires_at: string;
|
|
3825
3866
|
refresh_token: string;
|
|
3826
3867
|
};
|
|
3827
3868
|
|
|
@@ -4205,6 +4246,28 @@ export type BackupExecutorSettings = {
|
|
|
4205
4246
|
max_concurrent?: number;
|
|
4206
4247
|
};
|
|
4207
4248
|
|
|
4249
|
+
/**
|
|
4250
|
+
* One page of a schedule's backups, newest first.
|
|
4251
|
+
*/
|
|
4252
|
+
export type BackupList = {
|
|
4253
|
+
/**
|
|
4254
|
+
* The items on this page.
|
|
4255
|
+
*/
|
|
4256
|
+
items: Array<BackupResponse>;
|
|
4257
|
+
/**
|
|
4258
|
+
* The page served, starting at 1.
|
|
4259
|
+
*/
|
|
4260
|
+
page: number;
|
|
4261
|
+
/**
|
|
4262
|
+
* The page size served (at most 100).
|
|
4263
|
+
*/
|
|
4264
|
+
page_size: number;
|
|
4265
|
+
/**
|
|
4266
|
+
* Items across all pages.
|
|
4267
|
+
*/
|
|
4268
|
+
total: number;
|
|
4269
|
+
};
|
|
4270
|
+
|
|
4208
4271
|
/**
|
|
4209
4272
|
* Response type for backup
|
|
4210
4273
|
*/
|
|
@@ -4217,7 +4280,7 @@ export type BackupResponse = {
|
|
|
4217
4280
|
backup_id: string;
|
|
4218
4281
|
backup_type: string;
|
|
4219
4282
|
checksum?: string | null;
|
|
4220
|
-
completed_at?:
|
|
4283
|
+
completed_at?: string | null;
|
|
4221
4284
|
compression_type: string;
|
|
4222
4285
|
created_by: number;
|
|
4223
4286
|
/**
|
|
@@ -4227,7 +4290,7 @@ export type BackupResponse = {
|
|
|
4227
4290
|
*/
|
|
4228
4291
|
current_step?: string | null;
|
|
4229
4292
|
error_message?: string | null;
|
|
4230
|
-
expires_at?:
|
|
4293
|
+
expires_at?: string | null;
|
|
4231
4294
|
external_service?: ExternalServiceSummary | null;
|
|
4232
4295
|
file_count?: number | null;
|
|
4233
4296
|
id: number;
|
|
@@ -4257,7 +4320,7 @@ export type BackupResponse = {
|
|
|
4257
4320
|
* Final size of the backup once completed. Null while running.
|
|
4258
4321
|
*/
|
|
4259
4322
|
size_bytes?: number | null;
|
|
4260
|
-
started_at:
|
|
4323
|
+
started_at: string;
|
|
4261
4324
|
state: string;
|
|
4262
4325
|
tags: Array<string>;
|
|
4263
4326
|
};
|
|
@@ -4267,7 +4330,7 @@ export type BackupResponse = {
|
|
|
4267
4330
|
*/
|
|
4268
4331
|
export type BackupScheduleResponse = {
|
|
4269
4332
|
backup_type: string;
|
|
4270
|
-
created_at:
|
|
4333
|
+
created_at: string;
|
|
4271
4334
|
description?: string | null;
|
|
4272
4335
|
enabled: boolean;
|
|
4273
4336
|
id: number;
|
|
@@ -4277,14 +4340,14 @@ export type BackupScheduleResponse = {
|
|
|
4277
4340
|
* fan-out happens.
|
|
4278
4341
|
*/
|
|
4279
4342
|
include_control_plane: boolean;
|
|
4280
|
-
last_run?:
|
|
4343
|
+
last_run?: string | null;
|
|
4281
4344
|
/**
|
|
4282
4345
|
* Per-schedule wall-clock timeout override for backup jobs (seconds).
|
|
4283
4346
|
* `null` means the default of four hours (14400 seconds) is used.
|
|
4284
4347
|
*/
|
|
4285
4348
|
max_runtime_secs?: number | null;
|
|
4286
4349
|
name: string;
|
|
4287
|
-
next_run?:
|
|
4350
|
+
next_run?: string | null;
|
|
4288
4351
|
retention_period: number;
|
|
4289
4352
|
s3_source_id: number;
|
|
4290
4353
|
schedule_expression: string;
|
|
@@ -4295,7 +4358,7 @@ export type BackupScheduleResponse = {
|
|
|
4295
4358
|
* targets services attached via `backup_schedule_services`.
|
|
4296
4359
|
*/
|
|
4297
4360
|
target_all_services: boolean;
|
|
4298
|
-
updated_at:
|
|
4361
|
+
updated_at: string;
|
|
4299
4362
|
};
|
|
4300
4363
|
|
|
4301
4364
|
/**
|
|
@@ -4530,6 +4593,15 @@ export type BranchInfo = {
|
|
|
4530
4593
|
|
|
4531
4594
|
export type BranchListResponse = {
|
|
4532
4595
|
branches: Array<BranchInfo>;
|
|
4596
|
+
/**
|
|
4597
|
+
* Whether the git provider's safety cap stopped the listing before the
|
|
4598
|
+
* repository ran out of branches. When `true`, `branches` is a prefix of
|
|
4599
|
+
* the repository's branches and a name missing from it may still exist:
|
|
4600
|
+
* clients must verify such a name with the single-branch lookup
|
|
4601
|
+
* (`GET repositories/{owner}/{repo}/branch`) instead of reporting it
|
|
4602
|
+
* missing.
|
|
4603
|
+
*/
|
|
4604
|
+
truncated: boolean;
|
|
4533
4605
|
};
|
|
4534
4606
|
|
|
4535
4607
|
/**
|
|
@@ -5183,9 +5255,9 @@ export type CertFailureCause =
|
|
|
5183
5255
|
*/
|
|
5184
5256
|
export type CertStatusResponse = {
|
|
5185
5257
|
/**
|
|
5186
|
-
* On-demand negative-cache deadline (
|
|
5258
|
+
* On-demand negative-cache deadline (ISO 8601, UTC), when in backoff.
|
|
5187
5259
|
*/
|
|
5188
|
-
backoff_until?:
|
|
5260
|
+
backoff_until?: string | null;
|
|
5189
5261
|
/**
|
|
5190
5262
|
* SNI hostname.
|
|
5191
5263
|
*/
|
|
@@ -8869,13 +8941,31 @@ export type CreateAnalyticsIngestKeyRequest = {
|
|
|
8869
8941
|
|
|
8870
8942
|
export type CreateApiKeyRequest = {
|
|
8871
8943
|
environment_id?: number | null;
|
|
8944
|
+
/**
|
|
8945
|
+
* When the key stops working. Must be in the future. Defaults to one
|
|
8946
|
+
* year after creation when left out: API keys always expire.
|
|
8947
|
+
*/
|
|
8872
8948
|
expires_at?: string | null;
|
|
8949
|
+
/**
|
|
8950
|
+
* Up to 255 characters, unique among the caller's keys. Surrounding
|
|
8951
|
+
* whitespace is trimmed; a blank name is refused.
|
|
8952
|
+
*/
|
|
8873
8953
|
name: string;
|
|
8954
|
+
/**
|
|
8955
|
+
* The key's permissions, required with `role_type: custom`. Any other
|
|
8956
|
+
* role carries its own: a non-empty list with it is refused, while an
|
|
8957
|
+
* empty list or none gives the role's permissions. Fixed once the key is
|
|
8958
|
+
* created.
|
|
8959
|
+
*/
|
|
8874
8960
|
permissions?: Array<string> | null;
|
|
8875
8961
|
/**
|
|
8876
8962
|
* Immutable optional deployment resource scope.
|
|
8877
8963
|
*/
|
|
8878
8964
|
project_id?: number | null;
|
|
8965
|
+
/**
|
|
8966
|
+
* A predefined role (`admin`, `platform_admin`, `user`, `reader`,
|
|
8967
|
+
* `api_reader`) or `custom` for an explicit permission list.
|
|
8968
|
+
*/
|
|
8879
8969
|
role_type: string;
|
|
8880
8970
|
};
|
|
8881
8971
|
|
|
@@ -9154,18 +9244,29 @@ export type CreateDeliveryProfileRequest = {
|
|
|
9154
9244
|
|
|
9155
9245
|
export type CreateDeploymentTokenRequest = {
|
|
9156
9246
|
/**
|
|
9157
|
-
* Optional deployment
|
|
9247
|
+
* Optional deployment of this project (and of `environment_id`, when
|
|
9248
|
+
* set) - if set, token is scoped to a specific deployment.
|
|
9158
9249
|
*/
|
|
9159
9250
|
deployment_id?: number | null;
|
|
9160
9251
|
/**
|
|
9161
|
-
* Optional environment
|
|
9252
|
+
* Optional environment of this project - if not set, token applies to
|
|
9253
|
+
* all environments. An environment of another project is refused.
|
|
9162
9254
|
*/
|
|
9163
9255
|
environment_id?: number | null;
|
|
9256
|
+
/**
|
|
9257
|
+
* When the token stops working. Must be in the future; leave it out for
|
|
9258
|
+
* a token that does not expire.
|
|
9259
|
+
*/
|
|
9164
9260
|
expires_at?: string | null;
|
|
9261
|
+
/**
|
|
9262
|
+
* Up to 255 characters, unique within the project. Surrounding
|
|
9263
|
+
* whitespace is trimmed; a blank name is refused.
|
|
9264
|
+
*/
|
|
9165
9265
|
name: string;
|
|
9166
9266
|
/**
|
|
9167
|
-
* List of permissions (e.g., ["visitors:enrich", "emails:send"])
|
|
9168
|
-
* If not provided, defaults to full access
|
|
9267
|
+
* List of permissions (e.g., ["visitors:enrich", "emails:send"]).
|
|
9268
|
+
* If not provided, defaults to full access (`["*"]`). An empty list is
|
|
9269
|
+
* refused: the token could do nothing.
|
|
9169
9270
|
*/
|
|
9170
9271
|
permissions?: Array<string> | null;
|
|
9171
9272
|
};
|
|
@@ -9235,7 +9336,9 @@ export type CreateEdgeRuleRequest = {
|
|
|
9235
9336
|
*/
|
|
9236
9337
|
name?: string | null;
|
|
9237
9338
|
/**
|
|
9238
|
-
* Where to insert the rule
|
|
9339
|
+
* Where to insert the rule: 0 is first, and the number of rules the
|
|
9340
|
+
* project has is after the last one. Defaults to the end. A position
|
|
9341
|
+
* outside that range is refused.
|
|
9239
9342
|
*/
|
|
9240
9343
|
position?: number | null;
|
|
9241
9344
|
};
|
|
@@ -9416,11 +9519,6 @@ export type CreateFunnelRequest = {
|
|
|
9416
9519
|
steps: Array<CreateFunnelStep>;
|
|
9417
9520
|
};
|
|
9418
9521
|
|
|
9419
|
-
export type CreateFunnelResponse = {
|
|
9420
|
-
funnel_id: number;
|
|
9421
|
-
message: string;
|
|
9422
|
-
};
|
|
9423
|
-
|
|
9424
9522
|
export type CreateFunnelStep = {
|
|
9425
9523
|
event_filter?: Array<SmartFilter>;
|
|
9426
9524
|
event_name: string;
|
|
@@ -10330,6 +10428,12 @@ export type CreateRepositoryRequest = {
|
|
|
10330
10428
|
|
|
10331
10429
|
export type CreateRouteRequest = {
|
|
10332
10430
|
domain: string;
|
|
10431
|
+
/**
|
|
10432
|
+
* Whether the route serves traffic as soon as it is created. Defaults
|
|
10433
|
+
* to `true`; send `false` to create the route disabled and enable it
|
|
10434
|
+
* later with `PUT /lb/routes/{domain}`.
|
|
10435
|
+
*/
|
|
10436
|
+
enabled?: boolean | null;
|
|
10333
10437
|
host: string;
|
|
10334
10438
|
port: number;
|
|
10335
10439
|
/**
|
|
@@ -10620,6 +10724,11 @@ export type CreateStatusPageRequest = {
|
|
|
10620
10724
|
};
|
|
10621
10725
|
|
|
10622
10726
|
export type CreateStatusPageWebhookRequest = {
|
|
10727
|
+
/**
|
|
10728
|
+
* Whether events are posted to it (default `true`). A webhook created
|
|
10729
|
+
* switched off receives nothing until it is enabled.
|
|
10730
|
+
*/
|
|
10731
|
+
enabled?: boolean;
|
|
10623
10732
|
/**
|
|
10624
10733
|
* `https://` URL with a public address, at most 2048 characters.
|
|
10625
10734
|
*/
|
|
@@ -11119,13 +11228,13 @@ export type CustomDomainRequest = {
|
|
|
11119
11228
|
|
|
11120
11229
|
export type CustomDomainResponse = {
|
|
11121
11230
|
branch?: string | null;
|
|
11122
|
-
created_at:
|
|
11231
|
+
created_at: string;
|
|
11123
11232
|
domain: string;
|
|
11124
11233
|
domain_id?: number | null;
|
|
11125
11234
|
environment?: DomainEnvironmentResponse | null;
|
|
11126
|
-
expiration_time?:
|
|
11235
|
+
expiration_time?: string | null;
|
|
11127
11236
|
id: number;
|
|
11128
|
-
last_renewed?:
|
|
11237
|
+
last_renewed?: string | null;
|
|
11129
11238
|
message?: string | null;
|
|
11130
11239
|
project_id: number;
|
|
11131
11240
|
redirect_to?: string | null;
|
|
@@ -11135,7 +11244,7 @@ export type CustomDomainResponse = {
|
|
|
11135
11244
|
service_name?: string | null;
|
|
11136
11245
|
status: string;
|
|
11137
11246
|
status_code?: number | null;
|
|
11138
|
-
updated_at:
|
|
11247
|
+
updated_at: string;
|
|
11139
11248
|
};
|
|
11140
11249
|
|
|
11141
11250
|
export type CustomerMovementResponse = {
|
|
@@ -12079,7 +12188,7 @@ export type DeploymentConfiguration = {
|
|
|
12079
12188
|
* A single captured container-log dump, including its full text content.
|
|
12080
12189
|
*/
|
|
12081
12190
|
export type DeploymentContainerLogContentResponse = {
|
|
12082
|
-
captured_at:
|
|
12191
|
+
captured_at: string;
|
|
12083
12192
|
container_name: string;
|
|
12084
12193
|
/**
|
|
12085
12194
|
* The captured plain-text log content.
|
|
@@ -12097,10 +12206,9 @@ export type DeploymentContainerLogContentResponse = {
|
|
|
12097
12206
|
*/
|
|
12098
12207
|
export type DeploymentContainerLogResponse = {
|
|
12099
12208
|
/**
|
|
12100
|
-
*
|
|
12101
|
-
* teardown). Matches the timestamp convention used by `DeploymentResponse`.
|
|
12209
|
+
* When the logs were captured (just before teardown), ISO 8601 in UTC.
|
|
12102
12210
|
*/
|
|
12103
|
-
captured_at:
|
|
12211
|
+
captured_at: string;
|
|
12104
12212
|
container_id: string;
|
|
12105
12213
|
container_name: string;
|
|
12106
12214
|
deployment_id: number;
|
|
@@ -12258,13 +12366,13 @@ export type DeploymentFailureStage =
|
|
|
12258
12366
|
| "unknown";
|
|
12259
12367
|
|
|
12260
12368
|
export type DeploymentJobResponse = {
|
|
12261
|
-
created_at:
|
|
12369
|
+
created_at: string;
|
|
12262
12370
|
dependencies?: unknown;
|
|
12263
12371
|
deployment_id: number;
|
|
12264
12372
|
description?: string | null;
|
|
12265
12373
|
error_message?: string | null;
|
|
12266
12374
|
execution_order?: number | null;
|
|
12267
|
-
finished_at?:
|
|
12375
|
+
finished_at?: string | null;
|
|
12268
12376
|
id: number;
|
|
12269
12377
|
/**
|
|
12270
12378
|
* Internal workflow configuration is intentionally redacted. It can
|
|
@@ -12276,9 +12384,9 @@ export type DeploymentJobResponse = {
|
|
|
12276
12384
|
log_id: string;
|
|
12277
12385
|
name: string;
|
|
12278
12386
|
outputs?: unknown;
|
|
12279
|
-
started_at?:
|
|
12387
|
+
started_at?: string | null;
|
|
12280
12388
|
status: string;
|
|
12281
|
-
updated_at:
|
|
12389
|
+
updated_at: string;
|
|
12282
12390
|
};
|
|
12283
12391
|
|
|
12284
12392
|
export type DeploymentJobsResponse = {
|
|
@@ -12466,15 +12574,15 @@ export type DeploymentResponse = {
|
|
|
12466
12574
|
branch?: string | null;
|
|
12467
12575
|
cancelled_reason?: string | null;
|
|
12468
12576
|
commit_author?: string | null;
|
|
12469
|
-
commit_date?:
|
|
12577
|
+
commit_date?: string | null;
|
|
12470
12578
|
commit_hash?: string | null;
|
|
12471
12579
|
commit_message?: string | null;
|
|
12472
|
-
created_at:
|
|
12580
|
+
created_at: string;
|
|
12473
12581
|
deployment_config?: DeploymentConfigSnapshot | null;
|
|
12474
12582
|
environment: DeploymentEnvironmentResponse;
|
|
12475
12583
|
environment_id: number;
|
|
12476
12584
|
failure?: DeploymentFailureInfo | null;
|
|
12477
|
-
finished_at?:
|
|
12585
|
+
finished_at?: string | null;
|
|
12478
12586
|
id: number;
|
|
12479
12587
|
/**
|
|
12480
12588
|
* The `USER` the image declares, as written (`nodejs`, `10001:10001`).
|
|
@@ -12495,7 +12603,7 @@ export type DeploymentResponse = {
|
|
|
12495
12603
|
*/
|
|
12496
12604
|
runs_as_root?: boolean;
|
|
12497
12605
|
screenshot_location?: string | null;
|
|
12498
|
-
started_at?:
|
|
12606
|
+
started_at?: string | null;
|
|
12499
12607
|
status: string;
|
|
12500
12608
|
tag?: string | null;
|
|
12501
12609
|
url: string;
|
|
@@ -14099,25 +14207,25 @@ export type DomainResponse = {
|
|
|
14099
14207
|
* The PEM-encoded certificate chain (can be displayed in browser or downloaded)
|
|
14100
14208
|
*/
|
|
14101
14209
|
certificate?: string | null;
|
|
14102
|
-
created_at:
|
|
14210
|
+
created_at: string;
|
|
14103
14211
|
dns_challenge_token?: string | null;
|
|
14104
14212
|
dns_challenge_value?: string | null;
|
|
14105
14213
|
domain: string;
|
|
14106
|
-
expiration_time?:
|
|
14214
|
+
expiration_time?: string | null;
|
|
14107
14215
|
failure_cause?: CertFailureCause | null;
|
|
14108
14216
|
id: number;
|
|
14109
14217
|
is_wildcard: boolean;
|
|
14110
14218
|
last_error?: string | null;
|
|
14111
14219
|
last_error_type?: string | null;
|
|
14112
|
-
last_renewed?:
|
|
14220
|
+
last_renewed?: string | null;
|
|
14113
14221
|
/**
|
|
14114
|
-
* On-demand TLS negative-cache deadline (
|
|
14222
|
+
* On-demand TLS negative-cache deadline (ISO 8601, UTC), when this hostname's
|
|
14115
14223
|
* on-demand HTTP-01 issuance is in backoff after a failure (ADR-018 §4).
|
|
14116
14224
|
* `None` means no active backoff.
|
|
14117
14225
|
*/
|
|
14118
|
-
on_demand_backoff_until?:
|
|
14226
|
+
on_demand_backoff_until?: string | null;
|
|
14119
14227
|
status: string;
|
|
14120
|
-
updated_at:
|
|
14228
|
+
updated_at: string;
|
|
14121
14229
|
verification_method: string;
|
|
14122
14230
|
};
|
|
14123
14231
|
|
|
@@ -15251,7 +15359,7 @@ export type EnvironmentDeliveryOverride = {
|
|
|
15251
15359
|
};
|
|
15252
15360
|
|
|
15253
15361
|
export type EnvironmentDomainResponse = {
|
|
15254
|
-
created_at:
|
|
15362
|
+
created_at: string;
|
|
15255
15363
|
domain: string;
|
|
15256
15364
|
environment_id: number;
|
|
15257
15365
|
id: number;
|
|
@@ -15377,14 +15485,14 @@ export type EnvironmentResponse = {
|
|
|
15377
15485
|
*/
|
|
15378
15486
|
attack_mode?: boolean | null;
|
|
15379
15487
|
branch?: string | null;
|
|
15380
|
-
created_at:
|
|
15488
|
+
created_at: string;
|
|
15381
15489
|
current_deployment_id?: number | null;
|
|
15382
15490
|
deployment_config?: DeploymentConfig | null;
|
|
15383
15491
|
/**
|
|
15384
|
-
* Estimated time (
|
|
15492
|
+
* Estimated time (ISO 8601, UTC) when the environment will go to sleep
|
|
15385
15493
|
* based on last activity + idle timeout. NULL when sleeping or on-demand disabled.
|
|
15386
15494
|
*/
|
|
15387
|
-
estimated_sleep_at?:
|
|
15495
|
+
estimated_sleep_at?: string | null;
|
|
15388
15496
|
/**
|
|
15389
15497
|
* Per-environment HTTP→HTTPS redirect override.
|
|
15390
15498
|
* `null` means inherit the proxy default (redirect only when the host has
|
|
@@ -15400,10 +15508,10 @@ export type EnvironmentResponse = {
|
|
|
15400
15508
|
*/
|
|
15401
15509
|
is_preview: boolean;
|
|
15402
15510
|
/**
|
|
15403
|
-
* Last proxied request
|
|
15511
|
+
* Last proxied request time (ISO 8601, UTC) for on-demand environments.
|
|
15404
15512
|
* NULL when on-demand is disabled or no traffic has been received yet.
|
|
15405
15513
|
*/
|
|
15406
|
-
last_activity_at?:
|
|
15514
|
+
last_activity_at?: string | null;
|
|
15407
15515
|
main_url: string;
|
|
15408
15516
|
name: string;
|
|
15409
15517
|
/**
|
|
@@ -15439,7 +15547,7 @@ export type EnvironmentResponse = {
|
|
|
15439
15547
|
* this via the rename-subdomain endpoint, not the full URL.
|
|
15440
15548
|
*/
|
|
15441
15549
|
subdomain: string;
|
|
15442
|
-
updated_at:
|
|
15550
|
+
updated_at: string;
|
|
15443
15551
|
};
|
|
15444
15552
|
|
|
15445
15553
|
/**
|
|
@@ -15474,7 +15582,7 @@ export type EnvironmentVariableInfo = {
|
|
|
15474
15582
|
};
|
|
15475
15583
|
|
|
15476
15584
|
export type EnvironmentVariableResponse = {
|
|
15477
|
-
created_at:
|
|
15585
|
+
created_at: string;
|
|
15478
15586
|
environments: Array<EnvironmentInfo>;
|
|
15479
15587
|
id: number;
|
|
15480
15588
|
/**
|
|
@@ -15488,7 +15596,7 @@ export type EnvironmentVariableResponse = {
|
|
|
15488
15596
|
is_secret: boolean;
|
|
15489
15597
|
key: string;
|
|
15490
15598
|
secret_suggestion?: SecretSuggestionResponse | null;
|
|
15491
|
-
updated_at:
|
|
15599
|
+
updated_at: string;
|
|
15492
15600
|
/**
|
|
15493
15601
|
* Plaintext for regular variables in create/update responses, or `"***"`
|
|
15494
15602
|
* in list responses. Always `None` for marked secrets. Only regular
|
|
@@ -17562,7 +17670,29 @@ export type FullRequest = {
|
|
|
17562
17670
|
};
|
|
17563
17671
|
|
|
17564
17672
|
/**
|
|
17565
|
-
*
|
|
17673
|
+
* One page of a project's active funnels, newest first.
|
|
17674
|
+
*/
|
|
17675
|
+
export type FunnelList = {
|
|
17676
|
+
/**
|
|
17677
|
+
* The items on this page.
|
|
17678
|
+
*/
|
|
17679
|
+
items: Array<FunnelResponse>;
|
|
17680
|
+
/**
|
|
17681
|
+
* The page served, starting at 1.
|
|
17682
|
+
*/
|
|
17683
|
+
page: number;
|
|
17684
|
+
/**
|
|
17685
|
+
* The page size served (at most 100).
|
|
17686
|
+
*/
|
|
17687
|
+
page_size: number;
|
|
17688
|
+
/**
|
|
17689
|
+
* Items across all pages.
|
|
17690
|
+
*/
|
|
17691
|
+
total: number;
|
|
17692
|
+
};
|
|
17693
|
+
|
|
17694
|
+
/**
|
|
17695
|
+
* Acknowledges a funnel delete.
|
|
17566
17696
|
*/
|
|
17567
17697
|
export type FunnelMessageResponse = {
|
|
17568
17698
|
message: string;
|
|
@@ -17577,15 +17707,40 @@ export type FunnelMetricsResponse = {
|
|
|
17577
17707
|
total_entries: number;
|
|
17578
17708
|
};
|
|
17579
17709
|
|
|
17710
|
+
/**
|
|
17711
|
+
* A funnel and its steps.
|
|
17712
|
+
*/
|
|
17580
17713
|
export type FunnelResponse = {
|
|
17581
17714
|
created_at: string;
|
|
17582
17715
|
description?: string | null;
|
|
17583
17716
|
id: number;
|
|
17584
17717
|
is_active: boolean;
|
|
17585
17718
|
name: string;
|
|
17719
|
+
project_id: number;
|
|
17720
|
+
/**
|
|
17721
|
+
* The steps a visitor goes through, in order.
|
|
17722
|
+
*/
|
|
17723
|
+
steps: Array<FunnelStepResponse>;
|
|
17586
17724
|
updated_at: string;
|
|
17587
17725
|
};
|
|
17588
17726
|
|
|
17727
|
+
/**
|
|
17728
|
+
* One step of a funnel, as it was written.
|
|
17729
|
+
*/
|
|
17730
|
+
export type FunnelStepResponse = {
|
|
17731
|
+
/**
|
|
17732
|
+
* The filters the step matches events with (empty: every event of
|
|
17733
|
+
* `event_name`).
|
|
17734
|
+
*/
|
|
17735
|
+
event_filter: Array<SmartFilter>;
|
|
17736
|
+
event_name: string;
|
|
17737
|
+
id: number;
|
|
17738
|
+
/**
|
|
17739
|
+
* Position of the step in the funnel, starting at 1.
|
|
17740
|
+
*/
|
|
17741
|
+
order: number;
|
|
17742
|
+
};
|
|
17743
|
+
|
|
17589
17744
|
/**
|
|
17590
17745
|
* Who may sign in to a Temps-gated address besides being able to see the
|
|
17591
17746
|
* project (ADR 065 D7): stored in `gate_allow`. Empty lists mean no list.
|
|
@@ -18344,6 +18499,14 @@ export type GetOrCreateDsnRequest = {
|
|
|
18344
18499
|
|
|
18345
18500
|
export type GetProjectSecretsQuery = {
|
|
18346
18501
|
environment_id?: number | null;
|
|
18502
|
+
/**
|
|
18503
|
+
* Page number, starting at 1 (default 1).
|
|
18504
|
+
*/
|
|
18505
|
+
page?: number | null;
|
|
18506
|
+
/**
|
|
18507
|
+
* Items per page (default 20, max 100).
|
|
18508
|
+
*/
|
|
18509
|
+
page_size?: number | null;
|
|
18347
18510
|
};
|
|
18348
18511
|
|
|
18349
18512
|
export type GetProjectSessionReplaysQuery = {
|
|
@@ -18379,7 +18542,13 @@ export type GetRequest = {
|
|
|
18379
18542
|
*/
|
|
18380
18543
|
export type GetResponse = {
|
|
18381
18544
|
/**
|
|
18382
|
-
*
|
|
18545
|
+
* Whether the key exists, so a stored JSON `null` is not mistaken for a
|
|
18546
|
+
* missing key
|
|
18547
|
+
*/
|
|
18548
|
+
exists: boolean;
|
|
18549
|
+
/**
|
|
18550
|
+
* The value, or null if not found. A stored JSON `null` is also null
|
|
18551
|
+
* here; `exists` tells the two apart.
|
|
18383
18552
|
*/
|
|
18384
18553
|
value?: unknown;
|
|
18385
18554
|
};
|
|
@@ -20943,6 +21112,28 @@ export type IncidentResponse = {
|
|
|
20943
21112
|
updated_at: string;
|
|
20944
21113
|
};
|
|
20945
21114
|
|
|
21115
|
+
/**
|
|
21116
|
+
* One page of an incident's updates, newest first.
|
|
21117
|
+
*/
|
|
21118
|
+
export type IncidentUpdateList = {
|
|
21119
|
+
/**
|
|
21120
|
+
* The items on this page.
|
|
21121
|
+
*/
|
|
21122
|
+
items: Array<IncidentUpdateResponse>;
|
|
21123
|
+
/**
|
|
21124
|
+
* The page served, starting at 1.
|
|
21125
|
+
*/
|
|
21126
|
+
page: number;
|
|
21127
|
+
/**
|
|
21128
|
+
* The page size served (at most 100).
|
|
21129
|
+
*/
|
|
21130
|
+
page_size: number;
|
|
21131
|
+
/**
|
|
21132
|
+
* Items across all pages.
|
|
21133
|
+
*/
|
|
21134
|
+
total: number;
|
|
21135
|
+
};
|
|
21136
|
+
|
|
20946
21137
|
export type IncidentUpdateResponse = {
|
|
20947
21138
|
created_at: string;
|
|
20948
21139
|
id: number;
|
|
@@ -23656,11 +23847,6 @@ export type MetricsRangeQuery = {
|
|
|
23656
23847
|
* Metric name, e.g. `"pg.connections_active"`.
|
|
23657
23848
|
*/
|
|
23658
23849
|
metric: string;
|
|
23659
|
-
/**
|
|
23660
|
-
* Optional histogram percentile (0–100). When provided, the endpoint
|
|
23661
|
-
* fetches histogram buckets and computes the requested quantile.
|
|
23662
|
-
*/
|
|
23663
|
-
percentile?: number | null;
|
|
23664
23850
|
/**
|
|
23665
23851
|
* Time window: `"1h"` | `"6h"` | `"24h"` | `"7d"`.
|
|
23666
23852
|
* Ignored when `start_time` and `end_time` are both set.
|
|
@@ -23902,6 +24088,39 @@ export type MiscResult = {
|
|
|
23902
24088
|
is_role_account: boolean;
|
|
23903
24089
|
};
|
|
23904
24090
|
|
|
24091
|
+
/**
|
|
24092
|
+
* A database a linked project reads that the backup does not have, while
|
|
24093
|
+
* the backup has databases no linked project reads.
|
|
24094
|
+
*/
|
|
24095
|
+
export type MissingLinkedDatabase = {
|
|
24096
|
+
/**
|
|
24097
|
+
* How the link picks its database: `project_environment`, `project`
|
|
24098
|
+
* or `custom`.
|
|
24099
|
+
*/
|
|
24100
|
+
database_provisioning_mode: DatabaseProvisioningMode;
|
|
24101
|
+
/**
|
|
24102
|
+
* `None` when every environment of the project reads the database.
|
|
24103
|
+
*/
|
|
24104
|
+
environment_name?: string | null;
|
|
24105
|
+
/**
|
|
24106
|
+
* Environments of the project that would all read one database once
|
|
24107
|
+
* the link is pointed at a restored one.
|
|
24108
|
+
*/
|
|
24109
|
+
environment_names: Array<string>;
|
|
24110
|
+
/**
|
|
24111
|
+
* The database the project's apps receive.
|
|
24112
|
+
*/
|
|
24113
|
+
expected_database: string;
|
|
24114
|
+
project_id: number;
|
|
24115
|
+
project_name: string;
|
|
24116
|
+
project_slug: string;
|
|
24117
|
+
/**
|
|
24118
|
+
* The unused restored database that most likely holds this project's
|
|
24119
|
+
* data, when one stands out.
|
|
24120
|
+
*/
|
|
24121
|
+
suggested_database?: string | null;
|
|
24122
|
+
};
|
|
24123
|
+
|
|
23905
24124
|
export type MkdirBody = {
|
|
23906
24125
|
path: string;
|
|
23907
24126
|
};
|
|
@@ -23938,9 +24157,12 @@ export type ModelCatalogEntry = {
|
|
|
23938
24157
|
provider: string;
|
|
23939
24158
|
release_date?: string | null;
|
|
23940
24159
|
source_url: string;
|
|
23941
|
-
supports_reasoning
|
|
23942
|
-
|
|
23943
|
-
|
|
24160
|
+
supports_reasoning?: boolean | null;
|
|
24161
|
+
/**
|
|
24162
|
+
* `null` when the catalog does not say.
|
|
24163
|
+
*/
|
|
24164
|
+
supports_tools?: boolean | null;
|
|
24165
|
+
supports_vision?: boolean | null;
|
|
23944
24166
|
};
|
|
23945
24167
|
|
|
23946
24168
|
/**
|
|
@@ -24762,6 +24984,36 @@ export type NodeBackend = {
|
|
|
24762
24984
|
reason?: string | null;
|
|
24763
24985
|
};
|
|
24764
24986
|
|
|
24987
|
+
/**
|
|
24988
|
+
* A worker's effective build limits.
|
|
24989
|
+
*/
|
|
24990
|
+
export type NodeBuildLimitsResponse = {
|
|
24991
|
+
/**
|
|
24992
|
+
* How long a build may run, in seconds.
|
|
24993
|
+
*/
|
|
24994
|
+
build_timeout_seconds: number;
|
|
24995
|
+
/**
|
|
24996
|
+
* Builds the node runs at once.
|
|
24997
|
+
*/
|
|
24998
|
+
concurrency: number;
|
|
24999
|
+
/**
|
|
25000
|
+
* True when no limits were saved for the node, so these are the
|
|
25001
|
+
* defaults (and follow a future change of them).
|
|
25002
|
+
*/
|
|
25003
|
+
is_default: boolean;
|
|
25004
|
+
node_id: number;
|
|
25005
|
+
/**
|
|
25006
|
+
* How long a build may wait for a free slot, in seconds.
|
|
25007
|
+
*/
|
|
25008
|
+
queue_wait_seconds: number;
|
|
25009
|
+
/**
|
|
25010
|
+
* Revision of the stored limits. Send it back as `expected_revision`
|
|
25011
|
+
* when saving, so a save made by someone else since this read is not
|
|
25012
|
+
* silently reverted.
|
|
25013
|
+
*/
|
|
25014
|
+
revision: string;
|
|
25015
|
+
};
|
|
25016
|
+
|
|
24765
25017
|
/**
|
|
24766
25018
|
* Whether this installation can run a workload anywhere, and if not, why.
|
|
24767
25019
|
*/
|
|
@@ -25051,6 +25303,11 @@ export type NodeInfoResponse = {
|
|
|
25051
25303
|
*/
|
|
25052
25304
|
architecture?: string | null;
|
|
25053
25305
|
build_limits: BuildLimits;
|
|
25306
|
+
/**
|
|
25307
|
+
* Revision of `build_limits`, to send as `expected_revision` when
|
|
25308
|
+
* saving them (`PUT /internal/nodes/{node_id}/build-limits`).
|
|
25309
|
+
*/
|
|
25310
|
+
build_limits_revision: string;
|
|
25054
25311
|
/**
|
|
25055
25312
|
* Resource capacity/usage metrics from the latest heartbeat
|
|
25056
25313
|
*/
|
|
@@ -25548,23 +25805,23 @@ export type NotificationPreferencesResponse = {
|
|
|
25548
25805
|
|
|
25549
25806
|
export type NotificationProviderResponse = {
|
|
25550
25807
|
config: unknown;
|
|
25551
|
-
created_at:
|
|
25808
|
+
created_at: string;
|
|
25552
25809
|
enabled: boolean;
|
|
25553
25810
|
id: number;
|
|
25554
25811
|
name: string;
|
|
25555
25812
|
provider_type: string;
|
|
25556
|
-
updated_at:
|
|
25813
|
+
updated_at: string;
|
|
25557
25814
|
};
|
|
25558
25815
|
|
|
25559
25816
|
export type NotificationRoute = {
|
|
25560
|
-
created_at:
|
|
25817
|
+
created_at: string;
|
|
25561
25818
|
enabled: boolean;
|
|
25562
25819
|
id: number;
|
|
25563
25820
|
max_severity: string;
|
|
25564
25821
|
min_severity: string;
|
|
25565
25822
|
name: string;
|
|
25566
25823
|
provider_ids: Array<number>;
|
|
25567
|
-
updated_at:
|
|
25824
|
+
updated_at: string;
|
|
25568
25825
|
};
|
|
25569
25826
|
|
|
25570
25827
|
export type NotificationRoutePage = {
|
|
@@ -25805,6 +26062,29 @@ export type OidcProviderSummary = {
|
|
|
25805
26062
|
template: string;
|
|
25806
26063
|
};
|
|
25807
26064
|
|
|
26065
|
+
/**
|
|
26066
|
+
* One page of the users who sign in through an OIDC provider, newest
|
|
26067
|
+
* first.
|
|
26068
|
+
*/
|
|
26069
|
+
export type OidcProviderUserList = {
|
|
26070
|
+
/**
|
|
26071
|
+
* The items on this page.
|
|
26072
|
+
*/
|
|
26073
|
+
items: Array<OidcProviderUserResponse>;
|
|
26074
|
+
/**
|
|
26075
|
+
* The page served, starting at 1.
|
|
26076
|
+
*/
|
|
26077
|
+
page: number;
|
|
26078
|
+
/**
|
|
26079
|
+
* The page size served (at most 100).
|
|
26080
|
+
*/
|
|
26081
|
+
page_size: number;
|
|
26082
|
+
/**
|
|
26083
|
+
* Items across all pages.
|
|
26084
|
+
*/
|
|
26085
|
+
total: number;
|
|
26086
|
+
};
|
|
26087
|
+
|
|
25808
26088
|
/**
|
|
25809
26089
|
* A user that has logged in via a given OIDC provider. Used by the
|
|
25810
26090
|
* admin "Users for provider" panel — the `oidc_subject` is the
|
|
@@ -25861,9 +26141,9 @@ export type OnDemandCertAttemptResponse = {
|
|
|
25861
26141
|
*/
|
|
25862
26142
|
challenge_served?: boolean | null;
|
|
25863
26143
|
/**
|
|
25864
|
-
* When the attempt was recorded (
|
|
26144
|
+
* When the attempt was recorded (ISO 8601, UTC).
|
|
25865
26145
|
*/
|
|
25866
|
-
created_at:
|
|
26146
|
+
created_at: string;
|
|
25867
26147
|
/**
|
|
25868
26148
|
* End-to-end issuance duration in milliseconds (0/None for skipped).
|
|
25869
26149
|
*/
|
|
@@ -25904,13 +26184,13 @@ export type OnDemandCertRow = {
|
|
|
25904
26184
|
*/
|
|
25905
26185
|
attempt: OnDemandCertAttemptResponse;
|
|
25906
26186
|
/**
|
|
25907
|
-
* On-demand negative-cache deadline (
|
|
26187
|
+
* On-demand negative-cache deadline (ISO 8601, UTC), when in backoff.
|
|
25908
26188
|
*/
|
|
25909
|
-
backoff_until?:
|
|
26189
|
+
backoff_until?: string | null;
|
|
25910
26190
|
/**
|
|
25911
|
-
* Certificate expiration (
|
|
26191
|
+
* Certificate expiration (ISO 8601, UTC), when an active cert exists.
|
|
25912
26192
|
*/
|
|
25913
|
-
expiration_time?:
|
|
26193
|
+
expiration_time?: string | null;
|
|
25914
26194
|
/**
|
|
25915
26195
|
* SNI hostname.
|
|
25916
26196
|
*/
|
|
@@ -28585,9 +28865,9 @@ export type PreviewShareLinkBody = {
|
|
|
28585
28865
|
|
|
28586
28866
|
export type PreviewShareLinkResponse = {
|
|
28587
28867
|
/**
|
|
28588
|
-
*
|
|
28868
|
+
* When the link stops working, ISO 8601 in UTC.
|
|
28589
28869
|
*/
|
|
28590
|
-
expires_at:
|
|
28870
|
+
expires_at: string;
|
|
28591
28871
|
/**
|
|
28592
28872
|
* The full link. Its fragment contains the grant and must be treated as a
|
|
28593
28873
|
* credential; URL fragments are not sent to servers or in Referer headers.
|
|
@@ -29281,7 +29561,7 @@ export type ProjectResponse = {
|
|
|
29281
29561
|
* true exactly when `shield_mode` is `attack`.
|
|
29282
29562
|
*/
|
|
29283
29563
|
attack_mode: boolean;
|
|
29284
|
-
created_at:
|
|
29564
|
+
created_at: string;
|
|
29285
29565
|
/**
|
|
29286
29566
|
* ADR-027 Phase 3 opt-out: when false, this project's traces are suppressed
|
|
29287
29567
|
* from cross-project discovery results. Default true (consistent with the
|
|
@@ -29356,7 +29636,7 @@ export type ProjectResponse = {
|
|
|
29356
29636
|
* not imply that an incompletely configured repository is public.
|
|
29357
29637
|
*/
|
|
29358
29638
|
is_public_repo: boolean;
|
|
29359
|
-
last_deployment?:
|
|
29639
|
+
last_deployment?: string | null;
|
|
29360
29640
|
/**
|
|
29361
29641
|
* This project's container log ingestion budget in KiB/s. Absent = the
|
|
29362
29642
|
* platform default; 0 = unlimited.
|
|
@@ -29428,7 +29708,7 @@ export type ProjectResponse = {
|
|
|
29428
29708
|
* source-build controls.
|
|
29429
29709
|
*/
|
|
29430
29710
|
template_slug?: string | null;
|
|
29431
|
-
updated_at:
|
|
29711
|
+
updated_at: string;
|
|
29432
29712
|
/**
|
|
29433
29713
|
* Opt-in Trivy vulnerability scanning of this project's deployed Docker
|
|
29434
29714
|
* images. Off by default — project owners explicitly enable it.
|
|
@@ -29442,6 +29722,28 @@ export type ProjectSecretEnvironmentInfo = {
|
|
|
29442
29722
|
name: string;
|
|
29443
29723
|
};
|
|
29444
29724
|
|
|
29725
|
+
/**
|
|
29726
|
+
* One page of a project's secrets (metadata only), newest first.
|
|
29727
|
+
*/
|
|
29728
|
+
export type ProjectSecretList = {
|
|
29729
|
+
/**
|
|
29730
|
+
* The items on this page.
|
|
29731
|
+
*/
|
|
29732
|
+
items: Array<ProjectSecretResponse>;
|
|
29733
|
+
/**
|
|
29734
|
+
* The page served, starting at 1.
|
|
29735
|
+
*/
|
|
29736
|
+
page: number;
|
|
29737
|
+
/**
|
|
29738
|
+
* The page size served (at most 100).
|
|
29739
|
+
*/
|
|
29740
|
+
page_size: number;
|
|
29741
|
+
/**
|
|
29742
|
+
* Items across all pages.
|
|
29743
|
+
*/
|
|
29744
|
+
total: number;
|
|
29745
|
+
};
|
|
29746
|
+
|
|
29445
29747
|
/**
|
|
29446
29748
|
* Project secret metadata. There is deliberately no `value` field — secret
|
|
29447
29749
|
* plaintext is never returned after creation. Callers that need the value
|
|
@@ -29453,13 +29755,13 @@ export type ProjectSecretResponse = {
|
|
|
29453
29755
|
* service in the stack.
|
|
29454
29756
|
*/
|
|
29455
29757
|
compose_services: Array<string>;
|
|
29456
|
-
created_at:
|
|
29758
|
+
created_at: string;
|
|
29457
29759
|
environments: Array<ProjectSecretEnvironmentInfo>;
|
|
29458
29760
|
id: number;
|
|
29459
29761
|
include_in_preview: boolean;
|
|
29460
29762
|
key: string;
|
|
29461
29763
|
project_id: number;
|
|
29462
|
-
updated_at:
|
|
29764
|
+
updated_at: string;
|
|
29463
29765
|
};
|
|
29464
29766
|
|
|
29465
29767
|
export type ProjectServiceInfo = {
|
|
@@ -30530,6 +30832,11 @@ export type PublicIngressSettings = {
|
|
|
30530
30832
|
* Configured public address; `None` means the listen address.
|
|
30531
30833
|
*/
|
|
30532
30834
|
public_address?: string | null;
|
|
30835
|
+
/**
|
|
30836
|
+
* Revision of the settings above that a save writes. Send it back as
|
|
30837
|
+
* `expected_revision`, so a save made since this read is not reverted.
|
|
30838
|
+
*/
|
|
30839
|
+
revision: string;
|
|
30533
30840
|
running?: boolean | null;
|
|
30534
30841
|
};
|
|
30535
30842
|
|
|
@@ -31869,9 +32176,9 @@ export type RenameConversationRequest = {
|
|
|
31869
32176
|
*/
|
|
31870
32177
|
export type RenewalAttemptResponse = {
|
|
31871
32178
|
/**
|
|
31872
|
-
* When the attempt was recorded (
|
|
32179
|
+
* When the attempt was recorded (ISO 8601, UTC).
|
|
31873
32180
|
*/
|
|
31874
|
-
created_at:
|
|
32181
|
+
created_at: string;
|
|
31875
32182
|
error?: string | null;
|
|
31876
32183
|
error_type?: string | null;
|
|
31877
32184
|
id: number;
|
|
@@ -32284,7 +32591,8 @@ export type ResolverHealth =
|
|
|
32284
32591
|
| "node_unavailable"
|
|
32285
32592
|
| "agent_too_old"
|
|
32286
32593
|
| "not_reporting"
|
|
32287
|
-
| "no_local_resolver"
|
|
32594
|
+
| "no_local_resolver"
|
|
32595
|
+
| "unsupported";
|
|
32288
32596
|
|
|
32289
32597
|
/**
|
|
32290
32598
|
* Quick count of resources involved in the migration
|
|
@@ -32686,6 +32994,84 @@ export type RestoreRunView = {
|
|
|
32686
32994
|
target_service_name?: string | null;
|
|
32687
32995
|
};
|
|
32688
32996
|
|
|
32997
|
+
/**
|
|
32998
|
+
* One database the restore brought back.
|
|
32999
|
+
*/
|
|
33000
|
+
export type RestoredDatabase = {
|
|
33001
|
+
kind: RestoredDatabaseKind;
|
|
33002
|
+
name: string;
|
|
33003
|
+
/**
|
|
33004
|
+
* The name is one a link can be pointed at (`[a-z_][a-z0-9_]{0,62}`).
|
|
33005
|
+
*/
|
|
33006
|
+
usable_by_link: boolean;
|
|
33007
|
+
/**
|
|
33008
|
+
* The linked projects you can see that read it.
|
|
33009
|
+
*/
|
|
33010
|
+
used_by: Array<RestoredDatabaseUse>;
|
|
33011
|
+
/**
|
|
33012
|
+
* A project you cannot see also reads it.
|
|
33013
|
+
*/
|
|
33014
|
+
used_by_other_projects: boolean;
|
|
33015
|
+
};
|
|
33016
|
+
|
|
33017
|
+
/**
|
|
33018
|
+
* How a restored database relates to the service and its links.
|
|
33019
|
+
*/
|
|
33020
|
+
export type RestoredDatabaseKind =
|
|
33021
|
+
"linked" | "unused" | "service" | "system" | "sandbox";
|
|
33022
|
+
|
|
33023
|
+
/**
|
|
33024
|
+
* A linked project (or one of its environments) that reads a database.
|
|
33025
|
+
*/
|
|
33026
|
+
export type RestoredDatabaseUse = {
|
|
33027
|
+
/**
|
|
33028
|
+
* `None` when every environment of the project reads the database.
|
|
33029
|
+
*/
|
|
33030
|
+
environment_name?: string | null;
|
|
33031
|
+
project_id: number;
|
|
33032
|
+
project_name: string;
|
|
33033
|
+
};
|
|
33034
|
+
|
|
33035
|
+
/**
|
|
33036
|
+
* What the latest restore of a PostgreSQL service brought back.
|
|
33037
|
+
*/
|
|
33038
|
+
export type RestoredDatabasesReport = {
|
|
33039
|
+
/**
|
|
33040
|
+
* Sorted by name.
|
|
33041
|
+
*/
|
|
33042
|
+
databases: Array<RestoredDatabase>;
|
|
33043
|
+
/**
|
|
33044
|
+
* Linked databases the backup does not have. Empty when every restored
|
|
33045
|
+
* database is read by a link: then nothing restored is left unused.
|
|
33046
|
+
*/
|
|
33047
|
+
missing: Array<MissingLinkedDatabase>;
|
|
33048
|
+
restore_run_id: number;
|
|
33049
|
+
restored_at: string;
|
|
33050
|
+
/**
|
|
33051
|
+
* Sorted by name.
|
|
33052
|
+
*/
|
|
33053
|
+
roles: Array<RestoredRole>;
|
|
33054
|
+
/**
|
|
33055
|
+
* A list was longer than Temps keeps and was cut.
|
|
33056
|
+
*/
|
|
33057
|
+
truncated: boolean;
|
|
33058
|
+
};
|
|
33059
|
+
|
|
33060
|
+
/**
|
|
33061
|
+
* `GET /external-services/{id}/restored-databases`.
|
|
33062
|
+
*/
|
|
33063
|
+
export type RestoredDatabasesResponse = {
|
|
33064
|
+
report?: RestoredDatabasesReport | null;
|
|
33065
|
+
};
|
|
33066
|
+
|
|
33067
|
+
/**
|
|
33068
|
+
* A login role the restore brought back. Names only.
|
|
33069
|
+
*/
|
|
33070
|
+
export type RestoredRole = {
|
|
33071
|
+
name: string;
|
|
33072
|
+
superuser: boolean;
|
|
33073
|
+
};
|
|
33074
|
+
|
|
32689
33075
|
/**
|
|
32690
33076
|
* `POST …/reachability/runs/{run_id}/resume`.
|
|
32691
33077
|
*/
|
|
@@ -32883,7 +33269,10 @@ export type RouteRefreshResponse = {
|
|
|
32883
33269
|
};
|
|
32884
33270
|
|
|
32885
33271
|
export type RouteResponse = {
|
|
32886
|
-
|
|
33272
|
+
/**
|
|
33273
|
+
* When the route was created (ISO 8601, UTC)
|
|
33274
|
+
*/
|
|
33275
|
+
created_at: string;
|
|
32887
33276
|
domain: string;
|
|
32888
33277
|
enabled: boolean;
|
|
32889
33278
|
host: string;
|
|
@@ -32893,14 +33282,17 @@ export type RouteResponse = {
|
|
|
32893
33282
|
* Route type: "http" or "tls"
|
|
32894
33283
|
*/
|
|
32895
33284
|
route_type: string;
|
|
32896
|
-
|
|
33285
|
+
/**
|
|
33286
|
+
* When the route was last changed (ISO 8601, UTC)
|
|
33287
|
+
*/
|
|
33288
|
+
updated_at: string;
|
|
32897
33289
|
};
|
|
32898
33290
|
|
|
32899
33291
|
export type RouteRole = {
|
|
32900
|
-
created_at:
|
|
33292
|
+
created_at: string;
|
|
32901
33293
|
id: number;
|
|
32902
33294
|
name: string;
|
|
32903
|
-
updated_at:
|
|
33295
|
+
updated_at: string;
|
|
32904
33296
|
};
|
|
32905
33297
|
|
|
32906
33298
|
export type RouteTestDelivery = {
|
|
@@ -32917,8 +33309,8 @@ export type RouteTestDelivery = {
|
|
|
32917
33309
|
export type RouteTestDeliveryStatus = "sent" | "failed" | "skipped_disabled";
|
|
32918
33310
|
|
|
32919
33311
|
export type RouteUser = {
|
|
32920
|
-
created_at:
|
|
32921
|
-
deleted_at?:
|
|
33312
|
+
created_at: string;
|
|
33313
|
+
deleted_at?: string | null;
|
|
32922
33314
|
email: string;
|
|
32923
33315
|
email_verified: boolean;
|
|
32924
33316
|
id: number;
|
|
@@ -32926,7 +33318,7 @@ export type RouteUser = {
|
|
|
32926
33318
|
mfa_enabled: boolean;
|
|
32927
33319
|
must_change_password: boolean;
|
|
32928
33320
|
name: string;
|
|
32929
|
-
updated_at:
|
|
33321
|
+
updated_at: string;
|
|
32930
33322
|
username: string;
|
|
32931
33323
|
};
|
|
32932
33324
|
|
|
@@ -33331,7 +33723,7 @@ export type S3SourceResponse = {
|
|
|
33331
33723
|
access_key_id: string;
|
|
33332
33724
|
bucket_name: string;
|
|
33333
33725
|
bucket_path: string;
|
|
33334
|
-
created_at:
|
|
33726
|
+
created_at: string;
|
|
33335
33727
|
/**
|
|
33336
33728
|
* The endpoint every client (WAL-G, restore and worker jobs) receives,
|
|
33337
33729
|
* always with an explicit scheme. `None` for AWS S3 itself.
|
|
@@ -33359,7 +33751,7 @@ export type S3SourceResponse = {
|
|
|
33359
33751
|
*/
|
|
33360
33752
|
path_style_reason: PathStyleReason;
|
|
33361
33753
|
region: string;
|
|
33362
|
-
updated_at:
|
|
33754
|
+
updated_at: string;
|
|
33363
33755
|
/**
|
|
33364
33756
|
* What a worker node receives from this source (ADR-102).
|
|
33365
33757
|
*/
|
|
@@ -36219,6 +36611,18 @@ export type SetManagedRecordRequest = {
|
|
|
36219
36611
|
ttl?: number | null;
|
|
36220
36612
|
};
|
|
36221
36613
|
|
|
36614
|
+
/**
|
|
36615
|
+
* A worker's new build limits.
|
|
36616
|
+
*/
|
|
36617
|
+
export type SetNodeBuildLimitsRequest = BuildLimits & {
|
|
36618
|
+
/**
|
|
36619
|
+
* The `revision` the limits were read with. When set and the stored
|
|
36620
|
+
* limits have changed since, the save is refused with 409 and nothing
|
|
36621
|
+
* changes. When omitted the save is unconditional (older clients).
|
|
36622
|
+
*/
|
|
36623
|
+
expected_revision?: string | null;
|
|
36624
|
+
};
|
|
36625
|
+
|
|
36222
36626
|
export type SetNodeNetworkPolicyModeRequest = {
|
|
36223
36627
|
mode: string;
|
|
36224
36628
|
};
|
|
@@ -36233,6 +36637,13 @@ export type SetNodePublicIngressResponse = {
|
|
|
36233
36637
|
};
|
|
36234
36638
|
|
|
36235
36639
|
export type SetNodeResourcesRequest = {
|
|
36640
|
+
/**
|
|
36641
|
+
* Put `system_reserved` back to the default, so `system_reserved_is_default`
|
|
36642
|
+
* is true again: the control plane's stored values are cleared (it then
|
|
36643
|
+
* follows the default), a worker gets its role's default. Cannot be
|
|
36644
|
+
* combined with `system_reserved`.
|
|
36645
|
+
*/
|
|
36646
|
+
reset_system_reserved?: boolean;
|
|
36236
36647
|
resource_policy?: NodeResourcePolicy | null;
|
|
36237
36648
|
system_reserved?: SystemReserved | null;
|
|
36238
36649
|
};
|
|
@@ -36352,9 +36763,10 @@ export type SetRequest = {
|
|
|
36352
36763
|
*/
|
|
36353
36764
|
export type SetResponse = {
|
|
36354
36765
|
/**
|
|
36355
|
-
*
|
|
36766
|
+
* "OK" when the value was written; null when an NX/XX condition did not
|
|
36767
|
+
* hold and the key was left unchanged (the Redis reply)
|
|
36356
36768
|
*/
|
|
36357
|
-
result
|
|
36769
|
+
result?: string | null;
|
|
36358
36770
|
};
|
|
36359
36771
|
|
|
36360
36772
|
/**
|
|
@@ -36388,6 +36800,11 @@ export type SetWorkloadModeRequest = {
|
|
|
36388
36800
|
*/
|
|
36389
36801
|
export type SettingsUpdateResponse = {
|
|
36390
36802
|
message: string;
|
|
36803
|
+
/**
|
|
36804
|
+
* `PUT /settings`: revision of the saved settings, to send as
|
|
36805
|
+
* `expected_revision` with the next save.
|
|
36806
|
+
*/
|
|
36807
|
+
revision?: string | null;
|
|
36391
36808
|
};
|
|
36392
36809
|
|
|
36393
36810
|
/**
|
|
@@ -40837,9 +41254,25 @@ export type UpdateAnalyticsIngestKeyRequest = {
|
|
|
40837
41254
|
};
|
|
40838
41255
|
|
|
40839
41256
|
export type UpdateApiKeyRequest = {
|
|
41257
|
+
/**
|
|
41258
|
+
* A new expiry, which must be in the future. Leave it out, or send the
|
|
41259
|
+
* key's current expiry back unchanged (even one that has passed), to
|
|
41260
|
+
* keep it: an expired key can be renamed or deactivated without
|
|
41261
|
+
* extending it. API keys always expire, so `null` is refused for a key
|
|
41262
|
+
* that has an expiry.
|
|
41263
|
+
*/
|
|
40840
41264
|
expires_at?: string | null;
|
|
40841
41265
|
is_active?: boolean | null;
|
|
41266
|
+
/**
|
|
41267
|
+
* New name, trimmed; a blank name is refused. Leave it out to keep the
|
|
41268
|
+
* current one.
|
|
41269
|
+
*/
|
|
40842
41270
|
name?: string | null;
|
|
41271
|
+
/**
|
|
41272
|
+
* A key's permissions are fixed when it is created. The key's current
|
|
41273
|
+
* permissions are accepted unchanged; any other list is refused with 400.
|
|
41274
|
+
* To change them, create a new key and delete this one.
|
|
41275
|
+
*/
|
|
40843
41276
|
permissions?: Array<string> | null;
|
|
40844
41277
|
};
|
|
40845
41278
|
|
|
@@ -41231,9 +41664,21 @@ export type UpdateDeploymentConfigRequest = {
|
|
|
41231
41664
|
};
|
|
41232
41665
|
|
|
41233
41666
|
export type UpdateDeploymentTokenRequest = {
|
|
41667
|
+
/**
|
|
41668
|
+
* A future time sets a new expiry, `null` removes it (the token no
|
|
41669
|
+
* longer expires), and leaving the field out, or sending the current
|
|
41670
|
+
* expiry back unchanged (even one that has passed), keeps it.
|
|
41671
|
+
*/
|
|
41234
41672
|
expires_at?: string | null;
|
|
41235
41673
|
is_active?: boolean | null;
|
|
41674
|
+
/**
|
|
41675
|
+
* New name. Leave it out to keep the current one.
|
|
41676
|
+
*/
|
|
41236
41677
|
name?: string | null;
|
|
41678
|
+
/**
|
|
41679
|
+
* Replaces the token's permissions. Leave it out to keep them; an empty
|
|
41680
|
+
* list is refused.
|
|
41681
|
+
*/
|
|
41237
41682
|
permissions?: Array<string> | null;
|
|
41238
41683
|
};
|
|
41239
41684
|
|
|
@@ -41714,6 +42159,21 @@ export type UpdateKvResponse = {
|
|
|
41714
42159
|
success: boolean;
|
|
41715
42160
|
};
|
|
41716
42161
|
|
|
42162
|
+
/**
|
|
42163
|
+
* Which database the link gives the project's apps.
|
|
42164
|
+
*/
|
|
42165
|
+
export type UpdateLinkDatabaseRequest = {
|
|
42166
|
+
/**
|
|
42167
|
+
* The database every environment of the project reads, in `custom` mode.
|
|
42168
|
+
*/
|
|
42169
|
+
custom_database_name?: string | null;
|
|
42170
|
+
/**
|
|
42171
|
+
* `project_environment` (one database per environment), `project` (one
|
|
42172
|
+
* for the whole project) or `custom` (the name below).
|
|
42173
|
+
*/
|
|
42174
|
+
database_provisioning_mode: DatabaseProvisioningMode;
|
|
42175
|
+
};
|
|
42176
|
+
|
|
41717
42177
|
/**
|
|
41718
42178
|
* Fields left out are unchanged. Once a window has started, only `title`,
|
|
41719
42179
|
* `description` and `ends_at` can change.
|
|
@@ -41763,11 +42223,26 @@ export type UpdateManagedDomainApiRequest = {
|
|
|
41763
42223
|
sync_generated_records?: boolean | null;
|
|
41764
42224
|
};
|
|
41765
42225
|
|
|
42226
|
+
/**
|
|
42227
|
+
* Partial update of an MCP server: omitted or `null` fields keep their
|
|
42228
|
+
* current value.
|
|
42229
|
+
*/
|
|
41766
42230
|
export type UpdateMcpRequest = {
|
|
42231
|
+
/**
|
|
42232
|
+
* Replacement server config. Omit or send `null` to keep the current
|
|
42233
|
+
* config; masked (`***`) credential values keep the stored secret.
|
|
42234
|
+
*/
|
|
41767
42235
|
config: {
|
|
41768
42236
|
[key: string]: unknown;
|
|
41769
|
-
};
|
|
42237
|
+
} | null;
|
|
42238
|
+
/**
|
|
42239
|
+
* New description. Omit or send `null` to keep the current description;
|
|
42240
|
+
* an empty string clears it (stored and returned as `null`).
|
|
42241
|
+
*/
|
|
41770
42242
|
description?: string | null;
|
|
42243
|
+
/**
|
|
42244
|
+
* New display name. Omit or send `null` to keep the current name.
|
|
42245
|
+
*/
|
|
41771
42246
|
name?: string | null;
|
|
41772
42247
|
};
|
|
41773
42248
|
|
|
@@ -41943,22 +42418,34 @@ export type UpdateProjectGroupRequest = {
|
|
|
41943
42418
|
};
|
|
41944
42419
|
|
|
41945
42420
|
/**
|
|
41946
|
-
* Request to update a project secret.
|
|
41947
|
-
*
|
|
41948
|
-
*
|
|
42421
|
+
* Request to update a project secret. Every field is optional, and a field
|
|
42422
|
+
* that is left out (or `null`) keeps its stored value: rotating only the
|
|
42423
|
+
* `value` keeps the secret's environments, preview flag and compose services
|
|
42424
|
+
* exactly as they are.
|
|
41949
42425
|
*/
|
|
41950
42426
|
export type UpdateProjectSecretRequest = {
|
|
41951
42427
|
/**
|
|
41952
|
-
* Docker Compose services allowed to read this secret, by
|
|
41953
|
-
* service name.
|
|
41954
|
-
* stack
|
|
42428
|
+
* Replaces the Docker Compose services allowed to read this secret, by
|
|
42429
|
+
* compose service name. An empty list delivers it to every service in
|
|
42430
|
+
* the stack. Omit to keep the current services.
|
|
41955
42431
|
*
|
|
41956
42432
|
* Ignored by non-Compose presets: those deploy a single container, which
|
|
41957
42433
|
* always receives every secret in scope for its environment.
|
|
41958
42434
|
*/
|
|
41959
|
-
compose_services?: Array<string
|
|
41960
|
-
|
|
41961
|
-
|
|
42435
|
+
compose_services?: Array<string> | null;
|
|
42436
|
+
/**
|
|
42437
|
+
* Replaces the environments the secret applies to. Omit to keep the
|
|
42438
|
+
* current environments. Bindings to deleted environments are always
|
|
42439
|
+
* kept, so an empty list applies the secret to every environment of the
|
|
42440
|
+
* project only when it has none; a secret still bound to a deleted
|
|
42441
|
+
* environment stays limited to it.
|
|
42442
|
+
*/
|
|
42443
|
+
environment_ids?: Array<number> | null;
|
|
42444
|
+
/**
|
|
42445
|
+
* Whether preview environments receive the secret. Omit to keep the
|
|
42446
|
+
* current setting.
|
|
42447
|
+
*/
|
|
42448
|
+
include_in_preview?: boolean | null;
|
|
41962
42449
|
/**
|
|
41963
42450
|
* New plaintext value, <= 1 MiB. Omit to keep the existing value.
|
|
41964
42451
|
*/
|
|
@@ -42082,15 +42569,38 @@ export type UpdateProviderCredentialsRequest = {
|
|
|
42082
42569
|
*/
|
|
42083
42570
|
client_id?: string | null;
|
|
42084
42571
|
client_secret?: SecretString | null;
|
|
42572
|
+
password?: SecretString | null;
|
|
42085
42573
|
private_key?: SecretString | null;
|
|
42574
|
+
/**
|
|
42575
|
+
* SSH public key (one OpenSSH line) of an SSH-key provider. Replaced
|
|
42576
|
+
* together with `private_key`, which then carries the SSH private key.
|
|
42577
|
+
*/
|
|
42578
|
+
public_key?: string | null;
|
|
42086
42579
|
/**
|
|
42087
42580
|
* OAuth redirect URI (GitLab OAuth / GitLab App).
|
|
42088
42581
|
*/
|
|
42089
42582
|
redirect_uri?: string | null;
|
|
42090
42583
|
token?: SecretString | null;
|
|
42584
|
+
/**
|
|
42585
|
+
* Username of a basic-auth provider (generic Git server, Bitbucket app
|
|
42586
|
+
* password). Omit to keep the stored username.
|
|
42587
|
+
*/
|
|
42588
|
+
username?: string | null;
|
|
42091
42589
|
webhook_secret?: SecretString | null;
|
|
42092
42590
|
};
|
|
42093
42591
|
|
|
42592
|
+
/**
|
|
42593
|
+
* Result of a credential update: the provider and the names of the
|
|
42594
|
+
* credential fields that were replaced. Credential values are never returned.
|
|
42595
|
+
*/
|
|
42596
|
+
export type UpdateProviderCredentialsResponse = ProviderResponse & {
|
|
42597
|
+
/**
|
|
42598
|
+
* Names of the fields that were replaced, e.g. `["password"]`. Fields
|
|
42599
|
+
* that do not apply to the provider's auth method are not listed.
|
|
42600
|
+
*/
|
|
42601
|
+
updated_fields: Array<string>;
|
|
42602
|
+
};
|
|
42603
|
+
|
|
42094
42604
|
export type UpdateProviderKeyRequest = {
|
|
42095
42605
|
api_key?: SecretString | null;
|
|
42096
42606
|
/**
|
|
@@ -42126,6 +42636,12 @@ export type UpdateProviderRequest = {
|
|
|
42126
42636
|
|
|
42127
42637
|
export type UpdatePublicIngressSettingsRequest = {
|
|
42128
42638
|
enabled: boolean;
|
|
42639
|
+
/**
|
|
42640
|
+
* The `revision` the settings were read with. When set and they have
|
|
42641
|
+
* changed since, the save is refused with 409 and nothing changes.
|
|
42642
|
+
* When omitted the save is unconditional (older clients).
|
|
42643
|
+
*/
|
|
42644
|
+
expected_revision?: string | null;
|
|
42129
42645
|
http_port?: number | null;
|
|
42130
42646
|
https_port?: number | null;
|
|
42131
42647
|
/**
|
|
@@ -42265,6 +42781,22 @@ export type UpdateSessionDurationResponse = {
|
|
|
42265
42781
|
message: string;
|
|
42266
42782
|
};
|
|
42267
42783
|
|
|
42784
|
+
/**
|
|
42785
|
+
* `PUT /settings` body: the settings document (partial documents keep the
|
|
42786
|
+
* omitted fields), plus the revision it was read with.
|
|
42787
|
+
*
|
|
42788
|
+
* Schema only: the handler reads the raw body, because which fields were
|
|
42789
|
+
* sent is information deserialization destroys.
|
|
42790
|
+
*/
|
|
42791
|
+
export type UpdateSettingsRequest = AppSettings & {
|
|
42792
|
+
/**
|
|
42793
|
+
* The `revision` from `GET /settings`. When set and the settings have
|
|
42794
|
+
* changed since, the save is refused with 409 and nothing changes.
|
|
42795
|
+
* When omitted the save is unconditional (older clients).
|
|
42796
|
+
*/
|
|
42797
|
+
expected_revision?: string | null;
|
|
42798
|
+
};
|
|
42799
|
+
|
|
42268
42800
|
/**
|
|
42269
42801
|
* Replaces an entry's verdict, note and expiry; what it matches stays.
|
|
42270
42802
|
*/
|
|
@@ -42274,9 +42806,22 @@ export type UpdateShieldEntryRequest = {
|
|
|
42274
42806
|
verdict: ShieldEntryVerdict;
|
|
42275
42807
|
};
|
|
42276
42808
|
|
|
42809
|
+
/**
|
|
42810
|
+
* Partial update of a skill: omitted or `null` fields keep their current value.
|
|
42811
|
+
*/
|
|
42277
42812
|
export type UpdateSkillRequest = {
|
|
42813
|
+
/**
|
|
42814
|
+
* New SKILL.md content. Omit or send `null` to keep the current content.
|
|
42815
|
+
*/
|
|
42278
42816
|
content?: string | null;
|
|
42817
|
+
/**
|
|
42818
|
+
* New description. Omit or send `null` to keep the current description;
|
|
42819
|
+
* an empty string clears it (stored and returned as `null`).
|
|
42820
|
+
*/
|
|
42279
42821
|
description?: string | null;
|
|
42822
|
+
/**
|
|
42823
|
+
* New display name. Omit or send `null` to keep the current name.
|
|
42824
|
+
*/
|
|
42280
42825
|
name?: string | null;
|
|
42281
42826
|
};
|
|
42282
42827
|
|
|
@@ -42465,9 +43010,23 @@ export type UpdateTraefikRouteEnabledRequest = {
|
|
|
42465
43010
|
enabled: boolean;
|
|
42466
43011
|
};
|
|
42467
43012
|
|
|
43013
|
+
/**
|
|
43014
|
+
* Body of `PATCH /users/{user_id}`. Unknown fields are rejected so a
|
|
43015
|
+
* misspelt field is an error instead of a silent no-op.
|
|
43016
|
+
*/
|
|
42468
43017
|
export type UpdateUserRequest = {
|
|
42469
43018
|
email?: string | null;
|
|
43019
|
+
/**
|
|
43020
|
+
* Deprecated: the old name of `username`, still accepted. Sending both
|
|
43021
|
+
* with different values is refused.
|
|
43022
|
+
*
|
|
43023
|
+
* @deprecated
|
|
43024
|
+
*/
|
|
42470
43025
|
name?: string | null;
|
|
43026
|
+
/**
|
|
43027
|
+
* The new username, as in `CreateUserRequest`.
|
|
43028
|
+
*/
|
|
43029
|
+
username?: string | null;
|
|
42471
43030
|
};
|
|
42472
43031
|
|
|
42473
43032
|
export type UpdateWebhookProviderRequest = {
|
|
@@ -43945,6 +44504,11 @@ export type WireguardMeshStatusResponse = {
|
|
|
43945
44504
|
* is on.
|
|
43946
44505
|
*/
|
|
43947
44506
|
ca_rotation_required: boolean;
|
|
44507
|
+
/**
|
|
44508
|
+
* Whether `DELETE /nodes/wireguard` can turn the mesh off now: it is
|
|
44509
|
+
* on and nothing depends on it.
|
|
44510
|
+
*/
|
|
44511
|
+
can_disable: boolean;
|
|
43948
44512
|
/**
|
|
43949
44513
|
* Whether `POST /nodes/wireguard` can turn the mesh on here.
|
|
43950
44514
|
*/
|
|
@@ -43954,6 +44518,12 @@ export type WireguardMeshStatusResponse = {
|
|
|
43954
44518
|
*/
|
|
43955
44519
|
cidr?: string | null;
|
|
43956
44520
|
control_plane?: WireguardMeshControlPlaneEntry | null;
|
|
44521
|
+
/**
|
|
44522
|
+
* What prevents turning it off, when the mesh is on and `can_disable`
|
|
44523
|
+
* is false (nodes on the mesh, pairings in progress, the control
|
|
44524
|
+
* plane's overlay on its mesh address). Rendered verbatim.
|
|
44525
|
+
*/
|
|
44526
|
+
disable_blocker?: string | null;
|
|
43957
44527
|
/**
|
|
43958
44528
|
* What prevents enabling it, when `can_enable` is false and the mesh is
|
|
43959
44529
|
* off. Rendered verbatim.
|
|
@@ -45276,7 +45846,7 @@ export type S3SourceResponseWritable = {
|
|
|
45276
45846
|
access_key_id: string;
|
|
45277
45847
|
bucket_name: string;
|
|
45278
45848
|
bucket_path: string;
|
|
45279
|
-
created_at:
|
|
45849
|
+
created_at: string;
|
|
45280
45850
|
/**
|
|
45281
45851
|
* The endpoint every client (WAL-G, restore and worker jobs) receives,
|
|
45282
45852
|
* always with an explicit scheme. `None` for AWS S3 itself.
|
|
@@ -45305,7 +45875,7 @@ export type S3SourceResponseWritable = {
|
|
|
45305
45875
|
path_style_reason: PathStyleReason;
|
|
45306
45876
|
region: string;
|
|
45307
45877
|
secret_key: string;
|
|
45308
|
-
updated_at:
|
|
45878
|
+
updated_at: string;
|
|
45309
45879
|
/**
|
|
45310
45880
|
* What a worker node receives from this source (ADR-102).
|
|
45311
45881
|
*/
|
|
@@ -45335,6 +45905,22 @@ export type SaveAccessServiceWritable = {
|
|
|
45335
45905
|
vault_id?: string | null;
|
|
45336
45906
|
};
|
|
45337
45907
|
|
|
45908
|
+
/**
|
|
45909
|
+
* `PUT /settings` body: the settings document (partial documents keep the
|
|
45910
|
+
* omitted fields), plus the revision it was read with.
|
|
45911
|
+
*
|
|
45912
|
+
* Schema only: the handler reads the raw body, because which fields were
|
|
45913
|
+
* sent is information deserialization destroys.
|
|
45914
|
+
*/
|
|
45915
|
+
export type UpdateSettingsRequestWritable = AppSettingsWritable & {
|
|
45916
|
+
/**
|
|
45917
|
+
* The `revision` from `GET /settings`. When set and the settings have
|
|
45918
|
+
* changed since, the save is refused with 409 and nothing changes.
|
|
45919
|
+
* When omitted the save is unconditional (older clients).
|
|
45920
|
+
*/
|
|
45921
|
+
expected_revision?: string | null;
|
|
45922
|
+
};
|
|
45923
|
+
|
|
45338
45924
|
export type GetPlatformInfoData = {
|
|
45339
45925
|
body?: never;
|
|
45340
45926
|
path?: never;
|
|
@@ -47052,6 +47638,50 @@ export type DeleteOidcProviderResponses = {
|
|
|
47052
47638
|
export type DeleteOidcProviderResponse =
|
|
47053
47639
|
DeleteOidcProviderResponses[keyof DeleteOidcProviderResponses];
|
|
47054
47640
|
|
|
47641
|
+
export type GetOidcProviderData = {
|
|
47642
|
+
body?: never;
|
|
47643
|
+
path: {
|
|
47644
|
+
/**
|
|
47645
|
+
* OIDC provider ID
|
|
47646
|
+
*/
|
|
47647
|
+
provider_id: number;
|
|
47648
|
+
};
|
|
47649
|
+
query?: never;
|
|
47650
|
+
url: "/admin/oidc/providers/{provider_id}";
|
|
47651
|
+
};
|
|
47652
|
+
|
|
47653
|
+
export type GetOidcProviderErrors = {
|
|
47654
|
+
/**
|
|
47655
|
+
* Unauthorized
|
|
47656
|
+
*/
|
|
47657
|
+
401: ProblemDetails;
|
|
47658
|
+
/**
|
|
47659
|
+
* Insufficient permissions
|
|
47660
|
+
*/
|
|
47661
|
+
403: ProblemDetails;
|
|
47662
|
+
/**
|
|
47663
|
+
* OIDC provider not found
|
|
47664
|
+
*/
|
|
47665
|
+
404: ProblemDetails;
|
|
47666
|
+
/**
|
|
47667
|
+
* Internal server error
|
|
47668
|
+
*/
|
|
47669
|
+
500: ProblemDetails;
|
|
47670
|
+
};
|
|
47671
|
+
|
|
47672
|
+
export type GetOidcProviderError =
|
|
47673
|
+
GetOidcProviderErrors[keyof GetOidcProviderErrors];
|
|
47674
|
+
|
|
47675
|
+
export type GetOidcProviderResponses = {
|
|
47676
|
+
/**
|
|
47677
|
+
* The OIDC provider
|
|
47678
|
+
*/
|
|
47679
|
+
200: OidcProviderResponse;
|
|
47680
|
+
};
|
|
47681
|
+
|
|
47682
|
+
export type GetOidcProviderResponse =
|
|
47683
|
+
GetOidcProviderResponses[keyof GetOidcProviderResponses];
|
|
47684
|
+
|
|
47055
47685
|
export type UpdateOidcProviderData = {
|
|
47056
47686
|
body: UpdateOidcProviderRequest;
|
|
47057
47687
|
path: {
|
|
@@ -47136,11 +47766,28 @@ export type ListOidcProviderUsersData = {
|
|
|
47136
47766
|
*/
|
|
47137
47767
|
provider_id: number;
|
|
47138
47768
|
};
|
|
47139
|
-
query?:
|
|
47769
|
+
query?: {
|
|
47770
|
+
/**
|
|
47771
|
+
* Page number, starting at 1 (default 1).
|
|
47772
|
+
*/
|
|
47773
|
+
page?: number;
|
|
47774
|
+
/**
|
|
47775
|
+
* Items per page (default 20, max 100).
|
|
47776
|
+
*/
|
|
47777
|
+
page_size?: number;
|
|
47778
|
+
};
|
|
47140
47779
|
url: "/admin/oidc/providers/{provider_id}/users";
|
|
47141
47780
|
};
|
|
47142
47781
|
|
|
47143
47782
|
export type ListOidcProviderUsersErrors = {
|
|
47783
|
+
/**
|
|
47784
|
+
* Unauthorized
|
|
47785
|
+
*/
|
|
47786
|
+
401: unknown;
|
|
47787
|
+
/**
|
|
47788
|
+
* Insufficient permissions
|
|
47789
|
+
*/
|
|
47790
|
+
403: unknown;
|
|
47144
47791
|
/**
|
|
47145
47792
|
* Provider not found
|
|
47146
47793
|
*/
|
|
@@ -47149,9 +47796,9 @@ export type ListOidcProviderUsersErrors = {
|
|
|
47149
47796
|
|
|
47150
47797
|
export type ListOidcProviderUsersResponses = {
|
|
47151
47798
|
/**
|
|
47152
|
-
*
|
|
47799
|
+
* One page of the users who sign in through this OIDC provider, newest first
|
|
47153
47800
|
*/
|
|
47154
|
-
200:
|
|
47801
|
+
200: OidcProviderUserList;
|
|
47155
47802
|
};
|
|
47156
47803
|
|
|
47157
47804
|
export type ListOidcProviderUsersResponse =
|
|
@@ -54581,7 +55228,7 @@ export type CreateApiKeyData = {
|
|
|
54581
55228
|
|
|
54582
55229
|
export type CreateApiKeyErrors = {
|
|
54583
55230
|
/**
|
|
54584
|
-
* Bad request
|
|
55231
|
+
* Bad request: a blank name, an expiry in the past, permissions with a role other than custom, or an invalid scope
|
|
54585
55232
|
*/
|
|
54586
55233
|
400: unknown;
|
|
54587
55234
|
/**
|
|
@@ -54771,7 +55418,7 @@ export type UpdateApiKeyData = {
|
|
|
54771
55418
|
|
|
54772
55419
|
export type UpdateApiKeyErrors = {
|
|
54773
55420
|
/**
|
|
54774
|
-
* Bad request
|
|
55421
|
+
* 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)
|
|
54775
55422
|
*/
|
|
54776
55423
|
400: unknown;
|
|
54777
55424
|
/**
|
|
@@ -56575,9 +57222,21 @@ export type UpdateBackupScheduleResponse =
|
|
|
56575
57222
|
export type ListBackupsForScheduleData = {
|
|
56576
57223
|
body?: never;
|
|
56577
57224
|
path: {
|
|
57225
|
+
/**
|
|
57226
|
+
* Backup schedule ID
|
|
57227
|
+
*/
|
|
56578
57228
|
id: number;
|
|
56579
57229
|
};
|
|
56580
|
-
query?:
|
|
57230
|
+
query?: {
|
|
57231
|
+
/**
|
|
57232
|
+
* Page number, starting at 1 (default 1).
|
|
57233
|
+
*/
|
|
57234
|
+
page?: number;
|
|
57235
|
+
/**
|
|
57236
|
+
* Items per page (default 20, max 100).
|
|
57237
|
+
*/
|
|
57238
|
+
page_size?: number;
|
|
57239
|
+
};
|
|
56581
57240
|
url: "/backups/schedules/{id}/backups";
|
|
56582
57241
|
};
|
|
56583
57242
|
|
|
@@ -56605,9 +57264,9 @@ export type ListBackupsForScheduleError =
|
|
|
56605
57264
|
|
|
56606
57265
|
export type ListBackupsForScheduleResponses = {
|
|
56607
57266
|
/**
|
|
56608
|
-
*
|
|
57267
|
+
* One page of the schedule's backups, newest first
|
|
56609
57268
|
*/
|
|
56610
|
-
200:
|
|
57269
|
+
200: BackupList;
|
|
56611
57270
|
};
|
|
56612
57271
|
|
|
56613
57272
|
export type ListBackupsForScheduleResponse =
|
|
@@ -58571,11 +59230,6 @@ export type DeploymentMetricsGetRangeData = {
|
|
|
58571
59230
|
* Ignored when `start_time` and `end_time` are both set.
|
|
58572
59231
|
*/
|
|
58573
59232
|
range?: string;
|
|
58574
|
-
/**
|
|
58575
|
-
* Optional histogram percentile (0–100). When provided, the endpoint
|
|
58576
|
-
* fetches histogram buckets and computes the requested quantile.
|
|
58577
|
-
*/
|
|
58578
|
-
percentile?: number | null;
|
|
58579
59233
|
/**
|
|
58580
59234
|
* Explicit window start (ISO 8601). Must be paired with `end_time`.
|
|
58581
59235
|
*/
|
|
@@ -63112,7 +63766,7 @@ export type PromoteClusterMemberErrors = {
|
|
|
63112
63766
|
*/
|
|
63113
63767
|
404: unknown;
|
|
63114
63768
|
/**
|
|
63115
|
-
* This process has no local Docker daemon to run the promotion on
|
|
63769
|
+
* 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
|
|
63116
63770
|
*/
|
|
63117
63771
|
409: unknown;
|
|
63118
63772
|
/**
|
|
@@ -63146,11 +63800,6 @@ export type ExternalServiceMetricsGetRangeData = {
|
|
|
63146
63800
|
* Ignored when `start_time` and `end_time` are both set.
|
|
63147
63801
|
*/
|
|
63148
63802
|
range?: string;
|
|
63149
|
-
/**
|
|
63150
|
-
* Optional histogram percentile (0–100). When provided, the endpoint
|
|
63151
|
-
* fetches histogram buckets and computes the requested quantile.
|
|
63152
|
-
*/
|
|
63153
|
-
percentile?: number | null;
|
|
63154
63803
|
/**
|
|
63155
63804
|
* Explicit window start (ISO 8601). Must be paired with `end_time`.
|
|
63156
63805
|
*/
|
|
@@ -63827,6 +64476,55 @@ export type UnlinkServiceFromProjectResponses = {
|
|
|
63827
64476
|
export type UnlinkServiceFromProjectResponse =
|
|
63828
64477
|
UnlinkServiceFromProjectResponses[keyof UnlinkServiceFromProjectResponses];
|
|
63829
64478
|
|
|
64479
|
+
export type UpdateLinkDatabaseData = {
|
|
64480
|
+
body: UpdateLinkDatabaseRequest;
|
|
64481
|
+
path: {
|
|
64482
|
+
/**
|
|
64483
|
+
* External service ID
|
|
64484
|
+
*/
|
|
64485
|
+
id: number;
|
|
64486
|
+
/**
|
|
64487
|
+
* Project ID
|
|
64488
|
+
*/
|
|
64489
|
+
project_id: number;
|
|
64490
|
+
};
|
|
64491
|
+
query?: never;
|
|
64492
|
+
url: "/external-services/{id}/projects/{project_id}/database";
|
|
64493
|
+
};
|
|
64494
|
+
|
|
64495
|
+
export type UpdateLinkDatabaseErrors = {
|
|
64496
|
+
/**
|
|
64497
|
+
* Invalid database provisioning configuration
|
|
64498
|
+
*/
|
|
64499
|
+
400: unknown;
|
|
64500
|
+
/**
|
|
64501
|
+
* Authentication required
|
|
64502
|
+
*/
|
|
64503
|
+
401: unknown;
|
|
64504
|
+
/**
|
|
64505
|
+
* Insufficient permission to change this link
|
|
64506
|
+
*/
|
|
64507
|
+
403: unknown;
|
|
64508
|
+
/**
|
|
64509
|
+
* Service, project or link not found
|
|
64510
|
+
*/
|
|
64511
|
+
404: unknown;
|
|
64512
|
+
/**
|
|
64513
|
+
* Internal server error
|
|
64514
|
+
*/
|
|
64515
|
+
500: unknown;
|
|
64516
|
+
};
|
|
64517
|
+
|
|
64518
|
+
export type UpdateLinkDatabaseResponses = {
|
|
64519
|
+
/**
|
|
64520
|
+
* The link gives the project this database from its next deployment
|
|
64521
|
+
*/
|
|
64522
|
+
200: ProjectServiceInfo;
|
|
64523
|
+
};
|
|
64524
|
+
|
|
64525
|
+
export type UpdateLinkDatabaseResponse =
|
|
64526
|
+
UpdateLinkDatabaseResponses[keyof UpdateLinkDatabaseResponses];
|
|
64527
|
+
|
|
63830
64528
|
export type GetServiceEnvironmentVariablesData = {
|
|
63831
64529
|
body?: never;
|
|
63832
64530
|
path: {
|
|
@@ -64175,7 +64873,7 @@ export type ListRestoreRunsForServiceError =
|
|
|
64175
64873
|
|
|
64176
64874
|
export type ListRestoreRunsForServiceResponses = {
|
|
64177
64875
|
/**
|
|
64178
|
-
*
|
|
64876
|
+
* The service's 50 most recent restore runs, newest first. Not paginated: bounded by design to recent history; older runs are not returned
|
|
64179
64877
|
*/
|
|
64180
64878
|
200: Array<RestoreRunView>;
|
|
64181
64879
|
};
|
|
@@ -64183,6 +64881,46 @@ export type ListRestoreRunsForServiceResponses = {
|
|
|
64183
64881
|
export type ListRestoreRunsForServiceResponse =
|
|
64184
64882
|
ListRestoreRunsForServiceResponses[keyof ListRestoreRunsForServiceResponses];
|
|
64185
64883
|
|
|
64884
|
+
export type GetRestoredDatabasesData = {
|
|
64885
|
+
body?: never;
|
|
64886
|
+
path: {
|
|
64887
|
+
/**
|
|
64888
|
+
* External service id
|
|
64889
|
+
*/
|
|
64890
|
+
id: number;
|
|
64891
|
+
};
|
|
64892
|
+
query?: never;
|
|
64893
|
+
url: "/external-services/{id}/restored-databases";
|
|
64894
|
+
};
|
|
64895
|
+
|
|
64896
|
+
export type GetRestoredDatabasesErrors = {
|
|
64897
|
+
/**
|
|
64898
|
+
* Unauthorized
|
|
64899
|
+
*/
|
|
64900
|
+
401: ProblemDetails;
|
|
64901
|
+
/**
|
|
64902
|
+
* Insufficient permissions
|
|
64903
|
+
*/
|
|
64904
|
+
403: ProblemDetails;
|
|
64905
|
+
/**
|
|
64906
|
+
* Service not found
|
|
64907
|
+
*/
|
|
64908
|
+
404: ProblemDetails;
|
|
64909
|
+
};
|
|
64910
|
+
|
|
64911
|
+
export type GetRestoredDatabasesError =
|
|
64912
|
+
GetRestoredDatabasesErrors[keyof GetRestoredDatabasesErrors];
|
|
64913
|
+
|
|
64914
|
+
export type GetRestoredDatabasesResponses = {
|
|
64915
|
+
/**
|
|
64916
|
+
* What the latest restore brought back; `report` is null when it recorded nothing
|
|
64917
|
+
*/
|
|
64918
|
+
200: RestoredDatabasesResponse;
|
|
64919
|
+
};
|
|
64920
|
+
|
|
64921
|
+
export type GetRestoredDatabasesResponse =
|
|
64922
|
+
GetRestoredDatabasesResponses[keyof GetRestoredDatabasesResponses];
|
|
64923
|
+
|
|
64186
64924
|
export type RetryClusterData = {
|
|
64187
64925
|
body: RetryClusterRequest;
|
|
64188
64926
|
path: {
|
|
@@ -65439,7 +66177,7 @@ export type ListPgUpgradesError =
|
|
|
65439
66177
|
|
|
65440
66178
|
export type ListPgUpgradesResponses = {
|
|
65441
66179
|
/**
|
|
65442
|
-
*
|
|
66180
|
+
* The service's 50 most recent upgrades, newest first. Not paginated: bounded by design to recent history; older upgrades are not returned
|
|
65443
66181
|
*/
|
|
65444
66182
|
200: Array<PgUpgradeResponse>;
|
|
65445
66183
|
};
|
|
@@ -67188,7 +67926,7 @@ export type UpdateGitProviderCredentialsData = {
|
|
|
67188
67926
|
|
|
67189
67927
|
export type UpdateGitProviderCredentialsErrors = {
|
|
67190
67928
|
/**
|
|
67191
|
-
*
|
|
67929
|
+
* Invalid credentials for the provider's auth method
|
|
67192
67930
|
*/
|
|
67193
67931
|
400: unknown;
|
|
67194
67932
|
/**
|
|
@@ -67213,7 +67951,7 @@ export type UpdateGitProviderCredentialsResponses = {
|
|
|
67213
67951
|
/**
|
|
67214
67952
|
* Credentials updated
|
|
67215
67953
|
*/
|
|
67216
|
-
200:
|
|
67954
|
+
200: UpdateProviderCredentialsResponse;
|
|
67217
67955
|
};
|
|
67218
67956
|
|
|
67219
67957
|
export type UpdateGitProviderCredentialsResponse =
|
|
@@ -67486,6 +68224,76 @@ export type GetPublicRepositoryResponses = {
|
|
|
67486
68224
|
export type GetPublicRepositoryResponse =
|
|
67487
68225
|
GetPublicRepositoryResponses[keyof GetPublicRepositoryResponses];
|
|
67488
68226
|
|
|
68227
|
+
export type GetPublicBranchData = {
|
|
68228
|
+
body?: never;
|
|
68229
|
+
path: {
|
|
68230
|
+
/**
|
|
68231
|
+
* Git provider (github or gitlab)
|
|
68232
|
+
*/
|
|
68233
|
+
provider: string;
|
|
68234
|
+
/**
|
|
68235
|
+
* Repository owner
|
|
68236
|
+
*/
|
|
68237
|
+
owner: string;
|
|
68238
|
+
/**
|
|
68239
|
+
* Repository name
|
|
68240
|
+
*/
|
|
68241
|
+
repo: string;
|
|
68242
|
+
};
|
|
68243
|
+
query: {
|
|
68244
|
+
/**
|
|
68245
|
+
* HTTPS/443 origin of a self-hosted GitLab instance. Requires authentication and git_repositories:read.
|
|
68246
|
+
*/
|
|
68247
|
+
base_url?: string | null;
|
|
68248
|
+
/**
|
|
68249
|
+
* Exact branch name to look up
|
|
68250
|
+
*/
|
|
68251
|
+
name: string;
|
|
68252
|
+
};
|
|
68253
|
+
url: "/git/public/{provider}/{owner}/{repo}/branch";
|
|
68254
|
+
};
|
|
68255
|
+
|
|
68256
|
+
export type GetPublicBranchErrors = {
|
|
68257
|
+
/**
|
|
68258
|
+
* Provider not supported, or empty branch name
|
|
68259
|
+
*/
|
|
68260
|
+
400: unknown;
|
|
68261
|
+
/**
|
|
68262
|
+
* Authentication required for custom GitLab origins
|
|
68263
|
+
*/
|
|
68264
|
+
401: unknown;
|
|
68265
|
+
/**
|
|
68266
|
+
* Git provider permission required
|
|
68267
|
+
*/
|
|
68268
|
+
403: unknown;
|
|
68269
|
+
/**
|
|
68270
|
+
* Repository or branch not found
|
|
68271
|
+
*/
|
|
68272
|
+
404: unknown;
|
|
68273
|
+
/**
|
|
68274
|
+
* API rate limit exceeded
|
|
68275
|
+
*/
|
|
68276
|
+
429: unknown;
|
|
68277
|
+
/**
|
|
68278
|
+
* Internal server error
|
|
68279
|
+
*/
|
|
68280
|
+
500: unknown;
|
|
68281
|
+
/**
|
|
68282
|
+
* The provider could not answer for this branch (its listing was capped and it has no single-branch endpoint)
|
|
68283
|
+
*/
|
|
68284
|
+
502: unknown;
|
|
68285
|
+
};
|
|
68286
|
+
|
|
68287
|
+
export type GetPublicBranchResponses = {
|
|
68288
|
+
/**
|
|
68289
|
+
* The branch
|
|
68290
|
+
*/
|
|
68291
|
+
200: BranchInfo;
|
|
68292
|
+
};
|
|
68293
|
+
|
|
68294
|
+
export type GetPublicBranchResponse =
|
|
68295
|
+
GetPublicBranchResponses[keyof GetPublicBranchResponses];
|
|
68296
|
+
|
|
67489
68297
|
export type GetPublicBranchesData = {
|
|
67490
68298
|
body?: never;
|
|
67491
68299
|
path: {
|
|
@@ -68120,7 +68928,16 @@ export type GetIncidentUpdatesData = {
|
|
|
68120
68928
|
*/
|
|
68121
68929
|
incident_id: number;
|
|
68122
68930
|
};
|
|
68123
|
-
query?:
|
|
68931
|
+
query?: {
|
|
68932
|
+
/**
|
|
68933
|
+
* Page number, starting at 1 (default 1).
|
|
68934
|
+
*/
|
|
68935
|
+
page?: number;
|
|
68936
|
+
/**
|
|
68937
|
+
* Items per page (default 20, max 100).
|
|
68938
|
+
*/
|
|
68939
|
+
page_size?: number;
|
|
68940
|
+
};
|
|
68124
68941
|
url: "/incidents/{incident_id}/updates";
|
|
68125
68942
|
};
|
|
68126
68943
|
|
|
@@ -68145,9 +68962,9 @@ export type GetIncidentUpdatesErrors = {
|
|
|
68145
68962
|
|
|
68146
68963
|
export type GetIncidentUpdatesResponses = {
|
|
68147
68964
|
/**
|
|
68148
|
-
*
|
|
68965
|
+
* One page of the incident's updates, newest first
|
|
68149
68966
|
*/
|
|
68150
|
-
200:
|
|
68967
|
+
200: IncidentUpdateList;
|
|
68151
68968
|
};
|
|
68152
68969
|
|
|
68153
68970
|
export type GetIncidentUpdatesResponse =
|
|
@@ -69846,8 +70663,53 @@ export type AdminGetNodeResponses = {
|
|
|
69846
70663
|
export type AdminGetNodeResponse =
|
|
69847
70664
|
AdminGetNodeResponses[keyof AdminGetNodeResponses];
|
|
69848
70665
|
|
|
70666
|
+
export type AdminGetNodeBuildLimitsData = {
|
|
70667
|
+
body?: never;
|
|
70668
|
+
path: {
|
|
70669
|
+
/**
|
|
70670
|
+
* Worker node ID
|
|
70671
|
+
*/
|
|
70672
|
+
node_id: number;
|
|
70673
|
+
};
|
|
70674
|
+
query?: never;
|
|
70675
|
+
url: "/internal/nodes/{node_id}/build-limits";
|
|
70676
|
+
};
|
|
70677
|
+
|
|
70678
|
+
export type AdminGetNodeBuildLimitsErrors = {
|
|
70679
|
+
/**
|
|
70680
|
+
* The node is the control plane or not a worker
|
|
70681
|
+
*/
|
|
70682
|
+
400: unknown;
|
|
70683
|
+
/**
|
|
70684
|
+
* Unauthorized
|
|
70685
|
+
*/
|
|
70686
|
+
401: unknown;
|
|
70687
|
+
/**
|
|
70688
|
+
* Forbidden
|
|
70689
|
+
*/
|
|
70690
|
+
403: unknown;
|
|
70691
|
+
/**
|
|
70692
|
+
* Node not found
|
|
70693
|
+
*/
|
|
70694
|
+
404: unknown;
|
|
70695
|
+
/**
|
|
70696
|
+
* Stored limits are invalid or storage failed
|
|
70697
|
+
*/
|
|
70698
|
+
500: unknown;
|
|
70699
|
+
};
|
|
70700
|
+
|
|
70701
|
+
export type AdminGetNodeBuildLimitsResponses = {
|
|
70702
|
+
/**
|
|
70703
|
+
* The worker's effective build limits, and whether they are the defaults
|
|
70704
|
+
*/
|
|
70705
|
+
200: NodeBuildLimitsResponse;
|
|
70706
|
+
};
|
|
70707
|
+
|
|
70708
|
+
export type AdminGetNodeBuildLimitsResponse =
|
|
70709
|
+
AdminGetNodeBuildLimitsResponses[keyof AdminGetNodeBuildLimitsResponses];
|
|
70710
|
+
|
|
69849
70711
|
export type AdminSetNodeBuildLimitsData = {
|
|
69850
|
-
body:
|
|
70712
|
+
body: SetNodeBuildLimitsRequest;
|
|
69851
70713
|
path: {
|
|
69852
70714
|
/**
|
|
69853
70715
|
* Worker node ID
|
|
@@ -69860,7 +70722,7 @@ export type AdminSetNodeBuildLimitsData = {
|
|
|
69860
70722
|
|
|
69861
70723
|
export type AdminSetNodeBuildLimitsErrors = {
|
|
69862
70724
|
/**
|
|
69863
|
-
* Invalid limits or node
|
|
70725
|
+
* Invalid limits, node role, or the control plane (node 0)
|
|
69864
70726
|
*/
|
|
69865
70727
|
400: unknown;
|
|
69866
70728
|
/**
|
|
@@ -69875,6 +70737,10 @@ export type AdminSetNodeBuildLimitsErrors = {
|
|
|
69875
70737
|
* Node not found
|
|
69876
70738
|
*/
|
|
69877
70739
|
404: unknown;
|
|
70740
|
+
/**
|
|
70741
|
+
* `expected_revision` is stale: the limits changed since they were read; nothing was saved
|
|
70742
|
+
*/
|
|
70743
|
+
409: unknown;
|
|
69878
70744
|
/**
|
|
69879
70745
|
* Storage failed
|
|
69880
70746
|
*/
|
|
@@ -69882,7 +70748,10 @@ export type AdminSetNodeBuildLimitsErrors = {
|
|
|
69882
70748
|
};
|
|
69883
70749
|
|
|
69884
70750
|
export type AdminSetNodeBuildLimitsResponses = {
|
|
69885
|
-
|
|
70751
|
+
/**
|
|
70752
|
+
* The saved limits and their new revision
|
|
70753
|
+
*/
|
|
70754
|
+
200: NodeBuildLimitsResponse;
|
|
69886
70755
|
};
|
|
69887
70756
|
|
|
69888
70757
|
export type AdminSetNodeBuildLimitsResponse =
|
|
@@ -70429,6 +71298,10 @@ export type AdminUpdateNodePublicIngressSettingsErrors = {
|
|
|
70429
71298
|
* Node not found
|
|
70430
71299
|
*/
|
|
70431
71300
|
404: unknown;
|
|
71301
|
+
/**
|
|
71302
|
+
* The worker does not allow this change, or `expected_revision` is stale: the settings changed since they were read; nothing was saved
|
|
71303
|
+
*/
|
|
71304
|
+
409: unknown;
|
|
70432
71305
|
};
|
|
70433
71306
|
|
|
70434
71307
|
export type AdminUpdateNodePublicIngressSettingsResponses = {
|
|
@@ -70473,6 +71346,9 @@ export type AdminGetNodeResourcesError =
|
|
|
70473
71346
|
AdminGetNodeResourcesErrors[keyof AdminGetNodeResourcesErrors];
|
|
70474
71347
|
|
|
70475
71348
|
export type AdminGetNodeResourcesResponses = {
|
|
71349
|
+
/**
|
|
71350
|
+
* The node's capacity, reservation and what is placed on it
|
|
71351
|
+
*/
|
|
70476
71352
|
200: NodeResourcesResponse;
|
|
70477
71353
|
};
|
|
70478
71354
|
|
|
@@ -70493,7 +71369,7 @@ export type AdminSetNodeResourcesData = {
|
|
|
70493
71369
|
|
|
70494
71370
|
export type AdminSetNodeResourcesErrors = {
|
|
70495
71371
|
/**
|
|
70496
|
-
* Invalid reserve
|
|
71372
|
+
* Invalid reserve, nothing to change, or system_reserved together with reset_system_reserved
|
|
70497
71373
|
*/
|
|
70498
71374
|
400: ProblemDetails;
|
|
70499
71375
|
/**
|
|
@@ -70518,6 +71394,9 @@ export type AdminSetNodeResourcesError =
|
|
|
70518
71394
|
AdminSetNodeResourcesErrors[keyof AdminSetNodeResourcesErrors];
|
|
70519
71395
|
|
|
70520
71396
|
export type AdminSetNodeResourcesResponses = {
|
|
71397
|
+
/**
|
|
71398
|
+
* The node's resources after the change
|
|
71399
|
+
*/
|
|
70521
71400
|
200: NodeResourcesResponse;
|
|
70522
71401
|
};
|
|
70523
71402
|
|
|
@@ -71106,7 +71985,7 @@ export type KvSetErrors = {
|
|
|
71106
71985
|
|
|
71107
71986
|
export type KvSetResponses = {
|
|
71108
71987
|
/**
|
|
71109
|
-
* Value set
|
|
71988
|
+
* Value set, or `result: null` when an NX/XX condition did not hold
|
|
71110
71989
|
*/
|
|
71111
71990
|
200: SetResponse;
|
|
71112
71991
|
};
|
|
@@ -73254,6 +74133,46 @@ export type NodeSshHostKeyResponses = {
|
|
|
73254
74133
|
export type NodeSshHostKeyResponse2 =
|
|
73255
74134
|
NodeSshHostKeyResponses[keyof NodeSshHostKeyResponses];
|
|
73256
74135
|
|
|
74136
|
+
export type WireguardMeshDisableData = {
|
|
74137
|
+
body?: never;
|
|
74138
|
+
path?: never;
|
|
74139
|
+
query?: never;
|
|
74140
|
+
url: "/nodes/wireguard";
|
|
74141
|
+
};
|
|
74142
|
+
|
|
74143
|
+
export type WireguardMeshDisableErrors = {
|
|
74144
|
+
/**
|
|
74145
|
+
* Unauthorized
|
|
74146
|
+
*/
|
|
74147
|
+
401: unknown;
|
|
74148
|
+
/**
|
|
74149
|
+
* Insufficient permissions
|
|
74150
|
+
*/
|
|
74151
|
+
403: unknown;
|
|
74152
|
+
/**
|
|
74153
|
+
* Something still depends on the mesh; the detail says what
|
|
74154
|
+
*/
|
|
74155
|
+
409: unknown;
|
|
74156
|
+
/**
|
|
74157
|
+
* Re-authentication required
|
|
74158
|
+
*/
|
|
74159
|
+
428: unknown;
|
|
74160
|
+
/**
|
|
74161
|
+
* Internal server error
|
|
74162
|
+
*/
|
|
74163
|
+
500: unknown;
|
|
74164
|
+
};
|
|
74165
|
+
|
|
74166
|
+
export type WireguardMeshDisableResponses = {
|
|
74167
|
+
/**
|
|
74168
|
+
* Mesh off; current state
|
|
74169
|
+
*/
|
|
74170
|
+
200: WireguardMeshStatusResponse;
|
|
74171
|
+
};
|
|
74172
|
+
|
|
74173
|
+
export type WireguardMeshDisableResponse =
|
|
74174
|
+
WireguardMeshDisableResponses[keyof WireguardMeshDisableResponses];
|
|
74175
|
+
|
|
73257
74176
|
export type WireguardMeshStatusGetData = {
|
|
73258
74177
|
body?: never;
|
|
73259
74178
|
path?: never;
|
|
@@ -73392,11 +74311,6 @@ export type NodeMetricsGetRangeData = {
|
|
|
73392
74311
|
* Ignored when `start_time` and `end_time` are both set.
|
|
73393
74312
|
*/
|
|
73394
74313
|
range?: string;
|
|
73395
|
-
/**
|
|
73396
|
-
* Optional histogram percentile (0–100). When provided, the endpoint
|
|
73397
|
-
* fetches histogram buckets and computes the requested quantile.
|
|
73398
|
-
*/
|
|
73399
|
-
percentile?: number | null;
|
|
73400
74314
|
/**
|
|
73401
74315
|
* Explicit window start (ISO 8601). Must be paired with `end_time`.
|
|
73402
74316
|
*/
|
|
@@ -73573,6 +74487,51 @@ export type NodeMetricsDeleteAlertRuleResponses = {
|
|
|
73573
74487
|
export type NodeMetricsDeleteAlertRuleResponse =
|
|
73574
74488
|
NodeMetricsDeleteAlertRuleResponses[keyof NodeMetricsDeleteAlertRuleResponses];
|
|
73575
74489
|
|
|
74490
|
+
export type NodeMetricsGetAlertRuleData = {
|
|
74491
|
+
body?: never;
|
|
74492
|
+
path: {
|
|
74493
|
+
/**
|
|
74494
|
+
* Node ID (0 = control plane)
|
|
74495
|
+
*/
|
|
74496
|
+
id: number;
|
|
74497
|
+
/**
|
|
74498
|
+
* Alert rule ID
|
|
74499
|
+
*/
|
|
74500
|
+
rule_id: number;
|
|
74501
|
+
};
|
|
74502
|
+
query?: never;
|
|
74503
|
+
url: "/nodes/{id}/metrics/alert-rules/{rule_id}";
|
|
74504
|
+
};
|
|
74505
|
+
|
|
74506
|
+
export type NodeMetricsGetAlertRuleErrors = {
|
|
74507
|
+
/**
|
|
74508
|
+
* Unauthorized
|
|
74509
|
+
*/
|
|
74510
|
+
401: unknown;
|
|
74511
|
+
/**
|
|
74512
|
+
* Insufficient permissions
|
|
74513
|
+
*/
|
|
74514
|
+
403: unknown;
|
|
74515
|
+
/**
|
|
74516
|
+
* Alert rule not found on this node
|
|
74517
|
+
*/
|
|
74518
|
+
404: unknown;
|
|
74519
|
+
/**
|
|
74520
|
+
* Internal server error
|
|
74521
|
+
*/
|
|
74522
|
+
500: unknown;
|
|
74523
|
+
};
|
|
74524
|
+
|
|
74525
|
+
export type NodeMetricsGetAlertRuleResponses = {
|
|
74526
|
+
/**
|
|
74527
|
+
* The alert rule
|
|
74528
|
+
*/
|
|
74529
|
+
200: ServiceAlertRuleResponse;
|
|
74530
|
+
};
|
|
74531
|
+
|
|
74532
|
+
export type NodeMetricsGetAlertRuleResponse =
|
|
74533
|
+
NodeMetricsGetAlertRuleResponses[keyof NodeMetricsGetAlertRuleResponses];
|
|
74534
|
+
|
|
73576
74535
|
export type NodeMetricsUpdateAlertRuleData = {
|
|
73577
74536
|
body: ServiceUpdateAlertRuleRequest;
|
|
73578
74537
|
path: {
|
|
@@ -78759,6 +79718,51 @@ export type DeleteGroupEnvVarResponses = {
|
|
|
78759
79718
|
export type DeleteGroupEnvVarResponse =
|
|
78760
79719
|
DeleteGroupEnvVarResponses[keyof DeleteGroupEnvVarResponses];
|
|
78761
79720
|
|
|
79721
|
+
export type GetGroupEnvVarData = {
|
|
79722
|
+
body?: never;
|
|
79723
|
+
path: {
|
|
79724
|
+
/**
|
|
79725
|
+
* Project group ID
|
|
79726
|
+
*/
|
|
79727
|
+
group_id: number;
|
|
79728
|
+
/**
|
|
79729
|
+
* Variable ID
|
|
79730
|
+
*/
|
|
79731
|
+
var_id: number;
|
|
79732
|
+
};
|
|
79733
|
+
query?: never;
|
|
79734
|
+
url: "/project-groups/{group_id}/env-vars/{var_id}";
|
|
79735
|
+
};
|
|
79736
|
+
|
|
79737
|
+
export type GetGroupEnvVarErrors = {
|
|
79738
|
+
/**
|
|
79739
|
+
* Unauthorized
|
|
79740
|
+
*/
|
|
79741
|
+
401: unknown;
|
|
79742
|
+
/**
|
|
79743
|
+
* Insufficient permissions on a member project
|
|
79744
|
+
*/
|
|
79745
|
+
403: unknown;
|
|
79746
|
+
/**
|
|
79747
|
+
* Project group or variable not found
|
|
79748
|
+
*/
|
|
79749
|
+
404: unknown;
|
|
79750
|
+
/**
|
|
79751
|
+
* Internal server error
|
|
79752
|
+
*/
|
|
79753
|
+
500: unknown;
|
|
79754
|
+
};
|
|
79755
|
+
|
|
79756
|
+
export type GetGroupEnvVarResponses = {
|
|
79757
|
+
/**
|
|
79758
|
+
* The variable (value masked)
|
|
79759
|
+
*/
|
|
79760
|
+
200: GroupEnvVarResponse;
|
|
79761
|
+
};
|
|
79762
|
+
|
|
79763
|
+
export type GetGroupEnvVarResponse =
|
|
79764
|
+
GetGroupEnvVarResponses[keyof GetGroupEnvVarResponses];
|
|
79765
|
+
|
|
78762
79766
|
export type UpdateGroupEnvVarData = {
|
|
78763
79767
|
body: UpdateGroupEnvVarRequest;
|
|
78764
79768
|
path: {
|
|
@@ -78916,7 +79920,7 @@ export type AddProjectToGroupErrors = {
|
|
|
78916
79920
|
*/
|
|
78917
79921
|
404: unknown;
|
|
78918
79922
|
/**
|
|
78919
|
-
* A route involving the project appeared, the project changed group, or a project joined the destination group, while the request was being authorized; retry
|
|
79923
|
+
* 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
|
|
78920
79924
|
*/
|
|
78921
79925
|
409: unknown;
|
|
78922
79926
|
};
|
|
@@ -83237,7 +84241,16 @@ export type ListAnalyticsIngestKeysData = {
|
|
|
83237
84241
|
*/
|
|
83238
84242
|
project_id: number;
|
|
83239
84243
|
};
|
|
83240
|
-
query?:
|
|
84244
|
+
query?: {
|
|
84245
|
+
/**
|
|
84246
|
+
* Page number, starting at 1 (default 1).
|
|
84247
|
+
*/
|
|
84248
|
+
page?: number;
|
|
84249
|
+
/**
|
|
84250
|
+
* Items per page (default 20, max 100).
|
|
84251
|
+
*/
|
|
84252
|
+
page_size?: number;
|
|
84253
|
+
};
|
|
83241
84254
|
url: "/projects/{project_id}/analytics/ingest-keys";
|
|
83242
84255
|
};
|
|
83243
84256
|
|
|
@@ -83258,9 +84271,9 @@ export type ListAnalyticsIngestKeysErrors = {
|
|
|
83258
84271
|
|
|
83259
84272
|
export type ListAnalyticsIngestKeysResponses = {
|
|
83260
84273
|
/**
|
|
83261
|
-
*
|
|
84274
|
+
* One page of ingest keys, active and revoked, newest first
|
|
83262
84275
|
*/
|
|
83263
|
-
200:
|
|
84276
|
+
200: AnalyticsIngestKeyList;
|
|
83264
84277
|
};
|
|
83265
84278
|
|
|
83266
84279
|
export type ListAnalyticsIngestKeysResponse =
|
|
@@ -83311,6 +84324,51 @@ export type CreateAnalyticsIngestKeyResponses = {
|
|
|
83311
84324
|
export type CreateAnalyticsIngestKeyResponse =
|
|
83312
84325
|
CreateAnalyticsIngestKeyResponses[keyof CreateAnalyticsIngestKeyResponses];
|
|
83313
84326
|
|
|
84327
|
+
export type GetAnalyticsIngestKeyData = {
|
|
84328
|
+
body?: never;
|
|
84329
|
+
path: {
|
|
84330
|
+
/**
|
|
84331
|
+
* Project ID
|
|
84332
|
+
*/
|
|
84333
|
+
project_id: number;
|
|
84334
|
+
/**
|
|
84335
|
+
* Analytics ingest key ID
|
|
84336
|
+
*/
|
|
84337
|
+
key_id: number;
|
|
84338
|
+
};
|
|
84339
|
+
query?: never;
|
|
84340
|
+
url: "/projects/{project_id}/analytics/ingest-keys/{key_id}";
|
|
84341
|
+
};
|
|
84342
|
+
|
|
84343
|
+
export type GetAnalyticsIngestKeyErrors = {
|
|
84344
|
+
/**
|
|
84345
|
+
* Unauthorized
|
|
84346
|
+
*/
|
|
84347
|
+
401: unknown;
|
|
84348
|
+
/**
|
|
84349
|
+
* Insufficient permissions
|
|
84350
|
+
*/
|
|
84351
|
+
403: unknown;
|
|
84352
|
+
/**
|
|
84353
|
+
* Ingest key not found in this project
|
|
84354
|
+
*/
|
|
84355
|
+
404: unknown;
|
|
84356
|
+
/**
|
|
84357
|
+
* Internal server error
|
|
84358
|
+
*/
|
|
84359
|
+
500: unknown;
|
|
84360
|
+
};
|
|
84361
|
+
|
|
84362
|
+
export type GetAnalyticsIngestKeyResponses = {
|
|
84363
|
+
/**
|
|
84364
|
+
* The ingest key
|
|
84365
|
+
*/
|
|
84366
|
+
200: AnalyticsIngestKey;
|
|
84367
|
+
};
|
|
84368
|
+
|
|
84369
|
+
export type GetAnalyticsIngestKeyResponse =
|
|
84370
|
+
GetAnalyticsIngestKeyResponses[keyof GetAnalyticsIngestKeyResponses];
|
|
84371
|
+
|
|
83314
84372
|
export type UpdateAnalyticsIngestKeyData = {
|
|
83315
84373
|
body: UpdateAnalyticsIngestKeyRequest;
|
|
83316
84374
|
path: {
|
|
@@ -85707,7 +86765,7 @@ export type CreateDeploymentTokenData = {
|
|
|
85707
86765
|
|
|
85708
86766
|
export type CreateDeploymentTokenErrors = {
|
|
85709
86767
|
/**
|
|
85710
|
-
* Invalid request
|
|
86768
|
+
* Invalid request: blank name, empty permissions, an expiry in the past, or a deployment of another environment
|
|
85711
86769
|
*/
|
|
85712
86770
|
400: unknown;
|
|
85713
86771
|
/**
|
|
@@ -85718,6 +86776,10 @@ export type CreateDeploymentTokenErrors = {
|
|
|
85718
86776
|
* Insufficient permissions
|
|
85719
86777
|
*/
|
|
85720
86778
|
403: unknown;
|
|
86779
|
+
/**
|
|
86780
|
+
* The project, or the requested environment or deployment in it, was not found
|
|
86781
|
+
*/
|
|
86782
|
+
404: unknown;
|
|
85721
86783
|
/**
|
|
85722
86784
|
* Token with this name already exists
|
|
85723
86785
|
*/
|
|
@@ -85846,7 +86908,7 @@ export type UpdateDeploymentTokenData = {
|
|
|
85846
86908
|
|
|
85847
86909
|
export type UpdateDeploymentTokenErrors = {
|
|
85848
86910
|
/**
|
|
85849
|
-
* Invalid request
|
|
86911
|
+
* Invalid request: blank name, empty permissions or a new expiry in the past (the token's current expiry may be sent back unchanged)
|
|
85850
86912
|
*/
|
|
85851
86913
|
400: unknown;
|
|
85852
86914
|
/**
|
|
@@ -87163,7 +88225,7 @@ export type CreateEdgeRuleData = {
|
|
|
87163
88225
|
|
|
87164
88226
|
export type CreateEdgeRuleErrors = {
|
|
87165
88227
|
/**
|
|
87166
|
-
* Invalid rule
|
|
88228
|
+
* 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)
|
|
87167
88229
|
*/
|
|
87168
88230
|
400: ProblemDetails;
|
|
87169
88231
|
/**
|
|
@@ -90506,7 +91568,7 @@ export type ListShieldTokensError =
|
|
|
90506
91568
|
|
|
90507
91569
|
export type ListShieldTokensResponses = {
|
|
90508
91570
|
/**
|
|
90509
|
-
*
|
|
91571
|
+
* Every active bypass token valid here (at most 100, newest first)
|
|
90510
91572
|
*/
|
|
90511
91573
|
200: Array<ShieldTokenResponse>;
|
|
90512
91574
|
};
|
|
@@ -93402,7 +94464,7 @@ export type ListErrorInboundFiltersErrors = {
|
|
|
93402
94464
|
|
|
93403
94465
|
export type ListErrorInboundFiltersResponses = {
|
|
93404
94466
|
/**
|
|
93405
|
-
* The project's inbound filters
|
|
94467
|
+
* The project's inbound filters, oldest first. Not paginated: bounded by design to 50 rules per project
|
|
93406
94468
|
*/
|
|
93407
94469
|
200: InboundFiltersResponse;
|
|
93408
94470
|
};
|
|
@@ -93500,6 +94562,51 @@ export type DeleteErrorInboundFilterResponses = {
|
|
|
93500
94562
|
export type DeleteErrorInboundFilterResponse =
|
|
93501
94563
|
DeleteErrorInboundFilterResponses[keyof DeleteErrorInboundFilterResponses];
|
|
93502
94564
|
|
|
94565
|
+
export type GetErrorInboundFilterData = {
|
|
94566
|
+
body?: never;
|
|
94567
|
+
path: {
|
|
94568
|
+
/**
|
|
94569
|
+
* Project ID
|
|
94570
|
+
*/
|
|
94571
|
+
project_id: number;
|
|
94572
|
+
/**
|
|
94573
|
+
* Inbound filter ID
|
|
94574
|
+
*/
|
|
94575
|
+
filter_id: number;
|
|
94576
|
+
};
|
|
94577
|
+
query?: never;
|
|
94578
|
+
url: "/projects/{project_id}/error-inbound-filters/{filter_id}";
|
|
94579
|
+
};
|
|
94580
|
+
|
|
94581
|
+
export type GetErrorInboundFilterErrors = {
|
|
94582
|
+
/**
|
|
94583
|
+
* Unauthorized
|
|
94584
|
+
*/
|
|
94585
|
+
401: unknown;
|
|
94586
|
+
/**
|
|
94587
|
+
* Insufficient permissions
|
|
94588
|
+
*/
|
|
94589
|
+
403: unknown;
|
|
94590
|
+
/**
|
|
94591
|
+
* No such filter in this project
|
|
94592
|
+
*/
|
|
94593
|
+
404: unknown;
|
|
94594
|
+
/**
|
|
94595
|
+
* Internal server error
|
|
94596
|
+
*/
|
|
94597
|
+
500: unknown;
|
|
94598
|
+
};
|
|
94599
|
+
|
|
94600
|
+
export type GetErrorInboundFilterResponses = {
|
|
94601
|
+
/**
|
|
94602
|
+
* The filter, as listed
|
|
94603
|
+
*/
|
|
94604
|
+
200: InboundFilterResponse;
|
|
94605
|
+
};
|
|
94606
|
+
|
|
94607
|
+
export type GetErrorInboundFilterResponse =
|
|
94608
|
+
GetErrorInboundFilterResponses[keyof GetErrorInboundFilterResponses];
|
|
94609
|
+
|
|
93503
94610
|
export type UpdateErrorInboundFilterData = {
|
|
93504
94611
|
body: UpdateInboundFilterRequest;
|
|
93505
94612
|
path: {
|
|
@@ -95222,7 +96329,16 @@ export type ListFunnelsData = {
|
|
|
95222
96329
|
*/
|
|
95223
96330
|
project_id: number;
|
|
95224
96331
|
};
|
|
95225
|
-
query?:
|
|
96332
|
+
query?: {
|
|
96333
|
+
/**
|
|
96334
|
+
* Page number, starting at 1 (default 1).
|
|
96335
|
+
*/
|
|
96336
|
+
page?: number;
|
|
96337
|
+
/**
|
|
96338
|
+
* Items per page (default 20, max 100).
|
|
96339
|
+
*/
|
|
96340
|
+
page_size?: number;
|
|
96341
|
+
};
|
|
95226
96342
|
url: "/projects/{project_id}/funnels";
|
|
95227
96343
|
};
|
|
95228
96344
|
|
|
@@ -95231,6 +96347,10 @@ export type ListFunnelsErrors = {
|
|
|
95231
96347
|
* Unauthorized
|
|
95232
96348
|
*/
|
|
95233
96349
|
401: unknown;
|
|
96350
|
+
/**
|
|
96351
|
+
* Insufficient permissions
|
|
96352
|
+
*/
|
|
96353
|
+
403: unknown;
|
|
95234
96354
|
/**
|
|
95235
96355
|
* Internal server error
|
|
95236
96356
|
*/
|
|
@@ -95239,9 +96359,9 @@ export type ListFunnelsErrors = {
|
|
|
95239
96359
|
|
|
95240
96360
|
export type ListFunnelsResponses = {
|
|
95241
96361
|
/**
|
|
95242
|
-
*
|
|
96362
|
+
* One page of funnels, newest first
|
|
95243
96363
|
*/
|
|
95244
|
-
200:
|
|
96364
|
+
200: FunnelList;
|
|
95245
96365
|
};
|
|
95246
96366
|
|
|
95247
96367
|
export type ListFunnelsResponse =
|
|
@@ -95268,6 +96388,10 @@ export type CreateFunnelErrors = {
|
|
|
95268
96388
|
* Unauthorized
|
|
95269
96389
|
*/
|
|
95270
96390
|
401: unknown;
|
|
96391
|
+
/**
|
|
96392
|
+
* Insufficient permissions
|
|
96393
|
+
*/
|
|
96394
|
+
403: unknown;
|
|
95271
96395
|
/**
|
|
95272
96396
|
* Internal server error
|
|
95273
96397
|
*/
|
|
@@ -95276,12 +96400,12 @@ export type CreateFunnelErrors = {
|
|
|
95276
96400
|
|
|
95277
96401
|
export type CreateFunnelResponses = {
|
|
95278
96402
|
/**
|
|
95279
|
-
* Funnel created
|
|
96403
|
+
* Funnel created; the body is the funnel with its steps
|
|
95280
96404
|
*/
|
|
95281
|
-
201:
|
|
96405
|
+
201: FunnelResponse;
|
|
95282
96406
|
};
|
|
95283
96407
|
|
|
95284
|
-
export type
|
|
96408
|
+
export type CreateFunnelResponse =
|
|
95285
96409
|
CreateFunnelResponses[keyof CreateFunnelResponses];
|
|
95286
96410
|
|
|
95287
96411
|
export type PreviewFunnelMetricsData = {
|
|
@@ -95346,6 +96470,10 @@ export type DeleteFunnelErrors = {
|
|
|
95346
96470
|
* Unauthorized
|
|
95347
96471
|
*/
|
|
95348
96472
|
401: unknown;
|
|
96473
|
+
/**
|
|
96474
|
+
* Insufficient permissions
|
|
96475
|
+
*/
|
|
96476
|
+
403: unknown;
|
|
95349
96477
|
/**
|
|
95350
96478
|
* Funnel not found
|
|
95351
96479
|
*/
|
|
@@ -95366,6 +96494,50 @@ export type DeleteFunnelResponses = {
|
|
|
95366
96494
|
export type DeleteFunnelResponse =
|
|
95367
96495
|
DeleteFunnelResponses[keyof DeleteFunnelResponses];
|
|
95368
96496
|
|
|
96497
|
+
export type GetFunnelData = {
|
|
96498
|
+
body?: never;
|
|
96499
|
+
path: {
|
|
96500
|
+
/**
|
|
96501
|
+
* Project ID
|
|
96502
|
+
*/
|
|
96503
|
+
project_id: number;
|
|
96504
|
+
/**
|
|
96505
|
+
* Funnel ID
|
|
96506
|
+
*/
|
|
96507
|
+
funnel_id: number;
|
|
96508
|
+
};
|
|
96509
|
+
query?: never;
|
|
96510
|
+
url: "/projects/{project_id}/funnels/{funnel_id}";
|
|
96511
|
+
};
|
|
96512
|
+
|
|
96513
|
+
export type GetFunnelErrors = {
|
|
96514
|
+
/**
|
|
96515
|
+
* Unauthorized
|
|
96516
|
+
*/
|
|
96517
|
+
401: unknown;
|
|
96518
|
+
/**
|
|
96519
|
+
* Insufficient permissions
|
|
96520
|
+
*/
|
|
96521
|
+
403: unknown;
|
|
96522
|
+
/**
|
|
96523
|
+
* No active funnel with this ID in the project
|
|
96524
|
+
*/
|
|
96525
|
+
404: unknown;
|
|
96526
|
+
/**
|
|
96527
|
+
* Internal server error
|
|
96528
|
+
*/
|
|
96529
|
+
500: unknown;
|
|
96530
|
+
};
|
|
96531
|
+
|
|
96532
|
+
export type GetFunnelResponses = {
|
|
96533
|
+
/**
|
|
96534
|
+
* The funnel with its steps
|
|
96535
|
+
*/
|
|
96536
|
+
200: FunnelResponse;
|
|
96537
|
+
};
|
|
96538
|
+
|
|
96539
|
+
export type GetFunnelResponse = GetFunnelResponses[keyof GetFunnelResponses];
|
|
96540
|
+
|
|
95369
96541
|
export type UpdateFunnelData = {
|
|
95370
96542
|
body: CreateFunnelRequest;
|
|
95371
96543
|
path: {
|
|
@@ -95391,6 +96563,10 @@ export type UpdateFunnelErrors = {
|
|
|
95391
96563
|
* Unauthorized
|
|
95392
96564
|
*/
|
|
95393
96565
|
401: unknown;
|
|
96566
|
+
/**
|
|
96567
|
+
* Insufficient permissions
|
|
96568
|
+
*/
|
|
96569
|
+
403: unknown;
|
|
95394
96570
|
/**
|
|
95395
96571
|
* Funnel not found
|
|
95396
96572
|
*/
|
|
@@ -95403,9 +96579,9 @@ export type UpdateFunnelErrors = {
|
|
|
95403
96579
|
|
|
95404
96580
|
export type UpdateFunnelResponses = {
|
|
95405
96581
|
/**
|
|
95406
|
-
* Funnel updated
|
|
96582
|
+
* Funnel updated; the body is the funnel with its steps
|
|
95407
96583
|
*/
|
|
95408
|
-
200:
|
|
96584
|
+
200: FunnelResponse;
|
|
95409
96585
|
};
|
|
95410
96586
|
|
|
95411
96587
|
export type UpdateFunnelResponse =
|
|
@@ -96032,6 +97208,51 @@ export type DeleteHttpCheckResponses = {
|
|
|
96032
97208
|
200: unknown;
|
|
96033
97209
|
};
|
|
96034
97210
|
|
|
97211
|
+
export type GetHttpCheckData = {
|
|
97212
|
+
body?: never;
|
|
97213
|
+
path: {
|
|
97214
|
+
/**
|
|
97215
|
+
* Project ID
|
|
97216
|
+
*/
|
|
97217
|
+
project_id: number;
|
|
97218
|
+
/**
|
|
97219
|
+
* Check ID
|
|
97220
|
+
*/
|
|
97221
|
+
check_id: number;
|
|
97222
|
+
};
|
|
97223
|
+
query?: never;
|
|
97224
|
+
url: "/projects/{project_id}/http-checks/{check_id}";
|
|
97225
|
+
};
|
|
97226
|
+
|
|
97227
|
+
export type GetHttpCheckErrors = {
|
|
97228
|
+
/**
|
|
97229
|
+
* Unauthorized
|
|
97230
|
+
*/
|
|
97231
|
+
401: unknown;
|
|
97232
|
+
/**
|
|
97233
|
+
* Forbidden
|
|
97234
|
+
*/
|
|
97235
|
+
403: unknown;
|
|
97236
|
+
/**
|
|
97237
|
+
* No check with this ID in the project
|
|
97238
|
+
*/
|
|
97239
|
+
404: unknown;
|
|
97240
|
+
/**
|
|
97241
|
+
* Internal error
|
|
97242
|
+
*/
|
|
97243
|
+
500: unknown;
|
|
97244
|
+
};
|
|
97245
|
+
|
|
97246
|
+
export type GetHttpCheckResponses = {
|
|
97247
|
+
/**
|
|
97248
|
+
* The check, as listed (credentials are never returned)
|
|
97249
|
+
*/
|
|
97250
|
+
200: HttpCheckView;
|
|
97251
|
+
};
|
|
97252
|
+
|
|
97253
|
+
export type GetHttpCheckResponse =
|
|
97254
|
+
GetHttpCheckResponses[keyof GetHttpCheckResponses];
|
|
97255
|
+
|
|
96035
97256
|
export type SetHttpCheckEnabledData = {
|
|
96036
97257
|
body: SetHttpCheckEnabled;
|
|
96037
97258
|
path: {
|
|
@@ -97702,18 +98923,74 @@ export type UpdateMcpErrors = {
|
|
|
97702
98923
|
* Unauthorized
|
|
97703
98924
|
*/
|
|
97704
98925
|
401: unknown;
|
|
98926
|
+
/**
|
|
98927
|
+
* Insufficient permissions
|
|
98928
|
+
*/
|
|
98929
|
+
403: unknown;
|
|
97705
98930
|
/**
|
|
97706
98931
|
* MCP server not found
|
|
97707
98932
|
*/
|
|
97708
98933
|
404: unknown;
|
|
98934
|
+
/**
|
|
98935
|
+
* Internal server error
|
|
98936
|
+
*/
|
|
98937
|
+
500: unknown;
|
|
97709
98938
|
};
|
|
97710
98939
|
|
|
97711
98940
|
export type UpdateMcpResponses = {
|
|
98941
|
+
/**
|
|
98942
|
+
* Updated definition
|
|
98943
|
+
*/
|
|
97712
98944
|
200: McpDefinitionResponse;
|
|
97713
98945
|
};
|
|
97714
98946
|
|
|
97715
98947
|
export type UpdateMcpResponse = UpdateMcpResponses[keyof UpdateMcpResponses];
|
|
97716
98948
|
|
|
98949
|
+
export type UpdateMcpPutData = {
|
|
98950
|
+
body: UpdateMcpRequest;
|
|
98951
|
+
path: {
|
|
98952
|
+
/**
|
|
98953
|
+
* Project ID
|
|
98954
|
+
*/
|
|
98955
|
+
project_id: number;
|
|
98956
|
+
/**
|
|
98957
|
+
* MCP server slug
|
|
98958
|
+
*/
|
|
98959
|
+
slug: string;
|
|
98960
|
+
};
|
|
98961
|
+
query?: never;
|
|
98962
|
+
url: "/projects/{project_id}/mcp-servers/{slug}";
|
|
98963
|
+
};
|
|
98964
|
+
|
|
98965
|
+
export type UpdateMcpPutErrors = {
|
|
98966
|
+
/**
|
|
98967
|
+
* Unauthorized
|
|
98968
|
+
*/
|
|
98969
|
+
401: unknown;
|
|
98970
|
+
/**
|
|
98971
|
+
* Insufficient permissions
|
|
98972
|
+
*/
|
|
98973
|
+
403: unknown;
|
|
98974
|
+
/**
|
|
98975
|
+
* MCP server not found
|
|
98976
|
+
*/
|
|
98977
|
+
404: unknown;
|
|
98978
|
+
/**
|
|
98979
|
+
* Internal server error
|
|
98980
|
+
*/
|
|
98981
|
+
500: unknown;
|
|
98982
|
+
};
|
|
98983
|
+
|
|
98984
|
+
export type UpdateMcpPutResponses = {
|
|
98985
|
+
/**
|
|
98986
|
+
* Updated definition
|
|
98987
|
+
*/
|
|
98988
|
+
200: McpDefinitionResponse;
|
|
98989
|
+
};
|
|
98990
|
+
|
|
98991
|
+
export type UpdateMcpPutResponse =
|
|
98992
|
+
UpdateMcpPutResponses[keyof UpdateMcpPutResponses];
|
|
98993
|
+
|
|
97717
98994
|
export type RevealMcpConfigData = {
|
|
97718
98995
|
body?: never;
|
|
97719
98996
|
path: {
|
|
@@ -99248,14 +100525,30 @@ export type ListProjectSecretsData = {
|
|
|
99248
100525
|
};
|
|
99249
100526
|
query?: {
|
|
99250
100527
|
/**
|
|
99251
|
-
*
|
|
100528
|
+
* Only secrets attached to this environment
|
|
99252
100529
|
*/
|
|
99253
100530
|
environment_id?: number;
|
|
100531
|
+
/**
|
|
100532
|
+
* Page number, starting at 1 (default 1)
|
|
100533
|
+
*/
|
|
100534
|
+
page?: number;
|
|
100535
|
+
/**
|
|
100536
|
+
* Items per page (default 20, max 100)
|
|
100537
|
+
*/
|
|
100538
|
+
page_size?: number;
|
|
99254
100539
|
};
|
|
99255
100540
|
url: "/projects/{project_id}/secrets";
|
|
99256
100541
|
};
|
|
99257
100542
|
|
|
99258
100543
|
export type ListProjectSecretsErrors = {
|
|
100544
|
+
/**
|
|
100545
|
+
* Unauthorized
|
|
100546
|
+
*/
|
|
100547
|
+
401: unknown;
|
|
100548
|
+
/**
|
|
100549
|
+
* Insufficient permissions
|
|
100550
|
+
*/
|
|
100551
|
+
403: unknown;
|
|
99259
100552
|
/**
|
|
99260
100553
|
* Project not found
|
|
99261
100554
|
*/
|
|
@@ -99268,9 +100561,9 @@ export type ListProjectSecretsErrors = {
|
|
|
99268
100561
|
|
|
99269
100562
|
export type ListProjectSecretsResponses = {
|
|
99270
100563
|
/**
|
|
99271
|
-
*
|
|
100564
|
+
* One page of secrets (metadata only, no values), newest first
|
|
99272
100565
|
*/
|
|
99273
|
-
200:
|
|
100566
|
+
200: ProjectSecretList;
|
|
99274
100567
|
};
|
|
99275
100568
|
|
|
99276
100569
|
export type ListProjectSecretsResponse =
|
|
@@ -99350,6 +100643,51 @@ export type DeleteProjectSecretResponses = {
|
|
|
99350
100643
|
export type DeleteProjectSecretResponse =
|
|
99351
100644
|
DeleteProjectSecretResponses[keyof DeleteProjectSecretResponses];
|
|
99352
100645
|
|
|
100646
|
+
export type GetProjectSecretData = {
|
|
100647
|
+
body?: never;
|
|
100648
|
+
path: {
|
|
100649
|
+
/**
|
|
100650
|
+
* Project ID
|
|
100651
|
+
*/
|
|
100652
|
+
project_id: number;
|
|
100653
|
+
/**
|
|
100654
|
+
* Secret ID
|
|
100655
|
+
*/
|
|
100656
|
+
secret_id: number;
|
|
100657
|
+
};
|
|
100658
|
+
query?: never;
|
|
100659
|
+
url: "/projects/{project_id}/secrets/{secret_id}";
|
|
100660
|
+
};
|
|
100661
|
+
|
|
100662
|
+
export type GetProjectSecretErrors = {
|
|
100663
|
+
/**
|
|
100664
|
+
* Unauthorized
|
|
100665
|
+
*/
|
|
100666
|
+
401: unknown;
|
|
100667
|
+
/**
|
|
100668
|
+
* Insufficient permissions
|
|
100669
|
+
*/
|
|
100670
|
+
403: unknown;
|
|
100671
|
+
/**
|
|
100672
|
+
* No secret with this ID in the project
|
|
100673
|
+
*/
|
|
100674
|
+
404: unknown;
|
|
100675
|
+
/**
|
|
100676
|
+
* Internal server error
|
|
100677
|
+
*/
|
|
100678
|
+
500: unknown;
|
|
100679
|
+
};
|
|
100680
|
+
|
|
100681
|
+
export type GetProjectSecretResponses = {
|
|
100682
|
+
/**
|
|
100683
|
+
* The secret's metadata, without its value
|
|
100684
|
+
*/
|
|
100685
|
+
200: ProjectSecretResponse;
|
|
100686
|
+
};
|
|
100687
|
+
|
|
100688
|
+
export type GetProjectSecretResponse =
|
|
100689
|
+
GetProjectSecretResponses[keyof GetProjectSecretResponses];
|
|
100690
|
+
|
|
99353
100691
|
export type UpdateProjectSecretData = {
|
|
99354
100692
|
body: UpdateProjectSecretRequest;
|
|
99355
100693
|
path: {
|
|
@@ -99368,13 +100706,17 @@ export type UpdateProjectSecretData = {
|
|
|
99368
100706
|
|
|
99369
100707
|
export type UpdateProjectSecretErrors = {
|
|
99370
100708
|
/**
|
|
99371
|
-
* Value too large
|
|
100709
|
+
* Value too large or an invalid compose service name
|
|
99372
100710
|
*/
|
|
99373
100711
|
400: unknown;
|
|
99374
100712
|
/**
|
|
99375
|
-
*
|
|
100713
|
+
* The secret, or a requested environment, was not found in the project
|
|
99376
100714
|
*/
|
|
99377
100715
|
404: unknown;
|
|
100716
|
+
/**
|
|
100717
|
+
* Another secret with the same key already applies to one of the requested environments
|
|
100718
|
+
*/
|
|
100719
|
+
409: unknown;
|
|
99378
100720
|
/**
|
|
99379
100721
|
* Internal server error
|
|
99380
100722
|
*/
|
|
@@ -99735,7 +101077,7 @@ export type ListProjectShieldEntriesError =
|
|
|
99735
101077
|
|
|
99736
101078
|
export type ListProjectShieldEntriesResponses = {
|
|
99737
101079
|
/**
|
|
99738
|
-
*
|
|
101080
|
+
* Every entry of the project (at most 500, newest first)
|
|
99739
101081
|
*/
|
|
99740
101082
|
200: Array<ShieldEntryResponse>;
|
|
99741
101083
|
};
|
|
@@ -99843,6 +101185,54 @@ export type DeleteProjectShieldEntryResponses = {
|
|
|
99843
101185
|
export type DeleteProjectShieldEntryResponse =
|
|
99844
101186
|
DeleteProjectShieldEntryResponses[keyof DeleteProjectShieldEntryResponses];
|
|
99845
101187
|
|
|
101188
|
+
export type GetProjectShieldEntryData = {
|
|
101189
|
+
body?: never;
|
|
101190
|
+
path: {
|
|
101191
|
+
/**
|
|
101192
|
+
* Project ID
|
|
101193
|
+
*/
|
|
101194
|
+
project_id: number;
|
|
101195
|
+
/**
|
|
101196
|
+
* Entry ID
|
|
101197
|
+
*/
|
|
101198
|
+
entry_id: number;
|
|
101199
|
+
};
|
|
101200
|
+
query?: never;
|
|
101201
|
+
url: "/projects/{project_id}/shield/entries/{entry_id}";
|
|
101202
|
+
};
|
|
101203
|
+
|
|
101204
|
+
export type GetProjectShieldEntryErrors = {
|
|
101205
|
+
/**
|
|
101206
|
+
* Unauthorized
|
|
101207
|
+
*/
|
|
101208
|
+
401: ProblemDetails;
|
|
101209
|
+
/**
|
|
101210
|
+
* Insufficient permissions
|
|
101211
|
+
*/
|
|
101212
|
+
403: ProblemDetails;
|
|
101213
|
+
/**
|
|
101214
|
+
* Entry not found in this project
|
|
101215
|
+
*/
|
|
101216
|
+
404: ProblemDetails;
|
|
101217
|
+
/**
|
|
101218
|
+
* Internal server error
|
|
101219
|
+
*/
|
|
101220
|
+
500: ProblemDetails;
|
|
101221
|
+
};
|
|
101222
|
+
|
|
101223
|
+
export type GetProjectShieldEntryError =
|
|
101224
|
+
GetProjectShieldEntryErrors[keyof GetProjectShieldEntryErrors];
|
|
101225
|
+
|
|
101226
|
+
export type GetProjectShieldEntryResponses = {
|
|
101227
|
+
/**
|
|
101228
|
+
* The entry, as listed
|
|
101229
|
+
*/
|
|
101230
|
+
200: ShieldEntryResponse;
|
|
101231
|
+
};
|
|
101232
|
+
|
|
101233
|
+
export type GetProjectShieldEntryResponse =
|
|
101234
|
+
GetProjectShieldEntryResponses[keyof GetProjectShieldEntryResponses];
|
|
101235
|
+
|
|
99846
101236
|
export type UpdateProjectShieldEntryData = {
|
|
99847
101237
|
body: UpdateShieldEntryRequest;
|
|
99848
101238
|
path: {
|
|
@@ -100064,19 +101454,75 @@ export type UpdateSkillErrors = {
|
|
|
100064
101454
|
* Unauthorized
|
|
100065
101455
|
*/
|
|
100066
101456
|
401: unknown;
|
|
101457
|
+
/**
|
|
101458
|
+
* Insufficient permissions
|
|
101459
|
+
*/
|
|
101460
|
+
403: unknown;
|
|
100067
101461
|
/**
|
|
100068
101462
|
* Skill not found
|
|
100069
101463
|
*/
|
|
100070
101464
|
404: unknown;
|
|
101465
|
+
/**
|
|
101466
|
+
* Internal server error
|
|
101467
|
+
*/
|
|
101468
|
+
500: unknown;
|
|
100071
101469
|
};
|
|
100072
101470
|
|
|
100073
101471
|
export type UpdateSkillResponses = {
|
|
101472
|
+
/**
|
|
101473
|
+
* Updated definition
|
|
101474
|
+
*/
|
|
100074
101475
|
200: SkillDefinitionResponse;
|
|
100075
101476
|
};
|
|
100076
101477
|
|
|
100077
101478
|
export type UpdateSkillResponse =
|
|
100078
101479
|
UpdateSkillResponses[keyof UpdateSkillResponses];
|
|
100079
101480
|
|
|
101481
|
+
export type UpdateSkillPutData = {
|
|
101482
|
+
body: UpdateSkillRequest;
|
|
101483
|
+
path: {
|
|
101484
|
+
/**
|
|
101485
|
+
* Project ID
|
|
101486
|
+
*/
|
|
101487
|
+
project_id: number;
|
|
101488
|
+
/**
|
|
101489
|
+
* Skill slug
|
|
101490
|
+
*/
|
|
101491
|
+
slug: string;
|
|
101492
|
+
};
|
|
101493
|
+
query?: never;
|
|
101494
|
+
url: "/projects/{project_id}/skills/{slug}";
|
|
101495
|
+
};
|
|
101496
|
+
|
|
101497
|
+
export type UpdateSkillPutErrors = {
|
|
101498
|
+
/**
|
|
101499
|
+
* Unauthorized
|
|
101500
|
+
*/
|
|
101501
|
+
401: unknown;
|
|
101502
|
+
/**
|
|
101503
|
+
* Insufficient permissions
|
|
101504
|
+
*/
|
|
101505
|
+
403: unknown;
|
|
101506
|
+
/**
|
|
101507
|
+
* Skill not found
|
|
101508
|
+
*/
|
|
101509
|
+
404: unknown;
|
|
101510
|
+
/**
|
|
101511
|
+
* Internal server error
|
|
101512
|
+
*/
|
|
101513
|
+
500: unknown;
|
|
101514
|
+
};
|
|
101515
|
+
|
|
101516
|
+
export type UpdateSkillPutResponses = {
|
|
101517
|
+
/**
|
|
101518
|
+
* Updated definition
|
|
101519
|
+
*/
|
|
101520
|
+
200: SkillDefinitionResponse;
|
|
101521
|
+
};
|
|
101522
|
+
|
|
101523
|
+
export type UpdateSkillPutResponse =
|
|
101524
|
+
UpdateSkillPutResponses[keyof UpdateSkillPutResponses];
|
|
101525
|
+
|
|
100080
101526
|
export type DownloadSkillArchiveData = {
|
|
100081
101527
|
body?: never;
|
|
100082
101528
|
path: {
|
|
@@ -102741,6 +104187,76 @@ export type GetRepositoryPresetByNameResponses = {
|
|
|
102741
104187
|
export type GetRepositoryPresetByNameResponse =
|
|
102742
104188
|
GetRepositoryPresetByNameResponses[keyof GetRepositoryPresetByNameResponses];
|
|
102743
104189
|
|
|
104190
|
+
export type GetRepositoryBranchData = {
|
|
104191
|
+
body?: never;
|
|
104192
|
+
path: {
|
|
104193
|
+
/**
|
|
104194
|
+
* Repository owner
|
|
104195
|
+
*/
|
|
104196
|
+
owner: string;
|
|
104197
|
+
/**
|
|
104198
|
+
* Repository name
|
|
104199
|
+
*/
|
|
104200
|
+
repo: string;
|
|
104201
|
+
};
|
|
104202
|
+
query: {
|
|
104203
|
+
/**
|
|
104204
|
+
* Git provider connection ID (required when multiple connections have the same repo)
|
|
104205
|
+
*/
|
|
104206
|
+
connection_id: number;
|
|
104207
|
+
/**
|
|
104208
|
+
* Exact branch name to look up
|
|
104209
|
+
*/
|
|
104210
|
+
name: string;
|
|
104211
|
+
};
|
|
104212
|
+
url: "/repositories/{owner}/{repo}/branch";
|
|
104213
|
+
};
|
|
104214
|
+
|
|
104215
|
+
export type GetRepositoryBranchErrors = {
|
|
104216
|
+
/**
|
|
104217
|
+
* Empty branch name
|
|
104218
|
+
*/
|
|
104219
|
+
400: unknown;
|
|
104220
|
+
/**
|
|
104221
|
+
* Unauthorized
|
|
104222
|
+
*/
|
|
104223
|
+
401: unknown;
|
|
104224
|
+
/**
|
|
104225
|
+
* Git provider permission required
|
|
104226
|
+
*/
|
|
104227
|
+
403: unknown;
|
|
104228
|
+
/**
|
|
104229
|
+
* Repository or branch not found
|
|
104230
|
+
*/
|
|
104231
|
+
404: unknown;
|
|
104232
|
+
/**
|
|
104233
|
+
* The connection must be reauthorized
|
|
104234
|
+
*/
|
|
104235
|
+
409: unknown;
|
|
104236
|
+
/**
|
|
104237
|
+
* Branch lookup rate limit exceeded
|
|
104238
|
+
*/
|
|
104239
|
+
429: unknown;
|
|
104240
|
+
/**
|
|
104241
|
+
* Internal server error
|
|
104242
|
+
*/
|
|
104243
|
+
500: unknown;
|
|
104244
|
+
/**
|
|
104245
|
+
* Git provider request failed, or the repository could not be read to confirm a missing branch
|
|
104246
|
+
*/
|
|
104247
|
+
502: unknown;
|
|
104248
|
+
};
|
|
104249
|
+
|
|
104250
|
+
export type GetRepositoryBranchResponses = {
|
|
104251
|
+
/**
|
|
104252
|
+
* The branch
|
|
104253
|
+
*/
|
|
104254
|
+
200: BranchInfo;
|
|
104255
|
+
};
|
|
104256
|
+
|
|
104257
|
+
export type GetRepositoryBranchResponse =
|
|
104258
|
+
GetRepositoryBranchResponses[keyof GetRepositoryBranchResponses];
|
|
104259
|
+
|
|
102744
104260
|
export type GetRepositoryBranchesData = {
|
|
102745
104261
|
body?: never;
|
|
102746
104262
|
path: {
|
|
@@ -103707,7 +105223,7 @@ export type GetSettingsResponse =
|
|
|
103707
105223
|
GetSettingsResponses[keyof GetSettingsResponses];
|
|
103708
105224
|
|
|
103709
105225
|
export type UpdateSettingsData = {
|
|
103710
|
-
body:
|
|
105226
|
+
body: UpdateSettingsRequestWritable;
|
|
103711
105227
|
path?: never;
|
|
103712
105228
|
query?: never;
|
|
103713
105229
|
url: "/settings";
|
|
@@ -103722,6 +105238,10 @@ export type UpdateSettingsErrors = {
|
|
|
103722
105238
|
* Unauthorized
|
|
103723
105239
|
*/
|
|
103724
105240
|
401: unknown;
|
|
105241
|
+
/**
|
|
105242
|
+
* `expected_revision` is stale (the settings changed since they were read), or the public ingress hostname is in use; nothing was saved
|
|
105243
|
+
*/
|
|
105244
|
+
409: unknown;
|
|
103725
105245
|
/**
|
|
103726
105246
|
* Internal server error
|
|
103727
105247
|
*/
|
|
@@ -103974,6 +105494,12 @@ export type GetAiProviderHarnessUpdateData = {
|
|
|
103974
105494
|
* Look inside the workspace again instead of returning the cached check.
|
|
103975
105495
|
*/
|
|
103976
105496
|
refresh?: boolean;
|
|
105497
|
+
/**
|
|
105498
|
+
* Return only what was last read, never looking inside the workspace
|
|
105499
|
+
* (which could create or wake it). Not checked yet: every version field
|
|
105500
|
+
* and `checked_at` are null. Ignored when `refresh` is set.
|
|
105501
|
+
*/
|
|
105502
|
+
cached_only?: boolean;
|
|
103977
105503
|
};
|
|
103978
105504
|
url: "/settings/ai-providers/{provider_id}/harness-update";
|
|
103979
105505
|
};
|
|
@@ -104937,19 +106463,71 @@ export type UpdateGlobalMcpErrors = {
|
|
|
104937
106463
|
* Unauthorized
|
|
104938
106464
|
*/
|
|
104939
106465
|
401: unknown;
|
|
106466
|
+
/**
|
|
106467
|
+
* Insufficient permissions
|
|
106468
|
+
*/
|
|
106469
|
+
403: unknown;
|
|
104940
106470
|
/**
|
|
104941
106471
|
* MCP server not found
|
|
104942
106472
|
*/
|
|
104943
106473
|
404: unknown;
|
|
106474
|
+
/**
|
|
106475
|
+
* Internal server error
|
|
106476
|
+
*/
|
|
106477
|
+
500: unknown;
|
|
104944
106478
|
};
|
|
104945
106479
|
|
|
104946
106480
|
export type UpdateGlobalMcpResponses = {
|
|
106481
|
+
/**
|
|
106482
|
+
* Updated definition
|
|
106483
|
+
*/
|
|
104947
106484
|
200: McpDefinitionResponse;
|
|
104948
106485
|
};
|
|
104949
106486
|
|
|
104950
106487
|
export type UpdateGlobalMcpResponse =
|
|
104951
106488
|
UpdateGlobalMcpResponses[keyof UpdateGlobalMcpResponses];
|
|
104952
106489
|
|
|
106490
|
+
export type UpdateGlobalMcpPutData = {
|
|
106491
|
+
body: UpdateMcpRequest;
|
|
106492
|
+
path: {
|
|
106493
|
+
/**
|
|
106494
|
+
* MCP server slug
|
|
106495
|
+
*/
|
|
106496
|
+
slug: string;
|
|
106497
|
+
};
|
|
106498
|
+
query?: never;
|
|
106499
|
+
url: "/settings/mcp-servers/{slug}";
|
|
106500
|
+
};
|
|
106501
|
+
|
|
106502
|
+
export type UpdateGlobalMcpPutErrors = {
|
|
106503
|
+
/**
|
|
106504
|
+
* Unauthorized
|
|
106505
|
+
*/
|
|
106506
|
+
401: unknown;
|
|
106507
|
+
/**
|
|
106508
|
+
* Insufficient permissions
|
|
106509
|
+
*/
|
|
106510
|
+
403: unknown;
|
|
106511
|
+
/**
|
|
106512
|
+
* MCP server not found
|
|
106513
|
+
*/
|
|
106514
|
+
404: unknown;
|
|
106515
|
+
/**
|
|
106516
|
+
* Internal server error
|
|
106517
|
+
*/
|
|
106518
|
+
500: unknown;
|
|
106519
|
+
};
|
|
106520
|
+
|
|
106521
|
+
export type UpdateGlobalMcpPutResponses = {
|
|
106522
|
+
/**
|
|
106523
|
+
* Updated definition
|
|
106524
|
+
*/
|
|
106525
|
+
200: McpDefinitionResponse;
|
|
106526
|
+
};
|
|
106527
|
+
|
|
106528
|
+
export type UpdateGlobalMcpPutResponse =
|
|
106529
|
+
UpdateGlobalMcpPutResponses[keyof UpdateGlobalMcpPutResponses];
|
|
106530
|
+
|
|
104953
106531
|
export type RevealGlobalMcpConfigData = {
|
|
104954
106532
|
body?: never;
|
|
104955
106533
|
path: {
|
|
@@ -105352,7 +106930,7 @@ export type ListPlatformShieldEntriesError =
|
|
|
105352
106930
|
|
|
105353
106931
|
export type ListPlatformShieldEntriesResponses = {
|
|
105354
106932
|
/**
|
|
105355
|
-
*
|
|
106933
|
+
* Every platform entry (at most 500, newest first)
|
|
105356
106934
|
*/
|
|
105357
106935
|
200: Array<ShieldEntryResponse>;
|
|
105358
106936
|
};
|
|
@@ -105447,6 +107025,50 @@ export type DeletePlatformShieldEntryResponses = {
|
|
|
105447
107025
|
export type DeletePlatformShieldEntryResponse =
|
|
105448
107026
|
DeletePlatformShieldEntryResponses[keyof DeletePlatformShieldEntryResponses];
|
|
105449
107027
|
|
|
107028
|
+
export type GetPlatformShieldEntryData = {
|
|
107029
|
+
body?: never;
|
|
107030
|
+
path: {
|
|
107031
|
+
/**
|
|
107032
|
+
* Entry ID
|
|
107033
|
+
*/
|
|
107034
|
+
entry_id: number;
|
|
107035
|
+
};
|
|
107036
|
+
query?: never;
|
|
107037
|
+
url: "/settings/shield/entries/{entry_id}";
|
|
107038
|
+
};
|
|
107039
|
+
|
|
107040
|
+
export type GetPlatformShieldEntryErrors = {
|
|
107041
|
+
/**
|
|
107042
|
+
* Unauthorized
|
|
107043
|
+
*/
|
|
107044
|
+
401: ProblemDetails;
|
|
107045
|
+
/**
|
|
107046
|
+
* Insufficient permissions
|
|
107047
|
+
*/
|
|
107048
|
+
403: ProblemDetails;
|
|
107049
|
+
/**
|
|
107050
|
+
* Entry not found
|
|
107051
|
+
*/
|
|
107052
|
+
404: ProblemDetails;
|
|
107053
|
+
/**
|
|
107054
|
+
* Internal server error
|
|
107055
|
+
*/
|
|
107056
|
+
500: ProblemDetails;
|
|
107057
|
+
};
|
|
107058
|
+
|
|
107059
|
+
export type GetPlatformShieldEntryError =
|
|
107060
|
+
GetPlatformShieldEntryErrors[keyof GetPlatformShieldEntryErrors];
|
|
107061
|
+
|
|
107062
|
+
export type GetPlatformShieldEntryResponses = {
|
|
107063
|
+
/**
|
|
107064
|
+
* The entry, as listed
|
|
107065
|
+
*/
|
|
107066
|
+
200: ShieldEntryResponse;
|
|
107067
|
+
};
|
|
107068
|
+
|
|
107069
|
+
export type GetPlatformShieldEntryResponse =
|
|
107070
|
+
GetPlatformShieldEntryResponses[keyof GetPlatformShieldEntryResponses];
|
|
107071
|
+
|
|
105450
107072
|
export type UpdatePlatformShieldEntryData = {
|
|
105451
107073
|
body: UpdateShieldEntryRequest;
|
|
105452
107074
|
path: {
|
|
@@ -105783,19 +107405,71 @@ export type UpdateGlobalSkillErrors = {
|
|
|
105783
107405
|
* Unauthorized
|
|
105784
107406
|
*/
|
|
105785
107407
|
401: unknown;
|
|
107408
|
+
/**
|
|
107409
|
+
* Insufficient permissions
|
|
107410
|
+
*/
|
|
107411
|
+
403: unknown;
|
|
105786
107412
|
/**
|
|
105787
107413
|
* Skill not found
|
|
105788
107414
|
*/
|
|
105789
107415
|
404: unknown;
|
|
107416
|
+
/**
|
|
107417
|
+
* Internal server error
|
|
107418
|
+
*/
|
|
107419
|
+
500: unknown;
|
|
105790
107420
|
};
|
|
105791
107421
|
|
|
105792
107422
|
export type UpdateGlobalSkillResponses = {
|
|
107423
|
+
/**
|
|
107424
|
+
* Updated definition
|
|
107425
|
+
*/
|
|
105793
107426
|
200: SkillDefinitionResponse;
|
|
105794
107427
|
};
|
|
105795
107428
|
|
|
105796
107429
|
export type UpdateGlobalSkillResponse =
|
|
105797
107430
|
UpdateGlobalSkillResponses[keyof UpdateGlobalSkillResponses];
|
|
105798
107431
|
|
|
107432
|
+
export type UpdateGlobalSkillPutData = {
|
|
107433
|
+
body: UpdateSkillRequest;
|
|
107434
|
+
path: {
|
|
107435
|
+
/**
|
|
107436
|
+
* Skill slug
|
|
107437
|
+
*/
|
|
107438
|
+
slug: string;
|
|
107439
|
+
};
|
|
107440
|
+
query?: never;
|
|
107441
|
+
url: "/settings/skills/{slug}";
|
|
107442
|
+
};
|
|
107443
|
+
|
|
107444
|
+
export type UpdateGlobalSkillPutErrors = {
|
|
107445
|
+
/**
|
|
107446
|
+
* Unauthorized
|
|
107447
|
+
*/
|
|
107448
|
+
401: unknown;
|
|
107449
|
+
/**
|
|
107450
|
+
* Insufficient permissions
|
|
107451
|
+
*/
|
|
107452
|
+
403: unknown;
|
|
107453
|
+
/**
|
|
107454
|
+
* Skill not found
|
|
107455
|
+
*/
|
|
107456
|
+
404: unknown;
|
|
107457
|
+
/**
|
|
107458
|
+
* Internal server error
|
|
107459
|
+
*/
|
|
107460
|
+
500: unknown;
|
|
107461
|
+
};
|
|
107462
|
+
|
|
107463
|
+
export type UpdateGlobalSkillPutResponses = {
|
|
107464
|
+
/**
|
|
107465
|
+
* Updated definition
|
|
107466
|
+
*/
|
|
107467
|
+
200: SkillDefinitionResponse;
|
|
107468
|
+
};
|
|
107469
|
+
|
|
107470
|
+
export type UpdateGlobalSkillPutResponse =
|
|
107471
|
+
UpdateGlobalSkillPutResponses[keyof UpdateGlobalSkillPutResponses];
|
|
107472
|
+
|
|
105799
107473
|
export type DownloadGlobalSkillArchiveData = {
|
|
105800
107474
|
body?: never;
|
|
105801
107475
|
path: {
|
|
@@ -107367,6 +109041,51 @@ export type DeleteStatusPageWebhookResponses = {
|
|
|
107367
109041
|
export type DeleteStatusPageWebhookResponse =
|
|
107368
109042
|
DeleteStatusPageWebhookResponses[keyof DeleteStatusPageWebhookResponses];
|
|
107369
109043
|
|
|
109044
|
+
export type GetStatusPageWebhookData = {
|
|
109045
|
+
body?: never;
|
|
109046
|
+
path: {
|
|
109047
|
+
/**
|
|
109048
|
+
* Status page ID
|
|
109049
|
+
*/
|
|
109050
|
+
status_page_id: number;
|
|
109051
|
+
/**
|
|
109052
|
+
* Webhook ID
|
|
109053
|
+
*/
|
|
109054
|
+
webhook_id: number;
|
|
109055
|
+
};
|
|
109056
|
+
query?: never;
|
|
109057
|
+
url: "/status-pages/{status_page_id}/webhooks/{webhook_id}";
|
|
109058
|
+
};
|
|
109059
|
+
|
|
109060
|
+
export type GetStatusPageWebhookErrors = {
|
|
109061
|
+
/**
|
|
109062
|
+
* Unauthorized
|
|
109063
|
+
*/
|
|
109064
|
+
401: unknown;
|
|
109065
|
+
/**
|
|
109066
|
+
* Insufficient permissions
|
|
109067
|
+
*/
|
|
109068
|
+
403: unknown;
|
|
109069
|
+
/**
|
|
109070
|
+
* Status page or webhook not found
|
|
109071
|
+
*/
|
|
109072
|
+
404: unknown;
|
|
109073
|
+
/**
|
|
109074
|
+
* Internal server error
|
|
109075
|
+
*/
|
|
109076
|
+
500: unknown;
|
|
109077
|
+
};
|
|
109078
|
+
|
|
109079
|
+
export type GetStatusPageWebhookResponses = {
|
|
109080
|
+
/**
|
|
109081
|
+
* The webhook
|
|
109082
|
+
*/
|
|
109083
|
+
200: StatusPageWebhookResponse;
|
|
109084
|
+
};
|
|
109085
|
+
|
|
109086
|
+
export type GetStatusPageWebhookResponse =
|
|
109087
|
+
GetStatusPageWebhookResponses[keyof GetStatusPageWebhookResponses];
|
|
109088
|
+
|
|
107370
109089
|
export type UpdateStatusPageWebhookData = {
|
|
107371
109090
|
body: UpdateStatusPageWebhookRequest;
|
|
107372
109091
|
path: {
|
|
@@ -108279,6 +109998,45 @@ export type RemoveTeamMemberResponses = {
|
|
|
108279
109998
|
export type RemoveTeamMemberResponse =
|
|
108280
109999
|
RemoveTeamMemberResponses[keyof RemoveTeamMemberResponses];
|
|
108281
110000
|
|
|
110001
|
+
export type GetTeamMemberData = {
|
|
110002
|
+
body?: never;
|
|
110003
|
+
path: {
|
|
110004
|
+
team_id: number;
|
|
110005
|
+
user_id: number;
|
|
110006
|
+
};
|
|
110007
|
+
query?: never;
|
|
110008
|
+
url: "/teams/{team_id}/members/{user_id}";
|
|
110009
|
+
};
|
|
110010
|
+
|
|
110011
|
+
export type GetTeamMemberErrors = {
|
|
110012
|
+
/**
|
|
110013
|
+
* Unauthorized
|
|
110014
|
+
*/
|
|
110015
|
+
401: unknown;
|
|
110016
|
+
/**
|
|
110017
|
+
* Insufficient permissions
|
|
110018
|
+
*/
|
|
110019
|
+
403: unknown;
|
|
110020
|
+
/**
|
|
110021
|
+
* The user is not a member of the team
|
|
110022
|
+
*/
|
|
110023
|
+
404: unknown;
|
|
110024
|
+
/**
|
|
110025
|
+
* Internal server error
|
|
110026
|
+
*/
|
|
110027
|
+
500: unknown;
|
|
110028
|
+
};
|
|
110029
|
+
|
|
110030
|
+
export type GetTeamMemberResponses = {
|
|
110031
|
+
/**
|
|
110032
|
+
* The membership
|
|
110033
|
+
*/
|
|
110034
|
+
200: TeamMemberResponse;
|
|
110035
|
+
};
|
|
110036
|
+
|
|
110037
|
+
export type GetTeamMemberResponse =
|
|
110038
|
+
GetTeamMemberResponses[keyof GetTeamMemberResponses];
|
|
110039
|
+
|
|
108282
110040
|
export type UpdateTeamMemberRoleData = {
|
|
108283
110041
|
body: UpdateMemberRoleRequest;
|
|
108284
110042
|
path: {
|
|
@@ -109078,6 +110836,46 @@ export type DeleteUserResponses = {
|
|
|
109078
110836
|
|
|
109079
110837
|
export type DeleteUserResponse = DeleteUserResponses[keyof DeleteUserResponses];
|
|
109080
110838
|
|
|
110839
|
+
export type GetUserData = {
|
|
110840
|
+
body?: never;
|
|
110841
|
+
path: {
|
|
110842
|
+
/**
|
|
110843
|
+
* User ID
|
|
110844
|
+
*/
|
|
110845
|
+
user_id: number;
|
|
110846
|
+
};
|
|
110847
|
+
query?: never;
|
|
110848
|
+
url: "/users/{user_id}";
|
|
110849
|
+
};
|
|
110850
|
+
|
|
110851
|
+
export type GetUserErrors = {
|
|
110852
|
+
/**
|
|
110853
|
+
* Unauthorized
|
|
110854
|
+
*/
|
|
110855
|
+
401: unknown;
|
|
110856
|
+
/**
|
|
110857
|
+
* Insufficient permissions
|
|
110858
|
+
*/
|
|
110859
|
+
403: unknown;
|
|
110860
|
+
/**
|
|
110861
|
+
* User not found
|
|
110862
|
+
*/
|
|
110863
|
+
404: unknown;
|
|
110864
|
+
/**
|
|
110865
|
+
* Internal server error
|
|
110866
|
+
*/
|
|
110867
|
+
500: unknown;
|
|
110868
|
+
};
|
|
110869
|
+
|
|
110870
|
+
export type GetUserResponses = {
|
|
110871
|
+
/**
|
|
110872
|
+
* The user and their roles
|
|
110873
|
+
*/
|
|
110874
|
+
200: RouteUserWithRoles;
|
|
110875
|
+
};
|
|
110876
|
+
|
|
110877
|
+
export type GetUserResponse = GetUserResponses[keyof GetUserResponses];
|
|
110878
|
+
|
|
109081
110879
|
export type UpdateUserData = {
|
|
109082
110880
|
body: UpdateUserRequest;
|
|
109083
110881
|
path: {
|
|
@@ -109279,7 +111077,7 @@ export type AssignRoleData = {
|
|
|
109279
111077
|
|
|
109280
111078
|
export type AssignRoleErrors = {
|
|
109281
111079
|
/**
|
|
109282
|
-
* Invalid role type
|
|
111080
|
+
* Invalid role type, or a deprecated body user_id that differs from the path
|
|
109283
111081
|
*/
|
|
109284
111082
|
400: unknown;
|
|
109285
111083
|
/**
|
|
@@ -109302,11 +111100,13 @@ export type AssignRoleErrors = {
|
|
|
109302
111100
|
|
|
109303
111101
|
export type AssignRoleResponses = {
|
|
109304
111102
|
/**
|
|
109305
|
-
* Role assigned
|
|
111103
|
+
* Role assigned; the user and all of its roles
|
|
109306
111104
|
*/
|
|
109307
|
-
200:
|
|
111105
|
+
200: RouteUserWithRoles;
|
|
109308
111106
|
};
|
|
109309
111107
|
|
|
111108
|
+
export type AssignRoleResponse = AssignRoleResponses[keyof AssignRoleResponses];
|
|
111109
|
+
|
|
109310
111110
|
export type RemoveRoleData = {
|
|
109311
111111
|
body?: never;
|
|
109312
111112
|
path: {
|